Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 131 for skipLen (0.03 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java

            // exact matches win first
            Mirror mirrorA2 = newMirror("a2", "a,b", "http://a2");
            Mirror mirrorA = newMirror("a", "a", "http://a");
            // make sure repeated entries are skipped
            Mirror mirrorA3 = newMirror("a", "a", "http://a3");
    
            Mirror mirrorB = newMirror("b", "b", "http://b");
            Mirror mirrorC = newMirror("c", "d,e", "http://de");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.7K 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/main/java/jcifs/pac/PacDataInputStream.java

            return new SID(bytes, 0);
        }
    
        /**
         * Skips the specified number of bytes in the stream.
         * @param n the number of bytes to skip
         * @return the actual number of bytes skipped
         * @throws IOException if an I/O error occurs
         */
        public int skipBytes(final int n) throws IOException {
            return this.dis.skipBytes(n);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt

        frame.writeInt(expectedStreamId and 0x7fffffff)
        frame.writeByte(paddingLength)
        frame.write(expectedData)
        frame.write(padding)
        reader.nextFrame(requireSettings = false, assertData())
        // Padding was skipped.
        assertThat(frame.exhausted()).isTrue()
      }
    
      @Test fun readPaddedDataFrameZeroPadding() {
        val dataLength = 1123
        val expectedData = ByteArray(dataLength)
        Arrays.fill(expectedData, 2.toByte())
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                    buffer.append(' ');
                }
    
                BuildSummary buildSummary = result.getBuildSummary(project);
    
                if (buildSummary == null) {
                    buffer.append(builder().warning("SKIPPED"));
                } else if (buildSummary instanceof BuildSuccess) {
                    buffer.append(builder().success("SUCCESS"));
                    buffer.append(" [");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 08 08:49:11 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            long alloc = 1000000L;
            long free = 500000L;
            int bytesPerSect = 512;
    
            // Encode test data
            int offset = 0;
            SMBUtil.writeInt4(idFileSystem, buffer, offset); // idFileSystem (skipped)
            offset += 4;
            SMBUtil.writeInt4(sectPerAlloc, buffer, offset);
            offset += 4;
            SMBUtil.writeInt4((int) alloc, buffer, offset);
            offset += 4;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  10. 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)
Back to top