Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for dirty (0.2 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. requirements-tests.txt

    -e .[all]
    -r requirements-docs-tests.txt
    pytest >=7.1.3,<8.0.0
    coverage[toml] >= 6.5.0,< 8.0
    mypy ==1.8.0
    ruff ==0.2.0
    dirty-equals ==0.6.0
    # TODO: once removing databases from tutorial, upgrade SQLAlchemy
    # probably when including SQLModel
    sqlalchemy >=1.3.18,<1.4.43
    databases[sqlite] >=0.3.2,<0.7.0
    flask >=1.1.2,<3.0.0
    anyio[trio] >=3.2.1,<4.0.0
    PyJWT==2.8.0
    pyyaml >=5.3.1,<7.0.0
    passlib[bcrypt] >=1.7.2,<2.0.0
    
    # types
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 468 bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       * contains space-separated values: a state, a key, and optional state-specific values.
       *
       *   o DIRTY lines track that an entry is actively being created or updated. Every successful
       *     DIRTY action should be followed by a CLEAN or REMOVE action. DIRTY lines without a matching
       *     CLEAN or REMOVE indicate that temporary files may need to be deleted.
       *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractFileLockManagerTest.groovy

        }
    
        abstract void isVersionLockFile(TestFile lockFile, boolean dirty)
    
        void isVersionLockFileWithInfoRegion(TestFile lockFile, boolean dirty) {
            isVersionLockFileWithInfoRegion(lockFile, dirty, "123", "operation")
        }
    
        abstract void isVersionLockFileWithInfoRegion(TestFile lockFile, boolean dirty, String processIdentifier, String operationalName)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modfetch/fetch.go

    	// just return without opening go.sum.
    	dirty := false
    Outer:
    	for m, hs := range goSum.m {
    		for _, h := range hs {
    			st := goSum.status[modSum{m, h}]
    			if st.dirty && (!st.used || keep[m]) {
    				dirty = true
    				break Outer
    			}
    		}
    	}
    	if !dirty {
    		return nil
    	}
    	if readonly {
    		return ErrGoSumDirty
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ProgressEvents.groovy

        protected ProgressEvents() {
        }
    
        void clear() {
            events.clear()
            operations.clear()
            dirty = false
        }
    
        /**
         * Asserts that the events form zero or more well-formed trees of operations.
         */
        void assertHasZeroOrMoreTrees() {
            if (!dirty) {
                return;
            }
    
            Set<OperationDescriptor> seen = []
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 23 13:50:05 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top