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 |
|---|---|---|---|---|
src/bak/font.asm | vbguyny/c64kernel | 2 | 168426 | <reponame>vbguyny/c64kernel<gh_stars>1-10
byte $38,$44,$5c,$54,$5c,$40,$38,$00 ; character 0
byte $00,$00,$38,$04,$3c,$44,$3c,$00 ; character 1
byte $00,$40,$40,$78,$44,$44,$78,$00 ; character 2
byte $00,$00,$3c,$40,$40,$40,$3c,$00 ; character 3
byte $00,$04,$04,$3... |
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48_notsx.log_21829_157.asm | ljhsiun2/medusa | 9 | 18368 | <filename>Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48_notsx.log_21829_157.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r8
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x17cc2, %rcx
nop
nop
nop
nop
cmp %r15, %r15
vmovups (%rcx), %ymm6
ve... |
alloy4fun_models/trashltl/models/16/8Ri2MPYmhx9LeGGfb.als | Kaixi26/org.alloytools.alloy | 0 | 1827 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred id8Ri2MPYmhx9LeGGfb_prop17 {
all f: File | always f in Trash releases f' in File
}
pred __repair { id8Ri2MPYmhx9LeGGfb_prop17 }
check __repair { id8Ri2MPYmhx9LeGGfb_prop17 <=> prop17o } |
src/sys/streams/util-streams-pipes.ads | My-Colaborations/ada-util | 0 | 1840 | -----------------------------------------------------------------------
-- util-streams-pipes -- Pipe stream to or from a process
-- Copyright (C) 2011, 2013, 2015, 2016, 2017, 2018, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use ... |
programs/oeis/152/A152623.asm | neoneye/loda | 22 | 4188 | ; A152623: Decimal expansion of 3/2.
; 1,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mul $0,4
mov $1,5
bin $1,$0
mov $0,$1
|
src/main/resources/project-templates/aws_web_server_blocks/src/@_project_name_@-web_blocks.ads | WinterAlexander/Ada-IntelliJ | 17 | 29636 | <gh_stars>10-100
with AWS.Status;
with AWS.Templates;
with AWS.Services.Web_Block.Context;
package @_Project_Name_@.Web_Blocks is
use AWS;
use AWS.Services;
procedure Widget_Counter
(Request : in Status.Data;
Context : not null access Web_Block.Context.Object;
Transl... |
src/preprocessor/parser/CPreprocessor.g4 | flosacca/c-compiler | 0 | 4964 | grammar CPreprocessor;
macro
: line (NL line)* EOF
;
line
: defineStat // 定义宏
| undefStat // 取消宏
| includeStat // 包含头文件
| ifdefStat // ifdef
| ifndefStat // ifndef
| elseStat // else
| endifStat // endif
| text // 普通文本
| // 空行... |
data/pokemon/base_stats/zapdos.asm | AtmaBuster/pokeplat-gen2 | 6 | 95376 | <reponame>AtmaBuster/pokeplat-gen2
db 0 ; species ID placeholder
db 90, 90, 85, 100, 125, 90
; hp atk def spd sat sdf
db ELECTRIC, FLYING ; type
db 3 ; catch rate
db 216 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_UNKNOWN ; gender ratio
db 80 ; step cycles to hatch
INCBIN "gfx/pokemon/zapdos... |
programs/oeis/134/A134499.asm | neoneye/loda | 22 | 89673 | ; A134499: a(n) = Fibonacci(7*n+1).
; 1,21,610,17711,514229,14930352,433494437,12586269025,365435296162,10610209857723,308061521170129,8944394323791464,259695496911122585,7540113804746346429,218922995834555169026,6356306993006846248183
mul $0,7
seq $0,71 ; a(n) = Fibonacci(n) - 1.
add $0,1
|
mips/24-1.asm | ping58972/Computer-Organization-Architecture | 0 | 18397 | ## MIPS Assignment #4
## Ch24-1.asm
## String Length
.data
prompt: .asciiz "\n\n(Exit if input nothing!)\nInput some string for count:"
strL_prompt: .asciiz "The length of the string is:"
str_space: .space 1024
new_line: .asciiz "\n"
.text
.globl main
main:
#Initialize
li $t0, 0
la $s1, str_space
move $t1, $s... |
a51test/(F4)CPL_A.a51 | Aimini/51cpu | 0 | 82245 | <gh_stars>0
MOV A, #0xF1
START:
CPL A
SJMP START
|
cat.asm | joeofportland/project4final | 0 | 241499 |
_cat: file format elf32-i386
Disassembly of section .text:
00000000 <cat>:
char buf[512];
void
cat(int fd)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 28 sub $0x28,%esp
int n;
while((n = read(fd, buf, sizeof(buf))) > 0)
6: eb 1b ... |
programs/oeis/196/A196305.asm | neoneye/loda | 22 | 177048 | <filename>programs/oeis/196/A196305.asm
; A196305: a(n) = 15*2^n - 1.
; 14,29,59,119,239,479,959,1919,3839,7679,15359,30719,61439,122879,245759,491519,983039,1966079,3932159,7864319,15728639,31457279,62914559,125829119,251658239,503316479,1006632959,2013265919,4026531839,8053063679,16106127359,32212254719,64424509439,1... |
programs/oeis/346/A346178.asm | neoneye/loda | 22 | 4651 | ; A346178: Expansion of (1-2*x)/(1-10*x).
; 1,8,80,800,8000,80000,800000,8000000,80000000,800000000,8000000000,80000000000,800000000000,8000000000000,80000000000000,800000000000000,8000000000000000,80000000000000000,800000000000000000,8000000000000000000,80000000000000000000
mov $1,10
pow $1,$0
mul $1,6
add $1,5
mul $... |
kernel/usb/uhci.asm | ssebs/xos | 15 | 84522 | <reponame>ssebs/xos<filename>kernel/usb/uhci.asm
;; xOS32
;; Copyright (C) 2016-2017 by <NAME>.
use32
; UHCI I/O Port Registers
UHCI_COMMAND = 0x00 ; word
UHCI_STATUS = 0x02 ; word
UHCI_INTERRUPT = 0x04 ; word
UHCI_FRAME = 0x06 ; word
UHCI_FRAMELIST = 0x08 ; dword
UHCI_SOF_MODIFY = 0x0C ; byte
UHCI... |
alloy4fun_models/trashltl/models/17/6iXdf9QFAHt9rderz.als | Kaixi26/org.alloytools.alloy | 0 | 1915 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred id6iXdf9QFAHt9rderz_prop18 {
always all f:Protected | f in Trash releases f not in Protected
}
pred __repair { id6iXdf9QFAHt9rderz_prop18 }
check __repair { id6iXdf9QFAHt9rderz_prop18 <=> prop18o } |
gcc-gcc-7_3_0-release/gcc/ada/sem_dist.adb | best08618/asylo | 7 | 17927 | <filename>gcc-gcc-7_3_0-release/gcc/ada/sem_dist.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
hmi_sdk/hmi_sdk/Tools/ffmpeg-2.6.2/libavcodec/x86/mpegvideoencdsp.asm | APCVSRepo/android_packet | 4 | 90285 | <reponame>APCVSRepo/android_packet<gh_stars>1-10
;*****************************************************************************
;* SIMD-optimized MPEG encoding functions
;*****************************************************************************
;* Copyright (c) 2000, 2001 <NAME>
;* Copyright (c) 2002-2004 <NAME... |
masm/8_offset.asm | oceanwavechina/assembly | 0 | 13712 | <gh_stars>0
; 这段代码是演示如何使用常量偏移地址进行内存数据访问
; 这个使用的场景是两个数组长度相等时比较有用
assume cs:code,ds:data
; 定义数据段,开辟空间
data segment
db 'BaSiC' ; 相当于 db 75h,6eh,49h,58h, 要把这个转为大写
db 'iNfoR' ; 把这个转为小写
data ends
code segment
start:
mov ax, data ;
mov dx, ax ; 以上两句是设置数据段基地址
mov bx, 0... |
boards/stm32f0disco/stm32gd-board.ads | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 7832 | with STM32GD.GPIO; use STM32GD.GPIO;
with STM32GD.GPIO.Pin;
with STM32GD.USART;
with STM32GD.USART.Peripheral;
with STM32GD.RTC;
with STM32GD.Clock;
with STM32GD.Clock.Tree;
with Drivers.Text_IO;
package STM32GD.Board is
package CLOCKS is new STM32GD.Clock.Tree;
package GPIO renames STM32GD.GPIO;
packag... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2378.asm | ljhsiun2/medusa | 9 | 178009 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x122d8, %r13
nop
nop
nop
nop
and $11159, %rsi
and $0xffffffffffffffc0, %r13
movntdqa (%r13), %xmm7
vpextrq $0, %xmm7, %r10
nop
nop
nop
and $10393, %r12
lea addresses_D_ht+... |
alloy4fun_models/trainstlt/models/2/HPFEFFafMGiKbrgiR.als | Kaixi26/org.alloytools.alloy | 0 | 4024 | open main
pred idHPFEFFafMGiKbrgiR_prop3 {
always ~pos.pos in iden and (always all t : Train | lone t.pos)
}
pred __repair { idHPFEFFafMGiKbrgiR_prop3 }
check __repair { idHPFEFFafMGiKbrgiR_prop3 <=> prop3o } |
oeis/312/A312507.asm | neoneye/loda-programs | 11 | 242301 | <filename>oeis/312/A312507.asm
; A312507: Coordination sequence Gal.6.245.1 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; Submitted by <NAME>
; 1,4,8,14,18,22,28,32,36,42,46,50,54,58,64,68,72,78,82,86,92,96,100,104,108,114,118,122,... |
programs/oeis/016/A016924.asm | neoneye/loda | 22 | 244027 | ; A016924: a(n) = (6*n + 1)^4.
; 1,2401,28561,130321,390625,923521,1874161,3418801,5764801,9150625,13845841,20151121,28398241,38950081,52200625,68574961,88529281,112550881,141158161,174900625,214358881,260144641,312900721,373301041,442050625,519885601,607573201,705911761,815730721,937890625,1073283121,1222830961,138748... |
8085_programming/YT/sum_of_dig_8bit.asm | SayanGhoshBDA/code-backup | 16 | 94021 | <filename>8085_programming/YT/sum_of_dig_8bit.asm
LXI H,2060
MOV A,M
ANI 0F
MOV C,A
MOV A,M
ANI F0
RLC
RLC
RLC
RLC
ADD C
STA 2070
HLT
# ORG 2060H
# DB 5FH
|
oeis/279/A279020.asm | neoneye/loda-programs | 11 | 170782 | <reponame>neoneye/loda-programs
; A279020: a(n) = unreduced numerator in Sum_{k=1..n} (-1)^(k-1)/k^k.
; Submitted by <NAME>
; 0,1,3,85,21652,67690148,3158065145088,2600806474859606784,43634288683151793919033344,16904817514490272003065681518985216,169048175123324778807714958980684133171200000,482314172583924630065906222... |
oeis/228/A228832.asm | neoneye/loda-programs | 11 | 167988 | ; A228832: Triangle defined by T(n,k) = binomial(n*k, k^2), for n>=0, k=0..n, as read by rows.
; Submitted by <NAME>
; 1,1,1,1,2,1,1,3,15,1,1,4,70,220,1,1,5,210,5005,4845,1,1,6,495,48620,735471,142506,1,1,7,1001,293930,30421755,183579396,5245786,1,1,8,1820,1307504,601080390,40225345056,69668534468,231917400,1,1,9,3060,... |
week_7/dataset/Assembly/056597.asm | Dumebi35/DumebiCSC102 | 0 | 103852 | <reponame>Dumebi35/DumebiCSC102<gh_stars>0
Title Chapt 7 (7.8.1) Ex 4: Room Schedule
; Using a room schedule record, query a bit-mapped field
; called roomstatus. Extract the individual subfields
; from roomstatus.
; -------------- Field Format------------------
; Bit
; Position Usage
; 0-1 Type of... |
savefile/maps/3B31_LostWoodsSubB_Fun.asm | stranck/fools2018-1 | 35 | 241965 | <filename>savefile/maps/3B31_LostWoodsSubB_Fun.asm
SECTION "Map_3B31_Fun", ROM0[$B800]
Map_3B31_Fun_Header:
hdr_tileset 0
hdr_dimensions 7, 7
hdr_pointers_a Map_3B31_Fun_Blocks, Map_3B31_Fun_TextPointers
hdr_pointers_b Map_3B31_Fun_Script, Map_3B31_Fun_Objects
hdr_pointers_c ... |
Transynther/x86/_processed/US/_ht_st_zr_un_/i3-7100_9_0x84_notsx.log_21829_2767.asm | ljhsiun2/medusa | 9 | 164860 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r9
push %rdi
lea addresses_normal_ht+0x181bd, %r13
nop
nop
dec %r9
mov (%r13), %r14
nop
nop
nop
nop
and $64889, %rdi
pop %rdi
pop %r9
pop %r14
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r14
push %r15
push %... |
src/pilas.adb | alvaromb/Compilemon | 1 | 20155 | <gh_stars>1-10
with Ada.Unchecked_Deallocation;
package body pilas is
type Component is record
Cim : Tipus_Element;
Resta : Pila;
end record;
procedure Allibera_Memoria is
new Ada.Unchecked_Deallocation
(Object => Component,
Name => Pila);
procedure Pila_Buida
(P : ou... |
3-mid/impact/source/3d/collision/shapes/impact-d3-shape-concave-triangle_mesh.adb | charlie5/lace | 20 | 24751 | with impact.d3.collision.Proxy;
with impact.d3.Matrix;
with impact.d3.Vector;
with impact.d3.Transform;
with impact.d3.aabb_Util;
-- #include "impact.d3.Shape.concave.triangle_mesh.h"
-- #include "LinearMath/impact.d3.Vector.h"
-- #include "LinearMath/impact.d3.Quaternion.h"
-- #include "impact.d3.striding_Mesh.h... |
programs/oeis/327/A327936.asm | neoneye/loda | 22 | 91389 | ; A327936: Multiplicative with a(p^e) = p if e >= p, otherwise 1.
; 1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,3,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,3,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,3,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,2
add $0,1
mov $1,1
mov $2,2
mov $3,$0
mov $4,$0
lpb ... |
programs/oeis/186/A186351.asm | karttu/loda | 1 | 22491 | ; A186351: Adjusted joint rank sequence of (f(i)) and (g(j)) with f(i) before g(j) when f(i)=g(j), where f and g are the odd numbers and the triangular numbers. Complement of A186350.
; 2,4,6,9,13,17,21,26,32,38,44,51,59,67,75,84,94,104,114,125,137,149,161,174,188,202,216,231,247,263,279,296,314,332,350,369,389,409,42... |
PIM/TD3_Sous_Programmes/base_valide.adb | Hathoute/ENSEEIHT | 1 | 1994 | <filename>PIM/TD3_Sous_Programmes/base_valide.adb<gh_stars>1-10
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
procedure Lire_Entier is
Base_MAX : constant Integer := 10 + 26; -- 10 chiffres ('0'..'9') + 26 lettres ('A'..'Z')
-- Est-ce que la base est valide ?
fun... |
Codes/Chapter05/P09/P05-09.asm | ar-ekt/Dandamudi-Assembly-Solutions | 8 | 172720 | global _start
extern ExitProcess
%INCLUDE "lib.h"
section .data
nwln db 10, 0
inMSG db "enter a string less than 100 characters long:", 0
outMSG db "leading and duplicate blanks removed:", 0
section .bss
inBuffer resb 102
tempBuffer resb 102
section .code
_start:
puts inMSG
puts nwln
... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_804.asm | ljhsiun2/medusa | 9 | 241826 | <filename>Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_804.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xca5c, %r15
nop
nop
nop
nop
and $23025, %rcx
movb (%r15), %r8b
nop
cmp %r15, %r15
lea addresses_WT_ht+0xff... |
Data/BinaryTree/Heap.agda | Lolirofle/stuff-in-agda | 6 | 7439 | open import Data.Boolean
open import Type
module Data.BinaryTree.Heap {ℓ} {T : Type{ℓ}} (_≤?_ : T → T → Bool) where
import Lvl
open import Data hiding (empty)
open import Data.BinaryTree
BinaryHeap = BinaryTree (Unit{Lvl.𝟎}) (T)
private variable ℓᵣ : Lvl.Level
private variable R : Type{ℓᵣ}
open import Data.O... |
source/runtime/pb_support-io.ads | mgrojo/protobuf | 12 | 29234 | -- 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 in the Software without restriction, including without limitation
-- the rights to use, copy, modify... |
regtests/util-concurrent-tests.adb | RREE/ada-util | 60 | 20597 | <reponame>RREE/ada-util
-----------------------------------------------------------------------
-- util-concurrent-tests -- Unit tests for concurrency package
-- Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "Li... |
programs/oeis/102/A102390.asm | neoneye/loda | 22 | 241030 | ; A102390: An odious count.
; 0,1,2,0,3,0,0,4,5,0,0,6,0,7,8,0,9,0,0,10,0,11,12,0,0,13,14,0,15,0,0,16,17,0,0,18,0,19,20,0,0,21,22,0,23,0,0,24,0,25,26,0,27,0,0,28,29,0,0,30,0,31,32,0,33,0,0,34,0,35,36,0,0,37,38,0,39,0,0,40,0,41,42,0,43,0,0,44
seq $0,102394 ; A wicked odious sequence.
add $0,1
div $0,2
|
programs/oeis/158/A158224.asm | karttu/loda | 1 | 104569 | ; A158224: a(n) = 196*n^2 - 2*n.
; 194,780,1758,3128,4890,7044,9590,12528,15858,19580,23694,28200,33098,38388,44070,50144,56610,63468,70718,78360,86394,94820,103638,112848,122450,132444,142830,153608,164778,176340,188294,200640,213378,226508,240030,253944,268250,282948,298038,313520,329394,345660,362318,379368,396810,4... |
programs/oeis/130/A130766.asm | jmorken/loda | 1 | 174928 | ; A130766: 3n+2 sandwiched by tripled 3n+1 .
; 1,1,1,2,4,4,4,5,7,7,7,8,10,10,10,11,13,13,13,14,16,16,16,17,19,19,19,20,22,22,22,23,25,25,25,26,28,28,28,29,31,31,31,32,34,34,34,35,37,37,37,38,40,40,40,41,43,43,43,44,46,46,46,47,49,49,49,50,52,52,52,53,55,55,55,56,58,58,58,59,61,61,61,62,64,64,64,65,67,67,67,68,70,70,70,... |
programs/oeis/083/A083884.asm | neoneye/loda | 22 | 94299 | ; A083884: a(n) = (3^(2*n) + 1) / 2.
; 1,5,41,365,3281,29525,265721,2391485,21523361,193710245,1743392201,15690529805,141214768241,1270932914165,11438396227481,102945566047325,926510094425921,8338590849833285,75047317648499561,675425858836496045,6078832729528464401,54709494565756179605,492385451091805616441,44314690598... |
oeis/001/A001520.asm | neoneye/loda-programs | 11 | 173656 | <filename>oeis/001/A001520.asm
; A001520: a(n) = (6*n+1)*(6*n+3)*(6*n+5).
; 15,693,3315,9177,19575,35805,59163,90945,132447,184965,249795,328233,421575,531117,658155,803985,969903,1157205,1367187,1601145,1860375,2146173,2459835,2802657,3175935,3580965,4019043,4491465,4999527,5544525,6127755,6750513,7414095,8119797,8868... |
src/babel-strategies-default.ads | stcarrez/babel | 1 | 13749 | -----------------------------------------------------------------------
-- babel-strategies -- Strategies to backup files
-- Copyright (C) 2014 Stephane.Carrez
-- Written by Stephane.Carrez (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compli... |
EE321_PreLab/lab1.asm | eminkartci/MicroController-Assembly | 1 | 22177 | 0: CP 110 100
1: CP 50 100
2: LT 50 101
3: BZJ 20 50
4: CP 110 101
5: BZJi 20 0
6: CP 51 110
7: LT 51 102
8: BZJ 21 51
9: CP 110 102
10: BZJi 21 0
20: 5
21: 10
100: 30
101: 31
102: 33 |
oeis/345/A345939.asm | neoneye/loda-programs | 11 | 383 | ; A345939: a(n) = (n-1) / gcd(n-1, uphi(n)), where uphi is unitary totient (or unitary phi) function, A047994.
; Submitted by <NAME>
; 0,1,1,1,1,5,1,1,1,9,1,11,1,13,7,1,1,17,1,19,5,21,1,23,1,25,1,3,1,29,1,1,8,33,17,35,1,37,19,39,1,41,1,43,11,45,1,47,1,49,25,17,1,53,27,55,14,57,1,59,1,61,31,1,4,13,1,67,17,23,1,71,1,73,3... |
oeis/331/A331151.asm | neoneye/loda-programs | 11 | 92171 | <filename>oeis/331/A331151.asm<gh_stars>10-100
; A331151: Triangle read by rows: T(n,k) (n>=k>=1) = ceiling((n/k)*floor(n/k)).
; Submitted by <NAME>
; 1,4,1,9,2,1,16,4,2,1,25,5,2,2,1,36,9,4,2,2,1,49,11,5,2,2,2,1,64,16,6,4,2,2,2,1,81,18,9,5,2,2,2,2,1,100,25,10,5,4,2,2,2,2,1,121,28,11,6,5,2,2,2,2,2,1,144,36,16,9,5,4,2,2,... |
drivers/chebyshev.ads | sciencylab/lagrangian-solver | 0 | 24362 | with Numerics;
use Numerics;
package Chebyshev is
function Chebyshev_Gauss_Lobatto (N : in Nat;
L : in Real := 0.0;
R : in Real := 1.0) return Real_Vector;
function Derivative_Matrix (N : in Nat;
L : in Real := 0.0;
R : in Real := 1.0) return Real_Matrix;
procedu... |
software/lib/generic_pid_controller.adb | TUM-EI-RCS/StratoX | 12 | 4022 |
package body Generic_PID_Controller with SPARK_Mode => On is
procedure initialize( Pid : out Pid_Object;
Kp : PID_Coefficient_Type;
Ki : PID_Coefficient_Type;
Kd : PID_Coefficient_Type;
I_Limit_Low : PID_Dat... |
library/fmGUI_ManageFunctions/fmGUI_CustomFunctions_ParamsForFunction.applescript | NYHTC/applescript-fm-helper | 1 | 1763 | <filename>library/fmGUI_ManageFunctions/fmGUI_CustomFunctions_ParamsForFunction.applescript
-- fmGUI_CustomFunctions_ParamsForFunction({functionName:null})
-- <NAME>, NYHTC
-- return a list of params for a specified function
(*
HISTORY:
1.2 - 2017-06-28 ( eshagdar ): convert params to a record.
1.1 -
1.0 - create... |
src/zmq-utilities-stream_element_array_image.adb | persan/zeromq-Ada | 33 | 15740 | <reponame>persan/zeromq-Ada
-------------------------------------------------------------------------------
-- --
-- 0MQ Ada-binding --
-- ... |
tools/scitools/conf/understand/ada/ada12/a-intsig.ads | brucegua/moocos | 1 | 3062 | <filename>tools/scitools/conf/understand/ada/ada12/a-intsig.ads<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_430.asm | ljhsiun2/medusa | 9 | 240337 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x150af, %rsi
lea addresses_D_ht+0x1225f, %rdi
nop
nop
nop
dec %rbp
mov $41, %rcx
rep movsl
nop
nop
nop
nop
nop
sub $23175, %r8
lea addresses_D_ht+0xc12f, %rcx
nop
nop
nop
nop
and %r10, %r10
m... |
src/System/IO/Transducers/Strict.agda | ilya-fiveisky/agda-system-io | 10 | 5052 | <reponame>ilya-fiveisky/agda-system-io
open import Coinduction using ( ∞ ; ♭ ; ♯_ )
open import Data.Bool using ( Bool ; true ; false )
open import Data.Empty using ( ⊥ ; ⊥-elim )
open import Data.Unit using ( ⊤ ; tt )
open import System.IO.Transducers.Lazy using
( _⇒_ ; inp ; out ; done ; choice ) renaming
( ⟦_⟧... |
Dot6502MiniConsole/SamplePrograms/ball.asm | terjew/Dot6502 | 4 | 166653 | <gh_stars>1-10
RAND = $FE
VSYNC = $FD
SCREEN_W = 32
SCREEN_H = 32
BALL_COL = 2
width = $00
height = $01
xpos_tmp = $02
ypos_tmp = $03
xdir = $04
ydir = $05
pixel_addr = $06
pixel_msb = $07
width_1 = $08 //width minus 1
height_1 = $09 //height minus 1
*=$1800
setup LDX #SCREEN_W
STX width
DEX
... |
Cubical/Categories/Limits.agda | FernandoLarrain/cubical | 1 | 7703 | <gh_stars>1-10
{-# OPTIONS --safe #-}
module Cubical.Categories.Limits where
open import Cubical.Categories.Limits.Limits public
open import Cubical.Categories.Limits.BinProduct public
open import Cubical.Categories.Limits.BinCoproduct public
open import Cubical.Categories.Limits.Initial public
open import Cubical.Cat... |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0.log_21829_815.asm | ljhsiun2/medusa | 9 | 96962 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1bf20, %rsi
lea addresses_D_ht+0x1e7bc, %rdi
nop
nop
nop
nop
cmp $27095, %r15
mov $81, %rcx
rep movsl
nop
sub %r11, %r11
lea addresses_WC_ht+0x1b23c, %r9
nop
nop
nop
add ... |
src/kernel.asm | travisbale/CardinalOS | 0 | 242387 | <filename>src/kernel.asm<gh_stars>0
BITS 32
global _start
extern kernel_main
PROT_MODE_DATA_SEG equ 0x10 ; Kernel data segment selector
_start:
; Setup the protected mode segment registers
mov ax, PROT_MODE_DATA_SEG
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
mov ss, ax
; Enable the... |
src/asf-validators.ads | jquorning/ada-asf | 12 | 13268 | <reponame>jquorning/ada-asf
-----------------------------------------------------------------------
-- asf-validators -- ASF Validators
-- Copyright (C) 2010 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance... |
agda/Cardinality/Finite/SplitEnumerable/Inductive.agda | oisdk/combinatorics-paper | 4 | 10435 | {-# OPTIONS --cubical --safe #-}
module Cardinality.Finite.SplitEnumerable.Inductive where
open import Data.List public
open import Data.List.Membership
open import Prelude
ℰ! : Type a → Type a
ℰ! A = Σ[ xs ⦂ List A ] ((x : A) → x ∈ xs)
|
src/semantica-declsc3a.adb | alvaromb/Compilemon | 1 | 947 | package body Semantica.Declsc3a is
-- Taula Procediments
procedure Nouproc
(Tp : in out T_Procs;
Idp : out Num_Proc) is
begin
Posa(Tp, Info_Proc_Nul, Idp);
end Nouproc;
function Consulta
(Tp : in T_Procs;
Idp : in Num_Proc) return Info_Proc is
begin
return Tp.Tp(... |
Appl/Startup/CommonStartup/CMain/cmainStartupPrimary.asm | steakknife/pcgeos | 504 | 22750 | COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Startup
FILE: cmainStartupApplication.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
atw 2/89 Initial version
DESCRIPTI... |
Add Immediate/immadd.asm | adi-075/8085-microproccesor-programs | 2 | 18452 | <filename>Add Immediate/immadd.asm
;WAP to add 02H and 03H
jmp start
;03+02=05
;code
start: nop
MVI A, 03H ; Immediately move data to accumulator
ADI 02H ; Add Immediately
hlt |
Transynther/x86/_processed/NC/_st_zr_un_sm_/i7-7700_9_0x48.log_21829_433.asm | ljhsiun2/medusa | 9 | 5326 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x100b6, %rsi
lea addresses_D_ht+0xeef6, %rdi
clflush (%rsi)
nop
nop
nop
nop
nop
xor $65218, %r8
mov $88, %rcx
rep movsq
dec %rbx
lea addresses_UC_ht+0x1df76, %rs... |
libsrc/adt/linkedlist/adt_ListAdd.asm | ahjelm/z88dk | 640 | 86816 | ; int adt_ListAdd(struct adt_List *list, void *item)
; 02.2003, 06.2005 aralbrec
; CALLER linkage for function pointers
SECTION code_clib
PUBLIC adt_ListAdd
PUBLIC _adt_ListAdd
EXTERN asm_adt_ListAdd
.adt_ListAdd
._adt_ListAdd
pop hl
pop bc
pop de
push de
push bc
push hl
jp asm_adt_ListAdd... |
Task/SHA-1/Ada/sha-1.ada | mullikine/RosettaCodeData | 1 | 14822 | <reponame>mullikine/RosettaCodeData
with Ada.Text_IO;
with GNAT.SHA1;
procedure Main is
begin
Ada.Text_IO.Put_Line ("SHA1 (""Rosetta Code"") = " &
GNAT.SHA1.Digest ("Rosetta Code"));
end Main;
|
src/main/java/edu/uiowa/smt/parser/antlr/Smt.g4 | mudathirmahgoub/pdl | 0 | 7676 | grammar Smt;
// parser rules
model : '(' 'model' sortDeclaration* functionDefinition* ')' ;
sortDeclaration : '(' 'declare-sort' sortName arity ')' ;
functionDefinition : '(' 'define-fun' functionName '(' argument* ')' ('(' sort ')'| sort)
expression ')' ;
argument : '(' argumentName sort ... |
server/src/parser/pony.g4 | Fepelus/pony-language-server | 0 | 1963 | // ANTLR v4 grammar
grammar pony;
// Parser
module
: STRING? use* class_def*
;
use
: 'use' (identifier '=')? (STRING | use_ffi) ('if' infix)?
;
use_ffi
: '@' (identifier | STRING) typeargs ('(' | LPAREN_NEW) params? ')' '?'?
;
class_def
: ('type' | 'interface' | 'trait' | 'primitive' | 'struct' | 'c... |
artwork/esqueleto/esqueleto_camina.asm | fjpena/sword-of-ianna-zx | 67 | 16742 | ; ASM source file created by SevenuP v1.21
; SevenuP (C) Copyright 2002-2007 by <NAME>, aka Metalbrain
;GRAPHIC DATA:
;Pixel Size: ( 24, 32)
;Char Size: ( 3, 4)
;Frames: 6
;Sort Priorities: X char, Char line, Y char, Frame number
;Data Outputted: Gfx
;Interleave: Sprite
;Mask: ... |
RecPyPortugues/src/lexrParsr/RecPyParser.g4 | robertocsa/TCC_CComp_UERJ | 0 | 7126 | /*
Author: <NAME>
Completion of Course Work (in portuguese: TCC - Trabalho de Conclusao de Curso)
Advisor: Prof. Dsc. <NAME> (Ciências da Computação - UERJ)
*/
parser grammar RecPyParser;
options {tokenVocab=RecPyLexer;}
@header{
// import javax.swing.JOptionPane;
package lexrParsr;
}
@members{
//public... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/atomic6_7.adb | best08618/asylo | 7 | 25638 | <reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/atomic6_7.adb
-- { dg-do compile }
-- { dg-options "-fdump-tree-gimple" }
with Atomic6_Pkg; use Atomic6_Pkg;
procedure Atomic6_7 is
My_Atomic : R;
Temp : Integer;
begin
My_Atomic.Counter1 := Counter2;
My_Atomic.Timer1 := Timer2;... |
JustCppConsole/assemblyCommand.asm | ChenPeleg/AsmCourse | 1 | 85898 |
.386
.model flat,c
.data
.code
mainasm proc
;push ebp
;mov ebp, ESP
;mov eax, ebp
mov eax,10001
ret
mainasm endp
end
|
dino/lcs/etc/AA.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 1285 | copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
004D3C move.l D0, (A4)+
004D3E move.l D0, (A4)+
0844CE move.w D0, ($aa,A6)
0844D2 move.w D0, ($b0,A6)
0849DA addi.w #$1, ($aa,A6)
0849E0 cmpi.w #$2, ($aa,A6) [etc+AA]
0849EA move.w #$0, ($aa,A6... |
test/macroerr.asm | bitwiseworks/nasm-os2 | 1 | 93703 | %include "macroerr.inc"
%macro bluttan 1
mov eax,%1
blej %1
%endmacro
bluttan ptr
blej ptr
dd ptr, ptr
ptr:
|
src/common/sp-terminal.ads | pyjarrett/septum | 236 | 24019 | <gh_stars>100-1000
-------------------------------------------------------------------------------
-- Copyright 2021, The Septum Developers (see AUTHORS file)
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy ... |
awa/plugins/awa-mail/src/awa-mail-clients-files.adb | fuzzysloth/ada-awa | 0 | 20676 | -----------------------------------------------------------------------
-- awa-mail-clients-files -- Mail client dump/file implementation
-- Copyright (C) 2012 <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/util-serialize-io.adb | Letractively/ada-util | 0 | 6985 | -----------------------------------------------------------------------
-- util-serialize-io -- IO Drivers for serialization
-- Copyright (C) 2010, 2011 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with... |
oeis/120/A120757.asm | neoneye/loda-programs | 11 | 100490 | ; A120757: Expansion of x^2*(2+x)/(1-3*x-4*x^2-x^3).
; Submitted by <NAME>
; 0,2,7,29,117,474,1919,7770,31460,127379,515747,2088217,8455018,34233669,138609296,561217582,2272323599,9200450421,37251863241,150829715006,610697048403,2472661868474,10011603514040,40536155064419
lpb $0
sub $0,1
add $4,1
add $1,$4
add... |
programs/oeis/264/A264749.asm | karttu/loda | 0 | 21728 | <gh_stars>0
; A264749: a(n) = floor(n/BL(n)) where BL(n) = A070939(n) is the binary length of n.
; 0,1,1,1,1,1,2,2,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,5,5,5,5,5,6,6,5,5,5,5,6,6,6,6,6,6,7,7,7,7,7,7,8,8,8,8,8,8,9,9,9,9,9,9,10,10,10,10,9,9,9,9,9,9,10,10,10,10,10,10,10,11,11,11,11,11,11,11,12,12,12,12,12,12,12,13,13,13,13,13... |
Task/Statistics-Basic/Ada/statistics-basic-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 5060 | <filename>Task/Statistics-Basic/Ada/statistics-basic-2.ada<gh_stars>1-10
with Ada.Text_IO, Ada.Command_Line, Ada.Numerics.Float_Random,
Ada.Numerics.Generic_Elementary_Functions;
procedure Long_Basic_Stat is
package FRG renames Ada.Numerics.Float_Random;
package TIO renames Ada.Text_IO;
type Counter is ra... |
src/parser/evaql/evaql_parser.g4 | YT0828/eva | 0 | 7292 | <gh_stars>0
parser grammar evaql_parser;
options {
tokenVocab=evaql_lexer;
}
// Top Level Description
root
: sqlStatements? MINUSMINUS? EOF
;
sqlStatements
: (sqlStatement MINUSMINUS? SEMI | emptyStatement)*
(sqlStatement (MINUSMINUS? SEMI)? | emptyStatement)
;
sqlStatement
: ddlStatement... |
src/ui/bases-recruitui.adb | thindil/steamsky | 80 | 18217 | <reponame>thindil/steamsky
-- Copyright (c) 2020-2021 <NAME> <<EMAIL>>
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ver... |
src/test/resources/samples/langs/AppleScript/Time Of Day.applescript | JavascriptID/sourcerer-app | 8,271 | 2491 | (*
Speaks the date and time of day
Copyright 2008 Apple Inc. All rights reserved.
You may incorporate this Apple sample code into your program(s) without
restriction. This Apple sample code has been provided "AS IS" and the
responsibility for its operation is yours. You are not permitted to
redistribute t... |
Toggle Night Shift.applescript | ravicious/toggle-night-shift | 13 | 968 | tell application "System Preferences"
activate
reveal anchor "displaysNightShiftTab" of pane id "com.apple.preference.displays"
delay 1
end tell
tell application "System Events"
tell process "System Preferences"
click checkbox 1 of tab group 1 of window 1
end tell
end tell
tell application "System Preferences"... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i9-9900K_12_0xca.log_21829_8.asm | ljhsiun2/medusa | 9 | 243945 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x301b, %r13
nop
nop
xor %rdx, %rdx
mov (%r13), %rcx
nop
cmp $17576, %rdi
lea addresses_WC_ht+0xcf0f, %rsi
lea addresses_UC_ht+0x1e70f, %rdi
clflush (%rdi)
nop
nop
nop
nop
cmp $... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/alignment8.adb | best08618/asylo | 7 | 14716 | -- { dg-do run }
with System;
procedure Alignment8 is
type R is record
I : Integer;
F : Long_Long_Integer;
end record;
for R'Alignment use 8;
procedure Q (A : System.Address) is
F : Long_Long_Integer;
for F'Address use A;
begin
F := 0;
end;
V : R;
begin
Q (V.F'Address);
end;
|
programs/oeis/044/A044179.asm | karttu/loda | 1 | 168241 | ; A044179: Numbers n such that string 5,6 occurs in the base 7 representation of n but not of n-1.
; 41,90,139,188,237,286,335,384,433,482,531,580,629,678,727,776,825,874,923,972,1021,1070,1119,1168,1217,1266,1315,1364,1413,1462,1511,1560,1609,1658,1707,1756,1805,1854,1903,1952,2001
mov $1,$0
mul $1,49
add $1,41
|
internal/mini-mini-lob.agda | JasonGross/lob | 19 | 1373 | <reponame>JasonGross/lob
{-# OPTIONS --without-K #-}
infixr 1 _‘→’_
record ⊤ : Set where
constructor tt
data ⊥ : Set where
mutual
data Type : Set where
_‘→’_ : Type → Type → Type
‘□’ : Type → Type
‘⊤’ : Type
‘⊥’ : Type
data □ : Type → Set where
Lӧb : ∀ {X} → □ (‘□’ X ‘→’ X) → □ X
‘tt’ ... |
oeis/099/A099099.asm | neoneye/loda-programs | 11 | 103507 | ; A099099: Quadrisection of a generalized Padovan sequence.
; Submitted by <NAME>
; 1,1,1,2,6,16,37,80,172,377,839,1874,4175,9274,20577,45665,101393,225193,500162,1110790,2466760,5477917,12164896,27015092,59993817,133231279,295872778,657057431,1459155634,3240410561,7196122817
mov $2,2
mov $4,1
lpb $0
sub $0,1
add ... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-parame__vxworks.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 7774 | <filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-parame__vxworks.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS ... |
LibraBFT/Impl/Properties/VotesOnceDirect.agda | haroldcarr/bft-consensus-agda | 0 | 15542 | {- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2020, 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
{-# OPTIONS --allow-unsolved-metas #-}
-- This module proves the two "V... |
server/src/test/antlr4/org/eclipse/usecase/UseCasePreprocessor.g4 | Nurkambay/che-che4z-lsp-for-cobol | 0 | 2218 | /*
* Copyright (c) 2020 Broadcom.
* The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifi... |
programs/oeis/090/A090040.asm | karttu/loda | 0 | 16195 | <reponame>karttu/loda
; A090040: (3*6^n + 2^n)/4.
; 1,5,28,164,976,5840,35008,209984,1259776,7558400,45349888,272098304,1632587776,9795522560,58773127168,352638746624,2115832446976,12694994616320,76169967566848,457019805138944,2742118830309376
mov $1,6
mov $2,$0
mov $3,3
lpb $2,1
add $4,5
lpb $4,1
mul $1,2
... |
uuids-version_1.adb | annexi-strayline/ASAP-UUIDs | 0 | 23049 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- Common UUID Handling Package --
-- - RFC 4122 Implementation - ... |
test/test.adb | mgrojo/AdaID | 0 | 3993 | <reponame>mgrojo/AdaID
-- File: test.adb
-- Description: Test suite for AdaID
-- Author: <NAME>
-- License: http://www.gnu.org/licenses/gpl.txt
with AUnit.Test_Suites; use AUnit.Test_Suites;
with AUnit.Run;
with AUnit.Reporter.Text;
with AdaID_Tests;
procedure Test is
function Suite return Access_Test_Suite is
Res... |
Numbers/Modulo/ZModule.agda | Smaug123/agdaproofs | 4 | 56 | <filename>Numbers/Modulo/ZModule.agda
{-# OPTIONS --safe --warning=error --without-K #-}
open import LogicalFormulae
open import Groups.Definition
open import Groups.Abelian.Definition
open import Groups.FiniteGroups.Definition
open import Numbers.Naturals.Semiring
open import Numbers.Naturals.Order
open import Number... |
randomly-solved-programs/compare two statements.asm | informramiz/Assembly-Language-Programs | 0 | 163603 | <filename>randomly-solved-programs/compare two statements.asm
.MODEL SMALL
.STACK 100H
.CODE
MAIN PROC
MOV AH,2
CMP AL,BL
JNBE ELSE_
MOV DL,AL
JMP DISPLAY
ELSE_:
MOV DL,BL
JMP DISPLAY
DISPLAY:
INT 21H
MOV AH,4CH
INT 21H
MAIN ENDP
END MAIN
|
alloy4fun_models/trashltl/models/5/av7mfzGDt7X8iyZna.als | Kaixi26/org.alloytools.alloy | 0 | 5172 | open main
pred idav7mfzGDt7X8iyZna_prop6 {
all f:File | f in Trash and always f in Trash
}
pred __repair { idav7mfzGDt7X8iyZna_prop6 }
check __repair { idav7mfzGDt7X8iyZna_prop6 <=> prop6o } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.