Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for 000Z (0.15 sec)

  1. guava-tests/test/com/google/common/net/InetAddressesTest.java

                    InetAddresses.forString("2001:0000:4136:e378:8000:63bf:3fff:fdd2")))
            .isNotEqualTo(InetAddresses.forString("192.0.2.45"));
    
        // 2 Teredo addresses differing in their embedded IPv4 addresses should hash to different
        // values.
        assertThat(
                InetAddresses.getCoercedIPv4Address(
                    InetAddresses.forString("2001:0000:4136:e378:8000:63bf:3fff:fdd2")))
            .isNotEqualTo(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/StatsTesting.java

      static DoubleStream megaPrimitiveDoubleStreamPart2() {
        return DoubleStream.iterate(999_999.0, x -> x - 2.0).limit(MEGA_STREAM_COUNT / 2).parallel();
      }
    
      static final long MEGA_STREAM_COUNT = isAndroid() ? 100 : 1_000_000;
      static final double MEGA_STREAM_MIN = 0.0;
      static final double MEGA_STREAM_MAX = MEGA_STREAM_COUNT - 1;
      static final double MEGA_STREAM_MEAN = MEGA_STREAM_MAX / 2;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 23.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

          Integer element = random.nextInt();
          control.add(element);
          assertTrue(q.add(element));
        }
        assertIntact(q);
        for (int i = 0; i < reduceIterationsIfGwt(500_000); i++) {
          if (random.nextBoolean()) {
            Integer element = random.nextInt();
            control.add(element);
            q.add(element);
          } else {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

      public void testBuildKeepingLast_bigTable() {
        Builder<Integer, String> builder = ImmutableMap.builder();
        Map<Integer, String> expected = new LinkedHashMap<>();
        for (int i = 0; i < 200_000; i++) {
          // Truncate to even key, so we have put(0, "0") then put(0, "1"). Half the entries are
          // duplicates.
          Integer key = i & ~1;
          String value = String.valueOf(i);
          builder.put(key, value);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 13:27:08 GMT 2024
    - 41.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/IntMathTest.java

      }
    
      @GwtIncompatible // isPrime is GWT-incompatible
      public void testIsPrime() {
        // Defer correctness tests to Long.isPrime
    
        // Check the first 100,000 integers
        for (int i = 0; i < 100000; i++) {
          assertEquals(LongMath.isPrime(i), IntMath.isPrime(i));
        }
    
        // Then check 1000 deterministic pseudo-random int values.
        Random rand = new Random(1);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        // A more organic OOM from a toString implementation
        Object object =
            new Object() {
              @Override
              public String toString() {
                return new String(new char[50_000]);
              }
            };
        List<Object> list = Collections.singletonList(object);
        for (int i = 0; i < 10; i++) {
          Object[] array = new Object[500];
          Arrays.fill(array, list);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 46.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      public void testCancellingAllDelegatesIsNotQuadratic() throws Exception {
        ImmutableList.Builder<SettableFuture<Long>> builder = ImmutableList.builder();
        for (int i = 0; i < 500_000; i++) {
          builder.add(SettableFuture.<Long>create());
        }
        ImmutableList<SettableFuture<Long>> inputs = builder.build();
        ImmutableList<ListenableFuture<Long>> delegates = inCompletionOrder(inputs);
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/net/InetAddressesTest.java

                    InetAddresses.forString("2001:0000:4136:e378:8000:63bf:3fff:fdd2")))
            .isNotEqualTo(InetAddresses.forString("192.0.2.45"));
    
        // 2 Teredo addresses differing in their embedded IPv4 addresses should hash to different
        // values.
        assertThat(
                InetAddresses.getCoercedIPv4Address(
                    InetAddresses.forString("2001:0000:4136:e378:8000:63bf:3fff:fdd2")))
            .isNotEqualTo(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 31.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/InetAddresses.java

     *   <dt>An IPv6 "IPv4 compatible" (or "compat") address, {@code "::192.168.0.1"}.
     *   <dd>{@code 00 00 00 00 00 00 00 00 00 00 00 00 c0 a8 00 01}
     *   <dt>An IPv6 "IPv4 mapped" address, {@code "::ffff:192.168.0.1"}.
     *   <dd>{@code 00 00 00 00 00 00 00 00 00 00 ff ff c0 a8 00 01}
     * </dl>
     *
     * <p>A few notes about IPv6 "IPv4 mapped" addresses and their observed use in Java.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
  10. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

      public void testCancellingAllDelegatesIsNotQuadratic() throws Exception {
        ImmutableList.Builder<SettableFuture<Long>> builder = ImmutableList.builder();
        for (int i = 0; i < 500_000; i++) {
          builder.add(SettableFuture.<Long>create());
        }
        ImmutableList<SettableFuture<Long>> inputs = builder.build();
        ImmutableList<ListenableFuture<Long>> delegates = inCompletionOrder(inputs);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
Back to top