Home
last modified time | relevance | path

Searched refs:data (Results 1 - 25 of 859) sorted by relevance

12345678910>>...35

/5.5.2/godeps/src/github.com/blevesearch/segment/
H A Dsegment_words_prod.go46 func segmentWords(data []byte, maxTokens int, atEOF bool, val [][]byte, types []int) ([][]byte, []int, int, error) {
47 cs, p, pe := 0, 0, len(data)
10777 _, size := utf8.DecodeRune(data[lastPos:])
10785 } else if dr, size := utf8.DecodeRune(data[endPos+1:]); dr == utf8.RuneError && size == 1 {
10789 val = append(val, data[startPos:endPos+1])
10807 val = append(val, data[startPos:endPos+1])
10819 } else if dr, size := utf8.DecodeRune(data[endPos+1:]); dr == utf8.RuneError && size == 1 {
10823 val = append(val, data[startPos:endPos+1])
10835 } else if dr, size := utf8.DecodeRune(data[endPos+1:]); dr == utf8.RuneError && size == 1 {
10839 val = append(val, data[startPo
[all...]
/5.5.2/testrunner/pysystests/
H A Dsdkserver.rb11 def receive_data(data)
12 data = parse_data(data)
13 if $client_map.has_key?(data["bucket"]) == false
14 url = "http://"+data["cb_ip"]+":"+data["cb_port"]+"/pools/default/"
17 $client_map[data["bucket"]] = new_client
20 res = exec_request(data)
26 def parse_data(data)
28 data
[all...]
H A Dsdkserver.py92 data = json.loads(c)
93 self.client_from_req(data)
94 res = self.exec_request(data)
103 def exec_request(self, data):
104 if data['command'] == 'set':
105 return self.do_set(data)
107 if data['command'] == 'setq':
108 return self.do_setq(data)
110 if data['command'] == 'mset':
111 return self.do_mset(data)
[all...]
/5.5.2/ns_server/priv/public/ui/app/mn_admin/mn_security/mn_audit/
H A Dmn_audit_service.js36 return resp.data;
44 return _.clone(resp.data);
47 function saveAuditSettings(data, validateOnly) {
56 data: pack(data)
58 if (resp.data.errors && resp.data.errors.disabledUsers) {
59 resp.data.errors.disabledUsers =
60 resp.data.errors.disabledUsers.replace(/\/local/gi,"/couchbase");
74 function pack(data) {
[all...]
/5.5.2/ns_server/priv/public/ui/app/mn_admin/mn_security/mn_ldap/
H A Dmn_ldap_service.js17 function unpack(data, key) {
18 if (data[key] === "asterisk") {
19 data["default"] = key;
20 delete data[key];
22 data[key] = data[key].join('\n');
26 function pack(data, key) {
27 if (data["default"] === key) {
28 delete data[key];
30 data[ke
[all...]
/5.5.2/kv_engine/cbcrypto/
H A Dcbcrypto.cc43 cb::const_char_buffer data, in hash()
102 (PUCHAR)key.data(), in hash()
111 status = BCryptHashData(hHash, (PBYTE)data.data(), ULONG(data.size()), 0); in hash()
121 reinterpret_cast<uint8_t*>(const_cast<char*>(ret.data())), in hash()
138 cb::const_char_buffer data) { in HMAC_MD5()
139 return hash(key, data, BCRYPT_MD5_ALGORITHM, BCRYPT_ALG_HANDLE_HMAC_FLAG); in HMAC_MD5()
143 cb::const_char_buffer data) { in HMAC_SHA1()
144 return hash(key, data, BCRYPT_SHA1_ALGORITH in HMAC_SHA1()
42 hash(cb::const_char_buffer key, cb::const_char_buffer data, LPCWSTR algorithm, int flags) hash() argument
137 HMAC_MD5(cb::const_char_buffer key, cb::const_char_buffer data) HMAC_MD5() argument
142 HMAC_SHA1(cb::const_char_buffer key, cb::const_char_buffer data) HMAC_SHA1() argument
147 HMAC_SHA256(cb::const_char_buffer key, cb::const_char_buffer data) HMAC_SHA256() argument
153 HMAC_SHA512(cb::const_char_buffer key, cb::const_char_buffer data) HMAC_SHA512() argument
234 digest_md5(cb::const_char_buffer data) digest_md5() argument
238 digest_sha1(cb::const_char_buffer data) digest_sha1() argument
242 digest_sha256(cb::const_char_buffer data) digest_sha256() argument
246 digest_sha512(cb::const_char_buffer data) digest_sha512() argument
250 AES_256_cbc(bool encrypt, cb::const_char_buffer key, cb::const_char_buffer iv, cb::const_char_buffer data) AES_256_cbc() argument
361 encrypt(const cb::crypto::Cipher cipher, cb::const_char_buffer key, cb::const_char_buffer iv, cb::const_char_buffer data) encrypt() argument
368 decrypt(const cb::crypto::Cipher cipher, cb::const_char_buffer key, cb::const_char_buffer iv, cb::const_char_buffer data) decrypt() argument
997 HMAC(const Algorithm algorithm, cb::const_char_buffer key, cb::const_char_buffer data) HMAC() argument
1071 digest(const Algorithm algorithm, cb::const_char_buffer data) digest() argument
1125 encrypt(const Cipher cipher, cb::const_char_buffer key, cb::const_char_buffer iv, cb::const_char_buffer data) encrypt() argument
1152 encrypt(gsl::not_null<const cJSON*> json, cb::const_char_buffer data) encrypt() argument
1163 decrypt(const Cipher cipher, cb::const_char_buffer key, cb::const_char_buffer iv, cb::const_char_buffer data) decrypt() argument
1190 decrypt(gsl::not_null<const cJSON*> json, cb::const_char_buffer data) decrypt() argument
[all...]
H A Dcbcrypto_test.cc33 memcpy(ret.data(), str.data(), ret.size()); in string2vector()
58 std::string data("Hi There"); in TEST()
78 {reinterpret_cast<const char*>(key.data()), key.size()}, in TEST()
79 data); in TEST()
86 std::string data("what do ya want for nothing?"); in TEST()
105 auto new_digest = crypto::HMAC(crypto::Algorithm::MD5, key, data); in TEST()
127 std::vector<uint8_t> data{ in TEST()
153 {reinterpret_cast<const char*>(key.data()), key.size()}, in TEST()
154 {reinterpret_cast<const char*>(data in TEST()
534 std::string data; TEST() local
542 std::string data; TEST() local
551 std::string data; TEST() local
562 std::string data; TEST() local
[all...]
/5.5.2/kv_engine/tests/mcbp/
H A Dxattr_key_validator_test.cc38 EXPECT_TRUE(is_valid_xattr_key({key.data(), key.size()})); in TEST()
48 EXPECT_FALSE(is_valid_xattr_key({key.data(), ii})); in TEST()
50 EXPECT_TRUE(is_valid_xattr_key({key.data(), ii})); in TEST()
63 const_cast<char*>(copy.data())[ii - 1] = '.'; in TEST()
65 EXPECT_FALSE(is_valid_xattr_key({copy.data(), copy.size()})) in TEST()
68 EXPECT_TRUE(is_valid_xattr_key({copy.data(), copy.size()})) in TEST()
79 EXPECT_TRUE(is_valid_xattr_key({key.data(), key.size()})); in TEST()
84 EXPECT_TRUE(is_valid_xattr_key({key.data(), key.size()})); in TEST()
94 EXPECT_TRUE(is_valid_xattr_key({key.data(), key.size()})); in TEST()
97 EXPECT_FALSE(is_valid_xattr_key({key.data(), ke in TEST()
161 std::vector<char> data; testInvalidUtf() local
[all...]
/5.5.2/godeps/src/github.com/couchbase/gocb/
H A Dsearchquery.go48 data searchQueryData
53 sq.data.Size = value
59 sq.data.From = value
65 sq.data.Explain = value
71 if sq.data.Highlight == nil {
72 sq.data.Highlight = &searchQueryHighlightData{}
74 sq.data.Highlight.Style = string(style)
75 sq.data.Highlight.Fields = fields
81 sq.data.Fields = fields
87 sq.data
[all...]
/5.5.2/goproj/src/github.com/couchbase/cbgt/rest/static/js/
H A Dindex.js20 $scope.data = null;
28 var data = response.data;
30 $scope.data = data;
33 if (data.indexDefs) {
34 $scope.indexDefs = data.indexDefs.indexDefs;
35 for (var indexName in data.indexDefs.indexDefs) {
38 var indexDef = data.indexDefs.indexDefs[indexName];
50 var data
[all...]
/5.5.2/kv_engine/engines/ep/tests/module_tests/
H A Dtagged_ptr_test.cc31 uint32_t data = 123; in TEST() local
32 TaggedPtr<uint32_t> taggedPtr(&data); in TEST()
33 ASSERT_EQ(&data, taggedPtr.get()); in TEST()
38 uint32_t data = 123; in TEST() local
39 TaggedPtr<uint32_t> taggedPtr(&data, 456); in TEST()
40 EXPECT_EQ(&data, taggedPtr.get()); in TEST()
46 uint32_t data = 0; in TEST() local
47 TaggedPtr<uint32_t> taggedPtr(&data); in TEST()
48 EXPECT_TRUE(taggedPtr.get() == &data); in TEST()
53 uint32_t data in TEST() local
61 uint32_t data = 123; TEST() local
86 uint32_t data; TEST() member in TestObject
98 uint32_t data = 0; TEST() local
114 uint32_t data = 123; TEST() local
130 uint32_t data = 0; TEST() local
153 uint32_t data; TEST() member in TestObject
183 uint32_t data; TEST() member in TestObject
[all...]
/5.5.2/goproj/src/github.com/couchbase/query/sort/
H A Dsort.go22 func insertionSort(data sort.Interface, a, b int) {
24 for j := i; j > a && data.Less(j, j-1); j-- {
25 data.Swap(j, j-1)
30 // siftDown implements the heap property on data[lo, hi).
32 func siftDown(data sort.Interface, lo, hi, first int) {
39 if child+1 < hi && data.Less(first+child, first+child+1) {
42 if !data.Less(first+root, first+child) {
45 data.Swap(first+root, first+child)
50 func heapSort(data sort.Interface, a, b int) {
57 siftDown(data,
[all...]
/5.5.2/goproj/src/github.com/couchbase/cbft/staticx/js/
H A Ddebug.js17 var data = response.data;
18 $scope.fieldsResults = data;
20 var data = response.data;
21 $scope.errorMessage = data;
35 var data = response.data;
36 $scope.docResults = data;
41 var data
[all...]
/5.5.2/query-ui/query-ui/libs/
H A DBlob.js37 this.data = [];
39 , FakeBlob = function Blob(data, type, encoding) {
40 this.data = data;
41 this.size = data.length;
81 if (uri_info.protocol.toLowerCase() === "data:") {
100 data_URI_header = "data:" + type;
102 return data_URI_header + ";base64," + blob.data;
104 return data_URI_header + "," + decodeURIComponent(blob.data);
106 return data_URI_header + ";base64," + btoa(blob.data);
[all...]
/5.5.2/godeps/src/github.com/blevesearch/bleve/index/upsidedown/
H A Dupsidedown.pb.go101 func (m *BackIndexTermsEntry) Unmarshal(data []byte) error {
103 l := len(data)
111 b := data[iNdEx]
130 b := data[iNdEx]
148 b := data[iNdEx]
159 m.Terms = append(m.Terms, string(data[iNdEx:postIndex]))
171 skippy, err := skipUpsidedown(data[iNdEx:])
181 m.XXX_unrecognized = append(m.XXX_unrecognized, data[iNdEx:iNdEx+skippy]...)
191 func (m *BackIndexStoreEntry) Unmarshal(data []byte) error {
193 l := len(data)
[all...]
/5.5.2/godeps/src/github.com/blevesearch/blevex/preload/
H A Dkvutil.pb.go51 func (m *KVPair) Unmarshal(data []byte) error {
53 l := len(data)
61 b := data[iNdEx]
80 b := data[iNdEx]
94 m.K = append([]byte{}, data[iNdEx:postIndex]...)
106 b := data[iNdEx]
120 m.V = append([]byte{}, data[iNdEx:postIndex]...)
133 skippy, err := skipKvutil(data[iNdEx:])
143 m.XXX_unrecognized = append(m.XXX_unrecognized, data[iNdEx:iNdEx+skippy]...)
156 func skipKvutil(data []byt
[all...]
/5.5.2/ns_server/priv/public/ui/app/mn_admin/mn_settings/cluster/
H A Dmn_settings_cluster_service.js17 function maybeSetQuota(data, memory, service, key) {
20 data[key] = "";
22 data[key] = memory[key];
28 var data = {
33 maybeSetQuota(data, memoryQuotaConfig, "kv", "memoryQuota");
34 maybeSetQuota(data, memoryQuotaConfig, "index", "indexMemoryQuota");
35 maybeSetQuota(data, memoryQuotaConfig, "fts", "ftsMemoryQuota");
37 maybeSetQuota(data, memoryQuotaConfig, "cbas", "cbasMemoryQuota");
38 maybeSetQuota(data, memoryQuotaConfig, "eventing", "eventingMemoryQuota");
45 data
44 url: '/pools/default', global() property in postPoolsDefault.config
69 url: '/settings/indexes', global() property in postIndexSettings.config
[all...]
/5.5.2/query-ui/query-ui/
H A Dqw_query_service.js184 data,query,requestID,explainResult,mutationCount,warnings,sortCount) {
190 this.data = data;
227 this.resultSize,this.result,this.data,this.query,this.requestID,this.explainResult,
239 this.data = other.data;
257 savedResultTemplate.result = '{"No data to display": "Hit execute to rerun the query."}';
258 savedResultTemplate.data = {"No data to display": "Hit execute to rerun query."};
259 savedResultTemplate.explainResult = savedResultTemplate.data;
[all...]
/5.5.2/ns_server/deps/gocode/src/gosecrets/
H A Dgosecrets.go89 func doReply(data []byte) {
90 err := binary.Write(os.Stdout, binary.BigEndian, uint16(len(data)))
92 panic(fmt.Sprintf("Error writing data %v", err))
94 os.Stdout.Write(data)
97 func replySuccessWithData(data []byte) {
98 doReply(append([]byte{'S'}, data...))
125 command, data := s.readCommand()
129 s.cmdSetPassword(data)
133 s.cmdSetDataKey(data)
137 s.cmdEncrypt(data)
[all...]
/5.5.2/testrunner/b/resources/flightstats_mysql/
H A Dcsvtojson.py21 data = json.dumps(r)
22 jsonf.write(data)
36 data = []
39 data.append(tokens[0])
40 data.append(tokens[0])
41 data.append(tokens[1].replace("\r\n",""))
42 data.append(tokens[1].replace("\r\n","")+"\n")
43 csvf.write(",".join(data))
56 data = []
59 data
[all...]
/5.5.2/ns_server/priv/public/ui/app/mn_admin/mn_servers/
H A Dmn_servers_service.js50 function reAddNode(data) {
54 data: data
57 function setupServices(data) {
61 data: data
64 function cancelFailOverNode(data) {
68 data: data
75 data
[all...]
/5.5.2/moxi/libmemcached/libmemcached/
H A Dbehavior.c56 static bool set_flag(uint64_t data) in set_flag() argument
59 return data ? true : false; in set_flag()
70 uint64_t data) in memcached_behavior_set()
75 ptr->number_of_replicas= (uint32_t)data; in memcached_behavior_set()
78 ptr->io_msg_watermark= (uint32_t) data; in memcached_behavior_set()
81 ptr->io_bytes_watermark= (uint32_t)data; in memcached_behavior_set()
84 ptr->io_key_prefetch = (uint32_t)data; in memcached_behavior_set()
87 ptr->snd_timeout= (int32_t)data; in memcached_behavior_set()
90 ptr->rcv_timeout= (int32_t)data; in memcached_behavior_set()
93 ptr->server_failure_limit= (uint32_t)data; in memcached_behavior_set()
68 memcached_behavior_set(memcached_st *ptr, const memcached_behavior_t flag, uint64_t data) memcached_behavior_set() argument
[all...]
/5.5.2/couchdb/src/couch_view_parser/yajl/
H A Dyajl_buf.c28 unsigned char * data; member
40 if (buf->data == NULL) { in yajl_buf_ensure_available()
42 buf->data = (unsigned char *) YA_MALLOC(buf->alloc, buf->len); in yajl_buf_ensure_available()
43 buf->data[0] = 0; in yajl_buf_ensure_available()
51 buf->data = (unsigned char *) YA_REALLOC(buf->alloc, buf->data, need); in yajl_buf_ensure_available()
67 if (buf->data) YA_FREE(buf->alloc, buf->data); in yajl_buf_free()
71 void yajl_buf_append(yajl_buf buf, const void * data, size_t len) in yajl_buf_append() argument
75 assert(data ! in yajl_buf_append()
[all...]
/5.5.2/couchdb/src/ejson/yajl/
H A Dyajl_buf.c44 unsigned char * data; member
56 if (buf->data == NULL) { in yajl_buf_ensure_available()
58 buf->data = (unsigned char *) YA_MALLOC(buf->alloc, buf->len); in yajl_buf_ensure_available()
59 buf->data[0] = 0; in yajl_buf_ensure_available()
67 buf->data = (unsigned char *) YA_REALLOC(buf->alloc, buf->data, need); in yajl_buf_ensure_available()
83 if (buf->data) YA_FREE(buf->alloc, buf->data); in yajl_buf_free()
87 void yajl_buf_append(yajl_buf buf, const void * data, unsigned int len) in yajl_buf_append() argument
91 assert(data ! in yajl_buf_append()
[all...]
/5.5.2/testrunner/scripts/
H A DpopulateIni.py48 data = f.readlines()
50 for i in range( len(data) ):
51 if 'dynamic' in data[i]:
52 data[i] = string.replace(data[i], 'dynamic', servers[0])
54 elif addPoolServers and options.addPoolServerId in data[i]:
55 data[i] = string.replace(data[i], options.addPoolServerId, addPoolServers[0])
59 if 'root' in data[i]:
60 data[
[all...]

Completed in 86 milliseconds

12345678910>>...35