mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-03 19:00:05 -06:00
Bumps [github.com/blevesearch/bleve/v2](https://github.com/blevesearch/bleve) from 2.3.7 to 2.3.9. - [Release notes](https://github.com/blevesearch/bleve/releases) - [Commits](https://github.com/blevesearch/bleve/compare/v2.3.7...v2.3.9) --- updated-dependencies: - dependency-name: github.com/blevesearch/bleve/v2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
23 lines
379 B
Go
23 lines
379 B
Go
//go:build gofuzz
|
|
// +build gofuzz
|
|
|
|
package roaring
|
|
|
|
import "bytes"
|
|
|
|
func FuzzSerializationStream(data []byte) int {
|
|
newrb := NewBitmap()
|
|
if _, err := newrb.ReadFrom(bytes.NewReader(data)); err != nil {
|
|
return 0
|
|
}
|
|
return 1
|
|
}
|
|
|
|
func FuzzSerializationBuffer(data []byte) int {
|
|
newrb := NewBitmap()
|
|
if _, err := newrb.FromBuffer(data); err != nil {
|
|
return 0
|
|
}
|
|
return 1
|
|
}
|