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 |
|---|---|---|---|---|
Aurora/Aurora/x64/Debug/sysmouse.asm | manaskamal/aurora-xeneva | 8 | 162770 | <gh_stars>1-10
; Listing generated by Microsoft (R) Optimizing Compiler Version 17.00.50727.1
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
PUBLIC ?sys_set_mouse_data@@YAXXZ ; sys_set_mouse_data
PUBLIC ?sys_get_mouse_pack@@YA_NPEAU_mouse_packet_@@@Z ; sys_get_mouse_pack
PUBLIC ?sys_move_cursor@@YAXIII... |
Omnium.Core/antlr/TypescriptCode - Copy.g4 | Beier/Omnium | 10 | 416 | // Define a grammar called Hello
grammar TypescriptCode;
root: declartion* EOF;
declartion
: importDeclaration
| statement
| classDeclaration
| methodDeclaration
| functionDeclaration
| constructorDeclaration
| getterDeclaration
| moduleDeclaration
;
importDeclaration: 'import' STRING;
classDeclaration: EX... |
programs/oeis/217/A217628.asm | neoneye/loda | 22 | 13118 | ; A217628: a(n) = 3^((n-1)*(n+2)/2).
; 1,9,243,19683,4782969,3486784401,7625597484987,50031545098999707,984770902183611232881,58149737003040059690390169,10301051460877537453973547267843
add $0,2
bin $0,2
mov $1,3
pow $1,$0
sub $1,3
div $1,3
add $1,1
mov $0,$1
|
sh.asm | ShwetiMahajan/xv6_schedulersOS | 0 | 16678 |
_sh: file format elf32-i386
Disassembly of section .text:
00000000 <nulterminate>:
}
// NUL-terminate all the counted strings.
struct cmd*
nulterminate(struct cmd *cmd)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 53 push %ebx
... |
src/kernel/asm/cpu/pci.asm | Krzem5/Assembly-64Bit_Uefi_Kernel | 4 | 245068 | <filename>src/kernel/asm/cpu/pci.asm
bits 64
global asm_pci_read
global asm_pci_write
asm_pci_read:
mov eax, ecx
mov dx, 0xcf8
out dx, eax
mov dx, 0xcfc
in eax, dx
ret
asm_pci_write:
mov eax, ecx
mov ecx, edx
mov dx, 0xcf8
out dx, eax
mov dx, 0xcfc
mov eax, ecx
out dx, eax
ret
|
oeis/282/A282142.asm | neoneye/loda-programs | 11 | 99766 | ; A282142: Binary representation of the x-axis, from the origin to the right edge, of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 553", based on the 5-celled von Neumann neighborhood.
; 1,0,100,0,10100,0,1010100,0,101010100,0,10101010100,0,1010101010100,0,101010101010100,0,101010... |
examples/test_di.adb | ytomino/zlib-ada | 0 | 23070 | <gh_stars>0
-- test for deflating and inflating
with Ada.Command_Line;
with Ada.Directories;
with Ada.Environment_Variables;
with Ada.Text_IO;
with Ada.Streams.Stream_IO;
with zlib;
procedure test_di is
use type Ada.Streams.Stream_Element;
use type Ada.Streams.Stream_Element_Offset;
Verbose : Boolean := False;
begin... |
libsrc/math/mbf32/z80/fpreg.asm | ahjelm/z88dk | 640 | 2949 |
SECTION bss_fp_mbf32
PUBLIC FPREG
PUBLIC FPEXP
PUBLIC SGNRES
PUBLIC FPSIGN
PUBLIC VALTYP
PUBLIC SEED
PUBLIC LSTRND
FPREG:
defb 0
defb 0
defb 0
FPEXP:
defb 0
SGNRES:
FPSIGN:
defb 0
VALTYP:
defb 0
SEED:
defs 4
LSTRND:
defs 4
IF __CPU_GBZ80__
PUBLIC _... |
maps/Route106.asm | Trap-Master/spacworld97-thingy | 0 | 90016 | object_const_def
Route106_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
;callback MAPCALLBACK_NEWMAP, .InitializeRoom
;callback MAPCALLBACK_TILES, .SetSpawn
Route106_MapEvents:
db 0, 0 ; filler
db 4 ; warp events
warp_event 15, 12, JADE_FOREST, 1
warp_event 15, 13, JADE_FOREST, 2
warp_event 24, 8, JA... |
programs/oeis/312/A312472.asm | jmorken/loda | 1 | 15165 | <filename>programs/oeis/312/A312472.asm
; A312472: Coordination sequence Gal.6.149.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.
; 1,4,8,14,18,22,26,30,34,40,44,48,52,56,62,66,70,74,78,82,88,92,96,100,104,110,114,118,122,126,130,13... |
asm/scriptcode/vwfInstaText.asm | Dimedime-d/kptranslation | 3 | 177286 | ;mimic 0x080A7044 EXCEPT where it adds constant width
.word 0x00000005
.word 0
.word Label1
.word 0x00000003 ;<-0x080A7050
Label1:
.word 0x00090002
.word Label2
.word 0x00080001
.word 0 ;<-0x080A7060
Label2:
.word 0x00000006
.word 0x7FFFFF03
.word 0x0
.word 0x00000006 ;<-0x080A7070
.word 0x7FFFFF0A
.word 0x7FFFFF0... |
Transynther/x86/_processed/US/_zr_/i3-7100_9_0xca_notsx.log_1_757.asm | ljhsiun2/medusa | 9 | 2075 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r8
push %rbp
push %rbx
lea addresses_WT_ht+0x1600b, %rbx
nop
nop
nop
nop
nop
sub $55407, %r15
movb $0x61, (%rbx)
nop
nop
xor $9058, %rbx
lea addresses_D_ht+0x198ed, %r15
clflush (%r15)
nop
nop
nop
dec %r14
mov (%r15), %ebp
nop
and $16500, ... |
tests/hello_real.asm | Zero-Tang/SimpleWhpDemo | 20 | 12125 | bits 16
org 0x100
; Define special I/O Ports for hypercall.
%define str_prt_port 0
segment .text
start:
; Get the length of string.
mov si,hello_str
mov cx,100
call strlen
; Perform Output
mov cx,dx
mov dx,str_prt_port
mov si,hello_str
rep outsb
; Terminate this program.
cli
hlt
; Input Parameters:
; ds:... |
Universe/Planet/PlanetXX16Vars.asm | TinfoilAsteroid/EliteNext | 9 | 160662 | <reponame>TinfoilAsteroid/EliteNext
;-- XX16 --------------------------------------------------------------------------------------------------------------------------
PBnkTransmatSidevX DW 0 ; XX16+0
PBnkTransmatSidev EQU PBnkTransmatSidevX
PBnkTransmatSidevY DW 0 ... |
src/screentab.asm | jardafis/CastleEscape | 1 | 105313 | <filename>src/screentab.asm<gh_stars>1-10
IF !_ZXN
public _screenTab
section RODATA_2
; Screen address decoding:
; Hi Lo
; +---------------+ +---------------+
; |7|6|5|4|3|2|1|0| |7|6|5|4|3|2|1|0|
; +---------------+ +---------------+
... |
papers/unraveling-recursion/code/src/Context.agda | AriFordsham/plutus | 1,299 | 6384 | module Context where
open import Level using (_⊔_)
open import Function
open import Data.List.Base
-- | `ifix`. Check `docs/fomega/deep-isorecursive/README.md` for details.
{-# NO_POSITIVITY_CHECK #-}
data IFix {ι φ} {I : Set ι} (F : (I -> Set φ) -> I -> Set φ) (i : I) : Set φ where
Wrap : F (IFix F) i -> IFix F i
... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_965.asm | ljhsiun2/medusa | 9 | 176651 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r14
push %r15
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x148de, %rdi
nop
nop
nop
nop
nop
cmp $31187, %r10
mov $0x6162636465666768, %r11
movq %r11, %xmm1
movups %xmm1, (%rdi)
add $42457, %r15
lea addresses_D_ht+0xb2fe, %r14
nop
nop
... |
libsrc/_DEVELOPMENT/arch/zx/display/c/sccz80/zx_pxy2aaddr_callee.asm | jpoikela/z88dk | 38 | 28863 | <reponame>jpoikela/z88dk
; void *zx_pxy2aaddr_callee(uchar x, uchar y)
SECTION code_clib
SECTION code_arch
PUBLIC zx_pxy2aaddr_callee
EXTERN asm_zx_pxy2aaddr
zx_pxy2aaddr_callee:
pop hl
pop de
ex (sp),hl
ld h,e
jp asm_zx_pxy2aaddr
|
04-cubical-type-theory/material/ExerciseSession2.agda | williamdemeo/EPIT-2020 | 1 | 10892 | -- Exercises for session 2
--
-- If unsure which exercises to do start with those marked with *
--
{-# OPTIONS --cubical --allow-unsolved-metas #-}
module ExerciseSession2 where
open import Part1
open import Part2
open import ExerciseSession1
open import Cubical.Foundations.Equiv
-- Exercises about Part 2:
-- Exerc... |
libsrc/math/mbf64/c/sccz80/fpclassify.asm | jpoikela/z88dk | 640 | 694 | <filename>libsrc/math/mbf64/c/sccz80/fpclassify.asm
SECTION code_fp_mbf64
PUBLIC fpclassify
INCLUDE "mbf64.def"
EXTERN ___mbf64_FA
; Return 0 = normal
; 1 = zero
; 2 = nan
; 3 = infinite
fpclassify:
ld a,(___mbf64_FA+7) ;exponent
ld hl,1
... |
examples/utils/sdl/gl_gl_h.ads | Fabien-Chouteau/GESTE | 13 | 28650 | <reponame>Fabien-Chouteau/GESTE<filename>examples/utils/sdl/gl_gl_h.ads
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with System;
package GL_gl_h is
GL_VERSION_1_1 : constant := 1; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7.3/../../../../i686-pc-min... |
arch/ARM/Nordic/svd/nrf51/nrf51_svd-spi.ads | bosepchuk/Ada_Drivers_Library | 6 | 20454 | -- Copyright (c) 2013, Nordic Semiconductor ASA
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- * Redistributions of source code must retain the above copyright notice, this
-- lis... |
FormalAnalyzer/models/apps/ID5.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 2108 | module app_ID5
open IoTBottomUp as base
open cap_userInput
open cap_alarm
open cap_carbonMonoxideDetector
open cap_runIn
one sig app_ID5 extends IoTApp {
phone : one cap_userInput,
state : one cap_state,
alarm : one cap_alarm,
smoke : some cap_carbonMonoxideDetector,
runIn : one cap_state,
} {
... |
old/Homotopy/VanKampen/Code/LemmaPackA.agda | UlrikBuchholtz/HoTT-Agda | 294 | 671 | <filename>old/Homotopy/VanKampen/Code/LemmaPackA.agda
{-# OPTIONS --without-K #-}
open import Base
open import Homotopy.Pushout
open import Homotopy.VanKampen.Guide
module Homotopy.VanKampen.Code.LemmaPackA {i} (d : pushout-diag i)
(l : legend i (pushout-diag.C d)) where
open import Homotopy.Truncation
open im... |
Blizzard/Grammar/blizzard.g4 | BLM16/Blizzard | 0 | 1612 | <reponame>BLM16/Blizzard<filename>Blizzard/Grammar/blizzard.g4
grammar blizzard;
//////////////////////////////////////////////////////////////////////////////////////////
// Parser Rules
//////////////////////////////////////////////////////////////////////////////////////////
program: statement* EOF;
statement: (ex... |
courses/spark_for_ada_programmers/labs/source/120_depends_contract_and_information_flow_analysis/array_swapping.adb | AdaCore/training_material | 15 | 12664 | <reponame>AdaCore/training_material<filename>courses/spark_for_ada_programmers/labs/source/120_depends_contract_and_information_flow_analysis/array_swapping.adb<gh_stars>10-100
package body Array_Swapping
is
procedure Swap (A: in out ArrayType; I, J: in IndexType)
with Depends => (A => (A, I, J))
is
T: Eleme... |
perf/tsm.adb | yannickmoy/SPARKNaCl | 76 | 22231 | with HAL; use HAL;
with HiFive1.LEDs; use HiFive1.LEDs;
with FE310;
with FE310.CLINT;
with FE310.Time; use FE310.Time;
with Interfaces; use Interfaces;
with IO;
with SPARKNaCl; use SPARKNaCl;
with SPARKNaCl.Scalar;
with TweetNaCl_API;
with RISCV.CSR; use RISCV.CSR;
with FE310.Performance_Monitor; use FE310.... |
tests/comparison/sumodd.agda | jota191/pml | 15 | 8767 | <reponame>jota191/pml
open import Data.Nat using (_+_; _*_; zero; suc; ℕ)
open import Relation.Binary.PropositionalEquality as PropEq
using (_≡_; _≢_; refl; cong)
import Data.Nat.Properties
open Data.Nat.Properties.SemiringSolver
using (solve; _:=_; con; var; _:+_; _:*_; :-_; _:-_)
open PropEq.≡-Reasoning
lem1 : (... |
gfx/pokemon/pidgeot/anim.asm | Dev727/ancientplatinum | 28 | 7906 | <gh_stars>10-100
frame 0, 12
frame 1, 32
setrepeat 2
frame 0, 06
frame 2, 06
dorepeat 3
endanim
|
ColdFire/Generic/IAR/cpu_a.asm | EmbeddedInsights/uC-CPU | 17 | 13614 | <reponame>EmbeddedInsights/uC-CPU
/*
;********************************************************************************************************
; uC/CPU
; CPU CONFIGURATION & PORT LAYER
;
; Copyright 2004-2021 Silicon Lab... |
oeis/170/A170931.asm | neoneye/loda-programs | 11 | 163293 | ; A170931: Extended Lucas L(n,i) = n*(L(n,i-1) + L(n,i-2)) = a^i + b^i where d = sqrt(n*(n+4)); a=(n+d)/2; b=(n-d)/2.
; Submitted by <NAME>
; 2,4,24,112,544,2624,12672,61184,295424,1426432,6887424,33255424,160571392,775307264,3743514624,18075287552,87275208704,421401985024,2034708774912,9824443039744,47436607258624,229... |
config/pksc.g4 | ermites-io/pkisauce | 2 | 3536 | <reponame>ermites-io/pkisauce
// pkisauce grammar v1
// i'm lazy for fuck sake!
// wanna try? debug?
// install antlr4, then:
// $ antlr4 pksc.g4
// $ javac pksc*.java
// $ grun pksc config -tree
// (DUMP a CONF FILE IN STDIN)
//
// generate the go files for this package:
// antlr4 -Dlanguage=Go -package config pksc.g4... |
Engine/Graphics/WaitVBL.asm | wide-dot/thomson-to8-game-engine | 11 | 88860 | <filename>Engine/Graphics/WaitVBL.asm<gh_stars>10-100
********************************************************************************
* Attente VBL
* Alternance de la page 2 et 3 entre affichage et espace cartouche
* Alternance de la RAMA et RAM B dans l'espace ecran
* -------------------------------------------------... |
source/webdriver-drivers.ads | reznikmm/webdriver | 2 | 20973 | <gh_stars>1-10
-- Copyright (c) 2017-2020 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with WebDriver.Sessions;
with League.JSON.Values;
package WebDriver.Drivers is
type Driver is limited interface;
not overri... |
ParadoxParser/Paradox.g4 | Gqqnbig-StellarisMods/G-StellarisLedger | 1 | 4669 | grammar Paradox;
//开头是小写的规则是语法规则 parser
//开头是大写的规则是词法规则 lexer
paradox:
kvPair+;
kvPair
: atom '=' atom
| atom '=' scope
| scope
;
scope
: '{' (paradox|atom+)? '}'
;
atom
: STRING
| NUMBER
| ID (':' ID)?
;
STRING
: '"' (~'"')*? '"' //~'"' 不是引号
;
//在 ANTLR4 中,先写的名称优先级高。
//https://abcda... |
src/main/fragment/mos6502-common/vwsm1=vwsm2_minus_vwsc1.asm | jbrandwood/kickc | 2 | 169942 | lda {m2}
sec
sbc #<{c1}
sta {m1}
lda {m2}+1
sbc #>{c1}
sta {m1}+1
|
alloy4fun_models/trashltl/models/3/qyRYN8AEYsComRu5v.als | Kaixi26/org.alloytools.alloy | 0 | 1574 | <filename>alloy4fun_models/trashltl/models/3/qyRYN8AEYsComRu5v.als<gh_stars>0
open main
pred idqyRYN8AEYsComRu5v_prop4 {
eventually some File
}
pred __repair { idqyRYN8AEYsComRu5v_prop4 }
check __repair { idqyRYN8AEYsComRu5v_prop4 <=> prop4o } |
Tests/sublime-syntax tests/syntax_test_operators.nasm | 13xforever/x86-assembly-textmate-bundle | 69 | 94117 | ; SYNTAX TEST "Packages/User/x86_64 Assembly.tmbundle/Syntaxes/Nasm Assembly.sublime-syntax"
$ $$ $$$ $$$$
;^ variable.language
; ^^ variable.language
; ^^^ invalid.illegal
; ^^^^ invalid.illegal
1|1
;^ keyword.operator
2^2
;^ keyword.operator
3&3
;^ keyword.operator
4<<4
;^^ keyword.operator
5>>5
;^^ k... |
programs/oeis/176/A176128.asm | neoneye/loda | 22 | 21004 | ; A176128: a(n) = (n*n!)^2.
; 1,16,324,9216,360000,18662400,1244678400,104044953600,10666233446400,1316818944000000,192795461591040000,33039724723568640000,6553108179373916160000,1489610673484191498240000
add $0,1
mov $1,$0
lpb $1
mul $0,$1
sub $1,1
lpe
pow $0,2
|
alloy4fun_models/trainstlt/models/2/McdHrMRfkjfk8WSbr.als | Kaixi26/org.alloytools.alloy | 0 | 1244 | open main
pred idMcdHrMRfkjfk8WSbr_prop3 {
no Train.pos
}
pred __repair { idMcdHrMRfkjfk8WSbr_prop3 }
check __repair { idMcdHrMRfkjfk8WSbr_prop3 <=> prop3o } |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1084.asm | ljhsiun2/medusa | 9 | 99164 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x9203, %rsi
lea addresses_D_ht+0x3933, %rdi
nop
lfence
mov $59, %rcx
rep movsb
sub %rdi, %rdi
lea addresses_UC_ht+0xa7d7, %r12
dec %rbx
vmovups (%r12), %ymm2
vextracti128 $1, %ymm2, %xm... |
reo-interpreter/src/main/antlr4/nl/cwi/reo/interpret/Reo.g4 | kasperdokter/Reo-compiler | 9 | 5867 | grammar Reo;
import Tokens, WA, CAM, SA, P, PR, RBA, Comments;
// Reo File
file : secn? imps* defn* EOF;
secn : 'section' name ';' ;
imps : 'import' name ';' ;
defn : ID '='? component ;
// Components
component : var # component_variable
... |
src/vulkan-math/gentype/vulkan-math-genutype.ads | zrmyers/VulkanAda | 1 | 28872 | <reponame>zrmyers/VulkanAda
--------------------------------------------------------------------------------
-- MIT License
--
-- Copyright (c) 2020 <NAME>
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
... |
Evernote - Open in Jira.applescript | keremkoseoglu/AppleScript-Library | 2 | 3437 | <reponame>keremkoseoglu/AppleScript-Library
tell application "Evernote"
set oNotes to selection
set sName to title of item 1 of oNotes
set sWords to words of sName
set sURL to "http://tugjira.eczacibasi.com.tr/browse/" & item 1 of sWords & "-" & item 2 of sWords
end tell
set sCommand to "open " & sURL
do shell scr... |
programs/oeis/008/A008771.asm | karttu/loda | 1 | 174292 | ; A008771: Expansion of (1+x^10)/((1-x)*(1-x^2)*(1-x^3)*(1-x^4)).
; 1,1,2,3,5,6,9,11,15,18,24,28,36,42,52,60,73,83,99,112,131,147,170,189,216,239,270,297,333,364,405,441,487,528,580,626,684,736,800,858,929,993,1071,1142,1227,1305,1398,1483,1584,1677,1786,1887,2005,2114,2241,2359,2495,2622,2768,2904,3060,3206,3372,3528,... |
Encoding.asm | MrLittleKitty/Assembly-Language-RLE-Algorithm | 1 | 6603 | <filename>Encoding.asm
;************************************************************
; <NAME>
;
; CS M30
;
; Programming Assignment 4
;
; The goal of this project is to write an assembly language
; procedure that compresses a file using a specific implementation
; of the Run Length Encoding algorithm. The procedure tha... |
scripts/volume/unmute.scpt | katsuma/itunes-client | 12 | 2661 | <filename>scripts/volume/unmute.scpt
tell application "iTunes"
set mute to false
end tell
|
src/main/antlr4/eu/lightest/horn/Horn.g4 | santhoshkiran3108/TrustPolicyInterpreter- | 0 | 3487 | /**
* Grammar file for basic TPL parsing
*
* TODO: Parse an ignore list
*/
grammar Horn;
// Keywords
// Operators
RELOP : '<'
| '>'
| '=='
| '<='
| '>='
;
ARITH : '-'
| '+'
| '*'
;
// Numerical literals
fragment DIGIT0 : [0-9];
fragment DIGIT : [1-9];
//INT :... |
generated/natools-static_maps-web-list_templates-t.ads | faelys/natools-web | 1 | 818 | <filename>generated/natools-static_maps-web-list_templates-t.ads
-- Generated at 2015-08-01 13:43:50 +0000 by Natools.Static_Hash_Maps
-- from src/natools-web-list_templates-maps.sx
function Natools.Static_Maps.Web.List_Templates.T
return Boolean;
pragma Pure (Natools.Static_Maps.Web.List_Templates.T);
|
grep.asm | Alpr1010/cpsc405 | 0 | 245822 | <reponame>Alpr1010/cpsc405
_grep: file format elf32-i386
Disassembly of section .text:
00001000 <main>:
}
}
int
main(int argc, char *argv[])
{
1000: 8d 4c 24 04 lea 0x4(%esp),%ecx
1004: 83 e4 f0 and $0xfffffff0,%esp
1007: ff 71 fc pushl -0x4(%ecx)
10... |
ASM/fib.asm | 0x0D15EA5Exd/College | 1 | 15279 | ; fibonacci.asm
; (nasm syntax)
; 0xDEADC0DE
; CS310
;
; Use a loop to calculate and print the first 7 fibonacci numbers
global _start ;
%include "Along32.inc" ;
section .text
; function fib
; takes one parameter: ecx -- return the ecx'th fibonacci number
; returns the value in eax
fib:
cmp ecx, 2 ; special-case ... |
src/gen/cups-stdio_h.ads | persan/a-cups | 0 | 13084 | <reponame>persan/a-cups
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with CUPS.libio_h;
with CUPS.stdarg_h;
with CUPS.bits_types_h;
with CUPS.uG_config_h;
with Interfaces.C.Strings;
with System;
private package CUPS.stdio_h is
-- unsupported macro: BUFSIZ _IO_BUFSIZ
SEEK_S... |
alloy4fun_models/trashltl/models/10/JzdZQCo6dtZDobo77.als | Kaixi26/org.alloytools.alloy | 0 | 44 | <gh_stars>0
open main
pred idJzdZQCo6dtZDobo77_prop11 {
always all f:File | f in File-Protected implies (f' in Protected)
}
pred __repair { idJzdZQCo6dtZDobo77_prop11 }
check __repair { idJzdZQCo6dtZDobo77_prop11 <=> prop11o } |
bb-runtimes/arm/sam/samg55/setup_pll.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 28046 | <filename>bb-runtimes/arm/sam/samg55/setup_pll.adb
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
cmd/expand/dosdir.asm | minblock/msdos | 0 | 164954 | <filename>cmd/expand/dosdir.asm<gh_stars>0
;****************************************************************************
;
; dosdir.asm - IsDir() and support functions for compress.c,
; stolen from dos.asm
;
; Copyright (c) Microsoft Corporation 1989-1991
; Microsoft Confidential
... |
stressfs.asm | priyasun19/xv6 | 0 | 91840 |
_stressfs: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "fs.h"
#include "fcntl.h"
int
main(int argc, char *argv[])
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
6: 81 ec 30 02 00 00... |
libsrc/_DEVELOPMENT/target/sms/driver/terminal/sms_01_output_terminal/sms_01_output_terminal_oterm_msg_bell.asm | jpoikela/z88dk | 640 | 27623 | SECTION code_driver
SECTION code_driver_terminal_output
PUBLIC sms_01_output_terminal_oterm_msg_bell
EXTERN l_ret
;sms_01_output_terminal_oterm_msg_bell:
; What should be done for the sms?
; Other targets emit an audible bell here.
;
; can use: af, bc, de, hl
; bit 0,(ix+7)
; ret z ... |
kernel/mm/vmm.asm | leonardoruilova/xos | 1 | 16393 |
;; xOS32
;; Copyright (C) 2016-2017 by <NAME>.
use32
page_directory = 0x9C000
page_tables = 0x200000
PAGE_PRESENT = 0x01
PAGE_WRITEABLE = 0x02
PAGE_USER = 0x04
PAGE_NO_CACHE = 0x10
; vmm_init:
; Initializes the virtual memory manager and paging subsystem
vmm_init:
; first construct the page director... |
0x0001-hello_world-x64/main.asm | walleieve/Reverse-Engineering | 3,418 | 177870 | extrn MessageBoxA: proc
extrn PostQuitMessage: proc
.data
msg_txt db 'Hello World', 0
msg_caption db 'Hello World App', 0
.code
main proc
sub rsp, 20h ;shadow stack
mov r9, rax ;UINT uType
lea r8, msg_caption ;LPCSTR lpCaption
lea rdx, msg_txt ;LPCSTR lpText
xor rcx, rcx ;HWND hWnd
c... |
programs/oeis/002/A002734.asm | neoneye/loda | 22 | 166688 | ; A002734: Remove squares!
; 2,3,5,6,7,2,10,11,3,13,14,15,17,2,19,5,21,22,23,6,26,3,7,29,30,31,2,33,34,35,37,38,39,10,41,42,43,11,5,46,47,3,2,51,13,53,6,55,14,57,58,59,15,61,62,7,65,66,67,17,69,70,71,2,73,74,3,19,77,78,79,5,82,83,21,85,86,87,22,89,10,91,23,93,94,95,6,97,2,11,101,102,103,26,105,106,107,3,109,110
seq $0... |
container/m/from-nat/coalgebra.agda | HoTT/M-types | 27 | 2173 | <filename>container/m/from-nat/coalgebra.agda
{-# OPTIONS --without-K #-}
module container.m.from-nat.coalgebra where
open import level
open import sum
open import equality
open import function
open import sets.nat.core
open import sets.nat.struct
open import sets.unit
open import container.core
open import container.... |
tools/mgrep-main.adb | stcarrez/ada-mail | 2 | 11097 | <reponame>stcarrez/ada-mail<gh_stars>1-10
-----------------------------------------------------------------------
-- mgrep -- Mail grep command
-- Copyright (C) 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in co... |
oeis/259/A259547.asm | neoneye/loda-programs | 11 | 173117 | <reponame>neoneye/loda-programs
; A259547: a(n) = n^4*Fibonacci(n).
; 0,1,16,162,768,3125,10368,31213,86016,223074,550000,1303049,2985984,6654713,14482832,30881250,64684032,133383037,271257984,544872101,1082400000,2128789026,4148908016,8019403537,15383789568,29306640625,55473687568,104384578338,195344438016,36370440134... |
libsrc/psg/sn76489/bit_open.asm | jpoikela/z88dk | 38 | 166054 | SECTION code_clib
;INCLUDE "psg/sn76489.inc"
PUBLIC bit_open
PUBLIC _bit_open
PUBLIC bit_open_di
PUBLIC _bit_open_di
PUBLIC bit_close
PUBLIC _bit_close
PUBLIC bit_close_ei
PUBLIC _bit_close_ei
EXTERN __snd_tick
EXTERN __bit_irqstatus
EXTERN psg_init... |
source/Zen.g4 | itssamuelrowe/Zen | 27 | 7912 | <filename>source/Zen.g4
compilationUnit
: NEWLINE*
importDeclaration*
annotatedComponentDeclaration*
EOF
;
importDeclaration
: 'import' importTarget NEWLINE
;
importTarget
: IDENTIFIER ('.' IDENTIFIER)* ('.' '*' | ('as' IDENTIFIER))?
;
annotatedComponentDeclaration
: annotations? component... |
BigNum/Mod/ModArith/bnBinGCD.asm | FloydZ/Crypto-Hash | 11 | 81677 | .686
.model flat,stdcall
option casemap:none
include .\bnlib.inc
include .\bignum.inc
.code
bnBinGCD proc uses ebx edi esi bnX:DWORD, bnY:DWORD, bnResult:DWORD
bnCreateX esi,edi
xor ebx,ebx; k=0
invoke bnMov,esi,bnX;u=x
invoke bnMov,edi,bnY;v=y
.if !BN_IS_ODD(esi) && !BN_IS_ODD(edi)
.repeat
invoke bnShr1,es... |
Perimeter.asm | SuiGeneris01/emu8086 | 3 | 1119 | org 100h
include "emu8086.inc"
MOV DX, OFFSET MAIN
MOV AH,9
INT 21H
MOV DX, OFFSET QUE
MOV AH,9
INT 21H
CALL scan_num
MOV BX,CX
MOV DX, OFFSET QUES
MOV AH,9
INT 21H
CALL scan_num
MOV AX,CX
CALL pthis
db 13,10, "THE PERIMETER OF THE RECTANGLE IS = ", 0
CA... |
bin/np.scpt | gilberg-vrn/dotfiles | 2 | 1005 | <filename>bin/np.scpt
# by @knsd
on run {input, parameters}
tell application "iTunes"
if player state is playing then
set myTrack to (get name of current track)
set myArtist to (get artist of current track)
tell application "System Events"
keystroke ("NP: " & myArtist & " — " & myTrack)
end tell
e... |
boards/stm32l0_rfm69_sensor/rfm69hcw/stm32gd-board_variant.ads | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 1114 | package STM32GD.Board_Variant is
TX_PA_Boost : constant Boolean := True;
Output_Power_dBm : constant Integer := 13;
end STM32GD.Board_Variant;
|
tests/exec/les/les.asm | ykskb/dax86 | 12 | 176929 | BITS 32
label0:
org 0x7c00
les dword eax, [ebx] ; les ModRM |
coverage/PENDING_SUBMIT/amdvlk/0603-COVERAGE-instruction-simplify-3598/work/variant/1_spirv_asm/shader.frag.asm | asuonpaa/ShaderTests | 0 | 103073 | ; SPIR-V
; Version: 1.0
; Generator: Khronos Glslang Reference Front End; 10
; Bound: 149
; Schema: 0
OpCapability Shader
%1 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %4 "main" %93 %130
OpExecutionMode %4 Or... |
syntaxes/AntlrGlslLexer.g4 | michaelmcleodnz/WebGL-GLSL-Editor | 29 | 3465 | <filename>syntaxes/AntlrGlslLexer.g4
lexer grammar AntlrGlslLexer;
/////
//keywords----------------------------------------------------------------------
/////
KW_BREAK : 'break';
KW_CONTINUE: 'continue';
KW_DO : 'do';
KW_FOR : 'for';
KW_WHILE : 'while';
KW_SWITCH : 'switch';
KW_CASE : 'case';
KW_DEFAULT: 'default';
K... |
vpnsetup.applescript | andrewb3000/CiscoVPNSetup | 5 | 1401 | -- Assumes that SofToken II is in /Applications
on get_token(userPin)
set token to do shell script "bash -c 'echo " & userPin & "|/Applications/SofToken\\ II.app/Contents/Resources/st-wrap.sh -s -p'"
return token
end get_token
-- Substitute YOURPIN with actual SofToken PIN
set thePin to "YOURPIN"
-- Verify generate... |
Alloy/graphs.als | herulume/Formal-Specification | 0 | 1227 | /*
Each node as a set of outgoing edges, representing a directed graph without multiple edged.
http://alloy4fun.inesctec.pt/28fwdmjL79X4SQ9EP
*/
sig Node {
adj : set Node
}
/*
The graph is undirected, ie, edges are symmetric.
http://mathworld.wolfram.com/UndirectedGraph.html
*/
pred undirected {
all x, y : Node | ... |
oeis/118/A118180.asm | neoneye/loda-programs | 11 | 164437 | <filename>oeis/118/A118180.asm
; A118180: Triangle T(n, k) = 3^(k*(n-k)), read by rows.
; Submitted by <NAME>
; 1,1,1,1,3,1,1,9,9,1,1,27,81,27,1,1,81,729,729,81,1,1,243,6561,19683,6561,243,1,1,729,59049,531441,531441,59049,729,1,1,2187,531441,14348907,43046721,14348907,531441,2187,1,1,6561,4782969,387420489,3486784401,... |
FormalAnalyzer/models/apps/OnButNotForgotten.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 3189 | <filename>FormalAnalyzer/models/apps/OnButNotForgotten.als
module app_OnButNotForgotten
open IoTBottomUp as base
open cap_runIn
open cap_now
open cap_contactSensor
open cap_switch
one sig app_OnButNotForgotten extends IoTApp {
contact1 : one cap_contactSensor,
switch1 : one cap_switch,
state : one ca... |
oeis/248/A248751.asm | neoneye/loda-programs | 11 | 247575 | <filename>oeis/248/A248751.asm
; A248751: Decimal expansion of limit of the real part of f(1-i,n)/f(1-i,n+1), where f(x,n) is the n-th Fibonacci polynomial.
; Submitted by <NAME>
; 5,2,9,0,8,5,5,1,3,6,3,5,7,4,6,1,2,5,1,6,0,9,9,0,5,2,3,7,9,0,2,2,5,2,1,0,6,1,9,3,6,5,0,4,9,8,3,8,9,0,9,7,4,3,1,4,0,7,7,1,1,7,6,3,2,0,2,3,9,8... |
src/wiki-strings.ads | jquorning/ada-wiki | 18 | 3702 | <filename>src/wiki-strings.ads
-----------------------------------------------------------------------
-- wiki-strings -- Wiki string types and operations
-- Copyright (C) 2016, 2017, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use... |
alloy4fun_models/trashltl/models/10/4nykCCrfSuJQvq7qe.als | Kaixi26/org.alloytools.alloy | 0 | 2670 | open main
pred id4nykCCrfSuJQvq7qe_prop11 {
all a : File - (File & Protected) | after (a in Protected)
}
pred __repair { id4nykCCrfSuJQvq7qe_prop11 }
check __repair { id4nykCCrfSuJQvq7qe_prop11 <=> prop11o } |
programs/oeis/014/A014833.asm | neoneye/loda | 22 | 100658 | ; A014833: a(n) = 2^n - n(n+1)/2.
; 1,1,1,2,6,17,43,100,220,467,969,1982,4018,8101,16279,32648,65400,130919,261973,524098,1048366,2096921,4194051,8388332,16776916,33554107,67108513,134217350,268435050,536870477,1073741359,2147483152,4294966768,8589934031,17179868589,34359737738,68719476070,137438952769,274877906203,549... |
test/Succeed/Issue1145.agda | cagix/agda | 1,989 | 226 | <reponame>cagix/agda
data ⊥ : Set where -- keep this on the first line!!
Type = Set -- This should not be gobbled up under the data declaration
-- Andreas, 2021-04-15, issue #1145
-- Allow stacking of layout keywords on the same line.
-- This files contains tests for the new layout rules
-- and also tests from debu... |
src/windows/system_random.adb | AntonMeep/system_random | 0 | 25916 | pragma Ada_2012;
with System;
package body System_Random is
-- Underlying OS function, note that program must be linked with bcrypt lib
function BCryptGenRandom
(hAlgorithm : System.Address; -- Algorithm provider handle
pBuffer : out Element_Array; -- Output buffer
cbBuffer : Un... |
programs/oeis/272/A272870.asm | karttu/loda | 1 | 3284 | ; A272870: Real part of (n + i)^4.
; 1,-4,-7,28,161,476,1081,2108,3713,6076,9401,13916,19873,27548,37241,49276,64001,81788,103033,128156,157601,191836,231353,276668,328321,386876,452921,527068,609953,702236,804601,917756,1042433,1179388,1329401,1493276,1671841,1865948,2076473,2304316,2550401,2815676,3101113,3407708,373... |
pwnlib/shellcraft/templates/arm/linux/prctl.asm | zaratec/pwntools | 5 | 168675 |
<%
from pwnlib.shellcraft.arm.linux import syscall
%>
<%page args="option, *vararg"/>
<%docstring>
Invokes the syscall prctl. See 'man 2 prctl' for more information.
Arguments:
option(int): option
vararg(int): vararg
</%docstring>
${syscall('SYS_prctl', option, *vararg)}
|
flame32-libs/unit-tests/test-rtl-1.asm | drako0812/flame32 | 2 | 94140 | <reponame>drako0812/flame32<gh_stars>1-10
#include "../../flame32.asm"
; Tests RTL
lod 0x80000000
rtl A
|
examples/exception_unhandled.adb | ytomino/drake | 33 | 16302 | -- Demonstration for the behaviors of unhandled exceptions.
with Ada.Exceptions;
with Ada.Interrupts.Names;
with Ada.Task_Identification;
with Ada.Task_Termination;
procedure exception_unhandled is
begin
-- terminate a task by unhandled exception
declare
task T;
task body T is
begin
Ada.Debug.Put ("in task T... |
programs/oeis/044/A044102.asm | neoneye/loda | 22 | 23743 | ; A044102: Multiples of 36.
; 0,36,72,108,144,180,216,252,288,324,360,396,432,468,504,540,576,612,648,684,720,756,792,828,864,900,936,972,1008,1044,1080,1116,1152,1188,1224,1260,1296,1332,1368,1404,1440,1476,1512,1548,1584,1620,1656,1692,1728,1764,1800,1836,1872,1908,1944,1980,2016,2052,2088,2124,2160,2196,2232,2268,23... |
libsrc/target/vz/vz_sound_callee.asm | jpoikela/z88dk | 38 | 11427 | ;*****************************************************
;
; Video Technology library for small C compiler
;
; <NAME>
;
;*****************************************************
; ----- void __CALLEE__ vz_sound_callee(int freq, int cycles)
SECTION code_clib
PUBLIC vz_sound_callee
PUBLIC _vz_sound_callee
EXTERN ASMDISP_VZ... |
oeis/323/A323410.asm | neoneye/loda-programs | 11 | 23667 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A323410: Unitary analog of cototient function A051953: a(n) = n - A047994(n).
; Submitted by <NAME>(w4)
; 0,1,1,1,1,4,1,1,1,6,1,6,1,8,7,1,1,10,1,8,9,12,1,10,1,14,1,10,1,22,1,1,13,18,11,12,1,20,15,12,1,30,1,14,13,24,1,18,1,26,19,16,1,28,15,14,21,30,1,36,1,32,15,1,17,46,1... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c46051c.ada | best08618/asylo | 7 | 20305 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c46051c.ada
-- C46051C.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimi... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1819.asm | ljhsiun2/medusa | 9 | 170425 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %r9
push %rbx
push %rdi
lea addresses_WT_ht+0x96e0, %rbx
nop
nop
nop
cmp %r9, %r9
vmovups (%rbx), %ymm6
vextracti128 $0, %ymm6, %xmm6
vpextrq $0, %xmm6, %r15
cmp %r15, %r15
lea addresses_WC_ht+0x1e728, %rdi
nop
dec %r14
mov (%rdi), %r10
nop... |
Transynther/x86/_processed/P/_zr_/i7-8650U_0xd2_notsx.log_1242_140.asm | ljhsiun2/medusa | 9 | 29616 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1c4f5, %rsi
lea addresses_A_ht+0x5eeb, %rdi
clflush (%rsi)
nop
nop
add %r10, %r10
mov $121, %rcx
rep movsb
nop
nop
nop
sub %r12, %r12
lea addresses_A_ht+0xfaab, %rsi
lea addresses_A_ht... |
day12/src/main.adb | jwarwick/aoc_2020 | 3 | 8404 | <filename>day12/src/main.adb
-- AOC 2020, Day 12
with Ada.Text_IO; use Ada.Text_IO;
with Day; use Day;
procedure main is
f : constant Ferry := load_file("input.txt");
part1 : constant Natural := distance(f);
part2 : constant Natural := waypoint_distance(f);
begin
put_line("Part 1: " & Natural'Image(part1));
... |
basic/16_rekursif/rekursif.asm | bellshade/Assembly | 6 | 104202 | <reponame>bellshade/Assembly
section .text
global _start
_start:
mov bx, 3
call prosedur_faktorial
add ax,30h
mov [faktor], ax
mov edx, len
mov ecx, msg
mov ebx, 1
mov eax, 4
int 0x80
mov edx, 1
mov ecx, faktor
mov ebx, 1
mov eax, 4
int 0x80
mov eax, 1... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-7700_9_0xca_notsx.log_21829_766.asm | ljhsiun2/medusa | 9 | 1595 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x4245, %rsi
lea addresses_UC_ht+0x11b2d, %rdi
nop
nop
and %r10, %r10
mov $23, %rcx
rep movsb
nop
nop
and %rcx, %rcx
lea addresses_A_ht+0x1ef2d, %r11
sub $36713, %r15
mov (%r11... |
libsrc/_DEVELOPMENT/arch/ts2068/misc/c/sccz80/tshc_scroll_up_pix.asm | Frodevan/z88dk | 640 | 17686 | ; void tshc_scroll_up_pix(uchar prows, uchar pix)
SECTION code_clib
SECTION code_arch
PUBLIC tshc_scroll_up_pix
EXTERN asm0_tshc_scroll_up_pix
tshc_scroll_up_pix:
pop af
pop hl
pop de
push de
push hl
push af
jp asm0_tshc_scroll_up_pix
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _tshc_s... |
masm(msdos)/e4.asm | GioProyects/ensamblador | 0 | 21491 | <reponame>GioProyects/ensamblador
;Escribir una programa que reciba una cadena ingresada por teclado,
;terminada en ENTER. Luego que elimine todos los caracteres que no son dígitos,
;sin utilizar una variable auxiliar.
.model small
.stack 64
.data
path db "archivo",00h
handle dw ?
outstr db 255 dup('Hola que tal ... |
ada_gui-gnoga-application.adb | jrcarter/Ada_GUI | 19 | 20621 | -- Ada_GUI implementation based on Gnoga. Adapted 2021
-- --
-- GNOGA - The GNU Omnificent GUI for Ada --
-- --
-- G N O... |
Appl/Term/Main/mainConnection.asm | steakknife/pcgeos | 504 | 5195 | <filename>Appl/Term/Main/mainConnection.asm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1995 -- All Rights Reserved
PROJECT: PC GEOS GeoComm/Terminal
MODULE: Main
FILE: mainConnection.asm
AUTHOR: <NAME>, May 22, 1995
ROUTINES:
Name Descript... |
oeis/034/A034274.asm | neoneye/loda-programs | 11 | 87842 | ; A034274: a(n)=f(n,n-1) where f is given in A034261.
; Submitted by <NAME>
; 5,25,119,546,2442,10725,46475,199342,848198,3585946,15080870,63146500,263432340,1095517485,4543460595,18798494550,77616288750,319874637390,1316106144210,5407045011420,22184521682700,90910797617250,372137346502974
mov $2,$0
add $0,2
seq $0,10... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.