- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 235 for tints (0.07 sec)
-
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
assertEquals(0, encodedSize % 8, "Encoded size should be 8-byte aligned for name length " + nameLen); } } @ParameterizedTest @ValueSource(ints = { 0, 10, 50, 100, 200 }) @DisplayName("Should handle various buffer offsets") void testVariousBufferOffsets(int offset) { byte[] largeBuffer = new byte[512];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java
// Act int actual = req.size(); // Assert assertEquals(expected, actual, "size() must be 8-byte aligned"); } @ParameterizedTest @ValueSource(ints = { 0, 1, 5 }) @DisplayName("writeBytesWireFormat writes StructureSize=4 and Reserved=0 at given offset") void writeBytesWireFormat_writesExpectedValuesAtOffset(int offset) { // Arrange
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/util/EncdecTest.java
assertEquals(0x34, buffer[1] & 0xFF); assertEquals(0x56, buffer[2] & 0xFF); assertEquals(0x78, buffer[3] & 0xFF); } @ParameterizedTest @ValueSource(ints = { 0, 1, 255, 256, 65535, 65536, Integer.MAX_VALUE }) @DisplayName("Should handle boundary values") void testBoundaryValues(int value) { // Given byte[] buffer = new byte[4]; // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.collect.SortedLists.KeyAbsentBehavior; import com.google.common.collect.SortedLists.KeyPresentBehavior; import com.google.common.primitives.Ints; import com.google.errorprone.annotations.CanIgnoreReturnValue; import com.google.errorprone.annotations.DoNotCall; import com.google.errorprone.annotations.concurrent.LazyInit; import com.google.j2objc.annotations.RetainedWith;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 27.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Striped.java
import com.google.common.base.Supplier; import com.google.common.collect.ImmutableList; import com.google.common.collect.MapMaker; import com.google.common.math.IntMath; import com.google.common.primitives.Ints; import java.lang.ref.Reference; import java.lang.ref.ReferenceQueue; import java.lang.ref.WeakReference; import java.math.RoundingMode; import java.util.Arrays; import java.util.Collections; import java.util.List;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 20.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/DES.java
0x00001040, 0x00001040, 0x00040040, 0x10000000, 0x10041000 }; /// Squash bytes down to ints. /** * Converts bytes to integers for internal DES processing * @param inBytes the input byte array * @param inOff the offset into the input array * @param outInts the output integer array
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
void testDefaultFlags() { assertEquals(0, msg.getFlags(), "Initial flags should be 0"); } @ParameterizedTest(name = "setFlags({0}) ➜ getFlags() == {0}") @ValueSource(ints = { 0x0, 0x1, 0x2, 0xFFFFFFFF, -123456 }) void testSetAndGetFlags(int value) { msg.setFlags(value); assertEquals(value, msg.getFlags(), "getFlags should return the value set"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
assertEquals("Payload exceeds buffer size", exception.getMessage()); } @ParameterizedTest @ValueSource(ints = { 0, 1, 10, 100, 500, 1024 }) void testReadDataWireFormatVariousSizes(int dataSize) throws SMBProtocolDecodingException { // Test with various data sizes within buffer limit
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/WinErrorTest.java
// Valid inputs: each known code must map to its documented message assertEquals(expectedMessage, lookupMessage(code).orElse(null)); } @ParameterizedTest @ValueSource(ints = { -1, Integer.MIN_VALUE, Integer.MAX_VALUE }) @DisplayName("Unknown codes: lookup returns empty Optional") void lookup_returns_empty_for_unknown_codes(int unknownCode) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java
* - Negative values with 0xC0000000 bits set are returned as-is * - Positive values not in DOS_ERROR_CODES map to NT_STATUS_UNSUCCESSFUL */ @ParameterizedTest @ValueSource(ints = { 0, 1, 123, -7 }) void testGetNtStatusVariousCodes(int errcode) { SmbException ex = new SmbException(errcode, false); int expected; if (errcode == 0) { expected = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0)