Search Options

Results per page
Sort
Preferred Languages
Advance

Results 881 - 890 of 1,048 for ending (0.12 sec)

  1. src/test/java/jcifs/internal/util/SMBUtilTest.java

            assertEquals((byte) 'S', SMBUtil.SMB2_HEADER[1]);
            assertEquals((byte) 'M', SMBUtil.SMB2_HEADER[2]);
            assertEquals((byte) 'B', SMBUtil.SMB2_HEADER[3]);
    
            // Verify structure size (64 in little-endian)
            assertEquals((byte) 64, SMBUtil.SMB2_HEADER[4]);
            assertEquals((byte) 0x00, SMBUtil.SMB2_HEADER[5]);
        }
    
        @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

            int result = nodeStatusRequest.writeBodyWireFormat(dst, 10);
    
            // Assert
            assertTrue(result > 0);
            // Verify the hex code was temporarily set to 0x00
            // The first byte after the name encoding should reflect this
        }
    
        @Test
        void readBodyWireFormat_shouldAlwaysReturnZero() {
            // Arrange
            nodeStatusRequest = new NodeStatusRequest(mockConfig, mockName);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/PacLogonInfoTest.java

            writeLittleEndianInt(dos, 0); // unusedChars
            writeLittleEndianInt(dos, totalChars); // usedChars
    
            // Write the actual characters (as shorts in little-endian)
            for (char c : testString.toCharArray()) {
                writeLittleEndianShort(dos, (short) c);
            }
    
            ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            // After a full read both flags should be set and hasMore should be false
            assertTrue(d.getParametersDone(), "parametersDone should be true after reading");
            assertTrue(d.getDataDone(), "dataDone should be true after reading");
            assertFalse(d.getHasMore(), "hasMore should be false when both packets are fully read");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java

            assertEquals(4, bytesWritten);
            assertEquals(SmbComTransaction.TRANS_PEEK_NAMED_PIPE, buffer[offset]);
            assertEquals((byte) 0x00, buffer[offset + 1]);
    
            // Verify FID is written correctly (little-endian)
            int writtenFid = SMBUtil.readInt2(buffer, offset + 2);
            assertEquals(TEST_FID, writtenFid);
        }
    
        @Test
        @DisplayName("writeSetupWireFormat should handle buffer boundary")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

     * The class uses {@link DOMParser} to parse HTML documents and {@link XPathAPI} to execute XPath queries.
     * It also provides methods to add custom features and properties to the {@link DOMParser}.
     * </p>
     * <p>
     * The encoding of the HTML document is automatically detected using a regular expression that matches the charset attribute in the meta tag.
     * </p>
     *
     */
    public class HtmlXpathExtractor extends AbstractXmlExtractor {
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        AtomicInteger callCount = new AtomicInteger();
        // tells the computing thread when to start computing
        CountDownLatch computeSignal = new CountDownLatch(1);
        // tells the main thread when computation is pending
        CountDownLatch secondSignal = new CountDownLatch(1);
        // tells the main thread when the second get has started
        CountDownLatch thirdSignal = new CountDownLatch(1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 85.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            }
        }
    
        @Nested
        @DisplayName("Edge Case Tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle empty buffer encoding")
            void testEmptyBufferEncoding() {
                byte[] buffer = new byte[256];
                testMessage.setBytesWritten(0);
                int len = testMessage.encode(buffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  9. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

          |
          """.trimMargin()
        val heldCertificate = decode(certificatePem + pkcs8Pem)
        assertThat(heldCertificate.certificatePem()).isEqualTo(certificatePem)
    
        // Slightly different encoding
        if (platform.isBouncyCastle()) {
          assertThat(heldCertificate.privateKeyPkcs8Pem()).isEqualTo(bcPkcs8Pem)
        } else {
          assertThat(heldCertificate.privateKeyPkcs8Pem()).isEqualTo(pkcs8Pem)
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

            val requestBody = if (maintainBody) userResponse.request.body else null
            requestBuilder.method(method, requestBody)
          }
          if (!maintainBody) {
            requestBuilder.removeHeader("Transfer-Encoding")
            requestBuilder.removeHeader("Content-Length")
            requestBuilder.removeHeader("Content-Type")
          }
        }
    
        // When redirecting across hosts, drop all authentication headers. This
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 12.4K bytes
    - Viewed (0)
Back to top