Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 77 for detection (0.06 seconds)

  1. cmd/leak-detect_test.go

    	"strings"
    	"time"
    )
    
    const (
    	// deadline (in seconds) up to which the go routine leak detection has to be retried.
    	leakDetectDeadline = 5
    	// pause time (in milliseconds) between each snapshot at the end of the go routine leak detection.
    	leakDetectPauseTimeMs = 50
    )
    
    // LeakDetect - type with  methods for go routine leak detection.
    type LeakDetect struct {
    	relevantRoutines map[string]bool
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

        private ModelVersionUtils() {
            // Utility class
        }
    
        /**
         * Detects the model version from a POM document.
         * Uses both the modelVersion element and namespace URI for detection.
         *
         * @param pomDocument the POM document (domtrip Document)
         * @return the detected model version
         */
        public static String detectModelVersion(Document pomDocument) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  3. .github/workflows/codeql-analysis.yml

          matrix:
            # Override automatic language detection by changing the below list
            # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
            language: ['java', 'javascript']
            # Learn more...
            # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
    
        steps:
        - name: Checkout repository
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 11 22:12:03 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. .teamcity/src/main/kotlin/model/CIBuildModel.kt

            timeout = 420,
            channel = "experiments",
        ),
        FLAKINESS_DETECTION(
            displayName = "Performance Test Flakiness Detection",
            timeout = 600,
            defaultBaselines = "flakiness-detection-commit",
            channel = "flakiness-detection",
            extraParameters = "--checks none --rerun --cross-version-only",
        ),
        AD_HOC(
            displayName = "AdHoc Performance Test",
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Nov 05 13:00:26 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  5. .teamcity/src/main/kotlin/configurations/PerformanceTest.kt

                }
                failureConditions {
                    // We have test-retry to handle the crash in tests
                    javaCrash = false
                    // We want to see the flaky tests for flakiness detection
                    supportTestRetry = (performanceTestBuildSpec.type != PerformanceTestType.FLAKINESS_DETECTION)
                }
                if (testProjects.isNotEmpty()) {
                    steps {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 22 07:15:16 GMT 2025
    - 6K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

    /**
     * Unit tests for the {@link ModelVersionUtils} utility class.
     * Tests model version detection, validation, upgrade logic, and namespace operations.
     */
    @DisplayName("ModelVersionUtils")
    class ModelVersionUtilsTest {
    
        @Nested
        @DisplayName("Model Version Detection")
        class ModelVersionDetectionTests {
    
            @Test
            @DisplayName("should detect model version from document")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryAwareRequest.java

         *   <li>Ensures no duplicate repositories exist in the list</li>
         *   <li>Ensures no null repository entries exist in the list</li>
         * </ul>
         *
         * <p>Duplicate detection is based on the {@code RemoteRepository#equals(Object)}
         * method, which typically compares repository IDs and URLs.
         *
         * @param repositories the list of repositories to validate, may be {@code null}
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 5K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

      /**
       * Prunes any leaked calls and then returns the number of remaining live calls on [connection].
       * Calls are leaked if the connection is tracking them but the application code has abandoned
       * them. Leak detection is imprecise and relies on garbage collection.
       */
      private fun pruneAndGetAllocationCount(
        connection: RealConnection,
        now: Long,
      ): Int {
        connection.assertLockHeld()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

            public static final String COLOR = "color";
            public static final String OFFLINE = "o";
            public static final String HELP = "h";
    
            // Not an Option: used only for early detection, when CLI args may not be even parsed
            public static final String SHOW_ERRORS_CLI_ARG = "-" + SHOW_ERRORS;
    
            // parameters handled by script
            public static final String DEBUG = "debug";
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Oct 08 07:36:42 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

            } catch (Exception e) {
                context.parsingFailed = true;
                parserRequest.logger().error("Error reading core extensions descriptor", e);
            }
    
            // CI detection
            context.ciInfo = detectCI(context);
    
            // only if not failed so far; otherwise we may have no options to validate
            if (!context.parsingFailed) {
                validate(context);
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:39:11 GMT 2025
    - 25.5K bytes
    - Click Count (0)
Back to Top