- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 601 for negative (0.05 sec)
-
guava/src/com/google/common/hash/Fingerprint2011.java
* * <p>Note to maintainers: This implementation relies on signed arithmetic being bit-wise equivalent * to unsigned arithmetic in all cases except: * * <ul> * <li>comparisons (signed values can be negative) * <li>division (avoided here) * <li>shifting (right shift must be unsigned) * </ul> * * @author ******@****.*** (Kyle Maddison) * @author ******@****.*** (Geoff Pike) */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
assertEquals(newPosition, smbRandomAccessFile.getFilePointer()); } @Test void testSeekNegativePosition() throws SmbException { // seek doesn't throw exception for negative position, it just sets it smbRandomAccessFile.seek(-1); assertEquals(-1, smbRandomAccessFile.getFilePointer()); } @Test void testReadByte() throws SmbException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java
String result = scoreUpdater.execute(); // NullPointerException message should be captured assertTrue(result.contains("null") || result.contains("NullPointer")); } // Test with negative priority public void test_addScoreBooster_negativePriority() { PriorityTrackingBooster booster1 = new PriorityTrackingBooster(-1, 100L); PriorityTrackingBooster booster2 = new PriorityTrackingBooster(0, 200L);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
assertEquals("EndOfFileInformation[endOfFile=12345]", str2); } @Test @DisplayName("Test toString with various values") void testToStringWithVariousValues() { // Test negative value FileEndOfFileInformation info1 = new FileEndOfFileInformation(-100L); assertEquals("EndOfFileInformation[endOfFile=-100]", info1.toString()); // Test zero
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java
// Act & Assert assertDoesNotThrow(() -> new MsrpcSamrConnect2(null, 0, ph)); } @Test @DisplayName("should accept negative access mask values") void testNegativeAccessMaskAccepted() { // Arrange SamrPolicyHandle ph = createMockPolicyHandle(); // Act & AssertRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java
assertEquals(0, cmd.readDataWireFormat(buf, 0, buf.length)); } @ParameterizedTest @CsvSource({ "0, 0", // all zeros "-1, 2147483647", // negative fid, max positive security "12345, 999" // arbitrary numbers }) void toString_includesCorrectHexValues(int fid, int securityInformation) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FakeTicker.java
@CanIgnoreReturnValue public FakeTicker setAutoIncrementStep(long autoIncrementStep, TimeUnit timeUnit) { checkArgument(autoIncrementStep >= 0, "May not auto-increment by a negative amount"); this.autoIncrementStepNanos = timeUnit.toNanos(autoIncrementStep); return this; } /** * Sets the increment applied to the ticker whenever it is queried. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/BloomFilter.java
/** * Identifier used to encode this strategy, when marshalled as part of a BloomFilter. Only * values in the [-128, 127] range are valid for the compact serial form. Non-negative values * are reserved for enums defined in BloomFilterStrategies; negative values are reserved for any * custom, stateful strategy we may define (e.g. any kind of strategy that would depend on user * input). */ int ordinal(); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
assertThrows(NullPointerException.class, () -> sis.read((byte[]) null)); } @ParameterizedTest @ValueSource(longs = { 0L, -1L, -10L }) @DisplayName("Skip returns 0 for zero or negative values") void skipReturnsZeroForNegativeOrZero(long skipBytes) throws IOException { // Create message with 5 bytes of data byte[] data = new byte[] { 10, 20, 30, 40, 50 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/util/HexdumpTest.java
// Test boundary values byte[] data = { (byte) 0x00, // min value (byte) 0xFF, // max value (-1 as signed byte) (byte) 0x7F, // max positive (byte) 0x80 // min negative }; String result = Hexdump.toHexString(data); assertEquals("00FF7F80", result); } @Test @DisplayName("Should handle large byte arrays efficiently")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0)