- Sort Score
- Result 10 results
- Languages All
Results 821 - 830 of 985 for calc (4.43 sec)
-
android/guava/src/com/google/common/eventbus/EventBus.java
* exception. This is rarely the right solution for error handling and should not be relied upon; it * is intended solely to help find problems during development. * * <p>The EventBus guarantees that it will not call a subscriber method from multiple threads * simultaneously, unless the method explicitly allows it by bearing the {@link * AllowConcurrentEvents} annotation. If this annotation is not present, subscriber methods need not
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
// Use spy to avoid actual SMB operations NetworkExplorer spyExplorer = spy(networkExplorer); doNothing().when(spyExplorer).doFile(any(), any(), any()); // Call the method spyExplorer.doFile(request, response, smbFile); // Verify the method was called verify(spyExplorer).doFile(eq(request), eq(response), eq(smbFile)); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0) -
docs/en/docs/tutorial/security/oauth2-jwt.md
Password: `secret` /// check Notice that nowhere in the code is the plaintext password "`secret`", we only have the hashed version. /// <img src="/img/tutorial/security/image08.png"> Call the endpoint `/users/me/`, you will get the response as: ```JSON { "username": "johndoe", "email": "******@****.***", "full_name": "John Doe", "disabled": false } ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// When/Then - Multiple close calls should not throw assertDoesNotThrow(() -> { closeableContext.close(); closeableContext.close(); // Second call closeableContext.close(); // Third call }); } @Test @DisplayName("Should maintain key isolation between instances") void testKeyIsolationBetweenInstances() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt
parts.close() assertFailsWith<IllegalStateException> { part.body.request(10) }.also { expected -> assertThat(expected).hasMessage("closed") } } @Test fun `cannot call nextPart after calling close`() { val parts = MultipartReader( boundary = "simple boundary", source = Buffer(), ) parts.close()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 02:11:14 UTC 2025 - 15.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
Cache<Integer, Integer> cache = CacheBuilder.newBuilder().build(); Callable<Integer> loader = new Callable<Integer>() { private int i = 0; @Override public Integer call() throws Exception { return ++i; } }; cache.put(0, 10); assertEquals(Integer.valueOf(10), cache.get(0, loader)); assertEquals(Integer.valueOf(1), cache.get(20, loader));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 14.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
.isEqualTo(expectation); } if (!expectedValues.containsKey(UNNECESSARY)) { assertWithMessage("Expected roundUnnecessaryShouldThrow call") .that(unnecessaryShouldThrow) .isTrue(); assertThrows( ArithmeticException.class, () -> BigIntegerMath.roundToDouble(input, UNNECESSARY)); } } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt
* 'Content-Encoding: gzip' header. * * Only use this method if you have prior knowledge that the receiving server supports * gzip-compressed requests. * * It is an error to call this multiple times on the same instance. * * @throws IllegalStateException if this request doesn't have a request body, or if it already * has a 'Content-Encoding' header. */ fun gzip() =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 13.1K bytes - Viewed (1) -
cmd/metacache-walk.go
opts.BaseDir[:len(opts.BaseDir)-1]+globalDirSuffix, xlStorageFormatFile)) diskHealthCheckOK(ctx, err) if err == nil { // if baseDir is already a directory object, consider it // as part of the list call, this is AWS S3 specific // behavior. if err := send(metaCacheEntry{ name: opts.BaseDir, metadata: metadata, }); err != nil { return err } } else {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon May 26 07:06:43 UTC 2025 - 12.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt
angry, and wags its tail when it's pleased. Now I growl when I'm pleased, and wag my tail when I'm angry. Therefore I'm mad.' `I call it purring, not growling,' said Alice. `Call it what you like,' said the Cat. `Do you play croquet with the Queen to-day?' `I should like it very much,' said Alice, `but I haven't been invited yet.'
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Apr 21 02:27:51 UTC 2017 - 145.2K bytes - Viewed (0)