Searched refs:searchSegment (Results 1 – 7 of 7) sorted by relevance
/external/perfetto/ui/src/base/ |
D | binary_search_unittest.ts | 15 import {search, searchEq, searchRange, searchSegment} from './binary_search'; 60 expect(searchSegment(Float64Array.of(), 100)).toEqual([-1, -1]); 61 expect(searchSegment(Float64Array.of(42), 41)).toEqual([-1, 0]); 62 expect(searchSegment(Float64Array.of(42), 42)).toEqual([0, -1]); 63 expect(searchSegment(Float64Array.of(42), 43)).toEqual([0, -1]); 64 expect(searchSegment(Float64Array.of(42, 44), 42)).toEqual([0, 1]);
|
D | binary_search.ts | 96 export function searchSegment(haystack: Numbers, needle: number): Range { function
|
/external/perfetto/ui/src/frontend/ |
D | search_handler.ts | 15 import {searchSegment} from '../base/binary_search'; 34 searchSegment(globals.currentSearchResults.tsStarts, endNs); constant 38 searchSegment(globals.currentSearchResults.tsStarts, startNs);
|
D | flamegraph.ts | 15 import {searchSegment} from '../base/binary_search'; 377 const [left, ] = searchSegment(haystack, needle);
|
/external/perfetto/ui/src/tracks/cpu_profile/ |
D | frontend.ts | 15 import {searchSegment} from '../../base/binary_search'; 97 const [left, right] = searchSegment(data.tsStarts, time); 112 const [left, right] = searchSegment(data.tsStarts, time);
|
/external/perfetto/ui/src/tracks/heap_profile/ |
D | frontend.ts | 15 import {searchSegment} from '../../base/binary_search'; 100 const [left, right] = searchSegment(data.tsStarts, time); 115 const [left, right] = searchSegment(data.tsStarts, time);
|
/external/perfetto/ui/src/tracks/counter/ |
D | frontend.ts | 17 import {searchSegment} from '../../base/binary_search'; 231 const [left, right] = searchSegment(data.timestamps, time); 247 const [left, right] = searchSegment(data.timestamps, time);
|