Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,654 for Try (0.01 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/OkHttpClientTest.kt

        val builder = OkHttpClient.Builder()
        try {
          builder.callTimeout(Duration.ofNanos(1))
        } catch (ignored: IllegalArgumentException) {
        }
        try {
          builder.connectTimeout(Duration.ofNanos(1))
        } catch (ignored: IllegalArgumentException) {
        }
        try {
          builder.writeTimeout(Duration.ofNanos(1))
        } catch (ignored: IllegalArgumentException) {
        }
        try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

            // this.endpoint = group.createEndpoint();
            this.endpoint = new Object();
        }
    
        @Override
        public void connect() throws IOException {
            try {
                // In real implementation, this would establish the RDMA connection:
                // endpoint.connect(remoteAddress, 1000);  // 1 second timeout
    
                state = RdmaConnectionState.CONNECTED;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

    /** Tolerant delete, try to clear as many files as possible even after a failure. */
    internal fun FileSystem.deleteContents(directory: Path) {
      var exception: IOException? = null
      val files =
        try {
          list(directory)
        } catch (fnfe: FileNotFoundException) {
          return
        }
      for (file in files) {
        try {
          if (metadata(file).isDirectory) {
            deleteContents(file)
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/SecureCredentialStorage.java

                Exception destroyException = null;
    
                try {
                    // Mark as destroyed first to prevent further operations
                    destroyed = true;
    
                    // Try to destroy master key if it implements Destroyable
                    if (masterKey instanceof Destroyable) {
                        try {
                            ((Destroyable) masterKey).destroy();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

            Integer nid = null;
            int max = NbtAddress.NBNS.length;
    
            if (max == 0) {
                max = 1; /* No WINs, try only bcast addr */
            }
    
            synchronized (response) {
                while (max-- > 0) {
                    try {
                        synchronized (LOCK) {
                            request.nameTrnId = getNextNameTrnId();
                            nid = request.nameTrnId;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

         * Test AutoCloseable implementation
         */
        @Test
        @DisplayName("Test AutoCloseable implementation with try-with-resources")
        public void testAutoCloseableImpl() {
            String testPassword = "AutoCloseablePass123!";
            NtlmPasswordAuthenticator authRef;
    
            // Use try-with-resources
            try (NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("user", testPassword)) {
                authRef = auth;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/sql/PreparedStatementUtil.java

         *             If a {@link SQLException} occurs.
         */
        public static ResultSet executeQuery(final PreparedStatement ps) throws SQLRuntimeException {
            assertArgumentNotNull("ps", ps);
    
            try {
                return ps.executeQuery();
            } catch (final SQLException ex) {
                throw new SQLRuntimeException(ex);
            }
        }
    
        /**
         * Executes the update.
         *
         * @param ps
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/ByteStreams.java

          try {
            return input.readLong();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    
        @Override
        public float readFloat() {
          try {
            return input.readFloat();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    
        @Override
        public double readDouble() {
          try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java

            // We skip it when container is not initialized
            try {
                HtmlTagBasedGenerator generator = new HtmlTagBasedGenerator();
                ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
                File outputFile = File.createTempFile("generator_", ".png");
    
                String imagePath = "thumbnail/600x400.png";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. .github/bot_config.yml

       
         * If you have above configuration and using _**Windows**_ platform -
           * Try adding the CUDA, CUPTI, and cuDNN installation directories to the %PATH% environment variable.
           * Refer [windows setup guide](https://www.tensorflow.org/install/gpu#windows_setup).
         * If you have above configuration and using _**Ubuntu/Linux**_ platform -
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Jun 30 16:38:59 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top