- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 283 for makeID (0.51 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/zz_generated.conversion.go
in, out := &in.AllOf, &out.AllOf *out = make([]apiextensions.JSONSchemaProps, len(*in)) for i := range *in { if err := Convert_v1beta1_JSONSchemaProps_To_apiextensions_JSONSchemaProps(&(*in)[i], &(*out)[i], s); err != nil { return err } } } else { out.AllOf = nil } if in.OneOf != nil { in, out := &in.OneOf, &out.OneOf *out = make([]apiextensions.JSONSchemaProps, len(*in))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 71.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/regalloc.go
// from backward edges and compute how far they go. s.blockOrder = make([]int32, f.NumBlocks()) for i, b := range s.visitOrder { s.blockOrder[b.ID] = int32(i) } s.regs = make([]regState, s.numRegs) nv := f.NumValues() if cap(s.f.Cache.regallocValues) >= nv { s.f.Cache.regallocValues = s.f.Cache.regallocValues[:nv] } else { s.f.Cache.regallocValues = make([]valState, nv) } s.values = s.f.Cache.regallocValues
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 17:49:56 UTC 2023 - 87.2K bytes - Viewed (0) -
pkg/apis/admissionregistration/v1beta1/zz_generated.conversion.go
out.ObjectSelector = (*v1.LabelSelector)(unsafe.Pointer(in.ObjectSelector)) if in.ResourceRules != nil { in, out := &in.ResourceRules, &out.ResourceRules *out = make([]admissionregistration.NamedRuleWithOperations, len(*in)) for i := range *in { if err := Convert_v1beta1_NamedRuleWithOperations_To_admissionregistration_NamedRuleWithOperations(&(*in)[i], &(*out)[i], s); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 21 20:56:23 UTC 2023 - 73K bytes - Viewed (0) -
src/bytes/bytes_test.go
if allocs > 0 { t.Errorf("Equal allocated %v times", allocs) } } func TestEqualExhaustive(t *testing.T) { var size = 128 if testing.Short() { size = 32 } a := make([]byte, size) b := make([]byte, size) b_init := make([]byte, size) // randomish but deterministic data for i := 0; i < size; i++ { a[i] = byte(17 * i) b_init[i] = byte(23*i + 100) } for len := 0; len <= size; len++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 12:58:37 UTC 2024 - 56.5K bytes - Viewed (0) -
plugin/pkg/admission/resourcequota/admission_test.go
func validPod(name string, numContainers int, resources api.ResourceRequirements) *api.Pod { pod := &api.Pod{ ObjectMeta: metav1.ObjectMeta{Name: name, Namespace: "test"}, Spec: api.PodSpec{}, } pod.Spec.Containers = make([]api.Container, 0, numContainers) for i := 0; i < numContainers; i++ { pod.Spec.Containers = append(pod.Spec.Containers, api.Container{ Image: "foo:V" + strconv.Itoa(i), Resources: resources, }) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 84.1K bytes - Viewed (0) -
src/crypto/tls/handshake_client_test.go
if n, err := server.Read(request[:]); err != nil || n != 1 { panic(err) } server.Write(request[:]) server.Close() }() startWrite := make(chan struct{}) startRead := make(chan struct{}) readDone := make(chan struct{}, 1) client := Client(c, testConfig) go func() { <-startWrite var request [1]byte client.Write(request[:]) }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 88.7K bytes - Viewed (0) -
cmd/storage-datatypes_gen_test.go
v := BaseOptions{} b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.MarshalMsg(nil) } } func BenchmarkAppendMsgBaseOptions(b *testing.B) { v := BaseOptions{} bts := make([]byte, 0, v.Msgsize()) bts, _ = v.MarshalMsg(bts[0:0]) b.SetBytes(int64(len(bts))) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { bts, _ = v.MarshalMsg(bts[0:0]) } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 62.6K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route.go
// traffic to hosts outside of the service registry (e.g. google.com) on port 80 nonServiceRegistryHosts := make([]string, 0) // Stores services for this VirtualService that are in the registry (based on hostname) matchingRegistryServices := make([]*model.Service, 0) wchosts := make([]host.Name, 0) // As a performance optimization, process non wildcard hosts first, so that they can be
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 56.1K bytes - Viewed (0) -
pkg/scheduler/internal/cache/cache_test.go
make(map[string]*framework.ImageStateSummary), ), newNodeInfo( &framework.Resource{ MilliCPU: 100, Memory: 500, }, &framework.Resource{ MilliCPU: 100, Memory: 500, }, []*v1.Pod{testPods[0]}, newHostPortInfoBuilder().add("TCP", "127.0.0.1", 80).build(), make(map[string]*framework.ImageStateSummary), )}, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 17 01:38:03 UTC 2023 - 63.8K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest.h
internal::scoped_ptr< ::std::string> message_; GTEST_DISALLOW_ASSIGN_(AssertionResult); }; // Makes a successful assertion result. GTEST_API_ AssertionResult AssertionSuccess(); // Makes a failed assertion result. GTEST_API_ AssertionResult AssertionFailure(); // Makes a failed assertion result with the given failure message. // Deprecated; use AssertionFailure() << msg.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 86.4K bytes - Viewed (0)