- Sort Score
- Result 10 results
- Languages All
Results 621 - 630 of 4,346 for new3 (1.29 sec)
-
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
if (cfg.getLocalTimezone().inDaylightTime(new Date())) { // in DST if (cfg.getLocalTimezone().inDaylightTime(new Date(t))) { // t also in DST so no correction } else { // t not in DST so subtract 1 hour t -= 3600000; } } else // not in DST if (cfg.getLocalTimezone().inDaylightTime(new Date(t))) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
byte[] key14 = hex("01020304050607 11121314151617"); // two 7-byte chunks byte[] key7 = Arrays.copyOfRange(key14, 0, 7); byte[] data8 = NtlmUtil.S8; byte[] out14 = new byte[16]; byte[] out7 = new byte[8]; // Act NtlmUtil.E(key14, data8, out14); NtlmUtil.E(key7, data8, out7); // Assert: first block identical to single-chunk encryption
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.java
@BeforeEach void setUp() { keys = new HashMap<>(); } // Test successful PAC creation with mocked Pac construction @Test void testConstructorSuccess() throws PACDecodingException { // Setup key byte[] keyBytes = new byte[32]; KerberosKey kdcKey = new KerberosKey(null, keyBytes, PacSignature.HMAC_SHA1_96_AES256, 1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java
try (Reader reader = new BufferedReader(new InputStreamReader(form.elevateWordFile.getInputStream(), getCsvEncoding()))) { elevateWordService.importCsv(reader); suggestHelper.deleteAllElevateWord(false); suggestHelper.storeAllElevateWords(false); } catch (final Exception e) { throw new FessSystemException("Failed to import data.", e);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 22.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java
writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(newFile), Constants.UTF_8)); } catch (final Exception e) { if (newFile != null) { newFile.delete(); } throw new DictionaryException("Failed to write a userDict file.", e); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 11.5K bytes - Viewed (0) -
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/internal/fscc/FileBasicInfoTest.java
FileBasicInfo original = new FileBasicInfo(TEST_CREATE_TIME, TEST_LAST_ACCESS_TIME, TEST_LAST_WRITE_TIME, TEST_CHANGE_TIME, TEST_ATTRIBUTES); // Encode to buffer byte[] buffer = new byte[50]; int encodedBytes = original.encode(buffer, 0); // Decode to new instance (decode reads 36 bytes, encode writes 40) FileBasicInfo decoded = new FileBasicInfo();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java
*/ if (artifact.isSnapshot()) { Snapshot snapshot = new Snapshot(); snapshot.setLocalCopy(true); artifact.addMetadata(new SnapshotArtifactRepositoryMetadata(artifact, snapshot)); } Versioning versioning = new Versioning(); // TODO Should this be changed for MNG-6754 too? versioning.updateTimestamp();
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/transport/TransportException.java
public class TransportException extends IOException { /** The root cause exception */ private Throwable rootCause; /** * Constructs a new TransportException with no detail message. */ public TransportException() { } /** * Constructs a new TransportException with the specified detail message. * * @param msg the detail message */ public TransportException(final String msg) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/jar/JarFileUtilTest.java
/** * @throws Exception */ public void testToJarFilePath() throws Exception { final File f = new File("/Program Files/foo.jar"); final URL url = new URL("jar:" + f.toURI().toURL() + "!/"); final String root = new File("/").getCanonicalPath(); assertEquals(root + "Program Files" + File.separator + "foo.jar", JarFileUtil.toJarFilePath(url)); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.5K bytes - Viewed (0)