search for: array_typ

Displaying 20 results from an estimated 23 matches for "array_typ".

Did you mean: array_type
2017 Jun 10
0
Pacaging/build issues with AIX and vac (dovecot-2.2.25)
...6-285 (S) The indirection operator cannot be applied to a pointer to an incomplete struct or union. make[1]: *** [doveadm-cmd.o] Error 1 +428 static void +429 doveadm_build_options(const struct doveadm_cmd_param par[], +430 string_t *shortopts, +431 ARRAY_TYPE(getopt_option_array) *longopts) +432 { +433 for(size_t i=0; par[i].name != NULL; i++) { +434 struct option longopt; +435 +436 i_zero(&longopt); +437 longopt.name = par[i].name; +438 if (par[i].sh...
2007 Jul 17
0
[LLVMdev] Review: minor patches to llvm-gcc-4-2
...&& TREE_CODE (TREE_TYPE (exp)) == INTEGER_TYPE && + && TREE_CODE (TREE_TYPE (exp)) == INTEGER_TYPE /* LLVM LOCAL begin */ #if ENABLE_LLVM /* LLVM extends ARRAY_REF to allow pointers to be the base value. */ - (TREE_CODE (TREE_TYPE (TREE_OPERAND (exp, 0))) == ARRAY_TYPE) + && (TREE_CODE (TREE_TYPE (TREE_OPERAND (exp, 0))) == ARRAY_TYPE) #endif /* LLVM LOCAL end */ )
2009 Apr 03
2
Implementation of editheaders in dovecot
...ze, NULL); message_get_header_size(stream, &hdr_size, NULL); i_stream_seek(stream, hdr_size.physical_size); stream = i_stream_create_limit(stream, body_size.physical_size); i_stream_unref(&tmp); return stream; } inline static struct istream * header_filter(struct istream * stream, ARRAY_TYPE(const_string) * headers_arr, unsigned int count) { const char * const * headers = NULL; DPRINTF("Func `%s' called", __FUNCTION__); if (count) { headers = (const char **)array_idx(headers_arr, 0); } return i_stream_create_header_filter(stream, HEADER_...
2006 Sep 11
0
[LLVMdev] trying to build llvm-gcc in linux/amd64
On Mon, 11 Sep 2006, [UTF-8] Rafael Esp?ndola wrote: > I am trying to build llvm-gcc4 on a amd64. I had to add the attached > patch to get the build system to select the correct library. Now the Applied. > build fails while compiling a code that has __builtin_va_copy. The > attached test.i fails with: > > cc1: ../../trunk/gcc/llvm-convert.cpp:443: llvm::Value* >
2019 Jan 12
2
Solr -> Xapian ?
THank you Now, for the results I see the member of fts_result is : ARRAY_TYPE(seq_range) definite_uids; I have the UID as a aray of uint32_t * How to put my UIDs into this "definite_uids" ? Obviously this is not a simple array/pointer. How to say someting similar to result->definite_uids[1]=my_uid ? On 2019-01-12 10:25, Timo Sirainen wrote: > On 11 Jan...
2006 Sep 11
5
[LLVMdev] trying to build llvm-gcc in linux/amd64
I am trying to build llvm-gcc4 on a amd64. I had to add the attached patch to get the build system to select the correct library. Now the build fails while compiling a code that has __builtin_va_copy. The attached test.i fails with: cc1: ../../trunk/gcc/llvm-convert.cpp:443: llvm::Value* TreeToLLVM::Emit(tree_node*, llvm::Value*): Assertion `(isAggregateType(((exp)->common.type)) == (DestLoc
2009 Jan 09
2
[LLVMdev] RFC: Store alignment should be LValue alignment, not source alignment
...AND(exp, 0); - tree ArrayType = TREE_TYPE(Array); + tree ArrayTreeType = TREE_TYPE(Array); tree Index = TREE_OPERAND(exp, 1); tree IndexType = TREE_TYPE(Index); - tree ElementType = TREE_TYPE(ArrayType); + tree ElementType = TREE_TYPE(ArrayTreeType); - assert((TREE_CODE (ArrayType) == ARRAY_TYPE || - TREE_CODE (ArrayType) == POINTER_TYPE || - TREE_CODE (ArrayType) == REFERENCE_TYPE || - TREE_CODE (ArrayType) == BLOCK_POINTER_TYPE) && + assert((TREE_CODE (ArrayTreeType) == ARRAY_TYPE || + TREE_CODE (ArrayTreeType) == POINTER_TYPE || + T...
2019 Jan 12
2
Solr -> Xapian ?
...ll emails > > For other folder, somehow, the process can not access that (root) folder. > > Am I missing something ? > > On 2019-01-12 17:37, Joan Moreau wrote: > > THank you > > Now, for the results > > I see the member of fts_result is : > > ARRAY_TYPE(seq_range) definite_uids; > > I have the UID as a aray of uint32_t * > > How to put my UIDs into this "definite_uids" ? Obviously this is not a simple array/pointer. How to say someting similar to result->definite_uids[1]=my_uid ? > > On 2019-01-12 10:25, Timo S...
2019 Apr 30
0
Dovecot release v2.3.6
...rn value Thanks. -------------- next part -------------- --- ../original/src/lib-index/mail-index-transaction-update.c 2019-04-30 13:25:06.000000000 +0000 +++ src/lib-index/mail-index-transaction-update.c 2019-04-30 14:49:09.517684762 +0000 @@ -195,7 +195,8 @@ uint32_t first_uid, ARRAY_TYPE(seq_range) *uids_r) { - return mail_index_append_finish_uids_full(t, first_uid, first_uid, uids_r); + mail_index_append_finish_uids_full(t, first_uid, first_uid, uids_r); + return; } void mail_index_append_finish_uids_full(struct mail_index_transaction *t,
2019 Jan 12
0
Solr -> Xapian ?
...reatedm and backed starts indexing all emails For other folder, somehow, the process can not access that (root) folder. Am I missing something ? On 2019-01-12 17:37, Joan Moreau wrote: > THank you > > Now, for the results > > I see the member of fts_result is : > > ARRAY_TYPE(seq_range) definite_uids; > > I have the UID as a aray of uint32_t * > > How to put my UIDs into this "definite_uids" ? Obviously this is not a simple array/pointer. How to say someting similar to result->definite_uids[1]=my_uid ? > > On 2019-01-12 10:25, Timo S...
2016 Oct 09
6
Pacaging/build issues with AIX and vac (dovecot-2.2.25)
Hi. I finally decided it was really time to stop being lazy and really move away from gmail. After I have a server in my basement using power, etc. So I turned on the imap provided - and did not quite cry - it will have to do for now, but imap2 is wanting. A real server yes, but not Linux. (Using linux would require another server AND I would feel I am being lazy again). So, I downloaded
2019 Jan 13
0
Solr -> Xapian ?
...ll emails > > For other folder, somehow, the process can not access that (root) folder. > > Am I missing something ? > > On 2019-01-12 17:37, Joan Moreau wrote: > > THank you > > Now, for the results > > I see the member of fts_result is : > > ARRAY_TYPE(seq_range) definite_uids; > > I have the UID as a aray of uint32_t * > > How to put my UIDs into this "definite_uids" ? Obviously this is not a simple array/pointer. How to say someting similar to result->definite_uids[1]=my_uid ? > > On 2019-01-12 10:25, Timo S...
2011 Jul 28
1
imap segfaults on UID SEARCH NOT <NON-EXISTENT-ID>
...timized out> c = <value optimized out> In src/lib-storage/index/index-search.c:search_msgset_fix() (frame #0 above), "range = array_get(seqset, &count);" sets "count" local variable to 0. static void search_msgset_fix(unsigned int messages_count, ARRAY_TYPE(seq_range) *seqset, uint32_t *seq1_r, uint32_t *seq2_r, bool not) { const struct seq_range *range; unsigned int count; uint32_t min_seq, max_seq; if (!search_msgset_fix_limits(messages_count, seqset, not)) { *seq1_r = (uint32_t)-1; *seq2_r = 0; return; } range = array_get(se...
2019 Apr 30
5
Dovecot release v2.3.6
Hi! We are pleased to release Dovecot v2.3.6. Tarball is available at https://dovecot.org/releases/2.3/dovecot-2.3.6.tar.gz https://dovecot.org/releases/2.3/dovecot-2.3.6.tar.gz.sig Binary packages are available at https://repo.dovecot.org/ Changes ------- * CVE-2019-11494: Submission-login crashed with signal 11 due to null pointer access when authentication was aborted by disconnecting. *
2019 Apr 30
5
Dovecot release v2.3.6
Hi! We are pleased to release Dovecot v2.3.6. Tarball is available at https://dovecot.org/releases/2.3/dovecot-2.3.6.tar.gz https://dovecot.org/releases/2.3/dovecot-2.3.6.tar.gz.sig Binary packages are available at https://repo.dovecot.org/ Changes ------- * CVE-2019-11494: Submission-login crashed with signal 11 due to null pointer access when authentication was aborted by disconnecting. *
2010 Jul 14
1
Problems with Dovecot + imaptest
...irectory checkpoint.c:5:19: array.h: No such file or directory checkpoint.c:6:24: mail-types.h: No such file or directory In file included from checkpoint.c:7: settings.h:4:21: network.h: No such file or directory In file included from checkpoint.c:7: settings.h:40: error: syntax error before "ARRAY_TYPE" settings.h:40: warning: no semicolon at end of struct or union settings.h:46: error: syntax error before "random_states" settings.h:46: warning: data definition has no type or storage class settings.h:47: error: syntax error before "no_tracking" settings.h:47: warning: da...
2012 May 29
4
per-mailbox message limits
...ter *mail_search_register_human; struct mail_storage_module_register mail_storage_module_register = { 0 }; struct mail_module_register mail_module_register = { 0 }; struct mail_storage_mail_index_module mail_storage_mail_index_module = MODULE_CONTEXT_INIT(&mail_index_module_register); ARRAY_TYPE(mail_storage) mail_storage_classes; @@ -1365,28 +1366,34 @@ void mailbox_save_set_pop3_uidl(struct m void mailbox_save_set_dest_mail(struct mail_save_context *ctx, struct mail *mail) { ctx->dest_mail = mail; } int mailbox_save_begin(struct mail_save_context **ctx, struct istream...
2015 Oct 06
4
More information about - Dovecot 2.2.x quota mysql and dict
...(struct dict_transaction_context *_ctx, const char *key) { struct sql_dict_transaction_context *ctx = (struct sql_dict_transaction_context *)_ctx; struct sql_dict *dict = (struct sql_dict *)_ctx->dict; const struct dict_sql_map *map; ARRAY_TYPE(const_string) values; if (ctx->prev_inc_map != NULL) sql_dict_prev_inc_flush(ctx); map = sql_dict_find_map(dict, key, &values); if (map == NULL) { i_error("sql dict unset: Invalid/unmapped key: %s", key); ctx->failed...
2019 Jan 11
4
Solr -> Xapian ?
The below patch resolves the compilation error $ DIFF -P COMPAT.H COMPAT.H.JOAN *** compat.h 2019-01-11 20:21:00.726625427 +0100 --- compat.h.joan 2019-01-11 20:14:41.729109919 +0100 *************** struct iovec; *** 202,207 **** --- 202,211 ---- ssize_t i_my_writev(int fd, const struct iovec *iov, int iov_len); #endif + #ifdef __cplusplus + extern "C" { + #endif + #if
2017 Jun 21
6
RFC: Cleaning up the Itanium demangler
...is_string()); + return string_ref(static_cast<const char*>(first), + static_cast<const char*>(second)); + } + + const node* as_node() const + { + assert(is_node()); + return static_cast<const node*>(first); + } +}; + +class array_type final : public type { + node* base; + node_or_string dimension; + +public: + array_type(node* base, node_or_string dimension) + : base(base), dimension(dimension) + { + has_array(true); + } + + // Incomplete array type. + array_type(node* base) : base(base) +...