- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 53 for approach (0.04 sec)
-
android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java
* * <p>We have chosen this approach over at least two alternatives: * * <ul> * <li>We could change the serialization of this class incompatibly. We have reserved the right * to make such changes to our serialized forms, and we have made them before, usually * without trouble. In this case, my guess is that our chosen approach is even less likely
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 08 22:42:14 UTC 2025 - 22.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
buffer.order(java.nio.ByteOrder.LITTLE_ENDIAN); buffer.putInt((int) counter); } else { // SMB 3.0/3.0.2 CCM: Counter-based approach as per SMB3 specification final long counter = this.nonceCounter.incrementAndGet(); final ByteBuffer buffer = ByteBuffer.wrap(nonce); buffer.order(java.nio.ByteOrder.LITTLE_ENDIAN);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFileTest.java
private SmbFile createMockSmbFile(String url, NtlmPasswordAuthentication auth) throws MalformedURLException { // This is complex due to the class structure. A better approach would be // to refactor SmbFile to be more testable (e.g., dependency injection). // For now, we test methods that don't require deep mocks. return new SmbFile(url, auth); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractStreamingHasher.java
* copying the CharSequence to a String and then calling getBytes(Charset) on that String, in * reality there are optimizations that make the getBytes(Charset) approach considerably faster, * at least for commonly used charsets like UTF-8. */ @Override @CanIgnoreReturnValue public final Hasher putByte(byte b) { buffer.put(b); munchIfFull();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 7.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
import okio.ByteString.Companion.toByteString /** * Logs SSL keys to a log file, allowing Wireshark to decode traffic and be examined with http2 * filter. The approach is to hook into JSSE log events for the messages between client and server * during handshake, and then take the agreed masterSecret from private fields of the session. *
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 10.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt
* parameters, and as it turns out Firefox and Chrome actually do rather different things, and * both say in their comments that they're not really sure what the right approach is. We go * with Chrome's behavior (which also experimentally seems to match what IE does), but if you * actually want to have a good chance of things working, please avoid double-quotes, newlines,Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingMap.java
* #remove} to forward to this implementation. * * <p>Alternately, you may wish to override {@link #remove} with {@code keySet().remove}, assuming * that approach would not lead to an infinite loop. * * @since 7.0 */ protected @Nullable V standardRemove(@Nullable Object key) { Iterator<Entry<K, V>> entryIterator = entrySet().iterator();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 9.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/MoreObjects.java
* Predicates.notNull())}, static importing as necessary. * * <p><b>Note:</b> if {@code first} is represented as an {@link Optional}, this can be * accomplished with {@link Optional#or(Object) first.or(second)}. That approach also allows for * lazy evaluation of the fallback instance, using {@link Optional#or(Supplier) * first.or(supplier)}. * * <p><b>Java 9 users:</b> use {@code java.util.Objects.requireNonNullElse(first, second)}
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 16.1K bytes - Viewed (0) -
docs/features/interceptors.md
Response originalResponse = chain.proceed(chain.request()); return originalResponse.newBuilder() .header("Cache-Control", "max-age=60") .build(); } }; ```
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 8.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMap.java
* #remove} to forward to this implementation. * * <p>Alternately, you may wish to override {@link #remove} with {@code keySet().remove}, assuming * that approach would not lead to an infinite loop. * * @since 7.0 */ protected @Nullable V standardRemove(@Nullable Object key) { Iterator<Entry<K, V>> entryIterator = entrySet().iterator();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 9.8K bytes - Viewed (0)