- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,731 for Dlog (0.07 sec)
-
src/runtime/debuglog_test.go
runtime.Dlog().I(i).S(longString).End() fmt.Fprintf(&want, "[] %d %s\n", i, longString) } log := runtime.DumpDebugLog() // Check for "lost" message. lost := regexp.MustCompile(`^>> begin log \d+; lost first \d+KB <<\n`) if !lost.MatchString(log) { t.Fatalf("want matching %s, got %q", lost, log) } idx := lost.FindStringIndex(log) // Strip lost message.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 18 16:59:26 UTC 2022 - 4.9K bytes - Viewed (0) -
test-site/activator
printf "%s\n" "$arg" fi done echo "" } exec "$@" } addJava () { dlog "[addJava] arg = '$1'" java_args=( "${java_args[@]}" "$1" ) } addApp () { dlog "[addApp] arg = '$1'" sbt_commands=( "${app_commands[@]}" "$1" ) } addResidual () { dlog "[residual] arg = '$1'" residual_args=( "${residual_args[@]}" "$1" ) } addDebugger () {
Registered: Wed Jun 12 15:38:08 UTC 2024 - Last Modified: Mon Apr 20 08:41:37 UTC 2015 - 9.3K bytes - Viewed (0) -
src/runtime/export_debuglog_test.go
// 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() } func (l *dlogger) B(x bool) *dlogger { return l.b(x) } func (l *dlogger) I(x int) *dlogger { return l.i(x) }
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/runtime/debuglog.go
// license that can be found in the LICENSE file. // This file provides an internal debug logging facility. The debug // log is a lightweight, in-memory, per-M ring buffer. By default, the // runtime prints the debug log on panic. // // To print something to the debug log, call dlog to obtain a dlogger // and use the methods on that to add values. The values will be // space-separated in the output (much like println). //
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/cmd/vendor/golang.org/x/mod/sumdb/tlog/tlog.go
// license that can be found in the LICENSE file. // Package tlog implements a tamper-evident log // used in the Go module go.sum database server. // // This package follows the design of Certificate Transparency (RFC 6962) // and its proofs are compatible with that system. // See TestCertificateTransparency. package tlog import ( "crypto/sha256" "encoding/base64" "errors" "fmt" "math/bits"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 12 20:38:21 UTC 2023 - 17.9K bytes - Viewed (0) -
src/cmd/vet/testdata/slog/slog.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 22 18:11:19 UTC 2023 - 338 bytes - Viewed (0) -
pkg/log/klog.go
// limitations under the License. package log import ( goflag "flag" "fmt" "sync" "github.com/spf13/pflag" "k8s.io/klog/v2" ) var ( KlogScope = RegisterScope("klog", "") configureKlog = sync.Once{} ) // EnableKlogWithCobra enables klog to work with cobra / pflags. // k8s libraries like client-go use klog. func EnableKlogWithCobra() { gf := klogVerboseFlag()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 2.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/slog/slog.go
} }) return nil, nil } func isAttr(t types.Type) bool { return analysisutil.IsNamedType(t, "log/slog", "Attr") } // shortName returns a name for the function that is shorter than FullName. // Examples: // // "slog.Info" (instead of "log/slog.Info") // "slog.Logger.With" (instead of "(*log/slog.Logger).With") func shortName(fn *types.Func) string { var r string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 7.2K bytes - Viewed (0) -
operator/pkg/util/clog/clog.go
stdOut io.Writer stdErr io.Writer scope *log.Scope } // NewConsoleLogger creates a new logger and returns a pointer to it. // stdOut and stdErr can be used to capture output for testing. If scope is nil, the default scope is used. func NewConsoleLogger(stdOut, stdErr io.Writer, scope *log.Scope) *ConsoleLogger { s := scope if s == nil { s = log.RegisterScope(log.DefaultScopeName, log.DefaultScopeName) } return &ConsoleLogger{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 2.6K bytes - Viewed (0) -
src/math/cmplx/log.go
// In IEEE arithmetic the peak absolute error is 5.2e-16, rms // absolute error 1.0e-16. // Log returns the natural logarithm of x. func Log(x complex128) complex128 { return complex(math.Log(Abs(x)), Phase(x)) } // Log10 returns the decimal logarithm of x. func Log10(x complex128) complex128 { z := Log(x) return complex(math.Log10E*real(z), math.Log10E*imag(z))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 01 03:16:37 UTC 2020 - 2K bytes - Viewed (0)