Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 70 for cmdLines (0.19 sec)

  1. pkg/log/options_test.go

    package log
    
    import (
    	"reflect"
    	"strconv"
    	"strings"
    	"testing"
    
    	"github.com/spf13/cobra"
    )
    
    func TestOpts(t *testing.T) {
    	resetGlobals()
    
    	cases := []struct {
    		cmdLine string
    		result  Options
    	}{
    		{"--log_as_json", Options{
    			OutputPaths:         []string{defaultOutputPath},
    			ErrorOutputPaths:    []string{defaultErrorOutputPath},
    			defaultOutputLevels: "default:info,grpc:none",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. src/os/readfrom_linux_test.go

    func TestProcCopy(t *testing.T) {
    	t.Parallel()
    
    	const cmdlineFile = "/proc/self/cmdline"
    	cmdline, err := ReadFile(cmdlineFile)
    	if err != nil {
    		t.Skipf("can't read /proc file: %v", err)
    	}
    	in, err := Open(cmdlineFile)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer in.Close()
    	outFile := filepath.Join(t.TempDir(), "cmdline")
    	out, err := Create(outFile)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/process/internal/util/LongCommandLineDetectionUtil.java

            } else if (OperatingSystem.current().isWindows()) {
                defaultMax = MAX_COMMAND_LINE_LENGTH_WINDOWS;
            }
            // in chars
            return Integer.getInteger("org.gradle.internal.cmdline.max.length", defaultMax);
        }
    
        public static boolean hasCommandLineExceedMaxLengthException(Throwable failureCause) {
            Throwable cause = failureCause;
            do {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 03 12:35:59 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modfetch/codehost/codehost.go

    // a *RunError indicating the command, exit status, and standard error.
    // Standard error is unavailable for commands that exit successfully.
    func Run(ctx context.Context, dir string, cmdline ...any) ([]byte, error) {
    	return RunWithStdin(ctx, dir, nil, cmdline...)
    }
    
    // bashQuoter escapes characters that have special meaning in double-quoted strings in the bash shell.
    // See https://www.gnu.org/software/bash/manual/html_node/Double-Quotes.html.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/initialization/EvaluateSettingsBuildOperationIntegrationTest.groovy

            when:
            succeeds('help')
    
            then:
            verifySettings(operation(), settingsFile)
            operation().details.buildPath == ":"
        }
    
        def "settings set via cmdline flag are exposed"() {
            createDirs("custom", "custom/a")
            def customSettingsDir = file("custom")
            def customSettingsFile = new File(customSettingsDir, "settings.gradle")
            customSettingsFile << """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. src/cmd/go/internal/work/buildid.go

    	// for testing vet or supplying an alternative analysis tool.
    	if name == "vet" && VetTool != "" {
    		path = VetTool
    		desc = VetTool
    	}
    
    	cmdline := str.StringList(cfg.BuildToolexec, path, "-V=full")
    	cmd := exec.Command(cmdline[0], cmdline[1:]...)
    	var stdout, stderr strings.Builder
    	cmd.Stdout = &stdout
    	cmd.Stderr = &stderr
    	if err := cmd.Run(); err != nil {
    		if stderr.Len() > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:31:25 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  7. src/syscall/mksyscall_libc.pl

    #	* at the end, after "=" sign, like
    #	  //sys getsockopt(s int, level int, name int, val uintptr, vallen *_Socklen) (err error) = libsocket.getsockopt
    
    use strict;
    
    my $cmdline = "mksyscall_libc.pl " . join(' ', @ARGV);
    my $errors = 0;
    my $_32bit = "";
    my $tags = "";  # build tags
    my $newtags = ""; # new style build tags
    my $aix = 0;
    my $solaris = 0;
    
    binmode STDOUT;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 11:28:51 UTC 2023
    - 8K bytes
    - Viewed (0)
  8. src/net/http/pprof/pprof_test.go

    		{"/debug/pprof/heap", Index, http.StatusOK, "application/octet-stream", `attachment; filename="heap"`, nil},
    		{"/debug/pprof/heap?debug=1", Index, http.StatusOK, "text/plain; charset=utf-8", "", nil},
    		{"/debug/pprof/cmdline", Cmdline, http.StatusOK, "text/plain; charset=utf-8", "", nil},
    		{"/debug/pprof/profile?seconds=1", Profile, http.StatusOK, "application/octet-stream", `attachment; filename="profile"`, nil},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:52:28 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  9. src/syscall/mksyscall.pl

    # call.  This must only be used for system calls which can never
    # block, as otherwise the system call could cause all goroutines to
    # hang.
    
    use strict;
    
    my $cmdline = "mksyscall.pl " . join(' ', @ARGV);
    my $errors = 0;
    my $_32bit = "";
    my $plan9 = 0;
    my $darwin = 0;
    my $openbsd = 0;
    my $netbsd = 0;
    my $dragonfly = 0;
    my $arm = 0; # 64-bit value should use (even, odd)-pair
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:15:02 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecWithLongCommandLineIntegrationTest.groovy

            """
    
            // Artificially lower the length of the command-line we try to shorten
            file("gradle.properties") << """
                systemProp.org.gradle.internal.cmdline.max.length=1000
            """
    
            when:
            succeeds taskName, "-i"
    
            then:
            executedAndNotSkipped(":$taskName")
            assertOutputContainsShorteningMessage()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top