- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 2,466 for JOIN (0.31 sec)
-
src/cmd/internal/obj/x86/obj6_test.go
testdata := parseTestData(t) asmout := asmOutput(t, testdata.input) parseOutput(t, testdata, asmout) for _, m := range testdata.marks { i := strings.Join(testdata.marker_to_input[m], "; ") o := strings.Join(testdata.marker_to_output[m], "; ") e := strings.Join(testdata.marker_to_expected[m], "; ") if o != e { if o == i { t.Errorf("%s was unchanged; should have become %s", i, e) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 20:21:30 UTC 2022 - 4.5K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/util/documentation.go
output = append(output, strings.Join(paragraph, " ")) paragraph = []string{} } } } // The last paragraph is always unflushed, so flush it. // We don't add a trailing newline character, so that we won't have to strip the output. output = append(output, strings.Join(paragraph, " ")) // Join all the paragraphs together with new lines in between them. return strings.Join(output, "\n") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 24 11:40:55 UTC 2019 - 4.4K bytes - Viewed (0) -
src/cmd/go/internal/lockedfile/lockedfile_test.go
// Q.3 locks file B. b, err := lockedfile.Edit(filepath.Join(dir, "B")) if err != nil { t.Fatal(err) } defer b.Close() if err := os.WriteFile(filepath.Join(dir, "locked"), []byte("ok"), 0666); err != nil { t.Fatal(err) } // Q.3 blocks on file A. a, err := lockedfile.Edit(filepath.Join(dir, "A")) // Q.3 unblocks and locks file A. if err != nil { t.Fatal(err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:29 UTC 2023 - 5.7K bytes - Viewed (0) -
pkg/filewatcher/filewatcher_test.go
// Now, symlink the tmp `data1` dir to `data` in the baseDir os.Symlink(dataDir1, path.Join(watchDir, "data")) // And link the `<watchdir>/datadir/test.conf` to `<watchdir>/test.conf` watchFile := path.Join(watchDir, "test.conf") os.Symlink(path.Join(watchDir, "data", "test.conf"), watchFile) fmt.Printf("Watch file location: %s\n", path.Join(watchDir, "test.conf")) return watchDir, watchFile } func TestWatchFile(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 7.9K bytes - Viewed (0) -
src/path/filepath/path_windows.go
// path element to avoid creating a UNC path (any path starting with "\\") // from non-UNC elements. // // The correct behavior for Join when the first element is an incomplete UNC // path (for example, "\\") is underspecified. We currently join subsequent // elements so Join("\\", "host", "share") produces "\\host\share". for len(e) > 0 && os.IsPathSeparator(e[0]) { e = e[1:] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:50 UTC 2024 - 3K bytes - Viewed (0) -
pkg/kubelet/volumemanager/reconciler/reconstruct_test.go
}{ { name: "when two pods are using same volume and both are deleted", volumePaths: []string{ filepath.Join("pod1", "volumes", "fake-plugin", "pvc-abcdef"), filepath.Join("pod2", "volumes", "fake-plugin", "pvc-abcdef"), }, expectedVolumesNeedDevicePath: []string{"fake-plugin/pvc-abcdef", "fake-plugin/pvc-abcdef"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.8K bytes - Viewed (0) -
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) -
src/os/example_test.go
if err != nil { log.Fatal(err) } defer os.RemoveAll(d) targetPath := filepath.Join(d, "hello.txt") if err := os.WriteFile(targetPath, []byte("Hello, Gophers!"), 0644); err != nil { log.Fatal(err) } linkPath := filepath.Join(d, "hello.link") if err := os.Symlink("hello.txt", filepath.Join(d, "hello.link")); err != nil { if errors.Is(err, errors.ErrUnsupported) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 17:35:49 UTC 2024 - 8.4K bytes - Viewed (0) -
operator/pkg/manifest/shared_test.go
wantErr: false, }, } for _, tt := range tests { t.Run(fmt.Sprintf("%s stdin=%v", tt.name, tt.stdin), func(t *testing.T) { inDir := filepath.Join(testDataDir, "input") outPath := filepath.Join(testDataDir, "output", tt.name+".yaml") wantBytes, err := os.ReadFile(outPath) want := string(wantBytes) if err != nil { t.Errorf("os.ReadFile() error = %v, filename: %v", err, outPath)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 23 16:28:53 UTC 2023 - 4.3K bytes - Viewed (0) -
cni/pkg/plugin/plugin_dryrun_test.go
proxyEnv: []corev1.EnvVar{}, golden: filepath.Join(env.IstioSrc, "cni/pkg/plugin/testdata/include-exclude-ports.txt.golden"), }, { name: "tproxy", annotations: map[string]string{ annotation.SidecarStatus.Name: "true", annotation.SidecarInterceptionMode.Name: redirectModeTPROXY, }, proxyEnv: []corev1.EnvVar{}, golden: filepath.Join(env.IstioSrc, "cni/pkg/plugin/testdata/tproxy.txt.golden"),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Feb 10 00:31:55 UTC 2024 - 8.4K bytes - Viewed (0)