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

  /external/syzkaller/vendor/golang.org/x/net/context/
go17.go 65 // WithValue returns a copy of parent in which the value associated with key is
70 func WithValue(parent Context, key interface{}, val interface{}) Context {
71 return context.WithValue(parent, key, val)
pre_go17.go 275 // WithValue returns a copy of parent in which the value associated with key is
280 func WithValue(parent Context, key interface{}, val interface{}) Context {
292 return fmt.Sprintf("%v.WithValue(%#v, %#v)", c.Context, c.key, c.val)
  /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...]
  /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 421 Status InferenceContext::WithValue(DimensionHandle dim, int64 value,
    [all...]

Completed in 261 milliseconds