Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for simplePopulateTable (0.22 sec)

  1. src/hash/crc32/crc32_generic.go

    // (simpleUpdate).
    func simpleMakeTable(poly uint32) *Table {
    	t := new(Table)
    	simplePopulateTable(poly, t)
    	return t
    }
    
    // simplePopulateTable constructs a Table for the specified polynomial, suitable
    // for use with simpleUpdate.
    func simplePopulateTable(poly uint32, t *Table) {
    	for i := 0; i < 256; i++ {
    		crc := uint32(i)
    		for j := 0; j < 8; j++ {
    			if crc&1 == 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 22:36:41 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top