- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 71 for dirty (0.04 sec)
-
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) -
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) -
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) -
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) -
src/sync/map.go
m.misses++ if m.misses < len(m.dirty) { return } m.read.Store(&readOnly{m: m.dirty}) m.dirty = nil m.misses = 0 } func (m *Map) dirtyLocked() { if m.dirty != nil { return } read := m.loadReadOnly() m.dirty = make(map[any]*entry, len(read.m)) for k, e := range read.m { if !e.tryExpungeLocked() { m.dirty[k] = e } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 15.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/conversion_test.go
VersionedKind: examplev1.SchemeGroupVersion.WithKind("Pod"), Dirty: false, }, }, { Name: "dirty, unstructured", Attrs: &VersionedAttributes{ Attributes: attrs( u(`{"apiVersion": "mygroup.k8s.io/v1","kind": "Flunder","metadata":{"name":"newobj"}}`),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:48:03 UTC 2023 - 13.7K bytes - Viewed (0) -
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) -
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) -
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) -
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)