Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 673 for Valid (0.02 sec)

  1. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            m.ptype = 0; // Request type
            NdrBuffer buf = new NdrBuffer(new byte[1024], 0);
            m.encode(buf);
    
            buf.setIndex(0);
            // Decode will throw exception as ptype 0 is not a valid response type
            assertThrows(NdrException.class, () -> m.decode(buf));
        }
    
        @Test
        void testRoundTripEncodeDecodeForResponseType() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/custom-request-and-route.md

    But this example is still valid and it shows how to interact with the internal components.
    
    ///
    
    We can also use this same approach to access the request body in an exception handler.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. src/arena/arena.go

    safe. Typically, a use-after-free bug will result in a fault and a helpful
    error message, but this package reserves the right to not force a fault on
    freed memory. That means a valid implementation of this package is to just
    allocate all memory the way the runtime normally would, and in fact, it
    reserves the right to occasionally do so for some Go values.
    */
    package arena
    
    import (
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Oct 12 20:23:36 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKana.java

     * String normalized = normalizer.normalize("ガギグゲゴ", "field");
     * System.out.println(normalized); // Outputs: ガギグゲゴ
     * }
     * </pre>
     *
     * <p>Note: This class assumes that the input string contains valid Hankaku Kana characters
     * and does not perform any validation on the input.</p>
     *
     * @see Normalizer
     */
    public class HankakuKanaToZenkakuKana implements Normalizer {
        /**
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java

            assertEquals("testService", nonPagerComponentName);
        }
    
        // Test class name creation from component name
        public void test_fromComponentNameToClassName() {
            // Test with valid component name - using custom method
            MockNamingConvention mockNaming = (MockNamingConvention) namingConvention;
            String className = mockNaming.fromComponentNameToPartOfClassName("testPager");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

            // After destroy, generator should not be available
            assertFalse(thumbnailGenerator.isAvailable());
        }
    
        public void test_createTask_withValidParams() {
            // Test task creation with valid parameters
            String path = "/path/to/document.pdf";
            Map<String, Object> docMap = new HashMap<>();
            docMap.put("mimetype", "application/pdf");
            docMap.put("title", "Test Document");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructorWithNullMessageAndValidCause() {
            // Test constructor with null message and valid cause
            Throwable cause = new IllegalArgumentException("Invalid argument");
            GsaConfigException exception = new GsaConfigException(null, cause);
    
            assertNotNull(exception);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  8. api/maven-api-core/src/test/java/org/apache/maven/api/feature/FeaturesTest.java

            assertFalse(Features.deployBuildPom(properties));
        }
    
        @Test
        void testDeployBuildPomWithYesString() {
            // Test that "yes" string defaults to false (not a valid boolean)
            Map<String, Object> properties = Map.of(Constants.MAVEN_DEPLOY_BUILD_POM, "yes");
            assertFalse(Features.deployBuildPom(properties));
        }
    
        @Test
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jul 04 19:42:23 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

            assertEquals(SsoResponseType.METADATA, values[0]);
            assertEquals(SsoResponseType.LOGOUT, values[1]);
        }
    
        public void test_valueOf() {
            // Test valueOf for valid enum names
            assertEquals(SsoResponseType.METADATA, SsoResponseType.valueOf("METADATA"));
            assertEquals(SsoResponseType.LOGOUT, SsoResponseType.valueOf("LOGOUT"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. okhttp-zstd/src/test/java/okhttp3/zstd/ZstdInterceptorTest.kt

        val responseString = decompressed.body.string()
        assertThat(responseString).isEqualTo("hello unknown algorithm world")
      }
    
      @Test
      fun testFailsDecompress() {
        val s = "this is not valid zstd".encodeUtf8()
    
        val response =
          response("https://example.com/", s) {
            header("Content-Encoding", "zstd")
          }
    
        val decompressed = zstdInterceptor.decompress(response)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 4.8K bytes
    - Viewed (1)
Back to top