Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 150 for hit (0.07 sec)

  1. 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)
  2. 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)
  3. pilot/pkg/networking/core/httproute.go

    			}
    		}
    	}
    	if !features.EnableRDSCaching {
    		return routeConfigurations, model.DefaultXdsLogDetails
    	}
    	return routeConfigurations, model.XdsLogDetails{AdditionalInfo: fmt.Sprintf("cached:%v/%v", hit, hit+miss)}
    }
    
    // buildSidecarInboundHTTPRouteConfig builds the route config with a single wildcard virtual host on the inbound path
    // TODO: trace decorators, inbound timeouts
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  4. src/cmd/go/internal/cache/prog.go

    	Time     *time.Time `json:",omitempty"` // an Entry.Time; when the object was added to the docs
    
    	// DiskPath is the absolute path on disk of the ObjectID corresponding
    	// a "get" request's ActionID (on cache hit) or a "put" request's
    	// provided ObjectID.
    	DiskPath string `json:",omitempty"`
    }
    
    // startCacheProg starts the prog binary (with optional space-separated flags)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 19:23:25 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  5. src/archive/tar/reader.go

    // header in case further processing is required.
    //
    // The err will be set to io.EOF only when one of the following occurs:
    //   - Exactly 0 bytes are read and EOF is hit.
    //   - Exactly 1 block of zeros is read and EOF is hit.
    //   - At least 2 blocks of zeros are read.
    func (tr *Reader) readHeader() (*Header, *block, error) {
    	// Two blocks of zero bytes marks the end of the archive.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  6. .github/workflows/build.yml

                ~/.android/avd/*
                ~/.android/adb*
              key: avd-${{ matrix.api-level }}
    
          - name: Create AVD and generate snapshot for caching
            if: steps.avd-cache.outputs.cache-hit != 'true'
            uses: reactivecircus/android-emulator-runner@v2
            with:
              api-level: ${{ matrix.api-level }}
              arch: ${{ matrix.api-level == '34' && 'x86_64' || 'x86' }}
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Apr 15 01:51:50 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. src/runtime/map_fast32.go

    			insertb = b
    			goto done
    		}
    		ovf := b.overflow(t)
    		if ovf == nil {
    			break
    		}
    		b = ovf
    	}
    
    	// Did not find mapping for key. Allocate new cell & add entry.
    
    	// If we hit the max load factor or we have too many overflow buckets,
    	// and we're not already in the middle of growing, start growing.
    	if !h.growing() && (overLoadFactor(h.count+1, h.B) || tooManyOverflowBuckets(h.noverflow, h.B)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. src/runtime/map_fast64.go

    			inserti = i
    			goto done
    		}
    		ovf := b.overflow(t)
    		if ovf == nil {
    			break
    		}
    		b = ovf
    	}
    
    	// Did not find mapping for key. Allocate new cell & add entry.
    
    	// If we hit the max load factor or we have too many overflow buckets,
    	// and we're not already in the middle of growing, start growing.
    	if !h.growing() && (overLoadFactor(h.count+1, h.B) || tooManyOverflowBuckets(h.noverflow, h.B)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. pilot/pkg/model/authentication_test.go

    		name              string
    		workloadNamespace string
    		workloadLabels    labels.Instance
    		wantRequestAuthn  []*config.Config
    		isWaypoint        bool
    	}{
    		{
    			name:              "single hit",
    			workloadNamespace: "foo",
    			workloadLabels:    nil,
    			wantRequestAuthn: []*config.Config{
    				{
    					Meta: config.Meta{
    						GroupVersionKind: gvk.RequestAuthentication,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 45.1K bytes
    - Viewed (0)
  10. pkg/kubelet/apis/config/helpers_test.go

    		paths.Insert(sets.List(allPrimitiveFieldPaths(t, skipRecurseList, tp.Elem(), path.Key("*")))...)
    	case reflect.Interface:
    		t.Fatalf("unexpected interface{} field %s", path.String())
    	default:
    		// if we hit a primitive type, we're at a leaf
    		paths.Insert(path.String())
    	}
    	return paths
    }
    
    //lint:file-ignore U1000 Ignore dummy types, used by tests.
    
    // dummy helper types
    type foo struct {
    	foo int
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top