- Sort Score
- Num 10 results
- Language All
Results 811 - 820 of 2,189 for else_ (0.02 seconds)
-
internal/bucket/bandwidth/reader.go
need = int(math.Min(float64(b-hdr), float64(need))) // use remaining tokens towards payload tokens = need + hdr } else { // part of header can be accommodated r.opts.HeaderSize -= b - 1 need = 1 // to ensure we read at least one byte for every Read tokens = b } } else { // all tokens go towards payload need = int(math.Min(float64(b), float64(need))) tokens = need }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 3.3K bytes - Click Count (0) -
cmd/bucket-replication.go
if errInt, ok := opts.checkReadyErr.Load(endpoint); !ok { err = checkRemoteEndpoint(ctx, clnt.EndpointURL()) opts.checkReadyErr.Store(endpoint, err) } else { if errInt == nil { err = nil } else { err, _ = errInt.(error) } } switch err.(type) { case BucketRemoteIdenticalToSource:
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 118.2K bytes - Click Count (0) -
src/test/java/jcifs/smb/SMBSignatureValidationExceptionTest.java
SMBSignatureValidationException ex = new SMBSignatureValidationException(msg); // Assert if (msg == null) { assertNull(ex.getMessage(), "Null message should remain null"); } else { assertEquals(msg, ex.getMessage(), "Message should be stored as provided"); } assertNull(ex.getCause(), "Cause should be null for message-only ctor");
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/WebConfigService.java
cb.query().setDescription_Wildcard(webConfigPager.description); } else if (webConfigPager.description.endsWith("*")) { cb.query().setDescription_Prefix(webConfigPager.description.replaceAll("\\*$", StringUtil.EMPTY)); } else { cb.query().setDescription_MatchPhrase(webConfigPager.description); } }
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 6.6K bytes - Click Count (0) -
cmd/erasure_test.go
} for j := test.dataBlocks; j < test.dataBlocks+test.missingParity; j++ { encoded[j] = nil } if test.reconstructParity { err = erasure.DecodeDataAndParityBlocks(t.Context(), encoded) } else { err = erasure.DecodeDataBlocks(encoded) } if err == nil && test.shouldFail { t.Errorf("Test %d: test should fail but it passed", i) } if err != nil && !test.shouldFail {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 4.8K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt
result = 31 * result + tagClass result = 31 * result + tag.toInt() result = 31 * result + codec.hashCode() result = 31 * result + (if (isOptional) 1 else 0) result = 31 * result + defaultValue.hashCode() result = 31 * result + (if (typeHint) 1 else 0) return result } override fun toString(): String = "$name [$tagClass/$tag]"Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt
} connectTcpNextPlan != null -> { events += "plan $id needs follow-up" ConnectResult(this, nextPlan = connectTcpNextPlan) } else -> { events += "plan $id TCP connected" connectState = ConnectState.TCP_CONNECTED ConnectResult(this) } } } override fun connectTlsEtc(): ConnectResult {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 21:55:03 GMT 2025 - 6.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt
H2_PRIOR_KNOWLEDGE.protocol -> H2_PRIOR_KNOWLEDGE HTTP_2.protocol -> HTTP_2 SPDY_3.protocol -> SPDY_3 QUIC.protocol -> QUIC else -> { // Support HTTP3 draft like h3-29 if (protocol.startsWith(HTTP_3.protocol)) HTTP_3 else throw IOException("Unexpected protocol: $protocol") } } } }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon Jun 23 18:58:57 GMT 2025 - 4.4K bytes - Click Count (0) -
cmd/bucket-quota.go
if len(dui.BucketsUsage) > 0 { internalLogOnceIf(GlobalContext, fmt.Errorf("unable to retrieve usage information for bucket: %s, relying on older value cached in-memory: err(%v)", bucket, err), "bucket-usage-cache-"+bucket) } else { internalLogOnceIf(GlobalContext, errors.New("unable to retrieve usage information for bucket: %s, no reliable usage value available - quota will not be enforced"), "bucket-usage-empty-"+bucket) } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.4K bytes - Click Count (0) -
cmd/dynamic-timeouts.go
// previous results func (dt *dynamicTimeout) adjust(entries [dynamicTimeoutLogSize]time.Duration) { failures, maxDur := 0, time.Duration(0) for _, dur := range entries[:] { if dur == maxDuration { failures++ } else if dur > maxDur { maxDur = dur } } failPct := float64(failures) / float64(len(entries)) if failPct > dynamicTimeoutIncreaseThresholdPct {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.5K bytes - Click Count (0)