Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 656 for const0 (0.17 sec)

  1. internal/logger/logonce.go

    		// if errors are equal do not log.
    		prev.Count++
    		l.IDMap[id] = prev
    		shouldLog = false
    	}
    	l.Unlock()
    
    	if shouldLog {
    		consoleLogIf(ctx, subsystem, err, errKind...)
    	}
    }
    
    const unwrapErrsDepth = 3
    
    // unwrapErrs upto the point where errors.Unwrap(err) returns nil
    func unwrapErrs(err error) (leafErr error) {
    	uerr := errors.Unwrap(err)
    	depth := 1
    	for uerr != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. internal/logger/reqinfo.go

    package logger
    
    import (
    	"context"
    	"fmt"
    	"sync"
    
    	"github.com/minio/minio/internal/auth"
    )
    
    // Key used for Get/SetReqInfo
    type contextKeyType string
    
    const contextLogKey = contextKeyType("miniolog")
    
    // KeyVal - appended to ReqInfo.Tags
    type KeyVal struct {
    	Key string
    	Val string
    }
    
    // ObjectVersion object version key/versionId
    type ObjectVersion struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. src/archive/tar/common.go

    type headerError []string
    
    func (he headerError) Error() string {
    	const prefix = "archive/tar: cannot encode header"
    	var ss []string
    	for _, s := range he {
    		if s != "" {
    			ss = append(ss, s)
    		}
    	}
    	if len(ss) == 0 {
    		return prefix
    	}
    	return fmt.Sprintf("%s: %v", prefix, strings.Join(ss, "; and "))
    }
    
    // Type flags for Header.Typeflag.
    const (
    	// Type '0' indicates a regular file.
    	TypeReg = '0'
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  4. cmd/metrics-v3-cluster-iam.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"sync/atomic"
    	"time"
    )
    
    const (
    	lastSyncDurationMillis                 = "last_sync_duration_millis"
    	pluginAuthnServiceFailedRequestsMinute = "plugin_authn_service_failed_requests_minute"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 02 08:20:42 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. internal/store/batch.go

    package store
    
    import (
    	"context"
    	"errors"
    	"sync"
    	"time"
    )
    
    // ErrBatchFull indicates that the batch is full
    var ErrBatchFull = errors.New("batch is full")
    
    const defaultCommitTimeout = 30 * time.Second
    
    // Batch represents an ordered batch
    type Batch[I any] struct {
    	items  []I
    	limit  uint32
    	store  Store[I]
    	quitCh chan struct{}
    
    	sync.Mutex
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

        return if (clientOriginated) {
          clientNoContextTakeover // Client is deflating.
        } else {
          serverNoContextTakeover // Server is deflating.
        }
      }
    
      companion object {
        private const val HEADER_WEB_SOCKET_EXTENSION = "Sec-WebSocket-Extensions"
    
        @Throws(IOException::class)
        fun parse(responseHeaders: Headers): WebSocketExtensions {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. internal/grid/connection_test.go

    	errFatal(local.RegisterStreamingHandler(handlerTest2, h2))
    
    	// local to remote
    	remoteConn := local.Connection(remoteHost)
    	errFatal(remoteConn.WaitForConnect(context.Background()))
    	const testPayload = "Hello Grid World!"
    
    	gotResp := make(chan struct{})
    	go func() {
    		start := time.Now()
    		t.Log("Roundtrip: sending request")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 08 21:44:00 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. internal/handlers/forwarder.go

    package handlers
    
    import (
    	"context"
    	"net"
    	"net/http"
    	"net/http/httputil"
    	"net/url"
    	"strings"
    	"sync"
    	"time"
    )
    
    const defaultFlushInterval = time.Duration(100) * time.Millisecond
    
    // Forwarder forwards all incoming HTTP requests to configured transport.
    type Forwarder struct {
    	RoundTripper http.RoundTripper
    	PassHost     bool
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 07 05:42:10 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/configurations/FunctionalTest.kt

    import jetbrains.buildServer.configs.kotlin.buildFeatures.perfmon
    import model.CIBuildModel
    import model.Stage
    import model.StageName
    import model.TestCoverage
    import model.TestType
    
    const val functionalTestTag = "FunctionalTest"
    
    sealed class ParallelizationMethod {
        open val extraBuildParameters: String
            @JSONField(serialize = false)
            get() = ""
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Sep 25 06:14:43 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. cmd/os_unix.go

    		if osIsExist(err) {
    			return nil
    		}
    		return err
    	}
    
    	return nil
    }
    
    // The buffer must be at least a block long.
    // refer https://github.com/golang/go/issues/24015
    const blockSize = 8 << 10 // 8192
    
    // By default at least 128 entries in single getdents call (1MiB buffer)
    var (
    	direntPool = sync.Pool{
    		New: func() interface{} {
    			buf := make([]byte, blockSize*128)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top