- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 918 for cdone (0.02 seconds)
-
internal/lsync/lrwmutex_test.go
var activity int32 rwm := NewLRWMutex() cdone := make(chan bool) go writer(rwm, numIterations, &activity, cdone) var i int for i = 0; i < numReaders/2; i++ { 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.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.8K bytes - Click Count (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) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.4K bytes - Click Count (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 range loops { 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 }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 10.8K bytes - Click Count (0) -
android/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()); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3.6K bytes - Click Count (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())
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4.9K bytes - Click Count (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 cd fess-testdata git checkout f19176ab1b7ddc0a40393a8cbbb8d1c17b27c3ce cd .. popd >/dev/null cat ${temp_log_file} ./fess-*/logs/*.log
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Nov 15 02:26:18 GMT 2025 - 940 bytes - Click Count (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"
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri May 24 19:28:51 GMT 2024 - 6.7K bytes - Click Count (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:
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.1K bytes - Click Count (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" },Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Sep 06 10:51:23 GMT 2024 - 2.9K bytes - Click Count (0) -
.ci/packer_cache.sh
export JAVA15_HOME="${HOME}"/.java/openjdk15 ## 6.8 branch is not referenced from any bwc project in master so we need to ## resolve its dependencies explicitly rm -rf checkout/6.8 git clone --reference $(dirname "${SCRIPT}")/../.git https://github.com/elastic/elasticsearch.git --branch 6.8 --single-branch checkout/6.8 export JAVA_HOME="${JAVA11_HOME}"Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Jun 14 16:16:36 GMT 2021 - 1.9K bytes - Click Count (0)