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 |
|---|---|---|---|---|
pid_functionality.adb | oysteinlondal/Inverted-Pendulum | 0 | 19202 | <reponame>oysteinlondal/Inverted-Pendulum
package body PID_Functionality is
procedure Position_Controller(K_PP : in Float; Pos_Error : in Float; Vel_Ref : out Float) is
begin
Vel_Ref := K_PP * Pos_Error;
end Position_Controller;
procedure Velocity_Controller(K_PV : in Float; Vel_Error : in Flo... |
target/cos_117/disasm/iop_overlay1/DELMSG.asm | jrrk2/cray-sim | 49 | 93809 | <reponame>jrrk2/cray-sim<filename>target/cos_117/disasm/iop_overlay1/DELMSG.asm<gh_stars>10-100
0x0000 (0x000000) 0x1008- f:00010 d: 8 | A = 8 (0x0008)
0x0001 (0x000002) 0x291C- f:00024 d: 284 | OR[284] = A
0x0002 (0x000004) 0x1000- f:00010 d: 0 | A = 0 (0x0000) ... |
alloy4fun_models/trashltl/models/4/t7NkeKnLkff9CejEQ.als | Kaixi26/org.alloytools.alloy | 0 | 5057 | open main
pred idt7NkeKnLkff9CejEQ_prop5 {
some f:File | eventually no f&File
}
pred __repair { idt7NkeKnLkff9CejEQ_prop5 }
check __repair { idt7NkeKnLkff9CejEQ_prop5 <=> prop5o } |
applescript/copyTrackURL.applescript | SoloUnity/Alfred-Spotify-Commands | 15 | 1552 | on alfred_script(q)
tell application "Spotify"
get spotify url of current track
end tell
end alfred_script |
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_21829_920.asm | ljhsiun2/medusa | 9 | 167077 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x13a49, %r10
and $16391, %rbx
movups (%r10), %xmm3
vpextrq $0, %xmm3, %r9
and $39033, %r9
lea addresses_WC_ht+0x14a49, %rsi
lea addresses_A_ht+0xe89, %rdi
clflush (%rdi)
inc %r10
mov $33... |
gfx/pokemon/unown/anim_idle.asm | Dev727/ancientplatinum | 28 | 242100 | setrepeat 2
frame 0, 05
frame 11, 05
dorepeat 1
endanim
|
mentos/src/process/user.asm | adamantinum/MentOS | 1 | 179115 | ; MentOS, The Mentoring Operating system project
; @file user.asm
; @brief
; @copyright (c) 2019 This file is distributed under the MIT License.
; See LICENSE.md for details.
; Enter userspace (ring3) (from Ring 0, namely Kernel)
; Usage: enter_userspace(uintptr_t location, uintptr_t stack);
; On sta... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnarl/a-exetim__default.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 8932 | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
oeis/205/A205959.asm | neoneye/loda-programs | 11 | 82733 | <reponame>neoneye/loda-programs
; A205959: a(n) = n^omega(n)/rad(n).
; Submitted by <NAME>
; 1,1,1,2,1,6,1,4,3,10,1,24,1,14,15,8,1,54,1,40,21,22,1,96,5,26,9,56,1,900,1,16,33,34,35,216,1,38,39,160,1,1764,1,88,135,46,1,384,7,250,51,104,1,486,55,224,57,58,1,7200,1,62,189,32,65,4356,1,136,69,4900,1,864,1,74,375,152,77,6084... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_821.asm | ljhsiun2/medusa | 9 | 26015 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x767a, %r8
nop
nop
nop
mfence
mov (%r8), %esi
nop
nop
nop
nop
add $1968, %rax
lea addresses_WT_ht+0x1dc7a, %rcx
nop
nop
nop
sub $9189, %r14
movw $0x6... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1679.asm | ljhsiun2/medusa | 9 | 87610 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1679.asm
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %rbp
push %rdi
push %rdx
// Faulty Load
lea addresses_normal+0x2d94, %rdx
nop
nop
nop
nop
n... |
asm/amd64masm/logic/impl.asm | proydakov/cppzone | 4 | 82912 | .code
LogicAND proc
mov eax, ecx
and eax, edx
ret
LogicAND endp
LogicOR proc
mov eax, ecx
or eax, edx
ret
LogicOR endp
LogicXOR proc
mov eax, ecx
xor eax, edx
ret
LogicXOR endp
end
|
loops/jmp-loopx10.asm | Unshifted1337/5xFibonnaciNumbers | 0 | 167773 | <gh_stars>0
MOV CL, 10
L1:
<LOOP-BODY>
DEC CL
JNZ L1
|
programs/oeis/016/A016247.asm | neoneye/loda | 22 | 22077 | <reponame>neoneye/loda
; A016247: Expansion of 1/((1-x)(1-6x)(1-11x)).
; 1,18,241,2910,33565,378546,4219993,46755846,516329845,5691721530,62681496241,689931815118,7591862105101,83526155988930,918881752875145,10108263503608086,111194283871577893,1223157434578690506
lpb $0
mov $2,$0
sub $0,1
seq $2,16174 ; Expansi... |
Quiz and Lab Assessment/Solution/1/1.asm | TasneemMahmud1731893642/CSE331 | 0 | 5547 | <filename>Quiz and Lab Assessment/Solution/1/1.asm
ORG 100H
MOV AX, @DATA
MOV DS, AX
MOV SI, OFFSET ARR1 ; REVERSE
MOV DI, OFFSET ARR2 ; INPUT
MOV CX, 0
INPUT:
MOV AH,1
INT 21H
CMP AL,13
JE L1
MOV [DI],AL
INC DI
INC CX
JMP INPUT
L1:
DEC DI
PUSH CX
MOV AH, 2
MOV DL, 0AH
INT 21H
MOV DL, 0DH
INT 21H
LX:
MOV BL, [D... |
examples/hello-world.asm | eried/gingerbread | 0 | 3773 | <filename>examples/hello-world.asm
; This section is for including files that either need to be in the home section, or files where it doesn't matter
SECTION "Includes@home",ROM0
; Prior to importing GingerBread, some options can be specified
; Max 15 characters, should be uppercase ASCII
GAME_NAME EQUS "HIWORLD "
... |
Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2.log_142_1005.asm | ljhsiun2/medusa | 9 | 10973 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r9
push %rax
push %rbp
push %rdx
lea addresses_normal_ht+0x1a81a, %r14
nop
nop
nop
cmp $56847, %rdx
mov $0x6162636465666768, %r15
movq %r15, %xmm3
vmovups %ymm3, (%r14)
nop
sub %rax, %rax
lea addresses_D_ht+0x14082, %r14
no... |
libsrc/video/hd44780/lcd_clear.asm | ahjelm/z88dk | 640 | 170045 | <gh_stars>100-1000
SECTION code_driver
PUBLIC lcd_clear
PUBLIC _lcd_clear
PUBLIC asm_lcd_clear
EXTERN asm_lcd_delay_long
EXTERN LCD_DATA_PORT
EXTERN LCD_CONTROL_PORT
EXTERN CONSOLE_COLUMNS
EXTERN CONSOLE_ROWS
EXTERN LCD_VRAM
EXTERN asm_lcd_write_control
EXTERN __console_x
EXTERN __console_y
INCLUDE "hd44780.de... |
audio/sfx/psybeam.asm | adhi-thirumala/EvoYellow | 16 | 173032 | SFX_Psybeam_Ch1:
dutycycle 161
unknownsfx0x20 10, 241, 64, 6
unknownsfx0x20 10, 243, 128, 6
unknownsfx0x20 10, 242, 32, 6
loopchannel 4, SFX_Psybeam_Ch1
unknownsfx0x20 10, 241, 64, 6
endchannel
SFX_Psybeam_Ch2:
dutycycle 179
unknownsfx0x20 10, 243, 113, 5
unknownsfx0x20 7, 227, 49, 5
unknownsfx0x20 10, 241... |
ada/src/client/-clients.ads | mindviser/keepaSDK | 3 | 4623 | <filename>ada/src/client/-clients.ads
-- Keepa API
-- The Keepa API offers numerous endpoints. Every request requires your API access key as a parameter. You can find and change your key in the keepa portal. All requests must be issued as a HTTPS GET and accept gzip encoding. If possible, use a Keep_Alive connection... |
Definition/LogicalRelation.agda | loic-p/logrel-mltt | 0 | 16578 | <filename>Definition/LogicalRelation.agda
{-# OPTIONS --without-K --safe #-}
open import Definition.Typed.EqualityRelation
module Definition.LogicalRelation {{eqrel : EqRelSet}} where
open EqRelSet {{...}}
open import Definition.Untyped as U
open import Definition.Typed
open import Definition.Typed.Weakening
open im... |
programs/oeis/098/A098600.asm | neoneye/loda | 22 | 88340 | <filename>programs/oeis/098/A098600.asm
; A098600: a(n) = Fibonacci(n-1) + Fibonacci(n+1) - (-1)^n.
; 1,2,2,5,6,12,17,30,46,77,122,200,321,522,842,1365,2206,3572,5777,9350,15126,24477,39602,64080,103681,167762,271442,439205,710646,1149852,1860497,3010350,4870846,7881197,12752042,20633240,33385281,54018522,87403802,1414... |
verify/lxp32/src/firmware/test001.asm | mfkiwl/lxp32-cpu-fpga | 38 | 100667 | /*
* This test verifies that basic instructions
* (data transfers, addition/subtraction, jumps) work.
*/
lc r100, 0x10000000 // test result output pointer
lc r101, halt
lc r102, bad_jump
lc r103, reg_is_nonzero
// Check that all registers are zero-initialized after reset
// Ignore r100-r103 which are already ... |
src/unittests/unittest_readwordunaligned.asm | lawrimon/SnakeV | 2 | 247828 | <filename>src/unittests/unittest_readwordunaligned.asm
.text
# initialization
li t0, 0xdeadbeef
li t1, 0xaffed00f
sw t0, (gp)
sw t1, 4 (gp)
mv a1, gp
addi a1,a1,2
jal read_word_unaligned # a0 is output
mv s0, a0
li t2, 0xd00fdead # reference value
bne t2, s0, error_test
li a0, 5 #if program finishes with code... |
examples/properties/property_example.adb | glencornell/ada-object-framework | 0 | 14449 | <reponame>glencornell/ada-object-framework
with Aof.Core.Properties;
with Callbacks;
-- In this example, we are going to create a simple integer property.
-- As a refresher, a property is a class member field with a get and
-- set method. A property is built upon the signals & slots concept
-- in this implementat... |
programs/oeis/115/A115903.asm | neoneye/loda | 22 | 20208 | <filename>programs/oeis/115/A115903.asm
; A115903: Expansion of (1-12*x)^(-3/2).
; 1,18,270,3780,51030,673596,8756748,112586760,1435481190,18182761740,229102797924,2874198737592,35927484219900,447711726432600,5564417171376600,68998772925069840,853859814947739270,10547680067001485100,130088054159684982900,16021370880719... |
Source Codes/Div.asm | kaazima/Emulator-8086 | 0 | 95451 | <reponame>kaazima/Emulator-8086<gh_stars>0
.MODEL small
.STACK
.DATA
.CODE
.STARTUP
mov bl,3h
mov ax,7h
div bl ;8 bit
mov dx,1h
mov cx,0100h
div cx ;16 bit
end |
sdk/clients/ada/src/client/-clients.adb | databuzzword/ai-api-marketplace | 0 | 15179 | <reponame>databuzzword/ai-api-marketplace<gh_stars>0
-- FastAPI
-- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
--
-- The version of the OpenAPI document: 0.1.0
--
--
-- NOTE: This package is auto generated by OpenAPI-Generator 4.0.0.
-- https://opena... |
BTTfolder/keyshortcut.scpt | pection-zz/Allproject | 2 | 3325 | <filename>BTTfolder/keyshortcut.scpt<gh_stars>1-10
tell application "System Events"
tell application "Safari" to activate
keystroke "p" using shift down
set visible of process "Safari" to false
end tell |
tlsf/src/proof/util/tlsf-proof-util-vectors.adb | vasil-sd/ada-tlsf | 3 | 15567 | package body TLSF.Proof.Util.Vectors with SPARK_Mode is
----------
-- Find --
----------
function Find
(Container : V.Sequence; E : Element_Type) return Extended_Index_Type
is
begin
if V.Last(Container) >= Index_Type'First then
for Idx in Index_Type'First..Index_Type(V.Last(Conta... |
dependencies/agar/ada-core/agar-core-config.ads | amvb/GUCEF | 5 | 673 | package Agar.Core.Config is
function Load return Boolean;
function Save return Boolean;
end Agar.Core.Config;
|
asm/floorLog2.asm | GabrielRavier/Generic-Assembly-Samples | 0 | 87728 | <gh_stars>0
global @ASM_floorLog2@4
extern _getInstructionSet
segment .data align=16
actualASM_floorLog2Ptr dd actualASM_floorLog2GetPtr
segment .text align=16
%define number ecx
%define result eax
%define loRetVal al
actualASM_floorLog2NoBMI2:
push ebx
mov edx, number
mov result, n... |
programs/oeis/069/A069127.asm | neoneye/loda | 22 | 102500 | <reponame>neoneye/loda
; A069127: Centered 14-gonal numbers.
; 1,15,43,85,141,211,295,393,505,631,771,925,1093,1275,1471,1681,1905,2143,2395,2661,2941,3235,3543,3865,4201,4551,4915,5293,5685,6091,6511,6945,7393,7855,8331,8821,9325,9843,10375,10921,11481,12055,12643,13245,13861,14491,15135,15793,16465,17151,17851,18565,... |
fourier/fourier8.adb | jscparker/math_packages | 30 | 18649 | <filename>fourier/fourier8.adb
-------------------------------------------------------------------------------
-- package body Fourier8, a fast fourier transform
-- Copyright (C) 1995-2018 <NAME>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby gra... |
source/environment/machine-pc-freebsd/s-progra.adb | ytomino/drake | 33 | 16772 | with System.Address_To_Named_Access_Conversions;
with System.Growth;
with System.Zero_Terminated_Strings;
with C.errno;
with C.sys.sysctl;
with C.sys.types;
package body System.Program is
use type C.signed_int;
package char_ptr_Conv is
new Address_To_Named_Access_Conversions (C.char, C.char_ptr);
mib :... |
alloy4fun_models/trashltl/models/9/uuTNQ9nnJFqh3JxYt.als | Kaixi26/org.alloytools.alloy | 0 | 4999 | open main
pred iduuTNQ9nnJFqh3JxYt_prop10 {
always( Protected = Protected)
}
pred __repair { iduuTNQ9nnJFqh3JxYt_prop10 }
check __repair { iduuTNQ9nnJFqh3JxYt_prop10 <=> prop10o } |
programs/oeis/267/A267263.asm | neoneye/loda | 22 | 175475 | ; A267263: Number of nonzero digits in representation of n in primorial base.
; 0,1,1,2,1,2,1,2,2,3,2,3,1,2,2,3,2,3,1,2,2,3,2,3,1,2,2,3,2,3,1,2,2,3,2,3,2,3,3,4,3,4,2,3,3,4,3,4,2,3,3,4,3,4,2,3,3,4,3,4,1,2,2,3,2,3,2,3,3,4,3,4,2,3,3,4,3,4,2,3,3,4,3,4,2,3,3,4,3,4,1,2,2,3,2,3,2,3,3,4
seq $0,276086 ; Prime product form of p... |
alloy4fun_models/trashltl/models/7/vGxiDtwcfwQtkgmy5.als | Kaixi26/org.alloytools.alloy | 0 | 410 | <gh_stars>0
open main
pred idvGxiDtwcfwQtkgmy5_prop8 {
always (eventually link.File in Trash)
}
pred __repair { idvGxiDtwcfwQtkgmy5_prop8 }
check __repair { idvGxiDtwcfwQtkgmy5_prop8 <=> prop8o } |
libsrc/time/zx81/clock.asm | andydansby/z88dk-mk2 | 1 | 247563 | ;
; ZX81 clock() function
; By <NAME> - Oct. 2011
; Back to default FRAMES counter + 1 extra byte ;)
;
; --------
; $Id: clock.asm,v 1.6 2011/11/02 14:24:33 stefano Exp $
XLIB clock
; XREF frames3
.clock
ld hl,-1
ld de,($4034)
and a
sbc hl,de
ld de,0
ret
|
so/overlay/src/overlay1.asm | bmnascimento/von-neumann-simulator | 0 | 5323 | <gh_stars>0
@ 0
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff
k ff... |
programs/oeis/068/A068722.asm | karttu/loda | 0 | 104734 | ; A068722: Number of solenoidal flows (flow in = flow out) in a 3 X 3 square array with integer velocities -n .. n.
; 1,35,247,925,2501,5551,10795,19097,31465,49051,73151,105205,146797,199655,265651,346801,445265,563347,703495,868301,1060501,1282975,1538747,1830985,2163001,2538251,2960335,3432997,3960125,4545751,519405... |
programs/oeis/005/A005680.asm | neoneye/loda | 22 | 94338 | ; A005680: A squarefree ternary sequence.
; 1,2,3,1,2,1,3,2,3,1,3,2,1,2,3,1,2,1,3,2,1,2,3,1,3,2,3,1,2,1,3,2,3,1,3,2,1,2,3,1,3,2,3,1,2,1,3,2,1,2,3,1,2,1,3,2,3,1,3,2,1,2,3,1,2,1,3,2,1,2,3,1,3,2,3,1,2,1,3,2,1,2,3,1,2,1,3,2,3,1,3,2,1,2,3,1,3,2,3,1
lpb $0
dif $0,4
lpe
lpb $0
trn $0,1
seq $0,36579 ; Ternary Thue-Morse... |
oeis/016/A016930.asm | neoneye/loda-programs | 11 | 84397 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A016930: a(n) = (6*n + 1)^10.
; 1,282475249,137858491849,6131066257801,95367431640625,819628286980801,4808584372417849,21611482313284249,79792266297612001,253295162119140625,713342911662882601,1822837804551761449,4297625829703557649,9468276082626847201,19687440434072265... |
PROGRAM/DCMOTORDIRECTION.asm | AhmedNaguib-Freelancer/PROJECT-4-Microcontroller-control-of-dc-motor-direction- | 0 | 162169 |
_main:
;DCMOTORDIRECTION.c,1 :: void main() {
;DCMOTORDIRECTION.c,2 :: TRISB=0;
CLRF TRISB+0
;DCMOTORDIRECTION.c,3 :: TRISC=1;
MOVLW 1
MOVWF TRISC+0
;DCMOTORDIRECTION.c,4 :: PORTB=0;
CLRF PORTB+0
;DCMOTORDIRECTION.c,5 :: while(1)
L_main0:
;DCMOTORDIRECTION.c,7 :: if(... |
src/ehbasic/main.asm | irmen/ksim65 | 8 | 171561 | <filename>src/ehbasic/main.asm<gh_stars>1-10
; minimal monitor for EhBASIC and 6502 simulator V1.05
; tabs converted to space, tabwidth=6
; To run EhBASIC on the simulator load and assemble [F7] this file, start the simulator
; running [F6] then start the code with the RESET [CTRL][SHIFT]R. Just selecting RUN
; will d... |
Transynther/x86/_processed/NONE/_ht_st_zr_un_/i7-7700_9_0xca.log_21829_800.asm | ljhsiun2/medusa | 9 | 243194 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x5bea, %rsi
lea addresses_UC_ht+0x17f28, %rdi
xor $18334, %rdx
mov $43, %rcx
rep movsq
nop
nop
sub $10494, %r8
lea addresses_UC_ht+0x14592, %rsi
lea addresses_UC_ht+0x123ea, %rd... |
source/context/webidl-interfaces.ads | reznikmm/webidl | 0 | 15220 | <filename>source/context/webidl-interfaces.ads
-- SPDX-FileCopyrightText: 2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with WebIDL.Definitions;
with WebIDL.Interface_Members;
package WebIDL.Interfaces is
pragma Preelaborate;
type An_In... |
Inductive/Examples/BinTree.agda | mr-ohman/general-induction | 0 | 15160 | module Inductive.Examples.BinTree where
open import Inductive
open import Tuple
open import Data.Fin
open import Data.Product hiding (map)
open import Data.List hiding (map)
open import Data.Vec hiding (map)
BinTree : Set → Set
BinTree A = Inductive (([] , []) ∷ (((A ∷ []) , ([] ∷ ([] ∷ []))) ∷ []))
leaf : {A : Set... |
programs/oeis/032/A032609.asm | jmorken/loda | 1 | 27744 | <reponame>jmorken/loda<filename>programs/oeis/032/A032609.asm
; A032609: Concatenation of n and n + 4 or {n,n+4}.
; 15,26,37,48,59,610,711,812,913,1014,1115,1216,1317,1418,1519,1620,1721,1822,1923,2024,2125,2226,2327,2428,2529,2630,2731,2832,2933,3034,3135,3236,3337,3438,3539,3640,3741,3842,3943,4044,4145,4246
mov $3,... |
Library/Trans/SSheet/Lotus123/Shared/sharedCache.asm | steakknife/pcgeos | 504 | 28798 | <reponame>steakknife/pcgeos
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1991 -- All Rights Reserved
PROJECT: PC/GEOS
MODULE: CSV/Shared
FILE: sharedCache.asm
AUTHOR: <NAME>, Jun 26, 1991
ROUTINES:
Name Description
---- -------... |
libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sdcc/___h2schar_callee.asm | Frodevan/z88dk | 640 | 240216 |
SECTION code_fp_math16
PUBLIC ___h2schar_callee
EXTERN cm16_sdcc___h2schar_callee
defc ___h2schar_callee = cm16_sdcc___h2schar_callee
|
grammar/Ristretto.g4 | giacomo-dr/ristretto | 0 | 6665 | // ANTLR4 "Ristretto" grammar
// Author: <NAME>
// Date: 10 Mar 2017
grammar Ristretto;
@header {
package ch.usi.delrig.ristretto.antlrparser;
}
// --- Grammar
module : def+;
def : funHeader block # DefBlock
| 'extern' funHeader ';' # DefExtern
;
funHeader : (type | 'void') IDE '(' params? ')'
;
params ... |
linux/contrib/libjpeg-turbo-dev/simd/x86_64/jdsample-avx2.asm | darthrake/openpnp-capture | 76 | 241906 | <filename>linux/contrib/libjpeg-turbo-dev/simd/x86_64/jdsample-avx2.asm
;
; jdsample.asm - upsampling (64-bit AVX2)
;
; Copyright 2009 Pierre Ossman <<EMAIL>> for Cendio AB
; Copyright (C) 2009, 2016, <NAME>.
; Copyright (C) 2015, Intel Corporation.
;
; Based on the x86 SIMD extension for IJG JPEG library
; Copyright (... |
src/shaders/h264/ildb/saveNV12_16x4.asm | tizenorg/platform.upstream.libva-intel-driver | 0 | 1184 | <reponame>tizenorg/platform.upstream.libva-intel-driver<filename>src/shaders/h264/ildb/saveNV12_16x4.asm
/*
* Copyright © <2010>, Intel Corporation.
*
* This program is licensed under the terms and conditions of the
* Eclipse Public License (EPL), version 1.0. The full text of the EPL is at
* http://www.open... |
Sources/Library/generic_protected.adb | ForYouEyesOnly/Space-Convoy | 1 | 2363 | --
-- <NAME>, Australia, 2013
--
package body Generic_Protected is
protected body Monitor is
function Read return Element is (Value);
procedure Write (E : Element) is
begin
Value := E;
Touched := True;
end Write;
entry Wait_for_Update (E : out Element) when Tou... |
thirdparty/adasdl/thin/adasdl/AdaSDL/binding/sdl-mutex.ads | Lucretia/old_nehe_ada95 | 0 | 25361 |
-- ----------------------------------------------------------------- --
-- AdaSDL --
-- Binding to Simple Direct Media Layer --
-- Copyright (C) 2001 A.M.F.Vargas --
-- <NAME> ... |
driver/src/clawfc/depscan/PreprocessorLineMarkerRecognizer.g4 | clementval/claw-compiler | 29 | 5115 | <reponame>clementval/claw-compiler
/*
* This file is released under terms of BSD license
* See LICENSE file for more information
* @author <NAME>
*/
/**
* ANTLR 4 Grammar file for parsign file paths out of preprocessor line markers.
*/
grammar PreprocessorLineMarkerRecognizer;
root: preproc_line_marker_line EOF;
... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_16408_1080.asm | ljhsiun2/medusa | 9 | 87855 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_16408_1080.asm
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
// Store
lea addresses_PSE+0... |
programs/oeis/047/A047381.asm | karttu/loda | 1 | 172327 | <reponame>karttu/loda
; A047381: Numbers that are congruent to {0, 1, 2, 4, 5} mod 7.
; 0,1,2,4,5,7,8,9,11,12,14,15,16,18,19,21,22,23,25,26,28,29,30,32,33,35,36,37,39,40,42,43,44,46,47,49,50,51,53,54,56,57,58,60,61,63,64,65,67,68,70,71,72,74,75,77,78,79,81,82,84,85,86,88,89,91,92,93,95,96,98,99,100,102,103,105,106,107,... |
programs/oeis/085/A085250.asm | karttu/loda | 1 | 93613 | ; A085250: 4 times hexagonal numbers: a(n) = 4*n*(2*n-1).
; 0,4,24,60,112,180,264,364,480,612,760,924,1104,1300,1512,1740,1984,2244,2520,2812,3120,3444,3784,4140,4512,4900,5304,5724,6160,6612,7080,7564,8064,8580,9112,9660,10224,10804,11400,12012,12640,13284,13944,14620,15312,16020,16744,17484,18240,19012,19800,20604,21... |
src/room_battle/timer_handlers.asm | gbcompo21/shock-lobster | 7 | 96964 | <reponame>gbcompo21/shock-lobster<gh_stars>1-10
;
; Timer handlers for Shock Lobster
;
; Copyright 2021 <NAME>
;
; This software is provided 'as-is', without any express or implied
; warranty. In no event will the authors be held liable for any damages
; arising from the use of this software.
;
; Permission is grante... |
Ada/main.adb | andersonjonathan/linguistic-exploration | 0 | 13443 | <filename>Ada/main.adb
with Ada.Text_IO;
use Ada.Text_IO;
with Palindrome;
procedure Main is
res : Boolean := False;
test : String(1..1024);
len : Integer;
begin
Get_Line(test, len);
res := Palindrome(test(1..len));
if res then
Put_Line("true");
else
Put_Line("false");... |
programs/oeis/026/A026218.asm | neoneye/loda | 22 | 100921 | ; A026218: a(n) = (1/3)*(s(n) + 2), where s(n) is the n-th number congruent to 1 mod 3 in A026177.
; 1,2,4,6,3,8,10,12,5,14,16,18,7,20,22,24,9,26,28,30,11,32,34,36,13,38,40,42,15,44,46,48,17,50,52,54,19,56,58,60,21,62,64,66,23,68,70,72,25,74,76,78,27,80,82,84,29,86,88,90,31,92,94
mov $1,$0
mul $0,2
mov $3,$1
mod $1,4
... |
alloy4fun_models/trashltl/models/7/B6AwzZzo9ZJcAJ8z3.als | Kaixi26/org.alloytools.alloy | 0 | 144 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idB6AwzZzo9ZJcAJ8z3_prop8 {
all f : File | (some f.~link) implies (eventually f in Trash)
}
pred __repair { idB6AwzZzo9ZJcAJ8z3_prop8 }
check __repair { idB6AwzZzo9ZJcAJ8z3_prop8 <=> prop8o } |
playflx/nextdefs.asm | ped7g/specnext | 0 | 174034 | <gh_stars>0
MACRO PRINT msg
PUSHALL
ld hl, .message
call printmsg
jr .done
.message:
db msg,0
.done:
POPALL
ENDM
MACRO STORENEXTREG regno, addr
ld bc, 0x243B ; nextreg select
ld a, regno
out (c), a
inc b ; nextreg i... |
kernel/kernel.asm | Grapefruitcc/xv6-riscv-fall19 | 1 | 169030 | <reponame>Grapefruitcc/xv6-riscv-fall19<gh_stars>1-10
kernel/kernel: file format elf64-littleriscv
Disassembly of section .text:
0000000080000000 <_entry>:
80000000: 0000b117 auipc sp,0xb
80000004: 80010113 addi sp,sp,-2048 # 8000a800 <stack0>
80000008: 6505 lui a... |
Task/Copy-a-string/Ada/copy-a-string-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 10886 | Src : String := "Hello";
Dest : String := Src;
|
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c36204d.ada | best08618/asylo | 7 | 10286 | <reponame>best08618/asylo
-- C36204D.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 contai... |
Cubical/Experiments/ZCohomologyOld/KcompPrelims.agda | dan-iel-lee/cubical | 0 | 5186 | {-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Experiments.ZCohomologyOld.KcompPrelims where
open import Cubical.ZCohomology.Base
open import Cubical.Homotopy.Connected
open import Cubical.HITs.Hopf
-- open import Cubical.Homotopy.Freudenthal hiding (encode)
open import Cubical.HITs.Sn
open import C... |
oeis/333/A333119.asm | neoneye/loda-programs | 11 | 105368 | ; A333119: Triangle T read by rows: T(n, k) = (n - k)*(1 - (-1)^k + 2*k)/4, with 0 <= k < n.
; Submitted by <NAME>
; 0,0,1,0,2,1,0,3,2,2,0,4,3,4,2,0,5,4,6,4,3,0,6,5,8,6,6,3,0,7,6,10,8,9,6,4,0,8,7,12,10,12,9,8,4,0,9,8,14,12,15,12,12,8,5,0,10,9,16,14,18,15,16,12,10,5,0,11,10,18,16,21,18,20,16,15,10,6
lpb $0
add $1,1
... |
src/ada-libc/src/libc-sched.ads | mstewartgallus/linted | 0 | 14280 | -- Copyright 2017 <NAME>
--
-- 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
--
-- Unless required by applicable law or agreed to in writi... |
src/johnnytext.adb | Qrbaker/synth | 263 | 22161 | <filename>src/johnnytext.adb<gh_stars>100-1000
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with Ada.Strings.Fixed;
with Ada.Characters.Latin_1;
package body JohnnyText is
package LAT renames Ada.Characters.Latin_1;
-----------
-- USS --
----... |
sanity-checking/tests/0007-tagged/src/plop.adb | reznikmm/GNAT-FSF-builds | 5 | 1967 | with Ada.Text_IO;
package body Plop is
procedure Print (This : A'Class) is
begin
Ada.Text_IO.Put_Line (This.Img);
end Print;
end Plop;
|
multimedia/directx/dxg/d3d/dx6/pipeln/i386/tclipp6.asm | npocmaka/Windows-Server-2003 | 17 | 92915 | .486p
.model flat
include offsets.asm
include pentium2.inc
.data
gD3DCLIP_LEFT dd 01h
gD3DCLIP_RIGHT dd 02h
gD3DCLIP_TOP dd 04h
gD3DCLIP_BOTTOM dd 08h
gD3DCLIP_FRONT dd 10h
gD3DCLIP_BACK dd 20h
.code
if 0
D3DVERTEX_x equ 0
D3DVERTEX_y equ 4
D3DVERTEX_z equ 8
D3DTLVERTEX_sx ... |
src/kafka-config.ads | Latence-Technologies/Kafka-Ada | 0 | 7169 | <reponame>Latence-Technologies/Kafka-Ada<gh_stars>0
--
-- Provides the ability to create a configuration to be used when creating a
-- Kafka handle
--
package Kafka.Config is
--
-- Creates a new kafka config object
--
-- librdkafka equivalent: rd_kafka_conf_new
--
function Create return Config_... |
x86/MovePick.asm | lucabrivio/asmFish-fasmg | 1 | 171669 |
calign 8
MovePick_MAIN_SEARCH:
mov r15, qword[rbx-1*sizeof.State+State.endMoves]
mov eax, dword[rbx+State.ttMove]
lea rdx, [MovePick_CAPTURES_GEN]
mov qword[rbx+State.stage], rdx
ret
calign 16, MovePick_GOOD_CAPTURES
MovePick_CAPTURES_GEN:
mov rdi, qword[rbx-1*sizeof.State+State... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_20723_1730.asm | ljhsiun2/medusa | 9 | 178421 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xa332, %rsi
lea addresses_WT_ht+0x4341, %rdi
nop
nop
cmp $54597, %rdx
mov $28, %rcx
rep movsb
nop
nop
and %r9, %r9
lea addresses_UC_ht+0x3192, %rbx
nop
nop
nop
and %r10, %r10
... |
PIM/TP1_Algorithmique/demander_confirmation.adb | Hathoute/ENSEEIHT | 1 | 15900 | <reponame>Hathoute/ENSEEIHT
with Ada.Text_IO; use Ada.Text_IO;
-- Demander confirmation par 'o' ou 'n'.
procedure Demander_Confirmation is
Reponse: Character; -- la réponse de l'utilisateur
begin
-- Demander la réponse
Put("Confirmation (o/n) ? ");
Get(Reponse);
while Reponse /= 'o' and Reponse... |
alloy4fun_models/trashltl/models/4/tuzey5LNStpmYaELE.als | Kaixi26/org.alloytools.alloy | 0 | 5259 | <gh_stars>0
open main
pred idtuzey5LNStpmYaELE_prop5 {
always some f : Trash | f in File until f not in File
}
pred __repair { idtuzey5LNStpmYaELE_prop5 }
check __repair { idtuzey5LNStpmYaELE_prop5 <=> prop5o } |
boot/stage2.asm | richard-hgs/InfinityOS | 0 | 88641 | ; stage 2 boot loader.
; by <NAME>.
; =======================
[org 0x7e00]
[bits 16]
; global kernel_sectors_readed
start:
mov [iBootDrive], dl ; Save disk wee boot from
call reset_disk ; Reset the disk position
; set text mode (80x25)
mov ax, 0x0003
int 0x10
; Enable a20 line then check if a20 line is... |
src/syntax/scs.g4 | deniskoronchik/scs-js-editor | 0 | 5198 | grammar scs;
options
{
language = JavaScript;
}
tokens
{
}
@parser::members {
public parserCallbacks:any = null;
public docUri:string = '';
private makeLocation(obj) {
return {
line: obj.line,
offset: obj.pos,
len: obj.text.length
};
};
private makeError(token, msg) {
this.parserCallbacks.o... |
data/pokemon/dex_entries/bastiodon.asm | AtmaBuster/pokeplat-gen2 | 6 | 25062 | <filename>data/pokemon/dex_entries/bastiodon.asm
db "SHIELD@" ; species name
db "When attacked,"
next "they form a wall."
next "Their rock-hard"
page "faces serve to"
next "protect them from"
next "the attacks.@"
|
test/interaction/Issue2971.agda | asr/eagda | 1 | 16299 | <reponame>asr/eagda
-- Andreas, 2018-03-19, issue #2971, reported by Ulf
-- Splitting on result should give proper error
-- when record type is weak, i.e. lacks projections.
{-# OPTIONS --no-irrelevant-projections #-}
-- {-# OPTIONS -v tc.cover:20 #-}
open import Agda.Builtin.Nat
open import Agda.Builtin.Equality
r... |
_build/dispatcher/jmp_ippsGFpECInitStdBN256_5845b9c4.asm | zyktrcn/ippcp | 1 | 86600 | extern m7_ippsGFpECInitStdBN256:function
extern n8_ippsGFpECInitStdBN256:function
extern y8_ippsGFpECInitStdBN256:function
extern e9_ippsGFpECInitStdBN256:function
extern l9_ippsGFpECInitStdBN256:function
extern n0_ippsGFpECInitStdBN256:function
extern k0_ippsGFpECInitStdBN256:function
extern ippcpJumpIndexForMergedLib... |
lab1/lab1.asm | mochisvelas/Microprogramming | 0 | 16649 | <filename>lab1/lab1.asm
.model small
.data
Name DB '<NAME> $'
Carne DB '1023718 $'
.stack
.code
program:
MOV AX, @DATA
MOV DS, AX
MOV DX, offset Name
MOV AH, 09h
INT 21h
MOV AH, 4Ch
INT 21h
END program
|
programs/oeis/064/A064061.asm | jmorken/loda | 1 | 245502 | ; A064061: Eighth column of Catalan triangle A009766.
; 429,1430,3432,7072,13260,23256,38760,62016,95931,144210,211508,303600,427570,592020,807300,1085760,1442025,1893294,2459664,3164480,4034712,5101360,6399888,7970688,9859575,12118314,14805180,17985552,21732542,26127660,31261516
mov $23,$0
mov $25,$0
add $25,1
lpb $2... |
MIPS/hw4main.asm | qiyuanfang1998/CSE220Work | 0 | 2350 | <filename>MIPS/hw4main.asm
.data
start_Address: .word 0xffff0000
newline: .asciiz "\n"
lchar: .asciiz "L"
rchar: .asciiz "R"
uchar: .asciiz "U"
dchar: .asciiz "D"
.text
.globl_start
_start:
##########
#1_1 test
##########
li $a0, 0xffff0000
li $a1, 5
li $a2, 4
jal clear_board
move $a0, $v0
li $v0,1
syscall
li $v0,... |
oeis/129/A129953.asm | neoneye/loda-programs | 11 | 3085 | ; A129953: First differences of A129952.
; 0,1,4,10,24,56,128,288,640,1408,3072,6656,14336,30720,65536,139264,294912,622592,1310720,2752512,5767168,12058624,25165824,52428800,109051904,226492416,469762048,973078528,2013265920,4160749568,8589934592,17716740096,36507222016,75161927680,154618822656,317827579904,6528350289... |
printf/syscall.asm | cheeseywhiz/cheeseywhiz | 0 | 23329 | <reponame>cheeseywhiz/cheeseywhiz
; https://the-linux-channel.the-toffee-project.org/index.php?page=5-tutorials-a-linux-system-call-in-c-without-a-standard-library
%include "sys-syscall.asm"
section .text
global _start, fprintf, printf, write, exit, mmap, munmap
extern main, fprintf_impl, printf_impl, check_alloc
_st... |
programs/oeis/195/A195084.asm | karttu/loda | 1 | 90845 | ; A195084: a(2n-1) = 2-n, a(2n) = 2+n.
; 1,3,0,4,-1,5,-2,6,-3,7,-4,8,-5,9,-6,10,-7,11,-8,12,-9,13,-10,14,-11,15,-12,16,-13,17,-14,18,-15,19,-16,20,-17,21,-18,22,-19,23,-20,24,-21,25,-22,26,-23,27,-24,28,-25,29,-26,30,-27,31,-28,32,-29,33
mov $5,$0
div $5,2
mul $5,2
mov $6,$0
mul $0,$5
mov $2,$5
div $2,2
add $0,$2
add ... |
programs/oeis/337/A337392.asm | karttu/loda | 1 | 168159 | <filename>programs/oeis/337/A337392.asm
; A337392: Minimum m such that the convergence speed of m^^m is equal to n >= 2, where A317905(n) represents the convergence speed of m^^m (and m = A067251(n), the n-th non-multiple of 10).
; 5,25,15,95,65,385,255,1535,1025,6145,4095,24575,16385,98305,65535,393215,262145,1572865,... |
sort.asm | hwreverse/PC-G850V | 7 | 104434 | 10 ORG 100H
20 JP MAIN
30DSPDE EQU 0BFF1H
40WAITK EQU 0BFCDH
50DSPHEX EQU 0F9BDH
60FLAG EQU 0
70DATA: DEFS 2
80L0: DB 6,89,1,56,33,29,93,88,76,43,54,12
90L1: DB " "
91 DB 13,10,0
100MAIN: LD HL, L0
110 LD C, 12
120 CALL SORT
130 LD B, 12
140 LD DE, L0
150 LD HL, L1
190MAIN0: LD A, (D... |
oeis/264/A264791.asm | neoneye/loda-programs | 11 | 171525 | <filename>oeis/264/A264791.asm
; A264791: Number of n X 1 arrays of permutations of 0..n*1-1 with rows nondecreasing modulo 2 and columns nondecreasing modulo 7.
; Submitted by <NAME>(w1)
; 1,1,1,1,1,1,1,2,4,8,16,32,64,128,384,1152,3456,10368,31104,93312,279936,1119744,4478976,17915904,71663616,286654464,1146617856,458... |
base/mvdm/wow16/win87em/emfconst.asm | npocmaka/Windows-Server-2003 | 17 | 162489 | <reponame>npocmaka/Windows-Server-2003
page ,132
subttl emfconst.asm - Loading of 8087 on chip constants
;***
;emfconst.asm - Loading of 8087 on chip constants
;
; Copyright (c) 1986-89, Microsoft Corporation
;
;Purpose:
; Loading of 8087 on chip constants
;
; This Module contains Proprietary Information of... |
combat_package.ads | Spohn/LegendOfZelba | 2 | 13116 | with NPC_PC; use NPC_PC;
with ada.text_io;
use ada.text_io;
with enemy_BST; use enemy_bst;
package Combat_package is
-------------------------------
-- Name: <NAME>
-- <NAME>
-- Combat Package Specification
-------------------------------
--Combat procedure
Procedure Combat(Hero : in out H... |
src/menuselection.asm | QuinnPainter/Renegade-Rush | 1 | 244033 | INCLUDE "hardware.inc"
INCLUDE "macros.inc"
DEF SELECTION_HEIGHT EQU 8 ; Vertical size of the selection bar, in pixels
SECTION "Menu Selection Vars", WRAM0
AfterSelIntVec:: DS 2 ; The interrupt vector that the LCD int is set to after the last line of the menu selection bar
AfterSelIntLine:: DS 1 ; The LY line the LCD... |
src/nco_bug_fix.asm | mvdhout1992/ts-patches | 33 | 26324 | <filename>src/nco_bug_fix.asm
; doesnt work
;@JMP 0x004BBC2D _Who_Can_Build_Me_NCO_Bug_Fix
_Who_Can_Build_Me_NCO_Bug_Fix:
mov edi, [esp+0x30]
mov ebp, ecx
mov ecx, [PlayerPtr]
mov ecx, [ecx+24h]
mov ecx, [ecx+64h]
mov eax, 1
shl eax, cl
mov ecx, [edi... |
src/lv-objx-img.ads | Fabien-Chouteau/ada-lvlg | 3 | 16265 | <gh_stars>1-10
with Interfaces.C;
with System;
package Lv.Objx.Img is
subtype Instance is Obj_T;
-- Create an image objects
-- @param par pointer to an object, it will be the parent of the new button
-- @param copy pointer to a image object, if not NULL then the new object will be copied from it
--... |
src/tk/tk-button.ads | thindil/tashy2 | 2 | 13701 | <filename>src/tk/tk-button.ads<gh_stars>1-10
-- Copyright (c) 2020-2021 <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 may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2... |
programs/oeis/145/A145920.asm | karttu/loda | 1 | 11393 | ; A145920: List of numbers that are both pentagonal (A000326) and binomial coefficients C(n,4) (A000332).
; 0,1,5,35,70,210,330,715,1001,1820,2380,3876,4845,7315,8855,12650,14950,20475,23751,31465,35960,46376,52360,66045,73815,91390,101270,123410,135751,163185,178365,211876,230300,270725,292825,341055,367290,424270,455... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.