Searched refs:get (Results 1 - 25 of 323) sorted by relevance

1234567891011>>

/trex/doc/
H A DAnalyticsConnect.py66 for report in response.get('reports', []):
67 columnHeader = report.get('columnHeader', {})
68 dimensionHeaders = columnHeader.get('dimensions', [])
69 metricHeaders = columnHeader.get('metricHeader', {}).get('metricHeaderEntries', [])
70 rows = report.get('data', {}).get('rows', [])
73 dimensions = row.get('dimensions', [])
74 dateRangeValues = row.get('metrics', [])
81 for metricHeader, value in zip(metricHeaders, values.get('value
[all...]
/trex/scripts/automation/trex_control_plane/client_utils/
H A Dyaml_utils.py35 tmp_type = ref_val.get('type')
42 python_types.add(self.TYPE_DICT.get(t))
50 return True, CTRexYAMLLoader._calc_final_value(val, multiplier, ref_val.get('multiply', False))
53 python_type = self.TYPE_DICT.get(tmp_type)
58 return True, CTRexYAMLLoader._calc_final_value(val, multiplier, ref_val.get('multiply', False))
63 ref_field = self.ref_obj.get(root_obj).get(sub_obj).get(key)
65 ref_field = self.ref_obj.get(root_obj).get(ke
[all...]
/trex/scripts/external_libs/pyzmq-14.5.0/python2/ucs2/32bit/zmq/sugar/
H A Dframe.py14 # map Frame['User-Id'] to Frame.get('User-Id')
15 return self.get(key)
/trex/scripts/external_libs/pyzmq-14.5.0/python2/ucs2/64bit/zmq/sugar/
H A Dframe.py14 # map Frame['User-Id'] to Frame.get('User-Id')
15 return self.get(key)
/trex/scripts/external_libs/pyzmq-14.5.0/python2/ucs4/64bit/zmq/sugar/
H A Dframe.py14 # map Frame['User-Id'] to Frame.get('User-Id')
15 return self.get(key)
/trex/scripts/external_libs/pyzmq-14.5.0/python3/ucs4/32bit/zmq/sugar/
H A Dframe.py14 # map Frame['User-Id'] to Frame.get('User-Id')
15 return self.get(key)
/trex/scripts/external_libs/pyzmq-14.5.0/python3/ucs4/64bit/zmq/sugar/
H A Dframe.py14 # map Frame['User-Id'] to Frame.get('User-Id')
15 return self.get(key)
/trex/external_libs/yaml-cpp/src/
H A Dscantag.cpp13 INPUT.get();
18 INPUT.get();
26 tag += INPUT.get(n);
60 tag += INPUT.get(n);
75 tag += INPUT.get(n);
H A Demitterstate.h118 EMITTER_MANIP GetOutputCharset() const { return m_charset.get(); }
121 EMITTER_MANIP GetStringFormat() const { return m_strFmt.get(); }
124 EMITTER_MANIP GetBoolFormat() const { return m_boolFmt.get(); }
127 EMITTER_MANIP GetBoolLengthFormat() const { return m_boolLengthFmt.get(); }
130 EMITTER_MANIP GetBoolCaseFormat() const { return m_boolCaseFmt.get(); }
133 EMITTER_MANIP GetIntFormat() const { return m_intFmt.get(); }
136 int GetIndent() const { return m_indent.get(); }
139 int GetPreCommentIndent() const { return m_preCommentIndent.get(); }
141 int GetPostCommentIndent() const { return m_postCommentIndent.get(); }
147 EMITTER_MANIP GetMapKeyFormat() const { return m_mapKeyFmt.get(); }
[all...]
/trex/scripts/automation/trex_control_plane/stl/trex_stl_lib/
H A Dtrex_stl_stats.py113 # get number of bytes: '64b'->64, '9kb'->9000 etc.
218 stats_data_left = OrderedDict([("connection", "{host}, Port {port}".format(host=global_stats.connection_info.get("server"),
219 port=global_stats.connection_info.get("sync_port"))),
220 ("version", "{ver}".format(ver=global_stats.server_version.get("version", "N/A"))),
222 ("cpu_util.", "{0}% @ {2} cores ({3} per port) {1}".format( format_threshold(round_float(global_stats.get("m_cpu_util")), [85, 100], [0, 85]),
224 global_stats.system_info.get('dp_core_count'),
225 global_stats.system_info.get('dp_core_count_per_port'),
228 ("rx_cpu_util.", "{0}% {1}".format( format_threshold(round_float(global_stats.get("m_rx_cpu_util")), [85, 100], [0, 85]),
236 ("total_tx_L2", "{0} {1}".format( global_stats.get("m_tx_bps", format=True, suffix="b/sec"),
239 ("total_tx_L1", "{0} {1}".format( global_stats.get("m_tx_bps_L
846 def get(self, field, format=False, suffix="", opts = None): member in class:CTRexStats
[all...]
H A Dtrex_stl_ext.py7 TREX_STL_EXT_PATH = os.environ.get('TREX_STL_EXT_PATH')
32 if module.get('py-dep'):
35 if module.get('arch-dep'):
/trex/scripts/external_libs/nose-1.3.4/python2/nose/plugins/
H A Dallmodules.py33 default=env.get(env_opt),
H A Ddebug.py24 default=env.get('NOSE_PDB', False),
29 default=env.get('NOSE_PDB_FAILURES', False),
34 default=env.get('NOSE_PDB_ERRORS', False),
H A Dcover.py41 default=env.get('NOSE_COVER_PACKAGE'),
47 default=env.get('NOSE_COVER_ERASE'),
53 default=env.get('NOSE_COVER_TESTS'),
58 default=env.get('NOSE_COVER_MIN_PERCENTAGE'),
63 default=env.get('NOSE_COVER_INCLUSIVE'),
70 default=env.get('NOSE_COVER_HTML'),
74 default=env.get('NOSE_COVER_HTML_DIR', 'cover'),
79 default=env.get('NOSE_COVER_BRANCHES'),
84 default=env.get('NOSE_COVER_XML'),
88 default=env.get('NOSE_COVER_XML_FIL
[all...]
/trex/scripts/external_libs/nose-1.3.4/python3/nose/plugins/
H A Dallmodules.py33 default=env.get(env_opt),
H A Ddebug.py24 default=env.get('NOSE_PDB', False),
29 default=env.get('NOSE_PDB_FAILURES', False),
34 default=env.get('NOSE_PDB_ERRORS', False),
H A Dcover.py41 default=env.get('NOSE_COVER_PACKAGE'),
47 default=env.get('NOSE_COVER_ERASE'),
53 default=env.get('NOSE_COVER_TESTS'),
58 default=env.get('NOSE_COVER_MIN_PERCENTAGE'),
63 default=env.get('NOSE_COVER_INCLUSIVE'),
70 default=env.get('NOSE_COVER_HTML'),
74 default=env.get('NOSE_COVER_HTML_DIR', 'cover'),
79 default=env.get('NOSE_COVER_BRANCHES'),
84 default=env.get('NOSE_COVER_XML'),
88 default=env.get('NOSE_COVER_XML_FIL
[all...]
/trex/scripts/external_libs/requests/requests/
H A Dhooks.py26 hooks = hooks.get(key)
H A Dstructures.py102 return self.__dict__.get(key, None)
104 def get(self, key, default=None): member in class:LookupDict
105 return self.__dict__.get(key, default)
/trex/scripts/external_libs/scapy-2.3.1/python2/scapy/contrib/
H A Dppi.py25 return _ppi_types.get(id, _ppi_types.get(default, None))
75 return conf.l2types.get(self.dlt, Packet.guess_payload_class(self, payload))
83 bind_layers(PPI, Dot11, dlt=conf.l2types.get(Dot11))
85 bind_layers(PPI, Ether, dlt=conf.l2types.get(Ether))
/trex/scripts/external_libs/scapy-2.3.1/python3/scapy/contrib/
H A Dppi.py25 return _ppi_types.get(id, _ppi_types.get(default, None))
75 return conf.l2types.get(self.dlt, Packet.guess_payload_class(self, payload))
83 bind_layers(PPI, Dot11, dlt=conf.l2types.get(Dot11))
85 bind_layers(PPI, Ether, dlt=conf.l2types.get(Ether))
/trex/scripts/automation/trex_control_plane/stl/examples/
H A Dstl_flow_stats.py63 flow_stats = global_flow_stats.get(5)
68 tx_pkts = flow_stats['tx_pkts'].get(tx_port, 0)
69 tx_bytes = flow_stats['tx_bytes'].get(tx_port, 0)
70 rx_pkts = flow_stats['rx_pkts'].get(rx_port, 0)
71 rx_bytes = flow_stats['rx_bytes'].get(rx_port, 0)
/trex/scripts/external_libs/pyzmq-14.5.0/python2/ucs2/32bit/zmq/tests/
H A Dtest_ioloop.py79 self.assertEqual(events.get(rep), None)
80 self.assertEqual(events.get(req), None)
85 self.assertEqual(events.get(req), ioloop.IOLoop.WRITE)
86 self.assertEqual(events.get(rep), None)
91 self.assertEqual(events.get(rep), ioloop.IOLoop.READ)
92 self.assertEqual(events.get(req), None)
/trex/scripts/external_libs/pyzmq-14.5.0/python2/ucs2/64bit/zmq/tests/
H A Dtest_ioloop.py79 self.assertEqual(events.get(rep), None)
80 self.assertEqual(events.get(req), None)
85 self.assertEqual(events.get(req), ioloop.IOLoop.WRITE)
86 self.assertEqual(events.get(rep), None)
91 self.assertEqual(events.get(rep), ioloop.IOLoop.READ)
92 self.assertEqual(events.get(req), None)
/trex/scripts/external_libs/pyzmq-14.5.0/python2/ucs4/64bit/zmq/tests/
H A Dtest_ioloop.py79 self.assertEqual(events.get(rep), None)
80 self.assertEqual(events.get(req), None)
85 self.assertEqual(events.get(req), ioloop.IOLoop.WRITE)
86 self.assertEqual(events.get(rep), None)
91 self.assertEqual(events.get(rep), ioloop.IOLoop.READ)
92 self.assertEqual(events.get(req), None)

Completed in 14 milliseconds

1234567891011>>