Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 129 for detect (0.04 seconds)

  1. src/test/java/jcifs/internal/TreeConnectResponseTest.java

            }
    
            @Test
            @DisplayName("Should detect DFS from share flags")
            void testIsShareDfsWithShareFlags() throws Exception {
                // Test with DFS flag
                setPrivateField(response, "shareFlags", Smb2TreeConnectResponse.SMB2_SHAREFLAG_DFS);
                assertTrue(response.isShareDfs(), "Should detect DFS from DFS flag");
    
                // Test with DFS_ROOT flag
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

            @DisplayName("should reject unsupported model versions")
            void shouldRejectUnsupportedModelVersions(String version) {
                assertFalse(ModelVersionUtils.isValidModelVersion(version));
            }
    
            @ParameterizedTest
            @MethodSource("provideInvalidVersions")
            @DisplayName("should reject invalid version formats")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  3. .teamcity/src/main/kotlin/common/CommonExtensions.kt

            "-Dorg.gradle.java.installations.auto-download=false",
            "-Porg.gradle.java.installations.auto-download=false",
            "-Dorg.gradle.java.installations.auto-detect=false",
            "-Porg.gradle.java.installations.auto-detect=false",
        ) + os.javaInstallationLocations(arch)
    
    fun promotionBuildParameters(
        dependencyBuildId: RelativeId,
        extraParameters: String,
        gitUserName: String,
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 05:03:56 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  4. docs/en/docs/management-tasks.md

        * You can normally quickly detect it by going to the "Files changed" tab in the PR and checking if the updated file(s) starts with `docs/en/docs`. The original version of the docs is always in English, so in `docs/en/docs`.
    * `lang-all`: Translations
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 13:59:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ImmutableSet.java

         * log n) on average.
         *
         * <p>The online hash flooding detecting in RegularSetBuilderImpl.add can detect e.g. many
         * exactly matching hash codes, which would cause construction to take O(n^2), but can't detect
         * e.g. hash codes adversarially designed to go into ascending table locations, which keeps
         * construction O(n) (as desired) but then can have O(n) queries later.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Nov 07 16:09:47 GMT 2025
    - 35.3K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. 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)
  9. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

    /**
     * The {@code CycleDetectingLockFactory} creates {@link ReentrantLock} instances and {@link
     * ReentrantReadWriteLock} instances that detect potential deadlock by checking for cycles in lock
     * acquisition order.
     *
     * <p>Potential deadlocks detected when calling the {@code lock()}, {@code lockInterruptibly()}, or
     * {@code tryLock()} methods will result in the execution of the {@link Policy} specified when
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 36K bytes
    - Click Count (0)
  10. maven-tests/mvnw

      :Darwin*x86_64) distributionPlatform=darwin-amd64 ;;
      :Darwin*arm64) distributionPlatform=darwin-aarch64 ;;
      :Linux*x86_64*) distributionPlatform=linux-amd64 ;;
      *)
        echo "Cannot detect native platform for mvnd on $(uname)-$(uname -m), use pure java version" >&2
        distributionPlatform=linux-amd64
        ;;
      esac
      distributionUrl="${distributionUrl%-bin.*}-$distributionPlatform.zip"
      ;;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Sep 25 18:22:49 GMT 2025
    - 10.4K bytes
    - Click Count (0)
Back to Top