Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 272 for convErr (0.14 sec)

  1. src/main/java/org/codelibs/core/beans/converter/DateConverter.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.util.Date;
    
    import org.codelibs.core.beans.Converter;
    import org.codelibs.core.convert.DateConversionUtil;
    import org.codelibs.core.convert.StringConversionUtil;
    
    /**
     * 日付用のコンバータです。
     *
     * @author higa
     */
    public class DateConverter implements Converter {
    
        /**
         * 日付のパターンです。
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/beans/converter/TimeConverter.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.sql.Time;
    import java.util.Date;
    
    import org.codelibs.core.beans.Converter;
    import org.codelibs.core.convert.StringConversionUtil;
    import org.codelibs.core.convert.TimeConversionUtil;
    
    /**
     * 時間用のコンバータです。
     *
     * @author higa
     */
    public class TimeConverter implements Converter {
    
        /**
         * 時間のパターンです。
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/response-change-status-code.md

    But if the data didn't exist, you want to create it, and return an HTTP status code of "CREATED" `201`.
    
    But you still want to be able to filter and convert the data you return with a `response_model`.
    
    For those cases, you can use a `Response` parameter.
    
    ## Use a `Response` parameter
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. cmd/postpolicyform.go

    	policyCondContentLength = "content-length-range"
    )
    
    // toString - Safely convert interface to string without causing panic.
    func toString(val interface{}) string {
    	switch v := val.(type) {
    	case string:
    		return v
    	default:
    		return ""
    	}
    }
    
    // toLowerString - safely convert interface to lower string
    func toLowerString(val interface{}) string {
    	return strings.ToLower(toString(val))
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. src/main/assemblies/files/service.bat

    if "%unit%" == "g" goto giga
    if "%unit%" == "G" goto giga
    
    rem no unit found, must be bytes; consider the whole value
    set conv=%value%
    rem convert to KB
    set /a conv=%conv% / 1024
    :kilo
    rem convert to MB
    set /a conv=%conv% / 1024
    goto mega
    :giga
    rem convert to MB
    set /a conv=%conv% * 1024
    :mega
    set "%~2=%conv%"
    goto:eof
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java

    import org.codelibs.core.beans.factory.ParameterizedClassDescFactory;
    import org.codelibs.core.convert.BooleanConversionUtil;
    import org.codelibs.core.convert.CalendarConversionUtil;
    import org.codelibs.core.convert.DateConversionUtil;
    import org.codelibs.core.convert.NumberConversionUtil;
    import org.codelibs.core.convert.TimeConversionUtil;
    import org.codelibs.core.convert.TimestampConversionUtil;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/response-directly.md

    # Return a Response Directly
    
    When you create a **FastAPI** *path operation* you can normally return any data from it: a `dict`, a `list`, a Pydantic model, a database model, etc.
    
    By default, **FastAPI** would automatically convert that return value to JSON using the `jsonable_encoder` explained in [JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank}.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. callbacks/helper.go

    package callbacks
    
    import (
    	"reflect"
    	"sort"
    
    	"gorm.io/gorm"
    	"gorm.io/gorm/clause"
    )
    
    // ConvertMapToValuesForCreate convert map to values
    func ConvertMapToValuesForCreate(stmt *gorm.Statement, mapValue map[string]interface{}) (values clause.Values) {
    	values.Columns = make([]clause.Column, 0, len(mapValue))
    	selectColumns, restricted := stmt.SelectAndOmitColumns(true, false)
    
    	keys := make([]string, 0, len(mapValue))
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Apr 14 12:32:57 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/beans/converter/TimestampConverter.java

    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.util.Date;
    
    import org.codelibs.core.beans.Converter;
    import org.codelibs.core.convert.StringConversionUtil;
    import org.codelibs.core.convert.TimestampConversionUtil;
    
    /**
     * 日時用のコンバータです。
     *
     * @author higa
     */
    public class TimestampConverter implements Converter {
    
        /**
         * 日時のパターンです。
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/general.md

    ## Convert any Data to JSON-compatible
    
    To convert any data to JSON-compatible, read the docs for [Tutorial - JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank}.
    
    ## OpenAPI Metadata - Docs
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 19 19:54:04 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top