HomeSort by relevance Sort by last modified time
    Searched defs:WithValue (Results 1 - 7 of 7) sorted by null

  /external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/collection/
IsIterableContainingInOrderTest.java 17 private final Matcher<Iterable<? extends WithValue>> contains123 = contains(value(1), value(2), value(3));
37 List<WithValue> valueList = asList(make(1), make(2));
50 assertMismatchDescription("no item was value with <4>", contains(value(4)), new ArrayList<WithValue>());
61 public static class WithValue {
63 public WithValue(int value) { this.value = value; }
65 @Override public String toString() { return "WithValue " + value; }
68 public static WithValue make(int value) {
69 return new WithValue(value);
72 public static Matcher<WithValue> value(int value) {
73 return new FeatureMatcher<WithValue, Integer>(equalTo(value), "value with", "value")
    [all...]
IsIterableContainingInRelativeOrderTest.java 17 private final Matcher<Iterable<? extends WithValue>> contains123 = containsInRelativeOrder(value(1), value(2), value(3));
57 List<WithValue> valueList = asList(make(1), make(2));
58 assertMismatchDescription("value with <3> was not found after <WithValue 2>", contains123, valueList);
66 assertMismatchDescription("value with <3> was not found after <WithValue 2>", contains123, asList(make(1), make(2), make(4)));
70 assertMismatchDescription("value with <4> was not found", containsInRelativeOrder(value(4)), new ArrayList<WithValue>());
77 public static class WithValue {
79 public WithValue(int value) { this.value = value; }
81 @Override public String toString() { return "WithValue " + value; }
84 public static WithValue make(int value) {
85 return new WithValue(value)
    [all...]
  /prebuilts/go/darwin-x86/src/context/
context.go 13 // WithTimeout, or WithValue. When a Context is canceled, all
116 // variable then use that key as the argument to context.WithValue and
143 // return context.WithValue(ctx, userKey, u)
454 // WithValue returns a copy of parent in which the value associated with key is
462 // packages using context. Users of WithValue should define their own
467 func WithValue(parent Context, key, val interface{}) Context {
485 return fmt.Sprintf("%v.WithValue(%#v, %#v)", c.Context, c.key, c.val)
  /prebuilts/go/linux-x86/src/context/
context.go 13 // WithTimeout, or WithValue. When a Context is canceled, all
116 // variable then use that key as the argument to context.WithValue and
143 // return context.WithValue(ctx, userKey, u)
454 // WithValue returns a copy of parent in which the value associated with key is
462 // packages using context. Users of WithValue should define their own
467 func WithValue(parent Context, key, val interface{}) Context {
485 return fmt.Sprintf("%v.WithValue(%#v, %#v)", c.Context, c.key, c.val)
  /art/cmdline/
cmdline_parser.h 141 ArgumentBuilder<TArg> WithValue(const TArg& value) {
305 ArgumentBuilder<TArg> WithValue(const TArg& value) {
  /external/tensorflow/tensorflow/core/framework/
shape_inference.cc 384 Status InferenceContext::WithValue(DimensionHandle dim, int64 value,
    [all...]
  /prebuilts/tools/common/m2/repository/com/google/truth/truth/0.24/
truth-0.24.jar 

Completed in 223 milliseconds