Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 2,466 for JOIN (0.09 sec)

  1. src/cmd/covdata/tool_test.go

    	emitFile(t, src, insrc)
    	indep := filepath.Join("testdata", "dep.go")
    	dep := filepath.Join(depdir, "dep.go")
    	emitFile(t, dep, indep)
    
    	// Emit go.mod.
    	mod := filepath.Join(subdir, "go.mod")
    	modsrc := "\nmodule " + mainPkgPath + "\n\ngo 1.19\n"
    	if err := os.WriteFile(mod, []byte(modsrc), 0666); err != nil {
    		t.Fatal(err)
    	}
    	exepath := filepath.Join(subdir, prog+".exe")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  2. helm/minio/templates/_helper_policy.tpl

      "Statement": [
    {{- range $i, $statement := .statements }}
        {
          "Effect": "{{ $statement.effect | default "Allow" }}",
          "Action": [
    "{{ $statement.actions | join "\",\n\"" }}"
          ]{{ if $statement.resources }},
          "Resource": [
    "{{ $statement.resources | join "\",\n\"" }}"
          ]{{ end }}
    {{- if $statement.conditions }}
    {{- $condition_len := len $statement.conditions }}
    {{- $condition_len := sub $condition_len 1 }}
          ,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Aug 19 14:39:11 UTC 2023
    - 872 bytes
    - Viewed (0)
  3. src/io/ioutil/tempfile_test.go

    			wantRePat := "^" + regexp.QuoteMeta(filepath.Join(dir, tt.wantPrefix)) + "[0-9]+" + regexp.QuoteMeta(tt.wantSuffix) + "$"
    			runTestTempDir(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: Wed May 18 00:47:29 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  4. src/cmd/go/go_windows_test.go

    		t.Fatal(err)
    	}
    	defer robustio.RemoveAll(tmp)
    
    	file := filepath.Join(tmp, "a.go")
    	err = os.WriteFile(file, []byte{}, 0644)
    	if err != nil {
    		t.Fatal(err)
    	}
    	dir := filepath.Join(tmp, "dir")
    	err = os.Mkdir(dir, 0777)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	noVolume := file[len(filepath.VolumeName(file)):]
    	wrongPath := filepath.Join(dir, noVolume)
    	cmd := testenv.Command(t, tg.goTool(), "build", noVolume)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:21:26 UTC 2022
    - 1K bytes
    - Viewed (0)
  5. pkg/controller/namespace/deletion/namespaced_resources_deleter_test.go

    	}{
    		"pending-finalize": {
    			testNamespace: testNamespacePendingFinalize,
    			kubeClientActionSet: sets.NewString(
    				strings.Join([]string{"get", "namespaces", ""}, "-"),
    				strings.Join([]string{"create", "namespaces", "finalize"}, "-"),
    				strings.Join([]string{"list", "pods", ""}, "-"),
    				strings.Join([]string{"update", "namespaces", "status"}, "-"),
    			),
    			metadataClientActionSet: metadataClientActionSet,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 20 07:34:23 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  6. tools/docker-builder/docker.go

    		if alias != "" {
    			if err := Copy(filepath.Join(root, name+".tar.gz"), filepath.Join(root, alias+".tar.gz")); err != nil {
    				return err
    			}
    		}
    	}
    
    	return nil
    }
    
    func RunBake(args Args) error {
    	out := filepath.Join(testenv.LocalOut, "dockerx_build", "docker-bake.json")
    	_ = os.MkdirAll(filepath.Join(testenv.LocalOut, "release", "docker"), 0o755)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 26 01:07:39 UTC 2023
    - 11K bytes
    - Viewed (0)
  7. cni/pkg/install/cniconfig_test.go

    					// Write delayed CNI config file
    					data, err := os.ReadFile(filepath.Join("testdata", c.delayedConfName))
    					if err != nil {
    						t.Fatal(err)
    					}
    					err = os.WriteFile(filepath.Join(tempDir, c.delayedConfName), data, 0o644)
    					if err != nil {
    						t.Fatal(err)
    					}
    					t.Logf("delayed write to %v", filepath.Join(tempDir, c.delayedConfName))
    				} else if len(c.expectedConfName) > 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. istioctl/pkg/ztunnelconfig/ztunnelconfig_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: Wed Apr 10 21:51:29 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testcshared/cshared_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	defer os.RemoveAll(tmpdir)
    
    	copyFile(t, filepath.Join(tmpdir, "src", "testcshared", "go.mod"), "go.mod")
    	copyFile(t, filepath.Join(tmpdir, "src", "testcshared", "libgo", "libgo.go"), filepath.Join("libgo", "libgo.go"))
    	copyFile(t, filepath.Join(tmpdir, "src", "testcshared", "p", "p.go"), filepath.Join("p", "p.go"))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 21K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/CollectionUtils.java

         *
         * <pre>
         * expect:
         * join(",", new Object[]{"a"}) == "a"
         * join(",", new Object[]{"a", "b", "c"}) == "a,b,c"
         * join(",", new Object[]{}) == ""
         * </pre>
         *
         * The {@code separator} must not be null and {@code objects} must not be null.
         *
         * @param separator The string by which to join each string representation
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 24.3K bytes
    - Viewed (0)
Back to top