- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 1,922 for Try (0.05 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java
expectUnchanged(); expectMissing(e3()); } @MapFeature.Require(absent = SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPutIfAbsent_unsupportedPresentExistingValue() { try { assertEquals( "putIfAbsent(present, existingValue) should return present or throw", v0(), putIfAbsent(e0())); } catch (UnsupportedOperationException tolerated) { }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 4.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java
expectUnchanged(); expectMissing(e3()); } @MapFeature.Require(absent = SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPutIfAbsent_unsupportedPresentExistingValue() { try { assertEquals( "putIfAbsent(present, existingValue) should return present or throw", v0(), getMap().putIfAbsent(k0(), v0())); } catch (UnsupportedOperationException tolerated) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 4.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Callables.java
return () -> { Thread currentThread = Thread.currentThread(); String oldName = currentThread.getName(); boolean restoreName = trySetName(nameSupplier.get(), currentThread); try { return callable.call(); } finally { if (restoreName) { boolean unused = trySetName(oldName, currentThread); } } }; } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 4.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 5.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java
@Override public void run() { try { workOnQueue(); } catch (Error e) { synchronized (queue) { workerRunningState = IDLE; } throw e; // The execution of a task has ended abnormally. // We could have tasks left in the queue, so should perhaps try to restart a worker,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 01 21:46:34 UTC 2024 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/tests/DfsTest.java
CIFSContext context = getContext(); context = withTestNTLMCredentials(context); try ( SmbResource root = context.get(getTestShareURL()) ) { root.exists(); try ( SmbResource t = root.resolve(makeRandomName()) ) { try { t.createNewFile(); } finally { t.delete();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Mar 01 09:46:04 UTC 2020 - 13.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/SequentialExecutor.java
@Override public void run() { try { workOnQueue(); } catch (Error e) { synchronized (queue) { workerRunningState = IDLE; } throw e; // The execution of a task has ended abnormally. // We could have tasks left in the queue, so should perhaps try to restart a worker,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 01 21:46:34 UTC 2024 - 10.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Dfs.java
return null; if (_domains != null && System.currentTimeMillis() > _domains.expiration) { _domains = null; } if (_domains != null) return _domains.map; try { UniAddress addr = UniAddress.getByName(auth.domain, true); SmbTransport trans = SmbTransport.getSmbTransport(addr, 0); CacheEntry entry = new CacheEntry(Dfs.TTL * 10L);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 11.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/DefaultQueryBuilderTest.java
public class DefaultQueryBuilderTest extends UnitFessTestCase { public void test_invalid_null() { try { new DefaultQueryBuilder(null); fail(); } catch (IllegalArgumentException e) { // nothing } } public void test_invalid_query() { try { new DefaultQueryBuilder(QueryBuilders.matchAllQuery()); fail();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jul 11 08:26:36 UTC 2024 - 1.2K bytes - Viewed (0) -
scripts/playwright/separate_openapi_schemas/image02.py
page = context.new_page() page.goto("http://localhost:8000/docs") page.get_by_text("GET/items/Read Items").click() page.get_by_role("button", name="Try it out").click() page.get_by_role("button", name="Execute").click() # Manually add the screenshot page.screenshot( path="docs/en/docs/img/tutorial/separate-openapi-schemas/image02.png" )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Sep 13 09:14:46 UTC 2024 - 1K bytes - Viewed (0)