Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 154 for oldR (0.12 sec)

  1. pkg/controller/endpoint/endpoints_controller_test.go

    				time.Sleep(update.delay)
    
    				old, exists, err := endpoints.podStore.GetByKey(fmt.Sprintf("%s/%s", ns, update.podName))
    				if err != nil {
    					t.Fatalf("Error while retrieving old value of %q: %v", update.podName, err)
    				}
    				if !exists {
    					t.Fatalf("Pod %q doesn't exist", update.podName)
    				}
    				endpoints.podStore.Delete(old)
    				endpoints.deletePod(old)
    			}
    
    			time.Sleep(tc.finalDelay)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler.go

    }
    
    // removeStorage_locked removes the cached storage with the given uid as key from the storage map. This function
    // updates r.customStorage with the cleaned-up storageMap and tears down the old storage.
    // NOTE: Caller MUST hold r.customStorageLock to write r.customStorage thread-safely.
    func (r *crdHandler) removeStorage_locked(uid types.UID) {
    	storageMap := r.customStorage.Load().(crdStorageMap)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 52.9K bytes
    - Viewed (0)
  3. src/runtime/pprof/pprof_test.go

    func blockevent(cycles int64, skip int)
    
    func TestMutexProfile(t *testing.T) {
    	// Generate mutex profile
    
    	old := runtime.SetMutexProfileFraction(1)
    	defer runtime.SetMutexProfileFraction(old)
    	if old != 0 {
    		t.Fatalf("need MutexProfileRate 0, got %d", old)
    	}
    
    	const (
    		N = 100
    		D = 100 * time.Millisecond
    	)
    	start := time.Now()
    	blockMutexN(t, N, D)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  4. pkg/controller/job/job_controller.go

    // When a pod is updated, figure out what job/s manage it and wake them up.
    // If the labels of the pod have changed we need to awaken both the old
    // and new job. old and cur must be *v1.Pod types.
    func (jm *Controller) updatePod(logger klog.Logger, old, cur interface{}) {
    	curPod := cur.(*v1.Pod)
    	oldPod := old.(*v1.Pod)
    	recordFinishedPodWithTrackingFinalizer(oldPod, curPod)
    	if curPod.ResourceVersion == oldPod.ResourceVersion {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/debug.go

    			b[i] = BlockDebug{}
    		}
    	}
    
    	// A list of slots per Value. Reuse the previous child slices.
    	if cap(state.valueNames) < f.NumValues() {
    		old := state.valueNames
    		state.valueNames = make([][]SlotID, f.NumValues())
    		copy(state.valueNames, old)
    	}
    	vn := state.valueNames[:f.NumValues()]
    	for i := range vn {
    		vn[i] = vn[i][:0]
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  6. subprojects/diagnostics/src/main/resources/org/gradle/api/tasks/diagnostics/htmldependencyreport/jquery.jstree.js

    									return rlbk;
    								},
    								__call_old : function (replace_arguments) {
    									return func.old.apply(this, (replace_arguments ? Array.prototype.slice.call(arguments, 1) : args ) );
    								}
    							}), args);
    					}
    
    					// return the result
    					return rslt;
    				};
    				$.jstree._fn[i].old = val.old;
    				$.jstree._fn[i].plugin = pname;
    			});
    		},
    		rollback : function (rb) {
    			if(rb) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 09:03:42 UTC 2021
    - 49.5K bytes
    - Viewed (0)
  7. src/bytes/bytes_test.go

    		in = in[:len(tt.in)]
    		out := Replace(in, []byte(tt.old), []byte(tt.new), tt.n)
    		if s := string(out); s != tt.out {
    			t.Errorf("Replace(%q, %q, %q, %d) = %q, want %q", tt.in, tt.old, tt.new, tt.n, s, tt.out)
    		}
    		if cap(in) == cap(out) && &in[:1][0] == &out[:1][0] {
    			t.Errorf("Replace(%q, %q, %q, %d) didn't copy", tt.in, tt.old, tt.new, tt.n)
    		}
    		if tt.n == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    		{name: "STLRW", argLength: 3, reg: gpstore, asm: "STLRW", faultOnNilArg0: true, hasSideEffects: true},
    
    		// atomic exchange.
    		// store arg1 to arg0. arg2=mem. returns <old content of *arg0, memory>. auxint must be zero.
    		// LDAXR	(Rarg0), Rout
    		// STLXR	Rarg1, (Rarg0), Rtmp
    		// CBNZ		Rtmp, -2(PC)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  9. src/strings/strings_test.go

    	for _, tt := range ReplaceTests {
    		if s := Replace(tt.in, tt.old, tt.new, tt.n); s != tt.out {
    			t.Errorf("Replace(%q, %q, %q, %d) = %q, want %q", tt.in, tt.old, tt.new, tt.n, s, tt.out)
    		}
    		if tt.n == -1 {
    			s := ReplaceAll(tt.in, tt.old, tt.new)
    			if s != tt.out {
    				t.Errorf("ReplaceAll(%q, %q, %q) = %q, want %q", tt.in, tt.old, tt.new, s, tt.out)
    			}
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  10. src/regexp/syntax/parse.go

    			p.reuse(sub)
    		} else {
    			re.Sub = append(re.Sub, sub)
    		}
    	}
    	if op == OpAlternate {
    		re.Sub = p.factor(re.Sub)
    		if len(re.Sub) == 1 {
    			old := re
    			re = re.Sub[0]
    			p.reuse(old)
    		}
    	}
    	return re
    }
    
    // factor factors common prefixes from the alternation list sub.
    // It returns a replacement list that reuses the same storage and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
Back to top