- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 127 for BOUNDARY (0.04 seconds)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
trans2.writeParametersWireFormat(buffer, 0); }, "Should throw IllegalArgumentException for invalid information level: " + invalidLevel); } @Test @DisplayName("Test buffer boundary conditions") void testBufferBoundaryConditions() { trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.SMB_INFO_ALLOCATION); // Test with minimal buffer size
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.9K bytes - Click Count (0) -
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) -
tensorflow/c/eager/c_api.h
#endif #ifdef __cplusplus // A workaround to ease conversion to and from numpy objects and // TFE_TensorHandle's. // // TODO(ashankar): Figure out an alternative scheme that precludes the need for // these API-boundary breaking methods. namespace tensorflow { class Tensor; } // namespace tensorflow TFE_TensorHandle* TFE_NewTensorHandle(const tensorflow::Tensor& t, TF_Status* status);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.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) -
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)