- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for readshare (0.07 sec)
-
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
try { for (int i = 0; i < iterations; i++) { // This would cause ConcurrentModificationException with ArrayList session.getSmbTree("readshare", null); successCount.incrementAndGet(); } } catch (Exception e) { exceptions.add(e); } finally { endLatch.countDown();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacDataInputStream.java
* @return the short value in little-endian format * @throws IOException if an I/O error occurs */ public short readShort() throws IOException { align(2); return Short.reverseBytes(this.dis.readShort()); } /** * Reads a 32-bit integer value with proper alignment and byte order. * @return the integer value in little-endian format
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
// Little-endian 0x1234 -> 0x34 0x12 byte[] data = new byte[] { 0x34, 0x12, 0x00, 0x00 }; PacDataInputStream pdis = createInputStream(data); assertEquals((short) 0x1234, pdis.readShort()); } @Test public void testReadInt() throws IOException { // Little-endian 0x12345678 -> 0x78 0x56 0x34 0x12 byte[] data = new byte[] { 0x78, 0x56, 0x34, 0x12 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
if (read(tmp, 0, 1) < 0) { throw new SmbException("EOF"); } return tmp[0] & 0xFF; } @Override public final short readShort() throws SmbException { if (read(tmp, 0, 2) < 0) { throw new SmbException("EOF"); } return Encdec.dec_uint16be(tmp, 0); } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
return 2; }).when(raf).read(any(byte[].class), anyInt(), eq(2)); assertEquals(0x1234, raf.readUnsignedShort()); assertEquals((short) 0x1234, raf.readShort()); assertEquals((char) 0x1234, raf.readChar()); } @Test @DisplayName("readInt/Long/Float/Double: big-endian decoding") void read_multiByteVariants() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
cmd/encryption-v1_test.go
} var cumulativeSum, cumulativeEncSum int64 toRead := readLen readStart := false for i, v := range s { partOffset := int64(0) partDarePkgOffset := int64(0) if !readStart && cumulativeSum+v > skipLen { // Read starts at the current part readStart = true partOffset = skipLen - cumulativeSum // All return values except `l` are
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 19.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
if (read(this.tmp, 0, 1) < 0) { throw new SmbEndOfFileException(); } return this.tmp[0] & 0xFF; } @Override public final short readShort() throws SmbException { if (read(this.tmp, 0, 2) < 0) { throw new SmbEndOfFileException(); } return Encdec.dec_uint16be(this.tmp, 0); } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacLogonInfo.java
final PacUnicodeString homeDriveString = pacStream.readUnicodeString(); // Some counts this.logonCount = pacStream.readShort(); this.badPasswordCount = pacStream.readShort(); // IDs for user final SID userId = pacStream.readId(); final SID groupId = pacStream.readId(); // Groups information
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.3K bytes - Viewed (0)