Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for inits (0.12 sec)

  1. src/cmd/compile/internal/types2/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: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    			name:                "not allow pod with restartable init containers if sidecar containers is disabled",
    			pod:                 newPodWithRestartableInitContainers(),
    			wantPreFilterStatus: framework.NewStatus(framework.UnschedulableAndUnresolvable, "Pod has a restartable init container and the SidecarContainers feature is disabled"),
    		},
    		{
    			name:                    "allow pod without restartable init containers if sidecar containers is enabled",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  6. cmd/test-utils_test.go

    func ExecExtendedObjectLayerAPITest(t *testing.T, objAPITest objAPITestType, endpoints []string) {
    	execExtended(t, func(t *testing.T, init func(), makeBucketOptions MakeBucketOptions) {
    		ExecObjectLayerAPITest(ExecObjectLayerAPITestArgs{t: t, objAPITest: objAPITest, endpoints: endpoints, init: init, makeBucketOptions: makeBucketOptions})
    	})
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  7. src/runtime/mheap.go

    	h.specialReachableAlloc.init(unsafe.Sizeof(specialReachable{}), nil, nil, &memstats.other_sys)
    	h.specialPinCounterAlloc.init(unsafe.Sizeof(specialPinCounter{}), nil, nil, &memstats.other_sys)
    	h.specialWeakHandleAlloc.init(unsafe.Sizeof(specialWeakHandle{}), nil, nil, &memstats.gcMiscSys)
    	h.arenaHintAlloc.init(unsafe.Sizeof(arenaHint{}), nil, nil, &memstats.other_sys)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/parser.go

    	xnest  int    // expression nesting level (for complit ambiguity resolution)
    	indent []byte // tracing support
    }
    
    func (p *parser) init(file *PosBase, r io.Reader, errh ErrorHandler, pragh PragmaHandler, mode Mode) {
    	p.top = true
    	p.file = file
    	p.errh = errh
    	p.mode = mode
    	p.pragh = pragh
    	p.scanner.init(
    		r,
    		// Error and directive handler for scanner.
    		// Because the (line, col) positions passed to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  9. hack/local-up-cluster.sh

      if [ -f /sys/fs/cgroup/cgroup.controllers ]; then
        # move the processes from the root group to the /init group,
        # otherwise writing subtree_control fails with EBUSY.
        # An error during moving non-existent process (i.e., "cat") is ignored.
        mkdir -p /sys/fs/cgroup/init
        xargs -rn1 < /sys/fs/cgroup/cgroup.procs > /sys/fs/cgroup/init/cgroup.procs || :
        # enable controllers
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 25 02:33:52 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  10. src/time/time.go

    )
    
    // Common durations. There is no definition for units of Day or larger
    // to avoid confusion across daylight savings time zone transitions.
    //
    // To count the number of units in a [Duration], divide:
    //
    //	second := time.Second
    //	fmt.Print(int64(second/time.Millisecond)) // prints 1000
    //
    // To convert an integer number of units to a Duration, multiply:
    //
    //	seconds := 10
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
Back to top