- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 325 for 0x10 (0.03 seconds)
-
src/test/java/jcifs/internal/SMBSigningDigestTest.java
@Mock private CommonServerMessageBlock message; private byte[] testData; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); testData = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; } @Test @DisplayName("Test sign method with valid parameters") void testSignWithValidParameters() { // Arrange int offset = 0;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
android/guava/src/com/google/common/xml/XmlEscapers.java
* @author David Beaumont * @since 15.0 */ @GwtCompatible public class XmlEscapers { private XmlEscapers() {} private static final char MIN_ASCII_CONTROL_CHAR = 0x00; private static final char MAX_ASCII_CONTROL_CHAR = 0x1F; // For each xxxEscaper() method, please add links to external reference pages // that are considered authoritative for the behavior of that escaper. /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Sep 11 17:06:34 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
} @Test @DisplayName("Test setCommand with various SMB command codes") void testSetCommandWithVariousCodes() { // Test common SMB command codes int[] commandCodes = { 0x00, 0x72, 0x73, 0x74, 0x75, 0xFF }; for (int command : commandCodes) { doNothing().when(messageBlock).setCommand(command); when(messageBlock.getCommand()).thenReturn(command);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
byte[] server = hex("0102030405060708"); byte[] client = hex("DEADBEEFCAFEBABE"); // Act byte[] a = NtlmUtil.getNTLM2Response(pwdHash, server, client); server[7] ^= 0x01; // mutate byte[] b = NtlmUtil.getNTLM2Response(pwdHash, server, client); // Assert assertEquals(24, a.length);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 12K bytes - Click Count (1) -
src/main/java/jcifs/dcerpc/msrpc/netdfs.java
return "4fc742e0-4a10-11cf-8273-00aa004ae673:3.0"; } /** * DFS volume flavor indicating standalone DFS */ public static final int DFS_VOLUME_FLAVOR_STANDALONE = 0x100; /** * DFS volume flavor indicating Active Directory blob storage */ public static final int DFS_VOLUME_FLAVOR_AD_BLOB = 0x200; /** * DFS storage state indicating offline status */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 21.8K bytes - Click Count (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); }); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
} public void testOf1() { assertThat(ImmutableDoubleArray.of(0).asList()).containsExactly(0.0); } public void testOf2() { assertThat(ImmutableDoubleArray.of(0, 1).asList()).containsExactly(0.0, 1.0).inOrder(); } public void testOf3() { assertThat(ImmutableDoubleArray.of(0, 1, 3).asList()).containsExactly(0.0, 1.0, 3.0).inOrder(); } public void testOf4() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 21.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
assertArrayEquals(maxFileId, copiedFileId); // Test with file ID having minimum byte values byte[] minFileId = new byte[16]; Arrays.fill(minFileId, (byte) 0x00); Smb2FlushRequest minRequest = new Smb2FlushRequest(mockConfig, minFileId); written = minRequest.writeBytesWireFormat(buffer, 0); assertEquals(24, written);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
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); i += der.length;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.2K bytes - Click Count (0)