- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 602 for Mlock (0.42 sec)
-
src/test/java/jcifs/util/PathValidatorTest.java
} @Test public void testBlacklist() throws Exception { validator.addToBlacklist("\\share\\forbidden"); // Should block blacklisted path try { validator.validatePath("\\share\\forbidden\\file.txt"); fail("Should block blacklisted path"); } catch (SmbException e) { assertTrue(e.getMessage().contains("not allowed")); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/TestLogHandler.java
@NullMarked public class TestLogHandler extends Handler { private final Object lock = new Object(); /** We will keep a private list of all logged records */ @GuardedBy("lock") private final List<LogRecord> list = new ArrayList<>(); /** Adds the most recently logged record to our list. */ @Override public void publish(@Nullable LogRecord record) { synchronized (lock) { if (record != null) { list.add(record); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
} /** * Perform constant-time encryption to prevent timing attacks */ private byte[] performConstantTimeEncryption(Cipher cipher, byte[] message) throws Exception { // Pad to fixed block size to prevent timing leaks int blockSize = cipher.getBlockSize(); if (blockSize == 0) blockSize = 16; // GCM mode
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/Type2Message.java
*/ public void setTarget(final String target) { this.target = target; } /** * Returns the target information block. * * @return A <code>byte[]</code> containing the target information block. * The target information block is used by the client to create an * NTLMv2 response. */ public byte[] getTargetInformation() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/TearDownStack.java
@GwtCompatible @NullMarked public class TearDownStack implements TearDownAccepter { private static final Logger logger = Logger.getLogger(TearDownStack.class.getName()); @VisibleForTesting final Object lock = new Object(); @GuardedBy("lock") final Deque<TearDown> stack = new ArrayDeque<>(); private final boolean suppressThrows; public TearDownStack() { this.suppressThrows = false; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/TearDownStack.java
@GwtCompatible @NullMarked public class TearDownStack implements TearDownAccepter { private static final Logger logger = Logger.getLogger(TearDownStack.class.getName()); @VisibleForTesting final Object lock = new Object(); @GuardedBy("lock") final Deque<TearDown> stack = new ArrayDeque<>(); private final boolean suppressThrows; public TearDownStack() { this.suppressThrows = false; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/IllegalBlockSizeRuntimeException.java
*/ package org.codelibs.core.exception; import javax.crypto.IllegalBlockSizeException; /** * Signals that this exception has been thrown when a block cipher is supplied with input data whose length is not a multiple of the cipher's block size, or that has been padded to the wrong length. * @author shinsuke */ public class IllegalBlockSizeRuntimeException extends ClRuntimeException {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 1.4K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt
/** The timestamp of the last taken event, used to measure elapsed time between events. */ private var lastTimestampNs: Long? = null /** Confirm that the thread does not hold a lock on `lock` during the callback. */ fun forbidLock(lock: Any) { forbiddenLocks.add(lock) } /** * Removes recorded events up to (and including) an event is found whose class equals [eventClass] * and returns it. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 9.5K bytes - Viewed (0) -
cmd/callhome.go
return } go func() { r := rand.New(rand.NewSource(time.Now().UnixNano())) // Leader node (that successfully acquires the lock inside runCallhome) // will keep performing the callhome. If the leader goes down for some reason, // the lock will be released and another node will acquire it and take over // because of this loop. for { if !globalCallhomeConfig.Enabled() { return }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeJvmTest.kt
assertEquals("jpeg", mediaType.subtype) } } private fun <T> withLocale( locale: Locale, block: () -> T, ): T { val previous = Locale.getDefault() try { Locale.setDefault(locale) return block() } finally { Locale.setDefault(previous) } } @Test fun testIllegalCharsetName() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3K bytes - Viewed (0)