- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for getCounter (0.05 sec)
-
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; }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jul 18 17:30:19 UTC 2025 - 11.4K bytes - Viewed (0) -
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 classesRegistered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 876 bytes - Viewed (0) -
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) ):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Aug 23 13:30:24 UTC 2022 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacUnicodeString.java
public short getMaxLength() { return this.maxLength; } /** * Gets the pointer/offset to the string data. * * @return the pointer to the string data */ public int getPointer() { return this.pointer; } /** * Validates the provided string against this structure's metadata. * Checks that the string length matches the expected length and that
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacUnicodeStringTest.java
assertEquals(maxLength, pacString.getMaxLength(), "The maxLength should match the value provided in the constructor."); assertEquals(pointer, pacString.getPointer(), "The pointer should match the value provided in the constructor."); } /** * Tests the {@link PacUnicodeString#check(String)} method with a valid string. *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
PacUnicodeString str = pdis.readUnicodeString(); assertEquals(4, str.getLength()); assertEquals(4, str.getMaxLength()); assertEquals(0x1234, str.getPointer()); } @Test public void testReadUnicodeStringMalformed() throws IOException { // length > maxLength byte[] data = new byte[] { 0x08, 0x00, 0x04, 0x00, 0x34, 0x12, 0x00, 0x00 };
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0)