Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 62 for itor (0.18 sec)

  1. cmd/object-api-listobjects_test.go

    	if err != nil {
    		b.Fatal(err)
    	}
    
    	// Insert objects to be listed and benchmarked later.
    	for i := 0; i < 20000; i++ {
    		key := "obj" + strconv.Itoa(i)
    		_, err = obj.PutObject(context.Background(), bucket, key, mustGetPutObjReader(b, bytes.NewBufferString(key), int64(len(key)), "", ""), ObjectOptions{})
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    
    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. cmd/test-utils_test.go

    	r := randN
    	// Initial seed required, generate one.
    	if r == 0 {
    		r = reseed()
    	}
    	// constants from Numerical Recipes
    	r = r*1664525 + 1013904223
    	randN = r
    	randmu.Unlock()
    	return strconv.Itoa(int(1e9 + r%1e9))[1:]
    }
    
    // isSameType - compares two object types via reflect.TypeOf
    func isSameType(obj1, obj2 interface{}) bool {
    	return reflect.TypeOf(obj1) == reflect.TypeOf(obj2)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  3. src/cmd/internal/testdir/testdir_test.go

    		comment += " " + cmt
    		if code == "" {
    			continue
    		}
    
    		// Parse and extract any architecture check from comments,
    		// made by one architecture name and multiple checks.
    		lnum := fn + ":" + strconv.Itoa(i+1)
    		for _, ac := range rxAsmPlatform.FindAllStringSubmatch(comment, -1) {
    			archspec, allchecks := ac[1:4], ac[4]
    
    			var arch, subarch, os string
    			switch {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  4. pkg/proxy/ipvs/proxier.go

    		proxier.filterRules.Write(
    			"-A", string(kubeIPVSOutFilterChain),
    			"-s", entry.IP,
    			"-m", "ipvs", "--vaddr", entry.IP, "--vproto", entry.Protocol, "--vport", strconv.Itoa(entry.Port),
    			"-j", "DROP",
    		)
    	}
    
    	// Accept all traffic with destination of ipvs virtual service, in case other iptables rules
    	// block the traffic, that may result in ipvs rules invalid.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  5. src/go/build/build.go

    	// case) should say "go:build !go1.x".
    	// The last element in ReleaseTags is the current release.
    	for i := 1; i <= goversion.Version; i++ {
    		c.ReleaseTags = append(c.ReleaseTags, "go1."+strconv.Itoa(i))
    	}
    
    	defaultReleaseTags = append([]string{}, c.ReleaseTags...) // our own private copy
    
    	env := os.Getenv("CGO_ENABLED")
    	if env == "" {
    		env = defaultCGO_ENABLED
    	}
    	switch env {
    	case "1":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    	got := make([]string, 0, len(endpoints))
    	for _, instance := range endpoints {
    		got = append(got, net.JoinHostPort(instance.Address, strconv.Itoa(int(instance.EndpointPort))))
    	}
    	sort.Strings(got)
    
    	assert.Equal(t, want, got)
    }
    
    func TestExternalNameServiceInstances(t *testing.T) {
    	t.Run("alias", func(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  7. pkg/controller/endpoint/endpoints_controller_test.go

    				}
    				oldPod := old.(*v1.Pod)
    				newPod := oldPod.DeepCopy()
    				newPod.Status.PodIP = update.podIP
    				newPod.Status.PodIPs[0].IP = update.podIP
    				newPod.ResourceVersion = strconv.Itoa(resourceVersion)
    				resourceVersion++
    
    				endpoints.podStore.Update(newPod)
    				endpoints.updatePod(oldPod, newPod)
    			}
    
    			time.Sleep(tc.finalDelay)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

        // We're expecting the original model to have a single CollectiveGatherV2Op
        // that gets split into 3 copies in the start_step_0, start_step_1 and
        // new_while_body functions. We use global iter id to set the instance key.
        // Therefore, we add an offset to the output of the global_iter_id_op to
        // make sure the instance keys are unique among them we replace the original
        // instance key as:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  9. src/crypto/tls/handshake_client_test.go

    	// when -update is given and thus when there's a human watching the
    	// test, this isn't too bad.
    	const serverPort = 24323
    	command = append(command, "-accept", strconv.Itoa(serverPort))
    
    	if len(test.extensions) > 0 {
    		var serverInfo bytes.Buffer
    		for _, ext := range test.extensions {
    			pem.Encode(&serverInfo, &pem.Block{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    func (s Signal) Signal() {}
    
    func (s Signal) String() string {
    	if 0 <= s && int(s) < len(signals) {
    		str := signals[s]
    		if str != "" {
    			return str
    		}
    	}
    	return "signal " + itoa(int(s))
    }
    
    func LoadCreateSymbolicLink() error {
    	return procCreateSymbolicLinkW.Find()
    }
    
    // Readlink returns the destination of the named symbolic link.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
Back to top