• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

couchbase / moss / 212
83%

Build:
DEFAULT BRANCH: master
Ran 27 Mar 2017 05:06PM UTC
Jobs 1
Files 23
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
212

push

travis-ci

mschoch
<a href="https://github.com/couchbase/moss/commit/<a class=hub.com/couchbase/moss/commit/807463d607f2ad1024b5f3c5b45bccadfb833671">807463d60<a href="https://github.com/couchbase/moss/commit/807463d607f2ad1024b5f3c5b45bccadfb833671">&quot;&gt;update Segment interface to allow for different implementations

Previously methods assumed an integer offset could be used to
interact with elements in the segment.  Now the keys are
used directly to describe the operations.

Removed:
FindKeyPos(key []byte)
FindStartKeyInclusivePos(startKeyInclusive []byte)
GetOperationKeyVal(pos int)

Added:
Get(key []byte)
Cursor(startKeyInclusive []byte, endKeyExclusive []byte)

Cursor returns a new SegmentCursor inteface with methods:
Current()
Next()
Seek(startKeyInclusive []byte)

Get(key []byte) (operation uint64, val []byte, error)

Change-Id: I</a><a class="double-link" href="https://github.com/couchbase/moss/commit/<a class="double-link" href="https://github.com/couchbase/moss/commit/7013c721cf67fc71967ac86bae806b5f1fc710f5">7013c721c</a>">7013c721c</a><a href="https://github.com/couchbase/moss/commit/807463d607f2ad1024b5f3c5b45bccadfb833671">
Reviewed-on: http://review.couchbase.org/75744
Reviewed-by: Steve Yen &lt;steve.yen@gmail.com>
Tested-by: Marty Schoch <marty.schoch@gmail.com>

88 of 88 new or added lines in 5 files covered. (100.0%)

2813 of 3420 relevant lines covered (82.25%)

12572.89 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
segment_stack_merge.go
2
100.0
segment_stack.go
3
100.0
iterator.go
3
100.0
iterator_single.go
4
100.0
segment.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
segment_stack_merge.go
1
100.0
iterator.go
2
100.0
iterator_single.go
Jobs
ID Job ID Ran Files Coverage
1 212.1 27 Mar 2017 05:06PM UTC 0
82.25
Travis Job 212.1
Source Files on build 212
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #212
  • 807463d6 on github
  • Prev Build on master (#211)
  • Next Build on master (#213)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc