- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 2,008 for new (0.02 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java
return new Metadata(new MetadataStaxReader().read(in, false)); } catch (FileNotFoundException e) { throw new RepositoryMetadataReadException("Cannot read metadata from '" + mappingFile + "'", e); } catch (IOException | XMLStreamException e) { throw new RepositoryMetadataReadException(
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 18.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java
final int threadCount = 10; final int rulesPerThread = 100; final CountDownLatch startLatch = new CountDownLatch(1); final CountDownLatch endLatch = new CountDownLatch(threadCount); for (int i = 0; i < threadCount; i++) { final int threadId = i; new Thread(new Runnable() { @OverrideRegistered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 23.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
byte[] dst = new byte[1024]; int dstIndex = 0; int result = response.writeBytesWireFormat(dst, dstIndex); assertEquals(0, result); } @Test @DisplayName("Test readBytesWireFormat with valid structure size") void testReadBytesWireFormatValidStructureSize() throws SMBProtocolDecodingException { byte[] buffer = new byte[1024]; int bufferIndex = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/exception/SuggestIndexException.java
* * <p>This exception can be thrown with a message, a cause, or both.</p> * * <pre> * Example usage: * throw new SuggestIndexException("Indexing error occurred"); * throw new SuggestIndexException(new IOException("IO error")); * throw new SuggestIndexException("Indexing error", new IOException("IO error")); * </pre> * * @see SuggesterException */ public class SuggestIndexException extends SuggesterException {
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java
/** Map of input file extensions to output extensions. */ private final Map<String, String> extensionMap = new HashMap<>(); /** Map of output extensions to their corresponding extractors. */ private final Map<String, Extractor> extractorMap = new HashMap<>(); /** * Constructs a new JodExtractor and initializes the extension and extractor mappings. */ public JodExtractor() {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java
try (MockedConstruction<LoginContext> mocked = Mockito.mockConstruction(LoginContext.class, (mock, context) -> { doThrow(new LoginException("Login failed")).when(mock).login(); })) { new KerberosCredentials(LOGIN_CONTEXT_NAME); } }); } /** * Test getKeys method when subject has Kerberos keys. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
void matchesBehavior() { // Two distinct auth instances NtlmPasswordAuthentication a1 = new NtlmPasswordAuthentication("DOM", "user", "pwd"); NtlmPasswordAuthentication a2 = new NtlmPasswordAuthentication("DOM", "user", "pwd"); SmbSession s1 = new SmbSession(addr, 445, inet, 0, a1); SmbSession s2 = new SmbSession(addr, 445, inet, 0, a2); // same auth instance => matches
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SSPContextTest.java
// Arrange ASN1ObjectIdentifier mech1 = new ASN1ObjectIdentifier("1.2.840.113554.1.2.2"); // Kerberos V5 ASN1ObjectIdentifier mech2 = new ASN1ObjectIdentifier("1.3.6.1.5.5.2"); // SPNEGO DummySSPContext ctx = new DummySSPContext(new byte[] { 1, 2, 3 }, true, "NBHOST", new ASN1ObjectIdentifier[] { mech1, mech2 }, 0xA5, true); // Act & AssertRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
@DisplayName("Should return negotiate contexts") void testGetNegotiateContexts() throws Exception { // Given NegotiateContextResponse[] contexts = new NegotiateContextResponse[2]; contexts[0] = new EncryptionNegotiateContext(); contexts[1] = new PreauthIntegrityNegotiateContext(); setPrivateField(response, "negotiateContexts", contexts); // WhenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
outputStream = new SmbFileOutputStream(mockFile, mockTreeHandle, mockFileHandle, SmbConstants.O_CREAT | SmbConstants.O_WRONLY | SmbConstants.O_TRUNC, SmbConstants.FILE_WRITE_DATA, SmbConstants.DEFAULT_SHARING); byte[] data = new byte[10]; // When & Then - test boundary conditionsRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0)