- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 948 for tempdir (0.12 sec)
-
src/cmd/link/link_test.go
} tmpdir := t.TempDir() xSrc := filepath.Join(tmpdir, "x.go") pSrc := filepath.Join(tmpdir, "p.go") xObj := filepath.Join(tmpdir, "x.o") pObj := filepath.Join(tmpdir, "p.o") exe := filepath.Join(tmpdir, "x.exe") importcfgfile := filepath.Join(tmpdir, "importcfg") testenv.WriteImportcfg(t, importcfgfile, map[string]string{"p": pObj})
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:02 UTC 2024 - 43.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/IoTestCase.java
* the tear-down for this test. Subsequent invocations of this method will return the same * directory. */ protected final File getTempDir() throws IOException { if (tempDir == null) { tempDir = createTempDir(); } return tempDir; } /** * Creates a new temp file in the temp directory returned by {@link #getTempDir()}. The file will * be deleted in the tear-down for this test. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 31 12:36:13 UTC 2024 - 5.6K bytes - Viewed (0) -
tests/fuzz/utils/utils.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Nov 30 15:31:14 UTC 2022 - 1.1K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/incubating/build-organization/publishing-convention-plugins/groovy/convention-plugins/src/test/groovy/com/myorg/PluginTest.groovy
package com.myorg import org.gradle.testkit.runner.GradleRunner import spock.lang.Specification import spock.lang.TempDir abstract class PluginTest extends Specification { @TempDir File testProjectDir File settingsFile File buildFile def setup() { settingsFile = new File(testProjectDir, 'settings.gradle').tap { it << "rootProject.name = 'test'" } buildFile = new File(testProjectDir, 'build.gradle')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 947 bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow_to_stablehlo/python/integration_test/tensorflow_to_stablehlo_test.py
model.compile(optimizer='sgd', loss='mse') model.fit(x_train, y_train, epochs=1) path = tempdir + '/add_one_model' model.save(path) return path class TensorflowToStableHLOTest(test.TestCase): def test_saved_model_to_stablehlo(self): with tempfile.TemporaryDirectory() as tempdir: path = build_savedmodel(tempdir) module_bytecode = tensorflow_to_stablehlo.savedmodel_to_stablehlo(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 22:58:42 UTC 2024 - 2.7K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/tasks/incrementalBuild-customTaskClass/groovy/build.gradle
from processTemplates } // end::inferred-task-dep-via-task[] // tag::adhoc-destroyable-task[] tasks.register('removeTempDir') { def tempDir = layout.projectDirectory.dir('tmpDir') destroyables.register(tempDir) doLast { tempDir.asFile.deleteDir() } } // end::adhoc-destroyable-task[] tasks.named('build') {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 3.7K bytes - Viewed (0) -
pkg/ctrlz/topics/proc.go
Hostname string `json:"hostname"` TempDir string `json:"tempdir"` Threads int `json:"threads"` Goroutines int `json:"goroutines"` } func getProcInfo() *procInfo { pi := procInfo{ Egid: os.Getegid(), Euid: os.Geteuid(), GID: os.Getgid(), Pid: os.Getpid(), Ppid: os.Getppid(), UID: os.Getuid(), TempDir: os.TempDir(),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 14:06:41 UTC 2023 - 2.3K bytes - Viewed (0) -
src/io/ioutil/ioutil_test.go
} // We don't want to use TempFile directly, since that opens a file for us as 0600. tempDir, err := TempDir("", t.Name()) if err != nil { t.Fatalf("TempDir %s: %v", t.Name(), err) } defer os.RemoveAll(tempDir) filename := filepath.Join(tempDir, "blurp.txt") shmorp := []byte("shmorp") florp := []byte("florp") err = WriteFile(filename, shmorp, 0444) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 20:56:32 UTC 2023 - 3.2K bytes - Viewed (0) -
src/syscall/syscall_unix_test.go
} flock := syscall.Flock_t{ Type: syscall.F_WRLCK, Start: 31415, Len: 271828, Whence: 1, } if os.Getenv("GO_WANT_HELPER_PROCESS") == "" { // parent tempDir := t.TempDir() name := filepath.Join(tempDir, "TestFcntlFlock") fd, err := syscall.Open(name, syscall.O_CREAT|syscall.O_RDWR|syscall.O_CLOEXEC, 0) if err != nil { t.Fatalf("Open failed: %v", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 29 16:24:51 UTC 2022 - 9.4K bytes - Viewed (0) -
cmd/os-readdir_test.go
// Add empty entry slice for this test directory. testResults = append(testResults, result{t.TempDir(), []string{}}) return testResults } // Test to read non-empty directory with only files. func setupTestReadDirFiles(t *testing.T) (testResults []result) { dir := t.TempDir() entries := []string{} for i := 0; i < 10; i++ { name := fmt.Sprintf("file-%d", i)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 7.5K bytes - Viewed (0)