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
programs/oeis/158/A158737.asm
karttu/loda
1
247903
; A158737: a(n) = 1296*n^2 - 36. ; 1260,5148,11628,20700,32364,46620,63468,82908,104940,129564,156780,186588,218988,253980,291564,331740,374508,419868,467820,518364,571500,627228,685548,746460,809964,876060,944748,1016028,1089900,1166364,1245420,1327068,1411308,1498140,1587564,1679580,1774188,1871388,1971180,2073564,21...
Classes/date/current date/class of (current date).applescript
looking-for-a-job/applescript-examples
1
2127
#!/usr/bin/osascript class of (current date) --> date
source/torrent-shutdown.adb
reznikmm/torrent
4
29501
<reponame>reznikmm/torrent -- Copyright (c) 2020 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Torrent.Shutdown is protected body Signal is entry Wait_SIGINT when SIGINT_Triggered is begin ...
Cubical/Algebra/Group/Exact.agda
FernandoLarrain/cubical
1
9484
<filename>Cubical/Algebra/Group/Exact.agda {-# OPTIONS --safe #-} module Cubical.Algebra.Group.Exact where open import Cubical.Foundations.Prelude open import Cubical.Foundations.Equiv open import Cubical.Algebra.Group.Base open import Cubical.Algebra.Group.Morphisms open import Cubical.Algebra.Group.MorphismPropertie...
SVD2ada/svd/stm32_svd-fdcan.ads
JCGobbi/Nucleo-STM32H743ZI
0
9347
<gh_stars>0 pragma Style_Checks (Off); -- This spec has been automatically generated from STM32H743x.svd pragma Restrictions (No_Elaboration_Code); with HAL; with System; package STM32_SVD.FDCAN is pragma Preelaborate; --------------- -- Registers -- --------------- subtype CREL_DAY_Field is HAL.U...
Ficha 2 - Tratamento de dados de 8, 16 e 32 bits/02c.asm
FEUP-MIEIC/MPCP
0
95714
<filename>Ficha 2 - Tratamento de dados de 8, 16 e 32 bits/02c.asm include mpcp.inc .data bseq SBYTE -5,-4,-3,-2,-1,0,1,2,3,127, 127 msg BYTE "0- BYTE", 13, 10, "1- WORD", 13, 10,"2- DWORD", 13, 10, "Resposta: %d", 13, 10, 0 .code main PROC C mov ESI, OFFSET bseq mov ECX, LENGTHOF bseq xor EAX, EAX ciclo: ...
programs/oeis/313/A313786.asm
karttu/loda
0
242572
<filename>programs/oeis/313/A313786.asm ; A313786: Coordination sequence Gal.4.128.2 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,5,10,15,21,26,32,36,43,46,54,56,65,66,76,76,87,86,98,96,109,106,120,116,131,126,142,136,153,146,16...
rplugin/python3/denite/lib/music2.applescript
skrby1/unite-itunes
0
4325
<reponame>skrby1/unite-itunes on run argv as text set v_argv to replaceText(argv, "@wq@", "\"") --display dialog v_argv set l_props to {} set v_mode to "" tell application "Music" set shuffle enabled to false if 2nd character of v_argv is not "|" set l_props to tracks of playlist v_argv se...
test/Compiler/simple/Issue5420.agda
cruhland/agda
1,989
4382
<reponame>cruhland/agda open import Agda.Builtin.IO open import Agda.Builtin.Reflection open import Agda.Builtin.String open import Agda.Builtin.Unit _>>=_ : {A B : Set} → TC A → (A → TC B) → TC B _>>=_ = λ x f → bindTC x f postulate putStr : String → IO ⊤ {-# FOREIGN GHC import qualified Data.Text.IO #-} {-# COMP...
threadtest1.asm
shahendahamdy/xv6-threads
0
11561
_threadtest1: file format elf32-i386 Disassembly of section .text: 00000000 <main>: exit(); } int main(int argc, char *argv[]) { 0: f3 0f 1e fb endbr32 4: 8d 4c 24 04 lea 0x4(%esp),%ecx 8: 83 e4 f0 and $0xfffffff0,%esp b: ff 71 fc pushl -0x4(%ec...
Sources/Globe_3d/models/dreadnought.ads
ForYouEyesOnly/Space-Convoy
1
27246
<reponame>ForYouEyesOnly/Space-Convoy -- * Output of max2ada.ms, a GMax / 3D Studio Max script for exporting to GLOBE_3D -- -- * Copy and paste these lines from the Listener into a -- text editor, and save the package as an .ada file. -- * Alternatively, use the GMaxSLGRAB.exe tool. -- * For GNAT, you must ...
msp430-gcc-tics/msp430-gcc-7.3.1.24-source-full/gcc/gcc/testsuite/gnat.dg/prot3.adb
TUDSSL/TICS
7
18855
-- { dg-do run } with Prot3_Pkg; use Prot3_Pkg; procedure Prot3 is begin P.Foo (4); end;
libsrc/target/sos/sos/sos_file_callee.asm
ahjelm/z88dk
640
171322
; ; S-OS specific routines ; by <NAME>, 2013 ; ; Set the current S-OS file name and type ; ; ; int sos_file(char *name,type) ; ; ; $Id: sos_file_callee.asm,v 1.5 2016-06-19 20:58:00 dom Exp $ ; SECTION code_clib PUBLIC sos_file_callee PUBLIC _sos_file_callee PUBLIC asm_sos_file sos_file_callee: _sos_file_callee: ...
language/grammar/Javel.g4
bjansen/javel
0
2672
<reponame>bjansen/javel grammar Javel; program : statement* EOF ; statement : methodCall ';' ; methodCall : IDENTIFIER arguments ; arguments : '()' ; PAREN : '()'; IDENTIFIER : [a-z]+; WS : [ \t\r\n]+ -> skip;
scripts/launch/mac/launch_iTerm.scpt
Yourrrrlove/flat
0
4398
<filename>scripts/launch/mac/launch_iTerm.scpt tell application "iTerm" activate set W to create window with default profile tell W's current session split vertically with default profile end tell set T to W's current tab set ProjectRoot to "$(dirname $(dirname $(dirname $(dirname " & (P...
alloy/if_multiple_statements.als
koko1996/EECS-4302-Project
0
1176
<reponame>koko1996/EECS-4302-Project sig num { arg1: Int, //x arg2: Int, //y arg3: Int //z } fun multipleStatementConditional (v : num) : num { {res : num | res.arg1 = ((v.arg2 < v.arg3) => v.arg1.add[1] else v.arg1.add[3]) and res.arg2 = ((v.arg2 < v.arg3) => v.arg2.add[1] else v.arg2) and res.arg3 = ((v.arg...
programs/oeis/107/A107443.asm
karttu/loda
1
95865
; A107443: G.f. (3*x^2+1)/((1-x)*(2*x^2+x+1)*(2*x^2-x+1)). ; 1,1,1,1,-3,-3,9,9,-11,-11,1,1,45,45,-135,-135,229,229,-143,-143,-483,-483,2025,2025,-4139,-4139,4321,4321,3597,3597,-28071,-28071,69829,69829,-97199,-97199,12285,12285,351945,351945,-1104971,-1104971,1907137,1907137,-1301523,-1301523,-3723975,-3723975 div $0...
alloy4fun_models/trashltl/models/7/7iBdnN4JFEpo3t6WM.als
Kaixi26/org.alloytools.alloy
0
3141
open main pred id7iBdnN4JFEpo3t6WM_prop8 { always all f: File.link | eventually f in Trash } pred __repair { id7iBdnN4JFEpo3t6WM_prop8 } check __repair { id7iBdnN4JFEpo3t6WM_prop8 <=> prop8o }
src/mail-parsers.ads
stcarrez/ada-mail
2
9695
----------------------------------------------------------------------- -- mail-parsers -- Parse mail content -- Copyright (C) 2020 <NAME> -- Written by <NAME> (<EMAIL>) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You...
programs/oeis/040/A040314.asm
karttu/loda
1
171760
; A040314: Continued fraction for sqrt(333). ; 18,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36,4,36 sub $0,1 mod $0,2 mul $0,11 add $0,2 pow $0,2 mov $1,$0 sub $1,2 div $1,10 mul $1,2 ...
commands/apps/sidenotes/sidenotes-create-note.applescript
daviddzhou/script-commands
3,305
4524
#!/usr/bin/osascript # Dependency: Requires SideNotes (https://apptorium.com/sidenotes) # Required parameters: # @raycast.schemaVersion 1 # @raycast.title SideNotes create # @raycast.mode silent # @raycast.packageName SideNotes # Optional parameters: # @raycast.packageName SideNotes # @raycast.icon images/sidenotes....
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0.log_21829_812.asm
ljhsiun2/medusa
9
80093
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x6c72, %r10 nop dec %rbp mov (%r10), %edi nop nop nop nop and %r12, %r12 lea addresses_A_ht+0x1225e, %rsi nop nop nop nop nop cmp %rbx, %rbx movl $0x61626364, (%rsi) xor $6219...
examples/echo/echo_example.adb
SALLYPEMDAS/DW1000
9
10276
<reponame>SALLYPEMDAS/DW1000 ------------------------------------------------------------------------------- -- Copyright (c) 2016 <NAME> -- -- Permission is hereby granted, free of charge, to any person obtaining a -- copy of this software and associated documentation files (the "Software"), -- to deal in the Soft...
iAlloy-dataset-master/mutant_version_set/bempl/v1/bempl.als
jringert/alloy-diff
1
1863
module unknown //JOR//open util/integer [] as integer sig Room {} one sig secure_lab extends Room {} abstract sig Person { owns: (set Key) } sig Employee extends Person {} sig Researcher extends Person {} sig Key { authorized: (one Employee), opened_by: (one Room) } pred CanEnter[p: Person,r: Room] { (r in ((p.owns).op...
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48_notsx.log_21829_1180.asm
ljhsiun2/medusa
9
21305
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r13 push %r8 push %r9 push %rbp push %rdx push %rsi // Store mov $0xe66, %rsi clflush (%rsi) nop nop inc %r9 movb $0x51, (%rsi) nop nop nop nop nop dec %rdx // Store lea addresses_WC+0x11aa2, %r13...
exercise1.asm
astrellon/moss
0
104987
<filename>exercise1.asm main: ; Set register 0 to 5 MOV r0 5 ; Set register 1 to 8 MOV r1 8 ; Add registers 0 and 1 and store the result in register 2 ADD r2 r0 r1 ; Outputting result to screen INFO r2
programs/oeis/272/A272100.asm
neoneye/loda
22
174994
<reponame>neoneye/loda ; A272100: Integers n that are the sum of three nonzero squares while n*(n+1) is not. ; 12,19,44,51,76,83,108,115,140,147,172,179,204,211,236,243,268,275,300,307,332,339,364,371,396,403,428,435,460,467,492,499,524,531,556,563,588,595,620,627,652,659,684,691,716,723,748,755,780,787,812,819,844,851...
test/Succeed/InstanceMetaType.agda
shlevy/agda
1,989
6386
<reponame>shlevy/agda module InstanceMetaType where ⟨⟩ : {A : Set} {{a : A}} → A ⟨⟩ {{a}} = a postulate A : Set instance a : A f : (a : A) → Set test₁ : Set test₁ = f ⟨⟩ postulate B : Set b : B g : (b : B) → Set instance b' : _ b' = b test₂ : Set test₂ = g ⟨⟩
src/softwareConstants.asm
joeldipops/SuperTestBoy
1
90890
IF !DEF(SOFTWARE_CONSTANTS_INCLUDED) SOFTWARE_CONSTANTS_INCLUDED SET 1 BG_PALETTE EQU %11100100 FG_PALETTE EQU %11000110 TILE_SIZE EQU 16 INPUT_THROTTLE EQU 4 START EQU %10000000 SELECT EQU %01000000 A_BTN EQU %00100000 B_BTN EQU %00010000 DOWN EQU %00001000 UP EQU %00000100 LEFT EQU %00000010 ...
gameboy/memory.asm
systemoflevers/gb-twitter
0
94208
<gh_stars>0 INCLUDE "hardware.inc" SECTION "Memory", ROM0 clearOAM:: ;; Modifies: ;; hl ;; a ld hl, $FE00 .write_loop: ld [hl], 0 ; Can't use hli since that needs a? inc hl ;; Only check the low address byte (l). ;; OAM is $FE00 -...
mano-machine-assembler/add_two_numbers.asm
ahodieb/course-projects
0
89317
ORG 100 /Origin of program is location 0 , LDA A /Load operand from location A , ADD B /Add operand from location B STA C /Store sum in location C HLT /Halt computer A, DEC 83 /Decimal operand B, DEC -23 /Decimal operand C, DEC 9 /Sum stored in location C END
ada/original_2008/ada-gui/agar-gui-widget-textbox.adb
auzkok/libagar
286
13951
<gh_stars>100-1000 package body agar.gui.widget.textbox is package cbinds is function allocate (parent : widget_access_t; flags : flags_t; label : cs.chars_ptr) return textbox_access_t; pragma import (c, allocate, "AG_TextboxNewS"); procedure set_static (textbox : textbox_acc...
projects/project08/src/translations/goto.asm
lemmingapex/ElementsOfComputingSystems
15
10299
<reponame>lemmingapex/ElementsOfComputingSystems // goto @%%LABEL%% 0;JMP
programs/oeis/008/A008487.asm
neoneye/loda
22
25163
; A008487: Expansion of (1-x^5) / (1-x)^5. ; 1,5,15,35,70,125,205,315,460,645,875,1155,1490,1885,2345,2875,3480,4165,4935,5795,6750,7805,8965,10235,11620,13125,14755,16515,18410,20445,22625,24955,27440,30085,32895,35875,39030,42365,45885,49595,53500,57605,61915,66435,71170,76125,81305,86715,92360,98245,104375,110755,11...
iod/iob/smsq.asm
olifink/smsqe
0
2827
; SMSQ - Set Printer Aborted Message V2.00  1994 <NAME> section iou xdef iob_smsq iob_smsq xdef iob_ptab include 'dev8_keys_qdos_sms' include 'dev8_keys_msg8' ;+++ ; This routine sets the printer aborted message ; ; a1 r message ;-- iob_ptab move.w #msg8.abrt,a1 moveq #sms.mptr,d0 trap #do.sms2 rts ...
Arch/x86/Boot/entry.asm
MalteDoemer/YeetOS2
0
99387
bits 32 extern load_start extern load_end extern bss_end global start section .mboot ; Multiboot stuff MBOOT_PAGE_ALIGN equ 1 MBOOT_MEM_INFO equ 2 MBOOT_USE_ADDRS equ 1 << 16 MBOOT_HEADER_MAGIC equ 0x1BADB002 MBOOT_HEADER_FLAGS equ MBOOT_PAGE_ALIGN | MBOOT_MEM_INFO | MBOOT_USE_ADDRS MBOOT_CHECKSUM equ -(MBOOT...
Control Statements/tell/iCal/calendars/todos/iterate.applescript
looking-for-a-job/applescript-examples
1
4309
#!/usr/loca/bin/osascript tell application "iCal" repeat with t in every todo of every calendar properties of t end repeat end tell
programs/oeis/138/A138118.asm
neoneye/loda
22
87465
<reponame>neoneye/loda ; A138118: Concatenation of 2n-1 digits 1 and n digits 0. ; 10,11100,11111000,11111110000,11111111100000,11111111111000000,11111111111110000000,11111111111111100000000,11111111111111111000000000,11111111111111111110000000000 seq $0,147590 ; Numbers whose binary representation is the concatenatio...
tests/src/tests.adb
mhatzl/spark_unbound
8
20648
with AUnit.Reporter.Text; with AUnit.Run; with Unbound_Array_Suite; with Safe_Alloc_Suite; with GNAT.OS_Lib; with Text_IO; with Spark_Unbound; procedure Tests is use type AUnit.Status; Reporter : AUnit.Reporter.Text.Text_Reporter; function Unbound_Array_Test_Runner is new AUnit.Run.Test_Runner_With_Status(...
BasicILP/Syntax/DyadicGentzenNormalForm.agda
mietek/hilbert-gentzen
29
569
-- Basic intuitionistic logic of proofs, without ∨, ⊥, or +. -- Gentzen-style formalisation of syntax with context pairs. -- Normal forms and neutrals. module BasicILP.Syntax.DyadicGentzenNormalForm where open import BasicILP.Syntax.DyadicGentzen public -- Derivations. mutual -- Normal forms, or introductions. ...
oeis/092/A092775.asm
neoneye/loda-programs
11
94578
<reponame>neoneye/loda-programs ; A092775: (prime(prime(n))^4-1)/120. ; Submitted by <NAME>(s2) ; 122,696,7696,23548,100978,167926,395486,1176318,2167872,5063110,8555214,11090528,16517662,28111688,49061162,53452066,100030106,129395024,151176056,215474680,287559576,376376462,559358038,746050214,837244558,989398298,10728...
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0_notsx.log_21829_1174.asm
ljhsiun2/medusa
9
87684
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r15 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x164be, %r11 clflush (%r11) nop nop nop xor %r10, %r10 movups (%r11), %xmm3 vpextrq $0, %xmm3, %rdx nop dec %r15 lea addresses_normal_ht+0x90c6, %r11 nop nop add...
maps/outside/objects.asm
RevolutionSoftware/Juego
1
19978
;start of brushes .dw grass .dw path .dw path_corner1 .dw path_corner2 .dw path_corner3 .dw path_corner4 .dw path_round1 .dw flower .dw tree_topleft .dw tree_topright .dw tree_topleft_forest .dw tree_topright_forest .dw tree_bottom_left .dw tree_bottomright .dw sign_item .dw wall_vert .dw wall_horiz ....
src/dds-request_reply-requester-impl.ads
persan/dds-requestreply
0
25239
<filename>src/dds-request_reply-requester-impl.ads -- ---------------------------------------------------------------------------- -- Note this is an implementation package and is subject to change att any time. -- ---------------------------------------------------------------------------- with DDS.ReadCondition; ...
oeis/073/A073094.asm
neoneye/loda-programs
11
100834
; A073094: Final digit of C(2k,k) when not equal to zero. ; Submitted by <NAME> ; 2,6,2,4,2,6,2,6,2,4,2,4,8,4,2,4,2,6,2,6,2,4,2,6,2,6,2,4,2,4,8,4,2,4,2,4,8,4,8,6,8,4,8,4,2,4,2,4,8,4,2,4,2,6,2,6,2,4,2,6,2,6,2,4,2,4,8,4,2,4,2,6,2,6,2,4,2,6,2,6,2,4,2,4,8,4,2,4,2,4,8,4,8,6,8,4,8,4,2,4 add $0,1 seq $0,62756 ; Number of 1's...
testAsmScripts/instructionTests/jumping.asm
rystills/MIPS-sandbox
4
27915
<reponame>rystills/MIPS-sandbox #~~~JUMP TEST~~~ #init registers addi $s6, $zero, 5 addi $s7, $zero, 3 addi $s1, $zero, 0 #increment s0 from 0 to 5 func1: addi $s0, $zero, 0 loop1: addi $s0, $s0, 1 bne $s0, $s6, loop1 #increment s1 from 0 to 3 addi $s1, $s1, 1 BEQ $s1, $s7, end J func1 end:
out/aaa_08tuple.adb
FardaleM/metalang
22
27336
<reponame>FardaleM/metalang with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C; use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C; procedure aaa_08tuple is type stringptr is access all char_array; procedure PString(s : stringptr) is begi...
software/tritiled22/src/tritiled22_barebones.asm
kontakt/tritiled
60
104562
<gh_stars>10-100 ;;; ;;; tritiled22_barebones.asm : PIC12F1571 code for CR2032 LED glow marker ;;; ;;; extended lifetime version: > 5 years operation expected from CR2032 cell ;;; 31.5 Hz flash rate results in noticable flicker LIST P=12LF1571 #include <p12lf1571.inc> ERRORLEVEL -302 ;;; ...
libsrc/_DEVELOPMENT/math/float/math32/z80/h32_coeff_atanf.asm
Frodevan/z88dk
640
4988
; ; feilipu, 2019 May ; ; This Source Code Form is subject to the terms of the Mozilla Public ; License, v. 2.0. If a copy of the MPL was not distributed with this ; file, You can obtain one at http://mozilla.org/MPL/2.0/. ; ;------------------------------------------------------------------------- ; Coefficients f...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_362.asm
ljhsiun2/medusa
9
243803
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %r15 push %rcx push %rdi push %rsi lea addresses_D_ht+0x1b598, %rsi lea addresses_UC_ht+0x4386, %rdi clflush (%rsi) nop nop nop nop nop cmp %r10, %r10 mov $108, %rcx rep movsb nop nop nop and $64217, %r11 lea addresses_normal_ht+0x15eaa, %r...
src/Partiality-monad/Inductive/Omega-continuous.agda
nad/partiality-monad
2
5038
<filename>src/Partiality-monad/Inductive/Omega-continuous.agda ------------------------------------------------------------------------ -- ω-continuous functions ------------------------------------------------------------------------ {-# OPTIONS --erased-cubical --safe #-} module Partiality-monad.Inductive.Omega-con...
libsrc/_DEVELOPMENT/math/float/math48/z80/am48_double64u.asm
jpoikela/z88dk
640
172939
SECTION code_clib SECTION code_fp_math48 PUBLIC am48_double64u EXTERN am48_double32u am48_double64u: ; 64-bit unsigned long to double ; ; enter : dehl'dehl = 64-bit unsigned long long n ; ; exit : AC'= (double)(n) ; ; uses : af, bc, de, hl, bc', de', hl' exx ld a,d or e or h...
private/shell/win16/shell16/cpuspeed.asm
King0987654/windows2000
11
89772
<filename>private/shell/win16/shell16/cpuspeed.asm ;--------------------------------------------------------------------------- ; ; Module: cpuspeed.asm ; ; Purpose: ; Computes the CPU speed using the 8254 and the NOP instruction. ; ; Development Team: ; <NAME> ; ; History: Date Author ...
src/vulkan-math/gentype/vulkan-math-genbtype.ads
zrmyers/VulkanAda
1
11482
-------------------------------------------------------------------------------- -- MIT License -- -- Copyright (c) 2020 <NAME> -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software without r...
Assembler/AssemblyCode/SAR.asm
KPU-RISC/KPU
8
243768
<reponame>KPU-RISC/KPU MOV D, 10001000b ; -120d SAR D ; -60d ; Write register D to the Output Port OUTB D SAR D ; -30d ; Write register D to the Output Port OUTB D SAR D ; -15d ; Write register D to the Output Port OUTB D HLT
programs/count_255_0_stop.asm
blurpy/8-bit-computer-emulator
12
9949
<reponame>blurpy/8-bit-computer-emulator SUB 15 ; Put the value from memory location 15 in the B-register, and store A-B in the A-register OUT ; Output the value of the A-register JZ 4 ; Jump to instruction 4 if the A-register is 0 JMP 0 ; Jump to instruction 0 HLT ; Halt the computer ORG 1...
3-mid/impact/source/3d/collision/shapes/impact-d3-collision-margin.ads
charlie5/lace
20
6836
<gh_stars>10-100 package impact.d3.collision.Margin is CONVEX_DISTANCE_MARGIN : constant := 0.04; -- -- The CONVEX_DISTANCE_MARGIN is a default collision margin for convex collision shapes derived from impact.d3.Shape.convex.internal. -- -- This collision margin is used by Gjk and some other algorit...
tests/src/missing-aunit-assertions.adb
TNO/Rejuvenation-Ada
1
28960
with AUnit.Assertions; use AUnit.Assertions; package body Missing.AUnit.Assertions is procedure Generic_Assert (Actual, Expected : Element_T; Message : String; Source : String := GNAT.Source_Info.File; Line : Natural := GNAT.Source_Info.Line) is begin Assert ...
source/nodes/program-nodes-record_definitions.adb
optikos/oasis
0
10001
<filename>source/nodes/program-nodes-record_definitions.adb -- Copyright (c) 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Program.Nodes.Record_Definitions is function Create (Record_Token : ...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_488.asm
ljhsiun2/medusa
9
98837
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r14 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x3334, %rbx nop nop nop cmp %r14, %r14 movw $0x6162, (%rbx) nop nop nop xor %rdi, %rdi lea addresses_WC_ht+0x19eb4, %rsi lea addresses_WC_ht+0xf034, %rdi nop nop nop nop ...
oeis/068/A068203.asm
neoneye/loda-programs
11
11967
; A068203: Chebyshev T-polynomials T(n,15) with Diophantine property. ; Submitted by <NAME> ; 1,15,449,13455,403201,12082575,362074049,10850138895,325142092801,9743412645135,291977237261249,8749573705192335,262195233918508801,7857107443850071695,235451028081583642049,7055673735003659189775,211434761022028192051201,6335...
out/Combinatory/Equality.agda
JoeyEremondi/agda-soas
39
3925
<reponame>JoeyEremondi/agda-soas<gh_stars>10-100 {- This second-order equational theory was created from the following second-order syntax description: syntax Combinatory | CL type * : 0-ary term app : * * -> * | _$_ l20 i : * k : * s : * theory (IA) x |> app (i, x) = x (KA) x y |> app ...
Data/List/Mapping/StringMap.agda
oisdk/agda-playground
6
2504
<reponame>oisdk/agda-playground<filename>Data/List/Mapping/StringMap.agda {-# OPTIONS --cubical --safe #-} module Data.List.Mapping.StringMap where open import Data.String using (String; stringOrd) open import Data.List.Mapping stringOrd public open import Prelude open import Data.Maybe -- example : Record (∅ [ "nam...
test/Fail/Invalid-name-part.agda
shlevy/agda
1,989
12340
<filename>test/Fail/Invalid-name-part.agda postulate _→_ : Set
programs/oeis/104/A104249.asm
neoneye/loda
22
160340
<gh_stars>10-100 ; A104249: a(n) = (3*n^2 + n + 2)/2. ; 1,3,8,16,27,41,58,78,101,127,156,188,223,261,302,346,393,443,496,552,611,673,738,806,877,951,1028,1108,1191,1277,1366,1458,1553,1651,1752,1856,1963,2073,2186,2302,2421,2543,2668,2796,2927,3061,3198,3338,3481,3627,3776,3928,4083,4241,4402,4566,4733,4903,5076,5252,5...
tests/test.adb
Lucretia/jni
3
23054
-- with Ada.Characters.Latin_1; with Interfaces.C; use Interfaces.C; with Interfaces.C.Strings; use Interfaces.C.Strings; with JNI; use JNI; with System; with Text_IO; use Text_IO; procedure Test is -- package L1 renames Ada.Characters.Latin_1; VM : Java_VM_Ptr_Ptr; Env : Env_Ptr_Ptr; Options : ...
tagml/src/main/antlr4/nl/knaw/huc/di/tag/tagml/grammar/TAGMLLexer.g4
rhdekker/alexandria-markup
0
276
<reponame>rhdekker/alexandria-markup /* * Grammar for the TAGML overlapping markup language format * @author: <NAME> * @author: <NAME> * */ lexer grammar TAGMLLexer; // default mode DEFAULT_NamespaceOpener // : '[!ns ' NamespaceIdentifier WS NamespaceURI ']' : '[!ns ' -> pushMode(INSIDE_NAMESPACE) ; DEFAU...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_2464_925.asm
ljhsiun2/medusa
9
177900
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r15 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0x1ce2a, %rsi lea addresses_D_ht+0xf318, %rdi nop nop nop cmp %rbp, %rbp mov $55, %rcx rep movsl nop nop inc %r15 lea addresses_normal_ht+0x15d18, %rsi lea addresses_UC_ht+0x133...
source/strings/a-snmcfo.adb
ytomino/drake
33
28111
<filename>source/strings/a-snmcfo.adb pragma Check_Policy (Validate => Disable); -- with Ada.Strings.Naked_Maps.Debug; with Ada.UCD.Case_Folding; with System.Once; with System.Reference_Counting; package body Ada.Strings.Naked_Maps.Case_Folding is use type UCD.Difference_Base; use type UCD.UCS_4; procedure D...
libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sccz80/atanh.asm
ahjelm/z88dk
640
85301
SECTION code_fp_am9511 PUBLIC atanh EXTERN cam32_sccz80_atanh defc atanh = cam32_sccz80_atanh ; SDCC bridge for Classic IF __CLASSIC PUBLIC _atanh EXTERN cam32_sdcc_atanh defc _atanh = cam32_sdcc_atanh ENDIF
tools/scitools/conf/understand/ada/ada05/a-calend.ads
brucegua/moocos
1
18728
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
alloy4fun_models/trashltl/models/1/jmTQFvTJwHnnaQMJ6.als
Kaixi26/org.alloytools.alloy
0
1929
<filename>alloy4fun_models/trashltl/models/1/jmTQFvTJwHnnaQMJ6.als open main pred idjmTQFvTJwHnnaQMJ6_prop2 { no File until some File } pred __repair { idjmTQFvTJwHnnaQMJ6_prop2 } check __repair { idjmTQFvTJwHnnaQMJ6_prop2 <=> prop2o }
Agda/abelian-groups.agda
UlrikBuchholtz/HoTT-Intro
333
13799
{-# OPTIONS --without-K --exact-split #-} module abelian-groups where import 17-number-theory open 17-number-theory public is-abelian-Group : {l : Level} (G : Group l) → UU l is-abelian-Group G = (x y : type-Group G) → Id (mul-Group G x y) (mul-Group G y x) Ab : (l : Level) → UU (lsuc l) Ab l = Σ (Group l) is-a...
programs/oeis/082/A082462.asm
neoneye/loda
22
21099
<reponame>neoneye/loda ; A082462: Let chi(k) = 1 if prime(k+1) - prime(k) = 2, = 0 otherwise; sequence gives a(n) = sum_{k <= n} chi(k). ; 0,1,2,2,3,3,4,4,4,5,5,5,6,6,6,6,7,7,7,8,8,8,8,8,8,9,9,10,10,10,10,10,11,11,12,12,12,12,12,12,13,13,14,14,15,15,15,15,16,16,16,17,17,17,17,17,18,18,18,19,19,19,19,20,20,20,20,20,21,2...
Mac-Audio-Toggle.scpt
manchaware/Mac-Audio-Toggle
1
4286
<reponame>manchaware/Mac-Audio-Toggle<filename>Mac-Audio-Toggle.scpt launch application "System Preferences" #Toggle channel output. Tried to run both settings from a single block, but unsuccessful tell application "System Preferences" reveal anchor "Hearing" of pane id "com.apple.preference.universalaccess" end tell...
oeis/180/A180191.asm
neoneye/loda-programs
11
103929
<reponame>neoneye/loda-programs ; A180191: Number of permutations of [n] having at least one succession. A succession of a permutation p is a position i such that p(i+1)-p(i) = 1. ; Submitted by <NAME> ; 0,1,3,13,67,411,2921,23633,214551,2160343,23897269,288102189,3760013027,52816397219,794536751217,12744659120521,2171...
oeis/131/A131114.asm
neoneye/loda-programs
11
167954
; A131114: T(n,k) = 6*binomial(n,k) - 5*I(n,k), where I is the identity matrix; triangle T read by rows (n >= 0 and 0 <= k <= n). ; Submitted by <NAME>(s2) ; 1,6,1,6,12,1,6,18,18,1,6,24,36,24,1,6,30,60,60,30,1,6,36,90,120,90,36,1,6,42,126,210,210,126,42,1,6,48,168,336,420,336,168,48,1,6,54,216,504,756,756,504,216,54,1,...
src/test/resources/library/random.asm
xCubeArrow/Cubelang
0
162213
; Uses the https://en.wikipedia.org/wiki/Linear_congruential_generator with m=2^31, a=75, c=74 randomI32: mov eax, 75 imul eax, edi add eax, 74 ; Modulo of 2^31 movsx rdx, eax imul rdx, rdx, 838860819 shr rdx, 32 sar edx, 22 mov ecx, eax sar ecx, 31 sub ...
programs/oeis/068/A068503.asm
neoneye/loda
22
29362
<reponame>neoneye/loda ; A068503: Highest power of 3 dividing prime(n)-1. ; 1,1,1,3,1,3,1,9,1,1,3,9,1,3,1,1,1,3,3,1,9,3,1,1,3,1,3,1,27,1,9,1,1,3,1,3,3,81,1,1,1,9,1,3,1,9,3,3,1,3,1,1,3,1,1,1,1,27,3,1,3,1,9,1,3,1,3,3,1,3,1,1,3,3,27,1,1,9,1,3,1,3,1,27,3,1,1,3,1,3,1,1,243,1,3,1,1,1,9,27 seq $0,6093 ; a(n) = prime(n) - 1. ...
libsrc/games/bit_beep_callee.asm
UnivEngineer/z88dk
1
89844
; $Id: bit_beep_callee.asm $ ; ; 1 bit sound functions ; ; void bit_beep(int duration, int period); ; SECTION code_clib PUBLIC bit_beep_callee PUBLIC _bit_beep_callee EXTERN beeper EXTERN bit_open_di EXTERN bit_close_ei ; ; Stub by <NAME> - 13/01/2021 ; .bit_beep_callee ._bit_beep_calle...
Compiler/Project(C-Compiler)/TestCases/testcase4.asm
mheidari98/_IUT
1
164438
<reponame>mheidari98/_IUT<gh_stars>1-10 .data backn: .asciiz "\n" .text .globl main func: addi $sp, $sp , -32 sw $s0, 0($sp) sw $s1, 4($sp) sw $s2, 8($sp) sw $s3, 12($sp) sw $s4, 16($sp) sw $s5, 20($sp) sw $s6, 24($sp) sw $s7, 28($sp) add $t0, $a0 , $a1 move $v0, $t0 lw $s0, 0($sp) lw $s1, 4($sp) lw $...
external/source/exploits/CVE-2020-9850/payload/stage0.asm
OsmanDere/metasploit-framework
26,932
81517
BITS 64 mov rbp, [rsp + 0x28] add rbp, 0x10 ; rsi = argv[0] (stage1_arr) mov rax, [rbp] ; esi = stage1_arr.length mov esi, [rax + 0x18] mov edi, 0 mov edx, 7 mov ecx, 0x1802 mov r8d, -1 mov r9, 0 push rbx push rcx push rbp push r10 push r12 push r13 push r14 push r15 mov eax, 20000C5h mov r10, rcx syscall ...
gcc-gcc-7_3_0-release/gcc/ada/sem_cat.adb
best08618/asylo
7
22882
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
tests/emra/PRED_MODE/asm_for_rb/PR05_rb.asm
ilebedev/stacktool
1
246075
<gh_stars>1-10 push 0; push 0; st; push 0; push 1; st; push 0; push 0; sethi 0x0200; st; push 0; push 0; sethi 0x0400; st; push 0; push 0; drop 0; push 0; pull_cp 1; push 10; cmp_ugt; bz 47; pull_cp 0; push 2; cmp_ugt; bz 24; push 0; sethi 0x0200; pull_cp 0; ld; push 1; add; tuck 1; st; pull_cp 1; push 5; cmp_ule; bz ...
Python/examples/scram.asm
tomxp411/8080Asm
0
21402
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ; NAME: scram.asm ; AUTHOR: <NAME> ("The Ubuntourist") <<EMAIL>> ; LASTMOD: 2021.01.11 (kjc) ; ; DESCRIPTION: ; ; Set to Clear all RAM (SCRAM) ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Code...
programs/oeis/004/A004346.asm
neoneye/loda
22
6514
<reponame>neoneye/loda ; A004346: Binomial coefficient C(5n,n-4). ; 1,25,435,6545,91390,1221759,15890700,202927725,2558620845,31966749880,396704524216,4898229264825,60246643120300,738799683460650,9038619861406740,110375347398090219,1345860629046814650 mov $1,5 mul $1,$0 add $1,20 bin $1,$0 mov $0,$1
Working Disassembly/General/Sprites/Shields/Anim - Shield S2.asm
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
0
160261
<reponame>TeamASM-Blur/Sonic-3-Blue-Balls-Edition dc.w byte_18A36-Ani_Shield_S2 byte_18A36: dc.b 0, 5, 0, 5, 1, 5, 2, 5, 3, 5, 4, $FF
programs/oeis/010/A010079.asm
karttu/loda
0
174844
; A010079: Coordination sequence for net formed by holes in D_4 lattice. ; 1,16,104,344,792,1528,2632,4152,6200,8792,12072,16024,20824,26424,33032,40568,49272,59032,70120,82392,96152,111224,127944,146104,166072,187608,211112,236312,263640,292792,324232,357624,393464,431384,471912,514648,560152,607992,658760,711992,7683...
ugbc/src/hw/6502/mob.asm
spotlessmind1975/ugbasic
10
19636
; /***************************************************************************** ; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers * ; ***************************************************************************** ; * Copyright 2021-2022 <NAME> (<EMAIL>) ; * ; * Licensed under the Apache...
3-mid/physics/interface/source/motor/physics-motor.ads
charlie5/lace
20
18813
-- with i.physics.Object; -- with i.physics.Joint; with ada.strings.unbounded; package physics.Motor is type Item is abstract tagged record Name : ada.strings.unbounded.unbounded_String; is_Enabled : Boolean := False; end record; proced...
parser-dialect/parser-mysql/src/main/antlr4/imports/mysql/DCLStatement.g4
zhaox1n/parser-engine
0
840
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
source/nodes/program-nodes-operator_symbols.ads
reznikmm/gela
0
16818
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Lexical_Elements; with Program.Elements.Defining_Operator_Symbols; with Program.Elements.Operator_Symbols; with Program.Element_Visitors; package Program.Nod...
Source.asm
usamashafiq/Stacks-Labels-Procedure-in-assembly
0
167989
<reponame>usamashafiq/Stacks-Labels-Procedure-in-assembly .MODEL SMALL .STACK 100H .DATA MS DB "ENTER YOUR NAME $" VAR1 DB 100 DUP('$') MS1 DB " WELCOME $" MS2 DB " * * * * * QUIZ GAME * * * * * $" MS3 DB " * * * ANSWER THE QUESTIONS * * * $" RHT1 DB "YOUR ANSWER IS RIGHT : $" WRN1 DB...
gfx/pokemon/sentret/anim.asm
Dev727/ancientplatinum
28
6245
setrepeat 2 frame 0, 15 frame 1, 15 dorepeat 1 endanim
programs/oeis/203/A203286.asm
karttu/loda
0
83783
<filename>programs/oeis/203/A203286.asm ; A203286: Number of arrays of 2n nondecreasing integers in -3..3 with sum zero and equal numbers greater than zero and less than zero. ; 4,12,28,57,104,176,280,425,620,876,1204,1617,2128,2752,3504,4401,5460,6700,8140,9801,11704,13872,16328,19097,22204,25676,29540,33825,38560,437...
ejercicios5/suma_impar_montana.adb
iyan22/AprendeAda
0
2906
<gh_stars>0 with Ada.Text_IO, Ada.Integer_Text_IO, es_impar_montana; use Ada.Text_IO, Ada.Integer_Text_IO; procedure Suma_Impar_Montana is n_entrante, acumulador : Integer; begin put("Tu programa dice:"); new_line; acumulador := 0; get(n_entrante); while n_entrante /= 0 loop -- 0 es el valor final de la entrada...
Sistemi e reti/Assembly/add.asm
Gabri3445/EquazioneSecondoGrado
0
17453
LDA #2 LDB #4 ADD STA 1337 LDB #6 ADD STA 1338 OUT HLT
8088/cga/cgakart/cgakart.asm
reenigne/reenigne
92
163595
<reponame>reenigne/reenigne org 0x100 cpu 8086 ; bp = scratch ; si = scratch ; es:di = VRAM pointer ; cx = xi ; dx = yi ; bl:al = xs ; bh:ah = ys ; ds = map (2 bytes per tile, tile number in bits 0..3 and 8..11 ; sp = 0xf0f0 ; ss = tile data (with gaps for stack) %macro rasterizeLine 0 %rep 80 add al,cl ; 2 ...
iod/con2/ql/sprite/0.asm
olifink/smsqe
0
19888
; Default sprite 0 V0.0  1985 <NAME> ; section sprite ; xdef sp_arrow ; sp_arrow dc.w $0100,$0000 4 colour mode dc.w 14,7,0,0 14*7 pixel sprite origin at 0,0 dc.l s4p_arro-* dc.l s4m_arro-* dc.l s8_arrow-* ; s4p_arro dc.w %0000000000000000,%0000000000000000 dc.w %0011111100111111,%0000000000000000 dc.w ...
programs/oeis/286/A286717.asm
karttu/loda
1
21883
; A286717: a(n) is the number of zeros of the Chebyshev S(n, x) polynomial (A049310) in the open interval (-phi, +phi), with the golden section phi = (1 + sqrt(5))/2. ; 0,1,2,3,2,3,4,5,6,5,6,7,8,9,8,9,10,11,12,11,12,13,14,15,14,15,16,17,18,17,18,19,20,21,20,21,22,23,24,23,24,25,26,27,26,27,28,29,30,29,30,31,32,33,32,33...