- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 703 for Encoded (0.03 sec)
-
internal/s3select/jstream/scratch.go
s.data = ndata } // append single byte to scratch buffer func (s *scratch) add(c byte) { if s.fill+1 >= cap(s.data) { s.grow() } s.data[s.fill] = c s.fill++ } // append encoded rune to scratch buffer func (s *scratch) addRune(r rune) int { if s.fill+utf8.UTFMax >= cap(s.data) { s.grow() } n := utf8.EncodeRune(s.data[s.fill:], r) s.fill += n return n
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 758 bytes - Viewed (0) -
cmd/api-headers.go
buf.WriteString(xxml.Header) if err := xxml.NewEncoder(&buf).Encode(response); err != nil { bugLogIf(GlobalContext, err) return nil } return buf.Bytes() } // Encodes the response headers into JSON format. func encodeResponseJSON(response any) []byte { var bytesBuffer bytes.Buffer e := json.NewEncoder(&bytesBuffer) e.Encode(response) return bytesBuffer.Bytes() } // Write parts count
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.6K bytes - Viewed (0) -
cmd/erasure-utils.go
) // getDataBlockLen - get length of data blocks from encoded blocks. func getDataBlockLen(enBlocks [][]byte, dataBlocks int) int { size := 0 // Figure out the data block length. for _, block := range enBlocks[:dataBlocks] { size += len(block) } return size } // Writes all the data blocks from encoded blocks until requested // outSize length. Provides a way to skip bytes until the offset.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Jan 31 02:11:45 UTC 2024 - 3.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt
val expected = Buffer() .writeByte(0x40) // Literal header, new name. .writeByte(0x82) // String literal is Huffman encoded (len = 2). .writeByte(0x94) // 'foo' Huffman encoded. .writeByte(0xE7) .writeByte(3) // String literal not Huffman encoded (len = 3). .writeByte('b'.code) .writeByte('a'.code) .writeByte('r'.code) .readByteString()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 38.6K bytes - Viewed (0) -
internal/hash/reader.go
if r.contentHasher != nil { if r.contentHash.Type.Trailing() { var err error r.contentHash.Encoded = r.trailer.Get(r.contentHash.Type.Key()) r.contentHash.Raw, err = base64.StdEncoding.DecodeString(r.contentHash.Encoded) if err != nil || len(r.contentHash.Raw) == 0 { return 0, ChecksumMismatch{Got: r.contentHash.Encoded} } } if sum := r.contentHasher.Sum(nil); !bytes.Equal(r.contentHash.Raw, sum) {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Jun 25 15:08:54 UTC 2025 - 11.8K bytes - Viewed (0) -
cmd/tier.go
return d, nil } // configReader returns a PutObjReader and ObjectOptions needed to save config // using a PutObject API. PutObjReader encrypts json encoded tier configurations // if KMS is enabled, otherwise simply yields the json encoded bytes as is. // Similarly, ObjectOptions value depends on KMS' status. func (config *TierConfigMgr) configReader(ctx context.Context) (*PutObjReader, *ObjectOptions, error) {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 15.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/JcifsEngine.java
} } /** * Generates a Type 1 NTLM message. * * @param domain the domain name * @param workstation the workstation name * @return the Base64-encoded Type 1 message * @throws NTLMEngineException if an NTLM engine error occurs */ @Override public String generateType1Msg(final String domain, final String workstation) throws NTLMEngineException {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/URLUtil.java
* @return The string encoded in <code>application/x-www-form-urlencoded</code> format. */ public static String encode(final String s, final String enc) { assertArgumentNotEmpty("s", s); assertArgumentNotEmpty("enc", enc); try { return URLEncoder.encode(s, enc); } catch (final UnsupportedEncodingException e) {
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 6.8K bytes - Viewed (0) -
docs/en/docs/tutorial/request-forms-and-files.md
/// warning You can declare multiple `File` and `Form` parameters in a *path operation*, but you can't also declare `Body` fields that you expect to receive as JSON, as the request will have the body encoded using `multipart/form-data` instead of `application/json`. This is not a limitation of **FastAPI**, it's part of the HTTP protocol. /// ## Recap { #recap }
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java
byte[] buffer1 = new byte[request.size()]; byte[] buffer2 = new byte[request.size()]; request.encode(buffer1, 0); request.encode(buffer2, 0); assertArrayEquals(buffer1, buffer2); } @Test @DisplayName("Test encode with insufficient buffer throws exception") void testEncodeWithInsufficientBuffer() { ValidateNegotiateInfoRequest request =Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0)