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 |
|---|---|---|---|---|
oeis/056/A056454.asm | neoneye/loda-programs | 11 | 240945 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A056454: Number of palindromes of length n using exactly three different symbols.
; Submitted by <NAME>(s2)
; 0,0,0,0,6,6,36,36,150,150,540,540,1806,1806,5796,5796,18150,18150,55980,55980,171006,171006,519156,519156,1569750,1569750,4733820,4733820,14250606,14250606,4285... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c37210a.ada | best08618/asylo | 7 | 29837 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c37210a.ada
-- C37210A.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... |
src/util/gnatcoll-opt_parse-extension.ads | HeisenbugLtd/spat | 20 | 26979 | <reponame>HeisenbugLtd/spat<filename>src/util/gnatcoll-opt_parse-extension.ads<gh_stars>10-100
------------------------------------------------------------------------------
-- G N A T C O L L --
-- ... |
src/main/antlr/parserllantlr/LRExprPrec.g4 | courses-at-nju-by-hfwei/compilers-antlr | 7 | 174 | <reponame>courses-at-nju-by-hfwei/compilers-antlr
grammar LRExprPrec;
// Bugs in the antlr plugin? It does not parse correctly.
// Test with command line (remember to comment out the following @header line).
@header {
package parserllantlr;
}
stat : expr[0] ';' EOF;
expr[int _p]
: ( INT
| ID
)... |
4-high/gel/source/platform/lumen/gel-window-lumen.adb | charlie5/lace | 20 | 12724 | with ada.Unchecked_Conversion;
with ada.Text_IO; use Ada.Text_IO;
with lumen.Events.Keys;
with ada.Characters.Latin_1;
package body gel.Window.lumen
--
--
--
is
use standard.Lumen.Events;
package std_Lumen renames standard.Lumen;
use std_Lumen;
-------------
--- Utilities
--
function to_gel... |
libsrc/_DEVELOPMENT/stdlib/c/sccz80/strtod.asm | meesokim/z88dk | 8 | 4175 |
; double strtod(const char *nptr, char **endptr)
PUBLIC strtod
EXTERN asm_strtod
strtod:
pop af
pop de
pop hl
push hl
push de
push af
jp asm_strtod
|
oeis/115/A115036.asm | neoneye/loda-programs | 11 | 89294 | <filename>oeis/115/A115036.asm
; A115036: Even terms of A116883.
; 6,10,14,18,20,22,26,28,30,34,36,38,42,44,46,50,52,54,58,60,62,66,68,70,72,74,76,78,82,84,86,88,90,92,94,98,100,102,104,106,108,110,114,116,118,120,122,124,126,130,132,134,136,138,140,142,146,148,150,152,154,156,158,162,164,166,168,170,172,174,178,180,18... |
Transynther/x86/_processed/NONE/_zr_/i3-7100_9_0x84_notsx.log_4977_35.asm | ljhsiun2/medusa | 9 | 103320 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
// REPMOV
mov $0x5ae, %rsi
lea addresses_US+0xc2fe, %rdi
nop
nop
nop
nop
add $1838, %r15
mov $111, %rcx
rep movsb
nop
nop
nop
and $6... |
Applications/Terminal/window/tab/properties.applescript | looking-for-a-job/applescript-examples | 1 | 1950 | <filename>Applications/Terminal/window/tab/properties.applescript<gh_stars>1-10
tell application "Terminal"
tell front window
return first tab
tell first tab
# custom title
# font
# title displays device name
# cursor color
# current settings
# title displays shell path
# tty
# normal text c... |
oeis/299/A299287.asm | neoneye/loda-programs | 11 | 86852 | ; A299287: Coordination sequence for "tcd" 3D uniform tiling.
; Submitted by <NAME>(s2)
; 1,10,33,72,126,196,281,382,498,630,777,940,1118,1312,1521,1746,1986,2242,2513,2800,3102,3420,3753,4102,4466,4846,5241,5652,6078,6520,6977,7450,7938,8442,8961,9496,10046,10612,11193,11790,12402,13030,13673,14332,15006,15696,16401,1... |
programs/oeis/037/A037482.asm | karttu/loda | 1 | 3279 | ; A037482: Base 5 digits are, in order, the first n terms of the periodic sequence with initial period 1,2.
; 1,7,36,182,911,4557,22786,113932,569661,2848307,14241536,71207682,356038411,1780192057,8900960286,44504801432,222524007161,1112620035807,5563100179036,27815500895182,139077504475911,695387522379557
add $0,1
mo... |
archive/agda-2/Oscar/Data/Term/internal/SubstituteAndSubstitution1.agda | m0davis/oscar | 0 | 4903 | <reponame>m0davis/oscar
module Oscar.Data.Term.internal.SubstituteAndSubstitution1 {𝔣} (FunctionName : Set 𝔣) where
open import Oscar.Data.Equality
open import Oscar.Data.Equality.properties
open import Oscar.Data.Fin
open import Oscar.Data.Nat
open import Oscar.Data.Term FunctionName
open import Oscar.Data.Vec
ope... |
gfx/pokemon/qwilfish/anim_idle.asm | Dev727/ancientplatinum | 28 | 24129 | setrepeat 2
frame 0, 13
frame 1, 13
dorepeat 1
endanim
|
Categories/Functor/Coalgebra.agda | copumpkin/categories | 98 | 8782 | <reponame>copumpkin/categories<gh_stars>10-100
module Categories.Functor.Coalgebra where
|
programs/oeis/286/A286665.asm | neoneye/loda | 22 | 24794 | <gh_stars>10-100
; A286665: {0->01}-transform of the Pell word, A171588.
; 0,1,0,1,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,1,0,1,0,1,0,1,1,0
add $0,1
seq $0,159684 ; Sturmian word: limi... |
Server/server.adb | albinjal/Ada_Project | 4 | 7773 | <reponame>albinjal/Ada_Project<gh_stars>1-10
with Ada.Command_Line; use Ada.Command_Line;
with Ada.Exceptions; use Ada.Exceptions;
with Ada.Text_IO; use Ada.Text_IO;
with TJa.Sockets; use TJa.Sockets;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with Server_Assets_Package; use Server_Asset... |
programs/oeis/213/A213245.asm | neoneye/loda | 22 | 26948 | ; A213245: Number of nonzero elements in GF(2^n) that are 7th powers.
; 1,3,1,15,31,9,127,255,73,1023,2047,585,8191,16383,4681,65535,131071,37449,524287,1048575,299593,4194303,8388607,2396745,33554431,67108863,19173961,268435455,536870911,153391689,2147483647,4294967295,1227133513,17179869183,34359738367,9817068105,137... |
src/grammars/Pre.g4 | CorvusPrudens/Cp | 0 | 47 | grammar Pre;
parse : anything* EOF;
anything : directive | anything_else;
directive : include_
| if_
| ifdef_
| ifndef_
| define_
| error_
;
include_ : INCLUDE STRING NEWLINE;
if_ : IF condition... |
programs/oeis/338/A338041.asm | neoneye/loda | 22 | 80940 | <reponame>neoneye/loda
; A338041: Draw n rays from each of two distinct points in the plane; a(n) is the number of regions thus created. See Comments for details.
; 1,2,7,6,15,12,25,20,37,30,51,42,67,56,85,72,105,90,127,110,151,132,177,156,205,182,235,210,267,240,301,272,337,306,375,342,415,380,457,420,501,462,547,506,... |
oeis/345/A345496.asm | neoneye/loda-programs | 11 | 82696 | ; A345496: Numbers that are the sum of eight squares in nine or more ways.
; Submitted by <NAME>
; 62,64,67,70,71,73,74,76,77,78,79,80,81,82,83,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132... |
agda-stdlib/src/Algebra/Morphism/RingMonomorphism.agda | DreamLinuxer/popl21-artifact | 5 | 1368 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Consequences of a monomorphism between ring-like structures
------------------------------------------------------------------------
-- See Data.Nat.Binary.Properties for examples of how this and similar
-- modu... |
oeis/037/A037564.asm | neoneye/loda-programs | 11 | 105215 | ; A037564: Base 7 digits are, in order, the first n terms of the periodic sequence with initial period 2,2,1.
; Submitted by <NAME>(s4)
; 2,16,113,793,5553,38872,272106,1904744,13333209,93332465,653327257,4573290800,32013035602,224091249216,1568638744513,10980471211593,76863298481153,538043089368072,3766301625576506
a... |
unittests/ASM/REPNE/F2_E6_1.asm | cobalt2727/FEX | 628 | 178505 | <filename>unittests/ASM/REPNE/F2_E6_1.asm<gh_stars>100-1000
%ifdef CONFIG
{
"RegData": {
"XMM0": ["0x0000004600000053", "0x0000000000000000"],
"XMM1": ["0x0000000d00000029", "0x0000000000000000"],
"XMM2": ["0x0000001600000005", "0x0000000000000000"],
"XMM3": ["0x000000050000000a", "0x0000000000000000"... |
programs/oeis/267/A267783.asm | karttu/loda | 0 | 23026 | ; A267783: Number of n X 3 0..1 arrays with every repeated value in every row greater than or equal to, and in every column greater than, the previous repeated value.
; 8,64,216,729,1728,4096,8000,15625,27000,46656,74088,117649,175616,262144,373248,531441,729000,1000000,1331000,1771561,2299968,2985984,3796416,4826809,6... |
programs/oeis/289/A289139.asm | jmorken/loda | 1 | 97179 | ; A289139: a(n) is the number of odd integers divisible by 7 in ]4*(n-1)^2, 4*n^2[.
; 0,0,1,2,2,2,3,4,4,5,6,6,6,7,8,8,9,10,10,10,11,12,12,13,14,14,14,15,16,16,17,18,18,18,19,20,20,21,22,22,22,23,24,24,25,26,26,26,27,28,28,29,30,30,30,31,32,32,33,34,34,34,35,36,36,37,38,38,38,39,40,40
mul $0,2
add $0,4
mov $5,4
lpb $0
... |
oeis/121/A121586.asm | neoneye/loda-programs | 11 | 16230 | ; A121586: Number of columns in all deco polyominoes of height n. A deco polyomino is a directed column-convex polyomino in which the height, measured along the diagonal, is attained only in the last column.
; Submitted by <NAME>(w2)
; 1,1,3,13,70,446,3276,27252,253296,2602224,29288160,358457760,4740577920,67375532160,... |
libmikeos/src.os/os_print_4hex.asm | mynameispyo/InpyoOS | 0 | 18405 | <reponame>mynameispyo/InpyoOS
; @@@ void mikeos_print_4hex(unsigned int value);
%include "os_vector.inc"
section .text
use16
global _mikeos_print_4hex
_mikeos_print_4hex:
mov bx, sp
mov ax, [ss:bx + 2]
mov bx, os_print_4hex
call bx
ret
|
Library/Spell/ICS/spellStrings.asm | steakknife/pcgeos | 504 | 246530 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1991 -- All Rights Reserved
PROJECT: Spell
FILE: spellStrings.asm
AUTHOR: <NAME>, Apr 18, 1991
REVISION HISTORY:
Name Date Description
---- ---- -----------
atw 4/18/91 Initial revisi... |
src/user_interface/win.asm | lawrimon/SnakeV | 2 | 103283 | <reponame>lawrimon/SnakeV<gh_stars>1-10
.text
win:
addi sp, sp , -12
sw s0, 0(sp)
sw t0, 4(sp)
sw t1, 8(sp)
la a1, bmp_win # pointer to string of filename; necessary for load_bmp
jal load_bmp # loads the win bitmap
li s0, KEYBOARD_ADDRESS
win.loop: # endless loop for key stroke detection
lw t0, (s0) # bool key... |
language/alloy/TottallyFunction.als | pogin503/vbautil | 0 | 2648 | sig TottallyFunction {
f: one B -- oneは記述しなくても良い.defaultがone.
}
sig B{}
|
source/numerics/a-nllcef.ads | ytomino/drake | 33 | 24345 | <filename>source/numerics/a-nllcef.ads
pragma License (Unrestricted);
with Ada.Numerics.Generic_Complex_Elementary_Functions;
with Ada.Numerics.Long_Long_Complex_Types;
package Ada.Numerics.Long_Long_Complex_Elementary_Functions is
new Generic_Complex_Elementary_Functions (Long_Long_Complex_Types);
pragma Pure (Ada.... |
tests/kat/test_vectors.ads | damaki/libkeccak | 26 | 22553 | -------------------------------------------------------------------------------
-- Copyright (c) 2019, <NAME>
-- 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... |
third_party/antlr_grammars_v4/icalendar/ICalendar.g4 | mikhan808/rsyntaxtextarea-antlr4-extension | 4 | 4430 | /*
* The MIT License (MIT)
*
* Copyright (c) 2013-2014 by <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 u... |
programs/oeis/125/A125169.asm | karttu/loda | 1 | 176802 | ; A125169: a(n) = 16*n + 15.
; 15,31,47,63,79,95,111,127,143,159,175,191,207,223,239,255,271,287,303,319,335,351,367,383,399,415,431,447,463,479,495,511,527,543,559,575,591,607,623,639,655,671,687,703,719,735,751,767,783,799,815,831,847,863,879,895,911,927,943,959,975,991,1007,1023,1039,1055,1071,1087,1103,1119,1135,11... |
extern/gnat_sdl/gnat_sdl2/src/sdl_hints_h.ads | AdaCore/training_material | 15 | 6457 | pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with Interfaces.C.Strings;
with SDL_stdinc_h;
with System;
package SDL_hints_h is
SDL_HINT_FRAMEBUFFER_ACCELERATION : aliased constant String := "SDL_FRAMEBUFFER_ACCELERATION" & ASCII.NUL; -- ..\SDL2_tmp\SDL_hints.h:65
SDL_HINT... |
src/shaders/h264/mc/AllAVC.asm | tizenorg/platform.upstream.libva-intel-driver | 0 | 164185 | /*
* All HWMC kernels
* Copyright © <2010>, Intel Corporation.
*
* This program is licensed under the terms and conditions of the
* Eclipse Public License (EPL), version 1.0. The full text of the EPL is at
* http://www.opensource.org/licenses/eclipse-1.0.php.
*
*/
// Kernel name: AllAVC.asm
//
//... |
programs/oeis/273/A273652.asm | karttu/loda | 1 | 99324 | ; A273652: Number of forests of labeled rooted trees of height at most 1, with n labels, two of which are used for root nodes and any root may contain >= 1 labels.
; 2,9,30,90,255,693,1820,4644,11565,28215,67650,159822,372827,860265,1966200,4456584,10027161,22413483,49807550,110100690,242221287,530579709,1157628180,251... |
oeis/007/A007931.asm | neoneye/loda-programs | 11 | 25607 | ; A007931: Numbers that contain only 1's and 2's. Nonempty binary strings of length n in lexicographic order.
; Submitted by <NAME>
; 1,2,11,12,21,22,111,112,121,122,211,212,221,222,1111,1112,1121,1122,1211,1212,1221,1222,2111,2112,2121,2122,2211,2212,2221,2222,11111,11112,11121,11122,11211,11212,11221,11222,12111,1211... |
Data/List/SizeOrdering.agda | Lolirofle/stuff-in-agda | 6 | 7870 | module Data.List.SizeOrdering where
open import Data.List
|
bb-runtimes/examples/monitor/83xx/mpc83xx.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 19922 | ------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- --
-- ... |
gfx/pokemon/dragonite/anim.asm | Dev727/ancientplatinum | 28 | 101983 | <filename>gfx/pokemon/dragonite/anim.asm
frame 1, 12
frame 2, 12
setrepeat 2
frame 3, 12
frame 4, 12
dorepeat 3
frame 1, 12
setrepeat 3
frame 0, 12
frame 1, 12
dorepeat 8
endanim
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/raise_from_pure.ads | best08618/asylo | 7 | 6821 | <reponame>best08618/asylo
package raise_from_pure is
pragma Pure;
function Raise_CE_If_0 (P : Integer) return Integer;
end;
|
src/Interval.agda | nad/equality | 3 | 3291 | <reponame>nad/equality<filename>src/Interval.agda
------------------------------------------------------------------------
-- The "interval"
------------------------------------------------------------------------
{-# OPTIONS --erased-cubical --safe #-}
-- Partly based on the HoTT book.
-- The module is parametrised... |
oeis/025/A025768.asm | neoneye/loda-programs | 11 | 22823 | ; A025768: Expansion of 1/((1-x)*(1-x^3)*(1-x^7)).
; Submitted by <NAME>
; 1,1,1,2,2,2,3,4,4,5,6,6,7,8,9,10,11,12,13,14,15,17,18,19,21,22,23,25,27,28,30,32,33,35,37,39,41,43,45,47,49,51,54,56,58,61,63,65,68,71,73,76,79,81,84,87,90,93,96
mov $1,$0
add $1,11
mul $1,$0
div $1,42
mov $0,$1
add $0,1
|
thirdparty/adasdl/thin/adasdl/AdaSDL_framebuff/sdltests/testcdrom.adb | Lucretia/old_nehe_ada95 | 0 | 14510 |
-- ----------------------------------------------------------------- --
-- --
-- This is free software; you can redistribute it and/or --
-- modify it under the terms of the GNU General Public --
-- License as published by the ... |
Kernel32/src/ModeSwitch.asm | do-bbi/bbi-os | 0 | 95742 | <reponame>do-bbi/bbi-os<filename>Kernel32/src/ModeSwitch.asm
; 이 코드는 32bit 모드로 동작
[BITS 32]
; C Code에서 호출할 수 있도록 Export
global kReadCPUID, kSwitchAndExecute64bitKernel
SECTION .text
; CPUID를 반환하는 함수
; Function Parameter(DWORD eax_val, DWORD *pEAX, DWORD *pEBX, DWORD *pECX, DWORD *pEDX)
kReadCPUID:
pus... |
test/Fail/Issue5317.agda | cagix/agda | 1,989 | 16441 | open import Agda.Builtin.List
open import Agda.Builtin.Reflection
open import Agda.Builtin.Unit
macro
m : Term → TC ⊤
m _ =
bindTC (quoteTC (Set → @0 Set → Set)) λ t →
typeError (termErr t ∷ [])
_ : Set
_ = m
|
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_21829_380.asm | ljhsiun2/medusa | 9 | 6625 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r14
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x15981, %r11
nop
nop
nop
and %rcx, %rcx
mov (%r11), %r14d
cmp %r12, %r12
lea addresses_D_ht+0x1d021, %rsi
lea addresses_A_ht+0x1041, %rdi
nop
sub $21491, %r13
mov $12, %rcx
re... |
testutil/aunit/util-tests-reporter.ads | Letractively/ada-util | 60 | 18676 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
Library/Chart/CObject/cobjectEvent.asm | steakknife/pcgeos | 504 | 22552 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: cobjectEvent.asm
AUTHOR: <NAME>
METHODS:
Name Description
---- -----------
FUNCTIONS:
Scope Name Description
----- ---- ---------... |
programs/oeis/236/A236770.asm | karttu/loda | 1 | 13173 | <filename>programs/oeis/236/A236770.asm
; A236770: a(n) = n*(n + 1)*(3*n^2 + 3*n - 2)/8.
; 0,1,12,51,145,330,651,1162,1926,3015,4510,6501,9087,12376,16485,21540,27676,35037,43776,54055,66045,79926,95887,114126,134850,158275,184626,214137,247051,283620,324105,368776,417912,471801,530740,595035,665001,740962,823251,91221... |
target/analysis/Func004028A4.asm | katahiromz/DecodersTatami | 3 | 18752 | <filename>target/analysis/Func004028A4.asm
proc imp.msvcrt.dll!fwrite Label_004028A4
attrs [[jumponly]]
# call_from : 00401C20
Label_004028A4:
004028A4: FF 25 E8 61 40 00 : jmp dword [0x4061e8]
end proc
|
oeis/319/A319949.asm | neoneye/loda-programs | 11 | 82191 | ; A319949: a(n) = Product_{i=1..n} floor(4*i/3).
; Submitted by <NAME>
; 1,2,8,40,240,1920,17280,172800,2073600,26956800,377395200,6038323200,102651494400,1847726899200,36954537984000,776045297664000,17072996548608000,409751917166592000,10243797929164800000,266338746158284800000
mov $1,1
mov $2,1
lpb $0
mov $3,$2
... |
programs/oeis/228/A228105.asm | karttu/loda | 1 | 102365 | ; A228105: a(n) = 432*n^6.
; 0,432,27648,314928,1769472,6750000,20155392,50824368,113246208,229582512,432000000,765314352,1289945088,2085181488,3252759552,4920750000,7247757312,10427429808,14693280768,20323820592,27648000000,37050964272,48980118528,63951504048,82556485632,105468750000,133451615232,167365651248,20817661... |
Appl/Test/KernelErrorTest/kerr.asm | steakknife/pcgeos | 504 | 246779 | <reponame>steakknife/pcgeos<gh_stars>100-1000
COMMENT @----------------------------------------------------------------------
Copyright (c) Berkeley Softworks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: kerr
FILE: app.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony ... |
wayland_ada_scanner/src/aida/aida-deepend-xml_dom_parser.ads | onox/wayland-ada | 5 | 29926 | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2018 - 2019 <NAME> <<EMAIL>>
--
-- 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 of the License at
--
-- http://www.apache.org/licenses/LICE... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35503p.ada | best08618/asylo | 7 | 23221 | -- C35503P.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
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
libsrc/_DEVELOPMENT/adt/wv_stack/c/sdcc_iy/wv_stack_capacity.asm | jpoikela/z88dk | 640 | 169620 | <gh_stars>100-1000
; size_t wv_stack_capacity(wv_stack_t *s)
SECTION code_clib
SECTION code_adt_wv_stack
PUBLIC _wv_stack_capacity
EXTERN _w_vector_capacity
defc _wv_stack_capacity = _w_vector_capacity
|
common/stm32gd.adb | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 7873 | with STM32_SVD; use STM32_SVD;
with STM32_SVD.SCB; use STM32_SVD.SCB;
with System.Machine_Code; use System.Machine_Code;
package body STM32GD is
procedure Wait_For_Interrupt is
begin
Asm ("WFI", Volatile => True);
end Wait_For_Interrupt;
procedure Clear_Event is
begin
Asm ("SEV", Volatile ... |
Regvalue/changeRegs_ia32.asm | pkuwangh/itracer | 0 | 1680 | <filename>Regvalue/changeRegs_ia32.asm
; Copyright 2002-2019 Intel Corporation.
;
; This software is provided to you as Sample Source Code as defined in the accompanying
; End User License Agreement for the Intel(R) Software Development Products ("Agreement")
; section 1.L.
;
; This software and the related documents... |
llvm-gcc-4.2-2.9/gcc/ada/s-restri.adb | vidkidz/crossbridge | 1 | 3938 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
test/Compiler/simple/FFI.agda | shlevy/agda | 1,989 | 14911 | <reponame>shlevy/agda
module FFI where
open import Common.Prelude
_+'_ : Nat → Nat → Nat
zero +' y = y
suc x +' y = suc (x +' y)
{-# COMPILE GHC _+'_ = (+) :: Integer -> Integer -> Integer #-}
-- on-purpose buggy haskell implementation!
_+''_ : Nat → Nat → Nat
zero +'' y = y
suc x +'' y = suc (x +'' y)
{-# COMPILE ... |
theorems/groups/ToOmega.agda | timjb/HoTT-Agda | 0 | 3529 | {-# OPTIONS --without-K --rewriting #-}
open import HoTT
-- TODO Is it possible to have a more generic [→-group] construction?
module groups.ToOmega where
⊙→Ω-group-structure : ∀ {i j} (X : Ptd i) (Y : Ptd j)
→ GroupStructure (X ⊙→ ⊙Ω Y)
⊙→Ω-group-structure X Y = record {M} where
module M where
ident : (X ⊙... |
source/Cosmos.Debug.DebugStub/Serial.asm | ERamaM/Cosmos | 0 | 93518 | <reponame>ERamaM/Cosmos<filename>source/Cosmos.Debug.DebugStub/Serial.asm
; Generated at 6/14/2016 12:11:29 PM
%ifndef Exclude_IOPort_Based_SerialInit
DebugStub_InitSerial:
mov word DX, 0x1
mov byte AL, 0x0
Call DebugStub_WriteRegister
mov word DX, 0x3
mov byte AL, 0x80
Call DebugStub_WriteRegister
mov w... |
oeis/339/A339358.asm | neoneye/loda-programs | 11 | 23441 | <filename>oeis/339/A339358.asm
; A339358: Maximum number of copies of a 1234567 permutation pattern in an alternating (or zig-zag) permutation of length n + 11.
; Submitted by <NAME>(w3)
; 32,64,320,576,1696,2816,6400,9984,19392,28800,50304,71808,116160,160512,244992,329472,480480,631488,887744,1144000,1560416,1976832,... |
programs/oeis/005/A005126.asm | karttu/loda | 1 | 9264 | ; A005126: a(n) = 2^n + n + 1.
; 2,4,7,12,21,38,71,136,265,522,1035,2060,4109,8206,16399,32784,65553,131090,262163,524308,1048597,2097174,4194327,8388632,16777241,33554458,67108891,134217756,268435485,536870942,1073741855,2147483680,4294967329,8589934626,17179869219,34359738404,68719476773,137438953510,274877906983,549... |
projects/07/MemoryAccess/StaticTest/StaticTest.asm | Liquidibrium/nand2tetris | 0 | 246683 | //push const 111
@111
D=A
@SP
A=M
M=D
@SP
M=M+1
//push const 333
@333
D=A
@SP
A=M
M=D
@SP
M=M+1
//push const 888
@888
D=A
@SP
A=M
M=D
@SP
M=M+1
//pop static 8
@StaticTest.8
D=A
@R13
M=D
@SP
AM=M-1
D=M
@R13
A=M
M=D
//pop static 3
@StaticTest.3
D=A
@R13
M=D
@SP
AM=M-1
D=M
@R13
A=M
M=D
//pop static 1
@StaticTest.1
D=A
@R1... |
tools/scitools/conf/understand/ada/ada95/a-sequio.ads | brucegua/moocos | 1 | 11129 | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT RUNTIME COMPONENTS --
-- ... |
libsrc/_DEVELOPMENT/adt/ba_priority_queue/z80/asm_ba_priority_queue_empty.asm | jpoikela/z88dk | 640 | 100227 | <gh_stars>100-1000
; ===============================================================
; Mar 2014
; ===============================================================
;
; int ba_priority_queue_empty(ba_priority_queue_t *q)
;
; Return non-zero if the queue is empty.
;
; =====================================================... |
source/league/ucd/matreshka-internals-unicode-ucd-core_000a.ads | svn2github/matreshka | 24 | 5882 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
TypeTheory/Nat/AnotherMono/Structure.agda | rei1024/agda-misc | 3 | 9120 | <gh_stars>1-10
module TypeTheory.Nat.AnotherMono.Structure where
open import Level renaming (zero to lzero; suc to lsuc)
open import Data.Empty using (⊥)
open import Data.Product using (Σ; _×_; _,_)
open import Relation.Binary using (Rel)
open import Relation.Binary.PropositionalEquality
open import Relation.Nullary u... |
alloy4fun_models/trashltl/models/17/buWuMowkmHK3gXPSp.als | Kaixi26/org.alloytools.alloy | 0 | 4892 | open main
pred idbuWuMowkmHK3gXPSp_prop18 {
all p:Protected | p not in Protected' implies p in Trash'
}
pred __repair { idbuWuMowkmHK3gXPSp_prop18 }
check __repair { idbuWuMowkmHK3gXPSp_prop18 <=> prop18o } |
tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/iterate_range.adb | ouankou/rose | 488 | 17099 | with Ada.Text_IO;
-- source https://en.wikibooks.org/wiki/Ada_Programming/Control
procedure Iterate_Range is
type Range_Type is range -5 .. 10;
package T_IO renames Ada.Text_IO;
package I_IO is new Ada.Text_IO.Integer_IO (Range_Type);
begin
for A in Range_Type loop
I_IO.Put (Item => A,
... |
src/Trees.agda | ice1k/Theorems | 1 | 11606 | <filename>src/Trees.agda
module Trees where
open import Data.Unit using (⊤)
data BinTree {a} (A : Set a) : Set a where
Empty : A → BinTree A
Node : A → BinTree A → BinTree A → BinTree A
BareBinTree : Set
BareBinTree = BinTree ⊤
|
src/intel/tools/tests/gen7.5/f16to32.asm | SoftReaper/Mesa-Renoir-deb | 0 | 170935 | f16to32(8) g124<1>F g2<16,8,2>UW { align1 1Q };
f16to32(16) g120<1>F g10<16,8,2>UW { align1 1H };
|
oeis/164/A164055.asm | neoneye/loda-programs | 11 | 246579 | ; A164055: Triangular numbers that are one plus a perfect square.
; Submitted by <NAME>(m4)
; 1,10,325,11026,374545,12723490,432224101,14682895930,498786237505,16944049179226,575598885856165,19553418069930370,664240615491776401,22564627508650467250,766533094678624110085,26039560591564569275626,884578527018516731261185,... |
applescript/notifyme.applescript | mistadikay/dotfiles | 2 | 2133 | #!/usr/bin/env osascript
-- see http://frantic.im/notify-on-completion
on run argv
tell application "System Events"
set frontApp to name of first application process whose frontmost is true
if frontApp is not "iTerm2" then
set notifTitle to item 1 of argv
set notifBody to "succeded"
set err... |
Appl/LOL/lol.asm | steakknife/pcgeos | 504 | 87463 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT:
MODULE:
FILE: lol.asm
AUTHOR: <NAME>, Dec 10, 1992
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date De... |
src/numerics-sparse_matrices-eye.adb | sciencylab/lagrangian-solver | 0 | 11209 | separate (Numerics.Sparse_Matrices)
function Eye (N : in Pos) return Sparse_Matrix is
Result : Sparse_Matrix;
use Ada.Containers;
begin
Result.Format := CSC;
Result.N_Row := N;
Result.N_Col := N;
Result.X := RV_Package.To_Vector (1.0, Count_Type (N));
Result.I.Reserve_Capacity (Count_Type (N));... |
Transynther/x86/_processed/NONE/_st_/i7-7700_9_0xca.log_3057_728.asm | ljhsiun2/medusa | 9 | 92156 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0xee4, %rsi
lea addresses_D_ht+0x15fa4, %rdi
clflush (%rdi)
nop
nop
nop
nop
nop
mfence
mov $43, %rcx
rep movsb
nop
nop
nop
nop
nop
inc %r11
lea addresses_D_ht+0x19724, %rsi
sub... |
assignment-6/kill-all-processes.nasm | securitychops/securitytube-slae32 | 6 | 101319 | ; Student ID : SLAE-1250
; Student Name : Jonathan "Chops" Crosby
; Assignment 6.1 : polymorphic kill all processes for Linux/x86 Assembly
; File Name : kill-all-processes.nasm
; Shell Storm : http://shell-storm.org/shellcode/files/shellcode-212.php
global _start
section .text
_start:
; kill(-1, SIGKI... |
mat/src/gtk/mat-consoles-gtkmat.adb | stcarrez/mat | 7 | 5597 | <gh_stars>1-10
-----------------------------------------------------------------------
-- mat-consoles-text - Text console interface
-- Copyright (C) 2014 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance wi... |
test/Fail/Issue1963MagicWith.agda | cruhland/agda | 1,989 | 14651 | -- Andreas, 2016-07-21 adapted from MagicWith.agda
-- Testing correct printing of postfix projections.
{-# OPTIONS --postfix-projections #-}
-- {-# OPTIONS -v tc.cc:60 #-}
-- {-# OPTIONS -v tc.conv.elim:50 #-}
open import Common.Product
open import Common.Nat
record True : Set where
data False : Set where
IsZer... |
src/ada/src/afrl-impact-angledareasearchtask-spark_boundary.ads | pat-rogers/OpenUxAS | 0 | 14014 | package afrl.impact.AngledAreaSearchTask.SPARK_Boundary with SPARK_Mode is
pragma Annotate (GNATprove, Terminating, SPARK_Boundary);
-- This wrapper is only introduced for termination
function Get_SearchAreaID (X : AngledAreaSearchTask) return Int64;
end afrl.impact.AngledAreaSearchTask.SPARK_Boundary;
|
HdGfxLib/libgfxinit/common/hw-gfx-edid.adb | jam3st/edk2 | 1 | 12871 | --
-- Copyright (C) 2016 secunet Security Networks AG
--
-- 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 2 of the License, or
-- (at your option) any later version.
--
-- This ... |
libgosupport/context.asm | photoszzt/libhermit-rs | 0 | 87163 |
; Required for Go applications
global getcontext
align 64
getcontext:
cli
; save general purpose regsiters
mov QWORD [rdi + 0x00], r15
mov QWORD [rdi + 0x08], r14
mov QWORD [rdi + 0x10], r13
mov QWORD [rdi + 0x18], r12
mov QWORD [rdi + 0x20], r9
mov QWORD [rdi + 0x28], r8
mov QWORD ... |
experiments/realbugs/arr6.als | kaiyuanw/AlloyFLCore | 1 | 1691 | <reponame>kaiyuanw/AlloyFLCore
sig Element {}
one sig Array {
// Maps indexes to elements of Element.
i2e: Int -> Element,
// Represents the length of the array.
length: Int
}
// Assume all objects are in the array.
fact Reachable {
Element = Array.i2e[Int]
}
// Part (a)
fact InBound {
// All indexes sho... |
Applications/Finder/label index/set label index/set label index of (path to me) to 0.applescript | looking-for-a-job/applescript-examples | 1 | 3189 | <reponame>looking-for-a-job/applescript-examples
#!/usr/bin/osascript
tell application "Finder"
set label index of (path to me) to 0
end tell |
_tests/trconvert/antlr3/FreeMPS.g4 | SKalt/Domemtech.Trash | 16 | 256 | <gh_stars>10-100
grammar FreeMPS;
options {
language=CSharp2;
}
@lexer::members {
override
public void EmitErrorMessage(String s) {
throw new Exception(s);
}
}
@rulecatch{
catch(RecognitionException e){
throw e;
}
}
/*-----------------------------------------------------------------... |
Driver/Power/APMCommon/apmVerify.asm | steakknife/pcgeos | 504 | 80116 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1994 -- All Rights Reserved
PROJECT:
MODULE:
FILE: apmVerify.asm
AUTHOR: <NAME>, Aug 1, 1994
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description
-... |
libsrc/fcntl/spectrum/zxbasdrv/zx_hardcopy.asm | meesokim/z88dk | 0 | 2027 | <filename>libsrc/fcntl/spectrum/zxbasdrv/zx_hardcopy.asm
;
; Just enter BASIC at the "Hardcopy" line
;
; Stefano - 12/7/2006
;
; void zx_hardcopy()
;
; $Id: zx_hardcopy.asm,v 1.4 2015/01/19 01:32:43 pauloscustodio Exp $
PUBLIC zx_hardcopy
EXTERN zx_goto
.zx_hardcopy
ld hl,7800 ; BASIC routine for "hardcopy"
j... |
cam-core/src/main/antlr/Permission.g4 | yaohuiwu/CAM | 1 | 5279 | <reponame>yaohuiwu/CAM
/*
Permission Expression Language
Description: A recognizer for permission of authorization, which compatable with hql or sql grammar.
Version : 1.0
Author: <NAME>
Examples:
1. example
create : User : org_id = 100 and ( age > 18 or height > 1.75) and name = '<NAME>'
2. 查看子孙机构的所有文档
VIEW ... |
llvm-gcc-4.2-2.9/gcc/ada/exp_aggr.adb | vidkidz/crossbridge | 1 | 6257 | <filename>llvm-gcc-4.2-2.9/gcc/ada/exp_aggr.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
uuu/src/cells/ics/helium/helium.asm | ekscrypto/Unununium | 7 | 240103 | <filename>uuu/src/cells/ics/helium/helium.asm
;; $Header: /cvsroot/uuu/uuu/src/cells/ics/helium/helium.asm,v 1.6 2001/12/09 17:08:07 instinc Exp $
;;
;; Helium - ICS (InterCommunication System)
;; Copyright (C) 2001 - <NAME>
;; Distributed under the BSD License; see file "license" for details
[bits 32]
; ... |
tools/src/gid/gid-decoding_gif.adb | stcarrez/hestia | 2 | 2062 | <gh_stars>1-10
-- GIF Decoder by <NAME>
--
-- A GIF stream is made of several "blocks".
-- The image itself is contained in an Image Descriptor block.
--
with GID.Buffering, GID.Color_tables;
with Ada.Exceptions, Ada.Text_IO;
package body GID.Decoding_GIF is
----------
-- Load --
----------
... |
Ada/semaphores.adb | UdayanSinha/Code_Blocks | 3 | 15689 | -- Package: Semaphores
with Ada.Text_IO;
use Ada.Text_IO;
package body Semaphores is
protected body CountingSemaphore is
entry Wait -- SemPend()
when count>0 is --wait for keys
begin
count:=count-1;
end Wait;
entry Signal -- SemPost()
... |
Task/Leap-year/AppleScript/leap-year.applescript | djgoku/RosettaCodeData | 0 | 1161 | on leap_year(y)
if (y mod 100 is equal to 0) then
return (y mod 400 is equal to 0)
end if
return (y mod 4 is equal to 0)
end leap_year
leap_year(1900)
|
Task/Four-bit-adder/Ada/four-bit-adder-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 14538 | <filename>Task/Four-bit-adder/Ada/four-bit-adder-2.ada
with Ada.Text_IO; use Ada.Text_IO;
procedure Test_4_Bit_Adder is
-- The definitions from above
function Image (Bit : Boolean) return Character is
begin
if Bit then
return '1';
else
return '0';
end if;
end Image;
... |
oeis/174/A174395.asm | neoneye/loda-programs | 11 | 99030 | ; A174395: The number of different 4-colorings for the vertices of all triangulated planar polygons on a base with n vertices if the colors of two adjacent boundary vertices are fixed.
; 0,2,10,40,140,462,1470,4580,14080,42922,130130,393120,1184820,3565382,10717990,32197660,96680360,290215842,870997050,2613690200,78424... |
archive/agda-1/Foundation/Bottom.agda | m0davis/oscar | 0 | 8806 | <filename>archive/agda-1/Foundation/Bottom.agda
module Foundation.Bottom where
open import Foundation.Primitive
record IsBottom {ℓ-⊥} (⊥ : Set ℓ-⊥) ℓ-elim : ℞ ⟰ ℓ-elim ⊔ ℓ-⊥ where
field
⊥-elim : ⊥ → {A : Set ℓ-elim} → A
open IsBottom ⦃ … ⦄ public
record Bottom ℓ-⊥ ℓ-elim : ℞₁ ℓ-elim ⊔ ℓ-⊥ where
field
⊥... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.