Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1501 - 1510 of 4,454 for getC (0.02 seconds)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java

                Document childDoc = Document.of(childPomXml);
    
                Map<Path, Document> pomMap = new HashMap<>();
                pomMap.put(Paths.get("/project/pom.xml"), parentDoc);
                pomMap.put(Paths.get("/project/child/pom.xml"), childDoc);
    
                UpgradeContext context = createMockContext();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/service/AccessTokenService.java

         */
        @Resource
        protected AccessTokenBhv accessTokenBhv;
    
        /**
         * The Fess configuration.
         */
        @Resource
        protected FessConfig fessConfig;
    
        /**
         * Get the list of access tokens.
         * @param accessTokenPager The pager for access token.
         * @return The list of access tokens.
         */
        public List<AccessToken> getAccessTokenList(final AccessTokenPager accessTokenPager) {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt

    private
    fun BodyDeclaration<*>.getSince(): String? =
        comment?.orElse(null)?.content?.let { content ->
            SINCE_REGEX.find(content)?.groupValues?.get(1)
        }
    
    
    private
    val FieldDeclaration.fieldName: String
        get() = variables.first().name.asString()
    
    
    private
    fun JApiMethod.isEnumImplicitMethod(): Boolean =
        isEnumImplicitMethodValues() ||
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/math/ReflectionFreeAssertThrows.java

        Predicate<Throwable> predicate = INSTANCE_OF.get(expectedThrowable);
        if (predicate == null) {
          throw new IllegalArgumentException(
              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java

        Predicate<Throwable> predicate = INSTANCE_OF.get(expectedThrowable);
        if (predicate == null) {
          throw new IllegalArgumentException(
              expectedThrowable
                  + " is not yet supported by ReflectionFreeAssertThrows. Add an entry for it in the"
                  + " map in that class.");
        }
        Object result;
        try {
          result = supplier.get();
        } catch (Throwable t) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

        this.delegateMap = delegateMap;
        this.entries = entries;
      }
    
      @Override
      public int size() {
        return entries.size();
      }
    
      @Override
      public @Nullable V get(@Nullable Object key) {
        return delegateMap.get(key);
      }
    
      @Override
      ImmutableSet<Entry<K, V>> createEntrySet() {
        return new ImmutableMapEntrySet.RegularEntrySet<>(this, entries);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  7. docs_src/dependencies/tutorial014_an_py310.py

    def get_user(user_id: int, session: Annotated[Session, Depends(get_session)]):
        user = session.get(User, user_id)
        if not user:
            raise HTTPException(status_code=403, detail="Not authorized")
        session.close()
    
    
    def generate_stream(query: str):
        for ch in query:
            yield ch
            time.sleep(0.1)
    
    
    @app.get("/generate", dependencies=[Depends(get_user)])
    def generate(query: str):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Sep 29 03:29:38 GMT 2025
    - 957 bytes
    - Click Count (0)
  8. tests/test_security_scopes.py

        def get_db():
            call_counter["count"] += 1
            return f"db_{call_counter['count']}"
    
        def get_user(db: Annotated[str, Depends(get_db)]):
            return "user"
    
        app = FastAPI()
    
        @app.get("/")
        def endpoint(
            db: Annotated[str, Depends(get_db)],
            user: Annotated[str, Security(get_user, scopes=["read"])],
        ):
            return {"db": db}
    
        return app
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1006 bytes
    - Click Count (0)
  9. tests/test_security_scopes_dont_propagate.py

    ):
        return {"dep1": dep1, "dep2": dep2}
    
    
    app = FastAPI()
    
    
    @app.get("/scopes")
    def get_scopes(
        dep3: Annotated[dict[str, Any], Security(dep3, scopes=["scope3"])],
    ):
        return dep3
    
    
    client = TestClient(app)
    
    
    def test_security_scopes_dont_propagate():
        response = client.get("/scopes")
        assert response.status_code == 200
        assert response.json() == {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 973 bytes
    - Click Count (0)
  10. build-logic-settings/architecture-docs/src/main/kotlin/gradlebuild/GeneratePlatformsDataTask.kt

        @get:OutputFile
        abstract val outputFile: RegularFileProperty
    
        @get:Input
        abstract val platforms: ListProperty<Platform>
    
        @TaskAction
        fun action() {
            val allPlatforms = platforms.get()
            val data = allPlatforms.map { platform ->
                PlatformData(
                    name = platform.name,
                    dirs = platform.children.takeIf { it.isNotEmpty() }?.map { it.name } ?: listOf(platform.name),
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 15:37:56 GMT 2026
    - 1.6K bytes
    - Click Count (0)
Back to Top