- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 1,140 for spent (0.04 sec)
-
src/internal/types/testdata/check/chans.go
// A sender is used to send values to a Receiver. type Sender[T any] struct { values chan<- T done <-chan bool } // Send sends a value to the receiver. It returns whether any more // values may be sent; if it returns false the value was not sent. func (s *Sender[T]) Send(v T) bool { select { case s.values <- v: return true case <-s.done: return false } } // Close tells the receiver that no more values will arrive.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 02 02:58:32 UTC 2022 - 1.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/audit/types.go
// It's not guaranteed Audit-Id http header is sent for all requests. When kube-apiserver didn't // audit the events according to the audit policy, no Audit-ID is returned. Also, for request to // pods/exec, pods/attach, pods/proxy, kube-apiserver works like a proxy and redirect the request // to kubelet node, users will only get http headers sent from kubelet node, so no Audit-ID is // sent when users run command like "kubectl exec" or "kubectl attach".
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 03 09:18:23 UTC 2023 - 11.8K bytes - Viewed (0) -
test/typeparam/chansimp.dir/a.go
// A Sender is used to send values to a Receiver. type Sender[Elem any] struct { values chan<- Elem done <-chan struct{} } // Send sends a value to the receiver. It reports whether the value was sent. // The value will not be sent if the context is closed or the receiver // is freed. func (s *Sender[Elem]) Send(ctx context.Context, v Elem) bool { select { case <-ctx.Done(): return false case s.values <- v:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 28 21:40:40 UTC 2021 - 5.5K bytes - Viewed (0) -
releasenotes/notes/auto-mtls-headless.yaml
apiVersion: release-notes/v2 kind: bug-fix area: networking issue: - 24319 releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 11 21:20:58 UTC 2020 - 190 bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver.go
} }() } } // ZDS protocol is very simple, for every message sent, and ack is sent. // the ack only has temporal correlation (i.e. it is the first and only ack msg after the message was sent) // All this to say, that we want to make sure that message to ztunnel are sent from a single goroutine // so we don't mix messages and acks. // nolint: unparam
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 22:07:03 UTC 2024 - 12.3K bytes - Viewed (0) -
releasenotes/notes/tls-fc.yaml
apiVersion: release-notes/v2 kind: bug-fix area: networking issue: - 29538 releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 21 00:43:39 UTC 2020 - 209 bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/gprof_c.c
extern void GoSleep(); struct cgoContextArg { uintptr_t context; }; void gprofCgoContext(void *arg) { ((struct cgoContextArg*)arg)->context = 1; } void gprofCgoTraceback(void *arg) { // spend some time here so the P is more likely to be retaken. volatile int i; for (i = 0; i < 123456789; i++); } void CallGoSleep() { GoSleep();
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 11 18:32:21 UTC 2021 - 700 bytes - Viewed (0) -
pkg/xds/server.go
// allow both wildcard and non-wildcard subscriptions. Wildcard bool // NonceSent is the nonce sent in the last sent response. If it is equal with NonceAcked, the // last message has been processed. If empty: we never sent a message of this type. NonceSent string // NonceAcked is the last acked message. NonceAcked string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 13 20:55:20 UTC 2024 - 16.3K bytes - Viewed (0) -
okhttp-sse/Module.md
# Module okhttp-sse
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Tue Apr 02 11:27:49 UTC 2019 - 53 bytes - Viewed (0) -
src/go/parser/testdata/chans.go2
// A sender is used to send values to a Receiver. type Sender[T any] struct { values chan<- T done <-chan bool } // Send sends a value to the receiver. It returns whether any more // values may be sent; if it returns false the value was not sent. func (s *Sender[T]) Send(v T) bool { select { case s.values <- v: return true case <-s.done: return false } } // Close tells the receiver that no more values will arrive.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 24 19:44:06 UTC 2020 - 1.7K bytes - Viewed (0)