Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 139 for creg (0.02 seconds)

  1. cmd/admin-handlers_test.go

    	req, err := newTestRequest(method,
    		adminPathPrefix+adminAPIVersionPrefix+path+"?"+queryVal.Encode(),
    		contentLength, bodySeeker)
    	if err != nil {
    		return nil, err
    	}
    
    	cred := globalActiveCred
    	err = signRequestV4(req, cred.AccessKey, cred.SecretKey)
    	if err != nil {
    		return nil, err
    	}
    
    	return req, nil
    }
    
    func TestAdminServerInfo(t *testing.T) {
    	ctx, cancel := context.WithCancel(t.Context())
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 13.9K bytes
    - Click Count (1)
  2. cmd/tier-handlers.go

    		StatusCode: http.StatusBadRequest,
    	}
    )
    
    func (api adminAPIHandlers) AddTierHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	objAPI, cred := validateAdminReq(ctx, w, r, policy.SetTierAction)
    	if objAPI == nil {
    		return
    	}
    
    	password := cred.SecretKey
    	reqBytes, err := madmin.DecryptData(password, io.LimitReader(r.Body, r.ContentLength))
    	if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Sep 12 20:44:05 GMT 2024
    - 7.5K bytes
    - Click Count (0)
  3. src/cmd/asm/internal/asm/parse.go

    	// Expect (SB), (FP), (PC), or (SP)
    	p.get('(')
    	reg := p.get(scanner.Ident).String()
    	p.get(')')
    	p.setPseudoRegister(a, reg, isStatic, prefix)
    }
    
    // setPseudoRegister sets the NAME field of addr for a pseudo-register reference such as (SB).
    func (p *Parser) setPseudoRegister(addr *obj.Addr, reg string, isStatic bool, prefix rune) {
    	if addr.Reg != 0 {
    		p.errorf("internal error: reg %s already set in pseudo", reg)
    	}
    	switch reg {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Feb 17 19:57:47 GMT 2026
    - 37.3K bytes
    - Click Count (0)
  4. cmd/bucket-object-lock.go

    				objRetention.Mode, byPassSet, r, cred,
    				owner)
    			if apiErr == ErrAccessDenied {
    				return errAuthentication
    			}
    			return nil
    		}
    
    		switch ret.Mode {
    		case objectlock.RetGovernance:
    			govPerm := isPutRetentionAllowed(oi.Bucket, oi.Name, days,
    				objRetention.RetainUntilDate.Time, objRetention.Mode,
    				byPassSet, r, cred, owner)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 08 02:38:25 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  5. cmd/config-encrypted_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	tests := []struct {
    		edata   []byte
    		cred    auth.Credentials
    		success bool
    	}{
    		{edata1, cred1, true},
    		{edata2, cred2, true},
    		{data, cred1, false},
    	}
    
    	for _, test := range tests {
    		t.Run("", func(t *testing.T) {
    			ddata, err := madmin.DecryptData(test.cred.String(), bytes.NewReader(test.edata))
    			if err != nil && test.success {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 1.9K bytes
    - Click Count (0)
  6. docs/es/docs/advanced/sub-applications.md

    ### Aplicación de nivel superior { #top-level-application }
    
    Primero, crea la aplicación principal de nivel superior de **FastAPI**, y sus *path operations*:
    
    {* ../../docs_src/sub_applications/tutorial001_py310.py hl[3, 6:8] *}
    
    ### Sub-aplicación { #sub-application }
    
    Luego, crea tu sub-aplicación, y sus *path operations*.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  7. docs/fr/docs/advanced/additional-status-codes.md

    Mais vous voulez aussi qu'il accepte de nouveaux éléments. Et lorsque les éléments n'existaient pas auparavant, il les crée et renvoie un code HTTP de 201 « Créé ».
    
    Pour y parvenir, importez `JSONResponse` et renvoyez-y directement votre contenu, en définissant le `status_code` que vous souhaitez :
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  8. src/main/java/jcifs/context/CIFSContextCredentialWrapper.java

         */
        @Override
        public boolean renewCredentials(final String locationHint, final Throwable error) {
            final Credentials cred = getCredentials();
            if (cred instanceof final SmbRenewableCredentials renewable) {
                final CredentialsInternal renewed = renewable.renew();
                if (renewed != null) {
                    this.creds = renewed;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  9. docs/fr/docs/alternatives.md

    Webargs est un outil qui a été créé pour fournir cela par-dessus plusieurs frameworks, dont Flask.
    
    Il utilise Marshmallow pour effectuer la validation des données. Et il a été créé par les mêmes développeurs.
    
    C'est un outil formidable et je l'ai beaucoup utilisé aussi, avant d'avoir **FastAPI**.
    
    /// info
    
    Webargs a été créé par les développeurs de Marshmallow.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  10. docs/es/docs/deployment/docker.md

    Existen otros formatos y herramientas para definir e instalar dependencias de paquetes.
    
    ///
    
    ### Crear el Código de **FastAPI** { #create-the-fastapi-code }
    
    * Crea un directorio `app` y entra en él.
    * Crea un archivo vacío `__init__.py`.
    * Crea un archivo `main.py` con:
    
    ```Python
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 30.8K bytes
    - Click Count (0)
Back to Top