Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,170 for JOIN (1.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  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. tensorflow/cc/training/coordinator_test.cc

      counter.Wait();
      TF_EXPECT_OK(coord.RequestStop());
      EXPECT_EQ(coord.Join().code(), absl::StatusCode::kInvalidArgument);
    }
    
    TEST(CoordinatorTest, JoinWithoutStop) {
      Coordinator coord;
      std::unique_ptr<MockQueueRunner> qr(new MockQueueRunner(&coord));
      TF_ASSERT_OK(coord.RegisterRunner(std::move(qr)));
    
      EXPECT_EQ(coord.Join().code(), Code::FAILED_PRECONDITION);
    }
    
    TEST(CoordinatorTest, AllRunnersStopped) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 23 09:10:43 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/kubelet/flags.go

    }
    
    // GetNodeNameAndHostname obtains the name for this Node using the following precedence
    // (from lower to higher):
    // - actual hostname
    // - NodeRegistrationOptions.Name (same as "--node-name" passed to "kubeadm init/join")
    // - "hostname-override" flag in NodeRegistrationOptions.KubeletExtraArgs
    // It also returns the hostname or an error if getting the hostname failed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 16 10:27:05 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top