- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for SimpleUpdate (0.14 sec)
-
src/hash/crc32/crc32_generic.go
// polynomial. The table is suitable for use with the simple algorithm // (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)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 18 22:36:41 UTC 2024 - 2.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/util.go
"k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/runtime" ) type SimpleUpdateFunc func(runtime.Object) (runtime.Object, error) // SimpleUpdateFunc converts SimpleUpdateFunc into UpdateFunc func SimpleUpdate(fn SimpleUpdateFunc) UpdateFunc { return func(input runtime.Object, _ ResponseMeta) (runtime.Object, *uint64, error) { out, err := fn(input) return out, nil, err } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:05:06 UTC 2024 - 4.6K bytes - Viewed (0) -
src/hash/crc32/crc32.go
return updateCastagnoli(crc, p) case tab == IEEETable: if checkInitIEEE { ieeeOnce.Do(ieeeInit) } return updateIEEE(crc, p) default: return simpleUpdate(crc, tab, p) } } // Update returns the result of adding the bytes in p to the crc. func Update(crc uint32, tab *Table, p []byte) uint32 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 12 05:36:29 UTC 2024 - 7.5K bytes - Viewed (0)