Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 247 for fries (0.04 sec)

  1. src/runtime/metrics_test.go

    			// Because the next two metrics tests are checking against Mallocs and Frees,
    			// we can't check them directly for the same reason: we need to account for tiny
    			// allocations included in Mallocs and Frees.
    		case "/gc/heap/allocs:objects":
    			mallocs = samples[i].Value.Uint64()
    		case "/gc/heap/frees:objects":
    			frees = samples[i].Value.Uint64()
    		case "/gc/heap/live:bytes":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  2. src/time/tick_test.go

    			runtime.GC()
    			runtime.GC()
    			runtime.ReadMemStats(&stats)
    			before := int64(stats.Mallocs - stats.Frees)
    
    			for j := 0; j < N; j++ {
    				f()
    			}
    
    			runtime.GC()
    			runtime.GC()
    			runtime.GC()
    			runtime.ReadMemStats(&stats)
    			after := int64(stats.Mallocs - stats.Frees)
    
    			// Allow some slack, but inuse >= N means at least 1 allocation per iteration.
    			inuse := after - before
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/wait/poll.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package wait
    
    import (
    	"context"
    	"time"
    )
    
    // PollUntilContextCancel tries a condition func until it returns true, an error, or the context
    // is cancelled or hits a deadline. condition will be invoked after the first interval if the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 26 06:13:35 UTC 2023
    - 14K bytes
    - Viewed (0)
  4. cluster/addons/addon-manager/kube-addons.sh

    # $1 filename of addon to start.
    # $2 count of tries to start the addon.
    # $3 delay in seconds between two consecutive tries
    # $4 namespace
    function start_addon() {
      local -r addon_filename=$1;
      local -r tries=$2;
      local -r delay=$3;
      local -r namespace=$4
    
      create_resource_from_string "$(cat "${addon_filename}")" "${tries}" "${delay}" "${addon_filename}" "${namespace}"
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 15 05:40:38 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  5. src/runtime/mpagealloc_test.go

    	}
    	tests := map[string]struct {
    		before map[ChunkIdx][]BitRange
    		after  map[ChunkIdx][]BitRange
    		npages uintptr
    		frees  []uintptr
    	}{
    		"Free1": {
    			npages: 1,
    			before: map[ChunkIdx][]BitRange{
    				BaseChunkIdx: {{0, PallocChunkPages}},
    			},
    			frees: []uintptr{
    				PageBase(BaseChunkIdx, 0),
    				PageBase(BaseChunkIdx, 1),
    				PageBase(BaseChunkIdx, 2),
    				PageBase(BaseChunkIdx, 3),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 06 19:16:48 UTC 2021
    - 32.6K bytes
    - Viewed (0)
  6. cmd/prepare-storage.go

    	if err == nil {
    		return storageDisks, format, nil
    	}
    
    	tries++ // tried already once
    
    	// Wait on each try for an update.
    	ticker := time.NewTicker(1 * time.Second)
    	defer ticker.Stop()
    
    	for {
    		// Only log once every 10 iterations, then reset the tries count.
    		verbose = tries >= 10
    		if verbose {
    			tries = 1
    		}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 19 08:06:49 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  7. src/runtime/mpallocbits_test.go

    			npages:   2,
    			frees:    []uint{0, 2, 4, 6, 8, 10},
    			afterInv: []BitRange{{0, 12}},
    		},
    		"NoneFree5": {
    			npages:   5,
    			frees:    []uint{0, 5, 10, 15, 20},
    			afterInv: []BitRange{{0, 25}},
    		},
    		"NoneFree64": {
    			npages:   64,
    			frees:    []uint{0, 64, 128},
    			afterInv: []BitRange{{0, 192}},
    		},
    		"NoneFree65": {
    			npages:   65,
    			frees:    []uint{0, 65, 130},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 17 22:00:17 UTC 2020
    - 13.7K bytes
    - Viewed (0)
  8. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildEventsIntegrationTest.groovy

        def "fires build listener events on included builds"() {
            given:
            dependency 'org.test:buildB:1.0'
            dependency buildB, 'org.test:buildC:1.0'
    
            when:
            execute()
    
            then:
            verifyBuildEvents()
        }
    
        @ToBeFixedForConfigurationCache(because = "build listener")
        def "fires build listener events for unused included builds"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 15:38:24 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  9. pkg/controller/volume/attachdetach/attach_detach_controller_test.go

    	}
    }
    
    func verifyAttachDetachCalls(t *testing.T, testPlugin *controllervolumetesting.TestPlugin, tc vaTest) {
    	for tries := 0; tries <= 10; tries++ { // wait & try few times before failing the test
    		expected_op_map := tc.expected_attaches
    		plugin_map := testPlugin.GetAttachedVolumes()
    		verify_op := "attach"
    		volFound, nodeFound := false, false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultNamedDomainObjectListTest.groovy

            given:
            list.add('b')
    
            when:
            list.add(0, 'a')
            list.add(2, 'c')
    
            then:
            list == ['a', 'b', 'c']
        }
    
        def "fires events when element is added at index"() {
            Action<String> action = Mock()
    
            given:
            list.all(action)
    
            when:
            list.add(0, 'a')
            list.add(0, 'b')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 01 08:21:31 UTC 2023
    - 13K bytes
    - Viewed (0)
Back to top