Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 104 for Scanner (0.22 sec)

  1. cmd/data-scanner.go

    				BucketName: f.root,
    				Object: ObjectInfo{
    					Name: prefixName,
    					Size: int64(totalFolders),
    				},
    				UserAgent: "Scanner",
    				Host:      globalMinioHost,
    			})
    			auditLogInternal(context.Background(), AuditLogOptions{
    				Event:   "scanner:manyprefixes",
    				APIName: "Scanner",
    				Bucket:  f.root,
    				Object:  prefixName,
    				Tags: map[string]interface{}{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 47.4K bytes
    - Viewed (0)
  2. tests/scanner_valuer_test.go

    	}
    
    	if err := DB.Create(&data).Error; err != nil {
    		t.Fatalf("No error should happened when create scanner valuer struct, but got %v", err)
    	}
    
    	var result ScannerValuerStruct
    
    	if err := DB.Find(&result, "id = ?", data.ID).Error; err != nil {
    		t.Fatalf("no error should happen when query scanner, valuer struct, but got %v", err)
    	}
    
    	if result.ExampleStructPtr.Val != "value2" {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Wed Jun 07 07:02:07 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  3. src/bufio/scan.go

    // Scan advances the [Scanner] to the next token, which will then be
    // available through the [Scanner.Bytes] or [Scanner.Text] method. It returns false when
    // there are no more tokens, either by reaching the end of the input or an error.
    // After Scan returns false, the [Scanner.Err] method will return any error that
    // occurred during scanning, except that if it was [io.EOF], [Scanner.Err]
    // will return nil.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  4. src/bufio/scan_test.go

    	scanner.Split(ScanWords)
    	if !scanner.Scan() {
    		t.Fatalf("scan failed: %v", scanner.Err())
    	}
    	if token := scanner.Text(); token != word {
    		t.Fatalf("unexpected token: %v", token)
    	}
    }
    
    // Test that empty tokens, including at end of line or end of file, are found by the scanner.
    // Issue 8672: Could miss final empty token.
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/lex/input.go

    			}
    			in.beginningOfLine = in.hash()
    			in.text = "#"
    			return '#'
    
    		case scanner.Ident:
    			// Is it a macro name?
    			name := in.Stack.Text()
    			macro := in.macros[name]
    			if macro != nil {
    				nesting++
    				in.invokeMacro(macro)
    				continue
    			}
    			fallthrough
    		default:
    			if tok == scanner.EOF && len(in.ifdefStack) > 0 {
    				// We're skipping text but have run out of input with no #endif.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  6. docs/config/README.md

    usage calculation. The scanner adapts to the system speed and completely pauses when the system is under load. It is possible to adjust the speed of the scanner and thereby the latency of updates being reflected. The delays between each operation of the scanner can be adjusted by the `mc admin config set alias/ delay=15.0`. By default the value is `10.0`. This means the scanner will sleep *10x* the time each operation takes.
    
    In most setups this will keep the scanner slow enough to not impact...
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 11 21:48:54 GMT 2023
    - 17.7K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/parse.go

    		return
    	}
    
    	// Constant.
    	haveConstant := false
    	switch tok.ScanToken {
    	case scanner.Int, scanner.Float, scanner.String, scanner.Char, '+', '-', '~':
    		haveConstant = true
    	case '(':
    		// Could be parenthesized expression or (R). Must be something, though.
    		tok := p.next()
    		if tok.ScanToken == scanner.EOF {
    			p.errorf("missing right parenthesis")
    			return
    		}
    		rname := tok.String()
    		p.back()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  8. cmd/config-current.go

    		} else {
    			globalBatchConfig.Update(batchCfg)
    		}
    	case config.ScannerSubSys:
    		scannerCfg, err := scanner.LookupConfig(s[config.ScannerSubSys][config.Default])
    		if err != nil {
    			errs = append(errs, fmt.Errorf("Unable to apply scanner config: %w", err))
    		} else {
    			// update dynamic scanner values.
    			scannerIdleMode.Store(scannerCfg.IdleMode)
    			scannerCycle.Store(scannerCfg.Cycle)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 11:33:28 GMT 2024
    - 30.7K bytes
    - Viewed (0)
  9. cmd/erasure.go

    	// Put all buckets into channel.
    	bucketCh := make(chan BucketInfo, len(buckets))
    
    	// Shuffle buckets to ensure total randomness of buckets, being scanned.
    	// Otherwise same set of buckets get scanned across erasure sets always.
    	// at any given point in time. This allows different buckets to be scanned
    	// in different order per erasure set, this wider spread is needed when
    	// there are lots of buckets with different order of objects in them.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  10. internal/event/name.go

    		return "s3:ObjectTransition:Failed"
    	case ObjectTransitionComplete:
    		return "s3:ObjectTransition:Complete"
    	case ObjectManyVersions:
    		return "s3:Scanner:ManyVersions"
    	case ObjectLargeVersions:
    		return "s3:Scanner:LargeVersions"
    
    	case PrefixManyFolders:
    		return "s3:Scanner:BigPrefix"
    	}
    
    	return ""
    }
    
    // MarshalXML - encodes to XML data.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 17:45:03 GMT 2024
    - 10.2K bytes
    - Viewed (0)
Back to top