Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cycle (0.22 sec)

  1. src/arena/arena.go

    of Go values and free that space manually all at once, safely. The purpose
    of this functionality is to improve efficiency: manually freeing memory
    before a garbage collection delays that cycle. Less frequent cycles means
    the CPU cost of the garbage collector is incurred less frequently.
    
    This functionality in this package is mostly captured in the Arena type.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  2. src/cmd/api/main_test.go

    	name := fromPath
    	if canonical, ok := w.importMap[fromDir][fromPath]; ok {
    		name = canonical
    	}
    
    	pkg := w.imported[name]
    	if pkg != nil {
    		if pkg == &importing {
    			log.Fatalf("cycle importing package %q", name)
    		}
    		return pkg, nil
    	}
    	w.imported[name] = &importing
    
    	// Determine package files.
    	dir := w.importDir[name]
    	if dir == "" {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top