Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Ordinal (0.07 sec)

  1. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      }
    
      public void testDifferentOrderings_noViolations() {
        lock3.lock(); // MyOrder, ordinal() == 3
        lock01.lock(); // OtherOrder, ordinal() == 1
      }
    
      public void testExplicitOrderings_generalCycleDetection() {
        lock3.lock(); // MyOrder, ordinal() == 3
        lock01.lock(); // OtherOrder, ordinal() == 1
    
        lock3.unlock();
        PotentialDeadlockException expected =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

      }
    
      public void testDifferentOrderings_noViolations() {
        lock3.lock(); // MyOrder, ordinal() == 3
        lock01.lock(); // OtherOrder, ordinal() == 1
      }
    
      public void testExplicitOrderings_generalCycleDetection() {
        lock3.lock(); // MyOrder, ordinal() == 3
        lock01.lock(); // OtherOrder, ordinal() == 1
    
        lock3.unlock();
        PotentialDeadlockException expected =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. 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();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  4. 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.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24K bytes
    - Viewed (0)
  5. 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
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  6. 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 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. 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
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  8. 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++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  9. build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/SamplesGenerator.kt

                .withBinding("componentType", descriptor.componentType.name.toLowerCase())
                .withBinding("componentTypeIndex", "" + (descriptor.componentType.ordinal + 1))
                .withBinding("packageNameChoice", packageNameChoice)
                .withBinding("applicationStructureChoice", applicationStructureChoice)
                .withBinding("subprojectName", settings.subprojects.first())
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 22 11:11:17 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/BloomFilterStrategies.java

     * introduction of new versions).
     *
     * <p>Important: the order of the constants cannot change, and they cannot be deleted - we depend on
     * their ordinal for BloomFilter serialization.
     *
     * @author Dimitris Andreou
     * @author Kurt Alfred Kluever
     */
    @ElementTypesAreNonnullByDefault
    enum BloomFilterStrategies implements BloomFilter.Strategy {
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K bytes
    - Viewed (0)
Back to top