max_stars_repo_path stringlengths 4 261 | max_stars_repo_name stringlengths 6 106 | max_stars_count int64 0 38.8k | id stringlengths 1 6 | text stringlengths 7 1.05M |
|---|---|---|---|---|
grep.asm | snowman789/xv6_scheduler | 0 | 99977 | <reponame>snowman789/xv6_scheduler
_grep: file format elf32-i386
Disassembly of section .text:
00000000 <matchstar>:
return 0;
}
// matchstar: search for c*re at beginning of text
int matchstar(int c, char *re, char *text)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp... |
tests/src/layer_priority.adb | Fabien-Chouteau/GESTE | 13 | 368 | <filename>tests/src/layer_priority.adb
with GESTE;
with GESTE.Sprite;
with GESTE.Tile_Bank;
with Ada.Text_IO;
with Console_Char_Screen;
with Ada.Exceptions;
procedure Layer_Priority is
use type GESTE.Pix_Point;
package Console_Screen is new Console_Char_Screen
(Width => 9,
Height => 9,
... |
snippets/mod320.i.asm | ped7g/ZXSpectrumNextMisc | 15 | 546 | <gh_stars>10-100
MODULE mod320
;--------------------------------------------------------------------------------------------
; Calculates HL = HL % 320, for uin16_t values (0..65535)
; modifies: DE, BC, F
; code length: 18 bytes, about 500T total duration (for SUB_POWER 6)
; (for [incomplete] int16_t input you can... |
bb-runtimes/src/s-bbbosu__mpc5200.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 22811 | <filename>bb-runtimes/src/s-bbbosu__mpc5200.adb<gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/constant2_pkg2.ads | best08618/asylo | 7 | 19834 | package Constant2_Pkg2 is
function F1 return Boolean;
function F2 return Boolean;
end Constant2_Pkg2;
|
source/containers/a-colili.adb | ytomino/drake | 33 | 29741 | package body Ada.Containers.Linked_Lists is
procedure Reverse_Iterate (
Last : Node_Access;
Process : not null access procedure (Position : not null Node_Access))
is
Position : Node_Access := Last;
begin
while Position /= null loop
Process (Position);
Position := Prev... |
tests/exec/record3.adb | xuedong/mini-ada | 0 | 15723 | with Ada.Text_IO; use Ada.Text_IO;
procedure Record3 is
type R is record A, B: Character; end record;
type S is record C: Character; D: R; E: Character; end record;
procedure PrintR(x: R) is
begin
Put('[');
Put(x.A);
Put(',');
Put(x.B);
Put(']');
end;
procedure PrintS(... |
programs/oeis/122/A122074.asm | jmorken/loda | 1 | 247703 | ; A122074: a(0)=1, a(1)=6, a(n) = 7*a(n-1) - 2*a(n-2).
; 1,6,40,268,1796,12036,80660,540548,3622516,24276516,162690580,1090281028,7306586036,48965540196,328145609300,2199088184708,14737326074356,98763106151076,661867090908820,4435543424059588,29725069786599476
mov $1,1
lpb $0
sub $0,1
mul $1,2
add $2,$1
add $2... |
src/Haskell/Modules/RWS/RustAnyHow.agda | LaudateCorpus1/bft-consensus-agda | 0 | 7564 | {- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
module Haskell.Modules.RWS.RustAnyHow where
open import Haskell.Modules.RWS
... |
program-template.asm | meowgle/FSystem | 0 | 1980 | <filename>program-template.asm
bits 16 ; We're dealing with 16 bit code
org 0x7e00 ; Inform the assembler of the starting location for this code
prog_start:
|
alloy4fun_models/trashltl/models/11/mZbJmPW6aFRYmzNzp.als | Kaixi26/org.alloytools.alloy | 0 | 1971 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idmZbJmPW6aFRYmzNzp_prop12 {
eventually always some f:File | f not in Trash implies f in Trash'
}
pred __repair { idmZbJmPW6aFRYmzNzp_prop12 }
check __repair { idmZbJmPW6aFRYmzNzp_prop12 <=> prop12o } |
oeis/292/A292682.asm | neoneye/loda-programs | 11 | 242924 | <reponame>neoneye/loda-programs
; A292682: Rule 230: (000, ..., 111) -> (0, 1, 1, 0, 0, 1, 1, 1), without extending to the right of input bit 0.
; Submitted by <NAME>
; 0,3,6,5,12,15,10,11,24,27,30,29,20,23,22,23,48,51,54,53,60,63,58,59,40,43,46,45,44,47,46,47,96,99,102,101,108,111,106,107,120,123,126,125,116,119,118,1... |
source/amf/dd/amf-internals-tables-dc_metamodel.adb | svn2github/matreshka | 24 | 12768 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
oeis/142/A142168.asm | neoneye/loda-programs | 11 | 176534 | ; A142168: Primes congruent to 16 mod 39.
; Submitted by <NAME>
; 211,367,523,601,757,991,1069,1303,1381,1459,1693,2083,2161,2239,2473,2551,2707,3019,3253,3331,3643,3877,4111,4423,4657,4813,4969,5281,5437,5749,5827,6217,6373,6451,6529,6607,6763,6841,6997,7309,7621,7699,7933,8011,8089,8167,8713,9103,9181,9337,9649,9883,... |
examples/GUIgeneric/GUIExampleBankAccount.agda | stephanadls/state-dependent-gui | 2 | 357 | <filename>examples/GUIgeneric/GUIExampleBankAccount.agda
module GUIgeneric.GUIExampleBankAccount where
open import GUIgeneric.Prelude renaming (inj₁ to firstBtn; inj₂ to secondBtn; WxColor to Color;_∸_ to _-_) hiding (addButton; _>>_ ; show)
open import GUIgeneric.GUIDefinitions renaming (add to add'; add' to add)... |
data/pokemon/base_stats/skiploom.asm | pokeachromicdevs/pokeoctober | 1 | 96526 | db 0 ; species ID placeholder
db 55, 45, 50, 80, 45, 65
; hp atk def spd sat sdf
db GRASS, FLYING ; type
db 120 ; catch rate
db 136 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/skiploom... |
c2000/C2000Ware_1_00_06_00/libraries/boot_rom/f2806x/v1_1/rom_sources/source/ITRAPIsr.asm | ramok/Themis_ForHPSDR | 0 | 179626 | ;; TI File $Revision: /main/4 $
;; Checkin $Date: March 8, 2011 15:18:35 $
;;###########################################################################
;;
;; FILE: ITRAPIsr.asm
;;
;; TITLE: Boot Rom ITRAP ISR.
;;
;; Functions:
;;
;; _ITRAPIsr
;;
;; Notes:
;;
;;#############################################... |
awa/plugins/awa-countries/tools/import_country.adb | fuzzysloth/ada-awa | 81 | 22488 | -----------------------------------------------------------------------
-- import_country -- Read a Country csv file to update the database
-- Copyright (C) 2011, 2012, 2013 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file exce... |
tests/hello2.asm | paul-nameless/lc3-asm | 0 | 14699 | <filename>tests/hello2.asm<gh_stars>0
; Print "Hello World!" 5 times
; Use Loops to achieve the aforementioned output
; Execution Phase
.ORIG x3000
LEA R0, HELLO ; R0 = "Hello....!"
LD R1, COUNTER ; R1 = 5
LOOP TRAP x22 ; Print Hello World
ADD R1, R1, #-1 ; Decrement Counter
BRp LOOP ; Returns to LOOP label ... |
tests/align/2.asm | NullMember/customasm | 414 | 173807 | #ruledef test
{
ld {x} => 0x55 @ x`8
}
ld $ ; = 0x5500
#align 16 + 16 ; = 0x0000
ld $ ; = 0x5504 |
agda-stdlib/src/Category/Comonad.agda | DreamLinuxer/popl21-artifact | 5 | 12582 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Comonads
------------------------------------------------------------------------
-- Note that currently the monad laws are not included here.
{-# OPTIONS --without-K --safe #-}
module Category.Comonad where
... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/weak2.adb | best08618/asylo | 7 | 3747 | -- { dg-do compile }
package body Weak2 is
function F return Integer is
begin
return Var;
end;
end Weak2;
|
src/fractal.ads | Robert-Tice/AdaFractalLib | 0 | 15638 | <filename>src/fractal.ads
with Ada.Synchronous_Barriers; use Ada.Synchronous_Barriers;
with System;
with Computation_Type;
with Image_Types;
generic
with package CT is new Computation_Type (<>);
with package IT is new Image_Types (<>);
with procedure Calculate_Pixel (Re : CT.Real;
... |
asm/x64/lm_start.asm | icebit/modulon | 5 | 19500 | ;;------------------------------------------------------------------------------------------------
;;`arch/x64/lm_start.asm`
;;
;;First 64 bit file to be called, calls kmain().
;;------------------------------------------------------------------------------------------------
global lm_start
extern kmain
extern kb_hand... |
agda/Pitch.agda | halfaya/MusicTools | 28 | 12430 | <reponame>halfaya/MusicTools<filename>agda/Pitch.agda
{-# OPTIONS --erased-cubical --safe #-}
module Pitch where
open import Cubical.Core.Everything using (_≡_; Level; Type; Σ; _,_; fst; snd; _≃_; ~_)
open import Cubical.Foundations.Prelude using (refl; sym; _∙_; cong; transport; subst; funExt; transp)
--open im... |
programs/oeis/055/A055086.asm | neoneye/loda | 22 | 174358 | <filename>programs/oeis/055/A055086.asm
; A055086: n appears 1+[n/2] times.
; 0,1,2,2,3,3,4,4,4,5,5,5,6,6,6,6,7,7,7,7,8,8,8,8,8,9,9,9,9,9,10,10,10,10,10,10,11,11,11,11,11,11,12,12,12,12,12,12,12,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,16,16,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,17,18... |
programs/oeis/060/A060106.asm | neoneye/loda | 22 | 164705 | ; A060106: Numbers that are congruent to {1, 4, 6, 9, 11} mod 12. The Ebony keys on a piano, start with A0 = the 0th key.
; 1,4,6,9,11,13,16,18,21,23,25,28,30,33,35,37,40,42,45,47,49,52,54,57,59,61,64,66,69,71,73,76,78,81,83,85,88,90,93,95,97,100,102,105,107,109,112,114,117,119,121,124,126,129,131,133,136,138,141,143,1... |
FormalAnalyzer/models/apps/GarageDoorOpenTurnonLight.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 3025 | <gh_stars>0
module app_GarageDoorOpenTurnonLight
open IoTBottomUp as base
open cap_runIn
open cap_now
open cap_contactSensor
open cap_switch
open cap_switch
open cap_location
one sig app_GarageDoorOpenTurnonLight extends IoTApp {
location : one cap_location,
garageContact : one cap_contactSensor,
switch... |
llvm-gcc-4.2-2.9/gcc/ada/g-socket.adb | vidkidz/crossbridge | 1 | 21724 | <reponame>vidkidz/crossbridge
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
kernel.asm | KurvTurtle/CS153Lab3 | 0 | 162715 |
kernel: file format elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010000b: e4 .byte 0xe4
8010000c <entry>:
# E... |
untested/x64/aes_random_stuff.asm | GabrielRavier/Generic-Assembly-Samples | 0 | 25021 | global _gf_mul
global _AES_RotWord
segment .text align=16
_gf_mul:
xor eax, eax
test esi, esi
je .ret
.loop:
test sil, 1
je .noXor
xor eax, edi
.noXor:
add edi, edi
shr esi, 1
cmp edi, 0xFF
jbe .noXor2
xor edi, 0x11B
.noXor2:
test esi, esi
jne .loop
ret
align 16
.ret:
ret
al... |
lab02/ex04/Numbers.g4 | BlasphemyCoder/Compilers | 3 | 3267 | grammar Numbers;
file: line* EOF;
line:
NUM '-' WORD NEWLINE; // each line is number - word (ex: 0 - zero)
NUM: [0-9]+;
WORD: [a-zA-Z]+;
NEWLINE:
'\r'? '\n'; // definition of newline (\r\n if it is windows)
WS: [ \t]+ -> skip; // skip spaces |
scripts/AppleScript/RefreshUnderscan.scpt | mcumbers/scripts | 0 | 4395 | activate application "System Preferences"
tell application "System Events" to tell process "System Preferences"
set frontmost to true
tell first window to tell toolbar 1 to tell group 2 to tell group 1 to tell button "Show All" to perform action "AXPress"
delay 1
tell first window to tell first scroll area to... |
4-high/gel/applet/demo/distributed/gel_demo_server.ads | charlie5/lace-alire | 1 | 3630 | with
gel.World.server;
package gel_demo_Server
--
-- Provides the server.
--
is
the_server_World : gel.World.server.view;
task Item
is
entry start;
entry stop;
end Item;
end gel_demo_Server;
|
libsrc/stdio/__printf_handle_llu.asm | jpoikela/z88dk | 0 | 88493 |
IF !__CPU_INTEL__
MODULE __printf_handle_llu
SECTION code_clib
PUBLIC __printf_handle_llu
EXTERN __printf_number64
__printf_handle_llu:
ld c,0 ;unsigned
jp __printf_number64
ENDIF
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt31.adb | best08618/asylo | 7 | 8115 | -- { dg-do run }
-- { dg-options "-O" }
with Interfaces; use Interfaces;
with Unchecked_Conversion;
procedure Opt31 is
type Unsigned_24 is new Unsigned_32 range 0 .. 2**24 - 1;
subtype Time_T is Unsigned_24 range 0 .. 24 * 60 * 60 * 128 - 1;
type Messages_T is array (Positive range <>) of Unsigned_8;
subtyp... |
src/kernel/sys/pic.asm | AtieP/FutureDOS | 134 | 21056 | <gh_stars>100-1000
; 8259 Programmable Interrupt Controller related functions
; Remaps the 8259 Programmable Interrupt Controller.
; IN: Nothing
; OUT: Nothing
pic_init:
push ax
pushf
cli
; Get current mask
in al, 0x21
mov [.master_mask], al
; Restart
mov al, 0x11
out 0x20, al
xor al, al
out 0x80, al
... |
alloy4fun_models/trashltl/models/17/qYykZaWvXkMhELYjL.als | Kaixi26/org.alloytools.alloy | 0 | 266 | <filename>alloy4fun_models/trashltl/models/17/qYykZaWvXkMhELYjL.als
open main
pred idqYykZaWvXkMhELYjL_prop18 {
always all f: Protected | f not in Protected until f in Trash
}
pred __repair { idqYykZaWvXkMhELYjL_prop18 }
check __repair { idqYykZaWvXkMhELYjL_prop18 <=> prop18o } |
data/mapObjects/CeladonMartRoof.asm | AmateurPanda92/pokemon-rby-dx | 9 | 9512 | CeladonMartRoof_Object:
db $42 ; border block
db 1 ; warps
warp 15, 2, 0, CELADON_MART_5F
db 4 ; signs
sign 10, 1, 3 ; CeladonMartRoofText3
sign 11, 1, 4 ; CeladonMartRoofText4
sign 12, 2, 5 ; CeladonMartRoofText5
sign 13, 2, 6 ; CeladonMartRoofText6
db 2 ; objects
object SPRITE_BLACK_HAIR_BOY_2, 10, 4, ST... |
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/kart/risc.lzh/risc/join/kart-ppu.asm | prismotizm/gigaleak | 0 | 100514 | Name: kart-ppu.asm
Type: file
Size: 21805
Last-Modified: '1992-11-18T01:34:03Z'
SHA-1: F8D5CDE0B6E06303DB14FBF6173C6EBE13120584
Description: null
|
ugbc/src/hw/gtia/plot.asm | Samuel-DEVULDER/ugbasic | 0 | 244587 | ; /*****************************************************************************
; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers *
; *****************************************************************************
; * Copyright 2021 <NAME> (<EMAIL>)
; *
; * Licensed under the Apache Lice... |
Altair101/asm/programsUntested/opOutTimer.asm | tigerfarm/arduino | 2 | 82553 | <gh_stars>1-10
; ------------------------------------------------
; Test timer OUT ports.
;
; ------------------------------------------------
Begin:
MVI A... |
Test Programs/error.asm | robopilot99/scompulator | 0 | 97383 | <gh_stars>0
LOOP:
LOADI 42;
OR 1;
RETURN;
OUT &HAA;
JUMP LOOP;
|
boot/loader.asm | kammce/KinXOS | 0 | 6639 | ; All underscores shall be removed!!!!
global loader ; making entry point visible to linker
global MULTIBOOT
extern kmain ; kmain is defined in kmain.cpp
; setting up the Multiboot header - see GRUB docs for details
MODULEALIGN equ 1<<0 ; align ... |
R.g4 | rc2server/Rc2Parser | 0 | 6237 | /*
[The "BSD licence"]
Copyright (c) 2013 <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditio... |
oeis/099/A099271.asm | neoneye/loda-programs | 11 | 9153 | ; A099271: Unsigned member r=-13 of the family of Chebyshev sequences S_r(n) defined in A092184.
; Submitted by <NAME>
; 0,1,13,196,2925,43681,652288,9740641,145457325,2172119236,32436331213,484372848961,7233156403200,108012973199041,1612961441582413,24086408650537156,359683168316474925,5371161116096586721
mov $2,1
lp... |
nicolai/pseudotruncations/NONRECURSIVE-INDEX.agda | nicolaikraus/HoTT-Agda | 1 | 13774 | {-# OPTIONS --without-K #-}
{- INDEX: Some constructions with non-recursive HITs,
and related results.
This formalization covers the hardest results of my
paper titled "Constructions with non-recursive HITs".
To be precise: I have formalized the result that all
functions in the sequence of approximati... |
c64petscii.asm | mslinklater/C64 | 0 | 7223 | PETSCII_SPACE = #$20
|
oeis/033/A033587.asm | neoneye/loda-programs | 11 | 12553 | <gh_stars>10-100
; A033587: a(n) = 2*n*(4*n + 3).
; 0,14,44,90,152,230,324,434,560,702,860,1034,1224,1430,1652,1890,2144,2414,2700,3002,3320,3654,4004,4370,4752,5150,5564,5994,6440,6902,7380,7874,8384,8910,9452,10010,10584,11174,11780,12402,13040,13694,14364,15050,15752,16470,17204,17954,18720,19502,20300,21114,21944,2... |
HelloAMD64/intro.asm | pacojq/HelloAMD64 | 0 | 95192 | <filename>HelloAMD64/intro.asm
.code
SomeFunction proc
mov rax, 123 ; If there's a value in the register rax, C++ will take it as return value
ret
SomeFunction endp
end |
programs/oeis/261/A261095.asm | neoneye/loda | 22 | 85285 | ; A261095: First differences of A219640: a(n) = A219640(n+1) - A219640(n).
; 1,1,2,1,2,1,1,3,1,1,2,1,3,1,1,2,1,2,1,1,4,1,1,2,1,2,1,1,3,1,1,2,1,4,1,1,2,1,2,1,1,3,1,1,2,1,3,1,1,2,1,2,1,1,5,1,1,2,1,2,1,1,3,1,1,2,1,3,1,1,2,1,2,1,1,4,1,1,2,1,2,1,1,3,1,1,2,1,5,1,1,2,1,2,1,1,3,1,1,2
seq $0,139764 ; Smallest term in Zeckendor... |
base/atari/players/cmc_player_reloc.asm | zbyti/Mad-Pascal | 7 | 14418 | <gh_stars>1-10
*---------------------------*
* cmc player v 2.1 *
* by <NAME> *
* based on cmc player v 2.0 *
* by <NAME> *
*---------------------------*
// 10.03.2016 Tebe/Madteam
*--- tablica basu (chyba)
bass equ 1
*--- strona 0
addr equ $fc
word equ $fe
.reloc
.pr... |
libsrc/_DEVELOPMENT/adt/p_list/c/sccz80/p_list_remove_callee.asm | jpoikela/z88dk | 640 | 171769 |
; void *p_list_remove(p_list_t *list, void *item)
SECTION code_clib
SECTION code_adt_p_list
PUBLIC p_list_remove_callee
EXTERN asm_p_list_remove
p_list_remove_callee:
pop af
pop hl
pop bc
push af
jp asm_p_list_remove
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _p_list_remove_callee
defc _p_l... |
Altair101/asm/programs/opOutPlayerVfp.asm | tigerfarm/arduino | 2 | 8415 | <gh_stars>1-10
; ------------------------------------------------
; Test MP3 player out ports.
;
; OUT 10, MP3 play options.
... |
src/gen-artifacts-xmi.ads | jquorning/dynamo | 15 | 8490 | -----------------------------------------------------------------------
-- gen-artifacts-xmi -- UML-XMI artifact for Code Generator
-- Copyright (C) 2012, 2013, 2014, 2016, 2021 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file ... |
programs/oeis/194/A194153.asm | karttu/loda | 0 | 175664 | ; A194153: Sum{floor(j*(sqrt(5))/2) : 1<=j<=n}; n-th partial sum of Beatty sequence for (sqrt(5))/2.
; 1,3,6,10,15,21,28,36,46,57,69,82,96,111,127,144,163,183,204,226,249,273,298,324,351,380,410,441,473,506,540,575,611,649,688,728,769,811,854,898,943,989,1037,1086,1136,1187,1239,1292,1346,1401,1458,1516
mov $16,$0
mov... |
src/base/commands/util-commands-parsers-gnat_parser.ads | yrashk/ada-util | 0 | 11348 | <filename>src/base/commands/util-commands-parsers-gnat_parser.ads<gh_stars>0
-----------------------------------------------------------------------
-- util-commands-parsers.gnat_parser -- GNAT command line parser for command drivers
-- Copyright (C) 2018, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed u... |
MIPSDoorLock.asm | alvihabib/mips-door-lock | 0 | 25555 | <reponame>alvihabib/mips-door-lock
; Final Project
; <NAME>
; Door Lock
#include "p16F1708.inc"
; CONFIG1
; __config 0x3FE4
__CONFIG _CONFIG1, _FOSC_INTOSC & _WDTE_OFF & _PWRTE_OFF & _MCLRE_ON & _CP_OFF & _BOREN_ON & _CLKOUTEN_OFF & _IESO_ON & _FCMEN_ON
; CONFIG2
; __config 0x3FFF
__CONFIG _CONFIG2, _WRT_OFF & ... |
Transynther/x86/_processed/NC/_ht_zr_/i7-8650U_0xd2_notsx.log_128_61.asm | ljhsiun2/medusa | 9 | 101530 | <filename>Transynther/x86/_processed/NC/_ht_zr_/i7-8650U_0xd2_notsx.log_128_61.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1c04, %rsi
lea addresses_WC_ht+0xb484, %rdi
inc %rbx
mov $23, %rcx
rep movsw
nop
nop
nop
n... |
Structs.agda | liamoc/structs | 0 | 9089 | <filename>Structs.agda
module Structs where
open import Data.List
open import Data.String
open import Data.Product hiding (map)
open import Relation.Binary.PropositionalEquality as PE hiding ([_])
open import Data.List.Any hiding (map)
open module M {ℓ}{X : Set ℓ} = Membership (PE.setoid X )
import Level
data StructE... |
agda-stdlib/src/Data/Char/Properties.agda | DreamLinuxer/popl21-artifact | 5 | 10187 | <filename>agda-stdlib/src/Data/Char/Properties.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Properties of operations on characters
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data... |
programs/oeis/017/A017447.asm | neoneye/loda | 22 | 243228 | <filename>programs/oeis/017/A017447.asm
; A017447: a(n) = (11*n + 4)^11.
; 4194304,8649755859375,3670344486987776,177917621779460413,3116402981210161152,30155888444737842659,197732674300000000000,984770902183611232881,3996373778857415671808,13842338707244455781047,42262322980951656843264,116415321826934814453125,294393... |
programs/prov_aux.asm | cid0rz/CTS-Cidorz-Train-System | 5 | 86184 | ##PROV STATION ORDER HANDLER
:start
clr
hlt ;configuration is similar to requester handler, it starts reading data
mov r6 green1 ;recieve Z number of trains
mov r7 green1 ;recieve destination R
mov r8 green1 ;recieve total qty of resources of the order
div r8 r6 ;store the quantity per train on r8
:w... |
FormalAnalyzer/models/apps/ID20goodnight.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 2052 | module app_ID20goodnight
open IoTBottomUp as base
open cap_switch
open cap_runIn
open cap_musicPlayer
one sig app_ID20goodnight extends IoTApp {
coffeeMacSwitch : lone cap_switch,
bedroomSwitch : some cap_switch,
runIn : one cap_state,
SonosAlarm : lone cap_musicPlayer,
} {
rules = r
}
one si... |
c6ers/interlnk/fxlib/sendrecv.asm | minblock/msdos | 0 | 164225 | <filename>c6ers/interlnk/fxlib/sendrecv.asm<gh_stars>0
;***
;* $Workfile: sendrecv.asm $
;* $Revision: 1.0 $
;* $Author: <NAME> $
;* $Date: 05 May 1989 16:34:22 $
;***
INCLUDE model.inc
INCLUDE fastlynx.inc
.DATA
PUBLIC SendVector
PUB... |
slides/OpenTheory2.agda | larrytheliquid/generic-elim | 11 | 17074 | open import Data.Nat
open import Data.Vec using ( Vec ; [] ; _∷_ )
module OpenTheory2 where
----------------------------------------------------------------------
data _∈_ {A : Set} : A → {n : ℕ} → Vec A n → Set where
here : {n : ℕ} {x : A} {xs : Vec A n} → x ∈ (x ∷ xs)
there : {n : ℕ} {x y : A} {xs : Vec A n} (... |
programs/oeis/323/A323547.asm | neoneye/loda | 22 | 98234 | <gh_stars>10-100
; A323547: n-th digit in the base-2 expansion of 1/n.
; 0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,1,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,1,1,1
add $0,1
mov $1,2
pow $1,$0
div $1,$0
mov $0,$... |
programs/oeis/021/A021686.asm | neoneye/loda | 22 | 172121 | ; A021686: Decimal expansion of 1/682.
; 0,0,1,4,6,6,2,7,5,6,5,9,8,2,4,0,4,6,9,2,0,8,2,1,1,1,4,3,6,9,5,0,1,4,6,6,2,7,5,6,5,9,8,2,4,0,4,6,9,2,0,8,2,1,1,1,4,3,6,9,5,0,1,4,6,6,2,7,5,6,5,9,8,2,4,0,4,6,9,2,0,8,2,1,1,1,4,3,6,9,5,0,1,4,6,6,2,7,5,6
add $0,1
mov $1,10
pow $1,$0
mul $1,5
div $1,3410
mod $1,10
mov $0,$1
|
vendor/stdlib/src/Relation/Binary/StrictPartialOrderReasoning.agda | isabella232/Lemmachine | 56 | 14708 | ------------------------------------------------------------------------
-- Convenient syntax for "equational reasoning" using a strict partial
-- order
------------------------------------------------------------------------
open import Relation.Binary
module Relation.Binary.StrictPartialOrderReasoning
(p :... |
src/test/ref/uninitialized.asm | jbrandwood/kickc | 2 | 103326 | // Tests uninitialized values of variables.
// Commodore 64 PRG executable file
.file [name="uninitialized.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Code"]
.segment Basic
:BasicUp... |
src/adacar-parametros.adb | Asier98/AdaCar | 0 | 17444 | pragma Ada_2012;
package body AdaCar.Parametros is
---------------------------
-- Convertidor_Distancia --
---------------------------
function Convertidor_Distancia
(Valor : Unidades_AI) return Unidades_Distancia
is
begin
return Valor*Factor_Distancia;
end Convertidor_Distancia;
end A... |
oeis/130/A130480.asm | neoneye/loda-programs | 11 | 22350 | ; A130480: a(n) = lcm(b(0),b(1),b(2),...,b(n)), where b(m) = A130479(m).
; Submitted by <NAME>
; 1,1,2,6,24,120,240,1680,13440,120960,241920,2661120,10644480,138378240,276756480,4151347200,66421555200,1129166438400,2258332876800,42908324659200,171633298636800,3604299271372800,7208598542745600
mov $2,$0
trn $0,1
seq $0... |
src/tom/library/sl/ada/omegastrategy.ads | rewriting/tom | 36 | 17888 | with ObjectPack, AbstractStrategyCombinatorPackage, IntrospectorPackage, StrategyPackage;
use ObjectPack, AbstractStrategyCombinatorPackage, IntrospectorPackage, StrategyPackage;
package OmegaStrategy is
ARG : constant Integer := 0;
type Omega is new AbstractStrategyCombinator and Object with
record
indexPositi... |
source/oasis/program-elements-discrete_simple_expression_ranges.ads | optikos/oasis | 0 | 17197 | <gh_stars>0
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Elements.Discrete_Ranges;
with Program.Elements.Expressions;
with Program.Lexical_Elements;
package Program.Elements.Discrete... |
aircraft.ads | 97kovacspeter/ADA | 0 | 744 | <filename>aircraft.ads
with Card_Dir;
use Card_Dir;
with Coords;
use Coords;
generic
type Id is (<>);
with function "<"(I,J: in Id) return Boolean is <>;
package Aircraft is
type Aircraft_Type (Temp:Id) is private;
function GetName (A: Aircraft_Type) return Id;
procedure Ascend(A: in out Aircraft_Type);
pro... |
solutions/21-zero terminated sum/loop unrolled - speed optimized.asm | Ernesto-Alvarez/HRM-Puzzles | 0 | 24853 | -- HUMAN RESOURCE MACHINE PROGRAM --
COMMENT 0
a:
INBOX
COPYTO 0
JUMPZ c
COMMENT 1
INBOX
JUMPZ h
ADD 0
COPYTO 0
INBOX
JUMPZ g
ADD 0
COPYTO 0
INBOX
JUMPZ f
ADD 0
COPYTO 0
INBOX
JUMPZ e
... |
projects/batfish/src/main/antlr4/org/batfish/grammar/flatjuniper/FlatJuniper_mpls.g4 | jeffkala/batfish | 0 | 1070 | parser grammar FlatJuniper_mpls;
import FlatJuniper_common;
options {
tokenVocab = FlatJuniperLexer;
}
c_interface_switch
:
INTERFACE_SWITCH name = junos_name
(
ci_interface
)
;
ci_interface
:
INTERFACE interface_id
;
p_connections
:
CONNECTIONS
(
c_interface_switch
)
;
p_mpls
... |
src/frontend/Experimental_Ada_ROSE_Connection/dot_asis/dot_asis_library/source/asis_tool_2-context.adb | sourceryinstitute/rose-sourcery-institute | 0 | 4673 | <gh_stars>0
with Asis.Ada_Environments;
with Asis.Compilation_Units;
with Asis.Exceptions;
with Asis.Errors;
with Asis.Implementation;
with GNAT.Directory_Operations;
with Asis_Tool_2.Unit;
with a_nodes_h.Support;
package body Asis_Tool_2.Context is
procedure Set_Context
(Asis_Context : in Asis.Context;
... |
kernel_modules/mandelbrot/mdb_asm_kernel.asm | GregoryIstratov/mandelbrot_cpu | 1 | 5931 |
; Calling conversions. Taken from UNIX x86-64 ABI.
; RDI, RSI, RDX, RCX, R8, and R9
; RAX, R10 and R11 are available for use by the function without saving.
; Return value is stored in RAX and RDX
; Floating-point arguments are passed in XMM0 to XMM7
; If the callee wishes to use registers RBP, RBX, and R12–R15, it mu... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1337.asm | ljhsiun2/medusa | 9 | 169024 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1c8fe, %rsi
lea addresses_normal_ht+0xbefe, %rdi
clflush (%rdi)
nop
nop
nop
nop
and %r10, %r10
mov $6, %rcx
rep movsl
nop
nop
cmp $19184, %r12
lea addresse... |
kv-avm-instances.adb | davidkristola/vole | 4 | 220 | <reponame>davidkristola/vole
with Ada.Exceptions; use Ada.Exceptions;
with Ada.Unchecked_Conversion;
with Ada.Unchecked_Deallocation;
with kv.avm.Log; use kv.avm.Log;
with kv.avm.references; use kv.avm.references;
with kv.avm.Actor_References;
with kv.avm.actor_pool;
with kv.avm.Methods;
package body kv.avm.Instances... |
src/botadi/mokadi/grammars/MokadiGrammar_fr.g4 | sdpython/botadi | 0 | 139 | grammar MokadiGrammar_fr;
// code UTF-8 http://www.utf8-chartable.de/
parse
: mokadi expression_stmt questions_mark? EOF
;
/////////////
// expression
/////////////
expression_stmt
: expression
| ('(' expression ')')
;
expression
: slides_stmt
| mail_stmt
| news_stmt
| emoti... |
examples/src/orka_12_stencil.adb | onox/orka | 52 | 14154 | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2015 onox <<EMAIL>>
--
-- 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
-... |
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0_notsx.log_21829_819.asm | ljhsiun2/medusa | 9 | 164550 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %rax
push %rbp
push %rdi
lea addresses_A_ht+0x13eb0, %rbp
nop
nop
nop
nop
nop
cmp %r13, %r13
vmovups (%rbp), %ymm6
vextracti128 $0, %ymm6, %xmm6
vpextrq $0, %xmm6, %rax
sub %rbp, %rbp
lea addresses_A_ht+0xd540, %r14
inc %rbp... |
aom_20170505/aom_dsp/x86/intrapred_sse2.asm | rainliu/aom_analyzer | 0 | 28376 | ;
; Copyright (c) 2016, Alliance for Open Media. All rights reserved
;
; This source code is subject to the terms of the BSD 2 Clause License and
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
; was not distributed with this source code in the LICENSE file, you can
; obtain it at ww... |
alloy/publicChannel.als | cvick32/CounterexampleClassificiation | 0 | 5292 | open util/ordering[Time]
open util/boolean
sig Time { }
abstract sig Key {}
one sig Key_AB extends Key {}
abstract sig Process {
key: lone Key,
message: Message lone -> Time
}
abstract sig Message {
secret: lone Bool
}
one sig Plaintext extends Message {}
one sig Encrypted extends Message {
key: Key_AB
}
one s... |
3-mid/opengl/source/lean/model/opengl-model-hexagon_column.ads | charlie5/lace | 20 | 7627 | package openGL.Model.hexagon_Column
--
-- Models a column with six sides.
--
is
type Item is abstract new Model.item with
record
Radius : Real := 1.0;
Height : Real := 1.0;
end record;
private
Normal : constant Vector_3 := (0.0, 0.0, 1.0);
end openGL.Model.hexagon_Column;
|
3-mid/opengl/source/lean/opengl-terrain.adb | charlie5/lace-alire | 1 | 1700 | <gh_stars>1-10
with
openGL.Model.Terrain,
openGL.IO,
ada.unchecked_Deallocation,
ada.unchecked_Conversion;
package body openGL.Terrain
is
type Heightmap_view is access all height_Map;
type Heightmap_Grid is array (math.Index range <>,
math.Index range <>) of ... |
test/12-nested-recursion.g4 | nsumner/antlr2pnf | 3 | 3690 |
grammar test12;
entry: a;
a: b c;
b: b a d | c;
c: 'c';
d: 'd';
|
src/asf-components-widgets-factory.adb | My-Colaborations/ada-asf | 12 | 1123 | -----------------------------------------------------------------------
-- widgets-factory -- Factory for widget Components
-- Copyright (C) 2013, 2015, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance... |
QuantitativeAlloy/models/alloy/contracts/findDelta.als | pf7/QAlloy | 0 | 3759 | abstract sig A{ f : one B }
abstract sig B{}
one sig Unit{
delta : one A
}
one sig a1, a2, a3 extends A{}
one sig b1, b2 extends B{}
// Probabilistic function at hand
fact PF{
#(a1.f :> b1) = div[7, 10]
#(a2.f :> b1) = div[1, 100]
one a3.f :> b1
}
-- [[q <- f - p]](delta) = (f.q x p) . delta / delta.p
fun meas... |
test/Compiler/simple/Issue2712.agda | shlevy/agda | 1,989 | 10929 | -- Andreas, 2017-08-23, issue #2712
--
-- GHC Pragmas like LANGUAGE have to appear at the top of the Haskell file.
{-# OPTIONS --no-main #-} -- Recognized as pragma option since #2714
module Issue2712 where
{-# FOREIGN GHC {-# LANGUAGE TupleSections #-} #-}
postulate
Pair : (A B : Set) → Set
pair : {A B : Set}... |
examples/examplesPaperJFP/StateDependentIO.agda | agda/ooAgda | 23 | 9462 | <filename>examples/examplesPaperJFP/StateDependentIO.agda<gh_stars>10-100
module examplesPaperJFP.StateDependentIO where
open import Size
open import NativeIO
open import Function
open import Agda.Primitive
open import Level using (_⊔_) renaming (suc to lsuc)
module _ {σ γ ρ} where
record IOInterfaceˢ : Set (lsuc... |
src/TemporalOps/OtherOps.agda | DimaSamoz/temporal-type-systems | 4 | 6173 | <filename>src/TemporalOps/OtherOps.agda
module TemporalOps.OtherOps where
open import CategoryTheory.Instances.Reactive
open import CategoryTheory.Functor
open import CategoryTheory.Monad
open import CategoryTheory.Comonad
open import CategoryTheory.NatTrans
open import CategoryTheory.BCCCs
open import CategoryTheory... |
examples/outdated-and-incorrect/univ/Main.agda | shlevy/agda | 1,989 | 1136 | <filename>examples/outdated-and-incorrect/univ/Main.agda
module Main where
import univ
import cwf
import help
import proofs
|
oeis/080/A080413.asm | neoneye/loda-programs | 11 | 173687 | <filename>oeis/080/A080413.asm
; A080413: Take the rightmost three binary digits of n (for n<4 padded with leading zeros) and rotate left 1 digit.
; Submitted by <NAME>(s4)
; 0,2,4,6,1,3,5,7,8,10,12,14,9,11,13,15,16,18,20,22,17,19,21,23,24,26,28,30,25,27,29,31,32,34,36,38,33,35,37,39,40,42,44,46,41,43,45,47,48,50,52,54... |
src/cfg1.agda | shinji-kono/automaton-in-agda | 0 | 4214 | <gh_stars>0
module cfg1 where
open import Level renaming ( suc to succ ; zero to Zero )
open import Data.Nat hiding ( _≟_ )
-- open import Data.Fin
-- open import Data.Product
open import Data.List
open import Data.Maybe
-- open import Data.Bool using ( Bool ; true ; false ; _∧_ ; _∨_ )
open import Relation.Binary.P... |
alloy4fun_models/trashltl/models/3/i9NtdnoHexQ579WKo.als | Kaixi26/org.alloytools.alloy | 0 | 4481 | <gh_stars>0
open main
pred idi9NtdnoHexQ579WKo_prop4 {
some f:File | eventually f in Trash
}
pred __repair { idi9NtdnoHexQ579WKo_prop4 }
check __repair { idi9NtdnoHexQ579WKo_prop4 <=> prop4o } |
oeis/111/A111570.asm | neoneye/loda-programs | 11 | 22410 | <filename>oeis/111/A111570.asm<gh_stars>10-100
; A111570: a(n) = a(n-1) + a(n-3) + a(n-4), n >= 4.
; Submitted by <NAME>
; 2,5,4,7,14,23,34,55,92,149,238,385,626,1013,1636,2647,4286,6935,11218,18151,29372,47525,76894,124417,201314,325733,527044,852775,1379822,2232599,3612418,5845015,9457436,15302453,24759886
mov $1,-3... |
alloy4fun_models/trashltl/models/1/5TJE26ceEriNsmgsK.als | Kaixi26/org.alloytools.alloy | 0 | 2368 | open main
pred id5TJE26ceEriNsmgsK_prop2 {
no File releases some File
}
pred __repair { id5TJE26ceEriNsmgsK_prop2 }
check __repair { id5TJE26ceEriNsmgsK_prop2 <=> prop2o } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.