- Sort Score
- Result 10 results
- Languages All
Results 901 - 910 of 1,270 for cases (0.02 sec)
-
guava-testlib/src/com/google/common/testing/TearDownStack.java
this.suppressThrows = suppressThrows; } @Override public final void addTearDown(TearDown tearDown) { synchronized (lock) { stack.addFirst(checkNotNull(tearDown)); } } /** Causes teardown to execute. */ public final void runTearDown() { List<Throwable> exceptions = new ArrayList<>(); List<TearDown> stackCopy; synchronized (lock) { stackCopy = new ArrayList<>(stack);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Invokable.java
// Strictly, this doesn't necessarily indicate a hidden 'this' in the case of // static initializer. But there seems no way to tell in that case. :( // This may cause issues when an anonymous class is created inside a static initializer, // and the class's constructor's first parameter happens to be the enclosing class. // In such case, we may mistakenly think that the class is within a non-static context
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 18.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
switch (ua) { case IE: if (isLocalFile) { url = url.replaceFirst("file:/+", systemProperties.getProperty("file.protocol.winlocal.ie", "file://")); } else { url = url.replaceFirst("file:/+", systemProperties.getProperty("file.protocol.ie", "file://")); } break; case FIREFOX: if (isLocalFile) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 52.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/FinalizableReference.java
@GwtIncompatible public interface FinalizableReference { /** * Invoked on a background thread after the referent has been garbage collected unless security * restrictions prevented starting a background thread, in which case this method is invoked when * new references are created. */ void finalizeReferent();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.4K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
return value.getValue(); } else { statsCounter.recordEviction(); statsCounter.recordMisses(1); // `key` was in the cache, so it's a K. // (Or it's a weird case like a LinkedList in a Cache<ArrayList, ...>, but *shrug*.) @SuppressWarnings("unchecked") K castKey = (K) key; alertListenerIfPresent(castKey, value.getValue(), RemovalCause.EXPIRED);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/Queues.java
} } return added; } /** * Drains the queue as {@linkplain #drain(BlockingQueue, Collection, int, Duration)}, but with a * different behavior in case it is interrupted while waiting. In that case, the operation will * continue as usual, and in the end the thread's interruption status will be set (no {@code * InterruptedException} is thrown). *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ThrowablesTest.java
assertThat(getCausalChain(ex)).containsExactly(ex, re, iae, sue).inOrder(); assertSame(sue, Iterables.getOnlyElement(getCausalChain(sue))); List<Throwable> causes = getCausalChain(ex); assertThrows(UnsupportedOperationException.class, () -> causes.add(new RuntimeException())); } public void testGetCasualChainNull() { assertThrows(NullPointerException.class, () -> getCausalChain(null)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.9K bytes - Viewed (0) -
migrator/migrator.go
// null -> default value alterColumn = true } else if currentDefaultNotNull || dvNotNull { switch field.GORMDataType { case schema.Time: if !strings.EqualFold(strings.TrimSuffix(dv, "()"), strings.TrimSuffix(field.DefaultValue, "()")) { alterColumn = true } case schema.Bool: v1, _ := strconv.ParseBool(dv) v2, _ := strconv.ParseBool(field.DefaultValue) alterColumn = v1 != v2 default:
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Jun 06 02:35:01 UTC 2025 - 29.5K bytes - Viewed (0) -
cmd/metrics-v3-system-drive.go
m.Set(driveFreeInodes, float64(drive.FreeInodes), labels...) m.Set(driveTotalInodes, float64(drive.UsedInodes+drive.FreeInodes), labels...) var health float64 switch drive.Healing { case true: health = driveHealthHealing case false: if drive.State == "ok" { health = driveHealthOnline } else { health = driveHealthOffline } } m.Set(driveHealth, health, labels...) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 7.8K bytes - Viewed (0) -
ci/official/utilities/windows.sh
# to setting up up volume mappings. # Thus, the drive letter is replaced with the passed prefix. # If no prefix is passed, by default, it's replaced with C:\, in case it's # something else (ex. T:), which is a volume used in internal CI. function replace_drive_letter_with_prefix () { local path_prefix if [[ -z "$2" ]]; then path_prefix="C:" else path_prefix="$2"
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Jan 09 18:37:25 UTC 2025 - 1.2K bytes - Viewed (0)