Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 395 for printssa (0.41 sec)

  1. src/cmd/go/testdata/script/test_json_panic_exit.txt

    ! stdout '"Test":.*\n\z'
    
    # 'go test -json' should say a test passes if it exits 0 and prints nothing.
    # TODO(golang.org/issue/29062): this should fail in the future.
    go test -json ./exit0main
    stdout '"Action":"pass".*\n\z'
    ! stdout '"Test":.*\n\z'
    
    # 'go test -json' should say a test fails if it exits 1 and prints nothing.
    ! go test -json ./exit1main
    stdout '"Action":"fail".*\n\z'
    ! stdout '"Test":.*\n\z'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  2. src/go/doc/comment/markdown.go

    	}
    
    	var out bytes.Buffer
    	for i, x := range d.Content {
    		if i > 0 {
    			out.WriteByte('\n')
    		}
    		mp.block(&out, x)
    	}
    	return out.Bytes()
    }
    
    // block prints the block x to out.
    func (p *mdPrinter) block(out *bytes.Buffer, x Block) {
    	switch x := x.(type) {
    	default:
    		fmt.Fprintf(out, "?%T", x)
    
    	case *Paragraph:
    		p.text(out, x.Text)
    		out.WriteString("\n")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:48 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/http/AbstractRedirectResolveIntegrationTest.groovy

            backingServer.expectGet('/redirected/group/projectA/1.0/projectA-1.0.jar', module.jarFile)
    
            then:
            succeeds('listJars')
        }
    
        def "prints last redirect location in case of failure"() {
            given:
            buildFile << configurationWithIvyDependencyAndExpectedArtifact('group:projectA:1.0', 'projectA-1.0.jar')
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/policies.go

    func (wf *PolicyFilter) Verify(pol *ZtunnelPolicy) bool {
    	if wf.Namespace != "" {
    		if !strings.EqualFold(pol.Namespace, wf.Namespace) {
    			return false
    		}
    	}
    
    	return true
    }
    
    // PrintServiceSummary prints a summary of the relevant services in the config dump to the ConfigWriter stdout
    func (c *ConfigWriter) PrintPolicySummary(filter PolicyFilter) error {
    	w := c.tabwriter()
    	zDump := c.ztunnelDump
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:11 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/failure/FailurePrinterTest.groovy

    class FailurePrinterTest extends Specification {
    
        def "prints same as JVM for simple exception"() {
            def e = new RuntimeException("BOOM")
            def f = toFailure(e)
    
            expect:
            FailurePrinter.printToString(f) == getTraceString(e)
        }
    
        def "prints same as JVM for an exception with cause"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:12:10 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. src/cmd/go/internal/version/version.go

    )
    
    var CmdVersion = &base.Command{
    	UsageLine: "go version [-m] [-v] [file ...]",
    	Short:     "print Go version",
    	Long: `Version prints the build information for Go binary files.
    
    Go version reports the Go version used to build each of the named files.
    
    If no files are named on the command line, go version prints its own
    version information.
    
    If a directory is named, go version walks that directory, recursively,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 19:27:00 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/envoy/configdump/configdump.go

    	err := w.UnmarshalJSON(b)
    	if err != nil {
    		return fmt.Errorf("error unmarshalling config dump response from Envoy: %v", err)
    	}
    	c.configDump = w
    	return nil
    }
    
    // PrintBootstrapDump prints just the bootstrap config dump to the ConfigWriter stdout
    func (c *ConfigWriter) PrintBootstrapDump(outputFormat string) error {
    	if c.configDump == nil {
    		return fmt.Errorf("config writer has not been primed")
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 20:46:41 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  8. test/fixedbugs/issue21808.go

    // run
    
    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Make sure println() prints a blank line.
    
    package main
    
    import "fmt"
    
    func main() {
    	fmt.Println("A")
    	println()
    	fmt.Println("B")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 20:10:48 UTC 2017
    - 304 bytes
    - Viewed (0)
  9. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildTaskExecutionIntegrationTest.groovy

                tasks.register('doSomething') {
                    description = "Prints the message 'do something'"
                    doLast {
                        println 'do something'
                    }
                }
            """
    
            expect:
            succeeds(":other-build:tasks", "--all")
            outputContains("doSomething - Prints the message 'do something'")
        }
    
        def "can run help from included build"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  10. src/go/doc/comment/html.go

    func (p *Printer) HTML(d *Doc) []byte {
    	hp := &htmlPrinter{Printer: p}
    	var out bytes.Buffer
    	for _, x := range d.Content {
    		hp.block(&out, x)
    	}
    	return out.Bytes()
    }
    
    // block prints the block x to out.
    func (p *htmlPrinter) block(out *bytes.Buffer, x Block) {
    	switch x := x.(type) {
    	default:
    		fmt.Fprintf(out, "?%T", x)
    
    	case *Paragraph:
    		if !p.tight {
    			out.WriteString("<p>")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top