Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for itor (0.25 sec)

  1. cmd/erasure-object.go

    		}
    
    		if parityDrives >= len(storageDisks)/2 {
    			parityDrives = len(storageDisks) / 2
    		}
    
    		if parityOrig != parityDrives {
    			userDefined[minIOErasureUpgraded] = strconv.Itoa(parityOrig) + "->" + strconv.Itoa(parityDrives)
    		}
    	}
    	dataDrives := len(storageDisks) - parityDrives
    
    	// we now know the number of blocks this object needs for data and parity.
    	// writeQuorum is dataBlocks + 1
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  2. go.sum

    github.com/lestrrat-go/httpcc v1.0.1 h1:ydWCStUeJLkpYyjLDHihupbn2tYmZ7m22BGkcvZZrIE=
    github.com/lestrrat-go/httpcc v1.0.1/go.mod h1:qiltp3Mt56+55GPVCbTdM9MlqhvzyuL6W/NMDA8vA5E=
    github.com/lestrrat-go/iter v1.0.2 h1:gMXo1q4c2pHmC3dn8LzRhJfP1ceCbgSiT9lUydIzltI=
    github.com/lestrrat-go/iter v1.0.2/go.mod h1:Momfcq3AnRlRjI5b5O8/G5/BvpzrhoFTZcn06fEOPt4=
    github.com/lestrrat-go/jwx v1.2.29 h1:QT0utmUJ4/12rmsVQrJ3u55bycPkKqGYuGT4tyRhxSQ=
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:53:53 UTC 2024
    - 85.8K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/lifecycle_test.go

    	// test that the lowest max noncurrent versions limit is returned among
    	// matching rules
    	var rules []Rule
    	for i := 1; i <= 10; i++ {
    		rules = append(rules, Rule{
    			ID:     strconv.Itoa(i),
    			Status: "Enabled",
    			NoncurrentVersionExpiration: NoncurrentVersionExpiration{
    				NewerNoncurrentVersions: i,
    				NoncurrentDays:          ExpirationDays(i),
    			},
    		})
    	}
    	lc := Lifecycle{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  4. src/cmd/link/internal/loader/loader.go

    // If a name is in this map, it is allowed only in listed packages,
    // even if it has a linknamed definition.
    var blockedLinknames = map[string][]string{
    	// coroutines
    	"runtime.coroswitch": {"iter"},
    	"runtime.newcoro":    {"iter"},
    	// weak references
    	"internal/weak.runtime_registerWeakPointer": {"internal/weak"},
    	"internal/weak.runtime_makeStrongFromWeak":  {"internal/weak"},
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  5. pkg/controller/endpointslice/endpointslice_controller_test.go

    					t.Fatalf("Pod %q doesn't exist", update.podName)
    				}
    				oldPod := old.(*v1.Pod)
    				newPod := oldPod.DeepCopy()
    				newPod.Status.PodIPs[0].IP = update.podIP
    				newPod.ResourceVersion = strconv.Itoa(resourceVersion)
    				resourceVersion++
    
    				esController.podStore.Update(newPod)
    				esController.updatePod(oldPod, newPod)
    			}
    
    			time.Sleep(tc.finalDelay)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  6. src/cmd/cgo/gcc.go

    		if dt.ByteSize < 0 && tag == "" { // opaque unnamed struct - should not be possible
    			break
    		}
    		if tag == "" {
    			tag = anonymousStructTag[dt]
    			if tag == "" {
    				tag = "__" + strconv.Itoa(tagGen)
    				tagGen++
    				anonymousStructTag[dt] = tag
    			}
    		} else if t.C.Empty() {
    			t.C.Set(dt.Kind + " " + tag)
    		}
    		name := c.Ident("_Ctype_" + dt.Kind + "_" + tag)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top