- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 198 for 0800 (0.02 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt
fun stringWithNonDefaultCharsetSpecified() { val contentType = "text/plain; charset=utf-16be".toMediaType() val body = "\u0800".toRequestBody(contentType) assertThat(body.contentType()).isEqualTo(contentType) assertThat(body.contentLength()).isEqualTo(2) assertThat(bodyToHex(body)).isEqualTo("0800") } @Test fun byteArray() { val contentType = "text/plain".toMediaType()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 19K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/QueryResponseListTest.java
doc.put("title", "Test"); documentList1.add(doc); documentList2.add(doc); QueryResponseList qrList1 = new QueryResponseList(documentList1, 0, 10, 0); QueryResponseList qrList2 = new QueryResponseList(documentList2, 0, 10, 0); assertTrue(qrList1.equals(qrList2)); assertEquals(qrList1.hashCode(), qrList2.hashCode()); // Test with different content
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 39.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
// Since FLAGS2_RESOLVE_PATHS_IN_DFS is 0x1000, when cast to byte it becomes 0 // Therefore the method will always return false unless flags has all 0x00 bits set // This test verifies actual behavior testBlock.setFlags((byte) 0x00); assertFalse(testBlock.isResolveInDfs()); // The correct implementation should check flags2, not flags
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
byte[] wireData = new byte[] { 0x10, 0x00, // StructureSize (must be 16) 0x01, // ShareType (DISK) 0x00, // Reserved 0x01, 0x00, 0x00, 0x00, // ShareFlags 0x08, 0x00, 0x00, 0x00, // Capabilities (byte) 0xFF, 0x01, 0x1F, 0x00 // MaximalAccess }; // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
// Skip idFileSystem (4 bytes) buffer[4] = 0x08; // sectPerAlloc = 8 buffer[8] = 0x00; buffer[9] = 0x10; // alloc = 4096 buffer[12] = 0x00; buffer[13] = 0x08; // free = 2048 buffer[16] = 0x00; buffer[17] = 0x02; // bytesPerSect = 512 int bytesDecoded = smbInfoAllocation.decode(buffer, 0, buffer.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
*/ public class NameServiceClientImpl implements Runnable, NameServiceClient { private static final int NAME_SERVICE_UDP_PORT = 137; static final byte[] UNKNOWN_MAC_ADDRESS = { (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 }; private static final Logger log = LoggerFactory.getLogger(NameServiceClientImpl.class); private final Object LOCK = new Object(); private int nbnsIndex = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
protwordsFile.insert(newItem); // Verify the item was added protwordsFile.reload(null); boolean found = false; PagingList<ProtwordsItem> list = protwordsFile.selectList(0, 100); for (ProtwordsItem item : list) { if ("newWord".equals(item.getInput())) { found = true; break; } } assertTrue(found);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
// SMB2 header validator.validateSmbHeader(0x424D53FE, 64, 0x00); } @Test public void testInvalidProtocolId() throws Exception { assertThrows(SmbException.class, () -> { validator.validateSmbHeader(0xDEADBEEF, 64, 0x00); }); } @Test public void testInvalidSmb1HeaderSize() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0)