Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for _C_malloc (0.12 sec)

  1. src/net/cgo_unix.go

    }
    
    func cgoResSearch(hostname string, rtype, class int) ([]dnsmessage.Resource, error) {
    	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]))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:23:45 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  2. src/cmd/cgo/ast.go

    	if goname == "errno" {
    		error_(sel.Pos(), "cannot refer to errno directly; see documentation")
    		return
    	}
    	if goname == "_CMalloc" {
    		error_(sel.Pos(), "cannot refer to C._CMalloc; use C.malloc")
    		return
    	}
    	if goname == "malloc" {
    		goname = "_CMalloc"
    	}
    	name := f.Name[goname]
    	if name == nil {
    		name = &Name{
    			Go: goname,
    		}
    		f.Name[goname] = name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:27 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go

    	`free`,
    	`memalign`,
    	`do_memalign`,
    	`(__)?posix_memalign`,
    	`pvalloc`,
    	`valloc`,
    	`realloc`,
    
    	// TC malloc.
    	`tcmalloc::.*`,
    	`tc_calloc`,
    	`tc_cfree`,
    	`tc_malloc`,
    	`tc_free`,
    	`tc_memalign`,
    	`tc_posix_memalign`,
    	`tc_pvalloc`,
    	`tc_valloc`,
    	`tc_realloc`,
    	`tc_new`,
    	`tc_delete`,
    	`tc_newarray`,
    	`tc_deletearray`,
    	`tc_new_nothrow`,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 32.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/call.go

    			pkg := pname.imported
    
    			var exp Object
    			funcMode := value
    			if pkg.cgo {
    				// cgo special cases C.malloc: it's
    				// rewritten to _CMalloc and does not
    				// support two-result calls.
    				if sel == "malloc" {
    					sel = "_CMalloc"
    				} else {
    					funcMode = cgofunc
    				}
    				for _, prefix := range cgoPrefixes {
    					// cgo objects are part of the current package (in file
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  5. src/go/types/call.go

    			pkg := pname.imported
    
    			var exp Object
    			funcMode := value
    			if pkg.cgo {
    				// cgo special cases C.malloc: it's
    				// rewritten to _CMalloc and does not
    				// support two-result calls.
    				if sel == "malloc" {
    					sel = "_CMalloc"
    				} else {
    					funcMode = cgofunc
    				}
    				for _, prefix := range cgoPrefixes {
    					// cgo objects are part of the current package (in file
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
Back to top