- Sort Score
- Num 10 results
- Language All
Results 1181 - 1190 of 1,381 for needn (0.37 seconds)
-
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
assertThrows( NullPointerException.class, () -> builder.addAll((Iterable<String>) iterableWithNulls)); } } // We need to test that asList() really does return the original list. @SuppressWarnings("InlineMeInliner") public void testAsList() { ImmutableList<String> list = ImmutableList.of("a", "b");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 24.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
*/ private static @Nullable Object createHashTable( @Nullable Object[] alternatingKeysAndValues, int n, int tableSize, int keyOffset) { if (n == 1) { // for n=1 we don't create a hash table, but we need to do the checkEntryNotNull check! // requireNonNull is safe because the first `2*n` elements have been filled in. checkEntryNotNull( requireNonNull(alternatingKeysAndValues[keyOffset]),
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 22.5K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/Types.java
* {@link TypeVariableImpl#equals(Object)} is changed to no longer be equal to custom TypeVariable * implementations. As a result, we need to make sure our TypeVariable implementation respects * symmetry. Moreover, we don't want to reconstruct a native type variable {@code <A>} using ourCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Oct 31 19:34:24 GMT 2025 - 24.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/Sets.java
* * <p><b>Note:</b> if {@code E} is an {@link Enum} type, use {@link #newEnumSet(Iterable, Class)} * instead. * * <p><b>Note:</b> if {@code elements} is a {@link Collection}, you don't need this method. * Instead, use the {@code HashSet} constructor directly, taking advantage of <a * href="https://docs.oracle.com/javase/tutorial/java/generics/genTypeInference.html#type-inference-instantiation">"diamond"Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 83K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ByteStreamsTest.java
public void testNewDataOutput_writeChars() { ByteArrayDataOutput out = ByteStreams.newDataOutput(); out.writeChars("r\u00C9sum\u00C9"); // need to remove byte order mark before comparing byte[] expected = Arrays.copyOfRange(utf16ExpectedWithBom, 2, 14); assertThat(out.toByteArray()).isEqualTo(expected); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 22K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Multimap.java
* * <p>Multimaps are commonly used in places where a {@code Map<K, Collection<V>>} would otherwise * have appeared. The differences include: * * <ul> * <li>There is no need to populate an empty collection before adding an entry with {@link #put * put}. * <li>{@code get} never returns {@code null}, only an empty collection.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 15K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
when(response.getHeaderStart()).thenReturn(0); // Note: Due to bug in line 96 (commented out bufferIndex = bufferOffset), // the decode starts at bufferIndex=8 instead of dataOffset=80 // So we need to write data at bufferIndex=8 // Write first FileBothDirectoryInfo at bufferIndex=8 SMBUtil.writeInt4(104, buffer, 8); // NextEntryOffset to second entry SMBUtil.writeInt4(0, buffer, 12); // FileIndex
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.5K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
* hunt through classes like {@link Arrays} and {@link Longs} for them. * <li>Supports a copy-free {@link #subArray} view, so methods that accept this type don't need to * add overloads that accept start and end indexes. * <li>Can be streamed without "breaking the chain": {@code foo.getBarLongs().stream()...}.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 14:49:24 GMT 2025 - 22K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
* matches. * * <p>On the other hand, if for example we are resolving {@code List<A extends B>} to {@code * List<A extends String>}, we need to compare that {@code <A extends B>} is unequal to {@code <A * extends String>} in order to decide to use the transformed type instead of the original type. */ static final class TypeVariableKey {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 22:30:05 GMT 2025 - 25.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
for (SmbTransportImpl transport : connections) { try { // Check if connection has been idle too long // Note: getLastUseTime() method would need to be added to SmbTransportImpl // For now, we'll use a simple disconnected check if (transport.isDisconnected()) { idle.add(transport);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 33.4K bytes - Click Count (0)