Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 296 for Unwrap (0.09 sec)

  1. internal/bucket/replication/error.go

    // the string as a value that satisfies error of type tagging.Error
    func Errorf(format string, a ...interface{}) 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/UniAddress.java

        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Address#unwrap(java.lang.Class)
         */
        @SuppressWarnings ( "unchecked" )
        @Override
        public <T extends Address> T unwrap ( Class<T> type ) {
            if ( this.addr instanceof Address ) {
                return ( (Address) this.addr ).unwrap(type);
            }
            else if ( this.getClass().isAssignableFrom(type) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.3K bytes
    - Viewed (0)
  3. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt

    import mockwebserver3.SocketPolicy.StallSocketAtStart
    
    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 {
          return delegate.dispatch(request.unwrap()).wrap()
        }
    
        override fun peek(): mockwebserver3.MockResponse {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/DcerpcSecurityProvider.java

     */
    
    package jcifs.smb1.dcerpc;
    
    import jcifs.smb1.dcerpc.ndr.NdrBuffer;
    
    public interface DcerpcSecurityProvider
    {
        void wrap(NdrBuffer outgoing) throws DcerpcException;
        void unwrap(NdrBuffer incoming) throws DcerpcException;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/DcerpcSecurityProvider.java

    public interface DcerpcSecurityProvider {
    
        /**
         * 
         * @param outgoing
         * @throws DcerpcException
         */
        void wrap ( NdrBuffer outgoing ) throws DcerpcException;
    
    
        /**
         * 
         * @param incoming
         * @throws DcerpcException
         */
        void unwrap ( NdrBuffer incoming ) throws DcerpcException;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbTree.java

     * 
     * @author mbechler
     *
     */
    public interface SmbTree extends AutoCloseable {
    
        /**
         * 
         * @param type
         * @return tree instance with the given type
         */
        <T extends SmbTree> T unwrap ( Class<T> type );
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        void close ();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/ConcurrencyTest.java

                        .unwrap(SmbTransportInternal.class);
                      SmbSession sess = trans.unwrap(SmbTransportInternal.class).getSmbSession(c, getTestServer(), null);
                      SmbTreeInternal tree = sess.unwrap(SmbSessionInternal.class).getSmbTree(getTestShare(), null).unwrap(SmbTreeInternal.class) ) {
    
                    if ( trans.isSMB2() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:40:50 UTC 2021
    - 17.6K bytes
    - Viewed (0)
  8. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt

      @Throws(InterruptedException::class)
      fun takeRequest(): RecordedRequest {
        return delegate.takeRequest().unwrap()
      }
    
      @Throws(InterruptedException::class)
      fun takeRequest(
        timeout: Long,
        unit: TimeUnit,
      ): RecordedRequest? {
        return delegate.takeRequest(timeout, unit)?.unwrap()
      }
    
      @JvmName("-deprecated_requestCount")
      @Deprecated(
        message = "moved to val",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. 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 ( SID[] sids ) {
            this.num_sids = sids.length;
            this.sids = new lsarpc.LsarSidPtr[sids.length];
            for ( int si = 0; si < sids.length; si++ ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbPipeHandle.java

         * @return whether the FD was previously open but became invalid
         */
        boolean isStale ();
    
    
        /**
         * @param type
         * @return unwrapped instance
         */
        <T extends SmbPipeHandle> T unwrap ( Class<T> type );
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.8K bytes
    - Viewed (0)
Back to top