Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,942 for When (0.15 sec)

  1. okhttp/src/main/kotlin/okhttp3/ConnectionListener.kt

        call: Call,
      ) {}
    
      /**
       * Invoked when a connection is released as no longer required.
       */
      open fun connectionClosed(connection: Connection) {}
    
      /**
       * Invoked when a call is assigned a particular connection.
       */
      open fun connectionAcquired(
        connection: Connection,
        call: Call,
      ) {}
    
      /**
       * Invoked when a call no longer uses a connection.
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

                // treated as a property read.
                return resolveCall(parentBinaryExpression)
            }
    
            if (psi is KtCallableReferenceExpression) {
                return resolveCall(psi.callableReference)
            }
    
            when (unwrappedPsi) {
                is KtBinaryExpression -> {
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Apr 29 12:48:54 GMT 2024
    - 34.8K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/async-tests.md

    Being able to use asynchronous functions in your tests could be useful, for example, when you're querying your database asynchronously. Imagine you want to test sending requests to your FastAPI application and then verify that your backend successfully wrote the correct data in the database, while using an async database library.
    
    Let's look at how we can make that work.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Jan 13 12:07:15 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/graph/DefaultGraphBuilderTest.java

            when(mavenExecutionRequest.getProjectActivation()).thenReturn(projectActivation);
            when(mavenExecutionRequest.getMakeBehavior()).thenReturn(parameterMakeBehavior);
            when(mavenExecutionRequest.getPom()).thenReturn(parameterRequestedPom);
            when(mavenExecutionRequest.isRecursive()).thenReturn(parameterRecursive);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 09:23:26 GMT 2023
    - 27.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

                + (throwable == null ? null : Throwables.getStackTraceAsString(throwable)),
            throwableFromOtherThread.get());
      }
    
      /**
       * Test for a bug where threads weren't getting signaled when shutdown was called, only when tasks
       * completed.
       */
      public void testDirectExecutorService_awaitTermination_missedSignal() {
        final ExecutorService service = MoreExecutors.newDirectExecutorService();
        Thread waiter =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 28.2K bytes
    - Viewed (0)
  6. analysis/analysis-api-fe10/tests/org/jetbrains/kotlin/analysis/api/fe10/test/configurator/AnalysisApiFe10TestConfiguratorFactory.kt

        override fun createConfigurator(data: AnalysisApiTestConfiguratorFactoryData): AnalysisApiTestConfigurator {
            require(supportMode(data))
    
            return when (data.moduleKind) {
                TestModuleKind.Source -> when (data.analysisSessionMode) {
                    AnalysisSessionMode.Normal -> AnalysisApiFe10TestConfigurator
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Feb 26 21:57:23 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

                // Parentheses are ignored for this analysis.
                is KtParenthesizedExpression ->
                    doesParentUseChild(parent.parent, parent)
    
                // When expressions use the subject expression _unless_ the first branch in the
                // when is an `else`.
                is KtWhenExpression ->
                    parent.subjectExpression == child && parent.entries.firstOrNull()?.isElse == false
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Feb 12 20:38:23 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  8. maven-core/plugin-manager.txt

    repository. During development in an IDE we would need layered resolution approach that would allow resolution from the workspace, then the local Maven repository and then from any number of remote Maven repositories. During development from the command line we would need a layered resolution approach that would allow resolution from the local Maven repository and then from any number of remote Maven repositories. In production the resolution for the dependencies could also be layered but would depend...
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Jul 18 22:45:13 GMT 2022
    - 12.9K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilterTest.java

    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    class ExclusionArtifactFilterTest {
        private Artifact artifact;
        private Artifact artifact2;
    
        @BeforeEach
        void setup() {
            artifact = mock(Artifact.class);
            when(artifact.getGroupId()).thenReturn("org.apache.maven");
            when(artifact.getArtifactId()).thenReturn("maven-core");
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Aug 29 15:25:58 GMT 2023
    - 6K bytes
    - Viewed (0)
  10. tests/associations_belongs_to_test.go

    	if err := DB.Model(&user2).Association("Company").Append(&company); err != nil {
    		t.Fatalf("Error happened when append Company, got %v", err)
    	}
    
    	if company.ID == 0 {
    		t.Fatalf("Company's ID should be created")
    	}
    
    	if err := DB.Model(&user2).Association("Manager").Append(manager); err != nil {
    		t.Fatalf("Error happened when append Manager, got %v", err)
    	}
    
    	if manager.ID == 0 {
    		t.Fatalf("Manager's ID should be created")
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 9.3K bytes
    - Viewed (0)
Back to top