Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 51 for tool (2.34 sec)

  1. android/guava/src/com/google/common/io/BaseEncoding.java

      /**
       * The "base64" base encoding specified by <a
       * href="http://tools.ietf.org/html/rfc4648#section-4">RFC 4648 section 4</a>, Base 64 Encoding.
       * (This is the same as the base 64 encoding from <a
       * href="http://tools.ietf.org/html/rfc3548#section-3">RFC 3548</a>.)
       *
       * <p>The character {@code '='} is used for padding, but can be {@linkplain #omitPadding()
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/NetworkMutationTest.java

    @RunWith(JUnit4.class)
    
    public final class NetworkMutationTest {
      private static final int NUM_TRIALS = 5;
      private static final int NUM_NODES = 20;
      private static final int NUM_EDGES = 100;
      private static final int NODE_POOL_SIZE = 1000; // must be >> NUM_NODES
    
      @Test
      public void directedNetwork() {
        testNetworkMutation(NetworkBuilder.directed());
      }
    
      @Test
      public void undirectedNetwork() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 10 19:42:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        for (; ; ) {
          if (millis > 0L) Thread.sleep(millis);
          else // too short to sleep
          Thread.yield();
          long d = ns - (System.nanoTime() - startTime);
          if (d > 0L) millis = d / (1000 * 1000);
          else break;
        }
      }
    
      /** Waits out termination of a thread pool or fails doing so. */
      void joinPool(ExecutorService exec) {
        try {
          exec.shutdown();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java

                .suppressing(parentBuilder.getSuppressedTests())
                .suppressing(SetCreationTester.class.getMethods())
                // BiMap.entrySet() duplicate-handling behavior is too confusing for SetCreationTester
                .withSetUp(parentBuilder.getSetUp())
                .withTearDown(parentBuilder.getTearDown())
                .createTestSuite());
        /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

      }
    
      public void testAsMultimap() {
        ImmutableMap<String, Integer> map =
            ImmutableMap.of("one", 1, "won", 1, "two", 2, "too", 2, "three", 3);
        ImmutableSetMultimap<String, Integer> expected =
            ImmutableSetMultimap.of("one", 1, "won", 1, "two", 2, "too", 2, "three", 3);
        assertEquals(expected, map.asMultimap());
      }
    
      public void testAsMultimapWhenEmpty() {
    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)
  6. android/guava-tests/test/com/google/common/collect/ListsTest.java

        // Changes before the partition is retrieved are reflected
        list.set(1, 4);
    
        List<Integer> first = iterator.next();
    
        // Changes after are too (unlike Iterables.partition)
        list.set(2, 5);
    
        assertEquals(asList(3, 4, 5), first);
    
        // Changes to a sublist also write through to the original list
        first.set(1, 6);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ImmutableSetTest.java

        // Now we hit the cap
        assertEquals(1 << 30, ImmutableSet.chooseTableSize(1 << 29));
        assertEquals(1 << 30, ImmutableSet.chooseTableSize((1 << 30) - 1));
    
        // Now we've gone too far
        assertThrows(IllegalArgumentException.class, () -> ImmutableSet.chooseTableSize(1 << 30));
      }
    
      @GwtIncompatible // RegularImmutableSet.table not in emulation
      public void testResizeTable() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MapsTest.java

        // Map<Integer, Number> looseValued4 = transformEntries(map9, transformer);
    
        // Can't call with too loose a key:
        // transformEntries(map1, transformer);
        // transformEntries(map2, transformer);
        // transformEntries(map3, transformer);
    
        // Can't call with too loose a value:
        // transformEntries(map1, transformer);
        // transformEntries(map4, transformer);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MapsTest.java

        // Map<Integer, Number> looseValued4 = transformEntries(map9, transformer);
    
        // Can't call with too loose a key:
        // transformEntries(map1, transformer);
        // transformEntries(map2, transformer);
        // transformEntries(map3, transformer);
    
        // Can't call with too loose a value:
        // transformEntries(map1, transformer);
        // transformEntries(map4, transformer);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSet.java

       * worry that we might trigger the fallback to the JDK-backed implementation? (The varargs one
       * _could_, so we could keep it as it is. Or we could convince ourselves that hash flooding is
       * unlikely in practice there, too.)
       */
    
      /**
       * Returns an immutable set containing the given elements, minus duplicates, in the order each was
       * first specified. That is, if multiple elements are {@linkplain Object#equals equal}, all except
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
Back to top