Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,140 for filedata (0.2 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredFileAccess.groovy

                "new File(\"${filePath}\").$checkKind()"
            }
        }
    
        static FileCheck fileExists(String filePath) {
            new FileCheck(filePath, "exists")
        }
    
        static FileCheck fileIsFile(String filePath) {
            new FileCheck(filePath, "isFile")
        }
    
        static FileCheck fileIsDirectory(String filePath) {
            new FileCheck(filePath, "isDirectory")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/phases/controlplane/manifests_test.go

    				"--service-account-key-file=" + filepath.Join(testCertsDir, "sa.pub"),
    				"--service-account-signing-key-file=" + filepath.Join(testCertsDir, "sa.key"),
    				"--service-account-issuer=https://kubernetes.default.svc.cluster.local",
    				"--client-ca-file=" + filepath.Join(testCertsDir, "ca.crt"),
    				"--tls-cert-file=" + filepath.Join(testCertsDir, "apiserver.crt"),
    				"--tls-private-key-file=" + filepath.Join(testCertsDir, "apiserver.key"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 14:43:47 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  3. pkg/volume/util/subpath/subpath_linux_test.go

    				if err := os.MkdirAll(filepath.Join(base, "test1"), defaultPerm); err != nil {
    					return err
    				}
    				if err := os.MkdirAll(filepath.Join(base, "test2"), defaultPerm); err != nil {
    					return err
    				}
    				if err := os.Symlink(filepath.Join(base, "test2"), filepath.Join(base, "test1/dir")); err != nil {
    					return err
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 10 16:52:55 UTC 2021
    - 37.3K bytes
    - Viewed (0)
  4. pkg/volume/util/subpath/subpath_windows_test.go

    		{
    			volumePath:    testingVolumePath,
    			subPath:       filepath.Join(testingVolumePath, `x`),
    			expectError:   false,
    			symlinkTarget: "",
    		},
    		{
    			volumePath:    testingVolumePath,
    			subPath:       filepath.Join(testingVolumePath, `a\b\c\d`),
    			expectError:   false,
    			symlinkTarget: "",
    		},
    		{
    			volumePath:    testingVolumePath,
    			subPath:       filepath.Join(testingVolumePath, `symlink`),
    			expectError:   false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 13.8K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      const std::string filepath = GetURIForPath("a_file");
      Status status = env_->CreateDir(filepath);
      if (!status.ok()) GTEST_SKIP() << "CreateDir() not supported: " << status;
    
      status = env_->FileExists(filepath);
      EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::OK);
    }
    
    TEST_P(ModularFileSystemTest, TestFileExistsNotFound) {
      const std::string filepath = GetURIForPath("a_file");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 20:25:58 UTC 2022
    - 71K bytes
    - Viewed (0)
  6. pkg/test/util/file/file.go

    		for _, ext := range extensions {
    			if filepath.Ext(d.Name()) == ext {
    				matched = true
    				break
    			}
    		}
    		if matched {
    			res = append(res, filepath.Join(filePath, d.Name()))
    		}
    	}
    	return res, nil
    }
    
    func ReadDirOrFail(t test.Failer, filePath string, extensions ...string) []string {
    	t.Helper()
    	res, err := ReadDir(filePath, extensions...)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 17 02:22:22 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  7. src/path/filepath/path_test.go

    	touch(t, filepath.Join(td, "foo"))
    	touch(t, filepath.Join(td, "bar"))
    	dir := filepath.Join(td, "dir")
    	if err := os.MkdirAll(filepath.Join(td, "dir"), 0755); err != nil {
    		t.Fatal(err)
    	}
    	touch(t, filepath.Join(dir, "baz"))
    	touch(t, filepath.Join(dir, "stat-error"))
    	defer func() {
    		*filepath.LstatP = os.Lstat
    	}()
    	statErr := errors.New("some stat error")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:38:19 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_getters_test.go

    	exp = filepath.Join(root, "plugins/foobar")
    	assert.Equal(t, exp, got)
    
    	got = kubelet.getPodDir("abc123")
    	exp = filepath.Join(root, "pods/abc123")
    	assert.Equal(t, exp, got)
    
    	got = kubelet.getPodVolumesDir("abc123")
    	exp = filepath.Join(root, "pods/abc123/volumes")
    	assert.Equal(t, exp, got)
    
    	got = kubelet.getPodVolumeDir("abc123", "plugin", "foobar")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 00:48:07 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. src/cmd/go/internal/web/url_test.go

    				}
    			}
    
    			if path != tc.filePath || tc.wantErr != "" {
    				t.Fatalf("urlToFilePath(%v) = %q, <nil>; want %q, %s", u, path, tc.filePath, tc.wantErr)
    			}
    		})
    	}
    }
    
    func TestURLFromFilePath(t *testing.T) {
    	for _, tc := range urlTests {
    		if tc.filePath == "" {
    			continue
    		}
    		tc := tc
    
    		t.Run(tc.filePath, func(t *testing.T) {
    			u, err := urlFromFilePath(tc.filePath)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:43:51 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  10. src/cmd/go/internal/web/url.go

    }
    
    func urlFromFilePath(path string) (*url.URL, error) {
    	if !filepath.IsAbs(path) {
    		return nil, errNotAbsolute
    	}
    
    	// If path has a Windows volume name, convert the volume to a host and prefix
    	// per https://blogs.msdn.microsoft.com/ie/2006/12/06/file-uris-in-windows/.
    	if vol := filepath.VolumeName(path); vol != "" {
    		if strings.HasPrefix(vol, `\\`) {
    			path = filepath.ToSlash(path[2:])
    			i := strings.IndexByte(path, '/')
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:43:51 UTC 2019
    - 2K bytes
    - Viewed (0)
Back to top