- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 681 for chunks (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
cmd/bitrot-streaming.go
"errors" "hash" "io" "sync" xhttp "github.com/minio/minio/internal/http" "github.com/minio/minio/internal/ioutil" "github.com/minio/minio/internal/ringbuffer" ) // Calculates bitrot in chunks and writes the hash into the stream. type streamingBitrotWriter struct { iow io.WriteCloser closeWithErr func(err error) h hash.Hash shardSize int64 canClose *sync.WaitGroup
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jan 17 19:19:30 GMT 2025 - 6.2K bytes - Click Count (0) -
src/bytes/compare_test.go
} func TestEndianBaseCompare(t *testing.T) { // This test compares byte slices that are almost identical, except one // difference that for some j, a[j]>b[j] and a[j+1]<b[j+1]. If the implementation // compares large chunks with wrong endianness, it gets wrong result. // no vector register is larger than 512 bytes for now const maxLength = 512 a := make([]byte, maxLength) b := make([]byte, maxLength)
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jul 13 23:11:42 GMT 2023 - 6.8K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/UnicodeEscaper.java
*/ protected abstract char @Nullable [] escape(int cp); /** * Returns the escaped form of a given literal string. * * <p>If you are escaping input in arbitrary successive chunks, then it is not generally safe to * use this method. If an input string ends with an unmatched high surrogate character, then this * method will throw {@link IllegalArgumentException}. You should ensure your input is valid <a
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 24 04:06:11 GMT 2026 - 13.2K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Crc32cHashFunction.java
Crc32cHasher() { super(16); } private boolean finished = false; /* * This trick allows us to avoid having separate states for "first four ints" and "all other * four int chunks." The state we want after the first four bytes is * * crc0 = ~int0 * crc1 = int1 * crc2 = int2 * crc3 = int3 *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 21.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
byte[] data = new byte[] { 1, 2, 3, 4, 5 }; InputStream in = new ByteArrayInputStream(concat(messageHeader(5), data)); SocketInputStream sis = new SocketInputStream(in); // Read in chunks byte[] buffer = new byte[10]; // The read will either: // 1. Successfully read all 5 bytes // 2. Throw IOException if it tries to read past the message try {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/LlmClientManager.java
} /** * Performs a streaming chat completion request using the configured LLM client. * * @param request the chat request * @param callback the callback to receive streaming chunks * @throws LlmException if LLM is not available or an error occurs */ public void streamChat(final LlmChatRequest request, final LlmStreamCallback callback) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 11:10:51 GMT 2026 - 17.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/chat/ChatClient.java
callback.onPhaseStart(ChatPhaseCallback.PHASE_ANSWER, "Generating response..."); llmClientManager.generateUnclearIntentResponse(userMessage, history, (chunk, done) -> { fullResponse.append(chunk); callback.onChunk(chunk, done); }); callback.onPhaseComplete(ChatPhaseCallback.PHASE_ANSWER); if (logger.isDebugEnabled()) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 56.6K bytes - Click Count (0) -
cmd/streaming-signature-v4.go
return nil } // Now, we read one chunk from the underlying reader. // A chunk has the following format: // // <chunk-size-as-hex> + ";chunk-signature=" + <signature-as-hex> + "\r\n" + <payload> + "\r\n" // // First, we read the chunk size but fail if it is larger // than 16 MiB. We must not accept arbitrary large chunks. // One 16 MiB is a reasonable max limit. //
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 18.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/SplitterTest.java
String regexPattern = "(?<=:)"; Iterable<String> split = Splitter.onPattern(regexPattern).split(toSplit); assertThat(split).containsExactly(":", "foo:", ":", "barbaz:").inOrder(); // splits into chunks ending in : } @J2ktIncompatible // Kotlin Native's regex is based on Apache Harmony, like old Android @GwtIncompatible // java.util.regex.PatternCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 29.7K bytes - Click Count (0) -
src/archive/zip/reader.go
f.Modified = modified.In(timeZone(msdosModified.Sub(modified))) } } // Assume that uncompressed size 2³²-1 could plausibly happen in // an old zip32 file that was sharding inputs into the largest chunks // possible (or is just malicious; search the web for 42.zip). // If needUSize is true still, it means we didn't see a zip64 extension. // As long as the compressed size is not also 2³²-1 (implausible)
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 15 18:35:56 GMT 2026 - 28.5K bytes - Click Count (0)