Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for skip1 (0.05 sec)

  1. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

                }
            });
            assertEquals("open fail", ex.getMessage());
            verify(tree, times(1)).release(); // closed on constructor failure
        }
    
        @Test
        @DisplayName("Iteration skips '.' and '..' and returns valid entries")
        void iterationSkipsDotAndDotDot() throws Exception {
            // Arrange
            stubAcquireReturnsSelf();
            FileEntry initial = entry("a");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            SocketInputStream sis = new SocketInputStream(in);
    
            // Try to skip more than available
            // 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) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/PacLogonInfo.java

                // ID for domain (used with relative IDs to get SIDs)
                final int domainIdPointer = pacStream.readInt();
    
                // Skip some reserved fields
                pacStream.skipBytes(8);
    
                this.userAccountControl = pacStream.readInt();
    
                // Skip some reserved fields
                pacStream.skipBytes(28);
    
                // Extra SIDs information
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

            byte[] nameBytes = originalFileName.getBytes(StandardCharsets.UTF_16LE);
    
            byte[] buffer = new byte[100];
            buffer[0] = 1; // replaceIfExists = true
            // Skip 7 reserved bytes (1-7)
            // Skip 8 bytes for RootDirectory (8-15)
            SMBUtil.writeInt4(nameBytes.length, buffer, 16);
            System.arraycopy(nameBytes, 0, buffer, 20, nameBytes.length);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

            }
    
            @Test
            @DisplayName("skip: positive advances; non-positive returns 0")
            void skipBehavior() throws Exception {
                SmbFileInputStream in = newStream();
                assertEquals(0, in.skip(0));
                assertEquals(0, in.skip(-1));
                assertEquals(5, in.skip(5));
            }
        }
    
        @Nested
        @DisplayName("SMB1 interactions")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

         */
        public void setMatchWordFirst(final boolean matchWordFirst) {
            this.matchWordFirst = matchWordFirst;
        }
    
        /**
         * Sets whether to skip duplicate words.
         * @param skipDuplicateWords True to skip duplicate words, false otherwise.
         */
        public void setSkipDuplicateWords(final boolean skipDuplicateWords) {
            this.skipDuplicateWords = skipDuplicateWords;
        }
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/s3/S3ClientTest.java

            S3Client client = new S3Client() {
                @Override
                protected ResponseData processRequest(final String uri, final boolean includeContent) {
                    // Skip init() and directly test timeout handling
                    org.codelibs.fess.crawler.client.AccessTimeoutTarget accessTimeoutTarget = null;
                    org.codelibs.core.timer.TimeoutTask accessTimeoutTask = null;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/witness/WitnessAsyncNotifyMessage.java

                break;
            case WitnessNotificationMessage.WITNESS_IP_CHANGE:
                decodeIpChangeMessage(buf, message);
                break;
            default:
                // Skip unknown message types
                buf.advance(messageLength - 8); // Skip remaining data (minus type and length)
                break;
            }
    
            return message;
        }
    
        /**
         * Decodes a resource change notification message.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/audit/SecurityAuditLogger.java

         *
         * When enabled, DEBUG level logs will skip sensitive data masking entirely
         * to improve performance in development and debugging scenarios.
         *
         * @param enable true to skip masking for debug level
         */
        public void setSkipMaskingForDebugLevel(boolean enable) {
            this.skipMaskingForDebugLevel = enable;
            log.info("Skip masking for debug level {}", enable ? "enabled" : "disabled");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                // When
                copy.encode(buffer, startIndex);
    
                // Then
                // The implementation skips 4 reserved bytes without writing zeros
                // This is consistent with the actual implementation behavior
                // The reserved bytes remain as they were in the buffer
                for (int i = 0; i < 4; i++) {
                    assertEquals((byte) 0xFF, buffer[startIndex + SOURCE_KEY_SIZE + 4 + i],
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
Back to top