Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 349 for qEncode (0.04 sec)

  1. docs/iam/identity-manager-plugin.go

    package main
    
    import (
    	"encoding/json"
    	"errors"
    	"fmt"
    	"log"
    	"net/http"
    )
    
    func writeErrorResponse(w http.ResponseWriter, err error) {
    	w.WriteHeader(http.StatusBadRequest)
    	json.NewEncoder(w).Encode(map[string]string{
    		"reason": fmt.Sprintf("%v", err),
    	})
    }
    
    type Resp struct {
    	User               string                 `json:"user"`
    	MaxValiditySeconds int                    `json:"maxValiditySeconds"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 21:31:13 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/misc/Base64UtilTest.java

        /**
         * @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' }));
        }
    
        /**
         * @throws Exception
         */
        public void testDecode() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

            setTreeId(t);
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.ServerMessageBlock2#encode(byte[], int)
         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int len = super.encode(dst, dstIndex);
            int exp = size();
            int actual = getLength();
            if ( exp != actual ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/UrlEscapers.java

      /**
       * Returns an {@link Escaper} instance that escapes strings so they can be safely included in <a
       * href="https://url.spec.whatwg.org/#application-x-www-form-urlencoded-percent-encode-set">URL
       * form parameter names and values</a>. Escaping is performed with the UTF-8 character encoding.
       * The caller is responsible for <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/rpc.java

            public short time_mid;
            public short time_hi_and_version;
            public byte clock_seq_hi_and_reserved;
            public byte clock_seq_low;
            public byte[] node;
    
            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(time_low);
                _dst.enc_ndr_short(time_mid);
                _dst.enc_ndr_short(time_hi_and_version);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/av/AvFlags.java

    
        /**
         * 
         * @param flags
         */
        public AvFlags ( int flags ) {
            this(encode(flags));
        }
    
    
        /**
         * 
         * @return flags
         */
        public int getFlags () {
            return SMBUtil.readInt4(this.getRaw(), 0);
        }
    
    
        private static byte[] encode ( int flags ) {
            byte[] raw = new byte[4];
            SMBUtil.writeInt4(flags, raw, 0);
            return raw;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/ByteEncodable.java

         */
        @Override
        public int size () {
            return this.len;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            System.arraycopy(this.bytes, this.off, dst, dstIndex, this.len);
            return this.len;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunk.java

            this.sourceOffset = soff;
            this.targetOffset = toff;
            this.length = len;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            SMBUtil.writeInt8(this.sourceOffset, dst, dstIndex);
            dstIndex += 8;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/fscc/FileInternalInfo.java

         */
        @Override
        public int size () {
            return 8;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            SMBUtil.writeInt8(this.indexNumber, dst, dstIndex);
            return 8;
        }
    
    
        @Override
        public String toString () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/ntlmssp/av/AvSingleHost.java

        }
    
    
        /**
         * 
         * @param customData
         * @param machineId
         */
        public AvSingleHost ( byte[] customData, byte[] machineId ) {
            this(encode(customData, machineId));
        }
    
    
        private static byte[] encode ( byte[] customData, byte[] machineId ) {
            int size = 8 + 8 + 32;
            byte[] enc = new byte[size];
            SMBUtil.writeInt4(size, enc, 0);
            SMBUtil.writeInt4(0, enc, 4);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
Back to top