Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 328 for scav (0.1 sec)

  1. platforms/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/DevelocityPluginConfigIntegrationTest.groovy

            where:
            firstBuildArgs | firstRequest | secondBuildArgs | secondRequest
            ['--scan']     | REQUESTED    | []              | null
            []             | null         | ['--scan']      | REQUESTED
            ['--scan']     | REQUESTED    | ['--scan']      | REQUESTED
        }
    
        void assertRequestedOrNotApplied(@Nullable GradleEnterprisePluginConfig.BuildScanRequest buildScanRequest) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:24:56 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/samples/readme-templates/common-summary.adoc.template

    == Publish a Build Scan
    
    The best way to learn more about what your build is doing behind the scenes, is to publish a link:https://scans.gradle.com[build scan].
    To do so, just run Gradle with the `--scan` flag.
    
    [listing.terminal.sample-command]
    ----
    \$ ./gradlew build --scan
    
    BUILD SUCCESSFUL in 0s
    ${tasksExecuted.raw} actionable tasks: ${tasksExecuted.raw} executed
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 997 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/running-builds/introduction/build_scans.adoc

    For example, with a build scan, it’s no longer necessary to copy and paste error messages or include all the details about your environment each time you want to ask a question on Stack Overflow, Slack, or the Gradle Forum.
    Instead, copy the link to your latest build scan.
    
    image::build-scan-2.png[]
    
    == Enable Build Scans
    
    To enable build scans on a gradle command, add `--scan` to the command line option:
    
    [source,text]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 09:28:20 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. src/encoding/json/indent.go

    	dst.Write(b)
    	return err
    }
    
    func appendIndent(dst, src []byte, prefix, indent string) ([]byte, error) {
    	origLen := len(dst)
    	scan := newScanner()
    	defer freeScanner(scan)
    	needIndent := false
    	depth := 0
    	for _, c := range src {
    		scan.bytes++
    		v := scan.step(scan, c)
    		if v == scanSkipSpace {
    			continue
    		}
    		if v == scanError {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 20:19:31 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  5. schema/serializer.go

    	return string(result), err
    }
    
    // UnixSecondSerializer json serializer
    type UnixSecondSerializer struct{}
    
    // Scan implements serializer interface
    func (UnixSecondSerializer) Scan(ctx context.Context, field *Field, dst reflect.Value, dbValue interface{}) (err error) {
    	t := sql.NullTime{}
    	if err = t.Scan(dbValue); err == nil && t.Valid {
    		err = field.Set(ctx, dst, t.Time.Unix())
    	}
    
    	return
    }
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 08:28:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. platforms/enterprise/enterprise/src/main/java/org/gradle/internal/enterprise/GradleEnterprisePluginConfig.java

        enum BuildScanRequest {
            NONE, // no explicit request
            REQUESTED, // --scan is present, but not --no-scan
            SUPPRESSED // --no-scan is present
        }
    
        BuildScanRequest getBuildScanRequest();
    
        boolean isTaskExecutingBuild();
    
        /**
         * Whether the plugin was auto-applied via {@code --scan} without being explicitly applied.
         *
         * @since 8.0
         */
        boolean isAutoApplied();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. test/fixedbugs/issue50169.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func main() {
    	var x Value
    	NewScanner().Scan(x)
    }
    
    type Value any
    
    type Scanner interface{ Scan(any) error }
    
    func NewScanner() Scanner {
    	return &t{}
    }
    
    type t struct{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 15 20:26:03 UTC 2021
    - 407 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/optimizing-performance/inspect.adoc

    [[build-scan-performance]]
    image::performance/build-scan-performance-page.png[title="Build scan performance page"]
    
    In the above build scan, configuration takes over 13 seconds.
    Click on the _"Configuration"_ tab to break this stage into component parts,
    exposing the cause of the slowness.
    
    image::performance/build-scan-configuration-breakdown.png[title="Build scan configuration breakdown"]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 09:28:20 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDevelocityPluginIntegrationTest.groovy

            when:
            configurationCacheRun 'jar', '--scan', '-Dscan.dump'
    
            then:
            configurationCache.assertStateStored()
            problems.assertResultHasProblems(result) {
                withTotalProblemsCount(0)
            }
            postBuildOutputContains 'Build scan written to'
    
            when:
            configurationCacheRun 'jar', '--scan', '-Dscan.dump'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  10. test/typeparam/issue47896.go

    	if err != nil {
    		return err
    	}
    	if err := r.scan(rows, m, c); err != nil {
    		rows.Close()
    		return err
    	}
    	return rows.Close()
    }
    
    type Actor struct {
    	ActorID   uint16
    	FirstName string
    	LastName  string
    }
    
    type ActorRepository struct {
    	r Repository[Actor]
    }
    
    func (ActorRepository) scan(s Scanner, a *Actor) error {
    	return s.Scan(&a.ActorID, &a.FirstName, &a.LastName)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.4K bytes
    - Viewed (0)
Back to top