- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 19 for characteristic (0.1 seconds)
-
guava/src/com/google/common/collect/CollectSpliterators.java
return (fromSplit != null) ? map(fromSplit, characteristics, function) : null; } @Override public long estimateSize() { return fromSpliterator.estimateSize(); } @Override public int characteristics() { int backingCharacteristics = fromSpliterator.characteristics(); // the following are inherently inherited:
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 19.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
} } } /** * Test for 2-bit characteristics. A characteristic is a delta in the input which is repeated in * the output. For example, if f() is a block cipher and c is a characteristic, then f(x^c) = * f(x)^c with greater than expected probability. The test for funneling is merely a test for * 1-bit characteristics. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 25.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/Streams.java
splitrsBuilder.add(splitr); characteristics &= splitr.characteristics(); estimatedSize = LongMath.saturatedAdd(estimatedSize, splitr.estimateSize()); } return StreamSupport.stream( CollectSpliterators.flatMap( splitrsBuilder.build().spliterator(), splitr -> (Spliterator<T>) splitr, characteristics, estimatedSize),
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 36.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
abstract boolean tryAdvance(Consumer<? super E> action); abstract @Nullable GeneralSpliterator<E> trySplit(); final int characteristics() { return spliterator.characteristics(); } final long estimateSize() { return spliterator.estimateSize(); } final @Nullable Comparator<? super E> getComparator() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 12.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
abstract boolean tryAdvance(Consumer<? super E> action); abstract @Nullable GeneralSpliterator<E> trySplit(); final int characteristics() { return spliterator.characteristics(); } final long estimateSize() { return spliterator.estimateSize(); } final @Nullable Comparator<? super E> getComparator() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 12.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Streams.java
splitrsBuilder.add(splitr); characteristics &= splitr.characteristics(); estimatedSize = LongMath.saturatedAdd(estimatedSize, splitr.estimateSize()); } return StreamSupport.stream( CollectSpliterators.flatMap( splitrsBuilder.build().spliterator(), splitr -> (Spliterator<T>) splitr, characteristics, estimatedSize),
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 36.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableEnumMapTest.java
immutableEnumMap(ImmutableMap.of(AnEnum.A, "a", AnEnum.B, "b")).entrySet().spliterator(); Truth.assertWithMessage(spliterator.getClass().toString()) .that(spliterator.characteristics() & expectedCharacteristics) .isEqualTo(expectedCharacteristics); } @GwtIncompatible @J2ktIncompatible public void testKeySetCharacteristics() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 6.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MoreCollectors.java
Collector.of( () -> new ToOptionalState<>(null), ToOptionalState::add, ToOptionalState::combine, ToOptionalState::getOptional, Collector.Characteristics.UNORDERED); /** * A collector that converts a stream of zero or one elements to an {@code Optional}. * * @throws IllegalArgumentException if the stream consists of two or more elements.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 18 16:22:33 GMT 2026 - 6.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/MoreCollectors.java
Collector.of( () -> new ToOptionalState<>(null), ToOptionalState::add, ToOptionalState::combine, ToOptionalState::getOptional, Collector.Characteristics.UNORDERED); /** * A collector that converts a stream of zero or one elements to an {@code Optional}. * * @throws IllegalArgumentException if the stream consists of two or more elements.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 18 16:22:33 GMT 2026 - 6.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/Comparators.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 10.9K bytes - Click Count (0)