Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 759 for Godebug (0.14 sec)

  1. operator/cmd/mesh/profile-dump_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package mesh
    
    import (
    	"os"
    	"path/filepath"
    	"regexp"
    	"testing"
    
    	"github.com/kylelemons/godebug/diff"
    
    	"istio.io/istio/operator/pkg/util"
    )
    
    func TestProfileDump(t *testing.T) {
    	testDataDir := filepath.Join(operatorRootDir, "cmd/mesh/testdata/profile-dump")
    	tests := []struct {
    		desc       string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 20 11:44:25 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  2. src/net/net.go

    GODEBUG environment variable (see package runtime) to go or cgo, as in:
    
    	export GODEBUG=netdns=go    # force pure Go resolver
    	export GODEBUG=netdns=cgo   # force native resolver (cgo, win32)
    
    The decision can also be forced while building the Go source tree
    by setting the netgo or netcgo build tag.
    
    A numeric netdns setting, as in GODEBUG=netdns=1, causes the resolver
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  3. src/cmd/go/internal/envcmd/env.go

    		{Name: "GOTOOLCHAIN"},
    		{Name: "GOTOOLDIR", Value: build.ToolDir},
    		{Name: "GOVCS", Value: cfg.GOVCS},
    		{Name: "GOVERSION", Value: runtime.Version()},
    		{Name: "GODEBUG", Value: os.Getenv("GODEBUG")},
    		{Name: "GOTELEMETRY", Value: telemetry.Mode()},
    		{Name: "GOTELEMETRYDIR", Value: telemetry.Dir()},
    	}
    
    	for i := range env {
    		switch env[i].Name {
    		case "GO111MODULE":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. internal/jwt/parser_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package jwt
    
    // This file is a re-implementation of the original code here with some
    // additional allocation tweaks reproduced using GODEBUG=allocfreetrace=1
    // original file https://github.com/golang-jwt/jwt/blob/main/parser.go
    // borrowed under MIT License https://github.com/golang-jwt/jwt/blob/main/LICENSE
    
    import (
    	"fmt"
    	"testing"
    	"time"
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Nov 05 19:20:08 UTC 2021
    - 6K bytes
    - Viewed (0)
  5. src/go/types/check.go

    // To disable their use, set GODEBUG to gotypesalias=0.
    // This GODEBUG flag will be removed in the near future (tentatively Go 1.24).
    var gotypesalias = godebug.New("gotypesalias")
    
    // _aliasAny changes the behavior of [Scope.Lookup] for "any" in the
    // [Universe] scope.
    //
    // This is necessary because while Alias creation is controlled by
    // [Config._EnableAlias], based on the gotypealias variable, the representation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  6. src/internal/fuzz/pcg.go

    type pcgRand struct {
    	noCopy noCopy // help avoid mistakes: ask vet to ensure that we don't make a copy
    	state  uint64
    	inc    uint64
    }
    
    func godebugSeed() *int {
    	debug := strings.Split(os.Getenv("GODEBUG"), ",")
    	for _, f := range debug {
    		if strings.HasPrefix(f, "fuzzseed=") {
    			seed, err := strconv.Atoi(strings.TrimPrefix(f, "fuzzseed="))
    			if err != nil {
    				panic("malformed fuzzseed")
    			}
    			return &seed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:28:14 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. src/os/exec/exec_test.go

    	"path/filepath"
    	"runtime"
    	"runtime/debug"
    	"strconv"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"testing"
    	"time"
    )
    
    // haveUnexpectedFDs is set at init time to report whether any file descriptors
    // were open at program start.
    var haveUnexpectedFDs bool
    
    func init() {
    	godebug := os.Getenv("GODEBUG")
    	if godebug != "" {
    		godebug += ","
    	}
    	godebug += "execwait=2"
    	os.Setenv("GODEBUG", godebug)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  8. src/go/internal/gcimporter/ureader.go

    func newAliasTypeName(pos token.Pos, pkg *types.Package, name string, rhs types.Type) *types.TypeName {
    	// When GODEBUG=gotypesalias=1 or unset, the Type() of the return value is a
    	// *types.Alias. Copied from x/tools/internal/aliases.NewAlias.
    	switch godebug.New("gotypesalias").Value() {
    	case "", "1":
    		tname := types.NewTypeName(pos, pkg, name, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. src/runtime/race/output_test.go

    			t.Fatalf("failed to close file: %v", err)
    		}
    
    		cmd := exec.Command(testenv.GoToolPath(t), test.run, "-race", "-pkgdir="+pkgdir, src)
    		// GODEBUG spoils program output, GOMAXPROCS makes it flaky.
    		for _, env := range os.Environ() {
    			if strings.HasPrefix(env, "GODEBUG=") ||
    				strings.HasPrefix(env, "GOMAXPROCS=") ||
    				strings.HasPrefix(env, "GORACE=") {
    				continue
    			}
    			cmd.Env = append(cmd.Env, env)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 25 20:44:25 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  10. src/net/dial.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package net
    
    import (
    	"context"
    	"internal/bytealg"
    	"internal/godebug"
    	"internal/nettrace"
    	"syscall"
    	"time"
    )
    
    const (
    	// defaultTCPKeepAliveIdle is a default constant value for TCP_KEEPIDLE.
    	// See go.dev/issue/31510 for details.
    	defaultTCPKeepAliveIdle = 15 * time.Second
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 26.9K bytes
    - Viewed (0)
Back to top