Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 325 for detect (0.04 seconds)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            SMBUtil.writeInt2(65535, buffer2, 58);
    
            // Test should detect buffer overflow (this is working correctly!)
            SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> {
                response.readBytesWireFormat(buffer, 0);
            });
    
            // The validation correctly detects when buffer extends beyond available data
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

        class SignatureTests {
    
            @Test
            @DisplayName("Should detect signed packet")
            void testIsSigned() {
                response.setFlagsForTest(ServerMessageBlock2.SMB2_FLAGS_SIGNED);
    
                assertTrue(response.isSigned());
            }
    
            @Test
            @DisplayName("Should detect unsigned packet")
            void testIsNotSigned() {
                response.setFlagsForTest(0);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/OsService.java

     * <li>Determine the OS family (e.g., Windows, Unix, Mac)</li>
     * <li>Check if the current OS is Windows-based</li>
     * </ul>
     * <p>
     * The service implementation uses system properties to detect OS characteristics:
     * <ul>
     * <li>os.name: The operating system name</li>
     * <li>os.arch: The operating system architecture</li>
     * <li>os.version: The operating system version</li>
     * </ul>
     * <p>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Feb 10 14:12:18 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt

       */
      fun hasNext(failedConnection: RealConnection? = null): Boolean
    
      /**
       * Returns true if the host and port are unchanged from when this was created. This is used to
       * detect if followups need to do a full connection-finding process including DNS resolution, and
       * certificate pin checks.
       */
      fun sameHostAndPort(url: HttpUrl): Boolean
    
      /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 14:58:02 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

                    }
                }
                if (idx < tok.length) {
                    qualifier = tok[idx];
                    fallback = isDigits(qualifier);
                }
    
                // string tokenizer won't detect these and ignores them
                if (part1.contains("..") || part1.startsWith(".") || part1.endsWith(".")) {
                    fallback = true;
                }
    
                if (fallback) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  6. docs/en/docs/fastapi-cli.md

    ///
    
    Internally, **FastAPI CLI** uses [Uvicorn](https://www.uvicorn.dev), a high-performance, production-ready, ASGI server. 😎
    
    The `fastapi` CLI will try to detect automatically the FastAPI app to run, assuming it's an object called `app` in a file `main.py` (or a couple other variants).
    
    But you can configure explicitly the app to use.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/config/WebAuthenticationConfig.java

     * }</pre>
     */
    public class WebAuthenticationConfig {
    
        /**
         * Type of authentication scheme.
         */
        public enum AuthSchemeType {
            /**
             * Let the HTTP client auto-detect the authentication scheme.
             */
            AUTO,
            /**
             * HTTP Basic authentication.
             */
            BASIC,
            /**
             * HTTP Digest authentication.
             */
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Fri Jan 09 23:46:52 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  8. docs/en/docs/tutorial/path-params-numeric-validations.md

    But you can re-order them, and have the value without a default (the query parameter `q`) first.
    
    It doesn't matter for **FastAPI**. It will detect the parameters by their names, types and default declarations (`Query`, `Path`, etc), it doesn't care about the order.
    
    So, you can declare your function as:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/testing.md

    <div class="termy">
    
    ```console
    $ pip install pytest
    
    ---> 100%
    ```
    
    </div>
    
    It will detect the files and tests automatically, execute them, and report the results back to you.
    
    Run the tests with:
    
    <div class="termy">
    
    ```console
    $ pytest
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  10. scripts/doc_parsing_utils.py

        current_block_lang = ""
        current_block_start_line = -1
        current_block_lines = []
    
        for line_no, line in enumerate(text, start=1):
            stripped = line.lstrip()
    
            # --- Detect opening fence ---
            if not (in_code_block3 or in_code_block4):
                if stripped.startswith("```"):
                    current_block_start_line = line_no
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:37:41 GMT 2026
    - 23.5K bytes
    - Click Count (0)
Back to Top