Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 90 for tracebackF1 (0.26 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

        otherwise.
      """
      try:
        return func()
      except Exception as ex:  # pylint: disable=broad-exception-caught; Required for graceful failing with pybind11.
        # Prints the exception traceback for debuggability.
        traceback.print_exception(ex)
        # Additional error log for debuggability.
        logging.error(error_msg)
        return None
    
    
    def _save_model_and_copy_assets(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:32:11 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  2. src/runtime/cgo/gcc_libinit.c

    	__atomic_store_n(&runtime_init_done, 1, __ATOMIC_RELEASE);
    	pthread_cond_broadcast(&runtime_init_cond);
    	pthread_mutex_unlock(&runtime_init_mu);
    }
    
    // Sets the context function to call to record the traceback context
    // when calling a Go function from C code. Called from runtime.SetCgoTraceback.
    void x_cgo_set_context_function(void (*context)(struct context_arg*)) {
    	__atomic_store_n(&cgo_context_function, context, __ATOMIC_RELEASE);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 01:07:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. src/runtime/asm_wasm.s

    	MOVD $runtime·systemstack_switch(SB), g_sched+gobuf_pc(g)
    
    	MOVD SP, g_sched+gobuf_sp(g)
    
    	// switch to g0
    	MOVD R2, g
    
    	// make it look like mstart called systemstack on g0, to stop traceback
    	I64Load (g_sched+gobuf_sp)(R2)
    	I64Const $8
    	I64Sub
    	Set R3
    
    	MOVD $runtime·mstart(SB), 0(R3)
    	MOVD R3, SP
    
    	// call fn
    	MOVD R0, CTXT
    
    	Get CTXT
    	I32WrapI64
    	I64Load $0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:26:51 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  4. src/runtime/debug/stack_test.go

    	}
    
    	// default: run the tests.
    	os.Exit(m.Run())
    }
    
    type T int
    
    func (t *T) ptrmethod() []byte {
    	return Stack()
    }
    func (t T) method() []byte {
    	return t.ptrmethod()
    }
    
    /*
    The traceback should look something like this, modulo line numbers and hex constants.
    Don't worry much about the base levels, but check the ones in our own package.
    
    	goroutine 10 [running]:
    	runtime/debug.Stack(0x0, 0x0, 0x0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. src/runtime/signal_windows.go

    //
    //go:nosplit
    func winthrow(info *exceptionrecord, r *context, gp *g) {
    	g0 := getg()
    
    	if panicking.Load() != 0 { // traceback already printed
    		exit(2)
    	}
    	panicking.Store(1)
    
    	// In case we're handling a g0 stack overflow, blow away the
    	// g0 stack bounds so we have room to print the traceback. If
    	// this somehow overflows the stack, the OS will trap it.
    	g0.stack.lo = 0
    	g0.stackguard0 = g0.stack.lo + stackGuard
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 20:32:29 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  6. src/runtime/asm_arm.s

    	MOVW	g_m(g), R1
    	MOVW	m_curg(R1), R0
    	BL	setg<>(SB)
    	MOVW	(g_sched+gobuf_sp)(g), R13
    	MOVW	$0, R3
    	MOVW	R3, (g_sched+gobuf_sp)(g)
    	RET
    
    noswitch:
    	// Using a tail call here cleans up tracebacks since we won't stop
    	// at an intermediate systemstack.
    	MOVW	R0, R7
    	MOVW	0(R0), R0
    	MOVW.P	4(R13), R14	// restore LR
    	B	(R0)
    
    // func switchToCrashStack0(fn func())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:00:52 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  7. src/runtime/runtime2.go

    	needextram    bool
    	traceback     uint8
    	ncgocall      uint64        // number of cgo calls in total
    	ncgo          int32         // number of cgo calls currently in progress
    	cgoCallersUse atomic.Uint32 // if non-zero, cgoCallers in use temporarily
    	cgoCallers    *cgoCallers   // cgo traceback if crashing in cgo call
    	park          note
    	alllink       *m // on allm
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  8. src/runtime/extern.go

    	schedtrace: setting schedtrace=X causes the scheduler to emit a single line to standard
    	error every X milliseconds, summarizing the scheduler state.
    
    	tracebackancestors: setting tracebackancestors=N extends tracebacks with the stacks at
    	which goroutines were created, where N limits the number of ancestor goroutines to
    	report. This also extends the information returned by runtime.Stack.
    	Setting N to 0 will report no ancestry information.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  9. src/runtime/sys_linux_mips64x.s

    // func walltime() (sec int64, nsec int32)
    TEXT runtime·walltime(SB),NOSPLIT,$16-12
    	MOVV	R29, R16	// R16 is unchanged by C code
    	MOVV	R29, R1
    
    	MOVV	g_m(g), R17	// R17 = m
    
    	// Set vdsoPC and vdsoSP for SIGPROF traceback.
    	// Save the old values on stack and restore them on exit,
    	// so this function is reentrant.
    	MOVV	m_vdsoPC(R17), R2
    	MOVV	m_vdsoSP(R17), R3
    	MOVV	R2, 8(R29)
    	MOVV	R3, 16(R29)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 18 20:57:24 UTC 2022
    - 12K bytes
    - Viewed (0)
  10. src/runtime/sys_linux_loong64.s

    // func walltime() (sec int64, nsec int32)
    TEXT runtime·walltime(SB),NOSPLIT,$24-12
    	MOVV	R3, R23	// R23 is unchanged by C code
    	MOVV	R3, R25
    
    	MOVV	g_m(g), R24	// R24 = m
    
    	// Set vdsoPC and vdsoSP for SIGPROF traceback.
    	// Save the old values on stack and restore them on exit,
    	// so this function is reentrant.
    	MOVV	m_vdsoPC(R24), R11
    	MOVV	m_vdsoSP(R24), R7
    	MOVV	R11, 8(R3)
    	MOVV	R7, 16(R3)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 20:58:13 UTC 2023
    - 14.2K bytes
    - Viewed (0)
Back to top