Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 759 for Godebug (0.13 sec)

  1. doc/next/6-stdlib/1-time.md

    These new behaviors are only enabled when the main Go program
    is in a module with a `go.mod` `go` line using Go 1.23.0 or later.
    When Go 1.23 builds older programs, the old behaviors remain in effect.
    The new [GODEBUG setting](/doc/godebug) [`asynctimerchan=1`](/pkg/time/#NewTimer)
    can be used to revert back to asynchronous channel behaviors
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 20:49:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/crypto/tls/defaults.go

    // license that can be found in the LICENSE file.
    
    package tls
    
    import (
    	"internal/godebug"
    	"slices"
    	_ "unsafe" // for linkname
    )
    
    // Defaults are collected in this file to allow distributions to more easily patch
    // them to apply local policies.
    
    var tlskyber = godebug.New("tlskyber")
    
    func defaultCurvePreferences() []CurveID {
    	if tlskyber.Value() == "0" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/aliases/aliases_go122.go

    //
    // This function is expensive! Call it sparingly.
    func Enabled() bool {
    	// The only reliable way to compute the answer is to invoke go/types.
    	// We don't parse the GODEBUG environment variable, because
    	// (a) it's tricky to do so in a manner that is consistent
    	//     with the godebug package; in particular, a simple
    	//     substring check is not good enough. The value is a
    	//     rightmost-wins list of options. But more importantly:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. src/runtime/runtime.go

    var godebugNewIncNonDefault atomic.Pointer[func(string) func()]
    
    //go:linkname godebug_setUpdate internal/godebug.setUpdate
    func godebug_setUpdate(update func(string, string)) {
    	p := new(func(string, string))
    	*p = update
    	godebugUpdate.Store(p)
    	godebugNotify(false)
    }
    
    //go:linkname godebug_setNewIncNonDefault internal/godebug.setNewIncNonDefault
    func godebug_setNewIncNonDefault(newIncNonDefault func(string) func()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. doc/next/6-stdlib/99-minor/go/types/cl-577715.md

    <!-- CL 577715, CL 579076 -->
    By default, go/types now produces [Alias] type nodes for type aliases.
    This behavior can be controlled by the `GODEBUG` `gotypesalias` flag.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 21:30:00 UTC 2024
    - 230 bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/sys/cpu/cpu.go

    				continue field
    			}
    		}
    
    		print("GODEBUG sys/cpu: unknown cpu feature \"", key, "\"\n")
    	}
    
    	for _, o := range options {
    		if !o.Specified {
    			continue
    		}
    
    		if o.Enable && !*o.Feature {
    			print("GODEBUG sys/cpu: can not enable \"", o.Name, "\", missing CPU support\n")
    			continue
    		}
    
    		if !o.Enable && o.Required {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. src/internal/types/testdata/spec/typeAliases1.23a.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package aliasTypes
    
    type _ = int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 02:54:10 UTC 2024
    - 312 bytes
    - Viewed (0)
  8. src/net/http/servemux121.go

    // the pre-Go 1.22 ServeMux implementation for backwards compatibility.
    // Do not modify this file, it should remain frozen.
    
    import (
    	"internal/godebug"
    	"net/url"
    	"sort"
    	"strings"
    	"sync"
    )
    
    var httpmuxgo121 = godebug.New("httpmuxgo121")
    
    var use121 bool
    
    // Read httpmuxgo121 once at startup, since dealing with changes to it during
    // program execution is too complex and error-prone.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:40:38 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. operator/pkg/translate/translate_value_test.go

      traceSampling: 1.0
      image: pilot
      env:
        GODEBUG: gctrace=1
    global:
      hub: docker.io/istio
      istioNamespace: istio-system
      tag: 1.2.3
      proxy:
        readinessInitialDelaySeconds: 2
    `,
    			want: `
    hub: docker.io/istio
    tag: 1.2.3
    components:
       pilot:
         enabled: true
         k8s:
           replicaCount: 1
           env:
           - name: GODEBUG
             value: gctrace=1
           nodeSelector:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 06 02:56:54 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/work_edit.txt

    cmp stdout go.work.want_print
    
    go work edit -json -go 1.19 -use b -dropuse c -replace 'x.1@v1.4.0 = ../z' -dropreplace x.1 -dropreplace x.1@v1.3.0
    cmp stdout go.work.want_json
    
    # go work edit -godebug
    cd $WORK/g
    cp go.work.start go.work
    go work edit -godebug key=value
    cmpenv go.work go.work.edit
    go work edit -dropgodebug key2
    cmpenv go.work go.work.edit
    go work edit -dropgodebug key
    cmpenv go.work go.work.start
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top