- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 317 for Unwrap (0.16 sec)
-
src/main/java/jcifs/netbios/UniAddress.java
} /** * {@inheritDoc} * * @see jcifs.Address#unwrap(java.lang.Class) */ @SuppressWarnings("unchecked") @Override public <T extends Address> T unwrap(final Class<T> type) { if (this.addr instanceof Address) { return ((Address) this.addr).unwrap(type); } if (this.getClass().isAssignableFrom(type)) { return (T) this;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeImplTest.java
assertEquals(tree1, tree2); assertFalse(tree1.equals(tree3)); } // Test case for the unwrap method @Test void testUnwrap() { SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:"); SmbTreeImpl unwrapped = tree.unwrap(SmbTreeImpl.class); assertEquals(tree, unwrapped); // Test unwrapping to a non-assignable type should fail
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NbtAddressTest.java
void testUnwrap() { // Test unwrap method for correct type casting mockName = new Name(mockConfig, "TEST", 0x20, null); NbtAddress nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE); NbtAddress unwrapped = nbtAddress.unwrap(NbtAddress.class); assertNotNull(unwrapped); assertSame(nbtAddress, unwrapped);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
} @Test @DisplayName("unwrap returns this for assignable type; otherwise throws ClassCastException") void testUnwrap() throws Exception { SID sid = new SID("S-1-5-21-1"); // Happy path assertSame(sid, sid.unwrap(SID.class)); assertSame(sid, sid.unwrap(Object.class)); // Invalid unwrapRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
assertNotNull(handle, "Handle must not be null"); assertSame(pipe, handle.getPipe(), "Handle should reference originating pipe"); assertSame(handle, handle.unwrap(SmbPipeHandle.class), "unwrap should return same instance for interface type"); } @ParameterizedTest @DisplayName("getPipeType echoes constructor input (edge values)")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SIDCacheImpl.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 13.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/DfsImpl.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 29.7K bytes - Viewed (0) -
cmd/object-api-errors.go
} // Unwrap the error. func (e InsufficientWriteQuorum) Unwrap() error { return errErasureWriteQuorum } // GenericError - generic object layer error. type GenericError struct { Bucket string Object string VersionID string Err error } // Unwrap the error to its underlying error. func (e GenericError) Unwrap() error { return e.Err }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 09 02:05:14 UTC 2024 - 22.1K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcSecurityProvider.java
* @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 */ void unwrap(NdrBuffer incoming) throws DcerpcException;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/LsarSidArrayX.java
this.sids = new lsarpc.LsarSidPtr[sids.length]; for (int si = 0; si < sids.length; si++) { this.sids[si] = new lsarpc.LsarSidPtr(); this.sids[si].sid = sids[si].unwrap(sid_t.class); } } LsarSidArrayX(final SID[] sids) { this.num_sids = sids.length; this.sids = new lsarpc.LsarSidPtr[sids.length]; for (int si = 0; si < sids.length; si++) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.5K bytes - Viewed (0)