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 |
|---|---|---|---|---|
test/Succeed/Issue387.agda | cruhland/agda | 1,989 | 6119 | <gh_stars>1000+
-- Andreas, 2012-06-07
-- {-# OPTIONS --show-implicit -v tc.rec:100 -v tc.meta.assign:15 #-}
module Issue387 where
import Common.Level
mutual
record R' (A : Set) : Set where
field f : _
c' : {A : Set} -> A -> R' A
c' a = record { f = a }
-- previous to fix of 387, this had an unresolved m... |
Lab_04/Lab_4_Q1.asm | dthornton22/CPE325_FA20_UAH | 1 | 162818 | <filename>Lab_04/Lab_4_Q1.asm
;-------------------------------------------------------------------------------------------------------
; File: Lab_4_Q1.asm
; Description: Counts the number of words and sentences in a string
; Input: Hard coded string
; Output: R5 and R7 contain word and sentence count respectively
; Au... |
programs/oeis/248/A248429.asm | jmorken/loda | 1 | 100997 | <filename>programs/oeis/248/A248429.asm
; A248429: Number of length n+2 0..4 arrays with every three consecutive terms having the sum of some two elements equal to twice the third.
; 29,45,69,101,165,261,389,645,1029,1541,2565,4101,6149,10245,16389,24581,40965,65541,98309,163845,262149,393221,655365,1048581,1572869,262... |
oeis/317/A317323.asm | neoneye/loda-programs | 11 | 174567 | <gh_stars>10-100
; A317323: Multiples of 23 and odd numbers interleaved.
; Submitted by <NAME>(s2)
; 0,1,23,3,46,5,69,7,92,9,115,11,138,13,161,15,184,17,207,19,230,21,253,23,276,25,299,27,322,29,345,31,368,33,391,35,414,37,437,39,460,41,483,43,506,45,529,47,552,49,575,51,598,53,621,55,644,57,667,59,690,61,713,63,736,65... |
source/nodes/program-nodes-variant_parts.adb | optikos/oasis | 0 | 21240 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package body Program.Nodes.Variant_Parts is
function Create
(Case_Token : not null Program.Lexical_Elements
.Lexical_Element_Acce... |
programs/oeis/269/A269912.asm | karttu/loda | 0 | 89899 | <gh_stars>0
; A269912: Partial sums of the number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 3", based on the 5-celled von Neumann neighborhood.
; 1,6,7,52,53,170,171,392,393,750,751,1276,1277,2002,2003,2960,2961,4182,4183,5700,5701,7546,7547,9752,9753,1235... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2.log_2410_1333.asm | ljhsiun2/medusa | 9 | 102136 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %rcx
push %rsi
lea addresses_normal_ht+0x1b387, %r10
nop
nop
nop
nop
nop
and $8882, %rcx
movups (%r10), %xmm0
vpextrq $1, %xmm0, %rsi
nop
nop
cmp $64465, %r13
pop %rsi
pop %rcx
pop %r13
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r11... |
demo/music/rushingheart.asm | stoneface86/tbengine | 6 | 243139 | <filename>demo/music/rushingheart.asm
; Artist: OmegaBagel (twitter: @omega_bagel)
INCLUDE "tbengine.inc"
SECTION "song_rushingheart", ROM0
PATTERN_SIZE EQU 64
DRUM_3 EQU C_6
DRUM_C EQU G_6
DRUM_7 EQU F_6
song_rushingheart::
DB $11 ; speed (2.125 frames per row, ~420 BPM)
DW .ch1_main
DW... |
test/data/ASM-360/subroutine1.asm | jfitz/code-stat | 0 | 168945 | <gh_stars>0
...
l r15=A(subr) ! load address of subroutine in r15
balr r14,r15 ! save return address in r14 and set
... ! pc to contents of r15 |
src/data.adb | KissmyAsthma99/opp | 0 | 20905 | with Ada.Integer_Text_IO, Ada.Text_IO;
use Ada.Integer_Text_IO, Ada.Text_IO;
package body data is
function Sum_Vector(A,B: in Vector) return Vector is
S: Vector;
begin
for i in 1..N loop
S(i):=A(i)+B(i);
end loop;
return S;
end Sum_Vector;
function Matrix_Multiplication(A... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_533.asm | ljhsiun2/medusa | 9 | 3644 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r9
push %rbx
push %rdi
push %rsi
lea addresses_D_ht+0x1414d, %r10
nop
nop
nop
nop
sub $40105, %r9
mov (%r10), %rdi
dec %r14
lea addresses_normal_ht+0x1afc1, %rsi
nop
nop
sub $35721, %rbx
movl $0x61626364, (%rsi)
nop
cmp %r9, %r9
lea addres... |
programs/oeis/049/A049480.asm | neoneye/loda | 22 | 172516 | ; A049480: a(n) = (2*n-1)*(n^2 -n +6)/6.
; 1,4,10,21,39,66,104,155,221,304,406,529,675,846,1044,1271,1529,1820,2146,2509,2911,3354,3840,4371,4949,5576,6254,6985,7771,8614,9516,10479,11505,12596,13754,14981,16279,17650,19096,20619,22221,23904,25670,27521,29459,31486,33604,35815,38121,40524,43026,45629,48335,51146,54064,... |
Task/Boolean-values/Ada/boolean-values.ada | LaudateCorpus1/RosettaCodeData | 1 | 7060 | type Boolean is (False, True);
|
10_saturated_arithmetic/satexample.asm | ericens/assembly_language | 3 | 21232 | <filename>10_saturated_arithmetic/satexample.asm<gh_stars>1-10
; ----------------------------------------------------------------------------------------
; Example of signed saturated arithmetic.
; ----------------------------------------------------------------------------------------
global main
ext... |
alloy4fun_models/trashltl/models/1/ou8h4mYimh9BzPab8.als | Kaixi26/org.alloytools.alloy | 0 | 4333 | <reponame>Kaixi26/org.alloytools.alloy<filename>alloy4fun_models/trashltl/models/1/ou8h4mYimh9BzPab8.als
open main
pred idou8h4mYimh9BzPab8_prop2 {
no File implies eventually lone File
}
pred __repair { idou8h4mYimh9BzPab8_prop2 }
check __repair { idou8h4mYimh9BzPab8_prop2 <=> prop2o } |
gcc-gcc-7_3_0-release/gcc/ada/par.ads | best08618/asylo | 7 | 22935 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
dino/lcs/enemy/11.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 5285 | copyright zengfr site:http://github.com/zengfr/romhack
012CFA or.b D0, ($50,A6) [base+6B2]
012CFE tst.b ($51,A6) [123p+ 50, enemy+10, enemy+30, enemy+50, enemy+70, enemy+90, enemy+B0, etc+50, item+50]
012D02 bne $12d2e [123p+ 51, enemy+11, enemy+31, enemy+51, enemy+71, enemy+91, enemy+B1, item+51]
012D0A a... |
Transynther/x86/_processed/US/_st_zr_un_/i7-7700_9_0x48_notsx.log_6532_753.asm | ljhsiun2/medusa | 9 | 246256 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1cd7f, %r15
nop
cmp %rbp, %rbp
vmovups (%r15), %ymm0
vextracti128 $1, %ymm0, %xmm0
vpextrq $0, %xmm0, %r12
nop
nop
sub $64767, %r15
lea addresses_WT_ht+0x1c63f... |
binutils-2.21.1/gcc-4.5.1/libgcc/config/ia64/_fixunstfdi.asm | cberner12/xv6 | 51 | 89865 | <filename>binutils-2.21.1/gcc-4.5.1/libgcc/config/ia64/_fixunstfdi.asm<gh_stars>10-100
#ifdef SHARED
#define __fixunstfti __fixunstfti_compat
#endif
#define L_fixunstfdi
#include "config/ia64/lib1funcs.asm"
#ifdef SHARED
#undef __fixunstfti
.symver __fixunstfti_compat, __fixunstfti@GCC_3.0
#endif
|
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-wchwts.adb | orb-zhuchen/Orb | 0 | 22558 | <reponame>orb-zhuchen/Orb
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
oeis/082/A082307.asm | neoneye/loda-programs | 11 | 171979 | <reponame>neoneye/loda-programs<filename>oeis/082/A082307.asm
; A082307: Expansion of e.g.f. (1+x)*exp(3*x)*cosh(x).
; Submitted by <NAME>
; 1,4,16,66,280,1208,5248,22816,98944,427392,1838080,7870976,33568768,142637056,604045312,2550276096,10737713152,45097779200,188979871744,790276734976,3298540650496,13743907405824,5... |
scripts/DiglettsCave.asm | AmateurPanda92/pokemon-rby-dx | 9 | 94590 | <filename>scripts/DiglettsCave.asm
DiglettsCave_Script:
jp EnableAutoTextBoxDrawing
DiglettsCave_TextPointers:
db "@"
|
3-mid/physics/interface/source/physics-space.ads | charlie5/lace | 20 | 28824 | with
physics.Model,
physics.Shape,
physics.Object,
physics.Joint.DoF6,
physics.Joint.hinge,
physics.Joint.cone_twist,
physics.Joint.slider,
physics.Joint.ball;
package physics.Space
--
-- Models a static/dynamic physics space.
--
is
type Item is limited interface;
type Vie... |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/simple_array_expressions.adb | ouankou/rose | 488 | 8345 | <filename>tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/simple_array_expressions.adb
-- Demonstrates:
-- Declaring arrays
-- Indexted Component
-- Slice
procedure simple_array_expressions is
type Arr_Type is array (Integer range <>) of Integer;
Arr1 : Arr_Type ( 1 .. 26);
... |
oeis/084/A084768.asm | neoneye/loda-programs | 11 | 100028 | ; A084768: P_n(7), where P_n is n-th Legendre polynomial; also, a(n) = central coefficient of (1 + 7*x + 12*x^2)^n.
; Submitted by <NAME>
; 1,7,73,847,10321,129367,1651609,21360031,278905249,3668760487,48543499753,645382441711,8614382884849,115367108888311,1549456900170553,20861640747345727,281483386791966529,380522800... |
oeis/098/A098996.asm | neoneye/loda-programs | 11 | 163110 | ; A098996: p(p+1)(2p+1) where p is prime.
; 30,84,330,840,3036,4914,10710,14820,25944,51330,62496,105450,142926,164604,214320,306234,421260,465186,615060,731016,794094,1004880,1164324,1433790,1853670,2091306,2217384,2484540,2625810,2924214,4145280,4547796,5199150,5429340,6682650,6954456,7813890,8741364,9398760,10445394... |
CombinatoryLogic/Equality.agda | splintah/combinatory-logic | 1 | 4547 | -- Kapitel 1, Abschnitt D (Die Eigenschaften der Gleichheit)
module CombinatoryLogic.Equality where
open import Algebra.Definitions using (Congruent₂; LeftCongruent; RightCongruent)
open import Data.Vec using (Vec; []; _∷_; foldr₁; lookup)
open import Function using (_$_)
open import Relation.Binary using (IsEquivalen... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_4_797.asm | ljhsiun2/medusa | 9 | 11257 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r13
push %rax
push %rbx
push %rcx
push %rdi
// Store
lea addresses_D+0xc597, %r13
nop
nop
nop
nop
nop
add %rax, %rax
mov $0x5152535455565758, %rbx
movq %rbx, %xmm4
vmovups %ymm4, (%r13)
nop
nop
xor $41551, %r10
... |
src/PathStructure/Id/Ap.agda | vituscze/HoTT-lectures | 0 | 5601 | <reponame>vituscze/HoTT-lectures
{-# OPTIONS --without-K #-}
open import Equivalence
module PathStructure.Id.Ap {a b} {A : Set a} {B : Set b}
(f : A → B) (qi : qinv f) where
open import Functoriality
open import GroupoidStructure
open import Homotopy
open import PathOperations
open import Types
private
g = π₁ qi... |
language/alloy/Interval.als | pogin503/vbautil | 0 | 4009 | <reponame>pogin503/vbautil
-- 自然数の区間 {0, 1, 2, ..., n}
module interval
sig Interv {
-- 後者
next: lone Interv,
-- 順序 <
lt: set Interv
}
-- ゼロと最後の数
one sig zero, last extends Interv {}
-- nextに関する公理
fact next {
-- lastのnextは存在しない
no last.next
and
-- last以外ではnextが定義されている
all x: (Interv - last) |
one x.next
... |
agda-stdlib-0.9/src/IO/Primitive.agda | qwe2/try-agda | 1 | 16774 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Primitive IO: simple bindings to Haskell types and functions
------------------------------------------------------------------------
module IO.Primitive where
open import Data.Char
open import Data.String
open... |
VisualStudio/DbcParser/Dbc.g4 | mgerczuk/TeslaCANPi | 1 | 1328 | // Definition of a grammar for DBC files
//
// Copyright (C) 2015 <NAME> (mailto:<EMAIL>)
//
// This program is free software: you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License as published by the
// Free Software Foundation, either version 3 of the License, or any lat... |
programs/oeis/251/A251755.asm | neoneye/loda | 22 | 6667 | ; A251755: Digital root of n + n^2.
; 0,2,6,3,2,3,6,2,9,9,2,6,3,2,3,6,2,9,9,2,6,3,2,3,6,2,9,9,2,6,3,2,3,6,2,9,9,2,6,3,2,3,6,2,9,9,2,6,3,2,3,6,2,9,9,2,6,3,2,3,6,2,9,9,2,6,3,2,3,6,2,9,9,2,6,3,2,3,6,2,9,9,2,6,3,2,3,6,2,9,9,2,6,3,2,3,6,2,9,9
mov $2,$0
mul $2,$0
add $0,$2
lpb $0
sub $0,1
mod $0,9
add $1,1
lpe
mov $0,... |
oeis/283/A283027.asm | neoneye/loda-programs | 11 | 80234 | ; A283027: Number of inequivalent 4 X 4 matrices with entries in {1,2,3,...,n} up to rotations.
; 0,1,16456,10763361,1073758336,38147070625,705277897416,8308234084801,70368748374016,463255057977921,2500000025005000,11487432519490081,46221064831264896,166354152499741921,544488334821309256,1642102089568970625,46116860195... |
agda/Number/Inclusions.agda | mchristianl/synthetic-reals | 3 | 8117 | <reponame>mchristianl/synthetic-reals
{-# OPTIONS --cubical --no-import-sorts #-}
open import Agda.Primitive renaming (_⊔_ to ℓ-max; lsuc to ℓ-suc; lzero to ℓ-zero)
module Number.Inclusions where
open import Cubical.Foundations.Everything renaming (_⁻¹ to _⁻¹ᵖ; assoc to ∙-assoc)
open import Cubical.Relation.Nullary.... |
source/image/required/s-vallld.adb | ytomino/drake | 33 | 10690 | <gh_stars>10-100
with System.Formatting.Literals.Float;
with System.Value_Errors;
package body System.Val_LLD is
function Value_Long_Long_Decimal (Str : String; Scale : Integer)
return Long_Long_Integer
is
Last : Natural := Str'First - 1;
Result : Long_Long_Float;
Error : Boolean;
begi... |
oeis/017/A017214.asm | neoneye/loda-programs | 11 | 1198 | <gh_stars>10-100
; A017214: a(n) = (9*n + 4)^6.
; 4096,4826809,113379904,887503681,4096000000,13841287201,38068692544,90458382169,192699928576,377149515625,689869781056,1194052296529,1973822685184,3138428376721,4826809000000,7212549413161,10509215371264,14976071831449,20924183895616,28722900390625,38806720086016,516825... |
45/runtime/rt/grcoord.asm | minblock/msdos | 0 | 11922 | TITLE GRCOORD - graphics point specification
PAGE 56,132
;***
;GRCOORD - graphics point specification
;
; Copyright <C> 1986 - 1988, Microsoft Corporation
;
;Purpose:
; This module contains point specification routines, and routines which will
; transform and convert those points as required.
;
;*********************... |
test/Fail/Unsolved-meta-in-module-telescope.agda | cruhland/agda | 1,989 | 3946 | <reponame>cruhland/agda
module Unsolved-meta-in-module-telescope (A : _) where
|
test/Fail/Issue1408b.agda | KDr2/agda | 0 | 8218 | <reponame>KDr2/agda
{-# OPTIONS --cubical-compatible #-}
open import Common.Prelude
open import Common.Equality
open import Common.Product
data _≅_ {A : Set} (a : A) : {B : Set} (b : B) → Set₁ where
refl : a ≅ a
data D : Bool → Set where
x : D true
y : D false
P : Set -> Set₁
P S = Σ S (\s → s ≅ x)
pbool : ... |
alloy4fun_models/trashltl/models/1/sGSNDEJy6eKFknb6N.als | Kaixi26/org.alloytools.alloy | 0 | 539 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idsGSNDEJy6eKFknb6N_prop2 {
always ((no File) until (some File))
}
pred __repair { idsGSNDEJy6eKFknb6N_prop2 }
check __repair { idsGSNDEJy6eKFknb6N_prop2 <=> prop2o } |
get_application/GetNameAndTitleOfActiveWindow.scpt | joereddington/showcuts | 0 | 94 | sleep 1
# taken from user Albert's answer on StackOverflow
# http://stackoverflow.com/questions/5292204/macosx-get-foremost-window-title
# tested on Mac OS X 10.7.5
global frontApp, frontAppName, windowTitle
set windowTitle to ""
tell application "System Events"
set frontApp to first application process whose fro... |
src/adda-defaults.ads | alban-linard/adda | 0 | 19237 | <filename>src/adda-defaults.ads
with Ada.Containers;
with Adda;
with Adda.Generator;
package Adda.Defaults is
use Ada.Containers;
function Hash
(Element : in Integer)
return Hash_Type;
package All_Integer is new Adda.Generator (Variable_Type => Integer,
Value_Type => Integer, Termina... |
applet/aide/source/aide-style.adb | charlie5/aIDE | 3 | 23044 | <filename>applet/aide/source/aide-style.adb
with
Gtk.Container,
Gtk.Style_Provider,
Gtk.Style_Context,
Gtk.Css_Provider,
Glib.Error,
Glib,
Ada.Text_IO;
package body aIDE.Style
is
use Gtk.Style_Provider,
Gtk.Style_Context,
Gtk.Css_Provider,
Ada.Text_IO,
... |
programs/oeis/136/A136047.asm | karttu/loda | 0 | 27815 | <gh_stars>0
; A136047: a(1)=1, a(n)=a(n-1)+n if n even, a(n)=a(n-1)+ n^2 if n is odd.
; 1,3,12,16,41,47,96,104,185,195,316,328,497,511,736,752,1041,1059,1420,1440,1881,1903,2432,2456,3081,3107,3836,3864,4705,4735,5696,5728,6817,6851,8076,8112,9481,9519,11040,11080,12761,12803,14652,14696,16721
mov $11,$0
mov $13,$0
ad... |
programs/oeis/273/A273324.asm | neoneye/loda | 22 | 769 | ; A273324: Integers n such that n^2 + 3 is the sum of 4 but no fewer nonzero squares.
; 2,5,6,10,11,14,18,21,22,26,27,30,34,37,38,42,43,46,50,53,54,58,59,62,66,69,70,74,75,78,82,85,86,90,91,94,98,101,102,106,107,110,114,117,118,122,123,126,130,133,134,138,139,142,146,149,150,154,155,158,162,165,166,170,171,174,178,181,... |
programs/oeis/151/A151961.asm | karttu/loda | 0 | 94215 | ; A151961: Semiperimeter of the n-th Heronian triangle.
; 3,6,21,78,291,1086,4053,15126,56451,210678,786261,2934366,10951203,40870446,152530581,569251878,2124476931,7928655846,29590146453,110431929966,412137573411,1538118363678,5740335881301,21423225161526,79952564764803,298387033897686,1113595570825941,415599524940607... |
display.asm | knezicm/connect4-micro | 0 | 165729 | <reponame>knezicm/connect4-micro
_Display_Init:
;display.c,24 :: void Display_Init(){
;display.c,26 :: mRowOutputPort = 0x00;
MOV P1+0, #0
;display.c,27 :: mRedOutputPort = 0x00;
MOV P2+0, #0
;display.c,28 :: mGreenOutputPort = 0x00;
MOV P3+0, #0
;display.c,30 :: TMOD |= 0x01;
ORL TMOD+0, #1
;... |
programs/oeis/276/A276887.asm | neoneye/loda | 22 | 8569 | ; A276887: Sums-complement of the Beatty sequence for 3 + tau.
; 1,2,3,6,7,8,11,12,15,16,17,20,21,22,25,26,29,30,31,34,35,38,39,40,43,44,45,48,49,52,53,54,57,58,59,62,63,66,67,68,71,72,75,76,77,80,81,82,85,86,89,90,91,94,95,98,99,100,103,104,105,108,109,112
mov $1,$0
seq $1,189663 ; Partial sums of A189661.
trn $1,1
m... |
Contractive.agda | nad/codata | 1 | 8857 | <filename>Contractive.agda
------------------------------------------------------------------------
-- An implementation of "A Unifying Approach to Recursive and
-- Co-recursive Definitions" by <NAME> and <NAME>
------------------------------------------------------------------------
-- See the paper for more explanat... |
src/Core/ScriptAssembly/Grammar/ScAsm.g4 | Yhwhdios/gtav-sc-tools | 0 | 13 | grammar ScAsm;
program
: (line EOL)* EOF
;
line
: label? (directive | instruction)?
;
label
: identifier ':'
;
instruction
: opcode operandList?
;
operandList
: operand (',' operand)*
;
operand
: identifier #identifierOperand
| int... |
tests/natools-getopt_long_tests.ads | faelys/natools | 0 | 12896 | ------------------------------------------------------------------------------
-- Copyright (c) 2011, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose ... |
libsrc/_DEVELOPMENT/math/float/am9511/lam32/z80/asm_derror_edom_infc.asm | ahjelm/z88dk | 640 | 171401 |
SECTION code_clib
SECTION code_fp_am9511
PUBLIC derror_edom_infc, derror_edom_pinfc, derror_edom_minfc
EXTERN asm_am9511_derror_edom_infc, asm_am9511_derror_edom_pinfc, asm_am9511_derror_edom_ninfc
defc derror_edom_infc = asm_am9511_derror_edom_infc
defc derror_edom_pinfc = asm_am9511_derror_edom_pinfc
defc derror... |
src/stm32-usart.ads | damaki/EVB1000 | 0 | 10768 | <filename>src/stm32-usart.ads
-- This spec has been automatically generated from STM32F105xx.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
with System;
package STM32.USART is
pragma Preelaborate;
---------------
-- Registers --
---------------
-----------------
-- SR_Register -... |
kernel.asm | lucasxsong/lab2-f17 | 0 | 163777 |
kernel: file format elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010000b: e4 .byte 0xe4
8010000c <entry>:
# E... |
include/sf-audio-soundbufferrecorder.ads | danva994/ASFML-1.6 | 1 | 10296 | <reponame>danva994/ASFML-1.6<filename>include/sf-audio-soundbufferrecorder.ads
-- ////////////////////////////////////////////////////////////
-- //
-- // SFML - Simple and Fast Multimedia Library
-- // Copyright (C) 2007-2009 <NAME> (<EMAIL>)
-- //
-- // This software is provided 'as-is', without any express or implie... |
arch/ARM/STM32/drivers/sd/stm32-sdmmc_interrupt.adb | rocher/Ada_Drivers_Library | 192 | 19378 | <gh_stars>100-1000
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016-2017, AdaCore --
-- ... |
test/Succeed/Test4687.agda | cruhland/agda | 1,989 | 15622 | <reponame>cruhland/agda
open import Agda.Primitive
open import Agda.Builtin.List
open import Agda.Builtin.Maybe
data Coercible (A : Set) (B : Set) : Set where
TrustMe : Coercible A B
postulate coerce : {A B : Set} {{_ : Coercible A B}} → A → B
instance
coerce-fun : {A B : Set} {{_ : Coercible A B}}
... |
libsrc/_DEVELOPMENT/font/font_4x8/_font_4x8_default.asm | jpoikela/z88dk | 640 | 103028 | ; <NAME>
SECTION rodata_font
SECTION rodata_font_4x8
PUBLIC _font_4x8_default
PUBLIC _font_4x8_default_end
_font_4x8_default:
BINARY "font_4x8_default.bin"
_font_4x8_default_end:
|
3-mid/opengl/applet/demo/core/launch_core_test.adb | charlie5/lace-alire | 1 | 15968 | with
openGL.Tasks,
openGL.Server,
sdl.Video.Windows.Makers,
sdl.Video.gl,
ada.Task_identification,
ada.Text_IO;
procedure launch_core_Test
--
-- Exercise basic subprograms common to all GL profiles.
--
-- TODO: Complete this.
--
is
use ada.Text_IO;
use type sdl.Video.Windows.wi... |
examples/shared/serial_ports/host_app/host.adb | rocher/Ada_Drivers_Library | 192 | 17226 | <filename>examples/shared/serial_ports/host_app/host.adb
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016, AdaCore --
-- ... |
Menus/get_fuel_level_inlineinclude.asm | ped7g/EliteNext | 9 | 28091 | <gh_stars>1-10
ld a,(Fuel)
ld de,txt_fuel_level
ld c, -100
call .Num1
ld c,-10
call .Num1
ld c,-1
.Num1:
ld b,'0'-1
.Num2:
inc b
add a,c
jr c,.Num2
sub c
push bc
push af
ld a,c
cp -1
call z,.InsertDot
ld a,b
ld (de),a
inc de
pop af
pop bc
ret
.InsertDo... |
rdpfuzz-dynamorio/core/arch/arm/arm.asm | fengjixuchui/rdpfuzz | 107 | 88203 | <filename>rdpfuzz-dynamorio/core/arch/arm/arm.asm
/* **********************************************************
* Copyright (c) 2014-2020 Google, Inc. All rights reserved.
* ********************************************************** */
/*
* Redistribution and use in source and binary forms, with or without
* modi... |
Task/Doubly-linked-list-Traversal/Ada/doubly-linked-list-traversal.ada | LaudateCorpus1/RosettaCodeData | 1 | 14515 | <filename>Task/Doubly-linked-list-Traversal/Ada/doubly-linked-list-traversal.ada
with Ada.Containers.Doubly_Linked_Lists;
with Ada.Text_IO;
procedure Traversing is
package Char_Lists is new Ada.Containers.Doubly_Linked_Lists (Character);
procedure Print (Position : in Char_Lists.Cursor) is
begin
Ada.Te... |
bb-runtimes/src/s-bcpcst__pendsv.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 26591 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
main/kernel/kernelentry.asm | KlausAschenbrenner/KAOS | 1 | 169170 | [bits 32]
[extern k_main]
; Calls the main function of our C kernel
call k_main
jmp $ |
alice2/brads_alice2_archive/asm/libc.asm | lkesteloot/alice | 63 | 247274 |
; functions that look kinda like libc functions
#include "printf.asm"
#include "gets.asm"
#include "strcpy.asm"
#include "timer.asm"
|
binutils-2.21.1/gcc-4.5.1/gcc/config/mips/irix-crtn.asm | cberner12/xv6 | 2 | 95063 | /* Copyright (C) 2004 Free Software Foundation, Inc.
This file is part of GCC.
GCC 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, or (at your option) any later
version.
GCC is distributed in ... |
src/main/resources/Calculator.g4 | guoliang-dev/calcuator-with-antlr4-java8 | 0 | 5101 | // copied from https://github.com/arothuis/antlr4-calculator/blob/master/src/main/antlr4/parser/Calculator.g4
grammar Calculator;
INT : [0-9]+ ;
REF : [A-Z]+[0-9]+;
MUL : '*' ;
DIV : '/' ;
ADD : '+' ;
SUB : '-' ;
WHITESPACE: [ \r\n\t]+ -> skip;
start: expression;
expression
: INT ... |
src/glfw/v2/glfw-display.adb | Roldak/OpenGLAda | 0 | 13282 | <reponame>Roldak/OpenGLAda<gh_stars>0
-- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with Glfw.API;
with Glfw.Enums;
with Interfaces.C.Strings;
package body Glfw.Display is
-----------------------------------------------------------------------------... |
test/Compiler/simple/Issue1664.agda | alhassy/agda | 7 | 6946 |
open import Agda.Builtin.Reflection
open import Agda.Builtin.Equality
open import Agda.Builtin.Int
open import Agda.Builtin.String
open import Common.Prelude
getFixity = primQNameFixity
infixl -1729 _to_
_to_ : Set → Set → Set
A to B = A → B
data Check : Set₁ where
equal : {A : Set} (x y : A) → x ≡ y → Check
pat... |
MSVC/14.24.28314/crt/src/i386/llmul.asm | 825126369/UCRT | 2 | 22613 | title llmul - long multiply routine
;***
;llmul.asm - long multiply routine
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
;Purpose:
; Defines long multiply routine
; Both signed and unsigned routines are the same, since multiply's
; work out the same in 2's complement... |
src/FOmegaInt/Undecidable/Decoding.agda | Blaisorblade/f-omega-int-agda | 0 | 10761 | <filename>src/FOmegaInt/Undecidable/Decoding.agda
------------------------------------------------------------------------
-- Decoding types and subtypes into SK terms and equality
------------------------------------------------------------------------
{-# OPTIONS --safe --exact-split --without-K #-}
module FOmegaIn... |
source/projx32.asm | lyubov888L/RecView | 8 | 104334 | <reponame>lyubov888L/RecView
.686
.xmm
.model flat, c
DATA segment align(32)
F76543210 real4 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0
F88888888 real4 8.0, 8.0, 8.0, 8.0, 8.0, 8.0, 8.0, 8.0
F00000000 real4 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0
F3210 real4 0.0, 1.0, 2.0, 3.0
DATA ends
.code
projx32 PROC param:dword
; ... |
tests/data_simple/8.asm | NullMember/customasm | 414 | 174102 | <filename>tests/data_simple/8.asm
#d24 0x8 ; = 0x000008 |
programs/oeis/069/A069306.asm | jmorken/loda | 1 | 19084 | <gh_stars>1-10
; A069306: Number of 2 X n binary arrays with a path of adjacent 1's from upper left corner to anywhere in right hand column.
; 5,12,29,70,169,408,985,2378,5741,13860,33461,80782,195025,470832,1136689,2744210,6625109,15994428,38613965,93222358,225058681,543339720,1311738121,3166815962,7645370045,18457556... |
libsrc/_DEVELOPMENT/font/fzx/c/sdcc_iy/fzx_buffer_extent_callee.asm | jpoikela/z88dk | 640 | 21963 |
; uint16_t fzx_buffer_extent_callee(struct fzx_font *ff, char *buf, uint16_t buflen)
SECTION code_font
SECTION code_font_fzx
PUBLIC _fzx_buffer_extent_callee
EXTERN asm_fzx_buffer_extent
_fzx_buffer_extent_callee:
pop af
pop hl
pop de
pop bc
push af
jp asm_fzx_buffer_extent
|
prove-esami/conta_vocali_consonanti/_main.asm | mattiagualtieri/calcolatori | 0 | 162472 | <reponame>mattiagualtieri/calcolatori
.586
.model flat
.code
_conta_vocali_consonanti proc
PUSH EBP
MOV EBP, ESP
PUSH EDI
PUSH ESI
PUSH EBX
MOV EBX, dword ptr[EBP + 8] ;EBX - indirizzo vettore
MOV ESI, 0 ;ESI - index
MOV ECX, 0 ;ECX - numero vocali
MOV EDX, 0 ;EDX - numero consonan... |
src/ada/test/api_test.adb | MayaPosch/ByteBauble | 6 | 589 | <reponame>MayaPosch/ByteBauble
-- api_test.adb - Test for the ByteBauble API.
--
-- Revision 0
-- Features:
-- -
-- Notes:
-- -
--
-- 2019/06/10, <NAME>
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with Interfaces;
with ByteBauble; use ByteBauble;
procedure api_test ... |
scripts/player/play.scpt | katsuma/itunes-client | 12 | 990 | <reponame>katsuma/itunes-client
tell application "iTunes"
play
end tell
|
oeis/231/A231722.asm | neoneye/loda-programs | 11 | 7505 | <reponame>neoneye/loda-programs<filename>oeis/231/A231722.asm
; A231722: Partial sums of A001088 starting from its second term; a(1)=0, a(n) = A001088(2)+...+A001088(n).
; 0,1,3,7,23,55,247,1015,5623,24055,208375,945655,9793015,62877175,487550455,3884936695,58243116535,384392195575,6255075618295,53220543000055,61680615... |
src/Categories/Functor/Instance/SetoidDiscrete.agda | bblfish/agda-categories | 5 | 3108 | <reponame>bblfish/agda-categories<filename>src/Categories/Functor/Instance/SetoidDiscrete.agda
{-# OPTIONS --without-K --safe #-}
module Categories.Functor.Instance.SetoidDiscrete where
-- Discrete Functor
-- from Setoids to Cats.
open import Categories.Category
open import Categories.Functor
open import Categories... |
travis/test/br3392411.asm | johannkoenig/nasm | 1,052 | 176470 | <reponame>johannkoenig/nasm
bits 64
default rel
%use smartalign
section .text code align=32
align 32
nop
jz LDone
%rep 10
nop
%endrep
align 16
%rep 115
nop
%endrep
LDone:
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt10_pkg.ads | best08618/asylo | 7 | 29453 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt10_pkg.ads
package Opt10_Pkg is
type Rep_Message is record
Bit : Boolean;
Data : String (1 .. 4);
end record;
for Rep_Message use record
Bit at 0 range 0 .. 0;
Data at 0 range 1 .. 32;
end record;
procedure Safe_Assign (M... |
source/commands/if.asm | paulscottrobson/Atomic-Basic-2 | 0 | 17347 | <gh_stars>0
; *******************************************************************************************
; *******************************************************************************************
;
; Name : if.asm
; Purpose : Print Statement
; Date : 30th July 2019
; Author : <NAME> (<EMAIL>)
;
; **********... |
software/hal/boards/common/tools/generic_types.ads | TUM-EI-RCS/StratoX | 12 | 25173 | <filename>software/hal/boards/common/tools/generic_types.ads
-- Institution: Technische Universitaet Muenchen
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
-- Module: Generic Types
--
-- Authors: <NAME> (<EMAIL>)
--
-- @summary: Commonly used functions on basic types
package Generi... |
scripts/SMS/models_20210203/sat_42_20_6_3_3_2.als | eskang/alloy-maxsat-benchmark | 0 | 666 |
abstract sig Task {
frags: set Frag,
r: Int,
d: Int,
first: Frag,
final: Frag,
deps: set Task
}
sig Completed in Task {}
one sig T0,T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,T17,T18,T19,T20,T21,T22,T23,T24,T25,T26,T27,T28,T29,T30,T31,T32,T33,T34,T35,T36,T37,T38,T39,T40,T41 extends Task {}
fac... |
src/any/membus/bus_sram.asm | Hacktix/TixTest-GB | 5 | 21430 | <reponame>Hacktix/TixTest-GB
; ===== Makefile Headers =====
; MBC 0x02
; RAM 0x02
INCLUDE "hardware.inc"
INCLUDE "font.inc"
INCLUDE "common.inc"
SECTION "Header", ROM0[0]
ds $38 - @
ConflictHandler::
; Reset SP, reset zero flag and jump back to test
ld sp, $DFFE
xor a
rla
jp Main.crashReset
... |
BTA6.agda | luminousfennell/polybta | 1 | 12654 | <gh_stars>1-10
module BTA6 where
----------------------------------------------
-- Preliminaries: Imports and List-utilities
----------------------------------------------
open import Data.Nat hiding (_<_)
open import Data.Bool
open import Function using (_∘_)
open import Data.List
open import Relation.Nullary
open i... |
compass-watch.applescript | BeSquares/Docker-NGINX-WebSocket | 0 | 2376 | <reponame>BeSquares/Docker-NGINX-WebSocket
@ECHO ON
ECHO
ECHO.
start compass watch
CLS |
main.asm | TmCrafz/Connect3 | 0 | 87813 | extern console_print
extern console_print_nl
extern console_read
extern console_read_char
extern utils_number_to_decimal_ascii
extern utils_get_decimal_length
extern debug_print_regs
extern debug_print_arithmethic_flags
extern game_run
global _start
segment .data
segment .bss
segment .text
_start:
asm_main:
... |
system/exec/arch_x86/boot.asm | cycl0ne/poweros_x86 | 2 | 170806 | ;
; boot.s -- Kernel start location. Also defines multiboot header.
; Based on Bran's kernel development tutorial file start.asm
;
MBOOT_PAGE_ALIGN equ 1<<0 ; Load kernel and modules on a page boundary
MBOOT_MEM_INFO equ 1<<1 ; Provide your kernel with memory info
MBOOT_HEADER_MAGIC equ 0x1BAD... |
src/fltk-widgets-inputs-integer.adb | micahwelf/FLTK-Ada | 1 | 11453 |
with
Interfaces.C.Strings,
System;
use type
Interfaces.C.Strings.chars_ptr,
System.Address;
package body FLTK.Widgets.Inputs.Integer is
procedure int_input_set_draw_hook
(W, D : in System.Address);
pragma Import (C, int_input_set_draw_hook, "int_input_set_draw_hook");
pra... |
DHCP.asm | LeifBloomquist/ArtilleryDuel | 1 | 89159 | <reponame>LeifBloomquist/ArtilleryDuel<filename>DHCP.asm
;Source by Six of Style (<NAME>)
;http://style64.org http://thedarkside.ath.cx mailto:<EMAIL>
;
;Last Updated 4/24/2006
;
;DHCP PROTOCOL=================================================================
; _,.... |
src/C.g4 | arminnh/c-to-p-compilers | 1 | 2973 | <reponame>arminnh/c-to-p-compilers
// antlr keywords: import, fragment, lexer, parser, grammar, returns, locals, throws, catch, finally, mode, options, tokens, rule
grammar C;
///////////////////////////////////////////////////////////////
// PARSER RULES (rule names start with lower case character) //
///////////////... |
ANTLR/SimpleDecisionGrammar/SimpleDecisionGrammar.g4 | LuisFernandoBenatto/Compiladores | 0 | 3606 | <filename>ANTLR/SimpleDecisionGrammar/SimpleDecisionGrammar.g4
grammar SimpleDecisionGrammar;
expr_if : IF OPEN_P NUM IS_GREATER_THAN NUM CLOSE_P OPEN_B VAR CLOSE_B expr_if
| IF OPEN_P NUM IS_LESS_THAN NUM CLOSE_P OPEN_B VAR CLOSE_B expr_if
| expr_elseif;
expr_elsei... |
adm/code/src/metric-kasner.adb | leo-brewin/adm-bssn-numerical | 1 | 22164 | <filename>adm/code/src/metric-kasner.adb<gh_stars>1-10
with Ada.Numerics.Generic_Elementary_Functions;
-- for reporting Ksner parameters
with Ada.Text_IO; use Ada.Text_IO;
-- for parsing of the command line arguments
with Support.RegEx; use Support.RegEx;
with Support.CmdLine; use Support.C... |
test/aircraft/test_aircraft-write.ads | skill-lang/skillAdaTestSuite | 1 | 2583 | <gh_stars>1-10
with Ada.Directories;
with Ada.Strings.Unbounded;
with Ahven.Framework;
with Aircraft.Api;
package Test_Aircraft.Write is
package Skill renames Aircraft.Api;
use Aircraft;
use Aircraft.Api;
type Test is new Ahven.Framework.Test_Case with null record;
procedure Initialize (T : in out Te... |
programs/oeis/080/A080029.asm | karttu/loda | 0 | 165385 | ; A080029: a(n) is taken to be the smallest positive integer not already present which is consistent with the condition "n is a member of the sequence if and only if a(n) is a multiple of 3".
; 0,2,3,6,5,9,12,8,15,18,11,21,24,14,27,30,17,33,36,20,39,42,23,45,48,26,51,54,29,57,60,32,63,66,35,69,72,38,75,78,41,81,84,44,8... |
src/Leftovers/Everywhere.agda | JoeyEremondi/AgdaLeftovers | 0 | 15444 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- de Bruijn-aware generic traversal of reflected terms.
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Category.Applicative using (RawAppli... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.