- Sort Score
- Num 10 results
- Language All
Results 3681 - 3690 of 5,027 for eravate (0.15 seconds)
-
mockwebserver/src/main/kotlin/mockwebserver3/internal/RecordedRequestFactory.kt
target = "/", version = "HTTP/1.1", ) internal val DEFAULT_REQUEST_LINE_HTTP_2 = RequestLine( method = "GET", target = "/", version = "HTTP/2", ) private fun requestUrl( socket: MockWebServerSocket, requestLine: RequestLine, headers: Headers, ): HttpUrl { val hostAndPort = headers[":authority"] ?: headers["Host"]Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jul 29 12:43:16 GMT 2025 - 3.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt
withLocale(Locale("tr", "TR")) { val mediaType = parse("IMAGE/JPEG") assertEquals("image", mediaType.type) assertEquals("jpeg", mediaType.subtype) } } private fun <T> withLocale( locale: Locale, block: () -> T, ): T { val previous = Locale.getDefault() try { Locale.setDefault(locale) return block() } finally {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt
} } if (failures.isNotEmpty()) { for (failure in failures) { println(failure) } throw failures.first() } } private fun testToAscii( input: String, output: String?, comment: String?, ) { val url = "https://$input/".toHttpUrlOrNull() assertThat(url?.host, name = comment ?: input).isEqualTo(output) }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/DescendingImmutableSortedSet.java
/** * Skeletal implementation of {@link ImmutableSortedSet#descendingSet()}. * * @author Louis Wasserman */ @GwtIncompatible final class DescendingImmutableSortedSet<E> extends ImmutableSortedSet<E> { private final ImmutableSortedSet<E> forward; DescendingImmutableSortedSet(ImmutableSortedSet<E> forward) { super(Ordering.from(forward.comparator()).reverse()); this.forward = forward; } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 3.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MapMakerTest.java
tester.testAllPublicInstanceMethods(new MapMaker()); } @GwtIncompatible // threads static final class DelayingIdentityLoader<T> implements Function<T, T> { private final CountDownLatch delayLatch; DelayingIdentityLoader(CountDownLatch delayLatch) { this.delayLatch = delayLatch; } @CanIgnoreReturnValue // Sure, why not? @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/TestPlatform.java
try { return getUninterruptibly(future, 0, SECONDS); } catch (TimeoutException e) { throw new AssertionError(e); } } private TestPlatform() {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformation.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.smb1; import jcifs.smb1.util.Hexdump; class Trans2QueryFSInformation extends SmbComTransaction { private final int informationLevel; Trans2QueryFSInformation(final int informationLevel) { command = SMB_COM_TRANSACTION2; subCommand = TRANS2_QUERY_FS_INFORMATION;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 2.7K bytes - Click Count (0) -
src/test/java/jcifs/ConfigTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; /** * Test class for Config utility functionality */ @DisplayName("Config Utility Tests") class ConfigTest extends BaseTest { private Properties testProperties; @BeforeEach void setUp() { testProperties = new Properties(); testProperties.setProperty("test.int", "123");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.6K bytes - Click Count (0) -
src/test/java/jcifs/DfsReferralDataTest.java
import org.mockito.Mock; /** * Test class for DfsReferralData interface functionality */ @DisplayName("DfsReferralData Interface Tests") class DfsReferralDataTest extends BaseTest { @Mock private DfsReferralData mockReferralData; @Test @DisplayName("Should define interface methods") void testDfsReferralDataInterface() { // Verify interface methods exist assertDoesNotThrow(() -> {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/DosErrorTest.java
/** * Tests for {@link DosError}. Since {@link DosError} only contains * constants, the tests exercise the data and small helper logic in this * test class. */ public class DosErrorTest { private static Optional<Integer> findNtStatus(int dosErrorCode) { return Arrays.stream(DosError.DOS_ERROR_CODES).filter(pair -> pair[0] == dosErrorCode).map(pair -> pair[1]).findFirst(); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3K bytes - Click Count (0)