Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 201 for 42 (0.01 sec)

  1. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

                // Arrange
                SamrPolicyHandle ph = createMockPolicyHandle();
    
                // Act & Assert
                assertDoesNotThrow(() -> new MsrpcSamrConnect2("\\\\srv", -42, ph));
            }
    
            @Test
            @DisplayName("should handle null policy handle")
            void testNullPolicyHandleHandled() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. 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)
  3. 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 Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  4. 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)
  5. src/test/java/org/codelibs/fess/util/ComponentUtilTest.java

            String retrieved = ComponentUtil.getComponent(String.class);
            assertSame(testInstance, retrieved);
        }
    
        public void test_getComponent_byName_fromMap() {
            Integer testInstance = 42;
            String componentName = "testInteger";
            ComponentUtil.register(testInstance, componentName);
    
            Integer retrieved = ComponentUtil.getComponent(componentName);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

          return;
        }
        out.write(data);
        assertTrue(Arrays.equals(data, source.read()));
    
        out.close();
        assertThrows(IOException.class, () -> out.write(42));
    
        // Verify that write had no effect
        assertTrue(Arrays.equals(data, source.read()));
        out.reset();
      }
    
      public void testReset() throws Exception {
        byte[] data = newPreFilledByteArray(100);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (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) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 22 06:21:04 UTC 2025
    - 51K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            nestedMap.put("nested_key", "nested_value");
    
            Map<String, Object> sourceMap = new HashMap<>();
            sourceMap.put("string", "test");
            sourceMap.put("integer", 42);
            sourceMap.put("long", 100L);
            sourceMap.put("double", 3.14);
            sourceMap.put("boolean", false);
            sourceMap.put("null_value", null);
            sourceMap.put("nested", nestedMap);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
Back to top