Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 1,122 for contextos (0.08 sec)

  1. cmd/local-locker_test.go

    package cmd
    
    import (
    	"context"
    	"encoding/hex"
    	"fmt"
    	"math/rand"
    	"testing"
    	"time"
    
    	"github.com/google/uuid"
    	"github.com/minio/minio/internal/dsync"
    )
    
    func TestLocalLockerExpire(t *testing.T) {
    	wResources := make([]string, 1000)
    	rResources := make([]string, 1000)
    	quorum := 0
    	l := newLocker()
    	ctx := context.Background()
    	for i := range wResources {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. cmd/http-tracer.go

    		r.Body = reqRecorder
    
    		// Create tracing data structure and associate it to the request context
    		tc := mcontext.TraceCtxt{
    			AmzReqID:         w.Header().Get(xhttp.AmzRequestID),
    			RequestRecorder:  reqRecorder,
    			ResponseRecorder: respRecorder,
    		}
    
    		r = r.WithContext(context.WithValue(r.Context(), mcontext.ContextTraceKey, &tc))
    
    		reqStartTime := time.Now().UTC()
    		h.ServeHTTP(respRecorder, r)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. internal/event/targetlist.go

    	currentSendCalls  atomic.Int64
    	totalEvents       atomic.Int64
    	eventsSkipped     atomic.Int64
    	eventsErrorsTotal atomic.Int64
    
    	sync.RWMutex
    	targets map[TargetID]Target
    	queue   chan asyncEvent
    	ctx     context.Context
    
    	statLock    sync.RWMutex
    	targetStats map[TargetID]targetStat
    }
    
    type targetStat struct {
    	// The number of concurrent async Send calls per targets
    	currentSendCalls int64
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. cmd/bucket-listobjects-handlers.go

    	return subToken, nodeIndex
    }
    
    func proxyRequestByToken(ctx context.Context, w http.ResponseWriter, r *http.Request, token string) (string, bool) {
    	subToken, nodeIndex := parseRequestToken(token)
    	if nodeIndex > 0 {
    		return subToken, proxyRequestByNodeIndex(ctx, w, r, nodeIndex)
    	}
    	return subToken, false
    }
    
    func proxyRequestByNodeIndex(ctx context.Context, w http.ResponseWriter, r *http.Request, index int) (success bool) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. internal/grid/manager.go

    	// Sign a token for the given audience.
    	AuthFn AuthFn
    	// Callbacks to validate incoming connections.
    	AuthToken ValidateTokenFn
    }
    
    // NewManager creates a new grid manager
    func NewManager(ctx context.Context, o ManagerOptions) (*Manager, error) {
    	found := false
    	if o.AuthToken == nil {
    		return nil, fmt.Errorf("grid: AuthToken not set")
    	}
    	if o.Dialer == nil {
    		return nil, fmt.Errorf("grid: Dialer not set")
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/feature_request.md

    A clear and concise description of what you want to happen.
    
    **Describe alternatives you've considered**
    A clear and concise description of any alternative solutions or features you've considered.
    
    **Additional context**
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 20:49:54 UTC 2019
    - 610 bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/eventspy/AbstractEventSpy.java

    package org.apache.maven.eventspy;
    
    /**
     * A skeleton eventspy that does nothing other than helping implementors.
     * @since 3.0.2
     */
    public abstract class AbstractEventSpy implements EventSpy {
    
        public void init(Context context) throws Exception {}
    
        public void onEvent(Object event) throws Exception {}
    
        public void close() throws Exception {}
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  8. finisher_api.go

    	var (
    		// clone statement
    		tx  = db.getInstance().Session(&Session{Context: db.Statement.Context, NewDB: db.clone == 1})
    		opt *sql.TxOptions
    		err error
    	)
    
    	if len(opts) > 0 {
    		opt = opts[0]
    	}
    
    	switch beginner := tx.Statement.ConnPool.(type) {
    	case TxBeginner:
    		tx.Statement.ConnPool, err = beginner.BeginTx(tx.Statement.Context, opt)
    	case ConnPoolBeginner:
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/ldap/LdapManager.java

            final Hashtable<String, String> env = new Hashtable<>();
            putEnv(env, Context.INITIAL_CONTEXT_FACTORY, initialContextFactory);
            putEnv(env, Context.SECURITY_AUTHENTICATION, securityAuthentication);
            putEnv(env, Context.PROVIDER_URL, providerUrl);
            putEnv(env, Context.SECURITY_PRINCIPAL, principal);
            putEnv(env, Context.SECURITY_CREDENTIALS, credntials);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  10. callbacks/row.go

    			db.Statement.Settings.Delete("rows")
    			db.Statement.Dest, db.Error = db.Statement.ConnPool.QueryContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...)
    		} else {
    			db.Statement.Dest = db.Statement.ConnPool.QueryRowContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...)
    		}
    
    		db.RowsAffected = -1
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Feb 08 05:40:41 UTC 2023
    - 581 bytes
    - Viewed (0)
Back to top