- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for mocked (0.23 sec)
-
src/cmd/cgo/internal/test/callback.go
// Make sure panic during callback unwinds properly. if lockedOSThread() { t.Fatal("locked OS thread on entry to TestCallbackPanic") } defer func() { s := recover() if s == nil { t.Fatal("did not panic") } if s.(string) != "callback panic" { t.Fatal("wrong panic:", s) } if lockedOSThread() { t.Fatal("locked OS thread on exit from TestCallbackPanic") } }()
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 111.5K bytes - Viewed (0) -
src/cmd/asm/internal/asm/operand_test.go
{"[):[o-FP", ""}, // Issue 12469 - there was no infinite loop for ARM; these are just sanity checks. {"[):[R0-FP", ""}, {"(", ""}, // Issue 12466 - backed up before beginning of line. } var ppc64OperandTests = []operandTest{ {"$((1<<63)-1)", "$9223372036854775807"}, {"$(-64*1024)", "$-65536"}, {"$(1024 * 8)", "$8192"}, {"$-1", "$-1"},
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Tue Aug 29 18:31:05 GMT 2023 - 23.9K bytes - Viewed (0) -
api/go1.14.txt
pkg syscall (freebsd-arm64), const RTF_REJECT = 8 pkg syscall (freebsd-arm64), const RTF_REJECT ideal-int pkg syscall (freebsd-arm64), const RTF_RNH_LOCKED = 1073741824 pkg syscall (freebsd-arm64), const RTF_RNH_LOCKED ideal-int pkg syscall (freebsd-arm64), const RTF_STATIC = 2048 pkg syscall (freebsd-arm64), const RTF_STATIC ideal-int pkg syscall (freebsd-arm64), const RTF_STICKY = 268435456
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 508.9K bytes - Viewed (0) -
api/go1.txt
pkg sync, method (*WaitGroup) Done() pkg sync, method (*WaitGroup) Wait() pkg sync, type Cond struct pkg sync, type Cond struct, L Locker pkg sync, type Locker interface { Lock, Unlock } pkg sync, type Locker interface, Lock() pkg sync, type Locker interface, Unlock() pkg sync, type Mutex struct pkg sync, type Once struct pkg sync, type RWMutex struct pkg sync, type WaitGroup struct
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Viewed (1) -
src/builtin/builtin.go
// specify a different capacity; it must be no smaller than the // length. For example, make([]int, 0, 10) allocates an underlying array // of size 10 and returns a slice of length 0 and capacity 10 that is // backed by this underlying array. // Map: An empty map is allocated with enough space to hold the // specified number of elements. The size may be omitted, in which case // a small starting size is allocated.
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 12.7K bytes - Viewed (0) -
doc/go1.22.html
<dd> <p><!-- https://go.dev/issue/61015 --> Mutex profiles now scale contention by the number of goroutines blocked on the mutex. This provides a more accurate representation of the degree to which a mutex is a bottleneck in a Go program. For instance, if 100 goroutines are blocked on a mutex for 10 milliseconds, a mutex profile will now record 1 second of delay instead of 10 milliseconds of delay. </p>
HTML - Registered: Tue Feb 06 11:13:10 GMT 2024 - Last Modified: Wed Jan 31 20:51:56 GMT 2024 - 45.6K bytes - Viewed (0) -
doc/go_spec.html
to define an interface called <code>Locker</code>: </p> <pre> type Locker interface { Lock() Unlock() } </pre> <p> If <code>S1</code> and <code>S2</code> also implement </p> <pre> func (p T) Lock() { … } func (p T) Unlock() { … } </pre> <p> they implement the <code>Locker</code> interface as well as the <code>File</code> interface.
HTML - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 279.3K bytes - Viewed (0) -
api/go1.1.txt
pkg syscall (linux-386), const IN_MASK_ADD = 536870912 pkg syscall (linux-386), const IN_MODIFY = 2 pkg syscall (linux-386), const IN_MOVE = 192 pkg syscall (linux-386), const IN_MOVED_FROM = 64 pkg syscall (linux-386), const IN_MOVED_TO = 128 pkg syscall (linux-386), const IN_MOVE_SELF = 2048 pkg syscall (linux-386), const IN_NONBLOCK = 2048 pkg syscall (linux-386), const IN_ONESHOT = 2147483648
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Mar 31 20:37:15 GMT 2022 - 2.6M bytes - Viewed (0) -
src/cmd/cgo/internal/test/cgo_thread_lock.go
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu May 18 16:55:07 GMT 2023 - 939 bytes - Viewed (0) -
api/go1.2.txt
pkg syscall (linux-arm-cgo), const IN_MODIFY ideal-int pkg syscall (linux-arm-cgo), const IN_MOVE ideal-int pkg syscall (linux-arm-cgo), const IN_MOVED_FROM ideal-int pkg syscall (linux-arm-cgo), const IN_MOVED_TO ideal-int pkg syscall (linux-arm-cgo), const IN_MOVE_SELF ideal-int pkg syscall (linux-arm-cgo), const IN_NONBLOCK ideal-int pkg syscall (linux-arm-cgo), const IN_ONESHOT ideal-int
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Oct 18 04:36:59 GMT 2013 - 1.9M bytes - Viewed (2)