Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Atol (0.87 sec)

  1. src/cmd/cgo/internal/test/test.go

    }
    
    func Strtol(s string, base int) (int, error) {
    	p := C.CString(s)
    	n, err := C.strtol(p, nil, C.int(base))
    	C.free(unsafe.Pointer(p))
    	return int(n), err
    }
    
    func Atol(s string) int {
    	p := C.CString(s)
    	n := C.atol(p)
    	C.free(unsafe.Pointer(p))
    	return int(n)
    }
    
    func testConst(t *testing.T) {
    	C.myConstFunc(nil, 0, nil)
    }
    
    func testEnum(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  2. pkg/util/tolerations/tolerations_test.go

    			if VerifyAgainstWhitelist(input, whitelist) {
    				for _, tol := range input {
    					require.True(t, isContained(tol, whitelist), debugMsg(input, whitelist))
    				}
    			} else {
    				uncontained := false
    				for _, tol := range input {
    					if !isContained(tol, whitelist) {
    						uncontained = true
    						break
    					}
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 26 22:25:49 UTC 2019
    - 11.4K bytes
    - Viewed (0)
Back to top