Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for scanOne (0.14 sec)

  1. internal/config/scanner/scanner.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package scanner
    
    import (
    	"fmt"
    	"strconv"
    	"time"
    
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/pkg/v3/env"
    )
    
    // Compression environment variables
    const (
    	Speed    = "speed"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. cmd/metrics-v3-scanner.go

    	scannerDirectoriesScannedMD = NewCounterMD(scannerDirectoriesScanned,
    		"Total number of directories scanned since server start")
    	scannerObjectsScannedMD = NewCounterMD(scannerObjectsScanned,
    		"Total number of unique objects scanned since server start")
    	scannerVersionsScannedMD = NewCounterMD(scannerVersionsScanned,
    		"Total number of object versions scanned since server start")
    	scannerLastActivitySecondsMD = NewGaugeMD(scannerLastActivitySeconds,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 19:29:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. .github/workflows/osv-scanner-scheduled.yml

    name: OSV-Scanner Scheduled Scan
    
    on:
      schedule:
        - cron: 0 4 * * 1
    
    permissions:
      # Require writing security events to upload SARIF file to security tab
      security-events: write
      # Only need to read contents
      contents: read
    
    jobs:
      scan-scheduled:
        if: github.repository == 'tensorflow/tensorflow'
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 06 17:09:49 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. cmd/data-scanner-metric.go

    	scannerMetricScanBucketDrive // Single bucket on one drive
    	scannerMetricCompactFolder   // Folder compacted.
    
    	// Must be last:
    	scannerMetricLast
    )
    
    // log scanner action.
    // Use for s > scannerMetricStartTrace
    func (p *scannerMetrics) log(s scannerMetric, paths ...string) func(custom map[string]string) {
    	startTime := time.Now()
    	return func(custom map[string]string) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 25 05:15:31 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  5. src/text/scanner/example_test.go

    package scanner_test
    
    import (
    	"fmt"
    	"strings"
    	"text/scanner"
    	"unicode"
    )
    
    func Example() {
    	const src = `
    // This is scanned code.
    if a > 10 {
    	someParsable = text
    }`
    
    	var s scanner.Scanner
    	s.Init(strings.NewReader(src))
    	s.Filename = "example"
    	for tok := s.Scan(); tok != scanner.EOF; tok = s.Scan() {
    		fmt.Printf("%s: %s\n", s.Position, s.TokenText())
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 10 02:01:58 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/lex/slice.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package lex
    
    import (
    	"text/scanner"
    
    	"cmd/internal/src"
    )
    
    // A Slice reads from a slice of Tokens.
    type Slice struct {
    	tokens []Token
    	base   *src.PosBase
    	line   int
    	pos    int
    }
    
    func NewSlice(base *src.PosBase, line int, tokens []Token) *Slice {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 29 22:49:50 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. src/math/big/intconv.go

    	}
    	return byte(ch), err
    }
    
    func (r byteReader) UnreadByte() error {
    	return r.UnreadRune()
    }
    
    var _ fmt.Scanner = intOne // *Int must implement fmt.Scanner
    
    // Scan is a support routine for [fmt.Scanner]; it sets z to the value of
    // the scanned number. It accepts the formats 'b' (binary), 'o' (octal),
    // 'd' (decimal), 'x' (lowercase hexadecimal), and 'X' (uppercase hexadecimal).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  8. src/cmd/internal/pgo/deserialize.go

    	}
    
    	for scanner.Scan() {
    		readStr := scanner.Text()
    
    		callerName := readStr
    
    		if !scanner.Scan() {
    			if err := scanner.Err(); err != nil {
    				return nil, fmt.Errorf("error reading preprocessed profile: %w", err)
    			}
    			return nil, fmt.Errorf("preprocessed profile entry missing callee")
    		}
    		calleeName := scanner.Text()
    
    		if !scanner.Scan() {
    			if err := scanner.Err(); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/lex/tokenizer.go

    	var s scanner.Scanner
    	s.Init(r)
    	// Newline is like a semicolon; other space characters are fine.
    	s.Whitespace = 1<<'\t' | 1<<'\r' | 1<<' '
    	// Don't skip comments: we need to count newlines.
    	s.Mode = scanner.ScanChars |
    		scanner.ScanFloats |
    		scanner.ScanIdents |
    		scanner.ScanInts |
    		scanner.ScanStrings |
    		scanner.ScanComments
    	s.Position.Filename = name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 04 20:35:21 UTC 2022
    - 3K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexer.java

            }
        }
    
        private void parseHtmlEntity(StringBuilder buffer) {
            scanner.next();
            scanner.mark();
            scanner.find(';');
            String value = ENTITIES.get(scanner.region().toLowerCase());
            buffer.append(value);
            scanner.next();
        }
    
        private void parseHtmlEncodedChar(StringBuilder buffer) {
            scanner.next(2);
            scanner.mark();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.1K bytes
    - Viewed (0)
Back to top