- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 320 for Maps (0.02 sec)
-
guava/src/com/google/common/collect/BiMap.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Platform.java
*/ static <K extends @Nullable Object, V extends @Nullable Object> Map<K, V> preservesInsertionOrderOnPutsMapWithExpectedSize(int expectedSize) { return Maps.newLinkedHashMapWithExpectedSize(expectedSize); } /** * Returns the platform preferred set implementation that preserves insertion order when used only * for insertions. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashMap.java
return (keySetView == null) ? keySetView = createKeySet() : keySetView; } Set<K> createKeySet() { return new KeySetView(); } @WeakOuter class KeySetView extends Maps.KeySet<K, V> { KeySetView() { super(CompactHashMap.this); } @Override public @Nullable Object[] toArray() { if (needsAllocArrays()) { return new Object[0]; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 39.6K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
* * <p>Note that usually type mappings are already implied by the static type hierarchy (for example, * the {@code E} type variable declared by class {@code List} naturally maps to {@code String} in * the context of {@code class MyStringList implements List<String>}). In such case, prefer to use * {@link TypeToken#resolveType} since it's simpler and more type safe. This class should only be
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
int written = trans2QueryFSInfo.writeParametersWireFormat(buffer, 0); // Should write 2 bytes: information level assertEquals(2, written); // Check information level (SMB_INFO_ALLOCATION maps to 0x0001) int actualInfoLevel = SMBUtil.readInt2(buffer, 0); assertEquals(0x0001, actualInfoLevel); } @Test @DisplayName("Test writeParametersWireFormat with FS_SIZE_INFO")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
assertEquals(6, written); // Check FID int actualFid = SMBUtil.readInt2(buffer, 0); assertEquals(TEST_FID, actualFid); // Check information level (FILE_BASIC_INFO maps to 0x0101) int actualInfoLevel = SMBUtil.readInt2(buffer, 2); assertEquals(0x0101, actualInfoLevel); // Check reserved bytes (should be 0) int reserved = SMBUtil.readInt2(buffer, 4);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
when(locator.getAddress()).thenThrow(new CIFSException("no master", new UnknownHostException("MB"))); // Act + Assert: the code maps this case to SmbUnsupportedOperationException assertThrows(SmbUnsupportedOperationException.class, () -> SmbEnumerationUtil.doEnum(parent, "*", 0, null, null)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
import org.jspecify.annotations.NonNull; import org.jspecify.annotations.Nullable; /** * Static utility methods pertaining to {@link Set} instances. Also see this class's counterparts * {@link Lists}, {@link Maps} and {@link Queues}. * * <p>See the Guava User Guide article on <a href= * "https://github.com/google/guava/wiki/CollectionUtilitiesExplained#sets">{@code Sets}</a>. * * @author Kevin Bourrillion * @author Jared LevyRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 81.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java
SamrPolicyHandle handle = new SamrPolicyHandle(mockHandle, server, access); SmbException thrown = assertThrows(SmbException.class, handle::close); // SmbException constructor maps non-NT status codes to NT_STATUS_UNSUCCESSFUL assertEquals(0xC0000001, thrown.getNtStatus()); // NT_STATUS_UNSUCCESSFUL verify(mockHandle, times(1)).sendrecv(any(MsrpcSamrCloseHandle.class)); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import static com.google.common.collect.Maps.immutableEntry; import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows; import static com.google.common.truth.Truth.assertThat; import static java.util.Arrays.asList;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.8K bytes - Viewed (0)