- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 3,517 for receivers (0.2 sec)
-
src/syscall/exec_pdeathsig_test.go
want := "ok\n" if got, err = chldPipe.ReadString('\n'); got != want { t.Fatalf("expected %q, received %q, %v", want, got, err) } } else if got == "skip\n" { t.Skipf("skipping: parent could not run child program as selected user") } else { t.Fatalf("did not receive start from child, received %q, %v", got, err) } } func deathSignalParent() { var ( u *user.User err error )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 21:23:17 UTC 2023 - 4.5K bytes - Viewed (0) -
src/encoding/gob/example_encdec_test.go
func (v Vector) MarshalBinary() ([]byte, error) { // A simple encoding: plain text. var b bytes.Buffer fmt.Fprintln(&b, v.x, v.y, v.z) return b.Bytes(), nil } // UnmarshalBinary modifies the receiver so it must take a pointer receiver. func (v *Vector) UnmarshalBinary(data []byte) error { // A simple encoding: plain text. b := bytes.NewBuffer(data) _, err := fmt.Fscanln(b, &v.x, &v.y, &v.z) return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 1.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/lifecycle_signals.go
type lifecycleSignals struct { // ShutdownInitiated event is signaled when an apiserver shutdown has been initiated. // It is signaled when the `stopCh` provided by the main goroutine // receives a KILL signal and is closed as a consequence. ShutdownInitiated lifecycleSignal // AfterShutdownDelayDuration event is signaled as soon as ShutdownDelayDuration // has elapsed since the ShutdownInitiated event.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 27 15:49:30 UTC 2023 - 7.8K bytes - Viewed (0) -
src/runtime/sigqueue.go
} } // Wait for updates to be available from signal sender. Receive: for { switch sig.state.Load() { default: throw("signal_recv: inconsistent state") case sigIdle: if sig.state.CompareAndSwap(sigIdle, sigReceiving) { if GOOS == "darwin" || GOOS == "ios" { sigNoteSleep(&sig.note) break Receive } notetsleepg(&sig.note, -1) noteclear(&sig.note)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 7.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/httpstream/wsstream/conn.go
// (0, 1, and 2). No other conversion is performed on the raw subprotocol - writes are sent as they // are received by the server. // // Example client session: // // CONNECT http://server.com with subprotocol "channel.k8s.io" // WRITE []byte{0, 102, 111, 111, 10} # send "foo\n" on channel 0 (STDIN) // READ []byte{1, 10} # receive "\n" on channel 1 (STDOUT) // CLOSE const ChannelWebSocketProtocol = "channel.k8s.io"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 19:10:30 UTC 2024 - 14.5K bytes - Viewed (0) -
test/typeparam/chansimp.dir/a.go
// the receiver stops reading them. func Ranger[Elem any]() (*Sender[Elem], *Receiver[Elem]) { c := make(chan Elem) d := make(chan struct{}) s := &Sender[Elem]{ values: c, done: d, } r := &Receiver[Elem]{ values: c, done: d, } runtime.SetFinalizer(r, (*Receiver[Elem]).finalize) return s, r } // A Sender is used to send values to a Receiver. type Sender[Elem any] struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 28 21:40:40 UTC 2021 - 5.5K bytes - Viewed (0) -
src/compress/flate/example_test.go
log.Fatal(err) } fmt.Printf("Received %d bytes: %s\n", n, b[:n]) } fmt.Println() if err := zr.Close(); err != nil { log.Fatal(err) } }() // Output: // Received 1 bytes: A // Received 4 bytes: long // Received 4 bytes: time // Received 3 bytes: ago // Received 2 bytes: in // Received 1 bytes: a // Received 6 bytes: galaxy // Received 4 bytes: far,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Nov 12 18:42:35 UTC 2016 - 6.5K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DaemonClientConnectionTest.groovy
0 * staleAddressDetector._ } def "handles failed receive"() { def failure = new FooException() given: 1 * delegate.receive() >> Stub(Message) delegate.receive() >> { throw failure } when: connection.receive() connection.receive() then: def ex = thrown(DaemonConnectionException)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 3.8K bytes - Viewed (0) -
pilot/pkg/model/controller.go
import ( "sync" "istio.io/istio/pkg/cluster" ) type ServiceHandler func(*Service, *Service, Event) // Controller defines an event controller loop. Proxy agent registers itself // with the controller loop and receives notifications on changes to the // service topology or changes to the configuration artifacts. // // The controller guarantees the following consistency requirement: registry
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 25 06:54:32 UTC 2023 - 4.7K bytes - Viewed (0) -
docs/en/docs/tutorial/encoder.md
Let's imagine that you have a database `fake_db` that only receives JSON compatible data. For example, it doesn't receive `datetime` objects, as those are not compatible with JSON. So, a `datetime` object would have to be converted to a `str` containing the data in <a href="https://en.wikipedia.org/wiki/ISO_8601" class="external-link" target="_blank">ISO format</a>.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Oct 17 05:59:11 UTC 2023 - 1.8K bytes - Viewed (0)