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 |
|---|---|---|---|---|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_750.asm | ljhsiun2/medusa | 9 | 81843 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0xd878, %rsi
lea addresses_normal_ht+0x1d638, %rdi
sub %r11, %r11
mov $91, %rcx
rep movsl
nop
nop
nop
sub $46960, %rdx
lea addresses_WC_ht+0x738, %r9
nop
dec %r12
and $0xffffffffffffffc0... |
oeis/005/A005066.asm | neoneye/loda-programs | 11 | 3998 | <gh_stars>10-100
; A005066: Sum of squares of odd primes dividing n.
; Submitted by <NAME>
; 0,0,9,0,25,9,49,0,9,25,121,9,169,49,34,0,289,9,361,25,58,121,529,9,25,169,9,49,841,34,961,0,130,289,74,9,1369,361,178,25,1681,58,1849,121,34,529,2209,9,49,25,298,169,2809,9,146,49,370,841,3481,34,3721,961,58,0,194,130,4489,289,... |
programs/oeis/315/A315704.asm | karttu/loda | 0 | 170154 | ; A315704: Coordination sequence Gal.4.137.3 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,6,12,17,23,29,34,40,46,52,58,63,69,75,80,86,92,98,104,109,115,121,126,132,138,144,150,155,161,167,172,178,184,190,196,201,207,213,218,224,... |
plugin/idea/transformer/res/ArgsNoUnused.g4 | d-kozak/ingrid | 3 | 6456 | <reponame>d-kozak/ingrid<gh_stars>1-10
grammar ArgsNoUnused;
// args grammar without the whitespace rule, that is unused(at least from the point of view of MPS, antlr actually uses in)
statements : statement+ ;
statement
: functionCall
| idList
;
functionCall : ID '(' args? ')' ;
args : arg (',' arg)* ... |
examples/AIM6/Path/Examples.agda | cruhland/agda | 1,989 | 5580 |
module Examples where
open import Prelude
open import Star
open import Modal
El : Set -> Rel True
El A _ _ = A
List : Set -> Set
List A = Star (El A) _ _
Nat = List True
zero : Nat
zero = ε
suc : Nat -> Nat
suc n = _ • n
-- Vectors
Vec : Set -> Nat -> Set
Vec A = All (\_ -> A)
infixr 40 _::_
_::_ : {A : Set}{... |
src/commands/weed_all.adb | spr93/whitakers-words | 204 | 9124 | -- WORDS, a Latin dictionary, by <NAME> (USAF, Retired)
--
-- Copyright <NAME> (1936–2010)
--
-- This is a free program, which means it is proper to copy it and pass
-- it on to your friends. Consider it a developmental item for which
-- there is no charge. However, just for form, it is Copyrighted
-- (c). Permission i... |
programs/oeis/004/A004650.asm | neoneye/loda | 22 | 246626 | ; A004650: Prime(n) mod (n+1).
; 0,0,1,2,5,6,1,1,3,7,7,11,13,13,15,2,5,4,7,8,7,10,11,14,19,20,19,20,19,20,31,32,1,34,5,3,5,7,7,9,11,9,15,13,13,11,19,27,27,25,25,27,25,31,33,35,37,35,37,37,35,41,51,51,49,49,59,61,67,65,65,67,71,73,75,75,77,2,1,4,9,6,11,8,9,8,9,12,11,8,7,14,17,16,19,18,19,26,23,36
mov $1,$0
seq $0,40 ; ... |
src/Data/QuadTree/LensProofs/Valid-LensGo.agda | JonathanBrouwer/research-project | 1 | 6072 | <reponame>JonathanBrouwer/research-project
-- {-# OPTIONS --show-implicit --show-irrelevant #-}
module Data.QuadTree.LensProofs.Valid-LensGo where
open import Haskell.Prelude renaming (zero to Z; suc to S)
open import Data.Lens.Lens
open import Data.Logic
open import Data.QuadTree.InternalAgda
open import Agda.Primiti... |
mentos/src/descriptor_tables/exception.asm | adamantinum/MentOS | 1 | 84819 | ; MentOS, The Mentoring Operating system project
; @file exception.asm
; @brief
; @copyright (c) 2019 This file is distributed under the MIT License.
; See LICENSE.md for details.
; Macro used to define a ISR which does not push an error code.
%macro ISR_NOERR 1
[GLOBAL INT_%1]
INT_%1:
... |
libsrc/stdio_new/buf/slbb0/slbb0_readchar.asm | meesokim/z88dk | 8 | 104039 | ; slbb0_readchar
; 08.2009 aralbrec
PUBLIC slbb0_readchar
; read a char from the index specified
;
; enter : hl = & struct slbb
; a = index of char to read
; exit : carry set and a = char for success
; carry reset if index out of bounds
; uses : af, hl
.slbb0_readchar
cp (hl) ... |
programs/oeis/114/A114963.asm | karttu/loda | 1 | 86159 | ; A114963: a(n) = n^2 + 22.
; 22,23,26,31,38,47,58,71,86,103,122,143,166,191,218,247,278,311,346,383,422,463,506,551,598,647,698,751,806,863,922,983,1046,1111,1178,1247,1318,1391,1466,1543,1622,1703,1786,1871,1958,2047,2138,2231,2326,2423,2522,2623,2726,2831,2938,3047,3158,3271,3386,3503,3622,3743,3866,3991,4118,4247,4... |
programs/oeis/004/A004125.asm | neoneye/loda | 22 | 23218 | ; A004125: Sum of remainders of n mod k, for k = 1, 2, 3, ..., n.
; 0,0,1,1,4,3,8,8,12,13,22,17,28,31,36,36,51,47,64,61,70,77,98,85,103,112,125,124,151,138,167,167,184,197,218,198,233,248,269,258,297,284,325,328,339,358,403,374,414,420,449,454,505,492,529,520,553,578,635,586,645,672,693,693,738,725,790,799,840,835,904,... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_742.asm | ljhsiun2/medusa | 9 | 178799 | <filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_742.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1d3aa, %rsi
lea addresses_A_ht+0x1b46a, %rdi
nop
nop
nop
add $21485, %r12
mov $69, %rcx
rep movsl
... |
src/asm/sprint.asm | fourstix/Elfos-print | 0 | 18707 | ; ******************************************************************************
; String Print - Send a string of text to the printer
;
; Copyright (c) 2021 by <NAME>
;
; ******************************************************************************
#include ops.inc
#include bios.inc
#include kernel.inc
; ========... |
gcc-gcc-7_3_0-release/gcc/ada/exp_cg.ads | best08618/asylo | 7 | 6834 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
oeis/282/A282005.asm | neoneye/loda-programs | 11 | 178267 | <filename>oeis/282/A282005.asm<gh_stars>10-100
; A282005: Decimal representation of the x-axis, from the origin to the right edge, of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 413", based on the 5-celled von Neumann neighborhood.
; 1,1,6,7,24,31,96,127,384,511,1536,2047,6144,81... |
asm-x86/lab02.asm | 4L05761/scaling-garbanzo | 0 | 169227 | ; Hello asm
SECTION .data
hello: DB 'Hello world!', 10
helloLen: EQU $-hello
SECTION .text ; Start programm code
GLOBAL _start
_start:
mov eax,4
mov ebx,1
mov ecx,hello
mov edx,helloLen
int 80h
mov eax,1
mov ebx,0
int 80h
|
src/Coding/Instances.agda | nad/chi | 2 | 14272 | <reponame>nad/chi<gh_stars>1-10
------------------------------------------------------------------------
-- Encoder and decoder instances
------------------------------------------------------------------------
open import Atom
module Coding.Instances (atoms : χ-atoms) where
open import Prelude
open import Chi ... |
examples/AIM6/Path/Modal.agda | cruhland/agda | 1,989 | 1748 |
module Modal where
open import Prelude
open import Star
data Progress (A : Set) : Set where
cont : A -> Progress A
stop : Progress A
record Some {A : Set}(R : Rel A) : Set where
field
a : A
b : A
edge : R a b
some : {A : Set}{R : Rel A}{a b : A} -> R a b -> Some R
some x = record {a = _; b ... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cd/cd4051b.ada | best08618/asylo | 7 | 1546 | <reponame>best08618/asylo
-- CD4051B.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 contai... |
unordnung_auch_assembler/asm/atmega8_Melodie_eeprom/eeprom.asm | no-go/Blink_atmega328p | 0 | 173713 | ; Bits:
; 7 6 5 4 3 = tone
; C D E F G A H C D E F
;.byte 0,146,128,109,101, 89, 78, 72, 62, 55, 47, 45
; ??? Cis Dis Es Fis Gis As b Cis Dis Es Fis
;.byte 139,119,106, 95, 83, 75, 67, 59, 51, 46, 43
; 2 1 0 = tone-length
; 1 1/2 1/4 1/8 1/16
.byte 0b00001010,0b0001... |
programs/oeis/024/A024204.asm | neoneye/loda | 22 | 245842 | <filename>programs/oeis/024/A024204.asm
; A024204: [ (3rd elementary symmetric function of S(n))/(2nd elementary symmetric function of S(n)) ], where S(n) = {first n+2 odd positive integers}.
; 0,2,4,6,10,14,19,24,30,37,44,53,61,71,81,92,103,115,128,141,156,170,186,202,219,236,254,273,292,313,333,355,377,400,423,447,47... |
Cubical/HITs/Pushout/Properties.agda | loic-p/cubical | 0 | 3782 | <filename>Cubical/HITs/Pushout/Properties.agda
{-
This file contains:
- 3×3 lemma for pushouts
Written by: <NAME>, April 2019
-}
{-# OPTIONS --cubical --safe #-}
module Cubical.HITs.Pushout.Properties where
open import Cubical.Core.Glue
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Eq... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_134_1871.asm | ljhsiun2/medusa | 9 | 26912 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1c952, %rsi
lea addresses_WT_ht+0xc667, %rdi
nop
nop
xor %r15, %r15
mov $72, %rcx
rep movsb
nop
nop
nop
nop
nop
inc %rbp
lea addresses_WC_ht+0x11b67, %rsi
lea addresses_UC_ht+0x66... |
src/grammar/KeyValue.g4 | slepowronski/autocomplete | 3 | 7317 | grammar KeyValue;
// Parser
expression: (key | keyValueExpression) EOF;
keyValueExpression: key EQ value;
key: ALPHANUMERIC;
value: ALPHANUMERIC | /* empty */;
// Lexer
ALPHANUMERIC: [a-zA-Z] [0-9a-zA-Z]*;
EQ: '=';
|
scripts/Route25.asm | opiter09/ASM-Machina | 1 | 14915 | Route25_Script:
call Route25Script_515e1
call EnableAutoTextBoxDrawing
ld hl, Route25TrainerHeaders
ld de, Route25_ScriptPointers
ld a, [wRoute25CurScript]
call ExecuteCurMapScriptInTable
ld [wRoute25CurScript], a
ret
Route25Script_515e1:
ld hl, wCurrentMapScriptFlags
bit 6, [hl]
res 6, [hl]
ret z
CheckEv... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2151.asm | ljhsiun2/medusa | 9 | 165238 | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r8
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1d9b3, %r8
clflush (%r8)
nop
and %rbp, %rbp
mov (%r8), %r14w
and %rcx, %rcx
lea addresses_WC_ht+0x13a1b, %r15
nop
nop
nop
sub $52448, %rcx
movw $0x6162, (%r15)
nop
... |
screenshot.scpt | qurihara/zoomwebbrowser | 16 | 2508 | <reponame>qurihara/zoomwebbrowser<filename>screenshot.scpt
on run argv
do shell script "screencapture -iW screenshot.jpg"
end run
|
nat-log-test.agda | rfindler/ial | 29 | 1119 | <reponame>rfindler/ial<filename>nat-log-test.agda
module nat-log-test where
open import eq
open import nat
open import nat-log
test : log-result 11 3
test = log 11 3 refl refl
exp-from-test : ℕ
exp-from-test with test
exp-from-test | pos-power e s p = e
exp-from-test | no-power p = 0
|
programs/oeis/320/A320394.asm | jmorken/loda | 1 | 178790 | <filename>programs/oeis/320/A320394.asm
; A320394: Number of ones in binary expansion n^5.
; 0,1,1,6,1,6,6,7,1,9,6,10,6,11,7,12,1,10,9,9,6,11,10,14,6,11,11,15,7,15,12,15,1,10,10,13,9,11,9,13,6,16,11,15,10,21,14,18,6,15,11,13,11,13,15,19,7,17,15,14,12,14,15,18,1,10,10,14,10,18,13,18
pow $0,5
mov $1,$0
mov $2,$0
lpb $1
... |
src/LibraBFT/Impl/Consensus/ConsensusTypes/BlockRetrieval.agda | LaudateCorpus1/bft-consensus-agda | 0 | 15017 | {- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 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.Base.Types
import LibraBFT.Impl.Consensus.Consensus... |
Tsu.CLI/CLI Input Line Grammar.g4 | GGG-KILLER/GUtils.NET | 1 | 3985 | <gh_stars>1-10
/**
* The InputLineParser grammar.
*
* This exist only as an example as the InputLineParser
* is implemented manually without ANTLR due to its
* simplicity and to avoid unnecessary dependencies.
*/
input
: input_part+
;
input_part
: whitespace+
| single_quoted_string
| double... |
Kernel/loader.asm | jpdantur/SO2 | 0 | 94860 | global loader
extern main
extern initializeKernelBinary
extern stackInit
extern kernel_stack
global WRITE_CR2
global READ_CR2
global WRITE_CR3
global READ_CR3
global GET_FLAGS
global TURN_ON_INTERRUPTS
global TURN_OFF_INTERRUPTS
global switch_u2k
global switch_k2u
loader:
call initializeKernelBinar... |
45/runtime/rt/sninit.asm | minblock/msdos | 0 | 19306 | <gh_stars>0
TITLE SNINIT - Sound and Play Initialization/Termination module
;***
;SNINIT.ASM - Sound/Play initialization/termination module
;
; Copyright <C> 1986, Microsoft Corporation
;
;Purpose:
; This module contains Sound/Music specific initialization
; and termination support for the BASIC 3.0 runtime. This mod... |
vp9/encoder/x86/vp9_dct_mmx.asm | jacklicn/webm.libvpx | 25 | 21469 | <gh_stars>10-100
;
; Copyright (c) 2014 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All c... |
testcases/fruit2/fruit2.adb | jrmarino/AdaBase | 30 | 4558 | <gh_stars>10-100
with AdaBase;
with Connect;
with Ada.Text_IO;
procedure Fruit2 is
package CON renames Connect;
package TIO renames Ada.Text_IO;
numrows : AdaBase.Affected_Rows;
-- Intentionally broken UPDATE command (calories misspelled)
cmd : constant String := "UPDATE fruits set caloriesx = 14 " ... |
data/maps/objects/MtMoonPokecenter.asm | opiter09/ASM-Machina | 1 | 19710 | MtMoonPokecenter_Object:
db $0 ; border block
def_warps
warp 3, 7, 0, LAST_MAP
warp 4, 7, 0, LAST_MAP
def_signs
def_objects
object SPRITE_NURSE, 3, 1, STAY, DOWN, 1 ; person
object SPRITE_YOUNGSTER, 4, 3, STAY, UP, 2 ; person
object SPRITE_GENTLEMAN, 7, 3, STAY, UP, 3 ; person
object SPRITE_MIDDLE_AGED... |
ugbc/src/hw/vic2/vscroll_text_up.asm | spotlessmind1975/ugbasic | 10 | 10142 | ; /*****************************************************************************
; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers *
; *****************************************************************************
; * Copyright 2021-2022 <NAME> (<EMAIL>)
; *
; * Licensed under the Apache... |
FoldingText.lbaction/Contents/Scripts/autofocus.scpt | raguay/MyLaunchBarActions | 29 | 2048 | <filename>FoldingText.lbaction/Contents/Scripts/autofocus.scpt<gh_stars>10-100
tell application "FoldingText"
tell front document
evaluate script "function(editor, options) {
var tree = editor.tree(),
item = editor.selectedRange().startNode,
itemPage = item.parent;
while (itemPage && ... |
src/general-provable/siphash-general_spark.ads | jhumphry/SPARK_SipHash | 5 | 29952 | -- SipHash.General_SPARK
-- Implementing SipHash over a general private type
-- Copyright (c) 2015, <NAME> - see LICENSE file for details
with Integer_Storage_IO;
-- This generic function will calculate SipHash for any private type of definite
-- size
generic
type T is private;
type Hash_Type is mod <>;
Buf... |
libsrc/_DEVELOPMENT/libgen/c/sdcc/dirname_fastcall.asm | jpoikela/z88dk | 640 | 87051 | ; char *dirname(char *path)
SECTION code_string
PUBLIC _dirname_fastcall
EXTERN asm_dirname
defc _dirname_fastcall = asm_dirname
|
oeis/142/A142765.asm | neoneye/loda-programs | 11 | 105526 | ; A142765: Primes congruent to 38 mod 59.
; Submitted by <NAME>
; 97,569,1277,1867,2221,2339,2693,3637,4463,4817,5171,5407,5879,6469,6823,7177,7649,9419,10009,11071,11779,11897,12251,12487,12841,12959,13313,13903,15083,15319,15791,16381,17207,17443,18269,18859,19213,20393,20747,20983,21101,22871,24169,24877,25349,25703... |
cards/bn4/ModCards/134-F029 Charge WideBlde (0E).asm | RockmanEXEZone/MMBN-Mod-Card-Kit | 10 | 28114 | .include "defaults_mod.asm"
table_file_jp equ "exe4-utf8.tbl"
table_file_en equ "bn4-utf8.tbl"
game_code_len equ 3
game_code equ 0x4234574A // B4WJ
game_code_2 equ 0x42345745 // B4WE
game_code_3 equ 0x42345750 // B4WP
card_type equ 1
card_id equ 119
card_no equ "119"
card_sub equ "Mod Card 119"
card_sub_x... |
src/si_units-binary.adb | HeisenbugLtd/si_units | 6 | 362 | <filename>src/si_units-binary.adb
--------------------------------------------------------------------------------
-- Copyright (C) 2020 by Heisenbug Ltd. (<EMAIL>)
--
-- This work is free. You can redistribute it and/or modify it under the
-- terms of the Do What The Fuck You Want To Public License, Version 2,
-- ... |
lib/Haskell/Prim/Foldable.agda | flupe/agda2hs | 0 | 6933 |
module Haskell.Prim.Foldable where
open import Haskell.Prim
open import Haskell.Prim.Num
open import Haskell.Prim.Eq
open import Haskell.Prim.List
open import Haskell.Prim.Int
open import Haskell.Prim.Bool
open import Haskell.Prim.Maybe
open import Haskell.Prim.Either
open import Haskell.Prim.Tuple
open import Haskel... |
tests/src/test_utils-abstract_decoder-cobs_simple.adb | Fabien-Chouteau/COBS | 0 | 21436 | <reponame>Fabien-Chouteau/COBS
with COBS;
package body Test_Utils.Abstract_Decoder.COBS_Simple is
-------------
-- Receive --
-------------
overriding
procedure Receive (This : in out Instance; Data : Storage_Element)
is
begin
if Data /= 0 then
This.Input.Append (Data);
els... |
Assembler/test/cohadar/assembler/functions/func08.asm | cohadar/parapascal | 0 | 173222 | // swap function, tests indirect addressing (pointers)
.SHARED
x : 1
.INSTANCE
y : 1
.CODE
// function swap(var a, b: integer);
// var t: integer
@swap(a:1, b:1){t:1}:
// t := *a
addr a
load
load
addr t
store
// *a := *b
addr b
load
load
addr a
load
store
// *b := t
addr t
load
addr b
load
stor... |
gcc-gcc-7_3_0-release/gcc/ada/a-ztdeau.adb | best08618/asylo | 7 | 24174 | <reponame>best08618/asylo
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
oeis/074/A074611.asm | neoneye/loda-programs | 11 | 91375 | ; A074611: 4^n + 5^n.
; 2,9,41,189,881,4149,19721,94509,456161,2215269,10814201,53022429,260917841,1287811989,6371951081,31591319949,156882857921,780119322309,3883416742361,19348364235069,96466943268401,481235204714229,2401777977060041,11991297699255789,59886119752101281,299149123783795749,1494619719012136121,746859499... |
Appl/Art/Decks/GeoDeck/LMClub7.asm | steakknife/pcgeos | 504 | 246422 | LMClub7 label byte
word C_BLACK
Bitmap <71,100,BMC_PACKBITS,BMF_MONO>
db 0xf8, 0x00
db 0xf8, 0x00
db 0xf8, 0x00
db 0xf8, 0x00
db 0x01, 0x0f, 0xf8, 0xfa, 0x00
db 0x01, 0x0f, 0xf8, 0xfc, 0x00, 0x01, 0x1c, 0x00
db 0x01, 0x0c, 0x18, 0xfc, 0x00, 0x01, 0x2e, 0x00
db 0x01, 0x0c, 0x38, 0xfc, 0x00, 0x01, 0x3... |
oeis/279/A279014.asm | neoneye/loda-programs | 11 | 104988 | ; A279014: a(n) = Sum_{k=0..n} fibonacci(k+1)*binomial(2*n-1,n-k).
; Submitted by <NAME>
; 1,2,8,33,138,581,2455,10395,44068,186953,793453,3368279,14300161,60713627,257763847,1094294875,4645306802,19717723173,83687094899,355155267179,1507078468075,6394577650959,27129846069301,115091608301743,488205269144483,20707394960... |
Task/Multiplicative-order/Ada/multiplicative-order-3.ada | LaudateCorpus1/RosettaCodeData | 1 | 30327 | <filename>Task/Multiplicative-order/Ada/multiplicative-order-3.ada
with Ada.Text_IO, Multiplicative_Order;
procedure Main is
package IIO is new Ada.Text_IO.Integer_IO(Integer);
use Multiplicative_Order;
begin
IIO.Put(Find_Order(3,10));
IIO.Put(Find_Order(37,1000));
IIO.Put(Find_Order(37,10_000));
IIO... |
test/interaction/Issue3452.agda | cruhland/agda | 1,989 | 5576 |
data ⊤ : Set where tt : ⊤
record R : Set where
constructor r
field .x : ⊤
f : R → R
R.x (f (r x)) = {!x!}
|
C++ Development Root/MSVC++v16 (2019) Solution Space/ConsoleApplication/x64/Debug/SourceCode/main.asm | Dpham181/CPSC-462-GROUP-2 | 1 | 166086 | <reponame>Dpham181/CPSC-462-GROUP-2
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.28.29334.0
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
msvcjmc SEGMENT
__2B31710D_vcruntime_new@h DB 01H
__0920A867_cstddef DB 01H
__09340588_corecrt_math@h DB 01H
__24E9E95F_stdlib@h DB 01H
__ACEB... |
programs/oeis/168/A168269.asm | neoneye/loda | 22 | 243336 | ; A168269: a(n) = 2*n - (-1)^n.
; 3,3,7,7,11,11,15,15,19,19,23,23,27,27,31,31,35,35,39,39,43,43,47,47,51,51,55,55,59,59,63,63,67,67,71,71,75,75,79,79,83,83,87,87,91,91,95,95,99,99,103,103,107,107,111,111,115,115,119,119,123,123,127,127,131,131,135,135,139,139,143,143,147,147,151,151,155,155,159,159,163,163,167,167,171,... |
test/agda/FRP/JS/Test/List.agda | agda/agda-frp-js | 63 | 9305 | open import FRP.JS.Nat using ( ℕ ; suc ; _+_ ) renaming ( _≟_ to _≟=_ )
open import FRP.JS.List using ( List ; [] ; _∷_ ; [_] ; _++_ ; map ; foldr ; foldl ; build ; _≟[_]_ )
open import FRP.JS.Bool using ( Bool ; not )
open import FRP.JS.QUnit using ( TestSuite ; ok ; ok! ; test ; _,_ )
module FRP.JS.Test.List where
... |
src/day-22/adventofcode-day_22.ads | persan/advent-of-code-2020 | 0 | 22793 | <reponame>persan/advent-of-code-2020<filename>src/day-22/adventofcode-day_22.ads<gh_stars>0
package Adventofcode.Day_22 is
end Adventofcode.Day_22;
|
libsrc/zx81/zx_topleft.asm | meesokim/z88dk | 0 | 95619 | <reponame>meesokim/z88dk<gh_stars>0
;
; ZX81 libraries - Stefano
;
;----------------------------------------------------------------
;
; $Id: zx_topleft.asm,v 1.4 2015/01/19 01:33:26 pauloscustodio Exp $
;
;----------------------------------------------------------------
;
; Position the text cursor on top-left
;
;----... |
3-mid/impact/source/3d/dynamics/impact-d3-motion_state-default.adb | charlie5/lace | 20 | 30675 | <reponame>charlie5/lace<gh_stars>10-100
package body impact.d3.motion_State.default
is
function to_motion_State (startTrans, centerOfMassOffset : Transform_3d := impact.d3.Transform.getIdentity) return Item
is
Self : Item;
begin
Self.m_graphicsWorldTrans := startTrans;
Self.m_centerOfMassO... |
alloy4fun_models/trashltl/models/9/jv6zqRkXQkmqSvovL.als | Kaixi26/org.alloytools.alloy | 0 | 3174 | open main
pred idjv6zqRkXQkmqSvovL_prop10 {
always Protected in Protected'
}
pred __repair { idjv6zqRkXQkmqSvovL_prop10 }
check __repair { idjv6zqRkXQkmqSvovL_prop10 <=> prop10o } |
programs/oeis/187/A187388.asm | neoneye/loda | 22 | 179045 | <filename>programs/oeis/187/A187388.asm
; A187388: Floor(s*n), where s=1+sqrt(6)-sqrt(5); complement of A187387.
; 1,2,3,4,6,7,8,9,10,12,13,14,15,16,18,19,20,21,23,24,25,26,27,29,30,31,32,33,35,36,37,38,40,41,42,43,44,46,47,48,49,50,52,53,54,55,57,58,59,60,61,63,64,65,66,67,69,70,71,72,74,75,76,77,78,80,81,82,83,84,86,... |
data/pokemon/base_stats/sinnoh/rotom.asm | Dev727/ancientplatinum | 0 | 96986 | db 0 ; 479 DEX NO
db 50, 50, 77, 91, 95, 77
; hp atk def spd sat sdf
db ELECTRIC, GHOST ; type
db 45 ; catch rate
db 132 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_UNKNOWN ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/sinnoh/rotom/fr... |
programs/oeis/006/A006001.asm | neoneye/loda | 22 | 9833 | ; A006001: Number of paraffins.
; 1,4,10,22,43,76,124,190,277,388,526,694,895,1132,1408,1726,2089,2500,2962,3478,4051,4684,5380,6142,6973,7876,8854,9910,11047,12268,13576,14974,16465,18052,19738,21526
mov $1,$0
add $1,1
bin $1,3
add $0,$1
mul $0,3
add $0,1
|
uti/explanation.asm | olifink/smsqe | 0 | 96977 | <filename>uti/explanation.asm
; Show explanatory text for window objects 1998 <NAME>
section utility
include dev8_keys_wstatus
include dev8_keys_qdos_pt
include dev8_keys_wwork
include dev8_keys_wman
include dev8_keys_con
include dev8_keys_colour
include dev8_mac_menu_long
include dev8_keys_qlv
include dev... |
tests/src/test_find_and_replacer.adb | TNO/Rejuvenation-Ada | 1 | 8822 | <gh_stars>1-10
with Ada.Strings.Fixed; use Ada.Strings.Fixed;
with AUnit.Assertions; use AUnit.Assertions;
with Libadalang.Analysis; use Libadalang.Analysis;
with Libadalang.Common; use Libadalang.Common;
with Rejuvenation; use Rejuvenation;
with Reju... |
multimedia/directx/dxg/dd/ddraw/ddhelp/win9x/i386/list.asm | npocmaka/Windows-Server-2003 | 17 | 29497 | <reponame>npocmaka/Windows-Server-2003<filename>multimedia/directx/dxg/dd/ddraw/ddhelp/win9x/i386/list.asm
.386
.model FLAT,STDCALL
.code
item0 db 10,6,43,48,39,33,54,26,-37,98,117
item1 db 3,36,45,48
item2 db 17,21,43,44,38,45,53,49,98,123,119,109,123,122,106,17,7,107
item4 db 9,4,39,35,54,55,48,43,44,37
item6 ... |
oeis/038/A038234.asm | neoneye/loda-programs | 11 | 91914 | <reponame>neoneye/loda-programs<filename>oeis/038/A038234.asm
; A038234: Triangle whose (i,j)-th entry is binomial(i,j)*4^(i-j)*4^j.
; Submitted by <NAME>
; 1,4,4,16,32,16,64,192,192,64,256,1024,1536,1024,256,1024,5120,10240,10240,5120,1024,4096,24576,61440,81920,61440,24576,4096,16384,114688,344064,573440,573440,34406... |
data/mapObjects/halloffameroom.asm | adhi-thirumala/EvoYellow | 16 | 1559 | HallofFameRoomObject:
db $3 ; border block
db $2 ; warps
db $7, $4, $2, CHAMPIONS_ROOM
db $7, $5, $3, CHAMPIONS_ROOM
db $0 ; signs
db $1 ; objects
object SPRITE_OAK, $5, $2, STAY, DOWN, $1 ; person
; warp-to
EVENT_DISP HALL_OF_FAME_WIDTH, $7, $4 ; CHAMPIONS_ROOM
EVENT_DISP HALL_OF_FAME_WIDTH, $7, $5 ; CHA... |
programs/oeis/155/A155650.asm | karttu/loda | 1 | 21876 | <filename>programs/oeis/155/A155650.asm
; A155650: 7^n - 6^n + 1.
; 1,2,14,128,1106,9032,70994,543608,4085186,30275912,222009074,1614529688,11664504866,83828316392,599858908754,4277376525368,30411820662146,215703854542472,1526853641242034,10789535445362648
mov $1,7
pow $1,$0
mov $2,6
pow $2,$0
add $2,7
mov $3,$2
sub $... |
oeis/173/A173275.asm | neoneye/loda-programs | 11 | 8895 | ; A173275: a(n) = 169*n^2 + n.
; 170,678,1524,2708,4230,6090,8288,10824,13698,16910,20460,24348,28574,33138,38040,43280,48858,54774,61028,67620,74550,81818,89424,97368,105650,114270,123228,132524,142158,152130,162440,173088,184074,195398,207060,219060,231398,244074,257088,270440,284130,298158,312524,327228,342270,35765... |
data/jpred4/jp_batch_1613899824__oI1j5s2/jp_batch_1613899824__oI1j5s2.als | jonriege/predict-protein-structure | 0 | 511 | SILENT_MODE
BLOCK_FILE jp_batch_1613899824__oI1j5s2.concise.blc
MAX_NSEQ 822
MAX_INPUT_LEN 824
OUTPUT_FILE jp_batch_1613899824__oI1j5s2.concise.ps
PORTRAIT
POINTSIZE 8
IDENT_WIDTH 12
X_OFFSET 2
Y_OFFSET 2
DEFINE_FONT 0 Helvetica DEFAULT
DEFINE_FONT 1 Helvetica REL 0.75
DEFINE_FONT 7 Helvetica REL 0.6
DEFINE_FO... |
src/common/PeopleCodeParser.g4 | lbaca/PeopleCodeParser | 3 | 5992 | //******************************************************************************
//* ANTLR 4 PARSER GRAMMAR FOR PEOPLECODE PROGRAMS AND APPLICATION CLASSES
//* by <NAME>
//******************************************************************************
parser grammar PeopleCodeParser;
options {
tokenVocab = PeopleCode... |
2020_3/projeto1/Grammar.g4 | natalisso/compilers-cin | 0 | 7238 | <filename>2020_3/projeto1/Grammar.g4
/* nome da gramática -- deve ser o mesmo nome do arquivo .g4 e começar com letra maiúscula*/
grammar Grammar;
/* parser */
/* regra raiz */
file : (function_definition | variable_definition ';')+;
variable_definition : type (identifier ('=' expression)? (',' identifier ('=' expr... |
futility/bin/TermTheme.scpt | ssangervasi/dev-tools | 0 | 2296 | <filename>futility/bin/TermTheme.scpt<gh_stars>0
-- From: https://gist.github.com/khansensf/1714326
-- TermTheme.scpt
-- <NAME> 02/2012
-- Sets theme of current terminal window/tab
-----------------------
-- Arguments
-----------------------
-- If a theme name is provided on the command line then set to that
-- Examp... |
thirdparty/adasdl/thin/adasdl/AdaSDL_image/compile.adb | Lucretia/old_nehe_ada95 | 0 | 18859 | pragma Warnings (Off);
with SDL_Image;
use SDL_Image;
procedure Compile is
begin
null;
end Compile;
|
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_1359.asm | ljhsiun2/medusa | 9 | 95099 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_1359.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x9798, %r13
nop
nop
nop
sub %r12, %r12
mov (%r13), %bx
nop
nop
nop
nop
and %r15, %r15
lea addr... |
source/protocol/lsp-types.ads | reznikmm/ada_lsp | 11 | 27952 | -- Copyright (c) 2017 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with League.JSON.Streams;
with League.JSON.Values;
with League.String_Vectors;
with League.Strings;
with LSP.Generic_Optional;
package LSP.Types is
... |
source/tvision/hardware.asm | g8kig/tvision | 1,202 | 243106 | ;/*------------------------------------------------------------*/
;/* filename - hardware.cpp */
;/* */
;/* function(s) */
;/* THardwareInfo member functions ... |
ToolBoxDriver/picodrv.asm | MeeSong/pico-toolbox | 66 | 179784 | <gh_stars>10-100
.code
; =======================================================================================
; Trampoline entry point
; =======================================================================================
Trampoline proc
;
; Don't save fastcall registers (RCX, RDX, R8, R9) and ignore fi... |
oeis/173/A173263.asm | neoneye/loda-programs | 11 | 93034 | <reponame>neoneye/loda-programs
; A173263: Successive numbers n such that ChebyshevT[n/2, n] is not an integer.
; Submitted by <NAME>
; 3,5,9,11,13,15,19,21,23,25,27,29,33,35,37,39,41,43,45,47,51,53,55,57,59,61,63,65,67,69,73,75,77,79,81,83,85,87,89,91,93,95,99,101,103,105,107,109,111,113,115,117,119,121,123,125,129,13... |
oeis/006/A006332.asm | neoneye/loda-programs | 11 | 6091 | ; A006332: From the enumeration of corners.
; Submitted by <NAME>(s2)
; 0,2,28,168,660,2002,5096,11424,23256,43890,77924,131560,212940,332514,503440,742016,1068144,1505826,2083692,2835560,3801028,5026098,6563832,8475040,10829000,13704210,17189172,21383208,26397308,32355010
mul $0,2
add $0,4
mov $1,$0
bin $0,5
sub $1,2... |
data/baseStats/munchlax.asm | longlostsoul/EvoYellow | 16 | 170617 | <reponame>longlostsoul/EvoYellow<gh_stars>10-100
db DEX_MUNCHLAX ; pokedex id. idk if will actually use but might as well have here.
db 135 ; base hp
db 85 ; base attack
db 40 ; base defense
db 5 ; base speed
db 65 ; base special
db NORMAL ; species type 1
db NORMAL ; species type 2
db 17 ; catch rate, max potion/lefov... |
source/required/s-memory.ads | ytomino/drake | 33 | 5684 | pragma License (Unrestricted);
-- implementation unit required by compiler
with System.Standard_Allocators;
package System.Memory is
pragma Preelaborate;
-- required for accessibility check, or task objects (s-memory.ads)
procedure Free (Storage_Address : Address)
renames Standard_Allocators.Free;
en... |
programs/oeis/006/A006589.asm | karttu/loda | 0 | 240594 | ; A006589: a(n) = (n+3)*2^n-1.
; 0,2,7,19,47,111,255,575,1279,2815,6143,13311,28671,61439,131071,278527,589823,1245183,2621439,5505023,11534335,24117247,50331647,104857599,218103807,452984831,939524095
add $0,2
mov $2,2
pow $2,$0
mul $0,$2
mov $1,$0
sub $1,8
div $1,8
|
source/scene/worldmapScene.asm | evanbowman/Red | 5 | 2795 | ;;; $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
;;;
;;; ASM Source code for Red GBC, by <NAME>, 2021
;;;
;;;
;;; The following licence covers the source code included in this file. The
;;; game's characters and artwork belong to <NAME>, and should not be used
;;; without permission.
;;;... |
archive/agda-3/src/Test.agda | m0davis/oscar | 0 | 7017 | <filename>archive/agda-3/src/Test.agda
-- a hodge-podge of tests
module Test where
import Test.Class
import Test.EquivalenceExtensionṖroperty
import Test.EquivalenceṖroperty
import Test.EquivalentCandidates
import Test.EquivalentCandidates-2
import Test.Factsurj3
import Test.Functor -- FIXME doesn't work with open ... |
src/add-ons/media/plugins/ffmpeg/yuvrgb_sse2.nasm | Kirishikesan/haiku | 1,338 | 88847 | ;
; Copyright (C) 2009-2010 <NAME>
;
; All rights reserved. Distributed under the terms of the MIT License.
;
; A rather unoptimised set of sse2 yuv to rgb converters
; does 8 pixels per loop
; inputer:
; reads 128 bits of yuv 8 bit data and puts
; the y values converted to 16 bit in xmm0
; the u values converted to ... |
LC/Subst.agda | banacorn/bidirectional | 2 | 8597 | <reponame>banacorn/bidirectional
module LC.Subst where
open import LC.Base
open import LC.Subst.Var
open import LC.Subst.Term
open import LC.Subst.Term public using (lift)
open import Data.Nat
open import Data.Nat.Properties
open import Relation.Nullary
---------------------------------------------------------... |
scripts/music/en/dislikeTrackAndSkip.applescript | dnedry2/vscode-itunes | 16 | 2047 | <filename>scripts/music/en/dislikeTrackAndSkip.applescript
if application "Music" is running then
tell application "Music"
set disliked of current track to true
next track
end tell
end if
|
sys.asm | guenchi/ChezLispMachine | 6 | 7401 | org 0xc200
mov al, 0x13
mov ah, 0x00
int 0x10
fin:
hlt
jmp fin |
programs/oeis/282/A282613.asm | neoneye/loda | 22 | 17203 | ; A282613: Number of inequivalent 3 X 3 matrices with entries in {1,2,3,..,n} up to rotations.
; 0,1,140,4995,65824,489125,2521476,10092775,33562880,96870249,250025500,589527851,1290008160,2651218765,5165397524,9611031375,17180133376,29647326545,49590297900,80672546899,128000804000,198571037301,301818598180,45028978053... |
Karatsuba.agda | oisdk/agda-playground | 6 | 11980 | <filename>Karatsuba.agda
{-# OPTIONS --cubical --postfix-projections --safe #-}
module Karatsuba where
open import Prelude
open import Data.List
open import Data.List.Syntax
open import TreeFold
open import Data.Integer
import Data.Nat as ℕ
open import Literals.Number
open import Data.Integer.Literals
Diff : Ty... |
src/mapcode_utils-bits.ads | mapcode-foundation/mapcode-ada | 1 | 16482 | <reponame>mapcode-foundation/mapcode-ada
-- -----------------------------------------------------------------------------
-- Copyright (C) 2003-2019 Stichting Mapcode Foundation (http://www.mapcode.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in complia... |
oeis/176/A176408.asm | neoneye/loda-programs | 11 | 80788 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A176408: a(n) = (n+1)*(a(n-1) +a(n-2)) n>1, a(0)=1,a(1)=0
; Submitted by <NAME>(m4)
; 1,0,3,12,75,522,4179,37608,376083,4136910,49642923,645357996,9035011947,135525179202,2168402867235,36862848742992,663531277373859,12607094270103318,252141885402066363,52949795934433936... |
test/Fail/Issue4484a.agda | cruhland/agda | 1,989 | 10143 |
open import Agda.Builtin.Equality
open import Agda.Builtin.Nat
record Eta : Set where
constructor _,_
field fst : Nat
snd : Nat
open Eta
data ⊥ : Set where
hard-fail : (a : Eta) (x : Nat) → (fst a , x) ≡ a → ⊥
hard-fail a x () -- Should be error (refl is valid)
loop : ⊥
loop = hard-fail (0 , 0) 0 ref... |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0_notsx.log_21829_377.asm | ljhsiun2/medusa | 9 | 7581 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x16202, %r12
nop
nop
nop
nop
nop
add %r13, %r13
movups (%r12), %xmm4
vpextrq $1, %xmm4, %rcx
nop
nop
xor $21023, %rax
lea addresses_WC_ht+0x1a602, %rsi
clflush (%rsi)
nop
nop
... |
test/node/test_node.ads | skill-lang/skillAdaTestSuite | 1 | 12265 | <reponame>skill-lang/skillAdaTestSuite
package Test_Node is
end Test_Node;
|
src/test/resources/MinimalLexer.g4 | google/polymorphicDSL | 3 | 4593 | lexer grammar MinimalLexer;
import PolymorphicDslCommonLexer;
MINIMAL: WS* 'Given the minimalism' WS* END_OF_FILE?; |
3-mid/impact/source/3d/collision/narrowphase/impact-d3-triangle_callback-raycast.adb | charlie5/lace | 20 | 27786 | <reponame>charlie5/lace
with impact.d3.Matrix,
impact.d3.Vector,
impact.d3.Shape.convex.internal.polyhedral.triangle,
impact.d3.collision.simplex_Solver.voronoi,
impact.d3.collision.convex_penetration_depth_Solver.gjk_epa,
impact.d3.collision.convex_Raycast,
impact.d3.collision.convex_Rayc... |
WEEK-7/6.asm | ShruKin/Microprocessor-and-Microcontroller-Lab | 0 | 6650 | <reponame>ShruKin/Microprocessor-and-Microcontroller-Lab<gh_stars>0
LXI H,9000
MOV A,M // lower byte
INX H
MOV B,M // upper byte
INX H
MOV C,M // denominator
INX B
LXI H,0000
LOOP: SUB C
JC SKIP
INCR: INX H // increase quotient
JMP LOOP
SKIP: DCR B
JZ END
JMP ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.