Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for dirty (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

        /**
         * construct graph from a "dirty" tree
         */
        public MetadataGraph(MetadataTreeNode tree) throws MetadataResolutionException {
            this(tree, false, false);
        }
        // ------------------------------------------------------------------------
        /**
         * construct graph from a "dirty" tree
         *
         * @param tree "dirty" tree root
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Oct 05 18:41:13 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_source.go

    	if !s.UpstreamHasSynced() {
    		return
    	} else if !s.policiesDirty.Swap(false) {
    		return
    	}
    
    	// It is ok the cache gets marked dirty again between us clearing the
    	// flag and us calculating the policies. The dirty flag would be marked again,
    	// and we'd have a no-op after comparing resource versions on the next sync.
    	klog.Infof("refreshing policies")
    	policies, err := s.calculatePolicyData()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 21 23:07:34 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  9. pkg/controller/resourcequota/resource_quota_controller.go

    	// quota is dirty if any part of spec hard limits differs from the status hard limits
    	statusLimitsDirty := !apiequality.Semantic.DeepEqual(resourceQuota.Spec.Hard, resourceQuota.Status.Hard)
    
    	// dirty tracks if the usage status differs from the previous sync,
    	// if so, we send a new usage with latest status
    	// if this is our first sync, it will be dirty by default, since we need track usage
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  10. src/go/types/infer.go

    	killCycles(tparams, inferred)
    
    	// dirty tracks the indices of all types that may still contain type parameters.
    	// We know that nil type entries and entries corresponding to provided (non-nil)
    	// type arguments are clean, so exclude them from the start.
    	var dirty []int
    	for i, typ := range inferred {
    		if typ != nil && (i >= len(targs) || targs[i] == nil) {
    			dirty = append(dirty, i)
    		}
    	}
    
    	for len(dirty) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 13:54:20 UTC 2024
    - 26.5K bytes
    - Viewed (0)
Back to top