- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 2,466 for JOIN (0.1 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/scalaapplication/multi/utilities/StringUtils.scala.template
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 19:39:09 UTC 2023 - 295 bytes - Viewed (0) -
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)