- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 814 for cdone (0.04 sec)
-
internal/lsync/lrwmutex_test.go
go reader(rwm, numIterations, &activity, cdone) } go writer(rwm, numIterations, &activity, cdone) for ; i < numReaders; i++ { go reader(rwm, numIterations, &activity, cdone) } // Wait for the 2 writers and all readers to finish. for i := 0; i < 2+numReaders; i++ { <-cdone } } // Borrowed from rwmutex_test.go func TestRWMutex(t *testing.T) { defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(-1)) n := 1000
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Mar 05 04:57:35 UTC 2023 - 7.9K bytes - Viewed (0) -
internal/dsync/drwmutex_test.go
var activity int32 cdone := make(chan bool) go writer(resource, numIterations, &activity, cdone) var i int for i = 0; i < numReaders/2; i++ { go reader(resource, numIterations, &activity, cdone) } go writer(resource, numIterations, &activity, cdone) for ; i < numReaders; i++ { go reader(resource, numIterations, &activity, cdone) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 24 03:49:07 UTC 2022 - 9.7K bytes - Viewed (0) -
internal/dsync/dsync_test.go
t.Fatal("Unlock timed out, which should not happen") case <-timer.C: } } // Borrowed from mutex_test.go func HammerMutex(m *DRWMutex, loops int, cdone chan bool) { for i := 0; i < loops; i++ { m.Lock(id, source) m.Unlock(context.Background()) } cdone <- true } // Borrowed from mutex_test.go func TestMutex(t *testing.T) { loops := 200 if testing.Short() { loops = 5 }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 19 14:35:19 UTC 2024 - 11.1K bytes - Viewed (0) -
guava/src/com/google/common/hash/MessageDigestHashFunction.java
checkNotDone(); digest.update(bytes); } private void checkNotDone() { checkState(!done, "Cannot re-use a Hasher after calling hash() on it"); } @Override public HashCode hash() { checkNotDone(); done = true; return (bytes == digest.getDigestLength()) ? HashCode.fromBytesNoCopy(digest.digest())
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 25 20:32:46 UTC 2022 - 5K bytes - Viewed (0) -
guava/src/com/google/common/hash/MacHashFunction.java
checkNotDone(); checkNotNull(bytes); mac.update(bytes); } private void checkNotDone() { checkState(!done, "Cannot re-use a Hasher after calling hash() on it"); } @Override public HashCode hash() { checkNotDone(); done = true; return HashCode.fromBytesNoCopy(mac.doFinal()); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 15 22:31:55 UTC 2022 - 3.6K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/MessageDigestHashFunction.java
checkNotDone(); digest.update(bytes); } private void checkNotDone() { checkState(!done, "Cannot re-use a Hasher after calling hash() on it"); } @Override public HashCode hash() { checkNotDone(); done = true; return (bytes == digest.getDigestLength()) ? HashCode.fromBytesNoCopy(digest.digest())
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 25 20:32:46 UTC 2022 - 5K bytes - Viewed (0) -
buildscripts/multipart-quorum-test.sh
aws --endpoint-url http://localhost:"$start_port" s3api upload-part \ --upload-id "$uploadId" --bucket bucket --key obj-1 \ --part-number "$i" --body ./file-5mib done for i in {1..6}; do find ${WORK_DIR}/disk${i}/.minio.sys/multipart/ -type f -name "part.1" -delete done cat <<EOF >parts.json { "Parts": [ { "PartNumber": 1, "ETag": "5f363e0e58a95f06cbe9bbc662c5dfb6" },
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 10:51:23 UTC 2024 - 2.9K bytes - Viewed (0) -
src/test/resources/before_script.sh
error_count=$((error_count + 1)) fi if [[ ${error_count} -ge 60 ]] ; then echo "Fess is not available." cat ${temp_log_file} ./fess-*/logs/*.log exit 1 fi sleep 1 done pushd /tmp >/dev/null git clone https://github.com/codelibs/fess-testdata.git popd >/dev/null cat ${temp_log_file} ./fess-*/logs/*.log curl -s "http://localhost:9201/_cat/indices?v"
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Feb 10 03:25:34 UTC 2024 - 863 bytes - Viewed (0) -
cmd/erasure.go
t := time.NewTicker(updateTime) defer t.Stop() defer saverWg.Done() var lastSave time.Time for { select { case <-t.C: if cache.Info.LastUpdate.Equal(lastSave) { continue } scannerLogOnceIf(ctx, cache.save(ctx, er, dataUsageCacheName), "nsscanner-cache-update") updates <- cache.clone() lastSave = cache.Info.LastUpdate case v, ok := <-bucketResults:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 22:23:33 UTC 2024 - 16.1K bytes - Viewed (0) -
buildscripts/verify-build.sh
rv=$? pkill minio sleep 3 if [ "$rv" -ne 0 ]; then for i in $(seq 0 1); do echo "server$i log:" cat "$WORK_DIR/pool-minio-900$i.log" done fi for i in $(seq 0 1); do rm -f "$WORK_DIR/pool-minio-900$i.log" done return "$rv" } function run_test_pool_erasure_sets_ipv6() { start_minio_pool_erasure_sets_ipv6 export SERVER_ENDPOINT="[::1]:9000"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 19:28:51 UTC 2024 - 6.7K bytes - Viewed (0)