Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 66 for setOp (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    // Bind and Accept must be used. Once the setup process is complete, input
    // data can be written to the socket, processed by the kernel, and then read
    // back as hash output or ciphertext.
    //
    // Here is an example of using an AF_ALG socket with SHA1 hashing.
    // The initial socket setup process is as follows:
    //
    //	// Open a socket to perform SHA1 hashing.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationSpec.groovy

        def userCodeApplicationContext = Mock(UserCodeApplicationContext)
        def calculatedValueContainerFactory = Mock(CalculatedValueContainerFactory)
    
        def setup() {
            _ * listenerManager.createAnonymousBroadcaster(DependencyResolutionListener) >> { new AnonymousListenerBroadcast<DependencyResolutionListener>(DependencyResolutionListener, Stub(Dispatch)) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:30:13 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

    _AttrValType = Union[List[int], bool, str, None]
    
    
    class QuantizedModelTest(test.TestCase, parameterized.TestCase):
      """Base test class for TF-quant tests."""
    
      def setUp(self) -> None:
        super().setUp()
    
        # Many test cases for quantization involve creating and saving the input
        # model and saving the output quantized model. These two member
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  10. cmd/peer-rest-server.go

    	if objAPI == nil {
    		return np, grid.NewRemoteErr(errServerNotInitialized)
    	}
    
    	pools, ok := objAPI.(*erasureServerPools)
    	if !ok {
    		return np, grid.NewRemoteErr(errors.New("not a pooled setup"))
    	}
    
    	pools.StopRebalance()
    	return
    }
    
    func (s *peerRESTServer) LoadRebalanceMetaHandler(mss *grid.MSS) (np grid.NoPayload, nerr *grid.RemoteErr) {
    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 52.1K bytes
    - Viewed (0)
Back to top