- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 1,079 for Update (0.04 seconds)
-
cmd/xl-storage-format_test.go
// Load... xl = xlMetaV2{} err := xl.Load(enc) if err != nil { b.Fatal(err) } // Update modtime for resorting... fi.ModTime = fi.ModTime.Add(-time.Second) // Update a random version. fi.VersionID = ids[rng.Intn(size)] // Update... err = xl.UpdateObjectVersion(fi) if err != nil { b.Fatal(err) } // Save...Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 17.5K bytes - Click Count (0) -
chainable_api.go
"gorm.io/gorm/utils" ) // Model specify the model you would like to run db operations // // // update all users's name to `hello` // db.Model(&User{}).Update("name", "hello") // // if user's primary key is non-blank, will use it as condition, then will only update that user's name to `hello` // db.Model(&user).Update("name", "hello") func (db *DB) Model(value interface{}) (tx *DB) { tx = db.getInstance() tx.Statement.Model = value
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Sep 19 01:49:06 GMT 2025 - 14.8K bytes - Click Count (0) -
scripts/docs.py
""" Add or update header permalinks in specific pages of En docs. """ for md_file in pages: add_permalinks_page(md_file, update_existing=update_existing) @app.command() def add_permalinks(update_existing: bool = False) -> None: """ Add or update header permalinks in all pages of En docs. """Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Dec 21 17:40:17 GMT 2025 - 16.9K bytes - Click Count (0) -
.github/PULL_REQUEST_TEMPLATE.md
## Checklist: - [ ] Fixes a regression (If yes, please add `commit-id` or `PR #` here) - [ ] Unit tests added/updated - [ ] Internal documentation updated
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Nov 14 17:29:11 GMT 2023 - 1K bytes - Click Count (0) -
internal/http/headers.go
// Header indiicates last tag update time on source MinIOSourceTaggingTimestamp = "X-Minio-Source-Replication-Tagging-Timestamp" // Header indiicates last rtention update time on source MinIOSourceObjectRetentionTimestamp = "X-Minio-Source-Replication-Retention-Timestamp" // Header indiicates last rtention update time on source
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed May 07 15:37:12 GMT 2025 - 10.8K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/LongAdder.java
* (method {@link #add}) are contended across threads, the set of variables may grow dynamically to * reduce contention. Method {@link #sum} (or, equivalently, {@link #longValue}) returns the current * total combined across the variables maintaining the sum. * * <p>This class is usually preferable to {@link AtomicLong} when multiple threads update a commonCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.6K bytes - Click Count (0) -
cmd/background-newdisks-heal-ops.go
case skipped: h.ItemsSkipped++ h.BytesSkipped += bytes default: h.ItemsFailed++ h.BytesFailed += bytes } } // update will update the tracker on the disk. // If the tracker has been deleted an error is returned. func (h *healingTracker) update(ctx context.Context) error { h.mu.Lock() if h.ID == "" || h.PoolIndex < 0 || h.SetIndex < 0 || h.DiskIndex < 0 { h.ID, _ = h.disk.GetDiskID()Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 16.5K bytes - Click Count (0) -
src/cmd/api/api_test.go
flag.Parse() for _, c := range contexts { c.Compiler = build.Default.Compiler } build.Default.GOROOT = testenv.GOROOT(nil) os.Exit(m.Run()) } var ( updateGolden = flag.Bool("updategolden", false, "update golden files") ) func TestGolden(t *testing.T) { if *flagCheck { // slow, not worth repeating in -check t.Skip("skipping with -check set") } testenv.MustHaveGoBuild(t)
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri May 02 17:06:27 GMT 2025 - 7.6K bytes - Click Count (0) -
internal/config/batch/batch.go
return Config{ ReplicationWorkersWait: opts.ReplicationWorkersWait, KeyRotationWorkersWait: opts.KeyRotationWorkersWait, ExpirationWorkersWait: opts.ExpirationWorkersWait, } } // Update updates opts with nopts func (opts *Config) Update(nopts Config) { configMu.Lock() defer configMu.Unlock() opts.ReplicationWorkersWait = nopts.ReplicationWorkersWait opts.KeyRotationWorkersWait = nopts.KeyRotationWorkersWaitCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 24 23:05:23 GMT 2024 - 4.7K bytes - Click Count (0) -
tests/generics_test.go
_, err := gorm.G[User](DB).Where("id = ?", 1).Update(ctx, "name", "test") if err != nil { t.Fatalf("Update failed: %v", err) } } func TestGenericsUpdates(t *testing.T) { ctx := context.Background() // Just test that the API can be called _, err := gorm.G[User](DB).Where("id = ?", 1).Updates(ctx, User{Name: "test"}) if err != nil { t.Fatalf("Updates failed: %v", err) } }
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Nov 02 14:09:18 GMT 2025 - 33.7K bytes - Click Count (0)