- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 121 for thing (0.01 sec)
-
docs/changelogs/upgrading_to_okhttp_4.md
`Headers.of(String...)` with `headersOf(vararg String)`. #### Extension Functions We’ve migrated from static functions to extension functions where we think they fit. | Java | Kotlin | | :---------------------------------- | :------------------------------ |
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 16:58:16 UTC 2022 - 10.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
boolean isPossibleChainingCall = interfaceType.isAssignableFrom(method.getReturnType()); try { Object actualReturnValue = method.invoke(wrapper, passedArgs); // If we think this might be a 'chaining' call then we allow the return value to either // be the wrapper or the returnValue. if (!isPossibleChainingCall || wrapper != actualReturnValue) { assertEquals(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
* same—hence the try-catch here. * * (Really, we're fortunate that breaking AtomicReferenceFieldUpdater doesn't break _even * more_ things.) */ helper = new SynchronizedHelper(); } } ATOMIC_HELPER = helper; // Prevent rare disastrous classloading in first call to LockSupport.park.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 33.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/Lists.java
ArrayList<E> list = new ArrayList<>(capacity); Collections.addAll(list, elements); return list; } /** * Creates a <i>mutable</i> {@code ArrayList} instance containing the given elements; a very thin * shortcut for creating an empty list then calling {@link Iterables#addAll}. * * <p><b>Note:</b> if mutability is not required and the elements are non-null, use {@link
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 42.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Comparators.java
*/ // Note: 90% of the time we don't add type parameters or wildcards that serve only to "tweak" the // desired return type. However, *nested* generics introduce a special class of problems that we // think tip it over into being worthwhile. public static <T extends @Nullable Object, S extends T> Comparator<Iterable<S>> lexicographical( Comparator<T> comparator) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeMultiset.java
/* * pred and succ are nullable after construction, but we always call successor() to initialize * them immediately thereafter. * * They may be subsequently nulled out by TreeMultiset.clear(). I think that the only place that * we can reference a node whose fields have been cleared is inside the iterator (and presumably * only under concurrent modification). *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 09 15:58:48 UTC 2025 - 34.3K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtAddress.java
*/ @Override public String getHostName() { /* * 2010 - We no longer try a Node Status to get the * hostname because apparently some servers do not respond * anymore. I think everyone post Windows 98 will accept * an IP address as the tconHostName which is the principal * use of this method. */ if (this.hostName.isUnknown()) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
} public void testCopyOf_array_empty() { /* * We don't guarantee the same-as property, so we aren't obligated to test it. However, it's * useful in testing - when two things are the same then one can't have bugs the other doesn't. */ assertThat(ImmutableLongArray.copyOf(new long[0])).isSameInstanceAs(ImmutableLongArray.of()); } public void testCopyOf_array_nonempty() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 20.9K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Types.java
return JAVA7.usedInGenericType(type); } /* * We use this only when getTypeName is available. * * Well, really, we use this when we think we're running under Java 8, as determined by some * logic in the static initializer, which does not check for getTypeName specifically. We
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 31 19:34:24 UTC 2025 - 24.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
if ((n != byteCount) && (LogStream.level >= 5)) { log.println("byteCount=" + byteCount + " but readBytesWireFormat returned " + n); } // Don't think we can rely on n being correct here. Must use byteCount. // Last paragraph of section 3.13.3 eludes to this. bufferIndex += byteCount; } length = bufferIndex - start;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.7K bytes - Viewed (0)