- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 203 for acceptPK (1.77 sec)
-
src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java
// Arrange jcifs.SID mockSid = mock(jcifs.SID.class); when(mockSid.unwrap(sid_t.class)).thenReturn(mockSidT); testSids = new jcifs.SID[] { mockSid }; // Act & Assert - Constructor accepts null, no exception thrown assertDoesNotThrow(() -> { new MsrpcLookupSids(null, testSids); }); } @Test void constructor_shouldThrowExceptionWithNullSids() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/SerializeUtil.java
* </p> * <p> * The default filter allows common safe classes like primitives, arrays, String, * Number types, collections, and classes in the org.codelibs package. For custom * requirements, use the overloaded methods that accept a custom filter. * </p> * * @author higa */ public abstract class SerializeUtil { /** * Do not instantiate. */ protected SerializeUtil() { }Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 9K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
final TotalHits totalHits = getClient().get(c -> { final SearchRequestBuilder builder = c.prepareSearch(index).setSize(0).setTrackTotalHits(true); callback.accept(builder); return builder.execute(); }).getHits().getTotalHits(); return totalHits != null ? (int) totalHits.value() : 0; } /**
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:40:57 UTC 2025 - 34.3K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
assertNotNull(validHost); // Invalid entries should not be found or may have incorrect parsing // Note: The actual Lmhosts parser may accept "192.168.1" and parse it differently // than expected, so we're not asserting null for HOST1 } @Test void testPopulateWithLongHostname() throws Exception {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
} @Test @DisplayName("Should handle null configuration gracefully") void testNullConfiguration() { // When - constructor accepts null config without throwing Smb2ReadResponse responseWithNull = new Smb2ReadResponse(null, outputBuffer, outputBufferOffset); // Then - response is created successfullyRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
} @ParameterizedTest @ValueSource(ints = { NtStatus.NT_STATUS_SUCCESS, NtStatus.NT_STATUS_NONE_MAPPED, 0x00000107 }) @DisplayName("resolveSids(DcerpcHandle,...) accepts success/none/some-not-mapped codes") void resolveSids_allowsCertainRetvals_noThrow(int ret) throws Exception { SIDCacheImpl cache = new SIDCacheImpl(mock(CIFSContext.class));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
fess-crawler/src/test/resources/ajax/js/jquery-2.1.1.min.js
.etag[d]&&v.setRequestHeader("If-None-Match",n.etag[d])),(k.data&&k.hasContent&&k.contentType!==!1||b.contentType)&&v.setRequestHeader("Content-Type",k.contentType),v.setRequestHeader("Accept",k.dataTypes[0]&&k.accepts[k.dataTypes[0]]?k.accepts[k.dataTypes[0]]+("*"!==k.dataTypes[0]?", "+pc+"; q=0.01":""):k.accepts["*"]);for(j in k.headers)v.setRequestHeader(j,k.headers[j]);if(k.beforeSend&&(k.beforeSend.call(l,v,k)===!1||2===t))return v.abort();u="abort";for(j in{success:1,error:1,complete:1})v[...
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Oct 11 02:16:55 UTC 2015 - 82.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ProcessHelper.java
final int bufferSize, final Consumer<String> outputCallback) { final ProcessBuilder pb = new ProcessBuilder(cmdList); pbCall.accept(pb); // Remove and destroy any existing process for this session final JobProcess oldProcess = runningProcessMap.remove(sessionId); if (oldProcess != null) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 06:54:47 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
byte[] storedFileId = (byte[]) fileIdField.get(request); assertArrayEquals(testFileId, storedFileId); } @Test @DisplayName("Constructor with null file ID should accept null") void testConstructorWithNullFileId() { // Should not throw exception Smb2FlushRequest requestWithNull = new Smb2FlushRequest(mockConfig, null); assertNotNull(requestWithNull); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
// When pointer is 0, the string should be null PacUnicodeString unicodeString = new PacUnicodeString((short) 0, (short) 0, 0); // check() expects null when pointer is 0 but doesn't accept empty string assertThrows(PACDecodingException.class, () -> { unicodeString.check(""); }); // The implementation has a bug - it doesn't handle null properlyRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0)