Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for hoconstant (0.2 sec)

  1. cmd/streaming-signature-v4.go

    		b = b[:len(b)-1]
    	}
    	return b
    }
    
    // isASCIISpace - is ascii space?
    func isASCIISpace(b byte) bool {
    	return b == ' ' || b == '\t' || b == '\n' || b == '\r'
    }
    
    // Constant s3 chunk encoding signature.
    const s3ChunkSignatureStr = ";chunk-signature="
    
    // parses3ChunkExtension removes any s3 specific chunk-extension from buf.
    // For example,
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  2. internal/grid/grid_test.go

    		}
    		return
    	}
    }
    
    // Inserted manually.
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[StateUnconnected-0]
    	_ = x[StateConnecting-1]
    	_ = x[StateConnected-2]
    	_ = x[StateConnectionError-3]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:03:35 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  3. cmd/sftp-server.go

    // preference order.
    // https://cs.opensource.google/go/x/crypto/+/refs/tags/v0.22.0:ssh/common.go;l=44
    var supportedKexAlgos = []string{
    	kexAlgoCurve25519SHA256, kexAlgoCurve25519SHA256LibSSH,
    	// P384 and P521 are not constant-time yet, but since we don't
    	// reuse ephemeral keys, using them for ECDH should be OK.
    	kexAlgoECDH256, kexAlgoECDH384, kexAlgoECDH521,
    	kexAlgoDH14SHA256, kexAlgoDH16SHA512, kexAlgoDH14SHA1,
    	kexAlgoDH1SHA1,
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  4. internal/config/config.go

    	IdentityTLSSubSys,
    	IdentityPluginSubSys,
    	HealSubSys,
    	ScannerSubSys,
    	SubnetSubSys,
    	CallhomeSubSys,
    	DriveSubSys,
    	ILMSubSys,
    	BatchSubSys,
    	BrowserSubSys,
    )
    
    // Constant separators
    const (
    	SubSystemSeparator = madmin.SubSystemSeparator
    	KvSeparator        = madmin.KvSeparator
    	KvSpaceSeparator   = madmin.KvSpaceSeparator
    	KvComment          = madmin.KvComment
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  5. cmd/metrics-v3-types.go

    		descriptors: d,
    	}
    }
    
    // ToPromMetrics - converts the internal metric values to Prometheus
    // adding the given name prefix. The extraLabels are added to each metric as
    // constant labels.
    func (m *MetricValues) ToPromMetrics(namePrefix string, extraLabels map[string]string,
    ) []prometheus.Metric {
    	metrics := make([]prometheus.Metric, 0, len(m.values))
    	for metricName, mv := range m.values {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:05:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  6. internal/ioutil/ioutil.go

    package ioutil
    
    import (
    	"context"
    	"errors"
    	"io"
    	"os"
    	"runtime/debug"
    	"sync"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/minio/internal/disk"
    )
    
    // Block sizes constant.
    const (
    	SmallBlock = 32 * humanize.KiByte // Default r/w block size for smaller objects.
    	LargeBlock = 1 * humanize.MiByte  // Default r/w block size for normal objects.
    )
    
    // aligned sync.Pool's
    var (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  7. internal/config/identity/plugin/config.go

    	}
    
    	resourceID := "idmp-"
    	roleID := env.Get(EnvIdentityPluginRoleID, kv.Get(RoleID))
    	if roleID == "" {
    		// We use a hash of the plugin URL so that the ARN remains
    		// constant across restarts.
    		h := sha1.New()
    		h.Write([]byte(pluginURL))
    		bs := h.Sum(nil)
    		resourceID += base64.RawURLEncoding.EncodeToString(bs)
    	} else {
    		// Check that the roleID is restricted to URL safe characters
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
  8. cmd/utils.go

    			if len(buf) > 0 {
    				dst[typ+"-"+name+"."+prof.Extension()] = buf
    			}
    		}
    	}
    	return dst, nil
    }
    
    func setDefaultProfilerRates() {
    	runtime.MemProfileRate = 128 << 10 // 512KB -> 128K - Must be constant throughout application lifetime.
    	runtime.SetMutexProfileFraction(0) // Disable until needed
    	runtime.SetBlockProfileRate(0)     // Disable until needed
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  9. cmd/apierrorcode_string.go

    // Code generated by "stringer -type=APIErrorCode -trimprefix=Err api-errors.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[ErrNone-0]
    	_ = x[ErrAccessDenied-1]
    	_ = x[ErrBadDigest-2]
    	_ = x[ErrEntityTooSmall-3]
    	_ = x[ErrEntityTooLarge-4]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  10. cmd/erasure-sets.go

    	erasureDisksMu sync.RWMutex
    
    	// Re-ordered list of disks per set.
    	erasureDisks [][]StorageAPI
    
    	// Distributed locker clients.
    	erasureLockers setsDsyncLockers
    
    	// Distributed lock owner (constant per running instance).
    	erasureLockOwner string
    
    	// List of endpoints provided on the command line.
    	endpoints PoolEndpoints
    
    	// String version of all the endpoints, an optimization
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
Back to top