Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 2,466 for JOIN (0.04 sec)

  1. istioctl/pkg/proxystatus/proxystatus_test.go

    		t.Fatalf("Unexpected output for 'istioctl %s'\n got: %q\nwant: %q", strings.Join(c.args, " "), output, c.expectedOutput)
    	}
    
    	if c.expectedString != "" && !strings.Contains(output, c.expectedString) {
    		t.Fatalf("Output didn't match for '%s %s'\n got %v\nwant: %v", cmd.Name(), strings.Join(c.args, " "), output, c.expectedString)
    	}
    
    	if c.wantException {
    		if fErr == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 08:28:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/nooptcgolink_test.go

    	}
    	t.Parallel()
    
    	testenv.MustHaveGoBuild(t)
    	testenv.MustHaveCGO(t)
    	dir := t.TempDir()
    	cmd := testenv.Command(t, testenv.GoToolPath(t), "build", "-gcflags=-N -l", "-o", filepath.Join(dir, "a.out"))
    	cmd.Dir = filepath.Join(testenv.GOROOT(t), "src", "runtime", "testdata", "testprogcgo")
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Logf("go build output: %s", out)
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:22:14 UTC 2022
    - 733 bytes
    - Viewed (0)
  3. src/os/exec/dot_test.go

    	testenv.MustHaveExec(t)
    	// Not parallel: uses Chdir and Setenv.
    
    	tmpDir := filepath.Join(t.TempDir(), "testdir")
    	if err := os.Mkdir(tmpDir, 0777); err != nil {
    		t.Fatal(err)
    	}
    
    	executable := "execabs-test"
    	if runtime.GOOS == "windows" {
    		executable += ".exe"
    	}
    	if err := os.WriteFile(filepath.Join(tmpDir, executable), []byte{1, 2, 3}, 0777); err != nil {
    		t.Fatal(err)
    	}
    	chdir(t, tmpDir)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 18:19:21 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  4. pkg/kubelet/kubeletconfig/configfiles/configfiles_test.go

    func TestResolveRelativePaths(t *testing.T) {
    	absolutePath := filepath.Join(configDir, "absolute")
    	cases := []struct {
    		desc          string
    		path          string
    		expect        string
    		skipOnWindows bool
    	}{
    		{"empty path", "", "", false},
    		{"absolute path", absolutePath, absolutePath, true},
    		{"relative path", relativePath, filepath.Join(configDir, relativePath), false},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 18 12:18:41 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  5. src/go/types/stdlib_test.go

    		// cmd/distpack also requires GOROOT/VERSION to exist, so use that to
    		// suppress false-positive skips.
    		if _, err := os.Stat(filepath.Join(testenv.GOROOT(t), "test")); os.IsNotExist(err) {
    			if _, err := os.Stat(filepath.Join(testenv.GOROOT(t), "VERSION")); err == nil {
    				t.Skipf("skipping: GOROOT/test not present")
    			}
    		}
    		t.Fatal(err)
    	}
    
    	excluded := make(map[string]bool)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 04:39:56 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/CollectionUtilsTest.groovy

        def "joining"() {
            expect:
            join(",", [1, 2, 3]) == "1,2,3"
            join(",", [1]) == "1"
            join(",", []) == ""
    
            and:
            join(",", [1, 2, 3].toArray()) == "1,2,3"
            join(",", [1].toArray()) == "1"
            join(",", [].toArray()) == ""
        }
    
        def "joining with nulls"() {
            when:
            join(separator, objects)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  7. src/runtime/testdata/testprog/numcpu_freebsd.go

    		fmt.Println("OK")
    		return
    	}
    	cmd := exec.Command("sysctl", "-n", "kern.smp.active")
    	output, err := cmd.CombinedOutput()
    	if err != nil {
    		fmt.Printf("fail to launch '%s', error: %s, output: %s\n", strings.Join(cmd.Args, " "), err, output)
    		return
    	}
    	if !bytes.Equal(output, []byte("1\n")) {
    		// SMP mode deactivated in kernel.
    		fmt.Println("OK")
    		return
    	}
    
    	list, err := getList()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 20:09:46 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  8. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/groovyapplication/multi/app/App.groovy.template

    import static ${basePackagePrefix.raw}utilities.StringUtils.join
    import static ${basePackagePrefix.raw}utilities.StringUtils.split
    import static ${basePackagePrefix.raw}app.MessageUtils.getMessage
    
    import org.apache.commons.text.WordUtils
    
    class App {
        static void main(String[] args) {
            LinkedList tokens
            tokens = split(getMessage())
            String result = join(tokens)
            println(WordUtils.capitalize(result))
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 19:39:09 UTC 2023
    - 548 bytes
    - Viewed (0)
  9. src/syscall/dirent_test.go

    			var consumed int
    			consumed, _, files2 = syscall.ParseDirent(buf, -1, files2)
    			buf = buf[consumed:]
    		}
    	}
    
    	// Check results
    	slices.Sort(files)
    	slices.Sort(files2)
    	if strings.Join(files, "|") != strings.Join(files2, "|") {
    		t.Errorf("bad file list: want\n%q\ngot\n%q", files, files2)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. configure.py

      write_to_bazelrc('test:v1 --test_tag_filters=%s' %
                       ','.join(test_and_build_filters + test_only_filters))
      write_to_bazelrc('test:v1 --build_tag_filters=%s' %
                       ','.join(test_and_build_filters))
      write_to_bazelrc(
          'test:v2 --test_tag_filters=%s' %
          ','.join(test_and_build_filters + test_only_filters + ['-v1only']))
      write_to_bazelrc('test:v2 --build_tag_filters=%s' %
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 04:32:44 UTC 2024
    - 53.8K bytes
    - Viewed (1)
Back to top