- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 34 for Cls (0.01 seconds)
-
android/guava/src/com/google/common/reflect/Types.java
} private static void disallowPrimitiveType(Type[] types, String usedAs) { for (Type type : types) { if (type instanceof Class) { Class<?> cls = (Class<?>) type; checkArgument(!cls.isPrimitive(), "Primitive type '%s' used as %s", cls, usedAs); } } } /** Returns the {@code Class} object of arrays with {@code componentType}. */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Oct 31 19:34:24 GMT 2025 - 24.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
fail("access field " + name, e); return null; } } private static int invokeProtectedInt(Object target, String name, Object... params) { try { var cls = target.getClass(); // Build proper parameter types array, handling primitive types Class<?>[] paramTypes = new Class<?>[params.length]; for (int i = 0; i < params.length; i++) {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
} private static void shouldFail(Class<?> cls, Visibility visibility) { try { new NullPointerTester().testStaticMethods(cls, visibility); } catch (AssertionError expected) { return; } fail("Should detect problem in " + cls.getSimpleName()); } private static void shouldFail(Class<?> cls) { shouldFail(cls, Visibility.PACKAGE); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 47.8K bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/validation/bad-import-scope-classifier.xml
<dependencies> <dependency> <groupId>test</groupId> <artifactId>a</artifactId> <version>0.1</version> <scope>import</scope> <type>pom</type> <classifier>cls</classifier> </dependency> </dependencies> </dependencyManagement>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.2K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
Charset charset, TimeUnit unit, Class<?> cls, Joiner joiner, Pattern pattern, UnsignedInteger ui, UnsignedLong ul, StringBuilder sb, Predicate<?> pred, Function<?, ?> func, Object obj) { delegate.foo( s, r, n, it, b, eq, e, in, c, ord, charset, unit, cls, joiner, pattern, ui, ul, sb, pred, func, obj); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 15.7K bytes - Click Count (0) -
doc/README.md
The `initial` and `next` subdirectories of this directory are for release notes. ## For developers Release notes should be added to `next` by editing existing files or creating new files. **Do not add RELNOTE=yes comments in CLs.** Instead, add a file to the CL (or ask the author to do so). At the end of the development cycle, the files will be merged by being concatenated in sorted order by pathname. Files in the directory matching the
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Jul 22 17:55:04 GMT 2024 - 3.1K bytes - Click Count (0) -
tests/test_filter_pydantic_sub_model_pv2.py
class ModelA(BaseModel): name: str description: Optional[str] = None foo: ModelB tags: dict[str, str] = {} @field_validator("name") def lower_username(cls, name: str, info: ValidationInfo): if not name.endswith("A"): raise ValueError("name must end in A") return name async def get_model_c() -> ModelC:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 6.6K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java
} private void assertBadUseOfReferentialEquality(Class<?> cls) throws Exception { try { tester.testEquals(cls); } catch (AssertionError expected) { assertThat(expected).hasMessageThat().contains(cls.getSimpleName() + "("); return; } fail("should have failed for " + cls); } public void testParameterNotInstantiableForEqualsTest() throws Exception {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 36.3K bytes - Click Count (0) -
fastapi/_compat/v2.py
def is_bytes_sequence_field(field: ModelField) -> bool: return shared.is_bytes_sequence_annotation(field.type_) def copy_field_info(*, field_info: FieldInfo, annotation: Any) -> FieldInfo: cls = type(field_info) merged_field_info = cls.from_annotation(annotation) new_field_info = copy(field_info) new_field_info.metadata = merged_field_info.metadata new_field_info.annotation = merged_field_info.annotation
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 19.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
/** * Reflectively get the chained next request from a SMB2 request. */ private static Object getNextOf(Object req) throws Exception { Class<?> cls = req.getClass().getSuperclass(); // ServerMessageBlock2Request Field f = cls.getSuperclass().getDeclaredField("next"); // ServerMessageBlock2.next f.setAccessible(true); return f.get(req); } /**Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.7K bytes - Click Count (0)