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 |
|---|---|---|---|---|
ruby-antlr-hash-2-json/raw/Simple.g4 | msangel/playground | 0 | 5486 | grammar Simple;
prog: classDef+ ;
classDef
: 'class' ID '{' member+ '}' // a class has one or more members
{System.out.println("class "+$ID.text);}
;
member
: 'int' ID ';' // field definition
{System.out.println("var "+$ID.text);}
| 'int' f=ID '(' ID ')' ... |
FormalAnalyzer/models/apps/xwayonofftoggleswitchformoddedPEQDoorOpenCloseSensor.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 902 | <filename>FormalAnalyzer/models/apps/xwayonofftoggleswitchformoddedPEQDoorOpenCloseSensor.als<gh_stars>0
module app_xwayonofftoggleswitchformoddedPEQDoorOpenCloseSensor
open IoTBottomUp as base
open cap_runIn
open cap_now
open cap_contactSensor
open cap_switch
one sig app_xwayonofftoggleswitchformoddedPEQDoorOpenCl... |
waterbackground/_includes/vint.asm | ArcadeTV/megadrive-samples | 5 | 247116 | <gh_stars>1-10
;==============================================================
; Vertical Interrupt
;==============================================================
INT_VInterrupt:
movem.l d0-a6,-(sp)
move.b #$FF,(RAM_VINT_FLAG)
add.l #1,(RAM_CURRENT_FRAME).l
not.b (RAM_TICTOC).l
INT_VInterrupt_return:
movem.... |
src/Shaders/Sdk/Direct3D11/SubD11/SubD11_HS_4444.asm | tgjones/slimshader-cpp | 20 | 82342 | <filename>src/Shaders/Sdk/Direct3D11/SubD11/SubD11_HS_4444.asm
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384
//
//
///
// Buffer Definitions:
//
// cbuffer cbTangentStencilConstants
// {
//
// float g_TanM[1024]; // Offset: 0 Size: 16372 [unused]
// float g_fCi[16]; ... |
oeis/142/A142982.asm | neoneye/loda-programs | 11 | 5807 | <reponame>neoneye/loda-programs<filename>oeis/142/A142982.asm<gh_stars>10-100
; A142982: a(1) = 1, a(2) = 9, a(n+2) = 9*a(n+1) + (n+1)^2*a(n).
; Submitted by <NAME>
; 1,9,85,846,8974,101916,1240308,16156656,224789616,3331795680,52465122720,875333381760,15432978107520,286828144485120,5606317009440000,114993185594112000,... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_1580.asm | ljhsiun2/medusa | 9 | 97077 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xd78, %rsi
lea addresses_WT_ht+0x4fc0, %rdi
nop
sub %r15, %r15
mov $6, %rcx
rep movsw
nop
nop
nop
cmp $17990, %rsi
lea addresses_normal_ht+0x9dc0, %r12
nop
nop
cmp %r11, %r11
... |
programs/oeis/138/A138636.asm | neoneye/loda | 22 | 8987 | <reponame>neoneye/loda<filename>programs/oeis/138/A138636.asm
; A138636: a(n) = 6 * prime(n).
; 12,18,30,42,66,78,102,114,138,174,186,222,246,258,282,318,354,366,402,426,438,474,498,534,582,606,618,642,654,678,762,786,822,834,894,906,942,978,1002,1038,1074,1086,1146,1158,1182,1194,1266,1338,1362,1374,1398,1434,1446,150... |
test/ttf.adb | treggit/sdlada | 89 | 11356 | <filename>test/ttf.adb
with Ada.Command_Line;
with Ada.Text_IO;
with SDL;
with SDL.Events.Events;
with SDL.Events.Keyboards;
with SDL.Log;
with SDL.TTFs.Makers;
with SDL.Video.Palettes;
with SDL.Video.Surfaces;
with SDL.Video.Windows.Makers;
procedure TTF is
W : SDL.Video.Windows.Window;
Window_Surf... |
Transynther/x86/_processed/NC/_st_zr_sm_/i7-7700_9_0xca.log_21829_662.asm | ljhsiun2/medusa | 9 | 174661 | <filename>Transynther/x86/_processed/NC/_st_zr_sm_/i7-7700_9_0xca.log_21829_662.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x16c26, %rsi
lea addresses_WC_ht+0x1e206, %rdi
cmp $36542, %rax
mov $94, %rc... |
programs/oeis/127/A127421.asm | karttu/loda | 0 | 83099 | ; A127421: Numbers whose decimal expansion is a concatenation of 2 consecutive increasing nonnegative numbers.
; 1,12,23,34,45,56,67,78,89,910,1011,1112,1213,1314,1415,1516,1617,1718,1819,1920,2021,2122,2223,2324,2425,2526,2627,2728,2829,2930,3031,3132,3233,3334,3435,3536,3637,3738,3839,3940,4041,4142,4243,4344,4445,45... |
oeis/058/A058313.asm | neoneye/loda-programs | 11 | 102419 | ; A058313: Numerator of the n-th alternating harmonic number, Sum_{k=1..n} (-1)^(k+1)/k.
; Submitted by <NAME>
; 1,1,5,7,47,37,319,533,1879,1627,20417,18107,263111,237371,52279,95549,1768477,1632341,33464927,155685007,166770367,156188887,3825136961,3602044091,19081066231,18051406831,57128792093,7751493599,236266661971,... |
libsrc/gfx/portable/drawr.asm | Frodevan/z88dk | 640 | 163897 |
SECTION code_graphics
PUBLIC drawr
PUBLIC _drawr
EXTERN commondrawr
EXTERN plot
;void drawr(int x2, int y2) __smallc
;Note ints are actually uint8_t
drawr:
_drawr:
ld hl,plot
jp commondrawr
|
tmp1/c55x-sim2/foo/Debug/csl_i2s_PollExample.asm | jwestmoreland/eZdsp-DBG-sim | 1 | 81404 | ;*******************************************************************************
;* TMS320C55x C/C++ Codegen PC v4.4.1 *
;* Date/Time created: Sat Sep 29 23:09:31 2018 *
;****************************************************************************... |
Dave/Algebra/Naturals/Exponentiation.agda | DavidStahl97/formal-proofs | 0 | 3349 | <filename>Dave/Algebra/Naturals/Exponentiation.agda
module Dave.Algebra.Naturals.Exponentiation where
open import Dave.Algebra.Naturals.Definition
open import Dave.Algebra.Naturals.Multiplication
open import Dave.Algebra.Naturals.Addition
_^_ : ℕ → ℕ → ℕ
a ^ zero = 1
a ^ suc b = (a ^ b) * a
infixl 8 _^_... |
drivers/core/x64/src/start.asm | dbargatz/system | 1 | 24958 | <gh_stars>1-10
global start
global ist1_stack_top
global ist2_stack_top
global kernel_heap_bottom
global kernel_heap_top
global gdt64
extern core_entry
extern start_init_array
extern end_init_array
section .text
bits 32
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Entry point to ... |
resources/scripts/archive/archivetoday.ads | VK9D/AttackSurfaceMappingTool | 0 | 11201 | <reponame>VK9D/AttackSurfaceMappingTool<filename>resources/scripts/archive/archivetoday.ads<gh_stars>0
-- Copyright 2017 <NAME>. All rights reserved.
-- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
name = "ArchiveToday"
type = "archive"
function start()
setratelim... |
programs/oeis/258/A258935.asm | jmorken/loda | 1 | 11336 | <filename>programs/oeis/258/A258935.asm
; A258935: Independence number of Keller graphs.
; 4,5,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,65536,131072,262144,524288,1048576,2097152,4194304,8388608,16777216,33554432,67108864,134217728,268435456,536870912,1073741824,2147483648,4294967296,8589934592
mov $1,2
... |
Kernel/asm/libasm.asm | imanfredi/TP2-SO | 0 | 27512 | GLOBAL cpuVendor
GLOBAL _temperature
GLOBAL cpuModel
GLOBAL getInitialSP
GLOBAL callTimerTick
GLOBAL _xchg
section .text
cpuVendor:
push rbp
mov rbp, rsp
push rbx
push rcx
push rdx
mov rax, 0
cpuid
mov [rdi], ebx
mov [rdi + 4], edx
mov [rdi + 8], ecx
mov byte [rdi+12], 0
mov... |
programs/oeis/155/A155096.asm | jmorken/loda | 1 | 98992 | <gh_stars>1-10
; A155096: Numbers k such that k^2 == -1 (mod 29).
; 12,17,41,46,70,75,99,104,128,133,157,162,186,191,215,220,244,249,273,278,302,307,331,336,360,365,389,394,418,423,447,452,476,481,505,510,534,539,563,568,592,597,621,626,650,655,679,684,708,713,737,742,766,771,795,800,824,829,853,858,882,887,911,916,940... |
alloy4fun_models/trashltl/models/9/4woBFcKXZrqCSvmaB.als | Kaixi26/org.alloytools.alloy | 0 | 40 | open main
pred id4woBFcKXZrqCSvmaB_prop10 {
always all f: File | always f in Protected since f in Protected
}
pred __repair { id4woBFcKXZrqCSvmaB_prop10 }
check __repair { id4woBFcKXZrqCSvmaB_prop10 <=> prop10o } |
os/src/os002/boot/setup.asm | ddosakura/pet-shop | 0 | 242364 | %include 'config.inc'
%include 'pm.inc'
%include 'macro.inc'
offset equ 0
org offset
[BITS 16]
mov ax, cs
mov ds, ax
mov es, ax
mov ss, ax
mov sp, offset
; 设置回跳段地址
mov [LABEL_GO_BACK_TO_REAL+3], ax
jmp go_to_protect
;mov al, 0x13 ; 显示器模式
;mov ah, 0x00 ; BIOS中断-设置显示器模式
mov ax, ... |
src/generated/fov_h.ads | csb6/libtcod-ada | 0 | 27640 | pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with fov_types_h;
with Interfaces.C.Extensions;
with error_h;
package fov_h is
-- BSD 3-Clause License
-- *
-- * Copyright © 2008-2021, Jice and the libtcod contributors.
-- * All rights reserved.
-- *
-- * Redistribution an... |
test/Succeed/Issue1764.agda | cruhland/agda | 1,989 | 17370 | <reponame>cruhland/agda<filename>test/Succeed/Issue1764.agda
-- Andreas, 2016-01-08 allow --type-in-type with universe polymorphism
{-# OPTIONS --type-in-type #-}
-- {-# OPTIONS --v tc:30 #-}
-- {-# OPTIONS --v tc.conv.level:60 #-}
open import Common.Level
open import Common.Equality
Type : Set
Type = Set
data E α... |
src/platform/win32/init_stack.asm | mendsley/coroutine | 7 | 16981 | <reponame>mendsley/coroutine
; Copyright 2016-2019 <NAME>
; All rights reserved
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted providing that the following conditions
; are met:
; 1. Redistributions of source code must retain the above copyright
; notice, this li... |
apu/channel_1/channel_1_align.asm | endrift/SameSuite | 21 | 95868 | <filename>apu/channel_1/channel_1_align.asm
RESULTS_START EQU $c000
RESULTS_N_ROWS EQU 6
include "base.inc"
; This test verifies that channel 1 ticks at 1MHz
CorrectResults:
db $00, $00, $00, $00, $00, $00, $00, $00
db $00, $00, $00, $00, $00, $08, $08, $08
db $00, $00, $00, $00, $00, $00, $00, $00
db $00, $00, $0... |
programs/oeis/162/A162256.asm | karttu/loda | 1 | 5186 | ; A162256: a(n) = (2*n^3 + 5*n^2 - 3*n)/2.
; 2,15,45,98,180,297,455,660,918,1235,1617,2070,2600,3213,3915,4712,5610,6615,7733,8970,10332,11825,13455,15228,17150,19227,21465,23870,26448,29205,32147,35280,38610,42143,45885,49842,54020,58425,63063,67940,73062,78435,84065,89958,96120,102557,109275,116280,123578,131175,1390... |
oeis/308/A308697.asm | neoneye/loda-programs | 11 | 167986 | ; A308697: a(n) = Sum_{d|n} d^(3*d).
; Submitted by <NAME>(s2)
; 1,65,19684,16777281,30517578126,101559956688164,558545864083284008,4722366482869661990977,58149737003040059690409853,1000000000000000000030517578190,23225154419887808141001767796309132,708801874985091845381344408569542626596,277837421603485727638400675108... |
libsrc/strings/strstrip_callee.asm | meesokim/z88dk | 0 | 1552 | ; char __CALLEE__ *strstrip_callee(char *s, char c)
; remove occurences of leading char c from string s
; 01.2007 aralbrec
PUBLIC strstrip_callee
PUBLIC ASMDISP_STRSTRIP_CALLEE
.strstrip_callee
pop hl
pop de
ex (sp),hl
ld a,e
; enter : a = char c
; hl = char *s
; exit : hl = char *... |
cs61/lab5/lab05_ex1.asm | bmoya217/ucr | 0 | 83685 | ;=================================================
; Name: <NAME>
; Username: <EMAIL>
;
; Lab: lab 5
; Lab section: 021
; TA: <NAME>
;
;=================================================
.Orig x3000
;Instructions
AND R1,R1,#0
LD R1, POINTER
LD R2, COUNTER
LD R3, CHECKER
LD R4, COUNTER ;;2^n
LOOP_DE_LOOP
STR R4, R1... |
programs/oeis/027/A027271.asm | karttu/loda | 0 | 19033 | ; A027271: a(n) = Sum_{k=0..2n} (k+1)*T(n,k), where T is given by A026536.
; 1,4,18,48,180,432,1512,3456,11664,25920,85536,186624,606528,1306368,4199040,8957952,28553472,60466176,191476224,403107840,1269789696,2660511744,8344332288,17414258688,54419558400,113192681472
mov $2,$0
add $2,1
mov $0,$2
mov $1,$2
mov $4,3
lp... |
Numbers/ClassicalReals/RealField/Lemmas.agda | Smaug123/agdaproofs | 4 | 1204 | {-# OPTIONS --safe --warning=error --without-K #-}
open import Groups.Definition
open import Functions.Definition
open import Agda.Primitive using (Level; lzero; lsuc; _⊔_)
open import LogicalFormulae
open import Setoids.Subset
open import Setoids.Setoids
open import Setoids.Orders.Partial.Definition
open import Field... |
MK1_CPU/programs/display_hello_world.asm | billionelectrons/8bit-cpu | 274 | 28682 | #include "lib/mk1.cpu"
#bank ".data"
helloworld: #str "Hello, world!\0"
#bank ".instr"
main:
jal init_display
ldi $b helloworld
.loop:
ld $a [$b]
cmp 0
jz end
push $a
push $b
jal print_char
pop $b
pop $a
ldi $a 1
add $b $b
j .loop
end:
hlt
#include "lib/helix.asm"
|
libsrc/_DEVELOPMENT/string/c/sccz80/strnchr.asm | jpoikela/z88dk | 0 | 101913 |
; char *strnchr(const char *s, size_t n, int c)
SECTION code_clib
SECTION code_string
PUBLIC strnchr
EXTERN asm_strnchr
strnchr:
pop af
pop de
pop bc
pop hl
push hl
push bc
push de
push af
jp asm_strnchr
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _strnchr
defc _strnchr = str... |
resources/scripts/get_state.spotify.applescript | kant/swdc-vscode-musictime | 465 | 1684 | <filename>resources/scripts/get_state.spotify.applescript
on escape_quotes(string_to_escape)
set AppleScript's text item delimiters to the "\""
set the item_list to every text item of string_to_escape
set AppleScript's text item delimiters to the "\\\""
set string_to_escape to the item_list as string
set AppleScri... |
arch/ARM/Nordic/svd/nrf52/nrf_svd-nfct.ads | rocher/Ada_Drivers_Library | 192 | 720 | -- Copyright (c) 2010 - 2018, Nordic Semiconductor ASA
--
-- 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, t... |
Sources/Globe_3d/gl/gl-buffer.ads | ForYouEyesOnly/Space-Convoy | 1 | 27068 | -------------------------------------------------------------------------
-- GL.Geometry - GL vertex buffer Object
--
-- Copyright (c) <NAME> 2007
-- AUSTRALIA
-- Permission granted to use this software, without any warranty,
-- for any purpose, provided this copyright note remains attached
-- and u... |
lib/target/lambda/classic/lambda_altint.asm | jpoikela/z88dk | 640 | 96178 | ; CRT0 for the LAMBDA 8300 - SLOW MODE
;
;
; ----------------------------------------------------------------------------------------
; Modified display handler to preserve IY
; Note: a swap between IX and IY happens "on the fly" during assembly !
; ----------------------------------------------------------... |
non_regression/basic_x86_macosx.intel.s.asm | LRGH/plasmasm | 1 | 23591 | .intel_syntax noprefix
.build_version macos, 10, 14 sdk_version 10, 14
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
# ----------------------
.globl _main
_main:
push ebp
mov ebp, esp
sub esp, 12
mov eax, DWORD PTR [ebp+12]
mov ecx, DWORD PTR [ebp+8]
mov... |
book-01/Assembly/asm/avx/packed/avx_p_convert_float_to_byte_0_255_range.asm | gfurtadoalmeida/study-assembly-x64 | 2 | 15973 | <reponame>gfurtadoalmeida/study-assembly-x64
include macros.inc
include comparison_predicates.inc
.const
align 16
FloatToUint8Min real4 0.0, 0.0, 0.0, 0.0
FloatToUint8Max real4 1.0, 1.0, 1.0, 1.0
FloatToUint8Scale real4 255.0, 255.0, 255.0, 255.0
Uint8Min dword 0
Uint8Max dword 255
.code
; bool AVX_Packed_Conv... |
MicroProcessor Lab Programs/4A.asm | MyCollegeForums/4thSemISE | 0 | 92256 | <reponame>MyCollegeForums/4thSemISE<filename>MicroProcessor Lab Programs/4A.asm<gh_stars>0
assume cs:code,ds:data
data segment
str1 db 'madam'
n dw n – str1
str2 db 5 dup(?)
msg1 db "pallindrome$"
msg2 db "not a palindrome$"
data ends
code segment
start:
mov ax,data
... |
alloy4fun_models/trashltl/models/19/XuKjSo4GygsfGuWR5.als | Kaixi26/org.alloytools.alloy | 0 | 4548 | open main
pred idXuKjSo4GygsfGuWR5_prop20 {
always (all f:File | f in Trash since f not in Protected)
}
pred __repair { idXuKjSo4GygsfGuWR5_prop20 }
check __repair { idXuKjSo4GygsfGuWR5_prop20 <=> prop20o } |
audio/music/route30.asm | Dev727/ancientplatinum | 28 | 12868 | <filename>audio/music/route30.asm
Music_Route30:
musicheader 4, 1, Music_Route30_Ch1
musicheader 1, 2, Music_Route30_Ch2
musicheader 1, 3, Music_Route30_Ch3
musicheader 1, 4, Music_Route30_Ch4
Music_Route30_Ch1:
tempo 144
volume $77
dutycycle $3
tone $0001
vibrato $10, $15
stereopanning $f0
notetype $c, $b2... |
test/Succeed/non-fol-theorems/Instance.agda | asr/apia | 10 | 13849 | <gh_stars>1-10
------------------------------------------------------------------------------
-- Testing the translation of scheme's instances
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS... |
racing/interrupt.asm | dcliche/XoseraLab | 1 | 245752 | <reponame>dcliche/XoseraLab
; *************************************************************
; Copyright (c) 2021 roscopeco <AT> gmail <DOT> com
; *************************************************************
;
section .text ; This is normal code
include "xosera_m68k_defs.inc"
insta... |
oeis/334/A334033.asm | neoneye/loda-programs | 11 | 90399 | <reponame>neoneye/loda-programs<filename>oeis/334/A334033.asm
; A334033: The a(n)-th composition in standard order (graded reverse-lexicographic) is the reversed unsorted prime signature of n.
; Submitted by <NAME>
; 0,1,1,2,1,3,1,4,2,3,1,6,1,3,3,8,1,5,1,6,3,3,1,12,2,3,4,6,1,7,1,16,3,3,3,10,1,3,3,12,1,7,1,6,6,3,1,24,2,... |
oeis/107/A107373.asm | neoneye/loda-programs | 11 | 170620 | ; A107373: a(n) = (n/2)*binomial(n-1, floor((n-1)/2)) - 2^(n-2).
; Submitted by <NAME>
; 0,0,1,2,7,14,38,76,187,374,874,1748,3958,7916,17548,35096,76627,153254,330818,661636,1415650,2831300,6015316,12030632,25413342,50826684,106853668,213707336,447472972,894945944,1867450648,3734901296,7770342787,15540685574,3224817425... |
src/SKEIN/skein_block_x86.asm | NickViz/BinDiff | 34 | 98091 | <filename>src/SKEIN/skein_block_x86.asm
;
;----------------------------------------------------------------
; 32-bit x86 assembler code for Skein block functions
;
; Author: <NAME>, Hifn
;
; This code is released to the public domain.
;----------------------------------------------------------------
;
.386... |
Examples/ch10/Repeat.asm | satadriver/LiunuxOS_t | 0 | 240263 | <filename>Examples/ch10/Repeat.asm
TITLE Repeat Block Examples (Repeat.asm)
; This program demonstrates the REPEAT, FOR,
; FORC, and WHILE directives.
; Last update: 2/30/02
INCLUDE Irvine32.inc
INCLUDE Macros.inc
COURSE STRUCT
Number BYTE 9 DUP(?)
Credits BYTE ?
COURSE ENDS
; A semester contains an ar... |
awordcount.adb | gtraines/ada_word_count | 0 | 1736 |
-- Pass a filename as a command line parameter
-- Parse and print out stats about the file
-- - Characters
-- - Lines
-- - Words
--
--
with Ada.Command_Line;
with Ada.Integer_Text_IO;
with Ada.Strings.Unbounded.Text_IO;
with Ada.Strings.Unbounded;
with Ada.Text_IO; use Ada.Text_IO;
with GNAT.IO_Aux;
with GNAT.Array_Sp... |
examples/stream_w.adb | ytomino/iconv-ada | 0 | 17880 | with Ada.Streams;
with Ada.Text_IO.Text_Streams;
with iconv.Streams;
procedure stream_w is
use type Ada.Streams.Stream_Element_Offset;
Std_Input : constant Ada.Text_IO.Text_Streams.Stream_Access :=
Ada.Text_IO.Text_Streams.Stream (Ada.Text_IO.Standard_Input.all);
Std_Output : constant Ada.Text_IO.Text_Streams.Stre... |
Mid-Term/Solution/4.asm | Shakib-IO/CSE331L-Section-10-Fall20-NSU | 0 | 95699 | <reponame>Shakib-IO/CSE331L-Section-10-Fall20-NSU
; You may customize this and other start-up templates;
; The location of this template is c:\emu8086\inc\0_com_template.txt
.MODEL SMALL
.CODE
org 100h
START:
MOV CX, 5
L1:
POP CX
L2:
MOV AH,2H
MOV DL,2AH
INT 21H
LOOP L2
MOV ... |
programs/oeis/127/A127922.asm | neoneye/loda | 22 | 20237 | ; A127922: 1/24 of product of three numbers: n-th prime, previous and following number.
; 1,5,14,55,91,204,285,506,1015,1240,2109,2870,3311,4324,6201,8555,9455,12529,14910,16206,20540,23821,29370,38024,42925,45526,51039,53955,60116,85344,93665,107134,111895,137825,143450,161239,180441,194054,215731,238965,247065,290320... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_782.asm | ljhsiun2/medusa | 9 | 167908 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1125c, %rsi
lea addresses_UC_ht+0x12ecc, %rdi
clflush (%rsi)
nop
nop
nop
nop
nop
xor %r12, %r12
mov $41, %rcx
rep movsq
nop
and %r15, %r15
lea addresses_normal_ht+0x975c, %rdi
sub %r1... |
rando/src/asm-disabled/progressive-items.asm | konkers/neutopia | 1 | 240034 | arch pce.cpu
macro seek(variable offset) {
origin (offset - $6000)
base offset
}
seek($ddf1);
get_sword_handler:
dw handle_progressive_item
dw handle_progressive_item
dw handle_progressive_item
seek($df52);
handle_progressive_item:
ldx $35d0
inc $2e44,x
// Store the value back to $35d... |
adagl/linux/glx-ext.ads | Lucretia/old_nehe_ada95 | 0 | 11590 | <reponame>Lucretia/old_nehe_ada95<filename>adagl/linux/glx-ext.ads
--
-- Copyright (c) 2002-2003, <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:
--
-- * Redistributions of s... |
data/pokemon/base_stats/feebas.asm | AtmaBuster/pokeplat-gen2 | 6 | 92349 | <reponame>AtmaBuster/pokeplat-gen2<gh_stars>1-10
db 0 ; species ID placeholder
db 20, 15, 20, 80, 10, 55
; hp atk def spd sat sdf
db WATER, WATER ; type
db 255 ; catch rate
db 61 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 20 ; step cycles to hatch
INCBIN "gfx/pokemon... |
alloy4fun_models/trainstlt/models/5/AxxguuqojH2SbicrZ.als | Kaixi26/org.alloytools.alloy | 0 | 3177 | <filename>alloy4fun_models/trainstlt/models/5/AxxguuqojH2SbicrZ.als
open main
pred idAxxguuqojH2SbicrZ_prop6 {
all t : Track | always ((some t.signal) implies (t.signal != t.signal'))
}
pred __repair { idAxxguuqojH2SbicrZ_prop6 }
check __repair { idAxxguuqojH2SbicrZ_prop6 <=> prop6o } |
oeis/110/A110344.asm | neoneye/loda-programs | 11 | 93938 | ; A110344: a(n) = sum( n+k, k=0..n-1 ) = n(3n-1)/2 if n is even; a(n) = sum( n-k, k=0..n-1 ) = n(n+1)/2 if n is odd.
; Submitted by <NAME>
; 1,5,6,22,15,51,28,92,45,145,66,210,91,287,120,376,153,477,190,590,231,715,276,852,325,1001,378,1162,435,1335,496,1520,561,1717,630,1926,703,2147,780,2380,861,2625,946,2882,1035,31... |
work/motepy/src/grammar/MotePyLexer.g4 | jayaraj-poroor/verticalthings | 2 | 6364 | lexer grammar MotePyLexer;
@lexer::members {
let CommonToken = require('antlr4/Token').CommonToken;
let MotePyParser = require('./MotePy').MotePy;
let old_lexer = MotePyLexer;
MotePyLexer = function() {
old_lexer.apply(this, arguments);
this.reset.call(this);
}
MotePyLexer.prototype = Object.cr... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca_notsx.log_21829_1663.asm | ljhsiun2/medusa | 9 | 245101 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
lea addresses_WC_ht+0xafc1, %rdi
nop
nop
nop
dec %r8
movb (%rdi), %cl
nop
nop
nop
nop
nop
xor %rdi, %rdi
lea addresses_D_ht+0x17af1, %rbp
nop
nop
nop
nop
and %rax, %rax
vmovups (%r... |
src/Categories/Diagram/Coequalizer/Properties.agda | maxsnew/agda-categories | 0 | 12468 | {-# OPTIONS --without-K --safe #-}
open import Categories.Category
-- we use duality to prove properties about coequalizer
module Categories.Diagram.Coequalizer.Properties {o ℓ e} (C : Category o ℓ e) where
open Category C
open import Categories.Diagram.Coequalizer C using (Coequalizer; IsCoequalizer)
open import C... |
source/oasis/program-elements-abort_statements.ads | reznikmm/gela | 0 | 27254 | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Statements;
with Program.Lexical_Elements;
with Program.Elements.Expressions;
package Program.Elements.Abort_Statements is
pragma Pure (Program.... |
tests/typing/bad/testfile-type-4.adb | xuedong/mini-ada | 0 | 13847 | with Ada.Text_IO; use Ada.Text_IO;
procedure P is type t is access u; begin put('a'); end;
|
programs/oeis/054/A054881.asm | neoneye/loda | 22 | 19685 | ; A054881: Number of walks of length n along the edges of an octahedron starting and ending at a vertex and also ( with a(0)=0 ) between two opposite vertices.
; 1,0,4,8,48,160,704,2688,11008,43520,175104,698368,2797568,11182080,44744704,178946048,715849728,2863267840,11453333504,45812809728,183252287488,733007052800,2... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc3007a.ada | best08618/asylo | 7 | 17450 | -- CC3007A.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
programs/oeis/007/A007611.asm | neoneye/loda | 22 | 6691 | ; A007611: a(n) = n! + 2^n.
; 2,3,6,14,40,152,784,5168,40576,363392,3629824,39918848,479005696,6227028992,87178307584,1307674400768,20922789953536,355687428227072,6402373705990144,121645100409356288,2432902008177688576,51090942171711537152,1124000727777611874304,25852016738884985028608,620448401733239456137216,15511210... |
oeis/123/A123868.asm | neoneye/loda-programs | 11 | 241644 | ; A123868: a(n) = n^12 - 1.
; 0,4095,531440,16777215,244140624,2176782335,13841287200,68719476735,282429536480,999999999999,3138428376720,8916100448255,23298085122480,56693912375295,129746337890624,281474976710655,582622237229760,1156831381426175,2213314919066160,4095999999999999,7355827511386640,12855002631049215,2191... |
memsim-master/src/parser-parse_option.adb | strenkml/EE368 | 0 | 9596 |
with Memory.Option; use Memory.Option;
with Util; use Util;
separate (Parser)
procedure Parse_Option(parser : in out Parser_Type;
result : out Memory_Pointer) is
mem : Option_Pointer := Create_Option;
begin
while Get_Type(parser) = Open loop
declare
other : Memory_Pointe... |
src/test/resources/data/reorganizertests/test4-expected.asm | cpcitor/mdlz80optimizer | 36 | 27901 | ; Test to make sure moves do not happen if they will break jrs
ld a, 1
jp label1
label6:
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
n... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1608.asm | ljhsiun2/medusa | 9 | 241477 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x3e0f, %rdi
nop
nop
nop
nop
inc %r9
movw $0x6162, (%rdi)
nop
nop
add %rbp, %rbp
lea addresses_normal_ht+0x1b74f, %rsi
nop
nop
nop
nop
inc %r12
movl $0x61626364, (%rsi)
nop
nop... |
chapter_3/page_127/exercise_8/KiDisplayBlueScreen.asm | assaflevy/practical_reverse_engineering | 0 | 244305 | <gh_stars>0
0: kd> uf KiDisplayBlueScreen
nt!KiDisplayBlueScreen:
fffff802`7551e9f0 488bc4 mov rax,rsp
fffff802`7551e9f3 48895808 mov qword ptr [rax+8],rbx
fffff802`7551e9f7 48897010 mov qword ptr [rax+10h],rsi
fffff802`7551e9fb 48897818 mov qword ptr [rax+18h],rdi
fffff80... |
Generic Printfile from Selection.applescript | AlexanderGalen/applescripts | 3 | 348 | <reponame>AlexanderGalen/applescripts<filename>Generic Printfile from Selection.applescript
tell application "QuarkXPress"
set theName to name of document 1 as string
try
set jobNumber to find text "[0-9]{6}" in theName with regexp and string result
on error
set jobNumber to text returned of (display dialog "I... |
library/object click/clickAtCoords.applescript | NYHTC/applescript-fm-helper | 1 | 1146 | -- clickAtCoords(xClick, yClick)
-- <NAME>, NYHTC
-- Click at the specified coordinates
(*
HISTORY:
1.4 - 2017-10-18 ( eshagdar ): wrap in a try block.
1.3.1 - 2017-09-05 ( eshagdar ): first set the shell command ( used for debugging ), then use the variable. coerce the entire list to a string instead of just the fi... |
programs/oeis/223/A223833.asm | neoneye/loda | 22 | 5275 | <filename>programs/oeis/223/A223833.asm
; A223833: Number of n X 3 0..1 arrays with rows and antidiagonals unimodal and columns nondecreasing.
; 7,22,48,89,149,232,342,483,659,874,1132,1437,1793,2204,2674,3207,3807,4478,5224,6049,6957,7952,9038,10219,11499,12882,14372,15973,17689,19524,21482,23567,25783,28134,30624,332... |
src/frontend/Experimental_Ada_ROSE_Connection/parser/asis_adapter/source/adapter_wrapper_h.ads | ouankou/rose | 488 | 23159 | with Interfaces.C.Extensions;
with Interfaces.C.Strings;
with Interfaces.C.Pointers;
with a_nodes_h;
package adapter_wrapper_h is
function adapter_wrapper
(target_file_in : in Interfaces.C.Strings.chars_ptr;
gnat_home : in Interfaces.C.Strings.chars_ptr;
AsisArgs ... |
data/mapHeaders/CinnabarLabMetronomeRoom.asm | AmateurPanda92/pokemon-rby-dx | 9 | 24088 | CinnabarLabMetronomeRoom_h:
db LAB ; tileset
db CINNABAR_LAB_METRONOME_ROOM_HEIGHT, CINNABAR_LAB_METRONOME_ROOM_WIDTH ; dimensions (y, x)
dw CinnabarLabMetronomeRoom_Blocks ; blocks
dw CinnabarLabMetronomeRoom_TextPointers ; texts
dw CinnabarLabMetronomeRoom_Script ; scripts
db 0 ; connections
dw CinnabarLabMetr... |
libsrc/_DEVELOPMENT/target/scz180/device/csio/z180/csio_sd_read_block.asm | Frodevan/z88dk | 640 | 91634 | <gh_stars>100-1000
INCLUDE "config_private.inc"
SECTION code_driver
EXTERN l_mirror
PUBLIC asm_sd_read_block
;Read a block of 512 bytes (one sector) from the drive
;and store it in memory at (HL++)
;
;input HL = pointer to block
;uses AF, BC, DE, HL
.asm_sd_read_block
in0 a,(CNTR)
tst... |
notes/FOT/FOTC/Program/Mirror/StructurallySmaller/StructurallySmallerSL.agda | asr/fotc | 11 | 15992 | <filename>notes/FOT/FOTC/Program/Mirror/StructurallySmaller/StructurallySmallerSL.agda<gh_stars>10-100
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# OPTIONS --without-K #-}
module FOT.FOTC.Program.Mirror.StructurallyS... |
src/antlr_test/antlr/HGameAutoWired.g4 | puzzzzzzle/cpp_study | 3 | 2798 | <filename>src/antlr_test/antlr/HGameAutoWired.g4
grammar HGameAutoWired;
auto_wired : 'AUTO_WIRED' LeftParen Identifier ',' Identifier RightParen;
auto_config : 'AUTO_CONFIG' LeftParen Identifier ',' Identifier RightParen;
LeftParen: '(';
RightParen: ')';
Comma: ',';
WS : [ \t\r\n]+ -> skip ; // skip spaces, tabs, n... |
alloy4fun_models/trashltl/models/4/t2yGD3RxiSRWZd798.als | Kaixi26/org.alloytools.alloy | 0 | 5152 | open main
pred idt2yGD3RxiSRWZd798_prop5 {
some f:Trash | eventually no Trash & f
}
pred __repair { idt2yGD3RxiSRWZd798_prop5 }
check __repair { idt2yGD3RxiSRWZd798_prop5 <=> prop5o } |
oeis/147/A147645.asm | neoneye/loda-programs | 11 | 26940 | ; A147645: Number of distinct Mersenne primes dividing n.
; Submitted by <NAME>
; 0,0,1,0,0,1,1,0,1,0,0,1,0,1,1,0,0,1,0,0,2,0,0,1,0,0,1,1,0,1,1,0,1,0,1,1,0,0,1,0,0,2,0,0,1,0,0,1,1,0,1,0,0,1,0,1,1,0,0,1,0,1,2,0,0,1,0,0,1,1,0,1,0,0,1,0,1,1,0,0,1,0,0,2,0,0,1,0,0,1,1,0,2,0,0,1,0,1,1,0
add $0,1
mov $1,1
mov $2,1
lpb $0
m... |
programs/oeis/007/A007401.asm | jmorken/loda | 1 | 22882 | <gh_stars>1-10
; A007401: Add n-1 to n-th term of 'n appears n times' sequence (A002024).
; 1,3,4,6,7,8,10,11,12,13,15,16,17,18,19,21,22,23,24,25,26,28,29,30,31,32,33,34,36,37,38,39,40,41,42,43,45,46,47,48,49,50,51,52,53,55,56,57,58,59,60,61,62,63,64,66,67,68,69,70,71,72,73,74,75,76,78,79,80,81,82,83,84,85,86,87,88,89,... |
programs/oeis/294/A294936.asm | neoneye/loda | 22 | 173148 | <filename>programs/oeis/294/A294936.asm<gh_stars>10-100
; A294936: Characteristic function for nondeficient numbers (A023196): a(n) = 1 if A001065(n) >= n, 0 otherwise.
; 0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,1,0,0,0,1,0,0,0,1,0,1,0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,1,0,1,0,0,0... |
TE/SPOS LAB/Group A/P1_ASM/input1.asm | Nikhil-Giramkar/SPPU_COMP_2015 | 1 | 164734 | <filename>TE/SPOS LAB/Group A/P1_ASM/input1.asm<gh_stars>1-10
START 100
A DS 3
L1 MOVER AREG, B
ADD AREG, C
MOVEM AREG, D
D EQU A+1
L2 PRINT D
ORIGIN L2+1
MOVEM AREG, ='34'
MOVEM AREG, ='14'
LTORG
STOP
MOVEM AREG, ='143'
MOVEM AREG, ='134'
B DC '19
C DC '17
END
|
oeis/028/A028121.asm | neoneye/loda-programs | 11 | 165728 | <reponame>neoneye/loda-programs
; A028121: Expansion of 1/((1-4x)(1-5x)(1-8x)(1-10x)).
; Submitted by <NAME>
; 1,27,467,6615,83811,990927,11193547,122534775,1311833171,13818932127,143838758427,1483810444935,15202640928931,154948536206127,1572891821232107,15916318178611095,160663127276015091,1618634582657172927,16282391... |
PRACT0/SO1H/asm/ints.asm | so1h/SO1H | 0 | 1747 | <reponame>so1h/SO1H
bits 16
; glb intptr_t : int
; glb uintptr_t : unsigned
; glb intmax_t : int
; glb uintmax_t : unsigned
; glb int8_t : signed char
; glb int_least8_t : signed char
; glb int_fast8_t : signed char
; glb uint8_t : unsigned char
; glb uint_least8_t : unsigned char
; glb uint_fast8_t : unsigned char
; ... |
test/Succeed/Issue2159.agda | shlevy/agda | 1,989 | 10027 | <reponame>shlevy/agda
open import Agda.Builtin.Equality
open import Agda.Builtin.Nat
data AB : Set where
A B : AB
foo : Nat → AB → AB
foo 0 t = A
foo (suc n) t = foo n A -- NB tail-recursive
test : foo 100000 A ≡ A
test = refl -- memory blows up here
data N : Set where
z : N
s : N → N
produce : Nat → ... |
programs/oeis/047/A047551.asm | neoneye/loda | 22 | 24518 | ; A047551: Numbers that are congruent to {0, 1, 6, 7} mod 8.
; 0,1,6,7,8,9,14,15,16,17,22,23,24,25,30,31,32,33,38,39,40,41,46,47,48,49,54,55,56,57,62,63,64,65,70,71,72,73,78,79,80,81,86,87,88,89,94,95,96,97,102,103,104,105,110,111,112,113,118,119,120,121,126
mov $1,$0
add $0,2
div $0,4
mul $0,4
add $0,$1
|
exampl05/console/hashapp/primes/primes.asm | AlexRogalskiy/Masm | 0 | 6125 | <reponame>AlexRogalskiy/Masm
; thanks to Scali .. he helped optimizing this
.386
.model flat, stdcall
option casemap:none
include \masm32\include\windows.inc
include \masm32\include\kernel32.inc
include \masm32\include\user32.inc
includelib \masm32\lib\kernel32.lib
includelib \masm32\lib\user32.lib
inv... |
experiments/test-suite/mutation-based/10/7/student.als | kaiyuanw/AlloyFLCore | 1 | 3554 | pred test79 {
some disj List0: List {some disj Node0, Node1: Node {some disj True0: True {some disj False0: False {some disj True0, False0: Boolean {
List = List0
header = List0->Node1
Node = Node0 + Node1
link = Node1->Node0 + Node1->Node1
elem = Node0->5 + Node1->4
True = True0
False = False0
Boolean = True0 + False0... |
cmd/share/gshare.asm | minblock/msdos | 0 | 175609 | <filename>cmd/share/gshare.asm
Title Share_1
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
; $SALUT (0,36,41,44)
include SHAREHDR.INC
;
; Label: "The DOS SHARE Utility"
;
;*****... |
agda-stdlib-0.9/src/Data/Maybe/Core.agda | qwe2/try-agda | 1 | 16598 | <filename>agda-stdlib-0.9/src/Data/Maybe/Core.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- The Maybe type
------------------------------------------------------------------------
-- The definitions in this file are reexported by Data.Maybe.
module Da... |
src/main/antlr4/org/sidif/triplestore/parser/SiDIFTokenLexer.g4 | BITPlan/org.sidif.triplestore | 1 | 5787 | <reponame>BITPlan/org.sidif.triplestore<gh_stars>1-10
/**
* Copyright © 2015-2017 BITPlan GmbH
* Author: <NAME>
*
* this is the lexer grammar part of the Language definition for the Simple Graph Navigation Language
* see http://signal.bitplan.com
*
* it is specified using ANTLR syntax and uses the ANTLR V4 pars... |
common/hal-zfp/hal.ads | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 20287 | with STM32GD.GPIO.Pin;
with STM32GD.GPIO.Polled;
with STM32GD.SPI.Peripheral;
with STM32GD.I2C.Peripheral;
with STM32GD.USART.Peripheral;
package HAL is
pragma Preelaborate;
generic package Pin renames STM32GD.GPIO.Pin;
generic package Pin_IRQ renames STM32GD.GPIO.Polled;
generic package SPI rena... |
TotalParserCombinators/Recogniser.agda | nad/parser-combinators | 1 | 1455 | <filename>TotalParserCombinators/Recogniser.agda
------------------------------------------------------------------------
-- Recognisers built on top of the parsers
------------------------------------------------------------------------
-- Note that these recognisers are different from the ones in
-- TotalRecognisers... |
tests/covered/FunSetPerBool.agda | andrejtokarcik/agda-semantics | 3 | 5117 | module FunSetPerBool where
data Bool : Set where
True : Bool
False : Bool
data T : Set where
E : T
s : Bool -> Set
s True = Bool
s False = T
f = \ (x : s True) -> x
g = f True
f2 = \ (x : Bool) (y : s x) -> y
h = f2 False E
-- i : (xx : _) -> _
i = f2 True
j : (eh : s False) -> s False
j = f2 False
|
programs/oeis/244/A244797.asm | neoneye/loda | 22 | 22652 | <filename>programs/oeis/244/A244797.asm
; A244797: Number of moduli m such that (prime(n) mod m) = 2.
; 0,0,1,1,2,1,3,1,3,3,1,3,3,1,5,3,3,1,3,3,1,3,4,3,3,5,1,7,1,3,3,3,7,1,5,1,3,3,7,5,3,1,7,1,7,1,3,3,8,1,7,3,1,3,7,5,3,1,5,5,1,3,3,3,1,11,3,3,7,1,7,7,3,3,3,3,5,3,7,3,3,1,7,1,3,8,3,7,7,1,7,5,3,3,3,3,5,3,1,5
seq $0,6005 ; ... |
programs/oeis/227/A227252.asm | neoneye/loda | 22 | 96714 | <gh_stars>10-100
; A227252: Number of n X 2 binary arrays indicating whether each 2 X 2 subblock of a larger binary array has lexicographically nondecreasing rows and columns, for some larger (n+1) X 3 binary array with rows and columns of the latter in lexicographically nondecreasing order.
; 2,3,9,23,53,113,225,421,7... |
Data/ListSized.agda | Lolirofle/stuff-in-agda | 6 | 14966 | import Lvl
open import Type
module Data.ListSized {ℓ} (T : Type{ℓ}) where
import Data.IndexedList
open import Functional
open import Numeral.Natural
open Data.IndexedList(T){ℕ} using (IndexedList ; intro)
-- A list is a container/collection with elements in order and which allows multiples
List : ℕ → Type... |
programs/oeis/294/A294246.asm | jmorken/loda | 1 | 169284 | <reponame>jmorken/loda<filename>programs/oeis/294/A294246.asm
; A294246: Sum of the smaller parts of the partitions of 2n into two parts with smaller part nonsquarefree.
; 0,0,0,4,4,4,4,12,21,21,21,33,33,33,33,49,49,67,67,87,87,87,87,111,136,136,163,191,191,191,191,223,223,223,223,259,259,259,259,299,299,299,299,343,38... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.