Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 538 for decoded (0.04 sec)

  1. guava/src/com/google/common/io/Resources.java

      }
    
      /**
       * Reads all characters from a URL into a {@link String}, using the given character set.
       *
       * @param url the URL to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
       *     helpful predefined constants
       * @return a string containing all the characters from the URL
       * @throws IOException if an I/O error occurs.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  2. cmd/batch-handlers_gen_test.go

    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    
    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodeBatchJobPrefix Msgsize() is inaccurate")
    	}
    
    	vn := BatchJobPrefix{}
    	err := msgp.Decode(&buf, &vn)
    	if err != nil {
    		t.Error(err)
    	}
    
    	buf.Reset()
    	msgp.Encode(&buf, &v)
    	err = msgp.NewReader(&buf).Skip()
    	if err != nil {
    		t.Error(err)
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. cmd/local-locker_gen_test.go

    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    
    	m := v.Msgsize()
    	if buf.Len() > m {
    		t.Log("WARNING: TestEncodeDecodelocalLockMap Msgsize() is inaccurate")
    	}
    
    	vn := localLockMap{}
    	err := msgp.Decode(&buf, &vn)
    	if err != nil {
    		t.Error(err)
    	}
    
    	buf.Reset()
    	msgp.Encode(&buf, &v)
    	err = msgp.NewReader(&buf).Skip()
    	if err != nil {
    		t.Error(err)
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

            // Test encode
            int encodeLength = transaction.encode(buffer, 0);
            assertTrue(encodeLength > 0);
    
            // Test decode - should not throw exception
            assertDoesNotThrow(() -> {
                transaction.decode(buffer, 0);
            });
        }
    
        @Test
        @DisplayName("Test configuration usage")
        void testConfigurationUsage() {
            // Verify configuration is used
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  5. docs/debugging/inspect/utils.go

    	"log"
    )
    
    func bytesToPrivateKey(priv []byte) (*rsa.PrivateKey, error) {
    	// Try PEM
    	if block, _ := pem.Decode(priv); block != nil {
    		return x509.ParsePKCS1PrivateKey(block.Bytes)
    	}
    	// Try base 64
    	dst := make([]byte, base64.StdEncoding.DecodedLen(len(priv)))
    	if n, err := base64.StdEncoding.Decode(dst, priv); err == nil {
    		return x509.ParsePKCS1PrivateKey(dst[:n])
    	}
    	// Try Raw, return error
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Nov 02 20:36:38 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java

                dstIndex += this.salt.length;
            }
    
            return dstIndex - start;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException {
            final int start = bufferIndex;
            final int nalgos = SMBUtil.readInt2(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java

         */
        public long getLengthInBytes() {
            return this.lengthInBytes;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
        public int decode(final byte[] buffer, final int bufferIndex, final int len) throws SMBProtocolDecodingException {
            if (this.largeFile) {
                this.pid = SMBUtil.readInt2(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java

            int encodedSize = context.encode(buffer, 0);
    
            // Create new context for decoding
            CompressionNegotiateContext decodedContext = new CompressionNegotiateContext();
            int decodedSize = decodedContext.decode(buffer, 0, encodedSize);
    
            assertEquals(encodedSize, decodedSize);
            assertArrayEquals(context.getCompressionAlgorithms(), decodedContext.getCompressionAlgorithms());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. okhttp-tls/api/okhttp-tls.api

    	public fun <init> (Ljava/security/KeyPair;Ljava/security/cert/X509Certificate;)V
    	public final fun certificate ()Ljava/security/cert/X509Certificate;
    	public final fun certificatePem ()Ljava/lang/String;
    	public static final fun decode (Ljava/lang/String;)Lokhttp3/tls/HeldCertificate;
    	public final fun keyPair ()Ljava/security/KeyPair;
    	public final fun privateKeyPkcs1Pem ()Ljava/lang/String;
    	public final fun privateKeyPkcs8Pem ()Ljava/lang/String;
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Feb 26 19:17:33 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.tls.internal.der
    
    import okio.Buffer
    import okio.ByteString
    
    /**
     * Encode and decode a model object like a [Long] or [Certificate] as DER bytes.
     */
    internal interface DerAdapter<T> {
      /** Returns true if this adapter can read [header] in a choice. */
      fun matches(header: DerHeader): Boolean
    
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top