max_stars_repo_path stringlengths 4 261 | max_stars_repo_name stringlengths 6 106 | max_stars_count int64 0 38.8k | id stringlengths 1 6 | text stringlengths 7 1.05M |
|---|---|---|---|---|
programs/oeis/132/A132458.asm | neoneye/loda | 22 | 94709 | ; A132458: Let df(n,k) = Product_{i=0..k-1} (n-i) be the descending factorial and let P(m,n) = df(n-1,m-1)^2*(2*n-m)/((m-1)!*m!). Sequence gives P(4,n).
; 0,0,0,1,24,200,1000,3675,10976,28224,64800,136125,266200,490776,861224,1449175,2352000,3699200,5659776,8450649,12346200,17689000,24901800,34500851,47110624,63480000,... |
programs/oeis/001/A001794.asm | jmorken/loda | 1 | 168862 | ; A001794: Negated coefficients of Chebyshev T polynomials: [x^n](-T(n+6, x)), n >= 0.
; 1,7,32,120,400,1232,3584,9984,26880,70400,180224,452608,1118208,2723840,6553600,15597568,36765696,85917696,199229440,458752000,1049624576,2387607552,5402263552,12163481600,27262976000,60850962432,135291469824,299708186624,661693399... |
oeis/194/A194459.asm | neoneye/loda-programs | 11 | 170688 | ; A194459: Number of entries in the n-th row of Pascal's triangle not divisible by 5.
; Submitted by <NAME>
; 1,2,3,4,5,2,4,6,8,10,3,6,9,12,15,4,8,12,16,20,5,10,15,20,25,2,4,6,8,10,4,8,12,16,20,6,12,18,24,30,8,16,24,32,40,10,20,30,40,50,3,6,9,12,15,6,12,18,24,30,9,18,27,36,45,12,24,36,48,60,15,30,45,60,75,4,8,12,16,20,... |
Ada/DataStructures/AVLTree/main_old.adb | egustafson/sandbox | 2 | 8543 | <filename>Ada/DataStructures/AVLTree/main_old.adb
with Generic_AVL_Tree;
with Ada.Text_IO, Ada.Integer_Text_IO;
use Ada.Text_IO, Ada.Integer_Text_IO;
procedure Main is
procedure Integer_Put( Item: Integer ) is
begin
Put( Item, 2 );
end Integer_Put;
package Int_AVL_Tree is
new Generic_AVL_Tree... |
data/pokemon/base_stats/bayleef.asm | AtmaBuster/pokeplat-gen2 | 6 | 26579 | db 0 ; species ID placeholder
db 60, 62, 80, 60, 63, 80
; hp atk def spd sat sdf
db GRASS, GRASS ; type
db 45 ; catch rate
db 141 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F12_5 ; gender ratio
db 20 ; step cycles to hatch
INCBIN "gfx/pokemon/bayleef/front.dimensions"
db GROWTH_MEDIUM_SL... |
src/gstreamer-rtsp-transport.adb | persan/A-gst | 1 | 1934 | <filename>src/gstreamer-rtsp-transport.adb
pragma Ada_2012;
package body GStreamer.Rtsp.Transport is
--------------
-- Get_Type --
--------------
function Get_Type return GLIB.GType is
begin
-- Generated stub: replace with real body!
pragma Compile_Time_Warning (Standard.True, "Get_Type un... |
oeis/109/A109116.asm | neoneye/loda-programs | 11 | 16322 | ; A109116: a(n) = (n+1)^3*(n+2)^2*(n+5).
; Submitted by <NAME>
; 20,432,3024,12800,40500,105840,241472,497664,947700,1694000,2874960,4672512,7320404,11113200,16416000,23674880,33428052,46317744,63102800,84672000,112058100,146452592,189221184,241920000,306312500,384387120,478375632,590772224,724353300,882198000,10677094... |
src/gnat/prj-ext.ads | My-Colaborations/dynamo | 15 | 9457 | <filename>src/gnat/prj-ext.ads
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
warming_up_two.asm | MrJacek/ask | 0 | 172231 | .data
buf:
.space 100
.text
.globl main
main:
# pobranie string-a z konsoli
la $a0, buf # parametr funckji systemowej - bufor w którym będzie zapisany string
li $a1, 100 # dułgośc maksymalnego stringa który można pobrać z konsoli
li $v0, 8 # wybranie funckji systemowej pobrania wejscia konsoli
syscall # ... |
src/sym2.agda | shinji-kono/Galois | 1 | 5224 | open import Level hiding ( suc ; zero )
open import Algebra
module sym2 where
open import Symmetric
open import Data.Unit
open import Function.Inverse as Inverse using (_↔_; Inverse; _InverseOf_)
open import Function
open import Data.Nat hiding (_⊔_) -- using (ℕ; suc; zero)
open import Relation.Nullary
open import Da... |
oeis/016/A016985.asm | neoneye/loda-programs | 11 | 5986 | ; A016985: a(n) = (7n)^5.
; 0,16807,537824,4084101,17210368,52521875,130691232,282475249,550731776,992436543,1680700000,2706784157,4182119424,6240321451,9039207968,12762815625,17623416832,23863536599,31757969376,41615795893,53782400000,68641485507,86617093024,108175616801,133827821568,164130859375,199690286432,24116207... |
Transynther/x86/_processed/AVXALIGN/_st_sm_/i7-7700_9_0xca_notsx.log_21829_690.asm | ljhsiun2/medusa | 9 | 7119 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xa900, %rsi
nop
nop
and %rdx, %rdx
movb $0x61, (%rsi)
nop
nop
xor $15348, %r12
lea addresses_WT_ht+0xe700, %rcx
inc %rdi
movw $0x6162, (%rcx)
nop
no... |
asm/instr_test.asm | stfnwong/smips | 0 | 175798 | # INSTR TEST
# All instructions supported by assembler in various combinations
.data
ten: .word 10
.text
; LOAD UPPER IMMEDIATE
lui $t0 ten # load address at 'ten' into $t0
lui $at 4096 # use temp register
#lui $5 5 # at the time of writing this comment we don't support direct mapping
|
programs/oeis/213/A213782.asm | jmorken/loda | 1 | 15343 | <filename>programs/oeis/213/A213782.asm
; A213782: Principal diagonal of the convolution array A213781.
; 1,7,19,41,72,118,176,254,347,465,601,767,954,1176,1422,1708,2021,2379,2767,3205,3676,4202,4764,5386,6047,6773,7541,8379,9262,10220,11226,12312,13449,14671,15947,17313,18736,20254,21832,23510,25251,27097,29009,31031... |
electrum/src/main/resources/models/book/chapter6/memory/cacheMemory.als | haslab/Electrum | 29 | 5043 | module chapter6/memory/cacheMemory [Addr, Data] ----- the model from page 219
sig CacheSystem {
main, cache: Addr -> lone Data
}
pred init [c: CacheSystem] {
no c.main + c.cache
}
pred write [c, c1: CacheSystem, a: Addr, d: Data] {
c1.main = c.main
c1.cache = c.cache ++ a -> d
}
pred read [c: CacheSystem, a:... |
Cameras/FFXIII/InjectableGenericCameraSystem/Interceptor.asm | ghostinthecamera/IGCS-GITC | 42 | 240926 | <reponame>ghostinthecamera/IGCS-GITC
;////////////////////////////////////////////////////////////////////////////////////////////////////////
;// Part of Injectable Generic Camera System
;// Copyright(c) 2017, <NAME>
;// All rights reserved.
;// https://github.com/FransBouma/InjectableGenericCameraSystem
;//
;// Redis... |
alloy4fun_models/trashltl/models/13/y6m4nbokKECugXfFx.als | Kaixi26/org.alloytools.alloy | 0 | 3838 | <gh_stars>0
open main
pred idy6m4nbokKECugXfFx_prop14 {
always ((Protected & Trash) not in Protected')
}
pred __repair { idy6m4nbokKECugXfFx_prop14 }
check __repair { idy6m4nbokKECugXfFx_prop14 <=> prop14o } |
src/arch/x86_64/__syscall_entry.asm | dendisuhubdy/IncludeOS | 3,673 | 82561 | global __syscall_entry:function
global __clone_helper:function
global __clone_return:function
global __migrate_resume:function
extern syscall_entry
;; x86_64 / System V ABI calling convention
%define arg1 rdi
%define arg2 rsi
%define arg3 rdx
%define arg4 rcx
%define arg5 r8
%define arg6 r9
%macro PUSHAQ 0
;;push ... |
test/sha-64.asm | bitwiseworks/nasm-os2 | 1 | 166018 | ;Testname=sha-64; Arguments=-felf64 -osha-64.o -O0; Files=stdout stderr sha-64.o
BITS 64
sha1rnds4 xmm1, xmm2, 9
sha1rnds4 xmm2, [rax], 7
sha1rnds4 xmm3, [rax+0x12], 5
sha1rnds4 xmm4, [rax+rbx*2], 1
sha1nexte xmm1, xmm2
sha1nexte xmm2, [rax]
sha1nexte xmm3, [rax+0x12]
sha1nexte xmm4, [rax+rbx*2]
sha1... |
libsrc/_DEVELOPMENT/stdio/z80/asm_snprintf.asm | meesokim/z88dk | 0 | 171232 | <filename>libsrc/_DEVELOPMENT/stdio/z80/asm_snprintf.asm
; ===============================================================
; Jan 2014
; ===============================================================
;
; int snprintf(char *s, size_t n, const char *format, ...)
;
; As fprintf but output is directed to a string.
;
; ==... |
oeis/142/A142113.asm | neoneye/loda-programs | 11 | 89046 | ; A142113: Primes congruent to 4 mod 37.
; Submitted by <NAME>
; 41,263,337,929,1151,1373,1447,1669,2039,2113,2557,2927,3001,3371,3593,3889,4111,4259,4481,4703,4999,5147,5443,5591,5813,6257,6553,6701,6997,7219,7589,8329,8699,9439,9587,9661,9883,10253,10771,10993,11437,11807,12251,12473,12547,12917,13879,14249,14323,147... |
programs/oeis/059/A059834.asm | neoneye/loda | 22 | 21518 | ; A059834: Sum of squares of entries of Wilkinson's eigenvalue test matrix of order 2n+1.
; 0,6,18,40,76,130,206,308,440,606,810,1056,1348,1690,2086,2540,3056,3638,4290,5016,5820,6706,7678,8740,9896,11150,12506,13968,15540,17226,19030,20956,23008,25190,27506,29960,32556,35298,38190,41236,44440
mov $2,2
lpb $0
add $2... |
test/Succeed/NoQualifiedInstances-AnonymousInstance.agda | cruhland/agda | 1,989 | 16745 | {-# OPTIONS --no-qualified-instances #-}
module NoQualifiedInstances-AnonymousInstance where
postulate
A : Set
f : {{A}} → A
postulate instance _ : A
test : A
test = f
|
ac32.asm | magore/picfloat | 1 | 161016 | <filename>ac32.asm
;File: ac32.asm
; ========================================================================
; PIC Floating point library
; ========================================================================
; Copyright (C) 1991,1997,1998,1999,2000,2001,2002,2003 <NAME>
; All rights reserved.
;
; Redistribution... |
programs/oeis/093/A093620.asm | neoneye/loda | 22 | 245976 | <reponame>neoneye/loda
; A093620: Values of Laguerre polynomials: a(n) = 2^n*n!*LaguerreL(n,-1/2,-2).
; 1,5,43,499,7193,123109,2430355,54229907,1347262321,36833528197,1097912385851,35409316648435,1227820993510153,45528569866101989,1797044836586213923,75200136212985945619,3324579846014080352225,154797474251689486249477,... |
src/semantica-ctipus.adb | alvaromb/Compilemon | 1 | 8349 | with U_Lexica;
use U_Lexica;
package body Semantica.Ctipus is
procedure Mt_Atom
(L, C : in Natural;
A : out Atribut) is
begin
A := (Atom, L, C);
end Mt_Atom;
procedure Mt_Identificador
(L, C : in Natural;
S : in String;
A : out Atribut) is
Id : Id_Nom;
begin
... |
aura.adb | annexi-strayline/AURA | 13 | 12783 | ------------------------------------------------------------------------------
-- --
-- Ada User Repository Annex (AURA) --
-- ANNEXI-STRAYLINE Reference Implementation --
-- ... |
external/source/shellcode/windows/stager_reverse_ord_tcp.asm | OsmanDere/metasploit-framework | 26,932 | 17081 | <reponame>OsmanDere/metasploit-framework
;
; Metasploit Framework
; http://www.metasploit.com
;
; Source for reverse_ord_tcp (stager)
;
; Authors: hdm <<EMAIL>>, vlad902 <<EMAIL>>, spoonm <<EMAIL>>
; Size : 179
;
cld
xor ebx,ebx
mov eax,[fs:ebx+0x30]
mov eax,[eax+0xc]
mov edx,[eax+0x1c]
mov edx,[edx]
mov esi,[edx+0x... |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_iy/___slonglong2fs_callee.asm | jpoikela/z88dk | 640 | 164740 | <reponame>jpoikela/z88dk
SECTION code_clib
SECTION code_fp_math48
PUBLIC ___slonglong2fs_callee
EXTERN cm48_sdcciyp_slonglong2ds_callee
defc ___slonglong2fs_callee = cm48_sdcciyp_slonglong2ds_callee
|
src/main/java/fr/anthonyrey/stats/statsDSL.g4 | ReyAnthony/DQloneStatsDSL | 1 | 2262 | grammar statsDSL;
/* Parser Rules */
program
: classDef+ EOF ;
classDef
: ID LCURLY innerClassDef RCURLY;
innerClassDef
: initStat initLevel*;
initStat
: INIT LCURLY statDef+ RCURLY;
initLevel
: NUMBER xpDef LCURLY statDef+ RCURLY;
xpDef
: LPARENS NUMBER RPARENS;
statDef
: stat NUMBER;
stat... |
courses/fundamentals_of_ada/labs/solar_system/160_genericity_text/answers/sort_generics.adb | AdaCore/training_material | 15 | 27310 | with Ada.Text_IO;
with Swap_Generics;
package body Sort_Generics is
procedure Sort_Generic (List : in out List_Type) is
Idx_Min : Integer;
procedure Swap is new Swap_Generics.Swap_Generic (Data_Type => Element_Type);
begin
for Current_Idx in List'First .. List'Last - 1 loop
Idx_Min ... |
theorems/cohomology/ChainComplex.agda | timjb/HoTT-Agda | 294 | 9737 | <filename>theorems/cohomology/ChainComplex.agda
{-# OPTIONS --without-K --rewriting #-}
open import HoTT
open import groups.KernelImage
open import groups.KernelImageEmap
module cohomology.ChainComplex where
record ChainComplex i : Type (lsucc i) where
field
head : AbGroup i
chain : ℕ → AbGroup i
... |
source/xml/dom/xml-dom-character_datas.ads | svn2github/matreshka | 24 | 6132 | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
FormalAnalyzer/models/apps/ItsTooCold.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 2752 | module app_ItsTooCold
open IoTBottomUp as base
open cap_runIn
open cap_now
open cap_temperatureMeasurement
open cap_switch
one sig app_ItsTooCold extends IoTApp {
temperatureSensor1 : one cap_temperatureMeasurement,
//temperature1 : one cap_temperatureMeasurement_attr_temperature_val,
switch1 : one cap_swi... |
data/github.com/pigworker/CS410-15/043477e6143af6a78b677bb528c46621da11df00/McK-B.agda | ajnavarro/language-dataset | 9 | 936 | <reponame>ajnavarro/language-dataset<filename>data/github.com/pigworker/CS410-15/043477e6143af6a78b677bb528c46621da11df00/McK-B.agda
module McK-B where
open import CS410-Prelude
open import CS410-Nat
open import CS410-Vec
data Bit : Set where O I : Bit
exp2 : Nat -> Nat
exp2 zero = 1
exp2 (suc n) = exp2 n +N exp2... |
release/src/router/gmp/mpn/arm64/mul_1.asm | ghsecuritylab/Toastman-Tinc | 5 | 167034 | dnl ARM64 mpn_mul_1
dnl Contributed to the GNU project by <NAME>.
dnl Copyright 2013 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GNU Lesser Gener... |
src/ada-libc/src/libc-errno.adb | mstewartgallus/linted | 0 | 30781 | <gh_stars>0
-- 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... |
oeis/069/A069011.asm | neoneye/loda-programs | 11 | 11334 | ; A069011: Triangle with T(n,k) = n^2 + k^2.
; 0,1,2,4,5,8,9,10,13,18,16,17,20,25,32,25,26,29,34,41,50,36,37,40,45,52,61,72,49,50,53,58,65,74,85,98,64,65,68,73,80,89,100,113,128,81,82,85,90,97,106,117,130,145,162,100,101,104,109,116,125,136,149,164,181,200,121,122,125,130,137,146,157,170,185,202,221,242,144,145,148,153... |
test/Fail/Erasure-Lambda.agda | cruhland/agda | 1,989 | 6392 | <reponame>cruhland/agda<gh_stars>1000+
-- Andreas, 2018-10-16, erased lambda-arguments
applyErased : {@0 A B : Set} → (@0 A → B) → @0 A → B
applyErased f x = f x
test : {A : Set} → A → A
test x = applyErased (λ y → y) x
-- Expected error:
--
-- Variable y is declared erased, so it cannot be used here
-- when checkin... |
include/sf-window-sensor.ads | Fabien-Chouteau/ASFML | 0 | 19899 | <reponame>Fabien-Chouteau/ASFML
--//////////////////////////////////////////////////////////
-- SFML - Simple and Fast Multimedia Library
-- Copyright (C) 2007-2015 <NAME> (<EMAIL>)
-- This software is provided 'as-is', without any express or implied warranty.
-- In no event will the authors be held liable for any dama... |
kernel/compiler/execute.asm | paulscottrobson/color-forth-6502 | 0 | 170642 | <reponame>paulscottrobson/color-forth-6502
; ******************************************************************************
; ******************************************************************************
;
; Name : execute.asm
; Purpose : Buffer processor (Execute)
; Author : <NAME> (<EMAIL>)
; Created : 2nd ... |
poem-generator/src/main/resources/Poem.g4 | m4solutions/poem-generator | 0 | 6314 | <filename>poem-generator/src/main/resources/Poem.g4
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor
*/
grammar Poem;
poem:line line line line line;
line:(' '?noun|' '?preposition|' '?pr... |
simple_http-rfc_3986-uri_parser-parse_authority.adb | annexi-strayline/ASAP-Simple_HTTP | 0 | 27020 | <reponame>annexi-strayline/ASAP-Simple_HTTP
------------------------------------------------------------------------------
-- --
-- Simple HTTP --
-- ... |
test/Succeed/Issue2169.agda | pthariensflame/agda | 3 | 7035 | <filename>test/Succeed/Issue2169.agda
open import Agda.Builtin.Bool
open import Agda.Builtin.Equality
open import Agda.Builtin.Float
data ⊥ : Set where
defNegZero : -0.0 ≡ 0.0 → ⊥
defNegZero ()
primEqNegZero : primFloatEquality -0.0 0.0 ≡ false
primEqNegZero = refl
primLtNegZero₁ : primFloatNumericalLess 0.0 -0.0 ... |
transformy/tables/outro/0001.asm | mborik/regression | 3 | 81229 | xor a
ld hl, basescradr + #0a0b
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #0a2b
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #0a4b
ld (hl), a
inc h
ld (hl), a
inc h
ld (hl), a
ld hl, basescradr + #0a6b
ld (hl), a
inc h
ld (hl), a
... |
invertedstatic.asm | Catobat/z3randomizer | 26 | 13261 | <reponame>Catobat/z3randomizer
;Statically mapped at $A1A000 Referenced by the front end. Do not move without coordination.
InvertedTileAttributeLookup:
SEP #$20
LDA $8A : CMP.b #$47 : BEQ .turtleRock
LDA Overworld_TileAttr, X
JML.l Overworld_GetTileAttrAtLocation_continue
.turtleRock
LDA Inverted_TR_TileAttribute... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_178.asm | ljhsiun2/medusa | 9 | 82221 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_178.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x5cb1, %r9
nop
nop
nop
add %r8, %r8
movb $0x61, (%r9)
and $23670, %rax
lea addres... |
21.asm | Nurglureddo/MiniPractice | 0 | 8832 | <gh_stars>0
.model tiny
.code
N: push cs
pop ds
mov ax,x
mov bx,y
or ax,bx
mov z,ax
mov ax,4c00h
int 21h
.data
x dw 10110110b
y dw 1001b
z dw ?
end N
|
tests/assert_cut/src/calc.ads | TUM-EI-RCS/StratoX | 12 | 29695 | package calc with SPARK_Mode is
procedure Forgetful_Assert (X, Y : out Integer);
end calc;
|
programs/oeis/022/A022420.asm | neoneye/loda | 22 | 162900 | <filename>programs/oeis/022/A022420.asm
; A022420: Kim-sums: "Kimberling sums" K_n + K_9.
; 8,23,26,28,31,34,36,39,41,44,47,49,52,55,57,60,62,65,68,70,73,75,78,81,83,86,89,91,94,96,99,102,104,107,110,112,115,117,120,123,125,128,130,133,136,138,141,144,146,149,151,154,157,159,162,164,167,170,172
seq $0,22415 ; Kim-sums... |
Task/Evaluate-binomial-coefficients/Ada/evaluate-binomial-coefficients.ada | mullikine/RosettaCodeData | 1 | 5146 | with Ada.Text_IO; use Ada.Text_IO;
procedure Test_Binomial is
function Binomial (N, K : Natural) return Natural is
Result : Natural := 1;
M : Natural;
begin
if N < K then
raise Constraint_Error;
end if;
if K > N/2 then -- Use symmetry
M := N - K;
else
... |
programs/oeis/105/A105314.asm | neoneye/loda | 22 | 164456 | <gh_stars>10-100
; A105314: Write the natural numbers as an infinite sequence of digits, starting at the left; a(n) is the subset (i.e., the position in this sequence of the "counting digits") of the first digit of the n-th square.
; 1,4,9,22,40,62,88,118,152,190,253,322,397,478,565,658,757,862,973,1090,1213,1342,1477,... |
ioctl/IopGetFrame.asm | osfree-project/FamilyAPI | 1 | 86500 | <reponame>osfree-project/FamilyAPI
;--------------------------------------------------------
; Category 5 Function 62H Get Frame Control
;--------------------------------------------------------
;
;
;
IOPGETFRAME PROC NEAR
RET
IOPGETFRAME ENDP
|
bondgo/src/test/source014-switch2.go.asm | mmirko/bondmachine | 6 | 173633 | <filename>bondgo/src/test/source014-switch2.go.asm
clr r0
r2m r0 0
clr r0
r2m r0 1
rset r0 1
r2m r0 0
clr r0
rset r0 1
rset r1 1
rset r2 1
je r1 r2 13
rset r3 0
j 14
rset r3 1
je r0 r3 23
rset r1 6
rset r2 5
je r1 r2 20
rset r3 0
j 21
rset r3 1
je r0 r3 23
j 26
rset r1 11
r2m r1 1
j 29
rset r1 4
r2m r1 1
j 29
|
src/NativeInt.agda | agda/ooAgda | 23 | 12927 | module NativeInt where
open import Data.Integer.Base hiding (_+_)
postulate
Int : Set
toInt : ℤ -> Int
fromInt : Int -> ℤ
{-# COMPILE GHC Int = type Int #-}
{-# COMPILE GHC toInt fromInteger #-}
{-# COMPILE GHC fromInt toInteger #-}
|
programs/oeis/027/A027903.asm | karttu/loda | 1 | 92335 | <filename>programs/oeis/027/A027903.asm
; A027903: n * (n + 1) * (3*n + 1).
; 0,8,42,120,260,480,798,1232,1800,2520,3410,4488,5772,7280,9030,11040,13328,15912,18810,22040,25620,29568,33902,38640,43800,49400,55458,61992,69020,76560,84630,93248,102432,112200,122570,133560,145188,157472,170430
mov $1,3
mul $1,$0
mul $0,$... |
projects/07/StackArithmetic/StackTest/try_random.asm | Youngermaster/Nand2Tetris-Solutions | 0 | 14440 | <reponame>Youngermaster/Nand2Tetris-Solutions<filename>projects/07/StackArithmetic/StackTest/try_random.asm
@256
D=A
@SP
M=D
@100
D=A
@SP
A=M
M=D
@SP
M=M+1
@191
D=A
@SP
A=M
M=D
@SP
M=M+1
@SP
A=M-1
D=M
A=A-1
D=M-D
M=D
@SP
M=M-1
|
programs/oeis/216/A216197.asm | neoneye/loda | 22 | 165841 | ; A216197: Abelian complexity function of A064990.
; 2,3,4,3,4,5,4,5,6,5,4,5,4,5,6,5,6,7,6,5,6,5,6,7,6,7,8,7,6,7,6,5,6,5,6,7,6,5,6,5,6,7,6,7,8,7,6,7,6,7,8,7,8,9,8,7,8,7,6,7,6,7,8,7,6,7,6,7,8,7,8,9,8,7,8,7,8,9,8,9,10,9,8,9,8,7,8,7,8,9,8,7,8,7,6,7,6,7,8
lpb $0
add $1,1
mov $2,$0
gcd $2,3
sub $0,$2
dif $0,3
lpe... |
1/1-2.asm | winderica/GoodbyeASM | 0 | 244783 | .386
STACK SEGMENT USE16 STACK
DB 200 DUP(0)
STACK ENDS
DATA SEGMENT USE16
BUF1 DB 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
BUF2 DB 10 DUP(0)
BUF3 DB 10 DUP(0)
BUF4 DB 10 DUP(0)
DATA ENDS
CODE SEGMENT USE16
ASSUME CS: CODE, DS: DATA, SS: STACK
START: MOV AX, DATA
MOV... |
dependencies/groucho32.asm | gr0uch0dev/AssemblyExercisesAndNotes | 0 | 9798 | .386
.model flat, STDCALL
option casemap:none ; Case Sensitive
option PROC:private
PUBLIC GetLenString
.data
.code
;###########################
;# PROCEDURES #
;###########################
GetLenString PROC USES esi edx ebx, lp_string:DWORD
xor esi, esi
L1:
mov edx, lp_string
mov... |
theorems/homotopy/HSpace.agda | AntoineAllioux/HoTT-Agda | 294 | 14820 | <reponame>AntoineAllioux/HoTT-Agda<filename>theorems/homotopy/HSpace.agda
{-# OPTIONS --without-K --rewriting #-}
open import HoTT
open import lib.types.TwoSemiCategory
module homotopy.HSpace where
-- This is just an approximation because
-- not all higher cells are killed.
record HSpaceStructure {i} (X : Ptd i) : T... |
src/main/antlr/BabelLexer.g4 | VinnieH/babel | 0 | 2475 | <reponame>VinnieH/babel
lexer grammar BabelLexer;
INTEGER : DIGIT+ ;
FLOAT : DIGIT* '.' DIGIT+ ( ('e'|'E') '-'? DIGIT+)? ;
DIGIT : '0'..'9';
COS : 'cos';
SIN : 'sin';
TAN : 'tan';
ATAN : 'atan';
ACOS : 'acos';
ASIN : 'asin';
SINH : 'sinh';
COSH : 'cosh';
... |
libsrc/graphics/retrofit/draw_callee.asm | jpoikela/z88dk | 640 | 162947 | ;
; Generic trick to adapt a classic function to the CALLEE mode
;
; ----- void __CALLEE__ draw(int x, int y, int x2, int y2)
;
;
; $Id: draw_callee.asm $
;
SECTION smc_clib
PUBLIC draw_callee
PUBLIC _draw_callee
EXTERN draw
.draw_callee
._draw_callee
ld hl,retaddr
ex (sp),hl
ld (retaddr0+1),hl
ld hl,draw... |
src/util/icon/wwrap.asm | olifink/qspread | 0 | 7449 | * Sprite wwrap
*
* Mode 4
* +|-----------------+
* -www wwww ww wwgg -
* | gg |
* |wwwww wwww ww gg |
* | gg |
* |www wwww ww wwgg |
* | gg |
* |wwww ww wwwwwwwwww|
* | |
* | gg |
* | |
* | gg |
* | |
* | gg |
* | |
* +|-----------------+
*
section spr... |
Transynther/x86/_processed/AVXALIGN/_st_4k_sm_/i3-7100_9_0x84_notsx.log_192_3051.asm | ljhsiun2/medusa | 9 | 102867 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x62ad, %rcx
nop
nop
nop
nop
sub $47160, %r13
movb (%rcx), %r14b
nop
nop
nop
nop
nop
and %r9, %r9
lea addresses_UC_ht+0x18fdd, %rbx
nop
nop
nop
nop
no... |
_maps/FZ Eggmobile Legs.asm | kodishmediacenter/msu-md-sonic | 9 | 88672 | <reponame>kodishmediacenter/msu-md-sonic
; ---------------------------------------------------------------------------
; Sprite mappings - legs on Eggman's escape ship (FZ)
; ---------------------------------------------------------------------------
Map_FZLegs_internal:
dc.w @extended-Map_FZLegs_internal
dc.w @hal... |
src/core/asm/arm/thumb/inst_0x90.asm | Hiroshi123/bin_tools | 0 | 161494 | <filename>src/core/asm/arm/thumb/inst_0x90.asm
;;; 1001|
__0x9x_ldr_str:
ret
|
alloy4fun_models/trashltl/models/9/iBuCCYaffGruXc7en.als | Kaixi26/org.alloytools.alloy | 0 | 1370 | open main
pred idiBuCCYaffGruXc7en_prop10 {
historically Protected in Protected
}
pred __repair { idiBuCCYaffGruXc7en_prop10 }
check __repair { idiBuCCYaffGruXc7en_prop10 <=> prop10o } |
src/core/spat-spark_info.ads | HeisenbugLtd/spat | 20 | 15008 | <reponame>HeisenbugLtd/spat
------------------------------------------------------------------------------
-- Copyright (C) 2020 by Heisenbug Ltd. (<EMAIL>)
--
-- This work is free. You can redistribute it and/or modify it under the
-- terms of the Do What The Fuck You Want To Public License, Version 2,
-- as publi... |
core/ia32_ops.asm | hrbust86/haxm | 1 | 171565 | ;
; Copyright (c) 2011 Intel Corporation
; Copyright (c) 2018 <NAME> <<EMAIL>>
;
; 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 ... |
data/radio/pnp_hidden_people.asm | Dev727/ancientplatinum | 28 | 166705 | ; Places and People will not describe these trainers.
PnP_HiddenPeople:
db WILL
db BRUNO
db KAREN
db KOGA
db CHAMPION
; fallthrough
PnP_HiddenPeople_BeatE4:
db BROCK
db MISTY
db LT_SURGE
db ERIKA
db JANINE
db SABRINA
db BLAINE
db BLUE
; fallthrough
PnP_HiddenPeople_BeatKanto:
db RIVAL1
db POKEMON_PROF... |
toggle_theme.scpt | tylerlong/useful_apple_scripts | 1 | 8 | tell application "System Preferences"
launch
activate
set miniaturized of windows to false
reveal pane id "com.apple.preference.general"
end tell
tell application "System Events"
tell process "System Preferences"
tell first window
click checkbox 3
end tell
end tell
end tell
tell application "System Prefe... |
src/main/antlr/adl_rules.g4 | nedap/adl-antlr | 0 | 77 | <filename>src/main/antlr/adl_rules.g4
//
// description: Antlr4 grammar for Rules sub-syntax of Archetype Definition Language (ADL2)
// author: <NAME> <<EMAIL>>
// support: openEHR Specifications PR tracker <https://openehr.atlassian.net/projects/SPECPR/issues>
// copyright: Copyright (c) 2015 openEHR Fo... |
src/kernel/tss.asm | TheDarkBomber/apiofirm | 4 | 800 | <reponame>TheDarkBomber/apiofirm
global FlushTSS
FlushTSS:
mov ax, 0x28
ltr ax
ret
extern metaGDT
global FlushGDT
FlushGDT:
lgdt [metaGDT]
mov eax, 0x08
push eax
push .reload
retf
.reload:
mov ax, 0x10
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
mov ss, ax
ret
|
asm/x32/core2.asm | drkameleon/elena-lang | 0 | 17169 | <filename>asm/x32/core2.asm
// --- Predefined References --
define GC_ALLOC 10001h
define BREAK 10026h
define EXPAND_HEAP 10028h
define CORE_GC_TABLE 20002h
define CORE_STATICROOT 20005h
// GC TABLE OFFSETS
define gc_header 0000h
define gc_start ... |
src/sdl-inputs-mice-cursors.ads | docandrew/sdlada | 0 | 24486 | --------------------------------------------------------------------------------------------------------------------
-- Copyright (c) 2013-2020, <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... |
src/grammar/ODataParser.g4 | cam-m/odata4ts | 1 | 1482 | /* ----------------------------------------------------------------------------
* odata-v4.0-abnf for URI conventions transformed into ANTLRv4 syntax from
* https://tools.oasis-open.org/version-control/svn/odata/ in there
* /trunk/spec/ABNF/odata-abnf-construction-rules-v4.0-wd01.txt rev 191
* last modified 2013-0... |
ADL/drivers/stm32h743/stm32-spi.ads | JCGobbi/Nucleo-STM32H743ZI | 0 | 10539 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- --
-- ... |
evaluation/2a_more_vulns/spectre_v5.asm | mguarnieri/revizor | 0 | 174335 | .intel_syntax noprefix
AND rax, 0b111111000000 # keep the mem. access within the sandbox
MFENCE
ADD rsp, 8 # ensure that the CALL and RET use the first cache set
CALL f1
unreachable:
// LFENCE # if you uncomment this line, the speculation will stop
MOV rax, [r14 + rax] # speculative access
JMP f2
LFENCE
f1:
LEA... |
displayedge/tilemap_font_8x6.i.asm | ped7g/ZXSpectrumNextMisc | 15 | 10559 | ; 22 - full invisible (all red/yellow stripes)
HEX 55554444
HEX 55444455
HEX 44445555
HEX 44555544
HEX 55554444
HEX 55444455
HEX 44445555
HEX 44555544
; 23 - top/left corner arrow
HEX 33333333
HEX 33000000
HEX 33004440
HEX 33044444
HEX 33044444
HEX 33004440
HEX 00000000
HEX 00000000
; 24 - bottom/right ... |
ada_gui-gnoga-server-mime.adb | jrcarter/Ada_GUI | 19 | 23184 | -- Ada_GUI implementation based on Gnoga. Adapted 2021
-- --
-- GNOGA - The GNU Omnificent GUI for Ada --
-- --
-- G N O... |
bin/launch.asm | moon-chilled/maiko | 0 | 241976 | ;************************************************************************
;* *
;* l a u n c h . a s m *
;* *
;* This is the ... |
examples/asm/tadd_512.asm | ptorru/reticle | 35 | 93504 | def main(en:bool, a0:i8<4>, b0:i8<4>, a1:i8<4>, b1:i8<4>, a2:i8<4>, b2:i8<4>, a3:i8<4>, b3:i8<4>, a4:i8<4>, b4:i8<4>, a5:i8<4>, b5:i8<4>, a6:i8<4>, b6:i8<4>, a7:i8<4>, b7:i8<4>, a8:i8<4>, b8:i8<4>, a9:i8<4>, b9:i8<4>, a10:i8<4>, b10:i8<4>, a11:i8<4>, b11:i8<4>, a12:i8<4>, b12:i8<4>, a13:i8<4>, b13:i8<4>, a14:i8<4>, b14... |
regtests/asf-testsuite.adb | jquorning/ada-asf | 12 | 12764 | -----------------------------------------------------------------------
-- ASF testsuite - Ada Server Faces Test suite
-- Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this ... |
programs/oeis/030/A030696.asm | karttu/loda | 0 | 27835 | <filename>programs/oeis/030/A030696.asm
; A030696: Cube root of A030695.
; 5,20,14,40,50,60,70,80,90,100,110,120,130,140,150,160,170,180,190,200,210,220,230,240,250,260,270,280,290,300,310,320,330,340,350,360,370,380,390,400,410,420,430,440,450,460,470,480,490,500,510
mov $2,2
add $2,$0
mov $1,$$0
lpb $$2,1
sub $2,1... |
oeis/123/A123111.asm | neoneye/loda-programs | 11 | 244005 | <gh_stars>10-100
; A123111: 1+n^2+n^3+n^5+n^7; 10101101 in base n.
; Submitted by <NAME>
; 5,173,2467,17489,81401,287965,840743,2130497,4842829,10101101,19649675,36082513,63122177,105954269,171622351,269488385,411763733,614115757,896355059,1283208401,1805182345,2499522653,3411274487,4594448449
add $0,1
mov $2,$0
pow $... |
oeis/349/A349965.asm | neoneye/loda-programs | 11 | 164692 | <filename>oeis/349/A349965.asm
; A349965: a(n) = Sum_{k=0..n} (k * (n-k))^k.
; Submitted by <NAME>
; 1,1,2,7,47,513,8020,169227,4637965,159568981,6684686230,332681461871,19316990453131,1292074091000105,98636639620170792,8528989125071254867,829516920337723299465,90124512307642049807293,10865612430780251465538154,1444628... |
tests/02.asm | Gumix/pic12-emulator | 1 | 92283 | org 0
main:
movlw D'13'
nop
goto main
END |
agda/Summary.agda | mchristianl/synthetic-reals | 3 | 12237 | <reponame>mchristianl/synthetic-reals
{-# OPTIONS --cubical --no-import-sorts #-}
module Summary where
import Cubical.Data.Nat using (ℕ)
open import Cubical.Foundations.Prelude using (Lift; refl)
open import Cubical.Foundations.Isomorphism
open import Cubical.Data.Unit.Base using (Unit)
open import Cubical.Data.Sigma... |
source/web/tools/a2js/webapi/html/webapi-html-input_elements.ads | svn2github/matreshka | 24 | 7719 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
source/league/ucd/matreshka-internals-unicode-ucd-core_0002.ads | svn2github/matreshka | 24 | 719 | <filename>source/league/ucd/matreshka-internals-unicode-ucd-core_0002.ads
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
agda-stdlib/src/Reflection/Pattern.agda | DreamLinuxer/popl21-artifact | 5 | 542 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Patterns used in the reflection machinery
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Reflection.Pattern where
open import Data.List.Base ... |
libsrc/_DEVELOPMENT/arch/zx/display/c/sdcc_iy/zx_cyx2aaddr_callee.asm | meesokim/z88dk | 0 | 80660 |
; void *zx_cyx2aaddr_callee(uchar row, uchar col)
SECTION code_arch
PUBLIC _zx_cyx2aaddr_callee, l0_zx_cyx2aaddr_callee
_zx_cyx2aaddr_callee:
pop hl
pop de
ex (sp),hl
l0_zx_cyx2aaddr_callee:
ld h,e
INCLUDE "arch/zx/display/z80/asm_zx_cyx2aaddr.asm"
|
programs/oeis/186/A186682.asm | jmorken/loda | 1 | 11520 | <filename>programs/oeis/186/A186682.asm
; A186682: Total number of positive integers below 10^n requiring 18 positive biquadrates in their representation as sum of biquadrates.
; 0,2,19,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24... |
programs/oeis/061/A061503.asm | neoneye/loda | 22 | 243491 | ; A061503: a(n) = Sum_{k=1..n} tau(k^2), where tau is the number of divisors function A000005.
; 1,4,7,12,15,24,27,34,39,48,51,66,69,78,87,96,99,114,117,132,141,150,153,174,179,188,195,210,213,240,243,254,263,272,281,306,309,318,327,348,351,378,381,396,411,420,423,450,455,470,479,494,497,518,527,548,557,566,569,614,617... |
test/Succeed/Issue2487-2.agda | shlevy/agda | 2 | 15980 | <filename>test/Succeed/Issue2487-2.agda
{-# OPTIONS --cubical --prop #-}
module Issue2487-2 where
import Issue2487.Infective
|
programs/oeis/004/A004776.asm | karttu/loda | 0 | 5541 | <reponame>karttu/loda
; A004776: Numbers not congruent to 5 (mod 8).
; 0,1,2,3,4,6,7,8,9,10,11,12,14,15,16,17,18,19,20,22,23,24,25,26,27,28,30,31,32,33,34,35,36,38,39,40,41,42,43,44,46,47,48,49,50,51,52,54,55,56,57,58,59,60,62,63,64,65,66,67,68,70,71,72,73,74,75,76,78
mul $0,8
mov $1,$0
add $1,2
div $1,7
|
ada-decimal.ads | mgrojo/adalib | 15 | 18240 | <gh_stars>10-100
-- Standard Ada library specification
-- Copyright (c) 2003-2018 <NAME> <<EMAIL>>
-- Copyright (c) 2004-2016 AXE Consultants
-- Copyright (c) 2004, 2005, 2006 Ada-Europe
-- Copyright (c) 2000 The MITRE Corporation, Inc.
-- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc.
... |
programs/oeis/236/A236632.asm | neoneye/loda | 22 | 5799 | <reponame>neoneye/loda
; A236632: Sum of all divisors of all positive integers <= n minus the total number of divisors of all positive integers <= n.
; 0,1,3,7,11,19,25,36,46,60,70,92,104,124,144,170,186,219,237,273,301,333,355,407,435,473,509,559,587,651,681,738,782,832,876,958,994,1050,1102,1184,1224,1312,1354,1432,1... |
programs/oeis/283/A283149.asm | karttu/loda | 0 | 3367 | ; A283149: Largest k such that (p-1)! == -1 (mod p^k), where p = prime(n).
; 1,1,2,1,1,2,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,2,1,1
lpb $0,1
mod $0,100
sub $0,3... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.