Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isProfile (0.12 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. 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)
  3. 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