Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,712 for cast (0.02 sec)

  1. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponse.java

        }
    
        /**
         * Gets the file system information from the response cast to the specified type.
         *
         * @param <T> the type of file system information to return
         * @param clazz the class of the file system information to return
         * @return the filesystem info cast to the specified type
         * @throws CIFSException if the information cannot be cast to the specified type
         */
        @SuppressWarnings("unchecked")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/pac/ASN1Util.java

     */
    public final class ASN1Util {
    
        private ASN1Util() {
        }
    
        /**
         * Casts an object to the specified type with type checking
         * @param <T> the target type
         * @param type the target class type
         * @param object the object to cast
         * @return object cast to type
         * @throws PACDecodingException if types are incompatible
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. internal/s3select/sql/parser.go

    type CountFunc struct {
    	StarArg bool        `parser:" \"COUNT\" \"(\" ( @\"*\"?"`
    	ExprArg *Expression `parser:" @@? )! \")\""`
    }
    
    // CastFunc represents CAST sql function
    type CastFunc struct {
    	Expr     *Expression `parser:" \"CAST\" \"(\" @@ "`
    	CastType string      `parser:" \"AS\" @(\"BOOL\" | \"INT\" | \"INTEGER\" | \"STRING\" | \"FLOAT\" | \"DECIMAL\" | \"NUMERIC\" | \"TIMESTAMP\") \")\" "`
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  4. internal/s3select/sql/funceval.go

    	case sqlFnCoalesce:
    		return coalesce(argVals)
    
    	case sqlFnNullIf:
    		return nullif(argVals[0], argVals[1])
    
    	case sqlFnCharLength, sqlFnCharacterLength:
    		return charlen(argVals[0])
    
    	case sqlFnLower:
    		return lowerCase(argVals[0])
    
    	case sqlFnUpper:
    		return upperCase(argVals[0])
    
    	case sqlFnUTCNow:
    		return handleUTCNow()
    
    	case sqlFnToString, sqlFnToTimestamp:
    		// TODO: implement
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. architecture/standards/0008-use-nullaway.md

          [`Cast.cast`](https://github.com/gradle/gradle/blob/674b8430b024f03cae24f1e4dd6dbaa78b557dae/platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/Cast.java#L37)
          and
          [`Cast.castNullable`](https://github.com/gradle/gradle/blob/674b8430b024f03cae24f1e4dd6dbaa78b557dae/platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/Cast.java#L62).
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 11 10:24:40 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

        return cast(type, put(type, value));
      }
    
      @Override
      public <T extends @NonNull B> @Nullable T getInstance(Class<T> type) {
        return cast(type, get(type));
      }
    
      @CanIgnoreReturnValue
      private static <T> @Nullable T cast(Class<T> type, @Nullable Object value) {
        return Primitives.wrap(type).cast(value);
      }
    
        private Object writeReplace() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/Parameter.java

        @Nullable A[] result =
            FluentIterable.from(annotations).filter(annotationType).toArray(annotationType);
        @SuppressWarnings("nullness") // safe because the input list contains no nulls
        A[] cast = (A[]) result;
        return cast;
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        if (obj instanceof Parameter) {
          Parameter that = (Parameter) obj;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/Platform.java

     */
    @GwtCompatible
    final class Platform {
      static <T> T[] clone(T[] array) {
        return array.clone();
      }
    
      // Class.cast is not supported in GWT.  This method is a no-op in GWT.
      static void checkCast(Class<?> clazz, Object obj) {
        Object unused = clazz.cast(obj);
      }
    
      static String format(String template, Object... args) {
        return String.format(Locale.ROOT, template, args);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 04 01:39:13 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/Platform.java

     */
    @GwtCompatible
    final class Platform {
      static <T> T[] clone(T[] array) {
        return array.clone();
      }
    
      // Class.cast is not supported in GWT.  This method is a no-op in GWT.
      static void checkCast(Class<?> clazz, Object obj) {
        Object unused = clazz.cast(obj);
      }
    
      static String format(String template, Object... args) {
        return String.format(Locale.ROOT, template, args);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 04 01:39:13 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/InternalMavenSession.java

    import static org.apache.maven.internal.impl.CoreUtils.cast;
    
    public interface InternalMavenSession extends InternalSession {
    
        static InternalMavenSession from(Session session) {
            return cast(InternalMavenSession.class, session, "session should be an " + InternalMavenSession.class);
        }
    
        static InternalMavenSession from(org.eclipse.aether.RepositorySystemSession session) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Mar 24 14:09:05 UTC 2025
    - 2.2K bytes
    - Viewed (0)
Back to top