Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 3,054 for throws (0.04 sec)

  1. android/guava/src/com/google/common/util/concurrent/WrappingExecutorService.java

          Collection<? extends Callable<T>> tasks) throws InterruptedException {
        return delegate.invokeAll(wrapTasks(tasks));
      }
    
      @Override
      public final <T extends @Nullable Object> List<Future<T>> invokeAll(
          Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
          throws InterruptedException {
        return delegate.invokeAll(wrapTasks(tasks), timeout, unit);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFile.java

         *
         * @throws IOException thrown by {@code SmbFileInputStream} constructor
         */
        @Override
        public InputStream getInputStream() throws IOException {
            return new SmbFileInputStream(this);
        }
    
        /**
         * This URLConnection method just returns a new {@code SmbFileOutputStream} created with this file.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  3. docs/smb3-features/05-rdma-smb-direct-design.md

         * Establish RDMA connection
         */
        public abstract void connect() throws IOException;
        
        /**
         * Send data using RDMA
         */
        public abstract void send(ByteBuffer data, RdmaMemoryRegion region) throws IOException;
        
        /**
         * Receive data using RDMA  
         */
        public abstract ByteBuffer receive(int timeout) throws IOException;
        
        /**
         * Perform RDMA read operation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/Service.java

       *
       * @param timeout the maximum time to wait
       * @throws TimeoutException if the service has not reached the given state within the deadline
       * @throws IllegalStateException if the service {@linkplain State#FAILED fails}.
       * @since 28.0
       */
      default void awaitTerminated(Duration timeout) throws TimeoutException {
        awaitTerminated(toNanosSaturated(timeout), TimeUnit.NANOSECONDS);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/TestThread.java

       *
       * @throws TimeoutException if this thread does not offer a response within a reasonable amount of
       *     time
       * @throws AssertionFailedError if the given method name does not match the name of the method
       *     this thread has called most recently
       */
      private Response getResponse(String methodName) throws Exception {
        Response response = responseQueue.poll(TIMEOUT_MILLIS, MILLISECONDS);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java

            // Now, mock the behavior for MsrpcLsarClose to throw IOException
            doThrow(new IOException("Close network error")).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarClose.class));
    
            // Act & Assert
            IOException thrown = assertThrows(IOException.class, () -> {
                handle.close();
            });
    
            assertEquals("Close network error", thrown.getMessage());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java

         */
        @Override
        public int read() throws IOException {
            return fileInputStream.read();
        }
    
        @Override
        public int available() throws IOException {
            return fileInputStream.available();
        }
    
        /**
         * Closes this input stream and releases any system resources associated with the stream.
         * @throws IOException if an I/O error occurs.
         */
        @Override
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbTreeHandleTest.java

         * @throws CIFSException
         */
        @Test
        void testClose() throws CIFSException {
            smbTreeHandle.close();
            // Verify that close() was called on the mock
            verify(smbTreeHandle).close();
        }
    
        /**
         * Test for close() method throwing CIFSException.
         * Verifies that the method correctly throws a CIFSException when configured to do so.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

            @Override
            public void init() throws IOException {
                if (throwExceptionOnInit) {
                    throw new IOException("Init failed");
                }
            }
    
            @Override
            public List<String> convert(String text, String field, String... langs) throws IOException {
                if (throwExceptionOnConvert) {
                    throw new IOException("Convert failed");
                }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/Files.java

       *
       * @param file the file to read from
       * @return a byte array containing all the bytes from file
       * @throws IllegalArgumentException if the file is bigger than the largest possible byte array
       *     (2^31 - 1)
       * @throws IOException if an I/O error occurs
       */
      public static byte[] toByteArray(File file) throws IOException {
        return asByteSource(file).read();
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
Back to top