- Sort Score
- Num 10 results
- Language All
Results 811 - 820 of 1,413 for results2 (0.05 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt
val atomicTags = AtomicReference<Tags>(tags) val result = atomicTags.computeIfAbsent(String::class) { // 'Race' by making another computeIfAbsent call. In practice this would be another thread. assertThat(atomicTags.computeIfAbsent(Integer::class) { 5 as Integer }).isEqualTo(5) "a" } assertThat(result).isEqualTo("a") assertThat(atomicTags.get()[String::class]).isEqualTo("a")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Oct 24 11:37:46 GMT 2025 - 7.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/AbstractIterator.java
* {@code next} invocation that invoked this method. Any further attempts to use the iterator will * result in an {@link IllegalStateException}. * * <p>The implementation of this method may not invoke the {@code hasNext}, {@code next}, or * {@link #peek()} methods on this instance; if it does, an {@code IllegalStateException} will * result. * * @return the next element if there was one. If {@code endOfData} was called during execution,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 6.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java
request.setPom(project.getModel()); try { PluginPrefixResult result = pluginPrefixResolver.resolve(request); Plugin plugin = new Plugin(); plugin.setGroupId(result.getGroupId()); plugin.setArtifactId(result.getArtifactId()); return plugin; } catch (NoPluginFoundForPrefixException e) { return null;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 10.1K bytes - Click Count (0) -
internal/config/identity/plugin/config.go
result.MaxValiditySeconds, minValidityDurationSeconds, maxValidityDurationSeconds) } return AuthNResponse{ Success: &result, }, nil case 403: var result AuthNErrorResponse if err = json.NewDecoder(resp.Body).Decode(&result); err != nil { return AuthNResponse{}, err } return AuthNResponse{ Failure: &result, }, nil default:Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
long time, TimeUnit unit, ScheduledExecutorService scheduledExecutor) { TimeoutFuture<V> result = new TimeoutFuture<>(delegate); Fire<V> fire = new Fire<>(result); result.timer = scheduledExecutor.schedule(fire, time, unit); delegate.addListener(fire, directExecutor()); return result; } /* * Memory visibility of these fields. There are two cases to consider. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 8K bytes - Click Count (0) -
docs/es/docs/async.md
Si estás usando paquetes de terceros que te dicen que los llames con `await`, como: ```Python results = await some_library() ``` Entonces, declara tus *path operation functions* con `async def` así: ```Python hl_lines="2" @app.get('/') async def read_results(): results = await some_library() return results ``` /// note | Nota Solo puedes usar `await` dentro de funciones creadas con `async def`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 24.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/ScriptEngineExceptionTest.java
String message = "Script engine test error"; ScriptEngineException exception = new ScriptEngineException(message); String result = exception.toString(); assertNotNull(result); assertTrue(result.contains("ScriptEngineException")); assertTrue(result.contains(message)); } @Test public void test_withComplexCauseChain() { // Test with a chain of exceptions
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionInternalTest.java
@ValueSource(booleans = { true, false }) void isInUse_variants(boolean inUse) { when(session.isInUse()).thenReturn(inUse); boolean result = session.isInUse(); assertEquals(inUse, result); verify(session, times(1)).isInUse(); } // Happy path + edge: getSessionKey returns bytes, empty and null @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
int result = NtlmMessage.readULong(a, 0); assertEquals(0x04030201, result, "ULong should be little‑endian"); } @Test @DisplayName("readUShort correctly interprets little endian") void testReadUShort() { byte[] a = new byte[] { (byte) 0xAA, (byte) 0xBB }; int result = NtlmMessage.readUShort(a, 0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/util/SettingsResourceLoader.java
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sun Feb 01 12:48:24 GMT 2026 - 5.7K bytes - Click Count (0)