- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 3,045 for creading (0.12 sec)
-
cluster/images/etcd/migrate/data_dir.go
versionFile *VersionFile } // OpenOrCreateDataDirectory opens a data directory, creating the directory // if it doesn't not already exist. func OpenOrCreateDataDirectory(path string) (*DataDirectory, error) { exists, err := exists(path) if err != nil { return nil, err } if !exists { klog.Infof("data directory '%s' does not exist, creating it", path) err := os.MkdirAll(path, 0777) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 09 19:13:17 UTC 2021 - 5.2K bytes - Viewed (0) -
src/cmd/pprof/readlineui.go
} // ReadLine returns a line of text (a command) read from the user. // prompt is printed before reading the command. func (r *readlineUI) ReadLine(prompt string) (string, error) { r.term.SetPrompt(prompt) // skip error checking because we tested it // when creating this readlineUI initially. oldState, _ := term.MakeRaw(0) defer term.Restore(0, oldState) s, err := r.term.ReadLine()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 30 18:10:36 UTC 2023 - 3.3K bytes - Viewed (0) -
src/cmd/go/internal/imports/scan.go
r.Close() if err != nil { return nil, nil, fmt.Errorf("reading %s: %v", name, err) } // import "C" is implicit requirement of cgo tag. // When listing files on the command line (explicitFiles=true) // we do not apply build tag filtering but we still do apply // cgo filtering, so no explicitFiles check here. // Why? Because we always have, and it's not worth breaking // that behavior now. for _, path := range list {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 23 19:36:38 UTC 2020 - 2.6K bytes - Viewed (0) -
src/internal/filepathlite/path.go
} return originalPath + "." } rooted := IsPathSeparator(path[0]) // Invariants: // reading from path; r is index of next byte to process. // writing to buf; w is index of next byte to write. // dotdot is index in buf where .. must stop, either because // it is the leading slash or it is a leading ../../.. prefix. n := len(path) out := lazybuf{path: path, volAndPath: originalPath, volLen: volLen} r, dotdot := 0, 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:50 UTC 2024 - 5.8K bytes - Viewed (0) -
src/runtime/semasleep_test.go
// enough.) timeout := 10 * time.Second // The subprocess begins sleeping for 1s after it writes to stdout, so measure // the timeout from here (not from when we started creating the process). // That should reduce noise from process startup overhead. ready := time.Now() // With the repro running, we can continuously send to it // a signal that the runtime considers non-terminal,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 06 17:48:24 UTC 2023 - 3.5K bytes - Viewed (0) -
cni/pkg/nodeagent/server.go
config.QPS = 80 config.Burst = 160 }) if err != nil { return nil, fmt.Errorf("failed creating kube config: %v", err) } client, err := kube.NewClient(kube.NewClientConfigForRestConfig(kubeRestConfig), "") if err != nil { return nil, fmt.Errorf("failed creating kube client: %v", err) } return client, nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 21:45:18 UTC 2024 - 7.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper_test.go
serverURL, err := url.Parse(server.URL) if err != nil { t.Fatalf("error creating request: %s", err) } req, err := http.NewRequest("GET", server.URL, nil) if err != nil { t.Fatalf("error creating request: %s", err) } spdyTransport, err := NewRoundTripper(testCase.clientTLS) if err != nil { t.Fatalf("error creating SpdyRoundTripper: %v", err) } var proxierCalled bool
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 23 22:33:38 UTC 2023 - 32.7K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/nodeports/node_ports_test.go
node := v1.Node{} nodeInfo.SetNode(&node) p, err := New(ctx, nil, nil) if err != nil { t.Fatalf("creating plugin: %v", err) } cycleState := framework.NewCycleState() gotStatus := p.(framework.FilterPlugin).Filter(ctx, cycleState, pod, nodeInfo) wantStatus := framework.AsStatus(fmt.Errorf(`reading "PreFilterNodePorts" from cycleState: %w`, framework.ErrNotFound)) if !reflect.DeepEqual(gotStatus, wantStatus) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 19 11:02:11 UTC 2023 - 10.1K bytes - Viewed (0) -
src/sync/rwmutex.go
// // For example, atomic.AddInt32 in RLock should not appear to provide // acquire-release semantics, which would incorrectly synchronize racing // readers, thus potentially missing races. // RLock locks rw for reading. // // It should not be used for recursive read locking; a blocked Lock // call excludes new readers from acquiring the lock. See the // documentation on the [RWMutex] type. func (rw *RWMutex) RLock() { if race.Enabled {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 7.2K bytes - Viewed (0) -
cmd/kubeadm/app/componentconfigs/kubelet_windows.go
// Golang filepath.IsAbs() function returns false unless the path contains a drive letter. // This trips client-go and the kubelet, creating problems on Windows nodes. // Fixing it in client-go or the kubelet is a breaking change to existing Windows // users that rely on relative paths: // https://github.com/kubernetes/kubernetes/pull/77710#issuecomment-491989621 //
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 25 10:26:46 UTC 2024 - 3.1K bytes - Viewed (0)