Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 2,147 for collector (0.07 seconds)

  1. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

              }
            };
      }
    
      /**
       * A predicate that is expected to return true subsequent to finalization, that is, one
       * of the following actions taken by the garbage collector when performing a full collection in
       * response to {@link System#gc()}:
       *
       * <ul>
       *   <li>invoking the {@code finalize} methods of unreachable objects
       *   <li>clearing weak references to unreachable referents
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  2. android/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. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  3. 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. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/io/FilesTest.java

                return collector;
              }
            };
        assertThat(Files.readLines(temp, UTF_8, collect)).isEmpty();
    
        PrintWriter w = new PrintWriter(Files.newWriter(temp, UTF_8));
        w.println("hello");
        w.println("");
        w.println(" world  ");
        w.println("");
        w.close();
        Files.readLines(temp, UTF_8, collect);
        assertThat(collect.getResult()).containsExactly("hello", "", " world  ", "").inOrder();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/testing/GcFinalization.java

              }
            };
      }
    
      /**
       * A predicate that is expected to return true subsequent to finalization, that is, one
       * of the following actions taken by the garbage collector when performing a full collection in
       * response to {@link System#gc()}:
       *
       * <ul>
       *   <li>invoking the {@code finalize} methods of unreachable objects
       *   <li>clearing weak references to unreachable referents
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.testing.ListTestSuiteBuilder;
    import com.google.common.collect.testing.MinimalCollection;
    import com.google.common.collect.testing.SetTestSuiteBuilder;
    import com.google.common.collect.testing.TestStringListGenerator;
    import com.google.common.collect.testing.TestStringSetGenerator;
    import com.google.common.collect.testing.features.CollectionFeature;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.8K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactCollector.java

    /**
     * Artifact collector - takes a set of original artifacts and resolves the best versions to use
     * along with their metadata. No artifacts are downloaded.
     */
    @Deprecated
    public interface ArtifactCollector extends org.apache.maven.repository.legacy.resolver.LegacyArtifactCollector {
    
        @Deprecated
        ArtifactResolutionResult collect(
                Set<Artifact> artifacts,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/collector/RequestPomCollectionStrategy.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project.collector;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.File;
    import java.util.Collections;
    import java.util.List;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/hash/BloomFilter.java

        checkArgument(fpp < 1.0, "False positive probability (%s) must be < 1.0", fpp);
        return Collector.of(
            () -> BloomFilter.create(funnel, expectedInsertions, fpp),
            BloomFilter::put,
            (bf1, bf2) -> {
              bf1.putAll(bf2);
              return bf1;
            },
            Collector.Characteristics.UNORDERED,
            Collector.Characteristics.CONCURRENT);
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 19:23:59 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  10. src/main/java/jcifs/spnego/NegTokenTarg.java

            this.mechanism = mechanism;
        }
    
        @Override
        public byte[] toByteArray() {
            try {
                final ByteArrayOutputStream collector = new ByteArrayOutputStream();
                final ASN1OutputStream der = ASN1OutputStream.create(collector, ASN1Encoding.DER);
                final ASN1EncodableVector fields = new ASN1EncodableVector();
                final int res = getResult();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.9K bytes
    - Click Count (0)
Back to Top