Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for archAvailableIEEE (0.12 sec)

  1. src/hash/crc32/crc32.go

    // The interface that they implement is as follows:
    //
    //    // archAvailableIEEE reports whether an architecture-specific CRC32-IEEE
    //    // algorithm is available.
    //    archAvailableIEEE() bool
    //
    //    // archInitIEEE initializes the architecture-specific CRC3-IEEE algorithm.
    //    // It can only be called if archAvailableIEEE() returns true.
    //    archInitIEEE()
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 12 05:36:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. src/hash/crc32/crc32_test.go

    		t2 := slicingMakeTable(poly)
    		f2 := func(crc uint32, b []byte) uint32 {
    			return slicingUpdate(crc, t2, b)
    		}
    		testCrossCheck(t, f1, f2)
    	}
    }
    
    func TestArchIEEE(t *testing.T) {
    	if !archAvailableIEEE() {
    		t.Skip("Arch-specific IEEE not available.")
    	}
    	archInitIEEE()
    	slicingTable := slicingMakeTable(IEEE)
    	testCrossCheck(t, archUpdateIEEE, func(crc uint32, b []byte) uint32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top