Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 127 for probably (0.2 seconds)

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

              && hashCodeInsensitiveToArgReference(
                  factory, args, i, generateDummyArg(param, newFreshValueGenerator()))) {
            // If the implementation uses identityHashCode(), referential equality is
            // probably intended. So no point in using an equal-but-different factory argument.
            // We check twice to avoid confusion caused by accidental hash collision.
            equalArgs.set(i, shouldBeEqualArg);
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

            .addEqualityGroup(ImmutableIntArray.of(1, 3))
            .addEqualityGroup(ImmutableIntArray.of(1, 2, 3))
            .testEquals();
      }
    
      /**
       * This is probably a weird and hacky way to test what we're really trying to test, but hey, it
       * caught a bug.
       */
      public void testTrimmed() {
        ImmutableIntArray iia = ImmutableIntArray.of(0, 1, 3);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

          Class<?> cls;
          try {
            cls = classInfo.load();
          } catch (NoClassDefFoundError e) {
            // In case there were linking problems, this is probably not a class we care to test anyway.
            logger.log(Level.SEVERE, "Cannot load class " + classInfo + ", skipping...", e);
            continue;
          }
          if (!cls.isInterface()) {
            classes.add(cls);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

            .addEqualityGroup(ImmutableDoubleArray.of(1, 3))
            .addEqualityGroup(ImmutableDoubleArray.of(1, 2, 3))
            .testEquals();
      }
    
      /**
       * This is probably a weird and hacky way to test what we're really trying to test, but hey, it
       * caught a bug.
       */
      public void testTrimmed() {
        ImmutableDoubleArray iia = ImmutableDoubleArray.of(0, 1, 3);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ImmutableCollection.java

       *
       * 1. b/192354773 in our checker affects toArray declarations.
       *
       * 2. `other[size] = null` is unsound. We could "fix" this by requiring callers to pass in an
       * array with a nullable element type. But probably they usually want an array with a non-nullable
       * type. That said, we could *accept* a `@Nullable T[]` (which, given that we treat arrays as
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/primitives/UnsignedBytes.java

        checkArgument(
            radix >= Character.MIN_RADIX && radix <= Character.MAX_RADIX,
            "radix (%s) must be between Character.MIN_RADIX and Character.MAX_RADIX",
            radix);
        // Benchmarks indicate this is probably not worth optimizing.
        return Integer.toString(toUnsignedInt(x), radix);
      }
    
      /**
       * Returns the unsigned {@code byte} value represented by the given decimal string.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 21K bytes
    - Click Count (0)
  7. android/pom.xml

            <version>${j2objc.version}</version>
          </dependency>
          <!--
          We moved away from using dependencyManagement for test-only deps because of https://github.com/google/guava/issues/6654.
          We could probably have resumed it after https://github.com/google/guava/pull/6664.
          But it's always weird that published poms reference test-only libraries at all, so I'm not in any rush to do so.
          -->
        </dependencies>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 17 19:12:41 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  8. android-test/src/androidDeviceTest/java/okhttp/android/test/OkHttpTest.kt

          }
    
        Platform.get().log("results $results", Platform.WARN)
    
        assertTrue(results.session_ticket_supported)
        assertEquals("Probably Okay", results.rating)
        // TODO map to expected versions automatically, test ignored for now.  Run manually.
        assertEquals("TLS 1.3", results.tls_version)
        assertEquals(0, results.insecure_cipher_suites.size)
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 29.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/HashBiMap.java

           * that behavior is undefined when the backing map is modified through another API. (It even
           * permits us to throw IllegalStateException. Maybe we should have done that, but we probably
           * shouldn't change now for fear of breaking people.)
           *
           * If the entry is still in the map, then updateIndex ensured that `index` points to the right
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 37K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/FluentIterable.java

        if (!iterator.hasNext()) {
          return Optional.absent();
        }
    
        /*
         * TODO(kevinb): consider whether this "optimization" is worthwhile. Users with SortedSets tend
         * to know they are SortedSets and probably would not call this method.
         */
        if (iterable instanceof SortedSet) {
          SortedSet<E> sortedSet = (SortedSet<E>) iterable;
          return Optional.of(sortedSet.last());
        }
    
        while (true) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
Back to Top