Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1261 - 1270 of 2,175 for catch (0.08 sec)

  1. docs/features/https.md

              SSLContext sslContext = SSLContext.getInstance("TLS");
              sslContext.init(null, new TrustManager[] { trustManager }, null);
              sslSocketFactory = sslContext.getSocketFactory();
            } catch (GeneralSecurityException e) {
              throw new RuntimeException(e);
            }
    
            client = new OkHttpClient.Builder()
                .sslSocketFactory(sslSocketFactory, trustManager)
                .build();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 24 00:16:30 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileOutputStream.java

                        treq.setFileInformation(new FileEndOfFileInformation(0));
                        th.send(treq, RequestParam.NO_RETRY);
                    }
                }
            }
            catch ( CIFSException e ) {
                throw SmbException.wrap(e);
            }
        }
    
    
        SmbFileOutputStream ( SmbFile file, SmbTreeHandleImpl th, SmbFileHandleImpl handle, int openFlags, int access, int sharing )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:14:04 UTC 2021
    - 11.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

       *
       * @since NEXT (but since 22.0 in the JRE flavor)
       */
      @SuppressWarnings("Java7ApiChecker")
      // If users use this when they shouldn't, we hope that NewApi will catch subsequent stream calls
      @IgnoreJRERequirement
      public IntStream stream() {
        return Arrays.stream(array, start, end);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TreeRangeMap.java

          }
    
          @Override
          @CheckForNull
          public V get(@CheckForNull Object key) {
            try {
              if (key instanceof Range) {
                @SuppressWarnings("unchecked") // we catch ClassCastExceptions
                Range<K> r = (Range<K>) key;
                if (!subRange.encloses(r) || r.isEmpty()) {
                  return null;
                }
                RangeMapEntry<K, V> candidate = null;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

       *
       * @since NEXT (but since 22.0 in the JRE flavor)
       */
      @SuppressWarnings("Java7ApiChecker")
      // If users use this when they shouldn't, we hope that NewApi will catch subsequent stream calls
      @IgnoreJRERequirement
      public DoubleStream stream() {
        return Arrays.stream(array, start, end);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 23K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/CacheBuilder.java

      private static long toNanosSaturated(Duration duration) {
        // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for
        // durations longer than approximately +/- 292 years).
        try {
          return duration.toNanos();
        } catch (ArithmeticException tooBig) {
          return duration.isNegative() ? Long.MIN_VALUE : Long.MAX_VALUE;
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/BaseEncoding.java

        checkPositionIndexes(off, off + len, bytes.length);
        StringBuilder result = new StringBuilder(maxEncodedSize(len));
        try {
          encodeTo(result, bytes, off, len);
        } catch (IOException impossible) {
          throw new AssertionError(impossible);
        }
        return result.toString();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/net/HostAndPort.java

              !portString.startsWith("+") && CharMatcher.ascii().matchesAllOf(portString),
              "Unparseable port number: %s",
              hostPortString);
          try {
            port = Integer.parseInt(portString);
          } catch (NumberFormatException e) {
            throw new IllegalArgumentException("Unparseable port number: " + hostPortString);
          }
          checkArgument(isValidPort(port), "Port number out of range: %s", hostPortString);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jul 22 22:02:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

          if (connection !in connections) {
            connection.withLock { put(connection) }
          }
    
          return 0L // run again immediately to create more connections if needed
        } catch (e: IOException) {
          // No need to log, user.connectFailed() will already have been called. Just try again later.
          return state.policy.backoffDelayMillis.jitterBy(state.policy.backoffJitterMillis) * 1_000_000
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/NbtAddress.java

                         * have a real NetBIOS name
                         */
                        this.calledName = null;
                        return getHostName();
                    }
                }
                catch ( UnknownHostException uhe ) {
                    this.calledName = null;
                }
            }
            else {
                this.calledName = null;
            }
    
            return this.calledName;
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 15.2K bytes
    - Viewed (0)
Back to top