Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 156 for 42 (0.01 seconds)

  1. docs/en/docs/tutorial/path-params.md

    because the path parameter `item_id` had a value of `"foo"`, which is not an `int`.
    
    The same error would appear if you provided a `float` instead of an `int`, as in: <a href="http://127.0.0.1:8000/items/4.2" class="external-link" target="_blank">http://127.0.0.1:8000/items/4.2</a>
    
    /// check
    
    So, with the same Python type declaration, **FastAPI** gives you data validation.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  2. docs/es/docs/tutorial/path-params.md

    porque el parámetro de path `item_id` tenía un valor de `"foo"`, que no es un `int`.
    
    El mismo error aparecería si proporcionaras un `float` en lugar de un `int`, como en: <a href="http://127.0.0.1:8000/items/4.2" class="external-link" target="_blank">http://127.0.0.1:8000/items/4.2</a>
    
    /// check | Revisa
    
    Entonces, con la misma declaración de tipo de Python, **FastAPI** te ofrece validación de datos.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        Cache<Integer, Integer> cache =
            CacheBuilder.newBuilder().expireAfterWrite(1000, MILLISECONDS).ticker(fakeTicker).build();
    
        cache.put(10, 100);
        cache.put(20, 200);
        cache.put(4, 2);
    
        fakeTicker.advance(999, MILLISECONDS);
        assertThat(cache.getIfPresent(10)).isEqualTo(100);
        assertThat(cache.getIfPresent(20)).isEqualTo(200);
        assertThat(cache.getIfPresent(4)).isEqualTo(2);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  4. ci/official/containers/ml_build/builder.devtoolset/build_devtoolset.sh

          --enable-threads=posix \
          --with-default-libstdcxx-abi=${LIBSTDCXX_ABI} \
          --with-gcc-major-version-only \
          --with-linker-hash-style="gnu" \
          --with-tune="generic" \
          && \
        make -j 42 && \
        make install
    
    
    # Create the devtoolset libstdc++ linkerscript that links dynamically against
    # the system libstdc++ 4.4 and provides all other symbols statically.
    case "${VERSION}" in
    devtoolset-7)
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Tue Sep 24 20:45:58 GMT 2024
    - 8K bytes
    - Click Count (0)
  5. api/go1.3.txt

    pkg syscall (freebsd-386), const AF_INET6_SDP = 42
    pkg syscall (freebsd-386), const AF_INET6_SDP ideal-int
    pkg syscall (freebsd-386), const AF_INET_SDP = 40
    pkg syscall (freebsd-386), const AF_INET_SDP ideal-int
    pkg syscall (freebsd-386), const AF_MAX = 42
    pkg syscall (freebsd-386), const DLT_MATCHING_MAX = 246
    pkg syscall (freebsd-386), const DLT_MPEG_2_TS = 243
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Click Count (0)
  6. docs/ja/docs/tutorial/path-params.md

                "type": "type_error.integer"
            }
        ]
    }
    ```
    
    これは、パスパラメータ `item_id` が `int` ではない値 `"foo"` だからです。
    
    <a href="http://127.0.0.1:8000/items/4.2" class="external-link" target="_blank">http://127.0.0.1:8000/items/4.2</a> で見られるように、intのかわりに `float` が与えられた場合にも同様なエラーが表示されます。
    
    /// check | 確認
    
    したがって、Pythonの型宣言を使用することで、**FastAPI**はデータのバリデーションを行います。
    
    表示されたエラーには問題のある箇所が明確に指摘されていることに注意してください。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 10.4K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

        assertSame(Collections.reverseOrder(), sortedTable.rowComparator());
      }
    
      public void testColumnComparator() {
        sortedTable = TreeBasedTable.create();
        sortedTable.put("", 42, 'x');
        assertSame(Ordering.natural(), sortedTable.columnComparator());
        assertSame(
            Ordering.natural(),
            ((SortedMap<Integer, Character>) sortedTable.rowMap().values().iterator().next())
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        checkUnmodifiableMultimap(TreeMultimap.<String, Integer>create(), false, "null", 42);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testSerializingUnmodifiableTreeMultimap() {
        Multimap<String, Integer> unmodifiable =
            prepareUnmodifiableTests(TreeMultimap.<String, Integer>create(), false, "null", 42);
        SerializableTester.reserializeAndAssert(unmodifiable);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  9. tests/query_test.go

    	}
    
    	rows.Close()
    }
    
    func TestSelectWithArrayInput(t *testing.T) {
    	DB.Save(&User{Name: "select_with_array", Age: 42})
    
    	var user User
    	DB.Select([]string{"name", "age"}).Where("age = 42 AND name = ?", "select_with_array").First(&user)
    
    	if user.Name != "select_with_array" || user.Age != 42 {
    		t.Errorf("Should have selected both age and name")
    	}
    }
    
    func TestCustomizedTypePrimaryKey(t *testing.T) {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Jul 22 06:21:04 GMT 2025
    - 51K bytes
    - Click Count (0)
  10. internal/dsync/drwmutex_test.go

    }
    
    // Borrowed from rwmutex_test.go
    func TestParallelReaders(t *testing.T) {
    	defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(-1))
    	doTestParallelReaders(1, 4)
    	doTestParallelReaders(3, 4)
    	doTestParallelReaders(4, 2)
    }
    
    // Borrowed from rwmutex_test.go
    func reader(resource string, numIterations int, activity *int32, cdone chan bool) {
    	rwm := NewDRWMutex(ds, resource)
    	for range numIterations {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.4K bytes
    - Click Count (0)
Back to Top