Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 139 for scwang (0.24 sec)

  1. src/bufio/scan.go

    	return s.err
    }
    
    // Bytes returns the most recent token generated by a call to [Scanner.Scan].
    // The underlying array may point to data that will be overwritten
    // by a subsequent call to Scan. It does no allocation.
    func (s *Scanner) Bytes() []byte {
    	return s.token
    }
    
    // Text returns the most recent token generated by a call to [Scanner.Scan]
    // as a newly allocated string holding its bytes.
    func (s *Scanner) Text() string {
    Go
    - Registered: Tue Apr 16 11:13:10 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  2. scan.go

    		field.NewValuePool.Put(values[idx])
    	}
    }
    
    // ScanMode scan data mode
    type ScanMode uint8
    
    // scan modes
    const (
    	ScanInitialized         ScanMode = 1 << 0 // 1
    	ScanUpdate              ScanMode = 1 << 1 // 2
    	ScanOnConflictDoNothing ScanMode = 1 << 2 // 4
    )
    
    // Scan scan rows into db statement
    func Scan(rows Rows, db *DB, mode ScanMode) {
    	var (
    		columns, _          = rows.Columns()
    Go
    - Registered: Sun Apr 14 09:35:11 GMT 2024
    - Last Modified: Fri Mar 15 06:14:48 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  3. ci/official/containers/linux_arm64/devel.usertools/aarch64_clang.bazelrc

    # > target platform.
    # See also https://docs.bazel.build/versions/master/guide.html#build-configurations-and-cross-compilation
    build --distinct_host_configuration=false
    
    # Disable clang extension that rejects type definitions within offsetof. 
    # This was added in clang-16 by https://reviews.llvm.org/D133574.
    # Can be removed once upb is updated, since a type definition is used within
    # offset of in the current version of ubp.
    Plain Text
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Tue Nov 21 12:25:39 GMT 2023
    - 6.3K 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 {
    Go
    - Registered: Sun Apr 14 09:35:11 GMT 2024
    - Last Modified: Sat May 28 14:18:07 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  5. src/bufio/scan_test.go

    		// Use a string range loop to validate the sequence of runes.
    		for i, expect = range test {
    			if !s.Scan() {
    				break
    			}
    			runeCount++
    			got, _ := utf8.DecodeRune(s.Bytes())
    			if got != expect {
    				t.Errorf("#%d: %d: expected %q got %q", n, i, expect, got)
    			}
    		}
    		if s.Scan() {
    			t.Errorf("#%d: scan ran too long, got %q", n, s.Text())
    		}
    		testRuneCount := utf8.RuneCountInString(test)
    Go
    - Registered: Tue Apr 16 11:13:10 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/10_contributor_bug_report.yml

          description: What version of Gradle are you running?
        validations:
          required: true
      - type: input
        id: build-scan-url
        attributes:
          label: Build scan URL (optional)
          description: |
            You can run your build command with `--scan` to publish a Build Scan to [scans.gradle.com](https://scans.gradle.com/).
        validations:
          required: false
      - type: textarea
        id: environment
        attributes:
    Others
    - Registered: Wed Apr 10 11:36:10 GMT 2024
    - Last Modified: Fri Feb 16 07:49:32 GMT 2024
    - 3K bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/30_contributor_regression.yml

        validations:
          required: true
      - type: input
        id: build-scan-url
        attributes:
          label: Build scan URL (optional)
          description: |
            You can run your build command with `--scan` to publish a Build Scan to [scans.gradle.com](https://scans.gradle.com/).
        validations:
          required: false
      - type: textarea
        id: environment
        attributes:
    Others
    - Registered: Wed Apr 10 11:36:10 GMT 2024
    - Last Modified: Fri Feb 16 07:49:32 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  8. .github/workflows/codeql-analysis.yml

        - name: Compile with Gradle with Build Scan
          if: ${{ matrix.language == 'java' && github.repository_owner == 'gradle' }}
          run: ./gradlew --no-configuration-cache --init-script .github/workflows/codeql-analysis.init.gradle -DcacheNode=us -S testClasses -Dhttp.keepAlive=false
          env:
            # Set the GRADLE_ENTERPRISE_ACCESS_KEY so that Gradle Build Scans are generated
    Others
    - Registered: Wed Apr 10 11:36:10 GMT 2024
    - Last Modified: Tue Jan 30 18:26:59 GMT 2024
    - 4K bytes
    - Viewed (0)
  9. cmd/global-heal.go

    	"github.com/minio/pkg/v2/wildcard"
    	"github.com/minio/pkg/v2/workers"
    )
    
    const (
    	bgHealingUUID = "0000-0000-0000-0000"
    )
    
    // NewBgHealSequence creates a background healing sequence
    // operation which scans all objects and heal them.
    func newBgHealSequence() *healSequence {
    	reqInfo := &logger.ReqInfo{API: "BackgroundHeal"}
    	ctx, cancelCtx := context.WithCancel(logger.SetReqInfo(GlobalContext, reqInfo))
    
    	hs := madmin.HealOpts{
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 09:22:13 GMT 2024
    - 14.2K bytes
    - Viewed (1)
  10. .github/workflows/update-rbe.yml

            # TF 2.12 + Clang (containers are the same, but env vars in configs.bzl are different)
            map sigbuild-r2.12-clang 2.12-python3.9
            map sigbuild-r2.12-clang-python3.8 2.12-python3.8
            map sigbuild-r2.12-clang-python3.9 2.12-python3.9
            map sigbuild-r2.12-clang-python3.10 2.12-python3.10
            map sigbuild-r2.12-clang-python3.11 2.12-python3.11
            # TF 2.13
    Others
    - Registered: Tue Apr 16 12:39:09 GMT 2024
    - Last Modified: Wed Apr 10 15:40:34 GMT 2024
    - 7.2K bytes
    - Viewed (0)
Back to top