- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 599 for decodeTo (0.05 seconds)
-
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackRoundTripTest.kt
/** * Tests for round-tripping headers through hpack. * * TODO: update hpack-test-case with the output of our encoder. * This test will hide complementary bugs in the encoder and decoder, * We should test that the encoder is producing responses that are */ class HpackRoundTripTest : HpackDecodeTestBase() { internal class StoriesTestProvider : SimpleProvider() {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrHyper.java
this.value = value; } @Override public void encode(final NdrBuffer dst) throws NdrException { dst.enc_ndr_hyper(value); } @Override public void decode(final NdrBuffer src) throws NdrException { value = src.dec_ndr_hyper(); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrLong.java
this.value = value; } @Override public void encode(final NdrBuffer dst) throws NdrException { dst.enc_ndr_long(value); } @Override public void decode(final NdrBuffer src) throws NdrException { value = src.dec_ndr_long(); }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.5K bytes - Click Count (0) -
internal/config/lambda/event/targetid.go
return ARN{TargetID: tid, region: region} } // MarshalJSON - encodes to JSON data. func (tid TargetID) MarshalJSON() ([]byte, error) { return json.Marshal(tid.String()) } // UnmarshalJSON - decodes JSON data. func (tid *TargetID) UnmarshalJSON(data []byte) error { var s string if err := json.Unmarshal(data, &s); err != nil { return err } targetID, err := parseTargetID(s) if err != nil {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Mar 07 16:12:41 GMT 2023 - 1.8K bytes - Click Count (0) -
src/main/java/jcifs/ntlmssp/av/AvPairs.java
* @author mbechler */ public final class AvPairs { private AvPairs() { } /** * Decode a list of AvPairs * * @param data the encoded AV pairs data * @return individual pairs * @throws CIFSException if decoding fails */ public static List<AvPair> decode(final byte[] data) throws CIFSException { final List<AvPair> pairs = new LinkedList<>(); int pos = 0;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/org/codelibs/core/net/URLUtilTest.java
} /** * @throws Exception */ public void testDecode() throws Exception { assertEquals("Program Files", URLUtil.decode("Program+Files", "UTF-8")); } /** * @throws Exception */ public void testToCanonicalProtocol() throws Exception { assertEquals("jar", URLUtil.toCanonicalProtocol("wsjar"));Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.9K bytes - Click Count (0) -
internal/crypto/key_test.go
} func TestDerivePartKey(t *testing.T) { var key ObjectKey for i, test := range derivePartKeyTest { expectedPartKey, err := hex.DecodeString(test.PartKey) if err != nil { t.Fatalf("Test %d failed to decode expected part-key: %v", i, err) } partKey := key.DerivePartKey(test.PartID) if !bytes.Equal(partKey[:], expectedPartKey) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jul 12 20:51:54 GMT 2024 - 6.7K bytes - Click Count (0) -
cmd/erasure-decode_test.go
bitrotReaders[index] = newBitrotReader(disk, nil, "testbucket", "object", tillOffset, writeAlgorithm, bitrotWriterSum(writers[index]), erasure.ShardSize()) } writer := bytes.NewBuffer(nil) _, err = erasure.Decode(t.Context(), writer, bitrotReaders, test.offset, test.length, test.data, nil) closeBitrotReaders(bitrotReaders) if err != nil && !test.shouldFail { t.Errorf("Test %d: should pass but failed with: %v", i, err) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 21K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt
* includes both natural exceptions such as unreachable servers, as well as synthetic exceptions * when responses are of an unexpected type or cannot be decoded. * * Other exception types cancel the current call: * * * For synchronous calls made with [Call.execute], the exception is propagated to the caller. *
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
assertNotNull(response); assertNull(response.getInfo()); // Should be null before decoding } @Test @DisplayName("Test getInfo returns decoded information") void testGetInfo() throws Exception { response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2); // Use reflection to set the info fieldCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.5K bytes - Click Count (0)