Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for fileNames (0.18 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    }
    
    TEST_P(ModularFileSystemTest, TestFilesExist) {
      const std::vector<std::string> filenames = {GetURIForPath("a"),
                                                  GetURIForPath("b")};
      for (const auto& filename : filenames) {
        std::unique_ptr<WritableFile> file;
        Status status = env_->NewWritableFile(filename, &file);
        if (!status.ok())
          GTEST_SKIP() << "NewWritableFile() not supported: " << status;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 20:25:58 UTC 2022
    - 71K bytes
    - Viewed (0)
  2. staging/src/k8s.io/cli-runtime/pkg/resource/builder_test.go

    		},
    		{
    			filenames: []string{"file"},
    			errExp:    false,
    		},
    		{
    			filenames: []string{"dir"},
    			recursive: true,
    			errExp:    false,
    		},
    		{
    			kustomize: "dir",
    			errExp:    false,
    		},
    	}
    	for _, testcase := range testcases {
    		o := &FilenameOptions{
    			Kustomize: testcase.kustomize,
    			Filenames: testcase.filenames,
    			Recursive: testcase.recursive,
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 11:58:41 UTC 2023
    - 56.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

         * identical to the list returned by the parameterless <code>list()</code>
         * method minus filenames filtered by the specified filter.
         *
         * @param filter
         *            a filename filter to exclude filenames from the results
         * @return <code>String[]</code> array of matching files and directories,
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (1)
  4. configure.py

                                           'contrib', 'makefile', 'downloads')
      if os.path.isdir(makefile_download_dir):
        for root, _, filenames in os.walk(makefile_download_dir):
          for f in filenames:
            if f.endswith('BUILD'):
              os.remove(os.path.join(root, f))
    
    
    def get_var(environ_cp,
                var_name,
                query_item,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 04:32:44 UTC 2024
    - 53.8K bytes
    - Viewed (1)
  5. src/cmd/compile/internal/syntax/parser.go

    		return
    	}
    
    	// If we have a column (//line filename:line:col form),
    	// an empty filename means to use the previous filename.
    	filename := text[:i-1] // lop off ":line"
    	trimmed := false
    	if filename == "" && ok2 {
    		filename = p.base.Filename()
    		trimmed = p.base.Trimmed()
    	}
    
    	p.base = NewLineBase(pos, filename, trimmed, line, col)
    }
    
    func commentText(s string) string {
    	if s[:2] == "/*" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/jvm/java_testing.adoc

    +
    Your tests can distinguish between parallel test processes by using the value of the `org.gradle.test.worker` property, which is unique for each process. You can use this for anything you want, but it's particularly useful for filenames and other resource identifiers to prevent the kind of conflict we just mentioned.
    
    `forkEvery` — default: 0 (no maximum)::
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 53.1K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/userguide/authoring-builds/gradle-properties/working_with_files.adoc

    ====
    
    As in the above example, you can use regular expressions for this or closures that use more complex logic to determine the target filename.
    For example, the following task truncates filenames:
    
    ====
    include::sample[dir="snippets/files/copy/kotlin",files="build.gradle.kts[tags=truncate-names-example]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 24 04:19:09 UTC 2024
    - 70.5K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/dwarf.go

    	// file table is already de-duped.
    	for i, name := range unit.FileTable {
    		name := expandFile(name)
    		if len(name) == 0 {
    			// Can't have empty filenames, and having a unique
    			// filename is quite useful for debugging.
    			name = fmt.Sprintf("<missing>_%d", i)
    		}
    		// Note the use of "path" here and not "filepath". The compiler
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  9. src/net/http/fs_test.go

    		}
    	}
    }
    
    func TestFileServerFS(t *testing.T) {
    	filename := "index.html"
    	contents := []byte("index.html says hello")
    	fsys := fstest.MapFS{
    		filename: {Data: contents},
    	}
    	ts := newClientServerTest(t, http1Mode, FileServerFS(fsys)).ts
    	defer ts.Close()
    
    	res, err := ts.Client().Get(ts.URL + "/" + filename)
    	if err != nil {
    		t.Fatal(err)
    	}
    	b, err := io.ReadAll(res.Body)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  10. cmd/xl-storage_test.go

    	if err := storage.WriteAll(context.Background(), volName, fileName, data); err != nil {
    		t.Fatal(err)
    	}
    	if err := storage.storage.bitrotVerify(context.Background(), pathJoin(path, volName, fileName), size, algo, hashBytes, 0); err != nil {
    		t.Fatal(err)
    	}
    
    	// 2) Whole-file bitrot check on corrupted file
    	if err := storage.AppendFile(context.Background(), volName, fileName, []byte("a")); err != nil {
    		t.Fatal(err)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 11 17:45:28 UTC 2024
    - 66.7K bytes
    - Viewed (0)
Back to top