Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/dir.go

    func NewDir(dir string) Dir {
    	return Dir{
    		dir:      dir,
    		local:    filepath.Join(dir, "local"),
    		upload:   filepath.Join(dir, "upload"),
    		debug:    filepath.Join(dir, "debug"),
    		modefile: filepath.Join(dir, "mode"),
    	}
    }
    
    func init() {
    	cfgDir, err := os.UserConfigDir()
    	if err != nil {
    		return
    	}
    	Default = NewDir(filepath.Join(cfgDir, "go", "telemetry"))
    }
    
    func (d Dir) Dir() string {
    	return d.dir
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:13:09 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. subprojects/core/src/integTest/groovy/org/gradle/initialization/InitScriptIntegrationTest.groovy

                    it.include "sub1"
                }
                settingsEvaluated {
                    it.ext.addedInInit << "settingsEvaluated"
                    println "order: " + it.ext.addedInInit.join(" - ")
                }
            """
    
            file("settings.gradle") << """
                ext.addedInInit += "settings.gradle"
                include "sub2"
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  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. 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 (0)
  9. 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)
  10. pkg/kubelet/cm/util/cgroups_linux.go

    	if filepath.IsAbs(cgroupPath) {
    		// Sometimes subsystems can be mounted together as 'cpu,cpuacct'.
    		return filepath.Join(root, mnt, cgroupPath), nil
    	}
    
    	parentPath, err := getCgroupV1ParentPath(mnt, root)
    	if err != nil {
    		return "", err
    	}
    
    	return filepath.Join(parentPath, cgroupPath), nil
    }
    
    // getCgroupV1ParentPath gets the parent filepath to this cgroup, for resolving relative cgroup paths.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 12 07:50:19 UTC 2020
    - 2.9K bytes
    - Viewed (0)
Back to top