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 |
|---|---|---|---|---|
programs/oeis/147/A147845.asm | karttu/loda | 1 | 25353 | ; A147845: Odd positive integers a(n) such that for every odd integer m>=7 there exists a unique representation of the form m=a(p)+2a(q)+4a(r)
; 1,3,17,19,129,131,145,147,1025,1027,1041,1043,1153,1155,1169,1171,8193,8195,8209,8211,8321,8323,8337,8339,9217,9219,9233,9235,9345,9347,9361,9363,65537,65539,65553,65555
add ... |
PRU_SPI.asm | kiorpesc/BBB-PRU-SPI | 1 | 86928 | // on am335x, this MUST be run on PRU1
// output pins should be set to mode 0x05 (in proper Command Register location in CortexA8)
// input pins should be set to mode 0x36 (input enabled, pullup enabled, mode 6)
.origin 0
.entrypoint _main
#include "PRU_SPI.hp"
#include "config.hp"
#define DEBUG
// entry point, se... |
javascript/safari-driver/reinstall.scpt | tobli/selenium | 12 | 1326 | <reponame>tobli/selenium<filename>javascript/safari-driver/reinstall.scpt
#!/usr/bin/osascript
(*
Copyright 2012 Software Freedom Conservancy. All Rights Reserved.
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 t... |
nasm/strings/findsubs.asm | codingneverends/assembly | 0 | 17288 | <reponame>codingneverends/assembly<gh_stars>0
;Counting no of substrings
section .data
newline :db 10
space :db ' '
msg1 : db "Enter main String : "
size1 : equ $-msg1
msg1_ : db "Enter sub String : "
size1_ : equ $-msg1_
msg2 : db "No of presence sub string prent in main string is : "
... |
src/minic.g4 | ajainuary/minic-compiler | 1 | 754 | <gh_stars>1-10
grammar minic;
prog: program + EOF
;
/* Arrow */
arrowExpr : expr #arrowPass
| expr '->' expr #binaryArrow
;
/* Unary + or - */
unaryExpr: OP = ('+'|'-'|'&'|'*'|'!') arrowExpr #unaryOperate
| arrowExpr #unaryPass
;
/* Group all the multiplications and divisions */
multiplicativeExpr: una... |
grammars/Common.g4 | SeedV/SeedLang | 6 | 7436 | /**
* Copyright 2021-2022 The SeedV Lab.
*
* 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/LICENSE-2.0
*
* Unless required by applicable law or a... |
src/NF/Sum.agda | yanok/normalize-via-instances | 0 | 7828 | <reponame>yanok/normalize-via-instances
module NF.Sum where
open import NF
open import Data.Sum
open import Relation.Binary.PropositionalEquality
instance
nfInj₁ : {A B : Set}{a : A}{{nfa : NF a}} -> NF {A ⊎ B} (inj₁ a)
Sing.unpack (NF.!! (nfInj₁ {a = a})) = inj₁ (nf a)
Sing.eq (NF.!! (nfInj₁ {{nfa}})) rewrite ... |
alloy4fun_models/trashltl/models/5/bTqLGwhq7ppy5SMsv.als | Kaixi26/org.alloytools.alloy | 0 | 2812 | open main
pred idbTqLGwhq7ppy5SMsv_prop6 {
all f : File-Protected | f not in Trash and after f in Trash => always f in Trash
}
pred __repair { idbTqLGwhq7ppy5SMsv_prop6 }
check __repair { idbTqLGwhq7ppy5SMsv_prop6 <=> prop6o } |
Script-Debugger/Toggle-Minimal-View.applescript | boisy/AppleScripts | 116 | 672 | <gh_stars>100-1000
tell application "Script Debugger"
tell front document
if toolbar visible then
set event log visible to false
set toolbar visible to false
set tab display mode to none
else
set event log visible to true
set toolbar visible to true
set tab display mode to result and variables ta... |
Scripts Pack Source Items/Scripts Pack/Miscellaneous/Testing/Multiple Display Workspaces Animation (10.7).applescript | Phorofor/ScriptsPack.macOS | 1 | 2018 | <reponame>Phorofor/ScriptsPack.macOS<filename>Scripts Pack Source Items/Scripts Pack/Miscellaneous/Testing/Multiple Display Workspaces Animation (10.7).applescript
# Scripts Pack - Tweak various preference variables in macOS
# <Phorofor, https://github.com/Phorofor/>
# You should have received a copy of the GNU Genera... |
src/tools/Dependency_Graph_Extractor/src/extraction-file_system.adb | selroc/Renaissance-Ada | 1 | 18966 | <reponame>selroc/Renaissance-Ada
with Extraction.Node_Edge_Types;
with Ada.Text_IO;
package body Extraction.File_System is
use type VFS.File_Array_Access;
use type VFS.Filesystem_String;
function All_Relevant_Files (Directory : VFS.Virtual_File) return VFS.File_Array_Access
with Pre => Directory.Is_Dir... |
test/sigsub.asm | kspalaiologos/asmbf | 67 | 11941 |
mov r1, $(signed(-3))
mov r2, $(signed(-2))
s06 r1, r2
eq r1, 3
add r1, .0
out r1
mov r1, $(signed(-3))
mov r2, $(signed(2))
s06 r1, r2
eq r1, $(0xB)
add r1, .0
out r1
mov r1, $(signed(3))
mov r2, $(signed(-2))
s06 r1, r2
eq r1, $(0xA)
add r1, .0
out r1
mov r1, $(signed(3))
mov r2, $(signed(2))
s06 r1, r2
eq r1... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_2014.asm | ljhsiun2/medusa | 9 | 174320 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1a0d3, %rsi
lea addresses_WC_ht+0xe0d3, %rdi
nop
nop
nop
and %r14, %r14
mov $75, %rcx
rep movsw
nop
nop
nop
nop
xor $62209, %rdx
lea addresses_UC_ht+0x124d3, %r8
nop
cmp %r10,... |
Library/Text/UI/uiCharFGColor.asm | steakknife/pcgeos | 504 | 5055 | COMMENT @-----------------------------------------------------------------------
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Text Library
FILE: uiCharFGColorControl.asm
ROUTINES:
Name Description
---- -----------
GLB CharFGColorControlClass Style menu object
... |
drivers/video/ms/8514a/disp/i386/fasttext.asm | npocmaka/Windows-Server-2003 | 17 | 177181 | ;---------------------------Module-Header------------------------------;
; Module Name: fasttext.asm
;
; Copyright (c) 1992-1994 Microsoft Corporation
;-----------------------------------------------------------------------;
;-----------------------------------------------------------------------;
; VOID vFastTex... |
ada/stddef_h.ads | simonjwright/VL53L1X | 0 | 29914 | <reponame>simonjwright/VL53L1X
pragma Ada_2012;
pragma Style_Checks (Off);
pragma Warnings ("U");
with Interfaces.C; use Interfaces.C;
with System;
package stddef_h is
-- unsupported macro: NULL __null
-- arg-macro: procedure offsetof (TYPE, MEMBER)
-- __builtin_offsetof (TYPE, MEMBER)
subtype ptrdi... |
programs/oeis/227/A227121.asm | karttu/loda | 0 | 27201 | <reponame>karttu/loda
; A227121: Number of n X 2 0,1 arrays indicating 2 X 2 subblocks of some larger (n+1) X 3 binary array having a sum of zero, with rows and columns of the latter in lexicographically nondecreasing order.
; 3,7,13,23,40,68,112,178,273,405,583,817,1118,1498,1970,2548,3247,4083,5073,6235,7588,9152,109... |
public/wintab/wintabx/datapeek.asm | DannyParker0001/Kisak-Strike | 252 | 15712 | include xlibproc.inc
include Wintab.inc
PROC_TEMPLATE WTDataPeek, 8, Wintab, -, 82
|
msp430x2/mspgd-spi-peripheral.adb | ekoeppen/MSP430_Generic_Ada_Drivers | 0 | 14658 | with MSP430_SVD.USCI_A0_SPI_MODE; use MSP430_SVD.USCI_A0_SPI_MODE;
with MSP430_SVD.USCI_B0_SPI_MODE; use MSP430_SVD.USCI_B0_SPI_MODE;
with MSP430_SVD.SPECIAL_FUNCTION; use MSP430_SVD.SPECIAL_FUNCTION;
package body MSPGD.SPI.Peripheral is
procedure Init is
use MSPGD.Clock;
Baud_Rate_Div : constant UInt3... |
experiments/test-suite/mutation-based/10/4/fullTree.als | kaiyuanw/AlloyFLCore | 1 | 3387 | <gh_stars>1-10
pred test34 {
some disj Node0, Node1: Node {
Node = Node0 + Node1
left = Node1->Node0 + Node1->Node1
right = Node1->Node1
}
}
run test34 for 3 expect 0
pred test25 {
some disj Node0, Node1: Node {
Node = Node0 + Node1
no left
no right
makeFull[]
}
}
run test25 for 3 expect 1
pred test44 {
some disj Node0... |
programs/oeis/190/A190787.asm | neoneye/loda | 22 | 19365 | <reponame>neoneye/loda
; A190787: Odd powers of 2 and 9 times odd powers of 2, sorted.
; 2,8,18,32,72,128,288,512,1152,2048,4608,8192,18432,32768,73728,131072,294912,524288,1179648,2097152,4718592,8388608,18874368,33554432,75497472,134217728,301989888,536870912,1207959552,2147483648,4831838208,8589934592,19327352832,34... |
software/hal/boards/pixhawk/hil/hil-i2c.adb | TUM-EI-RCS/StratoX | 12 | 23649 | -- Institution: Technische Universität München
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
--
-- Authors: <NAME> (<EMAIL>)
with STM32.I2C;
with STM32.Device;
with HAL.I2C;
with HMC5883L.Register;
with Interfaces.Bit_Types; use Interfaces.Bit_Types;
-- @summary
-- Target-specific mapp... |
IPC/Syntax/Hilbert.agda | mietek/hilbert-gentzen | 29 | 3665 | <gh_stars>10-100
-- Intuitionistic propositional calculus.
-- Hilbert-style formalisation of syntax.
-- Nested terms.
module IPC.Syntax.Hilbert where
open import IPC.Syntax.Common public
-- Derivations.
infix 3 _⊢_
data _⊢_ (Γ : Cx Ty) : Ty → Set where
var : ∀ {A} → A ∈ Γ → Γ ⊢ A
app : ∀ {A B} → Γ ⊢ ... |
konz/konz3/saskas.adb | balintsoos/LearnAda | 0 | 16889 | with Ada.Numerics.Discrete_Random;
with Ada.Text_IO;
use Ada.Text_IO;
procedure Saskas is
subtype Rand1_10 is Integer range 1..10;
package RandomPos is new Ada.Numerics.Discrete_Random(Rand1_10);
seed: RandomPos.Generator;
protected Kiiro is
entry Kiir(mit: String);
end Kiiro;
protected body Kii... |
src/masks_data.asm | NotImplementedLife/rubik | 4 | 86702 | SECTION "Tile masks Paint Data", ROMX
TileMasks0::
; ~ $8000
DB $00 ; brush 1 inactive
DB $00 ; brush 2 inactive
DB $00 ; brush 3 inactive
DB $00 ; brush 4 inactive
; ~ $8010
DB $01 ; brush 1 slot 1
DB $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $03, $03
DB $00 ; brush 2 inactive
DB $00 ; br... |
oeis/221/A221162.asm | neoneye/loda-programs | 11 | 176985 | <reponame>neoneye/loda-programs
; A221162: Number of n X 2 arrays of occupancy after each element stays put or moves to some horizontal, vertical or antidiagonal neighbor.
; 3,33,352,3721,39254,413908,4363921,46008619,485064009,5113971944,53915979657,568429529006,5992882377940,63182219138721,666122336505939,70228455593... |
software/libsparklemma/src/spark-constrained_array_lemmas.adb | TUM-EI-RCS/StratoX | 12 | 5851 | <filename>software/libsparklemma/src/spark-constrained_array_lemmas.adb
------------------------------------------------------------------------------
-- --
-- SPARK LIBRARY COMPONENTS --
-- ... |
mc-sema/validator/x86_64/tests/ADC16rr.asm | randolphwong/mcsema | 2 | 165703 | <filename>mc-sema/validator/x86_64/tests/ADC16rr.asm
BITS 64
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
; ADC16rr
mov cx, 0xabc
mov dx, 0xdef
;TEST_BEGIN_RECORDING
adc cx, dx
;TEST_END_RECORDING
|
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1513.asm | ljhsiun2/medusa | 9 | 80073 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x4c1e, %rax
dec %rdi
mov $0x6162636465666768, %r9
movq %r9, (%rax)
nop
nop
sub $2171, %rax
lea addresses_WC_ht+0x1b39d, %rdi
nop
add %rbx, %rbx
m... |
Assembly/fileformats/skills_spells_getName.asm | WildGenie/Ninokuni | 14 | 83957 | ;;----------------------------------------------------------------------------;;
;; Fix the function that gets skills or magic names with new fields.
;; Copyright 2014 <NAME> (aka pleonex)
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with th... |
PIM/Projet/src/google_creuse.adb | Hathoute/ENSEEIHT | 1 | 26733 | <filename>PIM/Projet/src/google_creuse.adb
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with System.Multiprocessors; use System.Multiprocessors;
with System.Multiprocessors.Dispatching_Domains; use System.Multiprocessors.Dispatching_Domains;
package body Google_Creuse is
pr... |
oeis/286/A286956.asm | neoneye/loda-programs | 11 | 29949 | ; A286956: Main diagonal of A286950.
; Submitted by <NAME>
; 1,0,1,3,4,6,6,8,8,9,10,11,11,13,14,14,16,17,18,19,20,21,23,23,24,25,27,27,28,29,30,31,32,33,34,34,36,37,38,39,39,41,42,43,44,45,46,47,48,49,50,52,52,53,54,55,56,58,58,59,60,61,62,63,64,65,66,67,68,69,69,71,72,73,74,75,76,76,78,79,80,81,82,83,84,85,86,87,88,89... |
alloy4fun_models/trashltl/models/5/6NgNZoRoJYR3h6LaZ.als | Kaixi26/org.alloytools.alloy | 0 | 1620 | <filename>alloy4fun_models/trashltl/models/5/6NgNZoRoJYR3h6LaZ.als
open main
pred id6NgNZoRoJYR3h6LaZ_prop6 {
all f:File | f in Trash implies always f in Trash
}
pred __repair { id6NgNZoRoJYR3h6LaZ_prop6 }
check __repair { id6NgNZoRoJYR3h6LaZ_prop6 <=> prop6o } |
src/main/antlr/Lego.g4 | danielGoldsteinCS2021/Lego-Predicate-Logic-Language | 1 | 5825 | grammar Lego;
program: start? EOF;
start: formula | expr ;
formula: expr rel_op expr #rel_opFormula
| unary_conn formula #unary_connFormula
| formula binary_conn formula #binary_connFormula
| quantifier var ':' domain '.' formula #quantifierFormula
| '(' ... |
source/MicroBenchX.Ipc/IpcTests/sub_float64.asm | clayne/MicroBenchX | 15 | 171782 | <reponame>clayne/MicroBenchX
[BITS 64]
%include "parameters.inc"
extern exit
global sub_float64
section .text
sub_float64:
push rbp
mov rax, ITERATIONS_sub_float64
mov rbx, __float64__(1.0)
mov rcx, __float64__(2.0)
mov rdx, __float64__(3.0)
mov rsi, __float64__(4.0)
mov rdi, __float64__(5... |
alloy4fun_models/trainstlt/models/2/khtBhPh4okGednpek.als | Kaixi26/org.alloytools.alloy | 0 | 1373 | open main
pred idkhtBhPh4okGednpek_prop3 {
no Track
}
pred __repair { idkhtBhPh4okGednpek_prop3 }
check __repair { idkhtBhPh4okGednpek_prop3 <=> prop3o } |
ada/buffers.ads | rtoal/enhanced-dining-philosophers | 0 | 21991 | <filename>ada/buffers.ads
------------------------------------------------------------------------------
-- buffers.ads
--
-- A generic package for bounded, blocking FIFO queues (buffers). It exports
-- a proected type called 'Buffer'. Note that the maximum size of any buffer
-- of this type is taken from a s... |
QuantitativeAlloy/models/alloy/bayesianNetwork/bayesianNetwork.als | pf7/QAlloy | 0 | 5110 | <reponame>pf7/QAlloy
one sig Unit{ rain : one R }
abstract sig R{
sprinkler : one S,
grass : S set -> one G
}
one sig Rain, NoRain extends R{}
abstract sig S, G{}
one sig On, Off extends S{}
one sig Wet, Dry extends G{}
fact{
//rain
#(Unit.rain :> Rain) = div[2, 10]
//#(Unit.rain :> NoRain) = div[8, 10]
... |
courses/fundamentals_of_ada/labs/solar_system/000_getting_started/src/main.adb | AdaCore/training_material | 15 | 27288 | -----------------------------------------------------------------------
-- Ada Labs --
-- --
-- Copyright (C) 2008-2019, AdaCore --
-- ... |
programs/oeis/033/A033444.asm | neoneye/loda | 22 | 176155 | <gh_stars>10-100
; A033444: Number of edges in 12-partite Turán graph of order n.
; 0,0,1,3,6,10,15,21,28,36,45,55,66,77,89,102,116,131,147,164,182,201,221,242,264,286,309,333,358,384,411,439,468,498,529,561,594,627,661,696,732,769,807,846,886,927,969,1012,1056,1100,1145,1191,1238,1286,1335,1385,1436,1488,1541,1595,165... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i3-7100_9_0x84_notsx.log_21829_2518.asm | ljhsiun2/medusa | 9 | 18583 | <filename>Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i3-7100_9_0x84_notsx.log_21829_2518.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r8
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1d47, %rsi
lea addresses_UC_ht+0x1c219, %rdi
nop
nop
inc %r9
mov $127, %rcx
re... |
alloy4fun_models/trashltl/models/16/TzpvWg7dHuPTqZksK.als | Kaixi26/org.alloytools.alloy | 0 | 5239 | open main
pred idTzpvWg7dHuPTqZksK_prop17 {
always File' = File - Trash
}
pred __repair { idTzpvWg7dHuPTqZksK_prop17 }
check __repair { idTzpvWg7dHuPTqZksK_prop17 <=> prop17o } |
out/euler26.adb | FardaleM/metalang | 22 | 8110 | <reponame>FardaleM/metalang
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 euler26 is
type stringptr is access all char_array;
procedure PString(s : stringptr) is
begin
... |
src/opcodes2_song1.6502.asm | mrpopogod/nes-fun | 0 | 19351 | <filename>src/opcodes2_song1.6502.asm
song1_header:
.byte $04 ;4 streams
.byte MUSIC_SQ1 ;which stream
.byte $01 ;status byte (stream enabled)
.byte SQUARE_1 ;which channel
.byte $70 ;initial duty (01)
.byte ve_tgl_1 ;volume envelope
.word son... |
programs/oeis/194/A194223.asm | jmorken/loda | 1 | 3480 | ; A194223: a(n) = [sum{(k/6) : 1<=k<=n}], where [ ]=floor, ( )=fractional part.
; 0,0,1,1,2,2,2,3,3,4,5,5,5,5,6,6,7,7,7,8,8,9,10,10,10,10,11,11,12,12,12,13,13,14,15,15,15,15,16,16,17,17,17,18,18,19,20,20,20,20,21,21,22,22,22,23,23,24,25,25,25,25,26,26,27,27,27,28,28,29,30,30,30,30,31,31,32,32,32,33,33,34,35,35,35,35,36... |
asm/real/disk_load.asm | CtrlTab-Network/CtrlTabOS | 0 | 101198 | <reponame>CtrlTab-Network/CtrlTabOS
disk_load:
push dx ; Store DX on stack so later we can recall
; how many sectors were request to be read ,
; even if it is altered in the meantime
mov ah, 0x02 ; BIOS read sector function
mov al, dh ; Read DH sectors
mov ch, 0x00... |
programs/oeis/181/A181475.asm | karttu/loda | 1 | 168809 | <reponame>karttu/loda
; A181475: a(n) = 3*n^4 + 6*n^3 - 3*n + 1.
; 1,7,91,397,1141,2611,5167,9241,15337,24031,35971,51877,72541,98827,131671,172081,221137,279991,349867,432061,527941,638947,766591,912457,1078201,1265551,1476307,1712341,1975597,2268091,2591911,2949217,3342241,3773287,4244731,4759021,5318677,5926291,6584... |
programs/oeis/345/A345504.asm | neoneye/loda | 22 | 81477 | <gh_stars>10-100
; A345504: Numbers that are the sum of nine squares in seven or more ways.
; 57,60,62,63,65,66,68,69,71,72,73,74,75,76,77,78,79,80,81,82,83,84,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... |
src/intel/tools/tests/gen6/and.asm | SoftReaper/Mesa-Renoir-deb | 0 | 5673 | <reponame>SoftReaper/Mesa-Renoir-deb
and(8) g22<1>UD g21<8,8,1>UD g20<8,8,1>UD { align1 1Q };
and.nz.f0.0(8) null<1>UD g24<8,8,1>UD g25<8,8,1>UD { align1 1Q };
and(16) g41<1>UD g39<8,8,1>UD g37<8,8,1>UD { align1 1H };
and.nz.f0.0(16) null<1>UD g45<8,8,1>UD ... |
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/日本_Ver3/asm/zel_bg3.asm | prismotizm/gigaleak | 0 | 89999 | <reponame>prismotizm/gigaleak
Name: zel_bg3.asm
Type: file
Size: 169035
Last-Modified: '2016-05-13T04:36:32Z'
SHA-1: 63BEC451B638440888B4A2B1E2902796FD871188
Description: null
|
Ada/src/Problem_12.adb | Tim-Tom/project-euler | 0 | 18303 | <filename>Ada/src/Problem_12.adb<gh_stars>0
with Ada.Integer_Text_IO;
with Ada.Text_IO;
with PrimeInstances;
package body Problem_12 is
package IO renames Ada.Text_IO;
package I_IO renames Ada.Integer_Text_IO;
procedure Solve is
-- Since we're building these up sequentially, we can also build up the list... |
oeis/014/A014293.asm | neoneye/loda-programs | 11 | 167466 | ; A014293: a(n) = n^(n+1)-n+1.
; 1,1,7,79,1021,15621,279931,5764795,134217721,3486784393,99999999991,3138428376711,106993205379061,3937376385699277,155568095557812211,6568408355712890611,295147905179352825841,14063084452067724990993,708235345355337676357615,37589973457545958193355583,2097151999999999999999999981,122694... |
src/fltk-menu_items.ads | micahwelf/FLTK-Ada | 1 | 24600 | <gh_stars>1-10
with
FLTK.Widgets;
package FLTK.Menu_Items is
type Menu_Item is new Wrapper with private;
type Menu_Item_Reference (Data : not null access Menu_Item'Class) is limited null record
with Implicit_Dereference => Data;
package Forge is
-- Usually you don't bother w... |
tools/uaflex/regular_expressions.ads | faelys/gela-asis | 4 | 14543 | <reponame>faelys/gela-asis
------------------------------------------------------------------------------
-- <NAME> A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org ... |
programs/oeis/210/A210736.asm | neoneye/loda | 22 | 171021 | ; A210736: Expansion of (1 + sqrt( (1 + 2*x) / (1 - 2*x))) / 2 in powers of x.
; 1,1,1,2,3,6,10,20,35,70,126,252,462,924,1716,3432,6435,12870,24310,48620,92378,184756,352716,705432,1352078,2704156,5200300,10400600,20058300,40116600,77558760,155117520,300540195,601080390,1166803110,2333606220,4537567650,9075135300,17672... |
libsrc/_DEVELOPMENT/string/c/sdcc_iy/_memupr__callee.asm | jpoikela/z88dk | 640 | 161302 |
; char *_memupr__callee(void *p, size_t n)
SECTION code_clib
SECTION code_string
PUBLIC __memupr__callee
EXTERN asm__memupr
__memupr__callee:
pop af
pop hl
pop bc
push af
jp asm__memupr
|
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca.log_21829_384.asm | ljhsiun2/medusa | 9 | 167005 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x787c, %rsi
lea addresses_WC_ht+0x183bc, %rdi
nop
nop
sub %r13, %r13
mov $64, %rcx
rep movsq
nop
cmp %r15, %r15
lea addresses_WT_ht+0x383c, %rbx
nop
add %rdx, %rdx
mov $0x6162636465666... |
oeis/055/A055099.asm | neoneye/loda-programs | 11 | 23476 | ; A055099: Expansion of g.f.: (1 + x)/(1 - 3*x - 2*x^2).
; Submitted by <NAME>
; 1,4,14,50,178,634,2258,8042,28642,102010,363314,1293962,4608514,16413466,58457426,208199210,741512482,2640935866,9405832562,33499369418,119309773378,424928058970,1513403723666,5390067288938,19197009314146,68371162520314,243507506189234,867... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c41107a.ada | best08618/asylo | 7 | 14713 | -- C41107A.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... |
Groups/Homomorphisms/Kernel.agda | Smaug123/agdaproofs | 4 | 13787 | {-# OPTIONS --safe --warning=error --without-K #-}
open import Groups.Definition
open import Setoids.Setoids
open import Sets.EquivalenceRelations
open import Groups.Homomorphisms.Definition
open import Groups.Homomorphisms.Lemmas
open import Groups.Subgroups.Definition
open import Groups.Subgroups.Normal.Definition
o... |
src/gl/interface/gl-fixed.ads | Roldak/OpenGLAda | 79 | 3668 | -- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with GL.Types;
private with GL.Low_Level;
-- Fixed function pipeline. Deprecated in OpenGL 3.0.
package GL.Fixed is
pragma Preelaborate;
use GL.Types;
subtype Vertex_Length is Positive range 2 ..... |
programs/oeis/115/A115852.asm | karttu/loda | 1 | 179392 | ; A115852: Dihedral D3 elliptical invariant transform on A000045: a[n+1]/a[n]= Phi^4=((1+Sqrt[5])/2)^4.
; 0,0,4,20,156,1024,7140,48620,334084,2287656,15685560,107495424,736823880,5050163160,34614602500,237251310140,1626146516820,11145769206784,76394251284780,523613954825156,3588903524021764
cal $0,244855 ; a(n) = Fibo... |
test/Succeed/exec-tc/empty.agda | cruhland/agda | 1,989 | 9853 | module exec-tc.empty where
|
programs/oeis/174/A174239.asm | jmorken/loda | 1 | 96118 | <reponame>jmorken/loda
; A174239: a(n) = (3*n + 1 + (-1)^n*(n+3))/4.
; 1,0,3,1,5,2,7,3,9,4,11,5,13,6,15,7,17,8,19,9,21,10,23,11,25,12,27,13,29,14,31,15,33,16,35,17,37,18,39,19,41,20,43,21,45,22,47,23,49,24,51,25,53,26,55,27,57,28,59,29,61,30,63,31,65,32,67,33,69,34,71,35,73,36,75,37,77,38,79,39,81
add $0,3
dif $0,2
mo... |
regtests/mysql/ado-schemas-mysql-tests.adb | Letractively/ada-ado | 0 | 998 | -----------------------------------------------------------------------
-- schemas Tests -- Test loading of database schema for MySQL
-- Copyright (C) 2009, 2010, 2011, 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file exce... |
alog/src/alog.ads | btmalone/alog | 0 | 616 | ------------------------------------------------------------------------
--
-- Copyright (c) 2018, <NAME> All Rights Reserved.
--
-- 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
--
-- ... |
tools-src/gnu/gcc/gcc/ada/checks.adb | enfoTek/tomato.linksys.e2000.nvram-mod | 80 | 4162 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
test/Succeed/WarningInstanceWithExplicitArg.agda | shlevy/agda | 1,989 | 14466 | <reponame>shlevy/agda
-- Jesper, 2018-11-29: Instances with explicit arguments will never be
-- used, so declaring them should give a warning.
postulate
X : Set
instance _ : Set → X -- this should give a warning
it : {{_ : X}} → X
it {{x}} = x
-- OTOH, this is fine as the instance can be used inside the module
m... |
binary16/fmod.asm | DW0RKiN/Floating-point-Library-for-Z80 | 12 | 101014 | <reponame>DW0RKiN/Floating-point-Library-for-Z80
if not defined @FMOD
include "color_flow_warning.asm"
; Remainder after division.
; In: BC dividend, HL modulus
; Out: HL remainder, HL = BC % HL
; BC % HL = BC - int(BC/HL) * HL = frac(BC/HL) * HL => does not return correct results with larger exponen... |
llvm-gcc-4.2-2.9/gcc/ada/s-gloloc.adb | vidkidz/crossbridge | 1 | 22684 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
programs/oeis/040/A040195.asm | neoneye/loda | 22 | 18063 | ; A040195: Continued fraction for sqrt(210).
; 14,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28,2,28
mov $1,$0
cmp $0,0
sub $1,$0
gcd $1,2
add $1,5
add $0,$1
mul $0,$1
sub $0,35
mul $0,... |
source/s-stopoo.ads | ytomino/drake | 33 | 15299 | <gh_stars>10-100
pragma License (Unrestricted);
with Ada.Finalization;
with System.Storage_Elements;
package System.Storage_Pools is
pragma Preelaborate;
type Root_Storage_Pool is
abstract limited new Ada.Finalization.Limited_Controlled with private;
pragma Preelaborable_Initialization (Root_Storage_Poo... |
src/Mute/MuteGrammar.g4 | GeirGrusom/daemos | 3 | 1281 | grammar MuteGrammar;
@header {
using System;
using System.Linq;
using Daemos.Mute.Expressions;
}
/*
* Parser Rules
*/
compileUnit returns [ModuleExpression module]
locals [List<VariableExpression> scope]
@init { $scope = new List<VariableExpression>(); }
: moduleStatement ';' (statements += statement)* EOF { ... |
test/Succeed/fol-theorems/Names.agda | asr/apia | 10 | 8748 | <filename>test/Succeed/fol-theorems/Names.agda
------------------------------------------------------------------------------
-- Testing the translation of function, predicates and variables names
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
... |
main64/kernel/syscalls/syscall.asm | KlausAschenbrenner/KAOS | 1 | 84381 | <filename>main64/kernel/syscalls/syscall.asm
[BITS 64]
[GLOBAL SysCallHandlerAsm]
[EXTERN SysCallHandlerC]
[EXTERN printf_long]
SysCallHandlerAsm:
cli
; Save the General Purpose Registers on the Stack
push rdi
push rsi
push rbp
push rsp
push rbx
push rdx
push rcx
push rax
p... |
ada/src/colors.ads | alkalinin/raytracer | 45 | 30677 | <filename>ada/src/colors.ads
--
-- Raytracer implementation in Ada
-- by <NAME> (github: johnperry-math)
-- 2021
--
-- specification for Colors, both RGB ("Color_Type")
-- and RGBA ("Transparent_Color_Type")
--
-- local packages
with RayTracing_Constants; use RayTracing_Constants;
-- @summary
-- specification for Co... |
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/日本_Ver3/asm/zel_enmy3.asm | prismotizm/gigaleak | 0 | 6579 | <filename>other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/日本_Ver3/asm/zel_enmy3.asm
Name: zel_enmy3.asm
Type: file
Size: 334969
Last-Modified: '2016-05-13T04:36:32Z'
SHA-1: 03E16D840FA79B53D57770236DA6E734C06577EE
Description: null
|
libsrc/_DEVELOPMENT/fcntl/c/sdcc_ix/read_callee.asm | meesokim/z88dk | 0 | 17882 |
; ssize_t read_callee(int fd, void *buf, size_t nbyte)
SECTION code_fcntl
PUBLIC _read_callee, l0_read_callee
EXTERN asm_read
_read_callee:
pop af
pop hl
pop de
pop bc
push af
l0_read_callee:
push ix
call asm_read
pop ix
ret
|
programs/oeis/178/A178890.asm | neoneye/loda | 22 | 87454 | <gh_stars>10-100
; A178890: a(n) = n OR 3n, where OR is bitwise OR.
; 0,3,6,11,12,15,22,23,24,27,30,43,44,47,46,47,48,51,54,59,60,63,86,87,88,91,94,91,92,95,94,95,96,99,102,107,108,111,118,119,120,123,126,171,172,175,174,175,176,179,182,187,188,191,182,183,184,187,190,187,188
mov $1,$0
mul $0,2
seq $1,184617 ; With no... |
Cubical/Displayed/Record.agda | marcinjangrzybowski/cubical | 301 | 5079 | {-
Generate univalent reflexive graph characterizations for record types from
characterizations of the field types using reflection.
See end of file for an example.
-}
{-# OPTIONS --no-exact-split --safe #-}
module Cubical.Displayed.Record where
open import Cubical.Foundations.Prelude
open import Cubical.Foundation... |
oeis/054/A054498.asm | neoneye/loda-programs | 11 | 102231 | ; A054498: Number of symmetric nonnegative integer 8 X 8 matrices with sum of elements equal to 4*n, under action of dihedral group D_4.
; Submitted by <NAME>
; 1,4,16,44,116,260,560,1100,2090,3740,6512,10868,17732,28028,43472,65780,97955,143000,205920,291720,408408,563992,770848,1041352,1394068,1847560,2428960,3165400... |
test/Fail/Issue2684.agda | cruhland/agda | 1,989 | 14232 | -- Andreas, 2017-08-13, issue #2684
-- Better error for abstract constructor.
abstract
data D : Set where
c : D
data E : Set where
c : E
test : D
test = c
-- Expected:
-- Constructor c is abstract, thus, not in scope here
-- when checking that the expression c has type D
|
test/Succeed/strictlypositiveio.agda | shlevy/agda | 2 | 358 | open import Agda.Builtin.IO
open import Agda.Builtin.List
open import Agda.Builtin.Size
open import Agda.Builtin.String
record Thunk (F : Size → Set) (i : Size) : Set where
coinductive
field force : {j : Size< i} → F j
open Thunk public
FilePath = String
-- A directory tree is rooted in the current directory; it... |
ChannelIO/Source/Frameworks/ANTLR/TextBlockParser.g4 | konifar/channel-plugin-ios | 12 | 4107 | parser grammar TextBlockParser;
options { tokenVocab = TextBlockLexer; }
block: (tag | content)* EOF;
tag: LT TAG_NAME (attribute)* GT (tag | content)* LT SLASH TAG_NAME GT;
attribute: TAG_NAME EQUALS STR_BEG attrValue STR_END;
attrValue: (escape | variable | STR_CHAR | STR_ANY | STR_WS)+;
content: (escape | emoj... |
code.asm | scarletea/MipsCPU_multi_cycle | 3 | 246019 | <reponame>scarletea/MipsCPU_multi_cycle
# Test File for 7 Instruction, include:
# ADDU/SUBU/LW/SW/ORI/BEQ/JAL
################################################################
### Make sure following Settings :
# Settings -> Memory Configuration -> Compact, Data at address 0
.text
ori $29, $0, 12
ori $2, $0, 0x123... |
programs/oeis/051/A051503.asm | jmorken/loda | 1 | 677 | ; A051503: a(n) = min { n, floor(100/n) }.
; 1,2,3,4,5,6,7,8,9,10,9,8,7,7,6,6,5,5,5,5,4,4,4,4,4,3,3,3,3,3,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
mov $1,$0
add $1,1
mov $3,31
mov $5,15
lpb $0
div $0,$3
add $0,3
add $2,1
add $... |
Task/Menu/Ada/menu-2.ada | LaudateCorpus1/RosettaCodeData | 1 | 1324 | ./menu2
1 Fee Fie
2 Huff & Puff
3 mirror mirror
4 tick tock
chose (0 to exit) #:2
you chose #:Huff & Puff
1 Fee Fie
2 Huff & Puff
3 mirror mirror
4 tick tock
chose (0 to exit) #:55
Menu selection out of range
1 Fee Fie
2... |
src/Lambda/Delay-monad/Virtual-machine.agda | nad/partiality-monad | 2 | 5886 | <reponame>nad/partiality-monad<filename>src/Lambda/Delay-monad/Virtual-machine.agda
------------------------------------------------------------------------
-- A virtual machine
------------------------------------------------------------------------
{-# OPTIONS --sized-types #-}
module Lambda.Delay-monad.Virtual-mac... |
projects/batfish/src/batfish/grammar/logicblox/LogiQLLexer.g4 | luispedrosa/batfish | 0 | 1314 | lexer grammar LogiQLLexer;
options {
superClass = 'batfish.grammar.BatfishLexer';
}
@header {
package batfish.grammar.logicblox;
}
PREDICATE_SEMANTICS_COMMENT_HEADER
:
'///' -> pushMode(M_PredicateSemantics)
;
ALIAS_ALL
:
'alias_all'
;
BLOCK
:
'block'
;
CLAUSES
:
'clauses'
;
COLON
:
':'
;
COMM... |
programs/oeis/009/A009117.asm | jmorken/loda | 1 | 28742 | ; A009117: Expansion of e.g.f.: 1/2 + exp(-4*x)/2.
; 1,-2,8,-32,128,-512,2048,-8192,32768,-131072,524288,-2097152,8388608,-33554432,134217728,-536870912,2147483648,-8589934592,34359738368,-137438953472,549755813888,-2199023255552,8796093022208,-35184372088832,140737488355328,-562949953421312,2251799813685248,-900719925... |
asm/getbits.asm | GabrielRavier/Generic-Assembly-Samples | 0 | 179585 | <reponame>GabrielRavier/Generic-Assembly-Samples
global @ASM_getbits@12
segment .text align=16
; Algorithm : /* getbits: get numBits bits from position position */
; unsigned int getbits(unsigned int num, unsigned char position, unsigned int numBits)
; {
; retur... |
oeis/077/A077887.asm | neoneye/loda-programs | 11 | 6033 | <reponame>neoneye/loda-programs<filename>oeis/077/A077887.asm
; A077887: Expansion of (1-x)^(-1)/(1+x^2-2*x^3).
; Submitted by <NAME>(s4)
; 1,1,0,2,3,-1,2,8,-3,-3,20,-2,-25,43,22,-92,65,137,-248,-6,523,-489,-534,1536,-443,-2603,3516,1718,-8721,5315,12158,-22756,-1527,47073,-43984,-50126,138131,-37841,-238382,314104,162... |
programs/oeis/334/A334954.asm | jmorken/loda | 1 | 23820 | ; A334954: a(n) is 1 plus the number of divisors of n.
; 2,3,3,4,3,5,3,5,4,5,3,7,3,5,5,6,3,7,3,7,5,5,3,9,4,5,5,7,3,9,3,7,5,5,5,10,3,5,5,9,3,9,3,7,7,5,3,11,4,7,5,7,3,9,5,9,5,5,3,13,3,5,7,8,5,9,3,7,5,9,3,13,3,5,7,7,5,9,3,11,6,5,3,13,5,5,5,9,3,13,5,7,5,5,5,13,3,7,7,10,3,9,3,9,9,5,3,13,3,9,5,11,3,9,5,7,7,5,5,17,4,5,5,7,5,1... |
list-to-string.agda | rfindler/ial | 29 | 6296 | module list-to-string where
open import list
open import string
𝕃-to-string : ∀ {ℓ} {A : Set ℓ} → (f : A → string) → (separator : string) → 𝕃 A → string
𝕃-to-string f sep [] = ""
𝕃-to-string f sep (x1 :: (x2 :: xs)) = (f x1) ^ sep ^ (𝕃-to-string f sep (x2 :: xs))
𝕃-to-string f sep (x1 :: []) = (f x1)
|
Library/Spreadsheet/Spreadsheet/spreadsheetRowColumn.asm | steakknife/pcgeos | 504 | 245214 | <reponame>steakknife/pcgeos
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: spreadsheetColumn.asm
AUTHOR: <NAME>, Aug 27, 1992
ROUTINES:
Name Description
---- -----------
MSG_SPRE... |
src/Equivalence/Erased/Contractible-preimages.agda | nad/equality | 3 | 16082 | <reponame>nad/equality
------------------------------------------------------------------------
-- Equivalences with erased "proofs", defined in terms of partly
-- erased contractible fibres
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Equalit... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/nested_return_test.adb | best08618/asylo | 7 | 13320 | -- { dg-do run }
-- { dg-options "-gnata" }
procedure Nested_Return_Test is
function H (X: integer) return access integer is
Local : aliased integer := (X+1);
begin
case X is
when 3 =>
begin
return Result : access integer do
Result := new integer ... |
Library/Spline/UI/uiSmoothness.asm | steakknife/pcgeos | 504 | 161372 | <reponame>steakknife/pcgeos
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: uiSmoothness.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date De... |
oeis/267/A267846.asm | neoneye/loda-programs | 11 | 240098 | ; A267846: Binary representation of the n-th iteration of the "Rule 227" elementary cellular automaton starting with a single ON (black) cell.
; Submitted by <NAME>
; 1,100,11010,1111010,111111010,11111111010,1111111111010,111111111111010,11111111111111010,1111111111111111010,111111111111111111010,111111111111111111110... |
src/Categories/Category/Construction/KaroubiEnvelope.agda | Trebor-Huang/agda-categories | 279 | 3504 | <gh_stars>100-1000
{-# OPTIONS --without-K --safe #-}
open import Categories.Category using (Category; _[_≈_])
-- Karoubi Envelopes. These are the free completions of categories under split idempotents
module Categories.Category.Construction.KaroubiEnvelope {o ℓ e} (𝒞 : Category o ℓ e) where
open import Level
open... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.