Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for STACK_SIZE (0.44 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/crypto/sha256/sha256block_amd64.s

    #define y3 DI
    
    // Offsets
    #define XFER_SIZE 2*64*4
    #define INP_END_SIZE 8
    #define INP_SIZE 8
    
    #define _XFER 0
    #define _INP_END _XFER + XFER_SIZE
    #define _INP _INP_END + INP_END_SIZE
    #define STACK_SIZE _INP + INP_SIZE
    
    #define ROUND_AND_SCHED_N_0(disp, a, b, c, d, e, f, g, h, XDWORD0, XDWORD1, XDWORD2, XDWORD3) \
    	;                                     \ // #############################  RND N + 0 ############################//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 47.3K bytes
    - Viewed (0)
Back to top