- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 322 for thrice (0.04 sec)
-
guava/src/com/google/common/collect/ImmutableBiMap.java
* * {@snippet : * static final ImmutableBiMap<String, Integer> WORD_TO_INT = * new ImmutableBiMap.Builder<String, Integer>() * .put("one", 1) * .put("two", 2) * .put("three", 3) * .buildOrThrow(); * } * * <p>For <i>small</i> immutable bimaps, the {@code ImmutableBiMap.of()} methods are even more * convenient. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 22.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt
signalledCallback = true responseCallback.onResponse(this@RealCall, response) } catch (e: IOException) { if (signalledCallback) { // Do not signal the callback twice! Platform.get().log("Callback failure for ${toLoggableString()}", Platform.INFO, e) } else { responseCallback.onFailure(this@RealCall, e) } } catch (t: Throwable) {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 19.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
bufferIndex++; if (this.wordCount != 0) { int n = readParameterWordsWireFormat(buffer, bufferIndex); if ((n != this.wordCount * 2) && log.isTraceEnabled()) { log.trace("wordCount * 2=" + this.wordCount * 2 + " but readParameterWordsWireFormat returned " + n); } bufferIndex += this.wordCount * 2; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 38.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java
* then the effect of the function is non-existent: we serve storedPermits at exactly the same * cost as fresh ones (1/QPS is the cost for each). We use this trick later. * * If we pick a function that goes /below/ that horizontal line, it means that we reduce the area * of the function, thus time. Thus, the RateLimiter becomes /faster/ after a period of
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 19.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt
// an SSL context for an attacking webserver. It includes both these rogue certificates plus the // trusted good certificate above. The attack is that by including the good certificate in the // chain, we may trick the certificate pinner into accepting the rouge certificate. val compromisedIntermediateCa = HeldCertificate .Builder() .signedBy(rootCa) .certificateAuthority(0)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 24.3K bytes - Viewed (2) -
guava-tests/test/com/google/common/graph/AbstractGraphTest.java
Set<EndpointPair<Integer>> n1IncidentEdges = graph.incidentEdges(N1); Set<EndpointPair<Integer>> n2IncidentEdges = graph.incidentEdges(N2); assertThat(graphAsMutableGraph.removeNode(N1)).isTrue(); // The choice of the size() method to call here is arbitrary. We assume that if any of the Set // methods executes the validation check, they all will, and thus we only need to test one of
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 07 15:57:03 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
byte[] fullData = concat(messageHeader(3), data); InputStream in = new ByteArrayInputStream(fullData); SocketInputStream sis = new SocketInputStream(in); // Read the three data bytes assertEquals(1, sis.read()); assertEquals(2, sis.read()); assertEquals(3, sis.read()); // After consuming all data, trying to read again will attempt to read
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
*/ public List<Integer> asList() { /* * Typically we cache this kind of thing, but much repeated use of this view is a performance * anti-pattern anyway. If we cache, then everyone pays a price in memory footprint even if * they never use this method. */ return new AsList(this); } private static final class AsList extends AbstractList<Integer>
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 21.5K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
*/ public List<Long> asList() { /* * Typically we cache this kind of thing, but much repeated use of this view is a performance * anti-pattern anyway. If we cache, then everyone pays a price in memory footprint even if * they never use this method. */ return new AsList(this); } private static final class AsList extends AbstractList<Long>
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 22K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
* ours as they do when they perform the same comparison in reverse. To provide that * behavior on all platforms, TypeResolver must return the appropriate TypeVariable * implementation in each of the three possible cases: * * 1. Under Android, the built-in TypeVariable implementation interoperates with ours. * Therefore, we can always create our own TypeVariable. (One downside of our TypeVariableRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 22:30:05 UTC 2025 - 25.3K bytes - Viewed (0)