1
0
mirror of https://gitcode.com/gitea/gitea.git synced 2025-06-26 06:46:59 +08:00

Update to last common bleve ()

This commit is contained in:
Antoine GIRARD
2018-05-19 14:49:46 +02:00
committed by Lunny Xiao
parent 1b7cd3d0b0
commit 917b9641ec
184 changed files with 39576 additions and 121 deletions
vendor
github.com
RoaringBitmap/roaring
Smerity/govarint
blevesearch/bleve
couchbase/vellum
edsrzf/mmap-go
glycerine/go-unsnap-stream
mschoch/smat
philhofer/fwd
tinylib/msgp
willf/bitset
vendor.json

@ -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
}