Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCastagnoliRace (0.44 sec)

  1. src/hash/crc32/crc32_test.go

    package crc32
    
    import (
    	"encoding"
    	"fmt"
    	"hash"
    	"io"
    	"math/rand"
    	"testing"
    )
    
    // First test, so that it can be the one to initialize castagnoliTable.
    func TestCastagnoliRace(t *testing.T) {
    	// The MakeTable(Castagnoli) lazily initializes castagnoliTable,
    	// which races with the switch on tab during Write to check
    	// whether tab == castagnoliTable.
    	ieee := NewIEEE()
    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