- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 731 for tempdir (0.11 sec)
-
cni/pkg/install/cniconfig_test.go
// Create temp directory for files tempDir := t.TempDir() // Create existing config files if specified in test case for srcFilename, targetFilename := range c.existingConfFiles { if err := file.AtomicCopy(filepath.Join("testdata", srcFilename), tempDir, targetFilename); err != nil { t.Fatal(err) } } cfg.MountedCNINetDir = tempDir var expectedFilepath string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 15.4K bytes - Viewed (0) -
platforms/jvm/language-jvm/src/main/java/org/gradle/api/tasks/compile/ForkOptions.java
public String getTempDir() { return tempDir; } /** * Sets the directory used for temporary files that may be created to pass * command line arguments to the compiler process. Defaults to {@code null}, * in which case the directory will be chosen automatically. */ public void setTempDir(@Nullable String tempDir) { this.tempDir = tempDir; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 12:15:28 UTC 2023 - 3.1K bytes - Viewed (0) -
fess-crawler-es/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
docRoot.delete(); } } } protected static File createDocRoot(final int count) { try { final File tempDir = File.createTempFile("crawlerDocRoot", ""); tempDir.delete(); tempDir.mkdirs(); final StringBuilder buf = new StringBuilder(); buf.append("User-agent: *").append('\n');
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 5K bytes - Viewed (0) -
src/os/path_windows_test.go
t.Parallel() tmpDir := t.TempDir() const prefix = `\\?\` if len(tmpDir) < 4 || tmpDir[:4] != prefix { fullPath, err := syscall.FullPath(tmpDir) if err != nil { t.Fatalf("FullPath(%q) fails: %v", tmpDir, err) } tmpDir = prefix + fullPath } path := tmpDir + `\dir\` if err := os.MkdirAll(path, 0777); err != nil { t.Fatalf("MkdirAll(%q) failed: %v", path, err) } path = path + `.\dir2`
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 23 16:37:32 UTC 2024 - 8K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/AbstractBinaryToolSpec.java
this.platform = platform; } @Override public File getTempDir() { return tempDir; } @Override public void setTempDir(File tempDir) { this.tempDir = tempDir; } @Override public List<String> getArgs() { return args; } @Override public void args(List<String> args) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/VisualCppOptionsFileArgsWriter.java
*/ class VisualCppOptionsFileArgsWriter extends OptionsFileArgsWriter { public VisualCppOptionsFileArgsWriter(File tempDir) { super(tempDir); } @Override protected List<String> transformArgs(List<String> originalArgs, File tempDir) { return ArgWriter.argsFileGenerator(new File(tempDir, "options.txt"), ArgWriter.windowsStyleFactory()).transform(originalArgs); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/jvm/language-jvm/src/main/java/org/gradle/api/internal/tasks/compile/DefaultJvmLanguageCompileSpec.java
this.destinationDir = destinationDir; } @Override public File getTempDir() { return tempDir; } @Override public void setTempDir(File tempDir) { this.tempDir = tempDir; } @Override public Iterable<File> getSourceFiles() { return sourceFiles; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 3.2K bytes - Viewed (0) -
src/cmd/link/elf_test.go
// to platform.) testenv.MustHaveGoBuild(t) t.Parallel() tmpdir := t.TempDir() src := filepath.Join(tmpdir, "x.go") if err := os.WriteFile(src, []byte(goSource), 0444); err != nil { t.Fatal(err) } exe := filepath.Join(tmpdir, "x.exe") cmd := testenv.Command(t, testenv.GoToolPath(t), "build", "-ldflags=-R=0x100000", "-o", exe, src)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 16:34:01 UTC 2023 - 13.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/tls_test.go
baseDir := os.TempDir() tempDir, err := ioutil.TempDir(baseDir, "etcd_certificates") if err != nil { t.Fatal(err) } certFile = path.Join(tempDir, "etcdcert.pem") if err := ioutil.WriteFile(certFile, []byte(testingcert.CertFileContent), 0644); err != nil { t.Fatal(err) } keyFile = path.Join(tempDir, "etcdkey.pem")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:57:37 UTC 2024 - 3.4K bytes - Viewed (0) -
maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.io.TempDir; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; /** * Tests {@link FileProfileActivator}. * */ class FileProfileActivatorTest extends AbstractProfileActivatorTest<FileProfileActivator> { @TempDir Path tempDir;
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 5.2K bytes - Viewed (0)