Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 93 for Segijn (0.17 sec)

  1. finisher_api.go

    		if err = fc(tx); err == nil {
    			panicked = false
    			return tx.Commit().Error
    		}
    	}
    
    	panicked = false
    	return
    }
    
    // Begin begins a transaction with any transaction options opts
    func (db *DB) Begin(opts ...*sql.TxOptions) *DB {
    	var (
    		// clone statement
    		tx  = db.getInstance().Session(&Session{Context: db.Statement.Context, NewDB: db.clone == 1})
    		opt *sql.TxOptions
    		err error
    	)
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  2. internal/config/identity/openid/openid.go

    // Enabled returns if configURL is enabled.
    func Enabled(kvs config.KVS) bool {
    	return kvs.Get(ConfigURL) != ""
    }
    
    // GetSettings - fetches OIDC settings for site-replication related validation.
    // NOTE that region must be populated by caller as this package does not know.
    func (r *Config) GetSettings() madmin.OpenIDSettings {
    	res := madmin.OpenIDSettings{}
    	if !r.Enabled {
    		return res
    	}
    	h := sha256.New()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  3. tests/migrate_test.go

    		return
    	}
    
    	type Smallint int8
    
    	type MigrateInt struct {
    		Int8 Smallint
    	}
    
    	tracer := Tracer{
    		Logger: DB.Config.Logger,
    		Test: func(ctx context.Context, begin time.Time, fc func() (sql string, rowsAffected int64), err error) {
    			sql, _ := fc()
    			if strings.HasPrefix(sql, "ALTER TABLE \"migrate_ints\" ALTER COLUMN \"int8\" TYPE smallint") {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  4. cmd/iam.go

    	globalServerConfigMu.RLock()
    	s := globalServerConfig
    	globalServerConfigMu.RUnlock()
    
    	openidConfig, err := openid.LookupConfig(s,
    		NewHTTPTransport(), xhttp.DrainBody, globalSite.Region)
    	if err != nil {
    		iamLogIf(ctx, fmt.Errorf("Unable to initialize OpenID: %w", err), logger.WarningKind)
    	}
    
    	// Initialize if LDAP is enabled
    	ldapConfig, err := xldap.Lookup(s, globalRootCAs)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  5. cmd/object-handlers.go

    // Applicable only in a federated deployment
    var getRemoteInstanceClient = func(r *http.Request, host string) (*miniogo.Core, error) {
    	cred := getReqAccessCred(r, globalSite.Region)
    	// In a federated deployment, all the instances share config files
    	// and hence expected to have same credentials.
    	core, err := miniogo.NewCore(host, &miniogo.Options{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  6. cmd/object-multipart-handlers.go

    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    			return
    		}
    	case authTypePresigned, authTypeSigned:
    		if s3Error = reqSignatureV4Verify(r, globalSite.Region, serviceS3); s3Error != ErrNone {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    			return
    		}
    
    		if !skipContentSha256Cksum(r) {
    			sha256hex = getContentSha256Cksum(r, serviceS3)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  7. src/bytes/bytes.go

    		return false
    	}
    	// Otherwise, all we can do for now is treat spaces as separators.
    	return unicode.IsSpace(r)
    }
    
    // Title treats s as UTF-8-encoded bytes and returns a copy with all Unicode letters that begin
    // words mapped to their title case.
    //
    // Deprecated: The rule Title uses for word boundaries does not handle Unicode
    // punctuation properly. Use golang.org/x/text/cases instead.
    func Title(s []byte) []byte {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  8. cmd/server_test.go

    		"Content-Range",
    		"Content-Encoding",
    		"Content-Length",
    		"Content-Type",
    		"Content-Disposition",
    		"Last-Modified",
    		"Content-Language",
    		"Cache-Control",
    		"Retry-After",
    		"X-Amz-Bucket-Region",
    		"Expires",
    		"X-Amz*",
    		"X-Amz*",
    		"*",
    	}
    	expectedMap.Set("Vary", "Origin")
    
    	req, _ := http.NewRequest(http.MethodOptions, s.endPoint, nil)
    	req.Header.Set("Origin", "http://foobar.com")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  9. cmd/signature-v4-parser_test.go

    	}
    	if expectedCredentials.scope.region != actualCredential.scope.region {
    		t.Errorf("Test %d: region mismatch:Expected \"%s\", got \"%s\"", testNum, expectedCredentials.scope.region, actualCredential.scope.region)
    	}
    	if expectedCredentials.scope.service != actualCredential.scope.service {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 27.4K bytes
    - Viewed (0)
  10. cmd/signature-v4.go

    // returns ErrNone if the signature matches.
    func doesPolicySignatureV4Match(formValues http.Header) (auth.Credentials, APIErrorCode) {
    	// Server region.
    	region := globalSite.Region
    
    	// Parse credential tag.
    	credHeader, s3Err := parseCredentialHeader("Credential="+formValues.Get(xhttp.AmzCredential), region, serviceS3)
    	if s3Err != ErrNone {
    		return auth.Credentials{}, s3Err
    	}
    
    	r := &http.Request{Header: formValues}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
Back to top