Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for frequency (0.14 sec)

  1. internal/config/callhome/callhome.go

    	defer configLock.RUnlock()
    
    	if c.Frequency == 0 {
    		return callhomeCycleDefault
    	}
    
    	return c.Frequency
    }
    
    // Update updates new callhome frequency
    func (c *Config) Update(ncfg Config) {
    	configLock.Lock()
    	defer configLock.Unlock()
    
    	c.Enable = ncfg.Enable
    	c.Frequency = ncfg.Frequency
    }
    
    // LookupConfig - lookup config and override with valid environment settings if any.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

          checkArgument(occurrences >= 0);
          Integer frequency = backingMap.get(element);
          if (frequency == null) {
            frequency = 0;
          }
          if (occurrences == 0) {
            return frequency;
          }
          checkArgument(occurrences <= Integer.MAX_VALUE - frequency);
          backingMap.put(element, frequency + occurrences);
          return frequency;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

          checkArgument(occurrences >= 0);
          Integer frequency = backingMap.get(element);
          if (frequency == null) {
            frequency = 0;
          }
          if (occurrences == 0) {
            return frequency;
          }
          checkArgument(occurrences <= Integer.MAX_VALUE - frequency);
          backingMap.put(element, frequency + occurrences);
          return frequency;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

              public int getCount() {
                Count count = mapEntry.getValue();
                if (count == null || count.get() == 0) {
                  Count frequency = backingMap.get(getElement());
                  if (frequency != null) {
                    return frequency.get();
                  }
                }
                return (count == null) ? 0 : count.get();
              }
            };
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        assertEquals(1, frequency(set, "a"));
        assertEquals(1, frequency(set, "b"));
        assertEquals(1, frequency(set, "c"));
        assertEquals(0, frequency(set, "d"));
        assertEquals(0, frequency(set, 4.2));
        assertEquals(0, frequency(set, null));
      }
    
      public void testFrequency_list() {
        List<String> list = newArrayList("a", "b", "a", "c", "b", "a");
        assertEquals(3, frequency(list, "a"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        List<@Nullable String> list = newArrayList("a", null, "b", null, "a", null);
        assertEquals(2, frequency(list.iterator(), "a"));
        assertEquals(1, frequency(list.iterator(), "b"));
        assertEquals(0, frequency(list.iterator(), "c"));
        assertEquals(0, frequency(list.iterator(), 4.2));
        assertEquals(3, frequency(list.iterator(), null));
      }
    
      @GwtIncompatible // slow (~4s)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/IteratorsTest.java

        List<@Nullable String> list = newArrayList("a", null, "b", null, "a", null);
        assertEquals(2, frequency(list.iterator(), "a"));
        assertEquals(1, frequency(list.iterator(), "b"));
        assertEquals(0, frequency(list.iterator(), "c"));
        assertEquals(0, frequency(list.iterator(), 4.2));
        assertEquals(3, frequency(list.iterator(), null));
      }
    
      @GwtIncompatible // slow (~4s)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterables.java

       * stream.filter(Predicate.isEqual(element)).count()} instead.
       *
       * @see java.util.Collections#frequency(Collection, Object) Collections.frequency(Collection,
       *     Object)
       */
      public static int frequency(Iterable<?> iterable, @CheckForNull Object element) {
        if ((iterable instanceof Multiset)) {
          return ((Multiset<?>) iterable).count(element);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  9. docs/config/README.md

    ```
    api                   manage global HTTP API call specific features, such as throttling, authentication types, etc.
    heal                  manage object healing frequency and bitrot verification checks
    scanner               manage namespace scanning for usage calculation, lifecycle, healing and more
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 16 08:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/collect/Multiset.java

       * element). Note that for an {@link Object#equals}-based multiset, this gives the same result as
       * {@link Collections#frequency} (which would presumably perform more poorly).
       *
       * <p><b>Note:</b> the utility method {@link Iterables#frequency} generalizes this operation; it
       * correctly delegates to this method when dealing with a multiset, but it can also accept any
       * other iterable type.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 19.7K bytes
    - Viewed (0)
Back to top