- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for toRun (0.04 sec)
-
src/runtime/netpoll_aix.go
mode += 'w' pfd.events &= ^_POLLOUT } if mode != 0 { pds[i].setEventErr(pfd.revents == _POLLERR, 0) delta += netpollready(&toRun, pds[i], mode) n-- } } unlock(&mtxset) return toRun, delta
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 5.1K bytes - Viewed (0) -
src/runtime/netpoll_epoll.go
pd := (*pollDesc)(tp.pointer()) tag := tp.tag() if pd.fdseq.Load() == tag { pd.setEventErr(ev.Events == syscall.EPOLLERR, tag) delta += netpollready(&toRun, pd, mode) } } } return toRun, delta
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 4.6K bytes - Viewed (0) -
src/runtime/netpoll_kqueue.go
pd = (*pollDesc)(tp.pointer()) tag = tp.tag() if pd.fdseq.Load() != tag { continue } } pd.setEventErr(ev.flags == _EV_ERROR, tag) delta += netpollready(&toRun, pd, mode) } } return toRun, delta
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 4.6K bytes - Viewed (0) -
cni/pkg/nodeagent/netns_linux.go
return fmt.Errorf("Error switching to ns fd %v: %v", n.Fd(), err) } return nil } // inspired by netns.Do() but with an existing fd. func NetnsDo(fdable NetnsFd, toRun func() error) error { containedCall := func() error { threadNS, err := netns.GetCurrentNS() if err != nil { return fmt.Errorf("failed to open current netns: %v", err) } defer threadNS.Close()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 31 10:05:36 UTC 2024 - 2.7K bytes - Viewed (0) -
src/runtime/netpoll_wasip1.go
} if mode != 0 { pd := (*pollDesc)(unsafe.Pointer(uintptr(e.userdata))) netpolldisarm(pd, mode) pd.setEventErr(e.error != 0, 0) delta += netpollready(&toRun, pd, mode) } } unlock(&mtx) return toRun, delta
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 18:23:49 UTC 2024 - 6.1K bytes - Viewed (0) -
cni/pkg/nodeagent/netns_other.go
} func OpenNetns(nspath string) (NetnsCloser, error) { return nil, errors.New("not implemented") } // inspired by netns.Do() but with an existing fd. func NetnsDo(fdable NetnsFd, toRun func() error) error { return errors.New("not implemented")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 14 09:32:25 UTC 2024 - 1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
} private static void scheduleEnableWrites(BlockingQueue<String> queue, long countdownInMillis) { Runnable toRun = new EnableWrites(queue, countdownInMillis); // TODO(cpovirk): automatically fail the test if this thread throws Thread enablerThread = new Thread(toRun); enablerThread.start(); } } /** Manages a {@link BlockingQueue} and associated timings for a {@code take} call. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 10 16:06:39 UTC 2024 - 31.7K bytes - Viewed (0) -
src/runtime/netpoll_windows.go
func netpoll(delay int64) (gList, int32) { if iocphandle == _INVALID_HANDLE_VALUE { return gList{}, 0 } var entries [64]overlappedEntry var wait uint32 var toRun gList mp := getg().m if delay >= 1e15 { // An arbitrary cap on how long to wait for a timer. // 1e15 ns == ~11.5 days. delay = 1e15 } if delay > 0 && mp.waitIocpHandle != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 9.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
} private static void scheduleEnableWrites(BlockingQueue<String> queue, long countdownInMillis) { Runnable toRun = new EnableWrites(queue, countdownInMillis); // TODO(cpovirk): automatically fail the test if this thread throws Thread enablerThread = new Thread(toRun); enablerThread.start(); } } /** Manages a {@link BlockingQueue} and associated timings for a {@code take} call. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 09 22:57:07 UTC 2022 - 30.9K bytes - Viewed (0) -
pkg/kube/krt/collection.go
Event: controllers.EventDelete, Old: ptr.Of(h.collectionState.inputs[i]), } toRun = append(toRun, e) } } else { // Typically an EventUpdate should have Old and New. We only have New here. // In practice, this is an internal surface only so we just make sure onPrimaryInputEvent handles this. toRun = append(toRun, Event[I]{ Event: controllers.EventUpdate, New: iObj, }) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 19.4K bytes - Viewed (0)