Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Director (0.5 sec)

  1. cmd/xl-storage_test.go

    }
    
    func TestXLStorageIsDirEmpty(t *testing.T) {
    	tmp := t.TempDir()
    
    	// Should give false on non-existent directory.
    	dir1 := slashpath.Join(tmp, "non-existent-directory")
    	if isDirEmpty(dir1, true) {
    		t.Error("expected false for non-existent directory, got true")
    	}
    
    	// Should give false for not-a-directory.
    	dir2 := slashpath.Join(tmp, "file")
    	err := os.WriteFile(dir2, []byte("hello"), 0o777)
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/filesystem_interface.h

                         TF_Status* status);
    
      /// Creates the directory specified by `path` and all needed ancestors.
      ///
      /// Plugins:
      ///   * Must set `status` to `TF_OK` if directory was created.
      ///   * Must set `status` to `TF_FAILED_PRECONDITION` if `path` is invalid or
      ///     if it exists but is not a directory.
      ///   * Might use any other error value for `status` to signal other errors.
      ///
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

                return false;
            return ( this.attributes & ATTR_DIRECTORY ) == ATTR_DIRECTORY;
        }
    
    
        @Override
        public boolean isFile () throws SmbException {
            if ( this.fileLocator.isRootOrShare() ) {
                return false;
            }
            exists();
            return ( this.attributes & ATTR_DIRECTORY ) == 0;
        }
    
    
        @Override
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ldap/LdapManager.java

    import javax.naming.NamingException;
    import javax.naming.directory.Attribute;
    import javax.naming.directory.Attributes;
    import javax.naming.directory.BasicAttribute;
    import javax.naming.directory.BasicAttributes;
    import javax.naming.directory.DirContext;
    import javax.naming.directory.InitialDirContext;
    import javax.naming.directory.ModificationItem;
    import javax.naming.directory.SearchControls;
    import javax.naming.directory.SearchResult;
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 65.9K bytes
    - Viewed (0)
  5. cmd/object-api-listobjects_test.go

    		// Test listing an empty directory in recursive mode (62)
    		{"test-bucket-empty-dir", "", "", "", 10, resultCases[31], nil, true},
    		// Test listing an empty directory in a non recursive mode (63)
    		{"test-bucket-empty-dir", "", "", SlashSeparator, 10, resultCases[32], nil, true},
    		// Test listing a directory which contains an empty directory (64)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    	if err = checkPathLength(dstFilePath); err != nil {
    		return err
    	}
    	if srcIsDir {
    		// If source is a directory, we expect the destination to be non-existent but we
    		// we still need to allow overwriting an empty directory since it represents
    		// an object empty directory.
    		dirInfo, err := Lstat(dstFilePath)
    		if isSysErrIO(err) {
    			return errFaultyDisk
    		}
    		if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

        s = fs->CreateDir(root_dir_);
        if (!s.ok()) {
          GTEST_SKIP() << "Cannot create working directory: " << s;
        }
      }
    
      // Converts path reference to URI reference.
      //
      // If URI scheme is empty, URI reference is `path` relative to current test
      // root directory. Otherwise, we need to add the `<scheme>://` in front of
      // this path.
      //
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  8. src/archive/zip/reader_test.go

    	}
    	dirEntries, err := fs.ReadDir(r, ".")
    	if err != nil {
    		t.Fatalf("Error reading the root directory: %v", err)
    	}
    	if len(dirEntries) != 1 || dirEntries[0].Name() != "test.txt" {
    		t.Errorf("Unexpected directory entries")
    		for _, dirEntry := range dirEntries {
    			_, err := r.Open(dirEntry.Name())
    			t.Logf("%q (Open error: %v)", dirEntry.Name(), err)
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  9. docs/bucket/notifications/README.md

    ```
    
    MinIO supports persistent event store. The persistent store will backup events when the AMQP broker goes offline and replays it when the broker comes back online. The event store can be configured by setting the directory path in `queue_dir` field and the maximum limit of events in the queue_dir in `queue_limit` field. For eg, the `queue_dir` can be `/home/events` and `queue_limit` can be `1000`. By default, the `queue_limit` is set to 100000.
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
  10. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertPathWithNormalizedFileSeparators(pom.getValue("build/testSourceDirectory"));
            assertPathWithNormalizedFileSeparators(pom.getValue("build/resources[1]/directory"));
            assertPathWithNormalizedFileSeparators(pom.getValue("build/testResources[1]/directory"));
            assertPathWithNormalizedFileSeparators(pom.getValue("build/filters[1]"));
            assertPathWithNormalizedFileSeparators(pom.getValue("reporting/outputDirectory"));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
Back to top