Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 48 for coerced (0.05 sec)

  1. guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

                CollectionFeature.GENERAL_PURPOSE,
                CollectionFeature.ALLOWS_NULL_VALUES,
                CollectionFeature.KNOWN_ORDER,
                CollectionSize.ANY)
            .skipCollectionTests() // already covered in TestsForListsInJavaUtil
            .suppressing(suppressForLinkedList())
            .createTestSuite();
      }
    
      public Test testsForArrayBlockingQueue() {
        return QueueTestSuiteBuilder.using(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/PatternFilenameFilter.java

       * return type is plain FilenameFilter. If we made such a change, then the annotation we choose
       * here would have no significance to end users, who would be forced to conform to the signature
       * used in FilenameFilter.)
       */
      @Override
      public boolean accept(File dir, String fileName) {
        return pattern.matcher(fileName).matches();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java

    import com.google.caliper.Param;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Benchmarks against the Apache Commons Math utilities.
     *
     * <p>Note: the Apache benchmarks are not open sourced to avoid the extra dependency.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class ApacheBenchmark {
      private enum Impl {
        GUAVA {
          @Override
          public double factorialDouble(int n) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

        @Override
        public Set<K> keySet() {
          /*
           * We can't use StandardKeySet, as NavigableMapTestSuiteBuilder assumes that our keySet is a
           * NavigableSet. We test StandardKeySet in the superclass, so it's still covered.
           */
          return navigableKeySet();
        }
    
        @Override
        public Collection<V> values() {
          return new StandardValues();
        }
    
        @Override
        public String toString() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

        @Override
        public Set<K> keySet() {
          /*
           * We can't use StandardKeySet, as NavigableMapTestSuiteBuilder assumes that our keySet is a
           * NavigableSet. We test StandardKeySet in the superclass, so it's still covered.
           */
          return navigableKeySet();
        }
    
        @Override
        public Collection<V> values() {
          return new StandardValues();
        }
    
        @Override
        public String toString() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

            };
        return newProxy(interfaceType, handler);
      }
    
      // TODO: replace with version in common.reflect if and when it's open-sourced
      private static <T> T newProxy(Class<T> interfaceType, InvocationHandler handler) {
        Object object =
            Proxy.newProxyInstance(
                interfaceType.getClassLoader(), new Class<?>[] {interfaceType}, handler);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/graph/AbstractBaseGraph.java

                              (N predecessor) -> EndpointPair.ordered(predecessor, node)),
                          Iterators.transform(
                              // filter out 'node' from successors (already covered by predecessors,
                              // above)
                              Sets.difference(graph.successors(node), ImmutableSet.of(node)).iterator(),
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

              )
          } else {
            issuerKeyPair = subjectKeyPair
            issuer = subject
          }
          val signatureAlgorithm = signatureAlgorithm(issuerKeyPair)
    
          // Subset of certificate data that's covered by the signature.
          val tbsCertificate =
            TbsCertificate(
              // v3:
              version = 2L,
              serialNumber = serialNumber ?: BigInteger.ONE,
              signature = signatureAlgorithm,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/HashingTest.java

          }
        }
      }
    
      private static boolean shouldHaveKnownHashes(Method method) {
        // The following legacy hashing function methods have been covered by unit testing already.
        ImmutableSet<String> legacyHashingMethodNames =
            ImmutableSet.of("murmur2_64", "fprint96", "highwayFingerprint64", "highwayFingerprint128");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
  10. android/guava/src/com/google/common/collect/CompactHashSet.java

       * </ul>
       */
      private transient @Nullable Object table;
    
      /**
       * Contains the logical entries, in the range of [0, size()). The high bits of each int are the
       * part of the smeared hash of the element not covered by the hashtable mask, whereas the low bits
       * are the "next" pointer (pointing to the next entry in the bucket chain), which will always be
       * less than or equal to the hashtable mask.
       *
       * <pre>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
Back to top