Home
last modified time | relevance | path

Searched refs:agent (Results 1 – 25 of 654) sorted by relevance

12345678910>>...27

/external/tcpdump/tests/
Dsflow_multiple_counter_30_pdus-nv.out1 IP 15.184.1.76.40948 > 15.184.3.9.6343: sFlowv5, IPv4 agent 15.184.8.4, agent-id 2, length 1288
2 IP 15.184.1.195.4942 > 15.184.3.9.6343: sFlowv5, IPv4 agent 15.184.1.195, agent-id 1, length 1288
3 IP 15.184.1.195.4942 > 15.184.3.9.6343: sFlowv5, IPv4 agent 15.184.1.195, agent-id 1, length 1288
4 IP 15.184.1.195.4942 > 15.184.3.9.6343: sFlowv5, IPv4 agent 15.184.1.195, agent-id 1, length 1288
5 IP 15.184.1.195.4942 > 15.184.3.9.6343: sFlowv5, IPv4 agent 15.184.1.195, agent-id 1, length 1288
6 IP 15.184.1.195.4942 > 15.184.3.9.6343: sFlowv5, IPv4 agent 15.184.1.195, agent-id 1, length 1108
7 IP 15.184.1.76.40948 > 15.184.3.9.6343: sFlowv5, IPv4 agent 15.184.8.4, agent-id 2, length 208
8 IP 15.184.1.194.3099 > 15.184.3.9.6343: sFlowv5, IPv4 agent 15.184.1.194, agent-id 1, length 1288
9 IP 15.184.1.194.3099 > 15.184.3.9.6343: sFlowv5, IPv4 agent 15.184.1.194, agent-id 1, length 1288
10 IP 15.184.1.194.3099 > 15.184.3.9.6343: sFlowv5, IPv4 agent 15.184.1.194, agent-id 1, length 1288
[all …]
/external/marisa-trie/bindings/ruby/
Dsample.rb16 agent = Marisa::Agent.new
18 agent.set_query("cake")
19 trie.lookup(agent)
20 print(agent.query_str(), ": ", agent.key_id(), "\n")
22 agent.set_query("cookie")
23 trie.lookup(agent)
24 print(agent.query_str(), ": ", agent.key_id(), "\n")
26 agent.set_query("cockoo")
27 if not trie.lookup(agent)
28 print(agent.query_str(), ": not found\n")
[all …]
Dbenchmark.rb39 agent = Marisa::Agent.new
41 agent.set_query(key)
42 trie.lookup(agent)
43 agent.key_str
58 agent.set_query(i)
59 trie.reverse_lookup(agent)
60 agent.key_str
74 agent.set_query(key)
75 while trie.common_prefix_search(agent)
76 agent.key_str
[all …]
Dmarisa-swig.cxx168 bool Trie::lookup(Agent &agent) const { in lookup()
169 return trie_->lookup(*agent.agent_); in lookup()
172 void Trie::reverse_lookup(Agent &agent) const { in reverse_lookup()
173 trie_->reverse_lookup(*agent.agent_); in reverse_lookup()
176 bool Trie::common_prefix_search(Agent &agent) const { in common_prefix_search()
177 return trie_->common_prefix_search(*agent.agent_); in common_prefix_search()
180 bool Trie::predictive_search(Agent &agent) const { in predictive_search()
181 return trie_->predictive_search(*agent.agent_); in predictive_search()
185 marisa::Agent agent; in lookup() local
186 agent.set_query(ptr, length); in lookup()
[all …]
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/
DAgentTest.java12 package org.jacoco.agent.rt.internal;
29 import org.jacoco.agent.rt.internal.output.FileOutput;
30 import org.jacoco.agent.rt.internal.output.IAgentOutput;
31 import org.jacoco.agent.rt.internal.output.NoneOutput;
32 import org.jacoco.agent.rt.internal.output.TcpClientOutput;
33 import org.jacoco.agent.rt.internal.output.TcpServerOutput;
65 Agent agent = new Agent(options, this); in createController_should_create_defined_controller_type() local
68 assertEquals(FileOutput.class, agent.createAgentOutput().getClass()); in createController_should_create_defined_controller_type()
72 agent.createAgentOutput().getClass()); in createController_should_create_defined_controller_type()
76 agent.createAgentOutput().getClass()); in createController_should_create_defined_controller_type()
[all …]
/external/marisa-trie/bindings/perl/
Dsample.pl16 $agent = new marisa::Agent;
18 $agent->set_query("cake");
19 $trie->lookup($agent);
20 print($agent->query_str(), ": ", $agent->key_id(), "\n");
22 $agent->set_query("cookie");
23 $trie->lookup($agent);
24 print($agent->query_str(), ": ", $agent->key_id(), "\n");
26 $agent->set_query("cockoo");
27 if ($trie->lookup(agent)) {
28 print($agent->query_str(), ": not found\n");
[all …]
Dbenchmark.pl42 my $agent = new marisa::Agent;
44 $agent->set_query($key);
45 $trie->lookup($agent);
46 $agent->key_id();
61 $agent->set_query($_);
62 $trie->reverse_lookup($agent);
63 $agent->key_str();
77 $agent->set_query($key);
78 while ($trie->common_prefix_search($agent)) {
79 $agent->key_str();
[all …]
Dmarisa-swig.cxx168 bool Trie::lookup(Agent &agent) const { in lookup()
169 return trie_->lookup(*agent.agent_); in lookup()
172 void Trie::reverse_lookup(Agent &agent) const { in reverse_lookup()
173 trie_->reverse_lookup(*agent.agent_); in reverse_lookup()
176 bool Trie::common_prefix_search(Agent &agent) const { in common_prefix_search()
177 return trie_->common_prefix_search(*agent.agent_); in common_prefix_search()
180 bool Trie::predictive_search(Agent &agent) const { in predictive_search()
181 return trie_->predictive_search(*agent.agent_); in predictive_search()
185 marisa::Agent agent; in lookup() local
186 agent.set_query(ptr, length); in lookup()
[all …]
/external/marisa-trie/bindings/python/
Dsample.py16 agent = marisa.Agent() variable
18 agent.set_query("cake")
19 trie.lookup(agent)
20 print("%s: %d" % (agent.query_str(), agent.key_id()))
22 agent.set_query("cookie")
23 trie.lookup(agent)
24 print("%s: %d" % (agent.query_str(), agent.key_id()))
26 agent.set_query("cockoo")
27 if not trie.lookup(agent):
28 print("%s: not found" % agent.query_str())
[all …]
Dbenchmark.py39 agent = marisa.Agent() variable
41 agent.set_query(key)
42 trie.lookup(agent)
43 agent.key_id()
55 agent.set_query(i)
56 trie.reverse_lookup(agent)
57 agent.key_str()
69 agent.set_query(key)
70 while trie.common_prefix_search(agent):
71 agent.key_str()
[all …]
Dmarisa-swig.cxx168 bool Trie::lookup(Agent &agent) const { in lookup()
169 return trie_->lookup(*agent.agent_); in lookup()
172 void Trie::reverse_lookup(Agent &agent) const { in reverse_lookup()
173 trie_->reverse_lookup(*agent.agent_); in reverse_lookup()
176 bool Trie::common_prefix_search(Agent &agent) const { in common_prefix_search()
177 return trie_->common_prefix_search(*agent.agent_); in common_prefix_search()
180 bool Trie::predictive_search(Agent &agent) const { in predictive_search()
181 return trie_->predictive_search(*agent.agent_); in predictive_search()
185 marisa::Agent agent; in lookup() local
186 agent.set_query(ptr, length); in lookup()
[all …]
/external/marisa-trie/tests/
Dmarisa-test.cc26 marisa::Agent agent; in TestEmptyTrie() local
28 EXCEPT(trie.lookup(agent), MARISA_STATE_ERROR); in TestEmptyTrie()
29 EXCEPT(trie.reverse_lookup(agent), MARISA_STATE_ERROR); in TestEmptyTrie()
30 EXCEPT(trie.common_prefix_search(agent), MARISA_STATE_ERROR); in TestEmptyTrie()
31 EXCEPT(trie.predictive_search(agent), MARISA_STATE_ERROR); in TestEmptyTrie()
48 ASSERT(!trie.lookup(agent)); in TestEmptyTrie()
49 EXCEPT(trie.reverse_lookup(agent), MARISA_BOUND_ERROR); in TestEmptyTrie()
50 ASSERT(!trie.common_prefix_search(agent)); in TestEmptyTrie()
51 ASSERT(!trie.predictive_search(agent)); in TestEmptyTrie()
68 ASSERT(trie.lookup(agent)); in TestEmptyTrie()
[all …]
Dbase-test.cc251 marisa::Agent agent; in TestAgent() local
253 ASSERT(agent.query().ptr() == NULL); in TestAgent()
254 ASSERT(agent.query().length() == 0); in TestAgent()
255 ASSERT(agent.query().id() == 0); in TestAgent()
257 ASSERT(agent.key().ptr() == NULL); in TestAgent()
258 ASSERT(agent.key().length() == 0); in TestAgent()
260 ASSERT(!agent.has_state()); in TestAgent()
265 agent.set_query(query_str); in TestAgent()
266 agent.set_query(123); in TestAgent()
267 agent.set_key(key_str); in TestAgent()
[all …]
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/
Dftrace_agent_unittest.py54 agent = ftrace_agent.FtraceAgent(io_interface)
55 self.assertEqual(['sched'], agent._avail_categories())
60 agent = ftrace_agent.FtraceAgent(io_interface)
61 self.assertEqual([], agent._avail_categories())
69 agent = ftrace_agent.FtraceAgent(io_interface)
70 self.assertEqual(['disk'], agent._avail_categories())
82 agent = ftrace_agent.FtraceAgent(io_interface)
83 self.assertEqual(['workq'], agent._avail_categories())
86 agent.StartAgentTracing(options, categories)
95 agent.StopAgentTracing()
[all …]
/external/marisa-trie/lib/marisa/grimoire/trie/
Dlouds-trie.cc54 bool LoudsTrie::lookup(Agent &agent) const { in lookup()
55 MARISA_DEBUG_IF(!agent.has_state(), MARISA_STATE_ERROR); in lookup()
57 State &state = agent.state(); in lookup()
59 while (state.query_pos() < agent.query().length()) { in lookup()
60 if (!find_child(agent)) { in lookup()
67 agent.set_key(agent.query().ptr(), agent.query().length()); in lookup()
68 agent.set_key(terminal_flags_.rank1(state.node_id())); in lookup()
72 void LoudsTrie::reverse_lookup(Agent &agent) const { in reverse_lookup()
73 MARISA_DEBUG_IF(!agent.has_state(), MARISA_STATE_ERROR); in reverse_lookup()
74 MARISA_THROW_IF(agent.query().id() >= size(), MARISA_BOUND_ERROR); in reverse_lookup()
[all …]
Dtail.cc61 void Tail::restore(Agent &agent, std::size_t offset) const { in restore() argument
64 State &state = agent.state(); in restore()
76 bool Tail::match(Agent &agent, std::size_t offset) const { in match() argument
78 MARISA_DEBUG_IF(agent.state().query_pos() >= agent.query().length(), in match()
81 State &state = agent.state(); in match()
85 if (ptr[state.query_pos()] != agent.query()[state.query_pos()]) { in match()
92 } while (state.query_pos() < agent.query().length()); in match()
96 if (buf_[offset] != agent.query()[state.query_pos()]) { in match()
103 } while (state.query_pos() < agent.query().length()); in match()
108 bool Tail::prefix_match(Agent &agent, std::size_t offset) const { in prefix_match() argument
[all …]
Dlouds-trie.h27 bool lookup(Agent &agent) const;
28 void reverse_lookup(Agent &agent) const;
29 bool common_prefix_search(Agent &agent) const;
30 bool predictive_search(Agent &agent) const;
104 inline bool find_child(Agent &agent) const;
105 inline bool predictive_find_child(Agent &agent) const;
107 inline void restore(Agent &agent, std::size_t node_id) const;
108 inline bool match(Agent &agent, std::size_t node_id) const;
109 inline bool prefix_match(Agent &agent, std::size_t node_id) const;
111 void restore_(Agent &agent, std::size_t node_id) const;
[all …]
/external/chromium-trace/catapult/systrace/systrace/
Dtracing_controller.py153 agent = agent_and_config.agent
155 if agent.StartAgentTracing(config,
157 succ_agents.append(agent)
159 print 'Agent %s not started.' % str(agent)
186 for agent in self._child_agents:
187 if agent.StopAgentTracing(timeout=self._controller_config.timeout):
188 succ_agents.append(agent)
190 print 'Agent %s not stopped.' % str(agent)
208 for agent in self._child_agents + [self._controller_agent]:
210 result = agent.GetResults(
[all …]
/external/python/cpython3/Lib/test/
Dtest_robotparser.py13 agent = 'test_robotparser' variable in BaseRobotTest
25 agent, url = url
26 return agent, url
27 return self.agent, url
31 agent, url = self.get_agent_and_url(url)
32 with self.subTest(url=url, agent=agent):
33 self.assertTrue(self.parser.can_fetch(agent, url))
37 agent, url = self.get_agent_and_url(url)
38 with self.subTest(url=url, agent=agent):
39 self.assertFalse(self.parser.can_fetch(agent, url))
[all …]
/external/marisa-trie/bindings/
Dmarisa-swig.cxx168 bool Trie::lookup(Agent &agent) const { in lookup()
169 return trie_->lookup(*agent.agent_); in lookup()
172 void Trie::reverse_lookup(Agent &agent) const { in reverse_lookup()
173 trie_->reverse_lookup(*agent.agent_); in reverse_lookup()
176 bool Trie::common_prefix_search(Agent &agent) const { in common_prefix_search()
177 return trie_->common_prefix_search(*agent.agent_); in common_prefix_search()
180 bool Trie::predictive_search(Agent &agent) const { in predictive_search()
181 return trie_->predictive_search(*agent.agent_); in predictive_search()
185 marisa::Agent agent; in lookup() local
186 agent.set_query(ptr, length); in lookup()
[all …]
/external/marisa-trie/tools/
Dmarisa-benchmark.cc184 marisa::Agent agent; in benchmark_lookup() local
186 agent.set_query(keyset[i].ptr(), keyset[i].length()); in benchmark_lookup()
187 if (!trie.lookup(agent) || (agent.key().id() != keyset[i].id())) { in benchmark_lookup()
198 marisa::Agent agent; in benchmark_reverse_lookup() local
200 agent.set_query(keyset[i].id()); in benchmark_reverse_lookup()
201 trie.reverse_lookup(agent); in benchmark_reverse_lookup()
202 if ((agent.key().id() != keyset[i].id()) || in benchmark_reverse_lookup()
203 (agent.key().length() != keyset[i].length()) || in benchmark_reverse_lookup()
204 (std::memcmp(agent.key().ptr(), keyset[i].ptr(), in benchmark_reverse_lookup()
205 agent.key().length()) != 0)) { in benchmark_reverse_lookup()
[all …]
/external/libbackup/src/com/google/android/libraries/backup/shadow/
DBackupAgentHelperShadow.java70 public static Map<String, Object> simulateBackup(BackupAgentHelper agent) { in simulateBackup() argument
72 attachBaseContextToAgentIfNecessary(agent); in simulateBackup()
73 agent.onCreate(); in simulateBackup()
75 agent.onBackup(null, null, null); in simulateBackup()
81 agent.onDestroy(); in simulateBackup()
93 BackupAgentHelper agent, Map<String, Object> backupDataMap, int appVersionCode) { in simulateRestore() argument
94 attachBaseContextToAgentIfNecessary(agent); in simulateRestore()
95 agent.onCreate(); in simulateRestore()
98 agent.onRestore(null, appVersionCode, null); in simulateRestore()
105 agent.onRestoreFinished(); in simulateRestore()
[all …]
/external/llvm-project/libcxx/utils/docker/debian9/buildbot/
Dinstall-gcloud-agents.sh5 curl -sSO https://dl.google.com/cloudagents/install-monitoring-agent.sh
6 sudo bash install-monitoring-agent.sh
7 rm install-monitoring-agent.sh
9 curl -sSO https://dl.google.com/cloudagents/install-logging-agent.sh
10 sudo bash install-logging-agent.sh
11 rm install-logging-agent.sh
/external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/
DAgent.java12 package org.jacoco.agent.rt.internal;
19 import org.jacoco.agent.rt.IAgent;
20 import org.jacoco.agent.rt.internal.output.FileOutput;
21 import org.jacoco.agent.rt.internal.output.IAgentOutput;
22 import org.jacoco.agent.rt.internal.output.NoneOutput;
23 import org.jacoco.agent.rt.internal.output.TcpClientOutput;
24 import org.jacoco.agent.rt.internal.output.TcpServerOutput;
67 final Agent agent = new Agent(options, IExceptionLogger.SYSTEM_ERR, data); in getInstance() local
68 agent.startup(); in getInstance()
72 agent.shutdown(); in getInstance()
[all …]
/external/openssh/regress/
Dagent.sh38 rm -f $OBJ/$t-agent $OBJ/$t-agent.pub*
39 ${SSHKEYGEN} -q -N '' -t $t -f $OBJ/$t-agent ||\
43 -n estragon $OBJ/$t-agent.pub || fatal "ca sign failed"
46 cat $OBJ/$t-agent.pub >> $OBJ/authorized_keys_$USER
48 ${SSHADD} $OBJ/$t-agent #> /dev/null 2>&1
53 SSH_AUTH_SOCK=$FW_SSH_AUTH_SOCK ${SSHADD} $OBJ/$t-agent #> /dev/null 2>&1
58 rm -f $OBJ/$t-agent
90 ${SSH} -F $OBJ/ssh_proxy -i $OBJ/$t-agent.pub -oIdentitiesOnly=yes \
145 ${SSH} -F $OBJ/ssh_proxy -i $OBJ/$t-agent.pub \
146 -oCertificateFile=$OBJ/$t-agent-cert.pub \

12345678910>>...27