Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for replenish (0.2 sec)

  1. src/compress/flate/huffman_code.go

    			if l.level == maxBits {
    				// All done!
    				break
    			}
    			levels[l.level+1].nextPairFreq = prevFreq + l.lastFreq
    			level++
    		} else {
    			// If we stole from below, move down temporarily to replenish it.
    			for levels[level-1].needed > 0 {
    				level--
    			}
    		}
    	}
    
    	// Somethings is wrong if at the end, the top level is null or hasn't used
    	// all of the leaves.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  2. pkg/controller/resourcequota/resource_quota_monitor.go

    }
    
    // QuotaMonitor contains all necessary information to track quotas and trigger replenishments
    type QuotaMonitor struct {
    	// each monitor list/watches a resource and determines if we should replenish quota
    	monitors    monitors
    	monitorLock sync.RWMutex
    	// informersStarted is closed after all the controllers have been initialized and are running.
    	// After that it is safe to start them here, before that it is not.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. pkg/util/async/bounded_frequency_runner_test.go

    	timer.advance(1 * time.Millisecond) // abs=501ms, rel=500ms
    	runner.Run()
    	waitForDefer("too soon after second 3", t, timer, obj, 500*time.Millisecond)
    
    	// Advance timer enough to replenish bursts, but not enough to be minInterval
    	// after the last run
    	timer.advance(499 * time.Millisecond) // abs=1000ms, rel=999ms
    	waitForNothing("not minInterval", t, timer, obj)
    	runner.Run()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 15 09:36:26 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  4. pkg/controller/replicaset/replica_set_test.go

    		if activePods != *(rsSpec.Spec.Replicas) {
    			t.Fatalf("Unexpected number of active pods, expected %d, got %d", *(rsSpec.Spec.Replicas), activePods)
    		}
    		// Replenish the pod list, since we cut it down sizing up
    		pods = newPodList(nil, int(replicas), v1.PodRunning, labelMap, rsSpec, "pod")
    	}
    }
    
    func TestControllerBurstReplicas(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  5. pkg/controller/resourcequota/resource_quota_controller.go

    	if errors.IsNotFound(err) {
    		utilruntime.HandleError(fmt.Errorf("quota controller could not find ResourceQuota associated with namespace: %s, could take up to %v before a quota replenishes", namespace, rq.resyncPeriod()))
    		return
    	}
    	if err != nil {
    		utilruntime.HandleError(fmt.Errorf("error checking to see if namespace %s has any ResourceQuota associated with it: %v", namespace, err))
    		return
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  6. src/testdata/Isaac.Newton-Opticks.txt

    unless by solution in Menstruums they be reduced into very small
    Particles, and then they become transparent.
    
    
    PROP. III.
    
    _Between the parts of opake and colour'd Bodies are many Spaces, either
    empty, or replenish'd with Mediums of other Densities; as Water between
    the tinging Corpuscles wherewith any Liquor is impregnated, Air between
    the aqueous Globules that constitute Clouds or Mists; and for the most
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 01 16:16:21 UTC 2018
    - 553.9K bytes
    - Viewed (0)
  7. src/compress/bzip2/testdata/Isaac.Newton-Opticks.txt.bz2

    Light incident on their first Superficies; unless by solution in Menstruums they be reduced into very small Particles, and then they become transparent. PROP. III. _Between the parts of opake and colour'd Bodies are many Spaces, either empty, or replenish'd with Mediums of other Densities; as Water between the tinging Corpuscles wherewith any Liquor is impregnated, Air between the aqueous Globules that constitute Clouds or Mists; and for the most part Spaces void of both Air and Water, but yet perhaps...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 24 18:26:02 UTC 2018
    - 129.4K bytes
    - Viewed (0)
Back to top