Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for longjmp (0.11 sec)

  1. src/regexp/testdata/testregex.c

    	switch (sig)
    	{
    	case SIGALRM:
    		ret = REG_EHUNG;
    		break;
    	case SIGBUS:
    		ret = REG_EBUS;
    		break;
    	default:
    		ret = REG_EFAULT;
    		break;
    	}
    	sigunblock(sig);
    	longjmp(state.gotcha, ret);
    }
    
    static char*
    getline(FILE* fp)
    {
    	static char	buf[32 * 1024];
    
    	register char*	s = buf;
    	register char*	e = &buf[sizeof(buf)];
    	register char*	b;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 51.3K bytes
    - Viewed (0)
  2. src/runtime/asm_amd64.s

    	RET
    
    TEXT runtime·mstart(SB),NOSPLIT|TOPFRAME|NOFRAME,$0
    	CALL	runtime·mstart0(SB)
    	RET // not reached
    
    /*
     *  go-routine
     */
    
    // func gogo(buf *gobuf)
    // restore state from Gobuf; longjmp
    TEXT runtime·gogo(SB), NOSPLIT, $0-8
    	MOVQ	buf+0(FP), BX		// gobuf
    	MOVQ	gobuf_g(BX), DX
    	MOVQ	0(DX), CX		// make sure g != nil
    	JMP	gogo<>(SB)
    
    TEXT gogo<>(SB), NOSPLIT, $0
    	get_tls(CX)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
Back to top