Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1521 - 1530 of 3,004 for if (0.02 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/rtinfo/RuntimeInformation.java

         *
         * @param versionRange The version range to match the current Maven runtime against, must not be {@code null}.
         * @return {@code true} if the current Maven runtime matches the specified version range, {@code false} otherwise.
         * @throws IllegalArgumentException If the specified version range is {@code null}, empty or otherwise not a valid
         *             version specification.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  2. internal/disk/stat_freebsd.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package disk
    
    import (
    	"errors"
    	"fmt"
    	"syscall"
    )
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    func GetInfo(path string, _ bool) (info Info, err error) {
    	s := syscall.Statfs_t{}
    	err = syscall.Statfs(path, &s)
    	if err != nil {
    		return Info{}, err
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

            if (Artifact.SCOPE_SYSTEM.equals(artifact.getScope())) {
                return;
            }
    
            ArtifactRepository localRepo = request.getLocalRepository();
    
            File localFile = new File(localRepo.getBasedir(), localRepo.pathOf(artifact));
    
            artifact.setFile(localFile);
    
            if (!localFile.exists()) {
                if (request.getRemoteRepositories().isEmpty()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 12K bytes
    - Click Count (0)
  4. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts

     */
    if (buildCacheEnabled()) {
        registerBuildScanInfoCollectingService(CacheMissMonitorBuildService::class.java, ::isCacheMissMonitoredTask) { gradleRootProject, cacheMissInBuildLogic, cacheMissInMainBuild ->
            gradleRootProject.extensions.findByType<BuildScanConfiguration>()?.run {
                buildFinished {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Apr 11 20:57:49 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  5. docs/LICENSE

    Your exercise of the Licensed Rights is expressly made subject to the
    following conditions.
    
      a. Attribution.
    
           1. If You Share the Licensed Material (including in modified
              form), You must:
    
                a. retain the following if it is supplied by the Licensor
                   with the Licensed Material:
    
                     i. identification of the creator(s) of the Licensed
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon May 10 16:50:06 GMT 2021
    - 18.2K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultModelPathTranslator.java

            return this;
        }
    
        @Override
        public void alignToBaseDirectory(Model model, File basedir, ModelBuildingRequest request) {
            if (model == null || basedir == null) {
                return;
            }
    
            Build build = model.getBuild();
    
            if (build != null) {
                build.setDirectory(alignToBaseDirectory(build.getDirectory(), basedir));
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactStatus.java

        private ArtifactStatus(String key, int rank) {
            this.rank = rank;
            this.key = key;
    
            if (map == null) {
                map = new HashMap<>();
            }
            map.put(key, this);
        }
    
        public static ArtifactStatus valueOf(String status) {
            ArtifactStatus retVal = null;
    
            if (status != null) {
                retVal = map.get(status);
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3K bytes
    - Click Count (0)
  8. internal/disk/stat_linux_32bit.go

    	fsTypeString, ok := fsType2StringMap[fsTypeHex]
    	if !ok {
    		return "UNKNOWN"
    	}
    	return fsTypeString
    }
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    func GetInfo(path string, _ bool) (info Info, err error) {
    	s := syscall.Statfs_t{}
    	err = syscall.Statfs(path, &s)
    	if err != nil {
    		return Info{}, err
    	}
    	reservedBlocks := s.Bfree - s.Bavail
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BlocksRenderer.java

            }
    
            if (!hasBlocks(classDoc)) {
                Element para = document.createElement("para");
                summarySection.appendChild(para);
                para.appendChild(document.createTextNode("No script blocks"));
            }
        }
    
        @Override
        public void renderDetailsTo(ClassDoc classDoc, Element parent) {
            if (hasBlocks(classDoc)) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4K bytes
    - Click Count (0)
  10. callbacks/row.go

    package callbacks
    
    import (
    	"gorm.io/gorm"
    )
    
    func RowQuery(db *gorm.DB) {
    	if db.Error == nil {
    		BuildQuerySQL(db)
    		if db.DryRun || db.Error != nil {
    			return
    		}
    
    		if isRows, ok := db.Get("rows"); ok && isRows.(bool) {
    			db.Statement.Settings.Delete("rows")
    			db.Statement.Dest, db.Error = db.Statement.ConnPool.QueryContext(db.Statement.Context, db.Statement.SQL.String(), db.Statement.Vars...)
    		} else {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Feb 08 05:40:41 GMT 2023
    - 581 bytes
    - Click Count (0)
Back to Top