Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,151 for qprint (0.16 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/net/http/internal/ascii/print.go

    // lower returns the ASCII lowercase version of b.
    func lower(b byte) byte {
    	if 'A' <= b && b <= 'Z' {
    		return b + ('a' - 'A')
    	}
    	return b
    }
    
    // IsPrint returns whether s is ASCII and printable according to
    // https://tools.ietf.org/html/rfc20#section-4.2.
    func IsPrint(s string) bool {
    	for i := 0; i < len(s); i++ {
    		if s[i] < ' ' || s[i] > '~' {
    			return false
    		}
    	}
    	return true
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. test/print.go

    // run
    
    // Copyright 2014 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.
    
    // Test internal print routines that are generated
    // by the print builtin.  This test is not exhaustive,
    // we're just checking that the formatting is correct.
    
    package main
    
    func main() {
    	println((interface{})(nil)) // printeface
    	println((interface {        // printiface
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 31 17:36:45 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  10. internal/logger/console.go

    		if len(line) == 0 {
    			// No more text to print, just quit.
    			break
    		}
    
    		for {
    			// Save the attributes of the current cursor helps
    			// us save the text color of the passed error message
    			ansiSaveAttributes()
    			// Print banner with or without the log tag
    			if !tagPrinted {
    				fmt.Fprint(Output, logBanner)
    				tagPrinted = true
    			} else {
    				fmt.Fprint(Output, emptyBanner)
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top