Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/fmt/scan.go

    	case *complex128:
    		*v = s.scanComplex(verb, 128)
    	case *int:
    		*v = int(s.scanInt(verb, intBits))
    	case *int8:
    		*v = int8(s.scanInt(verb, 8))
    	case *int16:
    		*v = int16(s.scanInt(verb, 16))
    	case *int32:
    		*v = int32(s.scanInt(verb, 32))
    	case *int64:
    		*v = s.scanInt(verb, 64)
    	case *uint:
    		*v = uint(s.scanUint(verb, intBits))
    	case *uint8:
    		*v = uint8(s.scanUint(verb, 8))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:56:20 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  2. src/encoding/json/scanner.go

    	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) {
    	// Avoid hanging on to too much memory in extreme cases.
    	if len(scan.parseState) > 1024 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  3. src/text/scanner/scanner.go

    	// after the most recently scanned token.
    	Position
    }
    
    // Init initializes a [Scanner] with a new source and returns s.
    // [Scanner.Error] is set to nil, [Scanner.ErrorCount] is set to 0, [Scanner.Mode] is set to [GoTokens],
    // and [Scanner.Whitespace] is set to [GoWhitespace].
    func (s *Scanner) Init(src io.Reader) *Scanner {
    	s.src = src
    
    	// initialize source buffer
    	// (the first call to next() will fill it by calling src.Read)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. src/go/scanner/scanner.go

    // license that can be found in the LICENSE file.
    
    // Package scanner implements a scanner for Go source text.
    // It takes a []byte as source which can then be tokenized
    // through repeated calls to the Scan method.
    package scanner
    
    import (
    	"bytes"
    	"fmt"
    	"go/token"
    	"path/filepath"
    	"strconv"
    	"unicode"
    	"unicode/utf8"
    )
    
    // An ErrorHandler may be provided to [Scanner.Init]. If a syntax error is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  5. cmd/data-scanner.go

    // This keeps the cache size at a reasonable size for all buckets.
    //
    // Whenever a branch is scanned, it is assumed that it will be un-compacted
    // before it hits any of the above limits.
    // This will make the branch rebalance itself when scanned if the distribution of objects has changed.
    
    // scanDataFolder will scanner the basepath+cache.Info.Name and return an updated cache.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:43:17 UTC 2024
    - 47.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/syntax/scanner.go

    // license that can be found in the LICENSE file.
    
    // This file implements scanner, a lexical tokenizer for
    // Go source. After initialization, consecutive calls of
    // next advance the scanner one token at a time.
    //
    // This file, source.go, tokens.go, and token_string.go are self-contained
    // (`go tool compile scanner.go source.go tokens.go token_string.go` compiles)
    // and thus could be made into their own package.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 28 18:17:41 UTC 2022
    - 17.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/encoding/json/stream.go

    			dec.scan.bytes++
    			switch dec.scan.step(&dec.scan, c) {
    			case scanEnd:
    				// scanEnd is delayed one byte so we decrement
    				// the scanner bytes count by 1 to ensure that
    				// this value is correct in the next call of Decode.
    				dec.scan.bytes--
    				break Input
    			case scanEndObject, scanEndArray:
    				// scanEnd is delayed one byte.
    				// We might block trying to get that byte from src,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  10. .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)
Back to top