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 |
|---|---|---|---|---|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/sync_iface_test.ads | best08618/asylo | 7 | 17803 | -- { dg-do compile }
-- { dg-options "-gnatc" }
package Sync_Iface_Test is
type Iface is limited interface;
procedure Do_Test
(Container : in out Iface;
Process : access procedure (E : Natural)) is abstract;
protected type Buffer is new Iface with
overriding procedure Do_Test
... |
oeis/142/A142634.asm | neoneye/loda-programs | 11 | 243115 | ; A142634: Primes congruent to 47 mod 55.
; Submitted by <NAME>
; 47,157,487,1367,1697,2027,2137,2357,2467,2687,2797,3347,3457,3677,4007,4337,4447,5107,5437,5657,5987,6317,6427,6977,7307,7417,8297,8627,8737,9067,9397,10607,10937,11047,11597,11927,12037,12697,12917,13577,13687,13907,14347,14897,15227,15667,15887,16217,1... |
alloy4fun_models/trashltl/models/9/Z43Es4gtTASkqk6DZ.als | Kaixi26/org.alloytools.alloy | 0 | 4593 | <gh_stars>0
open main
pred idZ43Es4gtTASkqk6DZ_prop10 {
always all f:File | f in Protected implies always f in Protected and f not in Protected implies always f not in Protected
}
pred __repair { idZ43Es4gtTASkqk6DZ_prop10 }
check __repair { idZ43Es4gtTASkqk6DZ_prop10 <=> prop10o } |
hydra/grammar/OverrideLexer.g4 | evdcush/hydra | 0 | 2158 | // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
// Regenerate lexer by running 'python setup.py antlr' at project root.
// If you make changes here be sure to update the documentation
// (and update the grammar in website/docs/advanced/override_grammar/*.md)
lexer grammar OverrideLexer;
// Re... |
programs/oeis/032/A032512.asm | neoneye/loda | 22 | 167588 | ; A032512: Sum of the integer part of 4th roots of integers <= n.
; 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63,65,67,69,71,73,75,77,79,81,83,85,87,89,91,93,95,97,99,101,103,105,107,109,111,113,115,117,119
mov $1,$0
trn $1,15
add $0,$1
|
report/compositional_decompilation/inc/2_lit_review/hello/hello_linear.asm | decomp/doc | 23 | 160830 | <gh_stars>10-100
_start:
mov rdi, hello
call printf
mov rdi, 0
call exit
ret
hello:
push qword 0x6F6C6C65 ; "hello"
and [rdi+0x6F], dh ; " wo"
jc short 0x6D ; "rl"
or al, [fs:rax] ; "d\n\0"
|
examples/instance-arguments/07-subclasses.agda | asr/agda-kanso | 1 | 7330 | <filename>examples/instance-arguments/07-subclasses.agda
{-# OPTIONS --universe-polymorphism #-}
-- {-# OPTIONS --verbose tc.records.ifs:15 #-}
-- {-# OPTIONS --verbose tc.constr.findInScope:15 #-}
-- {-# OPTIONS --verbose tc.term.args.ifs:15 #-}
-- {-# OPTIONS --verbose cta.record.ifs:15 #-}
-- {-# OPTIONS --verbose t... |
oeis/024/A024175.asm | neoneye/loda-programs | 11 | 163708 | ; A024175: Expansion of (x^3 - 6*x^2 + 5*x - 1)/((2*x - 1)*(2*x^2 - 4*x + 1))
; Submitted by <NAME>
; 1,1,2,5,14,42,132,428,1416,4744,16016,54320,184736,629280,2145600,7319744,24979584,85262464,291057920,993641216,3392317952,11581727232,39541748736,135002491904,460924372992,1573688313856,5372896120832,18344191078400,62... |
src/firmware/Platform/BrownOutReset.asm | pete-restall/Cluck2Sesame-Prototype | 1 | 88968 | <filename>src/firmware/Platform/BrownOutReset.asm
#define __CLUCK2SESAME_PLATFORM_BROWNOUTRESET_ASM
#include "Platform.inc"
#include "TailCalls.inc"
#include "ResetFlags.inc"
radix decimal
extern initialiseAfterReset
BrownOutReset code
global initialiseAfterBrownOutReset
initialiseAfterBrownOutReset:
.safe... |
src/filesystem.ads | GLADORG/glad-cli | 0 | 18627 | <filename>src/filesystem.ads
with AAA.Strings; use AAA.Strings;
package Filesystem is
function Read_Directory(Path: String; Recursive: Boolean) return AAA.Strings.Vector;
function Count_Files(Path : String) return Natural;
function Is_Valid_File(Name : String) return Boolean;
function Get_Executable_Path r... |
programs/oeis/151/A151971.asm | neoneye/loda | 22 | 93638 | <reponame>neoneye/loda
; A151971: Numbers n such that n^2 - n is divisible by 21.
; 0,1,7,15,21,22,28,36,42,43,49,57,63,64,70,78,84,85,91,99,105,106,112,120,126,127,133,141,147,148,154,162,168,169,175,183,189,190,196,204,210,211,217,225,231,232,238,246,252,253,259,267,273,274,280,288,294,295,301,309,315,316,322,330,336... |
src/risi_script-types-identifier-scope.adb | OneWingedShark/Risi | 1 | 13590 | <reponame>OneWingedShark/Risi
With
Ada.Strings.Fixed;
Package Body Risi_Script.Types.Identifier.Scope is
Function Image( Input : Scope ) return String is
Function Img( Input : in out Scope ) return String is
begin
case Input.Length is
when 0 => return "";
when 1 => return Inp... |
PDProject2/PDProject2/lib/PSoCConfigTBL.asm | anttikp/SensIntPSoCex1 | 0 | 5359 | ; Generated by PSoC Designer 5.4.3191
;
; =============================================================================
; FILENAME: PSoCConfigTBL.asm
;
; Copyright (c) Cypress Semiconductor 2013. All Rights Reserved.
;
; NOTES:
; Do not modify this file. It is generated by PSoC Designer each time the
; ge... |
sound/sfxasm/86.asm | NatsumiFox/Sonic-3-93-Nov-03 | 7 | 24108 | <filename>sound/sfxasm/86.asm
86_Header:
sHeaderInit ; Z80 offset is $CE20
sHeaderPatch 86_Patches
sHeaderTick $01
sHeaderCh $02
sHeaderSFX $80, $05, 86_FM5, $FA, $00
sHeaderSFX $80, $C0, 86_PSG3, $04, $00
86_FM5:
sPatFM $00
dc.b nA5, $04
86_Loop1:
dc.b nEb6, $02
saVolFM $05
sLoop $00, $05, 86_Loop... |
oeis/315/A315024.asm | neoneye/loda-programs | 11 | 164668 | ; A315024: Coordination sequence Gal.6.196.5 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>(s3)
; 1,5,9,15,19,24,28,33,37,43,47,52,57,61,67,71,76,80,85,89,95,99,104,109,113,119,123,128,132,137,141,147,151,156,161... |
oeis/095/A095996.asm | neoneye/loda-programs | 11 | 242523 | ; A095996: a(n) = largest divisor of n! that is coprime to n.
; Submitted by <NAME>
; 1,1,2,3,24,5,720,315,4480,567,3628800,1925,479001600,868725,14350336,638512875,20922789888000,14889875,6402373705728000,14849255421,7567605760000,17717861581875,1124000727777607680000,2505147019375,992717442773183102976,28447389682129... |
programs/oeis/213/A213671.asm | karttu/loda | 0 | 161501 | <reponame>karttu/loda
; A213671: The odd part of n^2 - n + 2.
; 1,1,1,7,11,1,11,29,37,23,7,67,79,23,53,121,137,77,43,191,211,29,127,277,301,163,11,379,407,109,233,497,529,281,149,631,667,11,371,781,821,431,113,947,991,259,541,1129,1177,613,319,1327,1379,179,743,1541,1597,827,107,1771,1831,473,977,2017,2081,1073,553,227... |
kernel/IRQ/irq.asm | Groszekk/OperatingSystem | 1 | 80997 | irq_common:
pusha
mov ax, ds
push eax
mov ax, 0x10
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
extern irq_handler
call irq_handler
pop ebx
mov ds, bx
mov es, bx
mov fs, bx
mov gs, bx
popa
add esp, 8
sti
iret
global irq0
global irq1
global ir... |
bbc/error.asm | peter-mount/departures8bit | 0 | 10802 | <reponame>peter-mount/departures8bit
; ********************************************************************************
; Handle errors from BRK instructions.
;
; Errors raised with:
; BRK
; EQUB error code (unused)
; EQUS error string
; BRK or EQUB 0 to terminate string
; **************************************... |
func-ln.asm | cotarr/calc-pi-x86-64-asm | 0 | 27027 | ;-------------------------------------------------------------
;
; SINGLE THREAD FLOATING POINT MULTI-PRECISION CALCULATOR
;
; Calculation of exponential and log functions
;
; File: func-ln.asm
; Module: func.asm, func.o
; Exec: calc-pi
;
; Created 11/13/2014
; Last Edit 04/29/2020
;
;----------------------------... |
generator/src/main/antlr4/io/protolang/ProtoParser.g4 | turbospaces/protoc | 1 | 2294 | grammar ProtoParser;
all_identifiers : IDENTIFIER | QUALIFIED_IDENTIFIER ;
literal_value : literal_substitude | literal_without_substitude;
literal_substitude : SUBSTITUDE_START all_identifiers SUBSTITUDE_END ;
literal_without_substitude
: INTEGER_LITERAL
| STRING_LITERAL
| BOOL_LITERAL
| FLOAT_... |
samples/vsx_mem.c.power8_gcc-4.9.asm | seiko2plus/vsx_mem_test | 0 | 170745 | <reponame>seiko2plus/vsx_mem_test<filename>samples/vsx_mem.c.power8_gcc-4.9.asm
/test/samples/vsx_mem.c.power8_gcc-4.9.o: file format elf64-powerpcle
Disassembly of section .text:
0000000000000000 <INTRIN_schar>:
0: 00 00 26 2c cmpdi r6,0
4: 00 00 20 39 li r9,0
8: 34 00 82 41 beq 3c <INTR... |
programs/oeis/196/A196513.asm | karttu/loda | 1 | 21936 | <reponame>karttu/loda<gh_stars>1-10
; A196513: a(n) = 1*4*7 + 4*7*10 + 7*10*13 + ... (n terms).
; 0,28,308,1218,3298,7250,13938,24388,39788,61488,91000,129998,180318,243958,323078,420000,537208,677348,843228,1037818,1264250,1525818,1825978,2168348,2556708,2995000,3487328,4037958,4651318,5331998,6084750,6914488,7826288,... |
test/interaction/Issue3964.agda | shlevy/agda | 1,989 | 12702 |
open import Agda.Builtin.Equality
open import Agda.Builtin.Sigma
module _ {X : Set} {x : X} where
test : (p q : Σ X (x ≡_)) → p ≡ q
test (.x , refl) (z , q) = {!q!}
-- C-c C-c q RET:
-- WAS: test (_ , refl) (_ , refl)
-- WANT: preserved user-written pattern
-- test (.x , refl) (_ , refl)
test' : (p q ... |
src/natools-s_expressions-templates-generic_integers.adb | faelys/natools | 0 | 16252 | <filename>src/natools-s_expressions-templates-generic_integers.adb<gh_stars>0
------------------------------------------------------------------------------
-- Copyright (c) 2014, <NAME> --
-- --
-- Permissio... |
oeis/267/A267799.asm | neoneye/loda-programs | 11 | 245721 | <filename>oeis/267/A267799.asm
; A267799: a(n) = (1 + 2^n + 3^n)/2.
; 3,7,18,49,138,397,1158,3409,10098,30037,89598,267769,801258,2399677,7190838,21556129,64635618,193841317,581392878,1743916489,5231225178,15692626957,47075783718,141223156849,423661081938,1270966468597,3812865851358,11438530445209,34315457117898,102946... |
libsrc/_DEVELOPMENT/ctype/c/sdcc_iy/tolower.asm | meesokim/z88dk | 0 | 8869 |
; int tolower(int c)
SECTION code_ctype
PUBLIC _tolower
EXTERN _tolower_fastcall
_tolower:
pop af
pop hl
push hl
push af
jp _tolower_fastcall
|
P6/data_P6_2/MDTest33.asm | alxzzhou/BUAA_CO_2020 | 1 | 104867 | <filename>P6/data_P6_2/MDTest33.asm
ori $ra,$ra,0xf
sll $1,$4,31
lb $4,12($0)
lui $0,48373
srav $1,$1,$0
mtlo $4
ori $1,$1,65181
addu $0,$0,$3
multu $0,$0
div $4,$ra
mtlo $4
lb $3,0($0)
multu $4,$4
srav $4,$5,$1
srav $4,$4,$5
sll $4,$4,16
sll $5,$4,5
mflo $2
mult $4,$4
lui $0,20218
ori $2,$2,51721
mthi $6
lui $4,53683
... |
Classes/application/current application/id of current application.applescript | looking-for-a-job/applescript-examples | 1 | 1336 | #!/usr/bin/osascript
id of current application |
Transynther/x86/_processed/NONE/_ht_zr_/i7-7700_9_0xca.log_21829_1589.asm | ljhsiun2/medusa | 9 | 161759 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x98f2, %rsi
lea addresses_D_ht+0x1592, %rdi
nop
nop
nop
and $20474, %r11
mov $124, %rcx
rep movsw
nop
nop
sub $53759, %r13
lea addresses_normal_ht+0x1c3f2, %rsi
lea addresses_WC_ht+0x1... |
programs/oeis/098/A098486.asm | jmorken/loda | 1 | 4897 | ; A098486: Odd numbers with replacement of all prime factors 3 by 2.
; 1,2,5,7,4,11,13,10,17,19,14,23,25,8,29,31,22,35,37,26,41,43,20,47,49,34,53,55,38,59,61,28,65,67,46,71,73,50,77,79,16,83,85,58,89,91,62,95,97,44,101,103,70,107,109,74,113,115,52,119,121,82,125,127,86,131,133,40,137,139,94,143,145,98,149,151,68,155,15... |
7-assets/past-student-repos/LambdaSchool-master/m7/73a1/asm/stackoverflow.asm | eengineergz/Lambda | 0 | 26831 | <reponame>eengineergz/Lambda
LDI R0, 0
LDI R1, 1
LDI R3, Loop
Loop:
PRN R0
ADD R0, R1
PUSH R0
JMP R3
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/return1.ads | best08618/asylo | 7 | 7407 | package return1 is
type Base is abstract tagged null record;
type Child is new Base with record
Anon_Access : access Base'Class;
end record;
function X_Func (O : access Child) return access Base'Class;
end return1;
|
finding the largest number among two numbers.asm | arfat01850/Assembly_Program | 1 | 247004 | .MODEL SMALL
.STACK 100H
.CODE
MAIN PROC
include 'emu8086.inc'
MOV AH,1
INT 21H
MOV BL,AL ;BL will store the value
INT 21H
MOV BH, AL ; BH will sote the value
CMP BL,BH
JG L1
printn '' ... |
src/arch/ia32/hal/int/handler.asm | zhengruohuang/toddler | 80 | 100647 | [section .text]
;===============================================================================
; Imports
;===============================================================================
extern save_context
extern int_handler_entry
;===============================================================================
;... |
test/Succeed/Issue1086.agda | shlevy/agda | 1,989 | 15781 | <filename>test/Succeed/Issue1086.agda
-- Andreas, 2018-06-15, issue #1086
-- Reported by Andrea
-- Fixed by Jesper in https://github.com/agda/agda/commit/242684bca62fabe43e125aefae7526be4b26a135
open import Common.Bool
open import Common.Equality
and : (a b : Bool) → Bool
and true b = b
and false b = false
test : ∀... |
grammar/AutoCompute.g4 | shamilatesoglu/AutoCompute | 2 | 1922 |
grammar AutoCompute;
compilationUnit
: (entityDefinition)* (computeCall)* (entityDefinition)* EOF
;
entityDefinition
: ENTITY identifier=ID LCURLY entityBody RCURLY
;
entityBody
: (propertyDefinition)* (constraintsDefinition)* (inputDeclaration)* (localVariableDefinition)* (entityDefinition)* ... |
sources/payload.asm | magnar-blj/magnar | 1 | 161107 | ;; This file is licensed under BSD 3-Clause License
;;
;; Copyright (c) 2020, magnar-blj
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; 1. Redistributions of source code must retain the... |
arch/RISC-V/SiFive/drivers/fe310.ads | rocher/Ada_Drivers_Library | 192 | 10372 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2017-2018, AdaCore and other contributors --
-- --
-- ... |
programs/oeis/291/A291181.asm | neoneye/loda | 22 | 8384 | ; A291181: p-INVERT of the positive integers, where p(S) = 1 - 8*S.
; 8,80,792,7840,77608,768240,7604792,75279680,745192008,7376640400,73021211992,722835479520,7155333583208,70830500352560,701149669942392,6940666199071360,68705512320771208,680114457008640720,6732439057765635992,66644276120647719200,65971032214871155600... |
oeis/089/A089655.asm | neoneye/loda-programs | 11 | 163480 | <reponame>neoneye/loda-programs<filename>oeis/089/A089655.asm
; A089655: a(1)=1 and for n>=2 a(n) is the denominator of A(n) (see comment for A(n) definition).
; Submitted by <NAME>
; 1,1,4,1,4,1,8,3,8,3,4,1,4,1,16,1,48,1,12,1,4,1,8,5,8,45,4,9,4,1,32,1,32,1,12,1,12,1,8,1,8,1,4,3,4,3,16,7,80,7,20,1,36,1,72,1,8,1,4,1,4,3... |
test/interaction/Issue3689.agda | cruhland/agda | 1,989 | 12957 | <filename>test/interaction/Issue3689.agda
-- Andreas, 2019-04-10, issue #3689, reported by andrejtokarcik
-- Regression introduced by #3533 (dropping trivially impossible clauses
-- during case-splitting).
-- {-# OPTIONS -v interaction.case:100 #-}
-- {-# OPTIONS -v tc.cover:100 #-}
data _≡_ {A : Set} (a : A) : A → ... |
programs/oeis/135/A135180.asm | neoneye/loda | 22 | 20760 | <filename>programs/oeis/135/A135180.asm
; A135180: a(n) = p^5 - p^3 + p^2, where p = prime(n).
; 28,225,3025,16513,159841,369265,1415233,2469601,6424705,20487601,28600321,69294673,115788961,146930785,229243393,418049425,714722401,844373041,1349828833,1803876481,2072687905,3076569601,3938475745,5583362401,8586436993,105... |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0_notsx.log_21829_1952.asm | ljhsiun2/medusa | 9 | 83443 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x14390, %r8
nop
sub %rdx, %rdx
vmovups (%r8), %ymm2
vextracti128 $1, %ymm2, %xmm2
vpextrq $1, %xmm2, %rbx
nop
nop
nop
nop
add $38328, %rsi
lea addresses_UC_ht+0x1c4ec, %rsi
lea addresse... |
masm/hw3.asm | userElaina/MicrocomputerLab | 0 | 26268 | DATA SEGMENT
MESG DB 'Hello world!', 0AH
DATA ENDS
CODE SEGMENT
ASSUME CS: CODE, DS: DATA
BEG: MOV AX, DATA
MOV DS, AX
MOV AH, 9
MOV DX, OFFSET MESG
INT 21H
MOV AH, 4CH
INT 21H
CODE ENDS
END BEG
|
LC/Subst/Term.agda | banacorn/bidirectional | 2 | 15267 | <filename>LC/Subst/Term.agda
module LC.Subst.Term where
open import LC.Base
open import LC.Subst.Var
open import Data.Nat
open import Data.Nat.Properties
open import Relation.Nullary
--------------------------------------------------------------------------------
-- lifting terms
lift : (n i : ℕ) → Term → Term
l... |
programs/oeis/168/A168190.asm | karttu/loda | 1 | 241735 | <filename>programs/oeis/168/A168190.asm
; A168190: a(n) = n^3*(n^9 + 1)/2.
; 0,1,2052,265734,8388640,122070375,1088391276,6920643772,34359738624,141214768605,500000000500,1569214189026,4458050224992,11649042562339,28346956189020,64873168947000,140737488357376,291311118617337,578415690716004,1106657459536510,20480000000... |
programs/oeis/175/A175605.asm | neoneye/loda | 22 | 85075 | ; A175605: a(n) = concatenation of n^3 with itself.
; 11,88,2727,6464,125125,216216,343343,512512,729729,10001000,13311331,17281728,21972197,27442744,33753375,40964096,49134913,58325832,68596859,80008000,92619261,1064810648,1216712167,1382413824,1562515625,1757617576,1968319683,2195221952,2438924389,2700027000,29791297... |
freenet-supportforum.applescript | rinchen/fesc | 0 | 1657 | <gh_stars>0
on clicked theObject
do shell script "open http://hawk.freenetproject.org:8080/pipermail/support/"
end clicked
|
libsrc/_DEVELOPMENT/fcntl/c/sdcc_iy/read.asm | jpoikela/z88dk | 640 | 89233 | <gh_stars>100-1000
; ssize_t read(int fd, void *buf, size_t nbyte)
SECTION code_clib
SECTION code_fcntl
PUBLIC _read
EXTERN asm_read
_read:
pop af
pop hl
pop de
pop bc
push bc
push de
push hl
push af
jp asm_read
|
src/tests/display_ascon_traces.adb | jhumphry/Ascon_SPARK | 1 | 25310 | <filename>src/tests/display_ascon_traces.adb
-- Display_Ascon_Traces
-- A utility to display traces of the encryption process for the test vectors
-- in the demo of the reference implementations
-- Copyright (c) 2016, <NAME> - see LICENSE file for details
with Ada.Text_IO;
use Ada.Text_IO;
with System.Storage_Elemen... |
gcc-gcc-7_3_0-release/gcc/ada/s-vallld.adb | best08618/asylo | 7 | 10873 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
45/runtime/rt/grline.asm | minblock/msdos | 0 | 175355 | <reponame>minblock/msdos
TITLE GRLINE - LINE STATEMENT SUPPORT
PAGE 56,132
;***
;GRLINE - LINE STATEMENT SUPPORT
;
; Copyright <C> 1986, Microsoft Corporation
;
;Purpose:
;
; BASIC Syntax mapping to included runtime entry points:
;
; - LINE Statement:
;
; LINE [(x1,y1)] -(x2,y2) [,[color] [,B[F]] [,style]]
; | |... |
extern/game_support/stm32f4/src/button.adb | AdaCore/training_material | 15 | 4245 | ------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- --
-- ... |
asm/crack7.asm | yoshitsugu/hariboteos_in_rust | 29 | 242246 | [BITS 32]
GLOBAL hrmain
[SECTION .text]
hrmain:
MOV AX,1005*8
MOV DS,AX
CMP DWORD [DS:0x0004],'Hari'
JNE fin ; アプリではないようなので何もしない
MOV ECX,[DS:0x0000] ; このアプリのデータセグメントの大きさを読み取る
MOV AX,2005*8
MOV DS,AX
crackloop: ; 123で埋め尽くす
ADD ECX,-1
MOV BYTE [DS:ECX],123
CMP ECX,0
JNE ... |
Assembly/sprite_randomizer.asm | CaitSith2/Enemizer | 2 | 11434 | <reponame>CaitSith2/Enemizer
Palette_ArmorAndGloves:
{
;DEDF9
LDA !RANDOM_SPRITE_FLAG : BNE .continue
LDA.b #$10 : STA $BC ; Load Original Sprite Location
REP #$21
LDA $7EF35B
JSL $1BEDFF;Read Original Palette Code
RTL
.part_two
SEP #$30
LDA !RANDOM_SPRITE_FLAG : ... |
applescript/resources/is-iterm2-active.applescript | richiware/zsh-notify | 0 | 4601 | #!/usr/bin/osascript
on run ttyName
try
set ttyName to first item of ttyName
on error
set ttyName to ""
end
if ttyName is equal to "" then error "Usage: is-iterm2-active.applescript TTY"
tell application id "com.googlecode.iterm2"
tell current window
set isHot... |
source/oasis/program-element_visitors.ads | reznikmm/gela | 0 | 18058 | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Pragmas;
with Program.Elements.Defining_Identifiers;
with Program.Elements.Defining_Character_Literals;
with Program.Elements.Defining_Operator_Symbo... |
oeis/098/A098264.asm | neoneye/loda-programs | 11 | 103307 | <filename>oeis/098/A098264.asm
; A098264: G.f.: 1/(1-2x-19x^2)^(1/2).
; Submitted by <NAME>
; 1,1,11,31,211,851,4901,22961,124531,623011,3313201,17086301,90453661,473616781,2509264811,13250049551,70368250451,373539254611,1989045489281,10597110956861,56566637447401,302196871378601,1616570627763311,8654955238504531,46384... |
release/src/router/gmp/source/mpn/arm/invert_limb.asm | zhoutao0712/rtn11pb1 | 12 | 87990 | dnl ARM mpn_invert_limb -- Invert a normalized limb.
dnl Copyright 2001 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU Lesser General Public License as published
dnl by ... |
pcb/gerbers/modular_backplane/modular_backplane-PWR_PLANE2.g4 | smithjd8/robot | 0 | 1539 | G04 #@! TF.GenerationSoftware,KiCad,Pcbnew,(5.0.2)-1*
G04 #@! TF.CreationDate,2019-01-24T17:57:41-05:00*
G04 #@! TF.ProjectId,modular_backplane,6d6f6475-6c61-4725-9f62-61636b706c61,rev?*
G04 #@! TF.SameCoordinates,Original*
G04 #@! TF.FileFunction,Copper,L4,Inr*
G04 #@! TF.FilePolarity,Positive*
%FSLAX46Y46*%
G04 Gerbe... |
src/firmware-tests/Platform/MclrReset/Pcon/UlpwuDisabledTest.asm | pete-restall/Cluck2Sesame-Prototype | 1 | 24392 | <filename>src/firmware-tests/Platform/MclrReset/Pcon/UlpwuDisabledTest.asm
#include "Platform.inc"
#include "FarCalls.inc"
#include "MclrReset.inc"
#include "TestFixture.inc"
radix decimal
UlpwuDisabledTest code
global testArrange
testArrange:
banksel PCON
movlw 0xff
movwf PCON
testAct:
fcall initialiseA... |
Library/Text/TextUndo/tuMain.asm | steakknife/pcgeos | 504 | 92018 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: Text library
MODULE: TextUndo
FILE: tuMain.asm
AUTHOR: <NAME>, Jun 16, 1992
REVISION HISTORY:
Name Date Description
---- ---- -----------
... |
src/NF/List.agda | yanok/normalize-via-instances | 0 | 2140 | module NF.List {A : Set} where
open import NF
open import Data.List
open import Relation.Binary.PropositionalEquality
instance
nf[] : NF {List A} []
Sing.unpack (NF.!! nf[]) = []
Sing.eq (NF.!! nf[]) = refl
{-# INLINE nf[] #-}
nf∷ : {x : A}{{nfx : NF x}}{t : List A}{{nft : NF t}} -> NF (x ∷ t)
Sing.unpa... |
homotopy/JoinSusp.agda | danbornside/HoTT-Agda | 0 | 13461 | {-# OPTIONS --without-K #-}
open import HoTT
open import homotopy.JoinComm
open import homotopy.JoinAssocCubical
module homotopy.JoinSusp where
module _ {i} {A : Type i} where
private
module Into = PushoutRec {d = *-span (Lift {j = i} Bool) A}
{D = Suspension A}
(λ {(lift true) → north _;
... |
src/Bisimilarity/CCS/Examples.agda | nad/up-to | 0 | 5092 | <filename>src/Bisimilarity/CCS/Examples.agda
------------------------------------------------------------------------
-- Some results/examples related to CCS, implemented using the
-- coinductive definition of bisimilarity
------------------------------------------------------------------------
-- Unless anything else... |
oeis/008/A008503.asm | neoneye/loda-programs | 11 | 242658 | <reponame>neoneye/loda-programs
; A008503: 9-dimensional centered tetrahedral numbers.
; 1,11,66,286,1001,3003,8008,19448,43758,92378,184755,352705,646580,1143780,1960255,3265757,5303727,8416837,13079352,19937632,29860259,43999449,63865594,91416974,129166884,180310636,248875121,339893851,459610646,615715386,817615513,1... |
oeis/214/A214555.asm | neoneye/loda-programs | 11 | 171318 | ; A214555: Subsequence of fixed points A099009 of the Kaprekar mapping with numbers of the form 5(n)//4//9(n+1)//4(n)//5.
; Submitted by <NAME>(s1.)
; 495,549945,554999445,555499994445,555549999944445,555554999999444445,555555499999994444445,555555549999999944444445,555555554999999999444444445,5555555554999999999944444... |
programs/oeis/111/A111063.asm | jmorken/loda | 1 | 179865 | <filename>programs/oeis/111/A111063.asm
; A111063: a(0) = 1; a(n) = (n-1)*a(n-1) + n.
; 1,1,3,9,31,129,651,3913,27399,219201,1972819,19728201,217010223,2604122689,33853594971,473950329609,7109254944151,113748079106433,1933717344809379,34806912206568841
sub $0,1
mov $2,1
lpb $0
mul $2,$0
sub $0,1
add $1,$2
lpe
mu... |
bootloader/Stage2(yedek).asm | karacasoft/ProjectKaOS | 1 | 24213 | <gh_stars>1-10
bits 16
org 0x00
jmp main
;=====================================
; Preprocessor Directives
;=====================================
%include "stdio.inc"
%include "gdt.inc"
;=====================================
; Data Block
;=====================================
MsgStarting db "Starting Boot Stage 2"... |
Create Calendar Event in Fantastical.applescript | EvanLovely/clipboard-actions | 9 | 1130 | tell application "Fantastical"
parse sentence the clipboard
end tell |
Transynther/x86/_processed/AVXALIGN/_st_zr_/i3-7100_9_0xca_notsx.log_21829_499.asm | ljhsiun2/medusa | 9 | 175910 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r14
push %rax
push %rbp
push %rbx
push %rcx
// Store
lea addresses_normal+0x463f, %rbx
nop
nop
nop
nop
nop
add %rcx, %rcx
mov $0x5152535455565758, %rbp
movq %rbp, %xmm5
movups %xmm5, (%rb... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/bindgen.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 8796 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
libsrc/stdio/spectrum/fgetc_cons.asm | andydansby/z88dk-mk2 | 1 | 173785 | ;
; Devilishly simple Spectrum Routines
;
; getkey() Wait for keypress
;
; 17/5/99 djm
;
; 22/3/2000 djm Rechristened getchar
; 1/4/2000 djm Rechristened fgetc_cons
;
;
; $Id: fgetc_cons.asm,v 1.2 2001/04/13 14:14:00 stefano Exp $
;
XLIB fgetc_cons
.fgetc_cons
xor a
ld (23560),a
.getkey1
ld a,(23560)
and a
j... |
widgets/itunes-now-playing.applescript | zweck/ubersicht-widgets | 0 | 655 | <filename>widgets/itunes-now-playing.applescript
if application "Music" is running then
tell application "Music"
if player state is playing then
return (get artist of current track) & " - " & (get name of current track)
else
return ""
end if
end tell
else
return ""
end if
|
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_21829_2598.asm | ljhsiun2/medusa | 9 | 172403 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r12
push %r13
push %rax
push %rbp
push %rbx
// Load
mov $0xc3f, %r13
nop
nop
and $64904, %rbx
movb (%r13), %r11b
nop
nop
nop
nop
cmp $3981, %r11
// Store
lea addresses_A+0x1a33f, %r12
nop
nop
nop
nop
i... |
Tools/Product.agda | CoqHott/logrel-mltt | 2 | 8625 | -- Σ type (also used as existential) and
-- cartesian product (also used as conjunction).
{-# OPTIONS --safe #-}
import Tools.PropositionalEquality as PE
module Tools.Product where
infixr 4 _,_
infixr 2 _×_
-- Dependent pair type (aka dependent sum, Σ type).
record Σ (A : Set) (B : A → Set) : Set where
construc... |
asm/kernel/basic/parser.asm | majacQ/retroputer | 58 | 2958 | <reponame>majacQ/retroputer
.segment __current__ kmemmap.basic.code-start .append {
peektok: {
push x
push y
x := [bdata.current-line-aptr]
y := 0
_main:
dl := <bdata.current-line-ptr>,y
inc y
cmp dl, constants.SPACE # eat SPACEs
b... |
samples/sms/common/character_cntrl.asm | 0x8BitDev/MAPeD-SPReD | 23 | 173593 | <filename>samples/sms/common/character_cntrl.asm
;###############################################
;
; Copyright 2018-2020 0x8BitDev ( MIT license )
;
;###############################################
;
; Simple character controller
;
.define _player_move_speed 2
.define _player_jump_speed 5
.define _player_j... |
src/examples/asm/output.asm | fourstix/PicoElfPixieVideoGLCDV2 | 0 | 168595 | ; -------------------------------------------------------------------
; Output data byte to port 4
; -------------------------------------------------------------------
; Based on software written by <NAME>
; Thanks to the author for making this code available.
; Original author copyright notice:
; ********************... |
Automate2StepAuth.applescript | albertw1/Automating-2-Step-Verification-with-Cyberduck- | 1 | 2726 | <reponame>albertw1/Automating-2-Step-Verification-with-Cyberduck-
tell application "System Events"
repeat while "Cyberduck" is in (name of application processes)
try
tell process "Cyberduck" to set myValues to value of every static text of every sheet of front window
if {{"Provide ad... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1208.asm | ljhsiun2/medusa | 9 | 241539 | <filename>Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1208.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r14
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x6d80, %rsi
nop
nop
nop
nop
nop
add $49401, %rdi
mov $0x6162636465666768, %r11
movq %r1... |
MUniverse.agda | amal029/agda-tutorial-dybjer | 1 | 2296 | module MUniverse where
-- This is universe polymorphism and extensional equality module
open import Sec2
-- import Data.List
data _≃₀_ {A : Set} (a : A) (b : A) : Set where
a≃b : (a ≡ b) → a ≃₀ b
data _≃₁_ {A : Set} (f : A → A) (g : A → A) : Set where
f≃g : ((x y : A) → (x ≃₀ y) → (f x ≃₀ g y)) → f ≃₁ g
B==B : ... |
oeis/116/A116081.asm | neoneye/loda-programs | 22 | 166394 | ; A116081: Final nonzero digit of n^n.
; 1,4,7,6,5,6,3,6,9,1,1,6,3,6,5,6,7,4,9,6,1,4,7,6,5,6,3,6,9,9,1,6,3,6,5,6,7,4,9,6,1,4,7,6,5,6,3,6,9,5,1,6,3,6,5,6,7,4,9,6,1,4,7,6,5,6,3,6,9,9,1,6,3,6,5,6,7,4,9,6,1,4,7,6,5,6,3,6,9,1,1,6,3,6,5,6,7,4,9,1
add $0,1
mov $2,$0
pow $2,$0
lpb $2
dif $2,10
lpe
mov $0,$2
mod $0,10
|
programs/oeis/270/A270204.asm | neoneye/loda | 22 | 101637 | <gh_stars>10-100
; A270204: a(n) = n^12 - n^10 + n^8 - n^6 + n^4 - n^2 + 1.
; 1,1,3277,478297,15790321,234750601,2117950381,13564461457,67662254017,278985273841,990099009901,3112703553961,8854610100337,23161037562937,56406126018061,129172239050401,280379743338241,580613195032417,1153271900252557,2207200789455481,408578... |
encapsulation/rle.asm | jephthai/EvilVM | 141 | 19519 | BITS 64
default rel
global main
%include "defines.asm"
section .text
main: xor edi, edi
mov esi, edi
mov edx, edi
;; final length of shellcode
mov di, orig_len
mov si, short_len
base: lea rbx, [$ + code - base]
mov ecx, esi ; get count for total bytes to process
add rsi, rbx ; put source register at e... |
FormulaLexer.g4 | langhaoabcd/h-formula-editor | 0 | 7471 | <filename>FormulaLexer.g4
lexer grammar FormulaLexer;
channels {
ERROR
}
OpenParen: '(';
CloseParen: ')';
OpenBrace: '{';
CloseBrace: '}';
Comma: ',';
Plus: '+';
Minus: '-';
Multiply: '*';
Divide: '/';
EQ: '=';
NE: '<>';
GT: '>';
GTE: '>=';
LT: '<';
LTE: '<=';
//Connect: '_';
/// Boolean Literals
BooleanLiteral: 't... |
programs/oeis/338/A338760.asm | jmorken/loda | 1 | 173684 | ; A338760: Subword complexity of a certain infinite word.
; 1,2,4,8,15,28,47,73,107,150,203,267,343,432,535,653,787,938,1107,1295,1503,1732,1983,2257,2555,2878,3227,3603,4007,4440,4903,5397,5923,6482,7075,7703,8367,9068,9807,10585,11403,12262,13163,14107,15095,16128,17207
mov $10,$0
mov $12,$0
add $12,1
lpb $12
clr ... |
alloy4fun_models/trashltl/models/3/Sf4uc8gXRxwtv6pZ2.als | Kaixi26/org.alloytools.alloy | 0 | 1324 | open main
pred idSf4uc8gXRxwtv6pZ2_prop4 {
always some f:File | eventually f in Trash
}
pred __repair { idSf4uc8gXRxwtv6pZ2_prop4 }
check __repair { idSf4uc8gXRxwtv6pZ2_prop4 <=> prop4o } |
software/modules/sensors/magnetometer.ads | TUM-EI-RCS/StratoX | 12 | 23283 | with Generic_Sensor;
with Units; use Units;
with Units.Vectors; use Units.Vectors;
package Magnetometer with SPARK_Mode is
subtype Magnetometer_Data_Type is Magnetic_Flux_Density_Vector;
-- is record
-- heading : Heading_Type;
-- magnetic_vector : Magnetic_Flux_Density_Vector;
-- orientat... |
src/q_csv.ads | jfuica/bingada | 4 | 3011 | <gh_stars>1-10
--*****************************************************************************
--*
--* PROJECT: BingAda
--*
--* FILE: q_csv.ads
--*
--* AUTHOR: <NAME>
--*
--* NOTES: This code was taken from Rosetta Code and modifyied to fix
-- BingAda needs and Style Guide.
--*
--*... |
src/features/gdt.asm | FranchuFranchu/fran-os | 1 | 12673 | kernel_gdt:
kernel_gdt_null:
dw 0
dw 0
db 0
db 0
db 0
db 0
kernel_gdt_code:
.limit_0_15 dw 0xFFFF
.base_0_15 dw 0
.base_16_23 db 0
.access db 10011010b
.limit_and_flags db 11001111b
.base_24_31 db 0
kernel_gdt_data:
.limit_0_15 dw 0xFFFF
.base_0_15 dw 0x0
.base_16_23 db 0x0
.acc... |
Assembly Files/Basic Test Files/Larson_Scanner_Shift.asm | bgmichelsen/6502-Computer | 0 | 162945 | START:
LDA #$FF ; Set all bits in PORTB to be output bits
STA $B402
LDA #$01 ; Start the count with 1 (so that a shift can work)
STA $B400 ; Output to PORTB
JSR DELAY ; Delay for a bit
LEFT:
ASL ; Shift left
STA $B400 ; Output to PORTB
JSR DELAY ; Delay for a bit
CMP #$80 ; Cy... |
45/qb/ir/exconv.asm | minblock/msdos | 0 | 26539 | <filename>45/qb/ir/exconv.asm
page 49,132
TITLE exConv.asm - Data Type Conversion Functions
;***
;exConv.asm - Data type conversion functions
;
; Copyright <C> 1986, Microsoft Corporation
;
;Purpose:
;
; This module includes:
; - all implicit and explicit data type conversion functions
;
;
;*************************... |
src/Ethambda/System.agda | fredefox/ethambda-agda | 0 | 4650 | -- | The core type system.
module Ethambda.System where
open import Ethambda.Common using () -- ((<.>), (<.))
data Tp : Type -> Type where
Var : a -> Tp a
Fun : Tp a -> Tp a -> Tp a
Show a => Show (Tp a) where
show t = case t of
-- Var a => ?foo
Var a => show a
Fun a0 b0 => mbrackets a0 <+> "→" <+>... |
test/asset/agda-stdlib-1.0/Relation/Binary/Construct/FromPred.agda | omega12345/agda-mode | 5 | 14432 | <reponame>omega12345/agda-mode
------------------------------------------------------------------------
-- The Agda standard library
--
-- Every respectful unary relation induces a preorder. No claim is
-- made that this preorder is unique.
------------------------------------------------------------------------
{-# O... |
libpal/intel_64bit_systemv_nasm/write_ldtr.asm | mars-research/pal | 26 | 25839 | <filename>libpal/intel_64bit_systemv_nasm/write_ldtr.asm<gh_stars>10-100
bits 64
default rel
section .text
global pal_execute_write_ldtr
pal_execute_write_ldtr :
lldt di
ret
|
ladspa/src/ladspa.ads | Lucretia/aplug | 2 | 12197 | <gh_stars>1-10
with Ada.Finalization;
with Interfaces.C;
with Interfaces.C.Strings;
with System;
package LADSPA is
pragma Preelaborate;
package C renames Interfaces.C;
Version : constant String := "1.1";
Version_Major : constant := 1;
Version_Minor : constant := 1;
subtype Data is C.C_float;... |
evaluation/5_more_vulns/mds-sb.asm | microsoft/sca-fuzzer | 2 | 161196 | <gh_stars>1-10
.intel_syntax noprefix
# write a page offset into Store Buffer
IMUL edi, edi, 2891336453
ADD edi, 12345
MOV ecx, edi
MFENCE
# put a value into store buffer
MOV qword ptr [r14], rcx
MOV rcx, qword ptr [r14]
# delay to allow data reach SB
LEA rbx, [rbx + rax + 1]
LEA rbx, [rbx + rax + 1]
LEA rbx, [rbx +... |
examples/simple-lib/Lib/Eq.agda | shlevy/agda | 1,989 | 16924 |
module Lib.Eq where
open import Lib.Prelude as P hiding (String)
open import Lib.Nat renaming (_==_ to _=Nat=_)
open import Lib.Fin
open import Lib.List
open import Lib.Bool
-- Wrapper type, used to ensure that El is constructor-headed.
record String : Set where
constructor string
field unString : P.String
-- ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.