Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 185 for 42 (0.05 sec)

  1. android/guava-tests/test/com/google/common/graph/NetworkMutationTest.java

      public void undirectedNetwork() {
        testNetworkMutation(NetworkBuilder.undirected());
      }
    
      private static void testNetworkMutation(NetworkBuilder<? super Integer, Object> networkBuilder) {
        Random gen = new Random(42); // Fixed seed so test results are deterministic.
    
        for (int trial = 0; trial < NUM_TRIALS; ++trial) {
          MutableNetwork<Integer, Object> network =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 10 19:42:18 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/GraphMutationTest.java

      }
    
      @Test
      public void undirectedGraph() {
        testGraphMutation(GraphBuilder.undirected());
      }
    
      private static void testGraphMutation(GraphBuilder<? super Integer> graphBuilder) {
        Random gen = new Random(42); // Fixed seed so test results are deterministic.
    
        for (int trial = 0; trial < NUM_TRIALS; ++trial) {
          MutableGraph<Integer> graph = graphBuilder.allowsSelfLoops(true).build();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 18 16:17:46 UTC 2017
    - 4.2K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/path-params.md

    devido ao parâmetro da rota `item_id` ter um valor `"foo"`, que não é um `int`.
    
    O mesmo erro apareceria se você tivesse fornecido um `float` ao invés de um `int`, como em: <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 | "Verifique"
    
    
    
    ///
    
    	Então, com a mesma declaração de tipo do Python, o **FastAPI** dá pra você validação de dados.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/UUID.java

                    + bin_to_hex(this.node[ 1 ], 2) + bin_to_hex(this.node[ 2 ], 2) + bin_to_hex(this.node[ 3 ], 2) + bin_to_hex(this.node[ 4 ], 2)
                    + bin_to_hex(this.node[ 5 ], 2);
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          return 42;
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          return (o instanceof SerializableTicker);
        }
      }
    
      private static class SerializableWeigher<K, V> implements Weigher<K, V>, Serializable {
        @Override
        public int weigh(K key, V value) {
          return 42;
        }
    
        @Override
        public int hashCode() {
          return 42;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          return 42;
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          return (o instanceof SerializableTicker);
        }
      }
    
      private static class SerializableWeigher<K, V> implements Weigher<K, V>, Serializable {
        @Override
        public int weigh(K key, V value) {
          return 42;
        }
    
        @Override
        public int hashCode() {
          return 42;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  7. docs/ko/docs/tutorial/path-params.md

            }
        ]
    }
    ```
    
    경로 매개변수 `item_id`는 `int`가 아닌 `"foo"` 값이기 때문입니다.
    
    `int`가 아닌 `float`을 전달하는 경우에도 동일한 오류가 나타납니다: <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 | "확인"
    
    즉, 파이썬 타입 선언을 하면 **FastAPI**는 데이터 검증을 합니다.
    
    오류에는 정확히 어느 지점에서 검증을 통과하지 못했는지 명시됩니다.
    
    이는 API와 상호 작용하는 코드를 개발하고 디버깅하는 데 매우 유용합니다.
    
    ///
    
    ## 문서화
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/mips64.s

    //	LMOVH addr ',' rreg
    //	{
    //		outcode(int($1), &$2, 0, &$4);
    //	}
    	MOVH	foo<>+3(SB), R2
    	MOVH	(R20), R7	// 86870000
    	MOVH	54(R11), R26	// 857a0036
    	MOVH	-42(R3), R20	// 8474ffd6
    	MOVHU	(R20), R7	// 96870000
    	MOVHU	54(R11), R26	// 957a0036
    	MOVHU	-42(R3), R20	// 9474ffd6
    
    //	LMOVB addr ',' rreg
    //	{
    //		outcode(int($1), &$2, 0, &$4);
    //	}
    	MOVB	foo<>+3(SB), R2
    	MOVB	(R4), R21	// 80950000
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

      }
    
      public void testCodePointAt_indexOutOfBoundsException() {
        assertThrows(
            IndexOutOfBoundsException.class, () -> UnicodeEscaper.codePointAt("Testing...", 4, 2));
      }
    
      private static String escapeAsString(Escaper e, String s) {
        return e.escape(s);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

      }
    
      public void testCodePointAt_indexOutOfBoundsException() {
        assertThrows(
            IndexOutOfBoundsException.class, () -> UnicodeEscaper.codePointAt("Testing...", 4, 2));
      }
    
      private static String escapeAsString(Escaper e, String s) {
        return e.escape(s);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top