Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 37 for characteristic (0.15 seconds)

  1. 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)
  2. android/guava/src/com/google/common/collect/CollectSpliterators.java

              long topSize) {
        checkArgument(
            (topCharacteristics & Spliterator.SUBSIZED) == 0,
            "flatMap does not support SUBSIZED characteristic");
        checkArgument(
            (topCharacteristics & Spliterator.SORTED) == 0,
            "flatMap does not support SORTED characteristic");
        checkNotNull(fromSpliterator);
        checkNotNull(function);
        return new FlatMapSpliteratorOfObject<>(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  3. 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)
  4. android/guava/src/com/google/common/hash/HashFunction.java

     *       always returns zero could be called a hash function. It is not.)
     * </ul>
     *
     * <p>Summarizing the last two points: "equal yield equal <i>always</i>; unequal yield unequal
     * <i>often</i>." This is the most important characteristic of all hash functions.
     *
     * <h3>Desirable properties</h3>
     *
     * <p>A high-quality hash function strives for some subset of the following virtues:
     *
     * <ul>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  5. 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)
  6. guava-testlib/src/com/google/common/testing/CollectorTester.java

      public final CollectorTester<T, A, R> expectCollects(R expectedResult, T... inputs) {
        List<T> list = Arrays.asList(inputs);
        doExpectCollects(expectedResult, list);
        if (collector.characteristics().contains(Collector.Characteristics.UNORDERED)) {
          Collections.reverse(list);
          doExpectCollects(expectedResult, list);
        }
        return this;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu May 15 21:47:56 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  7. 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)
  8. 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)
  9. 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)
  10. android/guava-testlib/src/com/google/common/testing/CollectorTester.java

      public final CollectorTester<T, A, R> expectCollects(R expectedResult, T... inputs) {
        List<T> list = Arrays.asList(inputs);
        doExpectCollects(expectedResult, list);
        if (collector.characteristics().contains(Collector.Characteristics.UNORDERED)) {
          Collections.reverse(list);
          doExpectCollects(expectedResult, list);
        }
        return this;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 22:01:32 GMT 2025
    - 6.8K bytes
    - Click Count (0)
Back to Top