Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for roles (0.18 sec)

  1. doc/go1.17_spec.html

    is also allowed and follows from the general rules above.
    </p>
    
    <pre>
    const c = 3 &lt; 4            // c is the untyped boolean constant true
    
    type MyBool bool
    var x, y int
    var (
    	// The result of a comparison is an untyped boolean.
    	// The usual assignment rules apply.
    	b3        = x == y // b3 has type bool
    	b4 bool   = x == y // b4 has type bool
    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

    called by C code may take a Go pointer but it must preserve the property
    that the Go memory to which it points (and the Go memory to which that
    memory points, and so on) is pinned.
    
    These rules are checked dynamically at runtime. The checking is
    controlled by the cgocheck setting of the GODEBUG environment
    variable. The default setting is GODEBUG=cgocheck=1, which implements
    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. src/archive/tar/common.go

    // deals with sparseDatas.
    //
    // However, the external API uses sparseHoles instead of sparseDatas because the
    // zero value of sparseHoles logically represents a normal file (i.e., there are
    // no holes in it). On the other hand, the zero value of sparseDatas implies
    // that the file has no data in it, which is rather odd.
    //
    // As an example, if the underlying raw file contains the 10-byte data:
    //
    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)
  4. src/cmd/cgo/gcc.go

    		}
    	case *dwarf.TypedefType:
    		// C has much more relaxed rules than Go for
    		// implicit type conversions. When the parameter
    		// is type T defined as *X, simulate a little of the
    		// laxness of C by making the argument *X instead of T.
    		if ptr, ok := base(dt.Type).(*dwarf.PtrType); ok {
    			// Unless the typedef happens to point to void* since
    			// Go has special rules around using unsafe.Pointer.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  5. api/go1.14.txt

    pkg syscall (freebsd-arm64), const SYS_RCTL_GET_RACCT = 525
    pkg syscall (freebsd-arm64), const SYS_RCTL_GET_RACCT ideal-int
    pkg syscall (freebsd-arm64), const SYS_RCTL_GET_RULES = 526
    pkg syscall (freebsd-arm64), const SYS_RCTL_GET_RULES ideal-int
    pkg syscall (freebsd-arm64), const SYS_RCTL_REMOVE_RULE = 529
    pkg syscall (freebsd-arm64), const SYS_RCTL_REMOVE_RULE ideal-int
    pkg syscall (freebsd-arm64), const SYS_READ = 3
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  6. api/go1.txt

    pkg syscall (freebsd-386), const SYS_RCTL_GET_LIMITS ideal-int
    pkg syscall (freebsd-386), const SYS_RCTL_GET_RACCT ideal-int
    pkg syscall (freebsd-386), const SYS_RCTL_GET_RULES ideal-int
    pkg syscall (freebsd-386), const SYS_RCTL_REMOVE_RULE ideal-int
    pkg syscall (freebsd-386), const SYS_READ ideal-int
    pkg syscall (freebsd-386), const SYS_READLINK ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (2)
  7. doc/godebug.md

    enabling the HTTP/2 use by the HTTP client broke programs
    connecting to servers with buggy HTTP/2 implementations.
    These kinds of changes are unavoidable and
    [permitted by the Go 1 compatibility rules](/doc/go1compat).
    Even so, Go provides a mechanism called GODEBUG to
    reduce the impact such changes have on Go developers
    using newer toolchains to compile old code.
    
    A GODEBUG setting is a `key=value` pair
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  8. doc/asm.html

    types and instead use these constants.
    This improves the readability of assembly code, and keeps it robust to
    changes in data layout either in the Go type definitions or in the
    layout rules used by the Go compiler.
    </p>
    
    <p>
    Constants are of the form <code>const_<i>name</i></code>.
    For example, given the Go declaration <code>const bufSize =
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  9. api/go1.20.txt

    pkg syscall (freebsd-riscv64), const SYS_RCTL_GET_RACCT = 525 #53466
    pkg syscall (freebsd-riscv64), const SYS_RCTL_GET_RACCT ideal-int #53466
    pkg syscall (freebsd-riscv64), const SYS_RCTL_GET_RULES = 526 #53466
    pkg syscall (freebsd-riscv64), const SYS_RCTL_GET_RULES ideal-int #53466
    pkg syscall (freebsd-riscv64), const SYS_RCTL_REMOVE_RULE = 529 #53466
    pkg syscall (freebsd-riscv64), const SYS_RCTL_REMOVE_RULE ideal-int #53466
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
  10. src/archive/tar/writer.go

    		f, err := fsys.Open(name)
    		if err != nil {
    			return err
    		}
    		defer f.Close()
    		_, err = io.Copy(tw, f)
    		return err
    	})
    }
    
    // splitUSTARPath splits a path according to USTAR prefix and suffix rules.
    // If the path is not splittable, then it will return ("", "", false).
    func splitUSTARPath(name string) (prefix, suffix string, ok bool) {
    	length := len(name)
    	if length <= nameSize || !isASCII(name) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
Back to top