- Sort Score
- Num 10 results
- Language All
Results 1211 - 1220 of 1,929 for latests (0.04 seconds)
-
docs/pt/docs/tutorial/extra-models.md
Para fazer isso, use a anotação de tipo padrão do Python [`typing.Union`](https://docs.python.org/3/library/typing.html#typing.Union): /// note | Nota Ao definir um [`Union`](https://docs.pydantic.dev/latest/concepts/types/#unions), inclua o tipo mais específico primeiro, seguido pelo tipo menos específico. No exemplo abaixo, o tipo mais específico `PlaneItem` vem antes de `CarItem` em `Union[PlaneItem, CarItem]`. ///
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 7.1K bytes - Click Count (0) -
android-test/src/test/kotlin/okhttp/android/test/DisabledInitialiserTest.kt
) hasClass<IOException>() } } } companion object { @AfterClass @JvmStatic fun resetContext() { // Ensure we don't make other tests fail Platform.resetForTests() } }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Aug 30 16:25:39 GMT 2025 - 2.1K bytes - Click Count (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackRoundTripTest.kt
import okio.Buffer import org.junit.jupiter.api.Assumptions.assumeFalse import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.ArgumentsSource /** * Tests for round-tripping headers through hpack. * * TODO: update hpack-test-case with the output of our encoder. * This test will hide complementary bugs in the encoder and decoder,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFluentFutureCatchingSpecialization.java
/* * In the GWT versions of the methods (below), every exceptionType parameter is required to be * Class<Throwable>. To handle only certain kinds of exceptions under GWT, you'll need to write * your own instanceof tests. */ public final FluentFuture<V> catching( Class<Throwable> exceptionType, Function<? super Throwable, ? extends V> fallback, Executor executor) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import jcifs.Configuration; /** * Tests for {@link SmbComWriteResponse}. */ public class SmbComWriteResponseTest { private SmbComWriteResponse resp; private Configuration cfgMock; @BeforeEach public void setUp() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java
import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; import org.mockito.junit.jupiter.MockitoExtension; /** * Tests for SmbEndOfFileException focusing on message, status, and throwability. */ @ExtendWith(MockitoExtension.class) class SmbEndOfFileExceptionTest { /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/LicenseTest.java
import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@code License}. * */ class LicenseTest { @Test void testHashCodeNullSafe() { new License().hashCode(); } @Test void testEqualsNullSafe() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 1.9K bytes - Click Count (0) -
tests/benchmark_test.go
package tests_test import ( "fmt" "testing" . "gorm.io/gorm/utils/tests" ) func BenchmarkCreate(b *testing.B) { user := *GetUser("bench", Config{}) for x := 0; x < b.N; x++ { user.ID = 0 DB.Create(&user) } } func BenchmarkFind(b *testing.B) { user := *GetUser("find", Config{}) DB.Create(&user) for x := 0; x < b.N; x++ { DB.Find(&User{}, "id = ?", user.ID) } }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Jun 01 03:50:57 GMT 2022 - 1.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
import java.util.Arrays; import java.util.Comparator; import java.util.List; import java.util.Random; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for UnsignedInts * * @author Louis Wasserman */ @GwtCompatible @NullUnmarked public class UnsignedIntsTest extends TestCase { private static final long[] UNSIGNED_INTS = { 0L, 1L, 2L,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
// Context and credentials wiring - used by most tests when(cifsContext.getCredentials()).thenReturn(credentials); when(credentials.unwrap(CredentialsInternal.class)).thenReturn(credentialsInternal); when(credentialsInternal.clone()).thenReturn(credentialsInternal); // Transport wiring - used by most tests when(transport.acquire()).thenReturn(transport);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0)