- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,311 for _mkdir (0.2 sec)
-
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
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 27 20:25:58 UTC 2022 - 71K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/reset/cleanupnode_test.go
} resetConfigDir(tmpDir, dirsToClean, false) // Verify the files we cleanup implicitly in every test: assertExists(t, tmpDir) assertNotExists(t, filepath.Join(tmpDir, kubeadmconstants.AdminKubeConfigFileName)) assertNotExists(t, filepath.Join(tmpDir, kubeadmconstants.KubeletKubeConfigFileName)) assertDirEmpty(t, filepath.Join(tmpDir, "manifests"))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 5.1K bytes - Viewed (0) -
platforms/core-runtime/file-temp/src/main/java/org/gradle/api/internal/file/temp/DefaultTemporaryFileProvider.java
File tmpDir = TempFiles.createTempFile(prefix, suffix, dir); if (!tmpDir.delete()) { throw new IOException("Failed to delete file: " + tmpDir); } if (!tmpDir.mkdir()) { throw new IOException("Failed to make directory: " + tmpDir); } return tmpDir; } catch (IOException e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 19 21:16:13 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/software/version-control/src/test/groovy/org/gradle/vcs/git/internal/GitVersionControlSystemSpec.groovy
private RevCommit c2 TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass()) GitFileRepository repo = new GitFileRepository(tmpDir.getTestDirectory()) GitFileRepository repo2 = new GitFileRepository(tmpDir.getTestDirectory().file('other')) GitFileRepository submoduleRepo = new GitFileRepository("submodule", tmpDir.testDirectory)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 13:11:16 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/jvm/JvmTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 00:09:57 UTC 2024 - 15.4K bytes - Viewed (0) -
src/os/path_test.go
if runtime.GOOS == "windows" { path := tmpDir + `\_TestMkdirAll_\dir\.\dir2\` err := MkdirAll(path, 0777) if err != nil { t.Fatalf("MkdirAll %q: %s", path, err) } } } func TestMkdirAllWithSymlink(t *testing.T) { testenv.MustHaveSymlink(t) t.Parallel() tmpDir := t.TempDir() dir := tmpDir + "/dir" if err := Mkdir(dir, 0755); err != nil { t.Fatalf("Mkdir %s: %s", dir, err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 19 20:45:37 UTC 2023 - 3K bytes - Viewed (0) -
src/cmd/go/testdata/script/cgo_suspect_flag_force_external.txt
# Go command. Here the idea is to pass "-tmpdir" to the linker, then # check after the link is done for the presence of the file # <tmpdir>/go.o, which the Go linker creates prior to kicking off the # external linker. mkdir tmp1 mkdir tmp2 mkdir tmp3 mkdir tmp4 mkdir tmp5 # First build: no external linking expected go build -ldflags=-tmpdir=tmp1 -o $devnull ./noUseOfCgo &
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 25 18:16:01 UTC 2023 - 6.3K bytes - Viewed (0) -
pkg/util/removeall/removeall_test.go
for _, test := range tests { tmpDir, err := utiltesting.MkTmpdir("removeall-" + test.name + "-") if err != nil { t.Fatalf("Can't make a tmp dir: %v", err) } defer os.RemoveAll(tmpDir) // Create the directory structure for _, item := range test.items { if strings.HasSuffix(item, "/") { item = strings.TrimRight(item, "/") if err = os.Mkdir(filepath.Join(tmpDir, item), 0777); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 15 20:35:13 UTC 2024 - 5.2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r68/CompositeBuildModuleNamesCrossVersionSpec.groovy
rootProject.name = 'module-main' include 'module-b' includeBuild('subfolder/module-b') { name = 'included-module-b' } """ file('module-b').mkdir() file('subfolder/module-b').mkdirs() when: def allProjects = withConnection {c -> c.action(new IdeaProjectUtil.GetAllIdeaProjectsAction()).run() } then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 6.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/DefaultFileOperationsTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 15:15:04 UTC 2024 - 8.1K bytes - Viewed (0)