- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for do_something (0.12 seconds)
-
guava/src/com/google/common/base/Stopwatch.java
* accuracy, use {@code System.nanoTime()} directly instead. * * <p>Basic usage: * * {@snippet : * Stopwatch stopwatch = Stopwatch.createStarted(); * doSomething(); * stopwatch.stop(); // optional * * Duration duration = stopwatch.elapsed(); * * log.info("time: " + stopwatch); // formatted string like "12.3 ms" * } *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 9.2K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
tester.testConstructor(constructor); } } private interface Foo<T> { void doSomething(T bar, Integer baz); } private static class StringFoo implements Foo<String> { @Override public void doSomething(String bar, Integer baz) { checkNotNull(bar); checkNotNull(baz); } } public void testBridgeMethodIgnored() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 47.8K bytes - Click Count (0) -
docs/en/docs/release-notes.md
If you depended on exceptions not being received by dependencies with `yield`, and receiving an exception breaks the code after `yield`, you can use a block with `try` and `finally`: ```Python async def do_something(): try: yield something finally: some_cleanup() ``` ...that way the `finally` block is run regardless of any exception that might happen. ### FeaturesCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 19:06:15 GMT 2025 - 586.7K bytes - Click Count (0)