Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 132 for positions (0.04 sec)

  1. fess-crawler/src/test/resources/org/codelibs/fess/crawler/helper/robots_malformed.txt

    # Case 5: Mixed case directives (should still work)
    UsEr-AgEnT: MixedCaseBot
    DiSaLlOw: /test1/
    AlLoW: /test2/
    CrAwL-dElAy: 2
    SiTeMaP: http://example.com/sitemap.xml
    
    # Case 6: Comments in various positions
    User-agent: CommentBot # inline comment
    Disallow: /path1/ # another comment
    # Full line comment
    Allow: /path2/
    
    # Case 7: Empty lines and whitespace-only lines
    User-agent: EmptyLineBot
    
    
    Disallow: /test/
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 12:52:01 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ACETest.java

            @DisplayName("Should validate constant bit positions")
            void shouldHaveCorrectBitPositions() {
                // Verify specific bit positions as documented in comments
                assertEquals(0, Integer.numberOfTrailingZeros(ACE.FILE_READ_DATA), "FILE_READ_DATA should be at bit position 0");
                assertEquals(1, Integer.numberOfTrailingZeros(ACE.FILE_WRITE_DATA), "FILE_WRITE_DATA should be at bit position 1");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

                int bytesWritten = chunk.encode(largeBuffer, position);
    
                // Then
                assertEquals(EXPECTED_SIZE, bytesWritten);
                assertEquals(sourceOffset, SMBUtil.readInt8(largeBuffer, position));
                assertEquals(targetOffset, SMBUtil.readInt8(largeBuffer, position + 8));
                assertEquals(length, SMBUtil.readInt4(largeBuffer, position + 16));
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0, 50, 99 })
            @DisplayName("Should handle various buffer positions correctly")
            void testWireFormatMethodsWithDifferentPositions(int position) throws Exception {
                // Given
                byte[] buffer = new byte[100];
    
                // Test write parameter words
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

            assertEquals(SmbComTransaction.TRANS2_GET_DFS_REFERRAL, dst[0]);
            assertEquals((byte) 0x00, dst[1]);
        }
    
        @Test
        @DisplayName("writeSetupWireFormat should handle different buffer positions")
        void testWriteSetupWireFormatWithOffset() {
            // Given
            trans2GetDfsReferral = new Trans2GetDfsReferral(mockConfig, "test");
            byte[] dst = new byte[20];
            int dstIndex = 5;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

            @Test
            @DisplayName("Should encode at different buffer positions")
            void testEncodingAtDifferentPositions() {
                long offset = 1000L;
                long length = 2000L;
                int flags = Smb2Lock.SMB2_LOCKFLAG_UNLOCK;
    
                lock = new Smb2Lock(offset, length, flags);
    
                // Test encoding at position 10
                int encoded = lock.encode(buffer, 10);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

            @DisplayName("Should write at different buffer positions")
            void testWriteAtDifferentPositions() {
                byte[] buffer = new byte[512];
    
                // Test at position 0
                int bytesWritten = request.writeBytesWireFormat(buffer, 0);
                assertEquals(48, bytesWritten);
                assertEquals(48, SMBUtil.readInt2(buffer, 0));
    
                // Test at position 100
                Arrays.fill(buffer, (byte) 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            byte[] buffer = new byte[1024];
    
            int length = testBlock.encode(buffer, 0);
    
            assertTrue(length > 0);
            // Just verify that encoding worked without checking specific byte positions
            assertNull(testBlock.getAndx());
        }
    
        @Test
        @DisplayName("Test encode with andx command and batching disabled")
        void testEncodeWithAndxBatchingDisabled() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                // Then
                assertEquals(HEADER_SIZE + CHUNK_SIZE, bytesWritten);
    
                // Verify source key at correct position
                for (int i = 0; i < SOURCE_KEY_SIZE; i++) {
                    assertEquals(sourceKey[i], largeBuffer[position + i]);
                }
    
                // Verify chunk count at correct position
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                assertEquals(6, smallEncodedSize); // actual: 2 bytes count + 2*2 bytes for ciphers
                assertEquals(6, largeEncodedSize);
    
                // Verify data at different positions
                assertArrayEquals(Arrays.copyOfRange(smallBuffer, 0, smallEncodedSize),
                        Arrays.copyOfRange(largeBuffer, 500, 500 + largeEncodedSize));
            }
        }
    
        @Nested
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top