Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 662 for tcCall (0.11 sec)

  1. test/fixedbugs/bug111.go

    // license that can be found in the LICENSE file.
    
    package main
    
    var ncall int;
    
    type Iffy interface {
    	Me() Iffy
    }
    
    type Stucky struct {
    	n int
    }
    
    func (s *Stucky) Me() Iffy {
    	ncall++;
    	return s
    }
    
    func main() {
    	s := new(Stucky);
    	i := s.Me();
    	j := i.Me();
    	j.Me();
    	if ncall != 3 {
    		panic("bug111")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 18 21:15:42 UTC 2012
    - 427 bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/asm_linux_riscv64.s

    TEXT ·Syscall6(SB),NOSPLIT,$0-80
    	JMP	syscall·Syscall6(SB)
    
    TEXT ·SyscallNoError(SB),NOSPLIT,$0-48
    	CALL	runtime·entersyscall(SB)
    	MOV	a1+8(FP), A0
    	MOV	a2+16(FP), A1
    	MOV	a3+24(FP), A2
    	MOV	trap+0(FP), A7	// syscall entry
    	ECALL
    	MOV	A0, r1+32(FP)	// r1
    	MOV	A1, r2+40(FP)	// r2
    	CALL	runtime·exitsyscall(SB)
    	RET
    
    TEXT ·RawSyscall(SB),NOSPLIT,$0-56
    	JMP	syscall·RawSyscall(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1K bytes
    - Viewed (0)
  3. src/syscall/asm_freebsd_riscv64.s

    // func Syscall(trap int64, a1, a2, a3 int64) (r1, r2, err int64)
    TEXT ·Syscall(SB),NOSPLIT,$0-56
    	CALL	runtime·entersyscall(SB)
    	MOV	a1+8(FP), A0
    	MOV	a2+16(FP), A1
    	MOV	a3+24(FP), A2
    	MOV	trap+0(FP), T0	// syscall entry
    	ECALL
    	BNE	T0, ZERO, err
    	MOV	A0, r1+32(FP)	// r1
    	MOV	A1, r2+40(FP)	// r2
    	MOV	ZERO, err+48(FP)	// errno
    	CALL	runtime·exitsyscall(SB)
    	RET
    err:
    	MOV	$-1, T0
    	MOV	T0, r1+32(FP)	// r1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 22:39:46 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/wasm/a.out.go

    	ANop
    	ABlock
    	ALoop
    	AIf
    	AElse
    
    	AEnd // opcode 0x0B
    	ABr
    	ABrIf
    	ABrTable
    	// ACall and AReturn are WebAssembly instructions. obj.ACALL and obj.ARET are higher level instructions
    	// with Go semantics, e.g. they manipulate the Go stack on the linear memory.
    	AReturn
    	ACall
    	ACallIndirect
    
    	ADrop // opcode 0x1A
    	ASelect
    
    	ALocalGet // opcode 0x20
    	ALocalSet
    	ALocalTee
    	AGlobalGet
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 02 05:28:55 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/mod/rsc.io_sampler_v1.99.99.txt

    	"golang.org/x/text/language"
    )
    
    // DefaultUserPrefs returns the default user language preferences.
    // It consults the $LC_ALL, $LC_MESSAGES, and $LANG environment
    // variables, in that order.
    func DefaultUserPrefs() []language.Tag {
    	var prefs []language.Tag
    	for _, k := range []string{"LC_ALL", "LC_MESSAGES", "LANG"} {
    		if env := os.Getenv(k); env != "" {
    			prefs = append(prefs, language.Make(env))
    		}
    	}
    	return prefs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 12 20:46:50 UTC 2018
    - 3.2K bytes
    - Viewed (0)
  6. src/syscall/asm_linux_riscv64.s

    TEXT ·rawVforkSyscall(SB),NOSPLIT|NOFRAME,$0-48
    	MOV	a1+8(FP), A0
    	MOV	a2+16(FP), A1
    	MOV	a3+24(FP), A2
    	MOV	ZERO, A3
    	MOV	ZERO, A4
    	MOV	ZERO, A5
    	MOV	trap+0(FP), A7	// syscall entry
    	ECALL
    	MOV	$-4096, T0
    	BLTU	T0, A0, err
    	MOV	A0, r1+32(FP)	// r1
    	MOV	ZERO, err+40(FP)	// errno
    	RET
    err:
    	MOV	$-1, T0
    	MOV	T0, r1+32(FP)	// r1
    	SUB	A0, ZERO, A0
    	MOV	A0, err+40(FP)	// errno
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:11:15 UTC 2023
    - 861 bytes
    - Viewed (0)
  7. pkg/test/framework/components/echo/config/builder.go

    func (b *Builder) BuildFromAndTo(fromAll echo.Callers, toAll echo.Services) *Builder {
    	b.t.Helper()
    	out := b.Copy()
    
    	systemNS := istio.ClaimSystemNamespaceOrFail(out.t, out.t)
    
    	for _, from := range fromAll {
    		for _, to := range toAll {
    			for _, s := range out.needFromAndTo {
    				out.addYAML(withParams(s, param.Params{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 13 23:42:29 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  8. src/runtime/tls_loong64.s

    // license that can be found in the LICENSE file.
    
    #include "go_asm.h"
    #include "go_tls.h"
    #include "funcdata.h"
    #include "textflag.h"
    
    // If !iscgo, this is a no-op.
    //
    // NOTE: mcall() assumes this clobbers only R30 (REGTMP).
    TEXT runtime·save_g(SB),NOSPLIT|NOFRAME,$0-0
    	MOVB	runtime·iscgo(SB), R30
    	BEQ	R30, nocgo
    
    	MOVV	g, runtime·tls_g(SB)
    
    nocgo:
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 20:18:25 UTC 2022
    - 589 bytes
    - Viewed (0)
  9. hack/list-feature-tests.sh

    # Usage: `hack/list-feature-tests.sh`.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 28 00:27:40 UTC 2020
    - 887 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/mod/rsc.io_sampler_v1.3.1.txt

    	"golang.org/x/text/language"
    )
    
    // DefaultUserPrefs returns the default user language preferences.
    // It consults the $LC_ALL, $LC_MESSAGES, and $LANG environment
    // variables, in that order.
    func DefaultUserPrefs() []language.Tag {
    	var prefs []language.Tag
    	for _, k := range []string{"LC_ALL", "LC_MESSAGES", "LANG"} {
    		if env := os.Getenv(k); env != "" {
    			prefs = append(prefs, language.Make(env))
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 12 20:46:50 UTC 2018
    - 4.7K bytes
    - Viewed (0)
Back to top