Home
last modified time | relevance | path

Searched refs:num_messages (Results 1 – 19 of 19) sorted by relevance

/external/libtextclassifier/native/actions/
Dtflite-sensitive-model.cc50 const Conversation& conversation, int num_messages) const { in EvalConversation()
64 context.reserve(num_messages); in EvalConversation()
65 user_ids.reserve(num_messages); in EvalConversation()
68 for (int i = conversation.messages.size() - num_messages; in EvalConversation()
Dactions-suggestions.cc487 const int num_messages = tokens.size(); in EmbedTokensPerMessage() local
489 for (int i = 0; i < num_messages; i++) { in EmbedTokensPerMessage()
512 for (int i = 0; i < num_messages; i++) { in EmbedTokensPerMessage()
535 const int num_messages = tokens.size(); in EmbedAndFlattenTokens() local
545 start_message = num_messages - 1; in EmbedAndFlattenTokens()
561 for (int i = start_message; i < num_messages; i++) { in EmbedAndFlattenTokens()
981 const Conversation& conversation, const int num_messages, in SuggestActionsFromModel() argument
985 TC3_CHECK_LE(num_messages, conversation.messages.size()); in SuggestActionsFromModel()
988 sensitive_model_->EvalConversation(conversation, num_messages).first) { in SuggestActionsFromModel()
1007 context.reserve(num_messages); in SuggestActionsFromModel()
[all …]
Dsensitive-classifier-base.h33 const Conversation& conversation, int num_messages) const = 0;
Dtflite-sensitive-model.h35 int num_messages) const override;
Dngram-model.cc210 const Conversation& conversation, const int num_messages) const { in EvalConversation()
212 for (int i = 1; i <= num_messages; i++) { in EvalConversation()
Dngram-model.h45 int num_messages) const override;
Dregex-actions.cc130 const Conversation& conversation, const int num_messages, in IsLowConfidenceInput() argument
132 for (int i = 1; i <= num_messages; i++) { in IsLowConfidenceInput()
Dregex-actions.h47 const Conversation& conversation, const int num_messages,
Dactions-suggestions.h192 const Conversation& conversation, const int num_messages,
/external/rust/crates/futures-channel/src/mpsc/
Dmod.rs312 num_messages: usize, field
465 assert!(state.num_messages < MAX_CAPACITY, "buffer space \ in inc_num_messages()
468 state.num_messages += 1; in inc_num_messages()
473 return Some(state.num_messages) in inc_num_messages()
549 Some(num_messages) => { in do_send_b()
552 num_messages > self.inner.buffer in do_send_b()
603 assert!(state.num_messages < MAX_CAPACITY, "buffer space \ in inc_num_messages()
606 state.num_messages += 1; in inc_num_messages()
611 return Some(state.num_messages) in inc_num_messages()
1331 !self.is_open && self.num_messages == 0 in is_closed()
[all …]
/external/libchrome/mojo/public/cpp/bindings/tests/
De2e_perftest.cc151 int num_messages = kMessages; in RunTests() local
153 num_messages /= 10; in RunTests()
155 "%s/%dx%d/%dbytes", test_name.c_str(), num_messages / batch_size, in RunTests()
158 test.RunTest(num_messages / batch_size, batch_size, message_size); in RunTests()
/external/rust/crates/codespan-reporting/src/term/
Drenderer.rs342 let mut num_messages = 0; in render_snippet_source() localVariable
369 num_messages += 1; in render_snippet_source()
476 if num_messages > trailing_label.iter().count() { in render_snippet_source()
/external/protobuf/src/google/protobuf/
Dgenerated_message_reflection.h281 int num_messages; member
Dgenerated_message_reflection.cc2419 RegisterAllTypesInternal(table->file_level_metadata, table->num_messages); in RegisterFileLevelMetadata()
/external/rust/crates/parking_lot/src/
Dcondvar.rs866 num_messages: usize, in producer_thread()
875 for message in 0..num_messages { in producer_thread()
/external/grpc-grpc/test/cpp/end2end/
Dend2end_test.cc528 int num_messages) { in TestBidiStreamServerCancel() argument
542 while (num_msgs_sent < num_messages) { in TestBidiStreamServerCancel()
572 EXPECT_LE(num_msgs_sent, num_messages); in TestBidiStreamServerCancel()
577 EXPECT_EQ(num_msgs_sent, num_messages); in TestBidiStreamServerCancel()
/external/rust/crates/nix/src/sys/socket/
Dmod.rs1183 let num_messages = iter.len(); in recvmmsg() localVariable
1185 let mut output: Vec<libc::mmsghdr> = Vec::with_capacity(num_messages); in recvmmsg()
1190 let mut addresses = vec![mem::MaybeUninit::uninit(); num_messages] in recvmmsg()
/external/libtextclassifier/native/utils/intents/
Dintent-generator-test-lib.cc333 EXPECT_EQ(intents[0].extra["num_messages"].Value<int>(), 2);
/external/rust/crates/libc/src/
Dpsp.rs1639 pub num_messages: i32,