Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 2,466 for JOIN (0.04 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/util.go

    		servingString = fmt.Sprintf(" validServingFor=[%s]", strings.Join(validServingNames, ","))
    	}
    
    	groupString := ""
    	if len(certificate.Subject.Organization) > 0 {
    		groupString = fmt.Sprintf(" groups=[%s]", strings.Join(certificate.Subject.Organization, ","))
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 21 07:29:30 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/global_test.go

    	dir := t.TempDir()
    
    	// Create source.
    	src := filepath.Join(dir, "test.go")
    	f, err := os.Create(src)
    	if err != nil {
    		t.Fatalf("could not create source file: %v", err)
    	}
    	f.Write([]byte(`
    package main
    import "fmt"
    func main() {
    	fmt.Println("hello world")
    }
    `))
    	f.Close()
    
    	// Name of destination.
    	dst := filepath.Join(dir, "test")
    
    	// Compile source.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 18:07:35 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. pkg/test/cert/ca/root.go

    func NewRoot(workDir string) (Root, error) {
    	root := Root{
    		KeyFile:  filepath.Join(workDir, "root-key.pem"),
    		ConfFile: filepath.Join(workDir, "root-ca.conf"),
    		CSRFile:  filepath.Join(workDir, "root-ca.csr"),
    		CertFile: filepath.Join(workDir, "root-cert.pem"),
    	}
    
    	// Write out the conf file.
    	if err := os.WriteFile(root.ConfFile, []byte(rootCAConf), os.ModePerm); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 03 18:09:59 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  4. src/cmd/link/internal/ld/ld_test.go

    		t.Skip("no need for test on " + pair)
    	}
    	switch runtime.GOOS {
    	case "openbsd", "windows":
    		t.Skip("c-archive unsupported")
    	}
    	dir := t.TempDir()
    
    	srcfile := filepath.Join(dir, "test.go")
    	arfile := filepath.Join(dir, "test.a")
    	if err := os.WriteFile(srcfile, []byte(carchiveSrcText), 0666); err != nil {
    		t.Fatal(err)
    	}
    
    	ldf := fmt.Sprintf("-ldflags=-v -tmpdir=%s", dir)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 05:45:53 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  5. src/cmd/doc/dirs.go

    				if root.inModule {
    					if name == "vendor" {
    						continue
    					}
    					if fi, err := os.Stat(filepath.Join(dir, name, "go.mod")); err == nil && !fi.IsDir() {
    						continue
    					}
    				}
    				// Remember this (fully qualified) directory for the next pass.
    				next = append(next, filepath.Join(dir, name))
    			}
    			if hasGoFiles {
    				// It's a candidate.
    				importPath := root.importPath
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 17:49:12 UTC 2022
    - 9K 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. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/scalaapplication/multi/utilities/StringUtils.scala.template

    ${fileComment.multilineComment}${packageDecl.statement}
    import ${basePackagePrefix.raw}list.LinkedList
    
    object StringUtils {
        def join(source: LinkedList): String = {
            JoinUtils.join(source)
        }
    
        def split(source: String): LinkedList = {
            SplitUtils.split(source)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 19:39:09 UTC 2023
    - 295 bytes
    - Viewed (0)
  8. 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)
  9. pkg/test/prow/util.go

    		return filename
    	}
    	name := "artifacts/" + strings.TrimPrefix(filename, artifacts+"/")
    	if jobType == "presubmit" {
    		return join(artifactsBase, "pr-logs/pull", fmt.Sprintf("%s_%s", repoOwner, repoName), pullNumber, jobName, buildID, name)
    	}
    	return join(artifactsBase, "logs", jobName, buildID, name)
    }
    
    func join(base string, elem ...string) string {
    	res, _ := url.JoinPath(base, elem...)
    	return res
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. 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)
Back to top