Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,140 for filedata (0.55 sec)

  1. src/cmd/internal/archive/archive_test.go

    			if err != nil {
    				return err
    			}
    
    			go1obj := filepath.Join(buildDir, "go1.o")
    			go2obj := filepath.Join(buildDir, "go2.o")
    			goarchive := filepath.Join(buildDir, "go.a")
    			cgoarchive := ""
    
    			gotool, err := testenv.GoTool()
    			if err != nil {
    				return err
    			}
    
    			go1src := filepath.Join("testdata", "go1.go")
    			go2src := filepath.Join("testdata", "go2.go")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 02 19:27:33 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. pkg/util/filesystem/util_windows.go

    			klog.V(6).InfoS("Dialing the socket", "filePath", filePath)
    			var c net.Conn
    			c, lastSocketErr = net.Dial("unix", filePath)
    			if lastSocketErr == nil {
    				c.Close()
    				klog.V(6).InfoS("Socket dialed successfully", "filePath", filePath)
    				return true, nil
    			}
    			klog.V(6).InfoS("Failed the current attempt to dial the socket, so pausing before retry",
    				"filePath", filePath, "err", lastSocketErr, "socketDialRetryPeriod",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 17:13:59 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. src/os/tempfile_test.go

    			wantRePat := "^" + regexp.QuoteMeta(filepath.Join(dir, tt.wantPrefix)) + "[0-9]+" + regexp.QuoteMeta(tt.wantSuffix) + "$"
    			runTestMkdirTemp(t, tt.pattern, wantRePat)
    		})
    	}
    
    	// Separately testing "*xyz" (which has no prefix). That is when constructing the
    	// pattern to assert on, as in the previous loop, using filepath.Join for an empty
    	// prefix filepath.Join(dir, ""), produces the pattern:
    	//     ^<DIR>[0-9]+xyz$
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 20:45:37 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. cni/pkg/install/install_test.go

    			// Create existing config file if specified in test case
    			cniConfigFilePath := filepath.Join(cniNetDir, c.configFilename)
    			if err := file.AtomicCopy(filepath.Join("testdata", c.existingConfigFilename), cniNetDir, c.configFilename); err != nil {
    				t.Fatal(err)
    			}
    
    			// Create existing binary files
    			if err := os.WriteFile(filepath.Join(cniBinDir, "istio-cni"), []byte{1, 2, 3}, 0o755); err != nil {
    				t.Fatal(err)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/x86/pcrelative_test.go

    	err = os.WriteFile(filepath.Join(tmpdir, "go.mod"), []byte(fmt.Sprintf("module %s\n", mname)), 0666)
    	if err != nil {
    		t.Fatal(err)
    	}
    	tmpfile, err := os.Create(filepath.Join(tmpdir, "input.s"))
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer tmpfile.Close()
    	_, err = tmpfile.WriteString(source)
    	if err != nil {
    		t.Fatal(err)
    	}
    	tmpfile2, err := os.Create(filepath.Join(tmpdir, "input.go"))
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 23:16:01 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                throw new CrawlerSystemException("The uri is empty.");
            }
    
            String filePath = uri;
            if (!filePath.startsWith("file:")) {
                filePath = "file://" + filePath;
            }
    
            final StringBuilder buf = new StringBuilder(filePath.length() + 100);
            try {
                for (final char c : filePath.toCharArray()) {
                    if (c == ' ') {
                        buf.append("%20");
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

            responseData.setMethod(Constants.GET_METHOD);
            final String filePath = preprocessUri(uri);
            responseData.setUrl(filePath);
    
            SmbFile file = null;
            final SmbAuthentication smbAuthentication = smbAuthenticationHolder.get(filePath);
            if (logger.isDebugEnabled()) {
                logger.debug("Creating SmbFile: {}", filePath);
            }
            try {
                if (smbAuthentication == null) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu May 23 01:54:10 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. src/cmd/link/elf_test.go

    	if err != nil {
    		t.Skipf("can't find objcopy: %v", err)
    	}
    
    	dir := t.TempDir()
    
    	gopath := filepath.Join(dir, "GOPATH")
    	env := append(os.Environ(), "GOPATH="+gopath)
    
    	if err := os.WriteFile(filepath.Join(dir, "go.mod"), []byte("module elf_test\n"), 0666); err != nil {
    		t.Fatal(err)
    	}
    
    	asmFile := filepath.Join(dir, "x.s")
    	if err := os.WriteFile(asmFile, []byte(asmSource), 0444); err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 16:34:01 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  9. src/internal/abi/abi_test.go

    	// Run the assembler and compiler manually.
    	tmpdir := t.TempDir()
    	asmSrc := filepath.Join("testdata", "x.s")
    	goSrc := filepath.Join("testdata", "x.go")
    	symabi := filepath.Join(tmpdir, "symabi")
    	obj := filepath.Join(tmpdir, "x.o")
    
    	// Write an importcfg file for the dependencies of the package.
    	importcfgfile := filepath.Join(tmpdir, "hello.importcfg")
    	testenv.WriteImportcfg(t, importcfgfile, nil, "internal/abi")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. src/cmd/internal/bootstrap_test/experiment_toolid_test.go

    	// Set up GOROOT.
    	goroot := t.TempDir()
    	gorootSrc := filepath.Join(goroot, "src")
    	if err := overlayDir(gorootSrc, filepath.Join(realGoroot, "src")); err != nil {
    		t.Fatal(err)
    	}
    	gorootLib := filepath.Join(goroot, "lib")
    	if err := overlayDir(gorootLib, filepath.Join(realGoroot, "lib")); err != nil {
    		t.Fatal(err)
    	}
    	if err := os.WriteFile(filepath.Join(goroot, "VERSION"), []byte("go1.999"), 0666); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 18:47:14 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top