Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 808 for encodes (0.25 seconds)

  1. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

            byte[] buffer = new byte[256];
            int encodedSize = context.encode(buffer, 0);
    
            assertTrue(encodedSize > 8); // Minimum size: count + padding + flags + algorithms
            assertEquals(context.size(), encodedSize);
        }
    
        @Test
        @DisplayName("Test context decoding")
        public void testDecoding() throws SMBProtocolDecodingException {
            // Encode first
            byte[] buffer = new byte[256];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

        }
    
        @Test
        @DisplayName("Test encode without andx command")
        void testEncodeWithoutAndx() {
            testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25);
            byte[] buffer = new byte[1024];
    
            int length = testBlock.encode(buffer, 0);
    
            assertTrue(length > 0);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K bytes
    - Click Count (0)
  3. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt

      private val bytesIn = Buffer()
      private val hpackReader = Hpack.Reader(bytesIn, 4096)
    
      protected fun testDecoder(story: Story) {
        for (testCase in story.cases) {
          val encoded = testCase.wire ?: continue
          bytesIn.write(encoded)
          hpackReader.readHeaders()
          assertSetEquals(
            "seqno=$testCase.seqno",
            testCase.headersList,
            hpackReader.getAndResetHeaderList(),
          )
        }
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  4. docs/debugging/inspect/main.go

    	}
    	privatePem, err := os.Create("support_private.pem")
    	if err != nil {
    		fmt.Printf("error when create private.pem: %s n", err)
    		os.Exit(1)
    	}
    	err = pem.Encode(privatePem, privateKeyBlock)
    	if err != nil {
    		fmt.Printf("error when encode private pem: %s n", err)
    		os.Exit(1)
    	}
    
    	// dump public key to file
    	publicKeyBytes := x509.MarshalPKCS1PublicKey(&privatekey.PublicKey)
    	if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Feb 17 17:09:42 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  5. docs/tr/docs/how-to/general.md

    ## Herhangi Bir Veriyi JSON Uyumlu Hale Getirme { #convert-any-data-to-json-compatible }
    
    Herhangi bir veriyi JSON uyumlu hale getirmek için, [Tutorial - JSON Compatible Encoder](../tutorial/encoder.md) dokümantasyonunu okuyun.
    
    ## OpenAPI Meta Verileri - Dokümantasyon { #openapi-metadata-docs }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

        @Override
        protected SortedMap<String, String> delegate() {
          return delegate;
        }
      }
    
      private static String encode(String str) {
        return BaseEncoding.base64().encode(str.getBytes(UTF_8));
      }
    
      private static final Function<String, String> DECODE_FUNCTION =
          new Function<String, String>() {
            @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 32.4K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HuffmanTest.kt

     */
    package okhttp3.internal.http2
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import java.util.Random
    import okhttp3.internal.http2.Huffman.decode
    import okhttp3.internal.http2.Huffman.encode
    import okhttp3.internal.http2.Huffman.encodedLength
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.encodeUtf8
    import okio.ByteString.Companion.toByteString
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  8. docs/en/docs/advanced/response-directly.md

    If you don't declare a response model, FastAPI will use the `jsonable_encoder` explained in [JSON Compatible Encoder](../tutorial/encoder.md) and put it in a `JSONResponse`.
    
    You could also create a `JSONResponse` directly and return it.
    
    /// tip
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

            if (retValue == null) {
                retValue = "/";
            }
            return retValue.trim();
        }
    
        /**
         * Decodes the specified (portion of a) URL. <strong>Note:</strong> This decoder assumes that ISO-8859-1 is used to
         * convert URL-encoded bytes to characters.
         *
         * @param url The URL to decode, may be <code>null</code>.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  10. internal/kms/secret-key.go

    	IV        []byte
    	Nonce     []byte
    	Bytes     []byte
    }
    
    // UnmarshalJSON parses the given text as JSON-encoded
    // ciphertext.
    //
    // UnmarshalJSON provides backward-compatible unmarsahaling
    // of existing ciphertext. In the past, ciphertexts were
    // JSON-encoded. Now, ciphertexts are binary-encoded.
    // Therefore, there is no MarshalJSON implementation.
    func (c *ciphertext) UnmarshalJSON(text []byte) error {
    	const (
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Apr 21 16:23:51 GMT 2025
    - 8.4K bytes
    - Click Count (0)
Back to Top