Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 113 for index (0.07 sec)

  1. cmd/api-response.go

    	for index, commonPrefix := range multipartsInfo.CommonPrefixes {
    		listMultipartUploadsResponse.CommonPrefixes[index] = CommonPrefix{
    			Prefix: s3EncodeName(commonPrefix, encodingType),
    		}
    	}
    	listMultipartUploadsResponse.Uploads = make([]Upload, len(multipartsInfo.Uploads))
    	for index, upload := range multipartsInfo.Uploads {
    		newUpload := Upload{}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  2. pkg/test/framework/components/environment/kube/settings.go

    	istioKube "istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/test/framework/components/cluster"
    	"istio.io/istio/pkg/test/framework/config"
    	"istio.io/istio/pkg/test/scopes"
    )
    
    // clusterIndex is the index of a cluster within the KubeConfig or topology file entries
    type clusterIndex int
    
    // clusterTopology defines the associations between multiple clusters in a topology.
    type clusterTopology = map[clusterIndex]clusterIndex
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go

    		}
    	}
    	return enclosingStmt.(ast.Stmt)
    }
    
    // baseIfStmt walks up the if/else-if chain until we get to
    // the top of the current if chain.
    func baseIfStmt(path []ast.Node, index int) ast.Stmt {
    	stmt := path[index]
    	for i := index + 1; i < len(path); i++ {
    		if node, ok := path[i].(*ast.IfStmt); ok && node.Else == stmt {
    			stmt = node
    			continue
    		}
    		break
    	}
    	return stmt.(ast.Stmt)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    				t.Errorf("%s: expecting rev = %d, but get %d", tt.name, tt.expectedRev, rev)
    			}
    		})
    	}
    }
    
    func BenchmarkStore_GetList(b *testing.B) {
    	generateBigPod := func(index int, total int, expect int) runtime.Object {
    		l := map[string]string{}
    		if index%(total/expect) == 0 {
    			l["foo"] = "bar"
    		}
    		terminationGracePeriodSeconds := int64(42)
    		activeDeadlineSeconds := int64(42)
    		pod := &examplev1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  5. pkg/test/framework/components/echo/match/matchers_test.go

    	// 2 clusters on 2 networks
    	cls1 = &kube.Cluster{Topology: cluster.Topology{
    		ClusterName:        "cls1",
    		Network:            "n1",
    		PrimaryClusterName: "cls1",
    		ConfigClusterName:  "cls1",
    		Index:              0,
    		AllClusters:        allClusters,
    	}}
    
    	// simple pod
    	a1 = &fakeInstance{Cluster: cls1, Namespace: namespace.Static("echo"), Service: "a"}
    	// simple pod with different svc
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. pilot/pkg/model/sidecar.go

    	return l != nil && l.Port.GetNumber() != 0 &&
    		protocol.Parse(l.Port.Protocol) != protocol.HTTP_PROXY
    }
    
    type sidecarServiceIndex struct {
    	svc   *Service
    	index int // index record the position of the svc in slice
    }
    
    // append services to the sidecar scope, and merge services with the same hostname.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 20:32:23 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  7. schema/relationship.go

    			PkgPath: ownField.StructField.PkgPath,
    			Type:    ownField.StructField.Type,
    			Tag: removeSettingFromTag(appendSettingFromTag(ownField.StructField.Tag, "primaryKey"),
    				"column", "autoincrement", "index", "unique", "uniqueindex"),
    		})
    	}
    
    	for idx, relField := range refForeignFields {
    		joinFieldName := cases.Title(language.Und, cases.NoLower).String(relation.FieldSchema.Name) + relField.Name
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/directive/directive.go

    			break
    		}
    	}
    }
    
    func (check *checker) comment(pos token.Pos, line string) {
    	if !strings.HasPrefix(line, "//go:") {
    		return
    	}
    	// testing hack: stop at // ERROR
    	if i := strings.Index(line, " // ERROR "); i >= 0 {
    		line = line[:i]
    	}
    
    	verb := line
    	if i := strings.IndexFunc(verb, unicode.IsSpace); i >= 0 {
    		verb = verb[:i]
    		if line[i] != ' ' && line[i] != '\t' && line[i] != '\n' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    		}
    	}
    	pred := storage.Everything
    	pred.AllowWatchBookmarks = true
    
    	makePod := func(index int) *examplev1.Pod {
    		return &examplev1.Pod{
    			ObjectMeta: metav1.ObjectMeta{
    				Name:            fmt.Sprintf("pod-%d", index),
    				Namespace:       "ns",
    				ResourceVersion: fmt.Sprintf("%v", 100+index),
    			},
    		}
    	}
    
    	// Create pod to initialize watch cache.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  10. cmd/xl-storage-format-utils_test.go

    		Mode:             0,
    		Metadata:         nil,
    		Parts:            nil,
    		Erasure: ErasureInfo{
    			Algorithm:    ReedSolomon.String(),
    			DataBlocks:   4,
    			ParityBlocks: 2,
    			BlockSize:    10000,
    			Index:        1,
    			Distribution: []int{1, 2, 3, 4, 5, 6, 7, 8},
    			Checksums: []ChecksumInfo{{
    				PartNumber: 1,
    				Algorithm:  HighwayHash256S,
    				Hash:       nil,
    			}},
    		},
    		MarkDeleted:      false,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 22:18:44 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top