Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,725 for exit1 (0.15 sec)

  1. src/cmd/compile/internal/ssa/regalloc_test.go

    			Eq("a", "loop2", "exit1"),
    		),
    		Bloc("loop2",
    			Eq("a", "loop1", "exit2"),
    		),
    		Bloc("exit1",
    			// store before call, y is available in a register
    			Valu("mem2", OpAMD64MOVQstore, types.TypeMem, 0, nil, "p", "y", "mem"),
    			Valu("mem3", OpAMD64CALLstatic, types.TypeMem, 0, AuxCallLSym("_"), "mem2"),
    			Exit("mem3"),
    		),
    		Bloc("exit2",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:09:14 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  2. src/runtime/sys_linux_arm.s

    	MOVW	R0, m_procid(R8)
    
    nog:
    	// Call fn
    	MOVW	8(R13), R0
    	MOVW	$16(R13), R13
    	BL	(R0)
    
    	// It shouldn't return. If it does, exit that thread.
    	SUB	$16, R13 // restore the stack pointer to avoid memory corruption
    	MOVW	$0, R0
    	MOVW	R0, 4(R13)
    	BL	exit1<>(SB)
    
    	MOVW	$1234, R0
    	MOVW	$1005, R1
    	MOVW	R0, (R1)
    
    TEXT runtime·sigaltstack(SB),NOSPLIT,$0
    	MOVW	new+0(FP), R0
    	MOVW	old+4(FP), R1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  3. src/runtime/os2_aix.go

    	if resetLibcall {
    		mp.libcallsp = 0
    	}
    
    	return c.r1, c.err
    }
    
    func exit1(code int32)
    
    //go:nosplit
    func exit(code int32) {
    	gp := getg()
    
    	// Check the validity of g because without a g during
    	// newosproc0.
    	if gp != nil {
    		syscall1(&libc_exit, uintptr(code))
    		return
    	}
    	exit1(code)
    }
    
    func write2(fd, p uintptr, n int32) int32
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  4. src/runtime/sys_linux_386.s

    	INT $3	// not reached
    	RET
    
    TEXT exit1<>(SB),NOSPLIT,$0
    	MOVL	$SYS_exit, AX
    	MOVL	code+0(FP), BX
    	INVOKE_SYSCALL
    	INT $3	// not reached
    	RET
    
    // func exitThread(wait *atomic.Uint32)
    TEXT runtime·exitThread(SB),NOSPLIT,$0-4
    	MOVL	wait+0(FP), AX
    	// We're done using the stack.
    	MOVL	$0, (AX)
    	MOVL	$1, AX	// exit (just this thread)
    	MOVL	$0, BX	// exit code
    	INT	$0x80	// no stack; must not use CALL
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 24 18:53:44 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  5. src/internal/testlog/exit.go

    import (
    	"sync"
    	_ "unsafe" // for linkname
    )
    
    // PanicOnExit0 reports whether to panic on a call to os.Exit(0).
    // This is in the testlog package because, like other definitions in
    // package testlog, it is a hook between the testing package and the
    // os package. This is used to ensure that an early call to os.Exit(0)
    // does not cause a test to pass.
    func PanicOnExit0() bool {
    	panicOnExit0.mu.Lock()
    	defer panicOnExit0.mu.Unlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/util.go

    	}
    	atExitFuncs = nil
    }
    
    // Exit exits with code after executing all atExitFuncs.
    func Exit(code int) {
    	runAtExitFuncs()
    	os.Exit(code)
    }
    
    // Exitf logs an error message then calls Exit(2).
    func Exitf(format string, a ...interface{}) {
    	fmt.Fprintf(os.Stderr, os.Args[0]+": "+format+"\n", a...)
    	nerrors++
    	if *flagH {
    		panic("error")
    	}
    	Exit(2)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 22 20:39:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/test_exit.txt

    [short] skip
    
    env GO111MODULE=on
    
    # If a test invoked by 'go test' exits with a zero status code,
    # it will panic.
    ! go test ./zero
    ! stdout ^ok
    ! stdout 'exit status'
    stdout 'panic'
    stdout ^FAIL
    
    # If a test exits with a non-zero status code, 'go test' fails normally.
    ! go test ./one
    ! stdout ^ok
    stdout 'exit status'
    ! stdout 'panic'
    stdout ^FAIL
    
    # Ensure that other flags still do the right thing.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 14 20:38:03 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/test_timeout_stdin.txt

    # a test that exits with an I/O stream held open
    # should fail after a reasonable delay, not wait forever.
    # (As of the time of writing, that delay is 10% of the timeout,
    # but this test does not depend on its specific value.)
    
    [short] skip 'runs a test that hangs until its WaitDelay expires'
    
    ! go test -v -timeout=1m .
    
    	# After the test process itself prints PASS and exits,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 02 20:23:27 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/test_json_panic_exit.txt

    ! stdout '"Test":.*\n\z'
    
    # 'go test -json' should say a test passes if it exits 0 and prints nothing.
    # TODO(golang.org/issue/29062): this should fail in the future.
    go test -json ./exit0main
    stdout '"Action":"pass".*\n\z'
    ! stdout '"Test":.*\n\z'
    
    # 'go test -json' should say a test fails if it exits 1 and prints nothing.
    ! go test -json ./exit1main
    stdout '"Action":"fail".*\n\z'
    ! stdout '"Test":.*\n\z'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/xla_cluster_util_test.cc

          ops::internal::Enter(root.WithOpName("enter_0"), a, "frame_0");
      Output exit_0 = ops::internal::Exit(root.WithOpName("exit_0"), enter_0);
      Output enter_1 =
          ops::internal::Enter(root.WithOpName("enter_1"), a, "frame_1");
      Output exit_1 = ops::internal::Exit(root.WithOpName("exit_1"), enter_1);
      Output b = ops::Add(root.WithOpName("b"), a, exit_1);
    
      FixupSourceAndSinkEdges(root.graph());
    
      GraphCycles cycles;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top