Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 851 for IOException (0.1 sec)

  1. guava/src/com/google/common/io/BaseEncoding.java

          @Override
          public void write(int c) throws IOException {
            separatingAppendable.append((char) c);
          }
    
          @Override
          public void write(char[] chars, int off, int len) throws IOException {
            throw new UnsupportedOperationException();
          }
    
          @Override
          public void flush() throws IOException {
            delegate.flush();
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/HashingOutputStream.java

        super(checkNotNull(out));
        this.hasher = checkNotNull(hashFunction.newHasher());
      }
    
      @Override
      public void write(int b) throws IOException {
        hasher.putByte((byte) b);
        out.write(b);
      }
    
      @Override
      public void write(byte[] bytes, int off, int len) throws IOException {
        hasher.putBytes(bytes, off, len);
        out.write(bytes, off, len);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 11 22:00:03 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

     */
    
    package jcifs.smb1.smb1;
    
    import java.io.IOException;
    
    public class SecurityDescriptor {
    
        SID owner_user, owner_group;
        public int type;
        public ACE[] aces;
    
        public SecurityDescriptor() {
        }
        public SecurityDescriptor(byte[] buffer, int bufferIndex, int len) throws IOException {
            this.decode(buffer, bufferIndex, len);
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/jar/JarInputStreamUtil.java

         * @throws IORuntimeException
         *             {@link IOException}が発生した場合
         * @see JarInputStream#JarInputStream(InputStream)
         */
        public static JarInputStream create(final InputStream is) throws IORuntimeException {
            assertArgumentNotNull("is", is);
    
            try {
                return new JarInputStream(is);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java

          printEvent("responseBodyEnd");
        }
    
        @Override public void responseFailed(Call call, IOException ioe) {
          printEvent("responseFailed");
        }
    
        @Override public void callEnd(Call call) {
          printEvent("callEnd");
        }
    
        @Override public void callFailed(Call call, IOException ioe) {
          printEvent("callFailed");
        }
    
        @Override public void canceled(Call call) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 16 23:20:49 UTC 2020
    - 5.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

      }
    
      public void testWrite() throws IOException {
        sink.write(data);
    
        assertContainsExpectedBytes();
      }
    
      public void testWriteFrom_inputStream() throws IOException {
        sink.writeFrom(new ByteArrayInputStream(data));
    
        assertContainsExpectedBytes();
      }
    
      private void assertContainsExpectedBytes() throws IOException {
        assertArrayEquals(expected, factory.getSinkContents());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/ByteSinkTester.java

      }
    
      public void testWrite() throws IOException {
        sink.write(data);
    
        assertContainsExpectedBytes();
      }
    
      public void testWriteFrom_inputStream() throws IOException {
        sink.writeFrom(new ByteArrayInputStream(data));
    
        assertContainsExpectedBytes();
      }
    
      private void assertContainsExpectedBytes() throws IOException {
        assertArrayEquals(expected, factory.getSinkContents());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/IoTestCase.java

       * deleted in the tear-down for this test.
       */
      protected final File createTempDir() throws IOException {
        File tempFile = File.createTempFile("IoTestCase", "");
        if (!tempFile.delete() || !tempFile.mkdir()) {
          throw new IOException("failed to create temp dir");
        }
        filesToDelete.add(tempFile);
        return tempFile;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.versioning;
    
    import java.io.IOException;
    import java.io.InterruptedIOException;
    import java.nio.file.FileVisitResult;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.nio.file.SimpleFileVisitor;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt

    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.doesNotContain
    import assertk.assertions.isEqualTo
    import assertk.assertions.startsWith
    import assertk.fail
    import java.io.IOException
    import java.net.ServerSocket
    import java.net.Socket
    import java.util.concurrent.CountDownLatch
    import java.util.concurrent.TimeUnit.MILLISECONDS
    import javax.net.ServerSocketFactory
    import javax.net.SocketFactory
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top