- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for debugLog (0.14 sec)
-
src/runtime/debuglog_test.go
// TODO(austin): All of these tests are skipped if the debuglog build // tag isn't provided. That means we basically never test debuglog. // There are two potential ways around this: // // 1. Make these tests re-build the runtime test with the debuglog // build tag and re-invoke themselves. // // 2. Always build the whole debuglog infrastructure and depend on
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 18 16:59:26 UTC 2022 - 4.9K bytes - Viewed (0) -
src/runtime/debuglog_off.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. //go:build !debuglog package runtime const dlogEnabled = false type dlogPerM struct{} func getCachedDlogger() *dlogger { return nil } func putCachedDlogger(l *dlogger) bool { return false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 357 bytes - Viewed (0) -
src/runtime/debuglog_on.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. //go:build debuglog package runtime const dlogEnabled = true // dlogPerM is the per-M debug log data. This is embedded in the m // struct. type dlogPerM struct { dlogCache *dlogger } // getCachedDlogger returns a cached dlogger if it can do so
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 1.1K 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) -
pilot/pkg/security/authz/builder/logger.go
) var authzLog = log.RegisterScope("authorization", "Istio Authorization Policy") type AuthzLogger struct { debugMsg []string errMsg *multierror.Error } func (al *AuthzLogger) AppendDebugf(format string, args ...any) { al.debugMsg = append(al.debugMsg, fmt.Sprintf(format, args...)) } func (al *AuthzLogger) AppendError(err error) { al.errMsg = multierror.Append(al.errMsg, err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 1.5K 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)