Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 97 for unwrapped (0.25 sec)

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

         */
        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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            // Happy path: unwrap to interface and concrete type
            SmbPipeHandle unwrapped1 = handle.unwrap(SmbPipeHandle.class);
            SmbPipeHandleImpl unwrapped2 = handle.unwrap(SmbPipeHandleImpl.class);
            assertSame(handle, unwrapped1);
            assertSame(handle, unwrapped2);
    
            // Invalid type
            class OtherPipeHandle implements SmbPipeHandle {
                @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

            () -> new ClassSanityTester().doTestEquals(SetWrapper.class));
      }
    
      private abstract static class Wrapper {
        private final Object wrapped;
    
        Wrapper(Object wrapped) {
          this.wrapped = checkNotNull(wrapped);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          // In general getClass().isInstance() is bad for equals.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

            // Setup mock SearchLogHelper that throws wrapped checked exception
            SearchLogHelper mockSearchLogHelper = new SearchLogHelper() {
                @Override
                public void storeSearchLog() {
                    try {
                        throw new Exception("Checked exception");
                    } catch (Exception e) {
                        throw new RuntimeException("Wrapped: " + e.getMessage(), e);
                    }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/TimeLimiter.java

      /**
       * Invokes a specified Callable, timing out after the specified time limit. If the target method
       * call finishes before the limit is reached, the return value or a wrapped exception is
       * propagated. If, on the other hand, the time limit is reached, we attempt to abort the call to
       * the target, and throw a {@link TimeoutException} to the caller.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/UnicodeString.java

         */
        public UnicodeString(final boolean zterm) {
            this.zterm = zterm;
        }
    
        /**
         * Constructs a UnicodeString by wrapping an existing unicode_string.
         *
         * @param rus wrapped string
         * @param zterm whether the string should be zero terminated
         */
        public UnicodeString(final rpc.unicode_string rus, final boolean zterm) {
            this.length = rus.length;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Futures.java

       *
       * <ul>
       *   <li>Any {@link ExecutionException} has its <i>cause</i> wrapped in an {@code X} if the cause
       *       is a checked exception, an {@link UncheckedExecutionException} if the cause is a {@code
       *       RuntimeException}, or an {@link ExecutionError} if the cause is an {@code Error}.
       *   <li>Any {@link InterruptedException} is wrapped in an {@code X} (after restoring the
       *       interrupt).
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/UnicodeString.java

        public UnicodeString(final boolean zterm) {
            this.zterm = zterm;
        }
    
        /**
         * Constructs a UnicodeString by wrapping an existing unicode_string.
         *
         * @param rus
         *            wrapped string
         * @param zterm
         *            whether the string should be zero terminated
         */
        public UnicodeString(final rpc.unicode_string rus, final boolean zterm) {
            this.length = rus.length;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/eventbus/DeadEvent.java

      }
    
      /**
       * Returns the object that originated this event (not the object that originated the
       * wrapped event). This is generally an {@link EventBus}.
       *
       * @return the source of this event.
       */
      public Object getSource() {
        return source;
      }
    
      /**
       * Returns the wrapped, 'dead' event, which the system was unable to deliver to any registered
       * subscriber.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/UniAddressTest.java

        void getAddressReturnsOriginalObject() {
            InetAddress dummy = mock(InetAddress.class);
            UniAddress ua = new UniAddress(dummy);
            assertSame(dummy, ua.getAddress(), "getAddress should return the wrapped address");
        }
    
        @Test
        void getHostNameDelegatesToWrappedInetAddress() {
            InetAddress dummy = mock(InetAddress.class);
            when(dummy.getHostName()).thenReturn("host.example.com");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top