- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 765 for Cock (0.02 sec)
-
guava/src/com/google/common/util/concurrent/Monitor.java
} ReentrantLock lock = this.lock; lock.lock(); boolean satisfied = false; try { return satisfied = guard.isSatisfied(); } finally { if (!satisfied) { lock.unlock(); } } } /** * Enters this monitor if the guard is satisfied. Blocks at most the given time acquiring the * lock, but does not wait for the guard to be satisfied.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 42.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/UniAddressTest.java
private InetAddress mockInetAddress; private CIFSContext mockCIFSContext; @BeforeEach void setup() { mockNbtAddress = mock(NbtAddress.class); mockInetAddress = mock(InetAddress.class); mockCIFSContext = mock(CIFSContext.class); } @Test void shouldReturnNbtAddressNextCalledNameWhenWrappedIsNbtAddress() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.4K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
* This test class uses Mockito to create a mock implementation of the SmbTreeHandle interface. * Each method of the interface is tested to ensure it behaves as expected. */ @ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT) class SmbTreeHandleTest { @Mock private SmbTreeHandle smbTreeHandle; @Mock private Configuration mockConfig; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/WebFsIndexHelperTest.java
assertTrue(true); } } public void test_crawl_withWebConfigOnly() { List<String> webConfigIds = Arrays.asList("webConfig1", "webConfig2"); // Mock CrawlingConfigHelper CrawlingConfigHelper crawlingConfigHelper = new CrawlingConfigHelper() { @Override public List<WebConfig> getWebConfigListByIds(List<String> webConfigIdList) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 15.2K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
SmbSession mockSession = mock(SmbSession.class); Configuration mockConfig = mock(Configuration.class); // Only mock getConfig, leave others with default behavior when(mockSession.getConfig()).thenReturn(mockConfig); assertEquals(mockConfig, mockSession.getConfig()); assertNull(mockSession.getContext()); // Default mock behavior
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
docs/bucket/retention/README.md
```sh aws s3api put-object --bucket testbucket --key lockme --object-lock-mode GOVERNANCE --object-lock-retain-until-date "2019-11-20" --body /etc/issue ```
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
} static TestCondition create() { Lock lock = new ReentrantLock(); Condition condition = lock.newCondition(); return new TestCondition(lock, condition); } @Override public void await() throws InterruptedException { lock.lock(); try { condition.await(); } finally { lock.unlock(); } } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 31.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/CycleDetectingLockFactoryBenchmark.java
for (int i = 0; i < reps; i++) { lock.lock(); lock.unlock(); } } @Benchmark void orderedPlainLocks(int reps) { lockAndUnlockNested(plainLocks, reps); } @Benchmark void orderedCycleDetectingLocks(int reps) { lockAndUnlockNested(detectingLocks, reps); } private static void lockAndUnlockNested(Lock[] locks, int reps) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProviderTest.java
public void test_findBusinessLocale_withValidLocale() { // Setup mock config FessConfig mockConfig = new FessConfig.SimpleImpl() { @Override public String getQueryBrowserLangParameterName() { return "lang"; } }; ComponentUtil.setFessConfig(mockConfig); // Setup mock request manager
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0)