- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 60 for value_ (0.1 sec)
-
pkg/registry/core/pod/storage/storage_test.go
_, err = bindingStorage.Create(ctx, "foo", &api.Binding{ ObjectMeta: metav1.ObjectMeta{ Namespace: metav1.NamespaceDefault, Name: "foo", Annotations: map[string]string{"label1": "value1"}, }, Target: api.ObjectReference{Name: "machine"}, }, rest.ValidateAllObjectFunc, &metav1.CreateOptions{}) if err != nil { t.Fatalf("unexpected error: %v", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 07:18:44 UTC 2024 - 38.8K bytes - Viewed (0) -
src/encoding/gob/encoder_test.go
string("hello"), } for _, value := range values { b := new(bytes.Buffer) enc := NewEncoder(b) err := enc.Encode(value) if err != nil { t.Error("encoder fail:", err) } dec := NewDecoder(b) result := reflect.New(reflect.TypeOf(value)) err = dec.Decode(result.Interface()) if err != nil { t.Fatalf("error decoding %T: %v:", reflect.TypeOf(value), err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 29.7K bytes - Viewed (0) -
src/net/http/clientserver_test.go
} // How handlers set Trailers: declare it ahead of time // with the Trailer header, and then mutate the // Header() of those values later, after the response // has been written (we wrote to w above). w.Header().Set("Server-Trailer-A", "valuea") w.Header().Set("Server-Trailer-C", "valuec") // skipping B w.Header().Set("Server-Trailer-NotDeclared", "should be omitted") })) res, err := cst.c.Get(cst.ts.URL)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 46.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheValueSourceIntegrationTest.groovy
return parameters.value.orNull } } def vsResult = providers.of(IdentitySource) { parameters.value = providers.systemProperty("property") } System.setProperty("property", "someValue") println("configuration value = \${vsResult.getOrElse("NO VALUE")}") tasks.register("echo") { doLast {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 20.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/decl.go
lhs0[i] = NewVar(name.Pos(), pkg, name.Value, nil) } // initialize all variables values := syntax.UnpackListExpr(s.Values) for i, obj := range lhs0 { var lhs []*Var var init syntax.Expr switch len(values) { case len(s.NameList): // lhs and rhs match init = values[i] case 1: // rhs is expected to be a multi-valued expression lhs = lhs0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 29.6K bytes - Viewed (0) -
src/runtime/mbarrier.go
reflect_typedmemmove(typ, dst, src) } // reflectcallmove is invoked by reflectcall to copy the return values // out of the stack and into the heap, invoking the necessary write // barriers. dst, src, and size describe the return value area to // copy. typ describes the entire frame (not just the return values). // typ may be nil, which indicates write barriers are not needed. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 15.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api.go
// Builtins are not considered values. Constant values have a non- // nil Value. func (tv TypeAndValue) IsValue() bool { switch tv.mode { case constant_, variable, mapindex, value, nilvalue, commaok, commaerr: return true } return false } // IsNil reports whether the corresponding expression denotes the // predeclared value nil. Depending on context, it may have been
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 13:48:53 UTC 2024 - 17.4K bytes - Viewed (0) -
src/cmd/compile/internal/inline/inlheur/scoring.go
// appears on panic path) // // 2) adjustments that take into account specific interesting values // passed at a call site (ex: passing a constant that could result in // cprop/deadcode in the caller) // // 3) adjustments that take into account values returned from the call // at a callsite (ex: call always returns the same inlinable function, // and return value flows unmodified into an indirect call) //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 20:42:52 UTC 2024 - 24.2K bytes - Viewed (0) -
pkg/scheduler/framework/interface.go
var PodsToActivateKey StateKey = "kubernetes.io/pods-to-activate" // PodsToActivate stores pods to be activated. type PodsToActivate struct { sync.Mutex // Map is keyed with namespaced pod name, and valued with the pod. Map map[string]*v1.Pod } // Clone just returns the same state. func (s *PodsToActivate) Clone() StateData { return s } // NewPodsToActivate instantiates a PodsToActivate object.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 35.4K bytes - Viewed (0) -
src/net/lookup_test.go
// Insert a value into it. key, value := "key-1", 2 ctx = context.WithValue(ctx, key, value) // Now use the "values preserving context" like // we would for LookupIPAddr. See Issue 28600. ctx = withUnexpiredValuesPreserved(ctx) // Lookup before expiry. if g, w := ctx.Value(key), value; g != w { t.Errorf("Lookup before expiry: Got %v Want %v", g, w)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 41.4K bytes - Viewed (0)