Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 67 for syslog (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/compile/internal/ssa/export_test.go

    	return nil
    }
    func (d TestFrontend) SplitSlot(parent *LocalSlot, suffix string, offset int64, t *types.Type) LocalSlot {
    	return LocalSlot{N: parent.N, Type: t, Off: offset}
    }
    func (d TestFrontend) Syslook(s string) *obj.LSym {
    	return d.ctxt.Lookup(s)
    }
    func (TestFrontend) UseWriteBarrier() bool {
    	return true // only writebarrier_test cares
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 21:19:39 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. src/crypto/internal/boring/boring.go

    //go:build boringcrypto && linux && (amd64 || arm64) && !android && !msan
    
    package boring
    
    /*
    // goboringcrypto_linux_amd64.syso references pthread functions.
    #cgo LDFLAGS: "-pthread"
    
    #include "goboringcrypto.h"
    */
    import "C"
    import (
    	"crypto/internal/boring/sig"
    	_ "crypto/internal/boring/syso"
    	"internal/stringslite"
    	"math/bits"
    	"unsafe"
    )
    
    const available = true
    
    func init() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 14:00:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. src/runtime/race/internal/amd64v3/doc.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.
    
    // This package holds the race detector .syso for
    // amd64 architectures with GOAMD64>=v3.
    
    //go:build amd64 && linux && amd64.v3
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 22 04:34:09 UTC 2022
    - 307 bytes
    - Viewed (0)
  10. src/runtime/race/internal/amd64v1/doc.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.
    
    // This package holds the race detector .syso for
    // amd64 architectures with GOAMD64<v3.
    
    //go:build amd64 && ((linux && !amd64.v3) || darwin || freebsd || netbsd || openbsd || windows)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 22 04:34:09 UTC 2022
    - 364 bytes
    - Viewed (0)
Back to top