5 instantiations of ItemBucket
Microsoft.Build (3)
BackEnd\Components\RequestBuilder\BatchingEngine.cs (2)
177
var bucket = new
ItemBucket
(null, null, lookup, buckets.Count);
342
matchingBucket = new
ItemBucket
(itemListsToBeBatched.Keys, itemMetadataValues, lookup, buckets.Count);
BackEnd\Components\RequestBuilder\ItemBucket.cs (1)
146
ItemBucket bucket = new
ItemBucket
(metadata);
Microsoft.Build.Engine.UnitTests (2)
BackEnd\TargetUpToDateChecker_Tests.cs (1)
612
ItemBucket itemBucket = new
ItemBucket
(null, null, new Lookup(itemsByName, new PropertyDictionary<ProjectPropertyInstance>()), 0);
BackEnd\TaskExecutionHost_Tests.cs (1)
1286
_bucket = new
ItemBucket
(Array.Empty<string>(), new Dictionary<string, string>(), new Lookup(itemsByName, new PropertyDictionary<ProjectPropertyInstance>()), 0);
53 references to ItemBucket
Microsoft.Build (47)
BackEnd\Components\RequestBuilder\BatchingEngine.cs (12)
81
internal static List<
ItemBucket
> PrepareBatchingBuckets(
101
internal static List<
ItemBucket
> PrepareBatchingBuckets(
130
List<
ItemBucket
> buckets = null;
176
buckets = new List<
ItemBucket
>(1);
177
var
bucket = new ItemBucket(null, null, lookup, buckets.Count);
300
private static List<
ItemBucket
> BucketConsumedItems(
310
var buckets = new List<
ItemBucket
>();
328
ItemBucket
dummyBucket =
ItemBucket
.GetDummyBucketForComparisons(itemMetadataValues);
334
ItemBucket
matchingBucket = (matchingBucketIndex >= 0)
365
var orderedBuckets = new List<
ItemBucket
>(buckets.Count);
371
foreach (
ItemBucket
bucket in buckets)
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupIntrinsicTask.cs (6)
56
List<
ItemBucket
> buckets = null;
65
foreach (
ItemBucket
bucket in buckets)
137
foreach (
ItemBucket
bucket in buckets)
154
private void ExecuteAdd(ProjectItemGroupTaskItemInstance child,
ItemBucket
bucket, ISet<string> keepMetadata, ISet<string> removeMetadata, LoggingContext loggingContext = null)
250
private void ExecuteRemove(ProjectItemGroupTaskItemInstance child,
ItemBucket
bucket, HashSet<string> matchOnMetadata, MatchOnMetadataOptions matchingOptions)
297
private void ExecuteModify(ProjectItemGroupTaskItemInstance child,
ItemBucket
bucket, ISet<string> keepMetadata, ISet<string> removeMetadata, LoggingContext loggingContext = null)
BackEnd\Components\RequestBuilder\IntrinsicTasks\PropertyGroupIntrinsicTask.cs (3)
49
List<
ItemBucket
> buckets = null;
59
foreach (
ItemBucket
bucket in buckets)
103
foreach (
ItemBucket
bucket in buckets)
BackEnd\Components\RequestBuilder\ItemBucket.cs (3)
131
return HashTableUtility.Compare(_metadata, ((
ItemBucket
)obj)._metadata);
144
internal static
ItemBucket
GetDummyBucketForComparisons(Dictionary<string, string> metadata)
146
ItemBucket
bucket = new ItemBucket(metadata);
BackEnd\Components\RequestBuilder\TargetEntry.cs (6)
431
List<
ItemBucket
> buckets = BatchingEngine.PrepareBatchingBuckets(GetBatchableParametersForTarget(), _baseLookup, _target.Location, null);
447
ItemBucket
bucket = buckets[i];
587
foreach (
ItemBucket
bucket in buckets)
628
List<
ItemBucket
> batchingBuckets = BatchingEngine.PrepareBatchingBuckets(GetBatchableParametersForTarget(), _baseLookup, _target.Location, targetLoggingContext);
633
foreach (
ItemBucket
bucket in batchingBuckets)
658
foreach (
ItemBucket
bucket in batchingBuckets)
BackEnd\Components\RequestBuilder\TargetUpToDateChecker.cs (3)
132
ItemBucket
bucket,
402
ItemBucket
bucket,
795
ItemBucket
bucket,
BackEnd\Components\RequestBuilder\TaskBuilder.cs (12)
301
List<
ItemBucket
> buckets = null;
332
taskResult = await ExecuteBucket(taskHost, (
ItemBucket
)buckets[i], mode, lookupHash);
355
foreach (
ItemBucket
bucket in buckets)
369
private async Task<WorkUnitResult> ExecuteBucket(TaskHost taskHost,
ItemBucket
bucket, TaskExecutionMode howToExecuteTask, Dictionary<string, string> lookupHash)
554
private WorkUnitResult ExecuteTaskInSTAThread(
ItemBucket
bucket, TaskLoggingContext taskLoggingContext, IDictionary<string, string> taskIdentityParameters, TaskHost taskHost, TaskExecutionMode howToExecuteTask)
605
private void LogSkippedTask(
ItemBucket
bucket, TaskExecutionMode howToExecuteTask)
634
private void ExecuteIntrinsicTask(
ItemBucket
bucket)
648
private async Task<WorkUnitResult> InitializeAndExecuteTask(TaskLoggingContext taskLoggingContext,
ItemBucket
bucket, IDictionary<string, string> taskIdentityParameters, TaskHost taskHost, TaskExecutionMode howToExecuteTask)
685
private void UpdateContinueOnError(
ItemBucket
bucket, TaskHost taskHost)
737
private async Task<WorkUnitResult> ExecuteInstantiatedTask(TaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost,
ItemBucket
bucket, TaskExecutionMode howToExecuteTask)
1067
private bool GatherTaskOutputs(TaskExecutionHost taskExecutionHost, TaskExecutionMode howToExecuteTask,
ItemBucket
bucket)
1179
ItemBucket
bucket)
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (2)
125
private
ItemBucket
_batchBucket;
300
public bool InitializeForBatch(TaskLoggingContext loggingContext,
ItemBucket
batchBucket, IDictionary<string, string> taskIdentityParameters)
Microsoft.Build.Engine.UnitTests (6)
BackEnd\BatchingEngine_Tests.cs (4)
56
List<
ItemBucket
> buckets = BatchingEngine.PrepareBatchingBuckets(
64
foreach (
ItemBucket
bucket in buckets)
145
List<
ItemBucket
> buckets = BatchingEngine.PrepareBatchingBuckets(
238
List<
ItemBucket
> buckets = BatchingEngine.PrepareBatchingBuckets(
BackEnd\TargetUpToDateChecker_Tests.cs (1)
612
ItemBucket
itemBucket = new ItemBucket(null, null, new Lookup(itemsByName, new PropertyDictionary<ProjectPropertyInstance>()), 0);
BackEnd\TaskExecutionHost_Tests.cs (1)
74
private
ItemBucket
_bucket;