- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 134 for Sscanf (0.05 sec)
-
tests/connection_test.go
if len(setSQL) == 0 || len(getSQL) == 0 { return } err := DB.Connection(func(tx *gorm.DB) error { if err := tx.Exec(setSQL, expectedName).Error; err != nil { return err } if err := tx.Raw(getSQL).Scan(&actualName).Error; err != nil { return err } return nil }) if err != nil { t.Errorf("WithSingleConnection should work, but got err %v", err) } if actualName != expectedName {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Sep 08 09:19:22 UTC 2025 - 943 bytes - Viewed (0) -
internal/disk/directio_unsupported.go
// reasons. Note that ZFS is effectively the default filesystem on illumos // systems. // // One benefit of using DirectIO on Linux is that the page cache will not be // polluted with single-access data. The ZFS read cache (ARC) is scan-resistant // so there is no risk of polluting the entire cache with data accessed once. // Another goal of DirectIO is to minimize the mutation of data by the kernel
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Oct 18 18:08:15 UTC 2023 - 2.6K bytes - Viewed (0) -
cmd/data-scanner-metric.go
scannerMetricHealAbandonedVersion // START Trace metrics: scannerMetricStartTrace scannerMetricScanObject // Scan object. All operations included. scannerMetricHealAbandonedObject // END realtime metrics: scannerMetricLastRealtime // Trace only metrics: scannerMetricScanFolder // Scan a folder on disk, recursively. scannerMetricScanCycle // Full cycle, cluster global
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Oct 01 06:06:01 UTC 2025 - 9.4K bytes - Viewed (0) -
src/cmd/addr2line/main.go
defer f.Close() tab, err := f.PCLineTable() if err != nil { log.Fatalf("reading %s: %v", flag.Arg(0), err) } stdin := bufio.NewScanner(os.Stdin) stdout := bufio.NewWriter(os.Stdout) for stdin.Scan() { p := stdin.Text() if strings.Contains(p, ":") { // Reverse translate file:line to pc. // This was an extension in the old C version of 'go tool addr2line'
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Jun 21 19:58:04 UTC 2024 - 2.4K bytes - Viewed (0) -
cmd/metacache.go
"github.com/minio/pkg/v3/console" ) type scanStatus uint8 const ( scanStateNone scanStatus = iota scanStateStarted scanStateSuccess scanStateError // Time in which the initiator of a scan must have reported back. metacacheMaxRunningAge = time.Minute // Max time between client calls before dropping an async cache listing. metacacheMaxClientWait = 3 * time.Minute
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Jul 12 16:23:16 UTC 2024 - 6K bytes - Viewed (0) -
internal/config/heal/help.go
return config.DefaultHelpPostfix(DefaultKVS, key) } // Help provides help for config values Help = config.HelpKVS{ config.HelpKV{ Key: Bitrot, Description: `perform bitrot scan on drives when checking objects during scanner` + defaultHelpPostfix(Bitrot), Optional: true, Type: "on|off", }, config.HelpKV{ Key: Sleep,
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Sep 11 21:48:54 UTC 2023 - 1.8K bytes - Viewed (0) -
migrator/migrator.go
} // GetTables returns tables func (m Migrator) GetTables() (tableList []string, err error) { err = m.DB.Raw("SELECT TABLE_NAME FROM information_schema.tables where TABLE_SCHEMA=?", m.CurrentDatabase()). Scan(&tableList).Error return } // CreateTable create table in database for values func (m Migrator) CreateTable(values ...interface{}) error { for _, value := range m.ReorderModels(values, false) {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun Oct 26 12:31:09 UTC 2025 - 29.7K bytes - Viewed (0) -
migrator/column_type.go
// Unique reports whether the column may be unique. func (ct ColumnType) Unique() (unique bool, ok bool) { return ct.UniqueValue.Bool, ct.UniqueValue.Valid } // ScanType returns a Go type suitable for scanning into using Rows.Scan. func (ct ColumnType) ScanType() reflect.Type { if ct.ScanTypeValue != nil { return ct.ScanTypeValue } return ct.SQLColumnType.ScanType() } // Comment returns the comment of current column.
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Thu Mar 24 01:31:58 UTC 2022 - 3.3K bytes - Viewed (0) -
src/cmd/asm/internal/lex/tokenizer.go
func (t *Tokenizer) Line() int { return t.line } func (t *Tokenizer) Col() int { return t.s.Pos().Column } func (t *Tokenizer) Next() ScanToken { s := t.s for { t.tok = ScanToken(s.Scan()) if t.tok != scanner.Comment { break } text := s.TokenText() t.line += strings.Count(text, "\n") if constraint.IsGoBuild(text) { t.tok = BuildComment break } }
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Aug 04 20:35:21 UTC 2022 - 3K bytes - Viewed (0) -
api/maven-api-di/src/main/java/org/apache/maven/di/tool/DiIndexProcessor.java
import java.util.Set; import java.util.TreeSet; import org.apache.maven.api.di.Named; /** * Annotation processor that generates an index file for classes annotated with {@link Named}. * This processor scans for classes with the {@code @Named} annotation and creates a file * at {@code META-INF/maven/org.apache.maven.api.di.Inject} containing the fully qualified * names of these classes. * * @since 4.0.0 */Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Apr 03 13:33:59 UTC 2025 - 7.8K bytes - Viewed (0)