Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 434 for sysdir (0.09 sec)

  1. src/io/fs/format.go

    	b = append(b, ' ')
    
    	b = append(b, name...)
    	if info.IsDir() {
    		b = append(b, '/')
    	}
    
    	return string(b)
    }
    
    // FormatDirEntry returns a formatted version of dir for human readability.
    // Implementations of [DirEntry] can call this from a String method.
    // The outputs for a directory named subdir and a file named hello.go are:
    //
    //	d subdir/
    //	- hello.go
    func FormatDirEntry(dir DirEntry) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:34:35 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/googletest/TestingNativeComponentReportIntegrationTest.groovy

    }
    """
            when:
            succeeds "components"
    
            then:
            outputMatches """
    Native executable 'someExe'
    ---------------------------
    
    Source sets
        C++ source 'someExe:cpp'
            srcDir: src/someExe/cpp
    
    Binaries
        Executable 'someExe:executable'
            build using task: :someExeExecutable
            install using task: :installSomeExeExecutable
            build type: build type 'debug'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. settings.gradle.kts

    val localProperties = Properties().apply {
      val file = File("local.properties")
      if (file.exists()) {
        load(file.inputStream())
      }
    }
    val sdkDir = localProperties.getProperty("sdk.dir")
    if ((androidHome != null || sdkDir != null) && !isKnownBrokenIntelliJ()) {
      include(":okhttp-android")
      include(":android-test")
      include(":android-test-app")
    }
    
    enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Apr 14 14:24:05 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/SimpleGeneratedJavaClassCompilerTest.groovy

        private final ClassPathRegistry classPathRegistry = new DefaultClassPathRegistry(new DefaultClassPathProvider(moduleRegistry))
    
        private final TestFile srcDir = tmpDir.createDir("sources")
        private final TestFile dstDir = tmpDir.createDir("classes")
    
        private ClassPath classPath = DefaultClassPath.EMPTY
    
        def "compiles a simple dependency-less Java class"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  5. src/go/build/build.go

    	default: // "", "on", "auto", anything else
    		// Maybe use modules.
    	}
    
    	if srcDir != "" {
    		var absSrcDir string
    		if filepath.IsAbs(srcDir) {
    			absSrcDir = srcDir
    		} else if ctxt.Dir != "" {
    			return fmt.Errorf("go/build: Dir is non-empty, so relative srcDir is not allowed: %v", srcDir)
    		} else {
    			// Find the absolute source directory. hasSubdir does not handle
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  6. cni/pkg/install/binaries_test.go

    		},
    	}
    
    	for _, c := range cases {
    		t.Run(c.name, func(t *testing.T) {
    			srcDir := t.TempDir()
    			for filename, contents := range c.srcFiles {
    				file.WriteOrFail(t, filepath.Join(srcDir, filename), []byte(contents))
    			}
    
    			targetDir := t.TempDir()
    			for filename, contents := range c.existingFiles {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 18:34:43 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/environment/JreJavaHomeScalaIntegrationTest.groovy

            executer.withEnvironmentVars(envVars).withTasks("compileScala").run()
            then:
            scalaClassFile("org/test/ScalaClazz.class").exists()
        }
    
        private writeScalaTestSource(String srcDir) {
            file(srcDir, 'org/test/ScalaClazz.scala') << """
            package org.test{
                object ScalaClazz {
                    def main(args: Array[String]) {
                        println("Hello, world!")
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  8. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/reporting/components/DiagnosticsComponentReportIntegrationTest.groovy

            succeeds "components"
    
            then:
            outputMatches """
    Native library 'nativeLib'
    --------------------------
    
    Source sets
        C source 'nativeLib:c'
            srcDir: src/nativeLib/c
        C++ source 'nativeLib:cpp'
            srcDir: src/nativeLib/cpp
    
    Binaries
        Shared library 'nativeLib:sharedLibrary'
            build using task: :nativeLibSharedLibrary
            build type: build type 'debug'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jan 16 21:36:13 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-groovy/src/test/groovy/org/gradle/api/internal/tasks/DefaultGroovySourceSetTest.groovy

        }
    
        void canConfigureGroovySource() {
            sourceSet.groovy {
                srcDir 'src/groovy'
            }
            expect:
            CollectionUtils.single(sourceSet.groovy.srcDirs) == tmpDir.file("src/groovy")
        }
    
        void canConfigureGroovySourceUsingAnAction() {
            sourceSet.groovy({ set ->
                set.srcDir 'src/groovy'
            } as Action<SourceDirectorySet>)
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/tasks/defineAsKotlinDelegatedProperty/groovy/build.gradle

    // Assigning registered tasks to a variable in Groovy
    
    def hello = tasks.register('hello') {
        doLast {
            println 'hello'
        }
    }
    
    def copy = tasks.register('copy', Copy) {
        from(file('srcDir'))
        into(buildDir)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 227 bytes
    - Viewed (0)
Back to top