Skip to content

Instantly share code, notes, and snippets.

View leo60228's full-sized avatar
🦀
🦀

leo60228 leo60228

🦀
🦀
View GitHub Profile
Leliel Otterman
Bandit Marama
Mac Haddad
Bernie Tugboat
Jomgy Rolsenthal
Emily Friendo
Lancelot Duduk
Orpheus Wagner
Michael Moreno
Aimee Papadopoulos
use std::env::{consts::EXE_SUFFIX, split_paths, var_os};
use std::path::PathBuf;
use std::process::Command;
#[derive(Clone, Debug, Default)]
pub struct JavaExecutable {
pub path: PathBuf,
pub platform_version: Option<String>,
pub runtime_version: Option<String>,
pub jvm_information: Option<String>,
<!DOCTYPE html>
<html>
<body>
<script>
function prepare() {
var iframe = document.createElement('iframe');
document.body.appendChild(iframe);
var doc = iframe.contentDocument;
doc.body.innerHTML = '<div>hello</div>';
<!DOCTYPE html>
<html>
<head>
<script>
function logEvent(evt)
{
consoleWrite("EVENT(" + evt.type + ")");
}
function startTest()
<!DOCTYPE html>
<html>
<head>
<script>
function startTest()
{
document.getElementsByTagName('track')[0].track.mode = 'showing';
setTimeout(CFcrash, 5000);
}
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <arm_neon.h>
#include <arm_acle.h>
const uint32_t K[] = {
0x428A2F98, 0x71374491, 0xB5C0FBCF, 0xE9B5DBA5,
0x3956C25B, 0x59F111F1, 0x923F82A4, 0xAB1C5ED5,
0xD807AA98, 0x12835B01, 0x243185BE, 0x550C7DC3,
(module
(global $s0 (mut i64) (i64.const 0))
(global $s1 (mut i64) (i64.const 0))
(global $s2 (mut i64) (i64.const 0))
(global $s3 (mut i64) (i64.const 0))
(func (export "seed") (param $p0 i64) (param $p1 i64) (param $p2 i64) (param $p3 i64)
local.get $p0
global.set $s0
local.get $p1
; ModuleID = 'crabquest.dd71e8b8-cgu.0'
source_filename = "crabquest.dd71e8b8-cgu.0"
target datalayout = "e-m:e-p:16:8-i16:8-i32:8-i64:8-f32:8-f64:8-a:8-Fi8-n8"
target triple = "mos-unknown-none"
@_ZN9crabquest9NAMETABLE17hd51a107367afa20aE = internal constant <{ [1024 x i8] }> <{ [1024 x i8] c"\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\01\02\03\04\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\01\02\03\04\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\
; ModuleID = 'crabquest.dd71e8b8-cgu.0'
source_filename = "crabquest.dd71e8b8-cgu.0"
target datalayout = "e-m:e-p:16:8-i16:8-i32:8-i64:8-f32:8-f64:8-a:8-Fi8-n8"
target triple = "mos-unknown-none"
@_ZN9crabquest9NAMETABLE17hd51a107367afa20aE = internal constant <{ [1024 x i8] }> <{ [1024 x i8] c"\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\01\02\03\04\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\01\02\03\04\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\
# derived from https://github.com/DavidBuchanan314/unsafe-python
nogc = set()
def sizeof(obj):
return type(obj).__sizeof__(obj)
def get_aligned_tuple_and_bytes(prefix):
its_per_size = 4
tuples = []