Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testMakeCopyInts (0.17 sec)

  1. test/makeslice.go

    		}
    		s := err.(error).Error()
    		if !strings.Contains(s, str) {
    			panic("got panic " + s + ", want " + str)
    		}
    	}()
    
    	f()
    }
    
    func testInts(n uint64) {
    	testMakeInts(n)
    	testMakeCopyInts(n)
    	testMakeInAppendInts(n)
    }
    
    func testBytes(n uint64) {
    	testMakeBytes(n)
    	testMakeCopyBytes(n)
    	testMakeInAppendBytes(n)
    }
    
    // Test make panics for given length or capacity n.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 07 17:50:24 UTC 2020
    - 5.5K bytes
    - Viewed (0)
Back to top