- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 168 for syslog (0.11 sec)
-
src/cmd/go/testdata/script/cgo_syso_issue29253.txt
env GO111MODULE=off [short] skip # This test tests that we can link in-package syso files that provides symbols # for cgo. See issue 29253. [!cgo] stop [!compiler:gc] stop cc -c -o pkg/o.syso ext.c go build main.go -- ext.c -- // +build ignore int f() { return 42; } -- pkg/pkg.go -- package pkg // extern int f(void); import "C" func init() { if v := C.f(); v != 42 { panic(v) } } -- main.go --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 24 21:26:10 UTC 2022 - 450 bytes - Viewed (0) -
src/cmd/link/testdata/pe-llvm/main.go
// // rsrc.syso is created using llvm with: // {i686,x86_64,armv7,arm64}-w64-mingw32-windres -i a.rc -o rsrc_$GOARCH.syso -O coff // where this windres calls into llvm-rc and llvm-cvtres. The source file, // a.rc, simply contains a reference to its own bytes: // // resname RCDATA a.rc // // Object dumping the resultant rsrc.syso, we can see the split sections and // the @feat.00 SEH symbol:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 26 18:15:09 UTC 2021 - 1.7K bytes - Viewed (0) -
src/cmd/link/testdata/pe-binutils/main.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test that a PE rsrc section is handled correctly (issue 39658). // // rsrc.syso is created using binutils with: // {x86_64,i686}-w64-mingw32-windres -i a.rc -o rsrc_$GOARCH.syso -O coff // where a.rc is a text file with the following content: // // resname RCDATA { // "Hello Gophers!\0", // "This is a test.\0", // } package main
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 26 18:15:09 UTC 2021 - 515 bytes - Viewed (0) -
src/cmd/go/testdata/script/cgo_undef.txt
# Issue 52863. # We manually create a .syso and a .a file in package a, # such that the .syso file only works when linked against the .a file. # Package a has #cgo LDFLAGS to make this happen. # # Package c imports package a, and uses cgo itself. # The generation of the _cgo_import.go for package c will fail, # because it won't know that it has to link against a/libb.a # (because we don't gather the #cgo LDFLAGS from all transitively # imported packages).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 22 20:56:07 UTC 2022 - 1.6K bytes - Viewed (0) -
src/log/slog/json_handler_test.go
// Copyright 2022 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. package slog import ( "bytes" "context" "encoding/json" "errors" "fmt" "io" "log/slog/internal/buffer" "math" "os" "path/filepath" "strings" "testing" "time" ) func TestJSONHandler(t *testing.T) { for _, test := range []struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 11 17:06:26 UTC 2023 - 6.5K bytes - Viewed (0) -
src/log/slog/logger.go
// // slog.SetLogLoggerLevel(slog.LevelDebug) // // calls to [Debug] will be passed to the log.Logger. // // After [SetDefault] is called, calls to the default [log.Logger] are passed to the // slog default handler. In that mode, // SetLogLoggerLevel sets the level at which those calls are logged. // That is, after calling // // slog.SetLogLoggerLevel(slog.LevelDebug) //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 08 18:26:18 UTC 2024 - 10.2K bytes - Viewed (0) -
src/log/slog/level.go
// OpenTelemetry's mapping. Subtracting 9 from an OpenTelemetry level in the // DEBUG, INFO, WARN and ERROR ranges converts it to the corresponding slog // Level range. OpenTelemetry also has the names TRACE and FATAL, which slog // does not. But those OpenTelemetry levels can still be represented as slog // Levels by using the appropriate integers. const ( LevelDebug Level = -4 LevelInfo Level = 0 LevelWarn Level = 4 LevelError Level = 8
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 30 17:34:43 UTC 2023 - 5.6K bytes - Viewed (0) -
src/testing/slogtest/example_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package slogtest_test import ( "bytes" "encoding/json" "log" "log/slog" "testing/slogtest" ) // This example demonstrates one technique for testing a handler with this // package. The handler is given a [bytes.Buffer] to write to, and each line // of the resulting output is parsed.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 04 18:32:54 UTC 2023 - 1.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/inst.go
result += "-" + r1.String() + r.a.String() } } result += "}" } return fmt.Sprintf("%s[%d]", result, r.index) } type sysOp struct { op sysInstFields r Reg hasOperand2 bool } func (s sysOp) isArg() {} func (s sysOp) String() string { result := s.op.String() // If s.hasOperand2 is false, the value in the register // specified by s.r is ignored.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 21.5K bytes - Viewed (0) -
src/crypto/internal/boring/build-goboring.sh
objcopy --redefine-syms=renames.txt goboringcrypto1.o goboringcrypto2.o objcopy --keep-global-symbols=globals.txt --strip-unneeded goboringcrypto2.o goboringcrypto_linux_$GOARCH.syso # Done!
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 26 22:52:27 UTC 2024 - 5.6K bytes - Viewed (0)