Searched refs:Segment (Results 1 – 2 of 2) sorted by relevance
/libcore/ojluni/src/test/java/nio/MappedByteBuffer/ |
D | ForceViews.java | 50 static record Segment(int position, int length) {} in Segment() method in ForceViews 74 BiFunction<MappedByteBuffer,Segment,MappedByteBuffer> absSlice = in provider() 76 BiFunction<MappedByteBuffer,Segment,MappedByteBuffer> relSlice = in provider() 80 BiFunction<MappedByteBuffer,Segment,MappedByteBuffer> duplicate= in provider() 83 BiFunction<MappedByteBuffer,Segment,MappedByteBuffer> compact = in provider() 101 BiFunction<MappedByteBuffer,Segment,MappedByteBuffer> f) in test() argument 104 mbb = f.apply(mbb, new Segment(sliceIndex, sliceLength)); in test() 133 (int) o[7], (BiFunction<MappedByteBuffer, Segment, MappedByteBuffer>) o[8]); in assertTest()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ConcurrentHashMap.java | 610 new ObjectStreamField("segments", Segment[].class), 1385 static class Segment<K,V> extends ReentrantLock implements Serializable { class in ConcurrentHashMap 1388 Segment(float lf) { this.loadFactor = lf; } in Segment() method in ConcurrentHashMap.Segment 1414 Segment<K,V>[] segments = (Segment<K,V>[]) in writeObject() 1415 new Segment<?,?>[DEFAULT_CONCURRENCY_LEVEL]; in writeObject() 1417 segments[i] = new Segment<K,V>(LOAD_FACTOR); in writeObject()
|