Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,264 for qprint (0.1 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/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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    // to learn whether a function behaves like fmt.Print or fmt.Printf.
    type Result struct {
    	funcs map[*types.Func]Kind
    }
    
    // Kind reports whether fn behaves like fmt.Print or fmt.Printf.
    func (r *Result) Kind(fn *types.Func) Kind {
    	_, ok := isPrint[fn.FullName()]
    	if !ok {
    		// Next look up just "printf", for use with -printf.funcs.
    		_, ok = isPrint[strings.ToLower(fn.Name())]
    	}
    	if ok {
    		if strings.HasSuffix(fn.Name(), "f") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K 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. 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)
  10. tensorflow/compiler/mlir/tensorflow/transforms/print.cc

    void PrintPass::runOnOperation() {
      llvm::sys::SmartScopedLock<true> instrumentationLock(mutex_);
      OpPrintingFlags flags =
          OpPrintingFlags().elideLargeElementsAttrs().enableDebugInfo(false);
      getOperation()->print(*os_, flags);
    }
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreatePrintPass(raw_ostream* os) {
      return std::make_unique<PrintPass>(os);
    }
    
    }  // namespace TF
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 23:15:17 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top