Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 86 for setOp (0.05 sec)

  1. src/cmd/dist/build.go

    // not be in release branches.
    var unreleased = []string{
    	"src/cmd/newlink",
    	"src/cmd/objwriter",
    	"src/debug/goobj",
    	"src/old",
    }
    
    // setup sets up the tree for the initial build.
    func setup() {
    	// Create bin directory.
    	if p := pathf("%s/bin", goroot); !isdir(p) {
    		xmkdir(p)
    	}
    
    	// Create package directory.
    	if p := pathf("%s/pkg", goroot); !isdir(p) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    		tc := tc
    		t.Run(name, func(t *testing.T) {
    			t.Parallel()
    			nodes := tc.nodes
    			if nodes == nil {
    				nodes = []*v1.Node{workerNode}
    			}
    			testCtx := setup(t, nodes, tc.claims, tc.classes, tc.schedulings, tc.objs)
    			testCtx.p.enabled = !tc.disable
    			initialObjects := testCtx.listAll(t)
    
    			status := testCtx.p.PreEnqueue(testCtx.ctx, tc.pod)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  3. pkg/volume/csi/csi_attacher_test.go

    				}
    			} else {
    				if attach == nil {
    					t.Errorf("expecting attachment not to be nil, but it is")
    				}
    			}
    		})
    	}
    }
    
    func TestAttacherGetDeviceMountPath(t *testing.T) {
    	// Setup
    	// Create a new attacher
    	fakeClient := fakeclient.NewSimpleClientset()
    	plug, tmpDir := newTestPlugin(t, fakeClient)
    	defer os.RemoveAll(tmpDir)
    	attacher, err0 := plug.NewAttacher()
    	if err0 != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  4. pkg/kubelet/pod_workers.go

    	// may be later turned into an eviction).
    	KillPodOptions *KillPodOptions
    }
    
    // PodWorkType classifies the status of pod as seen by the pod worker - setup (sync),
    // teardown of containers (terminating), or cleanup (terminated).
    type PodWorkerState int
    
    const (
    	// SyncPod is when the pod is expected to be started and running.
    	SyncPod PodWorkerState = iota
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 13:22:37 UTC 2024
    - 74.8K bytes
    - Viewed (0)
  5. cmd/object-api-listobjects_test.go

    // Wrapper for calling ListObjectsOnVersionedBuckets tests for both
    // Erasure multiple disks and single node setup.
    func TestListObjectsOnVersionedBuckets(t *testing.T) {
    	ExecObjectLayerTest(t, testListObjectsOnVersionedBuckets)
    }
    
    // Wrapper for calling ListObjects tests for both Erasure multiple
    // disks and single node setup.
    func TestListObjects(t *testing.T) {
    	ExecObjectLayerTest(t, testListObjects)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  6. src/testing/testing.go

    // without having to define separate functions for each. This enables uses
    // like table-driven benchmarks and creating hierarchical tests.
    // It also provides a way to share common setup and tear-down code:
    //
    //	func TestFoo(t *testing.T) {
    //	    // <setup code>
    //	    t.Run("A=1", func(t *testing.T) { ... })
    //	    t.Run("A=2", func(t *testing.T) { ... })
    //	    t.Run("B=1", func(t *testing.T) { ... })
    //	    // <tear-down code>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  7. cmd/kubelet/app/server.go

    	if err != nil {
    		return nil, fmt.Errorf(errFmt, name, err)
    	}
    	return loader.LoadIntoJSON()
    }
    
    // UnsecuredDependencies returns a Dependencies suitable for being run, or an error if the server setup
    // is not valid.  It will not start any background processes, and does not include authentication/authorization
    func UnsecuredDependencies(s *options.KubeletServer, featureGate featuregate.FeatureGate) (*kubelet.Dependencies, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/windows/setupapi_windows.go

    	// SP_MAX_MACHINENAME_LENGTH defines maximum length of a machine name in the format expected by ConfigMgr32 CM_Connect_Machine (i.e., "\\\\MachineName\0").
    	SP_MAX_MACHINENAME_LENGTH = MAX_PATH + 3
    )
    
    // HSPFILEQ is type for setup file queue
    type HSPFILEQ uintptr
    
    // DevInfo holds reference to device information set
    type DevInfo Handle
    
    // DEVINST is a handle usually recognized by cfgmgr32 APIs
    type DEVINST uint32
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 67.2K bytes
    - Viewed (0)
  9. src/crypto/tls/handshake_server_test.go

    	serverConfig := testConfig.Clone()
    	clientConfig := testConfig.Clone()
    	clientConfig.MinVersion = VersionTLS12
    
    	for i, test := range getConfigForClientTests {
    		if test.setup != nil {
    			test.setup(serverConfig)
    		}
    
    		var configReturned *Config
    		serverConfig.GetConfigForClient = func(clientHello *ClientHelloInfo) (*Config, error) {
    			config, err := test.callback(clientHello)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/devicemanager/manager_test.go

    	os.RemoveAll(socketDir)
    }
    
    func TestNewManagerImplStart(t *testing.T) {
    	socketDir, socketName, pluginSocketName, err := tmpSocketDir()
    	require.NoError(t, err)
    	defer os.RemoveAll(socketDir)
    	m, _, p := setup(t, []*pluginapi.Device{}, func(n string, d []pluginapi.Device) {}, socketName, pluginSocketName)
    	cleanup(t, m, p)
    	// Stop should tolerate being called more than once.
    	cleanup(t, m, p)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
Back to top