Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 92 for index (0.04 sec)

  1. cmd/bucket-handlers.go

    	bucketsToBeUpdatedSlice := bucketsToBeUpdated.ToSlice()
    	g := errgroup.WithNErrs(len(bucketsToBeUpdatedSlice)).WithConcurrency(50)
    
    	for index := range bucketsToBeUpdatedSlice {
    		index := index
    		g.Go(func() error {
    			return globalDNSConfig.Put(bucketsToBeUpdatedSlice[index])
    		}, index)
    	}
    
    	ctx := GlobalContext
    	for _, err := range g.Wait() {
    		if err != nil {
    			dnsLogIf(ctx, err)
    			return
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/liveness/plive.go

    				index--
    			}
    
    			// Update liveness information.
    			pos, e := lv.valueEffects(v)
    			if e&varkill != 0 {
    				liveout.Unset(pos)
    			}
    			if e&uevar != 0 {
    				liveout.Set(pos)
    			}
    		}
    
    		if b == lv.f.Entry {
    			if index != 0 {
    				base.Fatalf("bad index for entry point: %v", index)
    			}
    
    			// Check to make sure only input variables are live.
    			for i, n := range lv.vars {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  3. cmd/metacache-entries.go

    func (e metaCacheEntry) isInDir(dir, separator string) bool {
    	if len(dir) == 0 {
    		// Root
    		idx := strings.Index(e.name, separator)
    		return idx == -1 || idx == len(e.name)-len(separator)
    	}
    	ext := strings.TrimPrefix(e.name, dir)
    	if len(ext) != len(e.name) {
    		idx := strings.Index(ext, separator)
    		// If separator is not found or is last entry, ok.
    		return idx == -1 || idx == len(ext)-len(separator)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 04:34:26 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top