Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,114 for qprint (0.16 sec)

  1. platforms/documentation/docs/src/docs/css/print.css

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. test/index.go

    		if c == "c" && n == "" && i == "fgood" {
    			if pass == 0 {
    				fmt.Fprintf(b, "\tuse(%s[%s])\n", pae, cni)
    				fmt.Fprintf(b, "\tuse(%s[0:%s])\n", pae, cni)
    				fmt.Fprintf(b, "\tuse(%s[1:%s])\n", pae, cni)
    				fmt.Fprintf(b, "\tuse(%s[%s:])\n", pae, cni)
    				fmt.Fprintf(b, "\tuse(%s[%s:%s])\n", pae, cni, cni)
    			}
    			return
    		}
    
    		// Only print the test case if it is appropriate for this pass.
    		if thisPass == pass {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Sep 08 17:28:20 UTC 2019
    - 6.4K bytes
    - Viewed (0)
  3. src/fmt/fmt_test.go

    	desc  string
    	fn    func()
    }{
    	{0, `Sprintf("")`, func() { _ = Sprintf("") }},
    	{1, `Sprintf("xxx")`, func() { _ = Sprintf("xxx") }},
    	{0, `Sprintf("%x")`, func() { _ = Sprintf("%x", 7) }},
    	{1, `Sprintf("%x")`, func() { _ = Sprintf("%x", 1<<16) }},
    	{3, `Sprintf("%80000s")`, func() { _ = Sprintf("%80000s", "hello") }}, // large buffer (>64KB)
    	{1, `Sprintf("%s")`, func() { _ = Sprintf("%s", "hello") }},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/flags/flags.go

    type MultiFlag []string
    
    func (m *MultiFlag) String() string {
    	if len(*m) == 0 {
    		return ""
    	}
    	return fmt.Sprint(*m)
    }
    
    func (m *MultiFlag) Set(val string) error {
    	(*m) = append(*m, val)
    	return nil
    }
    
    func Usage() {
    	fmt.Fprintf(os.Stderr, "usage: asm [options] file.s ...\n")
    	fmt.Fprintf(os.Stderr, "Flags:\n")
    	flag.PrintDefaults()
    	os.Exit(2)
    }
    
    func Parse() {
    	objabi.Flagparse(Usage)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:18:23 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. src/cmd/pprof/readlineui.go

    // For line-based UI, PrintErr writes to standard error.
    func (r *readlineUI) PrintErr(args ...any) {
    	r.print(true, args...)
    }
    
    func (r *readlineUI) print(withColor bool, args ...any) {
    	text := fmt.Sprint(args...)
    	if !strings.HasSuffix(text, "\n") {
    		text += "\n"
    	}
    	if withColor {
    		text = colorize(text)
    	}
    	fmt.Fprint(r.term, text)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 30 18:10:36 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/cli-runtime/pkg/printers/tableprinter.go

    	for _, row := range rows {
    		if len(eventType) > 0 {
    			fmt.Fprint(output, formatEventType(eventType))
    			fmt.Fprint(output, "\t")
    		}
    		if options.WithNamespace {
    			if obj := row.Object.Object; obj != nil {
    				if m, err := meta.Accessor(obj); err == nil {
    					fmt.Fprint(output, m.GetNamespace())
    				}
    			}
    			fmt.Fprint(output, "\t")
    		}
    
    		for i, cell := range row.Cells {
    			if i != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 30 15:08:43 UTC 2022
    - 16.7K bytes
    - Viewed (0)
  7. src/internal/fmtsort/sort_test.go

    		m[chans[i]] = fmt.Sprint(i)
    	}
    	return m
    }
    
    type toy struct {
    	A int // Exported.
    	b int // Unexported.
    }
    
    func TestOrder(t *testing.T) {
    	for _, test := range sortTests {
    		got := sprint(test.data)
    		if got != test.print {
    			t.Errorf("%s: got %q, want %q", reflect.TypeOf(test.data), got, test.print)
    		}
    	}
    }
    
    func TestInterface(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types/fmt.go

    func tconv2(b *bytes.Buffer, t *Type, verb rune, mode fmtMode, visited map[*Type]int) {
    	if off, ok := visited[t]; ok {
    		// We've seen this type before, so we're trying to print it recursively.
    		// Print a reference to it instead.
    		fmt.Fprintf(b, "@%d", off)
    		return
    	}
    	if t == nil {
    		b.WriteString("<T>")
    		return
    	}
    	if t.Kind() == TSSA {
    		b.WriteString(t.extra.(string))
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 15:41:17 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  9. src/go/printer/printer_test.go

    	}
    
    	cfg := &Config{
    		Mode:     SourcePos, // emit line comments
    		Tabwidth: 8,
    	}
    	var buf bytes.Buffer
    	if err := cfg.Fprint(&buf, fset, f); err == nil {
    		t.Errorf("Fprint did not error for source file path containing newline")
    	}
    	if buf.Len() != 0 {
    		t.Errorf("unexpected Fprint output:\n%s", buf.Bytes())
    	}
    }
    
    // TestEmptyDecl tests that empty decls for const, var, import are printed with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  10. test/fixedbugs/issue5162.go

    	}
    	if s := fmt.Sprint(onesA == onesB, onesA != twos, onesB != twos); s != "true true true" {
    		println("fail in CheckEqNNN_TTTExtraVar:", s)
    	}
    	if s := fmt.Sprint(onesB == onesX); s != "true" {
    		println("extra var fail in CheckEqNNN_TTTExtraVar")
    	}
    }
    `
    
    func main() {
    	fmt.Print("// run\n\n")
    	fmt.Print("// THIS FILE IS AUTO-GENERATED\n\n")
    	fmt.Print("package main\n\n")
    	fmt.Println(`import "fmt"`)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 19:01:50 UTC 2013
    - 2.3K bytes
    - Viewed (0)
Back to top