- Sort Score
- Result 10 results
- Languages All
Results 11 - 19 of 19 for Mock (0.24 sec)
-
api/go1.20.txt
pkg syscall (freebsd-riscv64), const LOCK_EX = 2 #53466 pkg syscall (freebsd-riscv64), const LOCK_EX ideal-int #53466 pkg syscall (freebsd-riscv64), const LOCK_NB = 4 #53466 pkg syscall (freebsd-riscv64), const LOCK_NB ideal-int #53466 pkg syscall (freebsd-riscv64), const LOCK_SH = 1 #53466 pkg syscall (freebsd-riscv64), const LOCK_SH ideal-int #53466 pkg syscall (freebsd-riscv64), const LOCK_UN = 8 #53466
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Feb 17 21:23:32 GMT 2023 - 602.6K bytes - Viewed (0) -
api/go1.1.txt
pkg syscall (linux-386), const SIOCSRARP = 35170 pkg syscall (linux-386), const SOCK_CLOEXEC = 524288 pkg syscall (linux-386), const SOCK_DCCP = 6 pkg syscall (linux-386), const SOCK_NONBLOCK = 2048 pkg syscall (linux-386), const SOCK_PACKET = 10 pkg syscall (linux-386), const SOCK_RDM = 4 pkg syscall (linux-386), const SOL_AAL = 265 pkg syscall (linux-386), const SOL_ATM = 264
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Mar 31 20:37:15 GMT 2022 - 2.6M bytes - Viewed (0) -
doc/go_spec.html
of an interface type or of elements of a composite type remains unchanged: </p> <pre> // A Mutex is a data type with two methods, Lock and Unlock. type Mutex struct { /* Mutex fields */ } func (m *Mutex) Lock() { /* Lock implementation */ } func (m *Mutex) Unlock() { /* Unlock implementation */ } // NewMutex has the same composition as Mutex but its method set is empty.
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu May 02 22:43:51 GMT 2024 - 279.6K bytes - Viewed (0) -
misc/ios/go_ios_exec.go
var tmpdir string var ( devID string appID string teamID string bundleID string deviceID string ) // lock is a file lock to serialize iOS runs. It is global to avoid the // garbage collector finalizing it, closing the file and releasing the // lock prematurely. var lock *os.File func main() { log.SetFlags(0) log.SetPrefix("go_ios_exec: ") if debug { log.Println(strings.Join(os.Args, " ")) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Apr 11 16:34:30 GMT 2022 - 23.4K bytes - Viewed (0) -
misc/go_android_exec/main.go
// https://issuetracker.google.com/issues/73230216. lockPath := filepath.Join(os.TempDir(), "go_android_exec-adb-lock") lock, err := os.OpenFile(lockPath, os.O_CREATE|os.O_RDWR, 0666) if err != nil { return 0, err } defer lock.Close() if err := syscall.Flock(int(lock.Fd()), syscall.LOCK_EX); err != nil { return 0, err } // In case we're booting a device or emulator alongside all.bash, wait for
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Aug 21 17:46:57 GMT 2023 - 15.3K bytes - Viewed (0) -
doc/go_mem.html
var a string func f() { a = "hello, world" l.Unlock() } func main() { l.Lock() go f() l.Lock() print(a) } </pre> <p> is guaranteed to print <code>"hello, world"</code>. The first call to <code>l.Unlock()</code> (in <code>f</code>) is synchronized before the second call to <code>l.Lock()</code> (in <code>main</code>) returns, which is sequenced before the <code>print</code>. </p>
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Mon Mar 04 15:54:42 GMT 2024 - 26.6K bytes - Viewed (0) -
src/cmd/cgo/internal/test/cgo_thread_lock.go
Austin Clements <******@****.***> 1684423194 -0400
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.11.txt
pkg syscall (netbsd-arm-cgo), func Pipe2([]int, int) error pkg syscall (openbsd-386), const SOCK_CLOEXEC = 32768 pkg syscall (openbsd-386), const SOCK_CLOEXEC ideal-int pkg syscall (openbsd-386), const SOCK_NONBLOCK = 16384 pkg syscall (openbsd-386), const SOCK_NONBLOCK ideal-int pkg syscall (openbsd-386), const SYS_ACCEPT4 = 93 pkg syscall (openbsd-386), const SYS_ACCEPT4 ideal-int
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Aug 22 03:48:56 GMT 2018 - 25K bytes - Viewed (2) -
api/go1.2.txt
pkg syscall (linux-arm-cgo), const SIOCSRARP ideal-int pkg syscall (linux-arm-cgo), const SOCK_CLOEXEC ideal-int pkg syscall (linux-arm-cgo), const SOCK_DCCP ideal-int pkg syscall (linux-arm-cgo), const SOCK_NONBLOCK ideal-int pkg syscall (linux-arm-cgo), const SOCK_PACKET ideal-int pkg syscall (linux-arm-cgo), const SOCK_RDM ideal-int pkg syscall (linux-arm-cgo), const SOL_AAL ideal-int
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Oct 18 04:36:59 GMT 2013 - 1.9M bytes - Viewed (2)