Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,808 for Try (0.01 sec)

  1. src/main/java/jcifs/netbios/Lmhosts.java

                        final String url = "smb:" + line.replace('\\', '/');
    
                        try (InputStreamReader rdr = new InputStreamReader(new SmbFileInputStream(url, tc))) {
                            if (this.alt > 0) {
                                try {
                                    populate(rdr, tc);
                                } catch (final IOException ioe) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbTree.java

                        return;
                    }
                    try {
                        session.transport.wait();
                    } catch (final InterruptedException ie) {
                        throw new SmbException(ie.getMessage(), ie);
                    }
                }
                connectionState = 1; // trying ...
    
                try {
                    /* The hostname to use in the path is only known for
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/SourceSinkFactories.java

        @Override
        public ByteSource createSource(byte[] bytes) throws IOException {
          checkNotNull(bytes);
          File file = createFile();
          OutputStream out = new FileOutputStream(file);
          try {
            out.write(bytes);
          } finally {
            out.close();
          }
          return Files.asByteSource(file);
        }
    
        @Override
        public byte[] getExpected(byte[] bytes) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 17.9K 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. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Jdk9Platform.kt

        sslParameters.applicationProtocols = names.toTypedArray()
    
        sslSocket.sslParameters = sslParameters
      }
    
      @SuppressSignatureCheck
      override fun getSelectedProtocol(sslSocket: SSLSocket): String? =
        try {
          // SSLSocket.getApplicationProtocol returns "" if application protocols values will not
          // be used. Observed if you didn't specify SSLParameters.setApplicationProtocols
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu May 29 16:52:38 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            try {
                String result = viewHelper.appendPDFSearchWord(document, url);
                assertNotNull(result);
            } catch (Exception e) {
                assertTrue(true);
            }
        }
    
        public void test_getPagePath() {
            ViewHelper viewHelper = new ViewHelper();
            viewHelper.init();
    
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top