Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for dirty (0.06 sec)

  1. src/sync/map_reference_test.go

    	actual, loaded = clean[key]
    	if !loaded {
    		dirty := m.dirty()
    		dirty[key] = value
    		actual = value
    		m.clean.Store(dirty)
    	}
    	m.mu.Unlock()
    	return actual, loaded
    }
    
    func (m *DeepCopyMap) Swap(key, value any) (previous any, loaded bool) {
    	m.mu.Lock()
    	dirty := m.dirty()
    	previous, loaded = dirty[key]
    	dirty[key] = value
    	m.clean.Store(dirty)
    	m.mu.Unlock()
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 15:34:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/conversion.go

    	// VersionedObject holds Attributes.Object (if non-nil), converted to VersionedKind.
    	// If mutated, Dirty must be set to true by the mutator.
    	VersionedObject runtime.Object
    	// VersionedKind holds the fully qualified kind
    	VersionedKind schema.GroupVersionKind
    	// Dirty indicates VersionedObject has been modified since being converted from Attributes.Object
    	Dirty bool
    }
    
    // GetObject overrides the Attributes.GetObject()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 16:56:12 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/DefaultDependencyResolveDetails.java

            useVersion = new DefaultMutableVersionConstraint(version);
            dirty = true;
       }
    
        @Override
        public void useTarget(Object notation) {
            ModuleVersionSelector newTarget = USE_TARGET_NOTATION_PARSER.parseNotation(notation);
            useVersion = null;
            useSelector = DefaultModuleComponentSelector.newSelector(newTarget);
            dirty = true;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/filelock/Version1LockStateSerializer.java

            dataOutput.writeBoolean(!state.dirty);
        }
    
        @Override
        public LockState read(DataInput dataInput) throws IOException {
            return new DirtyFlagLockState(!dataInput.readBoolean());
        }
    
        private static class DirtyFlagLockState implements LockState {
            private final boolean dirty;
    
            private DirtyFlagLockState(boolean dirty) {
                this.dirty = dirty;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/CachingBlockStore.java

            indexBlockCache.invalidateAll();
            store.close();
        }
    
        @Override
        public void clear() {
            dirty.clear();
            indexBlockCache.invalidateAll();
            store.clear();
        }
    
        @Override
        public void flush() {
            Iterator<BlockPayload> iterator = dirty.values().iterator();
            while (iterator.hasNext()) {
                BlockPayload block = iterator.next();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. hack/lib/version.sh

          fi
          if [[ "${KUBE_GIT_TREE_STATE}" == "dirty" ]]; then
            # git describe --dirty only considers changes to existing files, but
            # that is problematic since new untracked .go files affect the build,
            # so use our idea of "dirty" from git status instead.
            KUBE_GIT_VERSION+="-dirty"
          fi
    
    
          # Try to match the "git describe" output to a regex to try to extract
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 08:22:09 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultFileLockManagerWithCrossVersionProtocolTest.groovy

        }
    
        void isVersionLockFile(TestFile lockFile, boolean dirty) {
            assert lockFile.isFile()
            assert lockFile.length() == 2
            lockFile.withDataInputStream { str ->
                assert str.readByte() == 1
                assert str.readBoolean() != dirty
            }
        }
    
        @Override
        void isVersionLockFileWithInfoRegion(TestFile lockFile, boolean dirty, String processIdentifier, String operationalName) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:52:52 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. pkg/api/testing/node_example.json

                "osImage": "Debian GNU/Linux 7 (wheezy)",
                "containerRuntimeVersion": "containerd://1.4.2",
                "kubeletVersion": "v0.15.0-484-g0c8ee980d705a3-dirty",
                "kubeProxyVersion": "v0.15.0-484-g0c8ee980d705a3-dirty"
            }
        }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 25 00:36:50 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultFileLockManagerWithNewProtocolTest.groovy

        }
    
        void isVersionLockFile(TestFile lockFile, boolean dirty) {
            assert lockFile.isFile()
            assert lockFile.length() <= 2048
            lockFile.withDataInputStream { str ->
                // state version + creation number + sequence number
                assert str.readByte() == 3
                str.readLong()
                if (dirty) {
                    assert str.readLong() == 0
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:52:52 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. pilot/pkg/model/kstatus/helper.go

    // tracking changes. When read to commit (typically to Kubernetes), any messages with Dirty=false can
    // be discarded.
    type WrappedStatus struct {
    	// Status is the object that is wrapped.
    	config.Status
    	// Dirty indicates if this object has been modified at all.
    	// Note: only changes wrapped in Mutate are tracked.
    	Dirty bool
    }
    
    func Wrap(s config.Status) *WrappedStatus {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 17:36:41 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top