- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 149 for unwrap (0.06 seconds)
-
tensorflow/c/eager/c_api_unified_experimental.cc
void TF_DeleteOutputList(TF_OutputList* o) { delete unwrap(o); } void TF_OutputListSetNumOutputs(TF_OutputList* o, int num_outputs, TF_Status* s) { unwrap(o)->expected_num_outputs = num_outputs; unwrap(o)->outputs.clear(); unwrap(o)->outputs.resize(num_outputs); } int TF_OutputListNumOutputs(TF_OutputList* o) { return unwrap(o)->outputs.size(); }
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 9K bytes - Click Count (0) -
src/test/java/jcifs/SmbTreeTest.java
when(smbTree.unwrap(CustomSmbTree.class)).thenReturn(null); CustomSmbTree result = smbTree.unwrap(CustomSmbTree.class); assertEquals(null, result, "Should return null when type cannot be unwrapped"); verify(smbTree).unwrap(CustomSmbTree.class); } /** * Test for unwrap() method throwing exception. * Verifies that unwrap can throw exceptions when appropriate. */ @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.2K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcSecurityProviderTest.java
// Configure the mock to throw DcerpcException when unwrap is called doThrow(new DcerpcException("Test unwrap exception")).when(dcerpcSecurityProvider).unwrap(mockNdrBuffer); // Assert that calling unwrap throws DcerpcException assertThrows(DcerpcException.class, () -> dcerpcSecurityProvider.unwrap(mockNdrBuffer)); // Verify that the unwrap method was called exactly onceCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.5K 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) -
tensorflow/c/eager/c_api_unified_experimental_eager.cc
TF_Status* s) { return wrap(static_cast<AbstractTensorHandle*>(unwrap(t))); } TFE_TensorHandle* TF_AbstractTensorGetEagerTensor(TF_AbstractTensor* at, TF_Status* s) { auto handle = dyn_cast<ImmediateExecutionTensorHandle>(unwrap(at)); if (!handle) { string msg = absl::StrCat("Not an eager tensor handle.",Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 3.2K bytes - Click Count (0) -
tensorflow/c/conversion_macros.h
inline cpp_impl *unwrap(wrapper *w) { \ return reinterpret_cast<cpp_impl *>(w); \ } \ \ inline const cpp_impl *unwrap(const wrapper *w) { \Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon May 04 16:24:03 GMT 2020 - 1.7K bytes - Click Count (0) -
src/main/java/jcifs/SmbTree.java
* @author mbechler * */ public interface SmbTree extends AutoCloseable { /** * Unwraps the tree instance to the specified type * @param <T> the target tree type * @param type the class of the tree type to unwrap to * @return tree instance with the given type */ <T extends SmbTree> T unwrap(Class<T> type); /** * {@inheritDoc} * * @see java.lang.AutoCloseable#close()Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.3K bytes - Click Count (0) -
src/main/java/jcifs/Credentials.java
* @author mbechler * */ public interface Credentials { /** * Unwrap credentials to a specific type. * * @param <T> the credential type to unwrap to * @param type the class of the credential type to unwrap to * @return instance for type, null if the type cannot be unwrapped */ <T extends Credentials> T unwrap(Class<T> type); /** * Get the domain of the user account.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/main/java/jcifs/Address.java
* * @author mbechler * */ public interface Address { /** * 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. *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/main/java/jcifs/SmbTransport.java
*/ CIFSContext getContext(); /** * Unwraps the transport to the specified type. * * @param <T> the type to unwrap to * @param type the class of the transport type to unwrap * @return transport instance with the given type */ <T extends SmbTransport> T unwrap(Class<T> type); /** * * {@inheritDoc} *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 1.8K bytes - Click Count (0)