Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for longjmp (0.13 sec)

  1. src/cmd/cgo/internal/testcarchive/testdata/main2.c

    		die("sigaddset");
    	}
    	i = sigprocmask(SIG_UNBLOCK, &mask, NULL);
    	if (i != 0) {
    		fprintf(stderr, "sigprocmask: %s\n", strerror(i));
    		exit(EXIT_FAILURE);
    	}
    
    	// Don't try this at home.
    	longjmp(jmp, signo);
    
    	// We should never get here.
    	abort();
    }
    
    // Set up the signal handlers in a high priority constructor,
    // so that they are installed before the Go code starts.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testcshared/testdata/main4.c

    		die("sigaddset");
    	}
    	i = sigprocmask(SIG_UNBLOCK, &mask, NULL);
    	if (i != 0) {
    		fprintf(stderr, "sigprocmask: %s\n", strerror(i));
    		exit(EXIT_FAILURE);
    	}
    
    	// Don't try this at home.
    	longjmp(jmp, signo);
    
    	// We should never get here.
    	abort();
    }
    
    int main(int argc, char** argv) {
    	int verbose;
    	struct sigaction sa;
    	void* handle;
    	void (*fn)(void);
    	sigset_t mask;
    	int i;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/CUnit.h

     *                return, provided _FATAL versions of assertions to return
     *                from test function on failure. (JDS)
     *
     *  01-Sep-2004   Modified assertions for setjmp/longjmp mechanism of 
     *                aborting test runs, added CU_FAIL and CU_PASS macros. (JDS)
     *
     *  07-May-2005   Added CU_ prefix to remaining CUnit defines (BOOL, TRUE, 
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/TestRun.h

     *  @param strFile       Source file where test statement failed.
     *  @param strFunction   Function where test statement failed.
     *  @param bFatal        CU_TRUE to abort test (via longjmp()), CU_FALSE to continue test.
     *  @return As a convenience, returns the value of the assertion (i.e. bValue).
     */
    
    #ifdef USE_DEPRECATED_CUNIT_NAMES
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 22K bytes
    - Viewed (0)
  5. src/runtime/asm_mips64x.s

    	RET
    
    TEXT runtime·mstart(SB),NOSPLIT|TOPFRAME,$0
    	JAL	runtime·mstart0(SB)
    	RET // not reached
    
    /*
     *  go-routine
     */
    
    // void gogo(Gobuf*)
    // restore state from Gobuf; longjmp
    TEXT runtime·gogo(SB), NOSPLIT|NOFRAME, $0-8
    	MOVV	buf+0(FP), R3
    	MOVV	gobuf_g(R3), R4
    	MOVV	0(R4), R0	// make sure g != nil
    	JMP	gogo<>(SB)
    
    TEXT gogo<>(SB), NOSPLIT|NOFRAME, $0
    	MOVV	R4, g
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 19:45:59 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  6. src/runtime/asm_riscv64.s

    	JMP	runtime·memhash64Fallback<ABIInternal>(SB)
    
    // func return0()
    TEXT runtime·return0(SB), NOSPLIT, $0
    	MOV	$0, A0
    	RET
    
    // restore state from Gobuf; longjmp
    
    // func gogo(buf *gobuf)
    TEXT runtime·gogo(SB), NOSPLIT|NOFRAME, $0-8
    	MOV	buf+0(FP), T0
    	MOV	gobuf_g(T0), T1
    	MOV	0(T1), ZERO // make sure g != nil
    	JMP	gogo<>(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 27K bytes
    - Viewed (0)
  7. src/runtime/asm_s390x.s

    	RET
    
    TEXT runtime·mstart(SB),NOSPLIT|TOPFRAME,$0
    	CALL	runtime·mstart0(SB)
    	RET // not reached
    
    /*
     *  go-routine
     */
    
    // void gogo(Gobuf*)
    // restore state from Gobuf; longjmp
    TEXT runtime·gogo(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD	buf+0(FP), R5
    	MOVD	gobuf_g(R5), R6
    	MOVD	0(R6), R7	// make sure g != nil
    	BR	gogo<>(SB)
    
    TEXT gogo<>(SB), NOSPLIT|NOFRAME, $0
    	MOVD	R6, g
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 09:18:28 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  8. src/runtime/asm_loong64.s

    // func cputicks() int64
    TEXT runtime·cputicks(SB),NOSPLIT,$0-8
    	RDTIMED	R0, R4
    	MOVV	R4, ret+0(FP)
    	RET
    
    /*
     *  go-routine
     */
    
    // void gogo(Gobuf*)
    // restore state from Gobuf; longjmp
    TEXT runtime·gogo(SB), NOSPLIT|NOFRAME, $0-8
    	MOVV	buf+0(FP), R4
    	MOVV	gobuf_g(R4), R5
    	MOVV	0(R5), R0	// make sure g != nil
    	JMP	gogo<>(SB)
    
    TEXT gogo<>(SB), NOSPLIT|NOFRAME, $0
    	MOVV	R5, g
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  9. src/runtime/asm_mipsx.s

    	RET
    
    TEXT runtime·mstart(SB),NOSPLIT|TOPFRAME,$0
    	JAL	runtime·mstart0(SB)
    	RET // not reached
    
    /*
     *  go-routine
     */
    
    // void gogo(Gobuf*)
    // restore state from Gobuf; longjmp
    TEXT runtime·gogo(SB),NOSPLIT|NOFRAME,$0-4
    	MOVW	buf+0(FP), R3
    	MOVW	gobuf_g(R3), R4
    	MOVW	0(R4), R5	// make sure g != nil
    	JMP	gogo<>(SB)
    
    TEXT gogo<>(SB),NOSPLIT|NOFRAME,$0
    	MOVW	R4, g
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 11:46:29 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  10. src/runtime/asm_arm.s

    	RET
    
    TEXT runtime·mstart(SB),NOSPLIT|TOPFRAME,$0
    	BL	runtime·mstart0(SB)
    	RET // not reached
    
    /*
     *  go-routine
     */
    
    // void gogo(Gobuf*)
    // restore state from Gobuf; longjmp
    TEXT runtime·gogo(SB),NOSPLIT|NOFRAME,$0-4
    	MOVW	buf+0(FP), R1
    	MOVW	gobuf_g(R1), R0
    	MOVW	0(R0), R2	// make sure g != nil
    	B	gogo<>(SB)
    
    TEXT gogo<>(SB),NOSPLIT|NOFRAME,$0
    	BL	setg<>(SB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:00:52 UTC 2024
    - 32.1K bytes
    - Viewed (0)
Back to top