Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 111 for BOUNDARY (0.62 sec)

  1. 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("");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                assertEquals(0, dst[nullTerminatorIndex]);
                assertEquals(0, dst[nullTerminatorIndex + 1]);
            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Boundary Tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle maximum path length")
            void testMaximumPathLength() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  3. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

            // Assert
            assertEquals(1500, response.getAvailable());
            assertEquals(TransPeekNamedPipeResponse.STATUS_DISCONNECTED, response.getStatus());
        }
    
        @Test
        @DisplayName("Test boundary conditions for available value")
        void testBoundaryAvailableValues() {
            // Test minimum value (0)
            byte[] buffer = new byte[10];
            SMBUtil.writeInt2(0, buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. 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);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. 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) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  7. 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++) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/bootstrap.min.js.map

    PLACEMENT_BOTTOMEND = 'bottom-end'\nconst PLACEMENT_RIGHT = 'right-start'\nconst PLACEMENT_LEFT = 'left-start'\n\nconst Default = {\n  offset: 0,\n  flip: true,\n  boundary: 'scrollParent',\n  reference: 'toggle',\n  display: 'dynamic',\n  popperConfig: null\n}\n\nconst DefaultType = {\n  offset: '(number|string|function)',\n  flip: 'boolean',\n  boundary: '(string|element)',\n  reference: '(string|element)',\n  display: 'string',\n  popperConfig: '(null|object)'\n}\n\n/**\n * Class definition\n */\n\nclass...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Oct 26 01:49:09 UTC 2024
    - 180.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

            void testGetReferrals() {
                assertNotNull(buffer.getReferrals());
                assertEquals(3, buffer.getReferrals().length);
            }
        }
    
        @Nested
        @DisplayName("Edge Cases and Boundary Tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle maximum values")
            void testMaximumValues() {
                byte[] testBuffer = new byte[8];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                assertTrue(sizeInfo instanceof AllocInfo);
                assertTrue(fullSizeInfo instanceof AllocInfo);
            }
        }
    
        @Nested
        @DisplayName("Performance and Boundary Tests")
        class PerformanceTests {
    
            @Test
            @DisplayName("Should handle maximum values without overflow")
            void testMaximumValues() throws SMBProtocolDecodingException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
Back to top