Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 122 for boundary (0.1 sec)

  1. src/test/java/jcifs/util/EncdecTest.java

            assertEquals(0x78, buffer[3] & 0xFF);
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 255, 256, 65535, 65536, Integer.MAX_VALUE })
        @DisplayName("Should handle boundary values")
        void testBoundaryValues(int value) {
            // Given
            byte[] buffer = new byte[4];
    
            // When
            Encdec.enc_uint32le(value, buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

                assertEquals(expectedSize, req.size());
            }
    
            @Test
            @DisplayName("Should align size to 8-byte boundary")
            void testSizeAlignment() {
                int size = request.size();
                assertEquals(0, size % 8, "Size should be aligned to 8-byte boundary");
            }
    
            @ParameterizedTest
            @DisplayName("Should calculate size for various lock counts")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java

            dstIndex += 4;
    
            // Write context name
            System.arraycopy(CONTEXT_NAME_BYTES, 0, dst, dstIndex, 4);
            dstIndex += 4;
    
            // Padding to align data to 8-byte boundary
            dstIndex += 4;
    
            // Write file ID (16 bytes)
            System.arraycopy(fileId, 0, dst, dstIndex, 16);
            dstIndex += 16;
    
            return dstIndex - start;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/SmbBasicFileInfoTest.java

            Assertions.assertEquals(1_650_000_000_000L, info.getLastAccessTime(), "last access should match");
            Assertions.assertEquals(42L, info.getSize(), "size should match");
        }
    
        // --- Parameterized: edge and boundary values across getters ---
        @ParameterizedTest(name = "attributes={0}, c={1}, w={2}, a={3}, size={4}")
        @MethodSource("valueProvider")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. src/main/webapp/js/bootstrap.min.js

    p()?"top-start":"top-end",Lt=p()?"bottom-end":"bottom-start",Ot=p()?"bottom-start":"bottom-end",It=p()?"left-start":"right-start",Dt=p()?"right-start":"left-start",Nt={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Pt={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class xt extends W{constructor(t,e){s...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Jan 12 06:14:02 UTC 2025
    - 58.9K bytes
    - Viewed (0)
  6. src/main/webapp/js/popper.min.js

    e.replace(/start|end/g,(function(e){return ce[e]}))}function ue(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,f=n.allowedAutoPlacements,c=void 0===f?S:f,p=U(r),u=p?s?R:R.filter((function(e){return U(e)===p})):k,l=u.filter((function(e){return c.indexOf(e)>=0}));0===l.length&&(l=u);var d=l.reduce((function(t,n){return t[n]=J(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[F(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}var...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Jan 12 06:14:02 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

            when(mockFile.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenReturn(mockFileHandle);
    
            // Mock responses for successful writes to test boundary conditions
            when(mockTreeHandle.send(any(Smb2WriteRequest.class), any())).thenReturn(mockWriteResponse);
            when(mockWriteResponse.getCount()).thenReturn(10, 5); // Return proper byte counts
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                    assertTrue(success[i], "Thread " + i + " failed");
                }
            }
    
            @Test
            @DisplayName("Should handle boundary values for structure size")
            void testBoundaryValuesForStructureSize() {
                // Test boundary values around 4
                int[] boundaryValues = { 3, 4, 5 };
    
                for (int value : boundaryValues) {
                    byte[] buffer = new byte[10];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java

     * methods (writing parameters and handling empty wire formats) and an
     * informative {@link NtTransQuerySecurityDesc#toString()}. The tests
     * exercise normal behaviour, boundary values, and the interaction with
     * the underlying wire‑format helpers.
     */
    @ExtendWith(MockitoExtension.class)
    class NtTransQuerySecurityDescTest {
    
        /**
         * Helper that mimics the write logic used by
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

                assertNotNull(rapidProvider);
            }
        }
    
        // Test boundary conditions for time adjustments
        public void test_boundaryTimeAdjustments() {
            // Test zero boundary
            testBoundaryValue(0L);
    
            // Test one millisecond boundaries
            testBoundaryValue(1L);
            testBoundaryValue(-1L);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
Back to top