Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for initDS (0.22 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    	assert.NoError(t, err)
    
    	init1 := makeTestContainer("init1", "busybox")
    	init2 := makeTestContainer("init2", "busybox")
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			UID:       "12345678",
    			Name:      "foo",
    			Namespace: "new",
    		},
    		Spec: v1.PodSpec{
    			InitContainers: []v1.Container{init1, init2},
    		},
    	}
    
    	templates := []containerTemplate{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/init.go

    // calling Init and Enabled, the main package can call this function.
    func WillBeEnabled() bool {
    	if modRoots != nil || cfg.ModulesEnabled {
    		// Already enabled.
    		return true
    	}
    	if initialized {
    		// Initialized, not enabled.
    		return false
    	}
    
    	// Keep in sync with Init. Init does extra validation and prints warnings or
    	// exits, so it can't call this function directly.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  3. src/runtime/traceback.go

    	// move to the next frame, but that's both more awkward to use in a "for"
    	// loop and is harder to implement because we have to do things differently
    	// for the first frame.
    	u.initAt(^uintptr(0), ^uintptr(0), ^uintptr(0), gp, flags)
    }
    
    func (u *unwinder) initAt(pc0, sp0, lr0 uintptr, gp *g, flags unwindFlags) {
    	// Don't call this "g"; it's too easy get "g" and "gp" confused.
    	if ourg := getg(); ourg == gp && ourg == ourg.m.curg {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  4. src/runtime/mprof.go

    		prof.stack[2] = 0
    		return
    	}
    
    	var nstk int
    	gp := getg()
    	sp := getcallersp()
    	pc := getcallerpc()
    	systemstack(func() {
    		var u unwinder
    		u.initAt(pc, sp, 0, gp, unwindSilentErrors|unwindJumpStack)
    		nstk = 1 + tracebackPCs(&u, skip, prof.stack[1:])
    	})
    	if nstk < len(prof.stack) {
    		prof.stack[nstk] = 0
    	}
    }
    
    func (prof *mLockProfile) store() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  5. tensorflow/c/kernels_test.cc

        OpsTestBase::SetDevice(DEVICE_GPU, std::move(device));
    #endif
        TF_ASSERT_OK(NodeDefBuilder(op_name, op_name).Finalize(node_def()));
        TF_ASSERT_OK(InitOp());
      }
    
    #if GOOGLE_CUDA || TENSORFLOW_USE_ROCM
      const char* device_name_ = tensorflow::DEVICE_GPU;
    #else
      const char* device_name_ = tensorflow::DEVICE_CPU;
    #endif
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 50.4K bytes
    - Viewed (0)
  6. src/go/types/api_test.go

    		// number of initializers must match
    		if len(info.InitOrder) != len(test.inits) {
    			t.Errorf("package %s: got %d initializers; want %d", name, len(info.InitOrder), len(test.inits))
    			continue
    		}
    
    		// initializers must match
    		for i, want := range test.inits {
    			got := info.InitOrder[i].String()
    			if got != want {
    				t.Errorf("package %s, init %d: got %s; want %s", name, i, got, want)
    				continue
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  7. src/runtime/mbitmap.go

    		KeepAlive(ep)
    		return
    	}
    
    	// stack
    	if gp := getg(); gp.m.curg.stack.lo <= uintptr(p) && uintptr(p) < gp.m.curg.stack.hi {
    		found := false
    		var u unwinder
    		for u.initAt(gp.m.curg.sched.pc, gp.m.curg.sched.sp, 0, gp.m.curg, 0); u.valid(); u.next() {
    			if u.frame.sp <= uintptr(p) && uintptr(p) < u.frame.varp {
    				found = true
    				break
    			}
    		}
    		if found {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
Back to top