Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 2,466 for JOIN (0.04 sec)

  1. istioctl/pkg/util/testutil/util.go

    		t.Fatalf("Unexpected output for '%s %s'\n got: %q\nwant: %q", cmd.Name(),
    			strings.Join(c.Args, " "), output, c.ExpectedOutput)
    	}
    
    	if c.ExpectedRegexp != nil && !c.ExpectedRegexp.MatchString(output) {
    		t.Fatalf("Output didn't match for '%s %s'\n got %v\nwant: %v", cmd.Name(),
    			strings.Join(c.Args, " "), output, c.ExpectedRegexp)
    	}
    
    	if c.GoldenFilename != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/javaapplication/multi/utilities/StringUtils.java.template

    ${fileComment.multilineComment}${packageDecl.javaStatement}
    import ${basePackagePrefix.raw}list.LinkedList;
    
    public class StringUtils {
        public static String join(LinkedList source) {
            return JoinUtils.join(source);
        }
    
        public static LinkedList split(String source) {
            return SplitUtils.split(source);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 19:39:09 UTC 2023
    - 334 bytes
    - Viewed (0)
  3. src/os/tempfile_test.go

    			wantRePat := "^" + regexp.QuoteMeta(filepath.Join(dir, tt.wantPrefix)) + "[0-9]+" + regexp.QuoteMeta(tt.wantSuffix) + "$"
    			runTestMkdirTemp(t, tt.pattern, wantRePat)
    		})
    	}
    
    	// Separately testing "*xyz" (which has no prefix). That is when constructing the
    	// pattern to assert on, as in the previous loop, using filepath.Join for an empty
    	// prefix filepath.Join(dir, ""), produces the pattern:
    	//     ^<DIR>[0-9]+xyz$
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 20:45:37 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/samples/templates/java-utilities-library/src/main/java/org/gradle/sample/utilities/StringUtils.java

    package org.gradle.sample.utilities;
    
    import org.gradle.sample.list.LinkedList;
    
    public class StringUtils {
        public static String join(LinkedList source) {
            return JoinUtils.join(source);
        }
    
        public static LinkedList split(String source) {
            return SplitUtils.split(source);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 306 bytes
    - Viewed (0)
  5. src/cmd/go/testdata/addmod.go

    		if err != nil {
    			fatalf("%s %s: %v\n%s", command, strings.Join(args, " "), err, stderr.Bytes())
    		}
    		return string(out)
    	}
    
    	gopath := strings.TrimSpace(run("go", "env", "GOPATH"))
    	if gopath == "" {
    		fatalf("cannot find GOPATH")
    	}
    
    	exitCode := 0
    	for _, arg := range flag.Args() {
    		if err := os.WriteFile(filepath.Join(tmpdir, "go.mod"), []byte("module m\n"), 0666); err != nil {
    			fatalf("%v", err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 30 19:41:54 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. src/go/internal/gcimporter/gcimporter_test.go

    	}
    	objname := basename + ".o"
    	outname := filepath.Join(outdirname, objname)
    
    	importcfgfile := os.DevNull
    	if len(packageFiles) > 0 || len(pkgImports) > 0 {
    		importcfgfile = filepath.Join(outdirname, basename) + ".importcfg"
    		testenv.WriteImportcfg(t, importcfgfile, packageFiles, pkgImports...)
    	}
    
    	pkgpath := path.Join("testdata", basename)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/test/ssa_test.go

    	var stdout, stderr bytes.Buffer
    	cmd := testenv.Command(t, gotool, "run", filepath.Join("testdata", filename))
    	cmd.Stdout = &stdout
    	cmd.Stderr = &stderr
    	if err := cmd.Run(); err != nil {
    		t.Fatalf("Failed: %v:\nOut: %s\nStderr: %s\n", err, &stdout, &stderr)
    	}
    	// Write stdout into a temporary file
    	rungo := filepath.Join(t.TempDir(), "run.go")
    	ok := os.WriteFile(rungo, stdout.Bytes(), 0600)
    	if ok != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. test/fixedbugs/issue63462.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    func f() {
    	for b := "" < join([]string{}, "") && true; ; {
    		_ = b
    	}
    }
    
    //go:noinline
    func join(elems []string, sep string) string {
    	return ""
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 22:23:06 UTC 2023
    - 331 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/samples/templates/java-application/src/main/java/org/gradle/sample/app/Main.java

    import static org.gradle.sample.utilities.StringUtils.join;
    import static org.gradle.sample.utilities.StringUtils.split;
    import static org.gradle.sample.app.MessageUtils.getMessage;
    
    public class Main {
        public static void main(String[] args) {
            LinkedList tokens;
            tokens = split(getMessage());
            System.out.println(join(tokens));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 438 bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Joiner.java

       */
      public final String join(Iterable<? extends @Nullable Object> parts) {
        return join(parts.iterator());
      }
    
      /**
       * Returns a string containing the string representation of each of {@code parts}, using the
       * previously configured separator between each.
       *
       * @since 11.0
       */
      public final String join(Iterator<? extends @Nullable Object> parts) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 18.6K bytes
    - Viewed (0)
Back to top