Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for cls (0.11 sec)

  1. 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);
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/TypeToken.java

       * {@code TypeToken.getGenericType(Iterable.class)} returns {@code Iterable<T>}.
       *
       * <p>If {@code cls} isn't parameterized and isn't a generic array, the type token of the class is
       * returned.
       */
      @VisibleForTesting
      static <T> TypeToken<? extends T> toGenericType(Class<T> cls) {
        if (cls.isArray()) {
          Type arrayOfGenericType =
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  3. tests/test_filter_pydantic_sub_model/app_pv1.py

    
    class ModelC(ModelB):
        password: str
    
    
    class ModelA(BaseModel):
        name: str
        description: Optional[str] = None
        model_b: ModelB
    
        @validator("name")
        def lower_username(cls, name: str, values):
            if not name.endswith("A"):
                raise ValueError("name must end in A")
            return name
    
    
    async def get_model_c() -> ModelC:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 784 bytes
    - Viewed (0)
  4. 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
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 26 21:24:36 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

      }
    
      private void assertBadUseOfReferentialEquality(Class<?> cls) throws Exception {
        try {
          tester.testEquals(cls);
        } catch (AssertionFailedError expected) {
          assertThat(expected).hasMessageThat().contains(cls.getSimpleName() + "(");
          return;
        }
        fail("should have failed for " + cls);
      }
    
      public void testParameterNotInstantiableForEqualsTest() throws Exception {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

        assertEquals("java.util.List<K1>", keyType.getType().toString());
      }
    
      private static Type genericReturnType(Class<?> cls, String methodName) {
        try {
          return cls.getMethod(methodName).getGenericReturnType();
        } catch (Exception e) {
          throw new RuntimeException(e);
        }
      }
    
      public void testTwoStageResolution() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java

        assertEquals("java.util.List<K1>", keyType.getType().toString());
      }
    
      private static Type genericReturnType(Class<?> cls, String methodName) {
        try {
          return cls.getMethod(methodName).getGenericReturnType();
        } catch (Exception e) {
          throw new RuntimeException(e);
        }
      }
    
      public void testTwoStageResolution() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  8. tests/test_filter_pydantic_sub_model_pv2.py

            password: str
    
        class ModelA(BaseModel):
            name: str
            description: Optional[str] = None
            foo: ModelB
    
            @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:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  9. fastapi/_compat.py

            return 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
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/arm64enc.s

    	CINV VS, R30, R30                          // de739eda
    	CLREX $4                                   // 5f3403d5
    	CLREX $0                                   // 5f3003d5
    	CLSW R15, R6                               // e615c05a
    	CLS R15, ZR                                // ff15c0da
    	CLZW R1, R14                               // 2e10c05a
    	CLZ R21, R9                                // a912c0da
    	CMNW R21.UXTB<<4, R15                      // ff11352b
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jul 24 01:11:41 GMT 2023
    - 43.9K bytes
    - Viewed (1)
Back to top