- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for Addition (0.57 sec)
-
src/main/java/jcifs/util/InputValidator.java
} } /** * Safe integer addition with overflow check * * @param a first operand * @param b second operand * @return sum of a and b * @throws ArithmeticException if overflow occurs */ public static int safeAdd(int a, int b) { validateIntegerAddition(a, b, "Addition"); return a + b; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java
ingestFactory = ComponentUtil.getIngestFactory(); } } /** * Stores a document in the index after processing and validation. * Handles document transformation, field addition, and batched indexing. * * @param paramMap the data store parameters * @param dataMap the document data to store * @throws DataStoreException if required fields are missing or other errors occur */
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 10.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java
* Pipe instance although this is not a requirement (e.g. a * read-only named pipe would write data to this stream on * connection). Reading from this stream may block. Therefore it * may be necessary that an addition thread be used to read and * write to a Named Pipe. * @return the input stream for reading from this pipe * @throws IOException if an I/O error occurs */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/util/InputValidatorTest.java
void testValidDomains(String domain) { assertDoesNotThrow(() -> InputValidator.validateDomain(domain)); } @Test @DisplayName("Test safe integer addition") void testSafeAddition() { assertEquals(100, InputValidator.safeAdd(50, 50)); assertEquals(0, InputValidator.safeAdd(-50, 50));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
assertTrue(verifyCacheEntry.isComplete()); assertEquals(2, verifyCacheEntry.getChildren().size()); // Step 8: Test change notifications // Simulate file addition directoryLeaseManager.handleDirectoryChange(directoryPath, "newfile.txt", DirectoryChangeNotifier.DirectoryChangeType.FILE_ADDED); // Cache should be invalidated assertFalse(cacheEntry.isComplete());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
if (result > Integer.MAX_VALUE || result < Integer.MIN_VALUE) { failedValidations.incrementAndGet(); integerOverflowsPrevented.incrementAndGet(); log.warn("Integer overflow in addition: {} + {} = {}", a, b, result); throw new SmbException("Integer overflow detected"); } return (int) result; } /** * Safely multiply integers checking for overflow
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
/** * Fetch children matching pattern, server-side filtering * * <p> * The wildcard expression may consist of two special meta * characters in addition to the normal filename characters. The '*' * character matches any number of characters in part of a name. If * the expression begins with one or more '?'s then exactly thatRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1) -
LICENSE
your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Library. In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Mon Jan 18 20:25:38 UTC 2016 - 25.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFile.java
* <pre> * smb://storage15/public/foo.txt * </pre> * * </blockquote> * * would reference the file <code>foo.txt</code> in the share * <code>public</code> on the server <code>storage15</code>. In addition * to referencing files and directories, jCIFS can also address servers, * and workgroups. * <p> * <strong><i>Important: all SMB URLs that represent
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
* * <blockquote><pre> * smb1://storage15/public/foo.txt * </pre></blockquote> * * would reference the file <code>foo.txt</code> in the share * <code>public</code> on the server <code>storage15</code>. In addition * to referencing files and directories, jCIFS can also address servers, * and workgroups. * <p> * <strong><i>Important: all SMB URLs that represent
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0)