Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for isProfile (0.15 sec)

  1. platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/BuildProfileServices.java

            registration.addProvider(new ServiceRegistrationProvider() {
                public void configure(ServiceRegistration serviceRegistration, StartParameter startParameter) {
                    if (startParameter.isProfile()) {
                        serviceRegistration.add(BuildProfile.class);
                        serviceRegistration.add(ReportGeneratingProfileListener.class);
                        serviceRegistration.add(ProfileCoordinator.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuter.java

                }
                buildJvmOpts.add(debug.toDebugArgument());
            }
            if (isProfile()) {
                buildJvmOpts.add(profiler);
            }
    
            if (isSharedDaemons()) {
                buildJvmOpts.add("-Xms256m");
                buildJvmOpts.add("-Xmx1024m");
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleExecuter.java

        /**
         * Forces Gradle to consider the build to be interactive
         */
        GradleExecuter withForceInteractive(boolean flag);
    
        boolean isDebug();
    
        boolean isProfile();
    
        /**
         * Starts the launcher JVM (daemon client) in suspended debug mode
         */
        GradleExecuter startLauncherInDebugger(boolean debugLauncher);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/action/BuildActionSerializer.java

                encoder.writeBoolean(startParameter.isDryRun());
                encoder.writeBoolean(startParameter.isRerunTasks());
                encoder.writeBoolean(startParameter.isProfile());
                encoder.writeBoolean(startParameter.isContinueOnFailure());
                encoder.writeBoolean(startParameter.isOffline());
                encoder.writeBoolean(startParameter.isRefreshDependencies());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 30.1K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/StartParameter.java

         */
        public void setProfile(boolean profile) {
            this.profile = profile;
        }
    
        /**
         * Returns true if a profile report will be generated.
         */
        public boolean isProfile() {
            return profile;
        }
    
        /**
         * Specifies whether the build should continue on task failure. The default is false.
         */
        public boolean isContinueOnFailure() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 06:24:50 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  6. src/go/doc/headscan.go

    	verbose = flag.Bool("v", false, "verbose mode")
    )
    
    // ToHTML in comment.go assigns a (possibly blank) ID to each heading
    var html_h = regexp.MustCompile(`<h3 id="[^"]*">`)
    
    const html_endh = "</h3>\n"
    
    func isGoFile(fi fs.FileInfo) bool {
    	return strings.HasSuffix(fi.Name(), ".go") &&
    		!strings.HasSuffix(fi.Name(), "_test.go")
    }
    
    func appendHeadings(list []string, comment string) []string {
    	var buf strings.Builder
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 21:50:52 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  7. test/stress/parsego.go

    import (
    	"go/ast"
    	"go/parser"
    	"go/token"
    	"os"
    	"path"
    	"runtime"
    	"strings"
    )
    
    func isGoFile(dir os.FileInfo) bool {
    	return !dir.IsDir() &&
    		!strings.HasPrefix(dir.Name(), ".") && // ignore .files
    		path.Ext(dir.Name()) == ".go"
    }
    
    func isPkgFile(dir os.FileInfo) bool {
    	return isGoFile(dir) &&
    		!strings.HasSuffix(dir.Name(), "_test.go") // ignore test files
    }
    
    func pkgName(filename string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 4.1K bytes
    - Viewed (0)
  8. src/go/doc/doc_test.go

    }
    
    func isGoFile(fi fs.FileInfo) bool {
    	name := fi.Name()
    	return !fi.IsDir() &&
    		len(name) > 0 && name[0] != '.' && // ignore .files
    		filepath.Ext(name) == ".go"
    }
    
    type bundle struct {
    	*Package
    	FSet *token.FileSet
    }
    
    func test(t *testing.T, mode Mode) {
    	// determine file filter
    	filter := isGoFile
    	if *files != "" {
    		rx, err := regexp.Compile(*files)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:52 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  9. src/cmd/fix/main.go

    func walkDir(path string) {
    	filepath.WalkDir(path, visitFile)
    }
    
    func visitFile(path string, f fs.DirEntry, err error) error {
    	if err == nil && isGoFile(f) {
    		err = processFile(path, false)
    	}
    	if err != nil {
    		report(err)
    	}
    	return nil
    }
    
    func isGoFile(f fs.DirEntry) bool {
    	// ignore non-Go files
    	name := f.Name()
    	return !f.IsDir() && !strings.HasPrefix(name, ".") && strings.HasSuffix(name, ".go")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. src/cmd/gofmt/long_test.go

    	defer close(filenames)
    
    	handleFile := func(filename string, d fs.DirEntry, err error) error {
    		if err != nil {
    			t.Error(err)
    			return nil
    		}
    		// don't descend into testdata directories
    		if isGoFile(d) && !strings.Contains(filepath.ToSlash(filename), "/testdata/") {
    			filenames <- filename
    			nfiles++
    		}
    		return nil
    	}
    
    	// test Go files provided via -files, if any
    	if *files != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 20:27:28 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top