Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 264 for Collector (0.08 sec)

  1. guava/src/com/google/common/cache/CacheStats.java

       *
       * <p><b>Note:</b> the values of the metrics are undefined in case of overflow (though it is
       * guaranteed not to throw an exception). If you require specific handling, we recommend
       * implementing your own stats collector.
       */
      public long requestCount() {
        return saturatedAdd(hitCount, missCount);
      }
    
      /** Returns the number of times {@link Cache} lookup methods have returned a cached value. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

      public void testToImmutableBiMap() {
        Collector<Entry<String, Integer>, ?, ImmutableBiMap<String, Integer>> collector =
            toImmutableBiMap(Entry::getKey, Entry::getValue);
        Equivalence<ImmutableBiMap<String, Integer>> equivalence =
            Equivalence.equals()
                .<Entry<String, Integer>>pairwise()
                .onResultOf(ImmutableBiMap::entrySet);
        CollectorTester.of(collector, equivalence)
            .expectCollects(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/GcFinalization.java

        return max(10L, Runtime.getRuntime().totalMemory() / (32L * 1024L * 1024L));
      }
    
      /**
       * Waits until the given future {@linkplain Future#isDone is done}, invoking the garbage collector
       * as necessary to try to ensure that this will happen.
       *
       * @throws RuntimeException if timed out or interrupted while waiting
       */
      @SuppressWarnings("removal") // b/260137033
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. src/arena/arena.go

    of this functionality is to improve efficiency: manually freeing memory
    before a garbage collection delays that cycle. Less frequent cycles means
    the CPU cost of the garbage collector is incurred less frequently.
    
    This functionality in this package is mostly captured in the Arena type.
    Arenas allocate large chunks of memory for Go values, so they're likely to
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 12 20:23:36 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/spnego/NegTokenInit.java

                ByteArrayOutputStream collector = new ByteArrayOutputStream();
                ASN1OutputStream der = ASN1OutputStream.create(collector, ASN1Encoding.DER);
                DERTaggedObject derApplicationSpecific = new DERTaggedObject(false, BERTags.APPLICATION, 0, new DERSequence(ev));
                der.writeObject(derApplicationSpecific);
                return collector.toByteArray();
            }
            catch ( IOException ex ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

            NullPointerException.class,
            () -> ImmutableListMultimap.copyOf((ArrayListMultimap<String, Integer>) input));
      }
    
      public void testToImmutableListMultimap() {
        Collector<Entry<String, Integer>, ?, ImmutableListMultimap<String, Integer>> collector =
            toImmutableListMultimap(Entry::getKey, Entry::getValue);
        BiPredicate<ImmutableListMultimap<?, ?>, ImmutableListMultimap<?, ?>> equivalence =
            Equivalence.equals()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        Collector<Entry<String, Integer>, ?, ImmutableMap<String, Integer>> collector =
            toImmutableMap(Entry::getKey, Entry::getValue);
        assertThrows(
            IllegalArgumentException.class,
            () -> Stream.of(mapEntry("one", 1), mapEntry("one", 11)).collect(collector));
      }
    
      public void testToImmutableMapMerging() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  8. istioctl/pkg/kubeinject/testdata/mesh-config.yaml

      # diagnostic information from Envoy. See
      # https://lyft.github.io/envoy/docs/operations/admin.html
      # for more details
      proxyAdminPort: 15000
      #
      # Zipkin trace collector
      zipkinAddress: ""
      #
      # Statsd metrics collector converts statsd metrics into Prometheus metrics.
      statsdUdpAddress: ""
      #
      # Mutual TLS authentication between sidecars and istio control plane.
      controlPlaneAuthPolicy: NONE
      #
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/FilesTest.java

            new LineProcessor<List<String>>() {
              List<String> collector = new ArrayList<>();
    
              @Override
              public boolean processLine(String line) {
                collector.add(line);
                return true;
              }
    
              @Override
              public List<String> getResult() {
                return collector;
              }
            };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableBiMap.java

    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Comparator;
    import java.util.Map;
    import java.util.function.BinaryOperator;
    import java.util.function.Function;
    import java.util.stream.Collector;
    import java.util.stream.Collectors;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link BiMap} whose contents will never change, with many other important properties detailed
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top