- Sort Score
- Num 10 results
- Language All
Results 1781 - 1790 of 8,997 for Class3 (0.07 seconds)
-
android/guava/src/com/google/common/reflect/TypeVisitor.java
* ignored by {@link #visit}. This avoids infinite recursion caused by recursive type bounds. * * <p>This class is not thread safe. * * @author Ben Yu */ abstract class TypeVisitor { private final Set<Type> visited = new HashSet<>(); /** * Visits the given types. Null types are ignored. This allows subclasses to call {@codeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 3.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java
TestHasher hasher = new TestHasher(); assertThrows(IndexOutOfBoundsException.class, () -> hasher.putBytes(new byte[8], -1, 4)); assertThrows(IndexOutOfBoundsException.class, () -> hasher.putBytes(new byte[8], 0, 16)); assertThrows(IndexOutOfBoundsException.class, () -> hasher.putBytes(new byte[8], 0, -1)); } private static final class TestHasher extends AbstractByteHasher {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 21:52:12 GMT 2025 - 3.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectSegment.java
* </p> * <p> * Additionally this class contains a clone of the MavenSession, which is *only* needed * because it has as notion of a "current" project. * </p> * <strong>NOTE:</strong> This class is not part of any public api and can be changed or deleted without prior notice. * * @since 3.0 */ public final class ProjectSegment { private final MavenProject project;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.5K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/LongAddables.java
* Source of {@link LongAddable} objects that deals with GWT, Unsafe, and all that. * * @author Louis Wasserman */ final class LongAddables { private static final Supplier<LongAddable> SUPPLIER; static { Supplier<LongAddable> supplier; try { // trigger static initialization of the LongAdder class, which may fail LongAdder unused = new LongAdder(); supplier = new Supplier<LongAddable>() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 1.9K bytes - Click Count (0) -
tests/test_schema_compat_pydantic_v2.py
from tests.utils import needs_py310 @pytest.fixture(name="client") def get_client(): from enum import Enum app = FastAPI() class PlatformRole(str, Enum): admin = "admin" user = "user" class OtherRole(str, Enum): ... class User(BaseModel): username: str role: PlatformRole | OtherRole @app.get("/users") async def get_user() -> User:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 23 12:36:49 GMT 2026 - 4.1K bytes - Click Count (0) -
src/test/java/org/codelibs/core/exception/SIllegalStateExceptionTest.java
import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.notNullValue; import static org.junit.Assert.assertThat; import org.junit.Test; /** * @author wyukawa * */ public class SIllegalStateExceptionTest { /** * Test method for * {@link org.codelibs.core.exception.ClIllegalStateException#SIllegalStateException()} * . */ @TestCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
import jcifs.internal.SMBProtocolDecodingException; /** * Test class for NegotiateContextResponse interface and its implementations */ @ExtendWith(MockitoExtension.class) class NegotiateContextResponseTest { @Mock private Configuration mockConfig; @Nested @DisplayName("PreauthIntegrityNegotiateContext Tests") class PreauthIntegrityNegotiateContextTest {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java
public void testGet_bad() { ImmutableIntArray iia = ImmutableIntArray.of(0, 1, 3); assertThrows(IndexOutOfBoundsException.class, () -> iia.get(-1)); assertThrows(IndexOutOfBoundsException.class, () -> iia.get(3)); ImmutableIntArray sub = iia.subArray(1, 2); assertThrows(IndexOutOfBoundsException.class, () -> sub.get(-1)); } public void testIndexOf() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java
* * @author Zoe Piepmeier */ @NullUnmarked public class HashingOutputStreamTest extends TestCase { private Hasher hasher; private HashFunction hashFunction; private final ByteArrayOutputStream buffer = new ByteArrayOutputStream(); @SuppressWarnings("DoNotMock") @Override protected void setUp() throws Exception { super.setUp(); hasher = mock(Hasher.class); hashFunction = mock(HashFunction.class);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 3.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
import jcifs.internal.smb2.Smb2Constants; import jcifs.internal.util.SMBUtil; /** * Test class for Smb2SessionSetupRequest functionality */ @ExtendWith(MockitoExtension.class) @DisplayName("Smb2SessionSetupRequest Tests") @MockitoSettings(strictness = Strictness.LENIENT) class Smb2SessionSetupRequestTest extends BaseTest { private Configuration mockConfig; private CIFSContext mockContext;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21.2K bytes - Click Count (0)