Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 66 for unwrapping (0.09 seconds)

  1. guava-tests/test/com/google/common/io/CharSequenceReaderTest.java

        assertThrows(IOException.class, () -> reader.mark(10));
    
        assertThrows(IOException.class, reader::reset);
      }
    
      /**
       * Creates a CharSequenceReader wrapping the given CharSequence and tests that the reader produces
       * the same sequence when read using each type of read method it provides.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  2. README.md

    - Configurable: Min/max versions can be set via configuration properties
    
    ### SMB3 Encryption Support
    - **SMB2 Transform Header**: Encrypted message wrapping
    - **AES-CCM/GCM Support**: Both AES-128-CCM (SMB 3.0/3.0.2) and AES-128-GCM (SMB 3.1.1) cipher suites
    - **Encryption Context**: Per-session encryption state management
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 09:24:52 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/collection/ArrayIterator.java

         *
         * @param <T> the type of elements
         * @param items the array of elements to iterate (must not be {@literal null})
         * @return an {@link Iterable} wrapping the array
         */
        public static <T> Iterable<T> iterable(final T... items) {
            assertArgumentNotNull("items", items);
    
            return () -> new ArrayIterator<>(items);
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

                fail("Should have caught as FessSystemException, but caught: " + e.getClass());
            }
        }
    
        @Test
        public void test_rethrowWithWrapping() {
            // Test rethrowing with wrapping
            String originalMessage = "Original theme error";
            String wrapperMessage = "Failed to process theme";
    
            try {
                try {
                    throw new ThemeException(originalMessage);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/dcerpc/UnicodeString.java

         *            whether the string should be zero terminated
         */
        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
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  6. src/main/java/jcifs/netbios/UniAddress.java

         *
         * throw uhe != null ? uhe : new UnknownHostException("invalid name");
         * }
         */
    
        Object addr;
        String calledName;
    
        /**
         * Create a <code>UniAddress</code> by wrapping an {@code InetAddress} or
         * <code>NbtAddress</code>.
         *
         * @param addr
         *            wrapped address
         */
        public UniAddress(final Object addr) {
            if (addr == null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            // Create a tree and simulate concurrent connection attempt
            SmbTree tree = new SmbTree(session, "testShare", "testService");
    
            // Mock transport.connect() to throw RuntimeException wrapping InterruptedException
            doThrow(new RuntimeException(new InterruptedException("Interrupted"))).when(transport).connect();
    
            // Should throw exception due to interrupted wait
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          throw new AssertionFailedError("interrupted status set in main thread");
        }
      }
    
      /**
       * Records the given exception using {@link #threadRecordFailure}, then rethrows the exception,
       * wrapping it in an AssertionFailedError if necessary.
       */
      final void threadUnexpectedException(Throwable t) {
        threadRecordFailure(t);
        t.printStackTrace();
        if (t instanceof RuntimeException) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SpnegoContext.java

        private ASN1ObjectIdentifier[] remoteMechs;
    
        private final boolean disableMic;
        private boolean requireMic;
    
        /**
         * Instance a <code>SpnegoContext</code> object by wrapping a {@link SSPContext}
         * with the same mechanism this {@link SSPContext} used.
         *
         * @param source
         *            the {@link SSPContext} to be wrapped
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/io/CharSequenceReader.java

    @J2ktIncompatible
    @GwtIncompatible
    final class CharSequenceReader extends Reader {
    
      private @Nullable CharSequence seq;
      private int pos;
      private int mark;
    
      /** Creates a new reader wrapping the given character sequence. */
      public CharSequenceReader(CharSequence seq) {
        this.seq = checkNotNull(seq);
      }
    
      private void checkOpen() throws IOException {
        if (seq == null) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.5K bytes
    - Click Count (0)
Back to Top