- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 591 for _const0 (0.22 seconds)
-
samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt
import okhttp3.RequestBody.Companion.asRequestBody import okio.Buffer import okio.BufferedSink import okio.ForwardingSink import okio.buffer class UploadProgress { companion object { private const val IMGUR_CLIENT_ID = "9199fdef135c122" private val MEDIA_TYPE_PNG = "image/png".toMediaType() } private val client = OkHttpClient() @Throws(Exception::class) fun run() { val progressListener =Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Aug 30 17:01:12 GMT 2025 - 3.8K bytes - Click Count (0) -
cmd/signals.go
import ( "context" "errors" "net/http" "os" "strings" "time" "github.com/coreos/go-systemd/v22/daemon" "github.com/minio/minio/internal/logger" ) func shutdownHealMRFWithTimeout() { const shutdownTimeout = time.Minute finished := make(chan struct{}) go func() { globalMRFState.shutdown() close(finished) }() select { case <-time.After(shutdownTimeout): case <-finished: } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Sep 04 17:02:39 GMT 2024 - 3.2K bytes - Click Count (0) -
internal/disk/directio_unix.go
package disk import ( "os" "syscall" "github.com/ncw/directio" "golang.org/x/sys/unix" ) // ODirectPlatform indicates if the platform supports O_DIRECT const ODirectPlatform = true // OpenFileDirectIO - bypass kernel cache. func OpenFileDirectIO(filePath string, flag int, perm os.FileMode) (*os.File, error) { return directio.OpenFile(filePath, flag, perm) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Jun 17 14:31:36 GMT 2023 - 1.6K bytes - Click Count (0) -
internal/config/compress/legacy.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package compress import ( "strings" "github.com/minio/minio/internal/config" ) // Legacy envs. const ( EnvCompress = "MINIO_COMPRESS" EnvCompressMimeTypesLegacy1 = "MINIO_COMPRESS_MIMETYPES" // These envs were wrong but we supported them for a long time
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Sep 06 17:37:10 GMT 2025 - 1.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
} companion object { const val OKHTTP_CLIENT_WINDOW_SIZE = 16 * 1024 * 1024 val DEFAULT_SETTINGS = Settings().apply { set(Settings.INITIAL_WINDOW_SIZE, DEFAULT_INITIAL_WINDOW_SIZE) set(Settings.MAX_FRAME_SIZE, Http2.INITIAL_MAX_FRAME_SIZE) } const val INTERVAL_PING = 1 const val DEGRADED_PING = 2 const val AWAIT_PING = 3Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 31.9K bytes - Click Count (0) -
logger/logger.go
"context" "errors" "fmt" "io" "log" "os" "time" "gorm.io/gorm/utils" ) // ErrRecordNotFound record not found error var ErrRecordNotFound = errors.New("record not found") // Colors const ( Reset = "\033[0m" Red = "\033[31m" Green = "\033[32m" Yellow = "\033[33m" Blue = "\033[34m" Magenta = "\033[35m" Cyan = "\033[36m" White = "\033[37m"
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 6.3K bytes - Click Count (0) -
cmd/healthcheck-router.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "net/http" "github.com/minio/mux" ) const ( healthCheckPath = "/health" healthCheckLivenessPath = "/live" healthCheckReadinessPath = "/ready" healthCheckClusterPath = "/cluster" healthCheckClusterReadPath = "/cluster/read"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Jan 23 11:12:47 GMT 2023 - 2.3K bytes - Click Count (0) -
cmd/metrics-v3-system-network.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "github.com/minio/minio/internal/rest" ) const ( internodeErrorsTotal MetricName = "errors_total" internodeDialErrorsTotal MetricName = "dial_errors_total" internodeDialAvgTimeNanos MetricName = "dial_avg_time_nanos"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 10 09:15:15 GMT 2024 - 2.4K bytes - Click Count (0) -
internal/dsync/lock-args.go
Quorum *int `msgp:"omitempty"` } // ResponseCode is the response code for a locking request. type ResponseCode uint8 // Response codes for a locking request. const ( RespOK ResponseCode = iota RespLockConflict RespLockNotInitialized RespLockNotFound RespErr ) // LockResp is a locking request response. type LockResp struct { Code ResponseCode Err string
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jul 24 10:24:01 GMT 2024 - 1.8K bytes - Click Count (0) -
internal/config/help.go
func (hkvs HelpKVS) Lookup(key string) (HelpKV, bool) { for _, hkv := range hkvs { if hkv.Key == key { return hkv, true } } return HelpKV{}, false } // DefaultComment used across all sub-systems. const DefaultComment = "optionally add a comment to this setting" // Region help is documented in default config var ( SiteHelp = HelpKVS{ HelpKV{ Key: NameKey, Type: "string",
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jun 23 14:45:27 GMT 2023 - 2.8K bytes - Click Count (0)