Home
last modified time | relevance | path

Searched defs:byte (Results 1 – 25 of 232) sorted by relevance

12345678910

/5.5.2/goproj/src/github.com/couchbase/indexing/secondary/collatejson/
Dcodec.go82 func encodePosInt(text []byte, code []byte) []byte {
102 func encodeNegInt(text []byte, code []byte) []byte {
216 func EncodeFloat(text, code []byte) []byte {
326 func EncodeSD(text, code []byte) []byte {
355 func DecodeSD(code, text []byte) []byte {
399 func EncodeLD(text, code []byte) []byte {
444 func DecodeLD(code, text []byte) []byte {
483 func prefixSign(code []byte) byte {
495 func joinBytes(args ...[]byte) []byte {
499 func suffixEncodeString(s []byte, code []byte) []byte {
[all …]
Darray.go11 func (codec *Codec) ExplodeArray(code []byte, tmp []byte) ([][]byte, error) {
44 func (codec *Codec) ExplodeArray2(code []byte, tmp, decbuf []byte, cktmp, dktmp [][]byte,
97 func (codec *Codec) ExplodeArray3(code []byte, tmp []byte, cktmp [][]byte,
146 func (codec *Codec) JoinArray(vals [][]byte, code []byte) ([]byte, error) {
Ddesc.go8 func (codec *Codec) ReverseCollate(code []byte, desc []bool) []byte {
20 func flipBits(code []byte) {
32 func getEncodedDatum(code []byte) (datum []byte, remaining []byte) {
43 func getEncodedString(code []byte) ([]byte, []byte, error) {
64 func (codec *Codec) extractEncodedField(code []byte, fieldPos int) ([]byte, []byte, error) {
Dstring.go21 func encodeString(s []byte, text []byte) ([]byte, error) {
/5.5.2/goproj/src/github.com/couchbase/query/algebra/unmarshal/
Dupdate.go25 func UnmarshalSetTerm(body []byte) (*algebra.SetTerm, error) {
67 func UnmarshalSetTerms(body []byte) (algebra.SetTerms, error) {
114 func UnmarshalUnsetTerm(body []byte) (*algebra.UnsetTerm, error) {
150 func UnmarshalUnsetTerms(body []byte) (algebra.UnsetTerms, error) {
191 func UnmarshalUpdateFor(body []byte) (*algebra.UpdateFor, error) {
/5.5.2/goproj/src/github.com/couchbase/indexing/secondary/common/json/
Dscanner.go191 func isSpace(c byte) bool {
414 func state1(s *scanner, c byte) int {
423 func state0(s *scanner, c byte) int {
460 func stateE(s *scanner, c byte) int {
481 func stateE0(s *scanner, c byte) int {
489 func stateT(s *scanner, c byte) int {
498 func stateTr(s *scanner, c byte) int {
516 func stateF(s *scanner, c byte) int {
525 func stateFa(s *scanner, c byte) int {
552 func stateN(s *scanner, c byte) int {
[all …]
Dfold.go33 func foldFunc(s []byte) func(s, t []byte) bool {
61 func equalFoldRight(s, t []byte) bool {
109 func asciiEqualFold(s, t []byte) bool {
133 func simpleLetterEqualFold(s, t []byte) bool {
/5.5.2/godeps/src/github.com/couchbase/go_json/
Dscanner.go39 func Validate(data []byte) error {
328 func newScanner(data []byte) *scanner {
370 func isSpace(c byte) bool {
625 func state1(s *scanner, c byte) int {
634 func state0(s *scanner, c byte) int {
671 func stateE(s *scanner, c byte) int {
692 func stateE0(s *scanner, c byte) int {
700 func stateT(s *scanner, c byte) int {
727 func stateF(s *scanner, c byte) int {
763 func stateN(s *scanner, c byte) int {
[all …]
Dfold.go33 func foldFunc(s []byte) func(s, t []byte) bool {
61 func equalFoldRight(s, t []byte) bool {
109 func asciiEqualFold(s, t []byte) bool {
133 func simpleLetterEqualFold(s, t []byte) bool {
Dbytes.go104 func grokLiteral(b []byte) string {
115 func FindDecode(data []byte, path string, into interface{}) error {
124 func Find(data []byte, path string) ([]byte, error) {
193 func FirstFind(data []byte, field string) ([]byte, error) {
245 func NewFindState(data []byte) *FindState {
338 func ListPointers(data []byte) ([]string, error) {
384 func FindMany(data []byte, paths []string) (map[string][]byte, error) {
/5.5.2/goproj/src/github.com/couchbase/indexing/secondary/transport/
Dutil.go7 func Send(conn transporter, buf []byte, flags TransportFlag, payload []byte, addChksm bool) (err er…
37 func connWrite(conn transporter, buf []byte) error {
57 func Receive(conn transporter, buf []byte) (flags TransportFlag, payload []byte, err error) {
107 func safeBufSlice(b []byte, l int) []byte {
116 func computeChecksum(pktLen []byte) byte {
/5.5.2/goproj/src/github.com/couchbase/indexing/secondary/indexer/
Dindex_entry.go58 ReadDocId([]byte) ([]byte, error)
59 ReadSecKey([]byte) ([]byte, error)
121 func NewSecondaryIndexEntry(key []byte, docid []byte, isArray bool, count int,
126 func NewSecondaryIndexEntry2(key []byte, docid []byte, isArray bool,
362 func NewSecondaryKey(key []byte, buf []byte) (IndexKey, error) {
463 func isNilJsonKey(k []byte) bool {
475 func isDocIdLarge(k []byte) bool {
479 func IndexEntrySize(key []byte, docid []byte) int {
484 func GetIndexEntryBytes3(key []byte, docid []byte, isPrimary bool, isArray bool,
499 func GetIndexEntryBytes2(key []byte, docid []byte, isPrimary bool, isArray bool,
[all …]
Darray.go30 func splitSecondaryArrayKey(key []byte, arrayPos int, tmpBuf []byte) ([][][]byte, error) {
74 func ArrayIndexItems(bs []byte, arrPos int, buf []byte,
135 func CompareArrayEntriesWithCount(newKey, oldKey [][]byte, newKeyCount, oldKeyCount []int) ([][]byt…
/5.5.2/goproj/src/github.com/couchbase/query/expression/unmarshal/
Dbinding.go19 func UnmarshalBinding(body []byte) (*expression.Binding, error) {
40 func UnmarshalBindings(body []byte) (expression.Bindings, error) {
66 func UnmarshalDimensions(body []byte) ([]expression.Bindings, error) {
/5.5.2/godeps/src/gopkg.in/couchbase/gocbcore.v7/vendor/github.com/golang/snappy/
Dencode_other.go9 func load32(b []byte, i int) uint32 {
14 func load64(b []byte, i int) uint64 {
25 func emitLiteral(dst, lit []byte) int {
50 func emitCopy(dst []byte, offset, length int) int {
95 func extendMatch(src []byte, i, j int) int {
112 func encodeBlock(dst, src []byte) (d int) {
Dencode_amd64.go14 func emitLiteral(dst, lit []byte) int
19 func emitCopy(dst []byte, offset, length int) int
24 func extendMatch(src []byte, i, j int) int
29 func encodeBlock(dst, src []byte) (d int)
/5.5.2/goproj/src/github.com/couchbase/indexing/secondary/fdb/
Dkv.go22 func (k *KVStore) GetKV(key []byte) ([]byte, error) {
48 func (k *KVStore) SetKV(key, value []byte) error {
75 func (k *KVStore) DeleteKV(key []byte) error {
/5.5.2/godeps/src/github.com/couchbase/goforestdb/
Dkv.go21 func (k *KVStore) GetKV(key []byte) ([]byte, error) {
45 func (k *KVStore) SetKV(key, value []byte) error {
70 func (k *KVStore) DeleteKV(key []byte) error {
/5.5.2/goproj/src/github.com/couchbase/gometa/message/
Dprotocol.go36 func (req *Proposal) Decode(data []byte) (err error) {
62 func (req *Accept) Decode(data []byte) (err error) {
85 func (req *Commit) Decode(data []byte) (err error) {
107 func (req *Abort) Decode(data []byte) (err error) {
131 func (req *Response) Decode(data []byte) (err error) {
156 func (req *Vote) Decode(data []byte) (err error) {
184 func (req *LogEntry) Decode(data []byte) (err error) {
231 func (req *EpochAck) Decode(data []byte) (err error) {
254 func (req *LeaderInfo) Decode(data []byte) (err error) {
276 func (req *NewLeader) Decode(data []byte) (err error) {
[all …]
/5.5.2/ns_server/deps/gocode/src/gosecrets/
H A Dgosecrets.go89 func doReply(data []byte) {
97 func replySuccessWithData(data []byte) {
109 func encodeKey(key []byte) []byte {
116 func combineDataKeys(key1, key2 []byte) []byte {
171 func readField(b []byte) ([]byte, []byte) {
298 func generateLockKey(password []byte) []byte {
302 func encrypt(key []byte, data []byte) []byte {
307 func decrypt(key []byte, data []byte) ([]byte, error) {
317 func aesgcmEncrypt(key []byte, data []byte) []byte {
334 func aesgcmDecrypt(key []byte, data []byte) ([]byte, error) {
/5.5.2/godeps/src/gopkg.in/couchbase/gocbcore.v7/
Dagentops_deprecated.go9 func (agent *Agent) Get(key []byte, cb GetCallback) (PendingOp, error) {
192 func (agent *Agent) Append(key, value []byte, cb StoreCallback) (PendingOp, error) {
407 func (agent *Agent) GetMeta(key []byte, cb GetMetaCallback) (PendingOp, error) {
514 func (agent *Agent) SetIn(key []byte, path string, value []byte, flags SubdocFlag, cas Cas, expiry …
536 func (agent *Agent) AddIn(key []byte, path string, value []byte, flags SubdocFlag, cas Cas, expiry …
558 func (agent *Agent) ReplaceIn(key []byte, path string, value []byte, cas Cas, expiry uint32, flags …
578 func (agent *Agent) PushFrontIn(key []byte, path string, value []byte, flags SubdocFlag, cas Cas, e…
598 func (agent *Agent) PushBackIn(key []byte, path string, value []byte, flags SubdocFlag, cas Cas, ex…
618 func (agent *Agent) ArrayInsertIn(key []byte, path string, value []byte, cas Cas, expiry uint32, fl…
638 func (agent *Agent) AddUniqueIn(key []byte, path string, value []byte, flags SubdocFlag, cas Cas, e…
[all …]
/5.5.2/goproj/src/github.com/couchbase/nitro/
Ditem.go33 func (m *Nitro) newItem(data []byte, useMM bool) (itm *Item) {
62 func (m *Nitro) EncodeItem(itm *Item, buf []byte, w io.Writer) (
86 func (m *Nitro) DecodeItem(ver int, buf []byte, r io.Reader) (*Item, uint32, error) {
137 func KVToBytes(k, v []byte) []byte {
148 func KVFromBytes(bs []byte) (k, v []byte) {
154 func CompareKV(a []byte, b []byte) int {
/5.5.2/goproj/src/github.com/couchbase/indexing/secondary/protobuf/projector/
Dn1ql_evaluate.go31 docid []byte, docval qvalue.AnnotatedValue, context qexpr.Context,
33 encodeBuf []byte) ([]byte, []byte, error) {
132 func CollateJSONEncode(val qvalue.Value, encodeBuf []byte) ([]byte, []byte, error) {
/5.5.2/godeps/src/github.com/couchbase/vellum/
Dcommon.go19 func encodeCommon(in byte) byte {
27 func decodeCommon(in byte) byte {
/5.5.2/goproj/src/github.com/couchbase/cbgt/
Ddest.go34 DataUpdate(partition string, key []byte, seq uint64, val []byte,
36 extrasType DestExtrasType, extras []byte) error
41 DataDelete(partition string, key []byte, seq uint64,
43 extrasType DestExtrasType, extras []byte) error
69 OpaqueSet(partition string, value []byte) error
96 Query(pindex *PIndex, req []byte, w io.Writer,
110 DataUpdateEx(partition string, key []byte, seq uint64, val []byte,
118 DataDeleteEx(partition string, key []byte, seq uint64,
196 func BasicPartitionFunc(partition string, key []byte,

12345678910