Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 160 for 42 (0.01 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

            // v1-->v3
            graph.addEdge(v1, v3, new MetadataGraphEdge("1.1", true, null, null, 2, 1));
            graph.addEdge(v1, v3, new MetadataGraphEdge("1.2", true, null, null, 4, 2));
    
            // v3-->v4
            graph.addEdge(v3, v4, new MetadataGraphEdge("1.1", true, ArtifactScopeEnum.runtime, null, 2, 2));
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            Map<String, Object> doc = new HashMap<>();
    
            assertEquals("default", DocumentUtil.getValue(doc, "nonexistent", String.class, "default"));
            assertEquals(Integer.valueOf(42), DocumentUtil.getValue(doc, "nonexistent", Integer.class, 42));
            assertEquals(Long.valueOf(123L), DocumentUtil.getValue(doc, "nonexistent", Long.class, 123L));
    
            doc.put("key", "value");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java

        assertEquals(null, Atomics.newReference(null).get());
        assertEquals(OBJECT, Atomics.newReference(OBJECT).get());
      }
    
      public void testNewReferenceArray_withLength() throws Exception {
        int length = 42;
        AtomicReferenceArray<String> refArray = Atomics.newReferenceArray(length);
        for (int i = 0; i < length; ++i) {
          assertEquals(null, refArray.get(i));
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

      }
    
      @SuppressWarnings("ReturnValueIgnored")
      public void testMaximumWeight_withWeigher() {
        CacheBuilder<Object, Object> builder = CacheBuilder.from(parse("maximumWeight=9000"));
        builder.weigher(constantWeigher(42)).build(CacheLoader.from(Suppliers.ofInstance(null)));
      }
    
      @SuppressWarnings("ReturnValueIgnored")
      public void testMaximumWeight_withoutWeigher() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  7. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/UUID.java

                    + bin_to_hex(clock_seq_hi_and_reserved, 2) + bin_to_hex(clock_seq_low, 2) + '-' + bin_to_hex(node[0], 2)
                    + bin_to_hex(node[1], 2) + bin_to_hex(node[2], 2) + bin_to_hex(node[3], 2) + bin_to_hex(node[4], 2)
                    + bin_to_hex(node[5], 2);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. 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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. 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.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top