Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 109 for Sscanf (0.05 sec)

  1. cmd/xl-storage-format-v1.go

    		return err
    	}
    	sum, err := hex.DecodeString(info.Hash)
    	if err != nil {
    		return err
    	}
    	c.Algorithm = BitrotAlgorithmFromString(info.Algorithm)
    	c.Hash = sum
    	if _, err = fmt.Sscanf(info.Name, "part.%d", &c.PartNumber); err != nil {
    		return err
    	}
    
    	if !c.Algorithm.Available() {
    		internalLogIf(GlobalContext, errBitrotHashAlgoInvalid)
    		return errBitrotHashAlgoInvalid
    	}
    	return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. cmd/erasure-multipart.go

    		// part files can be either part.N or part.N.meta
    		for _, partPath := range driveParts {
    			var partNum int
    			if _, err := fmt.Sscanf(partPath, "part.%d", &partNum); err == nil {
    				partsWithMetaCount[partNum]++
    				continue
    			}
    			if _, err := fmt.Sscanf(partPath, "part.%d.meta", &partNum); err == nil {
    				partsWithMetaCount[partNum]++
    			}
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    	if err != nil {
    		return nil, err
    	}
    
    	parts := make([]*ObjectPartInfo, len(partMetaPaths))
    	for idx, partMetaPath := range partMetaPaths {
    		var partNumber int
    		fmt.Sscanf(pathutil.Base(partMetaPath), "part.%d.meta", &partNumber)
    
    		if contextCanceled(ctx) {
    			parts[idx] = &ObjectPartInfo{
    				Error:  ctx.Err().Error(),
    				Number: partNumber,
    			}
    			continue
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  4. 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 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 23 09:06:30 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  5. 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()
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/common/BuildScanUtils.kt

    import model.TestCoverage
    
    fun buildScanTagParam(tag: String) = """-Dscan.tag.$tag"""
    fun buildScanCustomValueParam(key: String, value: String) = """-Dscan.value.$key=$value"""
    
    fun TestCoverage.asBuildScanCustomValue() =
        "${testType.name.toCapitalized()}${testJvmVersion.name.toCapitalized()}${vendor.displayName}${os.asName()}${arch.asName()}"
    
    // Generates a build scan custom value "PartOf=X,Y,Z"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 30 07:24:00 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. .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:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 09 14:48:49 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. .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:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 09 14:48:49 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. cmd/metrics-v3-scanner.go

    )
    
    var (
    	scannerBucketScansFinishedMD = NewCounterMD(scannerBucketScansFinished,
    		"Total number of bucket scans finished since server start")
    	scannerBucketScansStartedMD = NewCounterMD(scannerBucketScansStarted,
    		"Total number of bucket scans started since server start")
    	scannerDirectoriesScannedMD = NewCounterMD(scannerDirectoriesScanned,
    		"Total number of directories scanned since server start")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 19:29:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. .github/workflows/codeql-analysis.yml

        - name: Compile with Gradle with Build Scan
          if: ${{ matrix.language == 'java' && github.repository_owner == 'gradle' }}
          run: ./gradlew --init-script .github/workflows/codeql-analysis.init.gradle -DcacheNode=us -S testClasses -Dhttp.keepAlive=false
          env:
            # Set the DEVELOCITY_ACCESS_KEY so that Gradle Build Scans are generated
            DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 18:32:33 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top