- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 38 for into (0.17 sec)
-
internal/grid/grid_test.go
const testPayload = "Hello Grid World!" start := time.Now() stream, err := remoteConn.NewStream(context.Background(), handlerTest, []byte(testPayload)) errFatal(err) var n int stream.Requests <- []byte(strconv.Itoa(n)) for resp := range stream.responses { errFatal(resp.Err) t.Logf("got resp: %+v", string(resp.Msg)) if string(resp.Msg) != testPayload+strconv.Itoa(n) {
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) -
cmd/sftp-server.go
"github.com/minio/minio/internal/logger" xsftp "github.com/minio/pkg/v2/sftp" "github.com/pkg/sftp" "golang.org/x/crypto/ssh" ) type sftpLogger struct{} func (s *sftpLogger) Info(tag xsftp.LogType, msg string) { logger.Info(msg) } const ( kexAlgoDH1SHA1 = "diffie-hellman-group1-sha1" kexAlgoDH14SHA1 = "diffie-hellman-group14-sha1"
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) -
cmd/data-scanner.go
if contextCanceled(ctx) { return } dst := into if !into.Compacted { dst = &dataUsageEntry{Compacted: false} } if err := f.scanFolder(ctx, folder, dst); err != nil { return } if !into.Compacted { h := dataUsageHash(folder.name) into.addChild(h) // We scanned a folder, optionally send update. f.updateCache.deleteRecursive(h)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 11:18:58 GMT 2024 - 47.6K bytes - Viewed (0) -
cmd/metrics-v3-handler.go
ErrorHandling: promhttp.HTTPErrorOnError, Registry: registry, MaxRequestsInFlight: 2, }, authFn: authFn, metricsData: metricGroups, } } // metricDisplay - contains info on a metric for display purposes. type metricDisplay struct { Name string `json:"name"` Help string `json:"help"` Type string `json:"type"` Labels []string `json:"labels"` }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu May 02 17:37:57 GMT 2024 - 7.5K bytes - Viewed (0) -
internal/logger/logger.go
defaultgoRootList = strings.Split(build.Default.GOROOT, pathSeparator) // Add trim string "{GOROOT}/src/" into trimStrings trimStrings = []string{filepath.Join(runtime.GOROOT(), "src") + string(filepath.Separator)} // Add all possible path from GOPATH=path1:path2...:pathN // as "{path#}/src/" into trimStrings for _, goPathString := range goPathList {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat May 04 00:17:57 GMT 2024 - 12.4K bytes - Viewed (0) -
cmd/metrics-v3-types.go
// Note that returning an error here will cause the Metrics handler to return a // 500 Internal Server Error. type MetricsLoaderFn func(context.Context, MetricValues, *metricsCache) error // JoinLoaders - joins multiple loaders into a single loader. The returned // loader will call each of the given loaders in order. If any of the loaders // return an error, the returned loader will return that error.
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) -
cmd/httprange.go
func (h *HTTPRangeSpec) ToHeader() (string, error) { if h == nil { return "", nil } start := strconv.Itoa(int(h.Start)) end := strconv.Itoa(int(h.End)) switch { case h.Start >= 0 && h.End >= 0: if h.Start > h.End { return "", errInvalidRange } case h.IsSuffixLength: end = strconv.Itoa(int(h.Start * -1)) start = "" case h.Start > -1: end = "" default:
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun May 05 16:56:21 GMT 2024 - 5.9K bytes - Viewed (0) -
cmd/server-main.go
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 15:54:03 GMT 2024 - 34.9K bytes - Viewed (1) -
cmd/erasure-sets.go
if cardinality <= 0 { return -1 } keyCrc := crc32.Checksum([]byte(key), crc32.IEEETable) return int(keyCrc % uint32(cardinality)) } func hashKey(algo string, key string, cardinality int, id [16]byte) int { switch algo { case formatErasureVersionV2DistributionAlgoV1: return crcHashMod(key, cardinality) case formatErasureVersionV3DistributionAlgoV2, formatErasureVersionV3DistributionAlgoV3:
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) -
cmd/utils.go
Extension() string } // Global profiler to be used by service go-routine. var ( globalProfiler map[string]minioProfiler globalProfilerMu sync.Mutex ) // dump the request into a string in JSON format. func dumpRequest(r *http.Request) string { header := r.Header.Clone() header.Set("Host", r.Host) // Replace all '%' to '%%' so that printer format parser // to ignore URL encoded values.
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)