Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for beforeState (0.14 sec)

  1. cmd/peer-s3-server.go

    	g := errgroup.WithNErrs(len(localDrives))
    
    	// Disk states slices
    	beforeState := make([]string, len(localDrives))
    	afterState := make([]string, len(localDrives))
    
    	// Make a volume entry on all underlying storage disks.
    	for index := range localDrives {
    		index := index
    		g.Go(func() (serr error) {
    			if localDrives[index] == nil {
    				beforeState[index] = madmin.DriveStateOffline
    				afterState[index] = madmin.DriveStateOffline
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/upgrade/compute.go

    	}
    	isExternalEtcd := len(etcdVersions) == 0
    
    	dnsVersion, err := dns.DeployedDNSAddon(client)
    	if err != nil {
    		return nil, err
    	}
    
    	// Construct a descriptor for the current state of the world
    	beforeState := ClusterState{
    		KubeVersion:                   clusterVersionStr,
    		DNSVersion:                    dnsVersion,
    		KubeadmVersion:                kubeadmVersionStr,
    		KubeAPIServerVersions:         kubeAPIServerVersions,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 03:03:29 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/resources/DefaultResourceLockCoordinationServiceTest.groovy

                }
            }
    
            when:
            beforeState.eachWithIndex { boolean locked, int i -> lock[i].lockedState = locked }
            coordinationService.withStateLock(outerAction)
    
            then:
            afterState.eachWithIndex { boolean locked, int i -> assert lock[i].lockedState == locked }
    
            where:
            beforeState                  | afterState
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 17:16:10 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. src/internal/trace/event.go

    		// N.B. ordering.advance populates e.base.extra.
    		beforeState := ProcRunning
    		if go122.ProcStatus(e.base.extra(version.Go122)[0]) == go122.ProcSyscallAbandoned {
    			// We've lost information because this ProcSteal advanced on a
    			// SyscallAbandoned state. Treat the P as idle because ProcStatus
    			// treats SyscallAbandoned as Idle. Otherwise we'll have an invalid
    			// transition.
    			beforeState = ProcIdle
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 12:39:00 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueState.java

        public abstract S implicitValue();
    
        public abstract boolean maybeFinalizeOnRead(Describable displayName, @Nullable ModelObject producer, ValueSupplier.ValueConsumer consumer);
    
        public abstract void beforeMutate(Describable displayName);
    
        public abstract ValueSupplier.ValueConsumer forUpstream(ValueSupplier.ValueConsumer consumer);
    
        public boolean isFinalized() {
            return this == FINALIZED_VALUE;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractProperty.java

        /**
         * Is convention set to the initial convention value?
         */
        protected abstract boolean isDefaultConvention();
    
        protected void assertCanMutate() {
            state.beforeMutate(this.getDisplayName());
        }
    
        @Nullable
        private Task getProducerTask() {
            if (producer == null) {
                return null;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:54 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollection.java

            newFiles.from(newItems);
            return newFiles;
        }
    
        private void assertMutable() {
            valueState.beforeMutate(this::displayNameForThisCollection);
        }
    
        private String displayNameForThisCollection() {
            return displayName == null ? "this file collection" : displayName;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 16:06:55 UTC 2024
    - 30.2K bytes
    - Viewed (0)
Back to top