Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 125 for Boundary (0.05 seconds)

  1. src/main/java/jcifs/pac/PacDataInputStream.java

        public PacDataInputStream(final InputStream in) throws IOException {
            this.dis = new DataInputStream(in);
            this.size = in.available();
        }
    
        /**
         * Aligns the stream position to the specified boundary.
         * @param mask the alignment mask (typically 2, 4, or 8)
         * @throws IOException if an I/O error occurs
         */
        public void align(final int mask) throws IOException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/dcerpc/UUIDTest.java

                assertEquals(CLOCK_SEQ_LOW, uuid.clock_seq_low);
                assertArrayEquals(NODE, uuid.node);
            }
    
            @Test
            @DisplayName("Constructor should handle special boundary values")
            void testBoundaryValues() {
                // Arrange
                String boundaryUuid = "80000000-8000-8000-8080-808080808080";
    
                // Act
                UUID uuid = new UUID(boundaryUuid);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            notifyChange.writeSetupWireFormat(dst, 0);
    
            assertEquals(combinedFilter, SMBUtil.readInt4(dst, 0));
        }
    
        @Test
        @DisplayName("Test writeSetupWireFormat at buffer boundary")
        void testWriteSetupWireFormatBufferBoundary() {
            notifyChange = new NtTransNotifyChange(mockConfig, 0xFFFF, 0xFFFFFFFF, true);
            byte[] dst = new byte[8]; // Exact size needed
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

                    assertEquals(testByte, buffer[i], "Byte at position " + i + " was modified");
                }
            }
    
            @Test
            @DisplayName("Should handle encoding at buffer boundary")
            void testEncodeAtBufferBoundary() {
                // Given
                byte[] exactBuffer = new byte[EXPECTED_SIZE];
                SrvCopychunk chunk = new SrvCopychunk(999L, 888L, 777);
    
                // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            int writtenFid = SMBUtil.readInt2(buffer, offset + 2);
            assertEquals(TEST_FID, writtenFid);
        }
    
        @Test
        @DisplayName("writeSetupWireFormat should handle buffer boundary")
        void testWriteSetupWireFormatAtBufferEnd() {
            // Arrange
            transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_FID);
            byte[] buffer = new byte[4];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            request = new Smb2NegotiateRequest(mockConfig, 0);
    
            // When
            int size = request.size();
    
            // Then - Header (64) + Structure (36) + Dialects (4 * 2) = 108, padded to 8-byte boundary = 112
            assertEquals(112, size);
        }
    
        @Test
        @DisplayName("Should calculate size correctly with contexts")
        void testSizeWithContexts() throws Exception {
            // Given
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            assertTrue(stats.getIntegerOverflowsPrevented() > 0);
        }
    
        @Test
        public void testBoundaryValues() throws Exception {
            // Test boundary values for safe operations
            assertEquals(Integer.MAX_VALUE, validator.safeAdd(Integer.MAX_VALUE, 0));
            assertEquals(Integer.MIN_VALUE, validator.safeAdd(Integer.MIN_VALUE, 0));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java

                SMBUtil.writeInt4(chunkBytes, buffer, 4);
                SMBUtil.writeInt4(totalBytes, buffer, 8);
                return buffer;
            }
        }
    
        @Nested
        @DisplayName("Boundary Tests")
        class BoundaryTests {
    
            @Test
            @DisplayName("Should handle single chunk copy")
            void testSingleChunkCopy() throws SMBProtocolDecodingException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.8K bytes
    - Click Count (0)
  9. src/main/webapp/js/admin/bootstrap.min.js

    hide.bs.dropdown",tt="hidden.bs.dropdown",et="click.bs.dropdown.data-api",nt="keydown.bs.dropdown.data-api",it='[data-toggle="dropdown"]',ot=".dropdown-menu",at={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},st={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},lt=function(){function t(t,e){this._element=t,this._popper=null,this._config=this._g...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 26 01:49:09 GMT 2024
    - 61.1K bytes
    - Click Count (0)
  10. 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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
Back to Top