- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 276 for consistently (0.09 sec)
-
src/test/java/jcifs/SmbSessionTest.java
} } @Nested @DisplayName("Edge Case Tests") class EdgeCaseTest { @Test @DisplayName("Should handle repeated method calls consistently") void shouldHandleRepeatedMethodCallsConsistently() { SmbSession mockSession = mock(SmbSession.class); Configuration mockConfig = mock(Configuration.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
assertEquals(200L, SMBUtil.readInt8(smallBuffer, 8)); assertEquals(1, SMBUtil.readInt4(smallBuffer, 16)); } @ParameterizedTest @DisplayName("Should encode consistently with various flag values") @ValueSource(ints = { 0, 1, 2, 4, 16, 0xFF, 0xFFFF, 0xFFFFFF, 0x7FFFFFFF, -1 }) void testEncodingWithVariousFlags(int flags) { lock = new Smb2Lock(1024L, 2048L, flags);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java
public class UnsignedIntegerTest extends TestCase { private static final ImmutableSet<Integer> TEST_INTS; private static final ImmutableSet<Long> TEST_LONGS; private static int force32(int value) { // GWT doesn't consistently overflow values to make them 32-bit, so we need to force it. return value & 0xffffffff; } static { ImmutableSet.Builder<Integer> testIntsBuilder = ImmutableSet.builder();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
// Call readBytesWireFormat multiple times for (int i = 0; i < 5; i++) { int result = response.readBytesWireFormat(buffer, bufferIndex); assertEquals(2, result, "Should consistently return 2 on call " + (i + 1)); } } @Test @DisplayName("Test edge case with maximum buffer index") void testReadBytesWireFormatMaxBufferIndex() throws SMBProtocolDecodingException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java
assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); } public void test_getType_immutability() { // Test that getType returns the same value consistently String type = "ApiKey"; String message = "API key expired"; InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.4K bytes - Viewed (0) -
guava/src/com/google/common/primitives/UnsignedInteger.java
public static final UnsignedInteger ONE = fromIntBits(1); public static final UnsignedInteger MAX_VALUE = fromIntBits(-1); private final int value; private UnsignedInteger(int value) { // GWT doesn't consistently overflow values to make them 32-bit, so we need to force it. this.value = value & 0xffffffff; } /** * Returns an {@code UnsignedInteger} corresponding to a given bit representation. The argument is
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.3K bytes - Viewed (0) -
README.md
- **Assertion-based validation** - All methods validate inputs using `AssertionUtil.assertArgumentNotNull()` and `AssertionUtil.assertArgumentNotEmpty()` - **Exception wrapping** - Checked exceptions are consistently wrapped in runtime exceptions (e.g., `ClassNotFoundException` → `ClassNotFoundRuntimeException`)
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
assertNotSame(response1, response2); assertEquals(100, response1.getAvailable()); assertEquals(0, response2.getAvailable()); } @Test @DisplayName("All write methods should consistently return 0") void testAllWriteMethodsReturnZero() { // Arrange byte[] buffer = new byte[100]; // Act & Assert assertEquals(0, response.writeSetupWireFormat(buffer, 0));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Lists.java
* * <p><b>Note:</b> if you won't be adding any elements to the list, use {@link ImmutableList#of()} * instead. * * <p><b>Performance note:</b> {@link ArrayList} and {@link java.util.ArrayDeque} consistently * outperform {@code LinkedList} except in certain rare and specific situations. Unless you have * spent a lot of time benchmarking your specific needs, use one of those instead. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 42.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/MultiChannelManager.java
jcifs.CIFSContext context = createDefaultContext(); // Create transport with multi-channel specific settings // Multi-channel transports should use signing consistently with the main session boolean forceSigning = context.getConfig().isSigningEnforced();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 20.5K bytes - Viewed (0)