- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 464 for AVOID (0.03 sec)
-
android/guava/src/com/google/common/eventbus/EventBus.java
import java.util.concurrent.Executor; import java.util.logging.Level; import java.util.logging.Logger; /** * Dispatches events to listeners, and provides ways for listeners to register themselves. * * <h2>Avoid EventBus</h2> * * <p><b>We recommend against using EventBus.</b> It was designed many years ago, and newer * libraries offer better ways to decouple components and react to events. *
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
when(smbFile.length()).thenReturn((long) contentBytes.length); when(smbFile.getInputStream()).thenReturn(new ByteArrayInputStream(contentBytes)); // Use spy to avoid actual SMB operations NetworkExplorer spyExplorer = spy(networkExplorer); doNothing().when(spyExplorer).doFile(any(), any(), any()); // Call the method
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
Using these ideas, JWT can be used for way more sophisticated scenarios. In those cases, several of those entities could have the same ID, let's say `foo` (a user `foo`, a car `foo`, and a blog post `foo`). So, to avoid ID collisions, when creating the JWT token for the user, you could prefix the value of the `sub` key, e.g. with `username:`. So, in this example, the value of `sub` could have been: `username:johndoe`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 10.5K bytes - Viewed (0) -
docs/security/README.md
The *Secure Channel* splits the object content into chunks of a fixed size of `65536` bytes. The last chunk may be smaller to avoid adding additional overhead and is treated specially to prevent truncation attacks. The nonce value is 96 bits long and generated randomly per object / multi-part part. The *Secure Channel* supports plaintexts up to `65536 * 2^32 = 256 TiB`.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Feb 26 09:25:50 UTC 2025 - 13.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcMessageTest.java
message.flags = DcerpcConstants.RPC_C_PF_BROADCAST; message.length = 100; message.call_id = 5; // Use lenient stubbing to avoid UnnecessaryStubbingException lenient().doNothing().when(mockBuffer).enc_ndr_small(anyInt()); lenient().doNothing().when(mockBuffer).enc_ndr_long(anyInt());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Preconditions.java
* {@snippet : * void exampleBadCaller() { * double d = sqrt(-1.0); * } * } * * <p>would be flagged as having called {@code sqrt()} with an illegal argument. * * <h3>Performance</h3> * * <p>Avoid passing message arguments that are expensive to compute; your code will always compute * them, even though they usually won't be needed. If you have such arguments, use the conventional * if/throw idiom instead. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 10 22:11:00 UTC 2025 - 53K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt
apply { this.url = url } /** * Sets the URL target of this request. * * @throws IllegalArgumentException if [url] is not a valid HTTP or HTTPS URL. Avoid this * exception by calling [HttpUrl.parse]; it returns null for invalid URLs. */ open fun url(url: String): Builder = url(canonicalUrl(url).toHttpUrl())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 13.1K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/mylasta/direction/FessConfigTest.java
public boolean is(String propertyKey) { String value = get(propertyKey); return "true".equalsIgnoreCase(value); } // Override getDayForCleanup to avoid ComponentUtil dependency public int getDayForCleanup() { return 3; } }; ComponentUtil.register(fessConfig, FessConfig.class.getCanonicalName()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 23.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java
// Single Unicode character testTransformer.setName("あ"); assertEquals("あ", testTransformer.getName()); // Maximum practical length (avoid OutOfMemoryError) StringBuilder maxName = new StringBuilder(); for (int i = 0; i < 1000; i++) { maxName.append("0123456789"); } testTransformer.setName(maxName.toString());
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 20.8K bytes - Viewed (0)