Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,571 for printIt (0.29 sec)

  1. src/go/ast/print.go

    				p.print(x.MapIndex(key))
    				p.printf("\n")
    			}
    			p.indent--
    		}
    		p.printf("}")
    
    	case reflect.Pointer:
    		p.printf("*")
    		// type-checked ASTs may contain cycles - use ptrmap
    		// to keep track of objects that have been printed
    		// already and print the respective line number instead
    		ptr := x.Interface()
    		if line, exists := p.ptrmap[ptr]; exists {
    			p.printf("(obj @ %d)", line)
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/mod/modfile/print.go

    		b = b[:len(b)-1]
    	}
    	return b
    }
    
    // A printer collects the state during printing of a file or expression.
    type printer struct {
    	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...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 00:48:59 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. src/go/doc/comment/print.go

    package comment
    
    import (
    	"bytes"
    	"fmt"
    	"strings"
    )
    
    // A Printer is a doc comment printer.
    // The fields in the struct can be filled in before calling
    // any of the printing methods
    // in order to customize the details of the printing process.
    type Printer struct {
    	// HeadingLevel is the nesting level used for
    	// HTML and Markdown headings.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/print.go

    					if w != nil && w.Block == b && !printed[w.ID] {
    						continue outer
    					}
    				}
    				p.value(v, live[v.ID])
    				printed[v.ID] = true
    				n++
    			}
    			if m == n {
    				p.startDepCycle()
    				for _, v := range b.Values {
    					if printed[v.ID] {
    						continue
    					}
    					p.value(v, live[v.ID])
    					printed[v.ID] = true
    					n++
    				}
    				p.endDepCycle()
    			}
    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. test/typeparam/issue50690c.go

    package main
    
    import (
    	"fmt"
    )
    
    type Printer[T ~string] struct {
    	PrintFn func(T)
    }
    
    func Print[T ~string](s T) {
    	fmt.Println(s)
    }
    
    func PrintWithPrinter[T ~string, S interface {
    	~struct {
    		ID       T
    		PrintFn_ func(T)
    	}
    	PrintFn() func(T)
    }](message T, obj S) {
    	obj.PrintFn()(message)
    }
    
    func main() {
    	PrintWithPrinter(
    		"Hello, world.",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 09 21:26:42 UTC 2022
    - 917 bytes
    - Viewed (0)
  6. test/typeparam/issue50690b.go

    package main
    
    import (
    	"fmt"
    )
    
    type Printer[T ~string] struct {
    	PrintFn func(T)
    }
    
    func Print[T ~string](s T) {
    	fmt.Println(s)
    }
    
    func PrintWithPrinter[T ~string, S interface {
    	~struct {
    		ID       T
    		PrintFn_ func(T)
    	}
    	PrintFn() func(T)
    }](message T, obj S) {
    	obj.PrintFn()(message)
    }
    
    type PrintShop[T ~string] struct {
    	ID       T
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 09 21:26:42 UTC 2022
    - 916 bytes
    - Viewed (0)
  7. test/print.out

    Anfernee Yongkun Gui <******@****.***> 1505455580 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 26 04:08:38 UTC 2017
    - 247 bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/net/http/internal/ascii/print.go

    cui fliter <******@****.***> 1699282712 +0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top