/external/libtextclassifier/native/actions/ |
D | tflite-sensitive-model.cc | 50 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()
|
D | actions-suggestions.cc | 487 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 …]
|
D | sensitive-classifier-base.h | 33 const Conversation& conversation, int num_messages) const = 0;
|
D | tflite-sensitive-model.h | 35 int num_messages) const override;
|
D | ngram-model.cc | 210 const Conversation& conversation, const int num_messages) const { in EvalConversation() 212 for (int i = 1; i <= num_messages; i++) { in EvalConversation()
|
D | ngram-model.h | 45 int num_messages) const override;
|
D | regex-actions.cc | 130 const Conversation& conversation, const int num_messages, in IsLowConfidenceInput() argument 132 for (int i = 1; i <= num_messages; i++) { in IsLowConfidenceInput()
|
D | regex-actions.h | 47 const Conversation& conversation, const int num_messages,
|
D | actions-suggestions.h | 192 const Conversation& conversation, const int num_messages,
|
/external/rust/crates/futures-channel/src/mpsc/ |
D | mod.rs | 312 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/ |
D | e2e_perftest.cc | 151 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/ |
D | renderer.rs | 342 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/ |
D | generated_message_reflection.h | 281 int num_messages; member
|
D | generated_message_reflection.cc | 2419 RegisterAllTypesInternal(table->file_level_metadata, table->num_messages); in RegisterFileLevelMetadata()
|
/external/rust/crates/parking_lot/src/ |
D | condvar.rs | 866 num_messages: usize, in producer_thread() 875 for message in 0..num_messages { in producer_thread()
|
/external/grpc-grpc/test/cpp/end2end/ |
D | end2end_test.cc | 528 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/ |
D | mod.rs | 1183 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/ |
D | intent-generator-test-lib.cc | 333 EXPECT_EQ(intents[0].extra["num_messages"].Value<int>(), 2);
|
/external/rust/crates/libc/src/ |
D | psp.rs | 1639 pub num_messages: i32,
|