- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 563 for readInt (0.05 sec)
-
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
} offset += descrBytes.length; // 3. Level (2 bytes) assertEquals(0x0001, SMBUtil.readInt2(dst, offset)); offset += 2; // 4. MaxDataCount (2 bytes) int maxDataCount = SMBUtil.readInt2(dst, offset); assertTrue(maxDataCount > 0); offset += 2; // Verify total bytes writtenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java
System.arraycopy(buffer, bufferIndex, keyBytes, 0, 16); this.leaseKey = new Smb2LeaseKey(keyBytes); bufferIndex += 16; this.leaseState = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; this.leaseFlags = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; // LeaseDuration (8 bytes) - reserved, skip bufferIndex += 8; return bufferIndex - start;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/av/AvFlags.java
public AvFlags(final int flags) { this(encode(flags)); } /** * Gets the flags as an integer value * @return flags */ public int getFlags() { return SMBUtil.readInt4(this.getRaw(), 0); } private static byte[] encode(final int flags) { final byte[] raw = new byte[4]; SMBUtil.writeInt4(flags, raw, 0); return raw; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/config/es/fess_config_elevate_word.json
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Dec 02 13:14:56 UTC 2021 - 1.2K bytes - Viewed (0) -
src/bytes/reader_test.go
}{ {0, 10, "0123456789", nil}, {1, 10, "123456789", io.EOF}, {1, 9, "123456789", nil}, {11, 10, "", io.EOF}, {0, 0, "", nil}, {-1, 0, "", "bytes.Reader.ReadAt: negative offset"}, } for i, tt := range tests { b := make([]byte, tt.n) rn, err := r.ReadAt(b, tt.off) got := string(b[:rn]) if got != tt.want { t.Errorf("%d. got %q; want %q", i, got, tt.want) }Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 8K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java
assertEquals(expectedTimestamp, avTimestamp.getTimestamp()); } /** * Test getTimestamp method with a negative timestamp (though timestamps are usually positive). * This tests the underlying SMBUtil.readInt8 behavior. */ @Test public void testGetTimestampNegative() { long expectedTimestamp = -1L; // Represents all bits set to 1 for an 8-byte long byte[] rawBytes = new byte[8];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
} @Test @DisplayName("Reading with zero-length array returns 0") void readZeroLengthArrayReturnsZero() throws IOException { // Create stream with a message containing data byte[] data = new byte[] { 1, 2 }; InputStream in = new ByteArrayInputStream(concat(messageHeader(2), data)); SocketInputStream sis = new SocketInputStream(in);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java
// Test that readings respect max reading limit TestReadingConverterWithLimit limitConverter = new TestReadingConverterWithLimit(); limitConverter.init(); assertEquals(5, limitConverter.getMaxReadingNum()); String text = "test"; String field = "content"; // Request more languages than max reading numRegistered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 13.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java
return 0; } @Override int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) { length = readInt4(buffer, bufferIndex); return 4; } @Override int readDataWireFormat(final byte[] buffer, int bufferIndex, final int len) { final int start = bufferIndex; if (errorCode != 0) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.3K bytes - Viewed (0)