Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Side by Side Diff: tools/deep_memory_profiler/visualizer/static/utility.js

Issue 23777005: Modified directory preparing for app engine for dmprof visualizer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove index.js Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * This function returns the first element index that >= target, when no element 6 * This function returns the first element index that >= target, when no element
7 * in the array >= target, return array.length. 7 * in the array >= target, return array.length.
8 * This function must be called in the shape of binarySearch(array, target). 8 * This function must be called in the shape of binarySearch(array, target).
9 * @param {number} target 9 * @param {number} target
10 * @return {number} 10 * @return {number}
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 /** 58 /**
59 * Output object with indented format. 59 * Output object with indented format.
60 * @param {Object} obj 60 * @param {Object} obj
61 * @param {string} title 61 * @param {string} title
62 */ 62 */
63 var inspect = function(obj, title) { 63 var inspect = function(obj, title) {
64 if (title) console.log(title); 64 if (title) console.log(title);
65 console.log(JSON.stringify(obj, null, 2)); 65 console.log(JSON.stringify(obj, null, 2));
66 }; 66 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698