Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for dirty (0.13 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. 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)
  3. 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)
  4. 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)
  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. 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)
  9. src/cmd/go/testdata/script/test_fuzz_minimize_dirty_cov.txt

    # Test that minimization doesn't use dirty coverage snapshots when it
    # is unable to actually minimize the input. We do this by checking that
    # an expected value appears in the cache. If a dirty coverage map is used
    # (i.e. the coverage map generated during the last minimization step,
    # rather than the map provided with the initial input) then this value
    # is unlikely to appear in the cache, since the map generated during
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 01:16:19 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. platforms/core-runtime/process-services/src/test/groovy/org/gradle/process/internal/health/memory/MemInfoOsMemoryInfoTest.groovy

    Active(anon):   17189920 kB
    Inactive(anon):      460 kB
    Active(file):     601188 kB
    Inactive(file): 13817828 kB
    Unevictable:           0 kB
    Mlocked:               0 kB
    SwapTotal:             0 kB
    SwapFree:              0 kB
    Dirty:                20 kB
    Writeback:             0 kB
    AnonPages:      17189100 kB
    Mapped:            24008 kB
    Shmem:              1312 kB
    Slab:            1291916 kB
    SReclaimable:    1236196 kB
    SUnreclaim:        55720 kB
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 6.9K bytes
    - Viewed (0)
Back to top