Home
last modified time | relevance | path

Searched refs:searchSegment (Results 1 – 7 of 7) sorted by relevance

/external/perfetto/ui/src/base/
Dbinary_search_unittest.ts15 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]);
Dbinary_search.ts96 export function searchSegment(haystack: Numbers, needle: number): Range { function
/external/perfetto/ui/src/frontend/
Dsearch_handler.ts15 import {searchSegment} from '../base/binary_search';
34 searchSegment(globals.currentSearchResults.tsStarts, endNs); constant
38 searchSegment(globals.currentSearchResults.tsStarts, startNs);
Dflamegraph.ts15 import {searchSegment} from '../base/binary_search';
377 const [left, ] = searchSegment(haystack, needle);
/external/perfetto/ui/src/tracks/cpu_profile/
Dfrontend.ts15 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/
Dfrontend.ts15 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/
Dfrontend.ts17 import {searchSegment} from '../../base/binary_search';
231 const [left, right] = searchSegment(data.timestamps, time);
247 const [left, right] = searchSegment(data.timestamps, time);