Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 3,860 for printsp (0.24 sec)

  1. src/cmd/nm/doc.go

    // symbols (type U).
    //
    // The options control the printed output:
    //
    //	-n
    //		an alias for -sort address (numeric),
    //		for compatibility with other nm commands
    //	-size
    //		print symbol size in decimal between address and type
    //	-sort {address,name,none,size}
    //		sort output in the given order (default name)
    //		size orders from largest to smallest
    //	-type
    //		print symbol type after name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  2. src/context/example_test.go

    	// should abandon its work after the timeout elapses.
    	ctx, cancel := context.WithTimeout(context.Background(), shortDuration)
    	defer cancel()
    
    	select {
    	case <-neverReady:
    		fmt.Println("ready")
    	case <-ctx.Done():
    		fmt.Println(ctx.Err()) // prints "context deadline exceeded"
    	}
    
    	// Output:
    	// context deadline exceeded
    }
    
    // This example demonstrates how a value can be passed to the context
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 20:24:28 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  3. src/fmt/doc.go

    	Wrong type or unknown verb: %!verb(type=value)
    		Printf("%d", "hi"):        %!d(string=hi)
    	Too many arguments: %!(EXTRA type=value)
    		Printf("hi", "guys"):      hi%!(EXTRA string=guys)
    	Too few arguments: %!verb(MISSING)
    		Printf("hi%d"):            hi%!d(MISSING)
    	Non-int for width or precision: %!(BADWIDTH) or %!(BADPREC)
    		Printf("%*s", 4.5, "hi"):  %!(BADWIDTH)hi
    		Printf("%.*s", 4.5, "hi"): %!(BADPREC)hi
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. src/go/doc/comment/text.go

    type textPrinter struct {
    	*Printer
    	long       strings.Builder
    	prefix     string
    	codePrefix string
    	width      int
    }
    
    // Text returns a textual formatting of the [Doc].
    // See the [Printer] documentation for ways to customize the text output.
    func (p *Printer) Text(d *Doc) []byte {
    	tp := &textPrinter{
    		Printer:    p,
    		prefix:     p.TextPrefix,
    		codePrefix: p.TextCodePrefix,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test_fuzz_seed_corpus.txt

    [!fuzz-instrumented] skip
    [short] skip
    env GOCACHE=$WORK/cache
    
    # Test that fuzzing a target with a failure in f.Add prints the crash
    # and doesn't write anything to testdata/fuzz
    ! go test -fuzz=FuzzWithAdd -run=FuzzWithAdd -fuzztime=1x
    ! stdout ^ok
    ! stdout 'Failing input written to testdata[/\\]fuzz[/\\]FuzzWithAdd[/\\]'
    stdout FAIL
    
    # Test that fuzzing a target with a success in f.Add and a fuzztime of only
    # 1 does not produce a crash.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 19:51:29 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/PluginClasspathLeakIntegrationTest.groovy

                        api 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.1'
                    }
    
                    gradlePlugin {
                        plugins {
                            'printer' { id='printer'; implementationClass='org.gradle.test.TestPlugin' }
                        }
                    }
    
                    publishing {
                        publications {
                            maven(MavenPublication) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 09:47:33 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/Basic.h

     */
    
    CU_EXPORT void CU_basic_show_failures(CU_pFailureRecord pFailure);
    /**<
     *  Prints a summary of run failures to stdout.
     *  This is provided for user convenience upon request, and does 
     *  not take into account the current run mode.  The failures are 
     *  printed to stdout independent of the most recent run mode.
     *
     *  @param pFailure List of CU_pFailureRecord's to output.
     */
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. pkg/printers/tablegenerator.go

    // match the number of columns defined for that printer function.
    func ValidateRowPrintHandlerFunc(printFunc reflect.Value) error {
    	if printFunc.Kind() != reflect.Func {
    		return fmt.Errorf("invalid print handler. %#v is not a function", printFunc)
    	}
    	funcType := printFunc.Type()
    	if funcType.NumIn() != 2 || funcType.NumOut() != 2 {
    		return fmt.Errorf("invalid print handler." +
    			"Must accept 2 parameters and return 2 value")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/error.go

    	ErrExit = errors.New("exit")
    )
    
    // fatal prints the message if set and then exits.
    func fatal(msg string, code int) {
    	if len(msg) > 0 {
    		// add newline if needed
    		if !strings.HasSuffix(msg, "\n") {
    			msg += "\n"
    		}
    
    		fmt.Fprint(os.Stderr, msg)
    	}
    	os.Exit(code)
    }
    
    // CheckErr prints a user friendly error to STDERR and exits with a non-zero
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:35:10 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. src/runtime/traceback_test.go

    		r := ttiExcluded1()
    		check(t, r, "runtime_test.ttiExcluded3(...)", "runtime_test.ttiExcluded1()")
    	})
    }
    
    type ttiResult struct {
    	printed string
    }
    
    //go:noinline
    func ttiLeaf() *ttiResult {
    	// Get a printed stack trace.
    	printed := string(debug.Stack())
    	return &ttiResult{printed}
    }
    
    //go:noinline
    func ttiSimple1() *ttiResult {
    	return ttiSimple2()
    }
    func ttiSimple2() *ttiResult {
    	return ttiSimple3()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 22.9K bytes
    - Viewed (0)
Back to top