Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 368 for godebug (0.12 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

    	*p = newIncNonDefault
    	godebugNewIncNonDefault.Store(p)
    }
    
    // A godebugInc provides access to internal/godebug's IncNonDefault function
    // for a given GODEBUG setting.
    // Calls before internal/godebug registers itself are dropped on the floor.
    type godebugInc struct {
    	name string
    	inc  atomic.Pointer[func()]
    }
    
    func (g *godebugInc) IncNonDefault() {
    	inc := g.inc.Load()
    	if inc == nil {
    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/crypto/tls/66214.md

    3DES cipher suites were removed from the default list used when
    [Config.CipherSuites] is nil. The default can be reverted adding `tls3des=1` to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 178 bytes
    - Viewed (0)
  6. doc/next/6-stdlib/99-minor/net/http/66405.md

    For inbound requests, the new [Request.Pattern] field contains the [ServeMux]
    pattern (if any) that matched the request. This field is not set when
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 18:42:34 UTC 2024
    - 181 bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. test/fixedbugs/issue65778.go

    // compile -godebug gotypesalias=1
    
    // Copyright 2024 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 p
    
    type A = int
    
    type T[P any] *A
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 01 01:40:00 UTC 2024
    - 252 bytes
    - Viewed (0)
  10. 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)
Back to top