- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for STACK_SIZE (0.13 sec)
-
src/runtime/testdata/testprogcgo/bigstack_windows.c
} else { useStack(bytes - sizeof x); } } static DWORD WINAPI threadEntry(LPVOID lpParam) { useStack(STACK_SIZE - (128<<10)); return 0; } void bigStack(callback *cb) { bigStackCallback = cb; HANDLE hThread = CreateThread(NULL, STACK_SIZE, threadEntry, NULL, STACK_SIZE_PARAM_IS_A_RESERVATION, NULL); if (hThread == NULL) { fprintf(stderr, "CreateThread failed\n"); exit(1); }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 02 15:18:26 UTC 2018 - 1.2K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/stackswitch.c
// Next, verify that switching stacks doesn't break callbacks. char *stack1 = malloc(STACK_SIZE); if (stack1 == NULL) { perror("malloc"); exit(1); } // Allocate the second stack before freeing the first to ensure we don't get // the same address from malloc. // // Will be freed in stackSwitchThread2. stack2 = malloc(STACK_SIZE); if (stack1 == NULL) { perror("malloc"); exit(1); }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 26 15:17:33 UTC 2023 - 3.9K bytes - Viewed (0) -
tensorflow/c/env.cc
options->stack_size = 0; options->guard_size = 0; options->numa_node = -1; } TF_Thread* TF_StartThread(const TF_ThreadOptions* options, const char* thread_name, void (*work_func)(void*), void* param) { ::tensorflow::ThreadOptions cc_options; cc_options.stack_size = options->stack_size; cc_options.guard_size = options->guard_size;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 11 01:20:50 UTC 2021 - 7K bytes - Viewed (0) -
src/runtime/defs_freebsd_386.go
_NOTE_TRIGGER = 0x1000000 ) type rtprio struct { _type uint16 prio uint16 } type thrparam struct { start_func uintptr arg unsafe.Pointer stack_base uintptr stack_size uintptr tls_base unsafe.Pointer tls_size uintptr child_tid unsafe.Pointer // *int32 parent_tid *int32 flags int32 rtp *rtprio spare [3]uintptr }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 4.6K bytes - Viewed (0) -
src/runtime/defs_freebsd_riscv64.go
_NOTE_TRIGGER = 0x1000000 ) type rtprio struct { _type uint16 prio uint16 } type thrparam struct { start_func uintptr arg unsafe.Pointer stack_base uintptr stack_size uintptr tls_base unsafe.Pointer tls_size uintptr child_tid unsafe.Pointer // *int64 parent_tid *int64 flags int32 pad_cgo_0 [4]byte rtp *rtprio spare [3]uintptr }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 4.3K bytes - Viewed (0) -
src/runtime/defs_freebsd_arm.go
_NOTE_TRIGGER = 0x1000000 ) type rtprio struct { _type uint16 prio uint16 } type thrparam struct { start_func uintptr arg unsafe.Pointer stack_base uintptr stack_size uintptr tls_base unsafe.Pointer tls_size uintptr child_tid unsafe.Pointer // *int32 parent_tid *int32 flags int32 rtp *rtprio spare [3]uintptr }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 4K bytes - Viewed (0) -
src/runtime/defs_freebsd_arm64.go
_NOTE_TRIGGER = 0x1000000 ) type rtprio struct { _type uint16 prio uint16 } type thrparam struct { start_func uintptr arg unsafe.Pointer stack_base uintptr stack_size uintptr tls_base unsafe.Pointer tls_size uintptr child_tid unsafe.Pointer // *int64 parent_tid *int64 flags int32 pad_cgo_0 [4]byte rtp *rtprio spare [3]uintptr }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 4.3K bytes - Viewed (0) -
src/runtime/defs_freebsd_amd64.go
_NOTE_TRIGGER = 0x1000000 ) type rtprio struct { _type uint16 prio uint16 } type thrparam struct { start_func uintptr arg unsafe.Pointer stack_base uintptr stack_size uintptr tls_base unsafe.Pointer tls_size uintptr child_tid unsafe.Pointer // *int64 parent_tid *int64 flags int32 pad_cgo_0 [4]byte rtp *rtprio spare [3]uintptr }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 4.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/stack_ops_decomposition.mlir
%elem = "tf._SomeOp"() : () -> tensor<2xi32> // CHECK-NEXT: %[[STACK_VAL:.*]] = "tf.ReadVariableOp"(%[[BUFFER]]) : (tensor<!tf_type.resource<tensor<10x2xi32>>>) -> tensor<10x2xi32> // CHECK-NEXT: %[[STACK_SIZE:.*]] = "tf.ReadVariableOp"(%[[SIZE]]) : (tensor<!tf_type.resource<tensor<1xi32>>>) -> tensor<1xi32> // CHECK-NEXT: %[[UPDATE_SHAPE:.*]] = "tf.Const"() <{value = dense<[1, 2]> : tensor<2xi32>}> : () -> tensor<2xi32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 25.8K bytes - Viewed (0) -
src/runtime/os_freebsd.go
} param := thrparam{ start_func: abi.FuncPCABI0(thr_start), arg: unsafe.Pointer(mp), stack_base: mp.g0.stack.lo, stack_size: uintptr(stk) - mp.g0.stack.lo, child_tid: nil, // minit will record tid parent_tid: nil, tls_base: unsafe.Pointer(&mp.tls[0]), tls_size: unsafe.Sizeof(mp.tls), } var oset sigset
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 11.6K bytes - Viewed (0)