Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 383 for tempdir (0.32 sec)

  1. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            final File tempDirFile = (File) LaServletContextUtil.getServletContext().getAttribute(CONTEXT_TEMPDIR_KEY);
            String tempDir = tempDirFile.getAbsolutePath();
            if (tempDir == null || tempDir.length() == 0) {
                tempDir = System.getProperty(JAVA_IO_TMPDIR_KEY);
            }
            return tempDir;
        }
    
        // ===================================================================================
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/bug/bug.go

    // printGlibcVersion prints information about the glibc version.
    // It ignores failures.
    func printGlibcVersion(w io.Writer) {
    	tempdir := os.TempDir()
    	if tempdir == "" {
    		return
    	}
    	src := []byte(`int main() {}`)
    	srcfile := filepath.Join(tempdir, "go-bug.c")
    	outfile := filepath.Join(tempdir, "go-bug")
    	err := os.WriteFile(srcfile, src, 0644)
    	if err != nil {
    		return
    	}
    	defer os.Remove(srcfile)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. src/runtime/vdso_test.go

    	if got := bytes.Count(out, []byte("gettime")); got >= calls {
    		t.Logf("found %d gettime calls, want < %d", got, calls)
    
    		// Try to double-check that a C program uses the VDSO.
    		tempdir := t.TempDir()
    		cfn := filepath.Join(tempdir, "time.c")
    		cexe := filepath.Join(tempdir, "time")
    		if err := os.WriteFile(cfn, []byte(vdsoCProgram), 0o644); err != nil {
    			t.Fatal(err)
    		}
    		cc := os.Getenv("CC")
    		if cc == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 17 19:47:47 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonRegistryUnavailableExpirationStrategyTest.groovy

        @Subject DaemonRegistryUnavailableExpirationStrategy expirationStrategy = new DaemonRegistryUnavailableExpirationStrategy(daemon)
        @Rule TestNameTestDirectoryProvider tempDir = new TestNameTestDirectoryProvider(getClass())
        File daemonDir = tempDir.createDir("test_daemon_dir")
    
        def "daemon should expire when registry file is unreachable"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. src/path/filepath/path_test.go

    	tmpdir := t.TempDir()
    
    	wd, err := os.Getwd()
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.Chdir(wd)
    
    	err = os.Chdir(tmpdir)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	err = mklink(tmpdir, "link")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	var visited []string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:38:19 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/container_manager_linux_test.go

    		t.Skip("skipping cgroup v1 test on a cgroup v2 system")
    	}
    	req := require.New(t)
    	tempDir, err := os.MkdirTemp("", "")
    	req.NoError(err)
    	defer os.RemoveAll(tempDir)
    	req.NoError(os.WriteFile(path.Join(tempDir, "cpu.cfs_period_us"), []byte("0"), os.ModePerm))
    	req.NoError(os.WriteFile(path.Join(tempDir, "cpu.cfs_quota_us"), []byte("0"), os.ModePerm))
    	mountInt := mount.NewFakeMounter(
    		[]mount.MountPoint{
    			{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

        }
    
        public void setOutputExtension(final String outputExtension) {
            this.outputExtension = outputExtension;
        }
    
        public void setTempDir(final File tempDir) {
            this.tempDir = tempDir;
        }
    
        public void setCommand(final String command) {
            this.command = command;
        }
    
        public void setExecutionTimeout(final long executionTimeout) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTestKitIntegrationTest.groovy

    import org.gradle.testkit.runner.GradleRunner
    import org.gradle.util.internal.TextUtil
    import spock.lang.Issue
    import spock.lang.TempDir
    
    @Requires(UnitTestPreconditions.NotWindows)
    class ConfigurationCacheTestKitIntegrationTest extends AbstractConfigurationCacheIntegrationTest {
    
        @TempDir
        File jacocoDestinationDir
    
        def "reports when a TestKit build runs with a Java agent and configuration caching enabled"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. platforms/software/security/src/test/groovy/org/gradle/security/internal/SecuritySupportSpec.groovy

    import org.junit.Rule
    import spock.lang.Issue
    import spock.lang.Specification
    
    class SecuritySupportSpec extends Specification {
        @Rule
        TestNameTestDirectoryProvider tempDir = new TestNameTestDirectoryProvider(getClass())
    
        def "strips data from saved keys on read"() {
            given:
            def keyringFile = new File(this.class.getResource("/keyrings/valid-with-extra-metadata.keys").getFile())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:42:50 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. src/cmd/go/go_test.go

    	// out of it.
    	tmpdir := hostLinkLine
    	i := strings.Index(tmpdir, `go.o"`)
    	if i == -1 {
    		t.Fatalf(`fail to find "go.o" in "host link:" line %q`, hostLinkLine)
    	}
    	tmpdir = tmpdir[:i-1]
    	i = strings.LastIndex(tmpdir, `"`)
    	if i == -1 {
    		t.Fatalf(`fail to find " in "host link:" line %q`, hostLinkLine)
    	}
    	tmpdir = tmpdir[i+1:]
    	// Verify that temp directory has been removed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
Back to top