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 |
|---|---|---|---|---|
extern/gnat_sdl/gnat_sdl2/src/sdl_render_h.ads | AdaCore/training_material | 15 | 1413 | pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with SDL_stdinc_h;
with Interfaces.C.Strings;
with System;
limited with SDL_video_h;
limited with SDL_surface_h;
with SDL_blendmode_h;
limited with SDL_rect_h;
package SDL_render_h is
-- Simple DirectMedia Layer
-- Copyright (C) 1... |
programs/oeis/269/A269044.asm | neoneye/loda | 22 | 243250 | <reponame>neoneye/loda
; A269044: a(n) = 13*n + 7.
; 7,20,33,46,59,72,85,98,111,124,137,150,163,176,189,202,215,228,241,254,267,280,293,306,319,332,345,358,371,384,397,410,423,436,449,462,475,488,501,514,527,540,553,566,579,592,605,618,631,644,657,670,683,696,709,722,735,748,761,774,787,800,813,826,839,852,865,878,891,... |
Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2_notsx.log_13363_1252.asm | ljhsiun2/medusa | 9 | 162512 | <filename>Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2_notsx.log_13363_1252.asm
.global s_prepare_buffers
s_prepare_buffers:
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xcb03, %rsi
lea addresses_A_ht+0x16103, %rdi
nop
nop
nop
nop
inc %rbp
mov $123, %rcx
rep movsb
nop
nop
cmp $39867, %rbx
... |
mp3/extra.asm | Candy-Crusher/ece220 | 0 | 2388 | <filename>mp3/extra.asm
.ORIG x4800
.FILL x15 ; M W F
.FILL NAME1 ; "A"
.FILL x0290 ; 10, 13, 15
.FILL x01 ; F
.FILL NAME2 ; "B"
.FILL x8114 ; 8, 10, 14
.FILL x1F ; M Tu W Th F
.FILL NAME3 ; "C"
.FILL x0424 ; 8, 11, 16
.FILL x0B ; Tu Th F
.FILL NAME4 ; "D"
.FILL x0128 ; 9, 11, 14
.FILL x1C ; M Tu W
... |
programs/oeis/009/A009979.asm | neoneye/loda | 22 | 16091 | <gh_stars>10-100
; A009979: Powers of 35.
; 1,35,1225,42875,1500625,52521875,1838265625,64339296875,2251875390625,78815638671875,2758547353515625,96549157373046875,3379220508056640625,118272717781982421875,4139545122369384765625,144884079282928466796875,5070942774902496337890625,177482997121587371826171875,621190489925... |
SiriRemote/AppleRemote_1FingeTouchPadTopClick_HOLD.applescript | guileschool/SiriRemoteBTT | 20 | 716 | <filename>SiriRemote/AppleRemote_1FingeTouchPadTopClick_HOLD.applescript
(*
The MIT License (MIT)
Copyright (c) 2015 guileschool
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restrictio... |
tracker-presentation.ads | mimo/Tracker | 1 | 2698 | <filename>tracker-presentation.ads<gh_stars>1-10
with Surface.Window;
package tracker.presentation is
type instance is new Surface.Window.Instance with record
Book_Completion : Collection;
end record;
overriding procedure Setup (self : in out instance);
overriding procedure Update (self : in out in... |
Cameras/Greedfall/InjectableGenericCameraSystem/Interceptor.asm | ashelleyPurdue/InjectableGenericCameraSystem | 0 | 15443 | <reponame>ashelleyPurdue/InjectableGenericCameraSystem
;////////////////////////////////////////////////////////////////////////////////////////////////////////
;// Part of Injectable Generic Camera System
;// Copyright(c) 2019, <NAME>
;// All rights reserved.
;// https://github.com/FransBouma/InjectableGenericCameraSy... |
interpreter/parser/TypedLambda.g4 | WunschUnreif/CS383-Visualization | 2 | 5421 | <filename>interpreter/parser/TypedLambda.g4
grammar TypedLambda;
program : SP* (using SP*)* SP* expr SP*;
using
: OPEN_MID SP* USING SP* IDENTIFIER SP* EQ SP* type SP* CLOSE_MID;
expr
: variable # e_variable
| literal ... |
libsrc/target/z88/input/in_keytranstbl.asm | ahjelm/z88dk | 640 | 92299 |
; This table translates key presses into ascii codes.
; Also used by 'GetKey' and 'LookupKey'. An effort has been made for
; this key translation table to emulate a PC keyboard with the 'CTRL'
; key represented by CAPS SHIFT + SYM SHIFT.
SECTION rodata_clib
PUBLIC in_keytranstbl
.in_keytranstbl
defb 255, 255, ... |
src/convtest/aviotest0.adb | shintakezou/adaplayground | 0 | 33 | <filename>src/convtest/aviotest0.adb
with Measure_Units; use Measure_Units;
with Ada.Text_IO; use Ada.Text_IO;
procedure Aviotest0 is
Avg_Speed : Kn := 350.0;
Travel_Time : Duration := 2.0 * 3600.0; -- two hours
CR : Climb_Rate := 1500.0;
Climb_Time : Duration := 60.0 * 20; -- 2 minutes
Alt0... |
Task/Text-processing-1/Ada/text-processing-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 29025 | <reponame>LaudateCorpus1/RosettaCodeData<gh_stars>1-10
with Ada.Text_IO; use Ada.Text_IO;
with Strings_Edit; use Strings_Edit;
with Strings_Edit.Floats; use Strings_Edit.Floats;
with Strings_Edit.Integers; use Strings_Edit.Integers;
procedure Data_Munging is
Syntax_Error : exception;
typ... |
Algorithms/List/Sort/Quick/Properties.agda | rei1024/agda-misc | 3 | 1454 | <reponame>rei1024/agda-misc
-- Properties of quicksort
{-# OPTIONS --without-K --safe #-}
open import Relation.Binary
module Algorithms.List.Sort.Quick.Properties
{c l₁ l₂} (DTO : DecTotalOrder c l₁ l₂)
where
-- agda-stdlib
open import Level
open import Data.List
import Data.List.Properties as Listₚ
import... |
source/oasis/program-elements-anonymous_access_to_procedures.ads | optikos/oasis | 0 | 4643 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Elements.Anonymous_Access_Definitions;
with Program.Lexical_Elements;
with Program.Elements.Parameter_Specifications;
package Program.Ele... |
alloy4fun_models/trainstlt/models/5/m8poMmu2CCJuHP2dX.als | Kaixi26/org.alloytools.alloy | 0 | 5002 | open main
pred idm8poMmu2CCJuHP2dX_prop6 {
always all s : Signal {
((s in Green) implies (eventually s not in Green))
or
((s not in Green) implies (eventually s in Green))
}
}
pred __repair { idm8poMmu2CCJuHP2dX_prop6 }
check __repair { idm8poMmu2CCJuHP2dX_prop6 <=> prop6o } |
libsrc/graphics/w_undraw.asm | andydansby/z88dk-mk2 | 1 | 22861 | ;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Stubs Written by <NAME> - 30/9/98
;
; Wide resolution (WORD based parameters) version by <NAME>
;
; $Id: w_undraw.asm,v 1.1 2008/07/17 15:39:56 stefano Exp $
;
XLIB undraw
... |
src/sdl_display.adb | Fabien-Chouteau/lvgl-ada-simulator | 1 | 8206 | with Ada.Unchecked_Conversion;
with SDL.Video.Pixels;
with System;
with Interfaces.C; use Interfaces.C;
with SDL;
with SDL.Video.Windows;
with SDL.Video.Windows.Makers;
with SDL.Video.Surfaces;
with SDL.Video.Pixel_Formats;
with SDL.Video.Palettes; use SDL.Video.Palettes;
with SDL.Video.Pixel_Formats; use SDL.Video... |
programs/oeis/319/A319638.asm | neoneye/loda | 22 | 15552 | <filename>programs/oeis/319/A319638.asm
; A319638: Number of non-isomorphic weight-n antichains of distinct sets whose dual is also an antichain of distinct sets.
; 1,1,1,1,1,1,2,2,3,4,7
trn $0,3
mov $2,$0
pow $0,$0
add $2,2
dif $0,$2
dif $0,2
mod $0,$2
|
PRG/prg005.asm | narfman0/smb3_pp1 | 0 | 92537 | ; Super Mario Bros. 3 Full Disassembly by Southbird 2012
; For more info, see http://www.sonicepoch.com/sm3mix/
;
; PLEASE INCLUDE A CREDIT TO THE SOUTHBIRD DISASSEMBLY
; AND THE ABOVE LINK SOMEWHERE IN YOUR WORKS :)
;
; Original disassembler source generated by DCC6502 version v1.4
; (With labels, comments, and some s... |
EBOOT.asm | gil-unx/extraction-tools | 0 | 81311 | .PSP
.open "isofiles/EBOOT_DEC.BIN","isofiles/EBOOT_patched.BIN",0x8804000 -0xc0
//textbox line limit char
.org 0x8804d28
li a0,0x29
//speaker y pos
.org 0x8807d04
addiu a1,a2,0xC0
.org 0x8807db8
addiu a0,a0,0x12
//text y pos
.org 0x8809788
addiu a0,a0,0xD0
.org 0x88098c8
nop
.org 0x88... |
Mac Installer/Scripts/Software.applescript | olafwrieden/mac-installer | 0 | 2648 | --
-- Software.applescript
-- Mac Installer
--
-- Created by <NAME> on 06/11/17.
-- Copyright © 2018 <NAME>. All rights reserved.
--
script Software
property parent : class "AppDelegate"
-- Copy Installer Files to local 'Shared' user
on copyInstallersToLocal_(args)
try
tel... |
.emacs.d/elpa/wisi-3.1.3/sal-gen_bounded_definite_vectors_sorted.ads | caqg/linux-home | 0 | 8287 | <filename>.emacs.d/elpa/wisi-3.1.3/sal-gen_bounded_definite_vectors_sorted.ads<gh_stars>0
-- Abstract :
--
-- A simple bounded sorted vector of definite items, in Spark.
--
-- Copyright (C) 2018 - 2020 Free Software Foundation, Inc.
--
-- This library is free software; you can redistribute it and/or modify it
-- ... |
C5515_Support_Files/C5515_Lib/dsplib_2.40.00/twiddle/twid2048.asm | HeroSizy/Sizy | 0 | 244726 | <filename>C5515_Support_Files/C5515_Lib/dsplib_2.40.00/twiddle/twid2048.asm<gh_stars>0
;***********************************************************
; Version 2.30.00
;***********************************************************
.def twiddle
.sect ".data:twiddle"
... |
programs/oeis/115/A115326.asm | neoneye/loda | 22 | 21239 | <reponame>neoneye/loda<gh_stars>10-100
; A115326: E.g.f.: exp(x/(1-2*x))/sqrt(1-4*x^2).
; 1,1,9,49,625,6561,109561,1697809,35247969,717436225,17862589801,448030761201,13029739166929,387070092765409,12888060720104025,441427773256896721,16566268858818121921,641658452161285040769,26803156413926425274569,115698400076553444... |
data/pokemon/base_stats/shuckle.asm | Karkino/KarkCrystal16 | 0 | 95576 | <reponame>Karkino/KarkCrystal16
db 0 ; species ID placeholder
db 55, 10, 230, 05, 5, 230
; hp atk def spd sat sdf
db BUG, ROCK ; type
db 190 ; catch rate
db 80 ; base exp
db BERRY, BERRY ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN... |
out/Monoid/Equality.agda | JoeyEremondi/agda-soas | 39 | 10122 | {-
This second-order equational theory was created from the following second-order syntax description:
syntax Monoid | M
type
* : 0-ary
term
unit : * | ε
add : * * -> * | _⊕_ l20
theory
(εU⊕ᴸ) a |> add (unit, a) = a
(εU⊕ᴿ) a |> add (a, unit) = a
(⊕A) a b c |> add (add(a, b), c) = add (a, add(b, c))
... |
programs/oeis/176/A176581.asm | karttu/loda | 1 | 83982 | ; A176581: n^3+Smallest square, (Smallest square >= n^3).
; 0,2,17,63,128,269,441,704,1041,1458,2024,2700,3492,4406,5553,6856,8192,9954,11761,13748,16100,18670,21464,24488,27748,31250,35265,39564,44153,49038,54225,59720,65892,72037,78905,86139,93312,101729,110097,118855,128009,138090,148617,159031,170448,182329,194680,... |
oeis/349/A349834.asm | neoneye/loda-programs | 11 | 22148 | <reponame>neoneye/loda-programs<filename>oeis/349/A349834.asm
; A349834: Expansion of sqrt(1 + 4*x)/(1 - 4*x).
; Submitted by <NAME>
; 1,6,22,92,358,1460,5756,23288,92294,372036,1478420,5947272,23671516,95102088,378922552,1521039088,6064766662,24329781988,97059838372,389194630888,1553243997172,6226104229528,24855484384... |
src/asis/a4g-asis_tables.adb | My-Colaborations/dynamo | 15 | 14002 | ------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- --
-- ... |
oeis/038/A038388.asm | neoneye/loda-programs | 11 | 179108 | <reponame>neoneye/loda-programs<filename>oeis/038/A038388.asm
; A038388: Let f(n) be the smallest number such that the arithmetic mean (A) and geometric mean (G) of n and f(n) are both integers; sequence gives G values.
; Submitted by <NAME>
; 1,2,3,4,5,6,7,4,3,10,11,12,13,14,15,8,17,6,19,20,21,22,23,12,5,26,9,28,29,30... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_632.asm | ljhsiun2/medusa | 9 | 14047 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0xbb06, %r13
clflush (%r13)
nop
nop
cmp $59573, %r11
movw $0x6162, (%r13)
add $61715, %rax
lea addresses_WT_ht+0x346, %r13
nop
nop
nop
nop
nop
sub %r11, %r11
mov $0x61626364656... |
alloy4fun_models/trashltl/models/4/36YAcMwaQwFWE5EKY.als | Kaixi26/org.alloytools.alloy | 0 | 882 | <filename>alloy4fun_models/trashltl/models/4/36YAcMwaQwFWE5EKY.als
open main
pred id36YAcMwaQwFWE5EKY_prop5 {
always some f : File | eventually f in Trash
}
pred __repair { id36YAcMwaQwFWE5EKY_prop5 }
check __repair { id36YAcMwaQwFWE5EKY_prop5 <=> prop5o } |
oeis/054/A054149.asm | neoneye/loda-programs | 11 | 1172 | ; A054149: T(2n-1,n), array T as in A054144.
; Submitted by <NAME>
; 1,14,84,410,1820,7648,31008,122584,475600,1818656,6874560,25742624,95645888,353032960,1295729664,4732541824,17211685120,62362187264,225201546240,810825419264,2911520685056,10429433085952
mov $2,$0
mul $0,3
seq $2,20727 ; Pisot sequence P(2,7): a(0)=2... |
oeis/255/A255368.asm | neoneye/loda-programs | 11 | 93774 | <reponame>neoneye/loda-programs
; A255368: a(n) = -(-1)^n * 2 * n / 3 if n divisible by 3, a(n) = -(-1)^n * n otherwise.
; Submitted by <NAME>
; 0,1,-2,2,-4,5,-4,7,-8,6,-10,11,-8,13,-14,10,-16,17,-12,19,-20,14,-22,23,-16,25,-26,18,-28,29,-20,31,-32,22,-34,35,-24,37,-38,26,-40,41,-28,43,-44,30,-46,47,-32,49,-50,34,-52,5... |
Data/DependentWidthTree.agda | Lolirofle/stuff-in-agda | 6 | 5479 | module Data.DependentWidthTree where
import Lvl
open import Functional using (id)
open import Functional.Dependent
open import Numeral.Finite
open import Numeral.Natural
open import Type
private variable ℓ ℓᵢ ℓₗ ℓₙ ℓₒ : Lvl.Level
private variable N N₁ N₂ L T A B : Type{ℓ}
module _ {N : Type{ℓₙ}} (Index : N → Ty... |
llvm-gcc-4.2-2.9/gcc/ada/back_end.ads | vidkidz/crossbridge | 1 | 11607 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
programs/oeis/341/A341994.asm | jmorken/loda | 1 | 22242 | ; A341994: a(n) = 1 if the arithmetic derivative (A003415) of n is a squarefree number (A005117) > 1, otherwise 0.
; 0,0,0,0,0,0,1,0,0,1,1,0,0,0,0,0,0,0,1,0,0,1,1,0,0,1,1,0,0,0,1,0,0,1,1,0,0,0,1,0,0,0,1,0,0,1,0,0,0,1,0,0,0,0,0,0,0,1,1,0,0,0,1,1,0,0,1,0,0,1,1,0,0,0,1,1,0,0,1,0,0,0,1,0,0,1,0,0,0,0,1,0,0,1,0,0,0,0,1,0,0,0... |
programs/oeis/131/A131649.asm | neoneye/loda | 22 | 162556 | ; A131649: Number of distinct improper 2-coloring of edges for odd-order cyclic graphs.
; 4,8,16,32,54,82,116,156,202,254,312,376,446,522,604,692,786,886,992,1104,1222,1346,1476,1612,1754,1902,2056,2216,2382,2554,2732,2916,3106,3302,3504,3712,3926,4146,4372,4604,4842,5086,5336,5592,5854
mov $1,$0
pow $1,2
mov $2,2
min... |
src/gdnative-console.adb | persan/gdnative_ada | 10 | 14022 | with Interfaces.C;
with GDNative.Thin;
with GDNative.Context;
package body GDNative.Console is
package IC renames Interfaces.C;
---------
-- Put --
---------
procedure Put (Item : in Wide_String) is
C_Item : IC.wchar_array := IC.To_C (Item);
Godot_Item : aliased Thin.godot_string;
begin
... |
src/Bisimilarity/CCS/General.agda | nad/up-to | 0 | 82 | <reponame>nad/up-to<gh_stars>0
------------------------------------------------------------------------
-- Some results related to CCS, implemented without using a fixed form
-- of bisimilarity
------------------------------------------------------------------------
{-# OPTIONS --sized-types #-}
open import Prelude
... |
CpuA32/TestData/fib.asm | robertmuth/Cwerg | 171 | 19727 | <gh_stars>100-1000
# sig: IN: [U32] -> OUT: [] stk_size:1
.fun putchar 16
sub_imm al sp sp 16
.bbl start 4
add_imm al r1 sp 0
mov_regimm al r0 r0 lsl 0
strb_imm_add al sp 0 r0
mov_imm al r2 1
mov_imm al r0 1
str_imm_sub_pre al sp 4 r7
movw al r7 4
svc al 0
ldr_imm_add_post al r... |
LibraBFT/Base/PKCS.agda | cwjnkins/bft-consensus-agda | 0 | 6409 | {- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2020, 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open import LibraBFT.Lemmas
open import LibraBFT.Prelude
open import Lib... |
ZX-Spectrum/library/print_string.asm | peroff/8-Bit-Tea-Party | 13 | 11052 | <gh_stars>10-100
;Unversal function to print string on screen with windows.
;Authours: ...
;
;Function description and globals.
;
;Parameters:
;
;Returns:
;
;Function comment.
;Platforms: ...
;Assemble: ...
;Code size: ...
;Static data size: ...
;Performance:
;
;Полное название функции на русском.
;А... |
ada/original_2008/ada-gui/agar-gui-widget-icon.ads | auzkok/libagar | 286 | 4148 | <reponame>auzkok/libagar
with agar.core.types;
with agar.gui.surface;
with agar.gui.types;
package agar.gui.widget.icon is
use type c.unsigned;
subtype flags_t is agar.gui.types.widget_icon_flags_t;
ICON_REGEN_LABEL : constant flags_t := 16#01#;
ICON_DND : constant flags_t := 16#02#;
ICON_DBLCLICKE... |
gfx/pokemon/nidoqueen/anim_idle.asm | Dev727/ancientplatinum | 28 | 705 | <reponame>Dev727/ancientplatinum
frame 6, 50
setrepeat 2
frame 0, 07
frame 6, 07
dorepeat 2
endanim
|
14/1/src/main.adb | Heziode/aoc-ada-2021 | 3 | 17799 | <reponame>Heziode/aoc-ada-2021<filename>14/1/src/main.adb
with Ada.Containers.Hashed_Maps,
Ada.Execution_Time,
Ada.Long_Long_Integer_Text_IO,
Ada.Real_Time,
Ada.Strings.Fixed,
Ada.Strings.Hash,
Ada.Strings.Unbounded,
Ada.Text_IO;
with Utils;
procedure Main is
use Ada.Execution_Ti... |
script/mac.applescript | meganii/paste-image-for-hugo | 0 | 2121 | property fileTypes : {{«class PNGf», ".png"}}
on getType()
repeat with aType in fileTypes
repeat with theInfo in (clipboard info)
if (first item of theInfo) is equal to (first item of aType) then return aType
end repeat
end repeat
return missing value
end getType
on run argv
if argv is {} then
return ""
... |
core/src/main/c/share/asmlib/strcpy64.asm | jerrinot/questdb | 8,451 | 167475 | <gh_stars>1000+
;************************* strcpy64.asm ************************************
; Author: <NAME>
; Date created: 2008-07-19
; Last modified: 2011-07-01
; Description:
; Faster version of the standard strcpy function:
; char * A_strcpy(char * dest, const char * src);
; Copies zero-termina... |
projects/07/MemoryAccess/PointerTest/PointerTest.asm | WuShaoa/Nand2Tetris | 0 | 6282 | @3030
D=A
@SP
A=M
M=D
@SP
M=M+1
@3
D=A
@R15
M=D
@SP
M=M-1
A=M
D=M
@R15
A=M
M=D
@3040
D=A
@SP
A=M
M=D
@SP
M=M+1
@4
D=A
@R15
M=D
@SP
M=M-1
A=M
D=M
@R15
A=M
M=D
@32
D=A
@SP
A=M
M=D
@SP
M=M+1
@THIS
D=M
@2
D=D+A
@R15
M=D
@SP
M=M-1
A=M
D=M
@R15
A=M
M=D
@46
D=A
@SP
A=M
M=D
@SP
M=M+1
@THAT
D=M
@6
D=D+A
@R15
M=D
@SP
M=M-1
A=M
D... |
oeis/059/A059769.asm | neoneye/loda-programs | 11 | 101494 | ; A059769: Frobenius number of the subsemigroup of the natural numbers generated by successive pairs of Fibonacci numbers.
; Submitted by <NAME>(s3)
; 1,7,27,83,239,659,1781,4751,12583,33175,87231,228983,600473,1573655,4122467,10796939,28273519,74031979,193835949,507497759,1328692751,3478637807,9107313407,23843452463,6... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_18460_1793.asm | ljhsiun2/medusa | 9 | 19322 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_18460_1793.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
lea addresses_A_ht+0x12d24, %r10
nop
nop
nop
cmp $41083, %rbx
movw $0x6162, (%r10)
nop
nop
sub %rbp, %rbp
lea addresses_... |
Task/Closures-Value-capture/Ada/closures-value-capture.ada | LaudateCorpus1/RosettaCodeData | 1 | 16686 | with Ada.Text_IO;
procedure Value_Capture is
protected type Fun is -- declaration of the type of a protected object
entry Init(Index: Natural);
function Result return Natural;
private
N: Natural := 0;
end Fun;
protected body Fun is -- the implementation of a protected object
entry... |
oeis/003/A003485.asm | neoneye/loda-programs | 11 | 16113 | <reponame>neoneye/loda-programs<filename>oeis/003/A003485.asm<gh_stars>10-100
; A003485: Hurwitz-Radon function at powers of 2.
; Submitted by <NAME>
; 1,2,4,8,9,10,12,16,17,18,20,24,25,26,28,32,33,34,36,40,41,42,44,48,49,50,52,56,57,58,60,64,65,66,68,72,73,74,76,80,81,82,84,88,89,90,92,96,97,98,100,104,105,106,108,112... |
GSeTT/Rules.agda | thibautbenjamin/catt-formalization | 0 | 16489 | <gh_stars>0
{-# OPTIONS --rewriting --without-K #-}
open import Agda.Primitive
open import Prelude
open import GSeTT.Syntax
{- Typing Rules and basic syntactic properties for the type theory for globular sets -}
module GSeTT.Rules where
{- Well-formedness statements ≡ inference rules -}
data _⊢C : Pre-Ctx → Set₁
... |
__tmpl__.asm | dbarella/xchg-rax-rax | 0 | 179029 | bits 64
global main
section .text
main:
|
Lab2/MIPS Lab 2 - 1C.asm | DFTF-PConsole/AC-Labs-MIPS-LEI | 0 | 99433 | <reponame>DFTF-PConsole/AC-Labs-MIPS-LEI
# Magenta: 0x00FF00FF
# Azul: 0x000000FF
.text
li $s0, 0x10010000
li $s1, 0x00FF00FF
li $s2, 0x000000FF
li $s3, 64
li $s4, 32
li $s5, 256
li $t0, 0
li $t1, 0
move $t2, $s0
#Cor Azul
LinhasAzul:
add $t1, $t1, 1
li $t0, 0
ColunasAzul:
add $t0, $t0, 1
... |
libsrc/_DEVELOPMENT/compress/zx7/c/sdcc/dzx7_turbo_back.asm | jpoikela/z88dk | 640 | 28777 |
; void dzx7_turbo_back(void *src, void *dst)
SECTION code_clib
SECTION code_compress_zx7
PUBLIC _dzx7_turbo_back
EXTERN asm_dzx7_turbo_back
_dzx7_turbo_back:
pop af
pop hl
pop de
push de
push hl
push af
jp asm_dzx7_turbo_back
|
Resources/All Scripts/Sandbox Exceptions/Scripts/spotify.scpt | bathtub/IRC.app | 2 | 1906 | (*
Copyright © 2011, <NAME>. All rights reserved.
http://scottdollins.com/
Redistribution and use in source and binary forms, with or without modification, are
permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of
condit... |
src/svd/sam_svd-mclk.ads | Fabien-Chouteau/samd51-hal | 1 | 1271 | <gh_stars>1-10
pragma Style_Checks (Off);
-- This spec has been automatically generated from ATSAMD51G19A.svd
pragma Restrictions (No_Elaboration_Code);
with HAL;
with System;
package SAM_SVD.MCLK is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- Interrupt Enable Clear
... |
RefactorAgdaEngine/PushArgument.agda | omega12345/RefactorAgda | 5 | 9188 | <filename>RefactorAgdaEngine/PushArgument.agda
module PushArgument where
open import ScopeState
open import Data.List.NonEmpty
open import Data.List
open import ParseTree
open import Data.Nat
open import AgdaHelperFunctions
open import Data.Unit
open import Data.String hiding (toVec)
open import Data.Bool
open import D... |
oeis/346/A346682.asm | neoneye/loda-programs | 11 | 22499 | ; A346682: a(n) = Sum_{k=0..n} (-1)^(n-k) * binomial(6*k,k) / (5*k + 1).
; Submitted by <NAME>
; 1,0,6,45,461,5020,57812,691586,8512048,107095262,1371219004,17808830924,234048288772,3106795261083,41593689788637,560980967638479,7614970691479315,103957059568762775,1426355910771621805,19658792867492660060,2720464278372265... |
CSE341-BRACU-Microprocessors/Assignment-4(Lab-5)/task3.asm | AIM3r4j/BRACU | 0 | 25435 | .MODEL SMALL
.STACK 100H
.DATA
;variables
s db "Please enter a five-character password: $"
x db 0dh,"XXXXX$"
.CODE
MAIN PROC
;initialize DS
MOV AX,@DATA
MOV DS,AX
; enter your code here
;prompts input and goes to next line
lea dx,s
mov ah,9
int 21h
mov dl, 0dh
mov ah,2
int 21h
mov dl, 0ah
mov ah,2
int 21... |
oeis/158/A158752.asm | neoneye/loda-programs | 11 | 89919 | <reponame>neoneye/loda-programs<filename>oeis/158/A158752.asm
; A158752: a(n) = Hermite(n, 23).
; Submitted by <NAME>
; 1,46,2114,97060,4452076,204019016,9340353976,427208054704,19520805560720,891121726917856,40640224938128416,1851627912615550016,84280799031676475584,3832477685554344676480,174102672760676266752896,7901... |
data/github.com/emanueljoivo/using-alloy/373a7dd5f223b7c6a213f2ff8051b340a6dc7cd6/EmpresaTelecomunicacoes.als | ajnavarro/language-dataset | 9 | 912 | module EmpresaTelecomunicacoes
----------------------------------------------------------
-- ASSINATURAS --
----------------------------------------------------------
abstract sig Plano {
servicosDeTV : set TV,
servicosDeTelefone : set Telefone,
servicosDeInternet : set Internet
}
sig Simples extends Plano {... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_272.asm | ljhsiun2/medusa | 9 | 94197 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1cdbb, %rdx
clflush (%rdx)
nop
and %rax, %rax
movups (%rdx), %xmm5
vpextrq $1, %xmm5, %rbx
nop
nop
nop
xor $58128, %rbp
lea addresses... |
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xa0.log_21829_1719.asm | ljhsiun2/medusa | 9 | 14499 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %rcx
push %rdi
lea addresses_WT_ht+0x1afa8, %rcx
nop
nop
nop
nop
nop
dec %rdi
mov $0x6162636465666768, %r13
movq %r13, %xmm4
vmovups %ymm4, (%rcx)
nop
nop
and %r15, %r15
pop %rdi
pop %rcx
pop %r15
pop %r13
ret
... |
oeis/250/A250230.asm | neoneye/loda-programs | 11 | 3311 | ; A250230: Number of length 3+1 0..n arrays with the sum of the cubes of adjacent differences multiplied by some arrangement of +-1 equal to zero.
; Submitted by <NAME>
; 8,27,52,89,132,187,248,321,400,491,588,697,812,939,1072,1217,1368,1531,1700,1881,2068,2267,2472,2689,2912,3147,3388,3641,3900,4171,4448,4737,5032,533... |
tools/akt-commands-create.adb | stcarrez/ada-keystore | 25 | 23301 | -----------------------------------------------------------------------
-- akt-commands-create -- Create a keystore
-- Copyright (C) 2019, 2021 <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... |
programs/oeis/234/A234017.asm | jmorken/loda | 1 | 25660 | ; A234017: Inverse function for injection A055938.
; 0,0,1,0,0,2,3,0,0,4,0,0,5,6,7,0,0,8,0,0,9,10,0,0,11,0,0,12,13,14,15,0,0,16,0,0,17,18,0,0,19,0,0,20,21,22,0,0,23,0,0,24,25,0,0,26,0,0,27,28,29,30,31,0,0,32,0,0,33,34,0,0,35,0,0,36,37,38,0,0,39,0,0,40,41,0,0,42,0,0,43,44,45,46,0,0,47,0,0,48,49,0,0,50,0,0,51,52,53,0,0,5... |
test/Fail/Issue690b.agda | hborum/agda | 3 | 4220 | {-# OPTIONS --type-in-type
--guardedness-preserving-type-constructors #-}
module Issue690b where
open import Common.Coinduction
data Rec (A : ∞ Set) : Set where
fold : (x : ♭ A) → Rec A
infixr 4 _,_
record Σ (A : Set) (B : A → Set) : Set where
constructor _,_
field
proj₁ : A
proj₂ : B pro... |
src/glfw/v2/glfw-display-modes.adb | Roldak/OpenGLAda | 0 | 21066 | <filename>src/glfw/v2/glfw-display-modes.adb<gh_stars>0
-- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with Glfw.API;
package body Glfw.Display.Modes is
function Available_Modes return Mode_List is
Max_Modes : Integer := 32;
Mode_Count ... |
BushidoBomb.asm | sleepingburrito/BushidoBomb | 3 | 86142 | ;<NAME>
;2019 sleepingburrito
;
;a: jump
;b: attack
;start: pause
;select: returns to main menu when in
;left/right: move
;down + attack: block
;down + jump: fall though platform
;pressing attack or block before hitting a wall ill make you bounce off the wall if you already have momentum.
;up + select: start AI for th... |
uberUFCG-BeatrizMiranda.als | beatrizadm/logica | 0 | 1591 | -- Aluna: <NAME>
module uberUFCG
-- Corridas
abstract sig Corrida {
passageiros: some Pessoa,
motorista: one Pessoa
}
sig Ida extends Corrida {
horario: one HorarioIda,
regiao: one Regiao
}
sig Volta extends Corrida {
horario: one HorarioVolta,
regiao: one Regiao
}
---
-- Pessoas
sig Debito... |
src/fot/README.agda | asr/fotc | 11 | 11797 | <filename>src/fot/README.agda
------------------------------------------------------------------------------
-- FOT (First-Order Theories)
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --n... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_811.asm | ljhsiun2/medusa | 9 | 100169 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1f23, %r10
nop
nop
nop
nop
nop
and $63358, %rdx
mov (%r10), %di
nop
nop
nop
xor $50486, %r13
lea addresses_A_ht+0x1de63, %rsi
lea addresses_UC_ht+0xa073, %rdi
clflush (%rdi)
... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_452.asm | ljhsiun2/medusa | 9 | 15782 | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xefba, %r15
nop
and $22501, %r14
mov (%r15), %esi
nop
nop
nop
nop
nop
and %rcx, %rcx
lea addresses_normal_ht+0x186fa, %rax
dec %rbp
mov (%rax), %dx
nop
nop
nop
nop
add $7719, ... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1390.asm | ljhsiun2/medusa | 9 | 23545 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x9077, %r10
dec %r8
mov (%r10), %rbp
nop
dec %rdi
lea addresses_UC_ht+0x72d5, %rbx
nop
nop
nop
sub $16276, %rdi
mov (%rbx), %edx
nop
dec %rbp
lea addresses_normal_ht... |
programs/oeis/250/A250108.asm | neoneye/loda | 22 | 241722 | <gh_stars>10-100
; A250108: n*(n-1)/2 mod 2 + n*(n-1)/2 - n*( (n-1) mod 2 ).
; 0,0,4,2,10,10,22,20,36,36,56,54,78,78,106,104,136,136,172,170,210,210,254,252,300,300,352,350,406,406,466,464,528,528,596,594,666,666,742,740,820,820,904,902,990,990,1082,1080,1176,1176,1276,1274,1378
mov $1,1
mov $2,$0
div $0,2
mul $0,2
su... |
oap-server/oal-grammar/src/main/antlr4/org/apache/skywalking/oal/rt/grammar/OALLexer.g4 | McrhDG/skywalking | 0 | 6818 | <reponame>McrhDG/skywalking<filename>oap-server/oal-grammar/src/main/antlr4/org/apache/skywalking/oal/rt/grammar/OALLexer.g4<gh_stars>0
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional informatio... |
libsrc/_DEVELOPMENT/math/float/math32/c/sdcc/cm32_sdcc___fs2sint.asm | jpoikela/z88dk | 640 | 1061 |
SECTION code_fp_math32
PUBLIC cm32_sdcc___fs2sint
PUBLIC cm32_sdcc___fs2schar
EXTERN m32_f2sint
EXTERN cm32_sdcc_fsread1
cm32_sdcc___fs2sint:
cm32_sdcc___fs2schar:
call cm32_sdcc_fsread1
jp m32_f2sint
|
Examples/b16.asm | satadriver/LiunuxOS_t | 0 | 100386 | <gh_stars>0
TITLE (.asm)
; This program
; Last update:
Include Irvine16.inc
.data
.code
main PROC
mov ax,@data
mov ds,ax
exit
main ENDP
END main |
test/Succeed/Issue2328.agda | alhassy/agda | 3 | 13470 | <reponame>alhassy/agda
{- Examples by <NAME> -}
{-# OPTIONS --rewriting #-}
module _ where
open import Agda.Builtin.Equality
{-# BUILTIN REWRITE _≡_ #-}
const : ∀ {a b} {A : Set a} {B : Set b} → A → B → A
const x _ = x
_∘_ : ∀ {a b c} {A : Set a} {B : A → Set b} {C : {x : A} → B x → Set c}
→ (f : ∀ {x} (y : B x... |
docs/www.playvectrex.com/designit/chrissalo/joystick1.asm | mikepea/vectrex-playground | 5 | 8751 | <reponame>mikepea/vectrex-playground
;***************************************************************************
; DEFINE SECTION
;***************************************************************************
INCLUDE "VECTREX.I"
; start of vectrex memory with cartridge name...
ORG ... |
test/interaction/GiveSize.agda | larrytheliquid/agda | 1 | 989 | -- {-# OPTIONS -v tc.meta:30 #-}
{-# OPTIONS --sized-types #-}
module GiveSize where
postulate Size : Set
postulate ∞ : Size
{-# BUILTIN SIZE Size #-}
-- {-# BUILTIN SIZEINF ∞ #-}
id : Size → Size
id i = {!i!}
|
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48.log_14811_1033.asm | ljhsiun2/medusa | 9 | 89139 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1b1a8, %rsi
lea addresses_A_ht+0x1e3f8, %rdi
nop
nop
nop
nop
nop
sub %rdx, %rdx
mov $29, %rcx
rep movsw
nop
dec %r9
lea addresses_D_ht+0xa7a8, %rdi
nop
nop
nop
nop
sub %r11, %r11
movb ... |
source/amf/uml/amf-uml-parameters.ads | svn2github/matreshka | 24 | 4187 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_910.asm | ljhsiun2/medusa | 9 | 101951 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xf8d2, %rdi
nop
nop
nop
nop
nop
and %r15, %r15
mov (%rdi), %bp
sub $59053, %r12
lea addresses_WT_ht+0x16652, %rsi
lea addresses_WC_ht+0x50d2, %rdi
nop
and %rdx, %rdx
mov $26, ... |
tests/hello-gas.asm | AaronTraas/loccount | 0 | 11543 | # ------------------------------------------------------------------------------
# Gnu Assembler "Hello World!"
# Writes "Hello, World" to the console using only system calls. Runs on 64-bit
# Linux only. To assemble and run:
#
# gcc -c hello.s && ld hello.o && ./a.out
#
# or
#
# gcc -nostdlib hello.s && ./a.ou... |
.emacs.d/elpa/wisi-3.1.3/sal-gen_bounded_definite_vectors.ads | caqg/linux-home | 0 | 4356 | -- Abstract :
--
-- A simple bounded vector of definite items, in Spark.
--
-- 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... |
libsrc/_DEVELOPMENT/adt/ba_priority_queue/z80/asm_ba_priority_queue_resize.asm | jpoikela/z88dk | 640 | 81730 |
; ===============================================================
; Mar 2014
; ===============================================================
;
; int ba_priority_queue_resize(ba_priority_queue_t *q, size_t n)
;
; Attempt to resize the queue to n bytes.
;
; If n <= queue.capacity, the array owned by the queue will
; ... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35003b.ada | best08618/asylo | 7 | 19408 | -- C35003B.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
agda/Text/Greek/SBLGNT/1Tim.agda | scott-fleischman/GreekGrammar | 44 | 4460 | module Text.Greek.SBLGNT.1Tim where
open import Data.List
open import Text.Greek.Bible
open import Text.Greek.Script
open import Text.Greek.Script.Unicode
ΠΡΟΣ-ΤΙΜΟΘΕΟΝ-Α : List (Word)
ΠΡΟΣ-ΤΙΜΟΘΕΟΝ-Α =
word (Π ∷ α ∷ ῦ ∷ ∙λ ∷ ο ∷ ς ∷ []) "1Tim.1.1"
∷ word (ἀ ∷ π ∷ ό ∷ σ ∷ τ ∷ ο ∷ ∙λ ∷ ο ∷ ς ∷ []) "1Tim.1.1"
∷... |
oeis/142/A142000.asm | neoneye/loda-programs | 11 | 22068 | <gh_stars>10-100
; A142000: Primes congruent to 24 mod 29.
; Submitted by <NAME>
; 53,227,401,691,1039,1097,1213,1619,2083,2141,2663,2837,2953,3011,3301,3359,3533,3823,3881,4229,4519,4751,5099,5273,5563,5737,6143,6317,6491,6607,6781,7013,7129,7187,7477,7883,8231,8521,8753,9043,9391,9623,9739,10667,10957,11131,11827,126... |
source/hash/a-cmuha3.ads | ytomino/drake | 33 | 2896 | <gh_stars>10-100
pragma License (Unrestricted); -- public domain
-- translated unit from MurmurHash3
--
-- MurmurHash3 was written by <NAME>, and is placed in the public
-- domain. The author hereby disclaims copyright to this source code.
--
-- Ada version: 2014 yt
package Ada.Containers.Murmur_Hash_3 is
-- 32... |
Task/Problem-of-Apollonius/Ada/problem-of-apollonius-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 2584 | <reponame>LaudateCorpus1/RosettaCodeData<gh_stars>1-10
package Apollonius is
type Point is record
X, Y : Long_Float := 0.0;
end record;
type Circle is record
Center : Point;
Radius : Long_Float := 0.0;
end record;
type Tangentiality is (External, Internal);
function Solve_CCC
... |
orka_egl/src/egl-objects-surfaces.ads | onox/orka | 52 | 11109 | <gh_stars>10-100
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2021 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/licen... |
HoTT/Transport/Coproduct.agda | michaelforney/hott | 0 | 17476 | {-# OPTIONS --without-K #-}
open import HoTT.Base
module HoTT.Transport.Coproduct where
private
variable
i : Level
X : 𝒰 i
A B : X → 𝒰 i
x₁ x₂ : X
transport-+ : (p : x₁ == x₂) →
transport (λ x → A x + B x) p ~
+-rec (inl ∘ transport A p) (inr ∘ transport B p)
transport... |
pi-visualizer/src/main/antlr4/cz/vutbr/fit/xproko26/pivis/antlr/PiExpr.g4 | dprokopo/pi-visualizer | 0 | 4492 | <filename>pi-visualizer/src/main/antlr4/cz/vutbr/fit/xproko26/pivis/antlr/PiExpr.g4
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
grammar PiExpr;
cmds : (cmd NL)* cmd;
cmd ... |
boot.asm | maddievision/sparkleos | 0 | 98000 | ; =============== REAL MODE ===============
[bits 16]
[org 0x7C00]
real_start:
mov [var_boot], dl
mov bp, 0x9000
mov sp, bp
; TODO disk stuff
call set_vga_gfx_mode
mov si, real_msg
call print_str
.enter_protected:
cli
lgdt [gdt_desc]
or eax, 1
mov cr0, eax
jmp CODE:pr... |
programs/oeis/336/A336696.asm | neoneye/loda | 22 | 522 | <reponame>neoneye/loda<filename>programs/oeis/336/A336696.asm
; A336696: Sum of odd divisors of 1+sigma(n).
; 1,1,6,1,8,14,13,1,8,20,14,30,24,31,31,1,20,6,32,44,48,38,31,62,1,44,42,80,32,74,48,1,57,72,57,24,56,62,80,112,44,98,78,108,80,74,57,156,30,48,74,156,72,133,74,133,121,112,62,183,104,98,192,1,108,180,96,128,98,1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.