This file contains hidden or 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
| #![no_std] | |
| #![no_main] | |
| #![feature(never_type)] | |
| #![feature(unwrap_infallible)] | |
| mod framebuffer; | |
| #[panic_handler] | |
| fn panic(_info: &core::panic::PanicInfo) -> ! { | |
| loop {} |
This file contains hidden or 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
| #![no_std] | |
| #![no_main] | |
| #[panic_handler] | |
| fn panic(_info: &core::panic::PanicInfo) -> ! { | |
| loop {} | |
| } | |
| fn color(fb: &blueloader_info::Framebuffer, c: (u8, u8, u8)) -> u32 { | |
| use bitintr::Pdep; |
This file contains hidden or 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
| #![no_std] | |
| #![no_main] | |
| #[panic_handler] | |
| fn panic(_info: &core::panic::PanicInfo) -> ! { | |
| loop {} | |
| } | |
| #[no_mangle] | |
| pub extern "C" fn _start() -> u32 { |
This file contains hidden or 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
| #![no_std] | |
| #![no_main] | |
| #![feature(abi_efiapi)] | |
| use uefi::prelude::*; | |
| use core::fmt::Write; | |
| #[entry] | |
| fn efi_main(image: Handle, st: SystemTable<Boot>) -> Status { | |
| uefi_services::init(&st).expect_success("Failed to initialize services."); |
This file contains hidden or 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
| #![no_std] | |
| #![no_main] | |
| #![feature(abi_efiapi)] | |
| use uefi::prelude::*; | |
| use core::fmt::Write; | |
| #[entry] | |
| fn efi_main(image: Handle, st: SystemTable<Boot>) -> Status { | |
| uefi_services::init(&st).expect_success("Failed to initialize services."); |
This file contains hidden or 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
| use plotters::prelude::*; | |
| use plotters::chart::SeriesAnno; | |
| use plotters::coord::{AsRangedCoord, Shift}; | |
| use plotters::element::{DynElement, PointCollection}; | |
| use std::ops::{Deref, DerefMut, Range}; | |
| pub struct AutoRange<'a, 'b, DB: DrawingBackend, X: Clone, Y: Clone> { | |
| chart: ChartBuilder<'a, 'b, DB>, | |
| xrange: Range<X>, | |
| yrange: Range<Y>, |
This file contains hidden or 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 collections | |
| import pprint | |
| import sys | |
| import attr | |
| import numpy | |
| import scipy.spatial | |
| import graphviz | |
| from cached_property import cached_property |
This file contains hidden or 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
| <client> Nick(nickname='earendil-bot') | |
| <client> User(user='earendil', mode=0, realname='Earendil the Mariner') | |
| <server> Notice(target='*', message='*** Looking up your hostname...') | |
| <server> Notice(target='*', message='*** Checking Ident') | |
| <server> Notice(target='*', message="*** Couldn't look up your hostname") | |
| <server> Notice(target='*', message='*** No Ident response') | |
| <server> Welcome(target='earendil-bot', message='Welcome to the freenode Internet Relay Chat Network earendil-bot') | |
| <client> ChannelJoin(channels=['#moosesocks'], keys=None) | |
| <server> YourHost(target='earendil-bot', message='Your host is leguin.freenode.net[2001:6b0:e:2a18::119/6667], running version ircd-seven-1.1.9') | |
| <server> Created(target='earendil-bot', message='This server was created Wed Feb 19 2020 at 12:18:38 UTC') |
This file contains hidden or 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
| # This file is generated. Make sure you are editing the right source! | |
| # Earendil IRC Protocol Specification, version 0.0 | |
| import attr | |
| class IrcParseError(Exception): | |
| pass | |
This file contains hidden or 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
| module reservoir_node_000(input enable, | |
| input [99:0] r [99:0], | |
| input [15:0] u [99:0], | |
| output out); | |
| wire value = u[ 40][ 5] & ~u[ 16][ 6] & ~u[ 40][ 7] | |
| | u[ 40][ 5] & ~r[ 51][ 25] & ~r[ 95][ 94] & ~u[ 16][ 6] | |
| | ~r[ 51][ 25] & ~r[ 46][ 45] & ~r[ 95][ 94] & ~u[ 16][ 6] & ~u[ 40][ 7]; | |
| assign out = enable ? value : 1'b0; | |
| endmodule |