Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 146 for hasPath (0.12 sec)

  1. src/cmd/go/internal/toolchain/switch.go

    func HasAuto() bool {
    	env := cfg.Getenv("GOTOOLCHAIN")
    	return env == "auto" || strings.HasSuffix(env, "+auto")
    }
    
    // HasPath reports whether the GOTOOLCHAIN setting allows "path" upgrades.
    func HasPath() bool {
    	env := cfg.Getenv("GOTOOLCHAIN")
    	return env == "path" || strings.HasSuffix(env, "+path")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/NormalizingCopyActionDecoratorTest.groovy

                getRelativePath() >> RelativePath.parse(false, path)
                isDirectory() >> isDir
                isIncludeEmptyDirs() >> includeEmptyDirs
            }
        }
    
        private Matcher<FileCopyDetailsInternal> hasPath(final String path) {
            return new BaseMatcher<FileCopyDetailsInternal>() {
                void describeTo(Description description) {
                    description.appendText("has path ").appendValue(path)
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 22 14:38:33 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/file/FileResolutionIntegrationTest.groovy

    class FileResolutionIntegrationTest extends AbstractIntegrationSpec {
        def "file conversion works with java.nio.file.Path"() {
            buildFile """
    java.nio.file.Path fAsPath = buildDir.toPath().resolve('testdir').toAbsolutePath()
    def f = file(fAsPath)
    assert f == fAsPath.toFile()
    """
    
            expect:
            succeeds()
        }
    
        def "file conversion works with Provider of supported types"() {
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 19:24:20 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/attributes/HierarchicalAttributeContainerTest.groovy

            new HierarchicalAttributeContainer(attributesFactory, hasBoth, hasNone).hashCode() != new HierarchicalAttributeContainer(attributesFactory, hasBoth, hasOne).hashCode()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 27 04:00:15 UTC 2022
    - 8.7K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/integTest/groovy/org/gradle/integtests/ExecIntegrationTest.groovy

                    def testFile = file("${'$'}buildDir/${'$'}name")
                    executable = Jvm.current().getJavaExecutable()
                    args '-cp', sourceSets.main.runtimeClasspath.asPath, 'org.gradle.TestMain', projectDir, testFile
                    doLast {
                        assert testFile.exists()
                    }
                    assert delegate instanceof ExtensionAware
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 20:01:36 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/report/PerformanceExecutionGraphRenderer.java

        }
    
        default boolean hasData(MeasuredOperationList measuredOperations) {
            return !measuredOperations.getTotalTime().isEmpty();
        }
    
        default ExecutionGraph toExecutionGraph(PerformanceTestExecution execution, int index) {
            Line baseline = new Line(execution.getScenarios().stream().filter(this::hasData).findFirst().orElse(new MeasuredOperationList()));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/internal/trace/raw/writer.go

    		}
    	}
    
    	// Write out the length of the data.
    	if spec.HasData {
    		w.buf = binary.AppendUvarint(w.buf, uint64(len(e.Data)))
    	}
    
    	// Write out varint events.
    	_, err := w.w.Write(w.buf)
    	w.buf = w.buf[:0]
    	if err != nil {
    		return err
    	}
    
    	// Write out data.
    	if spec.HasData {
    		_, err := w.w.Write(e.Data)
    		return err
    	}
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/ant/useExternalAntTaskWithConfig/groovy/build.gradle

    // tag::use-classpath[]
    tasks.register('check') {
        doLast {
            ant.taskdef(name: 'pmd',
                        classname: 'net.sourceforge.pmd.ant.PMDTask',
                        classpath: configurations.pmd.asPath)
            ant.pmd(shortFilenames: 'true',
                    failonruleviolation: 'true',
                    rulesetfiles: file('pmd-rules.xml').toURI().toString()) {
                formatter(type: 'text', toConsole: 'true')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 697 bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/DataService.java

        int getCount(String sessionId);
    
        void delete(String sessionId);
    
        void deleteAll();
    
        RESULT getAccessResult(String sessionId, String url);
    
        List<RESULT> getAccessResultList(String url, boolean hasData);
    
        void iterate(String sessionId, final AccessResultCallback<RESULT> accessResultCallback);
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioCppStaticLibraryLinkageProjectIntegrationTest.groovy

        @Override
        String getBuildFile(VariantContext variantContext) {
            return staticLibraryName("build/lib/main/${variantContext.asPath}${rootProjectName}")
        }
    
        @Override
        void makeSingleProject() {
            buildFile << """
                apply plugin: "cpp-library"
                library.linkage = [Linkage.STATIC]
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top