- Sort Score
- Result 10 results
- Languages All
Results 501 - 510 of 1,703 for byte (0.02 sec)
-
src/main/java/jcifs/internal/fscc/FileBasicInfo.java
} @Override public long getSize() { return 0L; } /** * {@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.createTime = SMBUtil.readTime(buffer, bufferIndex);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
guava/src/com/google/common/io/Resources.java
return asByteSource(url).asCharSource(charset); } /** * Reads all bytes from a URL into a byte array. * * @param url the URL to read from * @return a byte array containing all the bytes from the URL * @throws IOException if an I/O error occurs */ public static byte[] toByteArray(URL url) throws IOException { return asByteSource(url).read(); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java
} abstract int writeSetupWireFormat(byte[] dst, int dstIndex); abstract int writeParametersWireFormat(byte[] dst, int dstIndex); abstract int writeDataWireFormat(byte[] dst, int dstIndex); abstract int readSetupWireFormat(byte[] buffer, int bufferIndex, int len); abstract int readParametersWireFormat(byte[] buffer, int bufferIndex, int len);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
@Test @DisplayName("Test FileBasicInfo decode method") void testFileBasicInfoDecode() throws SMBProtocolDecodingException { // Given byte[] buffer = new byte[64]; int bufferIndex = 8; // Prepare test data in buffer (40 bytes of data) // Use SMBUtil to properly encode times in Windows FILETIME format SMBUtil.writeTime(TEST_CREATE_TIME, buffer, bufferIndex);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java
batchLimits[2] = Byte.parseByte(s); } if ((s = Config.getProperty("jcifs.smb1.smb.client.TreeConnectAndX.Delete")) != null) { batchLimits[3] = Byte.parseByte(s); } if ((s = Config.getProperty("jcifs.smb1.smb.client.TreeConnectAndX.DeleteDirectory")) != null) { batchLimits[4] = Byte.parseByte(s); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
setField(transport, "negotiated", nego); byte[] input = new byte[] { 10, 20, 30, 40 }; byte[] hash1 = transport.calculatePreauthHash(input, 0, input.length, null); assertNotNull(hash1); assertEquals(64, hash1.length, "SHA-512 size"); byte[] hash2 = transport.calculatePreauthHash(new byte[] { 50 }, 0, 1, hash1); assertNotNull(hash2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java
private byte fileInformationClass = FILE_BOTH_DIRECTORY_INFO; private byte queryFlags; private int fileIndex; private byte[] fileId; private final int outputBufferLength; private String fileName; /** * Constructs an SMB2 query directory request with the given configuration. * * @param config the configuration for this request */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
// Test all known constants byte[] classes = { FileSystemInformation.SMB_INFO_ALLOCATION, FileSystemInformation.FS_SIZE_INFO, FileSystemInformation.FS_FULL_SIZE_INFO, (byte) 0, (byte) 1, (byte) 127, (byte) -128 }; for (byte fsClass : classes) { TestAllocInfo allocInfo = new TestAllocInfo(1024L, 512L, fsClass);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleResponse.java
private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes(); // The response structure is reserved and must be zero (8 bytes) private byte[] reserved = new byte[8]; /** * Create a new durable handle response */ public DurableHandleResponse() { // Reserved field initialized to zeros } @Override public byte[] getName() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java
/** * Gets the number of bytes remaining to be read * * @return the dataRemaining */ public int getDataRemaining() { return this.dataRemaining; } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int) */ @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0)