Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 210 for godebug (0.07 seconds)

  1. doc/godebug.md

    The defaults from the `go` and `godebug` lines apply to all main
    packages that are built. For more fine-grained control,
    starting in Go 1.21, a main package's source files
    can include one or more `//go:debug` directives at the top of the file
    (preceding the `package` statement).
    The `godebug` lines in the previous example would be written:
    
    	//go:debug default=go1.21
    	//go:debug panicnil=1
    	//go:debug asynctimerchan=0
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Mar 20 15:49:10 GMT 2026
    - 26K bytes
    - Click Count (0)
  2. doc/next/4-runtime.md

    Tracebacks for modules with `go` directives configuring Go 1.27 or later will now
    include [runtime/pprof](https://pkg.go.dev/runtime/pprof) goroutine labels in
    the header line. This behavior can be disabled with `GODEBUG=tracebacklabels=0`
    (added in [Go 1.26](/doc/godebug#go-126)). This opt-out is expected to be
    kept indefinitely in case goroutine labels acquire sensitive information that
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Mar 11 03:06:24 GMT 2026
    - 478 bytes
    - Click Count (0)
  3. src/archive/zip/reader.go

    package zip
    
    import (
    	"bufio"
    	"encoding/binary"
    	"errors"
    	"fmt"
    	"hash"
    	"hash/crc32"
    	"internal/godebug"
    	"io"
    	"io/fs"
    	"os"
    	"path"
    	"path/filepath"
    	"slices"
    	"strings"
    	"sync"
    	"time"
    )
    
    var zipinsecurepath = godebug.New("zipinsecurepath")
    
    var (
    	ErrFormat       = errors.New("zip: not a valid zip file")
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 15 18:35:56 GMT 2026
    - 28.5K bytes
    - Click Count (0)
  4. src/archive/zip/reader_test.go

    		}
    		if got := fi.ModTime(); !got.Equal(test.want) {
    			t.Errorf("%s: got modtime %v, want %v", test.name, got, test.want)
    		}
    	}
    }
    
    func TestCVE202127919(t *testing.T) {
    	t.Setenv("GODEBUG", "zipinsecurepath=0")
    	// Archive containing only the file "../test.txt"
    	data := []byte{
    		0x50, 0x4b, 0x03, 0x04, 0x14, 0x00, 0x08, 0x00,
    		0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 15 18:35:56 GMT 2026
    - 57.9K bytes
    - Click Count (0)
  5. src/builtin/builtin.go

    // built-in function recover.
    //
    // Starting in Go 1.21, calling panic with a nil interface value or an
    // untyped nil causes a run-time error (a different panic).
    // The GODEBUG setting panicnil=1 disables the run-time error.
    func panic(v any)
    
    // The recover built-in function allows a program to manage behavior of a
    // panicking goroutine. Executing a call to recover inside a deferred
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Feb 26 17:14:40 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  6. src/cmd/cgo/doc.go

    memory points, and so on) is pinned.
    
    These rules are checked dynamically at runtime. The checking is
    controlled by the cgocheck setting of the GODEBUG environment
    variable. The default setting is GODEBUG=cgocheck=1, which implements
    reasonably cheap dynamic checks. These checks may be disabled
    entirely using GODEBUG=cgocheck=0. Complete checking of pointer
    handling, at some cost in run time, is available by setting
    GOEXPERIMENT=cgocheck2 at build time.
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Dec 08 22:37:14 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  7. src/archive/tar/reader_test.go

    				}
    			default:
    				t.Fatalf("test %d.%d, unknown test operation: %T", i, j, tf)
    			}
    		}
    	}
    }
    
    func TestInsecurePaths(t *testing.T) {
    	t.Setenv("GODEBUG", "tarinsecurepath=0")
    	for _, path := range []string{
    		"../foo",
    		"/foo",
    		"a/b/../../../c",
    	} {
    		var buf bytes.Buffer
    		tw := NewWriter(&buf)
    		tw.WriteHeader(&Header{
    			Name: path,
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Dec 30 15:28:53 GMT 2025
    - 47.5K bytes
    - Click Count (0)
  8. CHANGELOG/CHANGELOG-1.33.md

    - github.com/klauspost/compress: [v1.18.0](https://github.com/klauspost/compress/tree/v1.18.0)
    - github.com/kylelemons/godebug: [v1.1.0](https://github.com/kylelemons/godebug/tree/v1.1.0)
    - github.com/opencontainers/cgroups: [v0.0.1](https://github.com/opencontainers/cgroups/tree/v0.0.1)
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Mar 19 03:17:58 GMT 2026
    - 369K bytes
    - Click Count (0)
  9. lib/fips140/v1.26.0.zip

    governed by a BSD-style // license that can be found in the LICENSE file. package fips140 import ( "crypto/internal/fips140deps/godebug" "errors" "runtime" ) var Enabled bool var debug bool func init() { v := godebug.Value("#fips140") switch v { case "on", "only": Enabled = true case "debug": Enabled = true debug = true case "off", "": default: panic("fips140: unknown GODEBUG setting fips140=" + v) } } // Supported returns an error if FIPS 140-3 mode can't be enabled. func Supported() error { // Keep...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 08 17:58:32 GMT 2026
    - 660.3K bytes
    - Click Count (0)
  10. apache-maven/src/assembly/maven/bin/mvn

    #   MAVEN_SKIP_RC       (Optional) Flag to disable loading of mavenrc files.
    #   MAVEN_DEBUG_OPTS    (Optional) Specify the debug options to use. Default value is "-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=${MAVEN_DEBUG_ADDRESS}" when --debug is used
    #   MAVEN_DEBUG_ADDRESS (Optional) Set the debug address. Default value is "localhost:8000"
    # -----------------------------------------------------------------------------
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 9.2K bytes
    - Click Count (0)
Back to Top