- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for value_or (0.22 sec)
-
src/fmt/fmt_test.go
// Issue 8965. {"%v", reflect.ValueOf(A{}).Field(0).String(), "<int Value>"}, // Equivalent to the old way. {"%v", reflect.ValueOf(A{}).Field(0), "0"}, // Sees inside the field. // verbs apply to the extracted value too. {"%s", reflect.ValueOf("hello"), "hello"}, {"%q", reflect.ValueOf("hello"), `"hello"`}, {"%#04x", reflect.ValueOf(256), "0x0100"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:31:55 UTC 2024 - 58.6K bytes - Viewed (0) -
guava/src/com/google/common/base/Preconditions.java
* string using {@link String#valueOf(Object)} * @throws IllegalArgumentException if {@code expression} is false */ public static void checkArgument(boolean expression, @CheckForNull Object errorMessage) { if (!expression) { throw new IllegalArgumentException(String.valueOf(errorMessage)); } } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 11 11:52:14 UTC 2024 - 52.9K bytes - Viewed (0) -
src/go/printer/nodes.go
case "0O": x = "0o" + x[2:] case "0o": return lit // nothing to do case "0B": x = "0b" + x[2:] case "0b": return lit // nothing to do } return &ast.BasicLit{ValuePos: lit.ValuePos, Kind: lit.Kind, Value: x} } func (p *printer) possibleSelectorExpr(expr ast.Expr, prec1, depth int) bool { if x, ok := expr.(*ast.SelectorExpr); ok { return p.selectorExpr(x, depth, true) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 17 18:53:17 UTC 2023 - 52.6K bytes - Viewed (0) -
pkg/scheduler/framework/runtime/framework.go
newPlugins = reflect.Append(newPlugins, reflect.ValueOf(f.pluginsMap[name])) enabledSet.delete(name) } } // part 2 for _, name := range multiPointEnabled.list { newPlugins = reflect.Append(newPlugins, reflect.ValueOf(f.pluginsMap[name])) } // part 3 for _, name := range enabledSet.list { newPlugins = reflect.Append(newPlugins, reflect.ValueOf(f.pluginsMap[name])) } plugins.Set(newPlugins)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 60.9K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h
template <typename T> class ThreadLocal { public: ThreadLocal() : value_() {} explicit ThreadLocal(const T& value) : value_(value) {} T* pointer() { return &value_; } const T* pointer() const { return &value_; } const T& get() const { return value_; } void set(const T& value) { value_ = value; } private: T value_; }; // The above synchronization primitives have dummy implementations.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 67.2K bytes - Viewed (0) -
maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Feb 28 23:31:59 UTC 2024 - 72.6K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java
String[] secondSegments = second.split("\\."); for (int i = 0; i < Math.max(firstSegments.length, secondSegments.length); i++) { int result = Long.valueOf(i < firstSegments.length ? firstSegments[i] : "0") .compareTo(Long.valueOf(i < secondSegments.length ? secondSegments[i] : "0")); if (result != 0) { return result; } } return 0;
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Jun 10 11:04:53 UTC 2024 - 73.9K bytes - Viewed (0) -
okhttp/api/okhttp.api
public static final field IPV4 Lokhttp3/AsyncDns$DnsClass; public static final field IPV6 Lokhttp3/AsyncDns$DnsClass; public static fun getEntries ()Lkotlin/enums/EnumEntries; public final fun getType ()I public static fun valueOf (Ljava/lang/String;)Lokhttp3/AsyncDns$DnsClass; public static fun values ()[Lokhttp3/AsyncDns$DnsClass; } public abstract interface class okhttp3/Authenticator {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 70.2K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest.h
// TestProperty object. TestProperty(const std::string& a_key, const std::string& a_value) : key_(a_key), value_(a_value) { } // Gets the user supplied key. const char* key() const { return key_.c_str(); } // Gets the user supplied value. const char* value() const { return value_.c_str(); } // Sets a new value, overriding the one supplied in the constructor.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 86.4K bytes - Viewed (0) -
src/go/parser/parser.go
p.errorExpected(pos, "field name or embedded type") p.advance(exprEnd) typ = &ast.BadExpr{From: pos, To: p.pos} } var tag *ast.BasicLit if p.tok == token.STRING { tag = &ast.BasicLit{ValuePos: p.pos, Kind: p.tok, Value: p.lit} p.next() } comment := p.expectSemi() field := &ast.Field{Doc: doc, Names: names, Type: typ, Tag: tag, Comment: comment} return field }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 20:07:50 UTC 2023 - 72.2K bytes - Viewed (0)