- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 337 for reusing (0.03 sec)
-
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25) { @Override protected int readHeaderWireFormat(byte[] buffer, int bufferIndex) { // Simulate header reading return 33; } }; byte[] buffer = new byte[1024]; // Setup buffer after header buffer[33] = 4; // wordCount
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt
* connection if `streamId` is zero. */ fun windowUpdate( streamId: Int, windowSizeIncrement: Long, ) /** * Called when reading a headers or priority frame. This may be used to change the stream's * weight from the default (16) to a new value. * * @param streamId stream which has a priority change.Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 19.8K bytes - Viewed (0) -
docs/changelogs/changelog_2x.md
## Version 2.5.0 _2015-08-25_ * **Timeouts now default to 10 seconds.** Previously we defaulted to never timing out, and that was a lousy policy. If establishing a connection, reading the next byte from a connection, or writing the next byte to a connection takes more than 10 seconds to complete, you’ll need to adjust the timeouts manually.Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 26.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/Suggester.java
/** The OpenSearch client. */ protected final Client client; /** The suggest settings. */ protected final SuggestSettings suggestSettings; /** The reading converter. */ protected final ReadingConverter readingConverter; /** The contents reading converter. */ protected final ReadingConverter contentsReadingConverter; /** The normalizer. */ protected final Normalizer normalizer; /** The analyzer. */Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 21.6K bytes - Viewed (3) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
import java.net.UnknownHostException; import jcifs.smb1.util.Encdec; /** * This class provides random access to files stored on an SMB/CIFS network resource. * It implements the DataInput and DataOutput interfaces for reading and writing primitive * Java data types to the file. */ public class SmbRandomAccessFile implements DataOutput, DataInput { private static final int WRITE_OPTIONS = 0x0842; private final SmbFile file;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
assertEquals(0xFFFFFFFF, response.getCapabilities()); assertEquals(0xFFFFFFFF, response.getMaximalAccess()); } @Test @DisplayName("Should handle buffer too small for reading") void testBufferTooSmall() { // Given byte[] buffer = new byte[15]; // Too small for 16-byte structure SMBUtil.writeInt2(16, buffer, 0); // When & Then
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
guava/src/com/google/common/io/CharStreams.java
* Reads all of the lines from a {@link Readable} object. The lines do not include * line-termination characters, but do include other leading and trailing whitespace. * * <p>Does not close the {@code Readable}. If reading files or resources you should use the {@link * Files#readLines} and {@link Resources#readLines} methods. * * <p>This method prioritizes convenience over performance: It reads the entire input into memoryRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 29 13:56:24 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
assertEquals(0L, response.getOffset(), "Offset should be initialized to 0"); } /* ------------------------------------------------------------------ */ /* 2. Parameter word reading - happy path & edge cases */ /* ------------------------------------------------------------------ */ /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java
int dataBytes = transaction.writeDataWireFormat(buffer, 0); assertEquals(50, dataBytes, "writeDataWireFormat should return expected bytes"); } @Test @DisplayName("Test parameter and data reading methods") void testReadMethods() { byte[] buffer = new byte[1024]; int setupBytes = transaction.readSetupWireFormat(buffer, 0, 10);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/EnumBiMap.java
stream.writeObject(keyTypeOrObjectUnderJ2cl); stream.writeObject(valueTypeOrObjectUnderJ2cl); Serialization.writeMap(this, stream); } @SuppressWarnings("unchecked") // reading fields populated by writeObject @GwtIncompatible // java.io.ObjectInputStream private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 15:50:50 UTC 2025 - 6.2K bytes - Viewed (0)