- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 317 for Unwrap (0.04 sec)
-
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt
import okio.Buffer import okio.ByteString internal fun Dispatcher.wrap(): mockwebserver3.Dispatcher { if (this is QueueDispatcher) return this.delegate val delegate = this return object : mockwebserver3.Dispatcher() { override fun dispatch(request: mockwebserver3.RecordedRequest): mockwebserver3.MockResponse = delegate.dispatch(request.unwrap()).wrap() override fun peek(): mockwebserver3.MockResponse = delegate.peek().wrap()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 03 13:16:34 UTC 2025 - 4.1K bytes - Viewed (1) -
src/main/java/jcifs/SID.java
* </table> * * @return type code */ int getType(); /** * Unwraps this SID 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> T unwrap(Class<T> type);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
internal/crypto/error.go
func Errorf(format string, a ...any) error { e := fmt.Errorf(format, a...) ee := Error{} ee.msg = e.Error() ee.cause = errors.Unwrap(e) return ee } // Unwrap the internal error. func (e Error) Unwrap() error { return e.cause } // Error 'error' compatible method. func (e Error) Error() string { if e.msg == "" { return "crypto: cause <nil>" } return e.msg }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4.4K bytes - Viewed (0) -
internal/bucket/replication/error.go
// the string as a value that satisfies error of type tagging.Error func Errorf(format string, a ...any) error { return Error{err: fmt.Errorf(format, a...)} } // Unwrap the internal error. func (e Error) Unwrap() error { return e.err } // Error 'error' compatible method. func (e Error) Error() string { if e.err == nil { return "replication: cause <nil>" } return e.err.Error()
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 1.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
assertSame(data, data.next()); } } @Nested @DisplayName("Unwrap Tests") class UnwrapTests { @Test @DisplayName("Should unwrap to DfsReferralData interface") void testUnwrapToDfsReferralData() { DfsReferralData unwrapped = referralData.unwrap(DfsReferralData.class); assertSame(referralData, unwrapped); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
} @Test @DisplayName("unwrap: returns self for compatible type and throws for incompatible") @SuppressWarnings({ "rawtypes", "unchecked" }) void testUnwrap() { SmbSessionImpl session = newSession(); // Happy path: ask for SmbSession and SmbSessionInternal assertSame(session, session.unwrap(SmbSessionInternal.class));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (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);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/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) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt
} @Throws(InterruptedException::class) fun takeRequest(): RecordedRequest = delegate.takeRequest().unwrap() @Throws(InterruptedException::class) fun takeRequest( timeout: Long, unit: TimeUnit, ): RecordedRequest? = delegate.takeRequest(timeout, unit)?.unwrap() @JvmName("-deprecated_requestCount") fun getRequestCount(): Int = delegate.requestCount
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 00:19:42 UTC 2025 - 4.6K bytes - Viewed (0) -
internal/deadlineconn/deadlineconn.go
infReads, infWrites atomic.Bool mu sync.Mutex } // Unwrap will unwrap the connection and remove the deadline if applied. // If not a *DeadlineConn, the unmodified net.Conn is returned. func Unwrap(c net.Conn) net.Conn { if dc, ok := c.(*DeadlineConn); ok { return dc.Conn } return c } // Sets read deadlineRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Dec 02 13:21:17 UTC 2024 - 5.1K bytes - Viewed (0)