Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for 45 (0.02 sec)

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

        builder.putAll("foo", Arrays.asList(1, 2, 3));
        builder.putAll("bar", Arrays.asList(4, 5));
        builder.putAll("foo", Arrays.asList(6, 7));
        Multimap<String, Integer> multimap = builder.build();
        assertEquals(ImmutableSet.of(1, 2, 3, 6, 7), multimap.get("foo"));
        assertEquals(ImmutableSet.of(4, 5), multimap.get("bar"));
        assertEquals(7, multimap.size());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

                .concurrencyLevel(1)
                .maximumWeight(45)
                .weigher(intKeyWeigher())
                .build(loader);
        CacheTesting.warmUp(cache, 0, 10);
        Set<Integer> keySet = cache.asMap().keySet();
        assertThat(keySet).containsExactly(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
    
        // add an at-the-maximum-weight entry
        getAll(cache, asList(45));
        CacheTesting.drainRecencyQueues(cache);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        builder.putAll("foo", Arrays.asList(1, 2, 3));
        builder.putAll("bar", Arrays.asList(4, 5));
        builder.putAll("foo", Arrays.asList(6, 7));
        Multimap<String, Integer> multimap = builder.build();
        assertThat(multimap.get("foo")).containsExactly(1, 2, 3, 6, 7).inOrder();
        assertThat(multimap.get("bar")).containsExactly(4, 5).inOrder();
        assertEquals(7, multimap.size());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        builder.putAll("foo", Arrays.asList(1, 2, 3));
        builder.putAll("bar", Arrays.asList(4, 5));
        builder.putAll("foo", Arrays.asList(6, 7));
        Multimap<String, Integer> multimap = builder.build();
        assertThat(multimap.get("foo")).containsExactly(1, 2, 3, 6, 7).inOrder();
        assertThat(multimap.get("bar")).containsExactly(4, 5).inOrder();
        assertEquals(7, multimap.size());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

          @Override
          protected Iterator<Entry<String, Integer>> newTargetIterator() {
            multimap = LinkedHashMultimap.create();
            multimap.putAll("foo", asList(2, 3));
            multimap.putAll("bar", asList(4, 5));
            multimap.putAll("foo", asList(6));
            return multimap.entries().iterator();
          }
    
          @Override
          protected void verify(List<Entry<String, Integer>> elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        assertThat(graph.edges())
            .containsExactly(
                EndpointPair.unordered(1, 2),
                EndpointPair.unordered(1, 4),
                EndpointPair.unordered(1, 3),
                EndpointPair.unordered(4, 5))
            .inOrder();
      }
    
      @Test
      public void stableIncidentEdgeOrder_adjacentNodes_returnsInConnectingEdgeInsertionOrder() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java

        assertThat(graph.edges())
            .containsExactly(
                EndpointPair.unordered(1, 2),
                EndpointPair.unordered(1, 4),
                EndpointPair.unordered(1, 3),
                EndpointPair.unordered(4, 5))
            .inOrder();
      }
    
      @Test
      public void stableIncidentEdgeOrder_adjacentNodes_returnsInConnectingEdgeInsertionOrder() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. internal/grid/handlers_string.go

    	_ = x[HandlerHealBucket-39]
    	_ = x[HandlerMakeBucket-40]
    	_ = x[HandlerHeadBucket-41]
    	_ = x[HandlerDeleteBucket-42]
    	_ = x[HandlerGetMetrics-43]
    	_ = x[HandlerGetResourceMetrics-44]
    	_ = x[HandlerGetMemInfo-45]
    	_ = x[HandlerGetProcInfo-46]
    	_ = x[HandlerGetOSInfo-47]
    	_ = x[HandlerGetPartitions-48]
    	_ = x[HandlerGetNetInfo-49]
    	_ = x[HandlerGetCPUs-50]
    	_ = x[HandlerServerInfo-51]
    	_ = x[HandlerGetSysConfig-52]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

            @Override
            protected ListIterator<Entry<String, Integer>> newTargetIterator() {
              multimap = create();
              multimap.putAll("foo", asList(2, 3));
              multimap.putAll("bar", asList(4, 5));
              multimap.put("foo", 6);
              return multimap.entries().listIterator(startIndex);
            }
    
            @Override
            protected void verify(List<Entry<String, Integer>> elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

        assertTrue(rangeSet.intersects(Range.closed(3, 4)));
        assertTrue(rangeSet.intersects(Range.closedOpen(1, 5)));
        assertFalse(rangeSet.intersects(Range.closedOpen(4, 5)));
        assertTrue(rangeSet.intersects(Range.lessThan(1)));
        assertTrue(rangeSet.intersects(Range.greaterThan(1)));
        assertFalse(rangeSet.intersects(Range.greaterThan(3)));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top