- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 747 for negative (0.07 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 23.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
} } /** * Handle a lease break with timeout * * @param key lease key * @param newState new lease state * @param timeoutSeconds timeout in seconds (0 or negative uses default) */ public void handleLeaseBreakWithTimeout(Smb2LeaseKey key, int newState, int timeoutSeconds) { // Use default timeout if not specified or invalid if (timeoutSeconds <= 0) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbTransportPoolTest.java
// Then assertEquals(null, result); } @Test @DisplayName("Should handle negative port") void testGetSmbTransportNegativePort() { // Given when(transportPool.getSmbTransport(context, address, -1, false)).thenReturn(transport); // WhenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
internal/s3select/sql/funceval.go
if !ok { err := fmt.Errorf("Incorrect type for length argument in %s", sqlFnSubstring) return nil, errIncorrectSQLFunctionArgumentType(err) } length = int(lenInt) if length < 0 { err := fmt.Errorf("Negative length argument in %s", sqlFnSubstring) return nil, errIncorrectSQLFunctionArgumentType(err) } } res, err := evalSQLSubstring(s, int(startIdx), length) return FromString(res), err }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
assertEquals(0, response.getChunkBytesWritten()); assertEquals(0, response.getTotalBytesWritten()); } @Test @DisplayName("Should handle negative values as unsigned") void testDecodeNegativeValuesAsUnsigned() throws SMBProtocolDecodingException { byte[] buffer = new byte[12]; SMBUtil.writeInt4(-1, buffer, 0); // chunksWritten
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
int result = SessionServicePacket.readInt4(src, 0); assertEquals(0x12345678, result); } @Test @DisplayName("readInt4 with negative bytes should handle correctly") void testReadInt4WithNegativeBytes() { byte[] src = { (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF }; int result = SessionServicePacket.readInt4(src, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/archive/tar/common.go
// the BSD tar utility. if size < 0 { return false } var pre sparseEntry for _, cur := range sp { switch { case cur.Offset < 0 || cur.Length < 0: return false // Negative values are never okay case cur.Offset > math.MaxInt64-cur.Length: return false // Integer overflow with large length case cur.endOffset() > size: return false // Region extends beyond the actual size
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Oct 07 19:46:36 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
@Test @DisplayName("Should return native file system") void testGetNativeFileSystem() throws Exception { // Given setPrivateField(response, "nativeFileSystem", "NTFS"); // When String fs = response.getNativeFileSystem(); // Then assertEquals("NTFS", fs, "Should return the native file system"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
assertEquals("smb://dfs-server/dfs-share" + l.getUNCPath().replace('\\', '/'), l.getDfsPath()); assertEquals("dfs-share", l.getShare()); // Path consumed negative -> coerced to 0 when(dr.getPathConsumed()).thenReturn(-1); String unc2 = l.handleDFSReferral(dr, null); assertTrue(unc2.contains("dfs/path") || unc2.contains("dfs\\path")); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/bytes/bytes.go
// // It panics if count is negative or if the result of (len(b) * count) // overflows. func Repeat(b []byte, count int) []byte { if count == 0 { return []byte{} } // Since we cannot return an error on overflow, // we should panic if the repeat will generate an overflow. // See golang.org/issue/16237. if count < 0 { panic("bytes: negative Repeat count") }
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Sep 16 16:42:15 UTC 2025 - 35.5K bytes - Viewed (0)