- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,224 for update (0.05 sec)
-
internal/cachevalue/cache.go
// NewFromFunc allocates a new cached value instance and initializes it with an // update function, making it ready for use. func NewFromFunc[T any](ttl time.Duration, opts Opts, update func(ctx context.Context) (T, error)) *Cache[T] { return &Cache[T]{ ttl: ttl, updateFn: update, opts: opts, } } // InitOnce initializes the cache with a TTL and an update function. It is // guaranteed to be called only once.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 12:50:46 UTC 2024 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SigningDigest.java
} } public void update( byte[] input, int offset, int len ) { if( log.level >= 5 ) { log.println( "update: " + updates + " " + offset + ":" + len ); Hexdump.hexdump( log, input, offset, Math.min( len, 256 )); log.flush(); } if( len == 0 ) { return; /* CRITICAL */ } digest.update( input, offset, len ); updates++; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 7K bytes - Viewed (0) -
common-protos/k8s.io/api/apps/v1/generated.proto
} // DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet. message DaemonSetUpdateStrategy { // Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate. // +optional optional string type = 1; // Rolling update config params. Present only if type = "RollingUpdate". // --- // TODO: Update this to follow our convention for oneOf, whatever we decide it
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 34.5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractByteHasher.java
/** Updates this hasher with the given byte. */ protected abstract void update(byte b); /** Updates this hasher with the given bytes. */ protected void update(byte[] b) { update(b, 0, b.length); } /** Updates this hasher with {@code len} bytes starting at {@code off} in the given buffer. */ protected void update(byte[] b, int off, int len) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 3.5K bytes - Viewed (0) -
cmd/metacache.go
b += slashSeparator } return b } // update cache with new status. // The updates are conditional so multiple callers can update with different states. func (m *metacache) update(update metacache) { now := UTCNow() m.lastUpdate = now if update.lastHandout.After(m.lastHandout) { m.lastHandout = update.lastUpdate if m.lastHandout.After(now) { m.lastHandout = now } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 16:23:16 UTC 2024 - 6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
} } /** * Update digest with data * * @param input * @param offset * @param len */ public void update ( byte[] input, int offset, int len ) { if ( log.isTraceEnabled() ) { log.trace("update: " + this.updates + " " + offset + ":" + len);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Aug 05 09:45:59 UTC 2018 - 10.6K bytes - Viewed (0) -
guava/src/com/google/common/hash/ChecksumHashFunction.java
checksum.update(bytes, off, len); } @Override @J2ObjCIncompatible protected void update(ByteBuffer b) { if (!ChecksumMethodHandles.updateByteBuffer(checksum, b)) { super.update(b); } } @Override public HashCode hash() { long value = checksum.getValue(); if (bits == 32) { /*
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:05:16 UTC 2024 - 4.6K bytes - Viewed (0) -
tests/customize_field_test.go
gorm.Model Name string FieldAllowCreate string `gorm:"<-:create"` FieldAllowUpdate string `gorm:"<-:update"` FieldAllowSave string `gorm:"<-"` FieldAllowSave2 string `gorm:"<-:create,update"` FieldAllowSave3 string `gorm:"->:false;<-:create"` FieldReadonly string `gorm:"->"` FieldIgnore string `gorm:"-"`
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Sep 11 09:33:31 UTC 2020 - 6.9K bytes - Viewed (0) -
docs/de/docs/tutorial/body-updates.md
//// //// tab | Python 3.8+ ```Python hl_lines="34" {!> ../../docs_src/body_updates/tutorial002.py!} ``` //// ### Pydantics `update`-Parameter verwenden Jetzt können Sie eine Kopie des existierenden Modells mittels `.model_copy()` erstellen, wobei Sie dem `update`-Parameter ein `dict` mit den zu ändernden Daten übergeben. /// info
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.4K bytes - Viewed (0) -
cmd/metacache-bucket.go
} } // updateCacheEntry will update a cache. // Returns the updated status. func (b *bucketMetacache) updateCacheEntry(update metacache) (metacache, error) { b.mu.Lock() defer b.mu.Unlock() existing, ok := b.caches[update.id] if !ok { return update, errFileNotFound } existing.update(update) b.caches[update.id] = existing b.updated = true return existing, nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 6.6K bytes - Viewed (0)