- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 178 for 0x104 (0.02 sec)
-
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
// Test with various wildcard patterns and attribute masks String[] wildcards = { "*.txt", "test*", null }; int[] attributes = { 0x10, 0x20, 0x07 }; for (int i = 0; i < wildcards.length; i++) { DosFileFilter dos = new DosFileFilter(wildcards[i], attributes[i]);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
ASN1ObjectIdentifier[] mechs = new ASN1ObjectIdentifier[] { OID_KRB, OID_NTLM }; int flags = NegTokenInit.DELEGATION | NegTokenInit.INTEGRITY; byte[] mechToken = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05 }; byte[] mic = new byte[] { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC }; NegTokenInit original = new NegTokenInit(mechs, flags, mechToken, mic);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt
fun hostIpv6WithIpv4SuffixWithHexadecimalPrefix() { // Chrome interprets a leading '0x' as hexadecimal; Firefox rejects them. (We reject them.) assertInvalid( "http://[0:0:0:0:0:1:0.0x10.0.0x10]/", "Invalid URL host: \"[0:0:0:0:0:1:0.0x10.0.0x10]\"", ) } @Test fun hostIpv6WithMalformedIpv4Suffix() { assertInvalid( "http://[0:0:0:0:0:1:0.0:0.0]/",
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Aug 04 07:38:48 UTC 2025 - 69.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
void testReadBytesWireFormatSignedByteValue() { // Given byte[] buffer = new byte[10]; // Write 4 in little-endian format buffer[0] = 0x04; buffer[1] = 0x00; // When & Then assertDoesNotThrow(() -> { int bytesRead = response.readBytesWireFormat(buffer, 0); assertEquals(4, bytesRead);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java
msrpcShareGetInfo.getSecurity(); }); } @Test void testInheritedFields() throws Exception { // Verify inherited fields are properly set assertEquals(0x10, msrpcShareGetInfo.getOpnum()); // Test that the info field is properly initialized Field infoField = msrpcShareGetInfo.getClass().getSuperclass().getDeclaredField("info");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
assertNotNull(output); // Should start at offset 0 in display but show data from offset 16 assertTrue(output.contains("00000:")); // First byte should be 0x10 (16 in decimal) assertTrue(output.contains(" 10 11 12")); } @Test @DisplayName("Should convert hex chars correctly") void testToHexChars() { // Test integer conversion
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt
throw IOException("Invalid dynamic table size update $maxDynamicTableByteCount") } adjustDynamicTableByteCount() } b == 0x10 || b == 0 -> { // 000?0000 - Ignore never indexed bit. readLiteralHeaderWithoutIndexingNewName() } else -> { // 000?NNNN - Ignore never indexed bit.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 22.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java
* RPC message for getting information about a specific share. */ public static class ShareGetInfo extends DcerpcMessage { @Override public int getOpnum() { return 0x10; } /** * The return value of the operation. */ public int retval; /** * The name of the server. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
byte[] der = mech.getDER(); byte[] nb = name.getBytes(); int len = 2 + 2 + der.length + 4 + nb.length; byte[] out = new byte[len]; int i = 0; out[i++] = 0x04; // TOK_ID[0] out[i++] = 0x01; // TOK_ID[1] out[i++] = (byte) ((der.length >> 8) & 0xFF); out[i++] = (byte) (der.length & 0xFF); System.arraycopy(der, 0, out, i, der.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
@ParameterizedTest @CsvSource({ "4, 257", // FILE_BASIC_INFO -> 0x0101 "5, 258", // FILE_STANDARD_INFO -> 0x0102 "20, 260" // FILE_ENDOFFILE_INFO -> 0x0104 }) void testWithDifferentInformationLevels(byte infoLevel, int expectedMappedValue) { when(mockFileInfo.getFileInformationLevel()).thenReturn(infoLevel);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0)