- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 345 for consistently (0.07 sec)
-
guava-testlib/src/com/google/common/collect/testing/Helpers.java
* consistently between their order within {@code valuesInExpectedOrder} and the order implied by * the given {@code comparator}. * * <p>In detail, this method asserts * * <ul> * <li><i>reflexivity</i>: {@code comparator.compare(t, t) = 0} for all {@code t} in {@code * valuesInExpectedOrder}; and * <li><i>consistency</i>: {@code comparator.compare(ti, tj) < 0} and {@codeRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 10 23:13:45 UTC 2025 - 17.2K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K 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 Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.3K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K 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: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K 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: 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/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
@Test @DisplayName("Should always force unicode") void testIsForceUnicode() { assertTrue(response.isForceUnicode()); } @Test @DisplayName("Should consistently return true for unicode") void testIsForceUnicodeMultipleCalls() { for (int i = 0; i < 5; i++) { assertTrue(response.isForceUnicode()); } } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 42.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
assertEquals(13312L, SMBUtil.readInt8(buffer, offset + 8)); assertEquals(16384, SMBUtil.readInt4(buffer, offset + 16)); } @Test @DisplayName("Should encode consistently with size method") void testEncodeSizeConsistency() { // Given byte[] sourceKey = new byte[SOURCE_KEY_SIZE]; Arrays.fill(sourceKey, (byte) 0x55);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (0)