Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 272 for convErr (0.07 sec)

  1. utils/tests/utils.go

    			}
    		}
    
    		if reflect.ValueOf(got).Type().ConvertibleTo(reflect.ValueOf(expect).Type()) {
    			got = reflect.ValueOf(got).Convert(reflect.ValueOf(expect).Type()).Interface()
    			isEqual()
    		} else if reflect.ValueOf(expect).Type().ConvertibleTo(reflect.ValueOf(got).Type()) {
    			expect = reflect.ValueOf(got).Convert(reflect.ValueOf(got).Type()).Interface()
    			isEqual()
    		} else {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Mar 10 09:21:56 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. schema/naming.go

    	if ns.SingularTable {
    		return ns.toSchemaName(table)
    	}
    	return ns.toSchemaName(inflection.Singular(table))
    }
    
    // ColumnName convert string to column name
    func (ns NamingStrategy) ColumnName(table, column string) string {
    	return ns.toDBName(column)
    }
    
    // JoinTableName convert string to join table name
    func (ns NamingStrategy) JoinTableName(str string) string {
    	if !ns.NoLowerCase && strings.ToLower(str) == str {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

    import org.codelibs.core.collection.CaseInsensitiveMap;
    import org.codelibs.core.convert.ByteConversionUtil;
    import org.codelibs.core.convert.DoubleConversionUtil;
    import org.codelibs.core.convert.FloatConversionUtil;
    import org.codelibs.core.convert.IntegerConversionUtil;
    import org.codelibs.core.convert.LongConversionUtil;
    import org.codelibs.core.convert.ShortConversionUtil;
    import org.codelibs.core.exception.BeanFieldSetAccessibleFailureException;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/dataclasses.md

    So, even with the code above that doesn't use Pydantic explicitly, FastAPI is using Pydantic to convert those standard dataclasses to Pydantic's own flavor of dataclasses.
    
    And of course, it supports the same:
    
    * data validation
    * data serialization
    * data documentation, etc.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:35:06 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. internal/s3select/sql/value.go

    				a.setInt(iA)
    			} else if fA, ok := a.bytesToFloat(); ok {
    				a.setFloat(fA)
    			} else {
    				return fmt.Errorf("Could not convert %s to a number", a.String())
    			}
    
    		case bool:
    			if bA, ok := a.bytesToBool(); ok {
    				a.setBool(bA)
    			} else {
    				return fmt.Errorf("Could not convert %s to a boolean", a.String())
    			}
    
    		default:
    			return errCmpMismatchedTypes
    		}
    		return nil
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  6. docs_src/schema_extra_example/tutorial005_an_py39.py

                            "tax": 3.2,
                        },
                    },
                    "converted": {
                        "summary": "An example with converted data",
                        "description": "FastAPI can convert price `strings` to actual `numbers` automatically",
                        "value": {
                            "name": "Bar",
                            "price": "35.4",
                        },
                    },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 26 18:03:13 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/FormBodyTest.kt

        assertThat(formEncode(8)).isEqualTo("%08")
        assertThat(formEncode(9)).isEqualTo("%09")
        // Browsers convert '\n' to '\r\n'
        assertThat(formEncode(10)).isEqualTo("%0A")
        assertThat(formEncode(11)).isEqualTo("%0B")
        assertThat(formEncode(12)).isEqualTo("%0C")
        // Browsers convert '\r' to '\r\n'
        assertThat(formEncode(13)).isEqualTo("%0D")
        assertThat(formEncode(14)).isEqualTo("%0E")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. docs_src/schema_extra_example/tutorial005_an.py

                            "tax": 3.2,
                        },
                    },
                    "converted": {
                        "summary": "An example with converted data",
                        "description": "FastAPI can convert price `strings` to actual `numbers` automatically",
                        "value": {
                            "name": "Bar",
                            "price": "35.4",
                        },
                    },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 26 18:03:13 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. docs_src/schema_extra_example/tutorial005.py

                        "tax": 3.2,
                    },
                },
                "converted": {
                    "summary": "An example with converted data",
                    "description": "FastAPI can convert price `strings` to actual `numbers` automatically",
                    "value": {
                        "name": "Bar",
                        "price": "35.4",
                    },
                },
                "invalid": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 26 18:03:13 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/escape/CharEscaperBuilder.java

      @CanIgnoreReturnValue
      public CharEscaperBuilder addEscapes(char[] cs, String r) {
        checkNotNull(r);
        for (char c : cs) {
          addEscape(c, r);
        }
        return this;
      }
    
      /**
       * Convert this builder into an array of char[]s where the maximum index is the value of the
       * highest character that has been seen. The array will be sparse in the sense that any unseen
       * index will default to null.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 4K bytes
    - Viewed (0)
Back to top