- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 816 for callers (0.25 sec)
-
src/test/java/jcifs/SmbPipeHandleTest.java
* Verifies that the close method can be called without throwing an exception. * @throws CIFSException if an error occurs during close. */ @Test public void testClose() throws CIFSException { assertDoesNotThrow(() -> smbPipeHandle.close(), "close() should not throw an exception on a mock object."); // Verify that the close method was called Mockito.verify(smbPipeHandle).close();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/UniAddressTest.java
InetAddress addr = mock(InetAddress.class); when(addr.getHostName()).thenReturn(hostname); UniAddress ua = new UniAddress(addr); // Act String called = ua.firstCalledName(); // Assert assertEquals(expectedPrefix, called, "firstCalledName should return uppercase prefix or SMBSERVER_NAME"); } @Test void nextCalledNameWithNbtAddressReturnsDelegateValue() { // Arrange
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
docs/en/docs/advanced/path-operation-advanced-configuration.md
{* ../../docs_src/path_operation_advanced_configuration/tutorial007_pv1.py hl[17:22, 24] *} //// /// info In Pydantic version 1 the method to get the JSON Schema for a model was called `Item.schema()`, in Pydantic version 2, the method is called `Item.model_json_schema()`. ///
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.8K bytes - Viewed (0) -
docs/features/interceptors.md
Interceptors can be chained. Suppose you have both a compressing interceptor and a checksumming interceptor: you'll need to decide whether data is compressed and then checksummed, or checksummed and then compressed. OkHttp uses lists to track interceptors, and interceptors are called in order.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrCloseHandleTest.java
"flags should be DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG"); // Verify that the super constructor was called with the correct handle. // This is implicitly tested by the object being created without error and // the fields set by the constructor being correct. }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
this.macAddress = macAddress; isDataFromNodeStatus = true; } /* Guess next called name to try for session establishment. These * methods are used by the smb package. */ /** * Gets the first called name for session establishment. * * @return the first called name to try */ public String firstCalledName() { calledName = hostName.name;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.7K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Closer.java
* types your try block can throw when calling an overload of this method so as to avoid losing * the original exception type. * * <p>This method always throws, and as such should be called as {@code throw closer.rethrow(e);} * to ensure the compiler knows that it will throw. * * @return this method does not return; it always throws * @throws IOException when the given throwable is an IOException
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 10.3K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/index.md
{* ../../docs_src/dependencies/tutorial001_02_an_py310.py hl[12,16,21] *} /// tip This is just standard Python, it's called a "type alias", it's actually not specific to **FastAPI**. But because **FastAPI** is based on the Python standards, including `Annotated`, you can use this trick in your code. 😎 ///
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.6K bytes - Viewed (0) -
docs/en/docs/advanced/async-tests.md
/// ## Other Asynchronous Function Calls { #other-asynchronous-function-calls }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SSPContextTest.java
} // Verify that calculateMIC was never called verify(mockCtx, never()).calculateMIC(any()); // Verify that supportsIntegrity was checked once verify(mockCtx, times(1)).supportsIntegrity(); // Due to short-circuit evaluation, isEstablished should never be called // when supportsIntegrity returns false
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0)