- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 1,208 for updateFn (0.06 sec)
-
cmd/erasure-server-pool-rebalance.go
doneCh := make(chan error, 1) defer xioutil.SafeClose(doneCh) // Save rebalance.bin periodically. go func() { // Update rebalance.bin periodically once every 5-10s, chosen randomly // to avoid multiple pool leaders herding to update around the same // time. r := rand.New(rand.NewSource(time.Now().UnixNano())) randSleepFor := func() time.Duration {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 13:20:19 UTC 2024 - 28.4K bytes - Viewed (0) -
internal/logger/reqinfo.go
if r == nil { return nil } r.Lock() defer r.Unlock() // Search of tag key already exists in tags var updated bool for _, tag := range r.tags { if tag.Key == key { tag.Val = val updated = true break } } if !updated { // Append to the end of tags list r.tags = append(r.tags, KeyVal{key, val}) } return r }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:22:04 UTC 2024 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
hmac.update(Strings.getUNIBytes(this.username.toUpperCase())); hmac.update(Strings.getUNIBytes(this.domain.toUpperCase())); byte[] ntlmv2Hash = hmac.digest(); hmac = Crypto.getHMACT64(ntlmv2Hash); hmac.update(chlng); hmac.update(this.clientChallenge);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 18.8K bytes - Viewed (0) -
cmd/bucket-replication.go
ri.OpType == replication.ExistingObjectReplicationType { // if metadata is not updated for some reason after replication, such as // 503 encountered while updating metadata - make sure to set ReplicationStatus // as Completed. // // Note: Replication Stats would have been updated despite metadata update failure. rinfo.ReplicationAction = rAction rinfo.ReplicationStatus = replication.Completed
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 10 06:49:55 UTC 2024 - 116.1K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java
} this.batchMaxSize = batchMaxSize; this.blockOnLastEvent = blockOnLastEvent; this.eventQueue = new ArrayBlockingQueue<>(queueSize); Thread updater = new Thread(this::feedConsumer); updater.setDaemon(true); updater.start(); } public TransferListener getDelegate() { return delegate; } private void feedConsumer() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.4K bytes - Viewed (0) -
cmd/erasure-metadata.go
} dataBlocks := len(partsMetaData) - parityBlocks writeQuorum := dataBlocks if dataBlocks == parityBlocks { writeQuorum++ } // Since all the valid erasure code meta updated at the same time are equivalent, pass dataBlocks // from latestFileInfo to get the quorum return dataBlocks, writeQuorum, nil } const ( tierFVID = "tier-free-versionID"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 21.3K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/Progress.java
totalBytesRead += bytesRead != -1 ? bytesRead : 0; progressListener.update(totalBytesRead, responseBody.contentLength(), bytesRead == -1); return bytesRead; } }; } } interface ProgressListener { void update(long bytesRead, long contentLength, boolean done); }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 12 03:31:36 UTC 2019 - 3.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/DataService.java
/** * @author shinsuke * */ public interface DataService<RESULT extends AccessResult<?>> { void store(RESULT accessResult); void update(RESULT accessResult); void update(List<RESULT> accessResult); int getCount(String sessionId); void delete(String sessionId); void deleteAll(); RESULT getAccessResult(String sessionId, String url);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionListener.java
int OMIT_FOR_NEARER = 5; int UPDATE_SCOPE = 6; @Deprecated int MANAGE_ARTIFACT = 7; int OMIT_FOR_CYCLE = 8; /** * this event means that the artifactScope has NOT been updated to a farther node artifactScope because current * node is in the first level pom */ int UPDATE_SCOPE_CURRENT_POM = 9; int SELECT_VERSION_FROM_RANGE = 10; int RESTRICT_RANGE = 11;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
docs_src/query_params/tutorial004_py310.py
async def read_user_item( user_id: int, item_id: str, q: str | None = None, short: bool = False ): item = {"item_id": item_id, "owner_id": user_id} if q: item.update({"q": q}) if not short: item.update( {"description": "This is an amazing item that has a long description"} )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 436 bytes - Viewed (0)