Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for lent (0.13 sec)

  1. doc/go1.17_spec.html

    and whose length and capacity are <code>len</code>.
    <code>Slice(ptr, len)</code> is equivalent to
    </p>
    
    <pre>
    (*[len]ArbitraryType)(unsafe.Pointer(ptr))[:]
    </pre>
    
    <p>
    except that, as a special case, if <code>ptr</code>
    is <code>nil</code> and <code>len</code> is zero,
    <code>Slice</code> returns <code>nil</code>.
    </p>
    
    <p>
    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)
  2. src/cmd/cgo/doc.go

    and used to compile Fortran files in that package. All the LDFLAGS directives
    in any package in the program are concatenated and used at link time. All the
    pkg-config directives are concatenated and sent to pkg-config simultaneously
    to add to each appropriate set of command-line flags.
    
    When the cgo directives are parsed, any occurrence of the string ${SRCDIR}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  3. doc/go_spec.html

    a2 := [2]byte(s)         // a2[0] == s[0]
    a4 := [4]byte(s)         // panics: len([4]byte) > len(s)
    
    s0 := (*[0]byte)(s)      // s0 != nil
    s1 := (*[1]byte)(s[1:])  // &amp;s1[0] == &amp;s[1]
    s2 := (*[2]byte)(s)      // &amp;s2[0] == &amp;s[0]
    s4 := (*[4]byte)(s)      // panics: len([4]byte) > len(s)
    
    var t []string
    t0 := [0]string(t)       // ok for nil slice t
    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)
  4. src/archive/tar/reader.go

    		} else { // In a hole fragment
    			bf := b[:min(int64(len(b)), holeEnd-sr.pos)]
    			nf, err = tryReadFull(zeroReader{}, bf)
    		}
    		b = b[nf:]
    		sr.pos += int64(nf)
    		if sr.pos >= holeEnd && len(sr.sp) > 1 {
    			sr.sp = sr.sp[1:] // Ensure last fragment always remains
    		}
    	}
    
    	n = len(b0) - len(b)
    	switch {
    	case err == io.EOF:
    		return n, errMissData // Less data in dense file than sparse file
    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)
Back to top