- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 2,148 for wall (0.32 sec)
-
src/internal/poll/sock_cloexec_solaris.go
} // See ../syscall/exec_unix.go for description of ForkLock. // It is probably okay to hold the lock across syscall.Accept // because we have put fd.sysfd into non-blocking mode. // However, a call to the File method will put it back into // blocking mode. We can't take that risk, so no use of ForkLock here. ns, sa, err := AcceptFunc(s) if err == nil { syscall.CloseOnExec(ns) } if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:17:25 UTC 2024 - 1.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/remove_unused_arguments.cc
do_not_touch.insert(func); } } } }); // Find all functions module->walk([&](SymbolOpInterface op) { if (!op.isPrivate()) return; auto call = llvm::dyn_cast<CallableOpInterface>(op.getOperation()); if (!call) return; Region* region = call.getCallableRegion(); if (!region) return; // happens e.g. for external functions
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.9K bytes - Viewed (0) -
src/runtime/proflabel.go
// but we do the read in a signal handler and can't call the race runtime then. // // This uses racereleasemerge rather than just racerelease so // the acquire in profBuf.read synchronizes with *all* prior // setProfLabel operations, not just the most recent one. This // is important because profBuf.read will observe different // labels set by different setProfLabel operations on
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 2.1K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue1435.go
C.trial(cts) defer C.cleanup() vs := []struct { call string fn func() error filter, expect string }{ {call: "Setegid(1)", fn: func() error { return syscall.Setegid(1) }, filter: "Gid:", expect: "\t0\t1\t0\t1"}, {call: "Setegid(0)", fn: func() error { return syscall.Setegid(0) }, filter: "Gid:", expect: "\t0\t0\t0\t0"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 28 21:31:41 UTC 2023 - 7.5K bytes - Viewed (0) -
src/crypto/rand/rand_getrandom.go
// reading from /dev/urandom in rand_unix.go. unix.GetRandom caches the ENOSYS // result so we only suffer the syscall overhead once in this case. // If the kernel supports the getrandom() syscall, unix.GetRandom will block // until the kernel has sufficient randomness (as we don't use GRND_NONBLOCK). // In this case, unix.GetRandom will not return an error. func getRandom(p []byte) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 07 00:26:43 UTC 2023 - 1.4K bytes - Viewed (0) -
src/net/sock_cloexec_solaris.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This file implements sysSocket for platforms that provide a fast path for // setting SetNonblock and CloseOnExec, but don't necessarily support it. // Support for SOCK_* flags as part of the type parameter was added to Oracle // Solaris in the 11.4 release. Thus, on releases prior to 11.4, we fall back
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:17:25 UTC 2024 - 1.4K bytes - Viewed (0) -
src/runtime/rand.go
//go:linkname rand func rand() uint64 { // Note: We avoid acquirem here so that in the fast path // there is just a getg, an inlined c.Next, and a return. // The performance difference on a 16-core AMD is // 3.7ns/call this way versus 4.3ns/call with acquirem (+16%). mp := getg().m c := &mp.chacha8 for { // Note: c.Next is marked nosplit, // so we don't need to use mp.locks // on the fast path, which is that the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 14:32:47 UTC 2024 - 8K bytes - Viewed (0) -
src/runtime/mem_linux.go
// MADV_FREE was added in Linux 4.5. Fall back on MADV_DONTNEED if it's // not supported. if madvise(v, n, _MADV_DONTNEED) == 0 { break } atomic.Store(&adviseUnused, madviseUnsupported) fallthrough case madviseUnsupported: // Since Linux 3.18, support for madvise is optional. // Fall back on mmap if it's not supported. // _MAP_ANON|_MAP_FIXED|_MAP_PRIVATE will unmap all the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 5K bytes - Viewed (0) -
src/os/exec_unix.go
} // If we can block until Wait4 will succeed immediately, do so. ready, err := p.blockUntilWaitable() if err != nil { return nil, err } if ready { // Mark the process done now, before the call to Wait4, // so that Process.pidSignal will not send a signal. p.pidDeactivate(statusDone) // Acquire a write lock on sigMu to wait for any // active call to the signal method to complete. p.sigMu.Lock()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 4.1K bytes - Viewed (0) -
src/internal/syscall/unix/kernel_version_solaris.go
// Something wrong with socket(), fall back to checking the kernel version. major, minor := KernelVersion() if runtime.GOOS == "illumos" { return major > 5 || (major == 5 && minor >= 11) // minimal requirement is SunOS 5.11 } return major > 11 || (major == 11 && minor >= 4) } return false }) // SupportAccept4 tests whether accept4 system call is available.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 03:10:07 UTC 2024 - 3.1K bytes - Viewed (0)