- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 371 for unwrap (0.08 seconds)
-
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 }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 09 02:05:14 GMT 2024 - 22.1K bytes - Click Count (0) -
src/main/java/jcifs/smb/SIDCacheImpl.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Mon Aug 25 14:34:10 GMT 2025 - 13.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
return "TESTDOMAIN"; // test domain for test purposes } @Override public <T extends Credentials> T unwrap(Class<T> type) { if (type.isInstance(this)) { return type.cast(this); } throw new ClassCastException("Cannot unwrap to " + type.getName()); } } static class SelfRenewingCreds extends BaseCreds { @Override
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/AddressTest.java
address.toInetAddress(); address.unwrap(Address.class); }, "All Address interface methods should be callable"); } @Test @DisplayName("unwrap method should return correct type when supported") void testUnwrapMethodContract() throws Exception { // Given when(mockAddress.unwrap(Address.class)).thenReturn(mockAddress); // When & Then
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
.unwrap(SmbTransportInternal.class); SmbSessionInternal smbSession = smbTransport.getSmbSession(tf, dc.getHostName(), null).unwrap(SmbSessionInternal.class); SmbTreeInternal tree = smbSession.getSmbTree(tf.getConfig().getLogonShare(), null).unwrap(SmbTreeInternal.class)) { tree.connectLogon(tf); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 33.4K bytes - Click Count (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;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/netbios/UniAddressTest.java
} } @Nested @DisplayName("unwrap method tests") class UnwrapTests { private Address mockAddress; @BeforeEach void setup() { mockAddress = mock(Address.class); } @Test void shouldReturnUnwrappedAddressWhenWrappedIsAddress() { when(mockAddress.unwrap(Address.class)).thenReturn(mockAddress);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 16.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
} @Test @DisplayName("unwrap returns this for compatible types and throws otherwise") void unwrap_success_and_failure() { SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\z"); // Happy path: unwrap to interface and concrete type SmbPipeHandle unwrapped1 = handle.unwrap(SmbPipeHandle.class); SmbPipeHandleImpl unwrapped2 = handle.unwrap(SmbPipeHandleImpl.class);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 16.7K bytes - Click Count (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);
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) -
tensorflow/c/eager/c_api_remote_test_util.cc
TFE_OpSetDevice(matmul, cpu_device_name.c_str(), status); EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); auto remote_arg = tensorflow::TensorHandleFromInterface(tensorflow::unwrap(h1_task2)); // The input handles should never change since they have been mirrored. ASSERT_FALSE(remote_arg->HasLocalMirror(nullptr)); } TFE_TensorHandle* retvals[1]; int num_retvals = 1;
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Dec 11 22:56:03 GMT 2020 - 9.1K bytes - Click Count (0)