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/opengl/source/opengl-tasks.adb | charlie5/lace | 20 | 6933 | <filename>3-mid/opengl/source/opengl-tasks.adb
package body openGL.Tasks
is
procedure check
is
use Ada,
ada.Task_Identification;
calling_Task : constant Task_Id := Task_Identification.current_Task;
-- TODO: Use the assert instead of the exception for performance.
-- pragma a... |
software/hal/boards/common/tools/units.ads | TUM-EI-RCS/StratoX | 12 | 25855 | <filename>software/hal/boards/common/tools/units.ads
-- Institution: Technische Universitaet Muenchen
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
-- Module: Units
--
-- Authors: <NAME> (<EMAIL>)
--
-- Description: Checked dimension system for physical calculations
-- Based ... |
source/nodes/program-nodes-null_statements.adb | optikos/oasis | 0 | 1882 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package body Program.Nodes.Null_Statements is
function Create
(Null_Token : not null Program.Lexical_Elements
.Lexical_Element_Ac... |
src/GUI/clock_window.adb | Fabien-Chouteau/coffee-clock | 7 | 6362 | -------------------------------------------------------------------------------
-- --
-- Coffee Clock --
-- --
... |
Transynther/x86/_processed/NONE/_st_/i7-7700_9_0x48.log_48_595.asm | ljhsiun2/medusa | 9 | 160559 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r14
push %r15
push %r8
push %r9
push %rsi
// Store
lea addresses_WC+0x19a47, %r10
nop
nop
nop
nop
xor %r15, %r15
mov $0x5152535455565758, %r11
movq %r11, %xmm7
movups %xmm7, (%... |
models/hol/sygus/integer_benchmarks/max.als | johnwickerson/alloystar | 2 | 3216 | module max
open ../synth2[spec]
--------------------------------------------------------------------------------
-- Specification
--------------------------------------------------------------------------------
pred spec[root: Node, eval: Node -> Int] {
all v: IntVar | eval[root] >= eval[v]
some v: IntVar | e... |
euler12.adb | kimtg/euler-ada | 7 | 6866 | <gh_stars>1-10
with Ada.Text_IO;
procedure Euler12 is
Triangle_Num : Positive := 1;
I : Positive := 1;
J : Positive;
Num_Divisors : Natural;
begin
loop
Num_Divisors := 0;
J := 1;
while J * J <= Triangle_Num loop
if Triangle_Num mod J = 0 then
Num_Divisors := Num_Divisors + 2;
... |
src/asmprocs.asm | MarioSieg/x86-64-GCC-C-ASM-Interop-Decl | 1 | 99530 | .extern printf
.text
.globl syscall_print
.globl add_numbers
.globl add_vec4_sse_f32
.globl mul_vec2_sse_f64
# arg1 = rdi
# arg2 = rsi
# arg3 = rdx
# arg4 = rcx
# arg5 = r8
# arg6 = r9
# arg..= stack spill
# ret = rax
syscall_print:
pushq %rbp
movq %rsp, %rbp
# 1st arg is already in rdi
xorq %rsi,... |
alloy4fun_models/trashltl/models/11/ipADGtxxtB8mWsZTW.als | Kaixi26/org.alloytools.alloy | 0 | 4888 | open main
pred idipADGtxxtB8mWsZTW_prop12 {
always all f:File | eventually f in Trash implies always f in Trash'
}
pred __repair { idipADGtxxtB8mWsZTW_prop12 }
check __repair { idipADGtxxtB8mWsZTW_prop12 <=> prop12o } |
test/Succeed/Issue1796rewrite.agda | shlevy/agda | 3 | 2219 | -- Andreas, 2016-04-14 issue 1796 for rewrite
-- {-# OPTIONS --show-implicit #-}
-- {-# OPTIONS -v tc.size.solve:100 #-}
-- {-# OPTIONS -v tc.with.abstract:40 #-}
open import Common.Size
open import Common.Equality
data Either (A B : Set) : Set where
left : A → Either A B
right : B → Either A B
either : {A B :... |
Experiment/Categories/Category/Monoidal/Coherence.agda | rei1024/agda-misc | 3 | 16506 | <filename>Experiment/Categories/Category/Monoidal/Coherence.agda
{-# OPTIONS --without-K --safe #-}
open import Categories.Category
open import Categories.Category.Monoidal
module Experiment.Categories.Category.Monoidal.Coherence
{o ℓ e} {𝒞 : Category o ℓ e} (M : Monoidal 𝒞) where
open import Level
open import D... |
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48_notsx.log_21829_927.asm | ljhsiun2/medusa | 9 | 89357 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48_notsx.log_21829_927.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %rcx
lea addresses_A_ht+0x11f3c, %r12
nop
nop
nop
nop
nop
sub %r13, %r13
mov $0x6162636465666768, %rcx
movq %rcx, %xmm7
movups %xmm... |
programs/oeis/159/A159465.asm | neoneye/loda | 22 | 99044 | ; A159465: Sums of odd numbers, omitting squares.
; 3,8,15,26,39,54,71,90,111,134,161,190,221,254,289,326,365,406,449,494,541,592,645,700,757,816,877,940,1005,1072,1141,1212,1285,1360,1437,1516,1599,1684,1771,1860,1951,2044,2139,2236,2335,2436,2539,2644,2751,2860,2971,3084,3199,3316,3435,3558,3683,3810,3939,4070,4203,4... |
gfx/pokemon/seaking/anim_idle.asm | Dev727/ancientplatinum | 28 | 95332 | setrepeat 2
frame 0, 15
frame 3, 15
frame 4, 15
dorepeat 1
endanim
|
source/xml/sax/xml-sax-writers.adb | svn2github/matreshka | 24 | 30572 | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
programs/oeis/155/A155195.asm | neoneye/loda | 22 | 174555 | <gh_stars>10-100
; A155195: a(n)=6*a(n-1)+a(n-2), n>2 ; a(0)=1, a(1)=5, a(2)=30 .
; 1,5,30,185,1140,7025,43290,266765,1643880,10130045,62424150,384674945,2370473820,14607517865,90015581010,554701003925,3418221604560,21064030631285,129802405392270,799878462984905,4929073183301700
seq $0,5668 ; Denominators of continued... |
arch/ARM/Nordic/svd/nrf53/nrf53_svd.ads | morbos/Ada_Drivers_Library | 2 | 21841 | -- This spec has been automatically generated from nrf53.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
-- nRF5340
package NRF53_SVD is
pragma Preelaborate;
--------------------
-- Base addresses --
--------------------
TAD_Base : constant S... |
kernel/arch/x86_64/mm/pagefault.asm | killvxk/MiraiOS | 0 | 86192 | <filename>kernel/arch/x86_64/mm/pagefault.asm
global excPF:function
extern puts
extern hexprintln
extern hexprintln64
extern cprint
extern panic
extern printk
extern puts
extern sysExit
extern mmGetEntry
extern allocPhysPage
extern allocCleanPhysPage
extern allocLargePhysPage
extern allocLargeCleanPhysPage
extern mm... |
programs/oeis/047/A047408.asm | neoneye/loda | 22 | 102008 | ; A047408: Numbers that are congruent to {1, 4, 6} mod 8.
; 1,4,6,9,12,14,17,20,22,25,28,30,33,36,38,41,44,46,49,52,54,57,60,62,65,68,70,73,76,78,81,84,86,89,92,94,97,100,102,105,108,110,113,116,118,121,124,126,129,132,134,137,140,142,145,148,150,153,156,158
mul $0,8
mov $1,4
add $1,$0
div $1,3
mov $0,$1
|
libsrc/graphics/retrofit/w_respixl.asm | ahjelm/z88dk | 640 | 168226 | <reponame>ahjelm/z88dk
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
;
; $Id: w_respixel.asm $
;
;
; fake w_respixel calling a function written in C
;
SECTION code_graphics
PUBLIC w_respixel
EXTERN unplot
.w_respixel
IF !__CPU_INTEL__
push ix... |
cmd/recover/recinit.asm | minblock/msdos | 0 | 102220 | ;AN000;bgb
page ,132 ;
TITLE RECINIT.ASM - MS-DOS File/Disk Recovery Utility
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
;**************************************************************... |
examples/outdated-and-incorrect/cbs/Mission.agda | asr/agda-kanso | 1 | 5612 | <filename>examples/outdated-and-incorrect/cbs/Mission.agda
open import Proc
module Mission (param : Param) where
import Interp
import Hear
open import Basics
private
open module P = Process param
open module I = Interp param
open module H = Hear param
renaming ( sound to hear-sound
; uniq ... |
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/a-sttebu.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 9633 | <filename>bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/a-sttebu.adb
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
oeis/021/A021153.asm | neoneye/loda-programs | 11 | 176323 | <reponame>neoneye/loda-programs
; A021153: Decimal expansion of 1/149.
; 0,0,6,7,1,1,4,0,9,3,9,5,9,7,3,1,5,4,3,6,2,4,1,6,1,0,7,3,8,2,5,5,0,3,3,5,5,7,0,4,6,9,7,9,8,6,5,7,7,1,8,1,2,0,8,0,5,3,6,9,1,2,7,5,1,6,7,7,8,5,2,3,4,8,9,9,3,2,8,8,5,9,0,6,0,4,0,2,6,8,4,5,6,3,7,5,8,3,8
add $0,1
mov $2,10
pow $2,$0
div $2,149
mov $0,$... |
ffight/lcs/boss/5C.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 29251 | <filename>ffight/lcs/boss/5C.asm
copyright zengfr site:http://github.com/zengfr/romhack
002F8C add.l D0, ($5c,A6) [boss+1A, enemy+1A]
002F90 addi.l #$60, ($5c,A6) [boss+5C, boss+5E, enemy+5C, enemy+5E]
002F98 rts [boss+5C, boss+5E, enemy+5C, enemy+5E]
002FAE add.l D0, ($5c,A6) [boss+37]
002FB2 addi.l #$60, (... |
oeis/219/A219636.asm | neoneye/loda-programs | 11 | 13257 | ; A219636: Complement of A035336.
; Submitted by <NAME>
; 0,1,3,4,5,6,8,9,11,12,13,14,16,17,18,19,21,22,24,25,26,27,29,30,32,33,34,35,37,38,39,40,42,43,45,46,47,48,50,51,52,53,55,56,58,59,60,61,63,64,66,67,68,69,71,72,73,74,76,77,79,80,81,82,84,85,87,88,89,90,92,93,94,95,97,98,100,101,102,103,105,106,107,108,110,111,11... |
Definition/LogicalRelation/Irrelevance.agda | CoqHott/logrel-mltt | 2 | 9390 | {-# OPTIONS --safe #-}
open import Definition.Typed.EqualityRelation
module Definition.LogicalRelation.Irrelevance {{eqrel : EqRelSet}} where
open EqRelSet {{...}}
open import Tools.Empty using (⊥; ⊥-elim)
open import Definition.Untyped
open import Definition.Typed
open import Definition.Typed.Properties
open impor... |
wof/lcs/123p/6C.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 243637 | copyright zengfr site:http://github.com/zengfr/romhack
00249A move.l -(A6), (A4)+ [123p+ 6C, enemy+6C]
0024B6 move.l -(A6), (A4)+ [123p+ 6C, enemy+6C]
0024E8 move.l -(A6), (A4)+ [123p+ 6C, enemy+6C]
00250A move.l -(A6), (A4)+ [123p+ 6C, enemy+6C]
007A54 btst #$5, ($30,A1) [123p+ 6C, enemy+6C]
008F4C beq ... |
src/main/antlr/TaskMatcher.g4 | mikosik/smooth-build | 8 | 1575 | grammar TaskMatcher;
matcher : expression EOF ;
expression : <assoc=right> expression '&' expression # And
| <assoc=right> expression '|' expression # Or
| '(' expression ')' # Brackets
| MATCHER_NAME # MatcherName
;
MATCHER_... |
Engine Hacks/Skill System/Teq Skills/TriangleAdept.asm | sme23/MekkahRestrictedHackComp1 | 0 | 23668 | .thumb
@jumped to from 2C830
@r4=attacker, battle struct r5=defender battle struct
.equ TriangleAdeptID, SkillTester+4
and r0,r6
cmp r0,#0
beq CheckTriAdeptAttacker
mov r0,r4
mov r1,r5
ldr r3,=#0x802C76C @applies reaver bonuses
mov r14,r3
.short 0xF800
Check... |
llvm-gcc-4.2-2.9/gcc/testsuite/gnat.dg/boolean_subtype.adb | vidkidz/crossbridge | 1 | 12056 | <filename>llvm-gcc-4.2-2.9/gcc/testsuite/gnat.dg/boolean_subtype.adb
-- { dg-do compile }
-- { dg-options "-O2" }
procedure boolean_subtype is
subtype Component_T is Boolean;
function Condition return Boolean is
begin
return True;
end;
V : Integer := 0;
function Component_Value return Integ... |
src/C2R2Parser.g4 | rljacobson/C2R2 | 0 | 4651 | <gh_stars>0
parser grammar C2R2Parser;
options {
tokenVocab = C2R2Lexer;
}
//Parser Rules
expr
: leaf
| function LPAREN expr RPAREN //function application
| LPAREN expr RPAREN //parentheses
| VERT expr VERT //absolute value
| <assoc=right> expr POWER expr
| (PLUS | MINUS) expr //unary plus/minus
| expr { ... |
programs/oeis/053/A053842.asm | jmorken/loda | 1 | 26793 | <filename>programs/oeis/053/A053842.asm
; A053842: (Sum of digits of n written in base 7) modulo 7.
; 0,1,2,3,4,5,6,1,2,3,4,5,6,0,2,3,4,5,6,0,1,3,4,5,6,0,1,2,4,5,6,0,1,2,3,5,6,0,1,2,3,4,6,0,1,2,3,4,5,1,2,3,4,5,6,0,2,3,4,5,6,0,1,3,4,5,6,0,1,2,4,5,6,0,1,2,3,5,6,0,1,2,3,4,6,0,1,2,3,4,5,0,1,2,3,4,5,6,2,3,4,5,6,0,1,3,4,5,6,... |
32bit-gdt.asm | Faerbit/os-tutorial | 1 | 25575 | gdt_start:
; the GDT starts with a null 8-byte
dd 0x0
dd 0x0
; GDT for code segment base = 0x00000000, length = 0xfffff
; for flags, refer to os-dev.pdf, page 36
gdt_code:
dw 0xffff ; segment length, bits 0-15
dw 0x0 ; segment base bits 0-15
db 0x0 ; segment base bits 1... |
alloy4fun_models/trainstlt/models/8/xay3eFb6FHm8YRQsZ.als | Kaixi26/org.alloytools.alloy | 0 | 2721 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idxay3eFb6FHm8YRQsZ_prop9 {
always ( all t:Train |no t.pos implies eventually (t.pos in Entry) )
}
pred __repair { idxay3eFb6FHm8YRQsZ_prop9 }
check __repair { idxay3eFb6FHm8YRQsZ_prop9 <=> prop9o } |
programs/oeis/082/A082108.asm | neoneye/loda | 22 | 94921 | <gh_stars>10-100
; A082108: a(n) = 4n^2 + 6n + 1.
; 1,11,29,55,89,131,181,239,305,379,461,551,649,755,869,991,1121,1259,1405,1559,1721,1891,2069,2255,2449,2651,2861,3079,3305,3539,3781,4031,4289,4555,4829,5111,5401,5699,6005,6319,6641,6971,7309,7655,8009,8371
mul $0,2
mov $1,$0
add $0,3
mul $0,$1
add $0,1
|
Transynther/x86/_processed/NONE/_xt_sm_/i7-8650U_0xd2_notsx.log_287_1314.asm | ljhsiun2/medusa | 9 | 89478 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1330, %rbx
nop
nop
xor $21249, %rsi
mov (%rbx), %edi
nop
nop
nop
nop
nop
add %rax, %rax
lea addresses_WT_ht+0x14af0, %rsi
lea addresses_normal_ht+0x3c40, %rdi
clflush (%r... |
oeis/199/A199211.asm | neoneye/loda-programs | 11 | 242725 | <filename>oeis/199/A199211.asm
; A199211: 11*4^n+1.
; 12,45,177,705,2817,11265,45057,180225,720897,2883585,11534337,46137345,184549377,738197505,2952790017,11811160065,47244640257,188978561025,755914244097,3023656976385,12094627905537,48378511622145,193514046488577,774056185954305,3096224743817217,12384898975268865,495... |
oeis/054/A054783.asm | neoneye/loda-programs | 11 | 13253 | ; A054783: (n^2)-th Fibonacci number.
; 0,1,3,34,987,75025,14930352,7778742049,10610209857723,37889062373143906,354224848179261915075,8670007398507948658051921,555565404224292694404015791808,93202207781383214849429075266681969,40934782466626840596168752972961528246147,47068900554068939361891195233676009091941690850,141... |
EELE371/Lab-4.asm | Dan-Laden/Projects | 0 | 167696 | <reponame>Dan-Laden/Projects<filename>EELE371/Lab-4.asm
; Lab-4.asm
; Created on: Sep 27, 2018
; Author: <NAME>
INCLUDE 'derivative.inc'
XDEF _Startup, main
XREF __SEF_END_SSTACK
LED1delay1 EQU $0100
LED1delay2 EQU $0101
LED2delay EQU $0102
main:
_Startup:
BSET 6, PTBDD
BSET 7, PTBDD
mainLoop:
MOV... |
oeis/098/A098106.asm | neoneye/loda-programs | 11 | 86667 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A098106: Hankel transform of sequence (b(n)) where b(n)=sum(i=0,n,binomial(2*i,i)).
; Submitted by <NAME>
; 1,3,6,-8,-72,-144,64,960,1920,-512,-10752,-21504,4096,110592,221184,-32768,-1081344,-2162688,262144,10223616,20447232,-2097152,-94371840,-188743680,16777216,85563... |
random_walker.asm | richardwooding/x16-random-walker | 0 | 8623 | !symbollist "random_walker.sym"
;=================================================
;=================================================
;
; Headers
;
;-------------------------------------------------
!src "vera.inc"
!src "system.inc"
;=================================================
; Macros
;
;------------------... |
spectranet/libspectranet/find_int2.asm | speccytools/spectranet-gdbserver | 40 | 101000 | ; int find_int2();
; note: call only when Spectranet memory is paged in.
PUBLIC find_int2
EXTERN libspectranet
include "zxromdefs.asm"
.find_int2
rst 16 ; CALLBAS
defw ZX_FIND_INT2 ; get 16 bit integer
ld h, b
ld l, c
ret
|
CodeExecution/Invoke-ReflectivePEInjection_Resources/Shellcode/x64/LoadLibraryA.asm | g-goessel/PowerSploit | 9,233 | 173698 | <gh_stars>1000+
[SECTION .text]
global _start
_start:
; Save rsp and setup stack for function call
push rbx
mov rbx, rsp
sub rsp, 0x20
and sp, 0xffc0
; Call LoadLibraryA
mov rcx, 0x4141414141414141 ; Ptr to string of library, set by PS
mov rdx, 0x4141414141414141 ; Address of LoadLibrary, set by PS
call rdx... |
src/vm/translator/tests/MemoryAccess/StaticTest/StaticTest.asm | shmuga/nadn2tetris | 0 | 24707 | <reponame>shmuga/nadn2tetris<gh_stars>0
// push segment constant to location 111
@111
D=A
@SP
A=M
M=D
@SP
M=M+1
// push segment constant to location 333
@333
D=A
@SP
A=M
M=D
@SP
M=M+1
// push segment constant to location 888
@888
D=A
@SP
A=M
M=D
@SP
M=M+1
// pop segment static to location 8
@SP
M=M-1
@SP
A=M
D=M
@Stati... |
src/subst.agda | xoltar/cedille | 0 | 5677 | module subst where
open import lib
open import cedille-types
open import ctxt-types
open import is-free
open import rename
open import general-util
open import syntax-util
substh-ret-t : Set → Set
substh-ret-t T = ∀ {ed} → ctxt → renamectxt → trie ⟦ ed ⟧ → T → T
substh : ∀ {ed} → substh-ret-t ⟦ ed ⟧
substh-term : s... |
oeis/192/A192239.asm | neoneye/loda-programs | 11 | 1067 | ; A192239: Coefficient of x in the reduction of the polynomial x(x+1)(x+2)...(x+n-1) by x^2 -> x+1.
; Submitted by <NAME>
; 0,1,3,13,71,463,3497,29975,287265,3042545,35284315,444617525,6048575335,88347242335,1378930649745,22903345844335,403342641729665,7506843094993825,147226845692229875,3034786640911840925,65592491119... |
tp_01_14/main.asm | mjFer/TDIII-UTN-FRBA-TPS-2014 | 2 | 163508 | <filename>tp_01_14/main.asm
; Trabajo Practico 1 - EJ 5 ;
; ;
; Alumno: <NAME> ;
; Legajo: 1403734 ... |
oeis/021/A021147.asm | neoneye/loda-programs | 11 | 18119 | <filename>oeis/021/A021147.asm
; A021147: Decimal expansion of 1/143.
; Submitted by <NAME>
; 0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9,9,3,0,0,6,9
mov $1,$0
mul $1,2
div $1... |
3-mid/opengl/source/lean/model/opengl-model-line-colored.adb | charlie5/lace-alire | 1 | 356 | <filename>3-mid/opengl/source/lean/model/opengl-model-line-colored.adb
with
openGL.Primitive.indexed;
package body openGL.Model.line.colored
is
---------
--- Forge
--
function to_line_Model (Color : in openGL.Color;
End_1,
End_2 : in Vector_3 := ... |
lib/glyphs.asm | jsmolka/gba-suite | 31 | 631 | align 4
glyphs:
; Extracted from tonclib
dw 0x00000000,0x00000000,0x18181818,0x00180018,0x00003636,0x00000000,0x367F3636,0x0036367F
dw 0x3C067C18,0x00183E60,0x1B356600,0x0033566C,0x6E16361C,0x00DE733B,0x000C1818,0x00000000
dw 0x0C0C1830,0x0030180C,0x3030180C,0x000C1830,0xF... |
src/applescript/system/notificationBadge.applescript | dnnsmnstrr/HydroTouch | 3 | 910 |
--Make a touch bar notification badge for any app of your choice with BTT!
--Any app that displays the red notification badge on it's dock icon is supported.
----Step 1:
--Rename this widget above ↑
----Step 2:
set ExactNameOfYourApp to "The App Name"
--You can find this name by hovering over the app in the dock. Ed... |
dist-test/chgrp.asm | LongLeonardoLe/xv6 | 0 | 172841 |
_chgrp: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "types.h"
#include "user.h"
int
main(int argc, char* argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 ... |
hacks/images/m6502/sierpinski.asm | MBrassey/xscreensaver_BlueMatrix | 2 | 247295 | ; Sierpinski
; Submitted by Anonymous
start:
lda #$e1
sta $0
lda #$01
sta $1
ldy #$20
write:
ldx #$00
eor ($0, x)
sta ($0),y
inc $0
bne write
inc $1
ldx $1
cpx #$06
bne write
rts
|
mastersystem/zxb-sms-2012-02-23/zxb-sms/wip/zxb/library-asm/memcopy.asm | gb-archive/really-old-stuff | 10 | 23735 | <gh_stars>1-10
; ----------------------------------------------------------------
; This file is released under the GPL v3 License
;
; Copyleft (k) 2008
; by <NAME> (a.k.a. Boriel) <http://www.boriel.com>
;
; Use this file as a template to develop your own library file
; -----------------------------------------------... |
programs/oeis/162/A162349.asm | jmorken/loda | 1 | 95506 | ; A162349: First differences of A160412.
; 3,9,9,27,9,27,27,81,9,27,27,81,27,81,81,243,9,27,27,81,27,81,81,243,27,81,81,243,81,243,243,729,9,27,27,81,27,81,81,243,27,81,81,243,81,243,243,729,27,81,81
mov $3,1
lpb $3
mov $1,$0
mov $2,$0
sub $3,1
mov $4,1
mul $4,$0
lpb $2
lpb $1
div $4,2
sub ... |
calendar.applescript | zk4/omnifocus-scripts | 1 | 828 | (*
Create OmniFocus Tasks for iCal events
v1.0
<NAME>, 2013
http://dovfrankel.com
Gets the day's list of calendar events for particular calendars and creates OmniFocus to-do items for each.
It ignores all-day events, except for those on the Library Loans calendar (populated by Delicious Library) and the Birthdays calen... |
app/hack/bad_thread.asm | USN484259/COFUOS | 1 | 94508 | <filename>app/hack/bad_thread.asm
[bits 64]
create_thread equ 0x0120
exit_thread equ 0x0110
section .data
fun:
mov eax,exit_thread
syscall
section .text
mov rdx,fun
xor r9,r9
mov eax,create_thread
syscall
mov eax,exit_thread
syscall |
Univalence/Obsolete/A.agda | JacquesCarette/pi-dual | 14 | 13107 | {-# OPTIONS --without-K #-}
module A 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 v... |
regtests/asf-requests-tests.adb | Letractively/ada-asf | 0 | 11457 | <gh_stars>0
-----------------------------------------------------------------------
-- asf-requests-tests - Unit tests for requests
-- Copyright (C) 2012, 2013 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in complian... |
src/API/protypo-api-interpreters.ads | fintatarta/protypo | 0 | 25673 | with Protypo.API.Consumers;
with Protypo.API.Symbols;
with Protypo.Api.Engine_Values;
private with Protypo.Code_Trees;
with Utilities;
package Protypo.API.Interpreters is
type Template_Type is new String;
type Compiled_Code is limited private;
procedure Dump (X : Compiled_Code);
-- Print a tree represe... |
Library/Text/TextLine/tlSmallFlags.asm | steakknife/pcgeos | 504 | 170702 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: tlSmallFlags.asm
AUTHOR: <NAME>, Dec 26, 1991
ROUTINES:
Name Description
---- -----------
SmallLineAlterFlags Alter flags for a sm... |
examples/bcm_simple_writer/bcm_simple_writer.adb | glencornell/ada-socketcan | 2 | 29863 | <filename>examples/bcm_simple_writer/bcm_simple_writer.adb
-- MIT License
--
-- Copyright (c) 2021 <NAME> <<EMAIL>>
--
-- 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, ... |
programs/oeis/239/A239057.asm | karttu/loda | 1 | 21921 | <gh_stars>1-10
; A239057: Sum of the parts in the partitions of 4n into 4 parts with smallest part equal to 1 minus the number of these partitions.
; 3,28,110,285,570,1012,1647,2480,3570,4953,6622,8648,11067,13860,17110,20853,25058,29820,35175,41080,47642,54897,62790,71440,80883,91052,102078,113997,126730,140420,155103... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_2606_2586.asm | ljhsiun2/medusa | 9 | 13017 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xf706, %rsi
lea addresses_A_ht+0x1cc96, %rdi
and %rbp, %rbp
mov $51, %rcx
rep movsq
sub %r13, %r13
lea addresses_WT_ht+0x8b96, %rsi
nop
nop
nop
nop
xor $20993, %rbx
mov... |
source/streams/a-ssisfi.adb | ytomino/drake | 33 | 597 | with Ada.Streams.Naked_Stream_IO.Standard_Files;
package body Ada.Streams.Stream_IO.Standard_Files is
Standard_Input_Object : aliased File_Type;
Standard_Output_Object : aliased File_Type;
Standard_Error_Object : aliased File_Type;
-- implementation
function Standard_Input return not null access cons... |
source/web-ui-widgets.adb | godunko/adawebui | 2 | 18864 | <reponame>godunko/adawebui<filename>source/web-ui-widgets.adb
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
example2.asm | CalebJ2/avr-assembler | 0 | 99300 | <filename>example2.asm
.include "./m328Pdef.inc"
add r0,r31
add r31,r0 |
Task/Determine-if-a-string-is-numeric/AppleScript/determine-if-a-string-is-numeric-1.applescript | LaudateCorpus1/RosettaCodeData | 1 | 431 | <filename>Task/Determine-if-a-string-is-numeric/AppleScript/determine-if-a-string-is-numeric-1.applescript
-- isNumString :: String -> Bool
on isNumString(s)
try
if class of s is string then
set c to class of (s as number)
c is real or c is integer
else
false
... |
Library/AnsiC/memory_asm.asm | steakknife/pcgeos | 504 | 23985 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: GEOS
MODULE: Standard C Library
FILE: memory_asm.asm
AUTHOR: <NAME>, Aug 23, 1991
ROUTINES:
Name Description
---- -----------
Standard C routines:
m... |
shellcode/x64/shellcode.asm | 0xmanjoos/hackerman_hackertime | 9 | 95091 | section .text
global _start
_start:
push rax ; push rax on stack
xor rdx, rdx ; clear important
xor rsi, rsi ; registers
mov rbx, '/bin//sh' ; mov bin sh string into rbx
push rbx ; push string on stack
push rsp ; push stack pointer on stack
pop ... |
experiments/models/singlyLinkedList.als | kaiyuanw/MuAlloy | 6 | 1860 | module SinglyLinkedList
sig List {
header : lone Node
}
sig Node {
link: lone Node
}
pred Acyclic (l: List) {
no l.header or some n: l.header.*link | no n.link
}
run Acyclic
|
Appl/Icon/Source/sourceLarge.asm | steakknife/pcgeos | 504 | 81521 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
(c) Copyright GeoWorks 1995. All Rights Reserved.
GEOWORKS CONFIDENTIAL
PROJECT: Icon editor
MODULE: Source
FILE: sourceLarge.asm
AUTHOR: <NAME>, Apr 21, 1995
ROUTINES:
Name Description
---- -----------
INT ... |
oeis/044/A044780.asm | neoneye/loda-programs | 11 | 4734 | <gh_stars>10-100
; A044780: Numbers n such that string 6,7 occurs in the base 10 representation of n but not of n+1.
; Submitted by <NAME>(s3)
; 67,167,267,367,467,567,667,679,767,867,967,1067,1167,1267,1367,1467,1567,1667,1679,1767,1867,1967,2067,2167,2267,2367,2467,2567,2667,2679,2767,2867,2967,3067,3167,3267,3367,34... |
programs/oeis/083/A083097.asm | karttu/loda | 1 | 241729 | <reponame>karttu/loda
; A083097: a(n) = A083096(n)/6.
; 0,2,5,6,14,15,18,20,41,42,45,47,54,56,59,60,122,123,126,128,135,137,140,141,162,164,167,168,176,177,180,182,365,366,369,371,378,380,383,384,405,407,410,411,419,420,423,425,486,488,491,492,500
cal $0,191107 ; Increasing sequence generated by these rules: a(1)=1, ... |
examples/utils/sdl/sdl_sdl_cdrom_h.ads | Fabien-Chouteau/GESTE | 13 | 3950 | pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with SDL_SDL_stdinc_h;
with Interfaces.C.Strings;
package SDL_SDL_cdrom_h is
SDL_MAX_TRACKS : constant := 99; -- ../include/SDL/SDL_cdrom.h:48
SDL_AUDIO_TRACK : constant := 16#00#; -- ../include/SDL/SDL_cdrom.h:5... |
Ada/palindrome.adb | andersonjonathan/linguistic-exploration | 0 | 23548 | function Palindrome (message: String) return Boolean is
-- Palindrome checker
rev, orig : String(message'First..message'Last);
counter, rev_count : Integer := 0;
begin
-- Remove any spaces
for c in message'First..message'Last loop
if message(c) /= ' ' then
counter := counter + 1;
... |
Scripts/AppleScript/Test All Settings.applescript | ghartnett/MenubarCountdown | 75 | 1366 | <filename>Scripts/AppleScript/Test All Settings.applescript
-- This script sets the values of all elements of the Settings window,
-- pauses for two seconds, then sets all the elements to different values.
tell application "Menubar Countdown"
activate
show start dialog
set hours to 99
set minutes to 59
set se... |
src/main/antlr4/io/onsense/universal/grammar/Universal.g4 | krullert/universal | 2 | 3839 | <filename>src/main/antlr4/io/onsense/universal/grammar/Universal.g4<gh_stars>1-10
grammar Universal;
universal
: (LPAREN*) (expression | equation) (RPAREN*)
;
equation
: (LPAREN*) expression relop expression (RPAREN*)
;
expression
: multiplyingExpression ((AMPERSAND | PLUS | MINUS) multiplyingExpressi... |
oeis/047/A047819.asm | neoneye/loda-programs | 11 | 162917 | <reponame>neoneye/loda-programs
; A047819: a(n) = Product_{i=1..n} ((i+3)*(i+4)*(i+5))/(i*(i+1)*(i+2)).
; 1,20,175,980,4116,14112,41580,108900,259545,572572,1184183,2318680,4331600,7768320,13441968,22535064,36729945,58373700,90684055,138003404,206108980,302588000,437287500,622849500,875343105,1215006156,1667110095,2262... |
programs/oeis/239/A239684.asm | karttu/loda | 1 | 20306 | ; A239684: Number of digits in the decimal expansion of n^4.
; 1,1,2,2,3,3,4,4,4,4,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8
pow $0,4
add $0,1
log $0,10
mov $1,$0
add $1,1
|
src/Sym_Expr/test/test-basic_test.adb | fintatarta/eugen | 0 | 29487 | <reponame>fintatarta/eugen
----------------------------------------------------------------------------
-- Symbolic Expressions (symexpr)
--
-- Copyright (C) 2012, <NAME>
--
-- This file is part of symexpr.
--
-- symexpr is free software: you can redistribute it and/or modify
-- ... |
oeis/174/A174763.asm | neoneye/loda-programs | 11 | 80186 | ; A174763: x-values in the solution to x^2-62*y^2=1.
; Submitted by <NAME>
; 1,63,7937,999999,125991937,15873984063,1999996000001,251983622016063,31747936378023937,3999988000008999999,503966740064755975937,63495809260159243968063,7999968000039999984000001,1007932472195779838740032063,126991491528668219681260039937,1599... |
kernel.asm | snowman789/xv6_scheduler | 0 | 81128 | <reponame>snowman789/xv6_scheduler
kernel: file format elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010000b: e4 ... |
programs/oeis/068/A068212.asm | neoneye/loda | 22 | 243597 | ; A068212: a(n) = phi(n) divided by its largest prime factor.
; 1,1,2,1,2,2,2,2,2,2,4,2,4,4,8,2,6,4,4,2,2,4,4,4,6,4,4,4,6,8,4,8,8,4,12,6,8,8,8,4,6,4,8,2,2,8,6,4,16,8,4,6,8,8,12,4,2,8,12,6,12,16,16,4,6,16,4,8,10,8,24,12,8,12,12,8,6,16,18,8,2,8,32,6,8,8,8,8,24,4,12,2,24
add $0,2
seq $0,10 ; Euler totient function phi(n)... |
programs/oeis/175/A175074.asm | karttu/loda | 0 | 92941 | <filename>programs/oeis/175/A175074.asm
; A175074: Nonprimes b with result 1 under iterations of {r mod (max prime p < r)} starting at r = b.
; 1,4,6,8,10,12,14,16,18,20,22,24,26,27,30,32,34,35,38,40,42,44,46,48,50,51,54,56,57,60,62,64,65,68,70,72,74,76,77,80,82,84,86,87,90,92,93,95,98,100,102
mov $4,$0
mul $0,2
lpb $... |
oeis/050/A050483.asm | neoneye/loda-programs | 11 | 17614 | ; A050483: Partial sums of A051947.
; Submitted by <NAME>(s4)
; 1,11,60,228,690,1782,4092,8580,16731,30745,53768,90168,145860,228684,348840,519384,756789,1081575,1519012,2099900,2861430,3848130,5112900,6718140,8736975,11254581,14369616,18195760,22863368,28521240,35338512
mov $2,$0
mul $0,4
add $0,7
add $2,5
mov $1,$2
... |
Task/Linear-congruential-generator/Ada/linear-congruential-generator-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 30284 | generic
type Base_Type is mod <>;
Multiplyer, Adder: Base_Type;
Output_Divisor: Base_Type := 1;
package LCG is
procedure Initialize(Seed: Base_Type);
function Random return Base_Type;
-- changes the state and outputs the result
end LCG;
|
Cubical/Data/FinData/Properties.agda | dan-iel-lee/cubical | 0 | 1158 |
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Data.FinData.Properties where
open import Cubical.Foundations.Function
open import Cubical.Foundations.Prelude
open import Cubical.Data.FinData.Base as Fin
import Cubical.Data.Nat as ℕ
open import Cubical.Data.Empty as Empty
open import Cubical.Relati... |
packages/x86-toolkit/x86-assembler/tests/asm/modrm.asm | Mati365/ts-c99-compiler-toolkit | 66 | 29999 | <gh_stars>10-100
;= test: handle 16bit unsigned offset and various mod rm encoding
;= bin: 2effafff003b87fc05ff2604fac6010fc6010f
[bits 16]
[org 0x7C00]
jmp far [cs:bx+0xFF]
cmp ax, [bx-64004]
jmp [0xf9fe + 0x06]
mov byte [bx+di], 0xF
mov byte [di+bx], 0xF
;= test: advanced math with brackets in modrm
;= bin: 8d45088d... |
alloy4fun_models/trashltl/models/10/9JiNdQSvwArTP9KXC.als | Kaixi26/org.alloytools.alloy | 0 | 4936 | open main
pred id9JiNdQSvwArTP9KXC_prop11 {
(File - Protected)-Trash not in Protected after (File - Protected) in Protected
}
pred __repair { id9JiNdQSvwArTP9KXC_prop11 }
check __repair { id9JiNdQSvwArTP9KXC_prop11 <=> prop11o } |
microcontrolador/8051/SEII-serial-mode0-01.asm | prof-holanda/sistemas-embarcados | 0 | 92780 | CLR SM0
CLR SM1 ; porta serial no modo zero
MOV SBUF, #9 ; envia do inteiro 9 para a porta serial
|
src/PJ/rexlib/gfxlib/rc_ghseg.asm | AnimatorPro/Animator-Pro | 119 | 20157 | ;generated via makeasms.bat
include raster.i
include rastlib.i
CGROUP group code
code segment dword 'CODE'
assume cs:CGROUP,ds:CGROUP
RASTLIB_JUMP pj__get_hseg RL_GET_HSEG
code ends
end
|
test/DeriveEqTest.agda | t-more/agda-prelude | 0 | 1948 | <filename>test/DeriveEqTest.agda
open import Prelude
open import Prelude.List.Relations.Any
open import Prelude.List.Relations.Properties
open import Tactic.Deriving.Eq
open import Tactic.Reflection
module DeriveEqTest where
module Test₀ where
eqVec : deriveEqType Vec
unquoteDef eqVec = deriveEqDef eqVec (... |
alloy4fun_models/trashltl/models/7/wyCYmzvGu6LWbQKZr.als | Kaixi26/org.alloytools.alloy | 0 | 2347 | open main
pred idwyCYmzvGu6LWbQKZr_prop8 {
always eventually link.File in Trash
}
pred __repair { idwyCYmzvGu6LWbQKZr_prop8 }
check __repair { idwyCYmzvGu6LWbQKZr_prop8 <=> prop8o } |
oeis/119/A119975.asm | neoneye/loda-programs | 11 | 21600 | ; A119975: E.g.f. exp(x)*(Bessel_I(0,2*sqrt(2)x) + Bessel_I(1,2*sqrt(2)x)/sqrt(2)).
; Submitted by <NAME>
; 1,2,7,22,77,266,947,3382,12217,44338,161855,593110,2181445,8046650,29759147,110303798,409655281,1524056546,5678827511,21189499030,79164147389,296094973418,1108623865123,4154794910518,15584520425641,58504061139986... |
011-osdev-04/stage2.asm | gynvael/stream | 152 | 91557 | <reponame>gynvael/stream<gh_stars>100-1000
[bits 16]
[org 0x0000]
start:
; reenz0h - sti/cli tutaj gdzies?
mov ax, 0x2000
mov ds, ax
mov es, ax
mov ax, 0x1f00
mov ss, ax
xor sp, sp
; A20 OSDev #4
; 0-19 0-23
; ffff:ffff --> ffff0 + ffff
; 1024 * 1024 do (1024 * 1024 * 2 - 1)
... |
programs/oeis/328/A328034.asm | karttu/loda | 0 | 22627 | ; A328034: a(n) = 3n minus the largest power of 2 not exceeding 3n.
; 1,2,1,4,7,2,5,8,11,14,1,4,7,10,13,16,19,22,25,28,31,2,5,8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,56,59,62,1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58,61,64,67,70,73,76,79,82,85,88,91,94,97,100,103,106,109
mov $2,$0
mul $0,2
mov $3... |
src/bootloader/soareldr/soareldr-stage2.asm | StrBrkrs-NullException/NoolOS | 5 | 27126 | <gh_stars>1-10
%define ROOT_DIRECTORY_SEGMENT 0x800
%define FAT_SEGMENT 0x4000
%define FILESIZESTORAGE_SEGMENT 0x9F00
org 0x500
bits 16
SldEntry:
mov si, prepkrnl
call SldPrint16
;load kernel
;memcpy BPB from stage 1
pusha
mov ax, 0x07C0
push ds
push es
push es
pop ds
mov es, ax
xor ax, ax ;reset floppy
int 13h
;mem... |
source/tasking/machine-apple-darwin/s-syobab.ads | ytomino/drake | 33 | 18812 | <filename>source/tasking/machine-apple-darwin/s-syobab.ads<gh_stars>10-100
pragma License (Unrestricted);
-- implementation unit specialized for POSIX (Darwin, FreeBSD, or Linux)
package System.Synchronous_Objects.Abortable is
pragma Preelaborate;
-- queue
procedure Take (
Object : in out Queue;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.