Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for gocacheverify (0.63 sec)

  1. hack/verify-vendor.sh

      pushd "${_kubetmp}/staging/src/k8s.io/${repo}" >/dev/null 2>&1
        echo "Tidying k8s.io/${repo}..."
        GODEBUG=gocacheverify=1 go mod tidy
      popd >/dev/null 2>&1
    done
    pushd "${_kubetmp}" >/dev/null 2>&1
      echo "Tidying k8s.io/kubernetes..."
      GODEBUG=gocacheverify=1 go mod tidy
    popd >/dev/null 2>&1
    
    echo "Vendor Verified."
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 05:44:45 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/cmd/go/internal/cache/cache.go

    //
    // verify is enabled by setting the environment variable
    // GODEBUG=gocacheverify=1.
    var verify = false
    
    var errVerifyMode = errors.New("gocacheverify=1")
    
    // DebugTest is set when GODEBUG=gocachetest=1 is in the environment.
    var DebugTest = false
    
    func init() { initEnv() }
    
    var (
    	gocacheverify = godebug.New("gocacheverify")
    	gocachehash   = godebug.New("gocachehash")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. src/internal/godebugs/table.go

    	{Name: "asynctimerchan", Package: "time", Changed: 23, Old: "1", Opaque: true},
    	{Name: "execerrdot", Package: "os/exec"},
    	{Name: "gocachehash", Package: "cmd/go"},
    	{Name: "gocachetest", Package: "cmd/go"},
    	{Name: "gocacheverify", Package: "cmd/go"},
    	{Name: "gotypesalias", Package: "go/types", Changed: 23, Old: "0"},
    	{Name: "http2client", Package: "net/http"},
    	{Name: "http2debug", Package: "net/http", Opaque: true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. src/cmd/go/go_test.go

    		t.Fatalf("bad output from compressed go binary:\ngot %q; want %q", out, "hello upx")
    	}
    }
    
    var gocacheverify = godebug.New("#gocacheverify")
    
    func TestCacheListStale(t *testing.T) {
    	tooSlow(t, "links a binary")
    	if gocacheverify.Value() == "1" {
    		t.Skip("GODEBUG gocacheverify")
    	}
    
    	tg := testgo(t)
    	defer tg.cleanup()
    	tg.parallel()
    	tg.makeTempdir()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  5. src/cmd/go/internal/cache/hash.go

    		hashDebug.Lock()
    		if hashDebug.m == nil {
    			hashDebug.m = make(map[[HashSize]byte]string)
    		}
    		hashDebug.m[out] = h.buf.String()
    		hashDebug.Unlock()
    	}
    	return out
    }
    
    // In GODEBUG=gocacheverify=1 mode,
    // hashDebug holds the input to every computed hash ID,
    // so that we can work backward from the ID involved in a
    // cache entry mismatch to a description of what should be there.
    var hashDebug struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 14 16:18:34 UTC 2021
    - 4.9K bytes
    - Viewed (0)
  6. src/cmd/go/internal/cache/cache_test.go

    			t.Errorf("Get2(%x) = %x, %d, want %x, %d", id, entry.OutputID, entry.Size, dummyID(i*99), int64(i)*101)
    		}
    	}
    }
    
    func TestVerifyPanic(t *testing.T) {
    	os.Setenv("GODEBUG", "gocacheverify=1")
    	initEnv()
    	defer func() {
    		os.Unsetenv("GODEBUG")
    		verify = false
    	}()
    
    	if !verify {
    		t.Fatal("initEnv did not set verify")
    	}
    
    	dir, err := os.MkdirTemp("", "cachetest-")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 00:49:37 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  7. doc/godebug.md

    This setting will be removed in a future release, Go 1.22 at the earliest.
    
    ### Go 1.10
    
    Go 1.10 changed how build caching worked and added test caching, along
    with the [`gocacheverify`, `gocachehash`, and `gocachetest` settings](/cmd/go/#hdr-Build_and_test_caching).
    There is no plan to remove these settings.
    
    ### Go 1.6
    
    Go 1.6 introduced transparent support for HTTP/2,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  8. src/runtime/metrics/doc.go

    		package due to a non-default GODEBUG=gocachetest=... setting.
    
    	/godebug/non-default-behavior/gocacheverify:events
    		The number of non-default behaviors executed by the cmd/go
    		package due to a non-default GODEBUG=gocacheverify=... setting.
    
    	/godebug/non-default-behavior/gotypesalias:events
    		The number of non-default behaviors executed by the go/types
    		package due to a non-default GODEBUG=gotypesalias=... setting.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 20K bytes
    - Viewed (0)
  9. src/cmd/go/internal/help/helpdoc.go

    This may make fuzzing less effective, temporarily.
    
    The GODEBUG environment variable can enable printing of debugging
    information about the state of the cache:
    
    GODEBUG=gocacheverify=1 causes the go command to bypass the
    use of any cache entries and instead rebuild everything and check
    that the results match existing cache entries.
    
    GODEBUG=gocachehash=1 causes the go command to print the inputs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  10. src/cmd/go/alldocs.go

    // This may make fuzzing less effective, temporarily.
    //
    // The GODEBUG environment variable can enable printing of debugging
    // information about the state of the cache:
    //
    // GODEBUG=gocacheverify=1 causes the go command to bypass the
    // use of any cache entries and instead rebuild everything and check
    // that the results match existing cache entries.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
Back to top