- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 62 for SLICE (0.22 sec)
-
src/crypto/tls/common.go
// testingOnlyCurveID is the selected CurveID, or zero if an RSA exchanges // is performed. testingOnlyCurveID CurveID } // ExportKeyingMaterial returns length bytes of exported key material in a new // slice as defined in RFC 5705. If context is nil, it is not used as part of // the seed. If the connection was set to allow renegotiation via // Config.Renegotiation, or if the connections supports neither TLS 1.3 nor
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 59.1K bytes - Viewed (0) -
cmd/erasure-server-pool.go
} var wg sync.WaitGroup for i, pool := range z.serverPools { wg.Add(1) go func(i int, pool *erasureSets, opts ObjectOptions) { defer wg.Done() // remember the pool index, we may sort the slice original index might be lost. pinfo := PoolObjInfo{ Index: i, } // do not remove this check as it can lead to inconsistencies // for all callers of bucket replication. if !opts.MetadataChg {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 30 11:58:12 UTC 2024 - 82.5K bytes - Viewed (0) -
src/runtime/mheap.go
lock mutex pages pageAlloc // page allocation data structure sweepgen uint32 // sweep generation, see comment in mspan; written during STW // allspans is a slice of all mspans ever created. Each mspan // appears exactly once. // // The memory for allspans is manually managed and can be // reallocated and move as the heap grows. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 78K bytes - Viewed (0) -
staging/src/k8s.io/api/admissionregistration/v1/types.go
// If '*' is present, the length of the slice must be one. // Required. // +listType=atomic APIGroups []string `json:"apiGroups,omitempty" protobuf:"bytes,1,rep,name=apiGroups"` // APIVersions is the API versions the resources belong to. '*' is all versions. // If '*' is present, the length of the slice must be one. // Required. // +listType=atomic
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 61.6K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route.go
if !canBeConvertedToPresentMatch(stringMatch) { matcher.TreatMissingHeaderAsEmpty = true } out.Headers = append(out.Headers, matcher) } } // guarantee ordering of headers sort.Slice(out.Headers, func(i, j int) bool { return out.Headers[i].Name < out.Headers[j].Name }) if in.Uri != nil { switch m := in.Uri.MatchType.(type) { case *networking.StringMatch_Exact:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 56.1K bytes - Viewed (0) -
src/os/os_test.go
t.Error("present twice:", m) } found = true } if !found { t.Error("could not find", m) } } if s == nil { t.Error("Readdirnames returned nil instead of empty slice") } } } func testReaddir(dir string, contents []string) func(*testing.T) { return func(t *testing.T) { t.Parallel() file, err := Open(dir) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 83.1K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/controller_test.go
}, Subsets: []corev1.EndpointSubset{{ Addresses: eas, Ports: eps, }}, } clienttest.NewWriter[*corev1.Endpoints](t, controller.client).CreateOrUpdate(endpoint) // Create endpoint slice as well esps := make([]discovery.EndpointPort, 0) for _, name := range portNames { n := name // Create a stable reference to take the pointer from esps = append(esps, discovery.EndpointPort{Name: &n, Port: &portNum})
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 85K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 82.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go
dec.SetScale(inf.Scale(3 - c.Intn(15))) dec.SetUnscaled(c.Int63n(1000)) }, ) func TestQuantityDeepCopy(t *testing.T) { // Test when d is nil slice := []string{"0", "100m", "50m", "10000T"} for _, testCase := range slice { q := MustParse(testCase) if result := q.DeepCopy(); result != q { t.Errorf("Expected: %v, Actual: %v", q, result) } } table := []*inf.Dec{ dec(0, 0).Dec,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 49.4K bytes - Viewed (0) -
cmd/bucket-handlers.go
return } for _, dnsRecords := range dnsBuckets { bucketsInfo = append(bucketsInfo, BucketInfo{ Name: dnsRecords[0].Key, Created: dnsRecords[0].CreationDate, }) } sort.Slice(bucketsInfo, func(i, j int) bool { return bucketsInfo[i].Name < bucketsInfo[j].Name }) } else { // Invoke the list buckets. var err error bucketsInfo, err = listBuckets(ctx, BucketOptions{})
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 14 13:28:35 UTC 2024 - 61.2K bytes - Viewed (0)