Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,114 for qprint (0.18 sec)

  1. src/mime/quotedprintable/reader_test.go

    	}
    }
    
    var useQprint = flag.Bool("qprint", false, "Compare against the 'qprint' program.")
    
    var badSoftRx = regexp.MustCompile(`=([^\r\n]+?\n)|([^\r\n]+$)|(\r$)|(\r[^\n]+\n)|( \r\n)`)
    
    func TestExhaustive(t *testing.T) {
    	if *useQprint {
    		_, err := exec.LookPath("qprint")
    		if err != nil {
    			t.Fatalf("Error looking for qprint: %v", err)
    		}
    	}
    
    	var buf strings.Builder
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. src/go/ast/print.go

    		}
    	}()
    
    	// print x
    	if x == nil {
    		p.printf("nil\n")
    		return
    	}
    	p.print(reflect.ValueOf(x))
    	p.printf("\n")
    
    	return
    }
    
    // Print prints x to standard output, skipping nil fields.
    // Print(fset, x) is the same as Fprint(os.Stdout, fset, x, NotNilFilter).
    func Print(fset *token.FileSet, x any) error {
    	return Fprint(os.Stdout, fset, x, NotNilFilter)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. src/cmd/vet/testdata/print/print.go

    	Printf("%p", &notPercentDV) // Works regardless: we print it as a pointer.
    	Printf("%q", &percentDV)    // ERROR "Printf format %q has arg &percentDV of wrong type \*.*print.percentDStruct"
    	Printf("%s", percentSV)
    	Printf("%s", &percentSV)
    	// Good argument reorderings.
    	Printf("%[1]d", 3)
    	Printf("%[1]*d", 3, 1)
    	Printf("%[2]*[1]d", 1, 3)
    	Printf("%[2]*.[1]*[3]d", 2, 3, 4)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 27.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/print.go

    func (p stringFuncPrinter) header(f *Func) {
    	fmt.Fprint(p.w, f.Name)
    	fmt.Fprint(p.w, " ")
    	fmt.Fprintln(p.w, f.Type)
    }
    
    func (p stringFuncPrinter) startBlock(b *Block, reachable bool) {
    	if !p.printDead && !reachable {
    		return
    	}
    	fmt.Fprintf(p.w, "  b%d:", b.ID)
    	if len(b.Preds) > 0 {
    		io.WriteString(p.w, " <-")
    		for _, e := range b.Preds {
    			pred := e.b
    			fmt.Fprintf(p.w, " b%d", pred.ID)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  5. src/fmt/print.go

    // It returns the number of bytes written and any write error encountered.
    func Print(a ...any) (n int, err error) {
    	return Fprint(os.Stdout, a...)
    }
    
    // Sprint formats using the default formats for its operands and returns the resulting string.
    // Spaces are added between operands when neither is a string.
    func Sprint(a ...any) string {
    	p := newPrinter()
    	p.doPrint(a)
    	s := string(p.buf)
    	p.free()
    	return s
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/mod/modfile/print.go

    	bytes.Buffer           // output buffer
    	comment      []Comment // pending end-of-line comments
    	margin       int       // left margin (indent), a number of tabs
    }
    
    // printf prints to the buffer.
    func (p *printer) printf(format string, args ...interface{}) {
    	fmt.Fprintf(p, format, args...)
    }
    
    // indent returns the position on the current line, in bytes, 0-indexed.
    func (p *printer) indent() int {
    	b := p.Bytes()
    	n := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 00:48:59 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. src/go/doc/comment/print.go

    	// See that method's documentation for details.
    	DocLinkBaseURL string
    
    	// TextPrefix is a prefix to print at the start of every line
    	// when generating text output using the Text method.
    	TextPrefix string
    
    	// TextCodePrefix is the prefix to print at the start of each
    	// preformatted (code block) line when generating text output,
    	// instead of (not in addition to) TextPrefix.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  8. src/runtime/print.go

    // call print recursively. There is also the problem of a crash
    // happening during the print routines and needing to acquire
    // the print lock to print information about the crash.
    // For both these reasons, let a thread acquire the printlock 'recursively'.
    
    func printlock() {
    	mp := getg().m
    	mp.locks++ // do not reschedule between printlock++ and lock(&debuglock).
    	mp.printlock++
    	if mp.printlock == 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 03:27:26 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ir/fmt.go

    		fmt.Fprint(s, "[")
    		if n.Low != nil {
    			fmt.Fprint(s, n.Low)
    		}
    		fmt.Fprint(s, ":")
    		if n.High != nil {
    			fmt.Fprint(s, n.High)
    		}
    		if n.Op().IsSlice3() {
    			fmt.Fprint(s, ":")
    			if n.Max != nil {
    				fmt.Fprint(s, n.Max)
    			}
    		}
    		fmt.Fprint(s, "]")
    
    	case OSLICEHEADER:
    		n := n.(*SliceHeaderExpr)
    		fmt.Fprintf(s, "sliceheader{%v,%v,%v}", n.Ptr, n.Len, n.Cap)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 26K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/print.mlir

    // RUN: tf-opt %s --tf-print | FileCheck %s
    
    module {
    // Smoke test. We don't expect any modifications of the MLIR.
    
    // CHECK-LABEL: foo
    // CHECK: return
    func.func @foo(%arg0: tensor<f32>, %arg1: tensor<f32>) -> tensor<f32> {
      return %arg0 : tensor<f32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 23:15:17 UTC 2023
    - 260 bytes
    - Viewed (0)
Back to top