Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 832 for IOException (0.19 sec)

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

      }
    
      private static class EmptyCharSourceFactory implements CharSourceFactory {
    
        @Override
        public CharSource createSource(String data) throws IOException {
          return CharSource.empty();
        }
    
        @Override
        public String getExpected(String data) {
          return "";
        }
    
        @Override
        public void tearDown() throws IOException {}
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Sep 09 17:57:59 GMT 2021
    - 17.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/RandomAccessFileTest.java

                }
            }
        }
    
    
        /**
         * @param bufSize
         * @param length
         * @param is
         * @throws IOException
         */
        static void verifyRandom ( int bufSize, long length, SmbRandomAccess is ) throws IOException {
            long start = System.currentTimeMillis();
            byte buffer[] = new byte[bufSize];
            long p = 0;
            Random r = ReadWriteTest.getRandom();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 11.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

      }
    
      public void testGetClassPathFromManifest_noClassPath() throws IOException {
        File jarFile = new File("base.jar");
        assertThat(ClassPath.getClassPathFromManifest(jarFile, manifest(""))).isEmpty();
      }
    
      public void testGetClassPathFromManifest_emptyClassPath() throws IOException {
        File jarFile = new File("base.jar");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

      }
    
      @Throws(IOException::class)
      private fun readPriority(
        handler: Handler,
        length: Int,
        flags: Int,
        streamId: Int,
      ) {
        if (length != 5) throw IOException("TYPE_PRIORITY length: $length != 5")
        if (streamId == 0) throw IOException("TYPE_PRIORITY streamId == 0")
        readPriority(handler, streamId)
      }
    
      @Throws(IOException::class)
      private fun readPriority(
        handler: Handler,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/FlushablesTest.java

      }
    
      public void testFlush_flushableWithEatenException() throws IOException {
        // make sure that no exception is thrown if 'swallowException' is true
        // when the mock does throw an exception on flush.
        setupFlushable(true);
        doFlush(mockFlushable, true, false);
      }
    
      public void testFlush_flushableWithThrownException() throws IOException {
        // make sure that the exception is thrown if 'swallowException' is false
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/ClassPathTest.java

      }
    
      public void testGetClassPathFromManifest_noClassPath() throws IOException {
        File jarFile = new File("base.jar");
        assertThat(ClassPath.getClassPathFromManifest(jarFile, manifest(""))).isEmpty();
      }
    
      public void testGetClassPathFromManifest_emptyClassPath() throws IOException {
        File jarFile = new File("base.jar");
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Jul 10 17:06:37 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbPipeHandleInternal.java

         * @return received bytes
         * @throws CIFSException
         * @throws IOException
         */
        int recv ( byte[] buf, int off, int length ) throws IOException;
    
    
        /**
         * @param buf
         * @param off
         * @param length
         * @param direct
         * @throws IOException
         */
        void send ( byte[] buf, int off, int length ) throws IOException;
    
    
        /**
         * @param buf
         * @param off
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

            }
          }
        }
    
        internal fun failRejected(e: RejectedExecutionException? = null) {
          val ioException = InterruptedIOException("executor rejected")
          ioException.initCause(e)
          noMoreExchanges(ioException)
          responseCallback.onFailure(this@RealCall, ioException)
        }
    
        override fun run() {
          threadName("OkHttp ${redactedUrl()}") {
            var signalledCallback = false
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  9. android/guava/src/com/google/common/io/Closer.java

       *
       * @return this method does not return; it always throws
       * @throws IOException when the given throwable is an IOException
       */
      public RuntimeException rethrow(Throwable e) throws IOException {
        checkNotNull(e);
        thrown = e;
        throwIfInstanceOf(e, IOException.class);
        throwIfUnchecked(e);
        throw new RuntimeException(e);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Mar 06 15:15:46 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmHttpURLConnection.java

        public Object getContent () throws IOException {
            handshake();
            return this.connection.getContent();
        }
    
    
        @Override
        public Object getContent ( Class[] classes ) throws IOException {
            handshake();
            return this.connection.getContent(classes);
        }
    
    
        @Override
        public Permission getPermission () throws IOException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 25.5K bytes
    - Viewed (0)
Back to top