Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 599 for decodeTo (0.1 seconds)

  1. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

         */
        public void enc_ndr_small(final int s) {
            buf[index] = (byte) (s & 0xFF);
            advance(1);
        }
    
        /**
         * Decodes a small integer (1 byte) from NDR format.
         *
         * @return the decoded small integer value
         */
        public int dec_ndr_small() {
            final int val = buf[index] & 0xFF;
            advance(1);
            return val;
        }
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  2. src/main/java/jcifs/Decodable.java

    /**
     * Interface for objects that can be decoded from a byte buffer.
     * This interface provides methods for deserializing data from SMB protocol messages.
     *
     * @author mbechler
     */
    public interface Decodable {
    
        /**
         * Decode data from a byte buffer
         *
         * @param buffer the byte buffer containing the data to decode
         * @param bufferIndex the starting index in the buffer
    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)
  3. internal/s3select/json/args.go

    	unmarshaled bool
    }
    
    // IsEmpty - returns whether reader args is empty or not.
    func (args *ReaderArgs) IsEmpty() bool {
    	return !args.unmarshaled
    }
    
    // UnmarshalXML - decodes XML data.
    func (args *ReaderArgs) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	// Make subtype to avoid recursive UnmarshalXML().
    	type subReaderArgs ReaderArgs
    	parsedArgs := subReaderArgs{}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.7K bytes
    - Click Count (0)
  4. internal/s3select/simdj/reader.go

    	input   chan simdjson.Stream
    	decoded chan simdjson.Object
    
    	// err will only be returned after decoded has been closed.
    	err          *error
    	readCloser   io.ReadCloser
    	onReaderExit func()
    
    	exitReader chan struct{}
    	readerWg   sync.WaitGroup
    }
    
    // Read - reads single record.
    func (r *Reader) Read(dst sql.Record) (sql.Record, error) {
    	v, ok := <-r.decoded
    	if !ok {
    		if r.err != nil && *r.err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 30 17:02:22 GMT 2023
    - 4.9K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        }
      }
    
      private static void testEncoding(BaseEncoding encoding, String decoded, String encoded) {
        testEncodes(encoding, decoded, encoded);
        testDecodes(encoding, encoded, decoded);
      }
    
      private static void testEncodes(BaseEncoding encoding, String decoded, String encoded) {
        assertThat(encoding.encode(decoded.getBytes(UTF_8))).isEqualTo(encoded);
      }
    
      private static void testEncodesWithOffset(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  6. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

         */
        public void enc_ndr_small(final int s) {
            this.buf[this.index] = (byte) (s & 0xFF);
            advance(1);
        }
    
        /**
         * Decodes a small integer (1 byte) from NDR format.
         *
         * @return the decoded small integer value
         */
        public int dec_ndr_small() {
            final int val = this.buf[this.index] & 0xFF;
            advance(1);
            return val;
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  7. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

          ).decodeBase64()!!
    
        val decoded = CertificateAdapters.privateKeyInfo.fromDer(privateKeyInfoByteString)
    
        assertThat(decoded.version).isEqualTo(0L)
        assertThat(decoded.algorithmIdentifier).isEqualTo(AlgorithmIdentifier(RSA_ENCRYPTION, null))
        assertThat(decoded.privateKey.size).isEqualTo(607)
    
        val encoded = CertificateAdapters.privateKeyInfo.toDer(decoded)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

        protected Decodable createInputDecodable() {
            return null;
        }
    
        /**
         * Gets the output data decoded as the specified response type.
         *
         * @param <T> the type of the decoded response data
         * @param responseType the class of the expected response type
         * @return decoded data
         * @throws SmbException if decoding fails or the response type is incompatible
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  9. internal/bucket/lifecycle/prefix.go

    	set    bool
    	Unused struct{} // Needed for GOB compatibility
    }
    
    // UnmarshalXML - decodes XML data.
    func (p *Prefix) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) {
    	var s string
    	if err = d.DecodeElement(&s, &start); err != nil {
    		return err
    	}
    	*p = Prefix{string: s, set: true}
    	return nil
    }
    
    // MarshalXML - decodes XML data.
    func (p Prefix) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 15 14:45:25 GMT 2023
    - 1.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

            when(mockDeferredBuffer.dec_ndr_string()).thenReturn("DecodedShare", "Decoded Remark");
    
            shareInfo1.decode(mockNdrBuffer);
    
            assertEquals("DecodedShare", shareInfo1.netname);
            assertEquals(2, shareInfo1.type);
            assertEquals("Decoded Remark", shareInfo1.remark);
            verify(mockNdrBuffer).align(4);
            verify(mockNdrBuffer, times(3)).dec_ndr_long();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12K bytes
    - Click Count (0)
Back to Top