- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 129 for unwrapped (0.34 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/jcifs/dcerpc/DcerpcSecurityProvider.java
* @param outgoing the buffer containing data to be wrapped * @throws DcerpcException if the wrapping operation fails */ void wrap(NdrBuffer outgoing) throws DcerpcException; /** * Unwraps incoming DCERPC message data after security processing * @param incoming the buffer containing data to be unwrapped * @throws DcerpcException if the unwrapping operation fails */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
void testUnwrapToDfsReferralData() { DfsReferralData unwrapped = referralData.unwrap(DfsReferralData.class); assertSame(referralData, unwrapped); } @Test @DisplayName("Should unwrap to DfsReferralDataInternal interface") void testUnwrapToDfsReferralDataInternal() { DfsReferralDataInternal unwrapped = referralData.unwrap(DfsReferralDataInternal.class);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.6K bytes - Click Count (0) -
src/main/java/jcifs/Address.java
/** * Unwrap the address to a specific type * * @param <T> the type to unwrap to * @param type the target type to unwrap to * @return instance for type, null if the type cannot be unwrapped */ <T extends Address> T unwrap(Class<T> type); /** * Gets the host name of this address. * * @return the resolved host name, or the host address if it could not be resolved */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
public void testUnwrap() { when(smbPipeHandle.unwrap(SmbPipeHandleInternal.class)).thenReturn(mockSmbPipeHandleInternal); SmbPipeHandleInternal unwrapped = smbPipeHandle.unwrap(SmbPipeHandleInternal.class); assertSame(mockSmbPipeHandleInternal, unwrapped, "Unwrap should return the underlying handle implementation."); } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleImplTest.java
@DisplayName("unwrap returns self for assignable type; throws for incompatible and null") void testUnwrap() { // Happy path: unwrap to concrete type SmbPipeHandleImpl unwrapped = target.unwrap(SmbPipeHandleImpl.class); assertSame(target, unwrapped); // Incompatible type: expect ClassCastException class OtherPipeHandle implements SmbPipeHandle { @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.7K bytes - Click Count (0) -
src/main/java/jcifs/SmbPipeHandle.java
*/ boolean isStale(); /** * Unwraps this handle to the specified type. * * @param <T> the type to unwrap to * @param type the class of the type to unwrap to * @return unwrapped instance */ <T extends SmbPipeHandle> T unwrap(Class<T> type);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.4K bytes - Click Count (0) -
src/test/java/jcifs/SIDTest.java
*/ @Test void testUnwrap() throws SmbException { SID sid = new SID(adminSidString); SID unwrapped = sid.unwrap(SID.class); assertNotNull(unwrapped); assertEquals(sid, unwrapped); assertThrows(ClassCastException.class, () -> sid.unwrap(String.class)); } /** * Test the resolve method. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.5K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NbtAddressTest.java
NbtAddress nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE); NbtAddress unwrapped = nbtAddress.unwrap(NbtAddress.class); assertNotNull(unwrapped); assertSame(nbtAddress, unwrapped); // Test unwrap for incompatible type - NbtAddress implements NetbiosAddress so it should return itself
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.4K bytes - Click Count (0) -
fastapi/dependencies/utils.py
signature = inspect.signature(call) return signature def get_typed_signature(call: Callable[..., Any]) -> inspect.Signature: signature = _get_signature(call) unwrapped = inspect.unwrap(call) globalns = getattr(unwrapped, "__globals__", {}) typed_params = [ inspect.Parameter( name=param.name, kind=param.kind, default=param.default,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 38.7K bytes - Click Count (3) -
src/main/java/jcifs/SID.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.4K bytes - Click Count (0)