Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,170 for JOIN (0.06 sec)

  1. src/os/example_test.go

    	if err != nil {
    		log.Fatal(err)
    	}
    	defer os.RemoveAll(d)
    	targetPath := filepath.Join(d, "hello.txt")
    	if err := os.WriteFile(targetPath, []byte("Hello, Gophers!"), 0644); err != nil {
    		log.Fatal(err)
    	}
    	linkPath := filepath.Join(d, "hello.link")
    	if err := os.Symlink("hello.txt", filepath.Join(d, "hello.link")); err != nil {
    		if errors.Is(err, errors.ErrUnsupported) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 17:35:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. operator/pkg/manifest/shared_test.go

    			wantErr:  false,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(fmt.Sprintf("%s stdin=%v", tt.name, tt.stdin), func(t *testing.T) {
    			inDir := filepath.Join(testDataDir, "input")
    			outPath := filepath.Join(testDataDir, "output", tt.name+".yaml")
    			wantBytes, err := os.ReadFile(outPath)
    			want := string(wantBytes)
    			if err != nil {
    				t.Errorf("os.ReadFile() error = %v, filename: %v", err, outPath)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 23 16:28:53 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/legacy_test.go

    			shouldError: true,
    		},
    		{
    			name:        "invalid suffix",
    			logSymLink:  filepath.Join(legacyContainerLogsDir, fmt.Sprintf("%s_%s_%s-%s", podName, podNamespace, containerName, containerID)[:251]+".invalidsuffix"),
    			expected:    "",
    			shouldError: true,
    		},
    		{
    			name:        "container ID too short",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 12:34:58 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. cni/pkg/plugin/plugin_dryrun_test.go

    			proxyEnv: []corev1.EnvVar{},
    			golden:   filepath.Join(env.IstioSrc, "cni/pkg/plugin/testdata/include-exclude-ports.txt.golden"),
    		},
    		{
    			name: "tproxy",
    			annotations: map[string]string{
    				annotation.SidecarStatus.Name:           "true",
    				annotation.SidecarInterceptionMode.Name: redirectModeTPROXY,
    			},
    			proxyEnv: []corev1.EnvVar{},
    			golden:   filepath.Join(env.IstioSrc, "cni/pkg/plugin/testdata/tproxy.txt.golden"),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/self_test.go

    	for _, p := range []string{
    		filepath.Join("src", "net", "http"),
    		filepath.Join("src", "go", "parser"),
    		filepath.Join("src", "go", "constant"),
    		filepath.Join("src", "runtime"),
    		filepath.Join("src", "go", "internal", "gcimporter"),
    	} {
    		b.Run(path.Base(p), func(b *testing.B) {
    			path := filepath.Join(runtime.GOROOT(), p)
    			for _, ignoreFuncBodies := range []bool{false, true} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 19:39:00 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. pkg/test/framework/components/istio/eastwest.go

    )
    
    var (
    	mcSamples              = path.Join(env.IstioSrc, "samples", "multicluster")
    	exposeIstiodGateway    = path.Join(mcSamples, "expose-istiod.yaml")
    	exposeIstiodGatewayRev = path.Join(mcSamples, "expose-istiod-rev.yaml.tmpl")
    	exposeServicesGateway  = path.Join(mcSamples, "expose-services.yaml")
    	genGatewayScript       = path.Join(mcSamples, "gen-eastwest-gateway.sh")
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Nov 10 02:30:20 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. tools/bug-report/pkg/config/config.go

    			st += fmt.Sprintf("Namespaces: %s", strings.Join(ss.Namespaces, ","))
    		}
    		if !defaultListSetting(ss.Deployments) {
    			st += fmt.Sprintf("/Deployments: %s", strings.Join(ss.Deployments, ","))
    		}
    		if !defaultListSetting(ss.Pods) {
    			st += fmt.Sprintf("/Pods:%s", strings.Join(ss.Pods, ","))
    		}
    		if !defaultListSetting(ss.Containers) {
    			st += fmt.Sprintf("/Containers: %s", strings.Join(ss.Containers, ","))
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Nov 04 12:07:50 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  8. tensorflow/cc/training/coordinator.h

    #include "tensorflow/core/protobuf/error_codes.pb.h"
    
    namespace tensorflow {
    
    /// The abstract interface for runners which must implement the Join and the
    /// IsRunning function.
    class RunnerInterface {
     public:
      virtual ~RunnerInterface() {}
      virtual Status Join() = 0;
      virtual Status ExportCostGraph(CostGraphDef* cost_graph) const {
        return Status(absl::StatusCode::kInvalidArgument,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 08:49:52 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  9. src/cmd/internal/quoted/quoted.go

    			i++
    		}
    		f = append(f, s[:i])
    		s = s[i:]
    	}
    	return f, nil
    }
    
    // Join joins a list of arguments into a string that can be parsed
    // with Split. Arguments are quoted only if necessary; arguments
    // without spaces or quotes are kept as-is. No argument may contain both
    // single and double quotes.
    func Join(args []string) (string, error) {
    	var buf []byte
    	for i, arg := range args {
    		if i > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 21:04:06 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  10. pkg/file/file_test.go

    	t.Helper()
    	d := t.TempDir()
    	if err := os.WriteFile(filepath.Join(d, "in"), []byte("hello world"), 0o750); err != nil {
    		t.Fatal(err)
    	}
    	if err := copyFn(filepath.Join(d, "in"), d, "out"); err != nil {
    		t.Fatal(err)
    	}
    	f, err := os.Open(filepath.Join(d, "out"))
    	if err != nil {
    		t.Fatal(err)
    	}
    	m, _ := f.Stat()
    	// Mode should be copied
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 11 19:10:54 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top