- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,544 for inte (0.41 sec)
-
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
// Given int offset = 100; byte[] largeOutputBuffer = new byte[1024]; Smb2ReadResponse offsetResponse = new Smb2ReadResponse(mockConfig, largeOutputBuffer, offset); byte[] buffer = new byte[256]; int bodyStart = 0; int dataLength = 50; int dataOffsetFromHeader = 80; // Write structureRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/util/HMACT64Test.java
verify(mockMd5, times(1)).digest(buffer, 0, expectedOutput.length); // Final digest into buffer } } @Test void testEngineDigestWithBufferException() throws NoSuchAlgorithmException, DigestException { // Test engineDigest(byte[] buf, int offset, int len) throws exception try (MockedStatic<Crypto> mockedCrypto = mockStatic(Crypto.class)) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Hexdump.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java
data[39] = 0; // remark offset // Remarks data System.arraycopy("Remark 1".getBytes(StandardCharsets.US_ASCII), 0, data, 40, 8); System.arraycopy("Inter-Process Communication".getBytes(StandardCharsets.US_ASCII), 0, data, 60, 27); int bytesRead = response.readDataWireFormat(data, 0, data.length); assertEquals(40, bytesRead, "Should read 40 bytes for the two entries.");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/nio/ChannelUtil.java
} } /** * Reads the contents of the file channel into a byte buffer. * * @param channel * The file channel. Must not be {@literal null}. * @param buffer * The byte buffer. Must not be {@literal null}. * @return The number of bytes read. */ public static int read(final FileChannel channel, final ByteBuffer buffer) {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
} } /** * * {@inheritDoc} * * @see jcifs.internal.SMBSigningDigest#verify(byte[], int, int, int, jcifs.internal.CommonServerMessageBlock) */ @Override public boolean verify(final byte[] data, final int offset, final int l, final int extraPad, final CommonServerMessageBlock m) { final ServerMessageBlock msg = (ServerMessageBlock) m;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
*/ @Override public int hashCode() { return super.hashCode(); } @Override public String getUserDomain() { if (this.realm == null && this.getSubject() != null) { Set<Principal> pr = this.getSubject().getPrincipals(); for (Iterator<Principal> ite = pr.iterator(); ite.hasNext();) { try {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
int actualInfoLevel = SMBUtil.readInt2(buffer, 2); assertEquals(0x0101, actualInfoLevel); // Check reserved bytes (should be 0) int reserved = SMBUtil.readInt2(buffer, 4); assertEquals(0, reserved); } @DisplayName("Test writeParametersWireFormat with different FIDs") @ParameterizedTest @ValueSource(ints = { 0, 1, 0xFFFF, 0x8000, 0x7FFF })
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmContext.java
public String getNetbiosName() { return netbiosName; } private String getNtlmsspListItem(final byte[] type2token, final int id0) { int ri = 58; for (;;) { final int id = Encdec.dec_uint16le(type2token, ri); final int len = Encdec.dec_uint16le(type2token, ri + 2); ri += 4; if (id == 0 || ri + len > type2token.length) { break;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
// Test with different buffer sizes and indices int[][] configs = { { 100, 0 }, { 1024, 50 }, { 4096, 2000 }, { 65536, 32768 } }; for (int[] config : configs) { byte[] dst = new byte[config[0]]; int dstIndex = config[1]; int result = response.writeBytesWireFormat(dst, dstIndex);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0)