/external/grpc-grpc/examples/python/multiplex/ |
route_guide_resources.py | 28 feature_list = [] 36 feature_list.append(feature) 37 return feature_list
|
multiplex_client.py | 68 def generate_route(feature_list): 70 random_feature = feature_list[random.randint(0, len(feature_list) - 1)] 77 feature_list = route_guide_resources.read_route_guide_database() 79 route_iterator = generate_route(feature_list)
|
/external/grpc-grpc/examples/python/route_guide/ |
route_guide_resources.py | 28 feature_list = [] 36 feature_list.append(feature) 37 return feature_list
|
route_guide_client.py | 64 def generate_route(feature_list): 66 random_feature = feature_list[random.randint(0, len(feature_list) - 1)] 72 feature_list = route_guide_resources.read_route_guide_database() 74 route_iterator = generate_route(feature_list)
|
/external/libchrome/base/ |
feature_list_unittest.cc | 5 #include "base/feature_list.h" 36 std::string SortFeatureListString(const std::string& feature_list) { 38 FeatureList::SplitFeatureListString(feature_list); 52 void RegisterFeatureListInstance(std::unique_ptr<FeatureList> feature_list) { 54 feature_list_ = feature_list.get(); 55 FeatureList::SetInstance(std::move(feature_list)); 62 FeatureList* feature_list() { return feature_list_; } function in class:base::FeatureListTest 99 std::unique_ptr<FeatureList> feature_list(new FeatureList); 100 feature_list->InitializeFromCommandLine(test_case.enable_features, 102 RegisterFeatureListInstance(std::move(feature_list)); [all...] |
feature_list.cc | 5 #include "base/feature_list.h" 41 // values as the OverrideState enum in feature_list.h 247 std::unique_ptr<base::FeatureList> feature_list(new base::FeatureList); 248 feature_list->InitializeFromCommandLine(enable_features, disable_features); 249 base::FeatureList::SetInstance(std::move(feature_list)); 340 const std::string& feature_list, 342 for (const auto& value : SplitFeatureListString(feature_list)) {
|
feature_list.h | 256 // For each feature name in comma-separated list of strings |feature_list|, 260 void RegisterOverridesFromCommandLine(const std::string& feature_list,
|
/external/grpc-grpc/examples/cpp/route_guide/ |
helper.h | 30 void ParseDb(const std::string& db, std::vector<Feature>* feature_list);
|
helper.cc | 140 void ParseDb(const std::string& db, std::vector<Feature>* feature_list) { 141 feature_list->clear(); 150 feature_list->push_back(Feature()); 151 if (!parser.TryParseOne(&feature_list->back())) { 153 feature_list->clear(); 157 std::cout << "DB parsed, loaded " << feature_list->size()
|
route_guide_server.cc | 75 const std::vector<Feature>& feature_list) { 76 for (const Feature& f : feature_list) {
|
/external/libchrome/base/test/ |
scoped_feature_list.cc | 104 std::unique_ptr<FeatureList> feature_list(new FeatureList); 105 feature_list->InitializeFromCommandLine(std::string(), std::string()); 106 InitWithFeatureList(std::move(feature_list)); 110 std::unique_ptr<FeatureList> feature_list) { 113 FeatureList::SetInstance(std::move(feature_list)); 120 std::unique_ptr<FeatureList> feature_list(new FeatureList); 121 feature_list->InitializeFromCommandLine(enable_features, disable_features); 122 InitWithFeatureList(std::move(feature_list)); 164 FeatureList* feature_list = FeatureList::GetInstance(); local 172 if (feature_list) { [all...] |
scoped_feature_list_unittest.cc | 42 std::unique_ptr<FeatureList> feature_list(new FeatureList); 43 feature_list->InitializeFromCommandLine(std::string(), std::string()); 45 FeatureList::SetInstance(std::move(feature_list)); 94 test::ScopedFeatureList feature_list; local 96 feature_list.InitAndEnableFeatureWithParameters(kTestFeature1, parameters); 231 std::unique_ptr<FeatureList> feature_list(new FeatureList); 234 feature_list->RegisterFieldTrialOverride( 236 feature_list1.InitWithFeatureList(std::move(feature_list)); 248 std::unique_ptr<FeatureList> feature_list(new FeatureList); 251 feature_list->RegisterFieldTrialOverride [all...] |
scoped_feature_list.h | 13 #include "base/feature_list.h" 50 void InitWithFeatureList(std::unique_ptr<FeatureList> feature_list);
|
/external/tensorflow/tensorflow/core/example/ |
feature_util.cc | 55 auto& feature_list = sequence_example.feature_lists().feature_list(); local 56 return (feature_list.find(key) != feature_list.end()); 95 return sequence_example.feature_lists().feature_list().at(key).feature();
|
/external/grpc-grpc/examples/node/dynamic_codegen/route_guide/ |
route_guide_server.js | 49 var feature_list = []; variable 60 for (var i = 0; i < feature_list.length; i++) { 61 feature = feature_list[i]; 99 _.each(feature_list, function(feature) { 239 feature_list = JSON.parse(data);
|
route_guide_client.js | 119 var feature_list = JSON.parse(data); 157 var rand_point = feature_list[_.random(0, feature_list.length - 1)];
|
/external/grpc-grpc/examples/node/static_codegen/route_guide/ |
route_guide_server.js | 40 var feature_list = []; variable 51 for (var i = 0; i < feature_list.length; i++) { 52 feature = feature_list[i]; 89 _.each(feature_list, function(feature) { 230 feature_list = _.map(JSON.parse(data), function(value) {
|
route_guide_client.js | 109 var feature_list = _.map(JSON.parse(data), function(value) { 151 var rand_point = feature_list[_.random(0, feature_list.length - 1)];
|
/external/tensorflow/tensorflow/python/tools/ |
saved_model_cli.py | 448 feature_list}];input_key2=[{feature_name:feature_list}];' into a dictionary 456 items in feature_list can be the type of float, int, long or str. 479 for feature_name, feature_list in example_dict.items(): 480 if not isinstance(feature_list, list): 482 (feature_name, feature_list, type(feature_list))) 483 if isinstance(feature_list[0], float): 485 feature_list) 486 elif isinstance(feature_list[0], str) [all...] |
/external/e2fsprogs/lib/e2p/ |
feature.c | 29 static struct feature feature_list[] = { variable in typeref:struct:feature 139 for (f = feature_list; f->string; f++) { 169 for (f = feature_list; f->string; f++) { 395 f = feature_list;
|
/art/runtime/arch/ |
instruction_set_features.h | 79 const std::string& feature_list, std::string* error_msg) const WARN_UNUSED;
|
instruction_set_features.cc | 199 const std::string& feature_list, /* out */ std::string* error_msg) const { 201 Split(feature_list, ',', &features);
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
parsing_ops_test.py | 51 feature_list = lambda l: feature_pb2.FeatureList(feature=l) variable 52 feature_lists = lambda d: feature_pb2.FeatureLists(feature_list=d) [all...] |
/external/tensorflow/tensorflow/contrib/feature_column/python/feature_column/ |
sequence_feature_column_integration_test.py | 47 example.feature_lists.feature_list['int_list'].feature.extend([feat]) 51 example.feature_lists.feature_list['str_list'].feature.extend([feat]) 192 feature_list { 216 feature_list { 242 feature_list {
|
/external/tensorflow/tensorflow/python/feature_column/ |
sequence_feature_column_integration_test.py | 47 example.feature_lists.feature_list['int_list'].feature.extend([feat]) 51 example.feature_lists.feature_list['str_list'].feature.extend([feat]) 194 feature_list { 218 feature_list { 244 feature_list {
|