Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 842 for IOException (0.24 sec)

  1. docs/smb3-features/04-directory-leasing-design.md

    ```java
    // In SmbFile.java
    private DirectoryLeaseManager directoryLeaseManager;
    private Smb2LeaseKey directoryLeaseKey;
    
    @Override
    public SmbFile[] listFiles() throws IOException {
        if (!isDirectory()) {
            throw new IOException("Not a directory");
        }
        
        // Check if we can use cached directory listing
        if (directoryLeaseManager != null && 
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

        private final ServerSocket serverSocket;
    
        private MyServerExampleWithFrq() throws IOException {
          this.serverSocket = new ServerSocket(0);
        }
    
        static MyServerExampleWithFrq create(AtomicBoolean finalizeReferentRan) throws IOException {
          MyServerExampleWithFrq myServer = new MyServerExampleWithFrq();
          ServerSocket serverSocket = myServer.serverSocket;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

        private final ServerSocket serverSocket;
    
        private MyServerExampleWithFrq() throws IOException {
          this.serverSocket = new ServerSocket(0);
        }
    
        static MyServerExampleWithFrq create(AtomicBoolean finalizeReferentRan) throws IOException {
          MyServerExampleWithFrq myServer = new MyServerExampleWithFrq();
          ServerSocket serverSocket = myServer.serverSocket;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  4. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Dfs.java

                if (dr != null) {
                    final DfsReferral start = dr;
                    IOException e = null;
    
                    do {
                        try {
                            addr = UniAddress.getByName(dr.server);
                            return SmbTransport.getSmbTransport(addr, 0);
                        } catch (final IOException ioe) {
                            e = ioe;
                        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/context/SingletonContextTest.java

    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.fail;
    
    import java.io.IOException;
    import java.lang.reflect.Field;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.util.Properties;
    
    import org.junit.jupiter.api.AfterEach;
    import org.junit.jupiter.api.BeforeEach;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/curl/io/ContentCache.java

         * Otherwise, a ByteArrayInputStream is returned to read the data from memory.
         *
         * @return an InputStream to read the cached content
         * @throws IOException if an I/O error occurs while creating the InputStream
         */
        public InputStream getInputStream() throws IOException {
            if (file != null) {
                return new FileInputStream(file);
            }
            return new ByteArrayInputStream(data);
        }
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

            @DisplayName("Constructor with invalid signature should throw IOException")
            void testConstructor_ByteArray_InvalidSignature() {
                // Given
                byte[] invalidSignature = new byte[100];
                Arrays.fill(invalidSignature, (byte) 0xFF); // Fill with non-NTLMSSP signature
    
                // When & Then
                IOException thrown = assertThrows(IOException.class, () -> new Type2Message(invalidSignature));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NameServiceClientImpl.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.netbios;
    
    import java.io.IOException;
    import java.io.InterruptedIOException;
    import java.net.DatagramPacket;
    import java.net.DatagramSocket;
    import java.net.InetAddress;
    import java.net.SocketTimeoutException;
    import java.net.UnknownHostException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/PoolConnectionUser.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.connection
    
    import java.io.IOException
    import java.net.InetAddress
    import java.net.Proxy
    import java.net.Socket
    import okhttp3.Connection
    import okhttp3.Handshake
    import okhttp3.HttpUrl
    import okhttp3.Protocol
    import okhttp3.Route
    
    /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top