Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 293 for unwrap (0.11 sec)

  1. src/main/java/jcifs/smb/SID.java

                }
            }
        }
    
        /**
         *
         * {@inheritDoc}
         *
         * @see jcifs.SID#unwrap(java.lang.Class)
         */
        @SuppressWarnings("unchecked")
        @Override
        public <T> T unwrap(final Class<T> t) {
            if (t.isAssignableFrom(this.getClass())) {
                return (T) this;
            }
            throw new ClassCastException();
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTreeImpl.java

        public SmbTreeImpl acquire() {
            return acquire(true);
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbTree#unwrap(java.lang.Class)
         */
        @SuppressWarnings("unchecked")
        @Override
        public <T extends SmbTree> T unwrap(final Class<T> type) {
            if (type.isAssignableFrom(this.getClass())) {
                return (T) this;
            }
            throw new ClassCastException();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  3. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

            super(tc, DcerpcHandle.parseBinding(url));
            this.pipe = new SmbNamedPipe(makePipeUrl(), pipeFlags, unshared, tc);
            this.handle = this.pipe.openPipe().unwrap(SmbPipeHandleInternal.class);
        }
    
        private String makePipeUrl() {
            final DcerpcBinding binding = getBinding();
            StringBuilder url =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

            Mockito.when(mockContext.getConfig()).thenReturn(mockConfig);
            Mockito.when(mockContext.getCredentials()).thenReturn(mockCredentials);
            Mockito.when(mockCredentials.unwrap(Mockito.any())).thenReturn(mockCredentialsInternal);
            Mockito.when(mockCredentialsInternal.clone()).thenReturn(mockCredentialsInternal);
            Mockito.when(mockTransport.acquire()).thenReturn(mockTransport);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                    this.type = SmbConstants.TYPE_WORKGROUP;
                } else {
                    try {
                        final NetbiosAddress nbaddr = getAddress().unwrap(NetbiosAddress.class);
                        if (nbaddr != null) {
                            final int code = nbaddr.getNameType();
                            if (code == 0x1d || code == 0x1b) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            // Given
            InetAddress realInetAddress = InetAddress.getByName("127.0.0.1");
            when(mockNetbiosAddress.toInetAddress()).thenReturn(realInetAddress);
            when(mockNetbiosAddress.unwrap(NbtAddress.class)).thenReturn(null);
    
            // When/Then - This will throw UnknownHostException quickly
            assertThrows(UnknownHostException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

       * method wraps the elements in the input sets (which may contain null) as Optionals, calls
       * Sets.cartesianProduct with those, then transforms the result to unwrap the Optionals.
       */
      private Iterable<List<Object>> buildCartesianProduct(Set<?>... sets) {
        List<Set<Optional<?>>> optionalSets = Lists.newArrayListWithExpectedSize(sets.length);
        for (Set<?> set : sets) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  8. api/go1.23.txt

    pkg math/rand/v2, func Uint() uint #61716
    pkg math/rand/v2, method (*ChaCha8) Read([]uint8) (int, error) #67059
    pkg math/rand/v2, method (*Rand) Uint() uint #61716
    pkg net, method (*DNSError) Unwrap() error #63116
    pkg net, method (*TCPConn) SetKeepAliveConfig(KeepAliveConfig) error #62254
    pkg net, type DNSError struct, UnwrapErr error #63116
    pkg net, type Dialer struct, KeepAliveConfig KeepAliveConfig #62254
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Jun 25 17:08:08 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/DcerpcHandle.java

            fbuf.reset();
            fbuf.setIndex(8);
            fbuf.setLength(fbuf.dec_ndr_short());
    
            if (this.securityProvider != null) {
                this.securityProvider.unwrap(fbuf);
            }
        }
    
        /**
         * Encode a DCE/RPC message for transmission
         *
         * @param msg
         *            the message to encode
         * @param out
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  10. api/go1.18.txt

    pkg go/types, func NewTypeParam(*TypeName, Type) *TypeParam
    pkg go/types, func NewUnion([]*Term) *Union
    pkg go/types, method (*ArgumentError) Error() string
    pkg go/types, method (*ArgumentError) Unwrap() error
    pkg go/types, method (*Interface) IsComparable() bool
    pkg go/types, method (*Interface) IsImplicit() bool
    pkg go/types, method (*Interface) IsMethodSet() bool
    pkg go/types, method (*Interface) MarkImplicit()
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 13K bytes
    - Viewed (0)
Back to top