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 |
|---|---|---|---|---|
3-mid/impact/source/2d/dynamics/joints/impact-d2-joint-line.ads | charlie5/lace | 20 | 21546 | <reponame>charlie5/lace
package impact.d2.Joint.line
--
--
--
is
-- #ifndef B2_LINE_JOINT_H
-- #define B2_LINE_JOINT_H
--
-- #include <Box2D/Dynamics/Joints/b2Joint.h>
--
-- /// Line joint definition. This requires defining a line of
-- /// motion using an axis and an anchor point. The definition uses local
-- ... |
Projetos/I-VM/bin/nasm/SimpleEq.nasm | mariaeduardabicalho/Z01 | 2 | 82966 | ; 0 - EQ
leaw $SP,%A
movw (%A),%D
decw %D
movw %D,(%A)
movw (%A),%A
movw (%A),%D
leaw $SP,%A
subw (%A),$1,%A
subw (%A),%D,%D
leaw $EQscripts/../src/vmExamples/SimpleEq0,%A
je %D
nop
leaw $SP,%A
subw (%A),$1,%A
movw $0,(%A)
leaw $EQ2scripts/../src/vmExamples/SimpleEq0,%A
jmp
nop
EQscripts/../src/vmExamples/SimpleEq0:
le... |
oeis/163/A163325.asm | neoneye/loda-programs | 11 | 23487 | ; A163325: Pick digits at the even distance from the least significant end of the ternary expansion of n, then convert back to decimal.
; Submitted by <NAME>(s4)
; 0,1,2,0,1,2,0,1,2,3,4,5,3,4,5,3,4,5,6,7,8,6,7,8,6,7,8,0,1,2,0,1,2,0,1,2,3,4,5,3,4,5,3,4,5,6,7,8,6,7,8,6,7,8,0,1,2,0,1,2,0,1,2,3,4,5,3,4,5,3,4,5,6,7,8,6,7,8,... |
Client-Unity/Assets/Scripts/Antlr4/math.g4 | cor14095/graficadorRV | 0 | 3042 | grammar math;
prog: (expr|equ);
//-------------------------Characters------------------------------//
WS : [ \t\r\n]+ -> channel(HIDDEN); //Whitespace declaration
fragment LETTER : ('a'..'z' | 'A'..'Z');
fragment DIGIT : ('0'..'9');
ID : (LETTER)+;
NUM : (INT|DOUBLE);
INT : (D... |
test/Succeed/Attributes.agda | hborum/agda | 2 | 5622 | -- Andreas, 2018-06-14, issue #2513, parsing attributes
-- Run-time only use.
postulate
@0 RT₁ : Set
@erased RT₂ : Set
-- Default: unrestricted use.
postulate
@ω CT₁ : Set
@plenty CT₂ : Set
-- Irrelevance.
postulate
. I₀ : Set
@irr I₁ : Set
@irrelevant I₂ : Set
-- Shape-i... |
src/fot/FOTC/Program/Mirror/Tree/TotalityATP.agda | asr/fotc | 11 | 839 | <filename>src/fot/FOTC/Program/Mirror/Tree/TotalityATP.agda
------------------------------------------------------------------------------
-- Totality properties for Tree
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-typ... |
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0_notsx.log_7_1075.asm | ljhsiun2/medusa | 9 | 160464 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x135c5, %rbp
nop
nop
add $47309, %r15
movb (%rbp), %dl
nop
nop
nop
and %rdx, %rdx
lea addresses_WT_ht+0x199c5, %rsi
lea addresses_normal_ht+0x3645, %rdi
nop
nop
nop
nop
nop
inc %r13
mo... |
programs/oeis/127/A127917.asm | neoneye/loda | 22 | 5155 | ; A127917: Product of three numbers: n-th prime, previous number, and following number.
; 6,24,120,336,1320,2184,4896,6840,12144,24360,29760,50616,68880,79464,103776,148824,205320,226920,300696,357840,388944,492960,571704,704880,912576,1030200,1092624,1224936,1294920,1442784,2048256,2247960,2571216,2685480,3307800,3442... |
oeis/010/A010968.asm | neoneye/loda-programs | 11 | 15184 | <reponame>neoneye/loda-programs
; A010968: a(n) = binomial(n,15).
; 1,16,136,816,3876,15504,54264,170544,490314,1307504,3268760,7726160,17383860,37442160,77558760,155117520,300540195,565722720,1037158320,1855967520,3247943160,5567902560,9364199760,15471286560,25140840660,40225345056,63432274896,98672427616,151532656696... |
Cubical/Data/BinNat/BinNat.agda | cj-xu/cubical | 0 | 2194 | <reponame>cj-xu/cubical<gh_stars>0
{- Binary natural numbers (<NAME>, Jan. 2019)
This file defines two representations of binary numbers. We prove that
they are equivalent to unary numbers and univalence is then used to
transport both programs and properties between the representations.
This is an example of how havin... |
oeis/158/A158420.asm | neoneye/loda-programs | 11 | 19857 | <reponame>neoneye/loda-programs
; A158420: 1024n^2 - 2n.
; 1022,4092,9210,16376,25590,36852,50162,65520,82926,102380,123882,147432,173030,200676,230370,262112,295902,331740,369626,409560,451542,495572,541650,589776,639950,692172,746442,802760,861126,921540,984002,1048512,1115070,1183676,1254330,1327032,1401782,1478580,... |
programs/oeis/194/A194220.asm | neoneye/loda | 22 | 171086 | <filename>programs/oeis/194/A194220.asm
; A194220: [sum{(k/4) : 1<=k<=n}], where [ ]=floor, ( )=fractional part.
; 0,0,1,1,1,2,3,3,3,3,4,4,4,5,6,6,6,6,7,7,7,8,9,9,9,9,10,10,10,11,12,12,12,12,13,13,13,14,15,15,15,15,16,16,16,17,18,18,18,18,19,19,19,20,21,21,21,21,22,22,22,23,24,24,24,24,25,25,25,26,27,27,27,27,28,28,28,... |
README/Unsafe/Sized-types.agda | nad/equality | 3 | 1897 | <filename>README/Unsafe/Sized-types.agda
------------------------------------------------------------------------
-- Modules that are not safe because they use --sized-types
------------------------------------------------------------------------
{-# OPTIONS --without-K --sized-types #-}
module README.Unsafe.Sized-ty... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c37208b.ada | best08618/asylo | 7 | 3590 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c37208b.ada
-- C37208B.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... |
llvm-gcc-4.2-2.9/gcc/ada/sem.ads | vidkidz/crossbridge | 1 | 830 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
programs/oeis/017/A017154.asm | neoneye/loda | 22 | 15939 | <filename>programs/oeis/017/A017154.asm
; A017154: a(n) = (8*n + 7)^6.
; 117649,11390625,148035889,887503681,3518743761,10779215329,27680640625,62523502209,128100283921,243087455521,433626201009,735091890625,1194052296529,1870414552161,2839760855281,4195872914689,6053445140625,8550986578849,11853911588401,1615781926304... |
Loop Counter/count.asm | KyleErwin/Assembly | 0 | 23565 | <filename>Loop Counter/count.asm<gh_stars>0
segment .data
input: db 0
;New line string
newLine: db "\n", 0x0a
segment .text
global _start
_start:
;Get input
mov rax, 0
mov rdi, 0
mov rdx, 2
mov rsi, input
syscall
;use rcx as the counter. We set it do 0
mov rbx, 1
;start of the while loop... |
library/fmGUI_Menus/fmGUI_CopySelected.applescript | NYHTC/applescript-fm-helper | 1 | 1721 | <gh_stars>1-10
-- fmGUI_CopySelected({})
-- <NAME>, NYHTC
-- Copy the selected objects in the current window in FileMaker
(*
HISTORY:
1.3.1 - 2017-11-06 ( eshagdar ): try block encompasses param declaration. added clipboardClear to helper fucntions.
1.3 - 2016-10-18 ( eshagdar ): use fmGUI_clickMenuItem handler
1.... |
programs/oeis/176/A176566.asm | neoneye/loda | 22 | 19057 | <gh_stars>10-100
; A176566: Triangle T(n, k) = binomial(n*(n+1)/2 + k, k), read by rows.
; 1,1,1,1,2,3,1,4,10,20,1,7,28,84,210,1,11,66,286,1001,3003,1,16,136,816,3876,15504,54264,1,22,253,2024,12650,65780,296010,1184040,1,29,435,4495,35960,237336,1344904,6724520,30260340,1,37,703,9139,91390,749398,5245786,32224114,1772... |
stm32f1/stm32gd-clock-tree.adb | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 5347 | <filename>stm32f1/stm32gd-clock-tree.adb
with STM32_SVD; use STM32_SVD;
with STM32_SVD.RCC; use STM32_SVD.RCC;
with STM32_SVD.PWR; use STM32_SVD.PWR;
package body STM32GD.Clock.Tree is
function Frequency (Clock : Clock_Type) return Integer is
begin
case Clock is
when STM32GD.Clock.RTCCLK => retur... |
lib/am335x_sdk/ti/csl/arch/c7x/src/c7vectors_gs.asm | brandonbraun653/Apollo | 2 | 82156 | <reponame>brandonbraun653/Apollo<filename>lib/am335x_sdk/ti/csl/arch/c7x/src/c7vectors_gs.asm
;;*****************************************************************************
;; Copyright (C) 2015 Texas Instruments Incorporated - http:;;www.ti.com/
;;
;; Redistribution and use in source and binary forms, with or witho... |
src/Auto/Example/Sublists.agda | wenkokke/AutoInAgda | 22 | 7415 | open import Function using (flip; _∘_; _$_)
open import Auto.Counting
open import Data.Nat using (ℕ)
open import Data.List using (List; _∷_; [])
open import Data.Product using (∃; _,_; proj₂)
open import Data.Maybe
open import Data.Sum using (inj₁; inj₂; isInj₂)
module Auto.Example.Sublists whe... |
library/02_functions_batch1/unknown_1000408e.asm | SamantazFox/dds140-reverse-engineering | 1 | 163108 | <filename>library/02_functions_batch1/unknown_1000408e.asm<gh_stars>1-10
1000408e: 39 45 08 cmp DWORD PTR [ebp+0x8],eax
10004091: 77 09 ja 0x1000409c
10004093: e8 ae 09 00 00 call 0x10004a46
100038d0: 83 3d f8 5d 01 10 00 cmp DWORD PTR ds:0x10015df8,0x0
100038d7: 74 2d ... |
src/lib/math/fmod.asm | germix/sanos | 57 | 162833 | ;-----------------------------------------------------------------------------
; fmod.asm - floating point remainder of x/y
; Ported from <NAME>'s free C Runtime Library
;-----------------------------------------------------------------------------
SECTION .text
global fmod
... |
reo-interpreter/src/main/antlr4/nl/cwi/reo/interpret/Comments.g4 | kasperdokter/Reo-compiler | 9 | 2104 | grammar Comments;
import Tokens;
comment : '/*' .*? '*/' ;
|
arch/ARM/NXP/svd/lpc55s6x/nxp_svd-puf.ads | morbos/Ada_Drivers_Library | 2 | 21380 | <gh_stars>1-10
-- Copyright 2016-2019 NXP
-- All rights reserved.SPDX-License-Identifier: BSD-3-Clause
-- This spec has been automatically generated from LPC55S6x.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package NXP_SVD.PUF is
pragma Pr... |
8085_programming/8085 Programs/test2.asm | SayanGhoshBDA/code-backup | 16 | 245110 | <filename>8085_programming/8085 Programs/test2.asm<gh_stars>10-100
;.ORG 0000H
LDA 3001H
LXI H,3002H
MOV B,M
ADD B
LXI H,3003H
MOV B,M
SUB B
STA 8000H
HLT
|
oeis/010/A010792.asm | neoneye/loda-programs | 11 | 2394 | ; A010792: a(n) = n!*(n+3)! / 3!.
; Submitted by <NAME>
; 1,4,40,720,20160,806400,43545600,3048192000,268240896000,28970016768000,3766102179840000,579979735695360000,104396352425164800000,21714441304434278400000,5168037030455358259200000,1395369998222946729984000000,424192479459775805915136000000,1442254430163237740111... |
programs/oeis/269/A269100.asm | neoneye/loda | 22 | 27237 | <reponame>neoneye/loda<gh_stars>10-100
; A269100: a(n) = 13*n + 11.
; 11,24,37,50,63,76,89,102,115,128,141,154,167,180,193,206,219,232,245,258,271,284,297,310,323,336,349,362,375,388,401,414,427,440,453,466,479,492,505,518,531,544,557,570,583,596,609,622,635,648,661,674,687,700,713,726,739,752,765,778,791,804,817,830,8... |
Transynther/x86/_processed/NC/_st_sm_/i7-7700_9_0xca.log_29_475.asm | ljhsiun2/medusa | 9 | 99605 | .global s_prepare_buffers
s_prepare_buffers:
push %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x9f15, %rsi
lea addresses_WT_ht+0x1602d, %rdi
clflush (%rdi)
nop
nop
nop
nop
nop
cmp %rbx, %rbx
mov $30, %rcx
rep movsq
nop
nop
nop
nop
nop
xor $43800, %rbx
lea addresses_normal_ht+0xe7... |
demo/agda/FRP/JS/Demo/Clock.agda | agda/agda-frp-js | 63 | 3922 | <filename>demo/agda/FRP/JS/Demo/Clock.agda
open import FRP.JS.Behaviour using ( Beh ; map )
open import FRP.JS.DOM using ( DOM ; text ; element )
open import FRP.JS.RSet using ( ⟦_⟧ )
open import FRP.JS.Time using ( toUTCString ; every )
open import FRP.JS.Delay using ( _sec )
module FRP.JS.Demo.Clock where
main : ∀ ... |
programs/oeis/048/A048625.asm | neoneye/loda | 22 | 26118 | ; A048625: Pisot sequence P(4,6).
; 4,6,9,13,19,28,41,60,88,129,189,277,406,595,872,1278,1873,2745,4023,5896,8641,12664,18560,27201,39865,58425,85626,125491,183916,269542,395033,578949,848491,1243524,1822473,2670964,3914488,5736961,8407925,12322413,18059374,26467299,38789712,56849086,83316385,122106097,178955183,262271... |
tools-src/gnu/gcc/gcc/ada/sem_ch2.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 30826 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
Code/CustomControl/RAResEd/Src/Property.asm | CherryDT/FbEditMOD | 11 | 240474 |
.const
PRP_NUM_ID equ 1
PRP_NUM_POSL equ 2
PRP_NUM_POST equ 3
PRP_NUM_SIZEW equ 4
PRP_NUM_SIZEH equ 5
PRP_NUM_STARTID equ 6
PRP_NUM_TAB equ 7
PRP_NUM_HELPID equ 8
PRP_STR_NAME equ 100
PRP_STR_NAMEBTN equ 101
PRP_STR_NAMESTC equ 102
PRP_STR_CAPTION equ 103
PRP_STR_CAPMULTI e... |
alloy4fun_models/trainstlt/models/1/gFzSzb9ibfdW94Bfz.als | Kaixi26/org.alloytools.alloy | 0 | 3452 | open main
pred idgFzSzb9ibfdW94Bfz_prop2 {
always(eventually Signal = Green)
}
pred __repair { idgFzSzb9ibfdW94Bfz_prop2 }
check __repair { idgFzSzb9ibfdW94Bfz_prop2 <=> prop2o } |
llvm-gcc-4.2-2.9/gcc/ada/a-excpol-abort.adb | vidkidz/crossbridge | 1 | 6113 | <reponame>vidkidz/crossbridge<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
libsrc/graphics/msx/gen_clg.asm | grancier/z180 | 0 | 26454 | ;
; z88dk library: Generic VDP support code
;
;
; $Id: gen_clg.asm,v 1.4 2016/06/21 20:16:35 dom Exp $
;
SECTION code_clib
PUBLIC clg
PUBLIC _clg
EXTERN msx_set_mode
EXTERN msx_color
EXTERN FILVRM
.clg
._clg
ld hl,2 ; set graphics mode
call msx_set_mode
ld ... |
Cubical/Reflection/StrictEquiv.agda | Edlyr/cubical | 0 | 14654 | <reponame>Edlyr/cubical
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Reflection.StrictEquiv where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Foundations.Equiv.Base
open import Cubical.Foundations.Isomorphism
open import Cubical.Data.List.B... |
source/league/matreshka-json_parser.adb | svn2github/matreshka | 24 | 3693 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
tests/linkedlist/src/wrap.ads | TUM-EI-RCS/StratoX | 12 | 7186 | with Ada.Containers.Formal_Doubly_Linked_Lists;
package wrap with SPARK_Mode is
type Element_Type is (ONE, TWO);
function My_Eq (Left : Element_Type; Right : Element_Type) return Boolean is (Left = Right);
package My_Lists is new Ada.Containers.Formal_Doubly_Linked_Lists (Element_Type, My_Eq);
use My_Lis... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/sizetype4.adb | best08618/asylo | 7 | 21908 | <gh_stars>1-10
-- { dg-do run }
procedure Sizetype4 is
type Float_Array is array (Integer range <>) of Float;
NoFloats : Float_Array (1 .. 0);
procedure Q (Results : Float_Array := NoFloats) is
type Reply_Msg is
record
Request_Id : Integer;
Status : Integer;
... |
arch/ARM/STM32/svd/stm32l4x3/stm32_svd-firewall.ads | morbos/Ada_Drivers_Library | 2 | 26310 | <gh_stars>1-10
-- This spec has been automatically generated from STM32L4x3.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.Firewall is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype CS... |
programs/oeis/000/A000165.asm | neoneye/loda | 22 | 161281 | <reponame>neoneye/loda<gh_stars>10-100
; A000165: Double factorial of even numbers: (2n)!! = 2^n*n!.
; 1,2,8,48,384,3840,46080,645120,10321920,185794560,3715891200,81749606400,1961990553600,51011754393600,1428329123020800,42849873690624000,1371195958099968000,46620662575398912000,1678343852714360832000,6377706640314571... |
oeis/173/A173126.asm | neoneye/loda-programs | 11 | 26667 | ; A173126: sum_{k=floor[(n+5)/2] mod 5} C(n,k)
; Submitted by <NAME>(s3)
; 0,0,0,0,1,2,7,14,36,72,165,330,715,1430,3004,6008,12393,24786,50559,101118,204820,409640,826045,1652090,3321891,6643782,13333932,26667864,53457121,106914242,214146295,428292590,857417220,1714834440,3431847189
mov $2,$0
mov $5,$0
lpb $2
mov $0... |
1-base/math/source/generic/pure/geometry/trigonometry/cached_rotation.adb | charlie5/lace | 20 | 1187 | package body cached_Rotation
is
use ada.Numerics,
float_elementary_Functions;
the_Cache : array (0 .. slot_Count - 1) of aliased Matrix_2x2_type;
Pi_x_2 : constant := Pi * 2.0;
last_slot_Index : constant Float_type := Float_type (slot_Count - 1);
index_Factor : cons... |
EjerciciosClase/switchchara.asm | adeandak/OPC | 0 | 174481 | TITLE Ejercicio switchchara
; Descripcion:
; Ejemplo de implementacion de la Estructura Algoritmica Switch.
;
INCLUDE \masm32\Irvine\Irvine32.inc
INCLUDELIB \masm32\Irvine\Irvine32.lib
INCLUDELIB \masm32\Irvine\User32.lib
INCLUDELIB \masm32\Irvine\Kernel32.lib
.DATA
; Textos para la Consola
mcr=0Dh
ml... |
oeis/245/A245788.asm | neoneye/loda-programs | 11 | 168953 | <reponame>neoneye/loda-programs
; A245788: n times the number of 1's in the binary expansion of n.
; 0,1,2,6,4,10,12,21,8,18,20,33,24,39,42,60,16,34,36,57,40,63,66,92,48,75,78,108,84,116,120,155,32,66,68,105,72,111,114,156,80,123,126,172,132,180,184,235,96,147,150,204,156,212,216,275,168,228,232,295,240,305,310,378,64,... |
src/static/antlr4/grammars/BindingIdentifier.g4 | jlenoble/ecmascript-parser | 0 | 1319 | /* Source: ECMAScript® 2018 Language Specification - Annex A-2 */
grammar BindingIdentifier;
// IdentifierReference[Yield, Await]:
// Identifier
// [~Yield] yield
// [~Await] await *
identifierReference
: identifier
| {!this.canYield()}? Yield
// | Await Multiply
;
// BindingIdentifier[Yield, Await]:
// ... |
Lab15/lab15.asm | richardhyy/AssemblyLab | 3 | 93304 | assume cs:code
stack segment
db 128 dup (0)
stack ends
code segment
start: mov ax,stack
mov ss,ax
mov sp,128
push cs
pop ds
mov ax,0
mov es,ax
mov si,offset int9
mov di,204h
mov cx,offset int9end-offset int9
cld
rep movsb
push es:[9*4]
pop es:[200h]
push es:[9*4+2]
pop es:[2... |
programs/oeis/063/A063214.asm | neoneye/loda | 22 | 87396 | <reponame>neoneye/loda
; A063214: Dimension of the space of weight 2n cuspidal newforms for Gamma_0( 46 ).
; 1,6,10,12,16,22,22,28,32,34,38,44,44,50,54,56,60,66,66,72,76,78,82,88,88,94,98,100,104,110,110,116,120,122,126,132,132,138,142,144,148,154,154,160,164,166,170,176,176,182
mov $1,$0
mul $0,2
add $0,1
seq $1,6320... |
regtests/util-processes-tests.adb | My-Colaborations/ada-util | 0 | 9873 | <filename>regtests/util-processes-tests.adb
-----------------------------------------------------------------------
-- util-processes-tests - Test for processes
-- Copyright (C) 2011, 2012, 2016, 2018, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-... |
src/unison/test/fast/Mips/speed/sphinx3.profile.ptmr_init.asm | Patstrom/disUnison | 88 | 172888 | .text
.abicalls
.section .mdebug.abi32,"",@progbits
.nan legacy
.file "sphinx3.profile.ptmr_init.ll"
.text
.globl ptmr_init
.align 2
.type ptmr_init,@function
.set nomicromips
.set nomips16
.ent ptmr_init
ptmr_init: # @ptmr_init
.frame $sp,0,$ra
.mask 0x00000000,0
.fmask 0x0... |
oeis/073/A073225.asm | neoneye/loda-programs | 11 | 6702 | <filename>oeis/073/A073225.asm
; A073225: a(n) = ceiling(n^n/n!).
; 1,1,2,5,11,27,65,164,417,1068,2756,7148,18614,48639,127464,334865,881658,2325751,6145597,16263867,43099805,114356612,303761261,807692035,2149632062,5726042116,15264691108,40722913455,108713644517,290404350963,776207020880,2075825009902,5554277310718,14... |
oeis/017/A017058.asm | neoneye/loda-programs | 11 | 13511 | ; A017058: a(n) = (7*n + 6)^6.
; 46656,4826809,64000000,387420489,1544804416,4750104241,12230590464,27680640625,56800235584,107918163081,192699928576,326940373369,531441000000,832972004929,1265319018496,1870414552161,2699554153024,3814697265625,5289852801024,7212549413161,9685390482496,12827693806929,16777216000000,216... |
programs/oeis/137/A137584.asm | karttu/loda | 0 | 16520 | ; A137584: a(n) = 3*a(n-1) - 2*a(n-2) + a(n-3), n > 3.
; 0,3,6,13,30,70,163,379,881,2048,4761,11068,25730,59815,139053,323259,751486,1746993,4061266,9441298,21948355,51023735,118615793,275748264,641036941,1490230088,3464364646,8053670703,18722512905,43524561955,101182330758,235220381269
mov $42,$0
mov $44,$0
lpb $44,1... |
libsrc/_DEVELOPMENT/math/float/math48/lm/z80/asm_fmod.asm | meesokim/z88dk | 0 | 1069 | <filename>libsrc/_DEVELOPMENT/math/float/math48/lm/z80/asm_fmod.asm
SECTION code_fp_math48
PUBLIC asm_fmod
EXTERN am48_fmod
defc asm_fmod = am48_fmod
|
C64Studio/scroll2.asm | nharrer/10Print-Smooth-Scroll | 1 | 98313 | ;startup address
* = $0801
;create BASIC startup (SYS line)
!basic
;debuglines = 1
;userasterirq = 1
screen1 = $0400
;screen1 = $2000
; set start of screen memory
; see https://www.c64-wiki.de/wiki/Bildschirmspeicher
lda $d018
and #%00001111
ora #(screen1 / 1024) << 4
... |
test/Succeed/Issue4291.agda | cruhland/agda | 1,989 | 8474 | <filename>test/Succeed/Issue4291.agda
open import Agda.Builtin.Equality
open import Agda.Builtin.Reflection renaming (bindTC to _>>=_)
open import Agda.Builtin.String
open import Agda.Builtin.List
open import Agda.Builtin.Unit
impNames : Term → List String
impNames (pi (arg (arg-info hidden _) _) (abs x b)) = x ∷ imp... |
alloy4fun_models/trashltl/models/5/vYzkBfmqPkMNhtjdY.als | Kaixi26/org.alloytools.alloy | 0 | 347 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idvYzkBfmqPkMNhtjdY_prop6 {
always all t : File | t in Trash since t in Trash
}
pred __repair { idvYzkBfmqPkMNhtjdY_prop6 }
check __repair { idvYzkBfmqPkMNhtjdY_prop6 <=> prop6o } |
test/Fail/Issue5201.agda | cruhland/agda | 1,989 | 16189 | apply :
∀ {a b} {A : Set a} {B : A → Set b} →
((x : A) → B x) → (x : A) → B x
apply f x = f x
syntax apply f x = f x
|
RecursiveTypes/Subtyping/Axiomatic/Coinductive.agda | nad/codata | 1 | 17159 | <filename>RecursiveTypes/Subtyping/Axiomatic/Coinductive.agda
------------------------------------------------------------------------
-- Coinductive axiomatisation of subtyping
------------------------------------------------------------------------
module RecursiveTypes.Subtyping.Axiomatic.Coinductive where
import ... |
bin/zoom-mute-status.scpt | jbarr21/dotfiles | 2 | 4159 | property btnTitle : "Mute audio"
if application "zoom.us" is running then
tell application "System Events"
tell application process "zoom.us"
if exists (menu item btnTitle of menu 1 of menu bar item "Meeting" of menu bar 1) then
set returnValue to "unmuted"
else
set returnValue to "muted"
en... |
sh.asm | romulomrossi/StrideSchedulerForXV6 | 0 | 15043 | <reponame>romulomrossi/StrideSchedulerForXV6
_sh: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
return 0;
}
int
main(void)
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
... |
programs/oeis/107/A107253.asm | karttu/loda | 0 | 103969 | ; A107253: a(n) = n^4 - 15*n + 15.
; 1,1,51,211,565,1221,2311,3991,6441,9865,14491,20571,28381,38221,50415,65311,83281,104721,130051,159715,194181,233941,279511,331431,390265,456601,531051,614251,706861,809565,923071,1048111,1185441,1335841,1500115,1679091,1873621,2084581,2312871,2559415,2825161,3111081,3418171,3747451... |
8086/7strop/searchstr.asm | iamvk1437k/mpmc | 1 | 23691 | <filename>8086/7strop/searchstr.asm
.model small
.stack 100h
.data
text db 'Hello world'
count dw 13
search db 'x'
found db 'String Found$'
notfound db 'String NOT Found$'
.code
begin: mov ax,@data
mov ds,ax
mov es,ax
mov cx,count
mov di,offset text
... |
3_1.asm | EduardaSRBastos/Assembly-2020 | 0 | 28113 | n_linha EQU 10
MOV CX, n_linha ;0=repete 2^16
R1:
MOV AH,1
INT 21H
LOOP R1 |
src/glfw/v2/glfw-events-mouse.ads | Roldak/OpenGLAda | 0 | 17744 | <gh_stars>0
-- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
package Glfw.Events.Mouse is
type Button is new Interfaces.C.int range 0 .. 7;
Left_Button : constant := 0;
Right_Button : constant := 1;
Middle_Button : constant := 2;
subtyp... |
src/unison/test/fast/Hexagon/speed/gcc.xexit.xexit.asm | Patstrom/disUnison | 88 | 245492 | <gh_stars>10-100
.text
.file "gcc.xexit.xexit.ll"
.globl xexit
.align 16
.type xexit,@function
xexit: // @xexit
// BB#0:
{
r16 = r0
memd(r29 + #-16) = r17:16
allocframe(#8)
}
{
r1 = memw(##_xexit_cleanup)
if (cmp.eq(r1.new, #0)) jump:t .LBB0_2
}
{
jump .LBB0_... |
Kush.g4 | itssamuelrowe/kushjs | 1 | 1663 | grammar Kush;
compilationUnit
: importDeclaration*
componentDeclarations*
EOF
;
componentDeclarations
: functionDeclaration
| structureDeclaration
;
importDeclaration
: 'import' qualifiedName ';'
;
qualifiedName
: IDENTIFIER ('.' IDENTIFIER)*
;
functionDeclaration
: returnType IDENTIFIER functi... |
alloy4fun_models/trashltl/models/11/AMk9Gi8HbJuifA9Hk.als | Kaixi26/org.alloytools.alloy | 0 | 1188 | open main
pred idAMk9Gi8HbJuifA9Hk_prop12 {
eventually some Trash
}
pred __repair { idAMk9Gi8HbJuifA9Hk_prop12 }
check __repair { idAMk9Gi8HbJuifA9Hk_prop12 <=> prop12o } |
src/STLC/Kovacs/NormalForm.agda | mietek/coquand-kovacs | 0 | 13177 | module STLC.Kovacs.NormalForm where
open import STLC.Kovacs.Embedding public
open import Category
--------------------------------------------------------------------------------
mutual
-- (Nfₑ)
renⁿᶠ : ∀ {Γ Γ′ A} → Γ′ ⊇ Γ → Γ ⊢ⁿᶠ A → Γ′ ⊢ⁿᶠ A
renⁿᶠ η (ƛ M) = ƛ (renⁿᶠ (liftₑ η) M)
renⁿᶠ η (ne M) = ne (ren... |
test/shld.asm | killvxk/AssemblyLine | 147 | 11108 | <reponame>killvxk/AssemblyLine
SECTION .text
GLOBAL test
test:
shld rax, rax, 0x5
shld rax, rbx, 0x5
shld rax, rcx, 0x5
shld rax, rdx, 0x5
shld rax, rdi, 0x5
shld rax, r8, 0x5
shld rax, r9, 0x5
shld rax, r10, 0x5
shld rax, r11, 0x5
shld rax, r12, 0x5
shld rax, r13, 0x5
shld rax, r14, 0x5
shld rax, r15, 0x5
shld rax, rs... |
antlr_getting_started/projects/decision_structure/DecisionGrammar.g4 | lfvilella/simple-compiler | 1 | 7737 | grammar DecisionGrammar;
prog: IF OEX NUM CEX OBK NUM CBK prog | p_elseif;
p_elseif: ELSEIF OEX NUM CEX OBK NUM CBK p_elseif | p_else;
p_else: ELSE OBK NUM CBK;
IF: 'if';
ELSEIF: 'else if';
ELSE: 'else';
OBK: '{';
CBK: '}';
OEX: '(';
CEX: ')';
ADD: '+';
SUB: '-';
MUL: '*';
DIV: '/';
MOD: '%';
NUM: [0-9]+;
VAR: [a-zA-... |
arch/lib/string/strlen.asm | Mosseridan/Compiler-Principles | 0 | 1240 | <filename>arch/lib/string/strlen.asm
/* strlen.asm
* Takes a pointer to a null-terminated string,
* and returns its length.
*
* Programmer: <NAME>, 2010
*/
STRLEN:
MOV(R1, STARG(0));
MOV(R0, IMM(0));
L_STRLEN_LOOP:
CMP(IND(R1), IMM('\0'));
JUMP_EQ(L_STRLEN_END);
INCR(R1);
INCR(R0);
JUMP(L_STRLEN... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_143_1347.asm | ljhsiun2/medusa | 9 | 245271 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1a222, %r12
add %rbp, %rbp
movb $0x61, (%r12)
nop
nop
nop
cmp $47961, %rsi
lea addresses_UC_ht+0x18aba, %r10
nop
nop
nop
add %rax, %rax
mov (%r10), %r9w
and $22394, %r9
lea a... |
data/baseStats_original/phanpy.asm | adhi-thirumala/EvoYellow | 16 | 95035 | db DEX_PHANPY ; pokedex id
db 90 ; base hp
db 60 ; base attack
db 60 ; base defense
db 45 ; base speed
db 40 ; base special
db GROUND ; species type 1
db GROUND ; species type 2
db 52 ; catch rate
db 87 ; base exp yield
INCBIN "pic/ymon/phanpy.pic",0,1 ; 55, sprite dimensions
dw PhanpyPicFront
dw PhanpyPicBack
; attack... |
src/wrapper.adb | Kurinkitos/Twizy-Security | 1 | 6153 | with speedModule; use speedModule;
with perception;
package body Wrapper
with SPARK_Mode
is
procedure Init is
begin
if not (Safe) then
-- Running init in a non fresh state is wrong
Initialized := False;
return;
end if;
CurrentSpeed := 4.5;
... |
Module 2/2. Exit/ExitWithNullChar.asm | hoangcuongflp/SLAE | 47 | 160916 | <reponame>hoangcuongflp/SLAE
; ExitWithNullChar.asm
; By Abatchy
;
; nasm -felf32 ExitWithNullChar.asm && ld -o ExitWithNullChar ExitWithNullChar.o
; Generated shellcode: "\xb8\x01\x00\x00\x00\xbb\x10\x00\x00\x00\xcd\x80"
global _start
section .text
_start:
mov eax, 0x1
mov ebx, 0x10
int... |
programs/oeis/118/A118649.asm | jmorken/loda | 1 | 9180 | <reponame>jmorken/loda
; A118649: Row sums for A106597.
; 1,2,5,12,30,74,184,456,1132,2808,6968,17288,42896,106432,264080,655232,1625760,4033824,10008704,24833536,61616832,152883328,379333248,941199488,2335298816,5794330112,14376858880,35671780352,88508618240
mov $30,$0
mov $32,$0
lpb $32
clr $0,30
mov $0,$30
su... |
src/fsmaker-target-littlefs.ads | Fabien-Chouteau/fsmaker | 0 | 23880 | with GNAT.OS_Lib;
private with Littlefs;
package FSmaker.Target.LittleFS is
subtype Parent is Filesystem;
type Instance
is new Parent
with private;
overriding
procedure Format (This : in out Instance;
FD : GNAT.OS_Lib.File_Descriptor;
Size : ... |
asm/ppc64le/core.asm | ELENA-LANG/elena-lang | 193 | 175810 | <reponame>ELENA-LANG/elena-lang<filename>asm/ppc64le/core.asm
// r1 - stack frame pointer
// r2 - TOC??
// r4 - acc
// r31 - base frame pointer
compare - 79
// --- Predefined References --
define GC_ALLOC 10001h
define HOOK 10010h
define INVOKER 10011h
define INIT_RND ... |
dav1d/tests/checkasm/x86/checkasm.asm | suman/ogv-for-virtualclass | 0 | 97783 | ; Copyright © 2018, VideoLAN and dav1d authors
; Copyright © 2018, Two Orioles, LLC
; 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 copy... |
Applications/Finder/folders/test.applescript | looking-for-a-job/applescript-examples | 1 | 1900 | <filename>Applications/Finder/folders/test.applescript
#!/usr/bin/osascript
set home to POSIX path of (path to home folder)
set smart to home & "/git/Smart Folders.gist/python.savedSearch"
tell application "Finder"
set l to every folder in (POSIX file smart as alias)
repeat with f in l
name of f as text
displ... |
ada/examples/regression/regression_library.adb | carter-e-veldhuizen/RACK | 4 | 265 | <filename>ada/examples/regression/regression_library.adb
package body Regression_Library is
function LibraryFun (Input : Boolean) return Boolean is
begin
return False;
end;
end Regression_Library;
|
programs/oeis/219/A219393.asm | karttu/loda | 0 | 6028 | ; A219393: Numbers k such that 23*k+1 is a square.
; 0,21,25,88,96,201,213,360,376,565,585,816,840,1113,1141,1456,1488,1845,1881,2280,2320,2761,2805,3288,3336,3861,3913,4480,4536,5145,5205,5856,5920,6613,6681,7416,7488,8265,8341,9160,9240,10101,10185,11088,11176,12121,12213,13200,13296,14325,14425,15496,15600,16713,168... |
misc/Lib/file_exists.applescript | kinshuk4/evernote-automation | 4 | 2184 | on run {file_path}
# General Implement
tell application "System Events"
return exists file file_path
end tell
(* # Implemented by Shell
## Example
try # will error if not exist
do shell script "[ -f \"/Users/IceHe/Documents/" & report_path & "\" ]"
on error
return false
end try
## Reverse
... |
source/amf/uml/amf-uml-invocation_actions.ads | svn2github/matreshka | 24 | 20071 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
demos/tile_ed.asm | mfkiwl/QNICE-FPGA-hyperRAM | 53 | 97638 | ; TileEd is a simple "text mode sprite" (aka "tile") editor
; it was originally developed as a tool to develop "qtris.asm"
;
; Uses VGA to display all 256 characters of the font (based on font.asm) on
; the left side of the screen. On the right side of the screen, there is a
; box of the size TILE_DX_INIT and TILE_DY_I... |
P6/data_P6_2/MDTest100.asm | alxzzhou/BUAA_CO_2020 | 1 | 88768 | ori $ra,$ra,0xf
mthi $1
div $1,$ra
div $2,$ra
sll $4,$3,21
lb $1,11($0)
ori $4,$4,65109
div $4,$ra
divu $4,$ra
mtlo $4
mthi $0
srav $6,$5,$6
addiu $4,$4,-10722
sb $5,13($0)
ori $4,$3,27308
multu $1,$5
mflo $3
divu $2,$ra
mfhi $0
div $5,$ra
addu $1,$4,$6
sll $1,$5,1
mthi $5
mtlo $1
addiu $2,$2,28392
ori $6,$1,41611
mtlo... |
programs/oeis/008/A008486.asm | neoneye/loda | 22 | 240870 | ; A008486: Expansion of (1 + x + x^2)/(1 - x)^2.
; 1,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57,60,63,66,69,72,75,78,81,84,87,90,93,96,99,102,105,108,111,114,117,120,123,126,129,132,135,138,141,144,147,150,153,156,159,162,165,168,171,174,177,180,183,186,189,192,195,198,201,204,207,210,213,216,219,222,225,228... |
programs/oeis/007/A007606.asm | neoneye/loda | 22 | 164623 | ; A007606: Take 1, skip 2, take 3, etc.
; 1,4,5,6,11,12,13,14,15,22,23,24,25,26,27,28,37,38,39,40,41,42,43,44,45,56,57,58,59,60,61,62,63,64,65,66,79,80,81,82,83,84,85,86,87,88,89,90,91,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,172,173... |
programs/oeis/169/A169720.asm | neoneye/loda | 22 | 16264 | <gh_stars>10-100
; A169720: a(n) = (3*2^(n-1)-1)*(3*2^n-1).
; 1,10,55,253,1081,4465,18145,73153,293761,1177345,4713985,18865153,75479041,301953025,1207885825,4831690753,19327057921,77308821505,309236465665,1236948221953,4947797606401,19791199862785,79164818325505,316659311050753,1266637319700481,5066549429796865,202661... |
test/test3.asm | opengd/pdp8-midi | 0 | 26155 | <reponame>opengd/pdp8-midi
/PDP-8 test3.asm just some midi data as ascii to pars
*200
START, CLA CLL
TLS
TAD MDATA
DCA AIX1
TAD M6
DCA COUNT
NEXT, TAD I AIX1
JMS TYPE
ISZ COUNT
JMP NEXT
JMP I [7600
TYPE, 0
TSF
JMP .-1
T... |
programs/oeis/029/A029925.asm | karttu/loda | 1 | 95882 | <gh_stars>1-10
; A029925: Convert n from degrees Celsius to Fahrenheit.
; 32,34,36,37,39,41,43,45,46,48,50,52,54,55,57,59,61,63,64,66,68,70,72,73,75,77,79,81,82,84,86,88,90,91,93,95,97,99,100,102,104,106,108,109,111,113,115,117,118,120,122,124,126,127,129,131,133,135,136,138,140,142,144,145,147,149,151,153,154,156,158,... |
oeis/152/A152055.asm | neoneye/loda-programs | 11 | 95831 | ; A152055: a(n) = ((8+sqrt3)^n + (8-sqrt3)^n/2.
; Submitted by <NAME>
; 1,8,67,584,5257,48488,455131,4324328,41426257,399036104,3857575987,37380013448,362768079961,3524108459048,34256882467147,333139503472424,3240562225062817,31527485889187208,306765478498163491,2985071016730196168,29048442079295165737,2826857412481806... |
constants/pokemon_constants.asm | etdv-thevoid/pokemon-rgb-enhanced | 1 | 2956 | const_value = 1
const BULBASAUR ; 1
const IVYSAUR ; 2
const VENUSAUR ; 3
const CHARMANDER ; 4
const CHARMELEON ; 5
const CHARIZARD ; 6
const SQUIRTLE ; 7
const WARTORTLE ; 8
const BLASTOISE ; 9
const CATERPIE ; 10
const METAPOD ; 11
const BUTTERFREE ; 12
const WEEDLE ; 13
const KAKUNA... |
asm/shift.asm | YikeZhou/lipsi | 0 | 242344 | <reponame>YikeZhou/lipsi
#
# shift test program
#
ldi 0x7f
sll
srl
sll
sra
subi 0xff
exit |
communication/jnosql-query-antlr/src/main/java/org/jnosql/aphrodite/antlr/Query.g4 | Minitour/jnosql | 0 | 2764 | <filename>communication/jnosql-query-antlr/src/main/java/org/jnosql/aphrodite/antlr/Query.g4<gh_stars>0
grammar Query;
select: 'select' fields 'from' entity where? skip? limit? order? EOF;
delete: 'delete' deleteFields? 'from' entity where? EOF;
insert: 'insert' entity (conditions | json) ttl? EOF;
update: 'update' ent... |
oeis/193/A193508.asm | neoneye/loda-programs | 11 | 89537 | ; A193508: a(n) = n if n is not a power of 2 and a(2^n) = a(n).
; Submitted by <NAME>
; 0,0,0,3,0,5,6,7,3,9,10,11,12,13,14,15,0,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,5,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,6,65,66,67,68
lpb $0
mov $2,$0
seq $2,198192 ; ... |
oeis/003/A003955.asm | neoneye/loda-programs | 11 | 95321 | <filename>oeis/003/A003955.asm
; A003955: a(n) = (2*n + 4) * (1*3*5*...*(2*n+1))^2.
; Submitted by <NAME>(s2)
; 4,54,1800,110250,10716300,1512784350,292183491600,73958946311250,23749039426612500,9430743556307823750,4537044990907363935000,2600104866872495148416250,1750070583471871734510937500,136693013073320838691979296... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.