Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 431 - 440 of 4,419 for getC (0.03 seconds)

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

          // asserts that all get calling threads received the same value
          Object result = Iterables.getOnlyElement(finalResults);
          if (result == CancellationException.class) {
            assertTrue(future.isCancelled());
            assertTrue(cancellationSuccess.get());
            assertFalse(setFutureSuccess.get());
          } else {
            assertTrue(setFutureSuccess.get());
            assertFalse(cancellationSuccess.get());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 45.2K bytes
    - Click Count (0)
  2. tests/test_security_http_digest.py

    app = FastAPI()
    
    security = HTTPDigest()
    
    
    @app.get("/users/me")
    def read_current_user(credentials: HTTPAuthorizationCredentials = Security(security)):
        return {"scheme": credentials.scheme, "credentials": credentials.credentials}
    
    
    client = TestClient(app)
    
    
    def test_security_http_digest():
        response = client.get("/users/me", headers={"Authorization": "Digest foobar"})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/job/JobExecutorTest.java

            executor2.addShutdownListener(() -> counter2.incrementAndGet());
    
            executor1.shutdown();
            assertEquals(1, counter1.get());
            assertEquals(0, counter2.get());
    
            executor2.shutdown();
            assertEquals(1, counter1.get());
            assertEquals(1, counter2.get());
        }
    
        @Test
        public void test_execute_differentScriptTypes() {
            // Test different script types
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  4. tests/benchmarks/test_general_performance.py

    
    @app.get("/sync/dict-no-response-model")
    def sync_dict_no_response_model():
        return {"name": "foo", "value": 123}
    
    
    @app.get("/sync/dict-with-response-model", response_model=ItemOut)
    def sync_dict_with_response_model(
        dep: Annotated[int, Depends(dep_b)],
    ):
        return {"name": "foo", "value": 123, "dep": dep}
    
    
    @app.get("/sync/model-no-response-model")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Dec 26 20:40:26 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  5. guava/src/com/google/common/base/Suppliers.java

       * and returns that value on subsequent calls to {@code get()}. See: <a
       * href="http://en.wikipedia.org/wiki/Memoization">memoization</a>
       *
       * <p>The returned supplier is thread-safe. The delegate's {@code get()} method will be invoked at
       * most once unless the underlying {@code get()} throws an exception. The supplier's serialized
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 31 21:24:28 GMT 2026
    - 16.1K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java

                // Mock strategies with different results
                when(mockStrategies.get(0).isApplicable(context)).thenReturn(true);
                when(mockStrategies.get(0).apply(Mockito.eq(context), Mockito.any()))
                        .thenReturn(
                                new UpgradeResult(Set.of(Paths.get("pom.xml")), Set.of(Paths.get("pom.xml")), Set.of()));
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  7. tests/test_response_by_alias.py

    
    @app.get("/by-alias/dict", response_model=Model)
    def by_alias_dict():
        return {"alias": "Foo"}
    
    
    @app.get("/by-alias/model", response_model=Model)
    def by_alias_model():
        return Model(alias="Foo")
    
    
    @app.get("/by-alias/list", response_model=list[Model])
    def by_alias_list():
        return [{"alias": "Foo"}, {"alias": "Bar"}]
    
    
    @app.get("/no-alias/dict", response_model=ModelNoAlias)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/entity/ParamMapTest.java

            assertNull(paramMap.get("xxx"));
            assertEquals("111", paramMap.get("aaa"));
            assertEquals("222", paramMap.get("aaa_bbb"));
            assertEquals("222", paramMap.get("aaaBbb"));
            assertEquals("222", paramMap.get("AaaBbb"));
            assertNull(paramMap.get("aaabbb"));
            assertEquals("333", paramMap.get("aaa_bbb_ccc"));
            assertEquals("333", paramMap.get("aaaBbbCcc"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 4.5K bytes
    - Click Count (1)
  9. src/main/java/org/codelibs/fess/entity/PingResponse.java

            }
        }
    
        /**
         * Gets the status.
         *
         * @return the status
         */
        public int getStatus() {
            return status;
        }
    
        /**
         * Gets the cluster name.
         *
         * @return the cluster name
         */
        public String getClusterName() {
            return clusterName;
        }
    
        /**
         * Gets the cluster status.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.4K bytes
    - Click Count (2)
  10. src/main/java/org/codelibs/fess/sso/SsoManager.java

            }
            return null;
        }
    
        /**
         * Gets the configured SSO type from the system configuration.
         *
         * @return The SSO type string from configuration
         */
        protected String getSsoType() {
            return ComponentUtil.getFessConfig().getSsoType();
        }
    
        /**
         * Gets all registered SSO authenticators.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.3K bytes
    - Click Count (0)
Back to Top