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/124/A124229.asm | karttu/loda | 0 | 95608 | ; A124229: Numerator of g(n) defined by g(1)=1, g(2n)=1/g(n)+1, g(2n+1)=g(2n).
; 1,2,2,3,3,3,3,5,5,5,5,5,5,5,5,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21
mov $3,7
lpb $0,1
sub $0,1
... |
test/Fail/RewriteNondeterministic.agda | shlevy/agda | 1,989 | 15068 | {-# OPTIONS --rewriting #-}
{-# OPTIONS --allow-unsolved-metas #-}
open import Common.Equality
{-# BUILTIN REWRITE _≡_ #-}
postulate
A : Set
f : A → A
a b c : A
fa-to-b : f a ≡ b
fx-to-c : ∀ x → f x ≡ c
{-# REWRITE fa-to-b #-}
{-# REWRITE fx-to-c #-}
test₁ : f a ≡ b
test₁ = refl
x : A
test₂ : f x ≡ c
t... |
programs/oeis/135/A135042.asm | neoneye/loda | 22 | 94957 | ; A135042: Binomial transform of [1, 1, 2, 0, -2, 4, -6, 8, -10, 12,...].
; 1,2,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100,105,110,115,120,125,130,135,140,145,150,155,160,165,170,175,180,185,190,195,200,205,210,215,220,225,230,235,240,245,250,255,260,265,270,275,280,285,290,295,300,305,310,315,320,325,... |
src/core.asm | Q-Bert-Reynolds/gun-hockey-gb | 0 | 240824 | SECTION "Core", ROM0
; SetBank a = bank ;TODO: handle more than 255 banks
; Trampoline b = bank, hl = address, can only use de and RAM for args, can't return anything in a
; UpdateInput
; DrawStateMap
; ClearTiles a = clear tile, display should be off
;... |
alloy4fun_models/trashltl/models/5/8wmLZcyTi9nkJjuKw.als | Kaixi26/org.alloytools.alloy | 0 | 2262 | <gh_stars>0
open main
pred id8wmLZcyTi9nkJjuKw_prop6 {
always(all f : (File & Trash) | (f in Trash))
}
pred __repair { id8wmLZcyTi9nkJjuKw_prop6 }
check __repair { id8wmLZcyTi9nkJjuKw_prop6 <=> prop6o } |
input/test6.asm | needsguidance/Semref | 1 | 6349 | <reponame>needsguidance/Semref
org 0
JMPADDR start:
a db A
b db B
suma db 0
resta db 0
and db 0
start:
LOADIM R1, #5
LOADIM R2, #F
ADD R3, R1, R2
STORE suma, R3
SUB R3, R1, R2
STORE resta, R3
AND R3, R1, R2
STORE and, R3
fin:
JMPADDR fin |
bugs/bug22.ada | daveshields/AdaEd | 3 | 11814 | package Test1 is
Question: constant string := "How Many Characters?";
Ask_Twice: constant string := Question & Question;
end Test1;
with Test1; use Test1;
package Test2 is
Str: string(Ask_Twice'range) := Ask_Twice;
end Test2;
|
euler11.adb | kimtg/euler-ada | 7 | 5980 | <reponame>kimtg/euler-ada<filename>euler11.adb
with Ada.Text_IO; use Ada.Text_IO;
procedure Euler11 is
type Int_Mat is array(Positive range <>, Positive range <>) of Integer;
N : constant Int_Mat :=
((08,02,22,97,38,15,00,40,00,75,04,05,07,78,52,12,50,77,91,08),
(49,49,99,40,17,81,18,57,60,87,17,4... |
src/trendy_test.adb | jquorning/trendy_test | 7 | 18734 | <gh_stars>1-10
with Ada.Containers.Synchronized_Queue_Interfaces;
with Ada.Containers.Unbounded_Synchronized_Queues;
with Ada.Exceptions;
with Ada.Numerics.Discrete_Random;
with Ada.Strings.Fixed;
with Ada.Strings.Unbounded.Text_IO;
with Ada.Text_IO;
with System.Multiprocessors;
with GNAT.Traceback.Symbolic;
package... |
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0xca_notsx.log_21829_827.asm | ljhsiun2/medusa | 9 | 84131 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xc66d, %rsi
lea addresses_A_ht+0x1cd5d, %rdi
nop
nop
nop
and $18466, %r15
mov $43, %rcx
rep movsl
nop
nop
cmp %r12, %r12
lea addresses_UC_ht+0x17ad, %r14
clflush (%r14)
cmp $6991, %... |
ftdoc3 url scheme/Source and info.plist for OpenFT3DocAtLine/OpenFT3DocAtLine.applescript | RobTrew/txtquery-tools | 69 | 1822 | <reponame>RobTrew/txtquery-tools<filename>ftdoc3 url scheme/Source and info.plist for OpenFT3DocAtLine/OpenFT3DocAtLine.applescript
property pTitle : "Register and handle ft3doc:// url scheme"
property pVer : "0.01"
property pAuthor : "<NAME> @complexpoint"
property pDescription : "
Use in conjunction with Atom > Ed... |
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2.log_1_711.asm | ljhsiun2/medusa | 9 | 81988 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xb232, %rsi
lea addresses_WT_ht+0x1efaa, %rdi
clflush (%rsi)
nop
nop
nop
nop
dec %rbx
mov $97, %rcx
rep movsq
nop
nop
nop
nop
nop
sub %r10, %r10
lea addresses_W... |
case-studies/performance/verification/alloy/ppc/tests/safe218.als | uwplse/memsynth | 19 | 4423 | <gh_stars>10-100
module tests/safe218
open program
open model
/**
PPC safe218
"Rfe SyncdRW Wse Rfe SyncdRW Wse"
Cycle=Rfe SyncdRW Wse Rfe SyncdRW Wse
Relax=
Safe=Wse ACSyncdRW
{
0:r2=y; 0:r4=x;
1:r2=x;
2:r2=x; 2:r4=y;
3:r2=y;
}
P0 | P1 | P2 | P3 ;
lwz r1,0(r2) | li r1,2 ... |
libsrc/target/cpm/gsx/gsx_pb.asm | ahjelm/z88dk | 640 | 168576 | <reponame>ahjelm/z88dk<gh_stars>100-1000
;
; GSX/GIOS parameter block
;
PUBLIC gios_pb
PUBLIC _gios_pb
PUBLIC gios_ctl
PUBLIC _gios_ctl
PUBLIC gios_intin
PUBLIC _gios_intin
PUBLIC gios_ptsin
PUBLIC _gios_ptsin
PUBLIC gios_intout
PUBLIC _gios_intout
PUBLIC gios_ptsout
PUBLIC _gios_ptsout
SECTION data_clib
;... |
source/network-addresses.adb | reznikmm/network | 1 | 9326 | -- SPDX-FileCopyrightText: 2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Ada.Unchecked_Conversion;
with Interfaces;
with League.String_Vectors;
with League.Regexps;
with League.Text_Codecs;
with League.Stream_Element_Vectors;
package bod... |
intrepyd/lustre2py/Lustre.g4 | bobosoft/intrepyd | 2 | 2300 | <filename>intrepyd/lustre2py/Lustre.g4
grammar Lustre;
program: (datatypedef | constant | node)* EOF;
datatypedef: 'datatype' ID '=' topLevelType ';';
constant: 'const' ID (':' datatype)? '=' expr ';';
node:
'node' ID '(' inp=varDeclList? ')'
'returns' '(' outp=varDeclList? ')' ';'
('var' local=varDeclList ';... |
chap15/ex12/saxpy32.asm | JamesType/optimization-manual | 374 | 240487 | ;
; Copyright (C) 2021 by Intel Corporation
;
; Permission to use, copy, modify, and/or distribute this software for any
; purpose with or without fee is hereby granted.
;
; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHA... |
alloy4fun_models/trainstlt/models/1/mJFBBdhac625m5gQt.als | Kaixi26/org.alloytools.alloy | 0 | 1555 | <filename>alloy4fun_models/trainstlt/models/1/mJFBBdhac625m5gQt.als<gh_stars>0
open main
pred idmJFBBdhac625m5gQt_prop2 {
eventually (all s:Signal | s in Green)
}
pred __repair { idmJFBBdhac625m5gQt_prop2 }
check __repair { idmJFBBdhac625m5gQt_prop2 <=> prop2o } |
source/nodes/program-nodes-root_types.adb | reznikmm/gela | 0 | 23282 | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package body Program.Nodes.Root_Types is
function Create return Root_Type is
begin
return Result : Root_Type := (Enclosing_Element => null)
do
... |
hmi_sdk/hmi_sdk/Tools/ffmpeg-2.6.2/libavcodec/x86/h264_deblock.asm | APCVSRepo/android_packet | 4 | 179816 | <reponame>APCVSRepo/android_packet<filename>hmi_sdk/hmi_sdk/Tools/ffmpeg-2.6.2/libavcodec/x86/h264_deblock.asm
;*****************************************************************************
;* MMX/SSE2/AVX-optimized H.264 deblocking code
;*****************************************************************************
... |
day_template/src/day.ads | jwarwick/aoc_2020 | 3 | 17108 | -- AOC 2020, Day X
with Ada.Containers.Vectors;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
package Day is
-- type Orbit_Checksum is new Natural;
-- function load_orbits(filename : in String) return Orbit_List.Vector;
-- function orbit_count_checksum(ol : in Orbit_List.Vector) return Orbit_Checksum;... |
citeproc-java/grammars/InternalPage.g4 | mdoering/citeproc-java | 0 | 5093 | <filename>citeproc-java/grammars/InternalPage.g4
grammar InternalPage;
@header {
package de.undercouch.citeproc.bibtex.internal;
import de.undercouch.citeproc.bibtex.PageRange;
import org.apache.commons.lang3.StringUtils;
}
@members {
private Integer addPages(Integer p1, Integer p2) {
if (p1 == null)
p1 ... |
Modules/Module4/Division/register_pair.asm | hackettccp/CSCI213 | 0 | 165891 | #Demonstrates shifting a register pair
.text
li $t0, 0x00000000 #The left register
li $t1, 0xffffffff #The right register
sll $t0, $t0, 1 #Left Shift the left register 1 bit
bge $t1, $0, notOne #If high-order bit of right register is a 1, skip next instruction
addi $t0, $t0, 1 #Add 1 to the left re... |
Transynther/x86/_processed/NC/_ht_zr_/i7-7700_9_0xca_notsx.log_21829_1138.asm | ljhsiun2/medusa | 9 | 175135 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r9
push %rax
push %rbp
push %rcx
lea addresses_A_ht+0x1ad4a, %rcx
nop
xor $46596, %r14
vmovups (%rcx), %ymm4
vextracti128 $0, %ymm4, %xmm4
vpextrq $1, %xmm4, %rbp
nop
nop
cmp %rcx, %rcx
lea addresses_WT_ht+0x10672, %r11
nop
nop
xor %r9, %r9
mov $0x6... |
BBEditLDML/Scripts/06)Set Language to/01)HTML.applescript | stevepiercy/BBEdit_LassoScript_CLM | 1 | 3881 | <reponame>stevepiercy/BBEdit_LassoScript_CLM<filename>BBEditLDML/Scripts/06)Set Language to/01)HTML.applescript
(*
This script sets the Source Language of the current text window to HTML.
*)
tell application "BBEdit"
set source language of text document 1 to "HTML"
end tell
|
source/features/debug.asm | mynameispyo/InpyoOS | 0 | 89569 | <filename>source/features/debug.asm
; ------------------------------------------------------------------
; os_debug_string -- Displays text in serial
; IN: SI = message location (zero-terminated string)
os_debug_string:
pusha
.repeat:
lodsb ; Get char from string
cmp al, 0
je .done ; If char is zero, end of ... |
src/fot/FOTC/Base/Loop.agda | asr/fotc | 11 | 6276 | <gh_stars>10-100
------------------------------------------------------------------------------
-- FOTC looping (error) combinator
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-univer... |
programs/oeis/006/A006261.asm | jmorken/loda | 1 | 6834 | <reponame>jmorken/loda<gh_stars>1-10
; A006261: a(n) = Sum_{k=0..5} C(n,k).
; 1,2,4,8,16,32,63,120,219,382,638,1024,1586,2380,3473,4944,6885,9402,12616,16664,21700,27896,35443,44552,55455,68406,83682,101584,122438,146596,174437,206368,242825,284274,331212,384168,443704,510416,584935,667928,760099,862190,974982,1099296,... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1413.asm | ljhsiun2/medusa | 9 | 242002 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xc38c, %rsi
nop
xor $762, %r15
movb (%rsi), %al
nop
nop
nop
nop
nop
and %rcx, %rcx
lea addresses_UC_ht+0xb054, %rcx
dec %r11
and $0xffffffffffffffc0, %rcx
vmovntdqa (%rcx)... |
src/main/antlr4/imports/mysql_alter_table.g4 | rain-pos/maxwell | 0 | 6905 | grammar mysql_alter_table;
import mysql_literal_tokens, mysql_idents, column_definitions, mysql_partition;
alter_table: alter_table_preamble alter_specifications? alter_partition_specification?;
alter_table_preamble: ALTER alter_flags? TABLE table_name;
alter_flags: (ONLINE | OFFLINE | IGNORE);
alter_specifications... |
programs/oeis/100/A100659.asm | neoneye/loda | 22 | 103450 | <reponame>neoneye/loda<gh_stars>10-100
; A100659: Floor of measure (in degrees) of the internal angles of a regular polygon with n sides.
; 60,90,108,120,128,135,140,144,147,150,152,154,156,157,158,160,161,162,162,163,164,165,165,166,166,167,167,168,168,168,169,169,169,170,170,170,170,171,171,171,171,171,172,172,172,17... |
source/asis/spec/ada-strings.ads | faelys/gela-asis | 4 | 7676 | ------------------------------------------------------------------------------
-- A d a r u n - t i m e s p e c i f i c a t i o n --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
libsrc/_DEVELOPMENT/adt/wa_stack/c/sccz80/wa_stack_top.asm | teknoplop/z88dk | 8 | 95562 |
; void *wa_stack_top(wa_stack_t *s)
SECTION code_clib
SECTION code_adt_wa_stack
PUBLIC wa_stack_top
EXTERN asm_wa_stack_top
defc wa_stack_top = asm_wa_stack_top
|
oeis/340/A340161.asm | neoneye/loda-programs | 11 | 84847 | ; A340161: a(n) is the smallest number k for which the set {k + 1, k + 2, ..., k + k} contains exactly n elements with exactly three 1-bits (A014311).
; Submitted by <NAME>(s1)
; 1,4,6,7,10,11,13,18,19,21,25,34,35,37,41,49,66,67,69,73,81,97,130,131,133,137,145,161,193,258,259,261,265,273,289,321,385,514,515,517,521,529... |
chrome_get_html.applescript | w6o6n/chrome_get_html | 0 | 677 | <gh_stars>0
(*
Open the URL received from argv[1] with Secret mode of Google Chrome.
If Chrome is not running, Chrome will startup in background and open the URL.
Get the html source code, then close the window automatically.
If succeed, save the source code to a file (argv[2]) and return "OK".
If failed, return "NG"... |
Games/CMonster (Breakout)/Source/loader.asm | CiaranGruber/Ti-84-Calculator | 1 | 247530 | ;############## CMonster by <NAME> - TI-84 Plus C Silver Edition specific
#include ti84pcse.inc
#define WORDLEN 2
#define TI84CSE_LOADER
#include data.asm
load_address =plotSScreen+768
;############## Flash app header
.org $4000
.db $80,$0f,0,0,0,0 ; master field
... |
link-addon.asm | werkzeuge/amd64 | 1 | 169753 | global L3
L3:
RET
|
oeis/168/A168607.asm | neoneye/loda-programs | 11 | 8627 | <reponame>neoneye/loda-programs
; A168607: a(n) = 3^n + 2.
; 3,5,11,29,83,245,731,2189,6563,19685,59051,177149,531443,1594325,4782971,14348909,43046723,129140165,387420491,1162261469,3486784403,10460353205,31381059611,94143178829,282429536483,847288609445,2541865828331,7625597484989,22876792454963,68630377364885,205891... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/bad_array.adb | best08618/asylo | 7 | 29278 | -- { dg-do compile }
procedure Bad_Array is
A1 : array(Character range <> ) of Character := ( 'a', 'b', 'c' );
begin
null;
end Bad_Array;
|
FolderOrg.applescript | DougEverly/FolderOrg | 3 | 551 | (*
FolderOrg 1.2.x
Copyright 2002-2010 <NAME> <EMAIL>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed... |
Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2.log_10659_813.asm | ljhsiun2/medusa | 9 | 171053 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x44f3, %rsi
lea addresses_WT_ht+0x2853, %rdi
nop
nop
nop
nop
nop
xor $39869, %r15
mov $49, %rcx
rep movsw
and %r10, %r10
lea addresses_A_ht+0x6ff3, %r15
nop
nop
sub %r8, %r8
m... |
oeis/026/A026012.asm | neoneye/loda-programs | 11 | 7701 | ; A026012: Second differences of Catalan numbers A000108.
; Submitted by <NAME>
; 1,2,6,19,62,207,704,2431,8502,30056,107236,385662,1396652,5088865,18642420,68624295,253706790,941630580,3507232740,13105289370,49114150020,184560753390,695267483664,2625197720454,9933364416572,37660791173152,143048202990504,54427986406665... |
alloy4fun_models/trainstlt/models/2/Kg3xegpi23nc2qcqt.als | Kaixi26/org.alloytools.alloy | 0 | 1493 | open main
pred idKg3xegpi23nc2qcqt_prop3 {
always no Train.pos
}
pred __repair { idKg3xegpi23nc2qcqt_prop3 }
check __repair { idKg3xegpi23nc2qcqt_prop3 <=> prop3o } |
programs/oeis/006/A006470.asm | karttu/loda | 1 | 14220 | <reponame>karttu/loda
; A006470: Number of rooted planar maps.
; 2,15,60,175,420,882,1680,2970,4950,7865,12012,17745,25480,35700,48960,65892,87210,113715,146300,185955,233772,290950,358800,438750,532350,641277,767340,912485,1078800,1268520,1484032,1727880,2002770,2311575,2657340,3043287,3472820,3949530,4477200,5059810,... |
papers/icfp-2010-talk/Levitation.agda | mietek/epigram | 48 | 847 | <filename>papers/icfp-2010-talk/Levitation.agda
module Levitation where
open import Data.Product
record ⊤ : Set1 where
constructor tt
data Desc : Set2 where
`1 : Desc
`Σ : (S : Set1)(D : S → Desc) → Desc
`ind× : (D : Desc) → Desc
`hind× : (H : Set)(D : Desc) → Desc
⟦_⟧ : Desc → Set1 → Set1
⟦ `1 ⟧ X ... |
src/tools/Dependency_Graph_Extractor/src/main.adb | selroc/Renaissance-Ada | 1 | 28143 | <reponame>selroc/Renaissance-Ada
with Ada.Calendar;
with Ada.Command_Line;
with Ada.Strings.Unbounded;
with Ada.Text_IO;
with GNATCOLL.VFS;
with Command_Line;
with Extraction;
with GraphML_Writers;
procedure Main is
package GW renames GraphML_Writers;
package SU renames Ada.Strings.Unbounded;
package VFS re... |
oeis/135/A135160.asm | neoneye/loda-programs | 11 | 99696 | ; A135160: a(n) = 5^n + 3^n - 2^n.
; Submitted by <NAME>(s2)
; 1,6,30,144,690,3336,16290,80184,396930,1972296,9823650,49003224,244667970,1222289256,6108282210,30531894264,152630871810,763068462216,3815084423970,19074648065304,95370917376450,476847616459176,2384217167880930,11921023089868344,59604927188149890,2980240711... |
oeis/188/A188572.asm | neoneye/loda-programs | 11 | 91285 | ; A188572: Coefficients of the term by sqrt(3) in (1 + sqrt(2) + sqrt(3))^n sequence, denoted as C3(n).
; Submitted by <NAME>
; 0,1,2,12,40,184,720,3072,12544,52416,216448,899328,3724800,15452672,64052224,265617408,1101234176,4566192128,18932244480,78498938880,325475532800,1349511512064,5595423113216,23200121487360,961... |
code/lab5_5.asm | CornPrincess/Assembly | 0 | 5181 | assume cs:code
a segment
dw 1, 2, 3, 4, 5, 6, 7, 8, 9, 0ah, 0bh, 0ch, 0dh, 0eh, 0fh, 0ffh
a ends
b segment
dw 0, 0, 0, 0, 0, 0, 0, 0
b ends
code segment
start: mov ax,b
mov ss,ax
mov sp,16 ;注意这里一定要设为16,放在栈顶
mov ax,a
mov ds,ax
mov cx,8
mov bx,0
s: push [bx]
... |
js/blackbird.applescript | retagaine/Blackbird | 0 | 3613 | tell application "Spotify"
set playingArtist to artist of current track as string
set playingTrack to name of current track as string
set playingAlbum to album of current track as string
set trackId to id of current track as string
set trackNumber to track number of current track as integer
set currentPosition to... |
src/stars/examples/basics/hello_world2.asm | kevintmcdonnell/stars | 9 | 1642 | <reponame>kevintmcdonnell/stars<gh_stars>1-10
# Hello world program
.data
greeting: .asciiz "Hello world!\n"
prompt1: .asciiz "Enter your age: "
output1: .asciiz "Your age in 5 years: "
.text
main:
# print greeting
li $v0, 4
la $a0, greeting
syscall
# display prompt
li $v0, 4
la $a0, prompt1
syscall
# rea... |
LibSource/NativeCryptography/iaesx64.asm | ekzyis/CrypTool-2 | 12 | 6895 | <filename>LibSource/NativeCryptography/iaesx64.asm
[BITS 64]
[CPU intelnop]
; Copyright (c) 2010, Intel Corporation
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; * Redistributions of... |
Snake.asm | Zoomelectrico/Snake | 0 | 19087 | #################################################
# 1er Proyecto de Organización del Computador #
# Snake Version 2.0 #
# <NAME> & <NAME> #
# Teclas para usar: #
# w (Arriba/up) #
# s (Abajo/dow... |
oeis/130/A130838.asm | neoneye/loda-programs | 11 | 95256 | ; A130838: Sorted list of strings that can be obtained by starting with 12 and repeatedly doubling any substring in place.
; Submitted by <NAME>
; 12,112,122,1112,1122,1212,1222,11112,11122,11212,11222,12112,12122,12212,12222,111112,111122,111212,111222,112112,112122,112212,112222,121112,121122,121212,121222,122112,122... |
bench/virtines/fib16.asm | The0x539/wasp | 4 | 169518 | <gh_stars>1-10
[bits 16]
[org 0x8000]
[section .text]
global _start
_start:
mov esp, 0x8000
mov esi, 20
call fib
hlt
fib:
cmp esi, 2
jge .fib_sum
mov eax, esi
ret
.fib_sum:
;# stack: [ acc ] [ arg ]
;# esp + 0 esp+4
sub esp, 8
mov dword [esp + 4], esi
mov dword [esp + 0], 0
... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1769.asm | ljhsiun2/medusa | 9 | 89881 | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1d3c8, %rsi
lea addresses_D_ht+0x11cc8, %rdi
nop
nop
nop
nop
nop
dec %r9
mov $124, %rcx
rep movsl
add %rdx, %rdx
lea addresses_normal_ht+0x21c8, %rbx
nop
nop
nop
nop
nop
cmp ... |
oeis/200/A200380.asm | neoneye/loda-programs | 11 | 86897 | <gh_stars>10-100
; A200380: Expansion of e.g.f. exp(x+x^2-1/6*x^3).
; Submitted by <NAME>
; 1,1,3,6,21,51,201,498,2241,4581,26991,17766,359613,-995409,6968781,-53627454,259953921,-2292378327,13839388731,-108459180954,809434284741,-6158416812309,50614251147153,-407335408369614,3478999597913601,-30042633320442099,2661079... |
source/s-startu.ads | ytomino/drake | 33 | 23241 | <filename>source/s-startu.ads
pragma License (Unrestricted);
-- runtime unit
package System.Startup is
pragma Preelaborate;
-- command arguments (initialize.c)
argc : Integer
with Export, Convention => C, External_Name => "gnat_argc";
argv : Address
with Export, Convention => C, External_Na... |
acceptance_test_lib.adb | oysteinlondal/Inverted-Pendulum | 0 | 14596 | <reponame>oysteinlondal/Inverted-Pendulum<filename>acceptance_test_lib.adb<gh_stars>0
package body Acceptance_Test_Lib is
procedure Acceptance_Test(Max, Min, Value : in Float; Computation_Time, Max_Computation_Time: in Ada.Real_Time.Time_Span; Count : in Integer) is
begin
if Value > M... |
compiler/ti-cgt-arm_18.12.4.LTS/lib/src/fs_div_t2.asm | JosiahCraw/TI-Arm-Docker | 0 | 12508 | ;******************************************************************************
;* FS_DIV_T2.ASM - THUMB-2 STATE - *
;* *
;* Copyright (c) 1996 Texas Instruments Incorporated *
... |
oeis/017/A017604.asm | neoneye/loda-programs | 11 | 2875 | <reponame>neoneye/loda-programs
; A017604: a(n) = (12n+6)^12.
; 2176782336,1156831381426176,531441000000000000,30129469486639681536,614787626176508399616,6831675453247426400256,50714860157241037295616,282429536481000000000000,1268241794562545318301696,4817904819828488880132096,16012035393449278995173376,477033673636958... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1777.asm | ljhsiun2/medusa | 9 | 178170 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %rbp
push %rbx
push %rdx
push %rsi
lea addresses_WC_ht+0x15257, %rbx
nop
nop
add $10314, %r12
mov (%rbx), %dx
nop
nop
nop
nop
xor $8643, %rbx
lea addresses_D_ht+0xb487, %rsi
nop
nop
nop
nop
and %rbp, %rbp
mov $0x61626364656667... |
oeis/229/A229281.asm | neoneye/loda-programs | 11 | 81226 | <filename>oeis/229/A229281.asm
; A229281: Number of ascending runs in {1,...,7}^n.
; Submitted by <NAME>
; 0,7,77,735,6517,55223,453789,3647119,28824005,224827239,1735205101,13276336703,100843663893,761270796055,5716451614013,42728053589487,318086621166181,2359538070441671,17447288549040525,128644674234925471,946108300... |
04_spectre_full/gadget/01.asm | msmania/microarchitectural-attack | 17 | 1227 | global IndirectCall
global Touch
section .text
IndirectCall:
mov rax, rcx
mov rcx, rdx
mov rdx, r8
clflush [rax]
call [rax]
ret
Touch:
movzx eax, byte [rcx]
shl rax, 0Ch
mov al, byte [rax+rdx]
sysenter
|
oeis/030/A030637.asm | neoneye/loda-programs | 11 | 88863 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A030637: Numbers with 19 divisors.
; Submitted by <NAME>
; 262144,387420489,3814697265625,1628413597910449,5559917313492231481,112455406951957393129,14063084452067724991009,104127350297911241532841,3244150909895248285300369,210457284365172120330305161,699053619999045038... |
data/phone/text/jose_caller.asm | Dev727/ancientplatinum | 28 | 179466 | JoseAromaText:
text "Hey listen, my"
line "@"
text_ram wStringBuffer4
text "'s stick"
para "has this really"
line "delicious aroma."
para "That aroma gets my"
line "appetite going!"
done
UnknownText_0x174f90:
text "A while ago, my"
line "FARFETCH'D KO'd"
cont "this @"
text_ram wStringBuffer4
text "."
... |
programs/oeis/203/A203639.asm | neoneye/loda | 22 | 164487 | <filename>programs/oeis/203/A203639.asm
; A203639: Multiplicative with a(p^e) = e*p^(e-1).
; 1,1,1,4,1,1,1,12,6,1,1,4,1,1,1,32,1,6,1,4,1,1,1,12,10,1,27,4,1,1,1,80,1,1,1,24,1,1,1,12,1,1,1,4,6,1,1,32,14,10,1,4,1,27,1,12,1,1,1,4,1,1,6,192,1,1,1,4,1,1,1,72,1,1,10,4,1,1,1,32,108,1,1,4,1,1,1,12,1,6,1,4,1,1,1,80,1,14,6,40
se... |
ee/wman/drpns.asm | olifink/smsqe | 0 | 179670 | ; Draw PAN and SCROLL bits V1.02 1986 <NAME> QJUMP
section wman
xdef wm_drpns
xref wm_drupa
xref wm_drdna
xref wm_drlta
xref wm_drrta
include dev8_keys_wwork
include dev8_keys_wstatus
; d0 r error return
; a0 c p ... |
awa/plugins/awa-wikis/src/awa-wikis-servlets.adb | twdroeger/ada-awa | 81 | 27678 | -----------------------------------------------------------------------
-- awa-wikis-servlets -- Serve files saved in the storage service
-- Copyright (C) 2016, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in co... |
Data/Fin/Injective.agda | oisdk/agda-playground | 6 | 13504 | <reponame>oisdk/agda-playground
{-# OPTIONS --cubical --safe #-}
module Data.Fin.Injective where
open import Prelude
open import Data.Fin.Base
open import Data.Fin.Properties using (discreteFin)
open import Data.Nat
open import Data.Nat.Properties using (+-comm)
open import Function.Injective
private
variable ... |
test/Fail/UselessPrivateImport.agda | redfish64/autonomic-agda | 3 | 11228 | <reponame>redfish64/autonomic-agda
module UselessPrivateImport where
private
open import Common.Prelude
|
oeis/261/A261010.asm | neoneye/loda-programs | 11 | 161439 | ; A261010: Write 5^n in base 3, add up the "digits".
; Submitted by <NAME>(s1)
; 1,3,5,7,7,9,9,13,15,13,13,17,19,21,21,27,25,25,25,23,27,33,31,39,35,45,37,57,45,47,45,45,53,47,55,51,57,59,67,67,69,65,67,65,71,79,71,65,67,75,65,71,73,83,69,79,81,85,79,89,87,95,89,85,97,99,93,101,107,113,103,119,121,107,105,121,105,113,1... |
src/natools-web-sites.adb | faelys/natools-web | 1 | 21817 | ------------------------------------------------------------------------------
-- Copyright (c) 2014-2019, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose ... |
app/src/main/antlr/SmaliLexer.g4 | ARTI1208/AnDroRaider | 0 | 3436 | //MIT License
//
//Copyright (c) 2018 psygate
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, including without limitation the rights
//to use, copy, modify, merge, pu... |
ada_pi_dir/pi.adb | adrianjhpc/pi_examples | 19 | 26459 | <filename>ada_pi_dir/pi.adb
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Calendar; use Ada.Calendar;
with Ada.Command_Line; use Ada.Command_line;
procedure Pi is
n, i : Long_Integer;
sum, x, slice, mp, rt : Long_Float;
start, stop : Time;
begin
n:=1000000000;
-- Parsing arguments is relatively painless.
if... |
src/gnat/prj-ext.adb | My-Colaborations/dynamo | 15 | 30412 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
src/main/antlr/STParser.g4 | FHannes/jetbrains-plugin-st4 | 0 | 2924 | <filename>src/main/antlr/STParser.g4
/* [The "BSD license"]
* Copyright (c) 2011-2014 <NAME>
* Copyright (c) 2015 <NAME>
* 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. Redistributi... |
libsrc/fcntl/msxdos2/getwd.asm | jpoikela/z88dk | 640 | 15088 | <reponame>jpoikela/z88dk
SECTION code_clib
INCLUDE "target/msx/def/msxdos2.def"
PUBLIC getwd
PUBLIC _getwd
EXTERN MSXDOS
EXTERN msxdos_error
; (char *)
getwd:
_getwd:
pop bc
pop de ;64 byte buffer
push de
push bc
ld c,_GETCD
call MSXDOS
ld (msxdos_error),a
ld hl,0
and a
ret z
dec hl
ret
|
signal_solution.als | Alan32Liu/SWEN90010A2Marking | 0 | 1358 | open util/ordering[State] as ord
// the type of addresses
abstract sig Address {}
// some addresses are controlled by potential attackers
sig AttackerAddress extends Address {}
// one address belongs to the User who we model in this file
one sig UserAddress extends Address {}
// the four message types used in the ... |
programs/oeis/329/A329952.asm | karttu/loda | 1 | 7257 | ; A329952: Numbers k such that binomial(k,3) is divisible by 8.
; 0,1,2,8,10,16,17,18,24,26,32,33,34,40,42,48,49,50,56,58,64,65,66,72,74,80,81,82,88,90,96,97,98,104,106,112,113,114,120,122,128,129,130,136,138,144,145,146,152,154,160,161,162,168,170,176,177,178,184,186,192,193,194,200,202,208,209,210,216,218,224,225,226... |
Univalence/Obsolete/A2.agda | JacquesCarette/pi-dual | 14 | 11966 | {-# OPTIONS --without-K #-}
module A2 where
open import Data.Nat
open import Data.Empty
open import Data.Unit
open import Data.Sum
open import Data.Product
infix 4 _≡_ -- propositional equality
infixr 10 _◎_
infixr 30 _⟷_
------------------------------------------------------------------------------
-- Our own ... |
wof/lcs/base/326.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 91204 | copyright zengfr site:http://github.com/zengfr/romhack
001638 move.w A0, -(A4) [base+326]
00163A move.w A4, ($326,A5) [base+41A, base+41C, base+41E]
00163E addq.w #1, ($31a,A5) [base+326]
01A676 move.w D0, ($31a,A5) [base+326]
021574 clr.w ($31a,A5) [base+326]
copyright zengfr site:http://github.com/zengfr/... |
complexity/Samples.agda | benhuds/Agda | 2 | 2833 | <reponame>benhuds/Agda
{- SAMPLE PROGRAMS IN SOURCE LANGUAGE -}
{-# OPTIONS --no-termination-check #-}
open import Preliminaries
open import Source
module Samples where
{- dbl (n : nat) : nat = 2 * n -}
dbl : ∀ {Γ} → Γ |- (nat ->s nat)
dbl = lam (rec (var i0) z (suc (suc (force (var (iS i0))))))
{- add (m... |
specs/ada/server/ike/tkmrpc-operation_handlers-ike-cc_set_user_certificate.adb | DrenfongWong/tkm-rpc | 0 | 28327 | with Tkmrpc.Servers.Ike;
with Tkmrpc.Results;
with Tkmrpc.Request.Ike.Cc_Set_User_Certificate.Convert;
with Tkmrpc.Response.Ike.Cc_Set_User_Certificate.Convert;
package body Tkmrpc.Operation_Handlers.Ike.Cc_Set_User_Certificate is
-------------------------------------------------------------------------
proced... |
programs/oeis/022/A022117.asm | neoneye/loda | 22 | 179565 | <reponame>neoneye/loda<filename>programs/oeis/022/A022117.asm
; A022117: Fibonacci sequence beginning 2, 15.
; 2,15,17,32,49,81,130,211,341,552,893,1445,2338,3783,6121,9904,16025,25929,41954,67883,109837,177720,287557,465277,752834,1218111,1970945,3189056,5160001,8349057,13509058,21858115,35367173,57225288,92592461,149... |
programs/oeis/218/A218739.asm | neoneye/loda | 22 | 241506 | <filename>programs/oeis/218/A218739.asm
; A218739: a(n) = (36^n-1)/35.
; 0,1,37,1333,47989,1727605,62193781,2238976117,80603140213,2901713047669,104461669716085,3760620109779061,135382323952046197,4873763662273663093,175455491841851871349,6316397706306667368565,227390317427040025268341,8186051427373440909660277,2946978... |
software/minol/source/itoa.asm | paulscottrobson/retrochallenge-jan-2016 | 0 | 15926 | <filename>software/minol/source/itoa.asm
; ****************************************************************************************************************
; ****************************************************************************************************************
;
; Integer (Byte) Printer
; ... |
PRG/levels/Airship/W8Ship.asm | narfman0/smb3_pp1 | 0 | 17345 | ; Original address was $B6B1
; World 8 Battleship
.word W8BS_BossL ; Alternate level layout
.word W8BS_BossO ; Alternate object layout
.byte LEVEL1_SIZE_10 | LEVEL1_YSTART_140
.byte LEVEL2_BGPAL_07 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_70
.byte LEVEL3_TILESET_10 | LEVEL3_VSCROLL_LOCKLOW | LEVEL3_PIPENOTEXIT
.byte LE... |
OutsideIn/Prelude.agda | liamoc/outside-in | 2 | 7049 | module OutsideIn.Prelude where
open import Data.Nat public
open import Relation.Binary.PropositionalEquality public renaming ([_] to iC)
open import Relation.Nullary public
open import Function public hiding (case_of_)
cong₃ : ∀ {a b c d} {A : Set a} {B : Set b} {C : Set c} {D : Set d}
(f : A → ... |
tests/common-pages.ads | faelys/natools-web | 1 | 1173 | ------------------------------------------------------------------------------
-- Copyright (c) 2015, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- purpose ... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_1387.asm | ljhsiun2/medusa | 9 | 247855 | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x861b, %rsi
sub $25257, %r9
movw $0x6162, (%rsi)
nop
nop
nop
nop
add %rdx, %rdx
lea addresses_WT_ht+0x14260, %rdx
nop
nop
sub %rdi, %rdi
movl $0x61626364, (%rdx)
nop
nop
nop
no... |
programs/oeis/185/A185127.asm | neoneye/loda | 22 | 176950 | <filename>programs/oeis/185/A185127.asm
; A185127: a(n) = n 3's sandwiched between two 1's.
; 11,131,1331,13331,133331,1333331,13333331,133333331,1333333331,13333333331,133333333331,1333333333331,13333333333331,133333333333331,1333333333333331,13333333333333331,133333333333333331,1333333333333333331,1333333333333333333... |
mc-sema/validator/x86/tests/MOV8rr.asm | randolphwong/mcsema | 2 | 165036 | BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
; MOV8rr
mov ch, 0x2
mov dh, 0x3
;TEST_BEGIN_RECORDING
mov ch, dh
;TEST_END_RECORDING
|
src/main/antlr/Smooth.g4 | mikosik/smooth-build | 8 | 7545 | grammar Smooth;
module: ( struct | func )* EOF ;
struct: TYPE_IDENTIFIER '{' fieldList? '}' ;
fieldList: field ( ',' field )* ','? ;
field: type name ;
func: type? name ( '(' paramList? ')' )? ('=' pipe)? ';' ;
paramList: param ( ',' param )* ','? ;
param: type name ( '=' expr )... |
source/network-streams.ads | reznikmm/network | 1 | 24095 | -- SPDX-FileCopyrightText: 2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Ada.Streams;
with League.Strings;
package Network.Streams is
pragma Preelaborate;
------------------
-- Input Stream --
------------------
type Inp... |
models/hol/sygus/multiple_functions/commutative.als | johnwickerson/alloystar | 2 | 2919 | module commutative
open ../synth_ast
one sig X, Y extends IntVar {}
--------------------------------------------------------------------------------
-- Specification
-- (https://github.com/rishabhs/sygus-comp14/blob/master/benchmarks/multiple-functions/commutative.sl)
------------------------------------------------... |
bool-thms2.agda | heades/AUGL | 0 | 8061 | <reponame>heades/AUGL
module bool-thms2 where
open import bool
open import eq
open import product
open import sum
ff-imp : ∀ (b : 𝔹) → (ff imp b) ≡ tt
ff-imp ff = refl
ff-imp tt = refl
imp-tt : ∀ (b : 𝔹) → (b imp tt) ≡ tt
imp-tt ff = refl
imp-tt tt = refl
imp-ff : ∀ (b : 𝔹) → (b imp ff) ≡ ~ b
imp-ff tt = refl
im... |
oeis/053/A053644.asm | neoneye/loda-programs | 11 | 6979 | <filename>oeis/053/A053644.asm
; A053644: Most significant bit of n, msb(n); largest power of 2 less than or equal to n; write n in binary and change all but the first digit to zero.
; Submitted by <NAME>
; 0,1,2,2,4,4,4,4,8,8,8,8,8,8,8,8,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,32,32,32,32,32,32,32,32,32,32,32,... |
libtool/src/gmp-6.1.2/mpn/x86_64/aorrlsh_n.asm | kroggen/aergo | 1,602 | 241862 | dnl AMD64 mpn_addlsh_n and mpn_rsblsh_n. R = V2^k +- U.
dnl Copyright 2006, 2010-2012 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... |
programs/oeis/158/A158330.asm | karttu/loda | 1 | 247758 | ; A158330: 484n - 1.
; 483,967,1451,1935,2419,2903,3387,3871,4355,4839,5323,5807,6291,6775,7259,7743,8227,8711,9195,9679,10163,10647,11131,11615,12099,12583,13067,13551,14035,14519,15003,15487,15971,16455,16939,17423,17907,18391,18875,19359,19843,20327,20811,21295,21779,22263,22747,23231,23715,24199,24683,25167,25651,2... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.