- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 192 for Ints (0.14 sec)
-
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
assertEquals(domain.toUpperCase(), writtenDomain); } @ParameterizedTest @DisplayName("Test writeParametersWireFormat with various server types") @ValueSource(ints = { 0x00000000, 0x00000001, 0x00000801, 0x80000000, 0xFFFFFFFF }) void testWriteParametersWireFormatVariousServerTypes(int serverType) { String domain = "DOMAIN";
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Booleans.java
* {@code toIndex > fromIndex} * @since 32.0.0 */ public static void rotate(boolean[] array, int distance, int fromIndex, int toIndex) { // See Ints.rotate for more details about possible algorithms here. checkNotNull(array); checkPositionIndexes(fromIndex, toIndex, array.length); if (array.length <= 1) { return; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 25 15:01:23 UTC 2025 - 20.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Booleans.java
* {@code toIndex > fromIndex} * @since 32.0.0 */ public static void rotate(boolean[] array, int distance, int fromIndex, int toIndex) { // See Ints.rotate for more details about possible algorithms here. checkNotNull(array); checkPositionIndexes(fromIndex, toIndex, array.length); if (array.length <= 1) { return; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 25 15:01:23 UTC 2025 - 20.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
Spliterator.OfLong spliterator = stream.spliterator(); long size = spliterator.getExactSizeIfKnown(); if (size > 0) { // known *and* nonempty ensureRoomFor(Ints.saturatedCast(size)); } spliterator.forEachRemaining((LongConsumer) this::add); return this; } /** * Appends {@code values}, in order, to the end of the values the built {@link
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 22K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
assertEquals("file3", notifications.get(2).getFileName()); } @DisplayName("Should throw exception for invalid structure size") @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 4, 8, 10, 16, 32, 255 }) void testInvalidStructureSize(int structureSize) { // Given byte[] buffer = new byte[256]; SMBUtil.writeInt2(structureSize, buffer, 0);
Registered: 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/smb2/create/Smb2CloseRequestTest.java
byte[] buffer = new byte[256]; int result = request.readBytesWireFormat(buffer, 0); assertEquals(0, result); } @ParameterizedTest @ValueSource(ints = { 0, 10, 50, 100 }) @DisplayName("writeBytesWireFormat should work at different offsets") void testWriteBytesWireFormatAtDifferentOffsets(int offset) { byte[] buffer = new byte[512];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
// When int bytesRead = request.readBytesWireFormat(buffer, 0); // Then assertEquals(0, bytesRead); } @ParameterizedTest @ValueSource(ints = { 0, 10, 50, 100, 200, 500, 1000 }) @DisplayName("Should handle various token sizes") void testVariousTokenSizes(int tokenSize) throws Exception { // Given byte[] token = createTestData(tokenSize);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
// Then assertNotNull(signingKey, "Should handle large session key"); assertEquals(16, signingKey.length, "Should still produce 16-byte key"); } @ParameterizedTest @ValueSource(ints = { 0x0300, 0x0302, 0x0310 }) // Non-3.1.1 dialects @DisplayName("Should use SMB 3.0.x context for non-3.1.1 dialects") void testDeriveKeys_NonSMB311Dialects(int dialect) { // WhenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
for (boolean s : success) { assertTrue(s); } } @DisplayName("Test exception handling for invalid information levels") @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 4, 5, 6, 8, 100, -2, -100, Integer.MIN_VALUE, Integer.MAX_VALUE }) void testInvalidInformationLevels(int invalidLevel) { // Skip valid levels
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Shorts.java
* {@code toIndex > fromIndex} * @since 32.0.0 */ public static void rotate(short[] array, int distance, int fromIndex, int toIndex) { // See Ints.rotate for more details about possible algorithms here. checkNotNull(array); checkPositionIndexes(fromIndex, toIndex, array.length); if (array.length <= 1) { return; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 22 18:14:49 UTC 2025 - 25.7K bytes - Viewed (0)