Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for copyTest (0.1 sec)

  1. src/syscall/js/js_test.go

    		err := recover()
    		if err == nil {
    			t.Errorf("expected panic")
    		}
    	}()
    	fn()
    }
    
    var copyTests = []struct {
    	srcLen  int
    	dstLen  int
    	copyLen int
    }{
    	{5, 3, 3},
    	{3, 5, 3},
    	{0, 0, 0},
    }
    
    func TestCopyBytesToGo(t *testing.T) {
    	for _, tt := range copyTests {
    		t.Run(fmt.Sprintf("%d-to-%d", tt.srcLen, tt.dstLen), func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  2. CREDITS

     Everyone is permitted to copy and distribute verbatim copies
     of this license document, but changing it is not allowed.
    
                                Preamble
    
      The GNU Affero General Public License is a free, copyleft license for
    software and other kinds of works, specifically designed to ensure
    cooperation with the community in the case of network server software.
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 15:34:20 UTC 2024
    - 1.7M bytes
    - Viewed (0)
Back to top