- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 2,008 for new (0.05 sec)
-
src/main/java/jcifs/smb/PreauthIntegrityService.java
private volatile boolean isValid; private final Object hashLock = new Object(); public PreauthIntegrityContext(byte[] salt, int hashAlgorithm) { this.salt = salt != null ? salt.clone() : new byte[0]; this.hashAlgorithm = hashAlgorithm; this.currentHash = new byte[HASH_SIZE_SHA512]; // Initialize with zeros this.isValid = true; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/MsrpcDfsRootEnumTest.java
netdfs.DfsEnumArray200 arrayWithNulls = new netdfs.DfsEnumArray200(); arrayWithNulls.count = 2; arrayWithNulls.s = new netdfs.DfsInfo200[2]; netdfs.DfsInfo200 entry1 = new netdfs.DfsInfo200(); entry1.dfs_name = null; arrayWithNulls.s[0] = entry1; netdfs.DfsInfo200 entry2 = new netdfs.DfsInfo200(); entry2.dfs_name = "valid_share";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
final byte[] p14 = new byte[14]; final byte[] p21 = new byte[21]; final byte[] p24 = new byte[24]; byte[] passwordBytes; try { passwordBytes = password.toUpperCase().getBytes(SmbConstants.OEM_ENCODING); } catch (final UnsupportedEncodingException uee) { throw new RuntimeException("Try setting jcifs.smb1.encoding=US-ASCII", uee);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java
final ExtractData extractData = new ExtractData(new String(FileUtil.readBytes(outputFile), outputEncoding)); if (StringUtil.isNotBlank(resourceName)) { extractData.putValues("resourceName", new String[] { resourceName }); } return extractData; } catch (final IOException e) { throw new ExtractException("Could not extract a content.", e);Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 16K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java
} // Test constructor with external hashes @Test void testConstructorWithExternalHashes() { byte[] challenge = new byte[8]; byte[] ansiHash = new byte[24]; byte[] unicodeHash = new byte[24]; NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication("DOMAIN", "user", challenge, ansiHash, unicodeHash); assertEquals("DOMAIN", auth.getDomain());Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
void testWriteBytesWireFormatWithEmptyToken() throws Exception { // Given byte[] emptyToken = new byte[0]; Smb2SessionSetupRequest req = new Smb2SessionSetupRequest(mockContext, TEST_SECURITY_MODE, TEST_CAPABILITIES, TEST_PREVIOUS_SESSION_ID, emptyToken); byte[] buffer = new byte[512]; // When req.encode(buffer, 0); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java
final CountDownLatch startLatch = new CountDownLatch(1); final CountDownLatch endLatch = new CountDownLatch(2); final AtomicInteger successCount = new AtomicInteger(0); Thread thread1 = new Thread(new Runnable() { @Override public void run() { try { startLatch.await();
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 25.6K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosTicket.java
if (token.length <= 0) { throw new PACDecodingException("Empty kerberos ticket"); } ASN1Sequence sequence; try { try (ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token))) { sequence = ASN1Util.as(ASN1Sequence.class, stream); } } catch (IOException e) { throw new PACDecodingException("Malformed kerberos ticket", e);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.7K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
session.setScopeManager(new ScopeManagerImpl(Maven4ScopeManagerConfiguration.INSTANCE)); session.setLocalRepositoryManager(new LegacyLocalRepositoryManager(localRepo)); request.setRepositorySession(session); DefaultMavenExecutionRequest mavenExecutionRequest = new DefaultMavenExecutionRequest(); MavenSession msession =
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 20:01:00 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/HandlerTest.java
void testUrlCreationWithHandler() throws Exception { // Act - Create various SMB URLs using the handler URL url1 = new URL(null, "smb://host/share", handler); URL url2 = new URL(null, "smb://host:1234/share/file.txt", handler); URL url3 = new URL(null, "smb://user:pass@host/share", handler); // Assert - Verify URL components assertEquals("smb", url1.getProtocol());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0)