Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for characteristics (0.06 sec)

  1. 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;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. 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;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  3. 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),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  4. 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 Comparator<? super E> getComparator() {
          return spliterator.getComparator();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/MoreCollectors.java

          Collector.of(
              ToOptionalState::new,
              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.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MoreCollectors.java

          Collector.of(
              ToOptionalState::new,
              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.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CollectCollectors.java

        return Collector.of(
            EnumSetAccumulator::new,
            EnumSetAccumulator::add,
            EnumSetAccumulator::combine,
            EnumSetAccumulator::toImmutableSet,
            Collector.Characteristics.UNORDERED);
      }
    
      @IgnoreJRERequirement // see enclosing class (whose annotation Animal Sniffer ignores here...)
      private static final class EnumSetAccumulator<E extends Enum<E>> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 16.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/CollectCollectors.java

        return Collector.of(
            EnumSetAccumulator::new,
            EnumSetAccumulator::add,
            EnumSetAccumulator::combine,
            EnumSetAccumulator::toImmutableSet,
            Collector.Characteristics.UNORDERED);
      }
    
      private static final class EnumSetAccumulator<E extends Enum<E>> {
        @SuppressWarnings({"rawtypes", "unchecked"})
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  9. 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.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/LongAdder.java

     * sum that is used for purposes such as collecting statistics, not for fine-grained synchronization
     * control. Under low update contention, the two classes have similar characteristics. But under
     * high contention, expected throughput of this class is significantly higher, at the expense of
     * higher space consumption.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top