Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for bots (2.52 sec)

  1. src/archive/zip/reader_test.go

    		// Corrupt foo.txt's final crc32 byte, in both
    		// the file header and TOC. (0x7e -> 0x7f)
    		b[0x11]++
    		b[0x9d]++
    
    		// TODO(bradfitz): add a new test that only corrupts
    		// one of these values, and verify that that's also an
    		// error. Currently, the reader code doesn't verify the
    		// fileheader and TOC's crc32 match if they're both
    		// non-zero and only the second line above, the TOC,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  2. src/bytes/bytes_test.go

    	{"aaa", "a", 0},
    	{"abc", "xyz", -1},
    	{"abc", "xcz", 2},
    	{"ab☺c", "x☺yz", 2},
    	{"a☺b☻c☹d", "cx", len("a☺b☻")},
    	{"a☺b☻c☹d", "uvw☻xyz", len("a☺b")},
    	{"aRegExp*", ".(|)*+?^$[]", 7},
    	{dots + dots + dots, " ", -1},
    	{"012abcba210", "\xffb", 4},
    	{"012\x80bcb\x80210", "\xffb", 3},
    	{"0123456\xcf\x80abc", "\xcfb\x80", 10},
    }
    
    var lastIndexAnyTests = []BinOpTest{
    	{"", "", -1},
    	{"", "a", -1},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
Back to top