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 |
|---|---|---|---|---|
out/euler21.adb | FardaleM/metalang | 22 | 16378 | <gh_stars>10-100
with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C;
use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C;
procedure euler21 is
type stringptr is access all char_array;
procedure PString(s : stringptr) is
begin
String'Writ... |
src/prelude/titles.asm | endstation/golf | 1 | 167107 | ; Top-hole Golf
; Copyright 2020-2021 <NAME>
; *****************
; *** CONSTANTS ***
; *****************
titles_c_SPR_BASE = 80
titles_c_SPR_PLAYERS0 = titles_c_SPR_BASE
titles_c_SPR_PLAYERS1 = titles_c_SPR_BASE+1
titles_c_SPR_SETTINGS0 = titles_c_SPR_BASE+2
titles_c_SPR_SETTINGS1 = titles_c_SPR_BASE+3
titles_c... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pack5.adb | best08618/asylo | 7 | 7831 | -- { dg-do compile }
procedure Pack5 is
type Kind is (v1, v2, v3);
type Error (k : Kind := Kind'First) is record
case k is
when v1 =>
null;
when v2 =>
null;
when Others =>
B : Boolean;
end case;
end record;
pragma Pack (Error);
for Error'Size use 16;
No_Error: const... |
Cubical/Relation/Nullary/DecidableEq.agda | limemloh/cubical | 0 | 13453 | {-# OPTIONS --cubical --safe #-}
module Cubical.Relation.Nullary.DecidableEq where
open import Cubical.Core.Everything
open import Cubical.Foundations.Prelude
open import Cubical.Data.Empty
open import Cubical.Relation.Nullary
-- Proof of Hedberg's theorem: a type with decidable equality is an h-set
Dec→Stable : ... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_1456_488.asm | ljhsiun2/medusa | 9 | 246040 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1b80c, %rax
nop
nop
nop
sub %r11, %r11
mov (%rax), %r12
nop
sub %r11, %r11
lea addresses_WT_ht+0x1294c, %rsi
lea addresses_A_ht+0xa0c, %rdi
nop
nop
nop
nop
cmp %r15, %r15
mov... |
awa/plugins/awa-questions/src/awa-questions-beans.adb | Letractively/ada-awa | 0 | 8907 | <filename>awa/plugins/awa-questions/src/awa-questions-beans.adb
-----------------------------------------------------------------------
-- awa-questions-beans -- Beans for module questions
-- Copyright (C) 2012, 2013 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "Li... |
kb-code.asm | Unshifted1337/Nand2Tris-Hack | 0 | 244941 | <gh_stars>0
//Keyboard code
//Author: Unshifted1337
@KBD
D=M
@R0
M=D
@48
D=A
@R0
M=M-D
@KBD
D=M
@R1
M=D
@48
D=A
@R0
M=M-D
@0
D=M
@2
M=D
@1
D=M
@2
M=D+M
@24
0;JMP
|
source/command_line.adb | jquorning/WeDo | 1 | 24901 | <gh_stars>1-10
--
-- The author disclaims copyright to this source code. In place of
-- a legal notice, here is a blessing:
--
-- May you do good and not evil.
-- May you find forgiveness for yourself and forgive others.
-- May you share freely, not taking more than you give.
--
with Ada.Text_IO;
package ... |
src/test_led_pwm.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 12332 |
-- This demonstration illustrates the use of PWM to control the brightness of
-- an LED. The effect is to make the LED increase and decrease in brightness,
-- iteratively, for as long as the application runs. In effect the LED light
-- waxes and wanes as function of a PWM sine wave generated with the CORDIC
-- co... |
src/_for_debug_purposes/apsepp-debug_trace.ads | thierr26/ada-apsepp | 0 | 28231 | <filename>src/_for_debug_purposes/apsepp-debug_trace.ads
-- Copyright (C) 2019 <NAME> <<EMAIL>>
-- MIT license. Please refer to the LICENSE file.
with Apsepp.Generic_Shared_Instance;
with Apsepp.Debug_Trace_Class; use Apsepp.Debug_Trace_Class;
package Apsepp.Debug_Trace is
package Shared_Instance
is ne... |
Cubical/HITs/Susp/Properties.agda | Schippmunk/cubical | 0 | 10 | <filename>Cubical/HITs/Susp/Properties.agda
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.HITs.Susp.Properties where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Equiv
open import Cubical.... |
programs/oeis/151/A151974.asm | neoneye/loda | 22 | 170254 | <filename>programs/oeis/151/A151974.asm<gh_stars>10-100
; A151974: a(n) = n*(n+1)*(n+2)*(n+3)*(n+4)/8.
; 0,15,90,315,840,1890,3780,6930,11880,19305,30030,45045,65520,92820,128520,174420,232560,305235,395010,504735,637560,796950,986700,1210950,1474200,1781325,2137590,2548665,3020640,3560040,4173840,4869480
add $0,4
bin... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt25_pkg1.adb | best08618/asylo | 7 | 15329 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt25_pkg1.adb
package body Opt25_Pkg1 is
procedure Swap (A, B : in out T) is
Tmp : T := A;
begin
A := B;
B := Tmp;
end Swap;
end Opt25_Pkg1;
|
programs/oeis/132/A132770.asm | neoneye/loda | 22 | 176476 | <reponame>neoneye/loda<filename>programs/oeis/132/A132770.asm
; A132770: a(n) = n*(n + 28).
; 0,29,60,93,128,165,204,245,288,333,380,429,480,533,588,645,704,765,828,893,960,1029,1100,1173,1248,1325,1404,1485,1568,1653,1740,1829,1920,2013,2108,2205,2304,2405,2508,2613,2720,2829,2940,3053,3168,3285,3404,3525
mov $1,$0
a... |
asm/floatingPoint/approxRoot.asm | IronHeart7334/AssemblyPrograms | 0 | 240613 | <reponame>IronHeart7334/AssemblyPrograms
; general comments
; This algorithm approximates the cube root of a real number x:
; root := 1.0
; until ( |root - oldRoot| < smallValue ) loop
; oldRoot := root
; root := (2.0*root + x/(root*root)) / 3.0
; end until
; Write a console32 Assembly Language program to ap... |
src/nnclassifier.adb | sebsgit/textproc | 0 | 9952 | with Ada.Text_IO;
package body NNClassifier is
function create(config: NeuralNet.Config; numberOfClasses: Positive) return DNN is
result: DNN(config.size + 1);
configWithLogits: NeuralNet.Config(config.size + 1);
begin
configWithLogits.act := config.act;
configWithLogits.lr := config.lr;
... |
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver1/sfc/ys_w65.asm | prismotizm/gigaleak | 0 | 247524 | <gh_stars>0
Name: ys_w65.asm
Type: file
Size: 19208
Last-Modified: '2016-05-13T04:51:16Z'
SHA-1: A25396919ADD9E81E87BA85A9DA47FA81E8C8FAA
Description: null
|
programs/oeis/134/A134012.asm | karttu/loda | 1 | 167013 | <reponame>karttu/loda
; A134012: Period 5: repeat 1, 6, 11, 6, 1.
; 1,6,11,6,1,1,6,11,6,1,1,6,11,6,1,1,6,11,6,1,1,6,11,6,1,1,6,11,6,1,1,6,11,6,1,1,6,11,6,1,1,6,11,6,1,1,6,11,6,1,1,6,11,6,1
mod $0,5
gcd $0,4
mod $0,4
mov $1,$0
mul $1,5
add $1,1
|
src/kernel/drivers/soc/watchdog_cseg.asm | rostislav-nikitin/socOS | 1 | 104583 | ;=======================================================================================================================
; ;
; Name: socOS (System On Chip Operation System) ... |
programs/oeis/302/A302048.asm | karttu/loda | 0 | 101281 | <reponame>karttu/loda<gh_stars>0
; A302048: a(n) = 1 if n = p^2 for some prime p, otherwise 0. Characteristic function of squares of primes (A001248).
; 0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,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... |
Ada/inc/Problem_59.ads | Tim-Tom/project-euler | 0 | 9463 | <gh_stars>0
package Problem_59 is
-- Each character on a computer is assigned a unique code and the preferred
-- standard is ASCII (American Standard Code for Information
-- Interchange). For example, uppercase A = 65, asterisk (*) = 42, and
-- lowercase k = 107.
--
-- A modern encryption method i... |
Transynther/x86/_processed/US/_st_zr_/i3-7100_9_0x84_notsx.log_16812_1640.asm | ljhsiun2/medusa | 9 | 3014 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r14
push %rbx
push %rcx
push %rdi
lea addresses_D_ht+0x1c639, %r10
nop
nop
nop
cmp $21834, %rcx
movb (%r10), %r14b
nop
lfence
lea addresses_normal_ht+0x11139, %rbx
nop
nop
nop
sub %r11, %r11
mov $0x6162636465666768, %rdi
movq %rdi, %xmm4
v... |
CyBRICS/2021/rev/Listing/listing.asm | ruhan-islam/ctf-archives | 1 | 24781 | BITS 64
global check
section .text
check:
mov rbp, rsp
sub rsp, 0x100
VMOVDQA ymm0, [rdi]
and rsp, 0xffffffffffffff00
mov rax, 0xfeca50051345b0b0
push rax
push rax
push rax
push rax
VMOVDQA ymm1, [rsp]
VPXOR ymm2, ymm1, ymm0
mov rax, 0x0100030205040706
... |
C/BiosLib/swapb.asm | p-k-p/SysToolsLib | 232 | 168749 | <gh_stars>100-1000
page ,132
;*****************************************************************************;
; ;
; FILE NAME: swapb.asm ;
; ;
; DESCRIPTION: Swap the two bytes of a word ;
; ;
; NOTES: ;
; ;
; HISTOR... |
src/asis/asis-iterator.ads | My-Colaborations/dynamo | 15 | 359 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT INTERFACE COMPONENTS --
-- ... |
src/main/antlr4/ca/umontreal/iro/UCD.g4 | abdelq/ucd-parser | 0 | 6272 | <filename>src/main/antlr4/ca/umontreal/iro/UCD.g4
grammar UCD;
model : 'MODEL' ID declaration* ;
declaration : ( classDeclaration | association | aggregation | generalization ) ';' ;
classDeclaration : 'CLASS' ID 'ATTRIBUTES' (attribute (',' attribute)*)?
'OPERATIONS' (operation (',' op... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_5_565.asm | ljhsiun2/medusa | 9 | 6902 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_5_565.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xc3cd, %r12
nop
nop
inc %r9
mov $0x6162636465666768, %r8
movq %r8, (%r12)
no... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_13061_257.asm | ljhsiun2/medusa | 9 | 177040 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0xe09c, %rsi
lea addresses_A_ht+0x816c, %rdi
clflush (%rdi)
nop
nop
nop
nop
nop
sub %r11, %r11
mov $66, %rcx
rep movsb
nop
nop
add $26756, %r14
pop %rsi
pop %rdi
pop %rcx
pop %r14
pop %r11
ret
.global... |
programs/oeis/186/A186852.asm | neoneye/loda | 22 | 19847 | ; A186852: Number of 3-step knight's tours on a (n+2)X(n+2) board summed over all starting positions
; 16,104,328,664,1112,1672,2344,3128,4024,5032,6152,7384,8728,10184,11752,13432,15224,17128,19144,21272,23512,25864,28328,30904,33592,36392
mov $1,$0
pow $1,2
add $0,$1
mul $0,7
trn $0,3
mul $0,8
add $0,16
|
Library/Kernel/Geodes/geodesDriver.asm | steakknife/pcgeos | 504 | 86983 | <reponame>steakknife/pcgeos<gh_stars>100-1000
COMMENT @-----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Geode
FILE: geodeDriver.asm
ROUTINES:
Name Description
---- -----------
GLB GeodeFreeDriver... |
test/Succeed/Issue1380b.agda | shlevy/agda | 1,989 | 2436 | {-# OPTIONS --exact-split #-}
postulate
I : Set
P : I → Set
record ∃ (P : I → Set) : Set where
constructor _,_
field
fst : I
snd : P fst
open ∃
data S : ∃ P → Set where
s : (i : I) (x : P i) → S (i , x)
Foo : (p : ∃ P) → S p → Set
Foo p (s .(fst p) .(snd p)) = I
|
src/examples/zeerust.asm | Ppjet6/zeerust | 9 | 22263 | ld A, 'Z'
out (0), A
ld A, 'E'
out (0), A
out (0), A
ld A, 'R'
out (0), A
ld A, 'U'
out (0), A
ld A, 'S'
out (0), A
ld A, 'T'
out (0), A
halt
|
CpuIdDll/src/cpuidx86.asm | jcurl/RJCP.DLL.CpuId | 0 | 22804 | .686 ; create 32 bit code, required for "cpuid" instruction
.model flat, stdcall ; 32 bit memory model
option casemap: none ; case sensitive
option language: stdcall
.code
;stdcall calling convention used for 32-bit
; EBP+28 pedx:NEAR PTR DWORD
; EBP+24 pecx:NEAR PTR DWORD
... |
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/ツール/tool/old_cos/sfc/yst_play.asm | prismotizm/gigaleak | 0 | 23107 | Name: yst_play.asm
Type: file
Size: 7380
Last-Modified: '2016-05-13T04:52:55Z'
SHA-1: 71284E257C8B4CDCA5E1CB9587916F3B2B956C42
Description: null
|
ada/src/goertzel.adb | sveljko/goertzel | 10 | 29682 | <gh_stars>1-10
with Ada.Numerics.Generic_Elementary_Functions;
package body goertzel with
SPARK_Mode => On
is
package Ef is new Ada.Numerics.Generic_Elementary_Functions(Value);
use Ef;
function Calc_Koef(F, Fs: Value) return Value is (2.0 * Cos(2.0 * Ada.Numerics.Pi * F / Fs))
with
Pre => (F... |
alloy4fun_models/trashltl/models/17/TAmuXKRJQHbs8t6cv.als | Kaixi26/org.alloytools.alloy | 0 | 4569 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idTAmuXKRJQHbs8t6cv_prop18 {
always all f: Protected | f in Protected until f in Trash
}
pred __repair { idTAmuXKRJQHbs8t6cv_prop18 }
check __repair { idTAmuXKRJQHbs8t6cv_prop18 <=> prop18o } |
lemmas-subst-ta.agda | hazelgrove/hazelnut-agda | 0 | 10247 | open import Prelude
open import Nat
open import dynamics-core
open import contexts
open import contraction
open import weakening
open import exchange
open import lemmas-disjointness
open import binders-disjoint-checks
module lemmas-subst-ta where
-- this is what makes the binders-unique assumption below good enough:... |
library/fmGUI_RecordManipulation/fmGUI_getRecCounts.applescript | NYHTC/applescript-fm-helper | 1 | 662 | <gh_stars>1-10
-- fmGUI_getRecCounts()
-- <NAME>, NYHTC
-- Get the counts of the found set and total # of records
(*
HISTORY:
1.0 - 2016-08-12 ( eshagdar ): first created
REQUIRES:
fmGUI_ModeEnsure_Browse
getTextAfter
getTextBefore
*)
on run
fmGUI_getRecCounts()
end run
--------------------
-- START OF CODE... |
samples/lazy.asm | Idorobots/asm | 2 | 173723 | ################################################################################
# Lazy evaluation example:
#
# > (take 13 all-integers)
# (1 2 3 4 5 6 7 8 9 10 11 12 13)
####################
(import 'imports.lazy)
(function ++ [var]
(+ 1 var))
(var all-integers ([n ->
(join~ n (self (++... |
programs/oeis/011/A011661.asm | jmorken/loda | 1 | 13372 | <gh_stars>1-10
; A011661: A binary m-sequence: expansion of reciprocal of x^5+x^3+x^2+x+1.
; 0,0,0,0,1,1,0,0,1,0,0,1,1,1,1,1,0,1,1,1,0,0,0,1,0,1,0,1,1,0,1,0,0,0,0,1,1,0,0,1,0,0,1,1,1,1,1,0,1,1,1,0,0,0,1,0,1,0,1,1,0,1,0,0,0,0,1,1,0,0,1,0,0,1,1,1,1,1,0,1,1
mul $0,3
mov $5,$0
lpb $0,$5
sub $0,2
cal $0,11749 ; Expansi... |
src/boot/pm_utils.asm | davidjxu21/pongOS | 0 | 102029 | ; utility functions in 32-bit protected mode
[bits 32]
VIDEO_MEMORY equ 0xb8000
WHITE_ON_BLACK equ 0x0f
clear_display:
; clears the vga display
pusha ; preserve current register values
mov edx, VIDEO_MEMORY ; set beginning memory address
mov bx, 0x7D0 ; set counter to numb... |
strcasecmp.asm | Antoine340/minilibc-asm | 0 | 13577 | <filename>strcasecmp.asm<gh_stars>0
BITS 64
GLOBAL strcasecmp:function
strcasecmp:
PUSH RBP
MOV RBP, RSP
XOR RAX, RAX
XOR RCX, RCX
loop:
CMP BYTE[]
|
asm/text.ext.asm | RockmanEXEZone/MMBN45-English-Translation | 6 | 246242 | <reponame>RockmanEXEZone/MMBN45-English-Translation
.align 2
text_cmdEuropeBlock:
push r14
ldrb r0,[r4,0x1]
cmp r0,0x0
beq @@skip
cmp r0,(VAR_TEXT_EU ? 0x2 : 0x1)
bne @@loop
@@skip:
add r4,0x2
b @@end
@@loop:
// Loop until 0xFE 0x00
ldrb r0,[r4]
add r4,0x1
cmp r0,0xE4
bne @@checkFE
add r4,0x1
b @@loo... |
lib/gunzip/src/GzipArchive.asm | sharksym/vgmplay-sharksym | 6 | 94485 | ;
; Gzip archive
;
GzipArchive_SIGNATURE_1: equ 1FH
GzipArchive_SIGNATURE_2: equ 8BH
GzipArchive_DEFLATE_ID: equ 8
GzipArchive_FTEXT: equ 1 << 0;
GzipArchive_FHCRC: equ 1 << 1;
GzipArchive_FEXTRA: equ 1 << 2;
GzipArchive_FNAME: equ 1 << 3;
GzipArchive_FCOMMENT: equ 1 << 4;
GzipArchive_RESERVED: equ 1 << 5 | 1 << 6 | 1 ... |
Ada/src/Problem_68.adb | Tim-Tom/project-euler | 0 | 6080 | <reponame>Tim-Tom/project-euler
with Ada.Text_IO;
package body Problem_68 is
package IO renames Ada.Text_IO;
-- They want 16 digit strings, so we know that every solution will
-- have a 10 on the outside edge of one of the flanges, so we can
-- always start there.
subtype Digit is Positive range 1 .... |
antlr/grammar/LambdaCalculus.g4 | supersven/lambda-core | 0 | 2048 | grammar LambdaCalculus;
expression: application | lambda | variable | integer;
application: '('expression')' expression;
lambda: '\\' parameters '->' expression;
integer: INT;
variable: VARIABLE;
parameters: parameter*;
parameter: VARIABLE;
VARIABLE: 'A'..'Z' | 'a'..'z';
INT: [0-9]+;
WS : [ \t\r\n]+ -> skip ;
|
_maps/obj4E.asm | vladjester2020/Sonic1TMR | 0 | 10880 | <filename>_maps/obj4E.asm
; ---------------------------------------------------------------------------
; Sprite mappings - advancing wall of lava (MZ)
; ---------------------------------------------------------------------------
dc.w byte_F538-Map_obj4E
dc.w byte_F566-Map_obj4E
dc.w byte_F594-Map_obj4E
d... |
dsl/antlr/Expr/Java.g4 | y2ghost/study | 0 | 2079 | <gh_stars>0
grammar Java;
@lexer::members {
protected boolean enumIsKeyword = true;
protected boolean assertIsKeyword = true;
}
compilationUnit: packageDeclaration? importDeclaration* typeDeclaration* EOF;
packageDeclaration: 'package' qualifiedName ';';
importDeclaration: 'import' 'static'? qualifiedName ('.... |
oeis/226/A226540.asm | neoneye/loda-programs | 11 | 85762 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A226540: Maximum of the proper divisors of the triangular numbers.
; Submitted by <NAME>(s2)
; 1,3,5,5,7,14,18,15,11,33,39,13,35,60,68,51,57,95,105,77,23,138,150,65,117,189,203,145,155,248,264,187,119,315,333,37,247,390,410,287,301,473,495,345,47,564,588,245,425,663,689... |
test/Succeed/Issue4784.agda | KDr2/agda | 0 | 5172 | {-# OPTIONS --cubical-compatible #-}
postulate
A : Set
B : A → Set
@0 T : Set
T = (@0 x : A) → B x
_ : Set₁
_ = (@0 A : Set) → @0 A → (@0 x : A) → Set
data D : Set₁ where
@0 c : (@0 A : Set) → A → (x : A) → D
|
programs/oeis/105/A105348.asm | jmorken/loda | 1 | 4108 | ; A105348: An indicator sequence for the Jacobsthal numbers.
; 1,2,0,1,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,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,1,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... |
source/oasis/program-elements-definitions.ads | reznikmm/gela | 0 | 20258 | <reponame>reznikmm/gela
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package Program.Elements.Definitions is
pragma Pure (Program.Elements.Definitions);
type Definition is limited interface and Program.Elemen... |
archive/agda-2/Oscar/Data/List.agda | m0davis/oscar | 0 | 5676 | <filename>archive/agda-2/Oscar/Data/List.agda
module Oscar.Data.List where
open import Agda.Builtin.List public using (List; []; _∷_)
|
programs/oeis/033/A033044.asm | neoneye/loda | 22 | 4208 | ; A033044: Sums of distinct powers of 7.
; 0,1,7,8,49,50,56,57,343,344,350,351,392,393,399,400,2401,2402,2408,2409,2450,2451,2457,2458,2744,2745,2751,2752,2793,2794,2800,2801,16807,16808,16814,16815,16856,16857,16863,16864,17150,17151,17157,17158,17199,17200,17206,17207,19208,19209,19215,19216,19257,19258,19264,19265,1... |
programs/oeis/070/A070513.asm | neoneye/loda | 22 | 13809 | ; A070513: a(n) = n^4 mod 9.
; 0,1,7,0,4,4,0,7,1,0,1,7,0,4,4,0,7,1,0,1,7,0,4,4,0,7,1,0,1,7,0,4,4,0,7,1,0,1,7,0,4,4,0,7,1,0,1,7,0,4,4,0,7,1,0,1,7,0,4,4,0,7,1,0,1,7,0,4,4,0,7,1,0,1,7,0,4,4,0,7,1,0,1,7,0,4,4,0,7,1,0,1,7,0,4,4,0,7,1,0
pow $0,4
mod $0,9
|
plugin/tooltip_and_button_asm.asm | matanki-saito/vic2dll | 0 | 88245 | EXTERN _tooltipAndButtonProc1ReturnAddress: DWORD
EXTERN _tooltipAndButtonProc2ReturnAddress: DWORD
EXTERN _tooltipAndButtonProc3ReturnAddress: DWORD
EXTERN _tooltipAndButtonProc4ReturnAddress: DWORD
EXTERN _tooltipAndButtonProc4CallAddress: DWORD
ESCAPE_SEQ_1 = 10h
ESCAPE_SEQ_2 = 11h
ESCAPE_SEQ_3 = 12h
ESCAPE_SEQ_4 =... |
beafix_benchmarks/BEAFIX_ALL_D3/cv_inv1_2_repair.als | Kaixi26/org.alloytools.alloy | 0 | 3966 | <reponame>Kaixi26/org.alloytools.alloy
//Line and OP: Line 5 <SSS>
//ORIGINAL: visible
//MUTATION: (visible - profile)
open util/integer as integer
abstract sig Source {
}
sig User extends Source {
profile : set Work,
visible : set Work
}
sig Institution extends Source {
}
sig Id {
}
sig Work {
ids : some Id,... |
source/web/servlet/http/matreshka-rfc2616_dates.adb | svn2github/matreshka | 24 | 28496 | <filename>source/web/servlet/http/matreshka-rfc2616_dates.adb
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
Task/Hello-world-Newline-omission/Ada/hello-world-newline-omission-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 29436 | with Ada.Text_IO;
procedure Goodbye_World is
begin
Ada.Text_IO.Put("Goodbye, World!");
end Goodbye_World;
|
src/new_canary_window.applescript | caiogondim/alfred-chrome-window-workflow | 31 | 3299 | #!/usr/bin/osascript
tell application "Google Chrome Canary"
make new window
tell application "System Events" to set frontmost of process "Google Chrome Canary" to true
activate
end tell
|
drivers/drivers-ntc.ads | ekoeppen/MSP430_Generic_Ada_Drivers | 0 | 19270 | <reponame>ekoeppen/MSP430_Generic_Ada_Drivers<filename>drivers/drivers-ntc.ads
with Interfaces;
generic
Resistor_Value : Unsigned_32 := 10_000;
NTC_Is_Upper : Boolean := True;
Beta : Positive := 3976;
V_In_Max : Unsigned_32 := 2 ** 10 - 1;
package Drivers.NTC is
pragma Preelaborate;
function Valu... |
x86/bootloader.asm | encse/bootloader | 16 | 89142 | ;; Boot sector load address
%assign BootLoader.Begin 0x7c00
;; Sector size in bytes
%assign BootLoader.SectorSize 512
;; Words in 16 bit x86 are 2 bytes
%assign BootLoader.WordSize 2
;; Number of sectors used by main program
%assign BootLoader.MainSectorCount (Main.CodeSize / BootLoader.SectorSize - 1)
[bits 16]
[o... |
alloy4fun_models/trashltl/models/17/F8TNYSSWhYDYbb5Bz.als | Kaixi26/org.alloytools.alloy | 0 | 127 | open main
pred idF8TNYSSWhYDYbb5Bz_prop18 {
always (all f : File | f in Trash triggered f in Protected)
}
pred __repair { idF8TNYSSWhYDYbb5Bz_prop18 }
check __repair { idF8TNYSSWhYDYbb5Bz_prop18 <=> prop18o } |
src/tests/bintoasc_suite-misc_tests.ads | jhumphry/Ada_BinToAsc | 0 | 4386 | <reponame>jhumphry/Ada_BinToAsc<filename>src/tests/bintoasc_suite-misc_tests.ads<gh_stars>0
-- BinToAsc_Suite.Misc_Tests
-- Unit tests for BinToAsc
-- Copyright (c) 2015, <NAME> - see LICENSE file for details
with AUnit; use AUnit;
with AUnit.Test_Cases; use AUnit.Test_Cases;
package BinToAsc_Suite.Misc_Tests is
... |
alloy/spirv.als | raphlinus/Vulkan-MemoryModel | 82 | 2209 | <filename>alloy/spirv.als
// Copyright (c) 2017-2019 Khronos Group. This work is licensed under a
// Creative Commons Attribution 4.0 International License; see
// http://creativecommons.org/licenses/by/4.0/
// Vulkan + SPIR-V Memory Model
// Inspired by: Wickerson et al, Automatically Comparing Memory Consiste... |
programs/oeis/008/A008766.asm | jmorken/loda | 1 | 84968 | ; A008766: Expansion of (1+x^5)/((1-x)*(1-x^2)*(1-x^3)*(1-x^4)).
; 1,1,2,3,5,7,10,13,18,23,29,36,45,54,65,77,91,106,123,141,162,184,208,234,263,293,326,361,399,439,482,527,576,627,681,738,799,862,929,999,1073,1150,1231,1315,1404,1496,1592,1692,1797,1905,2018,2135,2257,2383,2514,2649,2790,2935,3085,3240,3401,3566,3737,3... |
alloy4fun_models/trashltl/models/13/RkNcvzWa43vtQz688.als | Kaixi26/org.alloytools.alloy | 0 | 5185 | open main
pred idRkNcvzWa43vtQz688_prop14 {
no Protected' & Trash
}
pred __repair { idRkNcvzWa43vtQz688_prop14 }
check __repair { idRkNcvzWa43vtQz688_prop14 <=> prop14o } |
oeis/343/A343260.asm | neoneye/loda-programs | 11 | 162162 | ; A343260: a(n) = 2 * T(n,(n+1)/2) where T(n,x) is a Chebyshev polynomial of the first kind.
; Submitted by <NAME>
; 2,2,7,52,527,6726,103682,1874888,38925119,912670090,23855111399,687808321212,21687295069442,742397047217294,27420344506901023,1086932029484351248,46027034321342899967,2073668380220713167378,9904207014681... |
lib/types/FundamentalGroupoid.agda | UlrikBuchholtz/HoTT-Agda | 1 | 15189 | {-# OPTIONS --without-K #-}
open import lib.Basics
open import lib.types.Truncation
open import lib.types.Groupoid
open import lib.types.PathSet
module lib.types.FundamentalGroupoid {i} (A : Type i) where
fundamental-groupoid : Groupoid
fundamental-groupoid = record
{ El = A
; Arr = _=₀_ {A = A}
; Ar... |
oeis/185/A185010.asm | neoneye/loda-programs | 11 | 14609 | ; A185010: a(n) = A000108(n)*A015518(n+1), where A000108 are the Catalan numbers and A015518(n) = 2*A015518(n-1) + 3*A015518(n-2).
; Submitted by <NAME>
; 1,2,14,100,854,7644,72204,703560,7037030,71772844,743844452,7810307960,82909630972,888316731800,9593823377880,104332819539600,1141523825614470,12556761952114380,1387... |
Ouroboros/External/libjpegTurbo/simd/jcgrass2-64.asm | jiangzhu1212/oooii | 0 | 166297 | <gh_stars>0
;
; jcgrass2-64.asm - grayscale colorspace conversion (64-bit SSE2)
;
; x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; Copyright (C) 2011, <NAME>.
; For conditions of distribution and use, see copyright notice in jsimdext.inc
;
; This file should be assembled w... |
programs/oeis/262/A262855.asm | neoneye/loda | 22 | 22114 | <reponame>neoneye/loda
; A262855: Triangle read by rows giving successive states of cellular automaton generated by "Rule 153" initiated with a single ON (black) cell.
; 1,0,0,1,0,1,0,1,1,0,0,0,0,1,1,1,0,1,1,1,0,1,1,1,1,0,0,1,1,0,0,1,1,1,1,1,0,1,0,1,0,1,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,... |
test-resources/CombinedTypesAndVariables.Main.adb | hergin/ada2fuml | 0 | 1312 | with SomeClass;
procedure Main is
begin
null;
end Main;
|
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca_notsx.log_21829_1971.asm | ljhsiun2/medusa | 9 | 8340 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r8
push %rbx
push %rdx
lea addresses_normal_ht+0x15435, %rbx
nop
and $57155, %rdx
movw $0x6162, (%rbx)
nop
nop
nop
nop
nop
add %r13, %r13
pop %rdx
pop %rbx
pop %r8
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r11
push... |
test/Fail/Issue2044.agda | cruhland/agda | 1,989 | 9315 |
postulate
T C D : Set
instance I : {{_ : C}} → D
d : {{_ : D}} → T
t : T
t = d
|
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_669.asm | ljhsiun2/medusa | 9 | 169821 | <filename>Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_669.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x10956, %rdi
nop
sub %rsi, %rsi
mov $0x6162636465666768, %rdx
movq %rdx, (%rdi)
sub $3257, %... |
src/stars/tests/instructions.asm | kevintmcdonnell/stars | 4 | 245263 | .data
ascii: .ascii "hello"
asciiz: .asciiz "hello"
bytes: .byte 1 2 0xff 0x3ff 'a'
.align 3
double: .double 420.10
float: .float 18.0
.align 1
half: .half 0xffff 1 3
space: .space 8
.align 2
word: .word 1 2 3 4
.text
main:
target:
label:
abs $t1,$t2 # a comment
abs.d $f2,$f4
abs.s $f0,$f1
add $t1,$t2,$t3
add.d $f2... |
programs/oeis/157/A157739.asm | karttu/loda | 1 | 163037 | ; A157739: a(n) = 388962*n^2 - 1764*n + 1.
; 387199,1552321,3495367,6216337,9715231,13992049,19046791,24879457,31490047,38878561,47044999,55989361,65711647,76211857,87489991,99546049,112380031,125991937,140381767,155549521,171495199,188218801,205720327,223999777,243057151,262892449,283505671,304896817,327065887,3500128... |
source/lli_release.asm | mateuszstompor/Linked-List-x86-64-ASM | 5 | 245119 | <reponame>mateuszstompor/Linked-List-x86-64-ASM
;
; Created by <NAME> on 21/06/2019.
;
%include "source/sizes.asm"
%include "source/iterator.asm"
%include "source/memory_management.asm"
global LLI_RELEASE
section .text
LLI_RELEASE:
; address sits in rdi register
sub rsp, 8
mov rsi, LL_ITERATOR_SIZE
c... |
src/cupcake-colors.ads | skordal/cupcake | 2 | 30733 | -- The Cupcake GUI Toolkit
-- (c) <NAME> 2012 <<EMAIL>>
-- Report bugs and issues on <http://github.com/skordal/cupcake/issues>
-- vim:ts=3:sw=3:et:si:sta
package Cupcake.Colors is
-- Color component type:
subtype Color_Component_Type is Float range 0.0 .. 1.0;
-- Color type:
type Color is record
... |
programs/oeis/257/A257063.asm | neoneye/loda | 22 | 243173 | <reponame>neoneye/loda<gh_stars>10-100
; A257063: Number of length 1 1..(n+1) arrays with every leading partial sum divisible by 2 or 3.
; 1,2,3,3,4,4,5,6,7,7,8,8,9,10,11,11,12,12,13,14,15,15,16,16,17,18,19,19,20,20,21,22,23,23,24,24,25,26,27,27,28,28,29,30,31,31,32,32,33,34,35,35,36,36,37,38,39,39,40,40,41,42,43,43,44... |
programs/oeis/309/A309097.asm | karttu/loda | 0 | 12952 | <filename>programs/oeis/309/A309097.asm
; A309097: Number of partitions of n avoiding the partition (4,2,1).
; 1,1,2,3,5,7,11,14,20,25,32,39,49,56,68,79,91,103,119,132,150,165,183,202,224,241,264,287,311,334,362,385,415,442,472,503,535,563,599,634,670,703,743,778,820,859,899,942,988,1027,1074,1119,1167,1214,1266
mov $... |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca.log_11_1125.asm | ljhsiun2/medusa | 9 | 6178 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r15
push %r8
push %rax
push %rbp
push %rbx
// Store
lea addresses_normal+0x1a645, %rax
nop
add $50763, %r11
movw $0x5152, (%rax)
nop
nop
and %r11, %r11
// Store
lea addresses_RW+0x9d35, %r8
nop
nop
nop... |
Working Disassembly/General/Sprites/Tails/Tails tails pattern load cues.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 5 | 174766 | PLC_344D74: dc.w Frame_344DCE-PLC_344D74 ; ...
dc.w Frame_344DD0-PLC_344D74
dc.w Frame_344DD4-PLC_344D74
dc.w Frame_344DD8-PLC_344D74
dc.w Frame_344DDC-PLC_344D74
dc.w Frame_344DE0-PLC_344D74
dc.w Frame_344DE4-PLC_344D74
dc.w Frame_344DE8-PLC_344D74
dc.w Frame_344DEC-PLC_344D74
dc.w Frame_344DF0-PLC_3... |
oeis/270/A270715.asm | neoneye/loda-programs | 11 | 243657 | <gh_stars>10-100
; A270715: a(n) = ((n+2)/2)*Sum_{k=0..n/2}(Sum_{i=0..n-2*k}(binomial(k+1,n-2*k-i)*binomial(k+i,k))/(k+1).
; Submitted by <NAME>
; 1,3,5,10,19,35,65,120,221,407,749,1378,2535,4663,8577,15776,29017,53371,98165,180554,332091,610811,1123457,2066360,3800629,6990447,12857437,23648514,43496399,80002351,147147... |
testcases/driver_connections/pgsql/connect.ads | jrmarino/AdaBase | 30 | 27816 | -- Used for all testcases for MySQL driver
with AdaBase.Driver.Base.PostgreSQL;
with AdaBase.Statement.Base.PostgreSQL;
package Connect is
-- All specific drivers renamed to "Database_Driver"
subtype Database_Driver is AdaBase.Driver.Base.PostgreSQL.PostgreSQL_Driver;
subtype Stmt_Type is AdaBase.Statemen... |
programs/oeis/088/A088955.asm | neoneye/loda | 22 | 13062 | <filename>programs/oeis/088/A088955.asm
; A088955: Primes of the form 60*n + 1.
; 61,181,241,421,541,601,661,1021,1201,1321,1381,1621,1741,1801,1861,2161,2221,2281,2341,2521,3001,3061,3121,3181,3301,3361,3541,4021,4201,4261,4441,4561,4621,4801,4861,5101,5281,5521,5581,5641,5701,5821,5881
mov $2,$0
pow $2,2
add $2,3
lp... |
Typinator/typinator/Includes/Scripts/IP.applescript | mbroski/config | 2 | 2244 | <filename>Typinator/typinator/Includes/Scripts/IP.applescript<gh_stars>1-10
-- Version 1.0, (C) E<NAME>, 2012-01-19
-- Feel free to modify the script for your own use, but leave the copyright notice intact.
return IPv4 address of (system info) |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_3080.asm | ljhsiun2/medusa | 9 | 176813 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x193e6, %rsi
lea addresses_normal_ht+0xf4c6, %rdi
nop
nop
nop
add %r9, %r9
mov $69, %rcx
rep movsw
nop
nop
sub %r12, %r12
lea addresses_WT_ht+0x1a2b6, %r15
nop
... |
src/generator-rssfeed.ads | bracke/websitegenerator | 1 | 17041 | with Ada.Streams;
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Wide_Wide_Text_IO; use Ada.Wide_Wide_Text_IO;
with DOM.Core.Documents; use DOM.Core.Documents;
with DOM.Core; use DOM.Core;
with DOM.Core.Elements; use DOM.Core.Elements;
with DOM.Core.Nodes; use DOM.Core.Node... |
oeis/008/A008420.asm | neoneye/loda-programs | 11 | 23651 | ; A008420: Coordination sequence for 10-dimensional cubic lattice.
; Submitted by <NAME>
; 1,20,200,1340,6800,28004,97880,299660,822560,2060980,4780008,10377180,21278640,41517060,77548920,139380012,242080320,407782740,668274440,1068305020,1669752016,2556801700,3842321560,5675620300,8251811680,11823020020,16711687720,23... |
programs/oeis/265/A265542.asm | neoneye/loda | 22 | 7340 | ; A265542: Largest base-9 palindrome m <= n, written in base 9.
; 0,1,2,3,4,5,6,7,8,8,11,11,11,11,11,11,11,11,11,11,22,22,22,22,22,22,22,22,22,22,33,33,33,33,33,33,33,33,33,33,44,44,44,44,44,44,44,44,44,44,55,55,55,55,55,55,55,55,55,55,66,66,66,66,66,66,66,66,66,66,77,77,77,77,77,77,77,77,77,77,88,88
seq $0,265541 ; L... |
fileManagement/seek.asm | slowy07/learnAsm | 1 | 4923 | section .text
global _start
section .data
fileName db 'impFile.txt', 0h
contentFile db 'make magic! --res--', 0h
_start:
mov ecx, 1
mov ebx, fileName
mov eax, 5
int 80h
mov edx, 2
mov ecx, 0
mov ebx, eax
mov eax, 19
int 80h
mov edx, 9
mov ecx, contentFile
... |
oeis/022/A022408.asm | neoneye/loda-programs | 11 | 160991 | <gh_stars>10-100
; A022408: a(n) = a(n-1) + a(n-2) + 1, with a(0)=3, a(1)=9.
; 3,9,13,23,37,61,99,161,261,423,685,1109,1795,2905,4701,7607,12309,19917,32227,52145,84373,136519,220893,357413,578307,935721,1514029,2449751,3963781,6413533,10377315,16790849,27168165,43959015,71127181,115086197,186213379,301299577,487512957... |
programs/oeis/140/A140163.asm | karttu/loda | 0 | 275 | <filename>programs/oeis/140/A140163.asm<gh_stars>0
; A140163: a(1)=1, a(n) = a(n-1) + n^5 if n odd, a(n) = a(n-1) + n if n is even.
; 1,3,246,250,3375,3381,20188,20196,79245,79255,240306,240318,611611,611625,1371000,1371016,2790873,2790891,5266990,5267010,9351111,9351133,15787476,15787500,25553125,25553151,39902058,399... |
src/unprotected.asm | hirohito-protagonist/hla-learn-adventure | 0 | 179956 | ; Assembly code emitted by HLA compiler
; Version 2.16 build 4413 (prototype)
; HLA compiler written by <NAME>
; NASM compatible output
bits 32
%define ExceptionPtr__hla_ [dword fs:0]
global QuitMain__hla_
global DfltExHndlr__hla_
global _HLAMain
global HWexcept__hla... |
alloy4fun_models/trashltl/models/9/W5PESCnEkCrPooSge.als | Kaixi26/org.alloytools.alloy | 0 | 5176 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idW5PESCnEkCrPooSge_prop10 {
all f : File | always f in Protected since f in Protected
}
pred __repair { idW5PESCnEkCrPooSge_prop10 }
check __repair { idW5PESCnEkCrPooSge_prop10 <=> prop10o } |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_326.asm | ljhsiun2/medusa | 9 | 25421 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_326.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r8
push %rax
push %rdx
lea addresses_WT_ht+0x1a186, %r8
sub $24543, %rdx
mov (%r8), %eax
cmp %r8, %r8
pop %rdx
pop %rax
pop %r8
ret
.global s_faulty_load
s_faulty_load:
push %r11... |
4/4-2b.asm | winderica/GoodbyeASM | 0 | 242179 | <reponame>winderica/GoodbyeASM
.386
stack segment use16 stack
db 500 dup(0)
stack ends
code segment use16
start:
cli
xor ax, ax
mov ds, ax
mov ax, fs:[200h * 4]
cmp ax, 0
je exit
mov ds:[16h * 4], ax
mov ax, fs:[200h * 4 + 2]
mov ds:[16h * 4 +... |
LectureNotes/MetAndTop/Chapter1.agda | Smaug123/agdaproofs | 4 | 17437 | <reponame>Smaug123/agdaproofs
{-# OPTIONS --safe --warning=error --without-K #-}
open import Agda.Primitive using (Level; lzero; lsuc; _⊔_; Setω)
open import Boolean.Definition
open import Setoids.Setoids
open import Setoids.Subset
open import Setoids.Functions.Definition
open import LogicalFormulae
open import Funct... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.