Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for oldPools (0.19 sec)

  1. src/sync/pool.go

    	// victim caches and no pools have primary caches.
    	oldPools, allPools = allPools, nil
    }
    
    var (
    	allPoolsMu Mutex
    
    	// allPools is the set of pools that have non-empty primary
    	// caches. Protected by either 1) allPoolsMu and pinning or 2)
    	// STW.
    	allPools []*Pool
    
    	// oldPools is the set of pools that may have non-empty victim
    	// caches. Protected by STW.
    	oldPools []*Pool
    )
    
    func init() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 9.4K bytes
    - Viewed (1)
  2. src/cmd/go/testdata/script/goflags.txt

    go list asdfasdfasdf  # succeeds because of -e
    go list runtime
    stdout '[\\/]runtime$'
    
    env GOFLAGS=-race OLDGOARCH=$GOARCH OLDGOOS=$GOOS GOARCH=386 GOOS=linux
    ! go list runtime
    stderr 'race is not supported on linux/386'
    
    env GOARCH=$OLDGOARCH GOOS=$OLDGOOS
    
    # go env succeeds even though -f={{.Dir}} is inappropriate
    go env
    
    # bad flags are diagnosed
    env GOFLAGS=-typoflag
    ! go list runtime
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 16:47:27 UTC 2022
    - 1.5K bytes
    - Viewed (0)
Back to top