- Sort Score
- Result 10 results
- Languages All
Results 481 - 490 of 1,703 for byte (0.02 sec)
-
src/main/java/jcifs/internal/fscc/FileInformation.java
* File end-of-file information class constant. */ byte FILE_ENDOFFILE_INFO = 20; /** * File basic information class constant. */ byte FILE_BASIC_INFO = 0x4; /** * File standard information class constant. */ byte FILE_STANDARD_INFO = 0x5; /** * File internal information class constant. */ byte FILE_INTERNAL_INFO = 0x6; /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/util/Hexdump.java
} /** * Converts a byte array to a hexadecimal string representation. * * @param src the source byte array to convert * @param srcIndex the starting index in the source array * @param size the number of bytes to convert from the source array * @return a hexadecimal string representation of the byte array */ public static String toHexString(final byte[] src, final int srcIndex, final int size) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacCredentialTypeTest.java
/** * Tests the constructor with a valid byte array. */ @Test void testConstructorWithValidData() { // A byte array with a length less than 32 should be considered valid. byte[] validData = new byte[31]; assertDoesNotThrow(() -> new PacCredentialType(validData)); } /** * Tests the constructor with a null byte array, which should throw an exception. */ @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenTarg.java
final byte[] mechanismListMIC) { setResult(result); setMechanism(mechanism); setMechanismToken(mechanismToken); setMechanismListMIC(mechanismListMIC); } /** * Constructs a NegTokenTarg by parsing the provided token bytes * @param token the SPNEGO token bytes to parse * @throws IOException if parsing failsRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/UUIDTest.java
private static final short TIME_HI_AND_VERSION = (short) 0x6677; private static final byte CLOCK_SEQ_HI_AND_RESERVED = (byte) 0x88; private static final byte CLOCK_SEQ_LOW = (byte) 0x99; private static final byte[] NODE = { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF }; @Nested @DisplayName("Constructor Tests") class ConstructorTests { @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
void testSetFileId() { request = new Smb2QueryDirectoryRequest(mockConfig); byte[] fileId = new byte[16]; for (int i = 0; i < 16; i++) { fileId[i] = (byte) (i + 1); } request.setFileId(fileId); // Verify by writing to buffer and checking the fileId position byte[] buffer = new byte[1024]; request.writeBytesWireFormat(buffer, Smb2Constants.SMB2_HEADER_LENGTH);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
} @Test @DisplayName("Test decode method with valid buffer") void testDecodeWithValidBuffer() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[256]; int bufferIndex = 0; int expectedLength = 100; when(messageBlock.decode(buffer, bufferIndex)).thenReturn(expectedLength); // WhenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Base64Util.java
final byte b0 = DECODE_TABLE[inData.charAt(inIndex)]; final byte b1 = DECODE_TABLE[inData.charAt(inIndex + 1)]; final byte b2 = DECODE_TABLE[inData.charAt(inIndex + 2)]; final byte b3 = DECODE_TABLE[inData.charAt(inIndex + 3)]; outData[outIndex] = (byte) (b0 << 2 & 0xfc | b1 >> 4 & 0x3);Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
assertEquals("guest", accountName); assertEquals("DOM", primaryDomain); byte[] lm = (byte[]) getField(obj, "lmHash"); byte[] nt = (byte[]) getField(obj, "ntHash"); assertArrayEquals(new byte[0], lm); assertArrayEquals(new byte[0], nt); } @Test void unsupportedCredentialType() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java
assertEquals(60000, request.getTimeoutMs()); assertFalse(request.isPersistent()); } @Test public void testDurableHandleReconnect() { byte[] fileId = new byte[16]; for (int i = 0; i < 16; i++) { fileId[i] = (byte) (i + 1); } DurableHandleReconnect reconnect = new DurableHandleReconnect(fileId); assertEquals("DHnC", new String(reconnect.getName()));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0)