- Sort Score
- Result 10 results
- Languages All
Results 991 - 1000 of 1,504 for contained (0.04 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java
byte[] buf = new byte[12]; buf[0] = 0x00; buf[1] = 0x02; // count = 512 in little-endian resp.readParameterWordsWireFormat(buf, 0); String str = resp.toString(); assertTrue(str.contains("count=512"), "toString should include numeric count"); } @Test public void testReturnFromReadParameterWordsWireFormatIs8() { // ensure the method returns 8 as claimed
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java
for (Certificate certificate : chain.connection().handshake().peerCertificates()) { String pin = CertificatePinner.pin(certificate); if (denylist.contains(pin)) { throw new IOException("Denylisted peer certificate: " + pin); } } return chain.proceed(chain.request()); } };
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndXResponse.java
import jcifs.Configuration; import jcifs.internal.SmbBasicFileInfo; import jcifs.internal.smb1.AndXServerMessageBlock; import jcifs.internal.util.SMBUtil; /** * SMB1 Open AndX Response message. * * This response contains information about the opened file, * including file ID, attributes, size, and access permissions. */ public class SmbComOpenAndXResponse extends AndXServerMessageBlock implements SmbBasicFileInfo {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/HandlerTest.java
String pkgs = System.getProperty("java.protocol.handler.pkgs"); if (pkgs == null) { System.setProperty("java.protocol.handler.pkgs", "jcifs.smb1"); } else if (!pkgs.contains("jcifs.smb1")) { System.setProperty("java.protocol.handler.pkgs", pkgs + "|jcifs.smb1"); } } @Test @DisplayName("getDefaultPort returns SMB default port 445")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt
assertNotEquals(sessionIds[0], sessionIds[1]) } else { // With TLSv1.2 it is really JDK specific. // assertEquals(sessionIds[0], sessionIds[1]) // assertThat(directSessionIds).contains(sessionIds[0], sessionIds[1]) } assertThat(sessionIds[0]).isNotEmpty() } } private fun enableTls() { client = client .newBuilder()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 01 12:18:11 UTC 2025 - 5.9K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java
public void testRemoveUnsupported() { Multiset<String> multiset = new NoRemoveMultiset<>(); multiset.add("a"); assertThrows(UnsupportedOperationException.class, () -> multiset.remove("a")); assertTrue(multiset.contains("a")); } private static class NoRemoveMultiset<E extends @Nullable Object> extends AbstractMultiset<E> implements Serializable { final Map<E, Integer> backingMap = new HashMap<>(); @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
assertThat(expected).hasCauseThat().isInstanceOf(IllegalArgumentException.class); assertThat(expected).hasCauseThat().hasMessageThat().contains(badFuture.toString()); } private Future<?> newFutureInstance() throws Exception { return (Future<?>) settableFutureClass.getMethod("create").invoke(null); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 6.2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Primitives.java
import com.google.common.annotations.GwtCompatible; import java.util.Collections; import java.util.LinkedHashMap; import java.util.Map; import java.util.Set; /** * Contains static utility methods pertaining to primitive types and their corresponding wrapper * types. * * @author Kevin Bourrillion * @since 1.0 */ @GwtCompatible public final class Primitives {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 4.8K bytes - Viewed (0) -
okhttp-logging-interceptor/README.md
contents of request and response bodies. This data should only be logged in a controlled way or in a non-production environment. You can redact headers that may contain sensitive information by calling `redactHeader()`. ```java logging.redactHeader("Authorization"); logging.redactHeader("Cookie"); ``` Download -------- ```kotlin
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Oct 30 21:39:59 UTC 2025 - 1.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMap.java
* keys and values are the result of applying the provided mapping functions to the input * elements. The generated map is sorted by the specified comparator. * * <p>If the mapped keys contain duplicates (according to the specified comparator), an {@code * IllegalArgumentException} is thrown when the collection operation is performed. (This differs
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 52.9K bytes - Viewed (0)