Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 85 for index (0.11 sec)

  1. cmd/object-api-listobjects_test.go

    				// The length of the expected ListObjectsResult.Objects
    				// should match in both expected result from test cases
    				// and in the output. On failure calling t.Fatalf,
    				// otherwise it may lead to index out of range error in
    				// assertion following this.
    				if !testCase.versioned {
    					if len(testCase.resultL.Objects) != len(resultL.Objects) {
    						t.Logf("want: %v", objInfoNames(testCase.resultL.Objects))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/debug.go

    	splitOffset int64
    }
    
    // lookup looks up a LocalSlot in the slot canonicalizer "sc", returning
    // a canonical index for the slot, and adding it to the table if need
    // be. Return value is the canonical slot index, and a boolean indicating
    // whether the slot was found in the table already (TRUE => found).
    func (sc *slotCanonicalizer) lookup(ls LocalSlot) (SlKeyIdx, bool) {
    	split := noSlot
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/route/route.go

    	serviceRegistry map[host.Name]*model.Service,
    	mostSpecificWildcardVsIndex map[host.Name]types.NamespacedName,
    ) ([]string, []*model.Service) {
    	// TODO: A further optimization would be to completely rely on the index and not do the loop below
    	// However, that requires assuming that serviceRegistry never got filtered after the
    	// egressListener was created.
    	rule := virtualService.Spec.(*networking.VirtualService)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  4. src/cmd/go/go_test.go

    	}
    	for _, e := range tg.env {
    		if strings.HasPrefix(e, "GOROOT=") || strings.HasPrefix(e, "GOPATH=") || strings.HasPrefix(e, "GOBIN=") {
    			val := e[strings.Index(e, "=")+1:]
    			if strings.HasPrefix(val, "testdata") || strings.HasPrefix(val, "./testdata") {
    				tg.t.Fatalf("internal testsuite error: call to parallel with testdata in environment (%s)", e)
    			}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  5. pkg/apis/core/v1/defaults_test.go

    				// anyway.
    				marshaled, _ := json.Marshal(defaultedV.Interface())
    				defaults[visit.path] = string(marshaled)
    				toVisit = append(toVisit, testPath{path: visit.path + "[0]", value: visit.value.Index(0)})
    			} else if visit.value.Type().Elem().Kind() == reflect.Struct {
    				if strings.HasPrefix(visit.path, ".ObjectMeta.ManagedFields[") {
    					break
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/serviceregistry_test.go

    func expectServiceEndpoints(t *testing.T, fx *xdsfake.Updater, svc *model.Service, port int, expected []EndpointResponse) {
    	t.Helper()
    	expectServiceEndpointsFromIndex(t, fx.Delegate.(*model.EndpointIndexUpdater).Index, svc, port, expected)
    }
    
    func setPodReady(pod *v1.Pod) {
    	pod.Status.Conditions = []v1.PodCondition{
    		{
    			Type:               v1.PodReady,
    			Status:             v1.ConditionTrue,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    func RunTestListResourceVersionMatch(ctx context.Context, t *testing.T, store InterfaceWithPrefixTransformer) {
    	nextPod := func(index uint32) (string, *example.Pod) {
    		obj := &example.Pod{
    			ObjectMeta: metav1.ObjectMeta{
    				Name: fmt.Sprintf("pod-%d", index),
    				Labels: map[string]string{
    					"even": strconv.FormatBool(index%2 == 0),
    				},
    			},
    		}
    		return computePodKey(obj), obj
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  8. pkg/proxy/nftables/proxier.go

    // netfilter hooks (e.g., "postrouting", "input", etc.), as opposed to "regular" chains,
    // which are only run when a rule jumps to them. See
    // https://wiki.nftables.org/wiki-nftables/index.php/Configuring_chains.
    //
    // These are set up from setupNFTables() and then not directly referenced by
    // syncProxyRules().
    //
    // All of our base chains have names that are just "${type}-${hook}". e.g., "nat-prerouting".
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  9. src/runtime/map.go

    // copied from the old bucket array to the new bucket array.
    //
    // Map iterators walk through the array of buckets and
    // return the keys in walk order (bucket #, then overflow
    // chain order, then bucket index).  To maintain iteration
    // semantics, we never move keys within their bucket (if
    // we did, keys might be returned 0 or 2 times).  When
    // growing the table, iterators remain iterating through the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  10. cmd/xl-storage_test.go

    	const legacyJSON = `{"version":"1.0.1","format":"xl","stat":{"size":2016,"modTime":"2021-10-11T23:40:34.914361617Z"},"erasure":{"algorithm":"klauspost/reedsolomon/vandermonde","data":2,"parity":2,"blockSize":10485760,"index":2,"distribution":[2,3,4,1],"checksum":[{"name":"part.1","algorithm":"highwayhash256S"}]},"minio":{"release":"RELEASE.2019-12-30T05-45-39Z"},"meta":{"X-Minio-Internal-Server-Side-Encryption-Iv":"kInsJB/0yxyz/40ZI+lmQYJfZacDYqZsGh2wEiv+N50=","X-Min...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
Back to top