Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 591 - 600 of 951 for passing (0.07 seconds)

  1. src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java

            assertThrows(PACDecodingException.class, () -> new KerberosToken(malformedToken));
        }
    
        /**
         * Test constructor with missing APPLICATION tag in the token.
         *
         * @throws IOException if an I/O error occurs
         */
        @Test
        void testConstructorWithMissingApplicationTag() throws IOException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  2. docs/uk/docs/tutorial/query-params.md

    ```
    http://127.0.0.1:8000/items/foo-item
    ```
    
    ...без додавання обов’язкового параметра `needy`, ви побачите помилку на кшталт:
    
    ```JSON
    {
      "detail": [
        {
          "type": "missing",
          "loc": [
            "query",
            "needy"
          ],
          "msg": "Field required",
          "input": null
        }
      ]
    }
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  3. build-conventions/src/main/java/org/elasticsearch/gradle/internal/checkstyle/MissingJavadocTypeCheck.java

        /**
         * A key is pointing to the warning message text in "messages.properties"
         * file.
         */
        public static final String MSG_JAVADOC_MISSING = "javadoc.missing";
    
        /** Specify the visibility scope where Javadoc comments are checked. */
        private Scope scope = Scope.PUBLIC;
    
        /** Specify the visibility scope where Javadoc comments are not checked. */
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jun 10 23:06:44 GMT 2021
    - 5.5K bytes
    - Click Count (0)
  4. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/PomValidationTask.java

                logError(element, "is empty");
            }
        }
    
        private <T> void validateNonNull(String element, T value, Runnable validator) {
            if (value == null) {
                logError(element, "is missing");
            } else {
                validator.run();
            }
        }
    
        private void validateString(String element, String value) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

        }
    
        // Test evaluate method with missing parameter
        @Test
        public void test_evaluate_withMissingParameter() {
            String template = "Hello ${name} and ${other}";
            Map<String, Object> paramMap = new HashMap<>();
            paramMap.put("name", "Bob");
            // "other" parameter is missing
    
            Object result = scriptEngine.evaluate(template, paramMap);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  6. docs/zh/docs/tutorial/security/simple-oauth2.md

    接下来,首先将数据放入 Pydantic 的 `UserInDB` 模型。
    
    注意:永远不要保存明文密码,本例暂时先使用(伪)哈希密码系统。
    
    如果密码不匹配,则返回与上面相同的错误。
    
    #### 密码哈希 { #password-hashing }
    
    **哈希**是指,将指定内容(本例中为密码)转换为形似乱码的字节序列(其实就是字符串)。
    
    每次传入完全相同的内容(比如,完全相同的密码)时,得到的都是完全相同的乱码。
    
    但这个乱码无法转换回传入的密码。
    
    ##### 为什么使用密码哈希 { #why-use-password-hashing }
    
    原因很简单,假如数据库被盗,窃贼无法获取用户的明文密码,得到的只是哈希值。
    
    这样一来,窃贼就无法在其它应用中使用窃取的密码,要知道,很多用户在所有系统中都使用相同的密码,风险超大。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/net/URLUtil.java

            try {
                return new URL(spec);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Creates a <code>URL</code> by parsing the specified spec within the specified context.
         *
         * @param context
         *            The context in which to parse the spec. Must not be {@literal null}.
         * @param spec
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/primitives/UnsignedInts.java

        try {
          return parseUnsignedInt(request.rawValue, request.radix);
        } catch (NumberFormatException e) {
          NumberFormatException decodeException =
              new NumberFormatException("Error parsing value: " + stringValue);
          decodeException.initCause(e);
          throw decodeException;
        }
      }
    
      /**
       * Returns the unsigned {@code int} value represented by the given decimal string.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 13.9K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt

     */
    package okhttp3
    
    import kotlin.test.Test
    import kotlin.test.assertEquals
    import kotlin.test.assertNull
    import okhttp3.MediaType.Companion.toMediaTypeOrNull
    
    /**
     * Test MediaType API and parsing.
     *
     * This test includes tests from [Guava's](https://code.google.com/p/guava-libraries/)
     * MediaTypeTest.
     */
    open class MediaTypeTest {
      open fun MediaType.charsetName(): String? = parameter("charset")?.uppercase()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 7.5K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultisetCountTester<E> extends AbstractMultisetTester<E> {
    
      public void testCount_0() {
        assertEquals("multiset.count(missing) didn't return 0", 0, getMultiset().count(e3()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testCount_1() {
        assertEquals("multiset.count(present) didn't return 1", 1, getMultiset().count(e0()));
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.6K bytes
    - Click Count (0)
Back to Top