Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 759 for Godebug (0.17 sec)

  1. operator/cmd/mesh/testdata/manifest-generate/output/pilot_k8s_settings.golden.yaml

            - name: PILOT_CERT_PROVIDER
              value: istiod
            - name: POD_NAME
              valueFrom:
                fieldRef:
                  apiVersion: v1
                  fieldPath: new.path
            - name: GODEBUG
              value: gctrace=111
            - name: NEW_VAR
              value: new_value
            - name: POD_NAMESPACE
              valueFrom:
                fieldRef:
                  apiVersion: v1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 06 02:56:54 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. src/math/rand/rand.go

    // convenience functions. When possible it uses the runtime fastrand64
    // function to avoid locking. This is not possible if the user called Seed,
    // either explicitly or implicitly via GODEBUG=randautoseed=0.
    var globalRandGenerator atomic.Pointer[Rand]
    
    var randautoseed = godebug.New("randautoseed")
    
    // globalRand returns the generator to use for the top-level convenience
    // functions.
    func globalRand() *Rand {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modindex/index_test.go

    import (
    	"encoding/hex"
    	"encoding/json"
    	"go/build"
    	"internal/diff"
    	"path/filepath"
    	"reflect"
    	"runtime"
    	"testing"
    )
    
    func init() {
    	isTest = true
    	enabled = true // to allow GODEBUG=goindex=0 go test, when things are very broken
    }
    
    func TestIndex(t *testing.T) {
    	src := filepath.Join(runtime.GOROOT(), "src")
    	checkPkg := func(t *testing.T, m *Module, pkg string, data []byte) {
    		p := m.Package(pkg)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 28 23:35:08 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/env_write.txt

    stderr 'GOEXE cannot be modified'
    ! go env -w GOVERSION=customversion
    stderr 'GOVERSION cannot be modified'
    ! go env -w GOENV=/env
    stderr 'GOENV can only be set using the OS environment'
    ! go env -w GODEBUG=gctrace=1
    stderr 'GODEBUG can only be set using the OS environment'
    
    # go env -w can set multiple variables
    env CC=
    go env CC
    ! stdout ^xyc$
    go env -w GOOS=$GOOS CC=xyc
    grep CC=xyc $GOENV
    # file is maintained in sorted order
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 18:42:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. src/os/types_windows.go

    // Copyright 2009 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 os
    
    import (
    	"internal/filepathlite"
    	"internal/godebug"
    	"internal/syscall/windows"
    	"sync"
    	"syscall"
    	"time"
    	"unsafe"
    )
    
    // A fileStat is the implementation of FileInfo returned by Stat and Lstat.
    type fileStat struct {
    	name string
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/directive/directive.go

    	case "//go:debug":
    		if check.file == nil {
    			check.pass.Reportf(pos, "//go:debug directive only valid in Go source files")
    		} else if check.file.Name.Name != "main" && !strings.HasSuffix(check.filename, "_test.go") {
    			check.pass.Reportf(pos, "//go:debug directive only valid in package main or test")
    		} else if !check.inHeader {
    			check.pass.Reportf(pos, "//go:debug directive only valid before package declaration")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. src/cmd/go/scriptreadme_test.go

    	GOROOT=<actual GOROOT>
    	TESTGO_GOROOT=<GOROOT used to build cmd/go, for use in tests that may change GOROOT>
    	HOME=/no-home
    	PATH=<actual PATH>
    	TMPDIR=$WORK/tmp
    	GODEBUG=<actual GODEBUG>
    	devnull=<value of os.DevNull>
    	goversion=<current Go version; for example, 1.12>
    
    On Plan 9, the variables $path and $home are set instead of $PATH and $HOME.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. src/go/types/eval_test.go

    // license that can be found in the LICENSE file.
    
    // This file contains tests for Eval.
    
    package types_test
    
    import (
    	"fmt"
    	"go/ast"
    	"go/importer"
    	"go/parser"
    	"go/token"
    	"go/types"
    	"internal/godebug"
    	"internal/testenv"
    	"strings"
    	"testing"
    
    	. "go/types"
    )
    
    func testEval(t *testing.T, fset *token.FileSet, pkg *Package, pos token.Pos, expr string, typ Type, typStr, valStr string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 19:56:15 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. src/math/rand/default_test.go

    			cmd := testenv.Command(t, exe, "-test.run=TestDefaultRace")
    			cmd = testenv.CleanCmdEnv(cmd)
    			cmd.Env = append(cmd.Env, fmt.Sprintf("GO_RAND_TEST_HELPER_CODE=%d", i/2))
    			if i%2 != 0 {
    				cmd.Env = append(cmd.Env, "GODEBUG=randautoseed=0")
    			}
    			out, err := cmd.CombinedOutput()
    			if len(out) > 0 {
    				t.Logf("%s", out)
    			}
    			if err != nil {
    				t.Error(err)
    			}
    		})
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 07 23:39:35 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. src/runtime/crash_unix_test.go

    		// in, it may lock up and prevent main from saying it's ready.
    		"GOGC=off",
    		// Set GODEBUG=asyncpreemptoff=1. If a thread is preempted
    		// when it receives SIGQUIT, it won't show the expected
    		// stack trace. See issue 35356.
    		"GODEBUG=asyncpreemptoff=1",
    	)
    
    	var outbuf bytes.Buffer
    	cmd.Stdout = &outbuf
    	cmd.Stderr = &outbuf
    
    	rp, wp, err := os.Pipe()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 20:11:47 UTC 2023
    - 9.2K bytes
    - Viewed (0)
Back to top