- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 538 for 1002 (0.02 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CertificatePinnerTest.kt
assertEquals(HashSet(expectedPins), certificatePinner.pins) } companion object { val certA1 = HeldCertificate .Builder() .serialNumber(100L) .build() val certA1Sha256Pin = pin(certA1.certificate) val certB1 = HeldCertificate .Builder() .serialNumber(200L) .build()
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
@DisplayName("Should handle complete read-write cycle") void testCompleteReadWriteCycle() throws SMBProtocolDecodingException { // Given byte[] writeBuffer = new byte[100]; byte[] readBuffer = new byte[100]; // Prepare valid read buffer SMBUtil.writeInt2(4, readBuffer, 10); SMBUtil.writeInt2(0, readBuffer, 12); // WhenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java
* @return the extracted body text * @throws ExtractException if extraction fails */ protected String getBodyText(final MimeMessage message) { final StringBuilder buf = new StringBuilder(1000); try { final Object content = message.getContent(); if (content instanceof final Multipart multipart) { final int count = multipart.getCount();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
mockConfig = mock(Configuration.class); when(mockContext.getConfig()).thenReturn(mockConfig); when(mockConfig.getLeaseTimeout()).thenReturn(30000); when(mockConfig.getMaxLeases()).thenReturn(1000); when(mockConfig.getLeaseBreakTimeout()).thenReturn(60); leaseManager = new LeaseManager(mockContext); } @AfterEach void tearDown() { if (leaseManager != null) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
w.write(payload, payload.length, out); // Give the writer thread time to process and set exception w.wait(100); } // Wait a bit more to ensure exception is captured Thread.sleep(100); // Act + Assert: checkException should throw the SmbException captured by the thread assertThrows(SmbException.class, w::checkException);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java
// Create multiple threads adding patterns Thread thread1 = new Thread(() -> { for (int i = 0; i < 100; i++) { urlFilter.addInclude("https://site" + i + ".com/.*"); } }); Thread thread2 = new Thread(() -> { for (int i = 0; i < 100; i++) { urlFilter.addExclude(".*\\.type" + i + "$"); } });Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19K bytes - Viewed (0) -
src/main/webapp/WEB-INF/orig/view/index.jsp
<div class="clearfix"> <div class="mx-auto col-10 col-sm-8 col-md-8 col-lg-6"> <la:text styleClass="query form-control" property="q" size="50" maxlength="1000" styleId="contentQuery" autocomplete="off" /> </div> </div> <c:if test="${!empty popularWords}"> <div class="clearfix"> <p class="text-truncate">
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Jan 18 12:09:07 UTC 2025 - 7K bytes - Viewed (1) -
guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
} public void testZeros100() { // Test 100 byte array of 0x00. byte[] zeros = new byte[100]; assertCrc(0x07cb9ff6, zeros); } public void testFull() { // Test 32 byte array of 0xFF. byte[] fulls = new byte[32]; Arrays.fill(fulls, (byte) 0xFF); assertCrc(0x62a8ab43, fulls); } public void testFull100() { // Test 100 byte array of 0xFF. byte[] fulls = new byte[100];
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
assertTrue(result.contains("pipeName=null")); } @Test @DisplayName("Test with large data") void testWithLargeData() { // Given byte[] largeData = new byte[1000]; Arrays.fill(largeData, (byte) 0x42); transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, largeData, 0, largeData.length); byte[] dst = new byte[2000]; // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
final SmbNegotiationResponse nego = transport.getNegotiateResponse(); if (nego instanceof SmbComNegotiateResponse) { return ((SmbComNegotiateResponse) nego).getServerData().serverTimeZone * 1000 * 60L; } return 0; } } /** * {@inheritDoc} * * @throws SmbException * * @see jcifs.SmbTreeHandle#getOEMDomainName()
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0)