Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for Bainter (0.17 sec)

  1. cmd/os-dirent_namelen_linux.go

    	"fmt"
    	"syscall"
    	"unsafe"
    )
    
    func direntNamlen(dirent *syscall.Dirent) (uint64, error) {
    	const fixedHdr = uint16(unsafe.Offsetof(syscall.Dirent{}.Name))
    	nameBuf := (*[unsafe.Sizeof(dirent.Name)]byte)(unsafe.Pointer(&dirent.Name[0]))
    	const nameBufLen = uint16(len(nameBuf))
    	limit := dirent.Reclen - fixedHdr
    	if limit > nameBufLen {
    		limit = nameBufLen
    	}
    	// Avoid bugs in long file names
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  2. cmd/api-utils.go

    // only works correctly when the type is present in the cmd package.
    func getHandlerName(f http.HandlerFunc, cmdType string) string {
    	name := runtime.FuncForPC(reflect.ValueOf(f).Pointer()).Name()
    
    	packageName := fmt.Sprintf("github.com/minio/minio/cmd.%s.", cmdType)
    	name = strings.TrimPrefix(name, packageName)
    	name = strings.TrimSuffix(name, "Handler-fm")
    	name = strings.TrimSuffix(name, "-fm")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. internal/config/identity/openid/provider/keycloak.go

    		return User{}, ErrAccessTokenExpired
    	}
    	return User{}, fmt.Errorf("Unable to lookup %s - keycloak user lookup returned %v", userid, resp.Status)
    }
    
    // Option is a function type that accepts a pointer Target
    type Option func(*KeycloakProvider)
    
    // WithTransport provide custom transport
    func WithTransport(transport http.RoundTripper) Option {
    	return func(p *KeycloakProvider) {
    		p.client = http.Client{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 29 01:27:09 GMT 2022
    - 4.6K bytes
    - Viewed (0)
  4. cmd/globals.go

    	globalBucketMetadataSys *BucketMetadataSys
    	globalBucketMonitor     *bandwidth.Monitor
    	globalPolicySys         *PolicySys
    	globalIAMSys            *IAMSys
    	globalBytePoolCap       atomic.Pointer[bpool.BytePoolCap]
    
    	globalLifecycleSys       *LifecycleSys
    	globalBucketSSEConfigSys *BucketSSEConfigSys
    	globalBucketTargetSys    *BucketTargetSys
    	// globalAPIConfig controls S3 API requests throttling,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  5. internal/grid/types.go

    // UnmarshalMsg deserializes m from the provided byte slice and returns the
    // remainder of bytes.
    func (m *MSS) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	if m == nil {
    		return bts, errors.New("MSS: UnmarshalMsg on nil pointer")
    	}
    	if msgp.IsNil(bts) {
    		bts = bts[1:]
    		*m = nil
    		return bts, nil
    	}
    	var zb0002 uint32
    	zb0002, bts, err = msgp.ReadMapHeaderBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err, "Values")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  6. cmd/xl-storage-disk-id-check.go

    	// apiCalls should be placed first so alignment is guaranteed for atomic operations.
    	apiCalls     [storageMetricLast]uint64
    	apiLatencies [storageMetricLast]*lockedLastMinuteLatency
    	diskID       atomic.Pointer[string]
    	storage      *xlStorage
    	health       *diskHealthTracker
    	healthCheck  bool
    
    	metricsCache *cachevalue.Cache[DiskMetrics]
    	diskCtx      context.Context
    	diskCancel   context.CancelFunc
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  7. cmd/object_api_suite_test.go

    package cmd
    
    import (
    	"bytes"
    	"context"
    	"io"
    	"math/rand"
    	"strconv"
    	"testing"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/minio/internal/kms"
    )
    
    // Return pointer to testOneByteReadEOF{}
    func newTestReaderEOF(data []byte) io.Reader {
    	return &testOneByteReadEOF{false, data}
    }
    
    // OneByteReadEOF - implements io.Reader which returns 1 byte along with io.EOF error.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  8. docs/metrics/prometheus/grafana/minio-dashboard.json

              "datasource": {
                "type": "prometheus",
                "uid": "${DS_PROMETHEUS}"
              },
              "editorMode": "code",
              "exemplar": true,
              "expr": "rate(minio_inter_node_traffic_sent_bytes{job=~\"$scrape_jobs\"}[$__rate_interval])",
              "format": "time_series",
              "interval": "",
              "intervalFactor": 2,
    Json
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 10:03:01 GMT 2024
    - 93K bytes
    - Viewed (2)
  9. cmd/erasure-server-pool.go

    // unless all have that, in which case all are preserved.
    func (p serverPoolsAvailableSpace) FilterMaxUsed(max int) {
    	// We aren't modifying p, only entries in it, so we don't need to receive a pointer.
    	if len(p) <= 1 {
    		// Nothing to do.
    		return
    	}
    	var ok bool
    	for _, z := range p {
    		if z.Available > 0 && z.MaxUsedPct < max {
    			ok = true
    			break
    		}
    	}
    	if !ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  10. cmd/metrics-v2.go

    	bucketMetricNamespace    MetricNamespace = "minio_bucket"
    	clusterMetricNamespace   MetricNamespace = "minio_cluster"
    	healMetricNamespace      MetricNamespace = "minio_heal"
    	interNodeMetricNamespace MetricNamespace = "minio_inter_node"
    	nodeMetricNamespace      MetricNamespace = "minio_node"
    	minioMetricNamespace     MetricNamespace = "minio"
    	s3MetricNamespace        MetricNamespace = "minio_s3"
    )
    
    const (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
Back to top