Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 99 for skip1 (0.98 sec)

  1. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

                while ((line = reader.readLine()) != null) {
                    // Remove comments
                    final String replacedLine = line.replaceAll("#.*$", StringUtil.EMPTY).trim();
    
                    // Skip empty lines or comment lines
                    if (replacedLine.length() == 0) {
                        if (updater != null) {
                            updater.write(line);
                        }
                        continue;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

                m.ptype = 0;
                m.flags = flag;
    
                NdrBuffer buf = new NdrBuffer(new byte[1024], 0);
                m.encode(buf);
    
                // Reset and skip to flags field
                buf.setIndex(3);
                assertEquals(flag, buf.dec_ndr_small());
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                // Verify the path is correctly encoded in UTF-16LE
                ByteBuffer bb = ByteBuffer.wrap(dst).order(ByteOrder.LITTLE_ENDIAN);
                bb.getShort(); // Skip referral level
    
                byte[] pathBytes = path.getBytes(StandardCharsets.UTF_16LE);
                byte[] encodedPath = new byte[pathBytes.length];
                bb.get(encodedPath);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java

                fos.write("0123456789".getBytes());
            }
    
            try (TemporaryFileInputStream stream = new TemporaryFileInputStream(tempFile)) {
                long skipped = stream.skip(5);
                assertEquals(5, skipped);
                assertEquals('5', stream.read());
                assertEquals('6', stream.read());
            }
        }
    
        public void test_markAndReset() throws Exception {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

                while ((line = reader.readLine()) != null) {
                    // Remove comments
                    final String replacedLine = line.replaceAll("#.*$", StringUtil.EMPTY).trim();
    
                    // Skip empty lines or comment lines
                    if (replacedLine.length() == 0) {
                        if (updater != null) {
                            updater.write(line);
                        }
                        continue;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                waitForServerReady();
            } catch (RuntimeException e) {
                log.warn("SMB server readiness check failed: {}", e.getMessage());
                // In CI environments or when Docker is not properly set up, skip the tests instead of failing
                assumeTrue(false, "SMB server not ready - skipping integration tests: " + e.getMessage());
            }
        }
    
        @AfterAll
        void teardownContainer() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/ElevateWordService.java

                while ((list = csvReader.readValues()) != null) {
                    final String suggestWord = getValue(list, 0);
                    if (StringUtil.isBlank(suggestWord)) {
                        // skip
                        continue;
                    }
                    try {
                        final String[] permissions = split(getValue(list, 2), ",").get(stream -> stream.map(permissionHelper::encode)
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            assertEquals(2, SMBUtil.readInt2(buffer, 32));
    
            // Verify negotiate context offset is set
            int contextOffset = SMBUtil.readInt4(buffer, 28);
            assertTrue(contextOffset > 0);
    
            // Skip detailed context verification since we can't access headerStart
            // Just verify that contexts were written
            assertTrue(bytesWritten > 60); // Should be larger than basic negotiate request
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

        @ValueSource(ints = { 1, 10, 100, 500, 1024 })
        void testReadDataWireFormatWithVariousSizes(int dataSize) throws SMBProtocolDecodingException {
            if (dataSize > outputBuffer.length) {
                return; // Skip sizes larger than buffer
            }
    
            byte[] sourceData = new byte[dataSize];
            for (int i = 0; i < dataSize; i++) {
                sourceData[i] = (byte) (i % 256);
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

                Arrays.fill(buffer, (byte) 0xFF);
    
                lock.encode(buffer, 0);
    
                // Reserved field bytes are not modified by the encode method
                // The implementation just skips these bytes without writing zeros
                assertEquals(-1, SMBUtil.readInt4(buffer, 20));
            }
        }
    
        @Nested
        @DisplayName("Flag Constants Tests")
        class FlagConstantsTests {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top