- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 15 for bufferNdx (0.07 seconds)
-
src/main/java/jcifs/smb1/util/MD4.java
*/ @Override public byte[] engineDigest() { // pad output to 56 mod 64; as RFC1320 puts it: congruent to 448 mod 512 final int bufferNdx = (int) (count % BLOCK_LENGTH); final int padLen = bufferNdx < 56 ? 56 - bufferNdx : 120 - bufferNdx; // padding is alwas binary 1 followed by binary 0s final byte[] tail = new byte[padLen + 8]; tail[0] = (byte) 0x80;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/InputStreamThread.java
} } } } /** * Returns all buffered lines as a single string, separated by newlines. * * @return the concatenated output of all buffered lines */ public String getOutput() { final StringBuilder buf = new StringBuilder(100); for (final String value : list) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 4.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/timer/LogNotificationTarget.java
import org.codelibs.fess.util.ComponentUtil; import org.opensearch.action.bulk.BulkRequestBuilder; import org.opensearch.action.bulk.BulkResponse; /** * A timer target that periodically flushes buffered log notification events * to an OpenSearch index for downstream processing. */ public class LogNotificationTarget implements TimeoutTarget { /** * Default constructor. */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 4.5K bytes - Click Count (0) -
internal/deadlineconn/deadlineconn.go
"sync/atomic" "time" ) // updateInterval is the minimum time between deadline updates. const updateInterval = 250 * time.Millisecond // DeadlineConn - is a generic stream-oriented network connection supporting buffered reader and read/write timeout. type DeadlineConn struct { net.Conn readDeadline time.Duration // sets the read deadline on a connection. readSetAt time.Time
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Dec 02 13:21:17 GMT 2024 - 5.1K bytes - Click Count (0) -
src/main/java/jcifs/SmbWatchHandle.java
* * Closing the context should cancel a pending notify request, but that does not seem to work reliable in all * implementations. * * Changes in between these calls (as long as the file is open) are buffered by the server, so iteratively calling * this method should provide all changes (size of that buffer can be adjusted through * {@link jcifs.Configuration#getNotifyBufferSize()}).Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.3K bytes - Click Count (0) -
internal/ringbuffer/README.md
If you want to block when reading or writing, you must enable it: ```go rb := ringbuffer.New(1024).SetBlocking(true) ``` Enabling blocking will cause the ring buffer to behave like a buffered [io.Pipe](https://pkg.go.dev/io#Pipe). Regular Reads will block until data is available, but not wait for a full buffer.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed May 15 00:11:04 GMT 2024 - 2.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/io/Smb2FlushResponse.java
import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.smb2.ServerMessageBlock2Response; import jcifs.internal.util.SMBUtil; /** * SMB2 Flush response message. * * This response confirms that buffered data has been * successfully flushed to the storage device. * * @author mbechler */ public class Smb2FlushResponse extends ServerMessageBlock2Response { /** * Constructs an SMB2 flush responseCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt
* incoming messages. But it does not guarantee that the other peer will successfully receive all of * its incoming messages. * * ## Message Queue * * Messages enqueued with [send] are buffered in an outgoing message queue. This queue has a 16 MiB * limit. If a call to [send] would cause the queue to exceed this limit, the web socket will
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:45:14 GMT 2026 - 6.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/LogNotificationHelper.java
size.decrementAndGet(); } } } /** * Drains all events from the buffer and returns them as a list. * * @return a list of all buffered events */ public List<LogNotificationEvent> drainAll() { final List<LogNotificationEvent> events = new ArrayList<>(); LogNotificationEvent event; while ((event = queue.poll()) != null) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 5.3K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteSink.java
* * @throws IOException if an I/O error occurs while opening the stream */ public abstract OutputStream openStream() throws IOException; /** * Opens a new buffered {@link OutputStream} for writing to this sink. The returned stream is not * required to be a {@link BufferedOutputStream} in order to allow implementations to simply
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 4.9K bytes - Click Count (0)