Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 325 for detect (0.36 seconds)

  1. 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)
  2. build-logic/binary-compatibility/build.gradle.kts

    plugins {
        id("gradlebuild.build-logic.kotlin-dsl-gradle-plugin")
        id("gradlebuild.build-logic.groovy-dsl-gradle-plugin")
    }
    
    description = "Provides a plugin for configuring japicmp-gradle-plugin to detect binary incompatible changes"
    
    dependencies {
        api(buildLibs.japiCmpPlugin)
    
        implementation(projects.dependencyModules)
        implementation("gradlebuild:basics")
        implementation("gradlebuild:module-identity")
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 30 09:06:26 GMT 2026
    - 927 bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/cisupport/CIDetector.java

    import org.apache.maven.api.cli.cisupport.CIInfo;
    
    /**
     * Service interface to detect CI system process runs on, if any.
     *
     * @since 4.0.0
     */
    public interface CIDetector {
        /**
         * Returns non-empty optional with CI information, if CI is detected, empty otherwise.
         */
        Optional<CIInfo> detectCI();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Apr 13 18:50:07 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  4. src/main/assemblies/files/service.bat

    rem Detect JVM version to figure out appropriate executable to use
    if not exist "%JAVA_HOME%\bin\java.exe" (
    echo JAVA_HOME points to an invalid Java installation (no java.exe found in "%JAVA_HOME%"^). Exiting...
    goto:eof
    )
    
    "%JAVA_HOME%\bin\java" -Xmx50M -version > nul 2>&1
    
    if errorlevel 1 (
    	echo Warning: Could not start JVM to detect version, defaulting to x86:
    	goto x86
    )
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 6K bytes
    - Click Count (0)
  5. cmd/untar.go

    	"github.com/pierrec/lz4/v4"
    )
    
    // Max bzip2 concurrency across calls. 50% of GOMAXPROCS.
    var bz2Limiter = pbzip2.CreateConcurrencyPool((runtime.GOMAXPROCS(0) + 1) / 2)
    
    func detect(r *bufio.Reader) format {
    	z, err := r.Peek(4)
    	if err != nil {
    		return formatUnknown
    	}
    	for _, f := range magicHeaders {
    		if bytes.Equal(f.header, z[:len(f.header)]) {
    			return f.f
    		}
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 6K bytes
    - Click Count (2)
  6. .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)
  7. misc/ios/README

    id and a provisioned bundle id to use. They're specified with the environment variables
    GOIOS_DEV_ID, GOIOS_TEAM_ID and GOIOS_APP_ID. The detect.go program in this directory will
    attempt to auto-detect suitable values. Run it as
    
    	go run detect.go
    
    which will output something similar to
    
    	export GOIOS_DEV_ID="iPhone Developer: ******@****.*** (XXXXXXXX)"
    	export GOIOS_APP_ID=YYYYYYYY.some.bundle.id
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Dec 29 21:49:26 GMT 2020
    - 2.7K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/IsProbablyUtf8.kt

     */
    package okhttp3.internal
    
    import java.io.EOFException
    import okio.BufferedSource
    
    /**
     * Returns true if the body in question probably contains human-readable text. Uses a small
     * sample of code points to detect Unicode control characters commonly used in binary file
     * signatures.
     *
     * @param codePointLimit the number of code points to read in order to make a decision.
     */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Oct 06 22:47:06 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/EventListenerRelay.kt

     *
     * Each instance processes a single event on [call], and then adds a successor [EventListenerRelay]
     * on the same [call] to process the next event.
     *
     * By forcing the list of listeners to change after every event, we can detect if buggy code caches
     * a stale [EventListener] in a field or local variable.
     */
    class EventListenerRelay(
      val call: Call,
      val eventRecorder: EventRecorder,
    ) {
      private val eventListenerAdapter =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/LanguageHelper.java

                    return l;
                }
            }
            return null;
        }
    
        /**
         * Sets the language detector.
         *
         * @param detector The language detector.
         */
        public void setDetector(final LanguageDetector detector) {
            this.detector = detector;
        }
    
        /**
         * Creates a script for updating a document with language information.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 6.9K bytes
    - Click Count (0)
Back to Top