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 |
|---|---|---|---|---|
3-mid/impact/source/3d/collision/narrowphase/impact-d3-collision-polyhedral_contact_clipping.ads | charlie5/lace | 20 | 22775 | with Impact.d3.Containers;
with Impact.d3.convex_Polyhedron;
with Impact.d3.Collision.Detector.discrete;
package Impact.d3.Collision.polyhedral_contact_Clipping
--
-- Clips a face to the back of a plane
--
is
use Math;
subtype btVertexArray is Containers.vector_3_Vector;
procedure clipHullAgainstH... |
libsrc/_DEVELOPMENT/adt/w_array/c/sdcc_iy/w_array_append_n_callee.asm | jpoikela/z88dk | 640 | 84957 | <filename>libsrc/_DEVELOPMENT/adt/w_array/c/sdcc_iy/w_array_append_n_callee.asm
; size_t w_array_append_n_callee(w_array_t *a, size_t n, void *item)
SECTION code_clib
SECTION code_adt_w_array
PUBLIC _w_array_append_n_callee
EXTERN asm_w_array_append_n
_w_array_append_n_callee:
pop af
pop hl
pop de
pus... |
oeis/053/A053556.asm | neoneye/loda-programs | 11 | 174742 | ; A053556: Denominator of Sum_{k=0..n} (-1)^k/k!.
; Submitted by <NAME>
; 1,1,2,3,8,30,144,280,5760,45360,44800,3991680,43545600,172972800,6706022400,93405312000,42268262400,22230464256000,376610217984000,250298560512000,11640679464960000,196503623737344000,17841281393295360000,106826515449937920000,2697601746666258432... |
Data/Nat/Base.agda | oisdk/agda-playground | 6 | 6801 | <reponame>oisdk/agda-playground<filename>Data/Nat/Base.agda
{-# OPTIONS --without-K --safe #-}
module Data.Nat.Base where
open import Agda.Builtin.Nat public
using (_+_; _*_; zero; suc)
renaming (Nat to ℕ; _-_ to _∸_)
open import Level
data Ordering : ℕ → ℕ → Type where
less : ∀ m k → Ordering m (suc (m + ... |
tools/xml2ayacc/nodes-read.adb | faelys/gela-asis | 4 | 29207 | ------------------------------------------------------------------------------
-- <NAME> A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
src/stdint_h.ads | JeremyGrosser/arm_cmsis_dsp | 0 | 23878 | pragma Ada_2012;
pragma Style_Checks (Off);
pragma Warnings ("U");
with Interfaces.C; use Interfaces.C;
with machine_udefault_types_h;
with Interfaces.C.Extensions;
package stdint_h is
-- unsupported macro: INTPTR_MIN (-__INTPTR_MAX__ - 1)
-- unsupported macro: INTPTR_MAX (__INTPTR_MAX__)
-- unsupported ... |
oeis/195/A195288.asm | neoneye/loda-programs | 11 | 20169 | <filename>oeis/195/A195288.asm
; A195288: Decimal expansion of shortest length, (C), of segment from side CA through incenter to side CB in right triangle ABC with sidelengths (a,b,c)=(5,12,13).
; Submitted by <NAME>
; 4,8,0,7,4,0,1,7,0,0,6,1,8,6,5,2,3,9,0,8,2,5,6,2,8,3,5,6,6,2,7,3,2,7,9,2,8,3,3,5,0,6,2,0,9,8,4,6,0,3,2... |
source/cvsweb-pushers.ads | reznikmm/cvsweb2git | 0 | 29873 | -- BSD 3-Clause License
--
-- Copyright (c) 2017, <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:
--
-- * Redistributions of source code must retain the above copyright notice,
--... |
kernel/temp/loader.asm | paulscottrobson/flat | 0 | 169833 | ; ***************************************************************************************
; ***************************************************************************************
;
; Name : loader.src
; Author : <NAME> (<EMAIL>)
; Date : 19th March 2019.
; Purpose : Loads in source pages
;
; ******************... |
projects/Kirbys_Dream_Land_2.windfish/disassembly/bank_04.asm | jverkoey/awaken | 68 | 243618 | SECTION "ROM Bank 04", ROMX[$4000], BANK[$04]
db $05, $02, $9B, $4D, $03, $33, $4E, $03
db $00, $00, $00, $2A, $4F, $03, $FF, $32
db $00, $00, $00, $33, $4E, $03, $00, $00
db $00, $33, $4E, $03, $60, $00, $00, $FF
db $00, $10, $80, $01, $60, $00, $80, $FE
db $0A, $20, $80, $01, $00,... |
exercises/exercise13/db_world.asm | Dark15/assembly | 1 | 240764 | <reponame>Dark15/assembly
db 'world'
times 512 - 5 db 0 |
programs/oeis/096/A096884.asm | neoneye/loda | 22 | 241015 | <filename>programs/oeis/096/A096884.asm
; A096884: a(n) = 101^n.
; 1,101,10201,1030301,104060401,10510100501,1061520150601,107213535210701,10828567056280801,1093685272684360901,110462212541120451001,11156683466653165551101
add $0,1
mov $1,5
lpb $0
sub $0,1
mul $1,101
lpe
div $1,505
mov $0,$1
|
data/mapObjects/safarizoneentrance.asm | adhi-thirumala/EvoYellow | 16 | 240991 | SafariZoneEntranceObject:
db $a ; border block
db $4 ; warps
db $5, $3, $4, $ff
db $5, $4, $4, $ff
db $0, $3, $0, SAFARI_ZONE_CENTER
db $0, $4, $1, SAFARI_ZONE_CENTER
db $0 ; signs
db $2 ; objects
object SPRITE_WHITE_PLAYER, $6, $2, STAY, LEFT, $1 ; person
object SPRITE_WHITE_PLAYER, $1, $4, STAY, RIGHT, $... |
CodeExecution/Invoke-ReflectivePEInjection_Resources/Shellcode/x64/GetFuncAddress.asm | g-goessel/PowerSploit | 9,233 | 168704 | [SECTION .text]
global _start
_start:
; Save state of rbx and stack
push rbx
mov rbx, rsp
; Set up stack for function call to GetProcAddress
sub rsp, 0x20
and sp, 0xffc0
; Call getprocaddress
mov rcx, 0x4141414141414141 ; DllHandle, set by PS
mov rdx, 0x4141414141414141 ; Ptr to FuncName string, set by PS
... |
source/regions/regions-contexts-environments-factories.adb | reznikmm/declarative-regions | 0 | 12865 | <reponame>reznikmm/declarative-regions
-- SPDX-FileCopyrightText: 2022 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Regions.Contexts.Environments.Nodes;
with Regions.Contexts.Environments.Package_Nodes;
package body Regions.Contexts.Environme... |
2021/assembly-language-and-microcomputer-interface/exp-3/main.asm | Overloadlightning/BIT | 6 | 10521 | .386
.model flat,stdcall
option casemap:none
include msvcrt.inc
includelib msvcrt.lib
include user32.inc
includelib user32.lib
include kernel32.inc
includelib kernel32.lib
include windows.inc
includelib masm32.lib
include masm32.inc
includelib gdi32.lib
include gdi32.inc
MAX_LINE_LENGTH equ 1024... |
libsrc/graphics/pc88/pcalc.asm | jpoikela/z88dk | 38 | 179224 | <gh_stars>10-100
; NEC PC8001 graphics library, by @Stosstruppe
; Adapted to z88dk by <NAME>, 2018
SECTION code_clib
PUBLIC pcalc
EXTERN base_graphics
;
; $Id: pcalc.asm $
;
; ******************************************************************
;
; Get absolute pixel address in map of virtual (x,y) coordinate.
;
... |
oeis/108/A108484.asm | neoneye/loda-programs | 11 | 168383 | ; A108484: Sum binomial(2n-2k,2k)3^k, k=0..floor(n/2).
; Submitted by <NAME>
; 1,1,4,19,55,220,793,2845,10480,37963,138259,503608,1831969,6669865,24276892,88362451,321640831,1170726484,4261339801,15510894949,56458080328,205502135851,748007984827,2722677076336,9910284168961
mul $0,2
seq $0,98576 ; a(n) = Sum_{k=0..floo... |
programs/oeis/314/A314057.asm | karttu/loda | 0 | 16575 | <reponame>karttu/loda<filename>programs/oeis/314/A314057.asm
; A314057: Coordination sequence Gal.6.635.2 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,5,11,15,21,27,31,37,43,47,53,58,63,69,73,79,85,89,95,101,105,111,116,121,127,... |
PRG/levels/Fortress/6-F3A.asm | narfman0/smb3_pp1 | 0 | 1258 | ; Original address was $B126
; World 6 third fortress "Boo room"
.word W6F3L ; Alternate level layout
.word W6F3O ; Alternate object layout
.byte LEVEL1_SIZE_01 | LEVEL1_YSTART_170
.byte LEVEL2_BGPAL_00 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18
.byte LEVEL3_TILESET_02 | LEVEL3_VSCROLL_LOCKLOW | LEVEL3_PIPENOTEXIT
.by... |
c2000/C2000Ware_1_00_06_00/libraries/control/DCL/c28/source/DCL_index.asm | ramok/Themis_ForHPSDR | 0 | 21802 | <filename>c2000/C2000Ware_1_00_06_00/libraries/control/DCL/c28/source/DCL_index.asm
; DCL_index.asm - computes performance indices from TCM data
;
; Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
; ALL RIGHTS RESERVED
.if __TI_EABI__
.asg DCL_runITAE_C1, _DCL_runITAE_C1
.asg DCL_runIAE_C... |
oeis/142/A142794.asm | neoneye/loda-programs | 11 | 82598 | ; A142794: Primes congruent to 41 mod 60.
; Submitted by <NAME>
; 41,101,281,401,461,521,641,701,761,821,881,941,1061,1181,1301,1361,1481,1601,1721,1901,2081,2141,2381,2441,2621,2741,2801,2861,3041,3221,3461,3581,3701,3761,3821,3881,4001,4241,4421,4481,4721,5021,5081,5261,5381,5441,5501,5741,5801,5861,5981,6101,6221,65... |
programs/oeis/060/A060511.asm | neoneye/loda | 22 | 85103 | ; A060511: Hexagonal excess: smallest amount by which n exceeds a hexagonal number (2k^2-k, A000384).
; 0,0,1,2,3,4,0,1,2,3,4,5,6,7,8,0,1,2,3,4,5,6,7,8,9,10,11,12,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20
mov $3,$0... |
labs/trans-magic/grammars/Lang.g4 | parrt/cs652 | 110 | 3275 | grammar Lang;
file : (fun|decl)+ ;
fun : 'fun' ID '(' ')' '{' decl+ '}' ;
decl : typename ID ';' ;
typename : 'int' | ID ;
ID : [a-zA-Z]+ ;
WS : [ \r\t\n]+ -> skip;
|
libsrc/_DEVELOPMENT/math/float/math32/lm32/z80/asm_fpclassifyf.asm | jpoikela/z88dk | 640 | 91172 | <reponame>jpoikela/z88dk<gh_stars>100-1000
SECTION code_clib
SECTION code_fp_math32
PUBLIC asm_fpclassify, asm_fpclassifyf
EXTERN m32_fpclassify
; enter : dehl' = float x
;
; exit : dehl' = float x
; a = 0 if number
; = 1 if zero
; = 2 if nan
; ... |
Driver/Mailbox/Data/VMTree/vmtreeStack.asm | steakknife/pcgeos | 504 | 9869 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1994 -- All Rights Reserved
PROJECT: Clavin
MODULE: VM Tree Data Driver
FILE: vmtreeStack.asm
AUTHOR: <NAME>, Jun 15, 1994
ROUTINES:
Name Description
---- -----------
... |
libs/context/src/asm/jump_x86_64_ms_pe_masm.asm | dillonl/boost-cmake | 0 | 99039 |
; Copyright <NAME> 2009.
; Distributed under the Boost Software License, Version 1.0.
; (See accompanying file LICENSE_1_0.txt or copy at
; http://www.boost.org/LICENSE_1_0.txt)
; ----------------------------------------------------------------------------------
; | 0 | 1 ... |
programs/oeis/083/A083706.asm | karttu/loda | 1 | 83161 | <gh_stars>1-10
; A083706: a(n) = 2^(n+1)+n-1.
; 1,4,9,18,35,68,133,262,519,1032,2057,4106,8203,16396,32781,65550,131087,262160,524305,1048594,2097171,4194324,8388629,16777238,33554455,67108888,134217753,268435482,536870939,1073741852,2147483677,4294967326,8589934623,17179869216,34359738401,68719476770,137438953507,2748... |
2021/applescript/jumpgates.applescript | rafimo/2_power_5 | 0 | 44 | -- open iterm window, split and trigger commands in them
-- cerner_2tothe5th_2021
tell application "iTerm"
-- have a iterm profile called Jumpgates with your settings
set varWindow to create window with profile "Jumpgates"
tell varWindow
set varTab to current tab
tell varTab
set varSession to current sessi... |
src/Lens/Non-dependent/Higher/Coherently/Coinductive.agda | nad/dependent-lenses | 3 | 2485 | ------------------------------------------------------------------------
-- The coinductive type family Coherently
------------------------------------------------------------------------
-- This type family is used to define the lenses in
-- Lens.Non-dependent.Higher.Coinductive and
-- Lens.Non-dependent.Higher.Coind... |
src/vulkan-math/vulkan-math-geometry.adb | zrmyers/VulkanAda | 1 | 7112 | --------------------------------------------------------------------------------
-- MIT License
--
-- Copyright (c) 2020 <NAME>
--
-- 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 r... |
oeis/132/A132409.asm | neoneye/loda-programs | 11 | 26237 | <filename>oeis/132/A132409.asm<gh_stars>10-100
; A132409: Ceiling(exp(n)/n^3).
; Submitted by <NAME>
; 3,1,1,1,2,2,4,6,12,23,45,95,202,439,969,2170,4917,11259,26022,60646,142406,336675,800921,1916170,4608314,11136187,27030852,65882702,161192928,395795355,975088103,2409758307,5972774016,14844843847,36991567401,924046542... |
oeis/333/A333787.asm | neoneye/loda-programs | 11 | 175829 | <filename>oeis/333/A333787.asm
; A333787: Fully multiplicative with a(2) = 2 and a(p) = p-1 for odd primes p.
; Submitted by <NAME>
; 1,2,2,4,4,4,6,8,4,8,10,8,12,12,8,16,16,8,18,16,12,20,22,16,16,24,8,24,28,16,30,32,20,32,24,16,36,36,24,32,40,24,42,40,16,44,46,32,36,32,32,48,52,16,40,48,36,56,58,32,60,60,24,64,48,40,66... |
oeis/319/A319443.asm | neoneye/loda-programs | 11 | 103954 | ; A319443: Number of distinct Eisenstein primes in the factorization of n.
; Submitted by <NAME>
; 0,1,1,1,1,2,2,1,1,2,1,2,2,3,2,1,1,2,2,2,3,2,1,2,1,3,1,3,1,3,2,1,2,2,3,2,2,3,3,2,1,4,2,2,2,2,1,2,2,2,2,3,1,2,2,3,3,2,1,3,2,3,3,1,3,3,2,2,2,4,1,2,2,3,2,3,3,4,2,2,1,2,1,4,2,3,2,2,1,3,4,2,3,2,3,2,2,3,2,2
add $0,1
lpb $0
mo... |
source/options.ads | jquorning/Gauss | 4 | 10680 | --
-- The author disclaims copyright to this source code. In place of
-- a legal notice, here is a blessing:
--
-- May you do good and not evil.
-- May you find forgiveness for yourself and forgive others.
-- May you share freely, not taking more than you give.
--
with GNAT.Strings;
with Setup;
package O... |
programs/oeis/074/A074232.asm | neoneye/loda | 22 | 2846 | <gh_stars>10-100
; A074232: Positive numbers that are not 3 or 6 (mod 9).
; 1,2,4,5,7,8,9,10,11,13,14,16,17,18,19,20,22,23,25,26,27,28,29,31,32,34,35,36,37,38,40,41,43,44,45,46,47,49,50,52,53,54,55,56,58,59,61,62,63,64,65,67,68,70,71,72,73,74,76,77,79,80,81,82,83,85,86,88,89,90,91
mov $2,$0
sub $0,1
add $2,1
mov $1,$2... |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sccz80/tan.asm | jpoikela/z88dk | 640 | 21593 | <reponame>jpoikela/z88dk<filename>libsrc/_DEVELOPMENT/math/float/math48/lm/c/sccz80/tan.asm
SECTION code_clib
SECTION code_fp_math48
PUBLIC tan
EXTERN cm48_sccz80_tan
defc tan = cm48_sccz80_tan
|
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/volatile12.adb | best08618/asylo | 7 | 27352 | <reponame>best08618/asylo
-- { dg-do compile }
package body Volatile12 is
procedure Proc (A : Arr) is begin null; end;
end Volatile12;
|
cpu/interrupt.asm | BuzzHari/BuzzOs | 0 | 93748 | <filename>cpu/interrupt.asm
[extern isr_handler]
[extern irq_handler]
; Common Interrupt Service Routine code
isr_common_stub:
; 1.Save CPU state
pusha ; Pushes edi, esi, ebp, esp, ebx, edx, ecx, eax
mov ax, ds ; Lower 16-bits of eax = ds.
push eax ; Save the data segment descriptor.
... |
alloy4fun_models/trashltl/models/12/F3gF7GQyte7spP3wa.als | Kaixi26/org.alloytools.alloy | 0 | 1069 | open main
pred idF3gF7GQyte7spP3wa_prop13 {
eventually all f:Trash | once f not in Trash
}
pred __repair { idF3gF7GQyte7spP3wa_prop13 }
check __repair { idF3gF7GQyte7spP3wa_prop13 <=> prop13o } |
system.asm | tonypdmtr/80x86 | 2 | 5907 | ;*******************************************************************************
; Program: SYSTEM
; Version: 1.08 (rewritten from scratch)
; Written: July 4, 1990
; Updated: October 5, 1990
; Author : <NAME> <<EMAIL>>
; Purpose: Display system specific information
;*****************************************************... |
src/Data/PropFormula/Views.agda | jonaprieto/agda-prop | 13 | 8029 | <filename>src/Data/PropFormula/Views.agda
------------------------------------------------------------------------------
-- Agda-Prop Library.
-- Useful views.
------------------------------------------------------------------------------
open import Data.Nat using (ℕ)
module Data.PropFormula.Views (n : ℕ) where
---... |
ffight/lcs/boss/A1.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 96426 | copyright zengfr site:http://github.com/zengfr/romhack
03D440 clr.b ($a1,A6)
03D444 clr.b ($a4,A6)
copyright zengfr site:http://github.com/zengfr/romhack
|
programs/oeis/016/A016784.asm | neoneye/loda | 22 | 167460 | <gh_stars>10-100
; A016784: a(n) = (3*n+1)^8.
; 1,65536,5764801,100000000,815730721,4294967296,16983563041,54875873536,152587890625,377801998336,852891037441,1785793904896,3512479453921,6553600000000,11688200277601,20047612231936,33232930569601,53459728531456,83733937890625,128063081718016,191707312997281,2814749767106... |
Logic.agda | cantsin/agda-experiments | 0 | 3625 | import Either
open import Boolean
module Logic where
id : ∀ { A : Set } → A → A
id x = x
Rel : Set → Set₁
Rel X = X → X → Set
Decidable : ∀ { X } → Rel X → Set
Decidable R = ∀ x y → Either (R x y) (¬ (R x y))
where open Either
modusPonens : { P Q : Set } → ( P → Q ) → P → Q
modusPonens = id
|
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gstclock_h.ads | persan/A-gst | 1 | 18197 | <gh_stars>1-10
pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with GLIB; -- with GStreamer.GST_Low_Level.glibconfig_h;
with glib;
with glib.Values;
with System;
with System;
with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstobject_h;
-- limited -- with GStre... |
libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/sqrt.asm | jpoikela/z88dk | 0 | 91089 | <gh_stars>0
SECTION code_fp_math32
PUBLIC _sqrt
EXTERN cm32_sccz80_fssqrt
defc _sqrt = cm32_sccz80_fssqrt
|
oeis/013/A013794.asm | neoneye/loda-programs | 11 | 242872 | <reponame>neoneye/loda-programs
; A013794: a(n) = 11^(4n+1).
; Submitted by <NAME>
; 11,161051,2357947691,34522712143931,505447028499293771,7400249944258160101211,108347059433883722041830251,1586309297171491574414436704891,23225154419887808141001767796309131,340039485861577398992406882305761986971,497851811249935469864... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c43107a.ada | best08618/asylo | 7 | 14880 | -- C43107A.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... |
3-mid/opengl/source/lean/model/opengl-model-sphere-lit_colored.ads | charlie5/lace-alire | 1 | 12723 | <gh_stars>1-10
with
openGL.Font,
openGL.Geometry;
package openGL.Model.sphere.lit_colored
--
-- Models a lit, colored sphere.
--
is
type Item is new Model.sphere.item with private;
type View is access all Item'Class;
---------
--- Forge
--
function new_Sphere (Radius : in Real;
... |
src/ada/src/services/route_aggregator/uxas-comms-lmcp_net_client-service-route_aggregation.adb | VVCAS-Sean/OpenUxAS | 88 | 18886 | with Ada.Characters.Handling;
with DOM.Core.Elements;
with LMCP_Messages;
with LMCP_Message_Conversions;
with AFRL.CMASI.AirVehicleConfiguration; use AFRL.CMASI.AirVehicleConfiguration;
with AFRL.CMASI.AirVehicleState; use AFRL.CMASI.AirVehicleState;
with AFRL.CMASI.AutomationRequest; ... |
src/font.asm | fjpena/sword-of-ianna-msx2 | 43 | 103537 | ; Load font in VRAM (bank 0, address $6000)
LoadFONT:
ld hl, FONT
ld de, $6000
call unpackVRAM
ret
LoadFONT_menu:
ld hl, menu_font
ld de, $6800
call unpackVRAM
ret
; Print a string, terminated by 0
; INPUT:
; IY: pointer to string
; B: X in chars
; C: Y in chars
print_string:
push ... |
src/date-tables.asm | ViGrey/calendar_dot_exe | 2 | 101456 | ; Copyright (C) 2020-2021, <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:
;
; 1. Redistributions of source code must retain the above copyright
; notice, this list of conditions and t... |
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_21829_1167.asm | ljhsiun2/medusa | 9 | 6812 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x6b0a, %r14
nop
nop
nop
nop
and %r11, %r11
movw $0x6162, (%r14)
inc %rax
lea addresses_UC_ht+0x176ba, %rcx
cmp $29197, %r11
movl $0x61626364, (%rcx)
nop
n... |
programs/oeis/327/A327329.asm | karttu/loda | 0 | 163327 | <reponame>karttu/loda
; A327329: Twice the sum of all divisors of all positive integers <= n.
; 2,8,16,30,42,66,82,112,138,174,198,254,282,330,378,440,476,554,594,678,742,814,862,982,1044,1128,1208,1320,1380,1524,1588,1714,1810,1918,2014,2196,2272,2392,2504,2684,2768,2960,3048,3216,3372,3516,3612,3860,3974,4160,4304,45... |
awa/plugins/awa-comments/src/model/awa-comments-models.adb | fuzzysloth/ada-awa | 0 | 2662 | -----------------------------------------------------------------------
-- AWA.Comments.Models -- AWA.Comments.Models
-----------------------------------------------------------------------
-- File generated by ada-gen DO NOT MODIFY
-- Template used: templates/model/package-body.xhtml
-- Ada Generator: https://ada-... |
applescripts/filter-songs.applescript | Tyilo/play-song | 0 | 2927 | -- filters songs by the typed query --
-- load workflow configuration
do shell script "bash ./compile-config.sh"
set config to load script POSIX file ((do shell script "pwd") & "/config.scpt")
-- constructs song result list as XML string
on getSongResultListXml(query)
global config
-- search iTunes library for th... |
programs/oeis/166/A166957.asm | neoneye/loda | 22 | 177251 | <filename>programs/oeis/166/A166957.asm
; A166957: a(n) = 841*n^3 + 261*n^2 + 28*n + 1.
; 1,1131,7829,25141,58113,111791,191221,301449,447521,634483,867381,1151261,1491169,1892151,2359253,2897521,3512001,4207739,4989781,5863173,6832961,7904191,9081909,10371161,11776993,13304451,14958581,16744429,18667041,20731463,22942... |
src/interface/cl-vector_set.ads | flyx/OpenCLAda | 8 | 5600 | <gh_stars>1-10
--------------------------------------------------------------------------------
-- Copyright (c) 2013, <NAME> <<EMAIL>>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyright notice and this pe... |
oeis/210/A210277.asm | neoneye/loda-programs | 11 | 87958 | <filename>oeis/210/A210277.asm
; A210277: a(n) = (3*n)!/3^n.
; Submitted by <NAME>
; 1,2,80,13440,5913600,5381376000,8782405632000,23361198981120000,94566133475573760000,553211880832106496000000,4492080472356704747520000000,49017582114356362204938240000000,699971072593008852286518067200000000,12794071264855015802092977... |
3-mid/opengl/source/lean/model/opengl-model-sphere-colored.adb | charlie5/lace-alire | 1 | 24974 | <gh_stars>1-10
with
openGL.Geometry .colored,
openGL.Primitive.indexed;
package body openGL.Model.sphere.colored
is
---------
--- Forge
--
function new_Sphere (Radius : in Real;
lat_Count : in Positive := openGL.Model.sphere.default_latitude_Count;
... |
oeis/061/A061238.asm | neoneye/loda-programs | 11 | 243462 | ; A061238: Prime numbers == 2 (mod 9).
; Submitted by <NAME>
; 2,11,29,47,83,101,137,173,191,227,263,281,317,353,389,443,461,479,569,587,641,659,677,821,839,857,911,929,947,983,1019,1091,1109,1163,1181,1217,1289,1307,1361,1433,1451,1487,1523,1559,1613,1667,1721,1811,1847,1901,1973,2027,2063,2081,2099,2153,2207,2243,229... |
oeis/287/A287168.asm | neoneye/loda-programs | 11 | 6106 | ; A287168: Number of non-attacking bishop positions on a cylindrical 3 X 2n chessboard.
; Submitted by <NAME>
; 1,16,144,1156,11664,118336,1218816,12574116,129868816,1341610384,13860823824,143206237476,1479580304400,15286786268224,157940749232704,1631820172890436,16859722986240016,174192150898142224,1799727414404326416... |
test/asset/agda-stdlib-1.0/Data/Product.agda | omega12345/agda-mode | 0 | 9166 | <gh_stars>0
------------------------------------------------------------------------
-- The Agda standard library
--
-- Products
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.Product where
open import Function
open import Level
open import Rel... |
Bank_A/6_initacc.asm | ndf-zz/fv1testing | 0 | 178758 | ; FV-1 Testing
;
; Program: ACC Init Val
;
; note: also writes into delay for use with program 7
;
; Expected output: 0.0
skp RUN,output
wrax REG1,0.0 ; store ACC init value
output: ldax REG1
wrax DACL,0.0
; Copy ADCL into delay memory for program 7
or 0x800000 ; load -1.0
wra 0,1.0 ; save to delay start
not ... |
apps/x64-guest/src/rom.asm | fengjixuchui/virt86-demos | 14 | 161858 | ; Compile with NASM:
; $ nasm rom.asm -o rom.bin
%define PAGE_PRESENT (1 << 0)
%define PAGE_WRITE (1 << 1)
%define CODE_SEG 0x0008
%define DATA_SEG 0x0010
; This is where the ROM is loaded
org 0xFFFF0000
; Main code adapted from https://wiki.osdev.org/Entering_Long_Mode_Directly
ALIGN 4
IDT:
... |
boot/disk_load.asm | aosmith/toy-os | 10 | 98643 | disk_load:
push dx
mov ah, 0x02
mov al, dh
mov ch, 0x00
mov dh, 0x00
mov cl, 0x02
int 0x13
jc disk_error
pop dx
cmp dh, al
jne disk_error
ret
disk_error:
mov si, DISK_ERROR_MSG
call print_r
jmp $
DISK_ERROR_MSG db "Disk error!", 0
|
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_25.asm | ljhsiun2/medusa | 9 | 175613 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1a47b, %rsi
lea addresses_A_ht+0x12125, %rdi
clflush (%rsi)
nop
nop
nop
nop
add $7425, %r13
mov $53, %rcx
rep movsl
nop
nop
nop
sub $46241, %rcx
lea ... |
source/context/webidl-arguments.ads | reznikmm/webidl | 0 | 13649 | <gh_stars>0
-- SPDX-FileCopyrightText: 2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Ada.Iterator_Interfaces;
with League.Strings;
with WebIDL.Types;
package WebIDL.Arguments is
pragma Preelaborate;
type Argument is limited inter... |
test/Succeed/Issue4769.agda | shlevy/agda | 1,989 | 6924 | <gh_stars>1000+
-- Andreas, 2020-06-21, issue #4769
-- Name and hiding ignored in subsequent face constraint patterns.
-- Instead, we should throw a warning.
open import Agda.Primitive.Cubical
data S : Set where
base : S
foo : ∀ i j → Partial _ S
foo i j (i = i0) {{agdaDoesNotSeeThisName = (j = i1)}} = base
-- Ex... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_450.asm | ljhsiun2/medusa | 9 | 103116 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x16bcf, %rsi
lea addresses_WC_ht+0x1952f, %rdi
nop
nop
nop
nop
nop
sub %r8, %r8
mov $50, %rcx
rep movsb
nop
cmp %rsi, %rsi
lea addresses_WC_ht+0x1ce8f, %rsi
lea addresses... |
oeis/226/A226310.asm | neoneye/loda-programs | 11 | 102142 | <reponame>neoneye/loda-programs
; A226310: a(n+5) = a(n+4)+a(n+3)+a(n+2)+a(n+1)+2*a(n) with a(0)=0, a(1)=a(2)=a(3)=a(4)=1.
; Submitted by <NAME>
; 0,1,1,1,1,4,9,17,33,65,132,265,529,1057,2113,4228,8457,16913,33825,67649,135300,270601,541201,1082401,2164801,4329604,8659209,17318417,34636833,69273665,138547332,277094665,... |
drivertc/HM_Mus.asm | bspruck/badapple | 0 | 242727 | <reponame>bspruck/badapple<gh_stars>0
;****************************************************************
; HandyMusic- Music Script Decode Commands *
;****************************************************************
;Command Descriptions- *
; *
;0: Set Priority *
; Format: [0][Priority] (2 by... |
programs/oeis/124/A124861.asm | neoneye/loda | 22 | 86065 | ; A124861: Expansion of 1/(1-x-3x^2-4x^3-2x^4).
; 1,1,4,11,29,80,219,597,1632,4459,12181,33280,90923,248405,678656,1854123,5065557,13839360,37809835,103298389,282216448,771029675,2106492245,5755043840,15723072171,42956232021,117358608384
add $0,1
seq $0,2605 ; a(n) = 2*(a(n-1) + a(n-2)), a(0) = 0, a(1) = 1.
mul $0,6
s... |
programs/oeis/122/A122606.asm | neoneye/loda | 22 | 160720 | <filename>programs/oeis/122/A122606.asm<gh_stars>10-100
; A122606: n^(n+1) mod 7.
; 0,1,1,4,2,1,6,0,1,2,5,1,5,1,0,1,4,1,4,4,6,0,1,1,3,2,6,1,0,1,2,2,1,2,6,0,1,4,6,4,3,1,0,1,1,4,2,1,6,0,1,2,5,1,5,1,0,1,4,1,4,4,6,0,1,1,3,2,6,1,0,1,2,2,1,2,6,0,1,4,6,4,3,1,0,1,1,4,2,1,6,0,1,2,5,1,5,1,0,1
mov $1,$0
mov $2,$0
lpb $1
mul $0... |
RecursiveDivision/division.asm | miguel2192/CSC211-Assembly | 0 | 174367 | <filename>RecursiveDivision/division.asm
#########################################
<<<<<<< HEAD
# Author: <NAME> #
# division.asm - div(a,b) #
# Example of a recursive program that #
# uses addition to create division #
=======
# #
# mp.asm - mp(a,... |
courses/spark_for_ada_programmers/labs/answers/070_type_contracts/important_dates.ads | AdaCore/training_material | 15 | 15906 | <gh_stars>10-100
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
package Important_Dates with
SPARK_Mode => On
is
function Leap_Year
(Year : Positive)
return Boolean is
((Year mod 4 = 0 and then Year mod 100 /= 0) or else (Year mod 400 = 0));
function Valid_Date
(Year : Positive... |
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/日本_Ver3/asm/zel_char.asm | prismotizm/gigaleak | 0 | 18114 | Name: zel_char.asm
Type: file
Size: 178340
Last-Modified: '2016-05-13T04:36:32Z'
SHA-1: 61A784601DB2AAAAEC66114E658A326E64B79B30
Description: null
|
source/contexts/repl/program-repl_contexts.ads | optikos/oasis | 0 | 17524 | <filename>source/contexts/repl/program-repl_contexts.ads<gh_stars>0
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
--
-- REPL is abbreviation for "Read, Execute, Print Loop", a kind of an
-- intera... |
src/examples/Rejuvenation_Examples/src/rejuvenation_examples.adb | selroc/Renaissance-Ada | 1 | 27079 | with Examples.Ast;
with Examples.Factory;
with Examples.Finder;
with Examples.Match_Patterns;
with Examples.Navigation;
with Examples.Text_Rewrites;
with Examples.Visitor;
procedure Rejuvenation_Examples is
Root_Folder : constant String := "";
Project_Name : constant String := Root_Folder & "rejuvenation_exampl... |
source/nodes/program-nodes-quantified_expressions.ads | optikos/oasis | 0 | 10891 | <filename>source/nodes/program-nodes-quantified_expressions.ads<gh_stars>0
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Lexical_Elements;
with Program.Elements.Loop_Parameter_Specific... |
src/bootloader/print_pm.asm | batthomas/MythOS | 0 | 104560 | [BITS 32]
print_pm:
pusha
mov edx, 0xb8000
.loop:
mov al, [ebx]
mov ah, 0x0f
cmp al, 0
je .done
mov [edx], ax
add ebx, 1
add edx, 2
jmp .loop
.done:
popa
ret |
theories/alloy/PWSProp.als | pascalpoizat/fbpmn | 27 | 5142 | <reponame>pascalpoizat/fbpmn
module PWSProp
open PWSDefs
open PWSSyntax
open PWSSemantics
/* Each process (individually) reaches an end state. */
pred SimpleTermination {
all p : Process | some s: State, n : EndEvent | n in p.contains && s.nodemarks[n] >= 1
}
/* There is a state where all processes have correctl... |
extern/gnat_sdl/gnat_sdl2/src/ia32intrin_h.ads | AdaCore/training_material | 15 | 11334 | <gh_stars>10-100
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
package ia32intrin_h is
-- Copyright (C) 2009-2017 Free Software Foundation, Inc.
-- This file is part of GCC.
-- GCC is free software; you can redistribute it and/or modify
-- it under the terms of the GN... |
alloy4fun_models/trashltl/models/4/c57tEijYfAmsHeSKX.als | Kaixi26/org.alloytools.alloy | 0 | 972 | open main
pred idc57tEijYfAmsHeSKX_prop5 {
some f : File | eventually always f in Trash
}
pred __repair { idc57tEijYfAmsHeSKX_prop5 }
check __repair { idc57tEijYfAmsHeSKX_prop5 <=> prop5o } |
ga_lib/src/gl_enums_feedback.ads | rogermc2/GA_Ada | 3 | 4881 | <gh_stars>1-10
-- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
private with GL.Low_Level;
package GL_Enums_Feedback is
pragma Preelaborate;
type Feed_Back_Mode is (Feed_Back_2D, Feed_back_3D , Color_3D,
Color_Texture_3D... |
test/Fail/Issue5856.agda | KDr2/agda | 0 | 10556 | <reponame>KDr2/agda<filename>test/Fail/Issue5856.agda
-- Andreas, 2022-03-28, issue #5856, reported by <NAME>.
-- Patterns in path-lambdas were simply ignored, but should be illegal.
{-# OPTIONS --cubical #-}
-- {-# OPTIONS -v tc.term.lambda:30 #-}
open import Agda.Builtin.Cubical.Path
postulate
A E : Set
a : A... |
elaborability.agda | hazelgrove/hazelnut-agda | 0 | 15242 | <gh_stars>0
open import Nat
open import Prelude
open import dynamics-core
open import contexts
open import htype-decidable
open import lemmas-matching
open import lemmas-consistency
open import disjointness
open import typed-elaboration
module elaborability where
mutual
elaborability-synth : {Γ : tctx} {e... |
data/pokemon/base_stats/croconaw.asm | Karkino/KarkCrystal16 | 0 | 177306 | db 0 ; species ID placeholder
db 70, 88, 76, 48, 63, 60
; hp atk def spd sat sdf
db WATER, WATER ; type
db 45 ; catch rate
db 143 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/croconaw/f... |
Kernel/Source/Kernel/Bootloader/Bootloader.asm | Rohfel/Spark | 0 | 96639 | <reponame>Rohfel/Spark
; Copyright <NAME>. All rights reserved.
[org 0x7c00]
mov [BootDisk], dl
mov bp, 0x7c00
mov sp, bp
call ReadDisk
jmp ProgramSpace
%include "Kernel/Bootloader/DiskRead.asm"
%include "Kernel/Utilities/Print.asm"
times 510-($-$$) db 0
dw 0xaa55
|
oeis/156/A156372.asm | neoneye/loda-programs | 11 | 28694 | <filename>oeis/156/A156372.asm<gh_stars>10-100
; A156372: Denominator of Euler(n, 1/15).
; Submitted by <NAME>
; 1,30,225,13500,50625,1518750,11390625,1366875000,2562890625,76886718750,576650390625,34599023437500,129746337890625,3892390136718750,29192926025390625,7006302246093750000,6568408355712890625,1970522506713867... |
programs/oeis/037/A037667.asm | neoneye/loda | 22 | 244277 | ; A037667: Base 4 digits are, in order, the first n terms of the periodic sequence with initial period 3,2,0.
; 3,14,56,227,910,3640,14563,58254,233016,932067,3728270,14913080,59652323,238609294,954437176,3817748707,15270994830,61083979320,244335917283,977343669134,3909374676536,15637498706147,62549994824590
mov $1,4
... |
programs/oeis/278/A278313.asm | karttu/loda | 0 | 241984 | <gh_stars>0
; A278313: Number of letters "I" in Roman numeral representation of n.
; 1,2,3,1,0,1,2,3,1,0,1,2,3,1,0,1,2,3,1,0,1,2,3,1,0,1,2,3,1,0,1,2,3,1,0,1,2,3,1,0,1,2,3,1,0,1,2,3,1,0,1,2,3,1,0,1,2,3,1,0,1,2,3,1,0,1,2,3,1,0,1,2,3,1,0,1,2,3,1,0,1,2,3,1,0,1,2,3,1,0,1,2,3,1,0,1,2,3,1,0
add $0,6
mov $1,$0
mod $1,5
mov $2... |
programs/oeis/098/A098096.asm | neoneye/loda | 22 | 6203 | <filename>programs/oeis/098/A098096.asm
; A098096: Numbers of the form p^2 * 2^p for p prime.
; 16,72,800,6272,247808,1384448,37879808,189267968,4437573632,451508436992,2063731785728,188153927303168,3696558092582912,16263975998062592,310889111776919552,25301222706567446528,2006659878768217161728,8580041837284155195392,... |
src/math/pow_int/src/pow_int.asm | nikAizuddin/lib80386 | 4 | 87400 | <reponame>nikAizuddin/lib80386<gh_stars>1-10
; 1 2 3 4 5 6 7
;234567890123456789012345678901234567890123456789012345678901234567890
;=====================================================================
;
; FUNCTION NAME: pow_int
; FUNCTION PURPOSE: <See doc... |
src/nso-types-report_objects-observation_report.ads | SSOCsoft/Log_Reporter | 0 | 18380 | With
NSO.JSON,
Ada.Containers.Ordered_Maps,
Ada.Calendar,
Gnoga.Gui.Base,
Gnoga.Gui.Element.Form,
Gnoga.Gui.Element.Common;
Limited with
Report_Form;
Package NSO.Types.Report_Objects.Observation_Report with Elaborate_Body is
Package Instrument_Mode_Pkg is new Ada.Containers.Indefinite_Ordered_Maps(
"<" ... |
src/utilities/commandline_args.adb | SKNZ/BoiteMaker | 0 | 19448 | <gh_stars>0
with gnat.command_line;
use gnat.command_line;
package body commandline_args is
procedure initialize is
procedure validate_int_initialization(x : integer; name : string) is
begin
if x = int_no_value then
raise argument_missing with name;
end if;
... |
Practice/Final/Lab 5/4. Write an ASM code to read a letter and print if it is Upper case or Lower case.asm | WardunIslam/CSE331L_Section_7_Summer_2020_NSU | 0 | 19242 | <reponame>WardunIslam/CSE331L_Section_7_Summer_2020_NSU
.MODEL SMALL
.STACK 100H
.DATA
PROMPT DB 'Enter the letter : $'
MSG_1 DB 'The input letter is: $'
MSG_2 DB 'The input is not letter!$'
MSG_3 DB "'Uppercase'$"
MSG_4 DB "'Lowercase'$"
.CODE
MAIN PROC
MOV AX, @DATA
... |
src/firmware-tests/Platform/Motor/EnableMotorVddDummy.asm | pete-restall/Cluck2Sesame-Prototype | 1 | 27293 | <reponame>pete-restall/Cluck2Sesame-Prototype<gh_stars>1-10
#include "Platform.inc"
radix decimal
EnableMotorVddDummy code
global enableMotorVdd
enableMotorVdd:
return
end
|
src/ado-parameters.ads | My-Colaborations/ada-ado | 0 | 2148 | <gh_stars>0
-----------------------------------------------------------------------
-- ADO Parameters -- Parameters for queries
-- Copyright (C) 2010, 2011, 2012, 2013, 2015, 2017, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.