Searched refs:searchEq (Results 1 – 4 of 4) sorted by relevance
/external/perfetto/ui/src/base/ |
D | binary_search_unittest.ts | 15 import {search, searchEq, searchRange, searchSegment} from './binary_search'; 33 expect(searchEq([], 100)).toEqual([0, 0]); 34 expect(searchEq([42], 41)).toEqual([0, 0]); 35 expect(searchEq([42], 42)).toEqual([0, 1]); 36 expect(searchEq([42], 43)).toEqual([1, 1]); 37 expect(searchEq([42, 44], 42)).toEqual([0, 1]); 38 expect(searchEq([42, 42], 42)).toEqual([0, 2]); 39 expect(searchEq([41, 43], 42)).toEqual([1, 1]);
|
D | binary_search.ts | 68 export function searchEq( function
|
/external/perfetto/ui/src/tracks/process_scheduling/ |
D | frontend.ts | 15 import {searchEq, searchRange, searchSegment} from '../../base/binary_search'; 143 const [i, j] = searchRange(data.starts, t, searchEq(data.cpus, cpu));
|
/external/perfetto/ui/src/tracks/cpu_slices/ |
D | frontend.ts | 15 import {search, searchEq, searchSegment} from '../../base/binary_search'; 154 const [startIndex, endIndex] = searchEq(data.ids, selection.id);
|