- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 1,352 for BYTE (0.89 sec)
-
src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponse.java
} @Override int writeSetupWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int writeParametersWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override int writeDataWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java
*/ @Test void testConstructorWithEmptyToken() { byte[] emptyToken = new byte[0]; assertThrows(PACDecodingException.class, () -> new KerberosToken(emptyToken)); } /** * Test constructor with a malformed token (not ASN.1). */ @Test void testConstructorWithMalformedToken() { byte[] malformedToken = "This is not a valid token".getBytes();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
// Verify all constants have expected values assertEquals((byte) 20, FileInformation.FILE_ENDOFFILE_INFO); assertEquals((byte) 0x4, FileInformation.FILE_BASIC_INFO); assertEquals((byte) 0x5, FileInformation.FILE_STANDARD_INFO); assertEquals((byte) 0x6, FileInformation.FILE_INTERNAL_INFO); assertEquals((byte) 10, FileInformation.FILE_RENAME_INFO); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextResponse.java
} @Override public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException { int start = bufferIndex; if (len < 52) { throw new SMBProtocolDecodingException("Lease V2 context data too short: " + len); } // Read lease V2 data (52 bytes) byte[] keyBytes = new byte[16];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileStandardInfo.java
} @Override public long getSize() { return this.endOfFile; } /** * {@inheritDoc} * * @see jcifs.Decodable#decode(byte[], int, int) */ @Override public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException { final int start = bufferIndex; this.allocationSize = SMBUtil.readInt8(buffer, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java
* {@link NtTransQuerySecurityDesc#writeParametersWireFormat(byte[], int)}. */ private static byte[] expectedParameters(int fid, int securityInformation) { ByteBuffer bb = ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN); bb.putShort((short) fid); bb.put((byte) 0x00); // Reserved bb.put((byte) 0x00); // Reserved bb.putInt(securityInformation); return bb.array();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
testBuffer = new byte[100]; testBuffer[0] = (byte) 0xFF; // Non-zero = Deny testBuffer[1] = (byte) 0xFF; // All flags testBuffer[2] = (byte) 0xFF; // Size low byte testBuffer[3] = (byte) 0xFF; // Size high byte testBuffer[4] = (byte) 0xFF; // Access mask all bits testBuffer[5] = (byte) 0xFF; testBuffer[6] = (byte) 0xFF; testBuffer[7] = (byte) 0xFF;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteStreams.java
return combineBuffers(bufs, MAX_ARRAY_LEN); } else { throw new OutOfMemoryError("input is too large to fit in a byte array"); } } private static byte[] combineBuffers(Queue<byte[]> bufs, int totalLen) { if (bufs.isEmpty()) { return new byte[0]; } byte[] result = bufs.remove(); if (result.length == totalLen) { return result; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 31.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
assertEquals(DACL_SECURITY_INFORMATION, desc3.securityInformation); // Verify writing doesn't affect other instances byte[] dst1 = new byte[8]; byte[] dst2 = new byte[8]; byte[] dst3 = new byte[8]; desc1.writeParametersWireFormat(dst1, 0); desc2.writeParametersWireFormat(dst2, 0); desc3.writeParametersWireFormat(dst3, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
netShareEnum = new NetShareEnum(realConfig); // Test with offset 0 byte[] dst1 = new byte[256]; int bytesWritten1 = netShareEnum.writeParametersWireFormat(dst1, 0); // Test with offset 100 byte[] dst2 = new byte[256]; int bytesWritten2 = netShareEnum.writeParametersWireFormat(dst2, 100); // Same number of bytes should be written
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0)