Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for globalBuf (0.1 sec)

  1. src/strconv/strconv_test.go

    	"strings"
    	"testing"
    )
    
    var (
    	globalBuf [64]byte
    	nextToOne = "1.00000000000000011102230246251565404236316680908203125" + strings.Repeat("0", 10000) + "1"
    
    	mallocTest = []struct {
    		count int
    		desc  string
    		fn    func()
    	}{
    		{0, `AppendInt(localBuf[:0], 123, 10)`, func() {
    			var localBuf [64]byte
    			AppendInt(localBuf[:0], 123, 10)
    		}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 20:29:22 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  2. src/math/all_test.go

    	for i := 0; i < b.N; i++ {
    		x = Dim(GlobalF, x)
    	}
    	GlobalF = x
    }
    
    func BenchmarkFloor(b *testing.B) {
    	x := 0.0
    	for i := 0; i < b.N; i++ {
    		x = Floor(.5)
    	}
    	GlobalF = x
    }
    
    func BenchmarkMax(b *testing.B) {
    	x := 0.0
    	for i := 0; i < b.N; i++ {
    		x = Max(10, 3)
    	}
    	GlobalF = x
    }
    
    func BenchmarkMin(b *testing.B) {
    	x := 0.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 07 17:39:26 UTC 2023
    - 86.8K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/xcoff.go

    // Create loader section and returns its size.
    func Loaderblk(ctxt *Link, off uint64) {
    	xfile.writeLdrScn(ctxt, off)
    }
    
    func (f *xcoffFile) writeLdrScn(ctxt *Link, globalOff uint64) {
    	var symtab []*XcoffLdSym64
    	var strtab []*XcoffLdStr64
    	var importtab []*XcoffLdImportFile64
    	var reloctab []*XcoffLdRel64
    	var dynimpreloc []*XcoffLdRel64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
Back to top