Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,466 for JOIN (0.04 sec)

  1. pkg/kubelet/logs/container_log_manager_test.go

    		"test-log.20180101-000000",
    		"test-log",
    	}
    	for i := range testLogs {
    		f, err := os.Create(filepath.Join(dir, testLogs[i]))
    		require.NoError(t, err)
    		f.Close()
    	}
    	got, err := GetAllLogs(filepath.Join(dir, "test-log"))
    	assert.NoError(t, err)
    	for i := range expectLogs {
    		expectLogs[i] = filepath.Join(dir, expectLogs[i])
    	}
    	assert.Equal(t, expectLogs, got)
    }
    
    func TestRotateLogs(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. 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)
  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. cmd/kubeadm/app/phases/copycerts/copycerts.go

    		kubeadmconstants.CACertName:                   filepath.Join(certsDir, kubeadmconstants.CACertName),
    		kubeadmconstants.CAKeyName:                    filepath.Join(certsDir, kubeadmconstants.CAKeyName),
    		kubeadmconstants.FrontProxyCACertName:         filepath.Join(certsDir, kubeadmconstants.FrontProxyCACertName),
    		kubeadmconstants.FrontProxyCAKeyName:          filepath.Join(certsDir, kubeadmconstants.FrontProxyCAKeyName),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 01 00:15:30 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  5. 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)
  6. misc/go_android_exec/main.go

    		return 0, err
    	}
    	var deviceCwd string
    	if isStd {
    		// Note that we use path.Join here instead of filepath.Join:
    		// The device paths should be slash-separated even if the go_android_exec
    		// wrapper itself is compiled for Windows.
    		deviceCwd = path.Join(deviceGoroot, "src", importPath)
    	} else {
    		deviceCwd = path.Join(deviceGopath, "src", importPath)
    		if modDir != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. pkg/kubelet/kubelet_getters.go

    	return filepath.Join(kl.getRootDir(), config.DefaultKubeletPluginsDirName)
    }
    
    // getPluginsRegistrationDir returns the full path to the directory under which
    // plugins socket should be placed to be registered.
    // More information is available about plugin registration in the pluginwatcher
    // module
    func (kl *Kubelet) getPluginsRegistrationDir() string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 00:48:07 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  10. 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)
Back to top