Skip to content

Commit

Permalink
删除不使用代码
Browse files Browse the repository at this point in the history
  • Loading branch information
lindexi committed Aug 27, 2023
1 parent b74c293 commit c9c5048
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 56 deletions.
45 changes: 45 additions & 0 deletions Bp/WherewurjeahodairhohemConanaqe.Wpf/Core/Neuron.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,51 @@ public void Deserialize(DeserializeContext context)
}
}

public class F1
{
public void Foo()
{
double x = 1; double xUnit = 1; double xOffset = 1; double y = 1; double yUnit = 1; double yOffset = 1;
X = Calculate(x, xUnit, xOffset);
Y = Calculate(y, yUnit, yOffset);
}

readonly record struct XxArgument(double OriginValue, double Unit, double Offset);

private double Foo1(in XxArgument argument)
{
...// 忽略代码
}

private double Foo2(in XxArgument argument)
{
...// 忽略代码
}

private double Foo3(in XxArgument argument)
{
...// 忽略代码
}

{
var result = originValue;
if (unit > 0)
{
result *= unit;
}

if (offset > 0)
{
result += offset;
}

return result;
}

public double X { set; get; }
public double Y { set; get; }
}

public class InputNeuron : Neuron
{
public InputNeuron(NeuronManager neuronManager) : base(new NeuronId(0), neuronManager)
Expand Down
2 changes: 1 addition & 1 deletion Imageshack
35 changes: 0 additions & 35 deletions bash.exe.stackdump

This file was deleted.

20 changes: 0 additions & 20 deletions mintty.exe.stackdump

This file was deleted.

0 comments on commit c9c5048

Please sign in to comment.