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 |
|---|---|---|---|---|
Snippets/Copy FIle To New Location.applescript | rogues-gallery/applescript | 360 | 1885 | <reponame>rogues-gallery/applescript<filename>Snippets/Copy FIle To New Location.applescript
tell application "Finder"
set copyfile to selection
set copyfile to copyfile as text
set copyfile to quoted form of POSIX path of copyfile
set the clipboard to copyfile
set pastedest to (choose folder)
set pastedest... |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_iy/___fseq.asm | meesokim/z88dk | 0 | 81565 |
SECTION code_fp_math48
PUBLIC ___fseq
EXTERN cm48_sdcciyp_dseq
defc ___fseq = cm48_sdcciyp_dseq
|
orka/src/gl/implementation/gl-objects-samplers.adb | onox/orka | 52 | 15762 | <reponame>onox/orka
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2016 onox <<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/li... |
sort4a.asm | clayne/SortingNetworks | 34 | 58 | ;*******************************************************************
; sort4a.asm
; Sorting Networks
;
; Author: <NAME>
; <EMAIL>
; https//github.com/komrad36
;
; Last updated Feb 15, 2017
;*******************************************************************
;
; SUMMARY: I present novel and state-of-the-a... |
oeis/174/A174771.asm | neoneye/loda-programs | 11 | 175459 | <gh_stars>10-100
; A174771: y-values in the solution to x^2 - 31*y^2 = 1.
; Submitted by <NAME>
; 0,273,829920,2522956527,7669787012160,23316149994009873,70881088312003001760,215478485152339131340527,655054523982022647272200320,1991365537426863695368357632273,6053750578723141651897159929909600,1840339976795281319490367... |
core/lib/Equivalence2.agda | mikeshulman/HoTT-Agda | 0 | 6769 | <reponame>mikeshulman/HoTT-Agda<gh_stars>0
{-# OPTIONS --without-K --rewriting #-}
open import lib.Basics
open import lib.types.Sigma
open import lib.types.Pi
open import lib.types.Paths
open import lib.types.Unit
open import lib.types.Empty
module lib.Equivalence2 where
{- Pre- and post- composition with equivalenc... |
libsrc/_DEVELOPMENT/font/fzx/fonts/kk/_ff_kk_MagdalenaB.asm | jpoikela/z88dk | 640 | 104325 |
SECTION rodata_font
SECTION rodata_font_fzx
PUBLIC _ff_kk_MagdalenaB
_ff_kk_MagdalenaB:
BINARY "font/fzx/fonts/kk/MagdalenaB.fzx"
|
src/ArrowIsCCC.agda | tetrapharmakon/agda-categories | 0 | 12564 | module ArrowIsCCC where
open import Categories.Category.CartesianClosed.Canonical
open import Categories.Category.Cartesian.Bundle
open import Categories.Category.Core
open import Categories.Category.Construction.Arrow
open import Data.Product
open import Function using (const)
open import Level
open import Relation.B... |
oeis/274/A274428.asm | neoneye/loda-programs | 11 | 86644 | ; A274428: Positions in A274426 of products of distinct Lucas numbers > 1.
; Submitted by <NAME>(s3)
; 3,6,9,10,14,15,19,20,21,26,27,28,33,34,35,36,42,43,44,45,51,52,53,54,55,62,63,64,65,66,73,74,75,76,77,78,86,87,88,89,90,91,99,100,101,102,103,104,105,114,115,116,117,118,119,120,129,130,131,132,133,134,135,136,146,147... |
programs/oeis/173/A173834.asm | neoneye/loda | 22 | 167337 | <reponame>neoneye/loda
; A173834: a(n)=10^n-2*n
; 1,8,96,994,9992,99990,999988,9999986,99999984,999999982,9999999980,99999999978,999999999976,9999999999974,99999999999972,999999999999970,9999999999999968,99999999999999966,999999999999999964,9999999999999999962,99999999999999999960,999999999999999999958,9999999999999999... |
oeis/277/A277456.asm | neoneye/loda-programs | 11 | 165999 | <reponame>neoneye/loda-programs
; A277456: a(n) = 1 + Sum_{k=1..n} binomial(n,k) * 3^k * k^k.
; Submitted by <NAME>
; 1,4,43,847,23881,870721,38894653,2055873037,125480383153,8684069883409,671922832985941,57475677232902589,5385592533714824521,548596467532888667257,60358911366712739334541,7133453715771227363127301,90126... |
benchmark/ada/periodic_overrun.adb | erlingrj/ktc | 0 | 8496 | with Ada.Real_Time; use Ada.Real_Time;
with Ada.Text_IO;use Ada.Text_IO;
procedure Periodic_overrun is
Interval : Time_Span := Milliseconds(30);
Next : Time;
Now :Time;
begin
Next := Clock + Interval;
loop
Put_Line("Delay 30 ms");
for I in Integer range 1 .. 10000 loop
Put_Line (Integer'Image(I));
e... |
Plugins/AppleScript/Quit MetaZ.applescript | jmcintyre/metaz | 235 | 1799 | using terms from application "MetaZ"
on queue finished processing
tell application "MetaZ"
quit later
end tell
end queue finished processing
end using terms from |
LCD/LCD.asm | maojsm/MENU_LCD_PIC32 | 0 | 94643 | <gh_stars>0
_Lcd_Inicialize:
;LCD.c,12 :: void Lcd_Inicialize()
ADDIU SP, SP, -8
SW RA, 0(SP)
;LCD.c,15 :: Lcd_Init();
SW R25, 4(SP)
JAL _Lcd_Init+0
NOP
;LCD.c,17 :: LCD_BACK_Direction = 0;
LUI R2, BitMask(TRISC4_bit+0)
ORI R2, R2, BitMask(TRISC4_bit+0)
_SX
;LCD.c,19 :: LCD_BACK = LCD_BACK_ON;
LUI R2, BitMask... |
alloy4fun_models/trashltl/models/11/KXsgZ57MqBKsYpigv.als | Kaixi26/org.alloytools.alloy | 0 | 1740 | open main
pred idKXsgZ57MqBKsYpigv_prop12 {
all f : File | eventually f in Trash => always f in Trash
}
pred __repair { idKXsgZ57MqBKsYpigv_prop12 }
check __repair { idKXsgZ57MqBKsYpigv_prop12 <=> prop12o } |
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/日本_Ver3/asm/zel_shape_data.asm | prismotizm/gigaleak | 0 | 173432 | Name: zel_shape_data.asm
Type: file
Size: 8640
Last-Modified: '2016-05-13T04:36:32Z'
SHA-1: 38FECC0922B9240E0BB4738480AF2309ADA3E9A6
Description: null
|
alloy4fun_models/trainstlt/models/4/FemPPfrtxtfwB7jrz.als | Kaixi26/org.alloytools.alloy | 0 | 3045 | <reponame>Kaixi26/org.alloytools.alloy<filename>alloy4fun_models/trainstlt/models/4/FemPPfrtxtfwB7jrz.als
open main
pred idFemPPfrtxtfwB7jrz_prop5 {
all t : Train | no (t.pos & Exit) implies (t.pos' in t.pos.prox)
}
pred __repair { idFemPPfrtxtfwB7jrz_prop5 }
check __repair { idFemPPfrtxtfwB7jrz_prop5 <=> prop5o } |
open_all_htop/production_htop.applescript | supermitch/iterm-scripts | 0 | 533 | set jump_user to "jump_username"
set box_user to "box_username"
set env to "prod"
set boxes to {"1", "4", "2", "5", "3", "6"} # IPs. Order is weird b/c session numbering is weird
tell script "Open All htop" # Script from ~/Library/Script Libraries/
open_all_htops(jump_user, box_user, boxes, env)
end tell
|
test/Fail/customised/Issue5644/A/B.agda | cagix/agda | 1,989 | 9841 | <reponame>cagix/agda
module A.B where
{-# NON_TERMINATING #-}
easy : (A : Set) → A
easy = easy
|
oeis/069/A069140.asm | neoneye/loda-programs | 11 | 96956 | ; A069140: a(n) = (4n-1)*4n*(4n+1).
; 0,60,504,1716,4080,7980,13800,21924,32736,46620,63960,85140,110544,140556,175560,215940,262080,314364,373176,438900,511920,592620,681384,778596,884640,999900,1124760,1259604,1404816,1560780,1727880,1906500,2097024,2299836,2515320,2743860,2985840,3241644,3511656,3796260,4095840,4410... |
Source/Libraries/TimeSeriesPlatformLibrary/Transport/FilterExpressions/FilterExpressionSyntax.g4 | QuarkSoftware/gsf | 1 | 5706 | //******************************************************************************************************
// FilterExpressionSyntax.g4 - Gbtc
//
// Copyright © 2018, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. S... |
Transynther/x86/_processed/US/_st_/i3-7100_9_0x84_notsx.log_624_2109.asm | ljhsiun2/medusa | 9 | 179597 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r13
push %r14
push %r15
push %r8
push %rbx
push %rcx
push %rsi
// Store
mov $0x10c, %r13
nop
nop
nop
sub %r14, %r14
movl $0x51525354, (%r13)
and $810, %rcx
// Store
lea addresses_A+0x146ec, %rcx
clflush (%rcx)
nop
and $32... |
openal_info.adb | io7m/coreland-openal-ada | 1 | 7351 | with Ada.Command_Line;
with Ada.Exceptions;
with Ada.Text_IO;
with OpenAL.Context;
with OpenAL.Global;
with OpenAL.List;
package body OpenAL_Info is
package AL_Context renames OpenAL.Context;
package AL_Global renames OpenAL.Global;
package AL_String_Vectors renames OpenAL.List.String_Vectors;
p... |
Task/Zeckendorf-number-representation/Ada/zeckendorf-number-representation.ada | LaudateCorpus1/RosettaCodeData | 1 | 22250 | <filename>Task/Zeckendorf-number-representation/Ada/zeckendorf-number-representation.ada
with Ada.Text_IO, Ada.Strings.Unbounded;
procedure Print_Zeck is
function Zeck_Increment(Z: String) return String is
begin
if Z="" then
return "1";
elsif Z(Z'Last) = '1' then
return Zeck_Increment(Z(Z'First ... |
tests/exec/queens.adb | xuedong/mini-ada | 0 | 16559 | with Ada.Text_IO; use Ada.Text_IO;
-- les N reines
procedure NQueens is
procedure PrintInt(N: Integer) is
C: Integer := N rem 10;
begin
if N > 9 then PrintInt(N / 10); end if;
Put(Character'Val(48 + C));
end;
-- des ensembles représentés par des entiers
Empty: Integer := 0;
functio... |
ioctl/IokSetInputMode.asm | osfree-project/FamilyAPI | 1 | 81849 | ;--------------------------------------------------------
; Category 4 Function 51H Set Input Mode
;--------------------------------------------------------
;
;
;
IOKSETINPUTMODE PROC NEAR
RET
IOKSETINPUTMODE ENDP
|
programs/oeis/084/A084263.asm | neoneye/loda | 22 | 165524 | <reponame>neoneye/loda
; A084263: Modified triangular numbers.
; 1,1,4,6,11,15,22,28,37,45,56,66,79,91,106,120,137,153,172,190,211,231,254,276,301,325,352,378,407,435,466,496,529,561,596,630,667,703,742,780,821,861,904,946,991,1035,1082,1128,1177,1225,1276,1326,1379,1431
mov $1,$0
pow $0,2
div $0,2
div $1,2
add $0,$1
... |
oeis/106/A106542.asm | neoneye/loda-programs | 11 | 102204 | <filename>oeis/106/A106542.asm
; A106542: a(n) = a(n-1) - 2*a(n-2) - 3*a(n-3) - ... - (n-1)*a(1), a(1) = a(2) = 3, a(3) = -3.
; 3,3,-3,-18,-33,-15,84,261,333,-138,-1557,-3315,-2436,6153,24009,36390,1431,-129639,-323292,-318819,400725,2149686,3807795,1476405,-10310388,-30697599,-37588047,20103078,186854271,384871329,260... |
Tooling/GCodeParser/GCodeParser/FanucGCodeLexer.g4 | philmccarthy24/gemstone | 0 | 5359 | lexer grammar FanucGCodeLexer;
/*********************************************************************************
* FANUC GCode Lexer Rules - (c) 2018 <NAME>, MIT license.
*
********************************************************************************/
HASH: '#' ;
// Arithmetic and logic operation described p4... |
bb-runtimes/runtimes/ravenscar-sfp-stm32g474/gnarl/s-bbbosu.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 26300 | <reponame>JCGobbi/Nucleo-STM32G474RE<gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
programs/oeis/198/A198306.asm | jmorken/loda | 1 | 167313 | ; A198306: Moore lower bound on the order of a (6,g)-cage.
; 7,12,37,62,187,312,937,1562,4687,7812,23437,39062,117187,195312,585937,976562,2929687,4882812,14648437,24414062,73242187,122070312,366210937,610351562,1831054687,3051757812,9155273437,15258789062
mov $4,$0
add $4,1
mov $6,$0
lpb $4
mov $0,$6
sub $4,1
s... |
starDraw.asm | GokselKUCUKSAHIN/Microprocessors-x86-ASM | 3 | 102714 | name "JellyBeanci"
org 100h
jmp starDraw
star: db "*$"
nl: db 0Dh,0Ah,"$"
count db 0h, 0h
starDraw:
mov byte ptr [count], 0h
d1:
mov byte ptr [count+1], 0h
d2:
mov dx, star
mov ah, 9
int 21h
inc byte ptr [count+1]
xo... |
resources/scripts/api/securitytrails.ads | nscuro/Amass | 1 | 16863 | <filename>resources/scripts/api/securitytrails.ads
-- Copyright © by <NAME> 2020-2022. All rights reserved.
-- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
-- SPDX-License-Identifier: Apache-2.0
local json = require("json")
name = "SecurityTrails"
type = "api"
functi... |
Assembler/cputest.asm | thomasmalloch/NovaBoySharp | 0 | 10995 | <reponame>thomasmalloch/NovaBoySharp
SECTION "Header", ROM0[$100]
SECTION "Game code", ROM0
Start: ld sp,$1000 ; setup stack pointer
ld a,10 ; load 10 into a
ld b,3 ; load 3 into b
loop: dec b ; decrement b
jp z, end ; if b is 0, jump to the end
add a ; add a to itself
jp loop ; jump to t... |
programs/oeis/024/A024220.asm | karttu/loda | 0 | 165415 | ; A024220: a(n) = [ (3rd elementary symmetric function of S(n))/(first elementary symmetric function of S(n)) ], where S(n) = {first n+2 positive integers congruent to 1 mod 3}.
; 2,19,71,188,410,784,1367,2226,3435,5078,7249,10049,13589,17990,23380,29897,37689,46911,57728,70315,84854,101537,120566,142150,166508,193869,... |
programs/oeis/273/A273336.asm | jmorken/loda | 1 | 4812 | ; A273336: Partial sums of the number of active (ON,black) cells in n-th stage of growth of two-dimensional cellular automaton defined by "Rule 657", based on the 5-celled von Neumann neighborhood.
; 1,5,22,70,150,270,438,662,950,1310,1750,2278,2902,3630,4470,5430,6518,7742,9110,10630,12310,14158,16182,18390,20790,2339... |
oeis/010/A010166.asm | neoneye/loda-programs | 11 | 161627 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A010166: Continued fraction for sqrt(95).
; 9,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1,18,1,2,1
s... |
alloy4fun_models/trashltl/models/5/ropwZCvArykyveBCP.als | Kaixi26/org.alloytools.alloy | 0 | 3064 | open main
pred idropwZCvArykyveBCP_prop6 {
some f:File | always f in Trash'
}
pred __repair { idropwZCvArykyveBCP_prop6 }
check __repair { idropwZCvArykyveBCP_prop6 <=> prop6o } |
mc-sema/validator/x86/tests/ROL16rCL.asm | randolphwong/mcsema | 2 | 82707 | <filename>mc-sema/validator/x86/tests/ROL16rCL.asm
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_OF
;TEST_FILE_META_END
; ROL16rCL
mov bx, 0x414
mov cl, 0x3
;TEST_BEGIN_RECORDING
rol bx, cl
;TEST_END_RECORDING
|
tools/uaflex/macros.adb | faelys/gela-asis | 4 | 22387 | ------------------------------------------------------------------------------
-- <NAME> A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
src/antlr/ParadoxFile.g4 | brahle/paradox | 2 | 1370 | grammar ParadoxFile;
config: (assignment)*;
assignment: field OPERATOR? value;
field: string | symbol | variable | LIST_START;
value: integer | percent | real | date | string | symbol | variable | variable_expression | map | array | list | constructor;
symbol: string | INT | REAL | SYMBOL;
string: DSTRING | SSTRING... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1019.asm | ljhsiun2/medusa | 9 | 179192 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1e628, %r9
nop
nop
xor $23405, %r12
vmovups (%r9), %ymm2
vextracti128 $1, %ymm2, %xmm2
vpextrq $0, %xmm2, %rdi
nop
nop
nop
cmp %rsi, %rsi
lea addres... |
src/GUI/time_select_window.adb | Fabien-Chouteau/coffee-clock | 7 | 18151 | <filename>src/GUI/time_select_window.adb
-------------------------------------------------------------------------------
-- --
-- Coffee Clock --
-- ... |
orka/src/orka/interface/orka-strings.ads | onox/orka | 52 | 27860 | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2017 onox <<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/LICENSE-2.0
-... |
tools/aflex/src/scanner.adb | svn2github/matreshka | 24 | 21976 | <reponame>svn2github/matreshka<gh_stars>10-100
with Ada.Characters.Wide_Wide_Latin_1;
with Ada.Integer_Wide_Wide_Text_IO;
with Ada.Strings.Wide_Wide_Unbounded;
with Ada.Wide_Wide_Text_IO;
with misc_defs, misc, sym;
use misc_defs;
with Matreshka.Internals.Unicode.Ucd;
with Unicode;
with scanner.DFA; use scanner.DFA;
wi... |
src/lumen-gl.adb | darkestkhan/lumen | 0 | 26420 |
-- Lumen.GL -- Lumen's own thin OpenGL bindings
--
-- <NAME>, NiEstu, Phoenix AZ, Summer 2010
-- This code is covered by the ISC License:
--
-- Copyright © 2010, NiEstu
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the ab... |
src/kernel/exe/cpu/8259A.asm | zelinf/MyOS | 2 | 80352 | BITS 32
[SECTION .text]
global cpu_init8259A
cpu_init8259A:
mov al, 0x11
out 0x20, al
call io_delay
out 0xA0, al
call io_delay
mov al, 0x20
out 0x21, al
call io_delay
mov al, 0x28
out 0xA1, al
call io_delay
mov al, 0x04
out 0x21, al
call io_delay
mov a... |
NCoreUtils.Data.Protocol.Grammar/Protocol.g4 | artyomszasa/NCoreUtils.Data.Protocol | 0 | 1562 | <reponame>artyomszasa/NCoreUtils.Data.Protocol
grammar Protocol;
/* PARSER */
start:
lambda EOF
| expr EOF
;
lambda: IDENT ARROW expr;
expr:
LPAREN expr RPAREN
| ident
| constant
| call
| expr binOp=(MUL | DIV | MOD) expr
| expr binOp=(PLUS | MINUS) expr
| expr binOp=(EQ | NE... |
programs/oeis/087/A087413.asm | karttu/loda | 1 | 171456 | <reponame>karttu/loda
; A087413: a(n) = Sum_{k=1..n} C(3*k,k)/3.
; 1,6,34,199,1200,7388,46148,291305,1853580,11868585,76380825,493606725,3201081873,20821158233,135776966761,887393271310,5811082966885,38119865826420,250447855600320,1647729357535485,10854207824989830,71581930485576630
mov $1,$0
add $1,1
cal $1,24719 ; a... |
programs/oeis/130/A130257.asm | jmorken/loda | 1 | 15406 | <reponame>jmorken/loda<filename>programs/oeis/130/A130257.asm<gh_stars>1-10
; A130257: Partial sums of the 'lower' odd Fibonacci Inverse A130255.
; 1,3,5,7,10,13,16,19,22,25,28,31,35,39,43,47,51,55,59,63,67,71,75,79,83,87,91,95,99,103,107,111,115,120,125,130,135,140,145,150,155,160,165,170,175,180,185,190,195,200,205,2... |
programs/oeis/166/A166977.asm | neoneye/loda | 22 | 27086 | <gh_stars>10-100
; A166977: Jacobsthal-Lucas numbers A014551, except a(0) = 0.
; 0,1,5,7,17,31,65,127,257,511,1025,2047,4097,8191,16385,32767,65537,131071,262145,524287,1048577,2097151,4194305,8388607,16777217,33554431,67108865,134217727,268435457,536870911,1073741825,2147483647,4294967297,8589934591,17179869185,343597... |
src/main/antlr/AtLexer.g4 | MinecraftForge/accesstransformers | 6 | 451 | lexer grammar AtLexer;
COMMENT : '#' ~('\r' | '\n')* ;
KEYWORD : ('public' | 'private' | 'protected' | 'default') ([-+]'f')? -> pushMode(CLASS_NAME_MODE) ;
WS : [ \t]+ ;
CRLF : '\r' | '\n' | '\r\n' ;
mode CLASS_NAME_MODE ;
CLASS_NAME : ([\p{L}_\p{Sc}][\p{L}\p{N}_\p{Sc}]*'.')*[\p{L}_\p{Sc}][\p{L}\p{N}_\p{Sc}]* -> p... |
programs/oeis/021/A021316.asm | neoneye/loda | 22 | 20203 | ; A021316: Decimal expansion of 1/312.
; 0,0,3,2,0,5,1,2,8,2,0,5,1,2,8,2,0,5,1,2,8,2,0,5,1,2,8,2,0,5,1,2,8,2,0,5,1,2,8,2,0,5,1,2,8,2,0,5,1,2,8,2,0,5,1,2,8,2,0,5,1,2,8,2,0,5,1,2,8,2,0,5,1,2,8,2,0,5,1,2,8,2,0,5,1,2,8,2,0,5,1,2,8,2,0,5,1,2,8
add $0,1
mov $1,10
pow $1,$0
mul $1,2
div $1,624
mod $1,10
mov $0,$1
|
testcases/execute_dynabound/execute_dynabound.adb | jrmarino/AdaBase | 30 | 5261 | <gh_stars>10-100
with AdaBase;
with Connect;
with CommonText;
with Ada.Text_IO;
with Ada.Calendar;
with AdaBase.Results.Sets;
with Interfaces;
procedure Execute_Dynabound is
package CON renames Connect;
package TIO renames Ada.Text_IO;
package AR renames AdaBase.Results;
package ARS renames AdaBase.Resul... |
programs/oeis/193/A193588.asm | neoneye/loda | 22 | 14392 | ; A193588: A Fibonacci triangle: T(n,k) = Fib(k+2) for 0 <= k <= n.
; 1,1,2,1,2,3,1,2,3,5,1,2,3,5,8,1,2,3,5,8,13,1,2,3,5,8,13,21,1,2,3,5,8,13,21,34,1,2,3,5,8,13,21,34,55,1,2,3,5,8,13,21,34,55,89,1,2,3,5,8,13,21,34,55,89,144,1,2,3,5,8,13,21,34,55,89,144,233
lpb $0
add $2,1
sub $0,$2
lpe
add $0,1
seq $0,187107 ; Num... |
unittests/ASM/REP/F3_BD.asm | cobalt2727/FEX | 628 | 170571 | %ifdef CONFIG
{
"RegData": {
"RAX": "0",
"RCX": "0x10",
"RDX": "0x20",
"RSI": "0x40",
"RDI": "0",
"RBP": "0",
"RSP": "0",
"R8": "0x8",
"R9": "0x10",
"R10": "0x20",
"R15": "0x2A540"
}
}
%endif
; Uses AX and BX and stores result in r15
; CF:ZF
%macro zfcfmerge 0
lahf
... |
programs/oeis/084/A084431.asm | karttu/loda | 1 | 96737 | <filename>programs/oeis/084/A084431.asm
; A084431: Expansion of (1 + 6*x + 5*x^2)/((1-2*x)*(1+2*x)).
; 1,6,9,24,36,96,144,384,576,1536,2304,6144,9216,24576,36864,98304,147456,393216,589824,1572864,2359296,6291456,9437184,25165824,37748736,100663296,150994944,402653184,603979776,1610612736,2415919104,6442450944,96636764... |
programs/oeis/330/A330063.asm | karttu/loda | 0 | 97845 | <filename>programs/oeis/330/A330063.asm
; A330063: Beatty sequence for x, where 1/x + sech(x) = 1.
; 1,3,4,6,8,9,11,12,14,16,17,19,21,22,24,25,27,29,30,32,33,35,37,38,40,42,43,45,46,48,50,51,53,54,56,58,59,61,63,64,66,67,69,71,72,74,76,77,79,80,82,84,85,87,88,90,92,93,95,97,98,100,101,103,105
mov $16,$0
mov $18,$0
add... |
gb_01/src_bug/root-child.ads | gerr135/gnat_bugs | 0 | 10194 | generic
package root.child is
type Base_Type is abstract new Base_Interface with null record;
type Derived_Type is abstract new Base_Type and Derived_Interface with null record;
end root.child;
|
tests/bases-ship-test_data-tests.adb | thindil/steamsky | 80 | 28887 | <filename>tests/bases-ship-test_data-tests.adb
-- This package has been generated automatically by GNATtest.
-- You are allowed to add your code to the bodies of test routines.
-- Such changes will be kept during further regeneration of this file.
-- All code placed outside of test routine bodies will be lost. The
... |
1-base/lace/source/events/mixin/xgc/lace-make_observer-deferred.adb | charlie5/lace | 20 | 9540 | with
lace.Event.Logger,
lace.Event.utility,
ada.unchecked_Deallocation;
package body lace.make_Observer.deferred
is
procedure free is new ada.unchecked_Deallocation (String, String_view);
overriding
procedure destroy (Self : in out Item)
is
begin
make_Observer.destroy (make_Observe... |
script/boot2docker.scpt | jawshooah/dotfiles | 0 | 4626 | tell application "iTerm"
make new terminal
tell the current terminal
activate current session
launch session "Default Session"
tell the last session
write text "unset DYLD_LIBRARY_PATH ; unset LD_LIBRARY_PATH"
write text "mkdir -p ~/.boot2docker"
write... |
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/フランス_NES/N_F_asm/zel_isub.asm | prismotizm/gigaleak | 0 | 171515 | Name: zel_isub.asm
Type: file
Size: 255627
Last-Modified: '2016-05-13T04:22:15Z'
SHA-1: D4899693F307304441C571130AC38B571650B14C
Description: null
|
components/src/motion/bno055/bosch_bno055.ads | rocher/Ada_Drivers_Library | 192 | 24333 | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016, AdaCore --
-- --
-- ... |
src/Ch1-5.agda | banacorn/hott | 0 | 6837 | {-# OPTIONS --without-K #-}
module Ch1-5 where
open import Data.Product
open import Ch2-1
uniq : ∀ {a b} {A : Set a} {B : Set b}
→ (x : A × B)
→ ((proj₁ x , proj₂ x) ≡ x)
uniq (fst , snd) = refl
ind : ∀ {a b c} {A : Set a} {B : Set b}
→ (C : A × B → Set c)
→ ((x : A) → (y : B) → C (x , y))
→ (p : A × B)
... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_415.asm | ljhsiun2/medusa | 9 | 86834 | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x5dc3, %rsi
lea addresses_UC_ht+0x2b89, %rdi
nop
sub %r14, %r14
mov $34, %rcx
rep movsq
nop
nop
nop
cmp $23534, %rdx
lea addresses_WT_ht+0x122b9, %r15
nop
nop
nop
nop
and %r9, %r9
mov (... |
parser/SimpleAsm.g4 | mulderp/plutoasm | 0 | 6476 | <reponame>mulderp/plutoasm<filename>parser/SimpleAsm.g4
/**
* grammar for simpleAsm
*/
grammar SimpleAsm;
@header {
package antlrparser;
// PARSER_VERSION = "0.2";
}
/** A rule called init that matches comma-separated values between {...}. */
init : stmt* ;
stmt : segmentStmt
| dataDecl
| ... |
programs/oeis/024/A024080.asm | karttu/loda | 1 | 160691 | <filename>programs/oeis/024/A024080.asm
; A024080: a(n) = 7^n - n^5.
; 1,6,17,100,1377,13682,109873,806736,5732033,40294558,282375249,1977165692,13841038369,96888639114,678222535025,4747560750568,33232929521025,232630512567350,1628413596020881,11398895182897044
mov $2,$0
pow $0,5
mov $1,7
pow $1,$2
sub $1,$0
|
tools/asm/src/mrboom.asm | SimpleTease2/mrboom-libretro | 0 | 175603 | <gh_stars>0
; _________ _________ _________ _________ _________ _________
; ___\______ /___\____ /_____\____ /___\_____ /___\_____ /___\______ /___
; \_ | | _ |_____/\_ ____ _ |/ _ |/ _ | | _/
; |___|___|___|_____| sns |___________|___________|___________|__... |
tests/test-1-nestedloops.64.asm | sporiyano/rgat | 381 | 90663 | <filename>tests/test-1-nestedloops.64.asm<gh_stars>100-1000
;basic sanity check with a few external calls
global main
section .text
main:
mov rbx, 17
level1: ;17 executions each below here
mov rax, 0
inc rax
inc rax
inc rax
inc rax
dec rax
dec rax
xchg rax, rbx
xchg rax, rbx
mov rcx, 47
level2... |
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0_notsx.log_21829_781.asm | ljhsiun2/medusa | 9 | 173984 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x16170, %r8
clflush (%r8)
nop
nop
nop
nop
and %r13, %r13
movb $0x61, (%r8)
nop
nop
nop
nop
nop
sub %r15, %r15
lea addresses_normal_ht+0x8010, %r12
nop
nop
n... |
agda/Path/Reasoning.agda | oisdk/combinatorics-paper | 4 | 15576 | {-# OPTIONS --cubical --safe #-}
module Path.Reasoning where
open import Prelude
infixr 2 ≡˘⟨⟩-syntax _≡⟨⟩_ ≡⟨∙⟩-syntax
≡˘⟨⟩-syntax : ∀ (x : A) {y z} → y ≡ z → y ≡ x → x ≡ z
≡˘⟨⟩-syntax _ y≡z y≡x = sym y≡x ; y≡z
syntax ≡˘⟨⟩-syntax x y≡z y≡x = x ≡˘⟨ y≡x ⟩ y≡z
≡⟨∙⟩-syntax : ∀ (x : A) {y z} → y ≡ z → x ≡ y → x ≡ z
≡... |
innative-env/memcpy.x86.asm | Connicpu/innative | 381 | 102343 | <reponame>Connicpu/innative
page ,132
title _innative_internal_env_memcpy - Copy source memory bytes to destination
;***
;memcpy.asm - contains memcpy and memmove routines
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
;Purpose:
; memcpy() copies a source memory buffer t... |
client_collections.ads | cborao/Ada-P2 | 0 | 24619 | with Ada.Strings.Unbounded;
with Lower_Layer_UDP;
package Client_Collections is
package ASU renames Ada.Strings.Unbounded;
package LLU renames Lower_Layer_UDP;
type Collection_Type is limited private;
Client_Collection_Error: exception;
procedure Add_Client (Collection: in out Collection_Type;
... |
lib/wait.asm | ZhUyU1997/BookOS | 1 | 87814 | [bits 32]
[section .text]
INT_VECTOR_SYS_CALL equ 0x80
_NR_WAIT EQU 11
global sub_wait
sub_wait:
push ebx
mov eax, _NR_WAIT
mov ebx, [esp + 4 + 4]
int INT_VECTOR_SYS_CALL
pop ebx
ret
|
_maps/Platforms (unused).asm | kodishmediacenter/msu-md-sonic | 9 | 90763 | ; ---------------------------------------------------------------------------
; Sprite mappings - unused
; ---------------------------------------------------------------------------
Map_Plat_Unused_internal:
dc.w @small-Map_Plat_Unused_internal
dc.w @large-Map_Plat_Unused_internal
@small: dc.b 2
dc.b $F4, $B, 0... |
Structure/Container/IndexedIterable.agda | Lolirofle/stuff-in-agda | 6 | 14713 | <filename>Structure/Container/IndexedIterable.agda
open import Type
module Structure.Container.IndexedIterable {ℓᵢ} {Index : Type{ℓᵢ}} where
import Lvl
open import Data
open import Data.Boolean
open import Data.Boolean.Stmt
open import Data.Option
import Data.Option.Functions as Option
open import Data.Tupl... |
scripts/SafariZoneCenterRestHouse.asm | opiter09/ASM-Machina | 1 | 4262 | <reponame>opiter09/ASM-Machina
SafariZoneCenterRestHouse_Script:
jp EnableAutoTextBoxDrawing
SafariZoneCenterRestHouse_TextPointers:
dw SafariZoneRestHouse1Text1
dw SafariZoneRestHouse1Text2
SafariZoneRestHouse1Text1:
text_far _SafariZoneRestHouse1Text1
text_end
SafariZoneRestHouse1Text2:
text_far _SafariZoneR... |
src/util-beans-basic-lists.adb | Letractively/ada-util | 0 | 8350 | -----------------------------------------------------------------------
-- Util.Beans.Basic.Lists -- List bean given access to a vector
-- Copyright (C) 2011, 2013 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in comp... |
oeis/188/A188707.asm | neoneye/loda-programs | 11 | 247000 | ; A188707: Number of 3 X n binary arrays without the pattern 0 0 diagonally or vertically.
; 5,21,90,387,1665,7164,30825,132633,570690,2455551,10565685,45461772,195611805,841673709,3621533130,15582644523,67048623225,288495182556,1241330043105,5341164667857,22981833209970,98885672046279,425482860601485,1830757286868588,... |
3-mid/opengl/source/lean/model/opengl-model-polygon-lit_colored.ads | charlie5/lace-alire | 1 | 30679 | <reponame>charlie5/lace-alire<filename>3-mid/opengl/source/lean/model/opengl-model-polygon-lit_colored.ads
with
openGL.Model,
openGL.Font,
openGL.Geometry;
package openGL.Model.polygon.lit_colored
--
-- Models a lit, colored polygon.
--
is
type Item is new Model.polygon.item with private;
type V... |
programs/oeis/085/A085539.asm | karttu/loda | 1 | 94291 | <gh_stars>1-10
; A085539: a(n) = n^6 - n^5.
; 0,0,32,486,3072,12500,38880,100842,229376,472392,900000,1610510,2737152,4455516,6991712,10631250,15728640,22717712,32122656,44569782,60800000,81682020,108226272,141599546,183140352,234375000,297034400,373071582,464679936,574312172,704700000,858874530,1040187392,1252332576,1... |
alloy4fun_models/trashltl/models/9/8u5QErNqqriBAreb5.als | Kaixi26/org.alloytools.alloy | 0 | 3667 | <gh_stars>0
open main
pred id8u5QErNqqriBAreb5_prop10 {
(all f:File | always(after f in Protected))
}
pred __repair { id8u5QErNqqriBAreb5_prop10 }
check __repair { id8u5QErNqqriBAreb5_prop10 <=> prop10o } |
programs/oeis/065/A065384.asm | neoneye/loda | 22 | 98099 | <reponame>neoneye/loda
; A065384: Largest prime <= n * (n + 1) / 2.
; 3,5,7,13,19,23,31,43,53,61,73,89,103,113,131,151,167,181,199,229,251,271,293,317,349,373,401,433,463,491,523,557,593,619,661,701,739,773,811,859,887,941,983,1033,1069,1123,1171,1223,1259,1321,1373,1429,1483,1531,1583,1637,1709,1759,1823,1889,1951,201... |
WordSort.asm | CrSeth/WordSort | 0 | 97389 | <reponame>CrSeth/WordSort
;-------------------------------------------------------
;This program adds 10 words of maximum 10 chars
;to a two dimensional array. The array of words is
;shown on screen then the words are sorted alphabetically
;using select sort and displayed again in their ordered form.
;
;---
;Instituto ... |
src/static/antlr4/grammars/LexicalDeclaration.g4 | jlenoble/ecmascript-parser | 0 | 6790 | /* Source: ECMAScript® 2018 Language Specification - Annex A-3 */
grammar LexicalDeclaration;
// LexicalDeclaration[In, Yield, Await]:
// LetOrConst BindingList[?In, ?Yield, ?Await] ;
lexicalDeclaration
: letOrConst bindingList eos
;
// LetOrConst:
// let
// const
letOrConst
: Let
| Const
;
// BindingList[... |
PIC/mikroC/Projects/PIC18F4550/PWM.asm | UdayanSinha/Code_Blocks | 3 | 178373 | <filename>PIC/mikroC/Projects/PIC18F4550/PWM.asm
_main:
;PWM.c,1 :: void main(void)
;PWM.c,4 :: TRISC=0xFB; //RC2 is output
MOVLW 251
MOVWF TRISC+0
;PWM.c,5 :: PWM1_Init(10000); //10kHz PWM
BSF T2CON+0, 0, 0
BCF T2CON+0, 1, 0
MOVLW 124
MOVWF PR2... |
core/model/src/main/antlr/au/com/dius/pact/core/model/matchingrules/expressions/MatcherDefinition.g4 | michaelbannister/pact-jvm | 127 | 1724 | grammar MatcherDefinition;
@header {
package au.com.dius.pact.core.model.matchingrules.expressions;
import au.com.dius.pact.core.model.matchingrules.*;
import au.com.dius.pact.core.model.generators.Generator;
import au.com.dius.pact.core.support.Either;
import java.util.Arrays;
}
/**
* Parse a ma... |
legacy-core/src/main/resources/Core.ads | greifentor/archimedes-legacy | 0 | 16632 | <Diagramm>
<AdditionalSQLCode>
<SQLCode>$BR$/* Creating the standard maps. */$BR$INSERT INTO "Map" ("Id", "Description", "Name", "Token") VALUES (1, 'Unknown map', 'Unknown', 'Unknown');$BR$INSERT INTO "Map" ("Id", "Description", "Name", "Token") VALUES (2, 'Unmapped map', 'Unmapped', 'Unmapped');$BR$$BR$... |
print_ada.adb | hsgrewal/learning-ada | 0 | 20551 | <filename>print_ada.adb<gh_stars>0
-- print_ada.adb
with Ada.Text_IO; use Ada.Text_IO;
procedure print_ada is
begin
Put_Line("###############################################################");
Put_Line("###############################################################");
Put_Line("## ... |
Function/Surjective/Base.agda | oisdk/agda-playground | 6 | 5981 | <reponame>oisdk/agda-playground<filename>Function/Surjective/Base.agda
{-# OPTIONS --cubical --safe #-}
module Function.Surjective.Base where
open import Path
open import Function.Fiber
open import Level
open import HITs.PropositionalTruncation
open import Data.Sigma
Surjective : (A → B) → Type _
Surjective f = ∀ y ... |
gtk/akt-callbacks.ads | thierr26/ada-keystore | 25 | 20141 | <filename>gtk/akt-callbacks.ads<gh_stars>10-100
-----------------------------------------------------------------------
-- akt-callbacks -- Callbacks for Ada Keystore GTK application
-- Copyright (C) 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- ... |
30Oct2019/q1.asm | candh/8086-programs | 0 | 23755 | .model small
.stack 100h
.code
main proc
mov ax, 8000h
cmp ax, 0
jl then
jmp endif
then:
mov bx, -1
endif:
mov ax, 4Ch
int 21h
main endp
end main |
dino/lcs/base/4D5.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 171334 | copyright zengfr site:http://github.com/zengfr/romhack
007128 tst.b ($4d5,A5)
00712C bne $71fc
00731C tst.b ($4d5,A5) [123p+ B1]
007320 bne $732c
0074EC tst.b ($4d5,A5)
0074F0 bne $7560
007D8E tst.b ($4d5,A5)
007D92 bne $7dd8
007E78 tst.b ($4d5,A5)
007E7C bne $7f46
007E... |
install/lib/disk/get_dir.asm | minblock/msdos | 0 | 97807 | ;========================================================
COMMENT #
GET_DIR.ASM
Copyright (c) 1991 - Microsoft Corp.
All rights reserved.
Microsoft Confidential
=================================================
Gets the current directory path from DOS.
int _dos_getdir( char *Buffer, int Drive );
ARGUMENTS:... |
src/wiki-streams-text_io.adb | jquorning/ada-wiki | 18 | 18028 | -----------------------------------------------------------------------
-- wiki-streams-text_io -- Text_IO input output streams
-- Copyright (C) 2016 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with th... |
oeis/237/A237268.asm | neoneye/loda-programs | 11 | 85296 | <gh_stars>10-100
; A237268: a(1)=1; for n>1, a(n) is the smallest F(m)>F(n) such that F(n) divides F(m), where F(k) denotes the k-th Fibonacci number.
; Submitted by <NAME>(s1)
; 1,2,8,21,55,144,377,987,2584,6765,17711,46368,121393,317811,832040,2178309,5702887,14930352,39088169,102334155,267914296,701408733,1836311903... |
src/tiles.asm | helgefmi/lttphack | 28 | 242809 | <filename>src/tiles.asm
pushpc
; TILES
;
; Takes care to expand the tileset with our own stuff, so we can draw custom HUD items.
; Load Tiles Hijack
org $028068
JSL load_default_tileset
; Load Tiles Hook
pullpc
load_default_tileset:
LoadCustomHUDGFX:
%a16()
%i8()
LDX #$80 : STX $2115
LDA #$7000 : STA $2116 ; VRA... |
data/wild/maps/PokemonTower5F.asm | opiter09/ASM-Machina | 1 | 178938 | <reponame>opiter09/ASM-Machina
PokemonTower5FWildMons:
def_grass_wildmons 10 ; encounter rate
db 30, GASTLY
db 31, GASTLY
db 32, GASTLY
db 33, GASTLY
db 29, GASTLY
db 29, GASTLY
db 35, HAUNTER
db 30, CUBONE
db 32, CUBONE
db 34, GASTLY
end_grass_wildmons
def_water_wildmons 0 ; encounter rate
end_water_wil... |
source/adam-statement.ads | charlie5/aIDE | 3 | 16680 | with
AdaM.Entity;
private
with
ada.Streams;
package AdaM.Statement
is
type Item is new Entity.item with private;
type View is access all Item'Class;
-- Forge
--
function new_Statement (Line : in String := "") return Statement.view;
procedure free (Self : in out Statemen... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.