Search Options

Results per page
Sort
Preferred Languages
Advance

Results 831 - 840 of 1,523 for byte1 (0.07 sec)

  1. src/main/java/jcifs/netbios/NodeStatusRequest.java

    
        @Override
        int writeBodyWireFormat ( byte[] dst, int dstIndex ) {
            int tmp = this.questionName.hexCode;
            this.questionName.hexCode = 0x00; // type has to be 0x00 for node status
            int result = writeQuestionSectionWireFormat(dst, dstIndex);
            this.questionName.hexCode = tmp;
            return result;
        }
    
    
        @Override
        int readBodyWireFormat ( byte[] src, int srcIndex ) {
            return 0;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/Kerb5Context.java

            }
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#verifyMIC(byte[], byte[])
         */
        @Override
        public void verifyMIC ( byte[] data, byte[] mic ) throws CIFSException {
            try {
                this.gssContext.verifyMIC(mic, 0, mic.length, data, 0, data.length, new MessageProp(false));
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Aug 02 08:22:42 UTC 2018
    - 13.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/kerberos/KerberosApRequest.java

    
    @SuppressWarnings ( "javadoc" )
    public class KerberosApRequest {
    
        private byte apOptions;
        private KerberosTicket ticket;
    
    
        public KerberosApRequest ( byte[] token, KerberosKey[] keys ) throws PACDecodingException {
            this(parseSequence(token), keys);
        }
    
        private static ASN1Sequence parseSequence(byte[] token) throws PACDecodingException {
            if ( token.length <= 0 )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java

        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        protected int writeBytesWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
        protected int readParameterWordsWireFormat ( byte[] buffer, int bufferIndex ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/misc/Base64UtilTest.java

        private static final byte[] BINARY_DATA = ORIGINAL.getBytes();
    
        private static final String ENCODED_DATA = "aG93IG5vdyBicm93biBjb3cNCg==";
    
        /**
         * @throws Exception
         */
        public void testEncode() throws Exception {
            assertEquals("1", ENCODED_DATA, Base64Util.encode(BINARY_DATA));
            System.out.println(Base64Util.encode(new byte[] { 'a', 'b', 'c' }));
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/NameServiceClientImpl.java

     *
     */
    public class NameServiceClientImpl implements Runnable, NameServiceClient {
    
        private static final int NAME_SERVICE_UDP_PORT = 137;
    
        static final byte[] UNKNOWN_MAC_ADDRESS = new byte[] {
            (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00
        };
    
        private static final Logger log = LoggerFactory.getLogger(NameServiceClientImpl.class);
    
        private final Object LOCK = new Object();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SecurityBlob.java

     * kerberos authentication.
     * 
     * @author Shun
     *
     */
    class SecurityBlob {
    
        private byte[] b = new byte[0];
    
    
        SecurityBlob () {}
    
    
        SecurityBlob ( byte[] b ) {
            set(b);
        }
    
    
        void set ( byte[] b ) {
            this.b = b == null ? new byte[0] : b;
        }
    
    
        byte[] get () {
            return this.b;
        }
    
    
        int length () {
            if ( this.b == null )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java

            assertEquals(new Byte("1"), NumberConversionUtil.convertNumber(Byte.class, "1"));
        }
    
        /**
         * @throws Exception
         */
        public void testConvertNumber_primitiveWrapper() throws Exception {
            assertEquals(new Byte("1"), NumberConversionUtil.convertPrimitiveWrapper(byte.class, "1"));
            assertEquals(new Byte("0"), NumberConversionUtil.convertPrimitiveWrapper(byte.class, null));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. internal/grid/README.md

    In essence, they are `[]byte` -> `[]byte, error` functions.
    
    It is not possible to return *both* an error and a response.
    
    Handlers are registered on the manager using `(*Manager).RegisterSingleHandler(id HandlerID, h SingleHandlerFn, subroute ...string)`.
    
    The server handler function has this signature: `type SingleHandlerFn func(payload []byte) ([]byte, *RemoteErr)`.
    
    Sample handler:
    ```go
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java

                    stub_frag_len = msg.length - 24;
    
                    if ((off + stub_frag_len) > stub.length) {
                        // shouldn't happen if alloc_hint is correct or greater
                        byte[] tmp = new byte[off + stub_frag_len];
                        System.arraycopy(stub, 0, tmp, 0, off);
                        stub = tmp;
                    }
    
                    System.arraycopy(frag, 24, stub, off, stub_frag_len);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.8K bytes
    - Viewed (0)
Back to top