Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for warmupCache (0.05 seconds)

  1. src/cmd/api/api_test.go

    					continue
    				}
    				if err != nil {
    					b.Fatalf("import %s (%s-%s): %v", name, context.GOOS, context.GOARCH, err)
    				}
    				w.export(pkg)
    			}
    			w.Features()
    		}
    	}
    }
    
    var warmupCache = sync.OnceFunc(func() {
    	// Warm up the import cache in parallel.
    	var wg sync.WaitGroup
    	for _, context := range contexts {
    		wg.Add(1)
    		go func() {
    			defer wg.Done()
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Mar 02 13:20:41 GMT 2026
    - 7.6K bytes
    - Click Count (0)
Back to Top