Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for integer (0.14 sec)

  1. cmd/erasure-sets.go

    	case _, ok := <-s.setReconnectEvent:
    		if ok {
    			xioutil.SafeClose(s.setReconnectEvent)
    		}
    	default:
    		xioutil.SafeClose(s.setReconnectEvent)
    	}
    	return nil
    }
    
    // hashes the key returning an integer based on the input algorithm.
    // This function currently supports
    // - CRCMOD
    // - SIPMOD
    // - all new algos.
    func sipHashMod(key string, cardinality int, id [16]byte) int {
    	if cardinality <= 0 {
    		return -1
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
Back to top