Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,084 for ptrint (0.55 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/dump/dump_test.go

    		{
    			struct {
    				arr   [1]string
    				slice []string
    				m     map[string]int
    			}{
    				[1]string{"arr"},
    				[]string{"slice"},
    				map[string]int{"one": 1},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 27 01:24:22 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  2. 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()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  3. src/cmd/vet/testdata/print/print.go

    	Printf("d%", 2)                       // ERROR "Printf format % is missing verb at end of string"
    	Printf("%d", percentDV)
    	Printf("%d", &percentDV)
    	Printf("%d", notPercentDV)  // ERROR "Printf format %d has arg notPercentDV of wrong type .*print.notPercentDStruct"
    	Printf("%d", &notPercentDV) // ERROR "Printf format %d has arg &notPercentDV of wrong type \*.*print.notPercentDStruct"
    	Printf("%p", &notPercentDV) // Works regardless: we print it as a pointer.
    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/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    // recursive call to stringer or is an error, such as t and &t in these examples:
    //
    //	func (t *T) String() string { printf("%s",  t) }
    //	func (t  T) Error() string { printf("%s",  t) }
    //	func (t  T) String() string { printf("%s", &t) }
    func recursiveStringer(pass *analysis.Pass, e ast.Expr) (string, bool) {
    	typ := pass.TypesInfo.Types[e].Type
    
    	// It's unlikely to be a recursive stringer if it has a Format method.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  5. src/fmt/example_test.go

    	}
    	fmt.Printf("%d bytes written.\n", n)
    
    	// Output:
    	// Kim is 22 years old.
    	// 21 bytes written.
    }
    
    // Print, Println, and Printf lay out their arguments differently. In this example
    // we can compare their behaviors. Println always adds blanks between the items it
    // prints, while Print adds blanks only between non-string arguments and Printf
    // does exactly what it is told.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 21:03:10 UTC 2019
    - 11.8K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/maven-parent/5/maven-parent-5.pom

      <modelVersion>4.0.0</modelVersion>
      <parent>
        <groupId>org.apache</groupId>
        <artifactId>apache</artifactId>
        <version>3</version>
        <relativePath>../asf/pom.xml</relativePath>
      </parent>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-parent</artifactId>
      <version>5</version>
      <packaging>pom</packaging>
      <name>Apache Maven</name>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Dec 24 18:09:10 UTC 2020
    - 14.8K bytes
    - Viewed (0)
  7. maven-core/src/test/resources/apiv4-repo/org/apache/maven/maven-parent/4/maven-parent-4.pom

      <modelVersion>4.0.0</modelVersion>
      <parent>
        <groupId>org.apache</groupId>
        <artifactId>apache</artifactId>
        <version>3</version>
        <relativePath>../asf/pom.xml</relativePath>
      </parent>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-parent</artifactId>
      <version>4</version>
      <packaging>pom</packaging>
      <name>Apache Maven</name>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 9.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ir/fmt.go

    		n := n.(*SliceExpr)
    		exprFmt(n.X, s, nprec)
    		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)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 26K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/org/apache/maven/extension/test-extension-repo/org/apache/maven/maven-parent/4/maven-parent-4.pom

      <modelVersion>4.0.0</modelVersion>
      <parent>
        <groupId>org.apache</groupId>
        <artifactId>apache</artifactId>
        <version>3</version>
        <relativePath>../asf/pom.xml</relativePath>
      </parent>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-parent</artifactId>
      <version>4</version>
      <packaging>pom</packaging>
      <name>Apache Maven</name>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Nov 09 12:45:14 UTC 2019
    - 9.8K bytes
    - Viewed (0)
  10. maven-core/src/test/resources/apiv4-repo/org/apache/maven/maven-parent/5/maven-parent-5.pom

      <modelVersion>4.0.0</modelVersion>
      <parent>
        <groupId>org.apache</groupId>
        <artifactId>apache</artifactId>
        <version>3</version>
        <relativePath>../asf/pom.xml</relativePath>
      </parent>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-parent</artifactId>
      <version>5</version>
      <packaging>pom</packaging>
      <name>Apache Maven</name>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 14.8K bytes
    - Viewed (0)
Back to top