Skip to content

Commit

Permalink
Update Types.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
badrishc authored Apr 4, 2023
1 parent 6bc97ee commit 398bb75
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cs/samples/StoreDiskReadBenchmark/Types.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.

using FASTER.core;
Expand Down Expand Up @@ -70,7 +70,8 @@ public override bool InitialUpdater(ref Key key, ref Input input, ref Value valu
public override bool CopyUpdater(ref Key key, ref Input input, ref Value oldValue, ref Value newValue, ref Output output, ref RMWInfo rmwInfo)
{
newValue.vfield1 = oldValue.vfield1 + input.ifield1;
return true; }
return true;
}
public override bool InPlaceUpdater(ref Key key, ref Input input, ref Value value, ref Output output, ref RMWInfo rmwInfo)
{
value.vfield1 += input.ifield1;
Expand Down

0 comments on commit 398bb75

Please sign in to comment.