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 |
|---|---|---|---|---|
Legacy/Spotimeta.applescript | alexjohnj/spotijack | 28 | 3275 | tell application "Spotify"
set cAlbum to album of current track
set cArtist to artist of current track
set cDiscNum to disc number of current track
set cDuration to duration of current track
set cTrackNum to track number of current track
set cName to name of current track
set cAlbumArtist to album artist of curr... |
Library/Chart/Series/seriesPie.asm | steakknife/pcgeos | 504 | 103200 | <reponame>steakknife/pcgeos
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: seriesPie.asm
AUTHOR: <NAME>
METHODS:
Name Description
---- -----------
FUNCTIONS:
Scope Name Descriptio... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-8650U_0xd2_notsx.log_8_97.asm | ljhsiun2/medusa | 9 | 178225 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r13
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
// Load
lea addresses_RW+0x1c652, %rsi
nop
nop
cmp $52610, %rbp
mov (%rsi), %r15w
nop
nop
nop
nop
and $17436, %r10
// Store
lea addresses... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_50.asm | ljhsiun2/medusa | 9 | 160518 | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1babd, %rbp
nop
nop
nop
nop
xor %r14, %r14
movups (%rbp), %xmm0
vpextrq $0, %xmm0, %rax
nop
nop
nop
nop
nop
and %rdi, %rdi
lea addresses_WT_ht+0x5bdf, %rsi
lea addresses_normal_ht... |
MSP430F541xA_MSP430F543xA_Code_Examples/Assembly_CCS/msp430x54xA_adc12_06.asm | sususweet/MSP430F541x-MSP430F543x-Code-Examples | 0 | 243202 | ; --COPYRIGHT--,BSD_EX
; Copyright (c) 2012, Texas Instruments Incorporated
; 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 co... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/controller.ads | best08618/asylo | 7 | 26163 | <reponame>best08618/asylo<gh_stars>1-10
-- { dg-do compile }
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
package Controller is
type Iface is interface;
type Thing is tagged record
Name : Unbounded_String;
end record;
type Object is abstract new Thing and Iface with private;
private
typ... |
programs/oeis/165/A165817.asm | karttu/loda | 1 | 85764 | ; A165817: Number of compositions (= ordered integer partitions) of n into 2n parts.
; 1,2,10,56,330,2002,12376,77520,490314,3124550,20030010,129024480,834451800,5414950296,35240152720,229911617056,1503232609098,9847379391150,64617565719070,424655979547800,2794563003870330,18412956934908690
mov $1,3
mul $1,$0
sub $1,1... |
src/apsepp-abstract_early_test_case.ads | thierr26/ada-apsepp | 0 | 14063 | <filename>src/apsepp-abstract_early_test_case.ads
-- Copyright (C) 2019 <NAME> <<EMAIL>>
-- MIT license. Please refer to the LICENSE file.
private with Ada.Exceptions;
private with Ada.Tags;
with Apsepp.Test_Node_Class.Case_Stub; use Apsepp.Test_Node_Class.Case_Stub;
use Apsepp.Test_Node_Class;
package Apsepp.Abstr... |
source/errors.ads | jquorning/CELLE | 0 | 8981 | <filename>source/errors.ads
--
-- 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 Ada.Strin... |
programs/oeis/001/A001287.asm | neoneye/loda | 22 | 4919 | ; A001287: a(n) = binomial coefficient C(n,10).
; 1,11,66,286,1001,3003,8008,19448,43758,92378,184756,352716,646646,1144066,1961256,3268760,5311735,8436285,13123110,20030010,30045015,44352165,64512240,92561040,131128140,183579396,254186856,348330136,472733756,635745396,847660528,1121099408,1471442973,1917334783,2481256... |
src/careers.ads | thindil/steamsky | 80 | 3697 | -- Copyright 2018-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
-- (at your option) a... |
client/webstart/toolkits-src/terminal.scpt | codecanaan/codecanaan | 0 | 4573 | on run argv
tell app "Terminal"
activate
set tab1 to do script item 1 of argv
tell tab1 to set custom title to "CodeCanaan"
end tell
end run
|
test/interaction/Issue3337.agda | shlevy/agda | 1,989 | 8464 | {-# OPTIONS --prop #-}
postulate
P : Prop
p : P
-- C-c C-n should print `p` as `_`
record Box (X : Prop) : Set where
constructor box
field unbox : X
open Box
test : P → Box P
test = λ x → box x
-- C-c C-n should print `test` as `λ x → box _`
|
programs/oeis/026/A026038.asm | jmorken/loda | 1 | 105301 | ; A026038: a(n) = (d(n)-r(n))/2, where d = A026037 and r is the periodic sequence with fundamental period (1,0,0,1).
; 5,11,20,33,52,78,111,152,203,265,338,423,522,636,765,910,1073,1255,1456,1677,1920,2186,2475,2788,3127,3493,3886,4307,4758,5240,5753,6298,6877,7491,8140,8825,9548,10310,11111,11952,12835,13761,14730,157... |
basic/08.add1.asm | boa9448/assembly_study | 0 | 85754 | <reponame>boa9448/assembly_study
%include "io64.inc"
section .text
global CMAIN
CMAIN:
;write your code here
;add param1, param2 => param1 += param2
;param1 : 레지스터 또는 메모리에 있는 값
;param2 : 레지스터, 메모리 값
;param 1, 2가 모두 메모리인 경우에는 불가능함
;add eax, 4 => 가능
;add [a], [b] => 불가능
mov ax, 0x5
... |
programs/oeis/225/A225975.asm | karttu/loda | 1 | 99739 | ; A225975: Square root of A226008(n).
; 0,2,2,6,1,10,6,14,4,18,10,22,3,26,14,30,8,34,18,38,5,42,22,46,12,50,26,54,7,58,30,62,16,66,34,70,9,74,38,78,20,82,42,86,11,90,46,94,24,98,50,102,13,106,54,110,28,114,58
mov $1,$0
add $0,4
mul $1,2
gcd $0,$1
div $1,$0
|
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_2194.asm | ljhsiun2/medusa | 9 | 96939 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xa995, %rdi
nop
nop
nop
nop
nop
and $26186, %r12
mov (%rdi), %r8
add %r10, %r10
lea addresses_WC_ht+0xcf4d, %r12
nop
nop
nop
add $20138, %r10
vmovups (%r12), %ymm1
vextracti128... |
src/tom/library/sl/ada/abstractstrategybasicpackage.ads | rewriting/tom | 36 | 16871 | with ObjectPack, AbstractStrategyPackage, StrategyPackage, IntrospectorPackage, VisitablePackage;
use ObjectPack, AbstractStrategyPackage, StrategyPackage, IntrospectorPackage, VisitablePackage;
package AbstractStrategyBasicPackage is
type AbstractStrategyBasic is abstract new AbstractStrategy and Object with
recor... |
unions.agda | hazelgrove/hazelnat-myth- | 1 | 2838 | <filename>unions.agda
open import Prelude
open import Nat
open import List
open import contexts
module unions where
-- values mapped in Γ2 replace those mapped in Γ1
_∪_ : {A : Set} → A ctx → A ctx → A ctx
Γ1 ∪ Γ2 = union (λ a b → b) Γ1 Γ2
-- duplicate mappings are combined by append (_++_)
_⊎_ : {A : Set} ... |
src/ada/src/comms/uxas-comms-transport-receiver-zeromq-addr_attr_msg_receivers.ads | VVCAS-Sean/OpenUxAS | 88 | 3018 | <reponame>VVCAS-Sean/OpenUxAS
-- see OpenUxAS\src\Communications\ZeroMqAddressedAttributedMessageReceiver.h
with UxAS.Comms.Data.Addressed.Attributed; use UxAS.Comms.Data.Addressed.Attributed;
with UxAS.Common.Sentinel_Serial_Buffers; use UxAS.Common.Sentinel_Serial_Buffers;
with Ada.Containers.Formal_Doubly_Lin... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/lib-xref-spark_specific.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 8472 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
main.scpt | vutondesign/ByeFinder | 2 | 3399 | <filename>main.scpt
set var to "Are you sure you want to quit finder? You can relaunch it by normally opening the application again."
set question to display dialog var
tell application "Finder" to quit
|
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_9870_1605.asm | ljhsiun2/medusa | 9 | 221 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xe96d, %r9
xor %rdx, %rdx
vmovups (%r9), %ymm0
vextracti128 $1, %ymm0, %xmm0
vpextrq $1, %xmm0, %r8
nop
nop
sub $58040, %rax
lea addresses_WT_ht+0x15ded, %r1... |
thirdparty/adasdl/thin/adasdl/AdaSDL_framebuff/sdltests/testhread.adb | Lucretia/old_nehe_ada95 | 0 | 2666 |
-- ----------------------------------------------------------------- --
-- --
-- This is free software; you can redistribute it and/or --
-- modify it under the terms of the GNU General Public --
-- License as published by the ... |
libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sccz80/invsqrt.asm | ahjelm/z88dk | 4 | 29798 |
SECTION code_fp_math16
PUBLIC invsqrtf16
EXTERN asm_f16_invsqrt
defc invsqrtf16 = asm_f16_invsqrt
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _invsqrtf16
defc _invsqrtf16 = invsqrtf16
ENDIF
|
data/pokemon/dex_entries/snorunt.asm | AtmaBuster/pokeplat-gen2 | 6 | 2028 | db "SNOW HAT@" ; species name
db "It's said that if"
next "they appear at"
next "midnight, they'll"
page "cause heavy snow."
next "They eat snow and"
next "ice to survive.@"
|
src/qweyboard/qweyboard-emulation.ads | kqr/qweyboard | 33 | 1110 | <gh_stars>10-100
with Configuration;
with Ada.Real_Time;
private with Unicode_Strings;
private with Qweyboard.Languages;
private with Logging;
private with Output_Backend;
package Qweyboard.Emulation is
package RT renames Ada.Real_Time;
use type RT.Time, RT.Time_Span;
task type Timer_Task;
protected Soft... |
opengl-check.ads | io7m/coreland-opengl-ada | 1 | 11226 | <gh_stars>1-10
package OpenGL.Check is
GL_Error : exception;
procedure State_OK (Message : in String := "");
procedure Raise_Exception (Message : in String);
end OpenGL.Check;
|
src/giza-widget-keyboards.adb | Fabien-Chouteau/Giza | 7 | 27257 | <reponame>Fabien-Chouteau/Giza<filename>src/giza-widget-keyboards.adb<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- Giza --... |
libsrc/_DEVELOPMENT/math/float/math32/c/sdcc/cm32_sdcc_fsinv_fastcall.asm | rjcorrig/z88dk | 0 | 169703 | <filename>libsrc/_DEVELOPMENT/math/float/math32/c/sdcc/cm32_sdcc_fsinv_fastcall.asm<gh_stars>0
; float __fsinv_fastcall (float number)
SECTION code_clib
SECTION code_math
PUBLIC cm32_sdcc_fsinv_fastcall
EXTERN m32_fsinv_fastcall
; invert sdcc float
;
; enter : stack = sdcc_float number, ret
;
;... |
Task/Parsing-RPN-calculator-algorithm/Ada/parsing-rpn-calculator-algorithm.ada | LaudateCorpus1/RosettaCodeData | 1 | 6666 | <gh_stars>1-10
with Ada.Text_IO, Ada.Containers.Vectors;
procedure RPN_Calculator is
package IIO is new Ada.Text_IO.Float_IO(Float);
package Float_Vec is new Ada.Containers.Vectors
(Index_Type => Positive, Element_Type => Float);
Stack: Float_Vec.Vector;
Input: String := Ada.Text_IO.Get_Line;
Cur... |
GraphGrammar.g4 | jeanpah/colombian_address_autocomplete | 0 | 3528 | // Define a grammar called Hello
grammar GraphGrammar;
spec : (copy_stm| purge_single_stm | purge_all_stm | create_stm | single_add_to_link | multiple_add_to_link| perpesctive_call_stm)+;
copy_stm : 'copy' old_spec=identifier ('(' old_id = INT ')')? 'as' new_spec=identifier '.';
purge_single_stm: 'purge' 'link' link_n... |
cnd.apt.antlr4/src/main/antlr4/org/netbeans/modules/cnd/apt/impl/support/generated/v2/APTLexer.g4 | vieiro/cnd.nextapt | 0 | 6035 | <filename>cnd.apt.antlr4/src/main/antlr4/org/netbeans/modules/cnd/apt/impl/support/generated/v2/APTLexer.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 information
* regarding co... |
programs/oeis/155/A155212.asm | neoneye/loda | 22 | 25680 | <reponame>neoneye/loda
; A155212: a(n) = (n^2 + 9*n + 4)/2.
; 2,7,13,20,28,37,47,58,70,83,97,112,128,145,163,182,202,223,245,268,292,317,343,370,398,427,457,488,520,553,587,622,658,695,733,772,812,853,895,938,982,1027,1073,1120,1168,1217,1267,1318,1370,1423,1477,1532,1588,1645,1703,1762,1822,1883,1945,2008,2072,2137,22... |
Working Disassembly/General/Sprites/Splash Drown/DPLC - Dash Splash Drown.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 5 | 98799 | dc.w word_18F1E-DPLC_DashSplashDrown
dc.w word_18F20-DPLC_DashSplashDrown
dc.w word_18F24-DPLC_DashSplashDrown
dc.w word_18F28-DPLC_DashSplashDrown
dc.w word_18F2C-DPLC_DashSplashDrown
dc.w word_18F30-DPLC_DashSplashDrown
dc.w word_18F34-DPLC_DashSplashDrown
dc.w word_18F38-DPLC_DashSplashDrown
dc.w w... |
freenet-stop.applescript | rinchen/fesc | 0 | 4212 | <reponame>rinchen/fesc
on clicked theObject
try
-- Read in the preferences
set theLocation to POSIX path of (call method "defaultObjectForKey:" with parameter "location")
do shell script "cd " & theLocation & ";sh stop-freenet.sh"
tell progress indicator "progress" of window "main" to stop
on error
display ... |
src/format/formatted_output-integer_output.ads | dshadrin/AProxy | 1 | 14363 | <filename>src/format/formatted_output-integer_output.ads
------------------------------------------------------------------------------
-- --
-- File: --
-- formatted_output-in... |
main.adb | twinbee/djikstrasStabilizing | 0 | 27966 | ----------------------------csc410/prog4/as4.adb----------------------------
-- Author: <NAME>
-- Class: CSC410 Burgess
-- Date: 10-05-04 Modified: 10-17-04
-- Due: 10-12-04
-- Desc: Assignment 4: DJIKSTRA'S STABILIZING ALGORITHM
--
-- a nonproduction implementation of
-- DJIKSTRA's algorithm which describ... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ca/ca5004b0.ada | best08618/asylo | 7 | 1843 | <reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ca/ca5004b0.ada
-- CA5004B0.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. Governm... |
agda/MorePropAlgebra/Definitions.agda | mchristianl/synthetic-reals | 3 | 17345 | {-# OPTIONS --cubical --no-import-sorts #-}
module MorePropAlgebra.Definitions where
open import Agda.Primitive renaming (_⊔_ to ℓ-max; lsuc to ℓ-suc; lzero to ℓ-zero)
open import Cubical.Foundations.Everything renaming (_⁻¹ to _⁻¹ᵖ; assoc to ∙-assoc)
open import Cubical.Relation.Nullary.Base renaming (¬_ to ¬ᵗ_)--... |
MdeModulePkg/Universal/Acpi/BootScriptExecutorDxe/IA32/S3Asm.nasm | nicklela/edk2 | 3,861 | 84643 | ;; @file
; This is the assembly code for transferring to control to OS S3 waking vector
; for IA32 platform
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
;
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;;
SECTION .text
global ASM_PFX(AsmFixAddress16)
global ASM_PFX(AsmJmpAd... |
CSE_316_8086_Practice/1505080_Prac_11.asm | ishtiaqniloy/BUET-CSE-316-8086 | 0 | 80978 | TITLE PRACTICE PROBLEM 8
.MODEL SMALL
.DATA
STR1 DB 'Enter 3 single digit numbers: $'
STR2 DB 'Result = $'
.CODE
MAIN PROC
MOV DX, @DATA
MOV DS, DX
LEA DX, STR1 ;1st string
MOV AH, 9
INT 21h
... |
Transynther/x86/_processed/AVXALIGN/_st_zr_/i3-7100_9_0x84_notsx.log_21829_1191.asm | ljhsiun2/medusa | 9 | 104431 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r8
push %r9
push %rbx
push %rdx
lea addresses_A_ht+0x479b, %r14
add $56966, %r8
movb $0x61, (%r14)
cmp $50055, %r12
lea addresses_A_ht+0x108d3, %rbx
nop
nop
nop
nop
xor $52400, %rdx
mov $0x6162636465666768, %r15
m... |
data/pokemon/base_stats/togetic.asm | AtmaBuster/pokeplat-gen2 | 6 | 26821 | db 0 ; species ID placeholder
db 55, 40, 85, 40, 80, 105
; hp atk def spd sat sdf
db NORMAL, FLYING ; type
db 75 ; catch rate
db 114 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F12_5 ; gender ratio
db 10 ; step cycles to hatch
INCBIN "gfx/pokemon/togetic/front.dimensions"
db GROWTH_FAST ; ... |
oeis/348/A348492.asm | neoneye/loda-programs | 11 | 162723 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A348492: Greatest common divisor of the arithmetic derivative (A003415) and Pillai's arithmetical function (A018804).
; Submitted by <NAME>
; 1,1,1,4,1,5,1,4,3,1,1,8,1,3,1,16,1,21,1,24,5,1,1,4,5,15,27,8,1,1,1,16,7,1,3,12,1,3,1,4,1,1,1,24,3,5,1,16,7,15,5,8,1,81,1,4,1,1,1... |
Structure/OrderedField/AbsoluteValue.agda | Lolirofle/stuff-in-agda | 6 | 1206 | <reponame>Lolirofle/stuff-in-agda
open import Logic
open import Structure.Setoid
open import Structure.Operator.Ring
open import Structure.OrderedField
open import Type
module Structure.OrderedField.AbsoluteValue
{ℓ ℓₗ ℓₑ}
{F : Type{ℓ}}
⦃ equiv : Equiv{ℓₑ}(F) ⦄
(_+_ _⋅_ : F → F → F)
(_≤_ : F → F → Stmt{ℓₗ})
... |
oeis/069/A069157.asm | neoneye/loda-programs | 11 | 99687 | ; A069157: Number of positive divisors of n that are divisible by the smallest prime that divides n.
; Submitted by <NAME>
; 0,1,1,2,1,2,1,3,2,2,1,4,1,2,2,4,1,3,1,4,2,2,1,6,2,2,3,4,1,4,1,5,2,2,2,6,1,2,2,6,1,4,1,4,4,2,1,8,2,3,2,4,1,4,2,6,2,2,1,8,1,2,4,6,2,4,1,4,2,4,1,9,1,2,3,4,2,4,1,8,4,2,1,8,2,2,2,6,1,6,2,4,2,2,2,10,1,... |
openal-context-error.adb | io7m/coreland-openal-ada | 1 | 30019 | with OpenAL.ALC_Thin;
with OpenAL.Types;
package body OpenAL.Context.Error is
function Get_Error (Device : in Device_t) return Error_t is
begin
return Map_Constant_To_Error (ALC_Thin.Get_Error (Device.Device_Data));
end Get_Error;
function Map_Constant_To_Error (Error : in Types.Enumeration_t) return Err... |
programs/oeis/024/A024676.asm | neoneye/loda | 22 | 82921 | <gh_stars>10-100
; A024676: Prime divisors (not necessarily distinct) of n-th term of sequence A024675 (averages of two consecutive odd primes).
; 2,2,2,3,2,3,2,2,3,2,2,3,3,3,4,4,6,2,5,3,4,2,2,3,3,3,5,2,5,2,2,3,6,4,3,6,3,3,5,5,3,7,3,4,2,2,4,4,3,3,6,3,2,4,3,5,2,3,3,7,5,2,5,4,6,2,4,4,4,3,3,3,4,2,2,2,3,5,4,5,3,7,3,4,2,2,4... |
optimised/ram.asm | PJBoy/SM-SPC | 4 | 5427 | <filename>optimised/ram.asm
; Utility constants for this file
{
!n_tracks = 8
!sound1_n_channels = 4
!sound2_n_channels = 2
!sound3_n_channels = 2
!n_channels = 8
}
!p_ram = 0
!canInterleaveBytePairArray = 0
!lastBytePairN = 0
macro declare(name, n)
{
if defined("printRamMap") : print "$", hex(!p_r... |
alloy4fun_models/trashltl/models/9/pQYbN2cq85s94CDcv.als | Kaixi26/org.alloytools.alloy | 0 | 200 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idpQYbN2cq85s94CDcv_prop10 {
always(all p: Protected | always p in Protected)
}
pred __repair { idpQYbN2cq85s94CDcv_prop10 }
check __repair { idpQYbN2cq85s94CDcv_prop10 <=> prop10o } |
programs/oeis/171/A171790.asm | neoneye/loda | 22 | 4747 | ; A171790: G.f. A(x) satisfies: A(x*(1+x)^3) = 1 + x.
; 1,1,-3,15,-91,612,-4389,32890,-254475,2017356,-16301164,133767543,-1111731933,9338434700,-79155435870,676196049060,-5815796869995,50318860986108,-437662920058980,3824609516638444,-33563127932394060
mov $1,1
sub $1,$0
sub $1,$0
sub $1,$0
mov $2,$1
bin $1,$0
div $1... |
bench/stlc_small5k.agda | int-index/smalltt | 377 | 3418 | <gh_stars>100-1000
{-# OPTIONS --type-in-type #-}
Ty : Set; Ty
= (Ty : Set)
(ι : Ty)
(arr : Ty → Ty → Ty)
→ Ty
ι : Ty; ι = λ _ ι _ → ι
arr : Ty → Ty → Ty; arr = λ A B Ty ι arr → arr (A Ty ι arr) (B Ty ι arr)
Con : Set;Con
= (Con : Set)
(nil : Con)
(snoc : Con → Ty → Con)
→ Con
nil : Con;nil
=... |
externals/mpir-3.0.0/mpn/x86_64w/umul_ppmm.asm | JaminChan/eos_win | 12 | 98338 | ; PROLOGUE(mpn_umul_ppmm)
; Copyright 2008 <NAME>
;
; This file is part of the MPIR Library.
;
; The MPIR Library is free software; you can redistribute it and/or
; modify it under the terms of the GNU Lesser General Public License as
; published by the Free Software Foundation; either version 2.1 of the
; Licen... |
components/src/range_sensor/VL6180X/vl6180x.adb | morbos/Ada_Drivers_Library | 2 | 24232 | <filename>components/src/range_sensor/VL6180X/vl6180x.adb
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016, AdaCore --
-- ... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_2301.asm | ljhsiun2/medusa | 9 | 241480 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r8
push %rcx
push %rsi
lea addresses_WT_ht+0x8a5f, %rsi
nop
nop
nop
nop
dec %rcx
movb (%rsi), %r13b
mfence
pop %rsi
pop %rcx
pop %r8
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r13
push %rax
push ... |
print-caharacter.asm | MahmoudAbusaqer/Assembly-Language-Course-Assignments | 1 | 178474 | <gh_stars>1-10
name 'print-character'
mov ah, 06h
mov dl, 065
int 21h
mov dl, 20h
int 21h
mov dl, 62h
int 21h |
1-source-files/original-sources/converted_source_files/a.qcode_3.asm | markmoxon/elite-a-beebasm | 16 | 27270 | <reponame>markmoxon/elite-a-beebasm
.msg_1
EQUB &00
EQUS &09, &0B, &01, &08, " ", &F1, "SK AC", &E9, "SS ME", &E1, &D7, &0A, &02, "1. ", &95, &D7, "2. SA", &FA
EQUS " ", &9A, " ", &04, &D7, "3. C", &F5, "A", &E0, "GUE", &D7, "4. DEL", &DD, "E", &D0, "FI", &E5, &D7, "5. E"
EQUS "X", &DB, &D7
EQUB &00
EQUS &0C, "... |
src/generated/renderer_sdl2_h.ads | csb6/libtcod-ada | 0 | 24939 | pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
limited with context_h;
limited with tileset_h;
limited with console_h;
with utypes_uuint32_t_h;
with Interfaces.C.Strings;
with System;
with error_h;
package renderer_sdl2_h is
-- BSD 3-Clause License
-- *
-- * Copyright © 2008-2... |
programs/oeis/010/A010123.asm | neoneye/loda | 22 | 1025 | <reponame>neoneye/loda
; A010123: Continued fraction for sqrt(14).
; 3,1,2,1,6,1,2,1,6,1,2,1,6,1,2,1,6,1,2,1,6,1,2,1,6,1,2,1,6,1,2,1,6,1,2,1,6,1,2,1,6,1,2,1,6,1,2,1,6,1,2,1,6,1,2,1,6,1,2,1,6,1,2,1,6,1,2,1,6,1,2,1,6,1,2,1,6,1,2,1,6,1,2,1,6,1,2,1,6,1,2,1,6,1,2,1,6,1,2,1
add $0,1
mul $0,2
lpb $0
mul $0,3
sub $0,1
m... |
_anim/obj40.asm | vladjester2020/Sonic1TMR | 0 | 98190 | <reponame>vladjester2020/Sonic1TMR<filename>_anim/obj40.asm
; ---------------------------------------------------------------------------
; Animation script - Motobug enemy
; ---------------------------------------------------------------------------
dc.w byte_F788-Ani_obj40
dc.w byte_F78C-Ani_obj40
dc.w byt... |
Categories/Topos.agda | copumpkin/categories | 98 | 9306 | <reponame>copumpkin/categories<gh_stars>10-100
module Categories.Topos where
|
tofish.asm | tschaer/tofish | 1 | 104040 | <reponame>tschaer/tofish
; tofish.asm
;
; A simple language interpreter for Toby's Own Forth-ish
;
; Copyright (c) 2012 by <NAME> ("tschaer")
;
;-------------------------------------------------------------------------------------
; "MIT Open Source Software License":
; Permission is hereby granted, free of charge, to ... |
source/league/ucd/matreshka-internals-unicode-ucd-core_0026.ads | svn2github/matreshka | 24 | 3649 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
software/hal/boards/components/MPU6000/mpu6000-driver.ads | TUM-EI-RCS/StratoX | 12 | 26950 | -- Institution: AdaCore / Technische Universitaet Muenchen
-- Department: * / Realtime Computer Systems (RCS)
-- Project: StratoX
-- Module: MPU 6000 Driver for SPI
--
-- Authors: <NAME>,
-- <NAME> (<EMAIL>)
with Interfaces; use Interfaces;
with Ada.Real_Time; use Ada.Real_Time;
with HIL.... |
leddriver16bit.asm | brainsmoke/softpwmpdk | 1 | 245903 | <reponame>brainsmoke/softpwmpdk
.module softpwmpdk
BUFSIZE=8
.include "pdk.asm"
.include "delay.asm"
.include "settings.asm"
.include "uart2.asm"
.include "softpwm16.asm"
.area DATA (ABS)
.org 0x00
; bitwise ops need to have an address < 16
shiftreg: .ds 1
error: .ds 1
uart_state: .ds 1
pin_ma... |
ada/calc.adb | vatsjijj/misc-scripts | 0 | 11972 | <gh_stars>0
with Ada.Text_IO;
use Ada.Text_IO;
procedure Calc is
procedure Add (X, Y : Integer) is
Sum : Integer;
begin
Sum := X + Y;
Put_Line (Integer'Image (Sum));
end Add;
procedure Sub (X, Y : Integer) is
Diff : Integer;
begin
Diff := X - Y;
Put_Line (Integer'Image (Diff));
end... |
gcc-gcc-7_3_0-release/gcc/ada/xutil.ads | best08618/asylo | 7 | 21004 | ------------------------------------------------------------------------------
-- --
-- GNAT SYSTEM UTILITIES --
-- --
-- ... |
3-mid/impact/source/3d/dynamics/joints/impact-d3-constraint_solver-sequential_impulse.adb | charlie5/lace | 20 | 12360 | with impact.d3.Vector;
with impact.d3.Transform;
with impact.d3.Scalar,
impact.d3.Matrix;
with Ada.Containers;
with impact.d3.solver_Constraint;
use impact.d3.solver_Constraint;
with interfaces.C;
package body impact.d3.constraint_Solver.sequential_impulse
is
-- //#define COMPUTE_IMPULSE_DENOM 1
-- //I... |
day06/src/main.adb | jwarwick/aoc_2020 | 3 | 16689 | -- AOC 2020, Day 6
with Ada.Text_IO; use Ada.Text_IO;
with Day; use Day;
procedure main is
anyone : constant Natural := anyone_sum("input.txt");
everyone : constant Natural := everyone_sum("input.txt");
begin
put_line("Part 1: " & Natural'Image(anyone));
put_line("Part 2: " & Natural'Image(everyone));
end main... |
Engine Hacks/AnimaTriangle/Definitions.asm | sme23/MekkahRestrictedHackComp1 | 1 | 12797 | <reponame>sme23/MekkahRestrictedHackComp1
.macro SET_FUNC name, value
.global \name
.type \name, %function
.set \name, \value
.endm
SET_FUNC AnimaTriangle, (0x0802C834+1)
|
ugbc/src/hw/6809/bits_to_string.asm | spotlessmind1975/ugbasic | 10 | 22539 | ; /*****************************************************************************
; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers *
; *****************************************************************************
; * Copyright 2021-2022 <NAME> (<EMAIL>)
; *
; * Licensed under the Apache... |
examples/dump_tree/_standard_.ads | optikos/oasis | 0 | 23307 | <filename>examples/dump_tree/_standard_.ads
package Standard is
type Boolean is (False, True);
type Integer is range -2 ** 31 .. 2 ** 31 - 1;
subtype Natural is Integer range 0 .. Integer'Last;
subtype Positive is Integer range 1 .. Integer'Last;
type Float is digits 6
range -16#0.FFFF_FF#E32 .. 16... |
Z80tests/tape2.asm | ruyrybeyro/QtSpecem | 7 | 22637 | <gh_stars>1-10
; EXAMPLE SAVE AND LOAD ; BLOCKS WITH HEADERS
; pasmo --tapbas tape2.asm tape2.asm
ORG 50000
LD A,2 ; upper screen
CALL 5633 ; open channel
CALL FILL_SCREEN
CALL SAVE_SCREEN
CALL 3503 ; CLS
CALL LOAD_SCREEN
; need to... |
oeis/171/A171714.asm | neoneye/loda-programs | 11 | 23281 | ; A171714: a(n) = ceiling((n+1)^4/2).
; 1,8,41,128,313,648,1201,2048,3281,5000,7321,10368,14281,19208,25313,32768,41761,52488,65161,80000,97241,117128,139921,165888,195313,228488,265721,307328,353641,405000,461761,524288,592961,668168,750313,839808,937081,1042568,1156721,1280000,1412881,1555848,1709401,1874048,2050313,... |
hierarchy.agda | louisswarren/hieretikz | 2 | 9263 | <filename>hierarchy.agda
module hierarchy where
data Bool : Set where
true : Bool
false : Bool
_and_ : Bool → Bool → Bool
true and true = true
true and false = false
false and true = false
false and false = false
_or_ : Bool → Bool → Bool
true or true = true
true or false = true
false or true = true
false or fa... |
services/structureddate/src/main/antlr4/org/collectionspace/services/structureddate/antlr/StructuredDate.g4 | litchfieldhistoricalsociety/services | 0 | 715 | <filename>services/structureddate/src/main/antlr4/org/collectionspace/services/structureddate/antlr/StructuredDate.g4
grammar StructuredDate;
/*
* This is a grammar for ANTLR 4 (http://www.antlr.org/).
*
*/
/*
* Parser rules
*/
oneDisplayDate: displayDate ( DOT | QUESTION )? EOF ;
displayDate: ... |
software/lib/kalman.adb | TUM-EI-RCS/StratoX | 12 | 100 | <reponame>TUM-EI-RCS/StratoX
with Ada.Real_Time; use Ada.Real_Time;
with Ada.Numerics.Generic_Real_Arrays;
with Units.Vectors; use Units.Vectors.Unit_Arrays_Pack;
with Logger;
with Profiler;
package body Kalman with SPARK_Mode,
Refined_State => (State => (G, KM_Profiler))
is
k : constant := State_Vector_Index... |
alloy4fun_models/trashltl/models/17/63F79avEzxQYA7veY.als | Kaixi26/org.alloytools.alloy | 0 | 4696 | open main
pred id63F79avEzxQYA7veY_prop18 {
always (all f : Protected | f not in Protected implies f in Trash)
}
pred __repair { id63F79avEzxQYA7veY_prop18 }
check __repair { id63F79avEzxQYA7veY_prop18 <=> prop18o } |
oeis/159/A159519.asm | neoneye/loda-programs | 11 | 175198 | ; A159519: Numerator of Hermite(n, 13/15).
; Submitted by <NAME>
; 1,26,226,-17524,-760724,11764376,2017502776,20691256976,-5817161063024,-225734712752224,17690399773689376,1475756601500931776,-49197807240738185024,-9248228636364224401024,47353227812848547963776,59495024332228675973509376,1227236344901217876555755776,-... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_373.asm | ljhsiun2/medusa | 9 | 169480 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x89ec, %rsi
xor %r14, %r14
mov (%rsi), %rbx
and %rcx, %rcx
lea addresses_WC_ht+0x4f78, %r8
nop
nop
nop
nop
sub %r13, %r13
movl $0x61626364, (%r8)
nop
nop
add %r13, %r13
lea add... |
kernel/src/gdt_helper.asm | bordode/radium | 10 | 168693 | <filename>kernel/src/gdt_helper.asm
extern gdtr
global gdt_reload
section .text
gdt_reload:
lgdt [gdtr]
jmp 0x08:.flush_cs
.flush_cs:
mov eax, 0x10
mov ds, eax
mov es, eax
mov fs, eax
mov gs, eax
mov ss, eax
ret
|
core/src/main/c/share/asmlib/procname64.asm | terasum/questdb | 8,451 | 85114 | ; procname64.asm
;
; Author: <NAME>
; Date created: 2007
; Last modified: 2011-07-02
; Description:
; ProcessorName
; =============
; This function produces a zero-terminated ASCII string containing a name
; for the microprocessor in human-readable format.
;
; Copyright (c) 2007-201... |
fracGC/Examples/BooleanCircuits.agda | JacquesCarette/pi-dual | 14 | 830 | {-# OPTIONS --without-K #-}
module Examples.BooleanCircuits where
open import Data.Empty using (⊥)
open import Data.Unit using (⊤; tt)
open import Data.Sum using (_⊎_; inj₁; inj₂; [_,_]′)
open import Data.Product using (_×_; _,_; proj₁; proj₂)
open import Relation.Binary.PropositionalEquality
using (_≡_; refl; sym;... |
source/required/s-pack12.ads | ytomino/drake | 33 | 3621 | pragma License (Unrestricted);
-- implementation unit required by compiler
with System.Packed_Arrays;
package System.Pack_12 is
pragma Preelaborate;
-- It can not be Pure, subprograms would become __attribute__((const)).
type Bits_12 is mod 2 ** 12;
for Bits_12'Size use 12;
package Indexing is new... |
ada_gui-gnoga-server.ads | jrcarter/Ada_GUI | 19 | 16155 | <filename>ada_gui-gnoga-server.ads
-- Ada_GUI implementation based on Gnoga. Adapted 2021
-- --
-- GNOGA - The GNU Omnificent GUI for Ada --
-- ... |
ee/procs/version.asm | olifink/smsqe | 0 | 160435 | <reponame>olifink/smsqe<filename>ee/procs/version.asm
; Procedure Thing Version
xdef pr_vers
; V1.00 first version
pr_vers equ '1.00'
end
|
src/game.asm | rodriados/pacman-x86 | 1 | 89972 | <filename>src/game.asm<gh_stars>1-10
; Pacman-x86: a Pacman implementation in pure x86 assembly.
; @file The game's main logic controller.
; @author <NAME> <<EMAIL>>
; @copyright 2021-present <NAME>
bits 64
%include "debug.inc"
%include "opengl.inc"
extern testScene
global game.TickCallback:function
global game.Draw... |
src/kernel/boot.asm | cashlisa/mos | 302 | 163174 | MULTIBOOT2_ARCH EQU 0 ; 0 = x86/x86-64
MULTIBOOT2_LEN EQU (multiboot2_header_start-multiboot2_header_end)
MULTIBOOT2_MAGIC EQU 0xe85250d6
section .multiboot align=4096
multiboot2_header_start:
dd MULTIBOOT2_MAGIC ; Multiboot2 magic number
dd MULTIBOOT2_AR... |
oeis/010/A010541.asm | neoneye/loda-programs | 11 | 176709 | <reponame>neoneye/loda-programs
; A010541: Decimal expansion of square root of 90.
; 9,4,8,6,8,3,2,9,8,0,5,0,5,1,3,7,9,9,5,9,9,6,6,8,0,6,3,3,2,9,8,1,5,5,6,0,1,1,5,8,6,6,5,4,1,7,9,7,5,6,5,0,4,8,0,5,7,2,5,1,4,5,5,8,3,7,7,7,8,3,3,1,5,9,1,7,7,1,4,6,6,4,0,3,2,7,4,4,3,2,5,1,3,7,9,0,0,8,8,5
mov $1,1
mov $2,1
mov $3,$0
add $3... |
Assembly/AL3.asm | TashreefMuhammad/University_Miscellaneous_Codes | 3 | 172372 | .MODEL SMALL
.STACK 100H
.DATA
;VARIABLES WILL BE DECLARED HERE
MSG1 DB 'My name is <NAME>$'
MSG2 DB 'My ID is 17.01.04.014$'
.CODE
MAIN PROC
MOV AX, @DATA ;INITIALIZE DATA SEGMENT
MOV DS, AX
LEA DX, MSG1 ;LOAD THE STRING TO DX FOR ... |
oeis/160/A160796.asm | neoneye/loda-programs | 11 | 5336 | <filename>oeis/160/A160796.asm<gh_stars>10-100
; A160796: Total number of "ON" cells at n-th stage in simple 2-dimensional cellular automaton which is the "corner" structure corresponding to A160118.
; Submitted by <NAME>
; 0,1,8,11,32,35,56,65,128,131,152,161,224,233,296,323,512,515,536,545,608,617,680,707,896,905,968... |
programs/oeis/170/A170881.asm | karttu/loda | 1 | 175649 | <filename>programs/oeis/170/A170881.asm
; A170881: a(0)=0; thereafter a(n) = (3*n+1)*2^(n-2)+1.
; 1,3,8,21,53,129,305,705,1601,3585,7937,17409,37889,81921,176129,376833,802817,1703937,3604481,7602177,15990785,33554433,70254593,146800641,306184193,637534209,1325400065,2751463425,5704253441,11811160065,24427626497,504658... |
data/pokemon/base_stats/madame.asm | TastySnax12/pokecrystal16-493-plus | 2 | 26795 | db 0 ; species ID placeholder
db 67, 105, 70, 95, 65, 73
; hp atk def spd sat sdf
db NORMAL, FLYING ; type
db 45 ; catch rate
db 177 ; 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/madame/f... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_215.asm | ljhsiun2/medusa | 9 | 11931 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1a80a, %rsi
lea addresses_A_ht+0x27bc, %rdi
nop
nop
nop
nop
add $62536, %rdx
mov $103, %rcx
rep movsw
nop
nop
sub %rcx, %rcx
lea addresses_UC_ht+0x420e, %rsi
lea address... |
programs/oeis/272/A272651.asm | neoneye/loda | 22 | 82007 | <reponame>neoneye/loda
; A272651: The no-3-in-line problem: maximal number of points from an n X n square grid so that no three lie on a line.
; 1,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92
mul $0,2
bin $1,$0
sub $0,$1
add $0,2
|
language/alloy/excercise_properties.als | pogin503/vbautil | 0 | 2089 | <reponame>pogin503/vbautil
module exercises/properties
run {
some r: univ -> univ {
some r -- 非空的
r.r in r -- 推移的
-- no iden & r -- 非反射的
~r in r -- 対称的
~r.r in iden -- 関数的
r.~r in iden -- 単射的
univ in r.univ -- 全域
univ in univ.... |
programs/oeis/081/A081704.asm | karttu/loda | 0 | 101444 | <gh_stars>0
; A081704: Let f(0)=1, f(1)=t, f(n+1) = (f(n)^2+t^n)/f(n-1). f(t) is a polynomial with integer coefficients. Then a(n) = f(n) when t=3.
; 1,3,12,51,219,942,4053,17439,75036,322863,1389207,5977446,25719609,110665707,476169708,2048851419,8815747971,37932185598,163213684077,702271863591,3021718265724,130017757... |
src/boot/io.asm | Tamim365/os | 0 | 169551 | <gh_stars>0
print_string:
mov ah, 0x0e ; 0x0e : BIOS Teletype output
_startprint:
cmp byte [bx], 0 ; compare byte in the address stored in bx with 0
je _endprint ; Nullbyte found, end print
mov al, [bx] ; move byte in the address stored in bx to al
int 0x10 ; print al
add bx, 1 ; advances address po... |
libsrc/_DEVELOPMENT/arch/zx/bifrost_h/c/sdcc/BIFROSTH_drawTileH.asm | teknoplop/z88dk | 0 | 90908 | <filename>libsrc/_DEVELOPMENT/arch/zx/bifrost_h/c/sdcc/BIFROSTH_drawTileH.asm
; ----------------------------------------------------------------
; Z88DK INTERFACE LIBRARY FOR THE BIFROST* ENGINE - RELEASE 1.2/L
;
; See "bifrost_h.h" for further details
; ----------------------------------------------------------------
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.