Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1341 - 1350 of 2,231 for match (0.06 sec)

  1. tests/test_tutorial/test_response_model/test_tutorial003_02.py

    def test_get_redirect():
        response = client.get("/portal", params={"teleport": True}, follow_redirects=False)
        assert response.status_code == 307, response.text
        assert response.headers["location"] == "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/ListenerCallQueue.java

              isThreadScheduled = true;
              scheduleEventRunner = true;
            }
          }
          if (scheduleEventRunner) {
            try {
              executor.execute(this);
            } catch (Exception e) { // sneaky checked exception
              // reset state in case of an error so that later dispatch calls will actually do something
              synchronized (this) {
                isThreadScheduled = false;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 13 19:45:20 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  3. ci/devinfra/docker/windows/Dockerfile

    # This Dockerfile creates an image that has:
    # - the correct MTU setting for networking from inside the container to work.
    # - Visual Studio 2022 Build Tools
    # - MSVC 14.39
    # - LLVM/Clang 18.1.4
    # - MSYS2 + curl, git, patch, vim, unzip, zip
    # - Python 3.12.3
    # - Bazelisk 1.19.0
    # - JDK 21 (Azul Zulu)
    
    FROM mcr.microsoft.com/windows/servercore:ltsc2019
    
    SHELL ["powershell.exe", "-ExecutionPolicy", "Bypass", "-Command", \
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Aug 20 13:57:04 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/InterruptibleTask.java

      @Override
      public void run() {
        T result = null;
        Throwable error = null;
        if (isDone()) {
          return;
        }
        try {
          result = runInterruptibly();
        } catch (Throwable t) {
          error = t;
        }
        if (error == null) {
          // The cast is safe because of the `run` and `error` checks.
          afterRanInterruptiblySuccess(uncheckedCastNullableTToT(result));
        } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 08 20:30:27 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/FilenameExtractor.java

            }
            final String content = params.getOrDefault(ExtractData.RESOURCE_NAME_KEY, StringUtil.EMPTY);
            try {
                return new ExtractData(content);
            } catch (final Exception e) {
                throw new ExtractException(e);
            }
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/score/ScoreUpdater.java

            scoreBoosterList.forEach(b -> {
                try {
                    final long count = b.process();
                    resultBuf.append(b.getClass().getSimpleName()).append(" : ").append(count).append('\n');
                } catch (final Exception e) {
                    logger.warn("Failed to update scores.", e);
                    resultBuf.append(e.getMessage()).append('\n');
                }
            });
            return resultBuf.toString();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

                    versionResult = versionResolver.resolveVersion(session, versionRequest);
    
                    pomArtifact = pomArtifact.setVersion(versionResult.getVersion());
                } catch (VersionResolutionException e) {
                    result.addException(e);
                    throw new ArtifactDescriptorException(result);
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/searchlog/SearchForm.java

                if (value <= 0 || value > ComponentUtil.getFessConfig().getPageSearchlogMaxFetchSizeAsInteger()) {
                    return SearchLogPager.DEFAULT_PAGE_SIZE;
                }
                return value;
            } catch (final NumberFormatException e) {
                // ignore
                return SearchLogPager.DEFAULT_PAGE_SIZE;
            }
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/SequentialExchangeFinder.kt

              if (nextPlan != null) {
                routePlanner.deferredPlans.addFirst(nextPlan)
                continue
              }
            }
            return plan.handleSuccess()
          } catch (e: IOException) {
            if (firstException == null) {
              firstException = e
            } else {
              firstException.addSuppressed(e)
            }
            if (!routePlanner.hasNext()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. test-site/app/Global.java

                ComponentsUtil.contentTypeName = "test";
                ComponentsUtil.suggester = Suggester.builder().build(ComponentsUtil.runner.client(), "test");
                ComponentsUtil.suggester.createIndexIfNothing();
            } catch (Exception e) {
                Logger.error("Failed to create components.", e);
            }
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Feb 23 14:02:03 UTC 2019
    - 2.2K bytes
    - Viewed (0)
Back to top