Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for stats (0.15 sec)

  1. doc/go1.17_spec.html

    that can be converted to type <code>T</code>.
    </p>
    
    <pre class="ebnf">
    Conversion = Type "(" Expression [ "," ] ")" .
    </pre>
    
    <p>
    If the type starts with the operator <code>*</code> or <code>&lt;-</code>,
    or if the type starts with the keyword <code>func</code>
    and has no result list, it must be parenthesized when
    necessary to avoid ambiguity:
    </p>
    
    <pre>
    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

    cases section below.
    
    To access a struct, union, or enum type directly, prefix it with
    struct_, union_, or enum_, as in C.struct_stat.
    
    The size of any C type T is available as C.sizeof_T, as in
    C.sizeof_struct_stat.
    
    A C function may be declared in the Go file with a parameter type of
    the special name _GoString_. This function may be called with an
    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/next/6-stdlib/99-minor/reflect/61308.md

    The [SliceAt(typ Type, p unsafe.Pointer, len int)] function
    returns a Value representing a slice whose underlying array starts
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 170 bytes
    - Viewed (0)
  4. src/archive/tar/common.go

    	// are relevant to all subsequent files.
    	// This package only supports parsing and composing such headers,
    	// but does not currently support persisting the global state across files.
    	TypeXGlobalHeader = 'g'
    
    	// Type 'S' indicates a sparse file in the GNU format.
    	TypeGNUSparse = 'S'
    
    	// Types 'L' and 'K' are used by the GNU format for a meta file
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  5. src/bytes/bytes.go

    //
    // Deprecated: The rule Title uses for word boundaries does not handle Unicode
    // punctuation properly. Use golang.org/x/text/cases instead.
    func Title(s []byte) []byte {
    	// Use a closure here to remember state.
    	// Hackish but effective. Depends on Map scanning in order and calling
    	// the closure once per rune.
    	prev := ' '
    	return Map(
    		func(r rune) rune {
    			if isSeparator(prev) {
    				prev = r
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/parse.go

    			p.errorf(err.Error())
    		}
    	default:
    		p.errorf("register extension not supported on this architecture")
    	}
    }
    
    // qualifySymbol returns name as a package-qualified symbol name. If
    // name starts with a period, qualifySymbol prepends the package
    // prefix. Otherwise it returns name unchanged.
    func (p *Parser) qualifySymbol(name string) string {
    	if strings.HasPrefix(name, ".") {
    		name = p.pkgPrefix + name
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  7. doc/go_spec.html

    that can be converted to type <code>T</code>.
    </p>
    
    <pre class="ebnf">
    Conversion = Type "(" Expression [ "," ] ")" .
    </pre>
    
    <p>
    If the type starts with the operator <code>*</code> or <code>&lt;-</code>,
    or if the type starts with the keyword <code>func</code>
    and has no result list, it must be parenthesized when
    necessary to avoid ambiguity:
    </p>
    
    <pre>
    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)
  8. src/archive/tar/stat_unix.go

    // The downside is that renaming uname or gname by the OS never takes effect.
    var userMap, groupMap sync.Map // map[int]string
    
    func statUnix(fi fs.FileInfo, h *Header, doNameLookups bool) error {
    	sys, ok := fi.Sys().(*syscall.Stat_t)
    	if !ok {
    		return nil
    	}
    	h.Uid = int(sys.Uid)
    	h.Gid = int(sys.Gid)
    	if doNameLookups {
    		// Best effort at populating Uname and Gname.
    		// The os/user functions may fail for any number of reasons
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  9. doc/go_mem.html

    the start of the function <code>main.main</code>.
    </p>
    
    <h3 id="go">Goroutine creation</h3>
    
    <p class="rule">
    The <code>go</code> statement that starts a new goroutine
    is synchronized before the start of the goroutine's execution.
    </p>
    
    <p>
    For example, in this program:
    </p>
    
    <pre>
    var a string
    
    func f() {
    	print(a)
    }
    
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  10. src/archive/zip/writer.go

    func (w *Writer) CreateHeader(fh *FileHeader) (io.Writer, error) {
    	if err := w.prepare(fh); err != nil {
    		return nil, err
    	}
    
    	// The ZIP format has a sad state of affairs regarding character encoding.
    	// Officially, the name and comment fields are supposed to be encoded
    	// in CP-437 (which is mostly compatible with ASCII), unless the UTF-8
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top