- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 202 for Ints (0.03 seconds)
-
src/test/java/jcifs/spnego/NegTokenInitTest.java
} } @Nested @DisplayName("Context Flags Tests") class ContextFlagsTests { @ParameterizedTest @ValueSource(ints = { NegTokenInit.DELEGATION, NegTokenInit.MUTUAL_AUTHENTICATION, NegTokenInit.REPLAY_DETECTION, NegTokenInit.SEQUENCE_CHECKING, NegTokenInit.ANONYMITY, NegTokenInit.CONFIDENTIALITY, NegTokenInit.INTEGRITY })Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
SessionServicePacket.writeInt2(0x1234, dst, 0); assertEquals((byte) 0x12, dst[0]); assertEquals((byte) 0x34, dst[1]); } @ParameterizedTest @ValueSource(ints = { 0, 1, 255, 256, 32767, 65535 }) @DisplayName("writeInt2 should handle various values") void testWriteInt2Various(int value) { byte[] dst = new byte[4]; SessionServicePacket.writeInt2(value, dst, 0);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
// Verify fail counts incremented assertEquals(1, pool.failCounts.get("10.0.0.1")); assertEquals(1, pool.failCounts.get("10.0.0.2")); } @ParameterizedTest @ValueSource(ints = { 0, -1 }) @DisplayName("Should default to port 445 when port <= 0") void testDefaultPort(int invalidPort) throws Exception { // Given: Create a new pool for this test to ensure isolationCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 19.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
assertEquals("Expected structureSize = 9", exception.getMessage()); } @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 100, 255, 256, 65535 }) @DisplayName("Test readBytesWireFormat with various invalid structure sizes") void testReadBytesWireFormatVariousInvalidSizes(int invalidSize) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
DfsReferralDataImpl impl = createInitializedDfsReferralDataImpl(); assertDoesNotThrow(() -> impl.fixupDomain(domain)); } @ParameterizedTest @ValueSource(ints = { 0, -1, Integer.MIN_VALUE, Integer.MAX_VALUE }) @DisplayName("Should handle various values in stripPathConsumed") void testStripPathConsumedWithVariousValues(int value) { // Test with mock
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 28.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/Lists.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Function; import com.google.common.math.IntMath; import com.google.common.primitives.Ints; import com.google.errorprone.annotations.InlineMe; import java.io.Serializable; import java.math.RoundingMode; import java.util.AbstractList; import java.util.AbstractSequentialList; import java.util.ArrayList;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 42.6K bytes - Click Count (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) { // WhenCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.5K bytes - Click Count (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
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.9K bytes - Click Count (0) -
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";
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSet.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.annotations.VisibleForTesting; import com.google.common.math.IntMath; import com.google.common.primitives.Ints; import com.google.errorprone.annotations.CanIgnoreReturnValue; import com.google.errorprone.annotations.concurrent.LazyInit; import com.google.j2objc.annotations.RetainedWith; import java.io.InvalidObjectException;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Nov 07 16:09:47 GMT 2025 - 35.3K bytes - Click Count (0)