Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for atoi64tests (0.14 sec)

  1. src/runtime/string_test.go

    	switch intSize {
    	case 32:
    		for i := range atoi32tests {
    			test := &atoi32tests[i]
    			out, ok := runtime.Atoi(test.in)
    			if test.out != int32(out) || test.ok != ok {
    				t.Errorf("atoi(%q) = (%v, %v) want (%v, %v)",
    					test.in, out, ok, test.out, test.ok)
    			}
    		}
    	case 64:
    		for i := range atoi64tests {
    			test := &atoi64tests[i]
    			out, ok := runtime.Atoi(test.in)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 13 14:05:23 UTC 2022
    - 13.3K bytes
    - Viewed (0)
Back to top