Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1841 - 1850 of 2,742 for throws (0.05 sec)

  1. docs/vi/docs/python-types.md

    {!../../docs_src/python_types/tutorial009c.py!}
    ```
    
    Tham số `name` được định nghĩa là `Optional[str]`, nhưng nó **không phải là tùy chọn**, bạn không thể gọi hàm mà không có tham số:
    
    ```Python
    say_hi()  # Oh, no, this throws an error! 😱
    ```
    
    Tham số `name` **vẫn được yêu cầu** (không phải là *tùy chọn*) vì nó không có giá trị mặc định. Trong khi đó, `name` chấp nhận `None` như là giá trị:
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  2. docs/pt/docs/python-types.md

    {!../../docs_src/python_types/tutorial009c.py!}
    ```
    
    O paâmetro `name` é definido como `Optional[str]`, mas ele **não é opcional**, você não pode chamar a função sem o parâmetro:
    
    ```Python
    say_hi()  # Oh, no, this throws an error! 😱
    ```
    
    O parâmetro `name` **ainda é obrigatório** (não *opicional*) porque ele não possui um valor padrão. Mesmo assim, `name` aceita `None` como valor:
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 15 12:32:27 UTC 2024
    - 18K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/LongMathTest.java

              int expected = (x < y) ? 1 : 0;
              int actual = LongMath.lessThanBranchFree(x, y);
              assertEquals(expected, actual);
            }
          }
        }
      }
    
      // Throws an ArithmeticException if "the simple implementation" of binomial coefficients overflows
      @GwtIncompatible // TODO
      private long simpleBinomial(int n, int k) {
        long accum = 1;
        for (int i = 0; i < k; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/CharMatcher.java

       * are inclusive). For example, to match any lowercase letter of the English alphabet, use {@code
       * CharMatcher.inRange('a', 'z')}.
       *
       * @throws IllegalArgumentException if {@code endInclusive < startInclusive}
       */
      public static CharMatcher inRange(final char startInclusive, final char endInclusive) {
        return new InRange(startInclusive, endInclusive);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

    public class QueryHelperTest extends UnitFessTestCase {
    
        private QueryHelper queryHelper;
    
        private QueryFieldConfig queryFieldConfig;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            queryHelper = new QueryHelper() {
                protected QueryParser getQueryParser() {
                    QueryParser queryParser = new QueryParser();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_4x.md

        scheduling. In your debugger you will see new thread names and more use of daemon threads.
    
     *  Fix: Don't drop callbacks on unexpected exceptions. When an interceptor throws an unchecked
        exception the callback is now notified that the call was canceled. The exception is still sent
        to the uncaught exception handler for reporting and recovery.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

      @SuppressWarnings("rawtypes")
      private Class<? extends Enum> enumType;
    
      private String[] sampleData;
    
      @BeforeExperiment
      void setUp() throws ClassNotFoundException {
        Preconditions.checkArgument(hitRate >= 0 && hitRate <= 1, "hitRate must be in the range [0,1]");
    
        enumType =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Ascii.java

       *       into account
       *   <li>the appropriate truncation indicator may be locale-dependent
       *   <li>it is safe to use non-ASCII characters in the truncation indicator
       * </ul>
       *
       * @throws IllegalArgumentException if {@code maxLength} is less than the length of {@code
       *     truncationIndicator}
       * @since 16.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(converter.reverse().convert(1e-6f)).isEqualTo("1.0E-6");
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testStringConverter_nullPointerTester() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicInstanceMethods(Floats.stringConverter());
      }
    
      @GwtIncompatible
      public void testTryParse_withNullNoGwt() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(converter.reverse().convert(0666)).isEqualTo("438");
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testStringConverter_nullPointerTester() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicInstanceMethods(Ints.stringConverter());
      }
    
      public void testTryParse() {
        tryParseAndAssertEquals(0, "0");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 29.1K bytes
    - Viewed (0)
Back to top