- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for debugLog (0.12 sec)
-
src/runtime/debuglog.go
// and use the methods on that to add values. The values will be // space-separated in the output (much like println). // // This facility can be enabled by passing -tags debuglog when // building. Without this tag, dlog calls compile to nothing. package runtime import ( "internal/abi" "internal/runtime/atomic" "runtime/internal/sys" "unsafe" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:10:48 UTC 2024 - 18.3K bytes - Viewed (0) -
src/runtime/export_debuglog_test.go
// Copyright 2019 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Export debuglog guts for testing. package runtime const DlogEnabled = dlogEnabled const DebugLogBytes = debugLogBytes const DebugLogStringLimit = debugLogStringLimit var Dlog = dlog func (l *dlogger) End() { l.end() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 15 16:49:45 UTC 2023 - 1.3K bytes - Viewed (0) -
src/net/rpc/debug.go
</tr> {{end}} </table> {{end}} </body> </html>` var debug = template.Must(template.New("RPC debug").Parse(debugText)) // If set, print log statements for internal and I/O errors. var debugLog = false type debugMethod struct { Type *methodType Name string } type methodArray []debugMethod type debugService struct { Service *service Name string Method []debugMethod }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 2.3K bytes - Viewed (0) -
src/net/rpc/client.go
client.reqMutex.Unlock() if debugLog && err != io.EOF && !closing { log.Println("rpc: client protocol error:", err) } } func (call *Call) done() { select { case call.Done <- call: // ok default: // We don't want to block here. It is the caller's responsibility to make // sure the channel has enough buffer space. See comment in Go(). if debugLog {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 9K bytes - Viewed (0) -
src/net/rpc/server.go
resp.ServiceMethod = req.ServiceMethod if errmsg != "" { resp.Error = errmsg reply = invalidRequest } resp.Seq = req.Seq sending.Lock() err := codec.WriteResponse(resp, reply) if debugLog && err != nil { log.Println("rpc: writing response:", err) } sending.Unlock() server.freeResponse(resp) } func (m *methodType) NumCalls() (n uint) { m.Lock() n = m.numCalls m.Unlock()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 21.6K bytes - Viewed (0) -
internal/grid/debug.go
xioutil "github.com/minio/minio/internal/ioutil" "github.com/minio/mux" ) //go:generate stringer -type=debugMsg $GOFILE // debugMsg is a debug message for testing purposes. // may only be used for tests. type debugMsg int const ( debugPrint = false debugReqs = false ) const ( debugShutdown debugMsg = iota debugKillInbound debugKillOutbound debugWaitForExit debugSetConnPingDuration
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 4.2K bytes - Viewed (0) -
internal/grid/debugmsg_string.go
var _debugMsg_index = [...]uint8{0, 13, 29, 46, 62, 86, 112, 130, 151, 176} func (i debugMsg) String() string { if i < 0 || i >= debugMsg(len(_debugMsg_index)-1) { return "debugMsg(" + strconv.FormatInt(int64(i), 10) + ")" } return _debugMsg_name[_debugMsg_index[i]:_debugMsg_index[i+1]]
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 1K bytes - Viewed (0) -
internal/grid/connection_test.go
remoteServer := startServer(t, listeners[1], wrapServer(remote.Handler())) close(connReady) defer func() { local.debugMsg(debugShutdown) remote.debugMsg(debugShutdown) remoteServer.Close() localServer.Close() remote.debugMsg(debugWaitForExit) local.debugMsg(debugWaitForExit) }() cleanReqs := make(chan struct{}) gotCall := make(chan struct{}) defer close(cleanReqs) // 1: Block forever
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Nov 21 01:09:35 UTC 2023 - 6K bytes - Viewed (0) -
internal/grid/manager.go
var res []string for k := range m.targets { res = append(res, k) } return res } // debugMsg should *only* be used by tests. // //lint:ignore U1000 This is used by tests. func (m *Manager) debugMsg(d debugMsg, args ...any) { for _, c := range m.targets { c.debugMsg(d, args...) } } // ConnStats returns the connection statistics for all connections.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 17:40:33 UTC 2024 - 9.8K bytes - Viewed (0) -
internal/grid/grid_test.go
}, OutCapacity: 1, InCapacity: 1, })) } register(local) register(remote) // Double remote DL local.debugMsg(debugAddToDeadline, wantDL) defer local.debugMsg(debugAddToDeadline, time.Duration(0)) remote.debugMsg(debugAddToDeadline, wantDL) defer remote.debugMsg(debugAddToDeadline, time.Duration(0)) testHandler := func(t *testing.T, handler HandlerID) { remoteConn := local.Connection(remoteHost)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 36.4K bytes - Viewed (0)