- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,014 for oldR (0.15 sec)
-
pkg/registry/resource/resourceclaim/strategy.go
func (resourceclaimStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object) { newClaim := obj.(*resource.ResourceClaim) oldClaim := old.(*resource.ResourceClaim) newClaim.Status = oldClaim.Status } func (resourceclaimStrategy) ValidateUpdate(ctx context.Context, obj, old runtime.Object) field.ErrorList { newClaim := obj.(*resource.ResourceClaim) oldClaim := old.(*resource.ResourceClaim)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 20:39:24 UTC 2024 - 5.3K bytes - Viewed (0) -
src/internal/trace/testtrace/validation.go
} state, ok := v.gs[id] if ok { if old != state.state { e.Errorf("bad old state for goroutine %d: got %s, want %s", id, old, state.state) } state.state = new } else { if old != trace.GoUndetermined && old != trace.GoNotExist { e.Errorf("bad old state for unregistered goroutine %d: %s", id, old) } state = &goState{state: new} v.gs[id] = state }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 10.9K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_andor_test.go
"testing" ) func TestAnd32(t *testing.T) { // Basic sanity check. x := uint32(0xffffffff) for i := uint32(0); i < 32; i++ { old := x v := atomic.And32(&x, ^(1 << i)) if r := uint32(0xffffffff) << (i + 1); x != r || v != old { t.Fatalf("clearing bit %#x: want %#x, got new %#x and old %#v", uint32(1<<i), r, x, v) } } // Set every bit in array to 1. a := make([]uint32, 1<<12) for i := range a {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Apr 27 20:49:32 UTC 2024 - 5.2K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_loong64.s
// license that can be found in the LICENSE file. #include "textflag.h" // bool cas(uint32 *ptr, uint32 old, uint32 new) // Atomically: // if(*ptr == old){ // *ptr = new; // return 1; // } else // return 0; TEXT ·Cas(SB), NOSPLIT, $0-17 MOVV ptr+0(FP), R4 MOVW old+8(FP), R5 MOVW new+12(FP), R6 DBAR cas_again: MOVV R6, R7 LL (R4), R8 BNE R5, R8, cas_fail SC R7, (R4)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 6.3K bytes - Viewed (0) -
pkg/kube/krt/singleton.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 4.2K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/util.go
} } return out } // returns a set of objects that are in `old` but not in `curr` // For example: // old = {a1, a2, a3} // curr = {a1, a2, a4, a5} // difference(old, curr) = {a3} func difference(old, curr map[types.NamespacedName]*config.Config) []types.NamespacedName { var out []types.NamespacedName for key := range old { if _, ok := curr[key]; !ok { out = append(out, key) } } return out
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 02:03:58 UTC 2024 - 1.9K bytes - Viewed (0) -
src/runtime/os_openbsd_syscall2.go
//go:nosplit //go:nowritebarrierrec func sigprocmask(how int32, new, old *sigset) { n := sigset(0) if new != nil { n = *new } r := obsdsigprocmask(how, n) if old != nil { *old = r } } func pipe2(flags int32) (r, w int32, errno int32) //go:noescape func setitimer(mode int32, new, old *itimerval) //go:noescape
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 2.5K bytes - Viewed (0) -
pkg/registry/admissionregistration/validatingadmissionpolicy/strategy.go
errs := validation.ValidateValidatingAdmissionPolicyUpdate(obj.(*admissionregistration.ValidatingAdmissionPolicy), old.(*admissionregistration.ValidatingAdmissionPolicy)) if len(errs) == 0 { // if the object is well-formed, also authorize the paramKind if err := v.authorizeUpdate(ctx, obj, old); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 7.8K bytes - Viewed (0) -
pkg/apis/apps/validation/validation_test.go
} type testCase struct { name string old apps.StatefulSet update apps.StatefulSet errs field.ErrorList } successCases := []testCase{{ name: "update replica count", old: mkStatefulSet(&validPodTemplate), update: mkStatefulSet(&validPodTemplate, tweakReplicas(3)), }, { name: "update containers 1", old: mkStatefulSet(&validPodTemplate),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 111.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/ratcheting.go
if correlation == nil { correlation = common.NewCorrelatedObject(new, old, &celopenapi.Schema{Schema: r.schema}) } return newRatchetingValueValidator( correlation, r.schemaArgs, ).Validate(new) } // ratchetingValueValidator represents an invocation of SchemaValidator.ValidateUpdate // for specific arguments for `old` and `new` // // It follows the openapi SchemaValidator down its traversal of the new value
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 26 21:17:17 UTC 2024 - 7.7K bytes - Viewed (0)