- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 480 for ints (0.77 sec)
-
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
void testSizeCalculation(int hashAlgoCount) { // Arrange int[] hashAlgos = new int[hashAlgoCount]; byte[] salt = new byte[16]; context = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt); // Act int size = context.size(); // Assert assertEquals(4 + (2 * hashAlgoCount) + 16, size);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
* * <h3>Common ways to use</h3> * * <p>Getting a converter: * * <ul> * <li>Use a provided converter implementation, such as {@link Enums#stringConverter}, {@link * com.google.common.primitives.Ints#stringConverter Ints.stringConverter} or the {@linkplain * #reverse reverse} views of these. * <li>Convert between specific preset values using {@link
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jun 18 21:43:06 UTC 2025 - 22.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ShortsTest.java
public void testConcat_overflow_negative() { int dim1 = 1 << 16; int dim2 = 1 << 15; assertThat(dim1 * dim2).isLessThan(0); testConcatOverflow(dim1, dim2); } @GwtIncompatible // different overflow behavior; could probably be made to work by using ~~ public void testConcat_overflow_nonNegative() { int dim1 = 1 << 16; int dim2 = 1 << 16; assertThat(dim1 * dim2).isAtLeast(0);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 27.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
// Given - large buffer with many notifications byte[] buffer = new byte[65536]; int offset = 0; setHeaderStart(response, 64); // Calculate space for notifications int notificationSize = 32; // Each notification int notificationCount = 100; int totalSize = notificationSize * notificationCount; // Write structureRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
@ValueSource(ints = { 1024, 2048, 4096, 8192, 16384, 32768, 65535 }) void testMaxDataCountValues(int maxDataCount) throws Exception { netShareEnum = new NetShareEnum(realConfig); // Set maxDataCount using reflection setFieldValue(netShareEnum, "maxDataCount", maxDataCount); byte[] dst = new byte[256];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
} @ParameterizedTest @ValueSource(ints = { NtStatus.NT_STATUS_SUCCESS, NtStatus.NT_STATUS_NONE_MAPPED, 0x00000107 }) @DisplayName("resolveSids(DcerpcHandle,...) accepts success/none/some-not-mapped codes") void resolveSids_allowsCertainRetvals_noThrow(int ret) throws Exception { SIDCacheImpl cache = new SIDCacheImpl(mock(CIFSContext.class));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
for (int i = 0; i < 100; i++) { int bytesRead = response.readBytesWireFormat(buffer, 0); // Then assertEquals(4, bytesRead, "Failed at iteration " + i); } // When - perform multiple write operations for (int i = 0; i < 100; i++) { int bytesWritten = response.writeBytesWireFormat(buffer, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multisets.java
} /** An implementation of {@link Multiset#setCount(Object, int)}. */ static <E extends @Nullable Object> int setCountImpl( Multiset<E> self, @ParametricNullness E element, int count) { checkNonnegative(count, "count"); int oldCount = self.count(element); int delta = count - oldCount; if (delta > 0) { self.add(element, delta);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 41.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multisets.java
} /** An implementation of {@link Multiset#setCount(Object, int)}. */ static <E extends @Nullable Object> int setCountImpl( Multiset<E> self, @ParametricNullness E element, int count) { checkNonnegative(count, "count"); int oldCount = self.count(element); int delta = count - oldCount; if (delta > 0) { self.add(element, delta);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 41.2K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
@ParameterizedTest @ValueSource(ints = { NegTokenInit.DELEGATION, NegTokenInit.MUTUAL_AUTHENTICATION, NegTokenInit.REPLAY_DETECTION, NegTokenInit.SEQUENCE_CHECKING, NegTokenInit.ANONYMITY, NegTokenInit.CONFIDENTIALITY, NegTokenInit.INTEGRITY }) @DisplayName("Individual flag values are correctly set and retrieved") void testIndividualFlagValues(int flag) { NegTokenInit init = new NegTokenInit();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0)