mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-06-26 06:46:59 +08:00
Update to last common bleve (#3986)
This commit is contained in:

committed by
Lunny Xiao

parent
1b7cd3d0b0
commit
917b9641ec
vendor
github.com
RoaringBitmap/roaring
AUTHORSCONTRIBUTORSLICENSELICENSE-2.0.txtMakefileREADME.mdarraycontainer.goarraycontainer_gen.gobitmapcontainer.gobitmapcontainer_gen.goctz.goctz_compat.gofastaggregation.gomanyiterator.goparallel.gopopcnt.gopopcnt_amd64.spopcnt_asm.gopopcnt_compat.gopopcnt_generic.gopopcnt_slices.gopriorityqueue.gorle.gorle16.gorle16_gen.gorle_gen.gorlecommon.gorlei.goroaring.goroaringarray.goroaringarray_gen.goserialization.goserialization_generic.goserialization_littleendian.goserializationfuzz.gosetutil.goshortiterator.gosmat.goutil.go
Smerity/govarint
blevesearch/bleve
README.mdconfig.goconfig_app.go
document
index.goindex
analysis.go
scorch
README.mdevent.gointroducer.gomerge.go
mergeplan
persister.goreader.goscorch.gosegment
snapshot_index.gosnapshot_index_dict.gosnapshot_index_doc.gosnapshot_index_tfr.gosnapshot_rollback.gosnapshot_segment.gostats.goupsidedown
mapping
query.gosearch.gosearch
couchbase/vellum
CONTRIBUTING.mdLICENSEREADME.mdautomaton.gobuilder.gocommon.godecoder_v1.goencoder_v1.goencoding.gofst.gofst_iterator.gomerge_iterator.gopack.go
regexp
registry.gotransducer.goutf8
vellum.govellum_mmap.govellum_nommap.gowriter.goedsrzf/mmap-go
glycerine/go-unsnap-stream
mschoch/smat
philhofer/fwd
tinylib/msgp
LICENSE
msgp
willf/bitset
21
vendor/github.com/RoaringBitmap/roaring/shortiterator.go
generated
vendored
Normal file
21
vendor/github.com/RoaringBitmap/roaring/shortiterator.go
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
package roaring
|
||||
|
||||
type shortIterable interface {
|
||||
hasNext() bool
|
||||
next() uint16
|
||||
}
|
||||
|
||||
type shortIterator struct {
|
||||
slice []uint16
|
||||
loc int
|
||||
}
|
||||
|
||||
func (si *shortIterator) hasNext() bool {
|
||||
return si.loc < len(si.slice)
|
||||
}
|
||||
|
||||
func (si *shortIterator) next() uint16 {
|
||||
a := si.slice[si.loc]
|
||||
si.loc++
|
||||
return a
|
||||
}
|
Reference in New Issue
Block a user