Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1161 - 1170 of 3,913 for getC (0.06 sec)

  1. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

        task.cancel(true);
        assertTrue(task.isDone());
        assertTrue(task.isCancelled());
        assertTrue(task.wasInterrupted());
        assertThrows(CancellationException.class, () -> task.get());
        exitLatch.await();
        assertTrue(interruptedExceptionThrown.get());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // blocking wait
      public void testRunIdempotency() throws Exception {
        final int numThreads = 10;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

          TesterRequirements requirements = classTesterRequirementsCache.get(testerClass);
          if (requirements == null) {
            requirements = buildTesterRequirements(testerClass);
            classTesterRequirementsCache.put(testerClass, requirements);
          }
          return requirements;
        }
      }
    
      /**
       * Get the full set of requirements for a tester class.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 05 22:05:05 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

        public void clearCache() {
            sessionCache.clear();
        }
    
        @Override
        public void updateSessionId(final String oldSessionId, final String newSessionId) {
            SearchResponse response = getClient().get(c -> c.prepareSearch(index).setScroll(new TimeValue(scrollTimeout))
                    .setQuery(QueryBuilders.boolQuery().filter(QueryBuilders.termQuery(SESSION_ID, oldSessionId))).setSize(scrollSize)
                    .execute());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java

            Properties properties =
                    loadResumptionFile(Paths.get(rootProject.getBuild().getDirectory()));
            applyResumptionProperties(request, properties);
        }
    
        @Override
        public void removeResumptionData(MavenProject rootProject) {
            Path resumeProperties = Paths.get(rootProject.getBuild().getDirectory(), RESUME_PROPERTIES_FILENAME);
            try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java

                if (optSelectedProject.isPresent()) {
                    resolvedOptionalProjects.add(optSelectedProject.get());
                    resolvedOptionalProjects.addAll(getChildProjects(optSelectedProject.get(), request));
                } else {
                    unresolvedOptionalSelectors.add(selector);
                }
            }
    
            if (!unresolvedOptionalSelectors.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_request_files/test_tutorial002_an_py39.py

    
    @needs_py39
    def test_get_root(app: FastAPI):
        client = TestClient(app)
        response = client.get("/")
        assert response.status_code == 200, response.text
        assert b"<form" in response.content
    
    
    @needs_py39
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. docs_src/dependencies/tutorial001_py310.py

    app = FastAPI()
    
    
    async def common_parameters(q: str | None = None, skip: int = 0, limit: int = 100):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    @app.get("/items/")
    async def read_items(commons: dict = Depends(common_parameters)):
        return commons
    
    
    @app.get("/users/")
    async def read_users(commons: dict = Depends(common_parameters)):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 404 bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Request.kt

      internal var lazyCacheControl: CacheControl? = null
    
      val isHttps: Boolean
        get() = url.isHttps
    
      /**
       * Constructs a new request.
       *
       * Use [Builder] for more fluent construction, including helper methods for various HTTP methods.
       *
       * @param method defaults to "GET" if [body] is null, and "POST" otherwise.
       */
      constructor(
        url: HttpUrl,
        headers: Headers = headersOf(),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:17:44 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java

     *   <li>missing artifacts</li>
     *   <li>network/transfer errors</li>
     *   <li>file system errors: permissions</li>
     * </ul>
     *
     * TODO carlos: all these possible has*Exceptions and get*Exceptions methods make the clients too
     *       complex requiring a long list of checks, need to create a parent/interface/encapsulation
     *       for the types of exceptions
     */
    @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Result.java

            return new Result<>(hasErrors(problems), model, problems);
        }
    
        /**
         * New result consisting of given result and new problem. Convenience for newResult(result.get(),
         * concat(result.getProblems(),problems)).
         *
         * @param result
         * @param problem
         */
        public static <T> Result<T> addProblem(Result<T> result, ModelProblem problem) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top