- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for _C_free (0.12 sec)
-
src/net/cgo_unix_syscall.go
_C_uint = uint32 _C_socklen_t = int _C_struct___res_state = unix.ResState _C_struct_addrinfo = unix.Addrinfo _C_struct_sockaddr = syscall.RawSockaddr ) func _C_free(p unsafe.Pointer) { runtime.KeepAlive(p) } func _C_malloc(n uintptr) unsafe.Pointer { if n <= 0 { n = 1 } return unsafe.Pointer(&make([]byte, n)[0]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 07 23:50:56 UTC 2024 - 3K bytes - Viewed (0) -
src/net/cgo_unix_cgo.go
_C_socklen_t = C.socklen_t _C_struct_addrinfo = C.struct_addrinfo _C_struct_sockaddr = C.struct_sockaddr ) func _C_malloc(n uintptr) unsafe.Pointer { return C.malloc(C.size_t(n)) } func _C_free(p unsafe.Pointer) { C.free(p) } func _C_ai_addr(ai *_C_struct_addrinfo) **_C_struct_sockaddr { return &ai.ai_addr } func _C_ai_family(ai *_C_struct_addrinfo) *_C_int { return &ai.ai_family }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 17:49:28 UTC 2024 - 2.2K bytes - Viewed (0) -
src/net/cgo_unix.go
resStateSize := unsafe.Sizeof(_C_struct___res_state{}) var state *_C_struct___res_state if resStateSize > 0 { mem := _C_malloc(resStateSize) defer _C_free(mem) memSlice := unsafe.Slice((*byte)(mem), resStateSize) clear(memSlice) state = (*_C_struct___res_state)(unsafe.Pointer(&memSlice[0])) } if err := _C_res_ninit(state); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 11.4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/MyMem.h
/** m-allocate with memory tracking. */ #define CU_MALLOC(x) CU_malloc((x), __LINE__, __FILE__) /** Free with memory tracking. */ #define CU_FREE(x) CU_free((x), __LINE__, __FILE__) /** Reallocate with memory tracking. */ #define CU_REALLOC(x, y) CU_realloc((x), (y), __LINE__, __FILE__) /** Generate report on tracked memory. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 4K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/TestRun.h
* can be called at any time, although the test registry must have been * initialized (checked by assertion). The returned string is owned by * the caller and should be deallocated using CU_FREE(). NULL is returned * if there is an error allocating the new string. * * @return A new string containing the run summary (owned by caller). */ CU_EXPORT void CU_print_run_results(FILE *file); /**<
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 22K bytes - Viewed (0)