Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 759 for Godebug (0.23 sec)

  1. doc/next/6-stdlib/99-minor/crypto/tls/67065.md

    Go 1.23 changed the behavior of [X509KeyPair] and [LoadX509KeyPair]
    to populate the [Certificate.Leaf] field of the returned [Certificate].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 20:49:22 UTC 2024
    - 226 bytes
    - Viewed (0)
  2. src/net/http/doc.go

    [Server.TLSNextProto] (for servers) to a non-nil, empty
    map. Alternatively, the following GODEBUG settings are
    currently supported:
    
    	GODEBUG=http2client=0  # disable HTTP/2 client support
    	GODEBUG=http2server=0  # disable HTTP/2 server support
    	GODEBUG=http2debug=1   # enable verbose HTTP/2 debug logs
    	GODEBUG=http2debug=2   # ... even more verbose, with frame dumps
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. src/internal/cpu/cpu.go

    // before normal init functions are run. env is set by runtime if the OS supports
    // cpu feature options in GODEBUG.
    func Initialize(env string) {
    	doinit()
    	processOptions(env)
    }
    
    // options contains the cpu debug options that can be used in GODEBUG.
    // Options are arch dependent and are added by the arch specific doinit functions.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. src/internal/fuzz/mutator_test.go

    package fuzz
    
    import (
    	"bytes"
    	"fmt"
    	"os"
    	"strconv"
    	"testing"
    )
    
    func BenchmarkMutatorBytes(b *testing.B) {
    	origEnv := os.Getenv("GODEBUG")
    	defer func() { os.Setenv("GODEBUG", origEnv) }()
    	os.Setenv("GODEBUG", fmt.Sprintf("%s,fuzzseed=123", origEnv))
    	m := newMutator()
    
    	for _, size := range []int{
    		1,
    		10,
    		100,
    		1000,
    		10000,
    		100000,
    	} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/mod_errors_pos.txt

    # Test case for #67623 in go.mod files: make sure the error for
    # an unknown godebug is printed on a line starting with the file
    # and line number, so it can be easily parsed by tools.
    
    ! go list
    stderr '^go.mod:3: unknown godebug "foo"$'
    
    -- go.mod --
    module example.com/bar
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 290 bytes
    - Viewed (0)
  6. src/cmd/go/internal/toolchain/exec.go

    	// Doing the same on Unix would be a problem because it wouldn't
    	// propagate signals and such, but there are no signals on Windows.
    	// We also use the exec case when GODEBUG=gotoolchainexec=0,
    	// to allow testing this code even when not on Windows.
    	if godebug.New("#gotoolchainexec").Value() == "0" || runtime.GOOS == "windows" {
    		cmd := exec.Command(exe, os.Args[1:]...)
    		cmd.Stdin = os.Stdin
    		cmd.Stdout = os.Stdout
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 14:42:39 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. src/net/conf.go

    	goDebug := netdns.Value()
    	parsePart := func(s string) {
    		if s == "" {
    			return
    		}
    		if '0' <= s[0] && s[0] <= '9' {
    			debugLevel, _, _ = dtoi(s)
    		} else {
    			dnsMode = s
    		}
    	}
    	if i := bytealg.IndexByteString(goDebug, '+'); i != -1 {
    		parsePart(goDebug[:i])
    		parsePart(goDebug[i+1:])
    		return
    	}
    	parsePart(goDebug)
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. src/internal/cpu/cpu_test.go

    	runDebugOptionsTest(t, "TestAllCapabilitiesDisabled", "cpu.all=off")
    }
    
    func TestAllCapabilitiesDisabled(t *testing.T) {
    	MustHaveDebugOptionsSupport(t)
    
    	if godebug.New("#cpu.all").Value() != "off" {
    		t.Skipf("skipping test: GODEBUG=cpu.all=off not set")
    	}
    
    	for _, o := range Options {
    		want := false
    		if got := *o.Feature; got != want {
    			t.Errorf("%v: expected %v, got %v", o.Name, want, got)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. src/runtime/panicnil_test.go

    		checkPanicNil(t, new(runtime.PanicNilError))
    	})
    	t.Run("GODEBUG=panicnil=0", func(t *testing.T) {
    		t.Setenv("GODEBUG", "panicnil=0")
    		checkPanicNil(t, new(runtime.PanicNilError))
    	})
    	t.Run("GODEBUG=panicnil=1", func(t *testing.T) {
    		t.Setenv("GODEBUG", "panicnil=1")
    		checkPanicNil(t, nil)
    	})
    }
    
    func checkPanicNil(t *testing.T, want any) {
    	name := "/godebug/non-default-behavior/panicnil:events"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:26:43 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. src/mime/multipart/formdata_test.go

    		if test.godebug != "" {
    			name += fmt.Sprintf("/godebug=%v", test.godebug)
    		}
    		t.Run(name, func(t *testing.T) {
    			if test.godebug != "" {
    				t.Setenv("GODEBUG", test.godebug)
    			}
    			var buf bytes.Buffer
    			fw := NewWriter(&buf)
    			for i := 0; i < test.values; i++ {
    				w, _ := fw.CreateFormField(fmt.Sprintf("field%v", i))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 05 18:31:56 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top