Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 177 for nowrap (0.1 sec)

  1. 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 once
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java

      public void testWrap() {
        assertThat(Primitives.wrap(int.class)).isSameInstanceAs(Integer.class);
        assertThat(Primitives.wrap(Integer.class)).isSameInstanceAs(Integer.class);
        assertThat(Primitives.wrap(String.class)).isSameInstanceAs(String.class);
      }
    
      public void testUnwrap() {
        assertThat(Primitives.unwrap(Integer.class)).isSameInstanceAs(int.class);
        assertThat(Primitives.unwrap(int.class)).isSameInstanceAs(int.class);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            when(mockTransport.unwrap(SmbTransportInternal.class)).thenReturn(internal);
            when(internal.getSmbSession(eq(ctx), eq("server.test"), isNull())).thenReturn(session);
            when(session.unwrap(SmbSessionInternal.class)).thenReturn(session);
            when(session.getSmbTree(eq("IPC$"), isNull())).thenReturn(tree);
            when(tree.unwrap(SmbTreeInternal.class)).thenReturn(tree);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbSessionTest.java

                    assertTrue(SmbSession.class.isAssignableFrom((Class<?>) unwrapMethod.getReturnType()),
                            "unwrap method should return SmbSession or subtype");
                }, "unwrap(Class) method should be properly defined");
            }
    
            @Test
            @DisplayName("Should handle unwrap with SmbSession type")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Tables.java

        }
    
        @Override
        Collection<V2> createValues() {
          return Collections2.transform(fromTable.values(), function);
        }
    
        @Override
        public Map<R, Map<C, V2>> rowMap() {
          return Maps.transformValues(fromTable.rowMap(), row -> Maps.transformValues(row, function));
        }
    
        @Override
        public Map<C, Map<R, V2>> columnMap() {
          return Maps.transformValues(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  7. 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbPipeHandleTest.java

                assertSame(mockSmbPipeHandleInternal, unwrapped, "Unwrap should return the underlying handle implementation.");
            }
    
            /**
             * Verifies that unwrap returns null if the requested type is not available.
             */
            @Test
            public void testUnwrap_ReturnsNullForUnsupportedType() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/CredentialsTest.java

            assertDoesNotThrow(() -> {
                mockCredentials.unwrap(Credentials.class);
                mockCredentials.getUserDomain();
                mockCredentials.isAnonymous();
                mockCredentials.isGuest();
            });
        }
    
        @Test
        @DisplayName("Should unwrap to correct type")
        void testUnwrap() {
            // Given
            when(mockCredentials.unwrap(Credentials.class)).thenReturn(mockCredentials);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbSession.java

         * Unwraps this session to the specified type, allowing access to implementation-specific functionality.
         *
         * @param <T> the type to unwrap to
         * @param type the class of the type to unwrap to
         * @return session instance with the given type
         */
        <T extends SmbSession> T unwrap(Class<T> type);
    
        /**
         * Returns the CIFS context that this session is attached to.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top