Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 391 - 400 of 748 for Encoded (0.27 seconds)

  1. 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 32.4K bytes
    - Click Count (0)
  2. 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 Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Feb 17 17:09:42 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  3. src/main/java/jcifs/ntlmssp/av/AvFlags.java

         * @param flags the flag values as integer
         */
        public AvFlags(final int flags) {
            this(encode(flags));
        }
    
        /**
         * Gets the flags as an integer value
         * @return flags
         */
        public int getFlags() {
            return SMBUtil.readInt4(this.getRaw(), 0);
        }
    
        private static byte[] encode(final int flags) {
            final byte[] raw = new byte[4];
            SMBUtil.writeInt4(flags, raw, 0);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  4. 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 Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

            setTreeId(t);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#encode(byte[], int)
         */
        @Override
        public int encode(final byte[] dst, final int dstIndex) {
            final int len = super.encode(dst, dstIndex);
            final int exp = size();
            final int actual = getLength();
            if (exp != actual) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java

            // Name: 4 bytes ("RqL2")
            // Padding: 4 bytes (to align data to 8-byte boundary)
            // Data: 52 bytes (lease V2 structure)
            return 16 + 4 + 4 + 52;
        }
    
        @Override
        public int encode(byte[] dst, int dstIndex) {
            int start = dstIndex;
    
            // Write context header
            SMBUtil.writeInt4(16, dst, dstIndex); // Next (offset to next context, 0 for last)
            dstIndex += 4;
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  7. src/main/java/jcifs/dcerpc/DcerpcMessage.java

        /**
         * Get the operation number for this DCERPC message.
         * @return the operation number
         */
        public abstract int getOpnum();
    
        /**
         * Encode the input parameters for this DCERPC message.
         * @param buf the buffer to encode into
         * @throws NdrException if encoding fails
         */
        public abstract void encode_in(NdrBuffer buf) throws NdrException;
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  8. src/main/java/jcifs/ntlmssp/av/AvSingleHost.java

         * @param machineId the machine identifier (32 bytes)
         */
        public AvSingleHost(final byte[] customData, final byte[] machineId) {
            this(encode(customData, machineId));
        }
    
        private static byte[] encode(final byte[] customData, final byte[] machineId) {
            final int size = 8 + 8 + 32;
            final byte[] enc = new byte[size];
            SMBUtil.writeInt4(size, enc, 0);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

                System.arraycopy(buffer, 80, actualFileId, 0, 16);
                assertArrayEquals(testFileId, actualFileId);
    
                // Verify that info.encode was called
                verify(mockInfo, times(1)).encode(any(byte[].class), anyInt());
    
                // Verify total bytes written
                assertTrue(bytesWritten > 32); // At least the fixed part plus some info
            } catch (Exception e) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  10. CHANGELOG/CHANGELOG-1.19.md

      - `status.conditions` may not contain duplicate types
      - `status.conditions[*].status` is now required
      - `status.certificate` must be PEM-encoded, and contain only CERTIFICATE blocks ([#91685](https://github.com/kubernetes/kubernetes/pull/91685), [@liggitt](https://github.com/liggitt)) [SIG API Machinery, Architecture, Auth, CLI and Testing]
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Wed Jan 05 05:42:32 GMT 2022
    - 489.7K bytes
    - Click Count (0)
Back to Top