- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 3,252 for Avoid (0.01 sec)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt
* other adapters on this SEQUENCE to interrogate. */ fun asTypeHint(): BasicDerAdapter<T> = copy(typeHint = true) // Avoid Long.hashCode(long) which isn't available on Android 5. override fun hashCode(): Int { var result = 0 result = 31 * result + name.hashCode() result = 31 * result + tagClass
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java
} public void testCount_elementAbsent() { when(backingMap.get(KEY)).thenReturn(null); assertEquals(0, multiset.count(KEY)); } public void testAdd_zero() { int INITIAL_COUNT = 32; when(backingMap.get(KEY)).thenReturn(new AtomicInteger(INITIAL_COUNT)); assertEquals(INITIAL_COUNT, multiset.add(KEY, 0)); } public void testAdd_firstFewWithSuccess() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 08 22:42:14 UTC 2025 - 16.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
// it is kind of lame that we need to construct a decoder to access this value. // if this is a concern we could add special cases for some known charsets (like utf8) // or we could avoid inputstreamreader and use the decoder api directly // TODO(lukes): in a real implementation we would need to handle overflow conditions int maxChars = (int) (size.get().intValue() * cs.newDecoder().maxCharsPerByte());Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/BiMap.java
/** * {@inheritDoc} * * @throws IllegalArgumentException if the given value is already bound to a different key in this * bimap. The bimap will remain unmodified in this event. To avoid this exception, call {@link * #forcePut} instead. */ @CanIgnoreReturnValue @Override @Nullable V put(@ParametricNullness K key, @ParametricNullness V value); /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
GcFinalization.await(latch); assertEquals(0, latch.getCount()); } public void testAwaitDone_future() { SettableFuture<@Nullable Void> future = SettableFuture.create(); Object unused = new Object() { @SuppressWarnings({"removal", "Finalize"}) // b/260137033 @Override protected void finalize() { future.set(null); } };
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 08 17:02:07 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/util/Hexdump.java
return toHexString(data, 0, data.length); } /** * This is the same as {@link jcifs.util.Hexdump#toHexString(int val, int * size)} but provides a more practical form when trying to avoid {@link * java.lang.String} concatenation and {@link java.lang.StringBuffer}. * * @param val the integer value to convert to hexadecimal characters
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0) -
docs/changelogs/changelog_1x.md
OkHttpClient instances with the following: ```java okHttpClient.setSslSocketFactory(HttpsURLConnection.getDefaultSSLSocketFactory()); ``` A simpler solution is to avoid the shared default SSL socket factory. Instead, if you need to customize SSL, do so for your specific OkHttpClient instance only. ##### Synthetic headers have changed
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 6.4K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/StandardMutableNetwork.java
if (connections == null) { return false; } // Since views are returned, we need to copy the edges that will be removed. // Thus we avoid modifying the underlying view while iterating over it. for (E edge : ImmutableList.copyOf(connections.incidentEdges())) { removeEdge(edge); } nodeConnections.remove(node); return true; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 5.7K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
GcFinalization.await(latch); assertEquals(0, latch.getCount()); } public void testAwaitDone_future() { SettableFuture<@Nullable Void> future = SettableFuture.create(); Object unused = new Object() { @SuppressWarnings({"removal", "Finalize"}) // b/260137033 @Override protected void finalize() { future.set(null); } };
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 08 17:02:07 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
@DisplayName("sendrecv falls back to stream write/read when no call/transact") void sendrecv_stream_fallback_uses_streams() throws Exception { // Arrange - use non-transact, non-call pipe type SmbPipeHandleImpl handle = newHandleWithBasicStubs(SmbPipeResource.PIPE_TYPE_RDWR, "\\\\pipe\\\\x"); // Setup for ensureOpen to avoid NullPointer when(pipe.ensureTreeConnected()).thenReturn(tree);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0)