v0.9.0-alpha.5 05b0c8f

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 !cgo && (darwin || freebsd || linux || netbsd)
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// call5 takes fn the C function and 5 arguments and calls the function with those arguments
19func call5(fn, a1, a2, a3, a4, a5 uintptr) uintptr
20
21//go:nosplit
22func malloc(size uintptr) unsafe.Pointer {
23	ret := call5(mallocABI0, uintptr(size), 0, 0, 0, 0)
24	// this indirection is to avoid go vet complaining about possible misuse of unsafe.Pointer
25	return *(*unsafe.Pointer)(unsafe.Pointer(&ret))
26}
27
28//go:nosplit
29func free(ptr unsafe.Pointer) {
30	call5(freeABI0, uintptr(ptr), 0, 0, 0, 0)
31}
32
33//go:nosplit
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
38//go:nosplit
39func unsetenv(name *byte) int32 {
40	return int32(call5(unsetenvABI0, uintptr(unsafe.Pointer(name)), 0, 0, 0, 0))
41}
42
43//go:nosplit
44func sigfillset(set *sigset_t) int32 {
45	return int32(call5(sigfillsetABI0, uintptr(unsafe.Pointer(set)), 0, 0, 0, 0))
46}
47
48//go:nosplit
49func nanosleep(ts *syscall.Timespec, rem *syscall.Timespec) int32 {
50	return int32(call5(nanosleepABI0, uintptr(unsafe.Pointer(ts)), uintptr(unsafe.Pointer(rem)), 0, 0, 0))
51}
52
53//go:nosplit
54func abort() {
55	call5(abortABI0, 0, 0, 0, 0, 0)
56}
57
58//go:nosplit
59func sigaltstack(ss *stack_t, old_ss *stack_t) int32 {
60	return int32(call5(sigaltstackABI0, uintptr(unsafe.Pointer(ss)), uintptr(unsafe.Pointer(old_ss)), 0, 0, 0))
61}
62
63//go:nosplit
64func pthread_attr_init(attr *pthread_attr_t) int32 {
65	return int32(call5(pthread_attr_initABI0, uintptr(unsafe.Pointer(attr)), 0, 0, 0, 0))
66}
67
68//go:nosplit
69func pthread_create(thread *pthread_t, attr *pthread_attr_t, start unsafe.Pointer, arg unsafe.Pointer) int32 {
70	return int32(call5(pthread_createABI0, uintptr(unsafe.Pointer(thread)), uintptr(unsafe.Pointer(attr)), uintptr(start), uintptr(arg), 0))
71}
72
73//go:nosplit
74func pthread_detach(thread pthread_t) int32 {
75	return int32(call5(pthread_detachABI0, uintptr(thread), 0, 0, 0, 0))
76}
77
78//go:nosplit
79func pthread_sigmask(how sighow, ign *sigset_t, oset *sigset_t) int32 {
80	return int32(call5(pthread_sigmaskABI0, uintptr(how), uintptr(unsafe.Pointer(ign)), uintptr(unsafe.Pointer(oset)), 0, 0))
81}
82
83//go:nosplit
84func pthread_self() pthread_t {
85	return pthread_t(call5(pthread_selfABI0, 0, 0, 0, 0, 0))
86}
87
88//go:nosplit
89func pthread_get_stacksize_np(thread pthread_t) size_t {
90	return size_t(call5(pthread_get_stacksize_npABI0, uintptr(thread), 0, 0, 0, 0))
91}
92
93//go:nosplit
94func pthread_attr_getstacksize(attr *pthread_attr_t, stacksize *size_t) int32 {
95	return int32(call5(pthread_attr_getstacksizeABI0, uintptr(unsafe.Pointer(attr)), uintptr(unsafe.Pointer(stacksize)), 0, 0, 0))
96}
97
98//go:nosplit
99func pthread_attr_setstacksize(attr *pthread_attr_t, size size_t) int32 {
100	return int32(call5(pthread_attr_setstacksizeABI0, uintptr(unsafe.Pointer(attr)), uintptr(size), 0, 0, 0))
101}
102
103//go:nosplit
104func pthread_attr_destroy(attr *pthread_attr_t) int32 {
105	return int32(call5(pthread_attr_destroyABI0, uintptr(unsafe.Pointer(attr)), 0, 0, 0, 0))
106}
107
108//go:nosplit
109func pthread_mutex_lock(mutex *pthread_mutex_t) int32 {
110	return int32(call5(pthread_mutex_lockABI0, uintptr(unsafe.Pointer(mutex)), 0, 0, 0, 0))
111}
112
113//go:nosplit
114func pthread_mutex_unlock(mutex *pthread_mutex_t) int32 {
115	return int32(call5(pthread_mutex_unlockABI0, uintptr(unsafe.Pointer(mutex)), 0, 0, 0, 0))
116}
117
118//go:nosplit
119func pthread_cond_broadcast(cond *pthread_cond_t) int32 {
120	return int32(call5(pthread_cond_broadcastABI0, uintptr(unsafe.Pointer(cond)), 0, 0, 0, 0))
121}
122
123//go:nosplit
124func pthread_setspecific(key pthread_key_t, value unsafe.Pointer) int32 {
125	return int32(call5(pthread_setspecificABI0, uintptr(key), uintptr(value), 0, 0, 0))
126}
127
128//go:linkname _malloc _malloc
129var _malloc uint8
130var mallocABI0 = uintptr(unsafe.Pointer(&_malloc))
131
132//go:linkname _free _free
133var _free uint8
134var freeABI0 = uintptr(unsafe.Pointer(&_free))
135
136//go:linkname _setenv _setenv
137var _setenv uint8
138var setenvABI0 = uintptr(unsafe.Pointer(&_setenv))
139
140//go:linkname _unsetenv _unsetenv
141var _unsetenv uint8
142var unsetenvABI0 = uintptr(unsafe.Pointer(&_unsetenv))
143
144//go:linkname _sigfillset _sigfillset
145var _sigfillset uint8
146var sigfillsetABI0 = uintptr(unsafe.Pointer(&_sigfillset))
147
148//go:linkname _nanosleep _nanosleep
149var _nanosleep uint8
150var nanosleepABI0 = uintptr(unsafe.Pointer(&_nanosleep))
151
152//go:linkname _abort _abort
153var _abort uint8
154var abortABI0 = uintptr(unsafe.Pointer(&_abort))
155
156//go:linkname _sigaltstack _sigaltstack
157var _sigaltstack uint8
158var sigaltstackABI0 = uintptr(unsafe.Pointer(&_sigaltstack))
159
160//go:linkname _pthread_attr_init _pthread_attr_init
161var _pthread_attr_init uint8
162var pthread_attr_initABI0 = uintptr(unsafe.Pointer(&_pthread_attr_init))
163
164//go:linkname _pthread_create _pthread_create
165var _pthread_create uint8
166var pthread_createABI0 = uintptr(unsafe.Pointer(&_pthread_create))
167
168//go:linkname _pthread_detach _pthread_detach
169var _pthread_detach uint8
170var pthread_detachABI0 = uintptr(unsafe.Pointer(&_pthread_detach))
171
172//go:linkname _pthread_sigmask _pthread_sigmask
173var _pthread_sigmask uint8
174var pthread_sigmaskABI0 = uintptr(unsafe.Pointer(&_pthread_sigmask))
175
176//go:linkname _pthread_self _pthread_self
177var _pthread_self uint8
178var pthread_selfABI0 = uintptr(unsafe.Pointer(&_pthread_self))
179
180//go:linkname _pthread_get_stacksize_np _pthread_get_stacksize_np
181var _pthread_get_stacksize_np uint8
182var pthread_get_stacksize_npABI0 = uintptr(unsafe.Pointer(&_pthread_get_stacksize_np))
183
184//go:linkname _pthread_attr_getstacksize _pthread_attr_getstacksize
185var _pthread_attr_getstacksize uint8
186var pthread_attr_getstacksizeABI0 = uintptr(unsafe.Pointer(&_pthread_attr_getstacksize))
187
188//go:linkname _pthread_attr_setstacksize _pthread_attr_setstacksize
189var _pthread_attr_setstacksize uint8
190var pthread_attr_setstacksizeABI0 = uintptr(unsafe.Pointer(&_pthread_attr_setstacksize))
191
192//go:linkname _pthread_attr_destroy _pthread_attr_destroy
193var _pthread_attr_destroy uint8
194var pthread_attr_destroyABI0 = uintptr(unsafe.Pointer(&_pthread_attr_destroy))
195
196//go:linkname _pthread_mutex_lock _pthread_mutex_lock
197var _pthread_mutex_lock uint8
198var pthread_mutex_lockABI0 = uintptr(unsafe.Pointer(&_pthread_mutex_lock))
199
200//go:linkname _pthread_mutex_unlock _pthread_mutex_unlock
201var _pthread_mutex_unlock uint8
202var pthread_mutex_unlockABI0 = uintptr(unsafe.Pointer(&_pthread_mutex_unlock))
203
204//go:linkname _pthread_cond_broadcast _pthread_cond_broadcast
205var _pthread_cond_broadcast uint8
206var pthread_cond_broadcastABI0 = uintptr(unsafe.Pointer(&_pthread_cond_broadcast))
207
208//go:linkname _pthread_setspecific _pthread_setspecific
209var _pthread_setspecific uint8
210var pthread_setspecificABI0 = uintptr(unsafe.Pointer(&_pthread_setspecific))

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