- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 198 for snippet (0.03 sec)
-
src/main/java/org/codelibs/fess/entity/HighlightInfo.java
* This class manages highlighting parameters such as fragment size, number of fragments, * and highlighting type for displaying search query matches in result snippets. */ public class HighlightInfo { /** The highlighting type (e.g., plain, html). */ private String type; /** The size of each highlighted fragment in characters. */ private int fragmentSize;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java
assertFalse(itr.hasNext(), "No more elements after consuming two"); } @ParameterizedTest @NullAndEmptySource @DisplayName("Invalid names are skipped; next valid is returned") void skipsMalformedNames_thenReturnsValid(String badName) throws Exception { // Arrange: first entry is invalid (null or empty), second is valid setupParentForUrlCreation();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
bb.putShort((short) 0); // pathConsumed (will be divided by 2) bb.putShort((short) 0); // numReferrals bb.putShort((short) 0); // tflags bb.putShort((short) 0); // tflags high bytes (skipped in decode) int bytesDecoded = buffer.decode(testBuffer, 0, testBuffer.length); assertEquals(8, bytesDecoded); assertEquals(0, buffer.getPathConsumed());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java
inputStream.reset(); } /** * Skips over and discards n bytes of data from this input stream. * * @param n the number of bytes to be skipped * @return the actual number of bytes skipped * @throws IOException if an I/O error occurs */ @Override public long skip(final long n) throws IOException { return inputStream.skip(n); }
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
// Skip uses read internally, which may throw IOException when it tries to read the next header try { long skipped = sis.skip(10); // If it doesn't throw, it should only skip what's available assertEquals(3, skipped); } catch (IOException e) { // This is also acceptable behavior - skip may fail when it runs out of dataRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteSource.java
/** Counts the bytes in the given input stream using skip if possible. */ private static long countBySkipping(InputStream in) throws IOException { long count = 0; long skipped; while ((skipped = skipUpTo(in, Integer.MAX_VALUE)) > 0) { count += skipped; } return count; } /** * Copies the contents of this byte source to the given {@code OutputStream}. Does not close * {@code output}. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 08 18:35:13 UTC 2025 - 25.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
assertFalse(it.hasNext()); // Verify filter called once per entry verify(filter, times(3)).accept(any()); } @Test @DisplayName("Filter throws CIFSException: entry is skipped and iteration continues") void filterThrows_skipsAndContinues() throws Exception { SmbFile parent = newParent();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
.ci/dockerOnLinuxExclusions
# This file specifies the Linux OS versions on which we can't build and # test Docker images for some reason. These values correspond to ID and # VERSION_ID from /etc/os-release, and a matching value will cause the # Docker tests to be skipped on that OS. If /etc/os-release doesn't exist # (as is the case on centos-6, for example) then that OS will again be # excluded. debian-8 opensuse-leap-15.1 ol-7.7 sles-12.3 # older version used in Vagrant image sles-12.5
Registered: Sun Dec 21 06:47:06 UTC 2025 - Last Modified: Thu Jul 29 23:07:12 UTC 2021 - 615 bytes - Viewed (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
@Test public void testSkipBytes() throws IOException { byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 }; PacDataInputStream pdis = createInputStream(data); int skipped = pdis.skipBytes(2); assertEquals(2, skipped); assertEquals(2, pdis.available()); assertEquals(0x03, pdis.readByte()); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStreamTest.java
InputStream underlyingStream = new ByteArrayInputStream(data); IgnoreCloseInputStream stream = new IgnoreCloseInputStream(underlyingStream); long skipped = stream.skip(5); assertEquals(5, skipped); assertEquals('5', stream.read()); } public void test_markSupported_delegatesToUnderlying() { // Test that markSupported() delegates to underlying stream
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 6.6K bytes - Viewed (0)