Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 272 for convErr (0.14 sec)

  1. tests/test_tutorial/test_schema_extra_example/test_tutorial005_py310.py

                                        "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
    - 6.8K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java

          sizeRemaining -= count;
          hashMultiset.add(value, count);
          linkedHashMultiset.add(value, count);
          treeMultiset.add(value, count);
        }
    
        // TODO(kevinb): convert to assert once benchmark tests enable asserts by default
        Preconditions.checkState(hashMultiset.size() == size);
      }
    
      @Benchmark
      int hashMultiset(int reps) {
        int sum = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/collect/MultisetIteratorBenchmark.java

          sizeRemaining -= count;
          hashMultiset.add(value, count);
          linkedHashMultiset.add(value, count);
          treeMultiset.add(value, count);
        }
    
        // TODO(kevinb): convert to assert once benchmark tests enable asserts by default
        Preconditions.checkState(hashMultiset.size() == size);
      }
    
      @Benchmark
      int hashMultiset(int reps) {
        int sum = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/BigDecimalConversionUtil.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.convert;
    
    import java.math.BigDecimal;
    import java.text.SimpleDateFormat;
    
    import org.codelibs.core.lang.StringUtil;
    
    /**
     * {@link BigDecimal}用の変換ユーティリティです。
     *
     * @author higa
     */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/NullnessCasts.java

       * ParametricNullness parametric nullness}. Sometimes, code may receive a null {@code T} but store
       * a "null sentinel" to take its place. When the time comes to convert it back to a {@code T} to
       * return to a caller, the code needs to a way to return {@code null} from a method that returns
       * "plain {@code T}." This API provides that.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 10 20:36:34 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/body-nested-models.md

    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="20"
    {!> ../../docs_src/body_nested_models/tutorial006.py!}
    ```
    
    ////
    
    This will expect (convert, validate, document, etc.) a JSON body like:
    
    ```JSON hl_lines="11"
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2,
        "tags": [
            "rock",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

        }
      }
    
      /** Returns the product of {@code n1} exclusive through {@code n2} inclusive. */
      @SuppressWarnings("UseCorrectAssertInTests") // TODO(b/345814817): Remove or convert assertion.
      private static BigInteger oldSlowFactorial(int n1, int n2) {
        assert n1 <= n2;
        if (IntMath.log2(n2, CEILING) * (n2 - n1) < Long.SIZE - 1) {
          // the result will definitely fit into a long
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

        }
      }
    
      /** Returns the product of {@code n1} exclusive through {@code n2} inclusive. */
      @SuppressWarnings("UseCorrectAssertInTests") // TODO(b/345814817): Remove or convert assertion.
      private static BigInteger oldSlowFactorial(int n1, int n2) {
        assert n1 <= n2;
        if (IntMath.log2(n2, CEILING) * (n2 - n1) < Long.SIZE - 1) {
          // the result will definitely fit into a long
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. docs/en/docs/python-types.md

    Because the editor knows the types of the variables, you don't only get completion, you also get error checks:
    
    <img src="/img/python-types/image04.png">
    
    Now you know that you have to fix it, convert `age` to a string with `str(age)`:
    
    {* ../../docs_src/python_types/tutorial004.py hl[2] *}
    
    ## Declaring types
    
    You just saw the main place to declare type hints. As function parameters.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:47:53 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

                }
            }
            return result;
        }
    
        public String replaceUrl(final String url) { // for display or url converer
            if (cachedPathMappingList == null) {
                synchronized (this) {
                    if (cachedPathMappingList == null) {
                        init();
                    }
                }
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top