Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Mkdir (0.19 sec)

  1. cmd/xl-storage_test.go

    // createPermDeniedFile - creates temporary directory and file with path '/mybucket/myobject'
    func createPermDeniedFile(t *testing.T) (permDeniedDir string) {
    	var err error
    	permDeniedDir = t.TempDir()
    
    	if err = os.Mkdir(slashpath.Join(permDeniedDir, "mybucket"), 0o775); err != nil {
    		t.Fatalf(fmt.Sprintf("Unable to create temporary directory %v. %v", slashpath.Join(permDeniedDir, "mybucket"), err))
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    	uuid := mustGetUUID()
    	filePath := pathJoin(s.drivePath, minioMetaTmpDeletedBucket, ".writable-check-"+uuid+".tmp")
    
    	// Create top level directories if they don't exist.
    	// with mode 0o777 mkdir honors system umask.
    	mkdirAll(pathutil.Dir(filePath), 0o777, s.drivePath) // don't need to fail here
    
    	w, err := s.openFileDirect(filePath, os.O_CREATE|os.O_WRONLY|os.O_EXCL)
    	if err != nil {
    		return err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    #include "tensorflow/core/platform/test.h"
    #include "tensorflow/core/util/command_line_flags.h"
    
    #if defined(PLATFORM_WINDOWS)
    // Make mkdir resolve to _mkdir to create the test temporary directory.
    #include <direct.h>
    #define mkdir(name, mode) _mkdir(name)
    
    // Windows defines the following macros to convert foo to fooA or fooW,
    // depending on the type of the string argument. We don't use these macros, so
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFile.java

            th.send(new Trans2QueryFSInformation(th.getConfig(), level), response);
            return response.getInfo(clazz);
        }
    
    
        @Override
        public void mkdir () throws SmbException {
            String path = this.fileLocator.getUNCPath();
    
            if ( path.length() == 1 ) {
                throw new SmbException("Invalid operation for workgroups, servers, or shares");
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  5. tensorflow/BUILD

            "//tensorflow/cc:headers",
            "//tensorflow/core:headers",
            "@local_xla//xla/stream_executor:stream_executor_install_hdrs",
        ],
        outs = ["include"],
        cmd = """
        mkdir $@
        for f in $(SRCS); do
          d="$${f%/*}"
          d="$${d#bazel-out/*/genfiles/}"
          d="$${d#bazel-out/*/bin/}"
    
          if [[ $${d} == *local_config_* ]]; then
            continue
          fi
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
Back to top