This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.fury.benchmark.data; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.Set; | |
import io.fury.Fury; | |
import io.fury.memory.MemoryBuffer; | |
import io.fury.resolver.NoRefResolver; | |
import io.fury.resolver.ClassInfo; | |
import io.fury.resolver.ClassInfoCache; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Code generated by protocol buffer compiler. Do not edit! | |
package protos.test.quickbuf; | |
import java.io.IOException; | |
import protos.test.quickbuf.external.ImportEnum; | |
import protos.test.quickbuf.external.ImportMessage; | |
import us.hebi.quickbuf.FieldName; | |
import us.hebi.quickbuf.InvalidProtocolBufferException; | |
import us.hebi.quickbuf.JsonSink; | |
import us.hebi.quickbuf.JsonSource; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.lmax.disruptor.EventHandler; | |
import com.lmax.disruptor.EventPoller; | |
import com.lmax.disruptor.dsl.Disruptor; | |
import com.lmax.disruptor.util.DaemonThreadFactory; | |
import javafx.animation.AnimationTimer; | |
/** | |
* Uses a JavaFX AnimationTimer that gets called once per frame to poll | |
* events from a Disruptor. This automatically batches events down to the | |
* frame rate and can remove other synchronization code for getting data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import javafx.application.Application; | |
import javafx.beans.binding.Bindings; | |
import javafx.geometry.Orientation; | |
import javafx.scene.Scene; | |
import javafx.scene.control.Slider; | |
import javafx.scene.image.*; | |
import javafx.scene.layout.*; | |
import javafx.stage.Stage; | |
import java.nio.ByteBuffer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Properties with added persistence between runs. Generated accessors are omitted. | |
*/ | |
public class UiConfig extends PersistentProperties { | |
private final BooleanProperty debugEnabled = getBoolean("ENABLE_DEBUG", true); | |
private final StringProperty unitLabel = getString("SELECTED_UNITS", "mm"); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*- | |
* %% | |
* Copyright (C) 2018-2022 HEBI Robotics | |
* %% | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<?import javafx.scene.control.Button?> | |
<?import javafx.scene.layout.HBox?> | |
<?import javafx.scene.layout.StackPane?> | |
<?import javafx.scene.layout.VBox?> | |
<?import javafx.scene.text.Text?> | |
<StackPane xmlns="http://javafx.com/javafx/18" xmlns:fx="http://javafx.com/fxml/1" | |
fx:controller="us.hebi.gui.ViewController"> | |
<children> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ViewController { | |
@FXML | |
Button button; | |
@Getter | |
@Inject | |
UiConfig cfg; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class UiConfig { | |
public boolean getDebugEnabled() { | |
return debugEnabled.get(); | |
} | |
public BooleanProperty debugEnabledProperty() { | |
return debugEnabled; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class RootViewController implements Initializable { | |
@FXML | |
Pane root; | |
@FXML | |
Pane view1; | |
@FXML | |
Pane view2; |
NewerOlder