- Sort Score
- Result 10 results
- Languages All
Results 1231 - 1240 of 1,633 for Results (0.09 sec)
-
guava/src/com/google/common/cache/LocalCache.java
V result = get(key); return (result != null) ? result : defaultValue; } V getOrLoad(K key) throws ExecutionException { return get(key, defaultLoader); } ImmutableMap<K, V> getAllPresent(Iterable<?> keys) { int hits = 0; int misses = 0; ImmutableMap.Builder<K, V> result = ImmutableMap.builder(); for (Object key : keys) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 149.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/MoreExecutors.java
checkNotNull(runnable); // TODO(b/139726489): Confirm that null is impossible here. Thread result = requireNonNull(platformThreadFactory().newThread(runnable)); try { result.setName(name); } catch (SecurityException e) { // OK if we can't set the name in this environment. } return result; } // TODO(lukes): provide overloads for ListeningExecutorService? ListeningScheduledExecutorService?
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 44.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/InterceptorTest.kt
original.writeUtf8(source.readUtf8(byteCount).uppercase()) } } } private fun gzip(data: String): Buffer { val result = Buffer() val sink = GzipSink(result).buffer() sink.writeUtf8(data) sink.close() return result } private fun addInterceptor( network: Boolean, interceptor: Interceptor, ) { val builder = client.newBuilder()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Jan 14 10:20:09 UTC 2024 - 27.8K bytes - Viewed (0) -
schema/relationship_test.go
}, }) } func TestVariableRelation(t *testing.T) { var result struct { User } checkStructRelation(t, &result, Relation{ Name: "Account", Type: schema.HasOne, Schema: "", FieldSchema: "Account", References: []Reference{ {"ID", "", "UserID", "Account", "", true}, }, }) checkStructRelation(t, &result, Relation{
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Apr 15 03:20:20 UTC 2024 - 25.5K bytes - Viewed (0) -
build-logic-commons/code-quality-rules/src/main/java/gradlebuild/codenarc/rules/IntegrationTestFixtureVisitor.java
} } private void checkIndirectOutputContains(Expression objectExpr, MethodCallExpression call) { if (objectExpr instanceof VariableExpression && ((VariableExpression) objectExpr).getName().equals("result")) { String arg = AstUtil.getNodeText(call.getArguments(), getSourceCode()); addViolation(call, "Should use outputContains(" + arg + ") or failure.assertHasCause(" + arg + ") instead"); } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.9K bytes - Viewed (0) -
.gitignore
__* # Eclipse files .classpath .project .settings/** # Files generated by JetBrains IDEs, e.g. IntelliJ IDEA .idea/ *.iml # Vscode files .vscode # This is where the result of the go build goes /output*/ /_output*/ /_output # Emacs save files *~ \#*\# .\#* # Vim-related files [._]*.s[a-w][a-z] [._]s[a-w][a-z] *.un~ Session.vim .netrwhist
Registered: Fri Nov 01 09:05:11 UTC 2024 - Last Modified: Thu Feb 29 08:22:06 UTC 2024 - 2.1K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
types[i] = resolveType(types[i]); } return types; } private Type[] resolveTypes(Type[] types) { Type[] result = new Type[types.length]; for (int i = 0; i < types.length; i++) { result[i] = resolveType(types[i]); } return result; } private WildcardType resolveWildcardType(WildcardType type) { Type[] lowerBounds = type.getLowerBounds();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 24.2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
* one or more such elements. Returns {@code true} if this queue contained the specified element * (or equivalently, if this queue changed as a result of the call). * * @param o element to be removed from this queue, if present * @return {@code true} if this queue changed as a result of the call */ @CanIgnoreReturnValue @Override public boolean remove(@Nullable Object o) { if (o == null) return false;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 22.5K bytes - Viewed (0) -
internal/lock/lock_test.go
t.Fatal(err) } // Now file should be closed. isClosed = rlk.IsClosed() if !isClosed { t.Fatal("File ref count should be zero") } // Closing a file again should result in invalid argument. if err = rlk.Close(); err != os.ErrInvalid { t.Fatal(err) } _, err = newRLockedFile(nil) if err != os.ErrInvalid { t.Fatal("Unexpected error", err) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 3.6K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
upperVersion = new DefaultArtifactVersion(upperBound); } if (upperVersion != null && lowerVersion != null) { int result = upperVersion.compareTo(lowerVersion); if (result < 0 || (result == 0 && (!lowerBoundInclusive || !upperBoundInclusive))) { throw new InvalidVersionSpecificationException("Range defies version ordering: " + spec); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 19K bytes - Viewed (0)