Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 2,390 for when (0.02 sec)

  1. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSourceListener.kt

    package okhttp3.sse
    
    import okhttp3.Response
    
    abstract class EventSourceListener {
      /**
       * Invoked when an event source has been accepted by the remote peer and may begin transmitting
       * events.
       */
      open fun onOpen(
        eventSource: EventSource,
        response: Response,
      ) {
      }
    
      /**
       * Invoked when a new event has been sent to the client.
       *
       * @param id The `id` line of the event, might be null.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbWatchHandleTest.java

            when(fileNotifyInfo1.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_ADDED);
            when(fileNotifyInfo1.getFileName()).thenReturn("newfile.txt");
    
            when(fileNotifyInfo2.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_MODIFIED);
            when(fileNotifyInfo2.getFileName()).thenReturn("existingfile.txt");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (1)
  3. src/test/java/jcifs/smb/SpnegoContextTest.java

        SSPContext mechContext;
    
        private ASN1ObjectIdentifier[] mechs;
    
        @BeforeEach
        void setup() {
            // Default: do not enforce or disable SPNEGO integrity
            when(this.config.isEnforceSpnegoIntegrity()).thenReturn(false);
            when(this.config.isDisableSpnegoIntegrity()).thenReturn(false);
            this.mechs = new ASN1ObjectIdentifier[] { new ASN1ObjectIdentifier("1.2.3.4") };
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. tests/update_belongs_to_test.go

    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	user.Company = Company{Name: "company-belongs-to-association"}
    	user.Manager = &User{Name: "manager-belongs-to-association"}
    	if err := DB.Save(&user).Error; err != nil {
    		t.Fatalf("errors happened when update: %v", err)
    	}
    
    	var user2 User
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Jul 14 06:55:54 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  5. tests/associations_has_one_test.go

    	if err := DB.Model(&user2).Association("Account").Delete(&Account{}); err != nil {
    		t.Fatalf("Error happened when delete account, got %v", err)
    	}
    	AssertAssociationCount(t, user2, "Account", 1, "after delete non-existing data")
    
    	if err := DB.Model(&user2).Association("Account").Delete(&account2); err != nil {
    		t.Fatalf("Error happened when delete Account, got %v", err)
    	}
    	AssertAssociationCount(t, user2, "Account", 0, "after delete")
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. docs/features/connections.md

    In limited situations OkHttp will retry a route if connecting fails:
    
     * When making an HTTPS connection through an HTTP proxy, the proxy may issue an authentication challenge. OkHttp will call the proxy [authenticator](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-authenticator/) and try again.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Feb 21 03:33:59 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbSessionTest.java

                SmbSession unwrapResult = mock(SmbSession.class);
    
                when(mockSession.getConfig()).thenReturn(mockConfig);
                when(mockSession.getContext()).thenReturn(mockContext);
                when(mockSession.unwrap(SmbSession.class)).thenReturn(unwrapResult);
                doNothing().when(mockSession).close();
    
                assertEquals(mockConfig, mockSession.getConfig());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbPipeHandleTest.java

            smbPipeHandle = mock(SmbPipeHandle.class);
    
            // Define behavior for the mock handle
            when(smbPipeHandle.getPipe()).thenReturn(mockPipeResource);
            when(smbPipeHandle.getInput()).thenReturn(mockInputStream);
            when(smbPipeHandle.getOutput()).thenReturn(mockOutputStream);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/http/NtlmSspTest.java

            lenient().when(mockCifsContext.getConfig()).thenReturn(mockConfig);
            lenient().when(mockConfig.getDefaultDomain()).thenReturn("DOMAIN");
            lenient().when(mockConfig.isUseUnicode()).thenReturn(true);
    
            // Mock NameServiceClient for Type1Message test
            lenient().when(mockCifsContext.getNameServiceClient()).thenReturn(mockNameServiceClient);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (1)
  10. RELEASE.md

        *   XLA reduction emitter is deterministic when the environment variable
            `TF_DETERMINISTIC_OPS` is set to "true" or "1". This extends
            deterministic `tf.nn.bias_add` back-prop functionality (and therefore
            also deterministic back-prop of bias-addition in Keras layers) to
            include when XLA JIT compilation is enabled.
        *   Fix problem, when running on a CUDA GPU and when either environment
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 20:54:38 UTC 2025
    - 740K bytes
    - Viewed (2)
Back to top