Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 113 for 1505 (0.51 sec)

  1. guava/src/com/google/common/net/InetAddresses.java

        if (!ip.isIPv4CompatibleAddress()) {
          return false;
        }
    
        byte[] bytes = ip.getAddress();
        if ((bytes[12] == 0)
            && (bytes[13] == 0)
            && (bytes[14] == 0)
            && ((bytes[15] == 0) || (bytes[15] == 1))) {
          return false;
        }
    
        return true;
      }
    
      /**
       * Returns the IPv4 address embedded in an IPv4 compatible address.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertFalse("Capable of acquiring an additional permit after sleeping", r.tryAcquire());
      }
    
      public void testSimpleRateUpdate() {
        RateLimiter limiter = RateLimiter.create(5.0, 5, SECONDS);
        assertThat(limiter.getRate()).isEqualTo(5.0);
        limiter.setRate(10.0);
        assertThat(limiter.getRate()).isEqualTo(10.0);
    
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(0.0));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/TypeResolver.java

     * used when the type mapping isn't implied by the static type hierarchy, but provided through other
     * means such as an annotation or external configuration file.
     *
     * @author Ben Yu
     * @since 15.0
     */
    public final class TypeResolver {
    
      private final TypeTable typeTable;
    
      public TypeResolver() {
        this.typeTable = new TypeTable();
      }
    
      private TypeResolver(TypeTable typeTable) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 22:30:05 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertFalse("Capable of acquiring an additional permit after sleeping", r.tryAcquire());
      }
    
      public void testSimpleRateUpdate() {
        RateLimiter limiter = RateLimiter.create(5.0, 5, SECONDS);
        assertThat(limiter.getRate()).isEqualTo(5.0);
        limiter.setRate(10.0);
        assertThat(limiter.getRate()).isEqualTo(10.0);
    
        assertThrows(IllegalArgumentException.class, () -> limiter.setRate(0.0));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.32.md

    - cloud.google.com/go/iam: v1.1.1 → v1.1.5
    - cloud.google.com/go/iap: v1.8.1 → v1.9.3
    - cloud.google.com/go/ids: v1.4.1 → v1.4.4
    - cloud.google.com/go/iot: v1.7.1 → v1.7.4
    - cloud.google.com/go/kms: v1.15.0 → v1.15.5
    - cloud.google.com/go/language: v1.10.1 → v1.12.2
    - cloud.google.com/go/lifesciences: v0.9.1 → v0.9.4
    - cloud.google.com/go/logging: v1.7.0 → v1.9.0
    - cloud.google.com/go/longrunning: v0.5.1 → v0.5.4
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Tue Dec 16 18:27:41 UTC 2025
    - 448.1K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/VersionRangeTest.java

            assertFalse(restriction.isUpperBoundInclusive(), CHECK_UPPER_BOUND_INCLUSIVE);
    
            range1 = VersionRange.createFromVersionSpec("(,1.0], [1.1,)");
            range2 = VersionRange.createFromVersionSpec("1.0.5");
            mergedRange = range1.restrict(range2);
            assertNull(mergedRange.getRecommendedVersion(), CHECK_VERSION_RECOMMENDATION);
            restrictions = mergedRange.getRestrictions();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        double[] newArray = Doubles.toArray(list);
    
        // Make sure it returned a copy
        list.set(0, 4.0);
        assertThat(newArray).isEqualTo(new double[] {0.0, 1.0, 2.0});
        newArray[1] = 5.0;
        assertThat((double) list.get(1)).isEqualTo(1.0);
      }
    
      // This test stems from a real bug found by andrewk
      public void testAsList_subList_toArray_roundTrip() {
        double[] array = {0.0, 1.0, 2.0, 3.0};
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        thread.start();
        thread.awaitWaiting();
        Thread.class.getMethod("suspend").invoke(thread);
        // Sleep for enough time to add 1500 milliseconds of overwait to the get() call.
        long toWaitMillis = 3500 - NANOSECONDS.toMillis(System.nanoTime() - thread.startTime);
        Thread.sleep(toWaitMillis);
        thread.setPriority(Thread.MAX_PRIORITY);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:45:32 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

       * Service service} starts, or terminates), should attach {@linkplain Service.Listener service
       * listeners} to each individual service.
       *
       * @author Luke Sandberg
       * @since 15.0 (present as an interface in 14.0)
       */
      public abstract static class Listener {
        /** Constructor for use by subclasses. */
        public Listener() {}
    
        /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 33.2K bytes
    - Viewed (1)
  10. guava/src/com/google/common/util/concurrent/ServiceManager.java

       * Service service} starts, or terminates), should attach {@linkplain Service.Listener service
       * listeners} to each individual service.
       *
       * @author Luke Sandberg
       * @since 15.0 (present as an interface in 14.0)
       */
      public abstract static class Listener {
        /** Constructor for use by subclasses. */
        public Listener() {}
    
        /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 17:49:12 UTC 2025
    - 32.9K bytes
    - Viewed (0)
Back to top