v0.3.1 e8cf67e

symbols.go RawHistoryFolder

1// Code generated by 'go generate' with gen.go. DO NOT EDIT.
2
3// SPDX-License-Identifier: Apache-2.0
4// SPDX-FileCopyrightText: 2022 The Ebitengine Authors
5
6//go:build darwin || linux
7
8package fakecgo
9
10import (
11	"syscall"
12	"unsafe"
13)
14
15// setg_trampoline calls setg with the G provided
16func setg_trampoline(setg uintptr, G uintptr)
17
18//go:linkname memmove runtime.memmove
19func memmove(to, from unsafe.Pointer, n uintptr)
20
21// call5 takes fn the C function and 5 arguments and calls the function with those arguments
22func call5(fn, a1, a2, a3, a4, a5 uintptr) uintptr
23
24func malloc(size uintptr) unsafe.Pointer {
25	ret := call5(mallocABI0, uintptr(size), 0, 0, 0, 0)
26	// this indirection is to avoid go vet complaining about possible misuse of unsafe.Pointer
27	return *(*unsafe.Pointer)(unsafe.Pointer(&ret))
28}
29
30func free(ptr unsafe.Pointer) {
31	call5(freeABI0, uintptr(ptr), 0, 0, 0, 0)
32}
33
34func setenv(name *byte, value *byte, overwrite int32) int32 {
35	return int32(call5(setenvABI0, uintptr(unsafe.Pointer(name)), uintptr(unsafe.Pointer(value)), uintptr(overwrite), 0, 0))
36}
37
38func unsetenv(name *byte) int32 {
39	return int32(call5(unsetenvABI0, uintptr(unsafe.Pointer(name)), 0, 0, 0, 0))
40}
41
42func pthread_attr_init(attr *pthread_attr_t) int32 {
43	return int32(call5(pthread_attr_initABI0, uintptr(unsafe.Pointer(attr)), 0, 0, 0, 0))
44}
45
46func pthread_create(thread *pthread_t, attr *pthread_attr_t, start unsafe.Pointer, arg unsafe.Pointer) int32 {
47	return int32(call5(pthread_createABI0, uintptr(unsafe.Pointer(thread)), uintptr(unsafe.Pointer(attr)), uintptr(start), uintptr(arg), 0))
48}
49
50func pthread_detach(thread pthread_t) int32 {
51	return int32(call5(pthread_detachABI0, uintptr(thread), 0, 0, 0, 0))
52}
53
54func pthread_sigmask(how sighow, ign *sigset_t, oset *sigset_t) int32 {
55	return int32(call5(pthread_sigmaskABI0, uintptr(how), uintptr(unsafe.Pointer(ign)), uintptr(unsafe.Pointer(oset)), 0, 0))
56}
57
58func pthread_self() pthread_t {
59	return pthread_t(call5(pthread_selfABI0, 0, 0, 0, 0, 0))
60}
61
62func pthread_get_stacksize_np(thread pthread_t) size_t {
63	return size_t(call5(pthread_get_stacksize_npABI0, uintptr(thread), 0, 0, 0, 0))
64}
65
66func pthread_attr_getstacksize(attr *pthread_attr_t, stacksize *size_t) int32 {
67	return int32(call5(pthread_attr_getstacksizeABI0, uintptr(unsafe.Pointer(attr)), uintptr(unsafe.Pointer(stacksize)), 0, 0, 0))
68}
69
70func pthread_attr_setstacksize(attr *pthread_attr_t, size size_t) int32 {
71	return int32(call5(pthread_attr_setstacksizeABI0, uintptr(unsafe.Pointer(attr)), uintptr(size), 0, 0, 0))
72}
73
74func pthread_attr_destroy(attr *pthread_attr_t) int32 {
75	return int32(call5(pthread_attr_destroyABI0, uintptr(unsafe.Pointer(attr)), 0, 0, 0, 0))
76}
77
78func sigfillset(set *sigset_t) int32 {
79	return int32(call5(sigfillsetABI0, uintptr(unsafe.Pointer(set)), 0, 0, 0, 0))
80}
81
82func nanosleep(ts *syscall.Timespec, rem *syscall.Timespec) int32 {
83	return int32(call5(nanosleepABI0, uintptr(unsafe.Pointer(ts)), uintptr(unsafe.Pointer(rem)), 0, 0, 0))
84}
85
86func abort() {
87	call5(abortABI0, 0, 0, 0, 0, 0)
88}
89
90//go:linkname _malloc _malloc
91var _malloc uintptr
92var mallocABI0 = uintptr(unsafe.Pointer(&_malloc))
93
94//go:linkname _free _free
95var _free uintptr
96var freeABI0 = uintptr(unsafe.Pointer(&_free))
97
98//go:linkname _setenv _setenv
99var _setenv uintptr
100var setenvABI0 = uintptr(unsafe.Pointer(&_setenv))
101
102//go:linkname _unsetenv _unsetenv
103var _unsetenv uintptr
104var unsetenvABI0 = uintptr(unsafe.Pointer(&_unsetenv))
105
106//go:linkname _pthread_attr_init _pthread_attr_init
107var _pthread_attr_init uintptr
108var pthread_attr_initABI0 = uintptr(unsafe.Pointer(&_pthread_attr_init))
109
110//go:linkname _pthread_create _pthread_create
111var _pthread_create uintptr
112var pthread_createABI0 = uintptr(unsafe.Pointer(&_pthread_create))
113
114//go:linkname _pthread_detach _pthread_detach
115var _pthread_detach uintptr
116var pthread_detachABI0 = uintptr(unsafe.Pointer(&_pthread_detach))
117
118//go:linkname _pthread_sigmask _pthread_sigmask
119var _pthread_sigmask uintptr
120var pthread_sigmaskABI0 = uintptr(unsafe.Pointer(&_pthread_sigmask))
121
122//go:linkname _pthread_self _pthread_self
123var _pthread_self uintptr
124var pthread_selfABI0 = uintptr(unsafe.Pointer(&_pthread_self))
125
126//go:linkname _pthread_get_stacksize_np _pthread_get_stacksize_np
127var _pthread_get_stacksize_np uintptr
128var pthread_get_stacksize_npABI0 = uintptr(unsafe.Pointer(&_pthread_get_stacksize_np))
129
130//go:linkname _pthread_attr_getstacksize _pthread_attr_getstacksize
131var _pthread_attr_getstacksize uintptr
132var pthread_attr_getstacksizeABI0 = uintptr(unsafe.Pointer(&_pthread_attr_getstacksize))
133
134//go:linkname _pthread_attr_setstacksize _pthread_attr_setstacksize
135var _pthread_attr_setstacksize uintptr
136var pthread_attr_setstacksizeABI0 = uintptr(unsafe.Pointer(&_pthread_attr_setstacksize))
137
138//go:linkname _pthread_attr_destroy _pthread_attr_destroy
139var _pthread_attr_destroy uintptr
140var pthread_attr_destroyABI0 = uintptr(unsafe.Pointer(&_pthread_attr_destroy))
141
142//go:linkname _sigfillset _sigfillset
143var _sigfillset uintptr
144var sigfillsetABI0 = uintptr(unsafe.Pointer(&_sigfillset))
145
146//go:linkname _nanosleep _nanosleep
147var _nanosleep uintptr
148var nanosleepABI0 = uintptr(unsafe.Pointer(&_nanosleep))
149
150//go:linkname _abort _abort
151var _abort uintptr
152var abortABI0 = uintptr(unsafe.Pointer(&_abort))

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 102

↑↓ moveenter openesc close