Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for _C_malloc (0.14 sec)

  1. src/net/cgo_unix_syscall.go

    	_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])
    }
    
    func _C_ai_addr(ai *_C_struct_addrinfo) **_C_struct_sockaddr { return &ai.Addr }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 23:50:56 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/net/cgo_unix_cgo.go

    	_C_uchar           = C.uchar
    	_C_int             = C.int
    	_C_uint            = C.uint
    	_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 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 17:49:28 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/MyMem.h

      /** c-allocate with memory tracking. */
      #define CU_CALLOC(x, y)         CU_calloc((x), (y), __LINE__, __FILE__)
      /** 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. */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/CaseSensitiveVfsRelativePathTest.groovy

                ["Bad", "c", "AB"],
                ["Bad", "cA", "AB"],
                ["cpuid.h", "cross-stdarg.h", "emmintrin.h", "f16cintrin.h", "float.h", "iso646.h", "ISO_Fortran_binding.h", "lwpintrin.h", "lzcntintrin.h", "mm3dnow.h", "mm_malloc.h", "mmintrin.h", "movdirintrin.h", "mwaitxintrin.h", "nmmintrin.h", "omp.h", "openacc.h", "pconfigintrin.h", "stddef.h", "stdfix.h", "stdint-gcc.h", "stdint.h", "stdnoreturn.h", "tbmintrin.h", "tgmath.h", "tmmintrin.h", "unwind.h"],
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top