Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 169 for 42 (0.04 sec)

  1. 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)
  2. 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)
  3. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                context = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt);
    
                // Act
                int size = context.size();
    
                // Assert
                assertEquals(4 + (2 * hashAlgoCount) + 16, size);
            }
    
            @Test
            @DisplayName("Should handle offset in decode")
            void testDecodeWithOffset() throws SMBProtocolDecodingException {
                // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  4. 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)
  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. 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)
  7. 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)
  8. 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)
  9. 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)
  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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top