Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 322 for hit (0.02 sec)

  1. src/log/slog/record_test.go

    	if g, w := r.NumAttrs(), len(as); g != w {
    		t.Errorf("NumAttrs: got %d, want %d", g, w)
    	}
    	if got := attrsSlice(r); !attrsEqual(got, as) {
    		t.Errorf("got %v, want %v", got, as)
    	}
    
    	// Early return.
    	// Hit both loops in Record.Attrs: front and back.
    	for _, stop := range []int{2, 6} {
    		var got []Attr
    		r.Attrs(func(a Attr) bool {
    			got = append(got, a)
    			return len(got) < stop
    		})
    		want := as[:stop]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 15:10:55 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. cmd/dynamic-timeouts_test.go

    	for l := 0; l < 100; l++ {
    		for i := 0; i < dynamicTimeoutLogSize; i++ {
    			timeout.LogSuccess(successTimeout)
    		}
    	}
    
    	adjusted := timeout.Timeout()
    	// Check whether eventual timeout has hit the minimum value
    	if initial <= adjusted || adjusted != minimum {
    		t.Errorf("Failure to decrease timeout appropriately")
    	}
    }
    
    func testDynamicTimeoutAdjust(t *testing.T, timeout *dynamicTimeout, f func() float64) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Oct 14 10:08:40 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1_test.go

    		// later requests within the cache window don't hit the backend
    		{name: "alice cached request", attr: aliceAttr, allow: false, statusCode: 500, expectedErr: false, expectedAuthorized: true, expectedCalls: 0},
    
    		// a request with different attributes doesn't hit the cache
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/test/testdata/loadstore_test.go

    	*p = x            // store
    	return uint64(*p) // load and cast
    }
    
    func testLoadHitStore(t *testing.T) {
    	// Test that sign/zero extensions are kept when a load-hit-store
    	// is replaced by a register-register move.
    	{
    		var in int8 = (1 << 6) + 1
    		var p int8
    		got := loadHitStore8(in, &p)
    		want := int32(in * in)
    		if got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/work/DefaultConditionalExecutionQueue.java

                throw new IllegalStateException("DefaultConditionalExecutionQueue cannot be reused once it has been stopped.");
            }
    
            lock.lock();
            try {
                // expand the thread pool until we hit max workers
                if (workerCount < getMaxWorkerCount()) {
                    expand(true);
                }
    
                queue.add(execution);
                workAvailable.signalAll();
            } finally {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/internal/classpath/GroovyDynamicDispatchingInterceptingTest.groovy

            def receiver = new InterceptorTestReceiver()
            def transformedClosure = instrumentedClasses.instrumentedClosure { test() }
            transformedClosure.delegate = receiver
    
            when: "the call site has been hit before"
            transformedClosure()
            receiver.intercepted = null
    
            and: "another call goes through the call site"
            transformedClosure()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 09:44:54 UTC 2023
    - 8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/server/filters/goaway_test.go

    				return rand.Float64
    			},
    			expectGOAWAY: true,
    		},
    		{
    			name:   "hit GOAWAY",
    			chance: rand.Float64() + 0.01,
    			nextFn: func(chance float64) func() float64 {
    				return func() float64 {
    					return chance - 0.001
    				}
    			},
    			expectGOAWAY: true,
    		},
    		{
    			name:   "does not hit GOAWAY",
    			chance: rand.Float64() + 0.01,
    			nextFn: func(chance float64) func() float64 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 17 12:58:54 UTC 2021
    - 13.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/object_count_tracker.go

    const (
    	// type deletion (it applies mostly to CRD) is not a very frequent
    	// operation so we can afford to prune the cache at a large interval.
    	// at the same time, we also want to make sure that the scalability
    	// tests hit this code path.
    	pruneInterval = 1 * time.Hour
    
    	// the storage layer polls for object count at every 1m interval, we will allow
    	// up to 2-3 transient failures to get the latest count for a given resource.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 16 09:12:00 UTC 2022
    - 5K bytes
    - Viewed (0)
  9. src/internal/coverage/cfile/apis.go

    	// program execution as we walk through the entire counter array
    	// for the program looking for executed functions, we'll zoom past
    	// main.XYZ's prolog (which was zero'd) and hit the non-zero
    	// counter value corresponding to the "HERE" block, which will
    	// then be interpreted as the start of another live function.
    	// Things will go downhill from there.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. Jenkinsfile

                node(jenkinsEnv.nodeSelection(osLabel)) {
                    stage("${stageLabel}") {
                        echo "NODE_NAME = ${env.NODE_NAME}"
                        // on Windows, need a short path or we hit 256 character limit for paths
                        // using EXECUTOR_NUMBER guarantees that concurrent builds on same agent
                        // will not trample each other plus workaround for JENKINS-52657
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Mar 03 21:28:30 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top