Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for roles (0.21 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 Apr 23 11:13:09 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 23 11:13:09 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 23 11:13:09 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 23 11:13:09 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 Apr 23 11:13:09 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 Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  7. 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 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  8. doc/go_spec.html

    <li>
    A "for" statement with <a href="#For_range">"range" clause</a> may iterate over
    integer values from zero to an upper limit.
    </li>
    </ul>
    
    <h3 id="Type_unification_rules">Type unification rules</h3>
    
    <p>
    The type unification rules describe if and how two types unify.
    The precise details are relevant for Go implementations,
    affect the specifics of error messages (such as whether
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
  9. src/bytes/bytes.go

    // upper case, giving priority to the special casing rules.
    func ToUpperSpecial(c unicode.SpecialCase, s []byte) []byte {
    	return Map(c.ToUpper, s)
    }
    
    // ToLowerSpecial treats s as UTF-8-encoded bytes and returns a copy with all the Unicode letters mapped to their
    // lower case, giving priority to the special casing rules.
    func ToLowerSpecial(c unicode.SpecialCase, s []byte) []byte {
    	return Map(c.ToLower, s)
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/parse.go

    // much practical consequence because the expressions we
    // see in assembly code are simple, but for the record:
    //
    // 1) Evaluation uses uint64; the old one used int64.
    // 2) Precedence uses Go rules not C rules.
    
    // expr = term | term ('+' | '-' | '|' | '^') term.
    func (p *Parser) expr() uint64 {
    	value := p.term()
    	for {
    		switch p.peek() {
    		case '+':
    			p.next()
    			value += p.term()
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
Back to top