/external/google-breakpad/src/testing/include/gmock/ |
gmock-cardinalities.h | 48 // To implement a cardinality Foo, define: 51 // 2. a factory function that creates a Cardinality object from a 56 // management as Cardinality objects can now be copied like plain values. 58 // The implementation of a cardinality. 68 // Returns true iff call_count calls will satisfy this cardinality. 71 // Returns true iff call_count calls will saturate this cardinality. 78 // A Cardinality is a copyable and IMMUTABLE (except by assignment) 80 // be called. The implementation of Cardinality is just a linked_ptr 82 // Don't inherit from Cardinality! 83 class GTEST_API_ Cardinality { [all...] |
/external/googletest/googlemock/include/gmock/ |
gmock-cardinalities.h | 53 // To implement a cardinality Foo, define: 56 // 2. a factory function that creates a Cardinality object from a 61 // management as Cardinality objects can now be copied like plain values. 63 // The implementation of a cardinality. 73 // Returns true iff call_count calls will satisfy this cardinality. 76 // Returns true iff call_count calls will saturate this cardinality. 83 // A Cardinality is a copyable and IMMUTABLE (except by assignment) 85 // be called. The implementation of Cardinality is just a std::shared_ptr 86 // to const CardinalityInterface. Don't inherit from Cardinality! 87 class GTEST_API_ Cardinality { [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/include/gmock/ |
gmock-cardinalities.h | 48 // To implement a cardinality Foo, define: 51 // 2. a factory function that creates a Cardinality object from a 56 // management as Cardinality objects can now be copied like plain values. 58 // The implementation of a cardinality. 68 // Returns true iff call_count calls will satisfy this cardinality. 71 // Returns true iff call_count calls will saturate this cardinality. 78 // A Cardinality is a copyable and IMMUTABLE (except by assignment) 80 // be called. The implementation of Cardinality is just a linked_ptr 82 // Don't inherit from Cardinality! 83 class GTEST_API_ Cardinality { [all...] |
/external/grpc-grpc/src/python/grpcio/grpc/framework/common/ |
cardinality.py | 20 class Cardinality(enum.Enum):
|
/external/google-breakpad/src/testing/src/ |
gmock-cardinalities.cc | 49 // Implements the Between(m, n) cardinality. 107 // Describes the Between(m, n) cardinality in human-friendly text. 130 void Cardinality::DescribeActualCallCountTo(int actual_call_count, 139 // Creates a cardinality that allows at least n calls. 140 GTEST_API_ Cardinality AtLeast(int n) { return Between(n, INT_MAX); } 142 // Creates a cardinality that allows at most n calls. 143 GTEST_API_ Cardinality AtMost(int n) { return Between(0, n); } 145 // Creates a cardinality that allows any number of calls. 146 GTEST_API_ Cardinality AnyNumber() { return AtLeast(0); } 148 // Creates a cardinality that allows between min and max calls [all...] |
/external/googletest/googlemock/src/ |
gmock-cardinalities.cc | 48 // Implements the Between(m, n) cardinality. 106 // Describes the Between(m, n) cardinality in human-friendly text. 129 void Cardinality::DescribeActualCallCountTo(int actual_call_count, 138 // Creates a cardinality that allows at least n calls. 139 GTEST_API_ Cardinality AtLeast(int n) { return Between(n, INT_MAX); } 141 // Creates a cardinality that allows at most n calls. 142 GTEST_API_ Cardinality AtMost(int n) { return Between(0, n); } 144 // Creates a cardinality that allows any number of calls. 145 GTEST_API_ Cardinality AnyNumber() { return AtLeast(0); } 147 // Creates a cardinality that allows between min and max calls [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googlemock/src/ |
gmock-cardinalities.cc | 49 // Implements the Between(m, n) cardinality. 107 // Describes the Between(m, n) cardinality in human-friendly text. 130 void Cardinality::DescribeActualCallCountTo(int actual_call_count, 139 // Creates a cardinality that allows at least n calls. 140 GTEST_API_ Cardinality AtLeast(int n) { return Between(n, INT_MAX); } 142 // Creates a cardinality that allows at most n calls. 143 GTEST_API_ Cardinality AtMost(int n) { return Between(0, n); } 145 // Creates a cardinality that allows any number of calls. 146 GTEST_API_ Cardinality AnyNumber() { return AtLeast(0); } 148 // Creates a cardinality that allows between min and max calls [all...] |
/external/google-breakpad/src/testing/test/ |
gmock-cardinalities_test.cc | 47 using testing::Cardinality; 62 // Tests that Cardinality objects can be default constructed. 64 Cardinality c; 67 // Tests that Cardinality objects are copyable. 70 Cardinality c = Exactly(1); 83 const Cardinality c = AtMost(5); 89 // Tests that Cardinality::DescribeActualCallCountTo() creates the 93 Cardinality::DescribeActualCallCountTo(0, &ss0); 97 Cardinality::DescribeActualCallCountTo(1, &ss1); 101 Cardinality::DescribeActualCallCountTo(2, &ss2) [all...] |
/external/googletest/googlemock/test/ |
gmock-cardinalities_test.cc | 46 using testing::Cardinality; 61 // Tests that Cardinality objects can be default constructed. 63 Cardinality c; 66 // Tests that Cardinality objects are copyable. 69 Cardinality c = Exactly(1); 82 const Cardinality c = AtMost(5); 88 // Tests that Cardinality::DescribeActualCallCountTo() creates the 92 Cardinality::DescribeActualCallCountTo(0, &ss0); 96 Cardinality::DescribeActualCallCountTo(1, &ss1); 100 Cardinality::DescribeActualCallCountTo(2, &ss2) [all...] |
/external/grpc-grpc/src/python/grpcio/grpc/framework/interfaces/face/ |
utilities.py | 19 from grpc.framework.common import cardinality 27 'cardinality', 52 return _MethodImplementation(cardinality.Cardinality.UNARY_UNARY, 68 return _MethodImplementation(cardinality.Cardinality.UNARY_STREAM, 84 return _MethodImplementation(cardinality.Cardinality.STREAM_UNARY, 100 return _MethodImplementation(cardinality.Cardinality.STREAM_STREAM [all...] |
/external/tensorflow/tensorflow/core/kernels/data/ |
graph_rewrite_dataset.h | 62 int64 Cardinality() const override { return input_->Cardinality(); }
|
take_dataset_op.h | 55 int64 Cardinality() const override { 56 int64 n = input_->Cardinality();
|
dataset_ops.cc | 58 result->scalar<int64>()() = dataset->Cardinality();
|
concatenate_dataset_op.cc | 82 int64 Cardinality() const override { 83 int64 n1 = input_->Cardinality(); 84 int64 n2 = to_concatenate_->Cardinality();
|
window_dataset.cc | 52 int64 Cardinality() const override { return elements_.size(); }
|
/external/grpc-grpc/src/python/grpcio/grpc/beta/ |
_server_adaptations.py | 23 from grpc.framework.common import cardinality 260 if implementation.cardinality is cardinality.Cardinality.UNARY_UNARY: 266 elif implementation.cardinality is cardinality.Cardinality.UNARY_STREAM: 272 elif implementation.cardinality is cardinality.Cardinality.STREAM_UNARY [all...] |
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/beta/ |
_beta_features_test.py | 21 from grpc.framework.common import cardinality 155 _UNARY_UNARY: cardinality.Cardinality.UNARY_UNARY, 156 _UNARY_STREAM: cardinality.Cardinality.UNARY_STREAM, 157 _STREAM_UNARY: cardinality.Cardinality.STREAM_UNARY, 158 _STREAM_STREAM: cardinality.Cardinality.STREAM_STREAM, 286 _UNARY_UNARY: cardinality.Cardinality.UNARY_UNARY [all...] |
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
non_serializable_dataset_op.cc | 78 int64 Cardinality() const override { return input_->Cardinality(); }
|
sleep_dataset_op.cc | 70 int64 Cardinality() const override { return input_->Cardinality(); }
|
stats_dataset_ops.cc | 78 int64 Cardinality() const override { return input_->Cardinality(); } 188 int64 Cardinality() const override { return input_->Cardinality(); }
|
choose_fastest_dataset_op.cc | 94 int64 cardinality = inputs[0]->Cardinality(); variable 96 if (cardinality == kUnknownCardinality) { 97 cardinality = inputs[i]->Cardinality(); 101 inputs[i]->Cardinality() == cardinality || 102 inputs[i]->Cardinality() == kUnknownCardinality, 106 i, " has cardinality: ", inputs[i]->Cardinality(), [all...] |
threadpool_dataset_op.cc | 173 int64 Cardinality() const override { return input_->Cardinality(); } 280 int64 Cardinality() const override { return input_->Cardinality(); } 380 int64 Cardinality() const override { return input_->Cardinality(); }
|
assert_next_dataset_op.cc | 79 int64 Cardinality() const override { return input_->Cardinality(); }
|
ignore_errors_dataset_op.cc | 63 int64 Cardinality() const override { return input_->Cardinality(); }
|
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
Type.cs | 65 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.WellKnownTypes.Field), global::Google.Protobuf.WellKnownTypes.Field.Parser, new[]{ "Kind", "Cardinality", "Number", "Name", "TypeUrl", "OneofIndex", "Packed", "Options", "JsonName", "DefaultValue" }, null, new[]{ typeof(global::Google.Protobuf.WellKnownTypes.Field.Types.Kind), typeof(global::Google.Protobuf.WellKnownTypes.Field.Types.Cardinality) }, null), 385 /// <summary>Field number for the "cardinality" field.</summary> 387 private global::Google.Protobuf.WellKnownTypes.Field.Types.Cardinality cardinality_ = 0; 389 /// The field cardinality. 391 public global::Google.Protobuf.WellKnownTypes.Field.Types.Cardinality Cardinality { 515 if (Cardinality != other.Cardinality) return false; 530 if (Cardinality != 0) hash ^= Cardinality.GetHashCode() [all...] |