- C17 fmax
- Rust f64::max
- LLVM llvm.maxnum
- ARM FMAXNM (either mode)
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
#[repr(transparent)] | |
pub struct Address(pub u64); | |
#[repr(transparent)] | |
pub struct NonZeroAddress(pub NonZeroU64); | |
#[repr(transparent)] | |
pub struct ProcessId(NonZeroU64); | |
#[repr(transparent)] |
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
#![feature(let_else)] | |
#![no_std] | |
use core::{fmt, mem}; | |
use bytemuck::{Pod, Zeroable}; | |
#[derive(Debug, Copy, Clone, Pod, Zeroable)] | |
#[repr(C)] | |
pub struct Header { |
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
using UnityEngine; | |
using LiveSplitCore; | |
using System; | |
using System.IO; | |
public class LS : MonoBehaviour | |
{ | |
Timer timer; | |
Layout layout; | |
LayoutState layoutState; |
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
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] | |
use std::{ | |
io::Cursor, | |
sync::{Arc, RwLock}, | |
time::{Duration, Instant}, | |
}; | |
use minifb::{Key, KeyRepeat, ScaleMode, Window, WindowOptions}; | |
use rustybuzz::UnicodeBuffer; |
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
use std::cmp::Ordering; | |
use anyhow::{bail, Context, Result}; | |
use arrayvec::ArrayVec; | |
pub fn parse(input: &str) -> impl Iterator<Item = Result<usize>> + '_ { | |
input | |
.lines() | |
.map(|l| l.parse().context("Failed parsing one of the numbers.")) | |
} |
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
undefined4 dSeaFightGame_info_c_init(int this,int param_2,int param_3) | |
{ | |
int y; | |
undefined *puVar1; | |
int x; | |
int iVar2; | |
x = 0; | |
y = 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
11 I | |
146 was | |
15 not | |
62 alone | |
87 others | |
14 are | |
106 outside | |
2 the | |
150 Loop |