Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 1,513 for kValues (0.1 sec)

  1. architecture/standards/0006-use-of-provider-apis-in-gradle.md

    ## Decision
    
    ### Types of properties that should not use lazy types
    
    The guidelines below do not apply to all properties. There are cases where the lazy types should not be used:
    
    #### Non-calculated values
    
    These are inappropriate uses of lazy types:
    
    ```groovy
    class Example {
        Property<String> getSomeProperty()
    
        Example() {
            getSomeProperty().set("value")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 15 20:00:57 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java

         * CollectionTestSuiteBuilder on values(). It would be nice to avoid that
         */
        derived.add(
            SetTestSuiteBuilder.using(
                    new BiMapValueSetGenerator<K, V>(parentBuilder.getSubjectGenerator()))
                .withFeatures(computeValuesSetFeatures(parentBuilder.getFeatures()))
                .named(parentBuilder.getName() + " values [Set]")
                .suppressing(parentBuilder.getSuppressedTests())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. utils/utils_test.go

    		{[]interface{}{[]interface{}{"1", nil, "3"}}, "[1 <nil> 3]"},
    	}
    	for _, c := range cases {
    		if key := ToStringKey(c.values...); key != c.key {
    			t.Errorf("%v: expected %v, got %v", c.values, c.key, key)
    		}
    	}
    }
    
    func TestContains(t *testing.T) {
    	containsTests := []struct {
    		name  string
    		elems []string
    		elem  string
    		out   bool
    	}{
    		{"exists", []string{"1", "2", "3"}, "1", true},
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:03:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/FilteredEntrySetMultimap.java

      public Set<V> removeAll(@CheckForNull Object key) {
        return (Set<V>) super.removeAll(key);
      }
    
      @Override
      public Set<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
        return (Set<V>) super.replaceValues(key, values);
      }
    
      @Override
      Set<Entry<K, V>> createEntries() {
        return Sets.filter(unfiltered().entries(), entryPredicate());
      }
    
      @Override
      public Set<Entry<K, V>> entries() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

        public void clear() {
          assertTrue(Thread.holdsLock(mutex));
          delegate.clear();
        }
    
        @Override
        public Collection<V> values() {
          assertTrue(Thread.holdsLock(mutex));
          /* TODO: verify that the Collection is also synchronized? */
          return delegate.values();
        }
    
        @Override
        public Set<Cell<R, C, V>> cellSet() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.cellSet();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapClearTester.java

        assertTrue(getMap().isEmpty());
        assertTrue(inv.isEmpty());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testValuesClearClearsInverse() {
        BiMap<V, K> inv = getMap().inverse();
        getMap().values().clear();
        assertTrue(getMap().isEmpty());
        assertTrue(inv.isEmpty());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testClearInverseClears() {
        BiMap<V, K> inv = getMap().inverse();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingListMultimap.java

        return delegate().removeAll(key);
      }
    
      @CanIgnoreReturnValue
      @Override
      public List<V> replaceValues(@ParametricNullness K key, Iterable<? extends V> values) {
        return delegate().replaceValues(key, values);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/BiMapClearTester.java

        assertTrue(getMap().isEmpty());
        assertTrue(inv.isEmpty());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testValuesClearClearsInverse() {
        BiMap<V, K> inv = getMap().inverse();
        getMap().values().clear();
        assertTrue(getMap().isEmpty());
        assertTrue(inv.isEmpty());
      }
    
      @MapFeature.Require(SUPPORTS_REMOVE)
      public void testClearInverseClears() {
        BiMap<V, K> inv = getMap().inverse();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        List<@Nullable Integer> values = Arrays.asList(1, null);
        assertThrows(
            NullPointerException.class,
            () -> Multimaps.index((List<Integer>) values, Functions.identity()));
      }
    
      public void testIndex_nullKey() {
        List<Integer> values = Arrays.asList(1, 2);
        assertThrows(
            NullPointerException.class, () -> Multimaps.index(values, Functions.constant(null)));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  10. cmd/metrics-resource.go

    	// resourceMetricsHelpMap maps metric name to its help string
    	resourceMetricsHelpMap map[MetricName]string
    	resourceMetricsGroups  []*MetricsGroupV2
    	// initial values for drives (at the time  of server startup)
    	// used for calculating avg values for drive metrics
    	latestDriveStats      map[string]madmin.DiskIOStats
    	latestDriveStatsMu    sync.RWMutex
    	lastDriveStatsRefresh time.Time
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 23:30:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top