Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for joinTo (2.96 sec)

  1. src/cmd/internal/testdir/testdir_test.go

    		for _, pkg := range pkgs {
    			pkgpath := path.Join("test", strings.TrimSuffix(pkg.files[0], ".go"))
    			cfg += "\npackagefile " + pkgpath + "=" + filepath.Join(tempDir, pkgpath+".a")
    		}
    		filename := filepath.Join(tempDir, "importcfg")
    		err := os.WriteFile(filename, []byte(cfg), 0644)
    		if err != nil {
    			t.Fatal(err)
    		}
    		return filename
    	}
    
    	long := filepath.Join(t.gorootTestDir, t.goFileName())
    	switch action {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  2. src/go/build/build.go

    	// behaviors that use the local file system, so clients need only set
    	// the functions whose behaviors they wish to change.
    
    	// JoinPath joins the sequence of path fragments into a single path.
    	// If JoinPath is nil, Import uses filepath.Join.
    	JoinPath func(elem ...string) string
    
    	// SplitPathList splits the path list into a slice of individual paths.
    	// If SplitPathList is nil, Import uses filepath.SplitList.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuter.java

                if (args.length == 0) {
                    // Default arguments to pass to the java agent
                    joinedArgs = "http=19999";
                } else {
                    joinedArgs = Joiner.on(',').join(args);
                }
                withBuildJvmOpts("-javaagent:" + leakDetectorJar + "=" + joinedArgs);
            });
    
            return this;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modload/init.go

    			if com := findImportComment(filepath.Join(dir, info.Name())); com != "" {
    				return com, nil
    			}
    		}
    	}
    	for _, info1 := range list {
    		if info1.IsDir() {
    			files, _ := os.ReadDir(filepath.Join(dir, info1.Name()))
    			for _, info2 := range files {
    				if info2.Type().IsRegular() && strings.HasSuffix(info2.Name(), ".go") {
    					if com := findImportComment(filepath.Join(dir, info1.Name(), info2.Name())); com != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  5. cluster/gce/windows/k8s-node-setup.psm1

      Log-Output "kubelet_args from metadata: ${kubelet_args}"
    
      # To join GCE instances to AD, we need to shorten their names, as NetBIOS name
      # must be <= 15 characters, and GKE generated names are longer than that.
      # To perform the join in an automated way, it's preferable to apply the rename
      # and domain join in the GCESysprep step. However, after sysprep is complete
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  6. cmd/erasure-healing_test.go

    	}
    
    	for _, drive := range fsDirs {
    		dir := path.Join(drive, bucket, object, uuid.String())
    		_, err := os.ReadFile(pathJoin(dir, "part.1"))
    		if err == nil {
    			t.Fatal("expected data dit to be cleaned up")
    		}
    	}
    
    	// Remove the bucket - to simulate the case where bucket was
    	// created when the disk was down.
    	err = os.RemoveAll(path.Join(fsDirs[0], bucket))
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  7. src/cmd/dist/test.go

    	cmd := exec.Command(bin, args...)
    	if filepath.IsAbs(dir) {
    		setDir(cmd, dir)
    	} else {
    		setDir(cmd, filepath.Join(goroot, dir))
    	}
    	cmd.Stdout = os.Stdout
    	cmd.Stderr = os.Stderr
    	if vflag > 1 {
    		errprintf("%s\n", strings.Join(cmd.Args, " "))
    	}
    	return cmd
    }
    
    // flattenCmdline flattens a mixture of string and []string as single list
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/rbac/v1beta1/generated.pb.go

    	s := strings.Join([]string{`&ClusterRoleList{`,
    		`ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
    		`Items:` + repeatedStringForItems + `,`,
    		`}`,
    	}, "")
    	return s
    }
    func (this *PolicyRule) String() string {
    	if this == nil {
    		return "nil"
    	}
    	s := strings.Join([]string{`&PolicyRule{`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/rbac/v1alpha1/generated.pb.go

    	s := strings.Join([]string{`&ClusterRoleList{`,
    		`ListMeta:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.ListMeta), "ListMeta", "v1.ListMeta", 1), `&`, ``, 1) + `,`,
    		`Items:` + repeatedStringForItems + `,`,
    		`}`,
    	}, "")
    	return s
    }
    func (this *PolicyRule) String() string {
    	if this == nil {
    		return "nil"
    	}
    	s := strings.Join([]string{`&PolicyRule{`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  10. pkg/volume/csi/csi_mounter_test.go

    	}{
    		{
    			name:           "simple specName",
    			specVolumeName: "spec-0",
    			path:           filepath.Join(tmpDir, fmt.Sprintf("pods/%s/volumes/kubernetes.io~csi/%s/%s", testPodUID, "spec-0", "/mount")),
    		},
    		{
    			name:           "specName with dots",
    			specVolumeName: "test.spec.1",
    			path:           filepath.Join(tmpDir, fmt.Sprintf("pods/%s/volumes/kubernetes.io~csi/%s/%s", testPodUID, "test.spec.1", "/mount")),
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 50.1K bytes
    - Viewed (0)
Back to top