- Sort Score
- Result 10 results
- Languages All
Results 1741 - 1750 of 2,835 for 2$ (0.02 sec)
-
okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerRealBackendTest.kt
queue.schedule("task", TimeUnit.MILLISECONDS.toNanos(750)) { log.put("runOnce delays.size=${delays.size}") return@schedule delays.removeAt(0) } assertThat(log.take()).isEqualTo("runOnce delays.size=2") val t2 = System.nanoTime() / 1e6 - t1 assertThat(t2).isCloseTo(750.0, 250.0) assertThat(log.take()).isEqualTo("runOnce delays.size=1") val t3 = System.nanoTime() / 1e6 - t1
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/OpenJSSETest.kt
} } @Test fun testSupportedProtocols() { val factory = SSLSocketFactoryImpl() val s = factory.createSocket() as SSLSocketImpl assertEquals(listOf("TLSv1.3", "TLSv1.2"), s.enabledProtocols.toList()) } @Test @Disabled fun testMozilla() { assumeNetwork() val request = Request.Builder().url("https://mozilla.org/robots.txt").build()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 3.7K bytes - Viewed (0) -
mkdocs.yml
- 'Change Log': changelogs/changelog.md - '4.x Change Log': changelogs/changelog_4x.md - 'Upgrading to OkHttp 4': changelogs/upgrading_to_okhttp_4.md - '3.x Change Log': changelogs/changelog_3x.md - '2.x Change Log': changelogs/changelog_2x.md - '1.x Change Log': changelogs/changelog_1x.md - 'Contributing': - 'Contributing': contribute/contributing.md - 'Code of Conduct': contribute/code_of_conduct.md
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Nov 20 15:26:12 UTC 2023 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java
.expect(1.0, 1.0, 2.0, 3.0); } public void testMultisetsSpliterator() { Multiset<String> multiset = TreeMultiset.create(); multiset.add("a", 3); multiset.add("b", 1); multiset.add("c", 2); List<String> actualValues = Lists.newArrayList(); multiset.spliterator().forEachRemaining(actualValues::add); assertThat(multiset).containsExactly("a", "a", "a", "b", "c", "c").inOrder(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 4.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MultiReaderTest.java
String expected = begin + end; assertEquals(expected.charAt(0), joinedReader.read()); CharStreams.skipFully(joinedReader, 1); assertEquals(expected.charAt(2), joinedReader.read()); CharStreams.skipFully(joinedReader, 4); assertEquals(expected.charAt(7), joinedReader.read()); CharStreams.skipFully(joinedReader, 1); assertEquals(expected.charAt(9), joinedReader.read());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.7K bytes - Viewed (0) -
android/guava/src/com/google/common/math/BigDecimalMath.java
* infinite {@code double} values are considered infinitely far away. For example, 2^2000 is not * representable as a double, but {@code roundToDouble(BigDecimal.valueOf(2).pow(2000), HALF_UP)} * will return {@code Double.MAX_VALUE}, not {@code Double.POSITIVE_INFINITY}. * * <p>For the case of {@link RoundingMode#HALF_EVEN}, this implementation uses the IEEE 754
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 23 18:45:50 UTC 2023 - 3.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MultiReaderTest.java
String expected = begin + end; assertEquals(expected.charAt(0), joinedReader.read()); CharStreams.skipFully(joinedReader, 1); assertEquals(expected.charAt(2), joinedReader.read()); CharStreams.skipFully(joinedReader, 4); assertEquals(expected.charAt(7), joinedReader.read()); CharStreams.skipFully(joinedReader, 1); assertEquals(expected.charAt(9), joinedReader.read());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.7K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosApRequest.java
if ( !msgType.getValue().equals(new BigInteger(KerberosConstants.KERBEROS_AP_REQ)) ) throw new PACDecodingException("Invalid kerberos request"); break; case 2: DERBitString bitString = ASN1Util.as(DERBitString.class, tagged); this.apOptions = bitString.getBytes()[ 0 ]; break; case 3:
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcBind.java
this.binding.getUuid().encode(buf); buf.enc_ndr_short(this.binding.getMajor()); buf.enc_ndr_short(this.binding.getMinor()); DCERPC_UUID_SYNTAX_NDR.encode(buf); buf.enc_ndr_long(2); /* syntax version */ } @Override public void decode_out ( NdrBuffer buf ) throws NdrException { buf.dec_ndr_short(); /* max transmit frag size */
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndXResponse.java
this.supportSearchBits = ( buffer[ bufferIndex ] & SMB_SUPPORT_SEARCH_BITS ) == SMB_SUPPORT_SEARCH_BITS; this.shareIsInDfs = ( buffer[ bufferIndex ] & SMB_SHARE_IS_IN_DFS ) == SMB_SHARE_IS_IN_DFS; return 2; } @Override protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) { int start = bufferIndex; int len = readStringLength(buffer, bufferIndex, 32);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.2K bytes - Viewed (0)