- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for Flock (0.4 sec)
-
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) -
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.14.txt
pkg syscall (freebsd-arm64), const LOCK_EX = 2 pkg syscall (freebsd-arm64), const LOCK_EX ideal-int pkg syscall (freebsd-arm64), const LOCK_NB = 4 pkg syscall (freebsd-arm64), const LOCK_NB ideal-int pkg syscall (freebsd-arm64), const LOCK_SH = 1 pkg syscall (freebsd-arm64), const LOCK_SH ideal-int pkg syscall (freebsd-arm64), const LOCK_UN = 8 pkg syscall (freebsd-arm64), const LOCK_UN ideal-int
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 508.9K bytes - Viewed (0) -
api/go1.16.txt
pkg syscall (darwin-arm64), const LOCK_EX = 2 pkg syscall (darwin-arm64), const LOCK_EX ideal-int pkg syscall (darwin-arm64), const LOCK_NB = 4 pkg syscall (darwin-arm64), const LOCK_NB ideal-int pkg syscall (darwin-arm64), const LOCK_SH = 1 pkg syscall (darwin-arm64), const LOCK_SH ideal-int pkg syscall (darwin-arm64), const LOCK_UN = 8 pkg syscall (darwin-arm64), const LOCK_UN ideal-int
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Dec 02 16:30:41 GMT 2022 - 479.2K 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) -
doc/go1.17_spec.html
and ends at the end of the innermost containing block.</li> <li>The scope of a type identifier declared inside a function begins at the identifier in the TypeSpec and ends at the end of the innermost containing block.</li> </ol> <p> An identifier declared in a block may be redeclared in an inner block. While the identifier of the inner declaration is in scope, it denotes
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
src/bytes/buffer_test.go
b.Write(buf[:1]) } } } func BenchmarkBufferWriteBlock(b *testing.B) { block := make([]byte, 1024) for _, n := range []int{1 << 12, 1 << 16, 1 << 20} { b.Run(fmt.Sprintf("N%d", n), func(b *testing.B) { b.ReportAllocs() for i := 0; i < b.N; i++ { var bb Buffer for bb.Len() < n { bb.Write(block) } } }) } } func BenchmarkBufferAppendNoCopy(b *testing.B) {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 13:31:36 GMT 2024 - 18.6K bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback.go
// callback(x) calls goCallback(x) callbackMutex.Lock() callbackToken++ i := callbackToken callbackFuncs[i] = f callbackMutex.Unlock() // Pass the address of i because the C function was written to // take a pointer. We could pass an int if we felt like // rewriting the C code. C.callback(unsafe.Pointer(&i)) callbackMutex.Lock() delete(callbackFuncs, i) callbackMutex.Unlock() }
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) -
api/go1.1.txt
pkg syscall (freebsd-386), const SYS_CHROOT = 61 pkg syscall (freebsd-386), const SYS_CLOCK_GETCPUCLOCKID2 = 247 pkg syscall (freebsd-386), const SYS_CLOCK_GETCPUCLOCKID2 ideal-int pkg syscall (freebsd-386), const SYS_CLOCK_GETRES = 234 pkg syscall (freebsd-386), const SYS_CLOCK_GETTIME = 232 pkg syscall (freebsd-386), const SYS_CLOCK_SETTIME = 233 pkg syscall (freebsd-386), const SYS_CLOSE = 6
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) -
src/archive/zip/register.go
fw *flate.Writer } func (w *pooledFlateWriter) Write(p []byte) (n int, err error) { w.mu.Lock() defer w.mu.Unlock() if w.fw == nil { return 0, errors.New("Write after Close") } return w.fw.Write(p) } func (w *pooledFlateWriter) Close() error { w.mu.Lock() defer w.mu.Unlock() var err error if w.fw != nil { err = w.fw.Close() flateWriterPool.Put(w.fw) w.fw = nil
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 3.7K bytes - Viewed (0)