- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 41 for debugLog (0.28 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/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) -
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) -
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)