Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 655 for scav (0.13 sec)

  1. 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)
  2. 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)
  3. src/cmd/asm/internal/asm/testdata/mips64.s

    	SRA	R11, R19, R20	// 0173a007
    	SRAV	R20, R19, R19	// 02939817
    	ROTR	R19, R18, R20	// 0272a046
    	ROTRV	R9, R13, R16	// 012d8056
    
    //	LSHW rreg ',' rreg
    //	{
    //		outcode(int($1), &$2, 0, &$4);
    //	}
    	SLL	R1, R2		// 00221004
    	SLLV	R10, R22	// 0156b014
    	SRL	R27, R6   	// 03663006
    	SRLV	R27, R6   	// 03663016
    	SRA	R11, R19	// 01739807
    	SRAV	R20, R19	// 02939817
    	ROTR	R20, R19	// 02939846
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  4. tests/scan_test.go

    	if res.ID != user3.ID || res.Name != user3.Name || res.Age != int(user3.Age) {
    		t.Fatalf("Scan into struct should work, got %#v, should %#v", res, user3)
    	}
    
    	doubleAgeRes := &result{}
    	if err := DB.Table("users").Select("age + age as age").Where("id = ?", user3.ID).Scan(&doubleAgeRes).Error; err != nil {
    		t.Errorf("Scan to pointer of pointer")
    	}
    
    	if doubleAgeRes.Age != int(res.Age)*2 {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. src/encoding/json/scanner.go

    	// not set to zero by scan.reset)
    	bytes int64
    }
    
    var scannerPool = sync.Pool{
    	New: func() any {
    		return &scanner{}
    	},
    }
    
    func newScanner() *scanner {
    	scan := scannerPool.Get().(*scanner)
    	// scan.reset by design doesn't set bytes to zero
    	scan.bytes = 0
    	scan.reset()
    	return scan
    }
    
    func freeScanner(scan *scanner) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 16.1K 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/enterprise/enterprise/src/integTest/groovy/org/gradle/internal/enterprise/core/BuildScanAutoApplyIntegrationTest.groovy

            )
        }
    
        def "warns if scan requested but no scan plugin applied"() {
            given:
            applyPlugin()
            fixture.doCheckIn = false
    
            when:
            succeeds "dummy", "--scan"
    
            then:
            fixture.issuedNoPluginWarning(output)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 08:50:27 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top