Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for May (0.59 sec)

  1. src/cmd/cgo/doc.go

    [runtime.Pinner].
    
    The _GoString_ type also may not be pinned with [runtime.Pinner].
    Because it includes a Go pointer, the memory it points to is only pinned
    for the duration of the call; _GoString_ values may not be retained by C
    code.
    
    A Go function called by C code may return a Go pointer to pinned memory
    (which implies that it may not return a string, slice, channel, and so
    forth). A Go function called by C code may take C pointers as arguments,
    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)
  2. doc/go1.17_spec.html

    No identifier may be declared twice in the same block, and
    no identifier may be declared in both the file and package block.
    </p>
    
    <p>
    The <a href="#Blank_identifier">blank identifier</a> may be used like any other identifier
    in a declaration, but it does not introduce a binding and thus is not declared.
    In the package block, the identifier <code>init</code> may only be used for
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. src/archive/zip/reader_test.go

    		t.Errorf("error=%v, want %v", err, zt.Error)
    		return
    	}
    
    	// bail if file is not zip
    	if err == ErrFormat {
    		return
    	}
    
    	// bail here if no Files expected to be tested
    	// (there may actually be files in the zip, but we don't care)
    	if zt.File == nil {
    		return
    	}
    
    	if z.Comment != zt.Comment {
    		t.Errorf("comment=%q, want %q", z.Comment, zt.Comment)
    	}
    	if len(z.File) != len(zt.File) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  4. doc/go_spec.html

    No identifier may be declared twice in the same block, and
    no identifier may be declared in both the file and package block.
    </p>
    
    <p>
    The <a href="#Blank_identifier">blank identifier</a> may be used like any other identifier
    in a declaration, but it does not introduce a binding and thus is not declared.
    In the package block, the identifier <code>init</code> may only be used for
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  5. src/builtin/builtin.go

    // imaginary parts.
    type complex128 complex128
    
    // string is the set of all strings of 8-bit bytes, conventionally but not
    // necessarily representing UTF-8-encoded text. A string may be empty, but
    // not nil. Values of string type are immutable.
    type string string
    
    // int is a signed integer type that is at least 32 bits in size. It is a
    // distinct type, however, and not an alias for, say, int32.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  6. doc/next/6-stdlib/2-unique.md

    ### New unique package
    
    The new [unique](/pkg/unique) package provides facilities for
    canonicalizing values (like "interning" or "hash-consing").
    
    Any value of comparable type may be canonicalized with the new
    `Make[T]` function, which produces a reference to a canonical copy of
    the value in the form of a `Handle[T]`.
    Two `Handle[T]` are equal if and only if the values used to produce the
    handles are equal, allowing programs to deduplicate values and reduce
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Apr 24 13:37:36 GMT 2024
    - 579 bytes
    - Viewed (0)
  7. doc/next/6-stdlib/1-time.md

    Earlier versions of Go used channels with a one-element buffer,
    making it difficult to use `Reset` and `Stop` correctly.
    A visible effect of this change is that `len` and `cap` of timer channels
    now returns 0 instead of 1, which may affect programs that
    poll the length to decide whether a receive on the timer channel
    will succeed.
    Such code should use a non-blocking receive instead.
    
    These new behaviors are only enabled when the main Go program
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/parse.go

    	}
    }
    
    // registerList parses an ARM or ARM64 register list expression, a list of
    // registers in []. There may be comma-separated ranges or individual
    // registers, as in [R1,R3-R5] or [V1.S4, V2.S4, V3.S4, V4.S4].
    // For ARM, only R0 through R15 may appear.
    // For ARM64, V0 through V31 with arrangement may appear.
    //
    // For 386/AMD64 register list specifies 4VNNIW-style multi-source operand.
    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)
  9. src/bytes/bytes.go

    	return Map(c.ToTitle, s)
    }
    
    // ToValidUTF8 treats s as UTF-8-encoded bytes and returns a copy with each run of bytes
    // representing invalid UTF-8 replaced with the bytes in replacement, which may be empty.
    func ToValidUTF8(s, replacement []byte) []byte {
    	b := make([]byte, 0, len(s)+len(replacement))
    	invalid := false // previous byte was from an invalid UTF-8 sequence
    	for i := 0; i < len(s); {
    		c := s[i]
    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)
  10. src/archive/tar/stat_unix.go

    	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
    		// (not implemented on that platform, cgo not enabled, etc).
    		if u, ok := userMap.Load(h.Uid); ok {
    			h.Uname = u.(string)
    		} else if u, err := user.LookupId(strconv.Itoa(h.Uid)); err == nil {
    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)
Back to top