- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 199 for 0x200 (0.03 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/StatusLineTest.kt
} @Test fun protocolVersions() { assertInvalid("HTTP/2.0 200 OK") assertInvalid("HTTP/2.1 200 OK") assertInvalid("HTTP/-.1 200 OK") assertInvalid("HTTP/1.- 200 OK") assertInvalid("HTTP/0.1 200 OK") assertInvalid("HTTP/101 200 OK") assertInvalid("HTTP/1.1_200 OK") } @Test fun nonThreeDigitCode() { assertInvalid("HTTP/1.1 OK") assertInvalid("HTTP/1.1 2 OK")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3.5K bytes - Click Count (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt
assertThat(Buffer().writeUtf8("Слава Україні!").isProbablyUtf8(16L)).isTrue() assertThat(Buffer().writeByte(0x80).isProbablyUtf8(16L)).isTrue() assertThat(Buffer().writeByte(0x00).isProbablyUtf8(16L)).isFalse() assertThat(Buffer().writeByte(0xc0).isProbablyUtf8(16L)).isFalse() } @Test fun doesNotConsumeBuffer() { val buffer = Buffer() buffer.writeUtf8("hello ".repeat(1024))
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Oct 06 22:47:06 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/jcifs/util/StringsTest.java
System.arraycopy(stringBytes, 0, bufferWithTermination, 0, stringBytes.length); bufferWithTermination[stringBytes.length] = 0x00; bufferWithTermination[stringBytes.length + 1] = 0x00; // When int terminationPos = Strings.findUNITermination(bufferWithTermination, 0, bufferWithTermination.length); // Then
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
} /** * Test constructor with a malformed ASN.1 token. */ @Test void testConstructor_MalformedToken() { // 1. GIVEN byte[] malformedToken = new byte[] { 0x00, 0x01, 0x02, 0x03 }; // Not a valid ASN.1 sequence Map<Integer, KerberosKey> keys = new HashMap<>(); // 2. WHEN & 3. THEN PACDecodingException exception = assertThrows(PACDecodingException.class, () -> {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/ACE.java
* @return the text describing what this ACE applies to */ public String getApplyToText() { switch (flags & (FLAGS_OBJECT_INHERIT | FLAGS_CONTAINER_INHERIT | FLAGS_INHERIT_ONLY)) { case 0x00: return "This folder only"; case 0x03: return "This folder, subfolders and files"; case 0x0B: return "Subfolders and files only"; case 0x02:Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.8K bytes - Click Count (0) -
android/guava/src/com/google/common/io/BaseEncoding.java
super(alphabet, null); checkArgument(alphabet.chars.length == 16); for (int i = 0; i < 256; ++i) { encoding[i] = alphabet.encode(i >>> 4); encoding[i | 0x100] = alphabet.encode(i & 0xF); } } @Override void encodeTo(Appendable target, byte[] bytes, int off, int len) throws IOException { checkNotNull(target);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 41.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/NetServerEnum2.java
subCommand = NET_SERVER_ENUM2; // not really true be used by upper logic name = "\\PIPE\\LANMAN"; maxParameterCount = 8; maxDataCount = 16384; maxSetupCount = (byte) 0x00; setupCount = 0; timeout = 5000; } @Override void reset(final int key, final String lastName) { super.reset(); this.lastName = lastName; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 3.6K bytes - Click Count (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
*/ public static final int MUTUAL_AUTHENTICATION = 0x40; /** * Context flag for replay detection capability */ public static final int REPLAY_DETECTION = 0x20; /** * Context flag for sequence checking capability */ public static final int SEQUENCE_CHECKING = 0x10; /** * Context flag for anonymity capability */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
assertEquals(8, getFieldValue(netServerEnum2, "maxParameterCount")); assertEquals(16384, getFieldValue(netServerEnum2, "maxDataCount")); assertEquals((byte) 0x00, getFieldValue(netServerEnum2, "maxSetupCount")); assertEquals(0, getFieldValue(netServerEnum2, "setupCount")); assertEquals(5000, getFieldValue(netServerEnum2, "timeout")); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.7K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
// When/Then - Should throw UnknownHostException quickly UnknownHostException exception = assertThrows(UnknownHostException.class, () -> { nameServiceClient.getNbtByName("NONEXISTENT-FAST-FAIL", 0x20, null); }, "Should throw UnknownHostException for non-existent NetBIOS name with type"); // Verify the exception message indicates name resolution failureCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11K bytes - Click Count (0)