Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 3,652 for printIt (0.15 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/TestableDaemon.groovy

                return
            }
            // TODO remove debug log
            if (lastRegistryState == State.Stopped && lastLogState == State.Idle) {
                println("The daemon probably disappeared before it could've printed the stop message. Daemon log content:")
                println(logFile.text)
            }
    
            throw new AssertionError("""Timeout waiting for daemon with pid ${context.pid} to reach state ${state}.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. src/cmd/doc/pkg.go

    		}
    	}
    	return true
    }
    
    // valueDoc prints the docs for a constant or variable. The printed map records
    // which values have been printed already to avoid duplication. Otherwise, a
    // declaration like:
    //
    //	const ( c = 1; C = 2 )
    //
    // … could be printed twice if the -u flag is set, as it matches twice.
    func (pkg *Package) valueDoc(value *doc.Value, printed map[*ast.GenDecl]bool) {
    	if printed[value.Decl] {
    		return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 20:15:52 UTC 2024
    - 32K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/example_test.go

    		Uses:  make(map[*syntax.Name]types2.Object),
    	}
    	pkg := mustTypecheck(input, nil, &info)
    
    	// Print package-level variables in initialization order.
    	fmt.Printf("InitOrder: %v\n\n", info.InitOrder)
    
    	// For each named object, print the line and
    	// column of its definition and each of its uses.
    	fmt.Println("Defs and Uses of each named object:")
    	usesByObj := make(map[types2.Object][]string)
    	for id, obj := range info.Uses {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 28 17:58:07 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  4. src/go/printer/testdata/comments2.golden

    	   c3c
    	*/
    	/* foo
    	   c3d
    	*/
    	/*
    	   c3e
    	   foo */
    	/*
    	   c3f
    	   foo */
    }
    
    // Test case taken literally from issue 1835.
    func main() {
    	/*
    	   prints test 5 times
    	*/
    	for i := 0; i < 5; i++ {
    		println("test")
    	}
    }
    
    func issue5623() {
    L:
    	_ = yyyyyyyyyyyyyyyy			// comment - should be aligned
    	_ = xxxxxxxxxxxxxxxxxxxxxxxxxxxx	/* comment */
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:50 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  5. src/go/printer/testdata/comments2.input

    */
    /* foo
    c3c
    */
    /* foo
       c3d
    */
    /*
    c3e
    foo */
    /*
       c3f
       foo */
    }
    
    // Test case taken literally from issue 1835.
    func main() {
    /*
    prints test 5 times
    */
       for i := 0; i < 5; i++ {
          println("test")
       }
    }
    
    func issue5623() {
    L:
       _ = yyyyyyyyyyyyyyyy // comment - should be aligned
       _ = xxxxxxxxxxxxxxxxxxxxxxxxxxxx /* comment */
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 00:06:54 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  6. docs/debugging/healing-bin/main.go

      {{.Name}} - {{.Usage}}
    
    USAGE:
      {{.Name}} {{if .VisibleFlags}}[FLAGS]{{end}} [HEALINGBINFILE|INSPECTZIPFILE]
    
    files ending in '.zip' will be searched for '.healing.bin files recursively and
    printed together as a single JSON.
    
    FLAGS:
      {{range .VisibleFlags}}{{.}}
      {{end}}
    `
    	app.Flags = []cli.Flag{}
    	app.Action = func(c *cli.Context) error {
    		if !c.Args().Present() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/cli-runtime/pkg/printers/template_test.go

    	printer, err := NewGoTemplatePrinter([]byte(tmpl))
    	if err != nil {
    		t.Fatalf("tmpl fail: %v", err)
    	}
    	buffer := &bytes.Buffer{}
    	err = printer.PrintObj(&v1.Pod{}, buffer)
    	if err == nil {
    		t.Fatalf("expected that template to crash")
    	}
    	if buffer.String() == "" {
    		t.Errorf("no debugging info was printed")
    	}
    }
    
    func TestTemplateSuccess(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 22 23:10:00 UTC 2019
    - 7.1K bytes
    - Viewed (0)
  8. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonProcessFailureIntegrationTest.groovy

        def setup() {
            blockingHttpServer.start()
            if (OperatingSystem.current().windows) {
                // The killed worker on Windows will cause a broken pipe error to be printed to the console,
                // so we disable stack trace checks to avoid the test failing.
                executer.withStackTraceChecksDisabled()
            }
    
            settingsFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 18:43:14 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. src/go/ast/example_test.go

    	// src.go:4:9:	f
    	// src.go:4:11:	3.14
    	// src.go:4:17:	2
    	// src.go:4:21:	c
    }
    
    // This example shows what an AST looks like when printed for debugging.
    func ExamplePrint() {
    	// src is the input for which we want to print the AST.
    	src := `
    package main
    func main() {
    	println("Hello, World!")
    }
    `
    
    	// Create the AST by parsing src.
    	fset := token.NewFileSet() // positions are relative to fset
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:44:50 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. src/go/printer/printer_test.go

    	if mode&export != 0 {
    		ast.FileExports(f) // ignore result
    		f.Comments = nil   // don't print comments that are not in AST
    	}
    
    	// determine printer configuration
    	cfg := Config{Tabwidth: tabwidth}
    	if mode&rawFormat != 0 {
    		cfg.Mode |= RawFormat
    	}
    	if mode&normNumber != 0 {
    		cfg.Mode |= normalizeNumbers
    	}
    
    	// print AST
    	var buf bytes.Buffer
    	if err := cfg.Fprint(&buf, fset, f); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top