- Sort Score
- Result 10 results
- Languages All
Results 1461 - 1470 of 7,602 for Glass (0.02 sec)
-
guava-tests/test/com/google/common/base/StringsTest.java
} assertThrows(IllegalArgumentException.class, () -> Strings.repeat("x", -1)); assertThrows( ArrayIndexOutOfBoundsException.class, () -> Strings.repeat("12345678", (1 << 30) + 3)); } @SuppressWarnings("InlineMeInliner") // test of method that doesn't just delegate public void testRepeat_null() { assertThrows(NullPointerException.class, () -> Strings.repeat(null, 5)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Sep 17 18:14:12 UTC 2024 - 10.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
}); future.get(10, SECONDS); assertThrows(RejectedExecutionException.class, () -> executor.execute(Runnables.doNothing())); latch.countDown(); ExecutionException expected = assertThrows(ExecutionException.class, () -> first.get(10, SECONDS)); assertThat(expected).hasCauseThat().isInstanceOf(RejectedExecutionException.class); } public void testToString() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 11.4K bytes - Viewed (0) -
docs_src/sql_databases/tutorial002_an.py
from typing_extensions import Annotated class HeroBase(SQLModel): name: str = Field(index=True) age: Union[int, None] = Field(default=None, index=True) class Hero(HeroBase, table=True): id: Union[int, None] = Field(default=None, primary_key=True) secret_name: str class HeroPublic(HeroBase): id: int class HeroCreate(HeroBase): secret_name: str
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 2.6K bytes - Viewed (0) -
docs_src/sql_databases/tutorial002_py39.py
from sqlmodel import Field, Session, SQLModel, create_engine, select class HeroBase(SQLModel): name: str = Field(index=True) age: Union[int, None] = Field(default=None, index=True) class Hero(HeroBase, table=True): id: Union[int, None] = Field(default=None, primary_key=True) secret_name: str class HeroPublic(HeroBase): id: int class HeroCreate(HeroBase): secret_name: str
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 2.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java
// // ArtifactFactory factory = (ArtifactFactory) lookup( ArtifactFactory.class ); // Artifact artifact = factory.createProjectArtifact( "maven", "p1", "1.0" ); // // ArtifactRepositoryFactory repoFactory = (ArtifactRepositoryFactory) lookup( // ArtifactRepositoryFactory.class ); // ArtifactRepository localArtifactRepo = repoFactory.createLocalRepository( localRepo ); //
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.5K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt
* [event listener factory][OkHttpClient.eventListenerFactory]. * * The format of the logs created by this class should not be considered stable and may change * slightly between releases. If you need a stable logging format, use your own event listener. */ class LoggingEventListener private constructor( private val logger: HttpLoggingInterceptor.Logger, ) : EventListener() { private var startNs: Long = 0
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 01 11:07:32 UTC 2024 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/srvsvc.java
import jcifs.dcerpc.ndr.NdrBuffer; import jcifs.dcerpc.ndr.NdrException; import jcifs.dcerpc.ndr.NdrObject; @SuppressWarnings ( "all" ) public class srvsvc { public static String getSyntax () { return "4b324fc8-1670-01d3-1278-5a47bf6ee188:3.0"; } public static class ShareInfo0 extends NdrObject { public String netname; @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:40:13 UTC 2019 - 19.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
private static boolean isLongTimeUnitBased(Method method) { Class<?>[] parameterTypes = method.getParameterTypes(); return parameterTypes.length >= 2 && parameterTypes[parameterTypes.length - 2] == long.class && parameterTypes[parameterTypes.length - 1] == TimeUnit.class; } /** Determines whether the given method takes a Duration as its last parameter. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:51:36 UTC 2024 - 27.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CrawlingConfigHelperTest.java
import org.dbflute.cbean.result.ListResultBean; import org.dbflute.optional.OptionalEntity; import org.opensearch.index.query.QueryBuilder; import org.opensearch.search.sort.FieldSortBuilder; public class CrawlingConfigHelperTest extends UnitFessTestCase { private CrawlingConfigHelper crawlingConfigHelper; @Override public void setUp() throws Exception { super.setUp();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 23.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
assertThrows( NumberFormatException.class, () -> UnsignedBytes.parseUnsignedByte("0", Character.MIN_RADIX - 1)); assertThrows( NumberFormatException.class, () -> UnsignedBytes.parseUnsignedByte("0", Character.MAX_RADIX + 1)); // The radix is used as an array index, so try a negative value. assertThrows(NumberFormatException.class, () -> UnsignedBytes.parseUnsignedByte("0", -1)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 13.4K bytes - Viewed (0)