Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 206 for InputStream (0.04 sec)

  1. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

        boolean isResponse() {
            return (flags & FLAGS_RESPONSE) == FLAGS_RESPONSE;
        }
    
        /*
         * For this packet deconstruction technique to work for
         * other networking protocols the InputStream may need
         * to be passed to the readXxxWireFormat methods. This is
         * actually purer. However, in the case of smb we know the
         * wordCount and byteCount. And since every subclass of
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  2. docs/smb3-features/05-rdma-smb-direct-design.md

        }
        
        long writeTime = System.currentTimeMillis() - start;
        
        // Read back
        start = System.currentTimeMillis();
        byte[] readData = new byte[data.length];
        
        try (InputStream is = file.getInputStream()) {
            is.read(readData);
        }
        
        long readTime = System.currentTimeMillis() - start;
        
        assertArrayEquals(data, readData);
        
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  3. README.md

    // Resource loading and management
    URL resource = ResourceUtil.getResource("config.properties");
    Properties props = PropertiesUtil.load(resource);
    
    // File operations with proper resource handling
    try (InputStream input = ResourceUtil.getResourceAsStream("data.txt")) {
        String content = InputStreamUtil.getUTF8String(input);
    }
    
    // Resource traversal for processing multiple files
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. docs/smb3-features/02-persistent-handles-design.md

        }
        
        // Simulate network disconnection
        file.getTree().getSession().getTransport().disconnect();
        
        // Try to read - should trigger reconnection
        try (InputStream is = file.getInputStream()) {
            byte[] buffer = new byte[9];
            is.read(buffer);
            assertEquals("test data", new String(buffer));
        }
    }
    
    @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

              val certificateBytes = line.decodeBase64() ?: throw IOException("Corrupt certificate in cache entry")
              bytes.write(certificateBytes)
              result.add(certificateFactory.generateCertificate(bytes.inputStream()))
            }
            return result
          } catch (e: CertificateException) {
            throw IOException(e.message)
          }
        }
    
        @Throws(IOException::class)
        private fun writeCertList(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/ViewHelper.java

     */
    package org.codelibs.fess.helper;
    
    import static org.codelibs.core.stream.StreamUtil.split;
    
    import java.io.BufferedInputStream;
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.UnsupportedEncodingException;
    import java.net.URLDecoder;
    import java.net.URLEncoder;
    import java.util.ArrayList;
    import java.util.Date;
    import java.util.HashMap;
    import java.util.HashSet;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_2x.md

        faster while consuming less memory. You can write a `RequestBody` as an Okio
        `BufferedSink` and a `ResponseBody` as an Okio `BufferedSource`. Standard
        `InputStream` and `OutputStream` access is also available.
    
     *  **New Call and Callback types** execute requests and receive their
        responses. Both types of calls can be canceled via the `Call` or the
        `OkHttpClient`.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb;
    
    import java.io.EOFException;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InterruptedIOException;
    import java.io.OutputStream;
    import java.net.InetAddress;
    import java.net.InetSocketAddress;
    import java.net.Socket;
    import java.net.SocketException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.net.MalformedURLException;
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.UnknownHostException;
    import java.security.Principal;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            return (this.flags & SmbConstants.FLAGS_RESPONSE) == SmbConstants.FLAGS_RESPONSE;
        }
    
        /*
         * For this packet deconstruction technique to work for
         * other networking protocols the InputStream may need
         * to be passed to the readXxxWireFormat methods. This is
         * actually purer. However, in the case of smb we know the
         * wordCount and byteCount. And since every subclass of
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
Back to top