Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 867 for encode (0.04 sec)

  1. docs/pt/docs/tutorial/testing.md

    Se você tiver um modelo Pydantic em seu teste e quiser enviar seus dados para o aplicativo durante o teste, poderá usar o `jsonable_encoder` descrito em [Codificador compatível com JSON](encoder.md){.internal-link target=_blank}.
    
    ///
    
    ## Execute-o
    
    Depois disso, você só precisa instalar o `pytest`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. internal/kms/context.go

    			switch b {
    			case '\\', '"':
    				dst.WriteByte(b)
    			case '\n':
    				dst.WriteByte('n')
    			case '\r':
    				dst.WriteByte('r')
    			case '\t':
    				dst.WriteByte('t')
    			default:
    				// This encodes bytes < 0x20 except for \t, \n and \r.
    				// If escapeHTML is set, it also escapes <, >, and &
    				// because they can lead to security holes when
    				// user-controlled strings are rendered into JSON
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java

            for ( int i = 0; i < getNumEntries(); i++ ) {
                results[ i ] = e = new FileBothDirectoryInfo(getConfig(), isUseUnicode());
    
                e.decode(buffer, bufferIndex, len);
    
                /*
                 * lastNameOffset ends up pointing to either to
                 * the exact location of the filename(e.g. Win98)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java

            List<FileEntry> infos = new ArrayList<>();
            do {
                FileBothDirectoryInfo cur = createFileInfo();
                if ( cur == null ) {
                    break;
                }
                cur.decode(buffer, bufferIndex, bufferLength);
                infos.add(cur);
                int nextEntryOffset = cur.getNextEntryOffset();
                if ( nextEntryOffset > 0 ) {
                    bufferIndex += nextEntryOffset;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  5. internal/config/identity/openid/jwt.go

    )
    
    type publicKeys struct {
    	*sync.RWMutex
    
    	// map of kid to public key
    	pkMap map[string]interface{}
    }
    
    func (pk *publicKeys) parseAndAdd(b io.Reader) error {
    	var jwk JWKS
    	err := json.NewDecoder(b).Decode(&jwk)
    	if err != nil {
    		return err
    	}
    
    	for _, key := range jwk.Keys {
    		pkey, err := key.DecodePublicKey()
    		if err != nil {
    			return err
    		}
    		pk.add(key.Kid, pkey)
    	}
    
    	return nil
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 02:46:36 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. cmd/peer-rest-client.go

    }
    
    // DownloadProfileData - download profiled data from a remote node.
    func (client *peerRESTClient) DownloadProfileData(ctx context.Context) (data map[string][]byte, err error) {
    	respBody, err := client.callWithContext(ctx, peerRESTMethodDownloadProfilingData, nil, nil, -1)
    	if err != nil {
    		return
    	}
    	defer xhttp.DrainBody(respBody)
    	err = gob.NewDecoder(respBody).Decode(&data)
    	return data, err
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  7. doc/go_spec.html

    An optional prefix sets a non-decimal base: <code>0b</code> or <code>0B</code>
    for binary, <code>0</code>, <code>0o</code>, or <code>0O</code> for octal,
    and <code>0x</code> or <code>0X</code> for hexadecimal
    [<a href="#Go_1.13">Go 1.13</a>].
    A single <code>0</code> is considered a decimal zero.
    In hexadecimal literals, letters <code>a</code> through <code>f</code>
    and <code>A</code> through <code>F</code> represent values 10 through 15.
    </p>
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
  8. internal/bucket/lifecycle/filter.go

    	cachedTags map[string]string
    }
    
    // MarshalXML - produces the xml representation of the Filter struct
    // only one of Prefix, And and Tag should be present in the output.
    func (f Filter) MarshalXML(e *xml.Encoder, start xml.StartElement) error {
    	if !f.set {
    		return nil
    	}
    
    	if err := e.EncodeToken(start); err != nil {
    		return err
    	}
    
    	switch {
    	case !f.And.isEmpty():
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 04 17:01:26 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponse.java

            int start = bufferIndex;
            FileInformation inf = createFileInformation();
            if ( inf != null ) {
                bufferIndex += inf.decode(buffer, bufferIndex, getDataCount());
                this.info = inf;
            }
            return bufferIndex - start;
        }
    
    
        private FileInformation createFileInformation () {
            FileInformation inf;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/dfs/Referral.java

    
        /**
         * @return the rpath
         */
        public final String getRpath () {
            return this.rpath;
        }
    
    
        /**
         * @return the node
         */
        public final String getNode () {
            return this.node;
        }
    
    
        /**
         * @return the specialName
         */
        public final String getSpecialName () {
            return this.specialName;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.2K bytes
    - Viewed (0)
Back to top