Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 867 for encode (0.09 sec)

  1. src/main/java/jcifs/ntlmssp/av/AvTimestamp.java

            super(AvPair.MsvAvTimestamp, raw);
        }
    
    
        /**
         * 
         * @param ts
         */
        public AvTimestamp ( long ts ) {
            this(encode(ts));
        }
    
    
        /**
         * @param ts
         * @return
         */
        private static byte[] encode ( long ts ) {
            byte[] data = new byte[8];
            SMBUtil.writeInt8(ts, data, 0);
            return data;
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  2. cmd/api-headers.go

    	buf.WriteString(xxml.Header)
    	if err := xxml.NewEncoder(&buf).Encode(response); err != nil {
    		bugLogIf(GlobalContext, err)
    		return nil
    	}
    	return buf.Bytes()
    }
    
    // Encodes the response headers into JSON format.
    func encodeResponseJSON(response interface{}) []byte {
    	var bytesBuffer bytes.Buffer
    	e := json.NewEncoder(&bytesBuffer)
    	e.Encode(response)
    	return bytesBuffer.Bytes()
    }
    
    // Write parts count
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 04:44:00 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. internal/store/queuestore.go

    	enc := jsoniter.ConfigCompatibleWithStandardLibrary.NewEncoder(buf)
    
    	for i := range items {
    		if err = enc.Encode(items[i]); err != nil {
    			return err
    		}
    	}
    
    	path := filepath.Join(store.directory, key.String())
    	if key.Compress {
    		err = os.WriteFile(path, s2.Encode(nil, buf.Bytes()), os.FileMode(0o770))
    	} else {
    		err = os.WriteFile(path, buf.Bytes(), os.FileMode(0o770))
    	}
    
    	buf.Reset()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/misc/Base64Util.java

                break;
            case 2:
                decode2byte(inData, num * 4, outData, num * 3);
                break;
            default:
                decode(inData, num * 4, outData, num * 3);
            }
            return outData;
        }
    
        private static void encode(final byte[] inData, final int inIndex, final char[] outData, final int outIndex) {
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. docs/iam/access-manager-plugin.go

    	flag.StringVar(&certFile, "cert-file", "", "Path to TLS cert file")
    }
    
    func writeErrorResponse(w http.ResponseWriter, err error) {
    	w.WriteHeader(http.StatusBadRequest)
    	json.NewEncoder(w).Encode(map[string]string{
    		"error": fmt.Sprintf("%v", err),
    	})
    }
    
    type Result struct {
    	Result bool `json:"result"`
    }
    
    func mainHandler(w http.ResponseWriter, r *http.Request) {
    	body, err := io.ReadAll(r.Body)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 08 17:15:20 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java

            buf.enc_ndr_short(0); /* context id */
            buf.enc_ndr_small(1); /* number of items */
            buf.enc_ndr_small(0); /* reserved */
            binding.uuid.encode(buf);
            buf.enc_ndr_short(binding.major);
            buf.enc_ndr_short(binding.minor);
            DCERPC_UUID_SYNTAX_NDR.encode(buf);
            buf.enc_ndr_long(2); /* syntax version */
        }
        public void decode_out(NdrBuffer buf) throws NdrException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/DcerpcBind.java

            buf.enc_ndr_small(1); /* number of items */
            buf.enc_ndr_small(0); /* reserved */
            this.binding.getUuid().encode(buf);
            buf.enc_ndr_short(this.binding.getMajor());
            buf.enc_ndr_short(this.binding.getMinor());
            DCERPC_UUID_SYNTAX_NDR.encode(buf);
            buf.enc_ndr_long(2); /* syntax version */
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/fscc/FsctlPipeWaitRequest.java

            this.timeoutSpecified = true;
            this.timeout = timeout;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            SMBUtil.writeInt8(this.timeout, dst, dstIndex);
            dstIndex += 8;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java

            this.securityMode = securityMode;
            this.dialects = dialects;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Encodable#encode(byte[], int)
         */
        @Override
        public int encode ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
    
            SMBUtil.writeInt4(this.capabilities, dst, dstIndex);
            dstIndex += 4;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
Back to top