Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for eight888 (0.2 sec)

  1. src/runtime/iface_test.go

    		t.Run(test.name, func(t *testing.T) {
    			n := testing.AllocsPerRun(1000, test.fn)
    			if n != 0 {
    				t.Errorf("want zero allocs, got %v", n)
    			}
    		})
    	}
    }
    
    var (
    	eight8  uint8 = 8
    	eight8I T8    = 8
    	yes     bool  = true
    
    	zero16     uint16 = 0
    	zero16I    T16    = 0
    	one16      uint16 = 1
    	thousand16 uint16 = 1000
    
    	zero32     uint32 = 0
    	zero32I    T32    = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 7.5K bytes
    - Viewed (0)
  2. src/reflect/all_test.go

    		runtime.GC()
    		return nil
    	}
    	typ := ValueOf(f).Type()
    	f2 := MakeFunc(typ, g).Interface().(func(string, string, string, string, string))
    	f2("four", "five5", "six666", "seven77", "eight888")
    }
    
    // Issue 18635 (function version).
    func TestKeepFuncLive(t *testing.T) {
    	// Test that we keep makeFuncImpl live as long as it is
    	// referenced on the stack.
    	typ := TypeOf(func(i int) {})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
Back to top