- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 41 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) -
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/grid/benchmark_test.go
select { case <-ctx.Done(): return nil case out <- toSend: } } return nil }, Subroute: "some-subroute", OutCapacity: 1, // Only one message buffered. InCapacity: 0, })) errFatal(err) } const payloadSize = 512 rng := rand.New(rand.NewSource(time.Now().UnixNano())) payload := make([]byte, payloadSize) _, err = rng.Read(payload)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.5K 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) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
* Prepares the HTTP headers and sends them to the server. * * For streaming requests with a body, headers must be prepared **before** the output stream has * been written to. Otherwise the body would need to be buffered! * * For non-streaming requests with a body, headers must be prepared **after** the output stream * has been written to and closed. This ensures that the `Content-Length` header field receives * the proper value.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 17.6K bytes - Click Count (7) -
src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java
import jcifs.internal.smb2.ServerMessageBlock2Request; import jcifs.internal.smb2.Smb2Constants; import jcifs.internal.util.SMBUtil; /** * SMB2 Flush request message. * * This command is used to flush buffered data to the * underlying storage device for a given file handle. * * @author mbechler */ public class Smb2FlushRequest extends ServerMessageBlock2Request<Smb2FlushResponse> implements RequestWithFileId {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3K bytes - Click Count (0)