- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 609 for Caching (0.04 sec)
-
src/test/java/jcifs/util/transport/TransportExceptionTest.java
public void testThrowAndCatch() { // Test throwing and catching with message String expectedMessage = "Transport failed"; assertThrows(TransportException.class, () -> { throw new TransportException(expectedMessage); }); // Test throwing and catching with cause RuntimeException cause = new RuntimeException("Cause");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainManager.java
/** * Retrieves toolchains matching the specified type and requirements. * * @param session The Maven session context * @param type The type of toolchain (e.g., "jdk", "compiler") * @param requirements Key-value pairs specifying toolchain requirements (e.g., "version": "11") * @return List of matching toolchains, never null
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Feb 11 12:33:57 UTC 2025 - 3.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/WhitespaceMatcherBenchmark.java
String allMatchingChars = allMatchingChars(bitSet); char[] result = new char[STRING_LENGTH]; // Fill with matching chars. for (int i = 0; i < result.length; i++) { result[i] = allMatchingChars.charAt(random.nextInt(allMatchingChars.length())); } // Replace some of chars by non-matching. int remaining = (int) ((100 - percentMatching) * result.length / 100.0 + 0.5); while (remaining > 0) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java
assertNotNull(exception); assertEquals(longMessage, exception.getMessage()); } public void test_throwAndCatch() { // Test throwing and catching the exception String expectedMessage = "Theme loading error"; try { throw new ThemeException(expectedMessage); } catch (ThemeException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Partially.java
* {@code GwtIncompatible}. This is more accurate for {@link Futures#catching}, which is available * under GWT but with a slightly different signature. * * <p>We can't use {@code PartiallyGwtIncompatible} because then the GWT compiler wouldn't recognize * it as a {@code GwtIncompatible} annotation. And for {@code Futures.catching}, we need the GWT
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableBiMap.java
V value = entry.getValue(); checkEntryNotNull(key, value); int keyHash = key.hashCode(); int valueHash = value.hashCode(); int keyBucket = Hashing.smear(keyHash) & mask; int valueBucket = Hashing.smear(valueHash) & mask; ImmutableMapEntry<K, V> nextInKeyBucket = keyTable[keyBucket]; ImmutableMapEntry<K, V> nextInValueBucket = valueTable[valueBucket]; try {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 11.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManager.java
/** * Select all toolchains available in user settings matching the type and requirements, * independently from <code>maven-toolchains-plugin</code>. * * @param session the Maven session, must not be {@code null} * @param type the type, must not be {@code null} * @param requirements the requirements, may be {@code null} * @return the matching toolchains, never {@code null} * @since 3.3.0 */
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Feb 12 13:13:28 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java
StackTraceElement firstElement = stackTrace[0]; assertEquals(this.getClass().getName(), firstElement.getClassName()); } public void test_throwAndCatch() { // Test throwing and catching the exception String username = "nonexistentuser"; try { throw new FessUserNotFoundException(username); } catch (FessUserNotFoundException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.6K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java
import org.apache.maven.api.annotations.Nonnull; import org.apache.maven.api.annotations.Nullable; /** * Provides access to the contents of a source independently of the * backing store (e.g. file system, database, memory). * <p> * This is mainly used to parse files into objects such as Maven projects, * models, settings, or toolchains. The source implementation handles
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 29 09:46:53 UTC 2025 - 4K bytes - Viewed (0) -
cmd/format-erasure.go
// time when fresh disks were supplied, it is a two dimensional // array second dimension represents list of disks used per set. Sets [][]string `json:"sets"` // Distribution algorithm represents the hashing algorithm // to pick the right set index for an object. DistributionAlgo string `json:"distributionAlgo"` } `json:"xl"` }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 23.1K bytes - Viewed (0)