- Sort Score
- Num 10 results
- Language All
Results 291 - 300 of 548 for _const0 (0.04 seconds)
-
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 = bpool.Pool[*[]byte]{ New: func() *[]byte { buf := make([]byte, blockSize*128)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.3K bytes - Click Count (0) -
cmd/update.go
"github.com/minio/pkg/v3/env" xnet "github.com/minio/pkg/v3/net" "github.com/minio/selfupdate" gopsutilcpu "github.com/shirou/gopsutil/v3/cpu" "github.com/valyala/bytebufferpool" ) const ( envMinisignPubKey = "MINIO_UPDATE_MINISIGN_PUBKEY" updateTimeout = 10 * time.Second ) var ( // Newer official download info URLs appear earlier below.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 18.9K bytes - Click Count (0) -
internal/s3select/select.go
// dst is optional but will be used if valid. Read(dst sql.Record) (sql.Record, error) Close() error } const ( csvFormat = "csv" jsonFormat = "json" parquetFormat = "parquet" ) // CompressionType - represents value inside <CompressionType/> in request XML. type CompressionType string const ( noneType CompressionType = "none" gzipType CompressionType = "GZIP" bzip2Type CompressionType = "BZIP2"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 21.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt
* reuse, this timeout should be significantly less than the time it takes to establish a new * connection. */ const val DISCARD_STREAM_TIMEOUT_MILLIS = 100 }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Jul 29 21:11:09 GMT 2025 - 3.3K bytes - Click Count (0) -
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"
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu May 02 08:20:42 GMT 2024 - 4.5K bytes - Click Count (0) -
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 }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Sep 06 23:06:30 GMT 2024 - 2.9K bytes - Click Count (0) -
.teamcity/src/main/kotlin/common/CommonExtensions.kt
import jetbrains.buildServer.configs.kotlin.failureConditions.BuildFailureOnText import jetbrains.buildServer.configs.kotlin.failureConditions.failOnText import jetbrains.buildServer.configs.kotlin.ui.add import java.util.Locale const val PLUGINS_PORTAL_URL_OVERRIDE = "-Dorg.gradle.internal.plugins.portal.url.override=%gradle.plugins.portal.url%" fun BuildSteps.customGradle( init: GradleBuildStep.() -> Unit, custom: GradleBuildStep.() -> Unit,
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Dec 22 07:15:16 GMT 2025 - 15.6K bytes - Click Count (0) -
cmd/object-lambda-handlers.go
Type: "IAMUser", PrincipalID: cred.ParentUser, AccessKeyID: cred.AccessKey, }, } return eventData, nil } func fwdHeadersToS3(h http.Header, w http.ResponseWriter) { const trim = "x-amz-fwd-header-" for k, v := range h { if stringsHasPrefixFold(k, trim) { w.Header()[k[len(trim):]] = v } } } func fwdStatusToAPIError(statusCode int, resp *http.Response) *APIError {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jul 18 21:56:31 GMT 2025 - 6.5K bytes - Click Count (0) -
cmd/untar.go
if bytes.Equal(f.header, z[:len(f.header)]) { return f.f } } return formatUnknown } //go:generate stringer -type=format -trimprefix=format $GOFILE type format int const ( formatUnknown format = iota formatGzip formatZstd formatLZ4 formatS2 formatBZ2 ) var magicHeaders = []struct { header []byte f format }{ { header: []byte{0x1f, 0x8b, 8},
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 6K bytes - Click Count (2) -
cmd/xl-storage-format-utils_test.go
xhttp.AmzBucketReplicationStatus: "", xhttp.ContentType: "application/json", }, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { const n = 100 want := hashDeterministicString(tt.arg) m := tt.arg for range n { if got := hashDeterministicString(m); got != want { t.Errorf("hashDeterministicString() = %v, want %v", got, want) } }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.1K bytes - Click Count (0)