Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 134 for isFile (0.04 seconds)

  1. schema/field.go

    					if !fieldValue.IsValid() {
    						fieldValue = reflect.New(fieldType)
    					} else if fieldValue.IsNil() {
    						fieldValue.Set(reflect.New(fieldType))
    					}
    					fieldValue.Elem().Set(reflectV)
    					return
    				} else if reflectValType.ConvertibleTo(fieldType) {
    					if fieldValue.IsNil() {
    						fieldValue.Set(reflect.New(fieldType))
    					}
    
    					fieldValue.Elem().Set(reflectV.Convert(fieldType))
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sat Nov 22 03:14:36 GMT 2025
    - 32.2K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedViolationsProvider.groovy

        private final File acceptedViolationsDir
        private Map<String, String> acceptedViolations = null
    
        AcceptedViolationsProvider(Directory acceptedViolationsDir) {
            this.acceptedViolationsDir = acceptedViolationsDir.asFile
        }
    
        Map<String, String> get() {
            if (acceptedViolations == null) {
                acceptedViolations = AcceptedApiChanges.parse(
                    acceptedViolationsDir.listFiles()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  3. buildSrc/src/main/kotlin/JavaModules.kt

        options.compilerArgs.addAll(
          listOf(
            "--patch-module",
            "$moduleName=${compileKotlinTask.destinationDirectory.get().asFile}",
          ),
        )
    
        classpath = compileKotlinTask.libraries
        modularity.inferModulePath.set(true)
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Sep 21 06:22:22 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  4. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/model/GradleDistribution.kt

    import org.gradle.api.tasks.PathSensitivity
    
    abstract class GradleDistribution {
    
        @get:Internal
        abstract val homeDir: DirectoryProperty
    
        @get:Input
        val name: Provider<String> = homeDir.asFile.map { it.parentFile.parentFile.name }
    
        /**
         * Make sure this stays type FileCollection (lazy) to avoid losing dependency information.
         */
        @get:InputFiles
        @get:PathSensitive(PathSensitivity.RELATIVE)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 18 18:02:41 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  5. build-logic/jvm/src/main/kotlin/gradlebuild.launchable-jar.gradle.kts

    }
    
    tasks.jar.configure {
        val classpath = resolveManifestClasspath.flatMap { configuration ->
            configuration.elements.map { classpathDependency ->
                classpathDependency.joinToString(" ") { it.asFile.name }
            }
        }
        manifest.attributes("Class-Path-Source" to "manifestClasspath")
        manifest.attributes("Class-Path" to classpath)
        if (app.mainClassName.isPresent) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 21 18:38:28 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  6. cmd/xl-storage-format-v2_gen.go

    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "V2Obj":
    			if dc.IsNil() {
    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "ObjectV2")
    					return
    				}
    				z.ObjectV2 = nil
    			} else {
    				if z.ObjectV2 == nil {
    					z.ObjectV2 = new(struct {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 55.8K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/ExplodeZipAndFindJars.groovy

        void transform(TransformOutputs outputs) {
            File gradleJars = outputs.dir("gradle-jars")
            File dependencies = outputs.dir("gradle-dependencies")
            try (ZipInputStream zin = new ZipInputStream(artifact.get().asFile.newInputStream())) {
                ZipEntry zipEntry
                while (zipEntry = zin.nextEntry) {
                    String shortName = zipEntry.name
                    if (shortName.contains('/')) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Jul 08 13:44:59 GMT 2021
    - 2.4K bytes
    - Click Count (0)
  8. build-logic-settings/build-environment/src/main/kotlin/gradlebuild/basics/BuildEnvironmentService.kt

        val gitBranch = git("rev-parse", "--abbrev-ref", "HEAD")
    
        @Suppress("UnstableApiUsage")
        private
        fun git(vararg args: String): Provider<String> {
            val projectDir = parameters.rootProjectDir.asFile.get()
            val execOutput = providers.exec {
                workingDir = projectDir
                isIgnoreExitValue = true
                commandLine = listOf("git", *args)
                if (OperatingSystem.current().isWindows) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jul 26 10:02:49 GMT 2024
    - 2K bytes
    - Click Count (0)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateSmokeTestedPluginsVersions.kt

            updateProperties(fetchedVersions)
        }
    
        private
        fun getPluginIds(): List<String> {
            val props = Properties()
            propertiesFile.get().asFile.reader().use { input ->
                props.load(input)
            }
            return props.keys.map { it as String }.sorted()
        }
    
        private
        fun fetchLatestVersions(pluginIds: List<String>): List<TestedVersion> =
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Sep 18 16:06:17 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  10. utils/utils.go

    		return true
    	}
    	if x == nil || y == nil {
    		return false
    	}
    
    	xval := reflect.ValueOf(x)
    	yval := reflect.ValueOf(y)
    	if xval.Kind() == reflect.Ptr && xval.IsNil() ||
    		yval.Kind() == reflect.Ptr && yval.IsNil() {
    		return false
    	}
    
    	if valuer, ok := x.(driver.Valuer); ok {
    		x, _ = valuer.Value()
    	}
    	if valuer, ok := y.(driver.Valuer); ok {
    		y, _ = valuer.Value()
    	}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Oct 30 10:56:26 GMT 2025
    - 4.5K bytes
    - Click Count (0)
Back to Top