Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 168 for Malloc (0.17 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/zsysctl_openbsd_riscv64.go

    	{"kern.hostid", []_C_int{1, 11}},
    	{"kern.hostname", []_C_int{1, 10}},
    	{"kern.intrcnt.nintrcnt", []_C_int{1, 63, 1}},
    	{"kern.job_control", []_C_int{1, 19}},
    	{"kern.malloc.buckets", []_C_int{1, 39, 1}},
    	{"kern.malloc.kmemnames", []_C_int{1, 39, 3}},
    	{"kern.maxclusters", []_C_int{1, 67}},
    	{"kern.maxfiles", []_C_int{1, 7}},
    	{"kern.maxlocksperuid", []_C_int{1, 70}},
    	{"kern.maxpartitions", []_C_int{1, 23}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 12K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zsysctl_openbsd_mips64.go

    	{"kern.hostid", []_C_int{1, 11}},
    	{"kern.hostname", []_C_int{1, 10}},
    	{"kern.intrcnt.nintrcnt", []_C_int{1, 63, 1}},
    	{"kern.job_control", []_C_int{1, 19}},
    	{"kern.malloc.buckets", []_C_int{1, 39, 1}},
    	{"kern.malloc.kmemnames", []_C_int{1, 39, 3}},
    	{"kern.maxclusters", []_C_int{1, 67}},
    	{"kern.maxfiles", []_C_int{1, 7}},
    	{"kern.maxlocksperuid", []_C_int{1, 70}},
    	{"kern.maxpartitions", []_C_int{1, 23}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  3. src/syscall/zsysctl_openbsd.go

    	{"kern.hostid", []_C_int{1, 11}},
    	{"kern.hostname", []_C_int{1, 10}},
    	{"kern.intrcnt.nintrcnt", []_C_int{1, 63, 1}},
    	{"kern.job_control", []_C_int{1, 19}},
    	{"kern.malloc.buckets", []_C_int{1, 39, 1}},
    	{"kern.malloc.kmemnames", []_C_int{1, 39, 3}},
    	{"kern.maxclusters", []_C_int{1, 67}},
    	{"kern.maxfiles", []_C_int{1, 7}},
    	{"kern.maxlocksperuid", []_C_int{1, 70}},
    	{"kern.maxpartitions", []_C_int{1, 23}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 03:24:15 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/stream_executor/stream_executor_test.cc

      se_.allocate = [](const SP_Device* const device, uint64_t size,
                        int64_t memory_space, SP_DeviceMemoryBase* const mem) {
        mem->struct_size = SP_DEVICE_MEMORY_BASE_STRUCT_SIZE;
        mem->opaque = malloc(size);
        mem->size = size;
      };
      se_.deallocate = [](const SP_Device* const device,
                          SP_DeviceMemoryBase* const mem) {
        EXPECT_EQ(mem->size, 2 * sizeof(int));
        free(mem->opaque);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 19:54:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm64.go

    	{"kern.hostid", []_C_int{1, 11}},
    	{"kern.hostname", []_C_int{1, 10}},
    	{"kern.intrcnt.nintrcnt", []_C_int{1, 63, 1}},
    	{"kern.job_control", []_C_int{1, 19}},
    	{"kern.malloc.buckets", []_C_int{1, 39, 1}},
    	{"kern.malloc.kmemnames", []_C_int{1, 39, 3}},
    	{"kern.maxclusters", []_C_int{1, 67}},
    	{"kern.maxfiles", []_C_int{1, 7}},
    	{"kern.maxlocksperuid", []_C_int{1, 70}},
    	{"kern.maxpartitions", []_C_int{1, 23}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  6. src/runtime/trace.go

    		// Finish off CPU profile reading.
    		traceStopReadCPU()
    
    		// Reset debug.malloc if necessary. Note that this is set in a racy
    		// way; that's OK. Some mallocs may still enter into the debug.malloc
    		// block, but they won't generate events because tracing is disabled.
    		// That is, it's OK if mallocs read a stale debug.malloc or
    		// trace.enabledWithAllocFree value.
    		if trace.enabledWithAllocFree {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zsysctl_openbsd_386.go

    	{"kern.hostid", []_C_int{1, 11}},
    	{"kern.hostname", []_C_int{1, 10}},
    	{"kern.intrcnt.nintrcnt", []_C_int{1, 63, 1}},
    	{"kern.job_control", []_C_int{1, 19}},
    	{"kern.malloc.buckets", []_C_int{1, 39, 1}},
    	{"kern.malloc.kmemnames", []_C_int{1, 39, 3}},
    	{"kern.maxclusters", []_C_int{1, 67}},
    	{"kern.maxfiles", []_C_int{1, 7}},
    	{"kern.maxlocksperuid", []_C_int{1, 70}},
    	{"kern.maxpartitions", []_C_int{1, 23}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  8. src/runtime/panic.go

    //go:nowritebarrierrec
    func startpanic_m() bool {
    	gp := getg()
    	if mheap_.cachealloc.size == 0 { // very early
    		print("runtime: panic before malloc heap initialized\n")
    	}
    	// Disallow malloc during an unrecoverable panic. A panic
    	// could happen in a signal handler, or in a throw, or inside
    	// malloc itself. We want to catch if an allocation ever does
    	// happen (even if we're not in one of these situations).
    	gp.m.mallocing++
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  9. src/cmd/cgo/doc.go

    	func C.GoBytes(unsafe.Pointer, C.int) []byte
    
    As a special case, C.malloc does not call the C library malloc directly
    but instead calls a Go helper function that wraps the C library malloc
    but guarantees never to return nil. If C's malloc indicates out of memory,
    the helper function crashes the program, like when Go itself runs out
    of memory. Because C.malloc cannot fail, it has no two-result form
    that returns errno.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  10. src/runtime/arena.go

    	}
    
    	// Prevent preemption as we set up the space for a new object.
    	//
    	// Act like we're allocating.
    	mp := acquirem()
    	if mp.mallocing != 0 {
    		throw("malloc deadlock")
    	}
    	if mp.gsignal == getg() {
    		throw("malloc during signal")
    	}
    	mp.mallocing = 1
    
    	var ptr unsafe.Pointer
    	if !typ.Pointers() {
    		// Allocate pointer-less objects from the tail end of the chunk.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:44:56 UTC 2024
    - 37.9K bytes
    - Viewed (0)
Back to top