Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 976 for closer (0.04 sec)

  1. src/test/java/jcifs/smb1/smb1/DfsTest.java

            if (logStreamMockedStatic != null)
                logStreamMockedStatic.close();
            if (uniAddressMockedStatic != null)
                uniAddressMockedStatic.close();
            if (smbTransportMockedStatic != null)
                smbTransportMockedStatic.close();
            if (configMockedStatic != null)
                configMockedStatic.close();
        }
    
        @Test
        void testCacheEntry() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/TraversalUtil.java

                        handler.processResource(path, is);
                    }
                });
            }
    
            @Override
            public void close() {
                JarFileUtil.close(jarFile);
            }
    
        }
    
        /**
         * Object that handles a collection of resources represented by the vfszip protocol of JBossAS5.
         *
         * @author koichik
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

              }
            }
            assertEquals(TlsVersion.TLS_1_3, response.handshake?.tlsVersion)
          }
        } finally {
          Security.removeProvider("Conscrypt")
          client.close()
        }
      }
    
      @Test
      fun testConscryptRequestLocalhostInsecure() {
        try {
          Security.insertProviderAt(Conscrypt.newProviderBuilder().build(), 1)
    
          val clientCertificates =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 14:12:28 UTC 2025
    - 29K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SID.java

                        if (policyHandle != null) {
                            if (domainHandle != null) {
                                domainHandle.close();
                            }
                            policyHandle.close();
                        }
                        handle.close();
                    }
                }
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  5. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/UnixDomainSocketFactory.java

        Socket result = createSocket();
    
        try {
          result.connect(new InetSocketAddress(host, port));
        } catch (IOException e) {
          result.close();
          throw e;
        }
        return result;
      }
    
      @Override public Socket createSocket(
          String host, int port, InetAddress localHost, int localPort) throws IOException {
        return createSocket(host, port);
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Dec 03 21:33:52 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTransportImplTest.java

            when(creds.clone()).thenReturn(creds);
    
            assertEquals(0, transport.getNumSessions());
    
            // Act: create new session (happy path)
            SmbSessionImpl s1 = transport.getSmbSession(ctx);
            assertNotNull(s1);
            assertEquals(1, transport.getNumSessions());
            s1.close();
    
            // Act: request again with same context -> reuse existing
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java

            ESTABLISHED,
            /** Connection encountered an error */
            ERROR,
            /** Connection is being closed */
            CLOSING,
            /** Connection is closed */
            CLOSED
        }
    
        /** Remote endpoint address */
        protected final InetSocketAddress remoteAddress;
        /** Local endpoint address */
        protected final InetSocketAddress localAddress;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java

              for (int i = 2; i <= 997; i++) {
                System.out.println(i);
                Thread.sleep(10);
                sink.writeUtf8(String.format(" * %s = %s\n", i, factor(i)));
              }
              sink.close();
            } catch (IOException | InterruptedException e) {
              e.printStackTrace();
            }
          }
    
          private String factor(int n) {
            for (int i = 2; i < n; i++) {
              int x = n / i;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jul 06 03:18:15 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTransportInternalTest.java

        @DisplayName("disconnect throws IOException when underlying close fails")
        void disconnect_throwsIOException() throws Exception {
            doThrow(new java.io.IOException("close error")).when(transport).disconnect(true, true);
            java.io.IOException ex = assertThrows(java.io.IOException.class, () -> transport.disconnect(true, true));
            assertTrue(ex.getMessage().contains("close"));
            verify(transport).disconnect(true, true);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/MultiReaderTest.java

                  throw new IllegalStateException("More than one source open");
                }
                return new FilterReader(source.openStream()) {
                  @Override
                  public void close() throws IOException {
                    super.close();
                    counter[0]--;
                  }
                };
              }
            };
        Reader joinedReader = CharSource.concat(reader, reader, reader).openStream();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.7K bytes
    - Viewed (0)
Back to top