Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for listVols (0.07 sec)

  1. cmd/xl-storage_test.go

    func TestXLStorageListVols(t *testing.T) {
    	// create xlStorage test setup
    	xlStorage, path, err := newXLStorageTestSetup(t)
    	if err != nil {
    		t.Fatalf("Unable to create xlStorage test setup, %s", err)
    	}
    
    	var volInfos []VolInfo
    	// TestXLStorage empty list vols.
    	if volInfos, err = xlStorage.ListVols(context.Background()); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    		return err
    	}
    
    	// Stat succeeds we return errVolumeExists.
    	return errVolumeExists
    }
    
    // ListVols - list volumes.
    func (s *xlStorage) ListVols(ctx context.Context) (volsInfo []VolInfo, err error) {
    	return listVols(ctx, s.drivePath)
    }
    
    // List all the volumes from drivePath.
    func listVols(ctx context.Context, dirPath string) ([]VolInfo, error) {
    	if err := checkPathLength(dirPath); err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (2)
  3. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

    #include "tensorflow/cc/ops/array_ops.h"
    #include "tensorflow/cc/ops/control_flow_ops_internal.h"
    #include "tensorflow/cc/ops/function_ops.h"
    #include "tensorflow/cc/ops/functional_ops.h"
    #include "tensorflow/cc/ops/list_ops.h"
    #include "tensorflow/cc/ops/resource_variable_ops.h"
    #include "tensorflow/cc/ops/sendrecv_ops.h"
    #include "tensorflow/cc/ops/standard_ops.h"
    #include "tensorflow/compiler/jit/defs.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
Back to top