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/254/A254029.asm | karttu/loda | 1 | 4992 | ; A254029: Positive solutions of Monkey and Coconut Problem for the classic case (5 sailors, 1 coconut to the monkey): a(n) = 15625*n - 4 for n >= 1.
; 15621,31246,46871,62496,78121,93746,109371,124996,140621,156246,171871,187496,203121,218746,234371,249996,265621,281246,296871,312496,328121,343746,359371,374996,390621... |
Library/Trans/Graphics/Vector/EPS/Export/exportArc.asm | steakknife/pcgeos | 504 | 168427 | <reponame>steakknife/pcgeos<gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1993 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: PostScript translation library
FILE: exportArc.asm
AUTHOR: <NAME>, Jan 18, 1993
ROUTINES:
Name De... |
test/Compiler/with-stdlib/DivMod.agda | andreasabel/agda-with-old-branches | 3 | 2043 | <reponame>andreasabel/agda-with-old-branches<filename>test/Compiler/with-stdlib/DivMod.agda
module DivMod where
open import IO
open import Data.Nat
open import Data.Nat.DivMod
open import Coinduction
open import Data.String
open import Data.Fin
g : ℕ
g = 7 div 5
k : ℕ
k = toℕ (7 mod 5)
showNat : ℕ → String
showNat ... |
list_chrome_safari_tabs.applescript | mkusaka/tab-poller | 0 | 978 | set _output to ""
tell application "Safari"
set _window_index to 1
repeat with _window in windows
try
set _tab_count to (count of tabs in _window)
set _tab_index to 1
repeat with _tab in tabs of _window
set _output to _outp... |
src/aco-protocols-service_data-clients.adb | jonashaggstrom/ada-canopen | 6 | 18563 | <reponame>jonashaggstrom/ada-canopen<filename>src/aco-protocols-service_data-clients.adb<gh_stars>1-10
package body ACO.Protocols.Service_Data.Clients is
overriding
procedure Handle_Message
(This : in out Client;
Msg : in ACO.Messages.Message;
Endpoint : in ACO.SDO_Sessions.E... |
malban/Release/VRelease/Release.History/VRelease_2017_04_07/Song/pattern10.asm | mikepea/vectrex-playground | 5 | 93517 | <filename>malban/Release/VRelease/Release.History/VRelease_2017_04_07/Song/pattern10.asm
; this file is part of Release, written by Malban in 2017
;
HAS_VOICE0 = 1
HAS_TONE0 = 1
FIRST7 = $3E
dw $0044
pattern10Data:
db $FF, $18, $97, $DE, $63, $FE, $1A, $7E, $E6, $34
db $ED, $FC, $70, $30, $7B, $9E, $43, $CD, $DD, $... |
dialectica-cats/prelude.agda | heades/AUGL | 0 | 10402 | module prelude where
open import level public
open import product public
open import product-thms public
open import sum public
open import empty public
open import unit public
open import functions renaming (id to id-set) public
open import eq public
open import list public
open import list-thms public
open import bo... |
examples/examplesPaperJFP/safeFibStackMachineObjectOriented.agda | agda/ooAgda | 23 | 3729 | module examplesPaperJFP.safeFibStackMachineObjectOriented where
open import Data.Nat
open import Data.List
open import Data.Vec
open import Data.Sum
open import Data.Fin renaming (_+_ to _+f_)
open import Data.Product
open import examplesPaperJFP.StatefulObject
open import examplesPaperJFP.StackBisim
open import exam... |
libsrc/games/c128/bit_open_di.asm | meesokim/z88dk | 0 | 16049 | ; $Id: bit_open_di.asm,v 1.2 2015/01/19 01:32:44 pauloscustodio Exp $
;
; TRS-80 1 bit sound functions
;
; Open sound and disable interrupts for exact timing
;
; <NAME> - 8/4/2008
;
PUBLIC bit_open_di
EXTERN bit_open
.bit_open_di
jp bit_open
ret
|
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1925.asm | ljhsiun2/medusa | 9 | 81743 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1d368, %r15
nop
sub %rdi, %rdi
movb $0x61, (%r15)
nop
xor %r13, %r13
lea addresses_WT_ht+0x1c928, %rdi
nop
sub %r8, %r8
mov $0x6162636465666768, %r11
m... |
programs/oeis/139/A139268.asm | karttu/loda | 1 | 161042 | ; A139268: Twice nonagonal numbers (or twice 9-gonal numbers): a(n) = n(7n-5).
; 0,2,18,48,92,150,222,308,408,522,650,792,948,1118,1302,1500,1712,1938,2178,2432,2700,2982,3278,3588,3912,4250,4602,4968,5348,5742,6150,6572,7008,7458,7922,8400,8892,9398,9918,10452,11000
mov $1,7
mul $1,$0
sub $1,5
mul $1,$0
|
oeis/047/A047855.asm | neoneye/loda-programs | 11 | 102943 | ; A047855: a(n) = T(7, n), array T given by A047848.
; 1,2,12,112,1112,11112,111112,1111112,11111112,111111112,1111111112,11111111112,111111111112,1111111111112,11111111111112,111111111111112,1111111111111112,11111111111111112,111111111111111112,1111111111111111112,11111111111111111112,111111111111111111112,11111111111... |
ioctl/IodBlockRemovable.asm | osfree-project/FamilyAPI | 1 | 245104 | ;--------------------------------------------------------
; Category 8 Function 20H Block Removable - not supported for versions below DOS 3.2
;--------------------------------------------------------
;
;
;
IODBLOCKREMOVABLE PROC NEAR
RET
IODBLOCKREMOVABLE ENDP
|
src/gnat/prj-attr-pm.adb | Letractively/ada-gen | 0 | 12364 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
TotalParserCombinators/Recogniser/Expression.agda | nad/parser-combinators | 1 | 15098 | <reponame>nad/parser-combinators
------------------------------------------------------------------------
-- Example: Left recursive expression grammar
------------------------------------------------------------------------
module TotalParserCombinators.Recogniser.Expression where
open import Codata.Musical.Notation... |
Parametric/Change/Evaluation.agda | inc-lc/ilc-agda | 10 | 2224 | <gh_stars>1-10
------------------------------------------------------------------------
-- INCREMENTAL λ-CALCULUS
--
-- Connecting Parametric.Change.Term and Parametric.Change.Value.
------------------------------------------------------------------------
import Parametric.Syntax.Type as Type
import Parametric.Syntax.... |
newEmptyCombinedGrammar.g4 | EgorSidorov/swiftCompiler | 1 | 4868 | <filename>newEmptyCombinedGrammar.g4
grammar newEmptyCombinedGrammar;
|
_lessons/06-dynamic/code/state_machine.als | HanielB/2021.1-fm | 0 | 3960 | sig State {
successor : set State
}
sig Initial extends State {}
pred atLeastOneInitial {
some Initial
}
pred deterministic {
one Initial
all s: State | lone s.successor
}
pred nondeterministic {
atLeastOneInitial
not deterministic
}
pred unreachable {
atLeastOneInitial
some State -... |
toggle_dark_mode.applescript | emanuelbesliu/applescripts | 0 | 1895 | <reponame>emanuelbesliu/applescripts<filename>toggle_dark_mode.applescript
tell application "System Events"
tell appearance preferences
if dark mode is false then
set dark mode to true
else
set dark mode to false
end if
end tell
end tell
|
projects/batfish/src/main/antlr4/org/batfish/grammar/palo_alto/PaloAlto_shared.g4 | loftwah/batfish | 2 | 2099 | parser grammar PaloAlto_shared;
import PaloAlto_common, PaloAlto_service, PaloAlto_service_group;
options {
tokenVocab = PaloAltoLexer;
}
s_shared
:
SHARED
(
ss_common
| ss_null
)
;
// Common syntax between set shared and set vsys
ss_common
:
s_service
| s_service_group
|... |
source/streams/machine-w64-mingw32/s-natiio.adb | ytomino/drake | 33 | 1623 | with Ada.Exception_Identification.From_Here;
with System.Address_To_Named_Access_Conversions;
with System.Standard_Allocators;
with System.System_Allocators;
with C.basetsd;
with C.string;
with C.wincon;
with C.winerror;
package body System.Native_IO is
use Ada.Exception_Identification.From_Here;
use type Ada.IO_... |
oeis/315/A315728.asm | neoneye/loda-programs | 11 | 13314 | <gh_stars>10-100
; A315728: Coordination sequence Gal.6.342.6 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; Submitted by <NAME>
; 1,6,12,18,22,26,32,36,40,46,52,58,64,70,76,80,84,90,94,98,104,110,116,122,128,134,138,142,148,152,156... |
src/Builtin/Float.agda | lclem/agda-prelude | 0 | 6023 | <filename>src/Builtin/Float.agda
module Builtin.Float where
open import Prelude
open import Prelude.Equality.Unsafe
open import Agda.Builtin.Float
open Agda.Builtin.Float public using (Float)
natToFloat : Nat → Float
natToFloat = primNatToFloat
intToFloat : Int → Float
intToFloat (pos x) = natToFloat x
intToFlo... |
oeis/016/A016227.asm | neoneye/loda-programs | 11 | 175438 | <reponame>neoneye/loda-programs
; A016227: Expansion of 1/((1-x)(1-4x)(1-12x)).
; Submitted by <NAME>(s1)
; 1,17,225,2785,33761,406497,4883425,58622945,703562721,8443102177,101318624225,1215829083105,14589971366881,175079745881057,2100957308486625,25211489133495265,302537875328566241
mov $2,1
lpb $0
sub $0,1
add $... |
src/fot/LTC-PCF/Data/Nat/Rec.agda | asr/fotc | 11 | 3209 | ---------------------------------------------------------------------------
-- The rec definition using the fixed-point combinator
---------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-... |
popkcel/winx64.asm | popkc/popkcel | 0 | 240161 | .CODE
PUBLIC popkcSetjmp
PUBLIC popkcLongjmp
popkcSetjmp PROC
mov [rcx],rbx
mov [rcx+8h],rsi
mov [rcx+10h],rdi
mov [rcx+18h],rbp
mov [rcx+20h],r12
mov [rcx+28h],r13
mov [rcx+30h],r14
mov [rcx+38h],r15
movdqu [rcx+40h],xmm6
movdqu [rcx+50h],xmm7
movdqu [rcx+60h],xmm8
movdqu [rcx+70h],xmm9
movdqu [rcx... |
alloy4fun_models/trashltl/models/9/76XnFgiMRo579fBfN.als | Kaixi26/org.alloytools.alloy | 0 | 1644 | open main
pred id76XnFgiMRo579fBfN_prop10 {
always all f: File | once f in Protected implies always f in Protected
}
pred __repair { id76XnFgiMRo579fBfN_prop10 }
check __repair { id76XnFgiMRo579fBfN_prop10 <=> prop10o } |
labs/lab4/lab04B/lab04B/main.asm | stanley-jc/COMP2121 | 2 | 96947 | ;
; lab04B.asm
;
; Created: 9/20/2017 18:10:33 PM
; Author : <NAME>
;
; Replace with your application code
.include "m2560def.inc"
.def flag = r15 ;use flag to store the result
.def temp =r16
.def row =r17
.def col =r18
.def mask =r19
.def temp2 =r20
.def nletters = r21
.def lcd_temp = r... |
programs/oeis/060/A060145.asm | neoneye/loda | 22 | 240701 | ; A060145: a(n) = floor(n/tau) - floor(n/(1 + tau)).
; 0,0,1,0,1,2,1,2,1,2,3,2,3,4,3,4,3,4,5,4,5,4,5,6,5,6,7,6,7,6,7,8,7,8,9,8,9,8,9,10,9,10,9,10,11,10,11,12,11,12,11,12,13,12,13,12,13,14,13,14,15,14,15,14,15,16,15,16,17,16,17,16,17,18,17,18,17,18,19,18,19,20,19,20,19,20,21,20,21,22,21,22,21,22,23,22,23,22,23,24
trn $... |
Driver/Printer/PrintCom/Cursor/cursorConvert216.asm | steakknife/pcgeos | 504 | 1430 |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Epson type 9-pin print drivers
FILE: cursorConvert216.asm
AUTHOR: <NAME>, 14 March 1990
ROUTINES:
Name Description
---- -------... |
rdpfuzz-dynamorio/clients/drcachesim/tests/allasm_aarch64_prefetch.asm | fengjixuchui/rdpfuzz | 107 | 97671 | <filename>rdpfuzz-dynamorio/clients/drcachesim/tests/allasm_aarch64_prefetch.asm<gh_stars>100-1000
/* **********************************************************
* Copyright (c) 2020 Google, Inc. All rights reserved.
* Copyright (c) 2016 ARM Limited. All rights reserved.
* ********************************************... |
programs/oeis/005/A005766.asm | jmorken/loda | 1 | 246178 | <filename>programs/oeis/005/A005766.asm
; A005766: a(n) = cost of minimal multiplication-cost addition chain for n.
; 0,1,3,5,9,12,18,21,29,34,44,48,60,67,81,85,101,110,128,134,154,165,187,192,216,229,255,263,291,306,336,341,373,390,424,434,470,489,527,534,574,595,637,649,693,716,762,768,816,841,891,905,957,984,1038,10... |
pwnlib/shellcraft/templates/amd64/linux/getppid.asm | IMULMUL/python3-pwntools | 325 | 4958 | <filename>pwnlib/shellcraft/templates/amd64/linux/getppid.asm
<%
from pwnlib.shellcraft.amd64.linux import syscall
%>
<%page args=""/>
<%docstring>
Invokes the syscall getppid. See 'man 2 getppid' for more information.
Arguments:
</%docstring>
${syscall('SYS_getppid')}
|
FileAcc/FileAcc.asm | PluMGMK/DOS32pae | 20 | 162011 | <filename>FileAcc/FileAcc.asm<gh_stars>10-100
;--- sample demonstrating the use of the added dosext.obj module
;--- reads file c:\config.sys into buffer,
;--- then writes buffer contents to stdout.
.386
.model flat, stdcall
option casemap:none
option proc:private
lf equ 10
;--- define a... |
tools-src/gnu/gcc/gcc/ada/s-valwch.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 18979 | <reponame>enfoTek/tomato.linksys.e2000.nvram-mod
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
Task/Caesar-cipher/Ada/caesar-cipher.ada | LaudateCorpus1/RosettaCodeData | 1 | 16145 | <reponame>LaudateCorpus1/RosettaCodeData<gh_stars>1-10
with Ada.Text_IO;
procedure Caesar is
type M26 is mod 26;
function To_M26(C: Character; Offset: Character) return M26 is
begin
return M26(Character'Pos(C)-Character'Pos(Offset));
end To_M26;
function To_Character(Value: in M26; Offset: C... |
oeis/021/A021903.asm | neoneye/loda-programs | 11 | 245445 | <reponame>neoneye/loda-programs<filename>oeis/021/A021903.asm
; A021903: Decimal expansion of 1/899.
; Submitted by <NAME>(s1.)
; 0,0,1,1,1,2,3,4,7,0,5,2,2,8,0,3,1,1,4,5,7,1,7,4,6,3,8,4,8,7,2,0,8,0,0,8,8,9,8,7,7,6,4,1,8,2,4,2,4,9,1,6,5,7,3,9,7,1,0,7,8,9,7,6,6,4,0,7,1,1,9,0,2,1,1,3,4,5,9,3,9,9,3,3,2,5,9,1,7,6,8,6,3,1,8,... |
3-mid/impact/source/3d/collision/shapes/impact-d3-striding_mesh-triangle_index_vertex_array.adb | charlie5/lace | 20 | 10489 | <reponame>charlie5/lace
-- #include "impact.d3.striding_Mesh.triangle_index_vertex_array.h"
package body impact.d3.striding_Mesh.triangle_index_vertex_array
--
--
--
is
procedure addIndexedMesh (Self : in out Item; mesh : in btIndexedMesh)
is
begin
Self.m_indexedMeshes.append (mesh);
-- ... |
Library/Text/Text/textManager.asm | steakknife/pcgeos | 504 | 246548 | COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: UserInterface/Text
FILE: textManager.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
John 12-Jun-89 Initial version
DESCR... |
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/ツール/tool/map/sfc/ysm_map.asm | prismotizm/gigaleak | 0 | 82687 | <reponame>prismotizm/gigaleak<filename>other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/ツール/tool/map/sfc/ysm_map.asm
Name: ysm_map.asm
Type: file
Size: 48782
Last-Modified: '2016-05-13T04:52:57Z'
SHA-1: 41D7728DB4F9CFB2C63537E14548609DDE1C87EF
Description: null
|
public/wintab/wintabx/close.asm | DannyParker0001/Kisak-Strike | 252 | 243310 | include xlibproc.inc
include Wintab.inc
PROC_TEMPLATE WTClose, 1, Wintab, -, 22
|
programs/oeis/083/A083028.asm | jmorken/loda | 1 | 84683 | <reponame>jmorken/loda<filename>programs/oeis/083/A083028.asm<gh_stars>1-10
; A083028: Numbers that are congruent to {0, 2, 3, 5, 7, 8, 11} mod 12.
; 0,2,3,5,7,8,11,12,14,15,17,19,20,23,24,26,27,29,31,32,35,36,38,39,41,43,44,47,48,50,51,53,55,56,59,60,62,63,65,67,68,71,72,74,75,77,79,80,83,84,86,87,89,91,92,95,96,98,99... |
case-studies/performance/verification/alloy/ppc/tests/lwswr000.als | uwplse/memsynth | 19 | 5165 | <reponame>uwplse/memsynth
module tests/lwswr000
open program
open model
/**
PPC lwswr000
"DpdR Fre LwSyncsWR Fre LwSyncsWR DpdR Fre LwSyncsWR Fre LwSyncsWR"
Cycle=DpdR Fre LwSyncsWR Fre LwSyncsWR DpdR Fre LwSyncsWR Fre LwSyncsWR
Relax=LwSyncsWR
Safe=Fre DpdR
{
0:r2=x;
1:r2=x; 1:r6=y;
2:r2=y;
3:r2=y; 3:r6=x;
}
P0 ... |
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sccz80/esx_f_getfree.asm | Toysoft/z88dk | 0 | 21215 | ; uint32_t esx_f_getfree(void)
SECTION code_esxdos
PUBLIC esx_f_getfree
EXTERN asm_esx_f_getfree
defc esx_f_getfree = asm_esx_f_getfree
|
linear_algebra/givens_qr_method.adb | jscparker/math_packages | 30 | 5343 |
---------------------------------------------------------------------------
-- package body Givens_QR_Method
-- Copyright (C) 2011-2018 <NAME>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyright notice an... |
src/main/antlr4/io/horizondb/db/parser/Hql.g4 | blerer/horizondb | 12 | 3848 | <gh_stars>10-100
grammar Hql;
fragment A_
: 'a'
| 'A'
;
fragment B_
: 'b'
| 'B'
;
fragment C_
: 'c'
| 'C'
;
fragment D_
: 'd'
| 'D'
;
fragment E_
: 'e'
| 'E'
;
fragment F_
: 'f'
| 'F'
;
fragment G_
: '... |
oeis/177/A177353.asm | neoneye/loda-programs | 11 | 245498 | <filename>oeis/177/A177353.asm
; A177353: n! (mod n^2+1).
; Submitted by <NAME>
; 1,2,6,7,16,17,40,20,30,72,108,45,20,188,206,115,240,0,12,266,0,355,440,17,612,271,260,485,302,459,884,750,930,936,1064,1088,860,0,196,1430,1218,1725,0,143,916,870,0,1990,2024,2419,2,2610,2770,1355,2040,99,0,465,310,2015,432,3125,1480,2074... |
programs/oeis/132/A132233.asm | neoneye/loda | 22 | 165425 | <gh_stars>10-100
; A132233: Primes congruent to 13 (mod 30).
; 13,43,73,103,163,193,223,283,313,373,433,463,523,613,643,673,733,823,853,883,1033,1063,1093,1123,1153,1213,1303,1423,1453,1483,1543,1663,1693,1723,1753,1783,1873,1933,1993,2053,2083,2113,2143,2203,2293,2383,2473,2503,2593,2683,2713,2803,2833,2953,3163,3253,... |
programs/oeis/131/A131028.asm | neoneye/loda | 22 | 95462 | <filename>programs/oeis/131/A131028.asm
; A131028: Periodic sequence (7, 4, 1, 1, 4, 7).
; 7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1,4,7,7,4,1,1
sub $0,739
dif $0,2
gcd $0,$... |
src/svg.adb | SKNZ/BoiteMaker | 0 | 8590 | <reponame>SKNZ/BoiteMaker<gh_stars>0
with ada.strings.unbounded;
use ada.strings.unbounded;
with point_list;
use point_list;
with point;
use point;
with halfbox_panel;
use halfbox_panel;
with halfbox;
use halfbox;
with logger;
use logger;
with imagemagick;
package body svg is
function get_svg(box : box_parts_t; in... |
vp9/encoder/arm/neon/vp9_dct_ht_16x16_neon_asm.asm | ittiamvpx/libvpx | 14 | 82034 | <gh_stars>10-100
;
; Copyright (c) 2013 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All c... |
commands/system/toggle-desktop-icons.applescript | daviddzhou/script-commands | 1 | 2085 | #!/usr/bin/osascript
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Toggle Desktop Icons
# @raycast.mode silent
# @raycast.packageName System
# Optional parameters:
# @raycast.icon 🖥
# @raycast.author Raycast
# @raycast.authorURL https://raycast.com
# @raycast.description A script command to show... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i9-9900K_12_0xca_notsx.log_21829_1273.asm | ljhsiun2/medusa | 9 | 96416 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1b8ab, %r9
add $9149, %r8
movb $0x61, (%r9)
nop
nop
nop
nop
nop
sub %rsi, %rsi
lea addresses_UC_ht+0x16dc1, %r10
nop
nop
nop
xor $32880, %r14
mov $0x6... |
programs/oeis/047/A047444.asm | neoneye/loda | 22 | 12821 | ; A047444: Numbers that are congruent to {0, 3, 5, 6} mod 8.
; 0,3,5,6,8,11,13,14,16,19,21,22,24,27,29,30,32,35,37,38,40,43,45,46,48,51,53,54,56,59,61,62,64,67,69,70,72,75,77,78,80,83,85,86,88,91,93,94,96,99,101,102,104,107,109,110,112,115,117,118,120,123,125
mov $1,$0
mul $0,4
add $1,21
mod $1,4
add $0,$1
div $0,2
|
oeis/168/A168088.asm | neoneye/loda-programs | 11 | 241202 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A168088: a(n) = 2^tetranacci(n).
; Submitted by <NAME>
; 1,1,1,2,2,4,16,256,32768,536870912,72057594037927936,324518553658426726783156020576256,411376139330301510538742295639337626245683966408394965837152256,51644997561738171793118383440060237486594115856584470256613187... |
programs/oeis/087/A087131.asm | neoneye/loda | 22 | 15122 | ; A087131: a(n) = 2^n*Lucas(n), where Lucas = A000032.
; 2,2,12,32,112,352,1152,3712,12032,38912,125952,407552,1318912,4268032,13811712,44695552,144637952,468058112,1514668032,4901568512,15861809152,51329892352,166107021312,537533612032,1739495309312
seq $0,14335 ; Exponential convolution of Fibonacci numbers with the... |
Src/Ant32/foo.asm | geoffthorpe/ant-architecture | 0 | 864 | <filename>Src/Ant32/foo.asm
lc g0, 10
push g0
pop g1
halt
|
oeis/099/A099801.asm | neoneye/loda-programs | 11 | 28424 | ; A099801: PrimePi(2n+1), the number of primes less than or equal to 2n+1.
; Submitted by <NAME>(w2)
; 0,2,3,4,4,5,6,6,7,8,8,9,9,9,10,11,11,11,12,12,13,14,14,15,15,15,16,16,16,17,18,18,18,19,19,20,21,21,21,22,22,23,23,23,24,24,24,24,25,25,26,27,27,28,29,29,30,30,30,30,30,30,30,31,31,32,32,32,33,34,34,34,34,34,35,36,36,... |
programs/oeis/004/A004646.asm | neoneye/loda | 22 | 160950 | ; A004646: Powers of 2 written in base 7.
; 1,2,4,11,22,44,121,242,514,1331,2662,5654,14641,32612,65524,164351,362032,1054064,2141161,4312352,11625034,23553101,50436202,131205404,262414111,555131222,1443262444,3216555221,6436443442,16206220214,35415440431,104134211162,211301422354,422603145041,1145506323112,23243156462... |
resources/scripts/api/robtex.ads | omarafify1990/Amass | 1 | 7700 | <reponame>omarafify1990/Amass
-- Copyright 2021 <NAME>. All rights reserved.
-- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
local json = require("json")
name = "Robtex"
type = "api"
function start()
setratelimit(1)
end
function vertical(ctx, domain)
local c... |
bfloat/debug_fsin.asm | DW0RKiN/Floating-point-Library-for-Z80 | 12 | 85824 | <reponame>DW0RKiN/Floating-point-Library-for-Z80<filename>bfloat/debug_fsin.asm
if not defined FSIN
INCLUDE "print_fp.asm"
; HL = ln(abs(HL))
DEBUG@FSIN:
FSIN:
CALL @FSIN ; 3:17
PUSH HL ; 1:11
LD HL, 'S'+'N' * 256 ; 3:10 "SN"
LD ... |
grep.asm | PieMyth/cs333 | 0 | 19731 |
_grep: file format elf32-i386
Disassembly of section .text:
00000000 <grep>:
char buf[1024];
int match(char*, char*);
void
grep(char *pattern, int fd)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 18 sub $0x18,%esp
int n, m;
char *p, *q;
... |
src/bases.ads | thindil/steamsky | 80 | 6033 | <filename>src/bases.ads
-- Copyright 2016-2021 <NAME>
--
-- This file is part of Steam Sky.
--
-- Steam Sky is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
... |
out/Prod/Syntax.agda | JoeyEremondi/agda-soas | 39 | 4977 | <filename>out/Prod/Syntax.agda
{-
This second-order term syntax was created from the following second-order syntax description:
syntax Prod | P
type
_⊗_ : 2-ary | l40
term
pair : α β -> α ⊗ β | ⟨_,_⟩
fst : α ⊗ β -> α
snd : α ⊗ β -> β
theory
(fβ) a : α b : β |> fst (pair(a, b)) = a
(sβ) a ... |
oeis/105/A105042.asm | neoneye/loda-programs | 11 | 22075 | ; A105042: Numbers n such that 10n - 1 is prime.
; Submitted by <NAME>
; 2,3,6,8,9,11,14,15,18,20,23,24,27,35,36,38,39,41,42,44,45,48,50,51,57,60,62,66,71,72,74,77,81,83,84,86,92,93,101,102,104,105,107,111,113,123,125,126,128,129,132,140,141,143,144,146,149,150,155,156,158,161,162,167,170,171,176,179,188,189,195,198,20... |
examples/UnSized/Console.agda | agda/ooAgda | 23 | 8095 | <reponame>agda/ooAgda
module UnSized.Console where
open import UnSizedIO.Base hiding (main)
open import UnSizedIO.Console hiding (main)
open import NativeIO
{-# TERMINATING #-}
myProgram : IOConsole Unit
force myProgram = exec' getLine λ line →
delay (exec' (putStrLn line) λ _ ... |
source/required/s-caun16.ads | ytomino/drake | 33 | 6589 | <filename>source/required/s-caun16.ads
pragma License (Unrestricted);
-- implementation unit required by compiler
with System.Packed_Arrays;
package System.Compare_Array_Unsigned_16 is
pragma Preelaborate;
-- It can not be Pure, subprograms would become __attribute__((const)).
type Unsigned_16 is mod 2 *... |
.emacs.d/elpa/ada-ref-man-2012.5/progs/arm_sub.ads | caqg/linux-home | 0 | 20818 | with ARM_Output;
with ARM_Index;
package ARM_Subindex is
--
-- Ada reference manual formatter (ARM_Form).
--
-- This package contains the database to store subindex items for
-- non-normative appendixes.
--
-- ---------------------------------------
-- Copyright 2005, 2011
... |
programs/oeis/040/A040055.asm | neoneye/loda | 22 | 102045 | ; A040055: Continued fraction for sqrt(63).
; 7,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1,14,1
mov $1,$0
cmp $0,0
sub $... |
alloy4fun_models/trashltl/models/4/om8hLues5RwQwfTHE.als | Kaixi26/org.alloytools.alloy | 0 | 1550 | open main
pred idom8hLues5RwQwfTHE_prop5 {
eventually some f:File | no f & File
}
pred __repair { idom8hLues5RwQwfTHE_prop5 }
check __repair { idom8hLues5RwQwfTHE_prop5 <=> prop5o } |
smash/shellcode_nz.nasm | phaser/smashing_the_stack | 1 | 4625 | <filename>smash/shellcode_nz.nasm
bits 64
section .text
global _start
_start:
nop
jmp jmp_call64
call_back64:
; execve
pop rsi
mov rax, 0xFFFFFFFFFFFFFFFF
sub rax, 0xFFFFFFFFFFFFFFC4
mov rdi, rsi ; *filename
xor rsi, rsi ; *argv
xor rdx, rdx ... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1835.asm | ljhsiun2/medusa | 9 | 18349 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1835.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1ad00, %rdx
nop
nop
nop
nop
nop
add $18439, %r14
an... |
libsrc/_DEVELOPMENT/arch/zx/nirvanap/c/sdcc/NIRVANAP_paintC_callee.asm | teknoplop/z88dk | 0 | 240133 | ; ----------------------------------------------------------------
; Z88DK INTERFACE LIBRARY FOR NIRVANA+ ENGINE - by <NAME>
;
; See "nirvana+.h" for further details
; ----------------------------------------------------------------
; void NIRVANAP_paintC(unsigned char *attrs, unsigned int lin, unsigned int col)
; cal... |
src/openapi-streams-forms.ads | mgrojo/swagger-ada | 0 | 2009 | -----------------------------------------------------------------------
-- openapi-streams-forms -- x-www-form-urlencoded streams
-- Copyright (C) 2018, 2022 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance... |
8088/cga/interlace/25.asm | reenigne/reenigne | 92 | 96268 | org 0x100
cpu 8086
xor ax,ax
mov ds,ax
mov byte[0x485],16 ; Request 25 line mode
ret
|
source/league/league-pretty_printers.adb | svn2github/matreshka | 24 | 23495 | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
engine/items/tmhm.asm | adhi-thirumala/EvoYellow | 16 | 166174 | ; checks if the mon in [wWhichPokemon] already knows the move in [wMoveNum]
CheckIfMoveIsKnown:
ld a, [wWhichPokemon]
ld hl, wPartyMon1Moves
ld bc, wPartyMon2 - wPartyMon1
call AddNTimes
ld a, [wMoveNum]
ld b, a
ld c, NUM_MOVES
.loop
ld a, [hli]
cp b
jr z, .alreadyKnown ; found a match
dec c
jr nz, .loop
a... |
modules/parsers/parser-hdbdd/src/main/antlr4/com/sap/xsk/parser/hdbdd/core/Cds.g4 | ThuF/xsk | 0 | 183 | grammar Cds;
cdsFile: namespaceRule
usingRule*
topLevelSymbol?;
namespaceRule: NAMESPACE members+=ID ('.' members+=ID)* ';';
usingRule: USING pack+=ID ('.' pack+=ID)* '::' members+=ID ('.' members+=ID)* (AS alias=ID)? ';';
topLevelSymbol: contextRule | entityRule | structuredDataTypeRule | dataTypeR... |
libsrc/_DEVELOPMENT/adt/w_vector/c/sccz80/w_vector_insert_n.asm | meesokim/z88dk | 0 | 177935 | <gh_stars>0
; size_t w_vector_insert_n(w_vector_t *v, size_t idx, size_t n, void *item)
SECTION code_adt_w_vector
PUBLIC w_vector_insert_n
EXTERN asm_w_vector_insert_n
w_vector_insert_n:
pop ix
pop af
pop de
pop bc
pop hl
push hl
push bc
push de
push af
push ix
jp asm_w_ve... |
examples/stm32f1/swo/main.adb | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 20750 | <filename>examples/stm32f1/swo/main.adb
with Last_Chance_Handler; pragma Unreferenced (Last_Chance_Handler);
with Ada.Real_Time; use Ada.Real_Time;
with Ada.Text_IO; use Ada.Text_IO;
with STM32GD.Board; use STM32GD.Board;
with STM32GD.GPIO; use STM32GD.GPIO;
with STM32GD.GPIO.Pin;
with STM32GD.EXTI;
with STM32_SVD.... |
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-coinve.adb | orb-zhuchen/Orb | 0 | 26759 | ------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
oeis/025/A025964.asm | neoneye/loda-programs | 11 | 177427 | ; A025964: Expansion of 1/((1-2x)(1-4x)(1-5x)(1-12x)).
; Submitted by <NAME>
; 1,23,359,4843,61287,753315,9137263,110167211,1324737623,15911030707,191005360767,2292437677179,27511152416359,330143464656899,3961770291040271,47541489215721547,570499107794719095
mov $1,1
mov $2,$0
mov $3,$0
lpb $2
mov $0,$3
sub $2,1
... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i7-7700_9_0xca.log_21829_1459.asm | ljhsiun2/medusa | 9 | 246022 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i7-7700_9_0xca.log_21829_1459.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x10d77, %rax
nop
cmp $37290, %rsi
mov $0x6162636465666768, ... |
source/amf/mof/cmof/amf-internals-tables-cmof_metamodel-objects.ads | svn2github/matreshka | 24 | 585 | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
src/main/antlr4/imports/Instructions.g4 | Yucukof/edu-antlr4-toy-parser-to-nbc | 0 | 2887 | <gh_stars>0
grammar Instructions;
import Expressions
, Words;
instruction: skip='skip' # SkipInstr
| IF expression THEN body (ELSE body)? DONE # IfInstr
| WHILE expression DO body DONE # WhileInstr
| SET variable TO expression ... |
oeis/049/A049859.asm | neoneye/loda-programs | 11 | 23492 | <filename>oeis/049/A049859.asm<gh_stars>10-100
; A049859: a(n) = Sum_{k=0,1,2,...,n-4,n-2,n-1} a(k); a(n-3) is not a summand; 3 initial terms required.
; Submitted by <NAME>
; 0,1,3,4,7,12,23,43,81,151,282,526,982,1833,3422,6388,11925,22261,41556,77575,144814,270333,504647,942055,1758591,3282868,6128328,11440120,213559... |
dependencies/agar/ada-gui/UNIT_TESTS/ada_size.adb | amvb/GUCEF | 5 | 16976 | <gh_stars>1-10
-- auto generated, do not edit
with ada.text_io;
with ada.command_line;
with agar;
with agar.gui;
with agar.gui.colors;
with agar.gui.pixelformat;
with agar.gui.point;
with agar.gui.rect;
with agar.gui.style;
with agar.gui.surface;
with agar.gui.text;
with agar.gui.unit;
with agar.gui.view;
with agar.g... |
Transynther/x86/_processed/NC/_st_sm_/i7-7700_9_0x48.log_2_1865.asm | ljhsiun2/medusa | 9 | 88591 | <filename>Transynther/x86/_processed/NC/_st_sm_/i7-7700_9_0x48.log_2_1865.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x18285, %rax
clflush (%rax)
nop
nop
xor %rdi, %rdi
movw $0x6162, (%rax)
nop
nop
nop
and $47030, ... |
oeis/338/A338467.asm | neoneye/loda-programs | 11 | 1437 | <filename>oeis/338/A338467.asm
; A338467: a(n+1) = prime(n) + 2*n - a(n). a(1) = 1.
; Submitted by <NAME>
; 1,3,4,7,8,13,12,19,16,25,24,29,32,35,36,41,44,49,48,57,54,61,62,67,70,77,76,81,82,85,88,101,94,109,98,121,102,129,110,135,118,143,122,155,126,161,130,175,144,181,148,187,156,191,168,199,176,207,180,215
mov $2,$0... |
Sept10/2.asm | s10singh97/Microprocessor_Lab | 0 | 4740 |
;ASCII to Hex
MVI a,43h
mvi d,30H
mvi e,37H
cpi 41H
jc less
sub e
sta 4000H
hlt
less: sub d
sta 4000H
hlt |
resources/scripts/api/onyphe.ads | Elon143/Amass | 7,053 | 12423 | <gh_stars>1000+
-- Copyright 2021 <NAME>. All rights reserved.
-- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
local json = require("json")
name = "ONYPHE"
type = "api"
function start()
set_rate_limit(1)
end
function check()
local c
local cfg = datasrc_c... |
32bits.asm | leo-ventura/computer-architecture | 0 | 165116 | <filename>32bits.asm
; Programa para o primeiro trabalho de progrmação no Simus
; Alunos: <NAME>
; <NAME>
; <NAME>
;
; Grupo B
;-------------------------------------------------------------
; Como nosso acumulador tem apenas 8 bits, precisaremos de 4 leituras
; para lermos todos os 4 bits passados
ORG... |
programs/oeis/247/A247974.asm | jmorken/loda | 1 | 25710 | <filename>programs/oeis/247/A247974.asm
; A247974: Numbers k such that A247973(k+1) = A247973(k).
; 1,6,11,15,20,25,29,34,39,43,48,52,57,62,66,71,76,80,85,90,94,99,104,108,113,118,122,127,132,136,141,146,150,155,160,164,169,174,178,183,188,192,197,202,206,211,216,220,225,230,234,239,244,248,253,258
mov $1,$0
add $1,5
... |
drivers/dynamics.adb | sciencylab/lagrangian-solver | 0 | 15164 | with Numerics, Ada.Text_IO;
use Numerics, Ada.Text_IO;
procedure Dynamics is
use Real_IO, Int_IO, Real_Functions;
Dt_Exception : exception;
function Func (X : in Real_Array) return Real_Array is
Result : Real_Array (X'Range);
Q : Real_Array renames X (1 .. 2);
P : constant Real_Arra... |
1-base/math/source/generic/pure/geometry/any_math-any_geometry-any_d3-any_modeller-any_forge.ads | charlie5/lace | 20 | 4334 | generic
package any_Math.any_Geometry.any_d3.any_Modeller.any_Forge
--
-- Provides constructors for several geometry primitives.
--
is
function to_Box_Model (half_Extents : in Vector_3 := (0.5, 0.5, 0.5)) return a_Model;
function to_Capsule_Model (Length : in Real := 1.0;
... |
libsrc/graphics/text6/loadudg6.asm | meesokim/z88dk | 0 | 82169 | <gh_stars>0
;
; Generic pseudo graphics routines for text-only platforms
; Version for the 2x3 graphics symbols
;
; Written by <NAME> 2014
;
;
; Load a 2x3 pseudo-graphics at HL position,
; starting from character C up to character B-1
;
;
; $Id: loadudg6.asm,v 1.4 2015/01/19 01:32:51 pauloscustodio Exp $... |
engine/pokemon/categories.asm | Trap-Master/spacworld97-thingy | 0 | 85865 | <reponame>Trap-Master/spacworld97-thingy
GetMoveCategoryName:
; Copy the category name of move b to wStringBuffer1.
ld a, b
dec a
ld bc, MOVE_LENGTH
ld hl, Moves + MOVE_TYPE
call AddNTimes
ld a, BANK(Moves)
call GetFarByte
; Mask out the type
and $ff ^ TYPE_MASK
; Shift the category bits into the range 0-2
r... |
Applications/Google-Chrome/window/front tab/title.applescript | looking-for-a-job/applescript-examples | 1 | 1049 | <reponame>looking-for-a-job/applescript-examples
#!/usr/bin/osascript
tell application "Google Chrome"
if count of windows is not 0 then return title of active tab of front window
end tell
|
source/numerics/a-nscoar.ads | ytomino/drake | 33 | 1097 | <reponame>ytomino/drake
pragma License (Unrestricted);
with Ada.Numerics.Generic_Complex_Arrays;
with Ada.Numerics.Short_Complex_Types;
with Ada.Numerics.Short_Real_Arrays;
package Ada.Numerics.Short_Complex_Arrays is
new Generic_Complex_Arrays (Short_Real_Arrays, Short_Complex_Types);
pragma Pure (Ada.Numerics.Shor... |
Cats/Category/Constructions/Iso.agda | alessio-b-zak/cats | 0 | 1765 | <filename>Cats/Category/Constructions/Iso.agda
module Cats.Category.Constructions.Iso where
open import Relation.Binary using (IsEquivalence ; Setoid)
open import Level
open import Cats.Category.Base
open import Cats.Util.Conv
import Relation.Binary.EqReasoning as EqReasoning
import Cats.Category.Constructions.Epi ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.