Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for dirty (0.03 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/TestResources.java

        /**
         * Copies the given resource to the test directory.
         */
        public void maybeCopy(String resource) {
            // Multi version tests append to the method name, making it miss the resources
            // Below is a dirty way to strip the added content
            if (resource.contains(" ")) {
                resource = resource.substring(0, resource.indexOf(' '));
            }
            TestFile dir = resources.findResource(resource);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/local/model/LocalComponentGraphResolveState.java

         * in a beforeResolve callback.
         *
         * To reduce the number of instances of root component metadata we create, we mark all configurations
         * as dirty and in need of re-evaluation when we see certain types of modifications to a configuration.
         *
         * In the future, we could narrow the number of configurations that need to be re-evaluated, but it would
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. src/sync/map_test.go

    		}
    	}
    }
    
    func TestIssue40999(t *testing.T) {
    	var m sync.Map
    
    	// Since the miss-counting in missLocked (via Delete)
    	// compares the miss count with len(m.dirty),
    	// add an initial entry to bias len(m.dirty) above the miss count.
    	m.Store(nil, struct{}{})
    
    	var finalized uint32
    
    	// Set finalizers that count for collected keys. A non-zero count
    	// indicates that keys have not been leaked.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 15:34:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. cmd/metacache.go

    	metacacheMaxClientWait = 3 * time.Minute
    
    	// metacacheBlockSize is the number of file/directory entries to have in each block.
    	metacacheBlockSize = 5000
    
    	// metacacheSharePrefix controls whether prefixes on dirty paths are always shared.
    	// This will make `test/a` and `test/b` share listings if they are concurrent.
    	// Enabling this will make cache sharing more likely and cause less IO,
    	// but may cause additional latency to some calls.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. src/runtime/pprof/vminfo_darwin_test.go

    	// Output report format:  2.4  -64-bit process
    	// VM page size:  16384 bytes
    	//
    	// ==== Non-writable regions for process 53799
    	// REGION TYPE                    START END         [ VSIZE  RSDNT  DIRTY   SWAP] PRT/MAX SHRMOD PURGE    REGION DETAIL
    	// __TEXT                      1029a0000-1033bc000    [ 10.1M  7360K     0K     0K] r-x/rwx SM=COW          /Users/USER/*/gopls
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 19:59:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top