Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 198 for snippet (0.03 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/processor/impl/SitemapsResponseProcessorTest.java

            } catch (ChildUrlsException e) {
                Set<RequestData> childUrls = e.getChildUrlList();
                assertNotNull(childUrls);
                // Should only contain valid URLs, null entries should be skipped
                assertTrue(childUrls.size() <= 2);
            }
        }
    
        public void test_processException() {
            // Setup - test exception handling during parsing
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

         * It will parse valid directives and ignore invalid ones, ensuring that partial
         * content can be extracted even from poorly formatted files.</p>
         *
         * <p>The following errors are handled gracefully (line is skipped, parsing continues):</p>
         * <ul>
         * <li>Invalid directive formats</li>
         * <li>Unknown directives</li>
         * <li>Invalid crawl-delay values (non-numeric, negative)</li>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 12:52:01 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                offField.setAccessible(true);
                long offVal = offField.getLong(req);
                assertEquals(2L, offVal, "Request offset should match skipped bytes");
            }
    
            @Test
            @DisplayName("read(byte[]) delegates to read(byte[],off,len)")
            void readArrayDelegates() throws Exception {
                SmbFileInputStream in = newStream();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

        void skipBytes_advancesFP() throws Exception {
            SmbRandomAccessFile raf = newInstance("r", false, false, false);
            assertEquals(0L, raf.getFilePointer());
            int skipped = raf.skipBytes(5);
            assertEquals(5, skipped);
            assertEquals(5L, raf.getFilePointer());
            assertEquals(0, raf.skipBytes(-3));
        }
    
        @Test
        @DisplayName("seek() and getFilePointer(): set and get position")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/net/InetAddresses.java

            }
            hasSkip = true;
            partsSkipped++; // :: means we skipped an extra part in between the two delimiters.
            if (i == 0) {
              partsSkipped++; // Begins with ::, so we skipped the part preceding the first :
            }
            if (i == ipString.length() - 2) {
              partsSkipped++; // Ends with ::, so we skipped the part after the last :
            }
          }
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

         * Some protocols (like SMB, FTP, S3, GCS) should preserve the original URL encoding.
         *
         * @param url the URL to check
         * @return true if URL decoding should be skipped for this protocol
         */
        public boolean shouldSkipUrlDecode(final String url) {
            return url.startsWith("smb:") || url.startsWith("smb1:") || url.startsWith("ftp:") || url.startsWith("s3:")
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Dec 12 13:58:40 UTC 2025
    - 12.4K bytes
    - Viewed (1)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            // Prepare buffer with SmbInfoAllocation data
            byte[] buffer = new byte[100];
            int offset = 0;
    
            // idFileSystem (4 bytes) - skipped in decode
            SMBUtil.writeInt4(0, buffer, offset);
            offset += 4;
    
            // sectPerAlloc (4 bytes)
            SMBUtil.writeInt4(8, buffer, offset);
            offset += 4;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/CharStreams.java

          Java8Compatibility.clear(buf);
        }
        return total;
      }
    
      /**
       * Discards {@code n} characters of data from the reader. This method will block until the full
       * amount has been skipped. Does not close the reader.
       *
       * @param reader the reader to read from
       * @param n the number of characters to skip
       * @throws EOFException if this stream reaches the end before skipping all the characters
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 29 13:56:24 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            // Verify bufDataStart was not changed
            assertEquals(999, bufDataStartField.get(response));
        }
    
        @ParameterizedTest
        @DisplayName("Test reserved bytes are properly skipped")
        @ValueSource(bytes = { 0x00, 0x01, (byte) 0xFF, 0x7F, (byte) 0x80 })
        void testReservedBytesSkipped(byte reservedValue) throws Exception {
            byte[] buffer = new byte[100];
            int bufferIndex = 0;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                int bytesRead = notification.readBytesWireFormat(buffer, 0);
                assertEquals(24, bytesRead);
    
                // Verify that reserved fields were properly skipped
                Field oplockLevelField = Smb2OplockBreakNotification.class.getDeclaredField("oplockLevel");
                oplockLevelField.setAccessible(true);
                assertEquals((byte) 0x01, oplockLevelField.get(notification));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top