Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 771 for JOIN (0.03 sec)

  1. src/cmd/go/script_test.go

    	telemetryDir = filepath.Join(work, "telemetry")
    	must(os.MkdirAll(telemetryDir, 0777))
    	must(s.Setenv("TEST_TELEMETRY_DIR", filepath.Join(work, "telemetry")))
    
    	must(os.MkdirAll(filepath.Join(work, "tmp"), 0777))
    	must(s.Setenv(tempEnvName(), filepath.Join(work, "tmp")))
    
    	gopath := filepath.Join(work, "gopath")
    	must(s.Setenv("GOPATH", gopath))
    	gopathSrc := filepath.Join(gopath, "src")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/testing/fstest/testfs_test.go

    func TestSymlink(t *testing.T) {
    	testenv.MustHaveSymlink(t)
    
    	tmp := t.TempDir()
    	tmpfs := os.DirFS(tmp)
    
    	if err := os.WriteFile(filepath.Join(tmp, "hello"), []byte("hello, world\n"), 0644); err != nil {
    		t.Fatal(err)
    	}
    
    	if err := os.Symlink(filepath.Join(tmp, "hello"), filepath.Join(tmp, "hello.link")); err != nil {
    		t.Fatal(err)
    	}
    
    	if err := TestFS(tmpfs, "hello", "hello.link"); err != nil {
    		t.Fatal(err)
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. src/os/os_windows_test.go

    	chdir(t, tmpdir)
    
    	dir := filepath.Join(tmpdir, "dir")
    	err := os.Mkdir(dir, 0777)
    	if err != nil {
    		t.Fatal(err)
    	}
    	fi, err := os.Stat(dir)
    	if err != nil {
    		t.Fatal(err)
    	}
    	err = os.WriteFile(filepath.Join(dir, "abc"), []byte("abc"), 0644)
    	if err != nil {
    		t.Fatal(err)
    	}
    	for _, test := range tests {
    		link := filepath.Join(tmpdir, test.name+"_link")
    		err := test.mklink(link, dir)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  4. callbacks/preload.go

    	}
    	sort.Strings(preloadNames)
    
    	isJoined := func(name string) (joined bool, nestedJoins []string) {
    		for _, join := range joins {
    			if _, ok := relationships.Relations[join]; ok && name == join {
    				joined = true
    				continue
    			}
    			joinNames := strings.SplitN(join, ".", 2)
    			if len(joinNames) == 2 {
    				if _, ok := relationships.Relations[joinNames[0]]; ok && name == joinNames[0] {
    					joined = true
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelSourceDirectoryExcludeIncludePatternCrossVersionSpec.groovy

        }
    
        def "Source folder has exclude and include patterns defined"() {
            setup:
            def excludePatterns = excludes.collect { "exclude '$it'" }.join('\n')
            def includePatterns = includes.collect { "include '$it'" }.join('\n')
            settingsFile << 'rootProject.name = "root"'
            buildFile <<
            """apply plugin: 'java'
               sourceSets {
                   main {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. istioctl/pkg/proxyconfig/proxyconfig_test.go

    		t.Fatalf("Unexpected output for 'istioctl %s'\n got: %q\nwant: %q", strings.Join(c.args, " "), output, c.expectedOutput)
    	}
    
    	if c.expectedString != "" && !strings.Contains(output, c.expectedString) {
    		t.Fatalf("Output didn't match for '%s %s'\n got %v\nwant: %v", cmd.Name(), strings.Join(c.args, " "), output, c.expectedString)
    	}
    
    	if c.wantException {
    		if fErr == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 21:51:29 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. pkg/kubelet/apis/config/helpers_test.go

    		if len(missing) > 0 {
    			t.Errorf("the following fields were expected, but missing from the result:\n%s", strings.Join(sets.List(missing), "\n"))
    		}
    		if len(unexpected) > 0 {
    			t.Errorf("the following fields were in the result, but unexpected:\n%s", strings.Join(sets.List(unexpected), "\n"))
    		}
    	}
    }
    
    var (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go

    			var fileNames []string
    			if m.BuildID != "" {
    				fileNames = []string{filepath.Join(path, m.BuildID, baseName)}
    				if matches, err := filepath.Glob(filepath.Join(path, m.BuildID, "*")); err == nil {
    					fileNames = append(fileNames, matches...)
    				}
    				fileNames = append(fileNames, filepath.Join(path, noVolumeFile, m.BuildID)) // perf path format
    				// Llvm buildid protocol: the first two characters of the build id
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. src/path/filepath/path.go

    func Split(path string) (dir, file string) {
    	return filepathlite.Split(path)
    }
    
    // Join joins any number of path elements into a single path,
    // separating them with an OS specific [Separator]. Empty elements
    // are ignored. The result is Cleaned. However, if the argument
    // list is empty or all its elements are empty, Join returns
    // an empty string.
    // On Windows, the result will only be a UNC path if the first
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  10. cmd/kube-apiserver/app/testing/testserver.go

    		// write the key to disk
    		privateKeyPath := filepath.Join(s.SecureServing.ServerCert.CertDirectory, "misty-crt.key")
    		encodedPrivateKey, err := keyutil.MarshalPrivateKeyToPEM(signer)
    		if err != nil {
    			return result, err
    		}
    		if err := keyutil.WriteKey(privateKeyPath, encodedPrivateKey); err != nil {
    			return result, err
    		}
    
    		s.ProxyClientKeyFile = filepath.Join(s.SecureServing.ServerCert.CertDirectory, "misty-crt.key")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top