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 |
|---|---|---|---|---|
52-窗口图形绘制/OS-kernel-win-sheet/app_u.asm | wdkang123/MyOperatingSystem | 7 | 243080 | ; Disassembly of file: app.o
; Thu Aug 17 11:45:58 2017
; Mode: 32 bits
; Syntax: YASM/NASM
; Instruction set: 80386
global rand: function
global main: function
global ran
extern api_refreshwin ; near
extern api_linewin ; near
extern... |
tools/fuse/akt-filesystem.adb | My-Colaborations/ada-keystore | 25 | 9854 | <filename>tools/fuse/akt-filesystem.adb
-----------------------------------------------------------------------
-- akt-filesystem -- Fuse filesystem operations
-- Copyright (C) 2019, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use ... |
programs/oeis/053/A053191.asm | neoneye/loda | 22 | 2097 | <reponame>neoneye/loda
; A053191: a(n) = n^2 * phi(n).
; 1,4,18,32,100,72,294,256,486,400,1210,576,2028,1176,1800,2048,4624,1944,6498,3200,5292,4840,11638,4608,12500,8112,13122,9408,23548,7200,28830,16384,21780,18496,29400,15552,49284,25992,36504,25600,67240,21168,77658,38720,48600,46552,101614,36864,100842,50000,83232... |
3-mid/opengl/source/opengl.adb | charlie5/lace | 20 | 11284 | with
ada.Strings.Hash,
ada.unchecked_Conversion;
package body openGL
is
------------
-- Profiles
--
function Profile return profile_Kind
is separate;
-----------
-- Vectors
--
function Scaled (Self : in Vector_3; By : in Vector_3) return Vector_3
is
begin
retu... |
test/Fail/NoSuchModule.agda | cruhland/agda | 1,989 | 17464 | <reponame>cruhland/agda
module NoSuchModule where
open X
|
programs/oeis/274/A274010.asm | karttu/loda | 0 | 4079 | ; A274010: Boris Stechkin function: a(n) is the number of m with 2 <= m <= n and floor(n(m-1)/m) divisible by m-1.
; 0,0,1,2,3,3,4,4,4,5,5,4,6,6,4,6,7,5,6,6,6,8,6,4,8,9,5,6,8,6,8,8,6,8,6,6,11,9,4,6,10,8,8,8,6,10,8,4,10,11,7,8,8,6,8,10,10,10,6,4,12,12,4,8,11,9,10,8,6,8,10,8,12,12,4,8,10,8,10,8,10,13,7,4,12,14,6,6,10,8,1... |
tests/syntax_examples/src/operator_subprogram_calls.ads | TNO/Dependency_Graph_Extractor-Ada | 1 | 13083 | <reponame>TNO/Dependency_Graph_Extractor-Ada<gh_stars>1-10
package Operator_Subprogram_Calls is
procedure Test;
procedure Test2;
end Operator_Subprogram_Calls;
|
tier-1/gmp/source/thin/gmp_c-pointer_pointers.ads | charlie5/cBound | 2 | 13390 | <reponame>charlie5/cBound<filename>tier-1/gmp/source/thin/gmp_c-pointer_pointers.ads
-- This file is generated by SWIG. Please do *not* modify by hand.
--
with gmp_c.Pointers;
with Interfaces.C;
package gmp_c.pointer_Pointers is
-- mp_limb_t_Pointer_Pointer
--
type mp_limb_t_Pointer_Pointer is
access al... |
oeis/006/A006419.asm | neoneye/loda-programs | 11 | 3392 | <filename>oeis/006/A006419.asm
; A006419: a(n) = 2^(2*n+1) - C(2*n+3,n+1) + C(2*n+1,n).
; Submitted by <NAME>
; 0,1,7,37,176,794,3473,14893,63004,263950,1097790,4540386,18696432,76717268,313889477,1281220733,5219170052,21224674118,86188320962,349550141078,1416102710912,5731427140268,23177285611082,93655986978002,378195... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c34005a.ada | best08618/asylo | 7 | 5917 | <gh_stars>1-10
-- C34005A.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.... |
tpantlr2-code/code/reference/Actions.g4 | cgonul/antlr-poc | 10 | 3176 | <filename>tpantlr2-code/code/reference/Actions.g4<gh_stars>1-10
grammar Actions;
s : (ACTION1|ACTION2|ACTION3)* ;
ACTION1 : '{' ( STRING | . )*? '}' ; // Allows {"foo}
ACTION2 : '[' ( STRING | ~'"' )*? ']' ; // Doesn't allow ["foo]; nongreedy *?
ACTION3 : '<' ( STRING | ~[">] )* '>' ; // Doesn't allow <"foo>; gree... |
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_21829_1753.asm | ljhsiun2/medusa | 9 | 242459 | <filename>Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_21829_1753.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xde1d, %r15
nop
nop
nop
and $58433, %r13
mov (%r15), %r11d
... |
alloy4fun_models/trashltl/models/7/ja8Nj6x4sAmkPi6xw.als | Kaixi26/org.alloytools.alloy | 0 | 3940 | open main
pred idja8Nj6x4sAmkPi6xw_prop8 {
eventually some a,b:File | a->b in link implies a in Trash
}
pred __repair { idja8Nj6x4sAmkPi6xw_prop8 }
check __repair { idja8Nj6x4sAmkPi6xw_prop8 <=> prop8o } |
test/Succeed/Bush.agda | shlevy/agda | 3 | 10862 | <reponame>shlevy/agda
module Bush where
data Nat : Set where
zero : Nat
suc : Nat -> Nat
{-# BUILTIN NATURAL Nat #-}
_+_ : Nat -> Nat -> Nat
zero + m = m
suc n + m = suc (n + m)
_^_ : (Set -> Set) -> Nat -> Set -> Set
(F ^ zero) A = A
(F ^ suc n) A = F ((F ^ n) A)
data Bush (A : Set) : Set where
leaf : B... |
projects/batfish/src/main/antlr4/org/batfish/grammar/fortios/Fortios_common.g4 | jawyoonis/batfish | 0 | 3153 | parser grammar Fortios_common;
options {
tokenVocab = FortiosLexer;
}
double_quoted_string: DOUBLE_QUOTE text = quoted_text? DOUBLE_QUOTE;
single_quoted_string: SINGLE_QUOTE text = quoted_text? SINGLE_QUOTE;
quoted_text: QUOTED_TEXT+;
ip_address: IP_ADDRESS | SUBNET_MASK;
subnet_mask: SUBNET_MASK;
ip_prefix: I... |
object_generated_by_event/web_session_simplify.als | nowavailable/alloy_als_study | 0 | 4526 | <reponame>nowavailable/alloy_als_study
enum Password {correct, incorrect}
some sig UserAccount {
// 照合の成否(状態?)
password: one correct
}
sig Session {
whose: disj one UserAccount
}
sig Visitor {
// ログイン済みかどうか(状態?)
signIn: disj lone Session,
}
sig InputForm {
/*
* Formをモデリングしているが、ログインという行為、即ちイベントであるともいえる。... |
Kernel/asm/test.asm | PedroLopezITBA/TPE-Arqui | 0 | 23355 | GLOBAL testeo
GLOBAL testeo2
section .text
testeo2:
testeo:
push rbp
mov rbp, rsp
;seteo los argumentos
mov rdx, 50
mov rbx, 0
mov rcx, 0
mov r8, 0FFFFFFx
mov r9, 15
mov r10, 2
;me fijo cual string toca
mov rax, [strNum]
cmp rax, 0
je .setStr1
cmp rax, 1
je .setStr2
cmp rax, 2
je... |
assembler/tests/t_86/t_86.asm | paulscottrobson/RCA-Cosmac-VIP-III | 0 | 91080 | cpu 8086
in ax,dx
in al,dx
in ax,50h
in al,50h
out dx,ax
out dx,al
out 50h,ax
out 50h,al
|
problems/052/a052.adb | melwyncarlo/ProjectEuler | 0 | 21124 | <filename>problems/052/a052.adb
with Ada.Strings.Fixed;
with Ada.Integer_Text_IO;
-- Copyright 2021 <NAME>
procedure A052 is
use Ada.Strings.Fixed;
use Ada.Integer_Text_IO;
Nx : constant Integer := 6;
N_Max : constant Integer := 10;
Num_Nx_Str : array (Integer range 1 .. Nx) of
... |
source/league/ucd/matreshka-internals-unicode-ucd-core_00fe.ads | svn2github/matreshka | 24 | 22066 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
test/Succeed/Issue4868.agda | shlevy/agda | 1,989 | 3237 | open import Agda.Builtin.Bool
open import Agda.Builtin.Equality using (_≡_; refl)
open import Agda.Builtin.Float
renaming ( primFloatEquality to _≡ᵇ_
; primFloatInequality to _≤ᵇ_
; primFloatLess to _<ᵇ_
; primFloatPlus to infixl 6 _+_
; primFl... |
STM32F4/ToyOBDH/ground_station/shared/src/hk_data-tmp36.adb | AntonioRamosNieto/TFG-STM32F429 | 0 | 27928 | package body HK_Data.TMP36 is
V_Ref : constant := 2.930; -- V (measured value)
V_25C : constant := 0.750; -- V
Scale : constant := 0.010; -- V/C
Calibration : constant := -1.0; -- C (experimental calibration)
Min_Temp : constant := Temperature_Range'First;
Max_Temp : constant :=... |
OS/switch_to_32bit.asm | logictech31/myprojects | 1 | 95634 | ;;; switching to protected mode
[bits 16]
switch_to_32bit:
cli ; 1. disable interrupts
lgdt [gdt_descriptor] ; 2. load GDT descriptor in cr0
mov eax, cr0 ; mov value of cr0 to eax
; eax = 32-bit accumulator or extended ax
or eax, 0x1 ; 3. enable prot... |
programs/oeis/216/A216244.asm | jmorken/loda | 1 | 10976 | <filename>programs/oeis/216/A216244.asm<gh_stars>1-10
; A216244: Numbers a(n) such that a(n)^2 + prime(n)^2 = m^2 for some integer m.
; 4,12,24,60,84,144,180,264,420,480,684,840,924,1104,1404,1740,1860,2244,2520,2664,3120,3444,3960,4704,5100,5304,5724,5940,6384,8064,8580,9384,9660,11100,11400,12324,13284,13944,14964,1... |
sort.asm | GuilhermeBalog/assembly-sort | 3 | 162262 | # 1- Ler arquivo
# 2- Salvar caracteres do arquivo em array
# 3- Percorrer array transformando caracteres em inteiros
# 4- Mnadar array para o bubble sort
# 5- Printar array ordenado
.data
antes: .asciiz "\n\n-------- Numeros antes da Ordenacao --------\n\n"
ordenado: .asciiz "\n\n-------- Numeros Ordenados ... |
File and Folder Actions/MoveFilesToFolder.applescript | rogues-gallery/applescript | 360 | 4093 | --- I use this as an automator service to quickly clean up my desktop
--- select files you need to move, run the service, choose the destination. thats it.
tell application "Finder"
set mvfiles to selection
set destFolderPath to choose folder
set destFolder to name of destFolderPath
set destFolder to destFolderP... |
Appl/FileMgrs/CommonDesktop/CMain/cmainProcess.asm | steakknife/pcgeos | 504 | 92 | <reponame>steakknife/pcgeos
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Desktop/Main
FILE: mainProcess.asm
ROUTINES:
REVISION HISTORY:
Name Date Description
---- ---- -----------
bria... |
Transynther/x86/_processed/NONE/_ht_st_zr_un_/i7-7700_9_0x48.log_21829_883.asm | ljhsiun2/medusa | 9 | 83141 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x14fb6, %rsi
lea addresses_D_ht+0x66b6, %rdi
nop
nop
nop
nop
add $59478, %rbx
mov $25, %rcx
rep movsl
nop
nop
nop
dec %rbx
lea addresses_WC_ht+0x71b6, %rsi
lea ... |
arch/ARM/STM32/driversL4/stm32-adc.adb | morbos/Ada_Drivers_Library | 2 | 15099 | <filename>arch/ARM/STM32/driversL4/stm32-adc.adb
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2017, AdaCore --
-- ... |
dsl/antlr/Expr/XMLLexer.g4 | y2ghost/study | 0 | 3236 | lexer grammar XMLLexer;
OPEN: '<' -> pushMode(INSIDE);
COMMENT: '<!--' .*? '-->' -> skip;
EntityRef: '&' [a-z]+ ';';
TEXT: ~('<'|'&')+;
mode INSIDE;
CLOSE: '>' -> popMode;
SLASH_CLOSE: '/>' -> popMode;
EQUALS: '=';
STRING: '"' .*? '"';
SlashName: '/' Name;
Name: ALPHA (ALPHA|DIGIT)*;
S: [ \t\r\n] -> skip;
fragment
A... |
.emacs.d/elpa/ada-ref-man-2012.5/progs/arm_sub.adb | caqg/linux-home | 0 | 22696 | --with ARM_Output;
--with ARM_Index;
with ARM_Contents;
with Ada.Characters.Handling;
with Ada.Strings.Fixed;
with Ada.Unchecked_Deallocation;
--with Ada.Text_IO; -- ** Temp.
package body ARM_Subindex is
--
-- Ada reference manual formatter (ARM_Form).
--
-- This package contains the databa... |
llvm-gcc-4.2-2.9/gcc/ada/restrict.ads | vidkidz/crossbridge | 1 | 26702 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
test/fsub.asm | kspalaiologos/asmbf | 67 | 161064 |
stk 20
psh 4
psh 1
psh 4
psh 3
fsub
pop r1
add r1, .0
out r1
|
Library/Kernel/Disk/diskC.asm | steakknife/pcgeos | 504 | 168591 | <filename>Library/Kernel/Disk/diskC.asm
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Kernel/Disk
FILE: diskC.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 3/91 I... |
data/pokemon/dex_entries/yanma.asm | AtmaBuster/pokeplat-gen2 | 6 | 100603 | db "CLEAR WING@" ; species name
db "It can see in all"
next "directions without"
next "moving its big"
page "eyes, helping it"
next "spot attackers and"
next "food right away.@"
|
alloy4fun_models/trashltl/models/15/PfuhuXqm7ka4hwjpX.als | Kaixi26/org.alloytools.alloy | 0 | 1120 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idPfuhuXqm7ka4hwjpX_prop16 {
always all f : File | historically f in Protected
}
pred __repair { idPfuhuXqm7ka4hwjpX_prop16 }
check __repair { idPfuhuXqm7ka4hwjpX_prop16 <=> prop16o } |
programs/oeis/007/A007980.asm | karttu/loda | 1 | 103555 | ; A007980: Expansion of (1+x^2)/((1-x)^2*(1-x^3)).
; 1,2,4,7,10,14,19,24,30,37,44,52,61,70,80,91,102,114,127,140,154,169,184,200,217,234,252,271,290,310,331,352,374,397,420,444,469,494,520,547,574,602,631,660,690,721,752,784,817,850,884,919,954,990,1027,1064,1102,1141,1180,1220,1261,1302,1344,1387,1430,1474,1519,1564,1... |
examples/outdated-and-incorrect/DTP08/conor/Talk.agda | asr/agda-kanso | 1 | 15660 | <reponame>asr/agda-kanso
{-# OPTIONS --no-positivity-check
#-}
{-
Data, Deliberately
<NAME>
Workshop in Dependently Typed Programming
Nottingham, 2008
(Agda rendering by <NAME>)
-}
module Talk where
open import SomeBasicStuff
-- Codes for (first order) inductive families.
data Code (I : Set) : Set1 w... |
agda/Esterel/Context/Properties.agda | florence/esterel-calculus | 3 | 7578 | module Esterel.Context.Properties where
open import Esterel.Lang
open import Esterel.Environment as Env
using (Env ; Θ ; _←_ ; module SigMap ; module ShrMap ; module VarMap)
open import Esterel.Context
using (EvaluationContext ; EvaluationContext1 ; _⟦_⟧e ; _≐_⟦_⟧e ;
Context ; Context1 ; _⟦_⟧c ; _≐_⟦_⟧c)
... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca_notsx.log_21829_983.asm | ljhsiun2/medusa | 9 | 98700 | <filename>Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca_notsx.log_21829_983.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x184d8, %rsi
lea addresses_A_ht+0x13758, %rdi
nop
nop
nop
nop
nop
add $14667, %r8... |
tests/stories-test_data-tests-stories_container.ads | thindil/steamsky | 80 | 24053 | package Stories.Test_Data.Tests.Stories_Container is
end Stories.Test_Data.Tests.Stories_Container;
|
oeis/071/A071588.asm | neoneye/loda-programs | 11 | 20969 | <reponame>neoneye/loda-programs
; A071588: Powers of 6 written backwards.
; Submitted by <NAME>(s4)
; 1,6,63,612,6921,6777,65664,639972,6169761,69677001,67166406,650797263,6332876712,61049606031,69046146387,675489481074,6547099011282,63744495662961,614866659955101,694010047953906,6792600448516563
mov $4,$0
mov $0,6
po... |
oeis/158/A158631.asm | neoneye/loda-programs | 11 | 173913 | ; A158631: a(n) = 529*n^2 + 23.
; 23,552,2139,4784,8487,13248,19067,25944,33879,42872,52923,64032,76199,89424,103707,119048,135447,152904,171419,190992,211623,233312,256059,279864,304727,330648,357627,385664,414759,444912,476123,508392,541719,576104,611547,648048,685607,724224,763899,804632,846423,889272,933179,978144,... |
Library/Bitmap/uiToolControl.asm | steakknife/pcgeos | 504 | 99206 | <reponame>steakknife/pcgeos
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: uiToolControl.asm
AUTHOR: <NAME>
METHODS:
Name Description
---- -----------
FUNCTIONS:
Scope Name Descri... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce3405a.ada | best08618/asylo | 7 | 29519 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce3405a.ada
-- CE3405A.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
-- unlimi... |
programs/oeis/127/A127226.asm | neoneye/loda | 22 | 164125 | <reponame>neoneye/loda
; A127226: a(0)=2, a(1)=2, a(n) = 2*a(n-1) + 6*a(n-2).
; 2,2,16,44,184,632,2368,8528,31264,113696,414976,1512128,5514112,20100992,73286656,267179264,974078464,3551232512,12946935808,47201266688,172084148224,627375896576,2287256682496
lpb $0
mov $2,$0
sub $0,1
trn $2,1
seq $2,291008 ; p-I... |
Library/Spline/Spline/splineVisBounds.asm | steakknife/pcgeos | 504 | 167599 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: VisSpline object
FILE: splineVisBounds.asm
AUTHOR: <NAME>
ROUTINES:
SplineCheckPointAgainstVisBounds
SplineCompareVisBoundsWithTemp
SplineDetermine... |
test/Succeed/Imports/Issue3730.agda | cruhland/agda | 1,989 | 2191 | <reponame>cruhland/agda
{-# OPTIONS --allow-unsolved-metas #-}
module Imports.Issue3730 where
X : _
X = _
|
src/test/resources/framework_specifications/TestRunResultsLexer.g4 | google/polymorphicDSL | 3 | 534 | lexer grammar TestRunResultsLexer ;
import GherkinCommonLexer ;
WHEN_THE_TEST_RESOURCE_IS_CONVERTED_TO_A_SINGLE_TEST_CASE_BY_SOME_METHOD : GHERKIN_STEP_KEYWORD
'the test resource is converted to a single test case by some method' END ;
THEN_TEST_TEST_CASE_COLLECTION_HAS_N_TEST_CASES_START : GHERKIN_STEP_KEYWORD 'the ... |
Applications/System-Events/tell spaces preferences/test.applescript | looking-for-a-job/applescript-examples | 1 | 475 | <reponame>looking-for-a-job/applescript-examples<filename>Applications/System-Events/tell spaces preferences/test.applescript
#!/usr/bin/osascript
tell application "System Events"
tell spaces preferences of expose preferences to return (get spaces enabled)
end tell
|
arch/ARM/Nordic/drivers/nrf52/nrf-adc.ads | rocher/Ada_Drivers_Library | 192 | 21995 | ------------------------------------------------------------------------------
-- --
-- Copyright © AdaCore and other contributors, 2017-2020 --
-- See https://github.com/AdaCore/Ada_Drivers_Library/graphs/contributors --
-- f... |
programs/oeis/123/A123253.asm | karttu/loda | 0 | 97923 | <gh_stars>0
; A123253: Sum of 7th powers of digits of n.
; 0,1,128,2187,16384,78125,279936,823543,2097152,4782969,1,2,129,2188,16385,78126,279937,823544,2097153,4782970,128,129,256,2315,16512,78253,280064,823671,2097280,4783097,2187,2188,2315,4374,18571,80312,282123,825730,2099339,4785156,16384,16385,16512,18571,32768,... |
first-steps/first.asm | sesjehen-vestha-kxall/learning-assembly | 0 | 170397 | <reponame>sesjehen-vestha-kxall/learning-assembly
;
; Author: <NAME>
; Date: Oct 5 2021
;
section .data:
; Defining constant variables
section .bss:
; Reserving space in memory for future data
section .text
; Registers hadware implemented variables
; nasm -f [format] -g [file.asm | .s | .S]
; ld -m elf_i386 -o file ... |
test/asm/file-sym.asm | michealccc/rgbds | 522 | 84542 | <reponame>michealccc/rgbds
PRINTLN "{__FILE__}"
|
programs/oeis/021/A021348.asm | neoneye/loda | 22 | 94395 | ; A021348: Decimal expansion of 1/344.
; 0,0,2,9,0,6,9,7,6,7,4,4,1,8,6,0,4,6,5,1,1,6,2,7,9,0,6,9,7,6,7,4,4,1,8,6,0,4,6,5,1,1,6,2,7,9,0,6,9,7,6,7,4,4,1,8,6,0,4,6,5,1,1,6,2,7,9,0,6,9,7,6,7,4,4,1,8,6,0,4,6,5,1,1,6,2,7,9,0,6,9,7,6,7,4,4,1,8,6
add $0,1
mov $1,10
pow $1,$0
mul $1,9
div $1,3096
mod $1,10
mov $0,$1
|
oeis/156/A156573.asm | neoneye/loda-programs | 11 | 177659 | <gh_stars>10-100
; A156573: a(n) = 34*a(n-1)-a(n-2)-4232 for n > 2; a(1)=529, a(2)=13225.
; Submitted by <NAME>(s4)
; 529,13225,444889,15108769,513249025,17435353849,592288777609,20120383080625,683500735959409,23218904639535049,788759257008228025,26794595833640213569,910227499086759029089,30920940373116166771225
mov $... |
roms/tests/ppu/sprite_hit_tests_2005.10.05/source/01.basics.asm | MrKOSMOS/ANESE | 1,461 | 242499 | <gh_stars>1000+
; Tests basic sprite 0 hit behavior (nothing timing related).
.include "prefix_sprite_hit.a"
test_name:
.db "SPRITE HIT BASICS",0
.code
reset:
jsr begin_sprite_hit_tests
lda #solid_tile
jsr fill_nametable
; Put sprite in middle of screen... |
src/hyperion-monitoring-beans.ads | stcarrez/hyperion | 0 | 27306 | -----------------------------------------------------------------------
-- hyperion-monitoring-beans -- Beans for module monitoring
-- Copyright (C) 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance wit... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/inline4.adb | best08618/asylo | 7 | 7604 | <reponame>best08618/asylo
-- { dg-do compile }
with Inline4_Pkg; use Inline4_Pkg;
procedure Inline4 is
begin
Test (0);
end;
|
proofs/AKS/Nat/Properties.agda | mckeankylej/thesis | 1 | 4593 | open import Level using (0ℓ)
open import Function using (_$_; _∘_)
open import Relation.Nullary using (yes; no)
open import Relation.Nullary.Decidable using (False; True)
open import Relation.Nullary.Negation using (contradiction)
open import Relation.Binary
using (Reflexive; Transitive; Trans; Antisymmetric; Asymme... |
libsrc/_DEVELOPMENT/alloc/obstack/c/sdcc_iy/obstack_init_callee.asm | meesokim/z88dk | 0 | 174270 |
; void *obstack_init_callee(struct obstack *ob, size_t size)
SECTION code_alloc_obstack
PUBLIC _obstack_init_callee
_obstack_init_callee:
pop af
pop de
pop bc
push af
INCLUDE "alloc/obstack/z80/asm_obstack_init.asm"
|
Furumai.g4 | signdoubt/furumai | 3 | 4989 | grammar Furumai;
story
: config? layout ( '---' update )* '---'? EOF
;
config
: 'config' '{' declaration? ( ';' declaration )* ';'? '}'
;
layout
: stmt_list
;
update
: stmt_list
;
stmt_list
: stmt*
;
stmt
: group
| zone
| node_stmt
| edge_stmt
| hide
| declaration
| style
| semi_co... |
libsrc/target/sam/time/target_read_structtm.asm | ahjelm/z88dk | 640 | 161852 | <gh_stars>100-1000
SECTION code_clib
PUBLIC target_read_structtm
PUBLIC time
PUBLIC _time
EXTERN _time_from_structtm
defc time = _time_from_structtm
defc _time = time
defc CLOCK_PORT = 0xef
; struct tm {
; int tm_sec;
; int tm_min;
; int tm_hour;
; int tm_mday;
; int tm_mon;
; ... |
tests/window/main.adb | danva994/ASFML-1.6 | 1 | 30761 | <filename>tests/window/main.adb
with Ada.Text_IO; use Ada.Text_IO;
with Sf.Config; use Sf.Config;
with Sf.Window.Types; use Sf.Window.Types;
with Sf.Window.Window; use Sf.Window.Window;
with Sf.Window.VideoMode; use Sf.Window.VideoMode;
with Sf.Window.Event; use Sf.Window.Event;
with Sf.Win... |
source/league/league-json-values.adb | svn2github/matreshka | 24 | 9590 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
s3d/music-original/GreenGZ2.asm | Cancer52/flamedriver | 9 | 95372 | <filename>s3d/music-original/GreenGZ2.asm
Snd_GreenGZ2_Header:
smpsHeaderStartSong 3
smpsHeaderVoice Snd_GreenGZ2_Voices
smpsHeaderChan $06, $03
smpsHeaderTempo $01, $10
smpsHeaderDAC Snd_GreenGZ2_DAC
smpsHeaderFM Snd_GreenGZ2_FM1, $0C, $0D
smpsHeaderFM Snd_GreenGZ2_FM2, $F4, $1... |
ugbc/src/hw/6809/cpu_math_div_16bit_to_16bit.asm | spotlessmind1975/ugbasic | 10 | 19237 | ; /*****************************************************************************
; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers *
; *****************************************************************************
; * Copyright 2021-2022 <NAME> (<EMAIL>)
; *
; * Licensed under the Apache... |
libsrc/stdio/ansi/ticalc/f_ansi_char.asm | meesokim/z88dk | 0 | 162717 | ;
; ANSI Video handling for the TI calculators
; By <NAME> - Dec. 2000
;
; Handles Attributes INVERSE + UNDERLINED
;
; ** alternate (smaller) 4bit font capability:
; ** use the -DPACKEDFONT flag
;
; set it up with:
; .text_cols = max columns
; .text_rows = max rows
; .DOTS+1 = char size
; .font = font file
;
; Dis... |
lib/antlr4/grammars/asp/ASPParser.g4 | Hinaser/ParseTreeVisualizer | 0 | 4664 | <reponame>Hinaser/ParseTreeVisualizer
/*
* This ASP grammar is a production derived from VB6 grammar by Ulrich Wolffgang
* and PHP grammar by <NAME>.
* ASP grammar itself is provided by MIT License.
*
* The MIT License (MIT)
*
* Copyright (c) 2016-2016 <NAME>
*
* Permission is hereby granted, free of ... |
oeis/271/A271647.asm | neoneye/loda-programs | 11 | 247913 | ; A271647: Irregular triangle read by rows: the natural numbers from right to left.
; Submitted by <NAME>
; 1,2,4,3,6,5,9,8,7,12,11,10,16,15,14,13,20,19,18,17,25,24,23,22,21,30,29,28,27,26,36,35,34,33,32,31,42,41,40,39,38,37,49,48,47,46,45,44,43,56,55,54,53,52,51,50,64,63,62,61,60,59,58,57
mul $0,4
add $0,1
seq $0,207... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-conhel.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 14334 | ------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2.log_16016_712.asm | ljhsiun2/medusa | 9 | 161205 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0xb0bd, %rdx
nop
nop
nop
nop
xor $63749, %r8
mov $0x6162636465666768, %r15
movq %r15, (%rdx)
and $25655, %rcx
lea addresses_UC_ht+0x24bd... |
test/Succeed/Issue1322.agda | shlevy/agda | 1,989 | 14729 | <gh_stars>1000+
module _ where
data _==_ {A : Set} (a : A) : A → Set where
refl : a == a
data ⊥ : Set where
data ℕ : Set where
zero : ℕ
suc : ℕ → ℕ
it : ∀ {a} {A : Set a} ⦃ x : A ⦄ → A
it ⦃ x ⦄ = x
f : (n : ℕ) ⦃ p : ⦃ _ : n == zero ⦄ → ⊥ ⦄ → ℕ
f n = n
g : (n : ℕ) ⦃ q : ⦃ _ : n == zero ⦄ → ⊥ ⦄ → ℕ
g n ⦃ q ⦄... |
programs/oeis/255/A255414.asm | jmorken/loda | 1 | 175088 | <reponame>jmorken/loda
; A255414: Row 4 of Ludic array A255127.
; 7,31,59,85,113,137,163,191,217,241,269,295,323,347,373,401,427,451,479,505,533,557,583,611,637,661,689,715,743,767,793,821,847,871,899,925,953,977,1003,1031,1057,1081,1109,1135,1163,1187,1213,1241,1267,1291,1319,1345,1373,1397,1423,1451,1477,1501,1529,15... |
data/maps/headers/MtMoonB1F.asm | opiter09/ASM-Machina | 1 | 25286 |
map_header MtMoonB1F, MT_MOON_B1F, CAVERN, 0
end_map_header
|
courses/fundamentals_of_ada/labs/prompts/110_private_types/input.ads | AdaCore/training_material | 15 | 13207 | <gh_stars>10-100
with Colors;
package Input is
function Get return Colors.Color_Set_T;
end Input;
|
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c6/c62003a.ada | best08618/asylo | 7 | 1274 | <gh_stars>1-10
-- C62003A.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.... |
Commands/Miscellaneous Commands suite/do shell script/quoted form of/quoted form of.applescript | looking-for-a-job/applescript-examples | 1 | 798 | <reponame>looking-for-a-job/applescript-examples<filename>Commands/Miscellaneous Commands suite/do shell script/quoted form of/quoted form of.applescript
#!/usr/bin/osascript
set cmd to quoted form of "pwd" |
build_gnu/binutils/gdb/testsuite/gdb.ada/arrayptr/foo.adb | jed-frey/e200-gcc | 1 | 23596 | -- Copyright 2008-2014 Free Software Foundation, Inc.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 3 of the License, or
-- (at your option) any later version.
--
-- ... |
programs/oeis/171/A171905.asm | karttu/loda | 1 | 91212 | <filename>programs/oeis/171/A171905.asm
; A171905: a(1) = 1 and a(2) = 2, a(n) = |(sum of previous terms) - n|.
; 1,2,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
sub $0,... |
src/os/boot/a20_16.asm | PatrickDropbox/abc | 0 | 174449 | ; bits 16
;
; Due to historical reasons, we need to ensure A20 line is enabled in order
; to use unlock upper memory ...
; http://wiki.osdev.org/A20_Line
; http://www.win.tue.nl/~aeb/linux/kbd/A20.html
;
enable_a20:
pushf
push ax
push bx
push cx
push dx
push si
; skip enabling a20 if it's already e... |
C5515_Support_Files/C5515_Lib/dsplib_2.40.00/55x_src/cbias.asm | HeroSizy/Sizy | 0 | 172289 | ;***********************************************************
; Version 2.40.00
;***********************************************************
; Note: a symbol "SI_BUGS" is used to make a work around for silicon
; 5510 version1.0. If you are going to use the code on 5510 vers... |
src/fot/DistributiveLaws/Everything.agda | asr/fotc | 11 | 15477 | <filename>src/fot/DistributiveLaws/Everything.agda
------------------------------------------------------------------------------
-- All the distributive laws modules
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types ... |
Task/Synchronous-concurrency/Ada/synchronous-concurrency-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 7675 | <filename>Task/Synchronous-concurrency/Ada/synchronous-concurrency-1.ada
package Synchronous_Concurrent is
task Printer is
entry Put(Item : in String);
entry Get_Count(Count : out Natural);
end Printer;
end Synchronous_Concurrent;
|
Transynther/x86/_processed/NONE/_ht_zr_/i7-7700_9_0xca.log_21829_432.asm | ljhsiun2/medusa | 9 | 95985 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x17433, %rsi
nop
nop
xor %rdi, %rdi
movb (%rsi), %r9b
nop
nop
nop
nop
add $13385, %rax
lea addresses_WC_ht+0x180b3, %rbp
nop
nop
sub %r12, %r12
movl ... |
data/pokemon/dex_entries/misdreavus.asm | Dev727/ancientplatinum | 28 | 821 | <reponame>Dev727/ancientplatinum<filename>data/pokemon/dex_entries/misdreavus.asm
db "SCREECH@" ; species name
dw 204, 20 ; height, weight
db "It loves to watch"
next "people it's scar-"
next "ed. It frightens"
page "them by screaming"
next "loudly or appear-"
next "ing suddenly.@"
|
Cubical/HITs/Ints/BiInvInt/Properties.agda | dan-iel-lee/cubical | 0 | 11036 | <filename>Cubical/HITs/Ints/BiInvInt/Properties.agda
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.HITs.Ints.BiInvInt.Properties where
open import Cubical.Core.Everything
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Equiv.Properties
open import Cubical.Foundations.Function... |
pcb/gerbers/motorDriverCard/motorDriverCard-3V3.g4 | smithjd8/robot | 0 | 5566 | <reponame>smithjd8/robot
G04 #@! TF.GenerationSoftware,KiCad,Pcbnew,(5.0.2)-1*
G04 #@! TF.CreationDate,2019-01-20T10:13:28-05:00*
G04 #@! TF.ProjectId,motorDriverCard,6d6f746f-7244-4726-9976-657243617264,rev?*
G04 #@! TF.SameCoordinates,Original*
G04 #@! TF.FileFunction,Copper,L4,Inr*
G04 #@! TF.FilePolarity,Positive*
... |
src/intel/tools/tests/gen8/mov.asm | SoftReaper/Mesa-Renoir-deb | 0 | 19217 | <reponame>SoftReaper/Mesa-Renoir-deb
mov(8) g123<1>UD g1<8,8,1>UD { align1 WE_all 1Q };
mov(8) g124<1>F 0x40c00000F /* 6F */ { align1 1Q };
mov(8) g14<1>UD 0x00000000UD { align1 1Q };
mov(8) g17<1>F g12<8,8... |
intelligent-warehouse/src/main/java/org/jeecg/modules/warehouse/antlr/oracle/OracleLexer.g4 | Selegant/waterfall | 0 | 7837 | <reponame>Selegant/waterfall<gh_stars>0
/**
* Oracle(c) PL/SQL 11g Parser
*
* Copyright (c) 2009-2011 <NAME> <<EMAIL>>
* Copyright (c) 2015-2019 <NAME> (KvanTTT, <EMAIL>, Positive Technologies).
* Copyright (c) 2017 <NAME> <<EMAIL>>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may n... |
6_LEZ/EX_3/primo_assembler.asm | mich2k/CE_LAB | 0 | 21930 | .586
.model flat
.code
_primo proc
push ebp
mov ebp,esp
push ebx
push esi
push edi
mov esi, 0d ; ciclo array
mov edi, 0d ; subciclo
mov ebx, 0d ; contatore n. primi
mov ecx, dword ptr [ebp+8] ; array a di valori
mov edx, dword ptr [ebp+12] ; array b bool
; dword ptr [ebp+16] ; valore int di lunghezza
; edi free
cic... |
test/tree.asm | md5crypt/ozmachine | 0 | 170199 | <filename>test/tree.asm
extern Write
; fun {FoldR Xs P Z}
; case Xs of nil then Z
; [] X|Xr then {P X {FoldR Xr P Z}}
; end
; end
def FoldR(3,0)
match nil, s.0
branch acc, c0
match @|@, s.0
push s.1
push s.2
call FoldR
call s.1
c0: ret 1
; fun {Append Xs Ys}
; case Xs of nil then Ys
; [] X|Xr then ... |
programs/oeis/248/A248225.asm | neoneye/loda | 22 | 87324 | <reponame>neoneye/loda
; A248225: a(n) = 6^n - 3^n.
; 0,3,27,189,1215,7533,45927,277749,1673055,10058013,60407127,362619909,2176250895,13059099693,78359381127,470170635669,2821066860735,16926530304573,101559569247927,609358577749029,3656154953278575,21936940180024653
mov $2,$0
mov $0,6
pow $0,$2
mov $1,3
pow $1,$2
sub... |
src/stdlib/memset.asm | Azer0s/fluxOS | 3 | 242877 | <filename>src/stdlib/memset.asm
section .text
align 4
global memset
; void *memset(void *addr, int c, size_t n);
; returns the input addr
memset:
; set up the stack frame
push ebp
mov ebp, esp
; save registers (we can only destroy EAX, ECX and EDX)
push ebx
push edi
; slosl: Fill (E)CX dwords at ES:[(E)DI] wi... |
src/main/antlr4/com/bibrarian/bib/Bib.g4 | yegor256/bibrarian | 10 | 3141 | /**
* Copyright (c) 2009-2017, requs.org
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met: 1) Redistributions of source code must retain the above
* copyright notice, this list of condition... |
src/qoi.ads | Fabien-Chouteau/qoi-ada | 7 | 15481 | <filename>src/qoi.ads
with Interfaces; use Interfaces;
with System.Storage_Elements; use System.Storage_Elements;
package QOI
with SPARK_Mode
is
type Colorspace_Kind is (SRGB, SRGB_Linear_Alpha);
type QOI_Desc is record
Width, Height : Storage_Count;
Channels : Storage_Count;
Colorspa... |
samples/boing/ball.asm | rwiker/c256emu | 18 | 25524 | ; ball physics
BALL_W = 256
BALL_H = 256
MAX_BALL_X = 640 - BALL_W
; ball should bounce slightly before bottom of screen
MAX_BALL_Y = 450 - BALL_H
.proc move_ball_x
.a16
.i16
; move ball x, X reg indexes ball (0-3)*2, preserves X
LDA Ball0_sx,x
CMP #$1
beq sub_x
LDA Ball0_x,x... |
runtime/Cpp/demo/TLexer.g4 | ccogeanu/antlr4 | 0 | 6944 | lexer grammar TLexer;
// These are all supported lexer sections:
// Lexer file header. Appears at the top of h + cpp files. Use e.g. for copyrights.
@lexer::header {/* lexer header section */}
// Appears before any #include in h + cpp files.
@lexer::preinclude {/* lexer precinclude section */}
// Follows directly a... |
oeis/293/A293491.asm | neoneye/loda-programs | 11 | 176329 | ; A293491: a(n) = n! * [x^n] exp((n+2)*x)*BesselI(0,2*x).
; Submitted by <NAME>(w1)
; 1,3,18,155,1734,23877,390804,7417377,160256070,3885021569,104465601756,3086353547433,99399100528924,3466411543407555,130151205663179112,5235127829223881895,224609180728848273990,10239557195235638377449,494317596005491398892620,2519278... |
oeis/123/A123509.asm | neoneye/loda-programs | 11 | 176684 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A123509: Rohrbach's problem: a(n) is the largest integer such that there exists a set of n integers that is a basis of order 2 for (0, 1, ..., a(n)-1).
; 1,3,5,9,13,17,21,27,33,41,47,55
add $0,3
mul $0,7
pow $0,2
div $0,336
sub $0,1
mul $0,2
add $0,1
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.