mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 21:02:26 -05:00
[chore] update dependencies, bump to Go 1.19.1 (#826)
* update dependencies, bump Go version to 1.19 * bump test image Go version * update golangci-lint * update gotosocial-drone-build * sign * linting, go fmt * update swagger docs * update swagger docs * whitespace * update contributing.md * fuckin whoopsie doopsie * linterino, linteroni * fix followrequest test not starting processor * fix other api/client tests not starting processor * fix remaining tests where processor not started * bump go-runners version * don't check last-webfingered-at, processor may have updated this * update swagger command * update bun to latest version * fix embed to work the same as before with new bun Signed-off-by: kim <grufwub@gmail.com> Co-authored-by: tsmethurst <tobi.smethurst@protonmail.com>
This commit is contained in:
parent
00d38855d4
commit
a156188b3e
1135 changed files with 258905 additions and 137146 deletions
5
vendor/modernc.org/libc/pthread/capi_freebsd_arm.go
generated
vendored
Normal file
5
vendor/modernc.org/libc/pthread/capi_freebsd_arm.go
generated
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
// Code generated by 'ccgo pthread/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o pthread/pthread_freebsd_arm.go -pkgname pthread', DO NOT EDIT.
|
||||
|
||||
package pthread
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
5
vendor/modernc.org/libc/pthread/capi_openbsd_arm64.go
generated
vendored
Normal file
5
vendor/modernc.org/libc/pthread/capi_openbsd_arm64.go
generated
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
// Code generated by 'ccgo pthread/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o pthread/pthread_openbsd_amd64.go -pkgname pthread', DO NOT EDIT.
|
||||
|
||||
package pthread
|
||||
|
||||
var CAPI = map[string]struct{}{}
|
||||
4
vendor/modernc.org/libc/pthread/pthread_freebsd_386.go
generated
vendored
4
vendor/modernc.org/libc/pthread/pthread_freebsd_386.go
generated
vendored
|
|
@ -713,8 +713,8 @@ type X__cpusetid_t = int32 /* _types.h:70:14 */ // cpuset identifier.
|
|||
type X__daddr_t = X__int64_t /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc
|
||||
|
||||
// Unusual type definitions.
|
||||
// rune_t is declared to be an ``int'' instead of the more natural
|
||||
// ``unsigned long'' or ``long''. Two things are happening here. It is not
|
||||
// rune_t is declared to be an “int” instead of the more natural
|
||||
// “unsigned long” or “long”. Two things are happening here. It is not
|
||||
// unsigned so that EOF (-1) can be naturally assigned to it and used. Also,
|
||||
// it looks like 10646 will be a 31 bit standard. This means that if your
|
||||
// ints cannot hold 32 bits, you will be in trouble. The reason an int was
|
||||
|
|
|
|||
4
vendor/modernc.org/libc/pthread/pthread_freebsd_amd64.go
generated
vendored
4
vendor/modernc.org/libc/pthread/pthread_freebsd_amd64.go
generated
vendored
|
|
@ -718,8 +718,8 @@ type X__cpusetid_t = int32 /* _types.h:70:14 */ // cpuset identifier.
|
|||
type X__daddr_t = X__int64_t /* _types.h:71:19 */ // bwrite(3), FIOBMAP2, etc
|
||||
|
||||
// Unusual type definitions.
|
||||
// rune_t is declared to be an ``int'' instead of the more natural
|
||||
// ``unsigned long'' or ``long''. Two things are happening here. It is not
|
||||
// rune_t is declared to be an “int” instead of the more natural
|
||||
// “unsigned long” or “long”. Two things are happening here. It is not
|
||||
// unsigned so that EOF (-1) can be naturally assigned to it and used. Also,
|
||||
// it looks like 10646 will be a 31 bit standard. This means that if your
|
||||
// ints cannot hold 32 bits, you will be in trouble. The reason an int was
|
||||
|
|
|
|||
1932
vendor/modernc.org/libc/pthread/pthread_freebsd_arm.go
generated
vendored
Normal file
1932
vendor/modernc.org/libc/pthread/pthread_freebsd_arm.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
31
vendor/modernc.org/libc/pthread/pthread_linux_386.go
generated
vendored
31
vendor/modernc.org/libc/pthread/pthread_linux_386.go
generated
vendored
|
|
@ -865,7 +865,8 @@ type X__syscall_slong_t = int32 /* types.h:196:33 */
|
|||
type X__syscall_ulong_t = uint32 /* types.h:198:33 */
|
||||
|
||||
// These few don't really vary by system, they always correspond
|
||||
// to one of the other defined types.
|
||||
//
|
||||
// to one of the other defined types.
|
||||
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
|
||||
type X__caddr_t = uintptr /* types.h:203:14 */
|
||||
|
||||
|
|
@ -876,13 +877,15 @@ type X__intptr_t = int32 /* types.h:206:25 */
|
|||
type X__socklen_t = uint32 /* types.h:209:23 */
|
||||
|
||||
// C99: An integer type that can be accessed as an atomic entity,
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
//
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
type X__sig_atomic_t = int32 /* types.h:214:13 */
|
||||
|
||||
// Seconds since the Epoch, visible to user code when time_t is too
|
||||
// narrow only for consistency with the old way of widening too-narrow
|
||||
// types. User code should never use __time64_t.
|
||||
//
|
||||
// narrow only for consistency with the old way of widening too-narrow
|
||||
// types. User code should never use __time64_t.
|
||||
type X__time64_t = X__int64_t /* types.h:222:28 */
|
||||
|
||||
// Wide character type.
|
||||
|
|
@ -974,7 +977,8 @@ type Time_t = X__time_t /* time_t.h:7:18 */
|
|||
// values.
|
||||
|
||||
// POSIX.1b structure for a time value. This is like a `struct timeval' but
|
||||
// has nanoseconds instead of microseconds.
|
||||
//
|
||||
// has nanoseconds instead of microseconds.
|
||||
type Timespec = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_nsec X__syscall_slong_t
|
||||
|
|
@ -1733,18 +1737,21 @@ type X__pthread_cond_s = struct {
|
|||
} /* thread-shared-types.h:92:1 */
|
||||
|
||||
// Thread identifiers. The structure of the attribute type is not
|
||||
// exposed on purpose.
|
||||
//
|
||||
// exposed on purpose.
|
||||
type Pthread_t = uint32 /* pthreadtypes.h:27:27 */
|
||||
|
||||
// Data structures for mutex handling. The structure of the attribute
|
||||
// type is not exposed on purpose.
|
||||
//
|
||||
// type is not exposed on purpose.
|
||||
type Pthread_mutexattr_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]int8
|
||||
} /* pthreadtypes.h:36:3 */
|
||||
|
||||
// Data structure for condition variable handling. The structure of
|
||||
// the attribute type is not exposed on purpose.
|
||||
//
|
||||
// the attribute type is not exposed on purpose.
|
||||
type Pthread_condattr_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]int8
|
||||
|
|
@ -1768,7 +1775,8 @@ type Pthread_mutex_t = struct{ F__data X__pthread_mutex_s } /* pthreadtypes.h:72
|
|||
type Pthread_cond_t = struct{ F__data X__pthread_cond_s } /* pthreadtypes.h:80:3 */
|
||||
|
||||
// Data structure for reader-writer lock variable handling. The
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
//
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
type Pthread_rwlock_t = struct{ F__data X__pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */
|
||||
|
||||
type Pthread_rwlockattr_t = struct {
|
||||
|
|
@ -1780,7 +1788,8 @@ type Pthread_rwlockattr_t = struct {
|
|||
type Pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */
|
||||
|
||||
// POSIX barriers data type. The structure of the type is
|
||||
// deliberately not exposed.
|
||||
//
|
||||
// deliberately not exposed.
|
||||
type Pthread_barrier_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [20]int8
|
||||
|
|
|
|||
26
vendor/modernc.org/libc/pthread/pthread_linux_amd64.go
generated
vendored
26
vendor/modernc.org/libc/pthread/pthread_linux_amd64.go
generated
vendored
|
|
@ -885,7 +885,8 @@ type X__syscall_slong_t = int64 /* types.h:196:33 */
|
|||
type X__syscall_ulong_t = uint64 /* types.h:198:33 */
|
||||
|
||||
// These few don't really vary by system, they always correspond
|
||||
// to one of the other defined types.
|
||||
//
|
||||
// to one of the other defined types.
|
||||
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
|
||||
type X__caddr_t = uintptr /* types.h:203:14 */
|
||||
|
||||
|
|
@ -896,8 +897,9 @@ type X__intptr_t = int64 /* types.h:206:25 */
|
|||
type X__socklen_t = uint32 /* types.h:209:23 */
|
||||
|
||||
// C99: An integer type that can be accessed as an atomic entity,
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
//
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
type X__sig_atomic_t = int32 /* types.h:214:13 */
|
||||
|
||||
// Wide character type.
|
||||
|
|
@ -989,7 +991,8 @@ type Time_t = X__time_t /* time_t.h:7:18 */
|
|||
// values.
|
||||
|
||||
// POSIX.1b structure for a time value. This is like a `struct timeval' but
|
||||
// has nanoseconds instead of microseconds.
|
||||
//
|
||||
// has nanoseconds instead of microseconds.
|
||||
type Timespec = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_nsec X__syscall_slong_t
|
||||
|
|
@ -1747,18 +1750,21 @@ type X__pthread_cond_s = struct {
|
|||
} /* thread-shared-types.h:92:1 */
|
||||
|
||||
// Thread identifiers. The structure of the attribute type is not
|
||||
// exposed on purpose.
|
||||
//
|
||||
// exposed on purpose.
|
||||
type Pthread_t = uint64 /* pthreadtypes.h:27:27 */
|
||||
|
||||
// Data structures for mutex handling. The structure of the attribute
|
||||
// type is not exposed on purpose.
|
||||
//
|
||||
// type is not exposed on purpose.
|
||||
type Pthread_mutexattr_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]int8
|
||||
} /* pthreadtypes.h:36:3 */
|
||||
|
||||
// Data structure for condition variable handling. The structure of
|
||||
// the attribute type is not exposed on purpose.
|
||||
//
|
||||
// the attribute type is not exposed on purpose.
|
||||
type Pthread_condattr_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]int8
|
||||
|
|
@ -1782,7 +1788,8 @@ type Pthread_mutex_t = struct{ F__data X__pthread_mutex_s } /* pthreadtypes.h:72
|
|||
type Pthread_cond_t = struct{ F__data X__pthread_cond_s } /* pthreadtypes.h:80:3 */
|
||||
|
||||
// Data structure for reader-writer lock variable handling. The
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
//
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
type Pthread_rwlock_t = struct{ F__data X__pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */
|
||||
|
||||
type Pthread_rwlockattr_t = struct {
|
||||
|
|
@ -1794,7 +1801,8 @@ type Pthread_rwlockattr_t = struct {
|
|||
type Pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */
|
||||
|
||||
// POSIX barriers data type. The structure of the type is
|
||||
// deliberately not exposed.
|
||||
//
|
||||
// deliberately not exposed.
|
||||
type Pthread_barrier_t = struct {
|
||||
F__ccgo_pad1 [0]uint64
|
||||
F__size [32]int8
|
||||
|
|
|
|||
40
vendor/modernc.org/libc/pthread/pthread_linux_arm.go
generated
vendored
40
vendor/modernc.org/libc/pthread/pthread_linux_arm.go
generated
vendored
|
|
@ -938,7 +938,8 @@ type X__syscall_slong_t = int32 /* types.h:196:33 */
|
|||
type X__syscall_ulong_t = uint32 /* types.h:198:33 */
|
||||
|
||||
// These few don't really vary by system, they always correspond
|
||||
// to one of the other defined types.
|
||||
//
|
||||
// to one of the other defined types.
|
||||
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
|
||||
type X__caddr_t = uintptr /* types.h:203:14 */
|
||||
|
||||
|
|
@ -949,13 +950,15 @@ type X__intptr_t = int32 /* types.h:206:25 */
|
|||
type X__socklen_t = uint32 /* types.h:209:23 */
|
||||
|
||||
// C99: An integer type that can be accessed as an atomic entity,
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
//
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
type X__sig_atomic_t = int32 /* types.h:214:13 */
|
||||
|
||||
// Seconds since the Epoch, visible to user code when time_t is too
|
||||
// narrow only for consistency with the old way of widening too-narrow
|
||||
// types. User code should never use __time64_t.
|
||||
//
|
||||
// narrow only for consistency with the old way of widening too-narrow
|
||||
// types. User code should never use __time64_t.
|
||||
type X__time64_t = X__int64_t /* types.h:222:28 */
|
||||
|
||||
// Wide character type.
|
||||
|
|
@ -1047,7 +1050,8 @@ type Time_t = X__time_t /* time_t.h:7:18 */
|
|||
// values.
|
||||
|
||||
// POSIX.1b structure for a time value. This is like a `struct timeval' but
|
||||
// has nanoseconds instead of microseconds.
|
||||
//
|
||||
// has nanoseconds instead of microseconds.
|
||||
type Timespec = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_nsec X__syscall_slong_t
|
||||
|
|
@ -1857,18 +1861,21 @@ type X__pthread_cond_s = struct {
|
|||
} /* thread-shared-types.h:92:1 */
|
||||
|
||||
// Thread identifiers. The structure of the attribute type is not
|
||||
// exposed on purpose.
|
||||
//
|
||||
// exposed on purpose.
|
||||
type Pthread_t = uint32 /* pthreadtypes.h:27:27 */
|
||||
|
||||
// Data structures for mutex handling. The structure of the attribute
|
||||
// type is not exposed on purpose.
|
||||
//
|
||||
// type is not exposed on purpose.
|
||||
type Pthread_mutexattr_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]uint8
|
||||
} /* pthreadtypes.h:36:3 */
|
||||
|
||||
// Data structure for condition variable handling. The structure of
|
||||
// the attribute type is not exposed on purpose.
|
||||
//
|
||||
// the attribute type is not exposed on purpose.
|
||||
type Pthread_condattr_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]uint8
|
||||
|
|
@ -1892,7 +1899,8 @@ type Pthread_mutex_t = struct{ F__data X__pthread_mutex_s } /* pthreadtypes.h:72
|
|||
type Pthread_cond_t = struct{ F__data X__pthread_cond_s } /* pthreadtypes.h:80:3 */
|
||||
|
||||
// Data structure for reader-writer lock variable handling. The
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
//
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
type Pthread_rwlock_t = struct{ F__data X__pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */
|
||||
|
||||
type Pthread_rwlockattr_t = struct {
|
||||
|
|
@ -1904,7 +1912,8 @@ type Pthread_rwlockattr_t = struct {
|
|||
type Pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */
|
||||
|
||||
// POSIX barriers data type. The structure of the type is
|
||||
// deliberately not exposed.
|
||||
//
|
||||
// deliberately not exposed.
|
||||
type Pthread_barrier_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [20]uint8
|
||||
|
|
@ -1935,10 +1944,11 @@ type Pthread_barrierattr_t = struct {
|
|||
// Define the machine-dependent type `jmp_buf'. ARM EABI version.
|
||||
|
||||
// The exact set of registers saved may depend on the particular core
|
||||
// in use, as some coprocessor registers may need to be saved. The C
|
||||
// Library ABI requires that the buffer be 8-byte aligned, and
|
||||
// recommends that the buffer contain 64 words. The first 26 words
|
||||
// are occupied by sp, lr, v1-v6, sl, fp, and d8-d15.
|
||||
//
|
||||
// in use, as some coprocessor registers may need to be saved. The C
|
||||
// Library ABI requires that the buffer be 8-byte aligned, and
|
||||
// recommends that the buffer contain 64 words. The first 26 words
|
||||
// are occupied by sp, lr, v1-v6, sl, fp, and d8-d15.
|
||||
type X__jmp_buf = [64]int32 /* setjmp.h:33:13 */
|
||||
|
||||
// Conditional variable handling.
|
||||
|
|
|
|||
31
vendor/modernc.org/libc/pthread/pthread_linux_arm64.go
generated
vendored
31
vendor/modernc.org/libc/pthread/pthread_linux_arm64.go
generated
vendored
|
|
@ -969,7 +969,8 @@ type X__syscall_slong_t = int64 /* types.h:196:33 */
|
|||
type X__syscall_ulong_t = uint64 /* types.h:198:33 */
|
||||
|
||||
// These few don't really vary by system, they always correspond
|
||||
// to one of the other defined types.
|
||||
//
|
||||
// to one of the other defined types.
|
||||
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
|
||||
type X__caddr_t = uintptr /* types.h:203:14 */
|
||||
|
||||
|
|
@ -980,8 +981,9 @@ type X__intptr_t = int64 /* types.h:206:25 */
|
|||
type X__socklen_t = uint32 /* types.h:209:23 */
|
||||
|
||||
// C99: An integer type that can be accessed as an atomic entity,
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
//
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
type X__sig_atomic_t = int32 /* types.h:214:13 */
|
||||
|
||||
// Wide character type.
|
||||
|
|
@ -1073,7 +1075,8 @@ type Time_t = X__time_t /* time_t.h:7:18 */
|
|||
// values.
|
||||
|
||||
// POSIX.1b structure for a time value. This is like a `struct timeval' but
|
||||
// has nanoseconds instead of microseconds.
|
||||
//
|
||||
// has nanoseconds instead of microseconds.
|
||||
type Timespec = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_nsec X__syscall_slong_t
|
||||
|
|
@ -1864,18 +1867,21 @@ type X__pthread_cond_s = struct {
|
|||
} /* thread-shared-types.h:92:1 */
|
||||
|
||||
// Thread identifiers. The structure of the attribute type is not
|
||||
// exposed on purpose.
|
||||
//
|
||||
// exposed on purpose.
|
||||
type Pthread_t = uint64 /* pthreadtypes.h:27:27 */
|
||||
|
||||
// Data structures for mutex handling. The structure of the attribute
|
||||
// type is not exposed on purpose.
|
||||
//
|
||||
// type is not exposed on purpose.
|
||||
type Pthread_mutexattr_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [8]uint8
|
||||
} /* pthreadtypes.h:36:3 */
|
||||
|
||||
// Data structure for condition variable handling. The structure of
|
||||
// the attribute type is not exposed on purpose.
|
||||
//
|
||||
// the attribute type is not exposed on purpose.
|
||||
type Pthread_condattr_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [8]uint8
|
||||
|
|
@ -1902,7 +1908,8 @@ type Pthread_mutex_t = struct {
|
|||
type Pthread_cond_t = struct{ F__data X__pthread_cond_s } /* pthreadtypes.h:80:3 */
|
||||
|
||||
// Data structure for reader-writer lock variable handling. The
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
//
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
type Pthread_rwlock_t = struct{ F__data X__pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */
|
||||
|
||||
type Pthread_rwlockattr_t = struct {
|
||||
|
|
@ -1914,7 +1921,8 @@ type Pthread_rwlockattr_t = struct {
|
|||
type Pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */
|
||||
|
||||
// POSIX barriers data type. The structure of the type is
|
||||
// deliberately not exposed.
|
||||
//
|
||||
// deliberately not exposed.
|
||||
type Pthread_barrier_t = struct {
|
||||
F__ccgo_pad1 [0]uint64
|
||||
F__size [32]uint8
|
||||
|
|
@ -1944,8 +1952,9 @@ type Pthread_barrierattr_t = struct {
|
|||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// Jump buffer contains:
|
||||
// x19-x28, x29(fp), x30(lr), (x31)sp, d8-d15. Other registers are not
|
||||
// saved.
|
||||
//
|
||||
// x19-x28, x29(fp), x30(lr), (x31)sp, d8-d15. Other registers are not
|
||||
// saved.
|
||||
type X__jmp_buf = [22]uint64 /* setjmp.h:30:42 */
|
||||
|
||||
// Conditional variable handling.
|
||||
|
|
|
|||
39
vendor/modernc.org/libc/pthread/pthread_linux_ppc64le.go
generated
vendored
39
vendor/modernc.org/libc/pthread/pthread_linux_ppc64le.go
generated
vendored
|
|
@ -894,7 +894,8 @@ type X__syscall_slong_t = int64 /* types.h:196:33 */
|
|||
type X__syscall_ulong_t = uint64 /* types.h:198:33 */
|
||||
|
||||
// These few don't really vary by system, they always correspond
|
||||
// to one of the other defined types.
|
||||
//
|
||||
// to one of the other defined types.
|
||||
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
|
||||
type X__caddr_t = uintptr /* types.h:203:14 */
|
||||
|
||||
|
|
@ -905,8 +906,9 @@ type X__intptr_t = int64 /* types.h:206:25 */
|
|||
type X__socklen_t = uint32 /* types.h:209:23 */
|
||||
|
||||
// C99: An integer type that can be accessed as an atomic entity,
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
//
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
type X__sig_atomic_t = int32 /* types.h:214:13 */
|
||||
|
||||
// Wide character type.
|
||||
|
|
@ -998,7 +1000,8 @@ type Time_t = X__time_t /* time_t.h:7:18 */
|
|||
// values.
|
||||
|
||||
// POSIX.1b structure for a time value. This is like a `struct timeval' but
|
||||
// has nanoseconds instead of microseconds.
|
||||
//
|
||||
// has nanoseconds instead of microseconds.
|
||||
type Timespec = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_nsec X__syscall_slong_t
|
||||
|
|
@ -1756,18 +1759,21 @@ type X__pthread_cond_s = struct {
|
|||
} /* thread-shared-types.h:92:1 */
|
||||
|
||||
// Thread identifiers. The structure of the attribute type is not
|
||||
// exposed on purpose.
|
||||
//
|
||||
// exposed on purpose.
|
||||
type Pthread_t = uint64 /* pthreadtypes.h:27:27 */
|
||||
|
||||
// Data structures for mutex handling. The structure of the attribute
|
||||
// type is not exposed on purpose.
|
||||
//
|
||||
// type is not exposed on purpose.
|
||||
type Pthread_mutexattr_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]uint8
|
||||
} /* pthreadtypes.h:36:3 */
|
||||
|
||||
// Data structure for condition variable handling. The structure of
|
||||
// the attribute type is not exposed on purpose.
|
||||
//
|
||||
// the attribute type is not exposed on purpose.
|
||||
type Pthread_condattr_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]uint8
|
||||
|
|
@ -1791,7 +1797,8 @@ type Pthread_mutex_t = struct{ F__data X__pthread_mutex_s } /* pthreadtypes.h:72
|
|||
type Pthread_cond_t = struct{ F__data X__pthread_cond_s } /* pthreadtypes.h:80:3 */
|
||||
|
||||
// Data structure for reader-writer lock variable handling. The
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
//
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
type Pthread_rwlock_t = struct{ F__data X__pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */
|
||||
|
||||
type Pthread_rwlockattr_t = struct {
|
||||
|
|
@ -1803,7 +1810,8 @@ type Pthread_rwlockattr_t = struct {
|
|||
type Pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */
|
||||
|
||||
// POSIX barriers data type. The structure of the type is
|
||||
// deliberately not exposed.
|
||||
//
|
||||
// deliberately not exposed.
|
||||
type Pthread_barrier_t = struct {
|
||||
F__ccgo_pad1 [0]uint64
|
||||
F__size [32]uint8
|
||||
|
|
@ -1841,12 +1849,13 @@ type Pthread_barrierattr_t = struct {
|
|||
// Determine the wordsize from the preprocessor defines.
|
||||
|
||||
// The current powerpc 32-bit Altivec ABI specifies for SVR4 ABI and EABI
|
||||
// the vrsave must be at byte 248 & v20 at byte 256. So we must pad this
|
||||
// correctly on 32 bit. It also insists that vecregs are only gauranteed
|
||||
// 4 byte alignment so we need to use vperm in the setjmp/longjmp routines.
|
||||
// We have to version the code because members like int __mask_was_saved
|
||||
// in the jmp_buf will move as jmp_buf is now larger than 248 bytes. We
|
||||
// cannot keep the altivec jmp_buf backward compatible with the jmp_buf.
|
||||
//
|
||||
// the vrsave must be at byte 248 & v20 at byte 256. So we must pad this
|
||||
// correctly on 32 bit. It also insists that vecregs are only gauranteed
|
||||
// 4 byte alignment so we need to use vperm in the setjmp/longjmp routines.
|
||||
// We have to version the code because members like int __mask_was_saved
|
||||
// in the jmp_buf will move as jmp_buf is now larger than 248 bytes. We
|
||||
// cannot keep the altivec jmp_buf backward compatible with the jmp_buf.
|
||||
type X__jmp_buf = [64]int64 /* setjmp.h:42:18 */
|
||||
|
||||
// Conditional variable handling.
|
||||
|
|
|
|||
33
vendor/modernc.org/libc/pthread/pthread_linux_riscv64.go
generated
vendored
33
vendor/modernc.org/libc/pthread/pthread_linux_riscv64.go
generated
vendored
|
|
@ -1091,7 +1091,8 @@ type X__syscall_slong_t = int64 /* types.h:197:33 */
|
|||
type X__syscall_ulong_t = uint64 /* types.h:199:33 */
|
||||
|
||||
// These few don't really vary by system, they always correspond
|
||||
// to one of the other defined types.
|
||||
//
|
||||
// to one of the other defined types.
|
||||
type X__loff_t = X__off64_t /* types.h:203:19 */ // Type of file sizes and offsets (LFS).
|
||||
type X__caddr_t = uintptr /* types.h:204:14 */
|
||||
|
||||
|
|
@ -1102,8 +1103,9 @@ type X__intptr_t = int64 /* types.h:207:25 */
|
|||
type X__socklen_t = uint32 /* types.h:210:23 */
|
||||
|
||||
// C99: An integer type that can be accessed as an atomic entity,
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
//
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
type X__sig_atomic_t = int32 /* types.h:215:13 */
|
||||
|
||||
// Wide character type.
|
||||
|
|
@ -1195,7 +1197,8 @@ type Time_t = X__time_t /* time_t.h:10:18 */
|
|||
// values.
|
||||
|
||||
// POSIX.1b structure for a time value. This is like a `struct timeval' but
|
||||
// has nanoseconds instead of microseconds.
|
||||
//
|
||||
// has nanoseconds instead of microseconds.
|
||||
type Timespec = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_nsec X__syscall_slong_t
|
||||
|
|
@ -1959,9 +1962,10 @@ type X__pthread_mutex_s = struct {
|
|||
// <https://www.gnu.org/licenses/>.
|
||||
|
||||
// There is a lot of padding in this structure. While it's not strictly
|
||||
// necessary on RISC-V, we're going to leave it in to be on the safe side in
|
||||
// case it's needed in the future. Most other architectures have the padding,
|
||||
// so this gives us the same extensibility as everyone else has.
|
||||
//
|
||||
// necessary on RISC-V, we're going to leave it in to be on the safe side in
|
||||
// case it's needed in the future. Most other architectures have the padding,
|
||||
// so this gives us the same extensibility as everyone else has.
|
||||
type X__pthread_rwlock_arch_t = struct {
|
||||
F__readers uint32
|
||||
F__writers uint32
|
||||
|
|
@ -1995,18 +1999,21 @@ type X__thrd_t = uint64 /* thread-shared-types.h:120:27 */
|
|||
type X__once_flag = struct{ F__data int32 } /* thread-shared-types.h:125:3 */
|
||||
|
||||
// Thread identifiers. The structure of the attribute type is not
|
||||
// exposed on purpose.
|
||||
//
|
||||
// exposed on purpose.
|
||||
type Pthread_t = uint64 /* pthreadtypes.h:27:27 */
|
||||
|
||||
// Data structures for mutex handling. The structure of the attribute
|
||||
// type is not exposed on purpose.
|
||||
//
|
||||
// type is not exposed on purpose.
|
||||
type Pthread_mutexattr_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]uint8
|
||||
} /* pthreadtypes.h:36:3 */
|
||||
|
||||
// Data structure for condition variable handling. The structure of
|
||||
// the attribute type is not exposed on purpose.
|
||||
//
|
||||
// the attribute type is not exposed on purpose.
|
||||
type Pthread_condattr_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]uint8
|
||||
|
|
@ -2030,7 +2037,8 @@ type Pthread_mutex_t = struct{ F__data X__pthread_mutex_s } /* pthreadtypes.h:72
|
|||
type Pthread_cond_t = struct{ F__data X__pthread_cond_s } /* pthreadtypes.h:80:3 */
|
||||
|
||||
// Data structure for reader-writer lock variable handling. The
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
//
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
type Pthread_rwlock_t = struct{ F__data X__pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */
|
||||
|
||||
type Pthread_rwlockattr_t = struct {
|
||||
|
|
@ -2042,7 +2050,8 @@ type Pthread_rwlockattr_t = struct {
|
|||
type Pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */
|
||||
|
||||
// POSIX barriers data type. The structure of the type is
|
||||
// deliberately not exposed.
|
||||
//
|
||||
// deliberately not exposed.
|
||||
type Pthread_barrier_t = struct {
|
||||
F__ccgo_pad1 [0]uint64
|
||||
F__size [32]uint8
|
||||
|
|
|
|||
26
vendor/modernc.org/libc/pthread/pthread_linux_s390x.go
generated
vendored
26
vendor/modernc.org/libc/pthread/pthread_linux_s390x.go
generated
vendored
|
|
@ -882,7 +882,8 @@ type X__syscall_slong_t = int64 /* types.h:196:33 */
|
|||
type X__syscall_ulong_t = uint64 /* types.h:198:33 */
|
||||
|
||||
// These few don't really vary by system, they always correspond
|
||||
// to one of the other defined types.
|
||||
//
|
||||
// to one of the other defined types.
|
||||
type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS).
|
||||
type X__caddr_t = uintptr /* types.h:203:14 */
|
||||
|
||||
|
|
@ -893,8 +894,9 @@ type X__intptr_t = int64 /* types.h:206:25 */
|
|||
type X__socklen_t = uint32 /* types.h:209:23 */
|
||||
|
||||
// C99: An integer type that can be accessed as an atomic entity,
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
//
|
||||
// even in the presence of asynchronous interrupts.
|
||||
// It is not currently necessary for this to be machine-specific.
|
||||
type X__sig_atomic_t = int32 /* types.h:214:13 */
|
||||
|
||||
// Wide character type.
|
||||
|
|
@ -986,7 +988,8 @@ type Time_t = X__time_t /* time_t.h:7:18 */
|
|||
// values.
|
||||
|
||||
// POSIX.1b structure for a time value. This is like a `struct timeval' but
|
||||
// has nanoseconds instead of microseconds.
|
||||
//
|
||||
// has nanoseconds instead of microseconds.
|
||||
type Timespec = struct {
|
||||
Ftv_sec X__time_t
|
||||
Ftv_nsec X__syscall_slong_t
|
||||
|
|
@ -1743,18 +1746,21 @@ type X__pthread_cond_s = struct {
|
|||
} /* thread-shared-types.h:92:1 */
|
||||
|
||||
// Thread identifiers. The structure of the attribute type is not
|
||||
// exposed on purpose.
|
||||
//
|
||||
// exposed on purpose.
|
||||
type Pthread_t = uint64 /* pthreadtypes.h:27:27 */
|
||||
|
||||
// Data structures for mutex handling. The structure of the attribute
|
||||
// type is not exposed on purpose.
|
||||
//
|
||||
// type is not exposed on purpose.
|
||||
type Pthread_mutexattr_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]uint8
|
||||
} /* pthreadtypes.h:36:3 */
|
||||
|
||||
// Data structure for condition variable handling. The structure of
|
||||
// the attribute type is not exposed on purpose.
|
||||
//
|
||||
// the attribute type is not exposed on purpose.
|
||||
type Pthread_condattr_t = struct {
|
||||
F__ccgo_pad1 [0]uint32
|
||||
F__size [4]uint8
|
||||
|
|
@ -1778,7 +1784,8 @@ type Pthread_mutex_t = struct{ F__data X__pthread_mutex_s } /* pthreadtypes.h:72
|
|||
type Pthread_cond_t = struct{ F__data X__pthread_cond_s } /* pthreadtypes.h:80:3 */
|
||||
|
||||
// Data structure for reader-writer lock variable handling. The
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
//
|
||||
// structure of the attribute type is deliberately not exposed.
|
||||
type Pthread_rwlock_t = struct{ F__data X__pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */
|
||||
|
||||
type Pthread_rwlockattr_t = struct {
|
||||
|
|
@ -1790,7 +1797,8 @@ type Pthread_rwlockattr_t = struct {
|
|||
type Pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */
|
||||
|
||||
// POSIX barriers data type. The structure of the type is
|
||||
// deliberately not exposed.
|
||||
//
|
||||
// deliberately not exposed.
|
||||
type Pthread_barrier_t = struct {
|
||||
F__ccgo_pad1 [0]uint64
|
||||
F__size [32]uint8
|
||||
|
|
|
|||
1
vendor/modernc.org/libc/pthread/pthread_netbsd_amd64.go
generated
vendored
1
vendor/modernc.org/libc/pthread/pthread_netbsd_amd64.go
generated
vendored
|
|
@ -2036,6 +2036,7 @@ type Timezone = struct {
|
|||
|
||||
// hide bintime for _STANDALONE because this header is used for hpcboot.exe,
|
||||
// which is built with compilers which don't recognize LL suffix.
|
||||
//
|
||||
// http://mail-index.NetBSD.org/tech-userlevel/2008/02/27/msg000181.html
|
||||
type Bintime = struct {
|
||||
Fsec Time_t
|
||||
|
|
|
|||
2020
vendor/modernc.org/libc/pthread/pthread_openbsd_arm64.go
generated
vendored
Normal file
2020
vendor/modernc.org/libc/pthread/pthread_openbsd_arm64.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
5
vendor/modernc.org/libc/pthread/pthread_windows_386.go
generated
vendored
5
vendor/modernc.org/libc/pthread/pthread_windows_386.go
generated
vendored
|
|
@ -609,8 +609,9 @@ type Threadlocinfo = Threadlocaleinfostruct /* crtdefs.h:468:3 */
|
|||
// Offset of member MEMBER in a struct of type TYPE.
|
||||
|
||||
// Type whose alignment is supported in every context and is at least
|
||||
// as great as that of any standard type not using alignment
|
||||
// specifiers.
|
||||
//
|
||||
// as great as that of any standard type not using alignment
|
||||
// specifiers.
|
||||
type Max_align_t = struct {
|
||||
F__max_align_ll int64
|
||||
F__max_align_ld float64
|
||||
|
|
|
|||
5
vendor/modernc.org/libc/pthread/pthread_windows_amd64.go
generated
vendored
5
vendor/modernc.org/libc/pthread/pthread_windows_amd64.go
generated
vendored
|
|
@ -621,8 +621,9 @@ type Threadlocinfo = Threadlocaleinfostruct /* crtdefs.h:468:3 */
|
|||
// Offset of member MEMBER in a struct of type TYPE.
|
||||
|
||||
// Type whose alignment is supported in every context and is at least
|
||||
// as great as that of any standard type not using alignment
|
||||
// specifiers.
|
||||
//
|
||||
// as great as that of any standard type not using alignment
|
||||
// specifiers.
|
||||
type Max_align_t = struct {
|
||||
F__max_align_ll int64
|
||||
F__max_align_ld float64
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue