- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 1,215 for Bratch (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_tutorial/test_python_types/test_tutorial009c.py
def test_say_hi(module: ModuleType): with patch("builtins.print") as mock_print: module.say_hi("FastAPI") mock_print.assert_called_once_with("Hey FastAPI!") with pytest.raises( TypeError, match=re.escape("say_hi() missing 1 required positional argument: 'name'"), ):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 777 bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ListenableFutureTester.java
private final CountDownLatch latch; public ListenableFutureTester(ListenableFuture<?> future) { this.exec = newCachedThreadPool(); this.future = checkNotNull(future); this.latch = new CountDownLatch(1); } public void setUp() { future.addListener( new Runnable() { @Override public void run() { latch.countDown(); } },
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 3.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
* <li>{@code *,!repo1} (since 2.0.9)= everything except {@code repo1}.</li> * </ul> * * @param originalRepository to compare for a match. * @param pattern used for match. * @return true if the repository is a match to this pattern. */ static boolean matchPattern(ArtifactRepository originalRepository, String pattern) { boolean result = false;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Feb 07 00:45:02 GMT 2025 - 33.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
public abstract class AbstractListenableFutureTest extends TestCase { protected CountDownLatch latch; protected ListenableFuture<Boolean> future; @Override protected void setUp() throws Exception { // Create a latch and a future that waits on the latch. latch = new CountDownLatch(1); future = createListenableFuture(Boolean.TRUE, null, latch); } @Override protected void tearDown() throws Exception {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 6.1K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparatorTest.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Aug 06 12:03:40 GMT 2025 - 8.9K bytes - Click Count (0) -
mockwebserver/src/test/java/mockwebserver3/CustomDispatcherTest.kt
val secondRequest = "/bar" val firstRequest = "/foo" val latch = CountDownLatch(1) val dispatcher: Dispatcher = object : Dispatcher() { override fun dispatch(request: RecordedRequest): MockResponse { if (request.url.encodedPath == firstRequest) { latch.await() } return MockResponse() } }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 3.2K bytes - Click Count (1) -
guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java
public abstract class AbstractListenableFutureTest extends TestCase { protected CountDownLatch latch; protected ListenableFuture<Boolean> future; @Override protected void setUp() throws Exception { // Create a latch and a future that waits on the latch. latch = new CountDownLatch(1); future = createListenableFuture(Boolean.TRUE, null, latch); } @Override protected void tearDown() throws Exception {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 6.1K bytes - Click Count (0) -
okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt
@BeforeEach fun setUp() { testResourceDir = "./build/resources/test/okhttp3/osgi".toPath() workspaceDir = testResourceDir / "workspace" // Ensure we start from scratch. fileSystem.deleteRecursively(workspaceDir) fileSystem.createDirectories(workspaceDir) } /** * Resolve the OSGi metadata of the all okhttp3 modules. If required modules do not have OSGi
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 5K bytes - Click Count (0) -
cmd/batch-job-common-types_gen_test.go
Klaus Post <******@****.***> 1759093161 +0200
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11.3K bytes - Click Count (0) -
lib/fips140/Makefile
# in fips140.sum, and the cmd/go/internal/fips140 test checks # that the zips match. # # When the zip file is finalized, run 'make updatesum' to update # fips140.sum. default: @echo nothing to make # make v1.2.3.zip builds a v1.2.3.zip file # from the current origin/master. # copy and edit the 'go run' command by hand to use a different branch. v%.zip: git fetch origin master
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Sep 16 00:31:59 GMT 2025 - 1.4K bytes - Click Count (0)