Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 867 for encode (0.05 sec)

  1. cmd/acl-handlers.go

    		Grantee: grantee{
    			XMLNS:  "http://www.w3.org/2001/XMLSchema-instance",
    			XMLXSI: "CanonicalUser",
    			Type:   "CanonicalUser",
    		},
    		Permission: "FULL_CONTROL",
    	})
    
    	if err := xml.NewEncoder(w).Encode(acl); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    }
    
    // PutObjectACLHandler - PUT Object ACL
    // -----------------
    // This operation uses the ACL subresource
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/html/HtmlEscapers.java

       * document's character encoding can encode any non-ASCII code points in the input (as UTF-8 and
       * other Unicode encodings can).
       *
       * <p><b>Note:</b> This escaper only performs minimal escaping to make content structurally
       * compatible with HTML. Specifically, it does not perform entity replacement (symbolic or
       * numeric), so it does not replace non-ASCII code points with character references. This escaper
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java

                SMBUtil.writeInt4(0, dst, inBufferLengthOffset);
            }
            else {
                SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, inBufferOffsetOffset);
                int len = this.inputBuffer.encode(dst, dstIndex);
                SMBUtil.writeInt4(len, dst, inBufferLengthOffset);
                dstIndex += len;
            }
            return dstIndex - start;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 10:41:31 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferral.java

            return 2;
        }
    
    
        @Override
        protected int writeParametersWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            dstIndex += this.request.encode(dst, dstIndex);
            return dstIndex - start;
        }
    
    
        @Override
        protected int writeDataWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.9K bytes
    - Viewed (0)
  5. cmd/signature-v4.go

    	if s3Err != ErrNone {
    		return s3Err
    	}
    
    	// Extract all the signed headers along with its values.
    	extractedSignedHeaders, errCode := extractSignedHeaders(pSignValues.SignedHeaders, r)
    	if errCode != ErrNone {
    		return errCode
    	}
    
    	// Check if the metadata headers are equal with signedheaders
    	errMetaCode := checkMetaHeaders(extractedSignedHeaders, r)
    	if errMetaCode != ErrNone {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  6. internal/s3select/json/record.go

    // Raw - returns the underlying representation.
    func (r *Record) Raw() (sql.SelectObjectFormat, interface{}) {
    	return r.SelectFormat, r.KVS
    }
    
    // WriteJSON - encodes to JSON data.
    func (r *Record) WriteJSON(writer io.Writer) error {
    	return json.NewEncoder(writer).Encode(r.KVS)
    }
    
    // Replace the underlying buffer of json data.
    func (r *Record) Replace(k interface{}) error {
    	v, ok := k.(jstream.KVS)
    	if !ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. docs_src/security/tutorial005_py39.py

        if expires_delta:
            expire = datetime.now(timezone.utc) + expires_delta
        else:
            expire = datetime.now(timezone.utc) + timedelta(minutes=15)
        to_encode.update({"exp": expire})
        encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM)
        return encoded_jwt
    
    
    async def get_current_user(
        security_scopes: SecurityScopes, token: str = Depends(oauth2_scheme)
    ):
        if security_scopes.scopes:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java

                hashString.append(md.getArtifactScope()).append('|');
            }
    
            return hashString.toString().hashCode();
    
            // BASE64Encoder b64 = new BASE64Encoder();
            // return b64.encode( hashString.toString().getBytes() ).hashCode();
        }
    
        // ---------------------------------------------------------------------
        // ---------------------------------------------------------------------
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

            length = buf.dec_ndr_short();
            if (buf.dec_ndr_short() != 0)
                throw new NdrException("DCERPC authentication not supported");
            call_id = buf.dec_ndr_long();
        }
        public void encode(NdrBuffer buf) throws NdrException {
            int start = buf.getIndex();
            int alloc_hint_index = 0;
    
            buf.advance(16); /* momentarily skip header */
            if (ptype == 0) { /* Request */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java

            System.arraycopy(this.fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, bufferOffsetOffset);
            int len = this.info.encode(dst, dstIndex);
            SMBUtil.writeInt4(len, dst, bufferLengthOffset);
            dstIndex += len;
            return dstIndex - start;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
Back to top