- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 1,203 for Buffer (0.08 seconds)
-
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java
protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { final int start = bufferIndex; final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 9) { throw new SMBProtocolDecodingException("Structure size != 9"); } this.sessionFlags = SMBUtil.readInt2(buffer, bufferIndex + 2); bufferIndex += 4;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.8K bytes - Click Count (1) -
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java
byte[] buffer = new byte[0]; int result = smbComOpenAndX.readParameterWordsWireFormat(buffer, 0); assertEquals(0, result); } /** * Test readBytesWireFormat method. */ @Test void testReadBytesWireFormat() { smbComOpenAndX = new SmbComOpenAndX(fileName, access, 0, andx); byte[] buffer = new byte[0];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/compression/DefaultCompressionService.java
deflater.finish(); ByteArrayOutputStream baos = new ByteArrayOutputStream(length); byte[] buffer = new byte[1024]; while (!deflater.finished()) { int compressedSize = deflater.deflate(buffer); baos.write(buffer, 0, compressedSize); } deflater.end(); return baos.toByteArray();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
* * @param buffer the buffer containing the message data * @param bufferIndex the starting offset in the buffer * @return the number of bytes read */ protected int readHeaderWireFormat(final byte[] buffer, final int bufferIndex) { this.command = buffer[bufferIndex + SmbConstants.CMD_OFFSET]; this.errorCode = SMBUtil.readInt4(buffer, bufferIndex + SmbConstants.ERROR_CODE_OFFSET);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 38.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/net/NetShareEnumResponse.java
protected int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override protected int readParametersWireFormat(final byte[] buffer, int bufferIndex, final int len) { final int start = bufferIndex; setStatus(SMBUtil.readInt2(buffer, bufferIndex)); bufferIndex += 2; this.converter = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
// Given ByteBuffer buffer = ByteBuffer.allocate(32); buffer.order(ByteOrder.LITTLE_ENDIAN); buffer.putLong(Long.MAX_VALUE); buffer.putLong(Long.MAX_VALUE); buffer.putLong(Long.MAX_VALUE); buffer.putInt(Integer.MAX_VALUE); buffer.putInt(Integer.MAX_VALUE); byte[] bufferArray = buffer.array(); // WhenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/timer/LogNotificationTargetTest.java
// Add events to buffer ComponentUtil.getLogNotificationHelper() .offer(new LogNotificationEvent(System.currentTimeMillis(), "ERROR", "org.test", "msg1", null)); ComponentUtil.getLogNotificationHelper() .offer(new LogNotificationEvent(System.currentTimeMillis(), "WARN", "org.test", "msg2", null)); // expired() will drain buffer then fail on OpenSearch (not available) but should not throwCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 4.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java
e.name = readString(buffer, bufferIndex, 16, false); bufferIndex += 16; e.versionMajor = buffer[bufferIndex] & 0xFF; bufferIndex++; e.versionMinor = buffer[bufferIndex++] & 0xFF; e.type = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4; int off = SMBUtil.readInt4(buffer, bufferIndex); bufferIndex += 4;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java
/** * Constructs a SMB2 read response with the specified configuration and output buffer * * @param config * the configuration to use for this response * @param outputBuffer * the buffer to receive the read data * @param outputBufferOffset * the offset in the output buffer to start writing data */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Nov 02 09:29:52 GMT 2024 - 7.6K bytes - Click Count (0)