- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 162 for stringVar (0.16 sec)
-
pkg/controller/storageversiongc/gc_controller_test.go
Namespace: metav1.NamespaceSystem, Labels: map[string]string{ "apiserver.kubernetes.io/identity": "kube-apiserver", }, }, Spec: coordinationv1.LeaseSpec{ HolderIdentity: utilpointer.StringPtr(holderIdentity), }, } } // Test_StorageVersionUpdatedWithAllEncodingVersionsEqualOnLeaseDeletion validates that // status.serverStorageVersions is updated when a kube-apiserver Lease is deleted.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 07 12:19:43 UTC 2023 - 12.1K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/schemas_test.go
InputSchema: arraySchema("string", "", nil), // expected JSON is ["","",...] so our length should be (maxRequestSizeBytes - 2) / 3 ExpectedMaxElements: 1048575, }, { Name: "stringMap", InputSchema: &schema.Structural{ Generic: schema.Generic{ Type: "object", }, AdditionalProperties: &schema.StructuralOrBool{Structural: &schema.Structural{ Generic: schema.Generic{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 14K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/openapi/schemas_test.go
InputSchema: arraySchema("string", "", nil), // expected JSON is ["","",...] so our length should be (maxRequestSizeBytes - 2) / 3 ExpectedMaxElements: 1048575, }, { Name: "stringMap", InputSchema: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"object"}, AdditionalProperties: &spec.SchemaOrBool{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Dec 14 17:18:27 UTC 2022 - 13K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/typecheck.go
return false } else if ir.IsConst(l, constant.String) && constant.Compare(x, token.GTR, constant.MakeInt64(int64(len(ir.StringVal(l))))) { base.Errorf("invalid slice index %v (out of bounds for %d-byte string)", r, len(ir.StringVal(l))) return false } else if ir.ConstOverflow(x, types.Types[types.TINT]) { base.Errorf("invalid slice index %v (index too large)", r) return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 19:08:34 UTC 2024 - 30.5K bytes - Viewed (0) -
tools/bug-report/pkg/cluster/cluster.go
for _, c := range p.Spec.Containers { if c.Name == common.ProxyContainerName || c.Name == common.DiscoveryContainerName { return imageToVersion(c.Image) } } return "" } // String implements the Stringer interface. func (r *Resources) String() string { return resourcesStringImpl(r.Root, "") } func resourcesStringImpl(node any, prefix string) string { out := "" if node == nil { return "" }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Dec 14 02:11:31 UTC 2023 - 10.9K bytes - Viewed (1) -
src/runtime/error.go
continue } i++ switch fmt[i] { case 'x': b = appendIntStr(b, e.x, e.signed) case 'y': b = appendIntStr(b, int64(e.y), true) } } return string(b) } type stringer interface { String() string } // printpanicval prints an argument passed to panic. // If panic is called with a value that has a String or Error method,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 19:10:41 UTC 2024 - 9.9K bytes - Viewed (0) -
src/encoding/gob/codec_test.go
} } } type LargeSliceByte struct { S []byte } type LargeSliceInt8 struct { S []int8 } type StringPair struct { A, B string } type LargeSliceStruct struct { S []StringPair } type LargeSliceString struct { S []string } func testEncodeDecode(t *testing.T, in, out any) { t.Helper() var b bytes.Buffer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Aug 19 23:03:14 UTC 2023 - 36.9K bytes - Viewed (0) -
src/cmd/compile/internal/staticinit/sched.go
assign(base.Pos, a, 0, r.X) return true } //dump("not static ptrlit", r); case ir.OSTR2BYTES: r := r.(*ir.ConvExpr) if l.Class == ir.PEXTERN && r.X.Op() == ir.OLITERAL { sval := ir.StringVal(r.X) staticdata.InitSliceBytes(l, loff, sval) return true } case ir.OSLICELIT: r := r.(*ir.CompLitExpr) s.initplan(r) // Init slice. ta := types.NewArray(r.Type().Elem(), r.Len)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 17:16:14 UTC 2024 - 30.7K bytes - Viewed (0) -
src/cmd/compile/internal/staticdata/data.go
s.WriteFloat32(base.Ctxt, noff+4, float32(im)) case types.TCOMPLEX128: s.WriteFloat64(base.Ctxt, noff, re) s.WriteFloat64(base.Ctxt, noff+8, im) } case constant.String: i := constant.StringVal(u) symdata := StringSym(n.Pos(), i) s.WriteAddr(base.Ctxt, noff, types.PtrSize, symdata, 0) s.WriteInt(base.Ctxt, noff+int64(types.PtrSize), types.PtrSize, int64(len(i))) default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:08:50 UTC 2023 - 10.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc
// restore the same output tensor names in python. int32_t output_count = 0; // Map from node name to the list of the OutputInfos of its outputs that are // used as the model outputs. llvm::StringMap<llvm::SmallVector<OutputInfo>> node_to_output_map; for (auto [output_name, call_op_return] : llvm::zip(output_names, call_op_returns)) { std::vector<std::string> name_and_index =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16.5K bytes - Viewed (0)