Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 49 for dirty (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        setUp(parameters.first, parameters.second)
        val creator = cache.edit("k1")!!
        assertJournalEquals("DIRTY k1") // DIRTY must always be flushed.
        creator.setString(0, "AB")
        creator.setString(1, "C")
        creator.commit()
        cache.close()
        assertJournalEquals("DIRTY k1", "CLEAN k1 2 1")
      }
    
      @ParameterizedTest
      @ArgumentsSource(FileSystemParamProvider::class)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/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.4K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt

      fun commit(upstreamSize: Long) {
        // Write metadata to the end of the file.
        writeMetadata(upstreamSize)
        file!!.channel.force(false)
    
        // Once everything else is in place we can swap the dirty header for a clean one.
        writeHeader(PREFIX_CLEAN, upstreamSize, metadata.size.toLong())
        file!!.channel.force(false)
    
        // This file is complete.
        synchronized(this@Relay) {
          complete = true
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. 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)
  8. pkg/controller/statefulset/stateful_pod_control.go

    		consistent := true
    		// if the Pod does not conform to its identity, update the identity and dirty the Pod
    		if !identityMatches(set, pod) {
    			updateIdentity(set, pod)
    			consistent = false
    		}
    		// if the Pod does not conform to the StatefulSet's storage requirements, update the Pod's PVC's,
    		// dirty the Pod, and create any missing PVCs
    		if !storageMatches(set, pod) {
    			updateStorage(set, pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top