Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,657 for Try (1.34 sec)

  1. src/main/java/jcifs/smb/MultiChannelManager.java

            return 30000; // 30 seconds
        }
    
        private List<NetworkInterface> getAvailableNetworkInterfaces() {
            try {
                List<NetworkInterface> interfaces = Collections.list(NetworkInterface.getNetworkInterfaces());
                interfaces.removeIf(ni -> {
                    try {
                        return ni.isLoopback() || !ni.isUp() || ni.isVirtual();
                    } catch (Exception e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

            final OpenSearchDataService dataService = ComponentUtil.getComponent(OpenSearchDataService.class);
    
            try {
                // clear url filter
                urlFilterService.delete(sid);
            } catch (final Exception e) {
                logger.warn("Failed to delete UrlFilter for {}", sid, e);
            }
    
            try {
                // clear queue
                urlQueueService.clearCache();
                urlQueueService.delete(sid);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

            }
    
            try {
                if (LogStream.level >= 3) {
                    log.println("doConnect: " + addr);
                }
    
                tree.treeConnect(null, null);
            } catch (final SmbAuthException sae) {
                NtlmPasswordAuthentication a;
                SmbSession ssn;
    
                if (share == null) { // IPC$ - try "anonymous" credentials
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  4. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

      override fun afterHandshake(sslSocket: SSLSocket) {
        try {
          removeMethod.invoke(null, sslSocket)
        } catch (e: IllegalAccessException) {
          throw AssertionError("failed to remove ALPN", e)
        } catch (e: InvocationTargetException) {
          throw AssertionError("failed to remove ALPN", e)
        }
      }
    
      override fun getSelectedProtocol(sslSocket: SSLSocket): String? {
        try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. docs/recipes.md

          public void run() throws Exception {
            Request request = new Request.Builder()
                .url("https://publicobject.com/helloworld.txt")
                .build();
    
            try (Response response = client.newCall(request).execute()) {
              if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
              Headers responseHeaders = response.headers();
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/Monitor.java

     *
     * <p>A call to any of the <i>enter</i> methods with <b>void</b> return type should always be
     * followed immediately by a <i>try/finally</i> block to ensure that the current thread leaves the
     * monitor cleanly:
     *
     * {@snippet :
     * monitor.enter();
     * try {
     *   // do things while occupying the monitor
     * } finally {
     *   monitor.leave();
     * }
     * }
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

            // Helper methods to manipulate parent's private fields via reflection or protected methods
            public void setStatusForTest(int status) {
                // Workaround: Use reflection to set private status field
                try {
                    java.lang.reflect.Field statusField = ServerMessageBlock2.class.getDeclaredField("status");
                    statusField.setAccessible(true);
                    statusField.set(this, status);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveEntryTester.java

        try {
          assertFalse(getMap().remove(null, v3()));
        } catch (NullPointerException tolerated) {
          // since the operation would be a no-op, the exception is not required
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_VALUE_QUERIES)
      public void testRemove_nullValueQueriesUnsupported() {
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/witness/MockWitnessService.java

            running.set(false);
    
            if (serverSocket != null && !serverSocket.isClosed()) {
                try {
                    serverSocket.close();
                } catch (IOException e) {
                    log.debug("Error closing server socket", e);
                }
            }
    
            if (serverThread != null) {
                try {
                    serverThread.join(5000); // Wait up to 5 seconds
                } catch (InterruptedException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java

        }
    
        @Override
        public boolean ensureConnected() throws IOException {
            boolean result = delegate.ensureConnected();
    
            // Try to establish RDMA connection if configured
            if (result && delegate.getContext().getConfig().isRdmaEnabled()) {
                try {
                    connectRdma();
                } catch (IOException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top