Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 29 for twelve (0.03 seconds)

  1. android/guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        IntegerDiv10 eleven = new IntegerDiv10(11);
        IntegerDiv10 twelve = new IntegerDiv10(12);
        IntegerDiv10 twenty = new IntegerDiv10(20);
    
        List<IntegerDiv10> original = ImmutableList.of(three, eleven, twelve, twenty);
    
        Multiset<IntegerDiv10> copy = ImmutableSortedMultiset.copyOf(original);
        assertTrue(copy.contains(eleven));
        assertTrue(copy.contains(twelve));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

                new IntegerDiv10(12), "twelve");
    
        assertThrows(IllegalArgumentException.class, () -> ImmutableSortedMap.copyOf(original));
      }
    
      public void testImmutableMapCopyOfImmutableSortedMap() {
        IntegerDiv10 three = new IntegerDiv10(3);
        IntegerDiv10 eleven = new IntegerDiv10(11);
        IntegerDiv10 twelve = new IntegerDiv10(12);
        IntegerDiv10 twenty = new IntegerDiv10(20);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 29.8K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        IntegerDiv10 eleven = new IntegerDiv10(11);
        IntegerDiv10 twelve = new IntegerDiv10(12);
        IntegerDiv10 twenty = new IntegerDiv10(20);
    
        List<IntegerDiv10> original = ImmutableList.of(three, eleven, twelve, twenty);
    
        Multiset<IntegerDiv10> copy = ImmutableSortedMultiset.copyOf(original);
        assertTrue(copy.contains(eleven));
        assertTrue(copy.contains(twelve));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/graph/GraphsBridgeMethods.java

    package com.google.common.graph;
    
    import java.util.Set;
    
    /**
     * Supertype for {@link Graphs}, containing the old signatures of methods whose signatures we've
     * changed. This provides binary compatibility for users who compiled against the old signatures.
     */
    abstract class GraphsBridgeMethods {
    
      @SuppressWarnings("PreferredInterfaceType")
      public static <N> Graph<N> transitiveClosure(Graph<N> graph) {
        return Graphs.transitiveClosure(graph);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 625 bytes
    - Click Count (0)
  5. docs/recipes.md

    ---
    title: Recipes
    description: A collection of common/useful code examples for Kotlin and Java
    ---
    
    
    # Recipes
    
    We've written some recipes that demonstrate how to solve common problems with OkHttp. Read through them to learn about how everything works together. Cut-and-paste these examples freely; that's what they're for.
    
    ### Synchronous Get ([.kt][SynchronousGetKotlin], [.java][SynchronousGetJava])
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 47.8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/graph/Graphs.java

          return true;
        }
        return hasCycle(network.asGraph());
      }
    
      /**
       * Performs a traversal of the nodes reachable from {@code startNode}. If we ever reach a node
       * we've already visited (following only outgoing edges and without reusing edges), we know
       * there's a cycle in the graph.
       */
      private static <N> boolean subgraphHasCycle(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  7. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

        // Don't copy this into your own test!
        // Use e.g. awaitClear or await(CountDownLatch) instead.
        GcFinalization.awaitFullGc();
    
        // Attempt to help with some flakiness that we've seen: b/387521512.
        GcFinalization.awaitFullGc();
    
        assertEquals(0, finalizerRan.getCount());
        assertThat(ref.get()).isNull();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  8. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

        // Don't copy this into your own test!
        // Use e.g. awaitClear or await(CountDownLatch) instead.
        GcFinalization.awaitFullGc();
    
        // Attempt to help with some flakiness that we've seen: b/387521512.
        GcFinalization.awaitFullGc();
    
        assertEquals(0, finalizerRan.getCount());
        assertThat(ref.get()).isNull();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  9. android/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() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 14.1K bytes
    - Click Count (0)
  10. 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() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 14.2K bytes
    - Click Count (0)
Back to Top