Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ newStdbuf
Function
newStdbuf
testutil/expecter/stdbuf.go:21–23 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
19
}
20
21
func
newStdbuf() *stdbuf {
22
return
&stdbuf{more: make(
chan
struct
{}, 1)}
23
}
24
25
func
(b *stdbuf) ReadAll() []byte {
26
b.mu.Lock()
Callers
2
TestStdbuf
Function · 0.70
New
Function · 0.70
Calls
no outgoing calls
Tested by
1
TestStdbuf
Function · 0.56