From fe766585d1ea1c9e4898c3b5a162eda4899e73e0 Mon Sep 17 00:00:00 2001 From: Josh Baker Date: Sun, 14 Aug 2016 08:23:04 -0700 Subject: [PATCH] fix large buffers --- buntdb.go | 12 +- buntdb_test.go | 5 + coverage.out | 472 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 482 insertions(+), 7 deletions(-) create mode 100644 coverage.out diff --git a/buntdb.go b/buntdb.go index 6f0f5f6..13f00fc 100644 --- a/buntdb.go +++ b/buntdb.go @@ -714,7 +714,7 @@ func (db *DB) load() error { // resize the read buffer if len(data) < n+2 { dataln := len(data) - for len(data) < n+2 { + for dataln < n+2 { dataln *= 2 } data = make([]byte, dataln) @@ -1581,7 +1581,9 @@ func IndexFloat(a, b string) bool { // When the field is a string, the comparison will be case-insensitive. // It returns a helper function used by CreateIndex. func IndexJSON(path string) func(a, b string) bool { - return jsonIndex(false, path) + return func(a, b string) bool { + return gjson.Get(a, path).Less(gjson.Get(b, path), false) + } } // IndexJSONCaseSensitive provides for the ability to create an index on @@ -1589,11 +1591,7 @@ func IndexJSON(path string) func(a, b string) bool { // When the field is a string, the comparison will be case-sensitive. // It returns a helper function used by CreateIndex. func IndexJSONCaseSensitive(path string) func(a, b string) bool { - return jsonIndex(true, path) -} - -func jsonIndex(cs bool, path string) func(a, b string) bool { return func(a, b string) bool { - return gjson.Get(a, path).Less(gjson.Get(b, path), cs) + return gjson.Get(a, path).Less(gjson.Get(b, path), true) } } diff --git a/buntdb_test.go b/buntdb_test.go index f441f23..f47a3a5 100644 --- a/buntdb_test.go +++ b/buntdb_test.go @@ -525,6 +525,11 @@ func TestDatabaseFormat(t *testing.T) { testBadFormat("*1\r\n$3\r\nset\r\n") testBadFormat("*5\r\n$3\r\nset\r\n$3\r\nvar\r\n$3\r\nval\r\n$2\r\nxx\r\n$2\r\n10\r\n") testBadFormat("*5\r\n$3\r\nset\r\n$3\r\nvar\r\n$3\r\nval\r\n$2\r\nex\r\n$2\r\naa\r\n") + testBadFormat("*15\r\n$3\r\nset\r\n$3\r\nvar\r\n$3\r\nval\r\n$2\r\nex\r\n$2\r\naa\r\n") + testBadFormat("*1A\r\n$3\r\nset\r\n$3\r\nvar\r\n$3\r\nval\r\n$2\r\nex\r\n$2\r\naa\r\n") + testBadFormat("*5\r\n$13\r\nset\r\n$3\r\nvar\r\n$3\r\nval\r\n$2\r\nex\r\n$2\r\naa\r\n") + testBadFormat("*5\r\n$1A\r\nset\r\n$3\r\nvar\r\n$3\r\nval\r\n$2\r\nex\r\n$2\r\naa\r\n") + testBadFormat("*5\r\n$3\r\nset\r\n$5000\r\nvar\r\n$3\r\nval\r\n$2\r\nex\r\n$2\r\naa\r\n") } func TestInsertsAndDeleted(t *testing.T) { diff --git a/coverage.out b/coverage.out new file mode 100644 index 0000000..82c20f7 --- /dev/null +++ b/coverage.out @@ -0,0 +1,472 @@ +mode: set +github.com/tidwall/buntdb/buntdb.go:130.37,141.16 7 1 +github.com/tidwall/buntdb/buntdb.go:155.2,156.16 2 1 +github.com/tidwall/buntdb/buntdb.go:141.16,145.17 3 1 +github.com/tidwall/buntdb/buntdb.go:148.3,148.35 1 1 +github.com/tidwall/buntdb/buntdb.go:152.3,152.37 1 1 +github.com/tidwall/buntdb/buntdb.go:145.17,147.4 1 1 +github.com/tidwall/buntdb/buntdb.go:148.35,151.4 2 1 +github.com/tidwall/buntdb/buntdb.go:161.29,164.15 3 1 +github.com/tidwall/buntdb/buntdb.go:167.2,168.16 2 1 +github.com/tidwall/buntdb/buntdb.go:175.2,176.12 2 1 +github.com/tidwall/buntdb/buntdb.go:164.15,166.3 1 1 +github.com/tidwall/buntdb/buntdb.go:168.16,169.41 1 1 +github.com/tidwall/buntdb/buntdb.go:169.41,171.4 1 1 +github.com/tidwall/buntdb/buntdb.go:205.37,207.2 1 1 +github.com/tidwall/buntdb/buntdb.go:224.53,226.2 1 1 +github.com/tidwall/buntdb/buntdb.go:234.9,237.15 3 1 +github.com/tidwall/buntdb/buntdb.go:240.2,240.16 1 1 +github.com/tidwall/buntdb/buntdb.go:243.2,243.32 1 1 +github.com/tidwall/buntdb/buntdb.go:246.2,253.17 2 1 +github.com/tidwall/buntdb/buntdb.go:256.2,256.17 1 1 +github.com/tidwall/buntdb/buntdb.go:259.2,259.44 1 1 +github.com/tidwall/buntdb/buntdb.go:272.2,273.12 2 1 +github.com/tidwall/buntdb/buntdb.go:237.15,239.3 1 1 +github.com/tidwall/buntdb/buntdb.go:240.16,242.3 1 1 +github.com/tidwall/buntdb/buntdb.go:243.32,245.3 1 1 +github.com/tidwall/buntdb/buntdb.go:253.17,255.3 1 1 +github.com/tidwall/buntdb/buntdb.go:256.17,258.3 1 1 +github.com/tidwall/buntdb/buntdb.go:259.44,261.43 2 1 +github.com/tidwall/buntdb/buntdb.go:264.3,264.18 1 1 +github.com/tidwall/buntdb/buntdb.go:267.3,267.18 1 1 +github.com/tidwall/buntdb/buntdb.go:270.3,270.14 1 1 +github.com/tidwall/buntdb/buntdb.go:261.43,263.4 1 1 +github.com/tidwall/buntdb/buntdb.go:264.18,266.4 1 1 +github.com/tidwall/buntdb/buntdb.go:267.18,269.4 1 1 +github.com/tidwall/buntdb/buntdb.go:279.46,280.20 1 1 +github.com/tidwall/buntdb/buntdb.go:283.2,283.32 1 1 +github.com/tidwall/buntdb/buntdb.go:280.20,282.3 1 1 +github.com/tidwall/buntdb/buntdb.go:285.42,286.23 1 1 +github.com/tidwall/buntdb/buntdb.go:303.2,303.43 1 1 +github.com/tidwall/buntdb/buntdb.go:286.23,287.21 1 1 +github.com/tidwall/buntdb/buntdb.go:300.3,301.24 2 1 +github.com/tidwall/buntdb/buntdb.go:288.3,289.45 1 1 +github.com/tidwall/buntdb/buntdb.go:292.3,293.21 1 1 +github.com/tidwall/buntdb/buntdb.go:296.3,298.54 1 1 +github.com/tidwall/buntdb/buntdb.go:289.45,291.5 1 1 +github.com/tidwall/buntdb/buntdb.go:293.21,295.5 1 1 +github.com/tidwall/buntdb/buntdb.go:307.44,310.15 3 1 +github.com/tidwall/buntdb/buntdb.go:313.2,313.16 1 1 +github.com/tidwall/buntdb/buntdb.go:316.2,316.33 1 1 +github.com/tidwall/buntdb/buntdb.go:319.2,320.12 2 1 +github.com/tidwall/buntdb/buntdb.go:310.15,312.3 1 1 +github.com/tidwall/buntdb/buntdb.go:313.16,315.3 1 1 +github.com/tidwall/buntdb/buntdb.go:316.33,318.3 1 1 +github.com/tidwall/buntdb/buntdb.go:324.43,327.15 3 1 +github.com/tidwall/buntdb/buntdb.go:330.2,331.28 2 1 +github.com/tidwall/buntdb/buntdb.go:334.2,335.19 2 1 +github.com/tidwall/buntdb/buntdb.go:327.15,329.3 1 1 +github.com/tidwall/buntdb/buntdb.go:331.28,333.3 1 1 +github.com/tidwall/buntdb/buntdb.go:339.48,342.15 3 1 +github.com/tidwall/buntdb/buntdb.go:345.2,346.12 2 1 +github.com/tidwall/buntdb/buntdb.go:342.15,344.3 1 1 +github.com/tidwall/buntdb/buntdb.go:350.46,353.15 3 1 +github.com/tidwall/buntdb/buntdb.go:356.2,356.27 1 1 +github.com/tidwall/buntdb/buntdb.go:361.2,362.12 2 1 +github.com/tidwall/buntdb/buntdb.go:353.15,355.3 1 1 +github.com/tidwall/buntdb/buntdb.go:357.2,358.30 1 1 +github.com/tidwall/buntdb/buntdb.go:359.2,359.34 0 1 +github.com/tidwall/buntdb/buntdb.go:368.56,371.17 3 1 +github.com/tidwall/buntdb/buntdb.go:390.2,390.38 1 1 +github.com/tidwall/buntdb/buntdb.go:395.2,395.30 1 1 +github.com/tidwall/buntdb/buntdb.go:409.2,409.13 1 1 +github.com/tidwall/buntdb/buntdb.go:371.17,375.39 2 1 +github.com/tidwall/buntdb/buntdb.go:379.3,379.31 1 1 +github.com/tidwall/buntdb/buntdb.go:375.39,378.4 1 1 +github.com/tidwall/buntdb/buntdb.go:379.31,380.22 1 1 +github.com/tidwall/buntdb/buntdb.go:384.4,384.22 1 1 +github.com/tidwall/buntdb/buntdb.go:380.22,383.5 1 1 +github.com/tidwall/buntdb/buntdb.go:384.22,387.5 1 1 +github.com/tidwall/buntdb/buntdb.go:390.38,394.3 1 1 +github.com/tidwall/buntdb/buntdb.go:395.30,396.44 1 1 +github.com/tidwall/buntdb/buntdb.go:399.3,399.21 1 1 +github.com/tidwall/buntdb/buntdb.go:403.3,403.21 1 1 +github.com/tidwall/buntdb/buntdb.go:396.44,397.12 1 1 +github.com/tidwall/buntdb/buntdb.go:399.21,402.4 1 1 +github.com/tidwall/buntdb/buntdb.go:403.21,406.4 1 1 +github.com/tidwall/buntdb/buntdb.go:418.56,421.17 3 1 +github.com/tidwall/buntdb/buntdb.go:438.2,438.13 1 1 +github.com/tidwall/buntdb/buntdb.go:421.17,423.39 2 1 +github.com/tidwall/buntdb/buntdb.go:427.3,427.31 1 1 +github.com/tidwall/buntdb/buntdb.go:423.39,426.4 1 1 +github.com/tidwall/buntdb/buntdb.go:427.31,428.22 1 1 +github.com/tidwall/buntdb/buntdb.go:432.4,432.22 1 1 +github.com/tidwall/buntdb/buntdb.go:428.22,431.5 1 1 +github.com/tidwall/buntdb/buntdb.go:432.22,435.5 1 1 +github.com/tidwall/buntdb/buntdb.go:443.35,447.16 4 1 +github.com/tidwall/buntdb/buntdb.go:447.16,451.39 2 1 +github.com/tidwall/buntdb/buntdb.go:490.3,490.31 1 1 +github.com/tidwall/buntdb/buntdb.go:493.3,493.13 1 1 +github.com/tidwall/buntdb/buntdb.go:451.39,452.51 1 1 +github.com/tidwall/buntdb/buntdb.go:464.4,467.34 2 1 +github.com/tidwall/buntdb/buntdb.go:471.4,471.32 1 1 +github.com/tidwall/buntdb/buntdb.go:483.4,484.27 1 1 +github.com/tidwall/buntdb/buntdb.go:488.4,488.14 1 1 +github.com/tidwall/buntdb/buntdb.go:452.51,454.19 2 1 +github.com/tidwall/buntdb/buntdb.go:457.5,458.44 2 1 +github.com/tidwall/buntdb/buntdb.go:454.19,456.6 1 0 +github.com/tidwall/buntdb/buntdb.go:458.44,461.6 2 1 +github.com/tidwall/buntdb/buntdb.go:467.34,470.5 2 1 +github.com/tidwall/buntdb/buntdb.go:471.32,472.50 1 1 +github.com/tidwall/buntdb/buntdb.go:472.50,476.28 1 1 +github.com/tidwall/buntdb/buntdb.go:476.28,478.7 1 0 +github.com/tidwall/buntdb/buntdb.go:484.27,487.5 2 1 +github.com/tidwall/buntdb/buntdb.go:490.31,491.9 1 1 +github.com/tidwall/buntdb/buntdb.go:493.13,494.37 1 1 +github.com/tidwall/buntdb/buntdb.go:494.37,495.33 1 0 +github.com/tidwall/buntdb/buntdb.go:495.33,496.11 1 0 +github.com/tidwall/buntdb/buntdb.go:505.30,507.15 2 1 +github.com/tidwall/buntdb/buntdb.go:511.2,511.17 1 1 +github.com/tidwall/buntdb/buntdb.go:517.2,517.18 1 1 +github.com/tidwall/buntdb/buntdb.go:522.2,523.15 2 1 +github.com/tidwall/buntdb/buntdb.go:528.2,533.16 4 1 +github.com/tidwall/buntdb/buntdb.go:536.2,539.16 4 1 +github.com/tidwall/buntdb/buntdb.go:542.2,542.15 1 1 +github.com/tidwall/buntdb/buntdb.go:549.2,552.12 4 1 +github.com/tidwall/buntdb/buntdb.go:586.2,586.22 1 1 +github.com/tidwall/buntdb/buntdb.go:507.15,510.3 2 1 +github.com/tidwall/buntdb/buntdb.go:511.17,516.3 2 1 +github.com/tidwall/buntdb/buntdb.go:517.18,521.3 2 1 +github.com/tidwall/buntdb/buntdb.go:523.15,527.3 3 1 +github.com/tidwall/buntdb/buntdb.go:533.16,535.3 1 0 +github.com/tidwall/buntdb/buntdb.go:539.16,541.3 1 0 +github.com/tidwall/buntdb/buntdb.go:542.15,545.3 2 1 +github.com/tidwall/buntdb/buntdb.go:552.12,553.23 1 1 +github.com/tidwall/buntdb/buntdb.go:579.3,579.17 1 1 +github.com/tidwall/buntdb/buntdb.go:553.23,556.17 3 1 +github.com/tidwall/buntdb/buntdb.go:559.4,562.32 3 1 +github.com/tidwall/buntdb/buntdb.go:574.4,574.37 1 1 +github.com/tidwall/buntdb/buntdb.go:577.4,577.14 1 1 +github.com/tidwall/buntdb/buntdb.go:556.17,558.5 1 0 +github.com/tidwall/buntdb/buntdb.go:562.32,564.17 2 1 +github.com/tidwall/buntdb/buntdb.go:569.6,571.17 3 1 +github.com/tidwall/buntdb/buntdb.go:564.17,568.7 3 1 +github.com/tidwall/buntdb/buntdb.go:574.37,576.5 1 0 +github.com/tidwall/buntdb/buntdb.go:579.17,581.4 1 0 +github.com/tidwall/buntdb/buntdb.go:586.22,591.16 3 1 +github.com/tidwall/buntdb/buntdb.go:597.3,598.17 2 1 +github.com/tidwall/buntdb/buntdb.go:601.3,601.16 1 1 +github.com/tidwall/buntdb/buntdb.go:602.3,602.48 1 1 +github.com/tidwall/buntdb/buntdb.go:607.3,607.44 1 1 +github.com/tidwall/buntdb/buntdb.go:611.3,611.37 1 1 +github.com/tidwall/buntdb/buntdb.go:614.3,614.35 1 1 +github.com/tidwall/buntdb/buntdb.go:617.3,617.41 1 1 +github.com/tidwall/buntdb/buntdb.go:621.3,621.51 1 1 +github.com/tidwall/buntdb/buntdb.go:624.3,625.17 2 1 +github.com/tidwall/buntdb/buntdb.go:628.3,629.17 2 1 +github.com/tidwall/buntdb/buntdb.go:633.3,635.13 3 1 +github.com/tidwall/buntdb/buntdb.go:591.16,593.4 1 0 +github.com/tidwall/buntdb/buntdb.go:598.17,600.4 1 0 +github.com/tidwall/buntdb/buntdb.go:601.16,601.35 1 1 +github.com/tidwall/buntdb/buntdb.go:602.48,604.4 1 0 +github.com/tidwall/buntdb/buntdb.go:607.44,609.4 1 0 +github.com/tidwall/buntdb/buntdb.go:611.37,613.4 1 0 +github.com/tidwall/buntdb/buntdb.go:614.35,616.4 1 0 +github.com/tidwall/buntdb/buntdb.go:617.41,619.4 1 0 +github.com/tidwall/buntdb/buntdb.go:621.51,622.14 1 0 +github.com/tidwall/buntdb/buntdb.go:625.17,626.14 1 0 +github.com/tidwall/buntdb/buntdb.go:629.17,631.4 1 0 +github.com/tidwall/buntdb/buntdb.go:646.28,650.6 4 1 +github.com/tidwall/buntdb/buntdb.go:778.2,779.16 2 0 +github.com/tidwall/buntdb/buntdb.go:782.2,783.12 2 0 +github.com/tidwall/buntdb/buntdb.go:650.6,654.17 2 1 +github.com/tidwall/buntdb/buntdb.go:664.3,664.21 1 1 +github.com/tidwall/buntdb/buntdb.go:668.3,669.50 2 1 +github.com/tidwall/buntdb/buntdb.go:686.3,687.26 2 1 +github.com/tidwall/buntdb/buntdb.go:733.3,733.22 1 1 +github.com/tidwall/buntdb/buntdb.go:736.3,736.25 1 1 +github.com/tidwall/buntdb/buntdb.go:739.3,741.47 1 1 +github.com/tidwall/buntdb/buntdb.go:654.17,655.21 1 1 +github.com/tidwall/buntdb/buntdb.go:659.4,659.21 1 1 +github.com/tidwall/buntdb/buntdb.go:662.4,662.14 1 0 +github.com/tidwall/buntdb/buntdb.go:655.21,658.5 1 1 +github.com/tidwall/buntdb/buntdb.go:659.21,661.5 1 1 +github.com/tidwall/buntdb/buntdb.go:664.21,666.4 1 1 +github.com/tidwall/buntdb/buntdb.go:669.50,670.38 1 1 +github.com/tidwall/buntdb/buntdb.go:673.4,673.26 1 1 +github.com/tidwall/buntdb/buntdb.go:670.38,672.5 1 1 +github.com/tidwall/buntdb/buntdb.go:674.4,675.50 1 1 +github.com/tidwall/buntdb/buntdb.go:678.4,678.37 1 1 +github.com/tidwall/buntdb/buntdb.go:675.50,677.5 1 1 +github.com/tidwall/buntdb/buntdb.go:678.37,679.39 1 1 +github.com/tidwall/buntdb/buntdb.go:682.5,682.32 1 1 +github.com/tidwall/buntdb/buntdb.go:679.39,681.6 1 1 +github.com/tidwall/buntdb/buntdb.go:687.26,690.18 2 1 +github.com/tidwall/buntdb/buntdb.go:693.4,693.22 1 1 +github.com/tidwall/buntdb/buntdb.go:697.4,698.51 2 1 +github.com/tidwall/buntdb/buntdb.go:715.4,715.23 1 1 +github.com/tidwall/buntdb/buntdb.go:722.4,722.55 1 1 +github.com/tidwall/buntdb/buntdb.go:725.4,725.44 1 1 +github.com/tidwall/buntdb/buntdb.go:729.4,729.64 1 1 +github.com/tidwall/buntdb/buntdb.go:690.18,692.5 1 1 +github.com/tidwall/buntdb/buntdb.go:693.22,695.5 1 0 +github.com/tidwall/buntdb/buntdb.go:698.51,699.39 1 1 +github.com/tidwall/buntdb/buntdb.go:702.5,702.27 1 1 +github.com/tidwall/buntdb/buntdb.go:699.39,701.6 1 0 +github.com/tidwall/buntdb/buntdb.go:703.5,704.51 1 1 +github.com/tidwall/buntdb/buntdb.go:707.5,707.38 1 1 +github.com/tidwall/buntdb/buntdb.go:704.51,706.6 1 0 +github.com/tidwall/buntdb/buntdb.go:707.38,708.40 1 1 +github.com/tidwall/buntdb/buntdb.go:711.6,711.33 1 1 +github.com/tidwall/buntdb/buntdb.go:708.40,710.7 1 1 +github.com/tidwall/buntdb/buntdb.go:715.23,717.22 2 1 +github.com/tidwall/buntdb/buntdb.go:720.5,720.32 1 1 +github.com/tidwall/buntdb/buntdb.go:717.22,719.6 1 1 +github.com/tidwall/buntdb/buntdb.go:722.55,724.5 1 1 +github.com/tidwall/buntdb/buntdb.go:725.44,727.5 1 1 +github.com/tidwall/buntdb/buntdb.go:733.22,734.12 1 1 +github.com/tidwall/buntdb/buntdb.go:736.25,738.4 1 0 +github.com/tidwall/buntdb/buntdb.go:741.47,743.59 1 1 +github.com/tidwall/buntdb/buntdb.go:746.4,746.23 1 1 +github.com/tidwall/buntdb/buntdb.go:743.59,745.5 1 1 +github.com/tidwall/buntdb/buntdb.go:746.23,747.42 1 1 +github.com/tidwall/buntdb/buntdb.go:750.5,751.19 2 1 +github.com/tidwall/buntdb/buntdb.go:754.5,762.7 2 1 +github.com/tidwall/buntdb/buntdb.go:747.42,749.6 1 1 +github.com/tidwall/buntdb/buntdb.go:751.19,753.6 1 1 +github.com/tidwall/buntdb/buntdb.go:763.5,765.5 1 1 +github.com/tidwall/buntdb/buntdb.go:766.4,768.47 1 1 +github.com/tidwall/buntdb/buntdb.go:768.47,770.23 1 1 +github.com/tidwall/buntdb/buntdb.go:773.4,773.49 1 1 +github.com/tidwall/buntdb/buntdb.go:770.23,772.5 1 1 +github.com/tidwall/buntdb/buntdb.go:774.4,776.4 1 1 +github.com/tidwall/buntdb/buntdb.go:779.16,781.3 1 0 +github.com/tidwall/buntdb/buntdb.go:788.73,791.16 3 1 +github.com/tidwall/buntdb/buntdb.go:794.2,794.15 1 1 +github.com/tidwall/buntdb/buntdb.go:808.2,809.15 2 1 +github.com/tidwall/buntdb/buntdb.go:812.2,813.8 2 1 +github.com/tidwall/buntdb/buntdb.go:791.16,793.3 1 1 +github.com/tidwall/buntdb/buntdb.go:794.15,795.17 1 1 +github.com/tidwall/buntdb/buntdb.go:800.3,800.15 1 1 +github.com/tidwall/buntdb/buntdb.go:795.17,799.4 2 1 +github.com/tidwall/buntdb/buntdb.go:800.15,803.4 1 1 +github.com/tidwall/buntdb/buntdb.go:803.4,806.4 1 1 +github.com/tidwall/buntdb/buntdb.go:809.15,811.3 1 1 +github.com/tidwall/buntdb/buntdb.go:822.49,824.2 1 1 +github.com/tidwall/buntdb/buntdb.go:834.51,836.2 1 1 +github.com/tidwall/buntdb/buntdb.go:839.39,841.17 2 1 +github.com/tidwall/buntdb/buntdb.go:844.2,844.12 1 1 +github.com/tidwall/buntdb/buntdb.go:841.17,843.3 1 1 +github.com/tidwall/buntdb/buntdb.go:868.49,874.15 3 1 +github.com/tidwall/buntdb/buntdb.go:878.2,878.14 1 1 +github.com/tidwall/buntdb/buntdb.go:884.2,884.16 1 1 +github.com/tidwall/buntdb/buntdb.go:874.15,877.3 2 1 +github.com/tidwall/buntdb/buntdb.go:878.14,880.17 2 1 +github.com/tidwall/buntdb/buntdb.go:880.17,882.4 1 1 +github.com/tidwall/buntdb/buntdb.go:888.22,889.17 1 1 +github.com/tidwall/buntdb/buntdb.go:889.17,891.3 1 1 +github.com/tidwall/buntdb/buntdb.go:891.3,893.3 1 1 +github.com/tidwall/buntdb/buntdb.go:897.24,898.17 1 1 +github.com/tidwall/buntdb/buntdb.go:898.17,900.3 1 1 +github.com/tidwall/buntdb/buntdb.go:900.3,902.3 1 1 +github.com/tidwall/buntdb/buntdb.go:907.31,908.38 1 1 +github.com/tidwall/buntdb/buntdb.go:908.38,910.18 2 1 +github.com/tidwall/buntdb/buntdb.go:910.18,914.4 1 1 +github.com/tidwall/buntdb/buntdb.go:921.30,922.14 1 1 +github.com/tidwall/buntdb/buntdb.go:925.2,925.18 1 1 +github.com/tidwall/buntdb/buntdb.go:930.2,931.42 2 1 +github.com/tidwall/buntdb/buntdb.go:954.2,957.12 3 1 +github.com/tidwall/buntdb/buntdb.go:922.14,923.41 1 1 +github.com/tidwall/buntdb/buntdb.go:925.18,927.3 1 1 +github.com/tidwall/buntdb/buntdb.go:927.3,927.25 1 1 +github.com/tidwall/buntdb/buntdb.go:927.25,929.3 1 1 +github.com/tidwall/buntdb/buntdb.go:931.42,933.37 1 1 +github.com/tidwall/buntdb/buntdb.go:943.3,943.43 1 1 +github.com/tidwall/buntdb/buntdb.go:946.3,946.40 1 1 +github.com/tidwall/buntdb/buntdb.go:950.3,950.18 1 1 +github.com/tidwall/buntdb/buntdb.go:933.37,934.19 1 1 +github.com/tidwall/buntdb/buntdb.go:934.19,936.5 1 1 +github.com/tidwall/buntdb/buntdb.go:936.5,938.5 1 1 +github.com/tidwall/buntdb/buntdb.go:943.43,945.4 1 1 +github.com/tidwall/buntdb/buntdb.go:946.40,948.4 1 0 +github.com/tidwall/buntdb/buntdb.go:964.32,965.14 1 1 +github.com/tidwall/buntdb/buntdb.go:968.2,968.18 1 1 +github.com/tidwall/buntdb/buntdb.go:972.2,972.17 1 1 +github.com/tidwall/buntdb/buntdb.go:976.2,979.12 3 1 +github.com/tidwall/buntdb/buntdb.go:965.14,966.43 1 1 +github.com/tidwall/buntdb/buntdb.go:968.18,970.3 1 1 +github.com/tidwall/buntdb/buntdb.go:972.17,974.3 1 1 +github.com/tidwall/buntdb/buntdb.go:993.49,997.2 3 1 +github.com/tidwall/buntdb/buntdb.go:1000.56,1002.29 2 1 +github.com/tidwall/buntdb/buntdb.go:1002.29,1006.3 3 1 +github.com/tidwall/buntdb/buntdb.go:1010.49,1011.36 1 1 +github.com/tidwall/buntdb/buntdb.go:1011.36,1017.3 2 1 +github.com/tidwall/buntdb/buntdb.go:1017.3,1019.3 1 1 +github.com/tidwall/buntdb/buntdb.go:1023.52,1025.2 1 1 +github.com/tidwall/buntdb/buntdb.go:1029.35,1031.2 1 1 +github.com/tidwall/buntdb/buntdb.go:1040.42,1041.37 1 1 +github.com/tidwall/buntdb/buntdb.go:1044.2,1044.22 1 1 +github.com/tidwall/buntdb/buntdb.go:1041.37,1043.3 1 1 +github.com/tidwall/buntdb/buntdb.go:1052.64,1054.27 2 1 +github.com/tidwall/buntdb/buntdb.go:1075.2,1075.27 1 1 +github.com/tidwall/buntdb/buntdb.go:1055.2,1057.46 1 1 +github.com/tidwall/buntdb/buntdb.go:1060.3,1060.46 1 1 +github.com/tidwall/buntdb/buntdb.go:1063.2,1064.22 1 1 +github.com/tidwall/buntdb/buntdb.go:1057.46,1059.4 1 1 +github.com/tidwall/buntdb/buntdb.go:1060.46,1062.4 1 1 +github.com/tidwall/buntdb/buntdb.go:1064.22,1066.35 1 1 +github.com/tidwall/buntdb/buntdb.go:1069.4,1069.35 1 1 +github.com/tidwall/buntdb/buntdb.go:1066.35,1068.5 1 1 +github.com/tidwall/buntdb/buntdb.go:1069.35,1071.5 1 1 +github.com/tidwall/buntdb/buntdb.go:1080.63,1081.27 1 1 +github.com/tidwall/buntdb/buntdb.go:1085.2,1085.17 1 1 +github.com/tidwall/buntdb/buntdb.go:1082.2,1083.27 1 1 +github.com/tidwall/buntdb/buntdb.go:1107.28,1108.18 1 1 +github.com/tidwall/buntdb/buntdb.go:1113.2,1114.17 2 1 +github.com/tidwall/buntdb/buntdb.go:1122.2,1123.17 2 1 +github.com/tidwall/buntdb/buntdb.go:1142.2,1142.19 1 1 +github.com/tidwall/buntdb/buntdb.go:1145.2,1145.37 1 1 +github.com/tidwall/buntdb/buntdb.go:1108.18,1110.3 1 1 +github.com/tidwall/buntdb/buntdb.go:1110.3,1110.25 1 1 +github.com/tidwall/buntdb/buntdb.go:1110.25,1112.3 1 1 +github.com/tidwall/buntdb/buntdb.go:1114.17,1115.19 1 1 +github.com/tidwall/buntdb/buntdb.go:1115.19,1119.4 1 1 +github.com/tidwall/buntdb/buntdb.go:1123.17,1129.3 1 1 +github.com/tidwall/buntdb/buntdb.go:1129.3,1133.38 1 1 +github.com/tidwall/buntdb/buntdb.go:1136.3,1136.22 1 1 +github.com/tidwall/buntdb/buntdb.go:1133.38,1135.4 1 1 +github.com/tidwall/buntdb/buntdb.go:1136.22,1138.4 1 1 +github.com/tidwall/buntdb/buntdb.go:1142.19,1144.3 1 1 +github.com/tidwall/buntdb/buntdb.go:1150.55,1151.18 1 1 +github.com/tidwall/buntdb/buntdb.go:1154.2,1155.17 2 1 +github.com/tidwall/buntdb/buntdb.go:1158.2,1158.20 1 1 +github.com/tidwall/buntdb/buntdb.go:1163.2,1163.22 1 1 +github.com/tidwall/buntdb/buntdb.go:1151.18,1153.3 1 1 +github.com/tidwall/buntdb/buntdb.go:1155.17,1157.3 1 1 +github.com/tidwall/buntdb/buntdb.go:1158.20,1162.3 1 1 +github.com/tidwall/buntdb/buntdb.go:1170.58,1171.18 1 1 +github.com/tidwall/buntdb/buntdb.go:1176.2,1177.17 2 1 +github.com/tidwall/buntdb/buntdb.go:1180.2,1180.37 1 1 +github.com/tidwall/buntdb/buntdb.go:1183.2,1183.19 1 1 +github.com/tidwall/buntdb/buntdb.go:1188.2,1188.20 1 1 +github.com/tidwall/buntdb/buntdb.go:1193.2,1193.22 1 1 +github.com/tidwall/buntdb/buntdb.go:1171.18,1173.3 1 1 +github.com/tidwall/buntdb/buntdb.go:1173.3,1173.25 1 1 +github.com/tidwall/buntdb/buntdb.go:1173.25,1175.3 1 1 +github.com/tidwall/buntdb/buntdb.go:1177.17,1179.3 1 1 +github.com/tidwall/buntdb/buntdb.go:1180.37,1182.3 1 1 +github.com/tidwall/buntdb/buntdb.go:1183.19,1185.3 1 1 +github.com/tidwall/buntdb/buntdb.go:1188.20,1192.3 1 1 +github.com/tidwall/buntdb/buntdb.go:1199.54,1200.18 1 1 +github.com/tidwall/buntdb/buntdb.go:1203.2,1204.17 2 1 +github.com/tidwall/buntdb/buntdb.go:1209.2,1210.13 2 1 +github.com/tidwall/buntdb/buntdb.go:1213.2,1213.17 1 1 +github.com/tidwall/buntdb/buntdb.go:1200.18,1202.3 1 0 +github.com/tidwall/buntdb/buntdb.go:1204.17,1206.3 1 0 +github.com/tidwall/buntdb/buntdb.go:1206.3,1206.46 1 1 +github.com/tidwall/buntdb/buntdb.go:1206.46,1208.3 1 1 +github.com/tidwall/buntdb/buntdb.go:1210.13,1212.3 1 0 +github.com/tidwall/buntdb/buntdb.go:1228.9,1229.18 1 1 +github.com/tidwall/buntdb/buntdb.go:1233.2,1233.37 1 1 +github.com/tidwall/buntdb/buntdb.go:1237.2,1238.17 2 1 +github.com/tidwall/buntdb/buntdb.go:1253.2,1254.14 2 1 +github.com/tidwall/buntdb/buntdb.go:1264.2,1264.10 1 1 +github.com/tidwall/buntdb/buntdb.go:1289.2,1289.12 1 1 +github.com/tidwall/buntdb/buntdb.go:1229.18,1231.3 1 1 +github.com/tidwall/buntdb/buntdb.go:1233.37,1236.3 2 1 +github.com/tidwall/buntdb/buntdb.go:1238.17,1241.3 1 1 +github.com/tidwall/buntdb/buntdb.go:1241.3,1243.17 2 1 +github.com/tidwall/buntdb/buntdb.go:1247.3,1248.16 2 1 +github.com/tidwall/buntdb/buntdb.go:1243.17,1246.4 1 1 +github.com/tidwall/buntdb/buntdb.go:1248.16,1250.4 1 1 +github.com/tidwall/buntdb/buntdb.go:1254.14,1255.18 1 1 +github.com/tidwall/buntdb/buntdb.go:1255.18,1258.4 2 1 +github.com/tidwall/buntdb/buntdb.go:1258.4,1261.4 2 1 +github.com/tidwall/buntdb/buntdb.go:1264.10,1265.9 1 1 +github.com/tidwall/buntdb/buntdb.go:1265.9,1266.10 1 1 +github.com/tidwall/buntdb/buntdb.go:1266.10,1268.5 1 1 +github.com/tidwall/buntdb/buntdb.go:1268.5,1270.5 1 1 +github.com/tidwall/buntdb/buntdb.go:1271.4,1271.16 1 1 +github.com/tidwall/buntdb/buntdb.go:1271.16,1273.4 1 1 +github.com/tidwall/buntdb/buntdb.go:1273.4,1275.4 1 1 +github.com/tidwall/buntdb/buntdb.go:1276.3,1277.9 1 1 +github.com/tidwall/buntdb/buntdb.go:1277.9,1278.10 1 1 +github.com/tidwall/buntdb/buntdb.go:1278.10,1280.5 1 1 +github.com/tidwall/buntdb/buntdb.go:1280.5,1282.5 1 1 +github.com/tidwall/buntdb/buntdb.go:1283.4,1283.16 1 1 +github.com/tidwall/buntdb/buntdb.go:1283.16,1285.4 1 1 +github.com/tidwall/buntdb/buntdb.go:1285.4,1287.4 1 1 +github.com/tidwall/buntdb/buntdb.go:1298.61,1300.2 1 1 +github.com/tidwall/buntdb/buntdb.go:1310.9,1312.2 1 1 +github.com/tidwall/buntdb/buntdb.go:1320.76,1322.2 1 1 +github.com/tidwall/buntdb/buntdb.go:1331.27,1335.2 1 1 +github.com/tidwall/buntdb/buntdb.go:1343.62,1345.2 1 1 +github.com/tidwall/buntdb/buntdb.go:1353.80,1355.2 1 1 +github.com/tidwall/buntdb/buntdb.go:1363.80,1365.2 1 1 +github.com/tidwall/buntdb/buntdb.go:1374.27,1378.2 1 1 +github.com/tidwall/buntdb/buntdb.go:1385.59,1387.2 1 1 +github.com/tidwall/buntdb/buntdb.go:1394.73,1395.18 1 1 +github.com/tidwall/buntdb/buntdb.go:1398.2,1398.17 1 1 +github.com/tidwall/buntdb/buntdb.go:1403.2,1403.37 1 1 +github.com/tidwall/buntdb/buntdb.go:1407.2,1408.16 2 1 +github.com/tidwall/buntdb/buntdb.go:1412.2,1412.20 1 1 +github.com/tidwall/buntdb/buntdb.go:1417.2,1418.21 2 1 +github.com/tidwall/buntdb/buntdb.go:1421.2,1422.12 2 1 +github.com/tidwall/buntdb/buntdb.go:1395.18,1397.3 1 1 +github.com/tidwall/buntdb/buntdb.go:1398.17,1401.3 1 1 +github.com/tidwall/buntdb/buntdb.go:1403.37,1406.3 2 1 +github.com/tidwall/buntdb/buntdb.go:1408.16,1411.3 1 1 +github.com/tidwall/buntdb/buntdb.go:1412.20,1415.3 1 1 +github.com/tidwall/buntdb/buntdb.go:1418.21,1420.3 1 1 +github.com/tidwall/buntdb/buntdb.go:1426.34,1427.18 1 1 +github.com/tidwall/buntdb/buntdb.go:1430.2,1430.30 1 1 +github.com/tidwall/buntdb/buntdb.go:1427.18,1429.3 1 1 +github.com/tidwall/buntdb/buntdb.go:1436.38,1437.30 1 1 +github.com/tidwall/buntdb/buntdb.go:1440.2,1441.11 2 1 +github.com/tidwall/buntdb/buntdb.go:1449.2,1451.24 3 1 +github.com/tidwall/buntdb/buntdb.go:1457.2,1457.10 1 1 +github.com/tidwall/buntdb/buntdb.go:1466.2,1467.19 2 1 +github.com/tidwall/buntdb/buntdb.go:1437.30,1439.3 1 1 +github.com/tidwall/buntdb/buntdb.go:1441.11,1442.33 1 1 +github.com/tidwall/buntdb/buntdb.go:1442.33,1443.24 1 1 +github.com/tidwall/buntdb/buntdb.go:1443.24,1445.10 2 1 +github.com/tidwall/buntdb/buntdb.go:1451.24,1452.12 1 1 +github.com/tidwall/buntdb/buntdb.go:1455.3,1455.60 1 1 +github.com/tidwall/buntdb/buntdb.go:1452.12,1454.4 1 1 +github.com/tidwall/buntdb/buntdb.go:1457.10,1459.25 2 1 +github.com/tidwall/buntdb/buntdb.go:1459.25,1460.13 1 1 +github.com/tidwall/buntdb/buntdb.go:1463.4,1463.61 1 1 +github.com/tidwall/buntdb/buntdb.go:1460.13,1462.5 1 1 +github.com/tidwall/buntdb/buntdb.go:1472.38,1474.2 1 1 +github.com/tidwall/buntdb/buntdb.go:1479.47,1481.43 2 1 +github.com/tidwall/buntdb/buntdb.go:1503.2,1503.21 1 1 +github.com/tidwall/buntdb/buntdb.go:1506.2,1506.8 1 1 +github.com/tidwall/buntdb/buntdb.go:1481.43,1483.67 2 1 +github.com/tidwall/buntdb/buntdb.go:1483.67,1485.14 2 1 +github.com/tidwall/buntdb/buntdb.go:1490.4,1490.37 1 1 +github.com/tidwall/buntdb/buntdb.go:1485.14,1487.5 1 1 +github.com/tidwall/buntdb/buntdb.go:1487.5,1489.5 1 1 +github.com/tidwall/buntdb/buntdb.go:1490.37,1492.20 2 1 +github.com/tidwall/buntdb/buntdb.go:1492.20,1494.16 2 1 +github.com/tidwall/buntdb/buntdb.go:1494.16,1496.7 1 1 +github.com/tidwall/buntdb/buntdb.go:1496.7,1498.7 1 1 +github.com/tidwall/buntdb/buntdb.go:1503.21,1505.3 1 1 +github.com/tidwall/buntdb/buntdb.go:1512.36,1513.44 1 1 +github.com/tidwall/buntdb/buntdb.go:1546.2,1546.24 1 1 +github.com/tidwall/buntdb/buntdb.go:1513.44,1514.33 1 1 +github.com/tidwall/buntdb/buntdb.go:1514.33,1515.34 1 1 +github.com/tidwall/buntdb/buntdb.go:1515.34,1517.20 1 1 +github.com/tidwall/buntdb/buntdb.go:1517.20,1519.6 1 1 +github.com/tidwall/buntdb/buntdb.go:1519.6,1519.27 1 1 +github.com/tidwall/buntdb/buntdb.go:1519.27,1521.6 1 1 +github.com/tidwall/buntdb/buntdb.go:1522.5,1524.23 1 1 +github.com/tidwall/buntdb/buntdb.go:1524.23,1526.6 1 1 +github.com/tidwall/buntdb/buntdb.go:1526.6,1526.30 1 1 +github.com/tidwall/buntdb/buntdb.go:1526.30,1528.6 1 1 +github.com/tidwall/buntdb/buntdb.go:1530.4,1530.40 1 1 +github.com/tidwall/buntdb/buntdb.go:1530.40,1532.22 1 1 +github.com/tidwall/buntdb/buntdb.go:1532.22,1534.5 1 1 +github.com/tidwall/buntdb/buntdb.go:1534.5,1534.29 1 1 +github.com/tidwall/buntdb/buntdb.go:1534.29,1536.5 1 0 +github.com/tidwall/buntdb/buntdb.go:1537.4,1539.19 1 1 +github.com/tidwall/buntdb/buntdb.go:1539.19,1541.5 1 1 +github.com/tidwall/buntdb/buntdb.go:1541.5,1541.26 1 1 +github.com/tidwall/buntdb/buntdb.go:1541.26,1543.5 1 1 +github.com/tidwall/buntdb/buntdb.go:1551.36,1553.2 1 1 +github.com/tidwall/buntdb/buntdb.go:1556.33,1560.2 3 1 +github.com/tidwall/buntdb/buntdb.go:1565.34,1569.2 3 1 +github.com/tidwall/buntdb/buntdb.go:1574.35,1578.2 3 1 +github.com/tidwall/buntdb/buntdb.go:1583.52,1584.32 1 1 +github.com/tidwall/buntdb/buntdb.go:1584.32,1586.3 1 1 +github.com/tidwall/buntdb/buntdb.go:1593.65,1594.32 1 1 +github.com/tidwall/buntdb/buntdb.go:1594.32,1596.3 1 1