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 |
|---|---|---|---|---|
src/grammar/FooParser.g4 | quantumsheep/llvm-antlr4-starter | 10 | 383 | <filename>src/grammar/FooParser.g4
parser grammar FooParser;
options {
tokenVocab = FooLexer;
}
instructions: instruction*;
instruction: ToImplement;
|
Assembler/testMultitask.asm | Rohansi/LoonyVM | 1 | 170274 | <reponame>Rohansi/LoonyVM<filename>Assembler/testMultitask.asm
include 'loonyvm.inc'
; setup first task
mov r0, tasks
mov [r0 + TASK.State], 1
mov [r0 + TASK.Regs.IP], task1
mov [r0 + TASK.Regs.SP], 0x70000
; and second task
add r0, sizeof.TASK
mov [r0 + TASK.State], 1
mov [r0 + TASK.Regs.IP], task2
mov [r0 + TASK.Re... |
tests/unit_tests/sponge_tests.adb | damaki/libkeccak | 26 | 4139 | <gh_stars>10-100
-------------------------------------------------------------------------------
-- Copyright (c) 2016, <NAME>
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
-- * Redistri... |
library/02_functions_batch1/unknown_10005a70.asm | SamantazFox/dds140-reverse-engineering | 1 | 168814 | 10005a70: ff 74 24 04 push DWORD PTR [esp+0x4]
10005a74: e8 d1 ff ff ff call 0x10005a4a
10005a79: 59 pop ecx
10005a7a: ff 74 24 04 push DWORD PTR [esp+0x4]
10005a7e: ff 15 6c d0 00 10 call DWORD PTR ds:0x1000d06c
10005a84: cc int3
|
unittests/ASM/Primary/Primary_86.asm | cobalt2727/FEX | 628 | 169884 | <filename>unittests/ASM/Primary/Primary_86.asm
%ifdef CONFIG
{
"RegData": {
"RAX": "0xFFFFFFFFFFFFFF48",
"RBX": "0x41424344454647FF"
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rdx, 0xe0000000
mov rax, 0x4142434445464748
mov [rdx + 8 * 0], rax
mov rax, 0x5152535455565758
mov [rdx + ... |
include/bits_types_u_fpos64_t_h.ads | docandrew/troodon | 5 | 14108 | pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with bits_types_h;
with bits_types_u_mbstate_t_h;
package bits_types_u_fpos64_t_h is
-- The tag name of this struct is _G_fpos64_t to preserve historic
-- C++ mangled names for functions taking fpos_t and/or fpos64_t
-- argume... |
alloy4fun_models/trashltl/models/18/hszrntuGzvRQ4Ltrf.als | Kaixi26/org.alloytools.alloy | 0 | 4784 | open main
pred idhszrntuGzvRQ4Ltrf_prop19 {
all f : Protected | f in Trash and f not in Protected until f in Protected
}
pred __repair { idhszrntuGzvRQ4Ltrf_prop19 }
check __repair { idhszrntuGzvRQ4Ltrf_prop19 <=> prop19o } |
oeis/115/A115970.asm | neoneye/loda-programs | 11 | 9265 | ; A115970: Expansion of 1/(4*sqrt(1-4*x) - 3).
; Submitted by <NAME>
; 1,8,72,656,5992,54768,500688,4577568,41851560,382641200,3498428272,31985610720,292439802256,2673735097184,24445577182368,223502416896576,2043450657688872,18682977401318064,170815793235313968,1561744394748426336,14278805892823025712,13054908244116581... |
src/statistics.adb | thindil/steamsky | 80 | 7210 | <gh_stars>10-100
-- Copyright 2016-2021 <NAME>
--
-- This file is part of Steam Sky.
--
-- Steam Sky 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
-- (... |
test/Fail/Issue3074.agda | shlevy/agda | 1,989 | 7461 |
module _ where
postulate
A : Set
data Box : Set where
box : A → Box
unbox : Box → A
unbox (box {x}) = x
|
programs/oeis/017/A017118.asm | neoneye/loda | 22 | 11882 | ; A017118: a(n) = (8*n + 4)^6.
; 4096,2985984,64000000,481890304,2176782336,7256313856,19770609664,46656000000,98867482624,192699928576,351298031616,606355001344,1000000000000,1586874322944,2436396322816,3635215077376,5289852801024,7529536000000,10509215371264,14412774445056,19456426971136,25892303048704,34012224000000... |
RecursiveTypes/Substitution.agda | nad/codata | 1 | 11791 | <filename>RecursiveTypes/Substitution.agda
------------------------------------------------------------------------
-- Substitutions
------------------------------------------------------------------------
module RecursiveTypes.Substitution where
open import Data.Fin.Substitution
open import Data.Fin.Substitution.Lem... |
src/libtcod-maps-lines.adb | csb6/libtcod-ada | 0 | 506 | with Interfaces.C, Interfaces.C.Extensions, Ada.Unchecked_Conversion;
package body Libtcod.Maps.Lines is
use bresenham_h, Interfaces.C, Interfaces.C.Extensions;
type Int_Ptr is access all int;
type X_Pos_Ptr is access all X_Pos;
type Y_Pos_Ptr is access all Y_Pos;
function X_Ptr_To_Int_Ptr is new... |
src/BinaryDataDecoders.Text.Json/JsonPath/Parser/JsonPath.g4 | mwwhited/BinaryDataDecoders | 5 | 6257 | <filename>src/BinaryDataDecoders.Text.Json/JsonPath/Parser/JsonPath.g4
grammar JsonPath;
start
: path EOF
;
path
: pathBase sequence
| function
;
pathBase
: ROOT
| RELATIVE
;
sequence
: sequenceItem sequence?
;
sequenceItem
: '.'? (
WILDCARD //.*... |
programs/oeis/182/A182214.asm | karttu/loda | 1 | 10807 | <reponame>karttu/loda
; A182214: Bondage number of the Cartesian product graph G = C_n X K_2.
; 3,2,2,4,3,2,2,4,3,2,2,4,3,2,2,4,3,2,2,4,3,2,2,4,3,2,2,4,3,2,2,4,3,2,2,4,3,2,2,4,3,2,2,4,3,2,2,4,3,2,2,4,3,2,2,4,3,2,2,4,3,2,2,4,3,2,2,4,3,2,2,4,3,2,2,4,3
mov $1,$0
add $1,6
mul $1,3
mod $1,4
trn $1,1
add $1,2
|
libsrc/_DEVELOPMENT/fcntl/c/sdcc_ix/write.asm | meesokim/z88dk | 0 | 4121 | <reponame>meesokim/z88dk
; ssize_t write(int fd, const void *buf, size_t nbyte)
SECTION code_fcntl
PUBLIC _write
EXTERN l0_write_callee
_write:
pop af
pop hl
pop de
pop bc
push bc
push de
push hl
push af
jp l0_write_callee
|
src/stars/tests/floatTest.asm | kevintmcdonnell/stars | 4 | 101220 | <filename>src/stars/tests/floatTest.asm
.data
c: .double 1.8733
.text
main:
li $t2, 2
mtc1 $t2, $f14
li $v0, 10
syscall |
samples/bean.ads | jquorning/ada-el | 6 | 9431 | -----------------------------------------------------------------------
-- bean - A simple bean example
-- Copyright (C) 2009, 2010 <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 License.
-- You... |
Integer8.agda | righ1113/Agda | 0 | 13447 | <reponame>righ1113/Agda
module Integer8 where
open import Data.Nat
open import Data.Nat.Properties
open import Data.Product
open import Relation.Binary.PropositionalEquality as PropEq
-- ---------- record ----------
record IsSemiGroup (A : Set) (_∙_ : A → A → A) : Set where
field
assoc : ∀ x y z → (x ... |
programs/oeis/109/A109493.asm | neoneye/loda | 22 | 91405 | ; A109493: a(n) = 7^((n^2 - n)/2).
; 1,1,7,343,117649,282475249,4747561509943,558545864083284007,459986536544739960976801,2651730845859653471779023381601
bin $0,2
mov $1,7
pow $1,$0
mov $0,$1
|
oeis/249/A249601.asm | neoneye/loda-programs | 11 | 243851 | <gh_stars>10-100
; A249601: Decimal expansion of 1/phi + 1/phi^3 + 1/phi^5 + 1/phi^7, where phi is the Golden Ratio.
; Submitted by <NAME>
; 9,7,8,7,1,3,7,6,3,7,4,7,7,9,1,8,1,2,2,9,6,3,2,3,5,2,1,6,7,8,4,0,0,4,7,2,1,2,6,4,9,2,7,7,5,9,2,1,0,2,0,1,0,4,8,4,4,4,2,1,0,7,6,8,1,0,4,6,9,7,1,9,1,9,6,9,5,1,4,4,3,8,5,1,3,5,1,2,8,7... |
resources/asm/na/actorlistloader_overlay11.asm | SkyTemple/ppmdu | 37 | 101575 | ; For use with ARMIPS v0.7d
; By: <EMAIL>
; 2016/09/17
; For Explorers of Sky North American ONLY!
; ------------------------------------------------------------------------------
; Copyright © 2016 <NAME> <<EMAIL>>
; This work is free. You can redistribute it and/or modify it under the
; terms of the Do What The Fuck ... |
ffight/lcs/boss/17.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 88020 | copyright zengfr site:http://github.com/zengfr/romhack
003CCE move.b #$1, ($17,A3) 003CCE[FF9AA6]
003CD4 move.b ($13,A6), ($69,A3) [boss+17]
004114 clr.b ($17,A6) [1p+42, boss+42, enemy+42]
004118 clr.b ($3,A6)
007360 move.b #$6, ($17,A3) [1p+17]
007366 ori.b #$1, ($68,A1) [boss+17, enemy+17]
0075B8 mo... |
bin/getSong.scpt | bluegill/DiscordMusicStatus | 0 | 2997 | global currentApplication
-- very hacky, couldn't think of a better way to do it
-- todo: use node to parse everything
if application "iTunes" is running then
set currentApplication to "itunes"
tell application "iTunes"
if player state is playing then
set currentTrack to current track
tell currentTrac... |
src/wavefiles_gtk.ads | silentTeee/ada_wavefiles_gtk_app | 0 | 26598 | <filename>src/wavefiles_gtk.ads
-------------------------------------------------------------------------------
--
-- WAVEFILES GTK APPLICATION
--
-- Main Application
--
-- The MIT License (MIT)
--
-- Copyright (c) 2017 <NAME>
--
-- Permission is hereby granted, free o... |
2021-2022-sem1/lab09/demo/demo.asm | adinasm/iocla-demos | 0 | 94897 | %include "../utils/printf32.asm"
section .data
len: dd 5
fmt_len: db "%d", 10, 0
fmt_sum: db "%hd", 10, 0
v: db 1, 2, 3, 4, 5
section .text
extern printf
global main
; https://docs.google.com/presentation/d/1BwDVE_Qo0oo9WduuorB09m3k3QPXAQATZ-7yiqhxnuw/edit?usp=sharing
; short get_sum(char *v, int len);
get_sum:
... |
programs/oeis/131/A131063.asm | neoneye/loda | 22 | 19533 | <filename>programs/oeis/131/A131063.asm
; A131063: Triangle read by rows: T(n,k) = 5*binomial(n,k) - 4 for 0 <= k <= n.
; 1,1,1,1,6,1,1,11,11,1,1,16,26,16,1,1,21,46,46,21,1,1,26,71,96,71,26,1,1,31,101,171,171,101,31,1,1,36,136,276,346,276,136,36,1,1,41,176,416,626,626,416,176,41,1,1,46,221,596,1046,1256,1046,596,221,4... |
1A/S5/PIM/tps/tp4/dates.adb | MOUDDENEHamza/ENSEEIHT | 4 | 7816 | -- Implantation d'un module Dates très simplifié.
with Ada.Text_IO;
use Ada.Text_IO;
with Ada.Integer_Text_IO;
use Ada.Integer_Text_IO;
package body Dates is
procedure Initialiser ( Date : out T_Date ;
Jour : in Integer ;
Mois : in T_Mois ;
... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2_notsx.log_32_1105.asm | ljhsiun2/medusa | 9 | 3048 | .global s_prepare_buffers
s_prepare_buffers:
push %r8
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x1c13, %rax
nop
nop
nop
nop
nop
xor $24505, %r9
mov (%rax), %dx
nop
add $64915, %r8
lea addresses_WT_ht+0x17a86, %rsi
lea addresses_UC_ht+0x55a1, %rdi
clflush (%rdi)
nop
nop
an... |
src/main/antlr4/me/saharnooby/luajssyntax/LuaJSSyntax.g4 | lofcz/lua-js-syntax | 9 | 380 | grammar LuaJSSyntax;
program
: statement* EOF
;
block
: '{' statement* '}'
;
statement
: ';' # Semicolon
| block # BlockStatement
| 'le... |
oeis/067/A067358.asm | neoneye/loda-programs | 11 | 102537 | ; A067358: Imaginary part of (5+12i)^n.
; Submitted by <NAME>
; 0,12,120,-828,-28560,-145668,3369960,58317492,13651680,-9719139348,-99498527400,647549275812,23290743888720,123471611274972,-2701419604443960,-47880898349909868,-22269070348069440,7869181117654073292,82455284065364468280,-505338768229893703548
mul $0,2
mo... |
Relation/Nullary/Discrete/Properties.agda | oisdk/agda-playground | 6 | 11178 | <reponame>oisdk/agda-playground<gh_stars>1-10
{-# OPTIONS --cubical --safe #-}
module Relation.Nullary.Discrete.Properties where
open import Relation.Nullary.Discrete
open import Relation.Nullary.Stable.Properties using (Stable≡→isSet)
open import Relation.Nullary.Decidable.Properties using (Dec→Stable; isPropDec)
o... |
test/LibSucceed/Issue4312.agda | cruhland/agda | 1 | 5784 | <reponame>cruhland/agda
{-# OPTIONS --without-K --safe #-}
open import Level
record Category (o ℓ e : Level) : Set (suc (o ⊔ ℓ ⊔ e)) where
eta-equality
infix 4 _≈_ _⇒_
infixr 9 _∘_
field
Obj : Set o
_⇒_ : Obj → Obj → Set ℓ
_≈_ : ∀ {A B} → (A ⇒ B) → (A ⇒ B) → Set e
_∘_ : ∀ {A B C} → (B ⇒ C) ... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/vect8.adb | best08618/asylo | 7 | 29216 | -- { dg-do compile }
-- { dg-options "-w" }
package body Vect8 is
function Foo (V : Vec) return Vec is
Ret : Vec;
begin
Ret (1) := V (1) + V (2);
Ret (2) := V (1) - V (2);
return Ret;
end;
end Vect8;
|
src/tom/library/sl/ada/sequencestrategy.adb | rewriting/tom | 36 | 30639 | with VisitFailurePackage, VisitablePackage, EnvironmentPackage;
use VisitFailurePackage, VisitablePackage, EnvironmentPackage;
package body SequenceStrategy is
----------------------------------------------------------------------------
-- Object implementation
-----------------------------------------------------... |
test/Succeed/Issue2759.agda | cruhland/agda | 1,989 | 1140 | <gh_stars>1000+
-- Andreas, 2017-09-16, issue #2759
-- Allow empty declaration blocks in the parser.
open import Agda.Builtin.Nat
x0 = zero
mutual
x1 = suc x0
abstract
x2 = suc x1
private
x3 = suc x2
instance
x4 = suc x3
macro
x5 = suc x4
postulate
x6 = suc x5
-- Expected: 6 warnings about empty blocks
mutual
pos... |
.github/idt.asm | Amankhan-ally/theunbelievables | 0 | 100750 | [extern _idt]
idtDescriptor:
dw 4095
dq _idt
%macro PUSHALL 0
push rax
push rcx
push rdx
push r8
push r9
push r10
push r11
%endmacro
%macro POPALL 0
pop r11
pop r10
pop r9
pop r8
pop rdx
pop rcx
pop rax
%endmacro
[extern isr1_handler]... |
programs/oeis/233/A233905.asm | karttu/loda | 0 | 82012 | <filename>programs/oeis/233/A233905.asm
; A233905: a(2n) = a(n), a(2n+1) = a(n) + n, with a(0)=0.
; 0,0,0,1,0,2,1,4,0,4,2,7,1,7,4,11,0,8,4,13,2,12,7,18,1,13,7,20,4,18,11,26,0,16,8,25,4,22,13,32,2,22,12,33,7,29,18,41,1,25,13,38,7,33,20,47,4,32,18,47,11,41,26,57,0,32,16,49,8,42,25,60,4,40,22,59,13,51,32,71,2,42,22,63,12,... |
Mid-Term/Solution/5.asm | afra-tech/CSE331L-Section-1-Fall20-NSU | 0 | 166288 | org 100H
A DB 1,1,2,2,3,3
B DB 6 DUP(?)
MOV DX, OFFSET A
MOV BX, OFFSET B
MOV CX, 6
loopcopy:
MOV AL, [A]
MOV [B], AL
INC DX
INC BX
LOOP loopcopy
ret
|
array_utils/tests/src/array_utils-test_cases.adb | jgrivera67/projects-with-amy | 0 | 28070 | with AUnit.Assertions;
package body Array_Utils.Test_Cases is
Test_Array : constant Array_Type (1 .. 8) := (10, 20, 30, 40, 50, 60, 70, 80);
procedure Test_Linear_Search_Element_Found_First_Entry (T : in out Test_Case) is
pragma Unreferenced (T);
begin
AUnit.Assertions.Assert (Linear_Search (Tes... |
4-high/gel/applet/demo/distributed/gel_demo_services.adb | charlie5/lace | 20 | 4635 | with
gel_demo_Server;
package body gel_demo_Services
is
function World return gel.remote.World.view
is
begin
return gel_demo_Server.the_server_World.all'access;
end World;
end gel_demo_Services;
|
agda-stdlib/README/Debug/Trace.agda | DreamLinuxer/popl21-artifact | 5 | 16222 | <gh_stars>1-10
------------------------------------------------------------------------
-- The Agda standard library
--
-- An example showing how the Debug.Trace module can be used
------------------------------------------------------------------------
{-# OPTIONS --without-K #-}
module README.Debug.Trace where
---... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr26.adb | best08618/asylo | 7 | 19557 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr26.adb<gh_stars>1-10
-- { dg-do compile }
-- { dg-options "-gnatws" }
package body Discr26 is
function F1 return My_T1 is
R: My_T1;
begin
return R;
end;
procedure Proc is
begin
if F1.D = 0 then
raise Program_Error;
end if;
e... |
source/asis/asis-gela-overloads-types.adb | faelys/gela-asis | 4 | 29762 | <gh_stars>1-10
------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org ... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd3015e.ada | best08618/asylo | 7 | 24381 | <reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd3015e.ada<gh_stars>1-10
-- CD3015E.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 ... |
libsrc/oz/ozmisc/ozquiet.asm | grancier/z180 | 0 | 5071 | <gh_stars>0
;
; Sharp OZ family functions
;
; ported from the OZ-7xx SDK by by <NAME>
; by <NAME> - Oct. 2003
;
;
; void ozquiet()
;
; ------
; $Id: ozquiet.asm,v 1.3 2016/06/28 14:48:17 dom Exp $
;
SECTION code_clib
PUBLIC ozquiet
PUBLIC _ozquiet
EXTERN ozclick
EXTERN ozclick_setting
ozquiet:
_ozquiet... |
Task/Abundant,-deficient-and-perfect-number-classifications/Ada/abundant,-deficient-and-perfect-number-classifications.ada | LaudateCorpus1/RosettaCodeData | 1 | 4200 | <filename>Task/Abundant,-deficient-and-perfect-number-classifications/Ada/abundant,-deficient-and-perfect-number-classifications.ada
with Ada.Text_IO, Generic_Divisors;
procedure ADB_Classification is
function Same(P: Positive) return Positive is (P);
package Divisor_Sum is new Generic_Divisors
(Result_Type... |
programs/oeis/112/A112532.asm | jmorken/loda | 1 | 24048 | <reponame>jmorken/loda<filename>programs/oeis/112/A112532.asm
; A112532: First differences of [0, A047970].
; 1,1,3,9,29,101,379,1525,6549,29889,144419,736241,3947725,22201549,130624587,802180701,5131183301,34121977865,235486915507,1683925343929,12458499203901,95237603403381,751291094637083,6108883628141189
mov $12,$0... |
src/haip_controller/Debug/IOX.dxe.asm | Maracars/haip_controller | 0 | 245046 | <gh_stars>0
.section/data .executable_name;
.global __executable_name;
.BYTE __executable_name[] = 'IOX.dxe', 0;
|
programs/oeis/120/A120159.asm | neoneye/loda | 22 | 82204 | ; A120159: a(1)=15; a(n)=floor((47+sum(a(1) to a(n-1)))/3).
; 15,20,27,36,48,64,85,114,152,202,270,360,480,640,853,1137,1516,2022,2696,3594,4792,6390,8520,11360,15146,20195,26927,35902,47870,63826,85102,113469,151292,201723,268964,358618,478158,637544,850058,1133411
mov $1,2
lpb $0
sub $0,1
add $1,1
mul $1,4
a... |
programs/oeis/199/A199972.asm | karttu/loda | 0 | 6822 | <gh_stars>0
; A199972: a(n) = the sum of GCQ_B(n, k) for 1 <= k <= n (see definition in comments).
; 0,0,4,9,19,29,41,55,71,89,109,131,155,181,209,239,271,305,341,379,419,461,505,551,599,649,701,755,811,869,929,991,1055,1121,1189,1259,1331,1405,1481,1559,1639,1721,1805,1891,1979,2069
mov $2,$0
mov $4,$0
lpb $2,1
lp... |
oeis/005/A005431.asm | neoneye/loda-programs | 11 | 95476 | <reponame>neoneye/loda-programs
; A005431: Embeddings of n-bouquet in sphere.
; Submitted by <NAME>
; 1,1,4,40,672,16128,506880,19768320,922521600,50185175040,3120605429760,218442380083200,17004899126476800,1457562782269440000,136427876420419584000,13847429456672587776000,1515071693494765486080000,177768412036719150366... |
oeis/060/A060882.asm | neoneye/loda-programs | 11 | 26244 | ; A060882: a(n) = n-th primorial (A002110) minus next prime.
; Submitted by <NAME>
; -1,-1,1,23,199,2297,30013,510491,9699667,223092841,6469693199,200560490093,7420738134769,304250263527167,13082761331669983,614889782588491357,32589158477190044671,1922760350154212639009,117288381359406970983203,785832155108026705587901... |
oeis/052/A052982.asm | neoneye/loda-programs | 11 | 12759 | ; A052982: Expansion of ( 1-x ) / ( 1-2*x-2*x^2+x^4 ).
; Submitted by <NAME>
; 1,1,4,10,27,73,196,528,1421,3825,10296,27714,74599,200801,540504,1454896,3916201,10541393,28374684,76377258,205587683,553388489,1489577660,4009555040,10792677717,29051077025,78197931824,210488462658,566580111247,1525086070785
mov $1,1
mov $... |
src/kafka-topic.ads | Latence-Technologies/Kafka-Ada | 0 | 16125 | <filename>src/kafka-topic.ads
--
-- Provides kafka functionality to interact with Topics
--
package Kafka.Topic is
--
-- Creates a handle for a given topic. Does not perform the admin command
-- to create a topic
--
-- librdkafka equivalent: rd_kafka_topic_new
--
function Create_Topic_Handl... |
libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sccz80/fma.asm | Frodevan/z88dk | 0 | 171815 | <filename>libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sccz80/fma.asm
SECTION code_fp_math16
PUBLIC f16_fma
EXTERN cm16_sccz80_fma
defc f16_fma = cm16_sccz80_fma
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _f16_fma
EXTERN cm16_sdcc_fma
defc _f16_fma = cm16_sdcc_fma
ENDIF
|
alloy4fun_models/trainstlt/models/4/sPq6DgQx9fyFExid8.als | Kaixi26/org.alloytools.alloy | 0 | 745 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idsPq6DgQx9fyFExid8_prop5 {
}
pred __repair { idsPq6DgQx9fyFExid8_prop5 }
check __repair { idsPq6DgQx9fyFExid8_prop5 <=> prop5o } |
oeis/021/A021233.asm | neoneye/loda-programs | 11 | 245057 | <filename>oeis/021/A021233.asm
; A021233: Decimal expansion of 1/229.
; Submitted by Jon Maiga
; 0,0,4,3,6,6,8,1,2,2,2,7,0,7,4,2,3,5,8,0,7,8,6,0,2,6,2,0,0,8,7,3,3,6,2,4,4,5,4,1,4,8,4,7,1,6,1,5,7,2,0,5,2,4,0,1,7,4,6,7,2,4,8,9,0,8,2,9,6,9,4,3,2,3,1,4,4,1,0,4,8,0,3,4,9,3,4,4,9,7,8,1,6,5,9,3,8,8,6
add $0,1
mov $3,1
lpb $0... |
oeis/066/A066066.asm | neoneye/loda-programs | 11 | 98882 | <filename>oeis/066/A066066.asm
; A066066: a(n) = prime(2*n) - 2*prime(n).
; Submitted by <NAME>(s2)
; -1,1,3,5,7,11,9,15,15,13,17,15,19,21,19,25,21,29,29,31,35,35,33,45,35,37,45,49,53,55,39,49,43,59,51,57,59,57,63,63,63,71,61,71,69,81,69,57,67,83,91,91,95,91,87,87,81,99,93,97,107,97,87,97,107,109,95,95,93,111,115,109,1... |
unittests/ASM/X87_F64/D9_05_F64.asm | Seas0/FEX | 0 | 95036 | %ifdef CONFIG
{
"Env": { "FEX_X87REDUCEDPRECISION" : "1" }
}
%endif
mov rdx, 0xe0000000
; Just to ensure execution
fldcw [rdx]
hlt
|
oeis/209/A209084.asm | neoneye/loda-programs | 11 | 173240 | <reponame>neoneye/loda-programs
; A209084: a(n) = 2*a(n-1) + 4*a(n-2) with n>1, a(0)=0, a(1)=4.
; Submitted by <NAME>(s2)
; 0,4,8,32,96,320,1024,3328,10752,34816,112640,364544,1179648,3817472,12353536,39976960,129368064,418643968,1354760192,4384096256,14187233280,45910851584,148570636288,480784678912,1555851902976,5034... |
libtool/src/gmp-6.1.2/mpn/alpha/sqr_diag_addlsh1.asm | kroggen/aergo | 1,602 | 27689 | dnl Alpha mpn_sqr_diag_addlsh1.
dnl Copyright 2013 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GNU Lesser General Public License as published by th... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2790.asm | ljhsiun2/medusa | 9 | 167595 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x7af0, %rsi
lea addresses_WC_ht+0xa0b0, %rdi
sub %r15, %r15
mov $68, %rcx
rep movsl
nop
nop
nop
nop
nop
xor $34774, %r13
lea addresses_D_ht+0x18ff0, %r12
nop
and $62547, %r8
mo... |
kDevice16.asm | satadriver/LiunuxOS_t | 0 | 165271 | .386p
;why use32 disassemblly error?
Kernel16 Segment public para use16
assume cs:Kernel16
__initDevices proc
call __initSysTimer
call __initCmosRlt16
call __initMousePort
call __init8259
call __enableA20
call __initNMI
ret
__initDevices endp
;端口70H的位7控制NMI
;bit7 = 0,open NMI,else mask NMI
;enable NMI
;mo... |
TrafficLight13/Release/tst01.asm | lugovskovp/TrafficLight13 | 10 | 174439 |
./Release/tst01.elf: file format elf32-avr
Disassembly of section .text:
00000000 <__vectors>:
0: 09 c0 rjmp .+18 ; 0x14 <__ctors_end>
2: 16 c0 rjmp .+44 ; 0x30 <__bad_interrupt>
4: 15 c0 rjmp .+42 ; 0x30 <__bad_interrupt>
6: 14 c0 rjmp .+40 ; 0x30 <__... |
oeis/347/A347167.asm | neoneye/loda-programs | 11 | 171545 | ; A347167: Numbers k such that phi(binomial(k,2)) is a power of 2.
; Submitted by <NAME>
; 2,3,4,5,6,16,17,256,257,65536,65537,4294967296
sub $0,1
mov $3,2
lpb $0
sub $0,2
mov $2,$1
mov $1,1
pow $3,2
lpe
sub $2,$3
sub $2,7
sub $0,$2
sub $0,6
|
src/commands/makeewds.adb | Alex-Vasile/whitakers-words | 3 | 27024 | -- WORDS, a Latin dictionary, by <NAME> (USAF, Retired)
--
-- Copyright <NAME> (1936–2010)
--
-- This is a free program, which means it is proper to copy it and pass
-- it on to your friends. Consider it a developmental item for which
-- there is no charge. However, just for form, it is Copyrighted
-- (c). Permission i... |
Cubical/Data/FinSet/Constructors.agda | howsiyu/cubical | 0 | 3955 | <reponame>howsiyu/cubical
{-
This files contains:
- Facts about constructions on finite sets, especially when they preserve finiteness.
-}
{-# OPTIONS --safe #-}
module Cubical.Data.FinSet.Constructors where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Foundati... |
programs/oeis/176/A176900.asm | karttu/loda | 1 | 27794 | <filename>programs/oeis/176/A176900.asm
; A176900: sin((2*n+5)*Pi/6)*(n+1)*2^(n+1)
; 1,-4,-24,-32,80,384,448,-1024,-4608,-5120,11264,49152,53248,-114688,-491520,-524288,1114112,4718592,4980736,-10485760,-44040192,-46137344,96468992,402653184,419430400,-872415232,-3623878656,-3758096384
mov $2,$0
sub $2,1
mov $1,$2
add... |
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/日本_Ver1/sfc/ys_w27.asm | prismotizm/gigaleak | 0 | 12893 | <reponame>prismotizm/gigaleak
Name: ys_w27.asm
Type: file
Size: 22875
Last-Modified: '2016-05-13T04:51:15Z'
SHA-1: 55CDBA4BC5E98CD5309173F7F66D8A6C6343373F
Description: null
|
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_232.asm | ljhsiun2/medusa | 9 | 25347 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xf461, %rdi
dec %r15
movups (%rdi), %xmm1
vpextrq $1, %xmm1, %rax
nop
nop
nop
nop
nop
add %r8, %r8
lea addresses_WT_ht+0x12c61, %r15
nop
nop
nop
nop
add $44731, %r10... |
Working Disassembly/Levels/LRZ/Misc Object Data/Map - Chained Platforms.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 5 | 21898 | dc.w word_4A982-Map_LRZChainedPlatforms
word_4A982: dc.w 6 ; DATA XREF: ROM:0004A980o
dc.b $E8, 9, 0, $57, $FF, $E8
dc.b $E8, 9, 8, $57, 0, 0
dc.b $F8, 9, 0, $57, $FF, $E8
dc.b $F8, 9, 8, $57, 0, 0
dc.b 8, 9, 0, $5D, $FF, $E8
dc.b 8, 9, 8, $5D, 0, 0
|
alloy4fun_models/trashltl/models/8/vqLsvTJBsSbSHMXga.als | Kaixi26/org.alloytools.alloy | 0 | 3594 | <reponame>Kaixi26/org.alloytools.alloy<gh_stars>0
open main
pred idvqLsvTJBsSbSHMXga_prop9 {
all f: File | always(f in Protected implies always f not in Trash)
}
pred __repair { idvqLsvTJBsSbSHMXga_prop9 }
check __repair { idvqLsvTJBsSbSHMXga_prop9 <=> prop9o } |
Tareas/Ensamblador/tasm/BIN/graph.asm | TEC-2014092195/IC3101-Arquitectura_De_Computadores | 0 | 96521 | ; ***************************************************
; Asterisco rebotador en la pantalla
; ***************************************************
Pila Segment Stack 'Stack'
dw 2048 dup(?)
Pila Ends
Datos Segment
FIL DB 0
COL DB 0
DIR DB 4
ASTERIX DB '*' ; Fondo negro y as... |
engine/events/card_key.asm | Dev727/ancientplatinum | 28 | 83572 | <filename>engine/events/card_key.asm
_CardKey:
; Are we even in the right map to use this?
ld a, [wMapGroup]
cp GROUP_RADIO_TOWER_3F
jr nz, .nope
ld a, [wMapNumber]
cp MAP_RADIO_TOWER_3F
jr nz, .nope
; Are we facing the slot?
ld a, [wPlayerDirection]
and %1100
cp OW_UP
jr nz, .nope
call GetFacingTileCoord
... |
programs/oeis/131/A131478.asm | karttu/loda | 1 | 23311 | <filename>programs/oeis/131/A131478.asm
; A131478: a(n) = ceiling(n^4/4).
; 0,1,4,21,64,157,324,601,1024,1641,2500,3661,5184,7141,9604,12657,16384,20881,26244,32581,40000,48621,58564,69961,82944,97657,114244,132861,153664,176821,202500,230881,262144,296481,334084,375157,419904,468541,521284,578361,640000,706441,777924,... |
programs/oeis/245/A245087.asm | karttu/loda | 0 | 167934 | ; A245087: Largest number such that 2^a(n) is a divisor of (n!)!.
; 0,0,1,4,22,116,716,5034,40314,362874,3628789,39916793,479001588,6227020788,87178291188,1307674367982,20922789887982,355687428095978,6402373705727977
mov $3,1
mov $2,$0
lpb $3,1
fac $2
lpb $2,1
div $2,2
sub $3,$0
add $1,$2
lpe
lpe
|
ThueMorse.agda | nad/codata | 1 | 17160 | <reponame>nad/codata
------------------------------------------------------------------------
-- An implementation of the Thue-Morse sequence
------------------------------------------------------------------------
-- The paper "Productivity of stream definitions" by Endrullis et al.
-- (TCS 2010) uses a certain defin... |
programs/oeis/141/A141425.asm | neoneye/loda | 22 | 13151 | <filename>programs/oeis/141/A141425.asm
; A141425: Period 6: repeat [1, 2, 4, 5, 7, 8].
; 1,2,4,5,7,8,1,2,4,5,7,8,1,2,4,5,7,8,1,2,4,5,7,8,1,2,4,5,7,8,1,2,4,5,7,8,1,2,4,5,7,8,1,2,4,5,7,8,1,2,4,5,7,8,1,2,4,5,7,8,1,2,4,5,7,8,1,2,4,5,7,8,1,2,4,5,7,8,1,2,4,5,7,8,1,2,4,5,7,8,1,2,4,5,7,8,1,2,4,5
mod $0,6
mul $0,3
div $0,2
ad... |
programs/oeis/200/A200919.asm | neoneye/loda | 22 | 3440 | ; A200919: Number of crossings on periodic braids with n strands such that all strands meet.
; 0,0,0,1,3,5,9,13,19,25,34
trn $0,2
seq $0,8804 ; Expansion of 1/((1-x)^2*(1-x^2)*(1-x^4)).
sub $0,1
|
awa/src/awa-components-wikis.ads | fuzzysloth/ada-awa | 0 | 12695 | -----------------------------------------------------------------------
-- awa-components-wikis -- Wiki rendering component
-- Copyright (C) 2011, 2015, 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... |
projects/batfish/src/main/antlr4/org/batfish/grammar/cisco/Cisco_callhome.g4 | sskausik08/Wilco | 0 | 7715 | parser grammar Cisco_callhome;
import Cisco_common;
options {
tokenVocab = CiscoLexer;
}
call_home_null
:
NO?
(
ALERT_GROUP
| CONTACT
| CONTACT_EMAIL_ADDR
| CONTACT_NAME
| CONTRACT_ID
| CUSTOMER_ID
| MAIL_SERVER
| PHONE_NUMBER
| SENDER
| SERVICE
... |
programs/oeis/179/A179207.asm | karttu/loda | 1 | 85671 | ; A179207: a(n) = n - 1 + ceiling((-3 + n^2)/2) if n > 1 with a(1)=1, complement of A182835.
; 1,2,5,10,15,22,29,38,47,58,69,82,95,110,125,142,159,178,197,218,239,262,285,310,335,362,389,418,447,478,509,542,575,610,645,682,719,758,797,838,879,922,965,1010,1055,1102,1149,1198,1247,1298,1349,1402,1455,1510,1565,1622,1679... |
sources/google_naive.adb | theurt/PageRank | 0 | 17938 | <gh_stars>0
with Ada.Text_IO; use Ada.Text_IO;
package body Google_Naive is
procedure Initialiser (matrice : out T_Google_Naive; dimensions_ligne : in Integer; dimensions_colonne : in Integer) is
begin
matrice.nb_ligne := dimensions_ligne;
matrice.nb_colonne := dimensions_colonne;
end ... |
data/pokemon/dex_entries/cresselia.asm | AtmaBuster/pokeplat-gen2 | 6 | 161358 | <filename>data/pokemon/dex_entries/cresselia.asm
db "LUNAR@" ; species name
db "Those who sleep"
next "holding CRESSELIA's"
next "feather are"
page "assured of joyful"
next "dreams. It's shaped"
next "like the moon.@"
|
bbc/bbcmaster.asm | peter-mount/departures8bit | 0 | 83794 | ; ********************************************************************************
; BBC Master 128 ROM image
; ********************************************************************************
; Select 65c02
CPU 1
INCLUDE "../macros.asm" ; Our macros
INCLUDE "../zeropage.asm" ... |
HDMA5.asm | nesdoug/SNES_11 | 3 | 92239 | <gh_stars>1-10
;hdma effect 5
;use a window to color a portion of the screen
;combining windows and color math (fixed color)
;2 separate hdma channels, for window
Set_F5:
A8
XY16
;Note: windows NOT active on main nor sub screens,
;$2123-4, $212e-f
;but it IS active for color math...
lda #$20 ;Window 1 active fo... |
PostgreSQL/Scripts/PGPrefsRunAsAdmin.applescript | MaccaTech/PostgresPrefs | 87 | 496 | #
# PGPrefsRunAsAdmin.applescript
# PostgresPrefs
#
# Created by <NAME> on 24/12/11.
# Copyright (c) 2011-2020 Macca Tech Ltd. (http://macca.tech)
# (See LICENCE.txt)
#
# ==============================================================
#
# OVERVIEW:
# ---------
#
# Executes all received arguments on the shell with a... |
src/NTypes/Sigma.agda | vituscze/HoTT-lectures | 0 | 5107 | <reponame>vituscze/HoTT-lectures
{-# OPTIONS --without-K #-}
module NTypes.Sigma where
open import NTypes
open import PathOperations
open import PathStructure.Sigma
open import Transport
open import Types
Σ-isSet : ∀ {a b} {A : Set a} {B : A → Set b} →
isSet A → (∀ x → isSet (B x)) → isSet (Σ A B)
Σ-isSet {A = A} {... |
oeis/024/A024712.asm | neoneye/loda-programs | 11 | 102684 | ; A024712: a(n) = residue mod 3 of n-th term of A024702.
; Submitted by <NAME>
; 1,2,2,1,0,0,1,2,1,0,1,2,2,0,1,2,1,0,0,2,2,0,2,2,1,0,0,1,0,1,2,1,1,2,1,0,1,2,0,0,2,1,0,0,1,2,2,1,0,1,2,0,1,2,0,0,2,2,1,1,0,1,2,2,2,1,1,2,2,0,2,1,0,1,2,0,1,1,1,2,0,0,2,2,0,2,2,1,0,2,0,1,1,0,1,0,0,0,2,0
seq $0,173064 ; a(n) = prime(n) - 5.
a... |
Applescript/Mask_Toggle.applescript | dustindmiller/QTableTop | 1 | 2150 | tell application id "com.figure53.QLab.4" to tell front workspace
##set mapList to (q number of cues of cue "MAPS")
##set mapName to (choose from list mapList with title "Toggle Masks" with prompt "Select Map..." OK button name {"Select"} cancel button name {"Cancel"}) as string
set mapName to q name of cue "Map Tog... |
src/Prelude/Bytes.agda | lclem/agda-prelude | 0 | 13729 | module Prelude.Bytes where
open import Prelude.Bool
open import Prelude.Decidable
open import Prelude.Equality
open import Prelude.Equality.Unsafe
{-# FOREIGN GHC import qualified Data.ByteString as B #-}
postulate
Bytes : Set
{-# COMPILE GHC Bytes = type B.ByteString #-}
private
module Internal where
post... |
libsrc/_DEVELOPMENT/string/c/sccz80/bcmp.asm | meesokim/z88dk | 0 | 101075 | <gh_stars>0
; BSD
; int bcmp (const void *b1, const void *b2, size_t len)
SECTION code_string
PUBLIC bcmp
EXTERN memcmp
defc bcmp = memcmp
|
3-mid/opengl/source/lean/io/opengl-io.adb | charlie5/lace | 20 | 24223 | with
openGL.Images,
openGL.Viewport,
openGL.Tasks,
openGL.Errors,
GID,
GL.Binding,
GL.safe,
GL.Pointers,
ada.unchecked_Conversion,
ada.Calendar,
ada.Characters.handling,
System;
package body openGL.IO
is
use ada.Characters.handling,
ada.Streams.... |
libsrc/_DEVELOPMENT/input/zx/c/sccz80/in_mouse_kempston_wheel_delta.asm | jpoikela/z88dk | 640 | 101490 | <filename>libsrc/_DEVELOPMENT/input/zx/c/sccz80/in_mouse_kempston_wheel_delta.asm
; int16_t in_mouse_kempston_wheel_delta(void)
SECTION code_clib
SECTION code_input
PUBLIC in_mouse_kempston_wheel_delta
EXTERN asm_in_mouse_kempston_wheel_delta
defc in_mouse_kempston_wheel_delta = asm_in_mouse_kempston_wheel_delta
|
oeis/153/A153141.asm | neoneye/loda-programs | 11 | 90630 | ; A153141: Permutation of nonnegative integers: A059893-conjugate of A153151.
; Submitted by <NAME>
; 0,1,3,2,7,6,4,5,15,14,12,13,8,9,10,11,31,30,28,29,24,25,26,27,16,17,18,19,20,21,22,23,63,62,60,61,56,57,58,59,48,49,50,51,52,53,54,55,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,127,126,124,125,120,121,122,123,112,... |
.emacs.d/elpa/ada-mode-7.1.4/wisi-gpr.ads | caqg/linux-home | 0 | 17531 | -- Abstract :
--
-- Ada implementation of:
--
-- [1] gpr-wisi.el
-- [2] gpr-indent-user-options.el
--
-- 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 F... |
pwnlib/shellcraft/templates/thumb/mov.asm | kristoff3r/pwntools | 1 | 25799 | <gh_stars>1-10
<% from pwnlib.shellcraft import common %>
<%page args="dst, src"/>
<%docstring>
mov(dst, src)
Returns THUMB code for moving the specified source value
into the specified destination register.
</%docstring>
/* Set ${dst} = ${src} */
%if not isinstance(src, (int, long)):
mov ${dst}, ${src... |
src/drivers/usb_u2222/sam-usb.adb | Fabien-Chouteau/samd51-hal | 1 | 1086 | <reponame>Fabien-Chouteau/samd51-hal
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2021, AdaCore --
-- ... |
src/asis/asis-data_decomposition-extensions.ads | My-Colaborations/dynamo | 15 | 4494 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.