- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 125 for Boundary (0.06 seconds)
-
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
assertEquals("abc", notifications.get(0).getFileName()); assertEquals("test", notifications.get(1).getFileName()); } @Test @DisplayName("Should handle buffer boundary conditions") void testBufferBoundaryConditions() throws Exception { // Given - notification exactly at buffer end byte[] buffer = new byte[104]; // Exact size needed int offset = 0;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 18.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
int expectedShortSize = Smb2Constants.SMB2_HEADER_LENGTH + 8 + shortPath.length() * 2; int expectedLongSize = Smb2Constants.SMB2_HEADER_LENGTH + 8 + longPath.length() * 2; // size8 method aligns to 8-byte boundary int alignedShortSize = (expectedShortSize + 7) & ~7; int alignedLongSize = (expectedLongSize + 7) & ~7; assertEquals(alignedShortSize, shortSize);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
import com.google.common.testing.EqualsTester; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests CacheBuilderSpec. TODO(user): tests of a few invalid input conditions, boundary * conditions. * * @author Adam Winer */ @NullUnmarked public class CacheBuilderSpecTest extends TestCase { public void testParse_empty() { CacheBuilderSpec spec = parse("");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 20.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java
void testDecodeWithVariousAceCounts(int aceCount) throws SMBProtocolDecodingException { // This test is theoretical as we can't create huge buffers // but tests the boundary conditions if (aceCount <= 10) { // Only test small counts practically byte[] buffer = new byte[2048]; prepareSecurityDescriptorBufferWithDACL(buffer, 0, aceCount);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
assertNotNull(result.getServer()); // Empty components between double backslashes are handled } } @Nested @DisplayName("Edge Cases and Boundary Tests") class EdgeCasesTests { @ParameterizedTest @NullAndEmptySource @DisplayName("Should handle null and empty domains") void testNullAndEmptyDomains(String domain) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
assertEquals(testByte, buffer[i], "Byte at position " + i + " was modified"); } } @Test @DisplayName("Should encode at buffer boundary") void testEncodeAtBufferBoundary() { // Given SrvCopychunk chunk = new SrvCopychunk(111, 222, 333); SrvCopychunkCopy copy = new SrvCopychunkCopy(sourceKey, chunk);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.1K bytes - Click Count (0) -
android/guava/src/com/google/common/math/BigIntegerMath.java
// Use floor(log2(num)) + 1 to prevent overflow of multiplication. int productBits = LongMath.log2(product, FLOOR) + 1; int bits = LongMath.log2(startingNumber, FLOOR) + 1; // Check for the next power of two boundary, to save us a CLZ operation. int nextPowerOfTwo = 1 << (bits - 1); // Iteratively multiply the longs as big as they can go. for (long num = startingNumber; num <= n; num++) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 18.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
// Should be path based on our initialization assertEquals("path", concretePath); } } @Nested @DisplayName("Edge Cases and Boundary Tests") class EdgeCasesTests { @ParameterizedTest @NullAndEmptySource @DisplayName("Should handle null and empty FQDN in fixupHost")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 28.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
assertTrue(execJob.jvmOptions.contains("-Xdebug")); assertTrue(execJob.jvmOptions.stream().anyMatch(opt -> opt.startsWith("-Xlog:gc"))); } // Test edge cases and boundary conditions @Test public void test_edgeCases() { // Test with empty strings execJob.sessionId(""); assertEquals("", execJob.sessionId); execJob.logFilePath("");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
assertDoesNotThrow(() -> { new Smb2TreeConnectResponse(null); }, "Should handle null configuration"); } @Test @DisplayName("Should handle boundary values for tree ID") void testBoundaryTreeIds() { Smb2TreeConnectResponse smb2Response = new Smb2TreeConnectResponse(mockConfig); // Test minimum valid TID
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0)