Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,745 for _code (0.18 sec)

  1. doc/asm.html

    and offsets match.
    On 32-bit systems, the low and high 32 bits of a 64-bit value are distinguished by adding
    a <code>_lo</code> or <code>_hi</code> suffix to the name, as in <code>arg_lo+0(FP)</code> or <code>arg_hi+4(FP)</code>.
    If a Go prototype does not name its result, the expected assembly name is <code>ret</code>.
    </p>
    
    <p>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 19:15:27 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  2. doc/go_spec.html

    An optional prefix sets a non-decimal base: <code>0b</code> or <code>0B</code>
    for binary, <code>0</code>, <code>0o</code>, or <code>0O</code> for octal,
    and <code>0x</code> or <code>0X</code> for hexadecimal
    [<a href="#Go_1.13">Go 1.13</a>].
    A single <code>0</code> is considered a decimal zero.
    In hexadecimal literals, letters <code>a</code> through <code>f</code>
    and <code>A</code> through <code>F</code> represent values 10 through 15.
    </p>
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (0)
  3. doc/go_mem.html

    }
    </pre>
    
    <p>
    is guaranteed to print <code>"hello, world"</code>.
    The first call to <code>l.Unlock()</code> (in <code>f</code>) is synchronized
    before the second call to <code>l.Lock()</code> (in <code>main</code>) returns,
    which is sequenced before the <code>print</code>.
    </p>
    
    <p class="rule">
    For any call to <code>l.RLock</code> on a <code>sync.RWMutex</code> variable <code>l</code>,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 15:54:42 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/errors.go

    type error_ struct {
    	check *Checker
    	desc  []errorDesc
    	code  Code
    	soft  bool // TODO(gri) eventually determine this from an error code
    }
    
    // newError returns a new error_ with the given error code.
    func (check *Checker) newError(code Code) *error_ {
    	if code == 0 {
    		panic("error code must not be 0")
    	}
    	return &error_{check: check, code: code}
    }
    
    // addf adds formatted error information to err.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. misc/go_android_exec/exitcode_test.go

    	}
    
    	// Nothing more should have been written to out.
    	if want, got := pre, out.String(); want != got {
    		t.Errorf("want output %q, got %q", want, got)
    	}
    	if want := 1; want != code {
    		t.Errorf("want exit code %d, got %d", want, code)
    	}
    }
    
    func TestExitCodeMissing(t *testing.T) {
    	var wantErr *regexp.Regexp
    	check := func(text string) {
    		t.Helper()
    		var out strings.Builder
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 14:54:58 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. src/cmd/internal/objfile/disasm.go

    type lookupFunc = func(addr uint64) (sym string, base uint64)
    type disasmFunc func(code []byte, pc uint64, lookup lookupFunc, ord binary.ByteOrder, _ bool) (text string, size int)
    
    func disasm_386(code []byte, pc uint64, lookup lookupFunc, _ binary.ByteOrder, gnuAsm bool) (string, int) {
    	return disasm_x86(code, pc, lookup, 32, gnuAsm)
    }
    
    func disasm_amd64(code []byte, pc uint64, lookup lookupFunc, _ binary.ByteOrder, gnuAsm bool) (string, int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  7. src/cmd/go/internal/help/helpdoc.go

                            z.go
                    quux/              (go code in package main)
                        y.go
    
    The same visibility rules apply as for internal, but the code
    in z.go is imported as "baz", not as "foo/vendor/baz".
    
    Code in vendor directories deeper in the source tree shadows
    code in higher directories. Within the subtree rooted at foo, an import
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  8. src/cmd/go/internal/vcweb/auth.go

    			code := token.StatusCode
    			if code == 0 {
    				code = http.StatusUnauthorized
    			}
    			if code == http.StatusUnauthorized {
    				w.Header().Add("WWW-Authenticate", fmt.Sprintf("basic realm=%s", accessDir))
    			}
    			http.Error(w, token.Message, code)
    			return
    		}
    
    		http.FileServer(fs).ServeHTTP(w, req)
    	})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 17:47:26 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. src/cmd/internal/objfile/macho.go

    		}
    		sym := Sym{Name: s.Name, Addr: s.Value, Code: '?'}
    		i := sort.Search(len(addrs), func(x int) bool { return addrs[x] > s.Value })
    		if i < len(addrs) {
    			sym.Size = int64(addrs[i] - s.Value)
    		}
    		if s.Sect == 0 {
    			sym.Code = 'U'
    		} else if int(s.Sect) <= len(f.macho.Sections) {
    			sect := f.macho.Sections[s.Sect-1]
    			switch sect.Seg {
    			case "__TEXT", "__DATA_CONST":
    				sym.Code = 'R'
    			case "__DATA":
    				sym.Code = 'D'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go

    // go run mksysnum.go /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.1.sdk/usr/include/sys/syscall.h
    // Code generated by the command above; see README.md. DO NOT EDIT.
    
    //go:build arm64 && darwin
    
    package unix
    
    // Deprecated: Use libSystem wrappers instead of direct syscalls.
    const (
    	SYS_SYSCALL                        = 0
    	SYS_EXIT                           = 1
    	SYS_FORK                           = 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 17.8K bytes
    - Viewed (0)
Back to top