- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 446 for const (0.05 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageInflater.kt
* limitations under the License. */ package okhttp3.internal.ws import java.io.Closeable import java.io.IOException import java.util.zip.Inflater import okio.Buffer import okio.InflaterSource private const val OCTETS_TO_ADD_BEFORE_INFLATION = 0x0000ffff class MessageInflater( private val noContextTakeover: Boolean, ) : Closeable { private val deflatedBytes = Buffer() private val inflater = Inflater(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FallbackTestClientSocketFactory.kt
} } companion object { /** * The cipher suite used during TLS connection fallback to indicate a fallback. See * https://tools.ietf.org/html/draft-ietf-tls-downgrade-scsv-00 */ const val TLS_FALLBACK_SCSV = "TLS_FALLBACK_SCSV" }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/Main.kt
okHttpClient.connectionPool.evictAll() // Close any persistent connections. okHttpClient.dispatcher.executorService.shutdownNow() } companion object { internal const val NAME = "okcurl" internal const val DEFAULT_TIMEOUT = -1 private fun versionString(): String? { val prop = Properties() Main::class.java.getResourceAsStream("/okcurl-version.properties")?.use {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6K bytes - Viewed (0) -
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 =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 3.8K bytes - Viewed (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: } }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Sep 04 17:02:39 UTC 2024 - 3.2K bytes - Viewed (0) -
cmd/rebalstatus_string.go
// Re-run the stringer command to generate them again. var x [1]struct{} _ = x[rebalNone-0] _ = x[rebalStarted-1] _ = x[rebalCompleted-2] _ = x[rebalStopped-3] _ = x[rebalFailed-4] } const _rebalStatus_name = "NoneStartedCompletedStoppedFailed" var _rebalStatus_index = [...]uint8{0, 4, 11, 20, 27, 33} func (i rebalStatus) String() string { if i >= rebalStatus(len(_rebalStatus_index)-1) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Oct 25 19:36:57 UTC 2022 - 795 bytes - Viewed (0) -
src/bytes/buffer_test.go
} } func BenchmarkWriteByte(b *testing.B) { const n = 4 << 10 b.SetBytes(n) buf := NewBuffer(make([]byte, n)) for i := 0; i < b.N; i++ { buf.Reset() for i := 0; i < n; i++ { buf.WriteByte('x') } } } func BenchmarkWriteRune(b *testing.B) { const n = 4 << 10 const r = '☺' b.SetBytes(int64(n * utf8.RuneLen(r)))
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon May 19 16:13:04 UTC 2025 - 18.6K bytes - Viewed (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"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Jan 23 11:12:47 UTC 2023 - 2.3K bytes - Viewed (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"
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 10 09:15:15 UTC 2024 - 2.4K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt
import common.Arch import common.Os import common.VersionedSettingsBranch import configurations.ParallelizationMethod import java.io.File import java.util.LinkedList const val MASTER_CHECK_CONFIGURATION = "Gradle_Master_Check" const val MAX_PROJECT_NUMBER_IN_BUCKET = 11 /** * Process test-class-data.json and generates test-buckets.json *
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Thu Apr 10 15:09:32 UTC 2025 - 7.3K bytes - Viewed (0)