Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for p2 (0.29 sec)

  1. src/archive/tar/reader.go

    		case format.has(FormatGNU):
    			hdr.Format = format
    			var p2 parser
    			gnu := tr.blk.toGNU()
    			if b := gnu.accessTime(); b[0] != 0 {
    				hdr.AccessTime = time.Unix(p2.parseNumeric(b), 0)
    			}
    			if b := gnu.changeTime(); b[0] != 0 {
    				hdr.ChangeTime = time.Unix(p2.parseNumeric(b), 0)
    			}
    
    			// Prior to Go1.8, the Writer had a bug where it would output
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    <a href="#Allocation">new</a>.
    </p>
    
    <pre>
    p1 := &amp;[]int{}    // p1 points to an initialized, empty slice with value []int{} and length 0
    p2 := new([]int)  // p2 points to an uninitialized slice with value nil and length 0
    </pre>
    
    <p>
    The length of an array literal is the length specified in the literal type.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. doc/go_spec.html

    	B0 A0
    	B1 []string
    	B2 struct{ a, b int }
    	B3 struct{ a, c int }
    	B4 func(int, float64) *B0
    	B5 func(x int, y float64) *A1
    
    	C0 = B0
    	D0[P1, P2 any] struct{ x P1; y P2 }
    	E0 = D0[int, string]
    )
    </pre>
    
    <p>
    these types are identical:
    </p>
    
    <pre>
    A0, A1, and []string
    A2 and struct{ a, b int }
    A3 and int
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top