- Sort Score
- Result 10 results
- Languages All
Results 1391 - 1400 of 1,819 for else (0.02 sec)
-
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
FactoryMethodReturnsNullException { if (cls.isEnum()) { T[] constants = cls.getEnumConstants(); if (constants != null && constants.length > 0) { return constants[0]; } else { return null; } } TypeToken<T> type = TypeToken.of(cls); List<ParameterNotInstantiableException> paramErrors = new ArrayList<>();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 32.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
if (ManagementFactory.getOperatingSystemMXBean() instanceof final com.sun.management.OperatingSystemMXBean operatingSystemMXBean) { cpuLoad = operatingSystemMXBean.getProcessCpuLoad(); } else { cpuLoad = -1; } final long maxMemory = Runtime.getRuntime().maxMemory(); final long freeMemory = Runtime.getRuntime().freeMemory(); final String msg = String.format(
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 34.8K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt
} eventSequence.offer(e) } private fun checkForStartEvent(e: CallEvent) { if (eventSequence.isEmpty()) { assertThat(e).matchesPredicate { it is CallStart || it is Canceled } } else { eventSequence.forEach loop@{ when (e.closes(it)) { null -> return // no open event true -> return // found open event
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 9.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java
keySetFeatures.add(CollectionFeature.SUBSET_VIEW); if (mapFeatures.contains(MapFeature.ALLOWS_NULL_KEYS)) { keySetFeatures.add(CollectionFeature.ALLOWS_NULL_VALUES); } else if (mapFeatures.contains(MapFeature.ALLOWS_NULL_KEY_QUERIES)) { keySetFeatures.add(CollectionFeature.ALLOWS_NULL_QUERIES); } return keySetFeatures; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 11K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt
// Check the ranges. for (r in 0 until rangesOffsets.size) { val rangePos = rangesOffsets[r] * 4 val rangeLimit = when { r + 1 < rangesOffsets.size -> rangesOffsets[r + 1] * 4 else -> rangesOffsets.size * 4 } // Confirm this range starts with byte 0. assertThat(compactTable.ranges[rangePos].code).isEqualTo(0) // Confirm this range's index byte is increasing.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 8.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeTraverser.java
while (!stack.isEmpty()) { PostOrderNode<T> top = stack.getLast(); if (top.childIterator.hasNext()) { T child = top.childIterator.next(); stack.addLast(expand(child)); } else { stack.removeLast(); return top.root; } } return endOfData(); } private PostOrderNode<T> expand(T t) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 8.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthentication.java
to.unicodeHash = from.unicodeHash != null ? Arrays.copyOf(from.unicodeHash, from.unicodeHash.length) : null; } else { NtlmPasswordAuthenticator.cloneInternal(to, from); } } /** * Compares two {@code NtlmPasswordAuthentication} objects for
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.3K bytes - Viewed (0) -
cmd/site-replication-metrics.go
} } m[dID] = metric } return m } func (srs *SRStatus) updateXferRate(sz int64, duration time.Duration) { if sz > minLargeObjSize { srs.XferRateLrg.addSize(sz, duration) } else { srs.XferRateSml.addSize(sz, duration) } } func newSRStats() *SRStats { s := SRStats{ M: make(map[string]*SRStatus), movingAvgTicker: time.NewTicker(time.Second * 2), }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt
// We may have a single failed request if not clean shutdown if (cleanClose) { assertSuccessful() assertCode(200) assertThat(server2.requestCount).isEqualTo(1) } else { this.assertFailure(SocketTimeoutException::class.java) } } println("\n\nRequest to ${server2.socketAddress}") executeSynchronously(request) .assertSuccessful()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 11.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
throw new IllegalStateException("Signing key has been wiped"); } Mac m; if (this.provider != null) { m = Mac.getInstance(this.algorithmName, this.provider); } else { m = Mac.getInstance(this.algorithmName); } m.init(new SecretKeySpec(this.signingKey, "HMAC")); return m; } /** * {@inheritDoc} *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0)