Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,309 for JOIN (0.1 sec)

  1. src/os/stat_test.go

    	if err := os.WriteFile(file, []byte(""), 0644); err != nil {
    		t.Fatal(err)
    	}
    	testFileStats(t, file)
    
    	filelink := filepath.Join(tmpdir, "link")
    	if err := os.Symlink(file, filelink); err != nil {
    		t.Fatal(err)
    	}
    	testSymlinkStats(t, filelink, false)
    	testSymlinkSameFile(t, file, filelink)
    	testSymlinkSameFileOpen(t, filelink)
    
    	linklink := filepath.Join(tmpdir, "linklink")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:38:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. src/cmd/covdata/tool_test.go

    	emitFile(t, src, insrc)
    	indep := filepath.Join("testdata", "dep.go")
    	dep := filepath.Join(depdir, "dep.go")
    	emitFile(t, dep, indep)
    
    	// Emit go.mod.
    	mod := filepath.Join(subdir, "go.mod")
    	modsrc := "\nmodule " + mainPkgPath + "\n\ngo 1.19\n"
    	if err := os.WriteFile(mod, []byte(modsrc), 0666); err != nil {
    		t.Fatal(err)
    	}
    	exepath := filepath.Join(subdir, prog+".exe")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  3. cni/pkg/install/cniconfig_test.go

    					// Write delayed CNI config file
    					data, err := os.ReadFile(filepath.Join("testdata", c.delayedConfName))
    					if err != nil {
    						t.Fatal(err)
    					}
    					err = os.WriteFile(filepath.Join(tempDir, c.delayedConfName), data, 0o644)
    					if err != nil {
    						t.Fatal(err)
    					}
    					t.Logf("delayed write to %v", filepath.Join(tempDir, c.delayedConfName))
    				} else if len(c.expectedConfName) > 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. istioctl/pkg/ztunnelconfig/ztunnelconfig_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
    - 3.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/CollectionUtils.java

         *
         * <pre>
         * expect:
         * join(",", new Object[]{"a"}) == "a"
         * join(",", new Object[]{"a", "b", "c"}) == "a,b,c"
         * join(",", new Object[]{}) == ""
         * </pre>
         *
         * The {@code separator} must not be null and {@code objects} must not be null.
         *
         * @param separator The string by which to join each string representation
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  6. src/path/filepath/match_test.go

    	if err != nil {
    		return err
    	}
    	slices.Sort(have)
    	want := test.buildWant(root)
    	if strings.Join(want, "_") == strings.Join(have, "_") {
    		return nil
    	}
    	// try also matching version without root prefix
    	wantWithNoRoot := test.buildWant("")
    	if strings.Join(wantWithNoRoot, "_") == strings.Join(have, "_") {
    		return nil
    	}
    	return fmt.Errorf("Glob(%q) returns %q, but %q expected", p, have, want)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:38:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. src/cmd/go/internal/cfg/cfg.go

    	BuildContext.GOROOT = goroot
    
    	GOROOT = goroot
    	if goroot == "" {
    		GOROOTbin = ""
    		GOROOTpkg = ""
    		GOROOTsrc = ""
    	} else {
    		GOROOTbin = filepath.Join(goroot, "bin")
    		GOROOTpkg = filepath.Join(goroot, "pkg")
    		GOROOTsrc = filepath.Join(goroot, "src")
    	}
    
    	installedGOOS = runtime.GOOS
    	installedGOARCH = runtime.GOARCH
    	if isTestGo {
    		if testOS := os.Getenv("TESTGO_GOHOSTOS"); testOS != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/phases/join/preflight.go

    	"k8s.io/kubernetes/cmd/kubeadm/app/preflight"
    )
    
    var (
    	preflightExample = cmdutil.Examples(`
    		# Run join pre-flight checks using a config file.
    		kubeadm join phase preflight --config kubeadm-config.yaml
    		`)
    
    	notReadyToJoinControlPlaneTemp = template.Must(template.New("join").Parse(dedent.Dedent(`
    		One or more conditions for hosting a new control plane instance is not satisfied.
    
    		{{.Error}}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/componentconfigs/kubelet_windows_test.go

    					},
    				},
    			},
    			expected: &kubeletconfig.KubeletConfiguration{
    				ResolverConfig: ptr.To(""),
    				StaticPodPath:  filepath.Join(drive, "/foo/staticpods"),
    				Authentication: kubeletconfig.KubeletAuthentication{
    					X509: kubeletconfig.KubeletX509Authentication{
    						ClientCAFile: filepath.Join(drive, "/foo/ca.crt"),
    					},
    				},
    			},
    		},
    		{
    			name: "valid: some fields are not absolute paths",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 10:26:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. operator/cmd/mesh/manifest-generate_test.go

    	tmpDir := t.TempDir()
    	tmpCharts := chartSourceType(filepath.Join(tmpDir, operatorSubdirFilePath))
    	err := copyDir(string(liveCharts), string(tmpCharts))
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	rs, err := readFile(filepath.Join(testDataDir, "input-extra-resources", testResourceFile+".yaml"))
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 43.5K bytes
    - Viewed (0)
Back to top