- Sort Score
- Result 10 results
- Languages All
Results 1651 - 1660 of 2,283 for else (0.03 sec)
-
okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt
private fun logWithTime(message: String) { val startNs = startNs val timeMs = if (startNs == null) { // Event occurred before start, for an example an early cancel. 0L } else { TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startNs) } logger.invoke("[$timeMs ms] $message") }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java
if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else { throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName()); } } private enum PlatformSpecificExceptionBatch { PLATFORM { @GwtIncompatible
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:10:20 UTC 2024 - 6.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java
// not have a big impact on the measurement. private static long randomDivisor(long dividend) { long r = RANDOM_SOURCE.nextLong(); if (dividend == -1) { return r; } else { return UnsignedLongs.remainder(r, dividend + 1); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.3K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ReflectionFreeAssertThrows.java
if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else { throw new AssertionError("expected to throw " + expectedThrowable.getSimpleName()); } } private enum PlatformSpecificExceptionBatch { PLATFORM { @GwtIncompatible
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 22 13:49:09 UTC 2024 - 6.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java
dstIndex += 4; if ( this.fileName == null ) { SMBUtil.writeInt2(0, dst, fnOffsetOffset); SMBUtil.writeInt2(0, dst, fnLengthOffset); } else { byte[] fnBytes = this.fileName.getBytes(StandardCharsets.UTF_16LE); SMBUtil.writeInt2(dstIndex - getHeaderStart(), dst, fnOffsetOffset); SMBUtil.writeInt2(fnBytes.length, dst, fnLengthOffset);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 14 10:41:31 UTC 2021 - 6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/DefaultBeanConfigurationRequest.java
if (pluginExecutionId.equals(execution.getId())) { setConfiguration(execution.getConfiguration()); break; } } } else { setConfiguration(plugin.getConfiguration()); } } return this; } private Plugin findPlugin(Model model, String groupId, String artifactId) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.8K bytes - Viewed (0) -
docs/sts/assume-role.go
stsOpts.SecretKey = minioPassword if sessionPolicyFile != "" { var policy string if f, err := os.Open(sessionPolicyFile); err != nil { log.Fatalf("Unable to open session policy file: %v", err) } else { defer f.Close() bs, err := io.ReadAll(f) if err != nil { log.Fatalf("Error reading session policy file: %v", err) } policy = string(bs) } stsOpts.Policy = policy }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Aug 17 01:24:54 UTC 2024 - 4.4K bytes - Viewed (0) -
internal/grid/trace.go
resp, err := c.roundtrip(h, req) end := time.Now() status := http.StatusOK errString := "" if err != nil { errString = err.Error() if IsRemoteErr(err) == nil { status = http.StatusInternalServerError } else { status = http.StatusBadRequest } } prefix := t.Prefix if p := handlerPrefixes[h]; p != "" { prefix = p } trace := madmin.TraceInfo{ TraceType: t.TraceType,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Jun 01 05:17:37 UTC 2024 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MultimapsTest.java
assertEquals(9, multimap.size()); } else { assertEquals(8, multimap.size()); } Multimap<@Nullable String, @Nullable Integer> unmodifiable; if (multimap instanceof SortedSetMultimap) { unmodifiable = Multimaps.unmodifiableSortedSetMultimap( (SortedSetMultimap<@Nullable String, @Nullable Integer>) multimap); } else if (multimap instanceof SetMultimap) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 38.4K bytes - Viewed (0) -
cmd/api-response.go
isDeleteMarker bool } // MarshalXML - marshal ObjectVersion func (o ObjectVersion) MarshalXML(e *xxml.Encoder, start xxml.StartElement) error { if o.isDeleteMarker { start.Name.Local = "DeleteMarker" } else { start.Name.Local = "Version" } type objectVersionWrapper ObjectVersion return e.EncodeElement(objectVersionWrapper(o), start) } // DeleteMarkerVersion container for delete marker metadata
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 19:27:06 UTC 2024 - 33.4K bytes - Viewed (0)