- Sort Score
- Num 10 results
- Language All
Results 991 - 1000 of 1,307 for assets (0.04 seconds)
-
guava-tests/test/com/google/common/primitives/IntsTest.java
assertThat(Ints.tryParse("\u0662\u06f3")).isNull(); } /** * Applies {@link Ints#tryParse(String)} to the given string and asserts that the result is as * expected. */ private static void tryParseAndAssertEquals(Integer expected, String value) { assertThat(Ints.tryParse(value)).isEqualTo(expected); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 29.3K bytes - Click Count (0) -
src/test/java/org/codelibs/core/misc/DisposableUtilTest.java
* governing permissions and limitations under the License. */ package org.codelibs.core.misc; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import org.junit.Before; import org.junit.Test; /** * @author koichik * */ public class DisposableUtilTest { private int count; private String names = "";Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToFutureTest.java
import static com.google.common.util.concurrent.MoreExecutors.directExecutor; import static com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly; import static org.junit.Assert.assertThrows; import com.google.common.util.concurrent.ClosingFuture.ClosingCallable; import com.google.common.util.concurrent.ClosingFuture.DeferredCloser; import java.io.Closeable;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CloserTest.java
} public void testNullCloseable() throws IOException { Closer closer = Closer.create(); closer.register(null); closer.close(); } /** * Asserts that an exception was thrown when trying to close each of the given throwables and that * each such exception was suppressed because of the given thrown exception. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 11.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
import static java.util.concurrent.TimeUnit.DAYS; import static java.util.concurrent.TimeUnit.HOURS; import static java.util.concurrent.TimeUnit.MINUTES; import static java.util.concurrent.TimeUnit.SECONDS; import static org.junit.Assert.assertThrows; import com.google.common.base.Suppliers; import com.google.common.cache.LocalCache.Strength; import com.google.common.testing.EqualsTester; import junit.framework.TestCase;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 20.8K bytes - Click Count (0) -
fastapi/utils.py
return operation_id def generate_unique_id(route: "APIRoute") -> str: operation_id = f"{route.name}{route.path_format}" operation_id = re.sub(r"\W", "_", operation_id) assert route.methods operation_id = f"{operation_id}_{list(route.methods)[0].lower()}" return operation_id def deep_dict_update(main_dict: dict[Any, Any], update_dict: dict[Any, Any]) -> None:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 5.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
* limitations under the License. */ package com.google.common.util.concurrent; import static com.google.common.truth.Truth.assertThat; import static java.util.concurrent.TimeUnit.MINUTES; import static org.junit.Assert.assertThrows; import com.google.common.base.Joiner; import com.google.common.util.concurrent.CycleDetectingLockFactory.Policies; import com.google.common.util.concurrent.CycleDetectingLockFactory.Policy;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 16.2K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt
} return result } } return BasicDerAdapter(name, tagClass, tag, codec) } /** Returns an adapter that returns a set of values of this type. */ fun asSetOf(): BasicDerAdapter<List<T>> = asSequenceOf( name = "SET OF", tagClass = DerHeader.TAG_CLASS_UNIVERSAL, tag = 17L, )Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java
import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.not; import static org.hamcrest.CoreMatchers.notNullValue; import static org.hamcrest.CoreMatchers.sameInstance; import static org.junit.Assert.assertThat; import java.util.List; import java.util.Map; import org.codelibs.core.beans.BeanDesc; import org.codelibs.core.beans.FieldDesc; import org.codelibs.core.beans.ParameterizedClassDesc;
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 5K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java
} } }; addCallback(f, callback, directExecutor()); f.cancel(true); } public void testThrowErrorFromGet() { Error error = new AssertionError("ASSERT!"); ListenableFuture<String> f = UncheckedThrowingFuture.throwingError(error); MockCallback callback = new MockCallback(error); addCallback(f, callback, directExecutor()); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 6.7K bytes - Click Count (0)