- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for testCthread (0.13 sec)
-
src/cmd/cgo/internal/test/cgo_test.go
func TestCflags(t *testing.T) { testCflags(t) } func TestCheckConst(t *testing.T) { testCheckConst(t) } func TestConst(t *testing.T) { testConst(t) } func TestCthread(t *testing.T) { testCthread(t) } func TestEnum(t *testing.T) { testEnum(t) } func TestNamedEnum(t *testing.T) { testNamedEnum(t) } func TestCastToEnum(t *testing.T) { testCastToEnum(t) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 17 21:53:11 UTC 2023 - 6.4K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/TestThread.groovy
* limitations under the License. */ package org.gradle.test.fixtures.concurrent /** * Represents the current thread. */ class TestThread { private final Instants instants TestThread(Instants instants) { this.instants = instants } void block() { Thread.sleep(750) } BlockTarget getBlockUntil() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 971 bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java
monitor = new Monitor(fair); tearDownStack.addTearDown(thread1 = new TestThread<>(monitor, "TestThread #1")); tearDownStack.addTearDown(thread2 = new TestThread<>(monitor, "TestThread #2")); } @Override protected final void tearDown() { tearDownStack.runTearDown(); } private String enter() { return interruptible ? "enterInterruptibly" : "enter"; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 26 20:07:17 UTC 2023 - 8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java
monitor = new Monitor(fair); tearDownStack.addTearDown(thread1 = new TestThread<>(monitor, "TestThread #1")); tearDownStack.addTearDown(thread2 = new TestThread<>(monitor, "TestThread #2")); } @Override protected final void tearDown() { tearDownStack.runTearDown(); } private String enter() { return interruptible ? "enterInterruptibly" : "enter"; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 26 20:07:17 UTC 2023 - 7.9K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/actor/internal/DefaultActorFactorySpec.groovy
def actor = factory.createBlockingActor(target) def testThread = Thread.currentThread() when: actor.dispatch(new MethodInvocation(TargetObject.class.getMethod('doStuff', String.class), ['param'] as Object[])) then: 1 * target.doStuff('param') >> { assert Thread.currentThread() == testThread } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 8.1K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/ConcurrentSpec.groovy
* * @see NamedOperation */ final Operations operation = new Operations(instant, instant) /** * An object that allows control over the current thread. */ final TestThread thread = new TestThread(instant) final BlockTarget waitFor = new BlockTarget(instant) public final TestExecutor executor = new TestExecutor(logger)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RequestBodyTest.kt
val closedRequestBody = assertOnFileDescriptor { it.toRequestBody() } assertThrows(IOException::class.java) { closedRequestBody.writeTo(Buffer()) } } @Test fun testPathRead() { assertOnPath(content = "Hello") { path -> val requestBody = path.asRequestBody(FileSystem.SYSTEM) val buffer = Buffer() requestBody.writeTo(buffer)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/c/env_test.cc
void SomeThreadFunc(void* data) { auto* real_data = static_cast<SomeThreadData*>(data); ::tensorflow::mutex_lock l(real_data->mu); real_data->did_work = true; } } // namespace TEST(TestEnv, TestThreads) { TF_ThreadOptions options; TF_DefaultThreadOptions(&options); SomeThreadData data; TF_Thread* thread = TF_StartThread(&options, "SomeThreadName", &SomeThreadFunc, &data); TF_JoinThread(thread);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Dec 10 20:52:48 UTC 2018 - 4.2K bytes - Viewed (0)