Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 54 of 54 for set_device (0.12 sec)

  1. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    	assert.NoError(t, volumetesting.VerifyZeroDetachCallCount(fakePlugin))
    }
    
    // Populates desiredStateOfWorld cache with one volume/pod.
    // Calls Run()
    // Verifies there are attach/get map paths/setupDevice calls and
    // no detach/teardownDevice calls.
    func Test_Run_Positive_VolumeAttachAndMap(t *testing.T) {
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "pod1",
    			UID:       "pod1uid",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_volumes_test.go

    	return "", nil
    }
    
    func (f *stubBlockVolume) GetPodDeviceMapPath() (string, string) {
    	return f.dirPath, f.volName
    }
    
    func (f *stubBlockVolume) SetUpDevice() (string, error) {
    	return "", nil
    }
    
    func (f stubBlockVolume) MapPodDevice() error {
    	return nil
    }
    
    func (f *stubBlockVolume) TearDownDevice(mapPath string, devicePath string) error {
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 17 16:53:28 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  3. pkg/volume/testing/testing.go

    	fv.RLock()
    	defer fv.RUnlock()
    	return fv.TearDownCallCount
    }
    
    func (fv *FakeVolume) TearDownAt(dir string) error {
    	return os.RemoveAll(dir)
    }
    
    // Block volume support
    func (fv *FakeVolume) SetUpDevice() (string, error) {
    	fv.Lock()
    	defer fv.Unlock()
    	if fv.VolName == TimeoutOnMountDeviceVolumeName {
    		fv.DeviceMountState[fv.VolName] = deviceMountUncertain
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

        }
      }];
    }
    
    def TF_RecvOp : TF_Op<"Recv", [TF_RecvSideEffect]> {
      let summary = "Receives the named tensor from send_device on recv_device.";
    
      let arguments = (ins
        StrAttr:$tensor_name,
        StrAttr:$send_device,
        I64Attr:$send_device_incarnation,
        StrAttr:$recv_device,
        DefaultValuedOptionalAttr<BoolAttr, "false">:$client_terminated
      );
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top