Exploit databaseDownload repository ZIP
GH-5fbbd02ef8781becfaa9bbb24c21a7fd
25wangj/ftccenterstage16460
Sources for CVE-2019-11358
1,181 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files19
25wangj/ftccenterstage16460Revision 4567bd0168c4
- ↑..Parent directory
- BoolCommand.java
- Command.java
- CommandOpMode.java
- ConsecutiveDetector.java
- DeadlineCommand.java
- FallingEdgeDetector.java
- FnCommand.java
- Listener.java
- ParCommand.java
- RaceCommand.java
- RepeatCommand.java
- RisingEdgeDetector.java
- Scheduler.java
- SeqCommand.java
- StateMachine.java
- StateMachineBuilder.java
- Subsystem.java
- SwitchCommand.java
- WaitCommand.java
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/command/RepeatCommand.java
Java · 735 bytespackage org.firstinspires.ftc.teamcode.command;
public class RepeatCommand extends Command {
private Command repeat;
public RepeatCommand(Command repeat) {
this.repeat = repeat;
subsystems.addAll(repeat.getSubsystems());
}
@Override
public void init(double time) {
repeat.init(time);
}
@Override
public void run(double time) {
if (repeat.done(time)) {
repeat.end(time, false);
repeat.init(time);
} else {
repeat.run(time);
}
}
@Override
public void end(double time, boolean canceled) {
repeat.end(time, true);
}
@Override
public boolean done(double time) {
return false;
}
}