Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 132 for positions (1.86 sec)

  1. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

            // Compare actual bytes (up to encoded length)
            for (int i = 0; i < encoded1; i++) {
                assertEquals(buffer1[i], buffer2[i], "Mismatch at position " + i);
                assertEquals(buffer2[i], buffer3[i], "Mismatch at position " + i);
            }
        }
    
        @Test
        @DisplayName("Test with typical Windows pipe name format")
        void testWithTypicalWindowsPipeName() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

                int start = startPosition - offset;
                if (start < 0) {
                    start = 0;
                }
                if (logger.isDebugEnabled()) {
                    logger.debug("Adjusted start position: original={}, adjusted={}, offset={}", startPosition, start, offset);
                }
                final SearchRequestParams reqParams = new SearchRequestParamsWrapper(params, start, pageSize);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

            assertEquals(newPosition, smbRandomAccessFile.getFilePointer());
        }
    
        @Test
        void testSeekNegativePosition() throws SmbException {
            // seek doesn't throw exception for negative position, it just sets it
            smbRandomAccessFile.seek(-1);
            assertEquals(-1, smbRandomAccessFile.getFilePointer());
        }
    
        @Test
        void testReadByte() throws SmbException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/netbios/SessionServicePacketTest.java

            assertEquals((byte) (value & 0xFF), dst[1]);
        }
    
        @Test
        @DisplayName("writeInt2 with offset should write at correct position")
        void testWriteInt2WithOffset() {
            byte[] dst = new byte[10];
            dst[2] = (byte) 0xFF; // Mark position
            dst[3] = (byte) 0xFF;
    
            SessionServicePacket.writeInt2(0xABCD, dst, 4);
    
            assertEquals((byte) 0xFF, dst[2]); // Should be unchanged
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/entity/SearchRequestParams.java

        /**
         * Returns the sort.
         *
         * @return The sort.
         */
        public abstract String getSort();
    
        /**
         * Returns the start position.
         *
         * @return The start position.
         */
        public abstract int getStartPosition();
    
        /**
         * Returns the page size.
         *
         * @return The page size.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                Arrays.fill(buffer, (byte) 0);
    
                int startIndex = 100;
                request.writeBytesWireFormat(buffer, startIndex);
    
                // Verify data is at correct position
                for (int i = 0; i < data.length; i++) {
                    assertEquals((byte) 0xAB, buffer[startIndex + 48 + i]);
                }
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComSeekResponse.java

    import jcifs.internal.smb1.ServerMessageBlock;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB1 Seek command response implementation.
     * Handles server responses to file seek operations, returning the new file
     * position after a seek request in SMB1 protocol file operations.
     *
     * @author mbechler
     */
    public class SmbComSeekResponse extends ServerMessageBlock {
    
        private long offset;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/UniAddressTest.java

                when(mockInetAddress.getHostName()).thenReturn(".hostname");
                UniAddress uniAddress = new UniAddress(mockInetAddress);
                // Dot at position 0, which is NOT > 1, so whole string is uppercased
                assertEquals(".HOSTNAME", uniAddress.firstCalledName());
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                int result = response.writeBytesWireFormat(buffer, 0);
                assertEquals(0, result);
            }
    
            @Test
            @DisplayName("Should return 0 regardless of buffer position")
            void testWriteBytesWireFormatDifferentPosition() {
                byte[] buffer = new byte[1024];
                int result = response.writeBytesWireFormat(buffer, 100);
                assertEquals(0, result);
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

                assertEquals(0, aad[i], "Signature bytes should be zero in AAD");
            }
    
            // Verify nonce matches at position 20
            for (int i = 0; i < 16; i++) {
                assertEquals(testNonce[i], aad[20 + i], "Nonce should match at position " + (20 + i));
            }
        }
    
        @Test
        @DisplayName("Should create transform header with constructor")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top