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/055/A055438.asm | karttu/loda | 1 | 92294 | <gh_stars>1-10
; A055438: a(n) = 100*n^2 + n.
; 101,402,903,1604,2505,3606,4907,6408,8109,10010,12111,14412,16913,19614,22515,25616,28917,32418,36119,40020,44121,48422,52923,57624,62525,67626,72927,78428,84129,90030,96131,102432,108933,115634,122535,129636,136937,144438,152139,160040,168141,176442,184943,193644,202545,... |
src/base/beans/util-beans-objects-enums.adb | RREE/ada-util | 60 | 24203 | <reponame>RREE/ada-util
-----------------------------------------------------------------------
-- Util.Beans.Objects.Enums -- Helper conversion for discrete types
-- Copyright (C) 2010, 2016, 2017 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you ma... |
alloy4fun_models/trainstlt/models/2/P4ytnCsDz4ZGi4b7T.als | Kaixi26/org.alloytools.alloy | 0 | 3123 | <filename>alloy4fun_models/trainstlt/models/2/P4ytnCsDz4ZGi4b7T.als<gh_stars>0
open main
pred idP4ytnCsDz4ZGi4b7T_prop3 {
always( all t:Train | no pos.t)
}
pred __repair { idP4ytnCsDz4ZGi4b7T_prop3 }
check __repair { idP4ytnCsDz4ZGi4b7T_prop3 <=> prop3o } |
gdb/testsuite/gdb.ada/scoped_watch/pck.adb | greyblue9/binutils-gdb | 1 | 22905 | <gh_stars>1-10
-- Copyright 2017-2021 Free Software Foundation, Inc.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 3 of the License, or
-- (at your option) any later ... |
cell.asm | duduFreire/hellTakerASM | 0 | 88876 | # BYTE : i 0
# BYTE : j 1
# BYTE: size 2
# BYTE: hasTreasure 3
# BYTE: hasKey 4
# BYTE: hasBlock 5
# BYTE: hasSpike 6
# BYTE: spikeAlternates 7
# BYTE: hasMonster 8
# BYTE: hasPlayer 9
# BYTE: isGoal 10
# BYTE: isWalkable 11
# BYTE: mapPart 12
# TOTAL SIZE : 13 BYTES
.data
.include "resources/monsterIm... |
src/fot/FOTC/Base/PropertiesI.agda | asr/fotc | 11 | 15587 | <filename>src/fot/FOTC/Base/PropertiesI.agda
------------------------------------------------------------------------------
-- FOTC terms properties
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# O... |
programs/oeis/199/A199910.asm | karttu/loda | 0 | 241269 | ; A199910: Number of -n..n arrays x(0..2) of 3 elements with zero sum, and adjacent elements not equal modulo three (with -1 modulo 3 = 2).
; 6,12,24,42,60,84,114,144,180,222,264,312,366,420,480,546,612,684,762,840,924,1014,1104,1200,1302,1404,1512,1626,1740,1860,1986,2112,2244,2382,2520,2664,2814,2964,3120,3282,3444,3... |
test/Fail/Issue4518.agda | shlevy/agda | 1,989 | 5161 | <gh_stars>1000+
-- Andreas, 2020-03-18, issue 4518, reported by strangeglyph
-- Better error message when parsing of LHS fails
open import Agda.Builtin.Nat using (Nat) -- forgot to import constructors
postulate
foo : Nat
test : Set₁
test with foo
... | zero = Set
... | suc n = Set
-- ERROR:
-- Could not parse t... |
alloy4fun_models/trashltl/models/9/AcypBbFjo9cKzyFPu.als | Kaixi26/org.alloytools.alloy | 0 | 741 | <gh_stars>0
open main
pred idAcypBbFjo9cKzyFPu_prop10 {
always(all f: (File & Protected) | f in Protected)
}
pred __repair { idAcypBbFjo9cKzyFPu_prop10 }
check __repair { idAcypBbFjo9cKzyFPu_prop10 <=> prop10o } |
echo/echo.asm | IvBaranov/nasm | 12 | 97219 | ; Echo program that waits for user to enter a character and than echoing it.
; NASM assembly for Mac OS X x64.
section .data
msg_enter: db "Please, enter a char: "
.len: equ $ - msg_enter
msg_entered: db "You have entered: "
.len: equ $ - msg_entered
section .bss
char: resb 1 ; reserve one byte for one char
... |
test/Succeed/Issue4755a.agda | cruhland/agda | 1,989 | 9155 | <gh_stars>1000+
{-# OPTIONS --rewriting #-}
open import Agda.Builtin.Bool
open import Agda.Builtin.Nat
open import Agda.Builtin.Equality
open import Agda.Builtin.Equality.Rewrite
record R : Set where
constructor mkR
field
f : Nat
data Box : Set → Set₁ where
box : (A : Set) → Box A
data D (A : Set) : Set₁ ... |
u7si/include/u7si-eop2.asm | JohnGlassmyer/UltimaHacks | 68 | 90326 | ; =============================================================================
; Ultima VII: Serpent Isle Hacks -- expanded overlay 2
; -----------------------------------------------------------------------------
; a second eop segment for offloading large, less frequently called procedures
; from the primary eo... |
base/ntos/ke/amd64/dpcint.asm | npocmaka/Windows-Server-2003 | 17 | 95571 | <reponame>npocmaka/Windows-Server-2003<gh_stars>10-100
title "Deferred Procedure Call Interrupt"
;++
;
; Copyright (c) 2000 Microsoft Corporation
;
; Module Name:
;
; dpcint.asm
;
; Abstract:
;
; This module implements the code necessary to process the Deferred
; Procedure Call interrupt.
;... |
libsrc/_DEVELOPMENT/math/float/math16/c/sdcc/cm16_sdcc_log.asm | ahjelm/z88dk | 640 | 101777 |
SECTION code_fp_math16
PUBLIC cm16_sdcc_log
EXTERN cm16_sdcc_read1, logf16
cm16_sdcc_log:
call cm16_sdcc_read1
jp logf16
|
programs/oeis/080/A080596.asm | neoneye/loda | 22 | 161100 | ; A080596: a(1)=1; for n >= 2, a(n) is smallest positive integer which is consistent with sequence being monotonically increasing and satisfying a(a(n)) = 2n+3.
; 1,4,5,7,9,10,11,12,13,15,17,19,21,22,23,24,25,26,27,28,29,31,33,35,37,39,41,43,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,63,65,67,69,71,73,75,77,79,... |
programs/oeis/303/A303781.asm | neoneye/loda | 22 | 166827 | ; A303781: a(2) = 1; for n <> 2, a(n) = gcd(n, A000005(n)), where A000005(n) = number of divisors of n.
; 1,1,1,1,1,2,1,4,3,2,1,6,1,2,1,1,1,6,1,2,1,2,1,8,1,2,1,2,1,2,1,2,1,2,1,9,1,2,1,8,1,2,1,2,3,2,1,2,1,2,1,2,1,2,1,8,1,2,1,12,1,2,3,1,1,2,1,2,1,2,1,12,1,2,3,2,1,2,1,10,1,2,1,12,1,2,1,8,1,6,1,2,1,2,1,12,1,2,3,1
mov $2,$... |
oeis/084/A084847.asm | neoneye/loda-programs | 11 | 101475 | ; A084847: 2*3^n+2^(2n-1)*(n-2).
; Submitted by <NAME>
; 1,4,18,86,418,2022,9650,45334,209730,956870,4312402,19228662,84948962,372287398,1620178674,7008019670,30150864514,129107299206,550530654866,2338786731958,9902578218786,41802362561894,175984622563378
mov $2,$0
lpb $2
sub $0,$3
mul $0,2
mov $1,$0
add $1,$0... |
alloy4fun_models/trainstlt/models/10/Tx2Gqm3JkMDQ5JNNY.als | Kaixi26/org.alloytools.alloy | 0 | 3841 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idTx2Gqm3JkMDQ5JNNY_prop11 {
always ( all t:Train| some t.pos implies once t.pos in Entry)
}
pred __repair { idTx2Gqm3JkMDQ5JNNY_prop11 }
check __repair { idTx2Gqm3JkMDQ5JNNY_prop11 <=> prop11o } |
programs/oeis/227/A227121.asm | neoneye/loda | 22 | 164029 | <reponame>neoneye/loda<gh_stars>10-100
; 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,6... |
awa/src/awa-components-redirect.adb | fuzzysloth/ada-awa | 81 | 22454 | -----------------------------------------------------------------------
-- awa-components-redirect -- ASF Core Components
-- Copyright (C) 2011 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the Lice... |
thirdparty/adasdl/thin/adasdl/AdaSDL_framebuff/sdltests/torturethread_sprogs.adb | Lucretia/old_nehe_ada95 | 0 | 8890 | <reponame>Lucretia/old_nehe_ada95
-- ----------------------------------------------------------------- --
-- --
-- This is free software; you can redistribute it and/or --
-- modify it under the terms of the GNU General Public ... |
source/streams/a-wttest.ads | ytomino/drake | 33 | 16434 | <gh_stars>10-100
pragma License (Unrestricted);
with Ada.Streams.Stream_IO;
with Ada.Text_IO.Text_Streams;
package Ada.Wide_Text_IO.Text_Streams is
-- type Stream_Access is access all Streams.Root_Stream_Type'Class;
subtype Stream_Access is Streams.Stream_IO.Stream_Access;
function Stream (
File : File_T... |
packages/query/src/loader/typescript/grammar/QueryParser.g4 | johanholmerin/pgtyped | 0 | 1392 | parser grammar QueryParser;
options { tokenVocab = QueryLexer; }
input
: query EOF_STATEMENT? EOF
;
query
: ignored+ (param ignored*)*
;
ignored: (ID | WORD | STRING | COMMA | OB | CB | SPECIAL)+;
param
: pickParam
| arrayPickParam
| scalarParam
| arrayParam
;
scalarParam: SING... |
modules/parsers/parser-xsodata/com.sap.xsk.parser.xsodata/src/main/antlr4/com/sap/xsk/parser/xsodata/core/Hdbxsodata.g4 | astefanova/xsk | 0 | 7296 | <reponame>astefanova/xsk<filename>modules/parsers/parser-xsodata/com.sap.xsk.parser.xsodata/src/main/antlr4/com/sap/xsk/parser/xsodata/core/Hdbxsodata.g4
grammar Hdbxsodata;
xsodataDefinition: service annotations? settings?;
service : 'service' namespace? body;
namespace : 'namespace' QUATED_STRI... |
test/invlpga.asm | km2m/nasm | 2,219 | 20617 | ;Testname=unoptimized; Arguments=-fbin -oinvlpga.bin; Files=stdout stderr invlpga.bin
;Testname=optimized; Arguments=-fbin -oinvlpga.bin -Ox; Files=stdout stderr invlpga.bin
bits 32
invlpga
invlpga ax,ecx
invlpga eax,ecx
bits 64
invlpga
invlpga eax,ecx
invlpga rax,ecx
|
src/lv-objx-list.ads | Fabien-Chouteau/ada-lvlg | 3 | 22906 | <filename>src/lv-objx-list.ads
pragma Style_Checks (Off);
with Lv.Style;
with System;
with Lv.Objx.Label;
with Lv.Objx.Page;
with Lv.Objx.Btn;
package Lv.Objx.List is
subtype Instance is Obj_T;
type Style_T is (Style_Bg,
Style_Scrl,
Style_Sb,
Style_... |
tests/issue47.asm | jonfoster/customasm | 1 | 104112 | <reponame>jonfoster/customasm
; :::
#ruledef
{
ld {addr} => 0x00 @ addr`8
ld x => 0xff
}
ld 0x11 ; = 0x0011
ld x ; = 0xff
; :::
#ruledef
{
ld x => 0xff
ld {addr} => 0x00 @ addr`8
}
ld 0x11 ; = 0x0011
ld x ; = 0xff
; :::
#ruledef
{
ld {addr} => 0x00 @ addr`8
ld x => 0xff @ 0x... |
Task/Draw-a-clock/Ada/draw-a-clock.ada | LaudateCorpus1/RosettaCodeData | 1 | 7992 | with Ada.Numerics.Elementary_Functions;
with Ada.Calendar.Formatting;
with Ada.Calendar.Time_Zones;
with SDL.Video.Windows.Makers;
with SDL.Video.Renderers.Makers;
with SDL.Events.Events;
procedure Draw_A_Clock is
use Ada.Calendar;
use Ada.Calendar.Formatting;
Window : SDL.Video.Windows.Window;
Renderer... |
src/frontend/Experimental_Ada_ROSE_Connection/parser/support/source/indented_text.adb | ouankou/rose | 488 | 25163 | <filename>src/frontend/Experimental_Ada_ROSE_Connection/parser/support/source/indented_text.adb
with Ada.Characters.Handling;
with Ada.Wide_Text_IO;
package body Indented_Text is
package Ach renames Ada.Characters.Handling;
package Awti renames Ada.Wide_Text_IO;
-----------
-- PRIVATE:
-----------
... |
tests/miaf/invalid-num-pixels.asm | y-guyon/ComplianceWarden | 3 | 242767 | <filename>tests/miaf/invalid-num-pixels.asm<gh_stars>1-10
%define BE(a) ( ((((a)>>24)&0xFF) << 0) + ((((a)>>16)&0xFF) << 8) + ((((a)>>8)&0xFF) << 16) + ((((a)>>0)&0xFF) << 24) )
ftyp_start:
dd BE(ftyp_end - ftyp_start)
db "ftyp"
db "isom"
dd BE(0x00)
db "mif1", "miaf"
ftyp_end:
meta_start:
dd BE(meta_end - meta_st... |
oeis/349/A349862.asm | neoneye/loda-programs | 11 | 9892 | <filename>oeis/349/A349862.asm
; A349862: a(n) is the maximum value of binomial(n-2*k,k) with 0 <= k <= floor(n/3).
; Submitted by <NAME>(w1)
; 1,1,1,1,2,3,4,5,6,10,15,21,28,36,56,84,120,165,220,330,495,715,1001,1365,2002,3003,4368,6188,8568,12376,18564,27132,38760,54264,77520,116280,170544,245157,346104,490314,735471,... |
tests/cross-assemblers/kickass/entry.asm | shazz/shazzam | 0 | 24737 | // Define two segments
.segmentdef InitSegment [start=$2000]
*= $0801 "Basic Upstart"
BasicUpstart(start) // 10 sys$0810
*= $0810 "Program"
start: inc $d020
inc $d021
jmp $2000
#import "init.asm"
|
oeis/144/A144327.asm | neoneye/loda-programs | 11 | 25962 | <gh_stars>10-100
; A144327: Prime numbers p such that p - 1 is the fourth a-figurate number and nineteenth b-figurate number for some a and b.
; Submitted by <NAME>
; 191,1217,1559,1901,2243,2927,4637,6689,8741,9767,12161,12503,13187,14897,15581,15923,16607,17291,19001,20369,21737,22079,23447,23789,24473,25841,26183,27... |
programs/oeis/131/A131089.asm | neoneye/loda | 22 | 163128 | ; A131089: a(n) = Sum_{d|n} (2 - mu(d)).
; 1,4,4,6,4,8,4,8,6,8,4,12,4,8,8,10,4,12,4,12,8,8,4,16,6,8,8,12,4,16,4,12,8,8,8,18,4,8,8,16,4,16,4,12,12,8,4,20,6,12,8,12,4,16,8,16,8,8,4,24,4,8,12,14,8,16,4,12,8,16,4,24,4,8,12,12,8,16
seq $0,5 ; d(n) (also called tau(n) or sigma_0(n)), the number of divisors of n.
sub $0,1
mu... |
FlaxVM/bin/Debug/Readchar.asm | DreamVB/FlaxVM | 0 | 97387 | <reponame>DreamVB/FlaxVM
# Read char and repeate it
SYS 1
STA A
LDA A
DUP
SYS 4
SYS 4
PUSH 10
SYS 4
POP
POP
POP
HLT
|
tier-1/xcb/source/thin/xcb-xcb_glx_get_color_table_parameterfv_cookie_t.ads | charlie5/cBound | 2 | 23019 | -- This file is generated by SWIG. Please do not modify by hand.
--
with Interfaces.C;
with Interfaces.C;
with Interfaces.C.Pointers;
package xcb.xcb_glx_get_color_table_parameterfv_cookie_t is
-- Item
--
type Item is record
sequence : aliased Interfaces.C.unsigned;
end record;
-- Item_Array
... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto15.adb | best08618/asylo | 7 | 16392 | -- { dg-do compile }
-- { dg-options "-O -flto -g" { target lto } }
package body Lto15 is
function Proc (Data : Arr) return R is
begin
return (Data'Length, Data);
end;
end Lto15;
|
code/chapter1/boot.asm | asegid/lucasOS | 8 | 3510 | <reponame>asegid/lucasOS
org 7c00h
mov ax, cs
mov es, ax
mov ax, msg
mov bp, ax
mov cx, msgLen
mov ax, 1301h
mov bx, 000fh
mov dl, 0
int 10h
msg: db "hello world, welcome to OS!"
msgLen: equ $ - msg
times 510 - ($ - $$) db 0
dw 0aa55h
|
src/Mx_lite.g4 | AegeanYan/MyCompiler_byJAVA | 0 | 6674 | grammar Mx_lite;
@header{
package Parser;
}
program: subProgram*;
subProgram : declarationStmt | functionDef | classDecl;
functionDef: returnType? Identifier '(' functionparameterDef ')' suite; //可以是构造函数
lambdaDef: '[&]' '(' functionparameterDef ')' '->' suite '(' expressionList? ')';
functionparameterDef : (varTy... |
programs/oeis/139/A139698.asm | karttu/loda | 1 | 6485 | ; A139698: Binomial transform of [1, 25, 25, 25, ...].
; 1,26,76,176,376,776,1576,3176,6376,12776,25576,51176,102376,204776,409576,819176,1638376,3276776,6553576,13107176,26214376,52428776,104857576,209715176,419430376,838860776,1677721576,3355443176,6710886376,13421772776,26843545576
mov $1,2
pow $1,$0
sub $1,1
mul $... |
oeis/156/A156635.asm | neoneye/loda-programs | 11 | 4385 | ; A156635: 144*n^2 - n.
; 143,574,1293,2300,3595,5178,7049,9208,11655,14390,17413,20724,24323,28210,32385,36848,41599,46638,51965,57580,63483,69674,76153,82920,89975,97318,104949,112868,121075,129570,138353,147424,156783,166430,176365,186588,197099,207898,218985,230360,242023,253974,266213,278740,291555,304658,318049,3... |
programs/oeis/281/A281500.asm | neoneye/loda | 22 | 81136 | ; A281500: Reduced denominators of f(n) = (n+1)/(2^(2+n)-2) with A026741(n+1) as numerators.
; 2,3,14,15,62,63,254,255,1022,1023,4094,4095,16382,16383,65534,65535,262142,262143,1048574,1048575,4194302,4194303,16777214,16777215,67108862,67108863,268435454,268435455,1073741822,1073741823,4294967294,4294967295,17179869182... |
unordnung_auch_assembler/asm/attiny13/sleepIRQ/withoutSleep_but_INT0.asm | no-go/Blink_atmega328p | 0 | 12642 | <reponame>no-go/Blink_atmega328p
.include "myTiny13.h"
.equ LED,0
.equ TASTER,1
;irq Vector
.org 0x0000
rjmp Main
rjmp EXT_INT0 ; IRQ0 Handler
; IRQ routine -----------------
.org 0x0010
EXT_INT0:
; toggleLED
sbis PORTB,LED ; if LED = 1 then
rjmp setLED
cbi PORTB,LED ; LED := 0; return;
reti
setLED: ... |
grammar/antlr4/synthesis/schemaversion/java/Schemaversion.g4 | sthagen/odata-url-parser | 2 | 5248 | <filename>grammar/antlr4/synthesis/schemaversion/java/Schemaversion.g4
grammar Schemaversion;
schemaversion : '$'? Schemaversion '=' ( '*' | Unreserved+ );
Schemaversion : S C H E M A V E R S I O N;
Unreserved : Alpha | Digit | '-' | '.' | '_' | '~';
Alpha : A | B | C | D | E | F | G | H | I | J | K | L | M | N |O... |
source/web-rss.ads | ytomino/web-ada | 2 | 30098 | <filename>source/web-rss.ads<gh_stars>1-10
-- <link rel="alternate" type="application/rss+xml" title="RSS2.0" href="*" />
package Web.RSS is
procedure RSS_Start (
Stream : not null access Ada.Streams.Root_Stream_Type'Class;
Title : in String;
Description : in String;
Link : in String);
procedure RSS_Item ... |
antlr4/AB1.g4 | davidkellis/pegparser | 15 | 3273 | grammar AB1;
a : a 'a' | 'a';
b : b 'b' | a; |
vp8/decoder/arm/neon/dequantizeb_neon.asm | mrchapp/libvpx | 1 | 19612 | <filename>vp8/decoder/arm/neon/dequantizeb_neon.asm
;
; Copyright (c) 2010 The VP8 project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be fo... |
examples/version.adb | ytomino/yaml-ada | 4 | 7359 | <reponame>ytomino/yaml-ada
with Ada.Text_IO;
with YAML;
procedure version is
begin
Ada.Text_IO.Put_Line (YAML.Version);
end version;
|
sit-wt-runtime/src/main/resources/quit-safari.scpt | Xenuzever/sit-wt-all | 16 | 1174 | tell application "Safari"
quit
end tell
|
libsrc/_DEVELOPMENT/adt/p_forward_list_alt/c/sdcc_iy/p_forward_list_alt_prev_callee.asm | meesokim/z88dk | 0 | 8222 | <reponame>meesokim/z88dk
; void *p_forward_list_alt_prev_callee(forward_list_alt_t *list, void *item)
SECTION code_adt_p_forward_list_alt
PUBLIC p_forward_list_alt_prev_callee
EXTERN p_forward_list_prev_callee
defc p_forward_list_alt_prev_callee = p_forward_list_prev_callee
INCLUDE "adt/p_forward_list_alt/z80/asm... |
src/tests/spectre_v1_arch.asm | hw-sw-contracts/revizor | 29 | 87926 | .intel_syntax noprefix
LFENCE
# delay the cond. jump
MOV rax, 0
LEA rbx, [rbx + rax + 1]
LEA rbx, [rbx + rax - 1]
LEA rbx, [rbx + rax + 1]
LEA rbx, [rbx + rax - 1]
LEA rbx, [rbx + rax + 1]
LEA rbx, [rbx + rax - 1]
LEA rbx, [rbx + rax + 1]
LEA rbx, [rbx + rax - 1]
LEA rbx, [rbx + rax + 1]
LEA rbx, [rbx + rax - 1]
# re... |
.emacs.d/elpa/wisi-3.1.3/sal-gen_bounded_definite_vectors.adb | caqg/linux-home | 0 | 30923 | -- Abstract :
--
-- See spec.
--
-- Copyright (C) 2017 - 2019 Free Software Foundation, Inc.
--
-- This library is free software; you can redistribute it and/or modify it
-- under terms of the GNU General Public License as published by the Free
-- Software Foundation; either version 3, or (at your option) ... |
programs/oeis/054/A054900.asm | karttu/loda | 1 | 241261 | ; A054900: (n) = floor(n/16) + floor(n/256) + floor(n/4096) + floor(n/65536) + ....
; 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6
mov $1,$0
div $1,16
|
jitasm/test/x86.asm | Traderain/ProjectNovigrad | 2 | 5485 | <gh_stars>1-10
.686
.model flat, c
.xmm
.code
;----------------------------------------
; SAL
;----------------------------------------
masm_test_sal proc
sal al, cl
sal al, 1
sal al, 2
sal al, -1
sal ax, cl
sal ax, 1
sal ax, 2
sal eax, cl
sal eax, 1
sal eax, 2
sal byte ptr[eax], cl
s... |
test/golang/bug-901.asm | OfekShilon/compiler-explorer | 4,668 | 99412 | <reponame>OfekShilon/compiler-explorer<filename>test/golang/bug-901.asm
"".Fun STEXT nosplit size=14 args=0x0 locals=0x0
0x0000 00000 (test.go:3) TEXT "".Fun(SB), NOSPLIT, $0-0
0x0000 00000 (test.go:3) FUNCDATA $0, gclocals·33cdeccccebe80329f1fdbee7f5874cb(SB)
0x0000 00000 (test.go:3) FUNCDATA $1, gclocals·33cdecccc... |
programs/oeis/089/A089143.asm | karttu/loda | 1 | 129 | <gh_stars>1-10
; A089143: a(n) = 9*2^n - 6.
; 3,12,30,66,138,282,570,1146,2298,4602,9210,18426,36858,73722,147450,294906,589818,1179642,2359290,4718586,9437178,18874362,37748730,75497466,150994938,301989882,603979770,1207959546,2415919098,4831838202,9663676410,19327352826
mov $1,2
pow $1,$0
sub $1,1
mul $1,9
add $1,3
|
programs/oeis/187/A187949.asm | neoneye/loda | 22 | 240116 | ; A187949: Positions of 0 in A187948; complement of A187953.
; 2,5,10,13,15,18,23,26,31,34,36,39,44,47,49,52,57,60,65,68,70,73,78,81,86,89,91,94,99,102,104,107,112,115,120,123,125,128,133,136,138,141,146,149,154,157,159,162,167,170,175,178,180,183,188,191,193,196,201,204,209,212,214,217
seq $0,307295 ; If n is even, a... |
libsrc/video/tms9918/stdio/generic_console/bordercolour.asm | jpoikela/z88dk | 0 | 174384 | ; void bordercolor(int c) __z88dk_fastcall;
;
;
SECTION code_clib
PUBLIC __tms9918_bordercolor
EXTERN conio_map_colour
EXTERN msx_set_border
INCLUDE "video/tms9918/vdp.inc"
IF VDP_EXPORT_DIRECT = 1
PUBLIC bordercolor
PUBLIC _bordercolor
defc bordercolor = __tms9918_bordercolor
defc _bordercolo... |
oeis/057/A057773.asm | neoneye/loda-programs | 11 | 21268 | ; A057773: Sum_{i=1..n} nu_2 ( prime(i) - 1), where prime(i) is the i-th prime and nu_2(m) = exponent of highest power of 2 dividing m.
; 0,1,3,4,5,7,11,12,13,15,16,18,21,22,23,25,26,28,29,30,33,34,35,38,43,45,46,47,49,53,54,55,58,59,61,62,64,65,66,68,69,71,72,78,80,81,82,83,84,86,89,90,94,95,103,104,106,107,109,112,11... |
_anim/obj14.asm | NatsumiFox/AMPS-Sonic-1-2005 | 2 | 83306 | <reponame>NatsumiFox/AMPS-Sonic-1-2005
; ---------------------------------------------------------------------------
; Animation script - lava balls
; ---------------------------------------------------------------------------
dc.w byte_E4CC-Ani_obj14
dc.w byte_E4D2-Ani_obj14
dc.w byte_E4D6-Ani_obj14
dc.w byte_... |
programs/oeis/253/A253130.asm | jmorken/loda | 1 | 20209 | ; A253130: Number of length 2+2 0..n arrays with the sum of medians of adjacent triples multiplied by some arrangement of +-1 equal to zero.
; 12,53,152,345,676,1197,1968,3057,4540,6501,9032,12233,16212,21085,26976,34017,42348,52117,63480,76601,91652,108813,128272,150225,174876,202437,233128,267177,304820,346301,391872... |
scripts/.itunes-volume.applescript | looking-for-a-job/mac-itunes | 1 | 2067 | <reponame>looking-for-a-job/mac-itunes<filename>scripts/.itunes-volume.applescript
#!/usr/bin/osascript
-- volume.applescript [volume]
on run argv
if count of argv is 1 then
tell application "itunes" to set sound volume to (item 1 of argv)
end if
tell application "itunes" to sound volume
end run
|
oeis/010/A010973.asm | neoneye/loda-programs | 11 | 90825 | <reponame>neoneye/loda-programs
; A010973: a(n) = binomial(n,20).
; 1,21,231,1771,10626,53130,230230,888030,3108105,10015005,30045015,84672315,225792840,573166440,1391975640,3247943160,7307872110,15905368710,33578000610,68923264410,137846528820,269128937220,513791607420,960566918220,1761039350070,3169870830126,56082330... |
pwnlib/shellcraft/templates/powerpc/linux/mkdir.asm | zaratec/pwntools | 5 | 167359 |
<%
from pwnlib.shellcraft.powerpc.linux import syscall
%>
<%page args="path, mode"/>
<%docstring>
Invokes the syscall mkdir. See 'man 2 mkdir' for more information.
Arguments:
path(char): path
mode(mode_t): mode
</%docstring>
${syscall('SYS_mkdir', path, mode)}
|
Deck.adb | Entomy/letscode-cards | 4 | 16820 | with Ada.Calendar;
use Ada.Calendar;
package body Deck is
function Draw return Card is
Result : Index_Type := Random(Index_Generator);
begin
while Backing(Result).In_Deck = False loop
Result := Random(Index_Generator);
end loop;
Backing(Result).In_Deck := False;
return Card(Backing(Result));
end Draw;... |
agda-stdlib/src/Algebra/Module/Definitions/Left.agda | DreamLinuxer/popl21-artifact | 5 | 14434 | <filename>agda-stdlib/src/Algebra/Module/Definitions/Left.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Properties of left-scaling
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import ... |
mibench/security/blowfish/asm/win32.asm | hyu-iot/gem5 | 7 | 87406 | ; Don't even think of reading this code
; It was automatically generated by bf586.pl
; Which is a perl program used to generate the x86 assember for
; any of elf, a.out, Win32, or Solaris
; It can be found in SSLeay 0.7.0+
; eric <<EMAIL>>
;
TITLE bfx86xxxx.asm
.386
.model FLAT
_TEXT SEGMENT
PUBLIC _BF... |
src/crawler_interface.ads | mulander/crawler | 1 | 9678 | <reponame>mulander/crawler
-- Copyright (c) 2012, mulander <<EMAIL>>
-- All rights reserved.
-- Use of this source code is governed by a BSD-style license that can be
-- found in the LICENSE file.
with Ada.Finalization;
with Terminal_Interface.Curses;
with Crawler.Entities;
package Crawler_Interface is
package Curs... |
src/z80asm/dev/z80asm_lib/rld.asm | ahjelm/z88dk | 640 | 170137 | ; Substitute for z80 rld instruction
; aralbrec 06.2007
; CPU Min T Max T
; 8080 201 232
; 8085 197 226
; gbz80 164 188
; r2ka 108 125
; z180 18 18
; z80 18 18
; z80n 18 18
SECTION code_l_sccz80
PUBLIC __z80asm__rld
__z80asm__rld:
jr nc, dorld
call ... |
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_21829_583.asm | ljhsiun2/medusa | 9 | 165900 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x127e5, %rsi
lea addresses_D_ht+0x15bd9, %rdi
nop
nop
nop
xor %rdx, %rdx
mov $28, %rcx
rep movsw
nop
sub $55698, %rbp
lea addresses_A_ht+0x1c43d, %r10... |
test/interaction/Issue3152.agda | cruhland/agda | 1,989 | 9422 | <gh_stars>1000+
postulate
M : Set → Set
_>>=_ : ∀ {A B} → M A → (A → M B) → M B
_>>_ : ∀ {A B} → M A → M B → M B
_<|>_ : ∀ {A} → M A → M A → M A
infixr 4 _>>=_ _>>_
infixr -100 _<|>_
expr : ∀ {A} → (A → M A) → (A → M A)
expr f a = do
x ← {!f a!}
y ← {!f x <|> f a!}
{!f x <|> f y!}
{!f x <|> f y!}
|
src/main/antlr4/hu/karsany/vau/grammar/datamodel/DataModel.g4 | karsany/vau | 9 | 3381 | grammar DataModel;
s : entries ;
entries: (entity|link|ref)+ ;
entity : 'entity' entity_name datagroup_definition ;
datagroup_definition : ('{' datagroup* '}')? ;
link : 'link' link_name 'between' entity_name_with_optional_alias (('and'|',') entity_name_with_optional_alias)* (';'|datagroup_definition) ;
entity_n... |
oeis/086/A086403.asm | neoneye/loda-programs | 11 | 1200 | ; A086403: Numerators in continued fraction representation of (e-1)/(e+1).
; Submitted by <NAME>
; 1,6,61,860,15541,342762,8927353,268163352,9126481321,347074453550,14586253530421,671314736852916,33580323096176221,1814008761930368850,105246088515057569521,6527071496695499679152,430891964870418036393553,3016896461242595... |
src/gl/mac/gl-cgl.ads | Roldak/OpenGLAda | 79 | 20944 | -- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with System;
with Interfaces.C.Extensions;
with Interfaces.C.Strings;
with GL.Low_Level;
with GL.Types;
package GL.CGL is
pragma Preelaborate;
use GL.Types;
-- CGL types and constants
subtyp... |
Library/Text/TextGraphic/tgNumber.asm | steakknife/pcgeos | 504 | 25145 | COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1989 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Text/TextGraphic
FILE: tgNumber.asm
METHODS:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description
---- ---- --... |
HS_Resizer/Main.asm | rvaccarim/hs_resizer | 0 | 85336 | <filename>HS_Resizer/Main.asm
;*********************** INCLUDE ****************************
include \masm32\include\masm32rt.inc
;*********************** PROTOTYPES ****************************
Maximize proto :HANDLE
;************************ STRUCTS ****************************
MYRECT STRUCT
lef... |
alloy4fun_models/trashltl/models/5/hyL5Wfa3XyZdcHj3p.als | Kaixi26/org.alloytools.alloy | 0 | 1289 | <gh_stars>0
open main
pred idhyL5Wfa3XyZdcHj3p_prop6 {
all f : File | f not in Trash until f in Trash
}
pred __repair { idhyL5Wfa3XyZdcHj3p_prop6 }
check __repair { idhyL5Wfa3XyZdcHj3p_prop6 <=> prop6o } |
ADL/drivers/stm32g474/stm32-cordic-interrupts.adb | JCGobbi/Nucleo-STM32G474RE | 0 | 27356 | with STM32.Device;
package body STM32.CORDIC.Interrupts is
-------------------------------
-- Calculate_CORDIC_Function --
-------------------------------
procedure Calculate_CORDIC_Function
(This : in out CORDIC_Coprocessor;
Argument : UInt32_Array;
Result : out UInt32_Array)
i... |
src/epl-brackets.ads | OneWingedShark/Risi | 1 | 11512 | <reponame>OneWingedShark/Risi
Pragma Ada_2012;
Pragma Wide_Character_Encoding( UTF8 );
With
Ada.Strings.UTF_Encoding.Conversions,
Ada.strings.UTF_Encoding.Wide_Wide_Strings,
EPL.Types;
Use
EPL.Types;
-- Edward Parse Library.
--
-- ©2015 <NAME>; All Rights Reserved.
Package EPL.Brackets is
Function Bracket( Data :... |
automator/open-iterm.applescript | maxrothman/config | 0 | 4375 | -- Tested using OSX 10.9.5 and iTerm 2.9 nightly builds (though it'd probably work on 2.1)
on run {input, parameters}
tell application "Finder"
set dir_path to quoted form of (POSIX path of (the target of the front window as alias))
end tell
CD_to(dir_path)
end run
on CD_to(q)
tell application "iTerm"
... |
src/test/resources/data/generationtests/sjasm-macro.asm | cpcitor/mdlz80optimizer | 36 | 25866 | ; Test case:
macro mymacro n
and n
endmacro
mymacro 1
loop:
jp loop
|
Ada/problem_10/problem_10.adb | PyllrNL/Project_Euler_Solutions | 0 | 11661 | package body Problem_10 is
function Solution_1 return Int128 is
Primes : P.Vector;
Inc : Integer := 3;
Divisible : Boolean := false;
Sum : Int128 := 0;
begin
Primes.append(2);
while Inc < 2_000_000 loop
Divisible := false;
for Prime of P... |
Transynther/x86/_processed/AVXALIGN/_ht_/i9-9900K_12_0xa0.log_21829_1662.asm | ljhsiun2/medusa | 9 | 102509 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1e562, %r8
nop
nop
nop
nop
nop
add %rcx, %rcx
mov (%r8), %rbx
nop
cmp $15129, %r10
lea addresses_normal_ht+0x18f4d, %rax
nop
nop
xor $14197, %r13
vmovups (%rax), %ymm4
vextra... |
models/tests/test48a.als | transclosure/Amalgam | 4 | 4187 | <filename>models/tests/test48a.als<gh_stars>1-10
module tests/test48a[x]
sig y extends x { g: set f } // This should give a "f cannot be found" error
|
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_783.asm | ljhsiun2/medusa | 9 | 9824 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xe174, %rsi
lea addresses_A_ht+0x8df4, %rdi
clflush (%rsi)
nop
nop
nop
nop
nop
and $47863, %r13
mov $124, %rcx
rep movsw
nop
nop
nop
cmp $17263, %rbp
lea addresses_UC_ht+0... |
prototyping/Properties/Contradiction.agda | TheGreatSageEqualToHeaven/luau | 1 | 8764 | module Properties.Contradiction where
data ⊥ : Set where
¬ : Set → Set
¬ A = A → ⊥
CONTRADICTION : ∀ {A : Set} → ⊥ → A
CONTRADICTION ()
|
software/hal/hpl/STM32/drivers/ltdc/stm32-ltdc.adb | TUM-EI-RCS/StratoX | 12 | 5207 | <filename>software/hal/hpl/STM32/drivers/ltdc/stm32-ltdc.adb
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2016, AdaCore --
-- ... |
libsrc/_DEVELOPMENT/math/float/math48/c/sccz80/cm48_sccz80_ilogb.asm | meesokim/z88dk | 0 | 103862 | <gh_stars>0
; int __FASTCALL__ ilogb(double x)
SECTION code_fp_math48
PUBLIC cm48_sccz80_ilogb
EXTERN am48_ilogb
defc cm48_sccz80_ilogb = am48_ilogb
|
PIM/Projet/src/google_naive.adb | Hathoute/ENSEEIHT | 1 | 27968 | <reponame>Hathoute/ENSEEIHT
with Ada.Unchecked_Deallocation;
package body Google_Naive is
procedure Initialiser(Google: out T_Google) is
begin
for I in 0..Taille-1 loop
for J in 0..Taille-1 loop
Google.G(I,J) := 0.0;
end loop;
end loop;
end Initialiser;
... |
programs/oeis/047/A047613.asm | jmorken/loda | 1 | 96004 | <filename>programs/oeis/047/A047613.asm
; A047613: Numbers that are congruent to {1, 2, 4, 5} mod 8.
; 1,2,4,5,9,10,12,13,17,18,20,21,25,26,28,29,33,34,36,37,41,42,44,45,49,50,52,53,57,58,60,61,65,66,68,69,73,74,76,77,81,82,84,85,89,90,92,93,97,98,100,101,105,106,108,109,113,114,116,117,121,122,124,125,129,130,132,133,... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_181.asm | ljhsiun2/medusa | 9 | 92493 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xb86c, %r15
nop
and $38206, %r8
mov (%r15), %ax
nop
sub $31458, %r14
lea addresses_normal_ht+0x1d668, %rdi
nop
nop
nop
nop
and %r14, %r14
movups (%rdi), %xmm0
vpe... |
Ada/client/src/corbacbsg-cbsg-helper.ads | FredPraca/distributed_cbsg | 4 | 1232 | <gh_stars>1-10
pragma Style_Checks ("NM32766");
pragma Wide_Character_Encoding (Brackets);
---------------------------------------------------
-- This file has been generated automatically from
-- cbsg.idl
-- by IAC (IDL to Ada Compiler) 20.0w (rev. 90136cd4).
---------------------------------------------------
-- ... |
Working Disassembly/General/Sprites/Mantis/Map - Mantis.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 5 | 84604 | Map_361D26: dc.w Frame_361D32-Map_361D26
dc.w Frame_361D46-Map_361D26
dc.w Frame_361D5A-Map_361D26
dc.w Frame_361D86-Map_361D26
dc.w Frame_361D9A-Map_361D26
dc.w Frame_361DA2-Map_361D26
Frame_361D32: dc.w 3
dc.b $FA, $A, 0, 9, 0, 0
dc.b $F4, $A, 0, 0,$FF,$F4
dc.b $FA, $A, 0, 9,$FF,$F8
Frame_361D... |
alloy4fun_models/trashltl/models/10/kNEM75tJZxyJSo3ZY.als | Kaixi26/org.alloytools.alloy | 0 | 4121 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idkNEM75tJZxyJSo3ZY_prop11 {
all f : File | (f not in Protected) implies (after f in Protected)
}
pred __repair { idkNEM75tJZxyJSo3ZY_prop11 }
check __repair { idkNEM75tJZxyJSo3ZY_prop11 <=> prop11o } |
aunit/aunit-test_caller.ads | btmalone/alog | 0 | 22767 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_1440.asm | ljhsiun2/medusa | 9 | 163169 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xa61a, %r11
nop
nop
nop
nop
sub %rcx, %rcx
vmovups (%r11), %ymm3
vextracti128 $0, %ymm3, %xmm3
vpextrq $0, %xmm3, %rax
nop
nop
nop
nop
nop
sub $50358, %r10
lea a... |
_tests/trconvert/antlr2/XQuery.g4 | SKalt/Domemtech.Trash | 16 | 6299 | <filename>_tests/trconvert/antlr2/XQuery.g4<gh_stars>10-100
grammar XQuery;
xpath
:
( module )? EOF
;
module
:
( versionDecl )?
( libraryModule
|
mainModule
)
;
versionDecl
:
'xquery' 'version' STRING_LITERAL ('encoding' STRING_LITERAL)? separator
;
mainModule
:
(xqdocComment)?
prolog
que... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/protected_self_ref2.adb | best08618/asylo | 7 | 17968 | -- { dg-do compile }
procedure Protected_Self_Ref2 is
protected type P is
procedure Foo;
end P;
protected body P is
procedure Foo is
D : Integer;
begin
D := P'Digits; -- { dg-error "denotes current instance" }
end;
end P;
begin
null;
end Protected_Self_Ref2;
|
src/ada/src/services/atbb/assignment_tree_branch_bound.adb | VVCAS-Sean/OpenUxAS | 88 | 11959 | <reponame>VVCAS-Sean/OpenUxAS<gh_stars>10-100
with Ada.Containers; use Ada.Containers;
with Ada.Containers.Formal_Ordered_Maps;
with Ada.Strings.Fixed; use Ada.Strings.Fixed;
with Ada.Strings; use Ada.Strings;
with Ada.Text_IO; use Ada.T... |
oeis/121/A121364.asm | neoneye/loda-programs | 11 | 81328 | <reponame>neoneye/loda-programs
; A121364: Convolution of A066983 with the double Fibonacci sequence A103609.
; Submitted by <NAME>
; 0,0,1,2,3,6,10,18,29,50,81,136,220,364,589,966,1563,2550,4126,6710,10857,17622,28513,46224,74792,121160,196041,317434,513619,831430,1345282,2177322,3522981,5701290,9224881,14927768,24153... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.