- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for chanrecv2 (0.11 sec)
-
src/cmd/compile/internal/typecheck/_builtin/runtime.go
// *byte is really *runtime.Type func makechan64(chanType *byte, size int64) (hchan chan any) func makechan(chanType *byte, size int) (hchan chan any) func chanrecv1(hchan <-chan any, elem *any) func chanrecv2(hchan <-chan any, elem *any) bool func chansend1(hchan chan<- any, elem *any) func closechan(hchan chan<- any) func chanlen(hchan any) int func chancap(hchan any) int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 10.6K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/builtin.go
{"mapdelete_fast64", funcTag, 93}, {"mapdelete_faststr", funcTag, 94}, {"mapiternext", funcTag, 95}, {"mapclear", funcTag, 96}, {"makechan64", funcTag, 98}, {"makechan", funcTag, 99}, {"chanrecv1", funcTag, 101}, {"chanrecv2", funcTag, 102}, {"chansend1", funcTag, 104}, {"closechan", funcTag, 105}, {"chanlen", funcTag, 106}, {"chancap", funcTag, 106}, {"writeBarrier", varTag, 108},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 16.2K bytes - Viewed (0) -
src/runtime/chan.go
} // entry points for <- c from compiled code. // //go:nosplit func chanrecv1(c *hchan, elem unsafe.Pointer) { chanrecv(c, elem, true) } //go:nosplit func chanrecv2(c *hchan, elem unsafe.Pointer) (received bool) { _, received = chanrecv(c, elem, true) return } // chanrecv receives on channel c and writes the received data to ep.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:50 UTC 2024 - 25.9K bytes - Viewed (0) -
src/cmd/compile/internal/walk/assign.go
walkExprListSafe(n.Lhs, init) r.X = walkExpr(r.X, init) var n1 ir.Node if ir.IsBlank(n.Lhs[0]) { n1 = typecheck.NodNil() } else { n1 = typecheck.NodAddr(n.Lhs[0]) } fn := chanfn("chanrecv2", 2, r.X.Type()) ok := n.Lhs[1] call := mkcall1(fn, types.Types[types.TBOOL], init, r.X, n1) return typecheck.Stmt(ir.NewAssignStmt(base.Pos, ok, call)) } // walkReturn walks an ORETURN node.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:09:06 UTC 2024 - 20.3K bytes - Viewed (0) -
src/internal/trace/trace_test.go
{"main.main.func2", 0}, }}, {trace.EventStateTransition, "Goroutine Running->Waiting", []frame{ {"runtime.chanrecv1", 0}, {"main.main.func3", 0}, }}, {trace.EventStateTransition, "Goroutine Running->Waiting", []frame{ {"runtime.chanrecv1", 0}, {"main.main.func4", 0}, }}, {trace.EventStateTransition, "Goroutine Waiting->Runnable", []frame{ {"runtime.chansend1", 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 18.5K bytes - Viewed (0) -
src/internal/trace/oldtrace.go
lastStwReason uint64 inlineToStringID []uint64 builtinToStringID []uint64 } const ( // Block reasons sForever = iota sPreempted sGosched sSleep sChanSend sChanRecv sNetwork sSync sSyncCond sSelect sEmpty sMarkAssistWait // STW kinds sSTWUnknown sSTWGCMarkTermination sSTWGCSweepTermination sSTWWriteHeapDump sSTWGoroutineProfile
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 17.2K bytes - Viewed (0) -
src/runtime/runtime2.go
// copying needs to acquire channel locks to protect these // areas of the stack. activeStackChans bool // parkingOnChan indicates that the goroutine is about to // park on a chansend or chanrecv. Used to signal an unsafe point // for stack shrinking. parkingOnChan atomic.Bool // inMarkAssist indicates whether the goroutine is in mark assist. // Used by the execution tracer. inMarkAssist bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 47.9K bytes - Viewed (0) -
src/internal/trace/testdata/tests/go122-annotations-stress.test
String id=138 data="runtime.traceStartReadCPU" String id=139 data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/trace2cpu.go" String id=140 data="runtime.chanrecv1" String id=141 data="/usr/local/google/home/mknyszek/work/go-1/src/runtime/chan.go" String id=142 data="runtime.(*wakeableSleep).sleep" String id=143 data="runtime.traceStartReadCPU.func1"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 38.3K bytes - Viewed (0)