Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 703 for TYPES (0.02 sec)

  1. src/main/java/jcifs/pac/ASN1Util.java

         * @param object the object to cast
         * @return object cast to type
         * @throws PACDecodingException if types are incompatible
         */
        public static <T> T as(final Class<T> type, final Object object) throws PACDecodingException {
            if (!type.isInstance(object)) {
                throw new PACDecodingException("Incompatible object types " + type + " " + object.getClass());
            }
    
            return type.cast(object);
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  2. fastapi/_compat/shared.py

    # Copy from Pydantic v2, compatible with v1
    if sys.version_info < (3, 10):
        WithArgsTypes: tuple[Any, ...] = (typing._GenericAlias, types.GenericAlias)  # type: ignore[attr-defined]
    else:
        WithArgsTypes: tuple[Any, ...] = (
            typing._GenericAlias,  # type: ignore[attr-defined]
            types.GenericAlias,
            types.UnionType,
        )  # pyright: ignore[reportAttributeAccessIssue]
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/ConstructorDesc.java

         *            The type of the Bean
         * @return The constructor
         */
        <T> Constructor<T> getConstructor();
    
        /**
         * Returns an array of the parameter types of the constructor.
         *
         * @return An array of the parameter types of the constructor
         */
        Class<?>[] getParameterTypes();
    
        /**
         * Returns {@literal true} if the constructor is {@literal public}.
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/reflect/TypeResolver.java

      @CanIgnoreReturnValue
      Type[] resolveTypesInPlace(Type[] types) {
        for (int i = 0; i < types.length; i++) {
          types[i] = resolveType(types[i]);
        }
        return types;
      }
    
      private Type[] resolveTypes(Type[] types) {
        Type[] result = new Type[types.length];
        for (int i = 0; i < types.length; i++) {
          result[i] = resolveType(types[i]);
        }
        return result;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 22:30:05 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  5. kotlin-js-store/yarn.lock

      dependencies:
        "@types/node" "*"
    
    "@types/eslint-scope@^3.7.3":
      version "3.7.4"
      resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.4.tgz#37fc1223f0786c39627068a12e94d6e6fc61de16"
      integrity sha512-9K4zoImiZc3HlIp6AVUDE4CWYx22a+lhSZMYNpbjW04+YF0KWj4pJXnEMjdnFTiQibFFmElcsasJXDbdI/EPhA==
      dependencies:
        "@types/eslint" "*"
        "@types/estree" "*"
    
    "@types/eslint@*":
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jul 22 12:28:51 UTC 2023
    - 87.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/ASN1UtilTest.java

            Object obj = 123; // Integer
            assertThrows(PACDecodingException.class, () -> {
                ASN1Util.as(String.class, obj);
            }, "Should throw PACDecodingException for incompatible types");
        }
    
        // --- as(Class, Enumeration) ---
    
        @Test
        void testAs_Enumeration_Success() throws PACDecodingException {
            // Test successful casting from enumeration
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/RoleTypeService.java

        @Resource
        protected FessConfig fessConfig;
    
        /**
         * Gets a list of role types based on the pager.
         * @param roleTypePager The pager for role types.
         * @return A list of role types.
         */
        public List<RoleType> getRoleTypeList(final RoleTypePager roleTypePager) {
    
            final PagingResultBean<RoleType> roleTypeList = roleTypeBhv.selectPage(cb -> {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        TypeToken<Object>.TypeSet types = new TypeToken<Object>() {}.getTypes();
        assertThat(types).contains(TypeToken.of(Object.class));
        assertThat(types.rawTypes()).contains(Object.class);
        assertThat(types.interfaces()).isEmpty();
        assertThat(types.interfaces().rawTypes()).isEmpty();
        assertThat(types.classes()).contains(TypeToken.of(Object.class));
        assertThat(types.classes().rawTypes()).contains(Object.class);
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 89K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/exception/NoSuchConstructorRuntimeException.java

         */
        private final Class<?> targetClass;
    
        /**
         * The parameter types.
         */
        private final Class<?>[] argTypes;
    
        /**
         * Creates a {@link NoSuchConstructorRuntimeException}.
         *
         * @param targetClass
         *            Target class
         * @param argTypes
         *            Array of parameter types
         * @param cause
         *            The cause of the exception
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/Invokable.java

            if (types.length == rawParamTypes.length
                && rawParamTypes[0] == getDeclaringClass().getEnclosingClass()) {
              // first parameter is the hidden 'this'
              return Arrays.copyOfRange(types, 1, types.length);
            }
          }
          return types;
        }
    
        @Override
        Type[] getGenericExceptionTypes() {
          return constructor.getGenericExceptionTypes();
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
Back to top