Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for getCounter (0.11 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java

            @Override
            public int problemsReportedFor(BuilderProblem.Severity... severity) {
                int result = 0;
                for (BuilderProblem.Severity s : severity) {
                    result += getCounter(s).intValue();
                }
                return result;
            }
    
            @Override
            public boolean problemsOverflow() {
                return totalCount.get() > maxCountLimit;
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jul 18 17:30:19 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  2. build-logic/documentation/src/test/resources/org/gradle/test/JavaClassWithInnerTypes.java

         */
        static class InnerClass {
            InnerEnum getEnumProp() { return null; }
    
            /**
             * This is an inner inner class.
             */
            class AnotherInner {
                InnerClass getOuter() { return null; }
            }
        }
    
        Sub2Interface getSomeProp() {
            // ignore classes in method bodies
            class IgnoreMe {}
    
            // ignore anonymous classes
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 876 bytes
    - Click Count (0)
  3. tests/test_dependency_cache.py

    async def dep_counter():
        counter_holder["counter"] += 1
        return counter_holder["counter"]
    
    
    async def super_dep(count: int = Depends(dep_counter)):
        return count
    
    
    @app.get("/counter/")
    async def get_counter(count: int = Depends(dep_counter)):
        return {"counter": count}
    
    
    @app.get("/sub-counter/")
    async def get_sub_counter(
        subcount: int = Depends(super_dep), count: int = Depends(dep_counter)
    ):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Aug 23 13:30:24 GMT 2022
    - 2.7K bytes
    - Click Count (0)
Back to Top