- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 73 for cmap (0.19 sec)
-
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc
return; } struct stat st; fstat(fd, &st); if (S_ISDIR(st.st_mode)) { TF_SetStatus(status, TF_FAILED_PRECONDITION, "path is a directory"); } else { const void* address = mmap(nullptr, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); if (address == MAP_FAILED) { TF_SetStatusFromIOError(status, errno, path); } else { region->plugin_memory_region =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Mar 24 20:08:23 UTC 2024 - 15.8K bytes - Viewed (0) -
src/cmd/internal/obj/objfile.go
o.SetSym(symref) o.SetName(rs.Name, w.Writer) o.Write(w.Writer) }) // TODO: output in sorted order? // Currently tools (cmd/internal/goobj package) doesn't use mmap, // and it just read it into a map in memory upfront. If it uses // mmap, if the output is sorted, it probably could avoid reading // into memory and just do lookups in the mmap'd object file. } // return the number of aux symbols s have.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 24K bytes - Viewed (0) -
pkg/controller/podautoscaler/horizontal_test.go
metricComputationActionLabels map[autoscalingv2.MetricSourceType][]monitor.ActionLabel metricComputationErrorLabels map[autoscalingv2.MetricSourceType][]monitor.ErrorLabel } func newMockMonitor() *mockMonitor { return &mockMonitor{ metricComputationActionLabels: make(map[autoscalingv2.MetricSourceType][]monitor.ActionLabel), metricComputationErrorLabels: make(map[autoscalingv2.MetricSourceType][]monitor.ErrorLabel),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 199.3K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/parser.go
// _Chan _Comm ntype p.next() t := new(ChanType) t.pos = pos if p.got(_Arrow) { t.Dir = SendOnly } t.Elem = p.chanElem() return t case _Map: // _Map '[' ntype ']' ntype p.next() p.want(_Lbrack) t := new(MapType) t.pos = pos t.Key = p.type_() p.want(_Rbrack) t.Value = p.type_() return t case _Struct:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 62.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd.go
//sys Unlink(path string) (err error) //sys Unlinkat(dirfd int, path string, flags int) (err error) //sys Unmount(path string, flags int) (err error) //sys write(fd int, p []byte) (n int, err error) //sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) //sys munmap(addr uintptr, length uintptr) (err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 05:26:45 UTC 2024 - 15.6K bytes - Viewed (0) -
src/syscall/zsyscall_openbsd_riscv64.go
} return } func libc_writev_trampoline() //go:cgo_import_dynamic libc_writev writev "libc.so" // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 07:51:20 UTC 2024 - 47.5K bytes - Viewed (0) -
src/syscall/zsyscall_openbsd_amd64.go
} return } func libc_writev_trampoline() //go:cgo_import_dynamic libc_writev writev "libc.so" // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 07:51:20 UTC 2024 - 47.4K bytes - Viewed (0) -
src/syscall/zsyscall_openbsd_arm64.go
} return } func libc_writev_trampoline() //go:cgo_import_dynamic libc_writev writev "libc.so" // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 07:51:20 UTC 2024 - 47.4K bytes - Viewed (0) -
src/syscall/zsyscall_openbsd_ppc64.go
} return } func libc_writev_trampoline() //go:cgo_import_dynamic libc_writev writev "libc.so" // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 07:51:20 UTC 2024 - 47.4K bytes - Viewed (0) -
src/cmd/link/internal/ld/dwarf.go
ldr: ctxt.loader, arch: ctxt.Arch, tmap: make(map[string]loader.Sym), tdmap: make(map[loader.Sym]loader.Sym), rtmap: make(map[loader.Sym]loader.Sym), } d.typeRuntimeEface = d.lookupOrDiag("type:runtime.eface") d.typeRuntimeIface = d.lookupOrDiag("type:runtime.iface") if ctxt.HeadType == objabi.Haix { // Initial map used to store package size for each DWARF section.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:25:18 UTC 2024 - 72.4K bytes - Viewed (0)