Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 93 for occurrence (0.07 sec)

  1. guava/src/com/google/common/collect/ImmutableSortedMap.java

       * elements.
       *
       * <p>If the mapped keys contain duplicates (according to the comparator), the values are merged
       * using the specified merging function. Entries will appear in the encounter order of the first
       * occurrence of the key.
       *
       * @since 21.0
       */
      public static <T extends @Nullable Object, K, V>
          Collector<T, ?, ImmutableSortedMap<K, V>> toImmutableSortedMap(
              Comparator<? super K> comparator,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       * elements.
       *
       * <p>If the mapped keys contain duplicates (according to the comparator), the values are merged
       * using the specified merging function. Entries will appear in the encounter order of the first
       * occurrence of the key.
       *
       * @since 33.2.0 (available since 21.0 in guava-jre)
       */
      @SuppressWarnings("Java7ApiChecker")
      @IgnoreJRERequirement // Users will use this only if they're already using streams.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  3. src/cmd/cgo/doc.go

    pkg-config directives are concatenated and sent to pkg-config simultaneously
    to add to each appropriate set of command-line flags.
    
    When the cgo directives are parsed, any occurrence of the string ${SRCDIR}
    will be replaced by the absolute path to the directory containing the source
    file. This allows pre-compiled static libraries to be included in the package
    directory and linked properly.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 01 22:52:54 UTC 2024
    - 44K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/core/v1/generated.proto

    // EventSeries contain information on series of events, i.e. thing that was/is happening
    // continuously for some time.
    message EventSeries {
      // Number of occurrences in this series up to the last heartbeat time
      optional int32 count = 1;
    
      // Time of the last occurrence observed
      optional k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime lastObservedTime = 2;
    }
    
    // EventSource contains information for an event.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 255.8K bytes
    - Viewed (0)
  5. build-logic/cleanup/build.gradle.kts

    }
    
    description = "Provides a plugin that cleans up after executing tests"
    
    errorprone {
        disabledChecks.addAll(
            "CatchAndPrintStackTrace", // 1 occurrences
            "DefaultCharset", // 3 occurrences
            "JavaTimeDefaultTimeZone", // 1 occurrences
        )
    }
    
    dependencies {
        implementation("gradlebuild:basics")
        implementation("gradlebuild:module-identity")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 507 bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

       *     Integer#MAX_VALUE} occurrences of {@code element} in this multiset.
       */
      @CanIgnoreReturnValue
      @Override
      public final int add(@ParametricNullness E element, int occurrences) {
        if (occurrences == 0) {
          return count(element);
        }
        checkArgument(occurrences > 0, "occurrences cannot be negative: %s", occurrences);
        int entryIndex = backingMap.indexOf(element);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

      }
    
      /**
       * Removes a number of occurrences of the specified element from this multiset. If the multiset
       * contains fewer than this number of occurrences to begin with, all occurrences will be removed.
       *
       * @param element the element whose occurrences should be removed
       * @param occurrences the number of occurrences of the element to remove
       * @return the count of the element before the operation; possibly zero
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

          return 0;
        }
    
        @Override
        public int add(E element, int occurrences) {
          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);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

       *     Integer#MAX_VALUE} occurrences of {@code element} in this multiset.
       */
      @CanIgnoreReturnValue
      @Override
      public int add(@ParametricNullness E element, int occurrences) {
        if (occurrences == 0) {
          return count(element);
        }
        checkArgument(occurrences > 0, "occurrences cannot be negative: %s", occurrences);
        Count frequency = backingMap.get(element);
        int oldCount;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

          return 0;
        }
    
        @Override
        public int add(E element, int occurrences) {
          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);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top