Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for york (0.17 sec)

  1. android/guava-tests/test/com/google/common/base/Utf8Test.java

              FOUR_BYTE_ROUNDTRIPPABLE_CHARACTERS;
    
      /** Tests that round tripping of all two byte permutations work. */
      @GwtIncompatible // java.nio.charset.Charset
      public void testIsWellFormed_1Byte() {
        testBytes(1, EXPECTED_ONE_BYTE_ROUNDTRIPPABLE_COUNT);
      }
    
      /** Tests that round tripping of all two byte permutations work. */
      @GwtIncompatible // java.nio.charset.Charset
      public void testIsWellFormed_2Bytes() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          long burst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random());
          // we allow one second worth of work to go in a burst (i.e. take less than a second)
          assertTrue(burst <= 1000);
          long afterBurst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random());
          // but work beyond that must take at least one second
          assertTrue(afterBurst >= 1000);
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/BaseEncodingTest.java

      }
    
      private static void testEncodingWithSeparators(
          BaseEncoding encoding, String decoded, String encoded) {
        testEncoding(encoding, decoded, encoded);
    
        // test separators work
        for (int sepLength = 3; sepLength <= 5; sepLength++) {
          for (String separator : ImmutableList.of(",", "\n", ";;", "")) {
            testEncoding(
                encoding.withSeparator(separator, sepLength),
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Aug 25 16:34:08 GMT 2022
    - 24.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ComparisonChain.java

     * result in the chain, or will be zero if every comparison result was zero.
     *
     * <p><b>Note:</b> {@code ComparisonChain} instances are <b>immutable</b>. For this utility to work
     * correctly, calls must be chained as illustrated above.
     *
     * <p>Performance note: Even though the {@code ComparisonChain} caller always invokes its {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Sep 21 17:28:11 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/HashBiMap.java

      }
    
      /**
       * An {@code Entry} implementation that attempts to follow its key around the map -- that is, if
       * the key is moved, deleted, or reinserted, it will account for that -- while not doing any extra
       * work if the key has not moved. One quirk: The {@link #getValue()} method can return {@code
       * null} even for a map which supposedly does not contain null elements, if the key is not present
       * when {@code getValue()} is called.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 36.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/Hashing.java

       *   <li>{@code consistentHash(h, n - 1)}, otherwise (probability {@code 1 - 1/n})
       * </ul>
       *
       * <p>This method is suitable for the common use case of dividing work among buckets that meet the
       * following conditions:
       *
       * <ul>
       *   <li>You want to assign the same fraction of inputs to each bucket.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        String[] array = new String[] {null};
        assertThrows(NullPointerException.class, () -> ImmutableSortedMultiset.copyOf(array));
      }
    
      public void testCopyOf_collection_empty() {
        // "<String>" is required to work around a javac 1.5 bug.
        Collection<String> c = MinimalCollection.<String>of();
        Multiset<String> multiset = ImmutableSortedMultiset.copyOf(c);
        assertTrue(multiset.isEmpty());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Joiner.java

        this.separator = checkNotNull(separator);
      }
    
      private Joiner(Joiner prototype) {
        this.separator = prototype.separator;
      }
    
      /*
       * In this file, we use <? extends @Nullable Object> instead of <?> to work around a Kotlin bug
       * (see b/189937072 until we file a bug against Kotlin itself). (The two should be equivalent, so
       * we normally prefer the shorter one.)
       */
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Throwables.java

       * <p>The expected (but not guaranteed) performance of the special implementation differs from
       * {@code getStackTrace} in one main way: The {@code lazyStackTrace} call itself returns quickly
       * by delaying the per-stack-frame work until each element is accessed. Roughly speaking:
       *
       * <ul>
       *   <li>{@code getStackTrace} takes {@code stackSize} time to return but then negligible time to
       *       retrieve each element of the returned list.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        String[] array = new String[] {null};
        assertThrows(NullPointerException.class, () -> ImmutableSortedMultiset.copyOf(array));
      }
    
      public void testCopyOf_collection_empty() {
        // "<String>" is required to work around a javac 1.5 bug.
        Collection<String> c = MinimalCollection.<String>of();
        Multiset<String> multiset = ImmutableSortedMultiset.copyOf(c);
        assertTrue(multiset.isEmpty());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 22.6K bytes
    - Viewed (0)
Back to top