Home
last modified time | relevance | path

Searched refs:newCounts (Results 1 – 25 of 27) sorted by relevance

12

/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.CoreLib/src/System/Threading/
H A DClrThreadPool.WorkerThread.cs63 ThreadCounts newCounts = counts; in WorkerThreadStart()
64 newCounts.numExistingThreads--; in WorkerThreadStart()
65newCounts.numThreadsGoal = Math.Max(ThreadPoolInstance._minThreads, Math.Min(newCounts.numExisting… in WorkerThreadStart()
101 newCounts.numProcessingWork--; in RemoveWorkingWorker()
124 ThreadCounts newCounts; in MaybeAddWorkingWorker()
127 newCounts = counts; in MaybeAddWorkingWorker()
129newCounts.numExistingThreads = Math.Max(counts.numExistingThreads, newCounts.numProcessingWork); in MaybeAddWorkingWorker()
131 if (newCounts == counts) in MaybeAddWorkingWorker()
165 newCounts = counts; in MaybeAddWorkingWorker()
197 ThreadCounts newCounts = counts; in ShouldStopProcessingWorkNow()
[all …]
H A DClrThreadPool.cs93 ThreadCounts newCounts = counts; in SetMinThreads()
94 newCounts.numThreadsGoal = _minThreads; in SetMinThreads()
96 …eadCounts oldCounts = ThreadCounts.CompareExchangeCounts(ref _separated.counts, newCounts, counts); in SetMinThreads()
99 counts = newCounts; in SetMinThreads()
101 … if (newCounts.numThreadsGoal > oldCounts.numThreadsGoal && _numRequestedWorkers > 0) in SetMinThreads()
142 ThreadCounts newCounts = counts; in SetMaxThreads()
143 newCounts.numThreadsGoal = _maxThreads; in SetMaxThreads()
145 …eadCounts oldCounts = ThreadCounts.CompareExchangeCounts(ref _separated.counts, newCounts, counts); in SetMaxThreads()
148 counts = newCounts; in SetMaxThreads()
230 ThreadCounts newCounts = currentCounts; in AdjustMaxWorkersActive()
[all …]
H A DClrThreadPool.GateThread.cs60 ThreadCounts newCounts = counts; in GateThreadStart()
61newCounts.numThreadsGoal = (short)(newCounts.numExistingThreads + 1); in GateThreadStart()
62 … = ThreadCounts.CompareExchangeCounts(ref ThreadPoolInstance._separated.counts, newCounts, counts); in GateThreadStart()
65 …HillClimbing.ThreadPoolHillClimber.ForceChange(newCounts.numThreadsGoal, HillClimbing.StateOrTrans… in GateThreadStart()
H A DClrThreadPool.ThreadCounts.cs47 …eadCounts CompareExchangeCounts(ref ThreadCounts location, ThreadCounts newCounts, ThreadCounts ol… in CompareExchangeCounts()
51 … _asLong = Interlocked.CompareExchange(ref location._asLong, newCounts._asLong, oldCounts._asLong) in CompareExchangeCounts()
57 newCounts.Validate(); in CompareExchangeCounts()
/dports/biology/gatk/gatk-4.2.0.0/src/main/java/org/broadinstitute/hellbender/utils/downsampling/
H A DAlleleBiasedDownsamplingUtils.java46 final int[] newCounts = alleleCounts.clone(); in targetAlleleCounts() local
50 newCounts[i] = Math.max(0, newCounts[i] - numReadsToRemove); in targetAlleleCounts()
52 newCounts[i] = Math.max(0, newCounts[i] - numReadsToRemovePerAllele); in targetAlleleCounts()
53 newCounts[j] = Math.max(0, newCounts[j] - numReadsToRemovePerAllele); in targetAlleleCounts()
56 final int score = scoreAlleleCounts(newCounts); in targetAlleleCounts()
60 alleleCountsOfMax = newCounts; in targetAlleleCounts()
/dports/math/vampire/vampire-4.5.1/Lib/
H A DMultiCounter.cpp51 int* newCounts = array_new<int>(mem, newTop); in expandToFit() local
54 newCounts[i] = _counts[i]; in expandToFit()
57 newCounts[k] = 0; in expandToFit()
63 _counts = newCounts; in expandToFit()
/dports/lang/gcc12-devel/gcc-12-20211205/libphobos/libdruntime/rt/
H A Dprofilegc.d28 HashTab!(const(char)[], Entry) newCounts;
79 if (auto pcount = cast(string)buffer[0 .. length] in newCounts) in accumulate()
88 newCounts[key] = Entry(1, sz); // new entry in accumulate()
95 if (newCounts.length) in ~this()
99 foreach (name, entry; newCounts) in ~this()
108 newCounts.reset(); in ~this()
/dports/security/keybase/client-v5.7.1/go/invitefriends/
H A Dapi.go33 newCounts := keybase1.InviteCounts{
41 countsCache = &newCounts
43 return newCounts, nil
/dports/net-im/kopete/kopete-21.12.3/protocols/groupwise/libgroupwise/
H A Dchatroommanager.cpp91 QMap< QString, int > newCounts = cct->results(); in slotGotChatCounts() local
92 QMap< QString, int >::iterator it = newCounts.begin(); in slotGotChatCounts()
93 const QMap< QString, int >::iterator end = newCounts.end(); in slotGotChatCounts()
/dports/biology/gatk/gatk-4.2.0.0/src/test/java/org/broadinstitute/hellbender/tools/walkers/genotyper/
H A DGenotypeLikelihoodCalculatorUnitTest.java105 final GenotypeAlleleCounts newCounts = newCalculator.genotypeAlleleCountsAt(i);
107 for (int j = 0; j < newCounts.distinctAlleleCount(); j++) {
108 final int newIndex = newCounts.alleleIndexAt(j);
109 final int newRepeats = newCounts.alleleCountAt(j);
/dports/devel/valgrind-lts/valgrind-dragonfly-dragonfly/cachegrind/
H A Dcg_merge.c534 UWord lnno, Counts* newCounts ) in addCountsToMap() argument
541 addCounts( s, oldCounts, newCounts ); in addCountsToMap()
545 addToFM( counts_map, (Word)lnno, (Word)newCounts ); in addCountsToMap()
558 Counts* newCounts; in handle_counts() local
564 newCounts = splitUpCountsLine( s, &lnno, newCountsStr ); in handle_counts()
567 if (newCounts->n_counts != cpf->n_events) in handle_counts()
582 freeNewCounts = addCountsToMap( s, countsMap, lnno, newCounts ); in handle_counts()
590 freeNewCounts = addCountsToMap( s, countsMap, lnno, newCounts ); in handle_counts()
594 addCounts( s, cpf->summary, newCounts ); in handle_counts()
598 ddel_Counts(newCounts); in handle_counts()
/dports/devel/valgrind/valgrind-dragonfly-dragonfly/cachegrind/
H A Dcg_merge.c534 UWord lnno, Counts* newCounts ) in addCountsToMap() argument
541 addCounts( s, oldCounts, newCounts ); in addCountsToMap()
545 addToFM( counts_map, (Word)lnno, (Word)newCounts ); in addCountsToMap()
558 Counts* newCounts; in handle_counts() local
564 newCounts = splitUpCountsLine( s, &lnno, newCountsStr ); in handle_counts()
567 if (newCounts->n_counts != cpf->n_events) in handle_counts()
582 freeNewCounts = addCountsToMap( s, countsMap, lnno, newCounts ); in handle_counts()
590 freeNewCounts = addCountsToMap( s, countsMap, lnno, newCounts ); in handle_counts()
594 addCounts( s, cpf->summary, newCounts ); in handle_counts()
598 ddel_Counts(newCounts); in handle_counts()
/dports/biology/gatk/gatk-4.2.0.0/src/main/java/org/broadinstitute/hellbender/tools/spark/utils/
H A DIntHistogram.java113 final long[] newCounts = Arrays.copyOfRange(counts, 0, nBins); in trim() local
114 newCounts[nBins - 1] = nUntrackedObservations; in trim()
115 return new IntHistogram(newCounts, totalObservations); in trim()
/dports/graphics/lightzone/LightZone-4.1.8-3-g36e87773/lightcrafts/extsrc/com/lightcrafts/media/jai/opimage/
H A DMedianCutOpImage.java456 int[] newCounts; field in HistogramHash
550 return newCounts; in getCounts()
561 newCounts = new int[capacity]; in pack()
566 newCounts[j] = counts[i]; in pack()
/dports/math/mlpack/mlpack-3.4.2/src/mlpack/methods/kmeans/
H A Ddual_tree_kmeans_impl.hpp482 arma::Col<size_t>& newCounts, in ExtractCentroids() argument
491 newCounts[owner] += node.NumDescendants(); in ExtractCentroids()
530 ++newCounts[owner]; in ExtractCentroids()
563 ExtractCentroids(node.Child(i), newCentroids, newCounts, centroids); in ExtractCentroids()
H A Ddual_tree_kmeans.hpp125 arma::Col<size_t>& newCounts,
/dports/biology/mothur/mothur-1.46.1/source/commands/
H A Dmergegroupscommand.cpp483 vector<int> newCounts; int totalAbund = 0; in processCountFile() local
486newCounts.push_back(abund); //order matters, add in count for each treatment in new table. in processCountFile()
493 }else { newTable.push_back(namesOfSeqs[i], newCounts); } in processCountFile()
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/toonzlib/
H A Dtdistort.cpp388 int *newCounts = counts[(y + 1) % 2].get(); in resample() local
394 newCounts[x] = in resample()
406 int count = std::min({oldCounts[x], oldCounts[x + 1], newCounts[x]}); in resample()
/dports/shells/ksh93-devel/ast-cc1bca27/src/lib/libtk/generic/
H A DtkTextBTree.c2475 int *newCounts, newSize; local
2484 newCounts = (int *) ckalloc((unsigned) (newSize*sizeof(int)));
2485 memcpy((VOID *) newCounts, (VOID *) tagInfoPtr->counts,
2488 tagInfoPtr->counts = newCounts;
/dports/shells/ksh93/ast-93u/src/lib/libtk/generic/
H A DtkTextBTree.c2475 int *newCounts, newSize; local
2484 newCounts = (int *) ckalloc((unsigned) (newSize*sizeof(int)));
2485 memcpy((VOID *) newCounts, (VOID *) tagInfoPtr->counts,
2488 tagInfoPtr->counts = newCounts;
/dports/shells/ast-ksh/ast-ksh93v/src/lib/libtk/generic/
H A DtkTextBTree.c2475 int *newCounts, newSize; local
2484 newCounts = (int *) ckalloc((unsigned) (newSize*sizeof(int)));
2485 memcpy((VOID *) newCounts, (VOID *) tagInfoPtr->counts,
2488 tagInfoPtr->counts = newCounts;
/dports/x11-toolkits/p5-Tk/Tk-804.035/pTk/mTk/generic/
H A DtkTextBTree.c2620 int *newCounts, newSize; local
2629 newCounts = (int *) ckalloc((unsigned) (newSize*sizeof(int)));
2630 memcpy((VOID *) newCounts, (VOID *) tagInfoPtr->counts,
2633 tagInfoPtr->counts = newCounts;
/dports/x11-toolkits/tk87/tk8.7a5/generic/
H A DtkTextBTree.c3734 int *newCounts, newSize; in IncCount() local
3742 newCounts = (int *)ckalloc(newSize * sizeof(int)); in IncCount()
3743 memcpy(newCounts, tagInfoPtr->counts, in IncCount()
3746 tagInfoPtr->counts = newCounts; in IncCount()
/dports/x11-toolkits/tk86/tk8.6.12/generic/
H A DtkTextBTree.c3734 int *newCounts, newSize; in IncCount() local
3742 newCounts = (int *)ckalloc(newSize * sizeof(int)); in IncCount()
3743 memcpy(newCounts, tagInfoPtr->counts, in IncCount()
3746 tagInfoPtr->counts = newCounts; in IncCount()
/dports/x11-toolkits/tk85/tk8.5.19/generic/
H A DtkTextBTree.c3715 int *newCounts, newSize; in IncCount() local
3724 newCounts = (int *) ckalloc((unsigned) newSize * sizeof(int)); in IncCount()
3725 memcpy(newCounts, tagInfoPtr->counts, in IncCount()
3728 tagInfoPtr->counts = newCounts; in IncCount()

12