Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 1,808 for try (0.02 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

        protected <T> BulkResponse doInsertAll(final List<T> list, final OpType opType) {
            try {
                return getClient().get(c -> {
                    final BulkRequestBuilder bulkRequest = c.prepareBulk();
                    for (final T target : list) {
                        final String id = getId(getSessionId(target), getUrl(target));
                        try (final XContentBuilder source = getXContentBuilder(target)) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 34.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                    }
                } else if (this.url.getAuthority() == null || this.url.getAuthority().isEmpty()) {
                    this.type = SmbConstants.TYPE_WORKGROUP;
                } else {
                    try {
                        final NetbiosAddress nbaddr = getAddress().unwrap(NetbiosAddress.class);
                        if (nbaddr != null) {
                            final int code = nbaddr.getNameType();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

          object : EventListener() {
            override fun connectStart(
              call: Call,
              inetSocketAddress: InetSocketAddress,
              proxy: Proxy,
            ) {
              try {
                // Wait for request2 to guarantee we make 2 separate connections to the server.
                latch1.await()
              } catch (e: InterruptedException) {
                throw AssertionError(e)
              }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jun 19 11:44:16 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/Suggester.java

        }
    
        /**
         * Creates a new index if no index exists.
         * @return True if an index was created, false otherwise.
         */
        public boolean createIndexIfNothing() {
            try {
                boolean created = false;
                final IndicesExistsResponse response =
                        client.admin().indices().prepareExists(getSearchAlias(index)).execute().actionGet(suggestSettings.getIndicesTimeout());
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 20.7K bytes
    - Viewed (3)
  5. src/main/java/jcifs/util/HMACT64.java

            super("HMACT64");
            this.ipad = hmac.ipad;
            this.opad = hmac.opad;
            this.md5 = (MessageDigest) hmac.md5.clone();
        }
    
        @Override
        public Object clone() {
            try {
                return new HMACT64(this);
            } catch (final CloneNotSupportedException ex) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

      private static Method[] getMostConcreteMethods(Class<?> type) {
        Method[] methods = type.getMethods();
        for (int i = 0; i < methods.length; i++) {
          try {
            methods[i] = type.getMethod(methods[i].getName(), methods[i].getParameterTypes());
          } catch (Exception e) {
            throwIfUnchecked(e);
            throw new RuntimeException(e);
          }
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/boostdoc/AdminBoostdocAction.java

            verifyCrudMode(form.crudMode, CrudMode.CREATE);
            validate(form, messages -> {}, this::asEditHtml);
            verifyToken(this::asEditHtml);
            getBoostDocumentRule(form).ifPresent(entity -> {
                try {
                    boostDocumentRuleService.store(entity);
                    saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL));
                } catch (final Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/JobHelper.java

            }
    
            final String id = scheduledJob.getId();
            if (!Constants.T.equals(scheduledJob.getAvailable())) {
                logger.info("Inactive Job {}:{}", id, scheduledJob.getName());
                try {
                    unregister(scheduledJob);
                } catch (final Exception e) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Failed to delete Job {}", scheduledJob, e);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

      static <V extends @Nullable Object, X extends Exception> V getChecked(
          GetCheckedTypeValidator validator, Future<V> future, Class<X> exceptionClass) throws X {
        validator.validateClass(exceptionClass);
        try {
          return future.get();
        } catch (InterruptedException e) {
          currentThread().interrupt();
          throw newWithCause(exceptionClass, e);
        } catch (ExecutionException e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<Protocol>,
      ) {
        // No TLS extensions if the socket class is custom.
        if (matchesSocket(sslSocket)) {
          try {
            // Enable session tickets.
            setUseSessionTickets.invoke(sslSocket, true)
    
            // Assume platform support on 24+
            if (hostname != null && Build.VERSION.SDK_INT <= 23) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.6K bytes
    - Viewed (0)
Back to top