Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 99 for skips (1.95 sec)

  1. src/main/java/jcifs/netbios/Lmhosts.java

                                    continue;
                                }
    
                                /*
                                 * An include was loaded successfully. We can skip
                                 * all other includes up to the #END_ALTERNATE tag.
                                 */
    
                                while ((line = br.readLine()) != null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileInputStream.java

            return 0;
        }
    
        /**
         * Skip n bytes of data on this stream. This operation will not result
         * in any IO with the server. Unlink <code>InputStream</code> value less than
         * the one provided will not be returned if it exceeds the end of the file
         * (if this is a problem let us know).
         */
        @Override
        public long skip(final long n) throws IOException {
            if (n > 0) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

        void withFilter_acceptsSome_skipsOthers_andVerifiesInteractions() throws Exception {
            SmbFile parent = newParent();
            List<FileEntry> entries = Arrays.asList(entry("keep1", SmbConstants.TYPE_SHARE), entry("skip1", SmbConstants.TYPE_SHARE),
                    entry("keep2", SmbConstants.TYPE_SHARE));
    
            // Filter accepts names starting with "keep"
            when(filter.accept(any())).thenAnswer(inv -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top