Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 501 for ordinal (0.19 sec)

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

        }
        Enum<?> e = (Enum<?>) element;
        return counts[e.ordinal()];
      }
    
      // Modification Operations
      @CanIgnoreReturnValue
      @Override
      public int add(E element, int occurrences) {
        checkIsE(element);
        checkNonnegative(occurrences, "occurrences");
        if (occurrences == 0) {
          return count(element);
        }
        int index = element.ordinal();
        int oldCount = counts[index];
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/EnumMultiset.java

        }
        Enum<?> e = (Enum<?>) element;
        return counts[e.ordinal()];
      }
    
      // Modification Operations
      @CanIgnoreReturnValue
      @Override
      public int add(E element, int occurrences) {
        checkIsE(element);
        checkNonnegative(occurrences, "occurrences");
        if (occurrences == 0) {
          return count(element);
        }
        int index = element.ordinal();
        int oldCount = counts[index];
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMetadataCalculator.kt

            // Enum constructors are represented without name/ordinal in light classes, which seems fine because they don't have name/ordinal
            // in Java sources as well, even though the parameters are there in the bytecode. Since metadata stores JVM signatures, we're
            // adding the name/ordinal parameters manually.
            append("Ljava/lang/String;")
            append("I")
        }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Mar 26 09:19:07 GMT 2024
    - 10K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/BloomFilter.java

        int dataLength = -1;
        try {
          DataInputStream din = new DataInputStream(in);
          // currently this assumes there is no negative ordinal; will have to be updated if we
          // add non-stateless strategies (for which we've reserved negative ordinals; see
          // Strategy.ordinal()).
          strategyOrdinal = din.readByte();
          numHashFunctions = UnsignedBytes.toInt(din.readByte());
          dataLength = din.readInt();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/apps/v1beta1/generated.proto

    message RollingUpdateStatefulSetStrategy {
      // Partition indicates the ordinal at which the StatefulSet should be partitioned
      // for updates. During a rolling update, all pods from ordinal Replicas-1 to
      // Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched.
      // This is helpful in being able to do a canary based deployment. The default value is 0.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    				fmt.Errorf("unexpected drive ordering on pool: %s: found drive at (set=%s, drive=%s), expected at (set=%s, drive=%s): %s(%s): %w",
    					humanize.Ordinal(ep.PoolIdx+1), humanize.Ordinal(m+1), humanize.Ordinal(n+1), humanize.Ordinal(ep.SetIdx+1), humanize.Ordinal(ep.DiskIdx+1),
    					s, s.diskID, errInconsistentDisk), "drive-order-format-json")
    			return s, errInconsistentDisk
    		}
    		s.diskID = diskID
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  7. cmd/background-newdisks-heal-ops.go

    	lkctx, err := locker.GetLock(ctx, newDiskHealingTimeout)
    	if err != nil {
    		return fmt.Errorf("Healing of drive '%v' on %s pool, belonging to %s erasure set already in progress: %w",
    			disk, humanize.Ordinal(poolIdx+1), humanize.Ordinal(setIdx+1), err)
    	}
    	ctx = lkctx.Context()
    	defer locker.Unlock(lkctx)
    
    	// Load healing tracker in this disk
    	tracker, err := loadHealingTracker(ctx, disk)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/apps/v1/generated.proto

    message RollingUpdateStatefulSetStrategy {
      // Partition indicates the ordinal at which the StatefulSet should be partitioned
      // for updates. During a rolling update, all pods from ordinal Replicas-1 to
      // Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched.
      // This is helpful in being able to do a canary based deployment. The default value is 0.
      // +optional
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 34.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          nodes.add(node);
          map.put(key, node);
        }
        // Pre-populate all allowedPriorLocks with nodes of smaller ordinal.
        for (int i = 1; i < numKeys; i++) {
          nodes.get(i).checkAcquiredLocks(Policies.THROW, nodes.subList(0, i));
        }
        // Pre-populate all disallowedPriorLocks with nodes of larger ordinal.
        for (int i = 0; i < numKeys - 1; i++) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/apps/v1beta2/generated.proto

    message RollingUpdateStatefulSetStrategy {
      // Partition indicates the ordinal at which the StatefulSet should be partitioned
      // for updates. During a rolling update, all pods from ordinal Replicas-1 to
      // Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched.
      // This is helpful in being able to do a canary based deployment. The default value is 0.
      // +optional
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 36.4K bytes
    - Viewed (0)
Back to top