Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 149 for creg (0.06 sec)

  1. docs/es/docs/tutorial/first-steps.md

        `FastAPI` es una clase que hereda directamente de `Starlette`.
    
        También puedes usar toda la funcionalidad de <a href="https://www.starlette.io/" class="external-link" target="_blank">Starlette</a>.
    
    ### Paso 2: crea un "instance" de `FastAPI`
    
    ```Python hl_lines="3"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Aquí la variable `app` será un instance de la clase `FastAPI`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/loong64/asm.go

    	{AADD, C_REG, C_REG, C_NONE, C_REG, C_NONE, 2, 4, 0, 0},
    	{AADDV, C_REG, C_REG, C_NONE, C_REG, C_NONE, 2, 4, 0, 0},
    	{AAND, C_REG, C_REG, C_NONE, C_REG, C_NONE, 2, 4, 0, 0},
    	{ASUB, C_REG, C_NONE, C_NONE, C_REG, C_NONE, 2, 4, 0, 0},
    	{ASUBV, C_REG, C_NONE, C_NONE, C_REG, C_NONE, 2, 4, 0, 0},
    	{AADD, C_REG, C_NONE, C_NONE, C_REG, C_NONE, 2, 4, 0, 0},
    	{AADDV, C_REG, C_NONE, C_NONE, C_REG, C_NONE, 2, 4, 0, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
  3. src/reflect/value.go

    			case abiStepPointer:
    				// Copy this too, so we get a write barrier.
    				methodRegs.Ptrs[mStep.ireg] = valueRegs.Ptrs[vStep.ireg]
    				fallthrough
    			case abiStepIntReg:
    				methodRegs.Ints[mStep.ireg] = valueRegs.Ints[vStep.ireg]
    			case abiStepFloatReg:
    				methodRegs.Floats[mStep.freg] = valueRegs.Floats[vStep.freg]
    			default:
    				panic("unexpected value step")
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  4. internal/auth/credentials.go

    }
    
    func (cred Credentials) String() string {
    	var s strings.Builder
    	s.WriteString(cred.AccessKey)
    	s.WriteString(":")
    	s.WriteString(cred.SecretKey)
    	if cred.SessionToken != "" {
    		s.WriteString("\n")
    		s.WriteString(cred.SessionToken)
    	}
    	if !cred.Expiration.IsZero() && !cred.Expiration.Equal(timeSentinel) {
    		s.WriteString("\n")
    		s.WriteString(cred.Expiration.String())
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  5. cmd/auth-handler.go

    	s3Err = authenticateRequest(ctx, r, action)
    	reqInfo := logger.GetReqInfo(ctx)
    	if reqInfo == nil {
    		return cred, owner, ErrAccessDenied
    	}
    
    	cred = reqInfo.Cred
    	owner = reqInfo.Owner
    	if s3Err != ErrNone {
    		return cred, owner, s3Err
    	}
    
    	return cred, owner, authorizeRequest(ctx, r, action)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 26K bytes
    - Viewed (0)
  6. internal/auth/credentials_test.go

    	}
    	testCases := []struct {
    		cred           Credentials
    		ccred          Credentials
    		expectedResult bool
    	}{
    		// Same Credentialss.
    		{cred, cred, true},
    		// Empty credentials to compare.
    		{cred, Credentials{}, false},
    		// Empty credentials.
    		{Credentials{}, cred, false},
    		// Two different credentialss
    		{cred, cred2, false},
    		// Access key is different in credentials to compare.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 01 21:09:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. cmd/server-startup-msg.go

    	if color.IsTerminal() && (!globalServerCtxt.Anonymous && !globalServerCtxt.JSON && globalAPIConfig.permitRootAccess()) {
    		logger.Info(color.Blue("   RootUser: ") + color.Bold("%s ", cred.AccessKey))
    		logger.Info(color.Blue("   RootPass: ") + color.Bold("%s \n", cred.SecretKey))
    		if region != "" {
    			logger.Info(color.Blue("   Region: ") + color.Bold("%s", fmt.Sprintf(getFormatStr(len(region), 2), region)))
    		}
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. cmd/signature-v4.go

    	if s3Err != ErrNone {
    		return auth.Credentials{}, s3Err
    	}
    
    	r := &http.Request{Header: formValues}
    	cred, _, s3Err := checkKeyValid(r, credHeader.accessKey)
    	if s3Err != ErrNone {
    		return cred, s3Err
    	}
    
    	// Get signing key.
    	signingKey := getSigningKey(cred.SecretKey, credHeader.scope.date, credHeader.scope.region, serviceS3)
    
    	// Get signature.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  9. cmd/auth-handler_test.go

    func mustNewSignedRequest(method string, urlStr string, contentLength int64, body io.ReadSeeker, t *testing.T) *http.Request {
    	req := mustNewRequest(method, urlStr, contentLength, body, t)
    	cred := globalActiveCred
    	if err := signRequestV4(req, cred.AccessKey, cred.SecretKey); err != nil {
    		t.Fatalf("Unable to initialized new signed http request %s", err)
    	}
    	return req
    }
    
    // This is similar to mustNewRequest but additionally the request
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  10. cmd/admin-handlers-idp-ldap.go

    	// Find the user for the request sender (as it may be sent via a service
    	// account or STS account):
    	requestorUser := cred.AccessKey
    	requestorParentUser := cred.AccessKey
    	requestorGroups := cred.Groups
    	requestorIsDerivedCredential := false
    	if cred.IsServiceAccount() || cred.IsTemp() {
    		requestorParentUser = cred.ParentUser
    		requestorIsDerivedCredential = true
    	}
    
    	// Check if we are creating svc account for request sender.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 19:58:48 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top