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 |
|---|---|---|---|---|
elide-core/src/main/antlr4/com/yahoo/elide/generated/parsers/Core.g4 | aklish/elide | 0 | 5478 | /*
* Copyright 2015, Yahoo Inc.
* Licensed under the Apache License, Version 2.0
* See LICENSE file in project root for terms.
*/
grammar Core;
start: rootCollection query;
rootCollection
: term #rootCollectionLoadEntities
| entity '/' relationship #rootCollectionRelationship
|... |
Cubical/HITs/GroupoidQuotients/Base.agda | marcinjangrzybowski/cubical | 301 | 3506 | <gh_stars>100-1000
{-
This file contains:
- Definition of groupoid quotients
-}
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.HITs.GroupoidQuotients.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Relation.Binary.Base
-- Groupoid quotients as a higher inductive type:
-- F... |
unittests/ASM/REP/F3_2C.asm | cobalt2727/FEX | 628 | 80416 | %ifdef CONFIG
{
"RegData": {
"RAX": "0x1",
"RBX": "0x2",
"RCX": "0x3",
"RDX": "0x4",
"RBP": "0xFFFFFFFE",
"RSI": "0xFFFFFFFFFFFFFFFC"
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov r15, 0xe0000000
mov rax, 0x414243443f800000
mov [r15 + 8 * 0], rax
mov rax, 0x51525354555... |
src/shaders/post_processing/gen5_6/Common/YUV_to_RGBX_Coef.asm | me176c-dev/android_hardware_intel-vaapi-driver | 192 | 244843 | <filename>src/shaders/post_processing/gen5_6/Common/YUV_to_RGBX_Coef.asm
/*
* All Video Processing kernels
* Copyright © <2010>, Intel Corporation.
*
* 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... |
parsers/src/main/goslin/FattyAcids.g4 | lifs-tools/jg | 4 | 4754 | <reponame>lifs-tools/jg<filename>parsers/src/main/goslin/FattyAcids.g4
/*
* MIT License
*
* Copyright (c) the authors (listed in global LICENSE file)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the 'Software'), to deal
*... |
ln.asm | cassianomaia/SO1-P2 | 0 | 98503 | <filename>ln.asm
_ln: file format elf32-i386
Disassembly of section .text:
00001000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
1000: 55 push %ebp
1001: 89 e5 mov %esp,%ebp
1003: 83 e4 f0 and $0xfffffff0,%esp... |
Cubical/Codata/M.agda | limemloh/cubical | 0 | 4816 | {-# OPTIONS --cubical --safe --guardedness #-}
module Cubical.Codata.M where
open import Cubical.Foundations.Prelude
-- TODO move
module Helpers where
module _ {ℓ ℓ'} {A : Type ℓ} {x : A} (P : ∀ y → x ≡ y → Type ℓ') (d : P x refl) where
-- A version with y as an explicit argument can be used to make Agda
--... |
oeis/349/A349836.asm | neoneye/loda-programs | 11 | 94302 | ; A349836: Expansion of Sum_{k>=0} (k * x)^k/(1 - k^2 * x).
; Submitted by <NAME>(s3)
; 1,1,5,44,564,9665,211025,5686104,184813048,7118824417,320295658577,16626717667348,985178854556524,66005199079345025,4958773228726876257,414664315430994701616,38344259607889223269168,3898112616839310343827009,433410224730122325422659... |
vendor/stdlib/src/Data/Map.agda | isabella232/Lemmachine | 56 | 8872 | <reponame>isabella232/Lemmachine
------------------------------------------------------------------------
-- Finite maps, i.e. lookup tables (currently only some type
-- signatures)
------------------------------------------------------------------------
module Data.Map where
open import Relation.Nullary
open import ... |
alloy4fun_models/trashltl/models/19/TXZGmeWKc9F9o9mXA.als | Kaixi26/org.alloytools.alloy | 0 | 797 | <gh_stars>0
open main
pred idTXZGmeWKc9F9o9mXA_prop20 {
always all f : Trash | f not in Protected
}
pred __repair { idTXZGmeWKc9F9o9mXA_prop20 }
check __repair { idTXZGmeWKc9F9o9mXA_prop20 <=> prop20o } |
Liquid.NET.Grammar/Liquid.g4 | mikebridge/Liquid.NET | 61 | 6695 | <reponame>mikebridge/Liquid.NET
// Some inspiration from: https://github.com/bkiers/Liqp/blob/master/src/grammar/Liquid.g
grammar Liquid;
@parser::header {#pragma warning disable 3021}
options {
tokenVocab=LiquidLexer;
}
// todo: rename outputxperssion to liquidexpression
/*
* Parser Rules
*/
in... |
tests/avif/invalid-profile-track.asm | y-guyon/ComplianceWarden | 0 | 85797 | <reponame>y-guyon/ComplianceWarden
%define BE(a) ( ((((a)>>24)&0xFF) << 0) + ((((a)>>16)&0xFF) << 8) + ((((a)>>8)&0xFF) << 16) + ((((a)>>0)&0xFF) << 24))
ftyp_start:
dd BE(ftyp_end - ftyp_start)
dd "ftyp"
db 0x61, 0x76, 0x69, 0x73 ; brand(32) ('avis')
db 0x00, 0x00, 0x00, 0x00 ; version(32)
db 0... |
WDL/eel2/asm-nseel-x64-macho.asm | m1cl/synth | 2 | 246815 | <filename>WDL/eel2/asm-nseel-x64-macho.asm
; THIS FILE AUTOGENERATED FROM asm-nseel-x86-gcc.c by a2x64.php
%define AMD64ABI
%define EEL_F_SIZE 8
%define TARGET_X64
SECTION .text
global _nseel_asm_1pdd
_nseel_asm_1pdd:
mov rdi, qword 0xFEFEFEFEFEFEFEFE
%ifdef TARGET_X64
sub rsp, 128
fstp qword [rsp]
... |
Rom/EMUF.asm | Megatokio/Z80EMUF | 1 | 91359 | <reponame>Megatokio/Z80EMUF
; ================================================================
; Example rom with c code for a Z80 system
; Copyright (c) <NAME> 1994 - 2015
; mailto:<EMAIL>
; ================================================================
#target rom
_rom_start:: equ 0x0000
_rom_end:: equ 0x... |
beafix_benchmarks/A4F-1B-ATR/CV/cv_inv1_1.als | Kaixi26/org.alloytools.alloy | 0 | 5277 |
abstract sig Source {}
sig User extends Source {
profile : set Work,
visible : set Work
}
sig Institution extends Source {}
sig Id {}
sig Work {
ids : some Id,
source : one Source
}
// Specify the following invariants!
// You can check their correctness with the different commands and
// specifying a... |
cohesion/david_jaz_261/Sharp.agda | glangmead/formalization | 6 | 4545 | <gh_stars>1-10
{-# OPTIONS --without-K --rewriting #-}
module Sharp where
open import Basics
open import Flat
open import lib.NType2
open import lib.Equivalence2
open import lib.types.Modality
-- --------------------------------------------------------------------------------------
-- Postulating the ... |
programs/oeis/099/A099944.asm | neoneye/loda | 22 | 90568 | <filename>programs/oeis/099/A099944.asm<gh_stars>10-100
; A099944: Number of 3 X n binary matrices avoiding simultaneously the right angled numbered polyomino patterns (ranpp) (00;1) and (11;0).
; 76,164,340,692,1396,2804,5620,11252,22516,45044,90100,180212,360436,720884,1441780,2883572,5767156,11534324,23068660,461373... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_1870.asm | ljhsiun2/medusa | 9 | 246460 | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x13268, %r14
nop
cmp %rdx, %rdx
and $0xffffffffffffffc0, %r14
vmovaps (%r14), %ymm7
vextracti128 $1, %ymm7, %xmm7
vpextrq $1, %xmm7, %rsi
nop
nop
nop
xor $755, %rbx
lea addre... |
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_iy/trunc_fastcall.asm | meesokim/z88dk | 0 | 22877 |
SECTION code_fp_math48
PUBLIC _trunc_fastcall
EXTERN cm48_sdcciy_trunc_fastcall
defc _trunc_fastcall = cm48_sdcciy_trunc_fastcall
|
arch/ARM/STM32/svd/stm32l151/stm32_svd.ads | morbos/Ada_Drivers_Library | 2 | 11116 | -- This spec has been automatically generated from STM32L151.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
-- STM32L151
package STM32_SVD is
pragma Preelaborate;
--------------------
-- Base addresses --
--------------------
AES_Base : cons... |
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gstpluginfeature_h.ads | persan/A-gst | 1 | 17304 | pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with glib;
with glib.Values;
with System;
with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstobject_h;
limited with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstplugin_h;
with glib;
-- limited with GStreamer.GST_L... |
oeis/218/A218692.asm | neoneye/loda-programs | 11 | 26802 | <reponame>neoneye/loda-programs
; A218692: Sum_{k=0..n} C(n,k)^6*C(n+k,k)^3.
; Submitted by <NAME>
; 1,9,1945,783657,333935001,216152253009,148273286805001,112444816742316585,93273051852487532953,80885382627785790555009,73726153308964013326434945,69714999360408389332640853105,67921574835559806028030517001225,6796558434... |
programs/oeis/135/A135704.asm | karttu/loda | 1 | 13174 | ; A135704: a(n) = 7*n^2 + 4*n + 1.
; 4,1,12,37,76,129,196,277,372,481,604,741,892,1057,1236,1429,1636,1857,2092,2341,2604,2881,3172,3477,3796,4129,4476,4837,5212,5601,6004,6421,6852,7297,7756,8229,8716,9217,9732,10261,10804,11361,11932,12517,13116,13729,14356,14997,15652,16321,17004,17701,18412,19137,19876,20629,21396,... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/in_mod_conv.adb | best08618/asylo | 7 | 11638 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/in_mod_conv.adb
-- { dg-do compile }
procedure in_mod_conv is
package Test is
type T is new Natural range 1..6;
subtype T_SubType is T range 3..5;
type A1 is array (T range <>) of boolean;
type A2 is new A1 (T_SubType);
PRAGMA pack (A2... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c35508g.ada | best08618/asylo | 7 | 27226 | -- C35508G.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... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c86007a.ada | best08618/asylo | 7 | 1611 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c86007a.ada
-- C86007A.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
-- unlimi... |
data/pokemon/base_stats/cresselia.asm | AtmaBuster/pokeplat-gen2 | 6 | 96866 | <filename>data/pokemon/base_stats/cresselia.asm
db 0 ; species ID placeholder
db 120, 70, 120, 85, 75, 130
; hp atk def spd sat sdf
db PSYCHIC, PSYCHIC ; type
db 3 ; catch rate
db 255 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_UNKNOWN ; gender ratio
db 120 ; step cycles to hatch
INCBIN "gfx/... |
31_Scrolling_Backgrounds/LButton.asm | DebugBSD/SDLExamples | 3 | 100488 | <reponame>DebugBSD/SDLExamples<gh_stars>1-10
include LButton.inc
.const
.data?
externdef gRenderer:QWORD
;externdef gButtonSpriteSheetTexture:LTexture
;externdef gSpriteClips:SDL_Rect
.data
.code
LButton_init proc uses rax rcx rdi, pLButton:ptr
mov rdi, pLButton
mov rcx, SIZEOF LButton
mov rax, 0
rep stosb... |
misc/add http prefix.applescript | kinshuk4/evernote-automation | 4 | 3777 | <reponame>kinshuk4/evernote-automation
set tabUrl to "asdfds.com"
if (characters 4 thru 1 of tabUrl as string) is not equal to "http" then
set tabUrl to "http://" & tabUrl
end if |
halma.asm | DirtyHairy/vcs-halma | 0 | 88534 | <filename>halma.asm
processor 6502
include vcs.h
include macro.h
include halma_macro.h
seg.u vars
org $B2
cursorX .byte
cursorY .byte
selectedX .byte
selectedY .byte
hasSelection .byte
blink .byte
lastSwcha .byte
lastInpt4 .byte
lastSwchb .b... |
programs/oeis/170/A170692.asm | neoneye/loda | 22 | 170025 | ; A170692: Number of reduced words of length n in Coxeter group on 11 generators S_i with relations (S_i)^2 = (S_i S_j)^50 = I.
; 1,11,110,1100,11000,110000,1100000,11000000,110000000,1100000000,11000000000,110000000000,1100000000000,11000000000000,110000000000000,1100000000000000,11000000000000000,110000000000000000,1... |
git/gvimdiff.scpt | sialm/dotfiles | 8 | 388 | <filename>git/gvimdiff.scpt
on run argv
tell application "Terminal"
if not (exists window 1) then reopen
set argvStr to my joinList(argv, " ")
do script "vimdiff " & argvStr & " && exit || exit 1"
activate
end tell
end run
to joinList(aList, delimiter)
set retVal to ""
s... |
oeis/031/A031336.asm | neoneye/loda-programs | 11 | 173745 | <reponame>neoneye/loda-programs
; A031336: a(n) = prime(3*n).
; Submitted by <NAME>
; 5,13,23,37,47,61,73,89,103,113,137,151,167,181,197,223,233,251,269,281,307,317,347,359,379,397,419,433,449,463,487,503,523,557,571,593,607,619,643,659,677,701,727,743,761,787,811,827,853,863,883,911,937,953,977,997,1019,1033,1051,1069... |
src/test/ref/condition-integer-1.asm | jbrandwood/kickc | 2 | 84997 | <gh_stars>1-10
// Tests using integer conditions in if()
// This should produce '0 0 0' at the top of the screen
// Commodore 64 PRG executable file
.file [name="condition-integer-1.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Cod... |
Library/Text/TextSearchSp/tssC.asm | steakknife/pcgeos | 504 | 16637 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1991 -- All Rights Reserved
PROJECT: Text
FILE: tssC.asm
AUTHOR: <NAME>, Oct 9, 1991
ROUTINES:
Name Description
---- -----------
TEXTSEARCHINSTRING C Stub for TextSearchInString
T... |
env/linux/lib/m.asm | lancejpollard/meditations | 2 | 100064 | global _start
section .data
align 2
hello: db 'Hello world!', 0xa
helloLen: equ $-hello
section .bss
section .text
_start:
mov eax, 0x4
mov ebx, 0x1
mov ecx, hello
mov edx, helloLen
int 0x80
mov eax, 0x1
xor ebx, ebx
int 0x80
|
programs/oeis/267/A267683.asm | neoneye/loda | 22 | 170524 | ; A267683: Triangle read by rows giving successive states of cellular automaton generated by "Rule 203" initiated with a single ON (black) cell.
; 1,1,0,0,1,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1... |
programs/oeis/133/A133510.asm | neoneye/loda | 22 | 83524 | <reponame>neoneye/loda<gh_stars>10-100
; A133510: Number of primitive H-invariant prime ideals in O_q(M_{2,n}) generic quantum matrices.
; 2,5,17,53,167,515,1577,4793,14507,43775,131837,396533,1191647,3579035,10745297,32252273,96789587,290434295,871433957,2614564013,7844216327,23533697555,70603189817,211813763753,63544... |
asm/fork.asm | icefoxen/lang | 0 | 8380 | ; Let's see if we can assemble a forkbomb...
;segment .text
;global _start
_start:
mov eax, 2;
int 0x80;
jmp _start;
|
src/main/antlr/SHRContentProfileParser.g4 | icure-io/shr-grammar | 2 | 2194 | parser grammar SHRContentProfileParser;
options { tokenVocab=SHRContentProfileLexer; }
// DATA DEFINITIONS (Grammar: ContentProfile)
doc: docHeader contentsDefs;
docHeader: KW_GRAMMAR KW_G_CONTENT_PROFILE version;
contentsDefs: (namespaceHeader contentDefs)*;
namespaceHeader: KW_NAM... |
alloy4fun_models/trashltl/models/5/ZmCgjnm9Nyr4uWg2S.als | Kaixi26/org.alloytools.alloy | 0 | 164 | <filename>alloy4fun_models/trashltl/models/5/ZmCgjnm9Nyr4uWg2S.als
open main
pred idZmCgjnm9Nyr4uWg2S_prop6 {
always all f : Trash | f not in Trash until f in Trash
}
pred __repair { idZmCgjnm9Nyr4uWg2S_prop6 }
check __repair { idZmCgjnm9Nyr4uWg2S_prop6 <=> prop6o } |
src/fsmaker_main.adb | Fabien-Chouteau/fsmaker | 0 | 29024 | <filename>src/fsmaker_main.adb
with FSmaker.Commands;
procedure Fsmaker_Main is
begin
FSmaker.Commands.Execute;
end Fsmaker_Main;
|
programs/oeis/256/A256882.asm | karttu/loda | 0 | 246934 | <reponame>karttu/loda
; A256882: Numbers divisible by prime(d+1) for each digit d of their base-2 representation.
; 0,3,6,12,15,18,24,30,36,42,48,54,60,63,66,72,78,84,90,96,102,108,114,120,126,132,138,144,150,156,162,168,174,180,186,192,198,204,210,216,222,228,234,240,246,252,255,258,264,270,276,282,288,294,300,306,312... |
Engine Hacks/Entrap/Entrap_Target_Check.asm | sme23/Christmas2 | 0 | 90475 | .thumb
.org 0x0
@Entrap_Target_Check
@r0 = current target's char data ptr
push {r4,r14}
mov r4,r0
ldr r0,TargeterPtr
ldr r0,[r0]
ldrb r0,[r0,#0xB]
ldrb r1,[r4,#0xB]
ldr r2,Compare_Allegiance_Func
mov r14,r2
.short 0xF800 @returns 0 if both enemies or both ally/npc, 1 otherwise
cmp r0,#0x0
bne GoBack
ldr r... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/opt1.ads | best08618/asylo | 7 | 23561 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/opt1.ads
-- { dg-do compile }
-- { dg-options "-O2" }
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
package Opt1 is
type Ptr is access all Integer;
type R1 is record
I1 : Integer;
I2 : Integer := 0;
I3 : Integer;
end rec... |
programs/oeis/298/A298785.asm | neoneye/loda | 22 | 15887 | <reponame>neoneye/loda
; A298785: Partial sums of A298784.
; 1,5,11,21,35,51,71,95,121,151,185,221,261,305,351,401,455,511,571,635,701,771,845,921,1001,1085,1171,1261,1355,1451,1551,1655,1761,1871,1985,2101,2221,2345,2471,2601,2735,2871,3011,3155,3301,3451,3605,3761,3921,4085,4251,4421,4595,4771,4951,5135,5321,5511,570... |
src/ada/src/comms/uxas-comms-transport-network_name.ads | VVCAS-Sean/OpenUxAS | 88 | 13824 | package UxAS.Comms.Transport.Network_Name is
ZmqExternalLmcpTcpNetwork : constant String := "zmqExternalLmcpTcpNetwork";
ZmqLmcpNetwork : constant String := "zmqLmcpNetwork";
ZmqStringNetwork : constant String := "zmqStringNetwork";
end UxAS.Comms.Transport.Network_Name;
|
source/amf/uml/amf-internals-uml_value_specifications.adb | svn2github/matreshka | 24 | 18656 | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
Legacy/BootPlatform/EfiLdr/Ia32/Canary.nasm | Halo-Michael/OpenCorePkg | 10,125 | 28734 | ; @file
; Copyright (C) 2021, ISP RAS. All rights reserved.
;
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution. The full text of the license may be found at
; http://opensource.org/licenses/bsd-licens... |
oeis/081/A081898.asm | neoneye/loda-programs | 11 | 3501 | ; A081898: A sequence related to binomial(n+4, 4).
; Submitted by <NAME>
; 1,7,39,193,886,3858,16146,65502,259119,1003833,3820689,14322663,52986636,193759452,701265924,2514778812,8943620589,31569189723,110673119691,385569479997,1335567565746,4601780568342,15778086835014,53852222811978,183024799992891,619577180566893,20... |
common/src/main/antlr/org/anti_ad/mc/common/gen/RulesLexer.g4 | lospejos/Inventory-Profiles | 64 | 6224 | lexer grammar RulesLexer;
// https://github.com/antlr/grammars-v4/blob/master/json/JSON.g4
// default = mode mDeclare
WS : [\p{white_space}]+ -> skip ;
AT: '@' -> mode(mDeclareName);
ERR: .;
fragment ID: [a-zA-Z0-9_]+;
mode mDeclareName; // no ws in between
DeclareName: ID -> type(RuleName), mode(mSubRule);
ERR_mDecl... |
oeis/126/A126931.asm | neoneye/loda-programs | 11 | 91144 | ; A126931: a(n) = A127359(n+1)/2 - A127359(n).
; Submitted by <NAME>
; 1,3,10,33,110,366,1220,4065,13550,45162,150540,501786,1672620,5575356,18584520,61948257,206494190,688313490,2294378300,7647926046,25493086820,84976950468,283256501560,944188318938,3147294396460,10490981252196,34969937507320,116566458110100,388554860... |
oeis/031/A031391.asm | neoneye/loda-programs | 11 | 174869 | <reponame>neoneye/loda-programs
; A031391: a(n) = prime(10*n-3).
; Submitted by <NAME>
; 17,59,103,157,211,269,331,389,449,509,587,643,709,773,853,919,991,1051,1117,1201,1279,1327,1433,1489,1567,1621,1709,1787,1873,1951,2027,2099,2179,2269,2341,2399,2477,2591,2671,2719,2797,2879,2963,3049,3163,3229,3319,3389,3469,3547,... |
loaders_patches_etc/cracktro_v0_scoobydoo.asm | alexanderbazhenoff/zx-spectrum-various | 0 | 176905 | <reponame>alexanderbazhenoff/zx-spectrum-various<gh_stars>0
ORG #9000
DI
LD HL,LOADER
LD DE,#5D3B
LD BC,ENDLOAD-LOADER
LDIR
LD HL,FONT
PUSH HL
LD DE,#8000
LD BC,#200
LDIR
XOR A
LD (23624),A
LD (23693),A
... |
programs/oeis/092/A092054.asm | jmorken/loda | 1 | 245896 | ; A092054: Logarithm base 2 of the sum of numerator and denominator of the convergents of the continued fraction expansion [1;1/2,1/3,1/4,...,1/n,...].
; 1,2,4,6,7,8,11,14,15,16,18,20,21,22,26,30,31,32,34,36,37,38,41,44,45,46,48,50,51,52,57,62,63,64,66,68,69,70,73,76,77,78,80,82,83,84,88,92,93,94,96,98,99,100,103,106,1... |
programs/oeis/054/A054008.asm | karttu/loda | 1 | 96384 | ; A054008: n read modulo (number of divisors of n).
; 0,0,1,1,1,2,1,0,0,2,1,0,1,2,3,1,1,0,1,2,1,2,1,0,1,2,3,4,1,6,1,2,1,2,3,0,1,2,3,0,1,2,1,2,3,2,1,8,1,2,3,4,1,6,3,0,1,2,1,0,1,2,3,1,1,2,1,2,1,6,1,0,1,2,3,4,1,6,1,0,1,2,1,0,1,2,3,0,1,6,3,2,1,2,3,0,1,2,3,1,1,6,1,0,1,2,1,0,1,6,3,2,1,2,3,2,3,2,3,8,1,2,3,4,1,6,1,0,1,2,1,0,1,... |
src/q_bingo-q_bombo.adb | mgrojo/bingada | 2 | 24689 | <filename>src/q_bingo-q_bombo.adb
--*****************************************************************************
--*
--* PROJECT: BINGADA
--*
--* FILE: q_bingo.adb
--*
--* AUTHOR: <NAME>
--*
--*****************************************************************************
with Q_GEN... |
alloy4fun_models/trashltl/models/5/Ed3p946igEQJE7Bd7.als | Kaixi26/org.alloytools.alloy | 0 | 3326 | <gh_stars>0
open main
pred idEd3p946igEQJE7Bd7_prop6 {
always (after some f:File | f in Trash)
}
pred __repair { idEd3p946igEQJE7Bd7_prop6 }
check __repair { idEd3p946igEQJE7Bd7_prop6 <=> prop6o } |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/round_div.adb | best08618/asylo | 7 | 2819 | <reponame>best08618/asylo
-- { dg-do run }
-- { dg-options "-O3" }
procedure Round_Div is
type Fixed is delta 1.0 range -2147483648.0 .. 2147483647.0;
A : Fixed := 1.0;
B : Fixed := 3.0;
C : Integer;
function Divide (X, Y : Fixed) return Integer is
begin
return Integer (X / Y);
end;
begin
... |
src/LibraBFT/Impl/Consensus/PersistentLivenessStorage/Properties.agda | LaudateCorpus1/bft-consensus-agda | 0 | 15653 | {- 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
open import LibraBFT.Impl.Consensus.Persisten... |
1.Basic Arithmetic/Max.asm | KDahir247/X86AssemblyPratice | 1 | 24399 | .model flat, c
;Implementation for this Assembly File
;extern "C" int Max(int a, int b);
.code
Max proc
push ebp
mov ebp, esp
mov eax, [ebp + 8]
mov ecx, [ebp + 12]
div ecx
test edx, edx ; performance and operation and set the ZF, SF, PF according to the result
je FirstElement
mov eax, [ebp + 12]
pop... |
asg/asm/rdkafka_header.asm | asgkafka/librdkafka | 0 | 94695 | <gh_stars>0
*PROCESS DUPALIAS
*
* Compiled by DCC Version 2.25.07 Mar 6 2021 08:51:07
* on Fri Apr 30 15:35:34 2021
*
WXTRN @@ZARCH#
*
*
*
* Code Section
*
@CODE ALIAS X'7CD9C4D2C1C6D2C16DC8C5C1C4C5D9'
@CODE CSECT
@CODE AMODE ANY
@CODE RMODE ANY
@DATA ALIAS X'7C998492818692816D88... |
oeis/167/A167322.asm | neoneye/loda-programs | 11 | 244629 | ; A167322: Totally multiplicative sequence with a(p) = 3*(p+3) for prime p.
; Submitted by <NAME>
; 1,15,18,225,24,270,30,3375,324,360,42,4050,48,450,432,50625,60,4860,66,5400,540,630,78,60750,576,720,5832,6750,96,6480,102,759375,756,900,720,72900,120,990,864,81000,132,8100,138,9450,7776,1170,150,911250,900,8640,1080,1... |
src/_ti_stm32f4_gen_funcs.asm | tirish/Wave-Generator | 0 | 85665 | @; <NAME>
@; General - Functions
@; r0 = 32-bit binary/bcd (becomes most significant bits)
@; r1 = 32-bit binary/bcd
@; r2 = num bits to merge (max 16)
.global MergeBits
.thumb_func
MergeBits:
@; make sure r2 is less than or equal to 16
MOV_imm32 r3, 16
SATURATE r2, r3
MOV_imm32 r3, 0xffffffff
lsl r3, r2... |
programs/oeis/093/A093834.asm | neoneye/loda | 22 | 100588 | ; A093834: Expansion of (1-2x)^2/((1-3x)(1-4x)).
; 1,3,13,55,229,943,3853,15655,63349,255583,1028893,4135255,16600069,66577423,266841133,1068958855,4280618389,17136822463,68590336573,274490486455,1098349366309,4394559726703,17581725691213,70337363118055
mov $3,$0
sub $0,1
mov $1,4
pow $1,$3
mov $2,3
pow $2,$0
sub $1,$... |
data/pokemon/base_stats/vigoroth.asm | AtmaBuster/pokeplat-gen2 | 6 | 17321 | db 0 ; species ID placeholder
db 80, 80, 80, 90, 55, 55
; hp atk def spd sat sdf
db NORMAL, NORMAL ; type
db 120 ; catch rate
db 126 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 15 ; step cycles to hatch
INCBIN "gfx/pokemon/vigoroth/front.dimensions"
db GROWTH_SLOW ; ... |
src/main/ada/2019/aoc-aoc_2019-day02.ads | wooky/aoc.kt | 0 | 24224 | with Intcode;
package AOC.AOC_2019.Day02 is
type Day_02 is new Day.Day with private;
overriding procedure Init (D : in out Day_02; Root : String);
overriding function Part_1 (D : Day_02) return String;
overriding function Part_2 (D : Day_02) return String;
private
type Day_02 is new Day.Day with record... |
LibraBFT/Yasm/System.agda | cwjnkins/bft-consensus-agda | 0 | 6241 | <reponame>cwjnkins/bft-consensus-agda
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2020, 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open import LibraBFT.Prelude
open ... |
src/MLib/Algebra/PropertyCode/Core.agda | bch29/agda-matrices | 0 | 12798 | <reponame>bch29/agda-matrices<filename>src/MLib/Algebra/PropertyCode/Core.agda
module MLib.Algebra.PropertyCode.Core where
open import MLib.Prelude
open import MLib.Finite
import MLib.Finite.Properties as FiniteProps
open import MLib.Algebra.PropertyCode.RawStruct
import Relation.Unary as U using (Decidable)
open imp... |
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xca_notsx.log_21829_314.asm | ljhsiun2/medusa | 9 | 86757 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r14
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x4b94, %rbp
nop
nop
nop
nop
xor $27312, %r14
mov (%rbp), %rbx
nop
nop
sub %rcx, %rcx
lea addresses_A_ht+0x1da1e, %r10
nop
nop
add $50282, %r12
vmovups (%r10), %ymm7... |
alloy4fun_models/trashltl/models/4/LsSCZZxLKCfLFyNcw.als | Kaixi26/org.alloytools.alloy | 0 | 4110 | <gh_stars>0
open main
pred idLsSCZZxLKCfLFyNcw_prop5 {
eventually (some f : File | File' = File - f)
}
pred __repair { idLsSCZZxLKCfLFyNcw_prop5 }
check __repair { idLsSCZZxLKCfLFyNcw_prop5 <=> prop5o } |
externals/mpir-3.0.0/mpn/x86w/pentium4/mmx/popcount.asm | JaminChan/eos_win | 12 | 93062 |
; Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
;
; This file is part of the GNU MP Library.
;
; The GNU MP 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... |
src/Ada/syscalls/ewok-syscalls-ipc.adb | wookey-project/ewok-legacy | 0 | 26887 | <gh_stars>0
--
-- Copyright 2018 The wookey project team <<EMAIL>>
-- - <NAME>
-- - <NAME>
-- - <NAME>
-- - <NAME>
-- - <NAME>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--... |
oeis/256/A256322.asm | neoneye/loda-programs | 11 | 97825 | ; A256322: Number of partitions of 7n into exactly 3 parts.
; 0,4,16,37,65,102,147,200,261,331,408,494,588,690,800,919,1045,1180,1323,1474,1633,1801,1976,2160,2352,2552,2760,2977,3201,3434,3675,3924,4181,4447,4720,5002,5292,5590,5896,6211,6533,6864,7203,7550,7905,8269,8640,9020,9408,9804,10208,10621,11041,11470,11907,1... |
src/LibraBFT/Impl/Consensus/TestUtils/MockSharedStorage.agda | LaudateCorpus1/bft-consensus-agda | 0 | 5343 | <filename>src/LibraBFT/Impl/Consensus/TestUtils/MockSharedStorage.agda
{- 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 i... |
alloy4fun_models/trainstlt/models/8/2RD3BKdMPMoPjw2vQ.als | Kaixi26/org.alloytools.alloy | 0 | 3834 | open main
pred id2RD3BKdMPMoPjw2vQ_prop9 {
( all t:Train |no t.pos implies eventually ( some t.pos and t.pos in Entry) )
}
pred __repair { id2RD3BKdMPMoPjw2vQ_prop9 }
check __repair { id2RD3BKdMPMoPjw2vQ_prop9 <=> prop9o } |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_1654.asm | ljhsiun2/medusa | 9 | 167675 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1d50c, %rax
sub $34242, %rsi
mov (%rax), %r15d
nop
nop
and %r14, %r14
lea addresses_WT_ht+0xa76c, %rsi
lea addresses_D_ht+0xf5ec, %rdi
nop
nop
i... |
test/Fail/Issue2806.agda | cagix/agda | 1,989 | 17456 | <gh_stars>1000+
data _≡_ {a} {A : Set a} (x : A) : A → Set a where
refl : x ≡ x
postulate
A : Set
a : A
record Eq (a : A) : Set where
constructor mkEq
field
v : A
p : a ≡ v
open Eq
record S : Set1 where
constructor mkS
field
u : A
e : Eq u
open Eq e public
open S
test : ∀ (b : A) → ... |
openal-extension-efx.ads | io7m/coreland-openal-ada | 1 | 29861 | <filename>openal-extension-efx.ads<gh_stars>1-10
with OpenAL.Context;
with OpenAL.Types;
with OpenAL.Source;
private with OpenAL.Extension.EFX_Thin;
package OpenAL.Extension.EFX is
type Extension_t is private;
function Is_Present (Device : in Context.Device_t) return Boolean;
function Load_Extension return E... |
programs/oeis/130/A130255.asm | neoneye/loda | 22 | 173308 | <gh_stars>10-100
; A130255: Maximal index k of an odd Fibonacci number (A001519) such that A001519(k) = Fibonacci(2k-1) <= n (the 'lower' odd Fibonacci Inverse).
; 1,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/parent_ltd_with-child_full_view.adb | best08618/asylo | 7 | 18430 | -- { dg-do compile }
package body Parent_Ltd_With.Child_Full_View is
function New_Child_Symbol return Child_Symbol_Access is
Sym : constant Child_Symbol_Access := new Child_Symbol'(Comp => 10);
begin
return Sym;
end New_Child_Symbol;
end Parent_Ltd_With.Child_Full_View;
|
examples/Bell202Demod.asm | wholder/ATTiny10IDE | 151 | 100397 | .device attiny10
; +====+
; PWMA/PB0 |* | PB3 (RESET)
; GND | | Vcc
; PWMB/PB1 | | PB2 (CLKO)
; +====+
; Implements Bell 202 modem demodulator
; Mark: 1200 (binary 1)
; Space: 2200 (binary 0)
.fuses rstdisbl
.equ COUNT = 832 ; 8 MHz / 832 = 9600 samples/sec
.equ srcl = R16
.e... |
programs/oeis/090/A090407.asm | neoneye/loda | 22 | 91146 | <reponame>neoneye/loda
; A090407: a(n) = Sum_{k = 0..n} C(4*n + 1, 4*k).
; 1,6,136,2016,32896,523776,8390656,134209536,2147516416,34359607296,549756338176,8796090925056,140737496743936,2251799780130816,36028797153181696,576460751766552576,9223372039002259456,147573952581086478336,2361183241469182345216,3777893186281972... |
oeis/031/A031376.asm | neoneye/loda-programs | 11 | 168354 | <reponame>neoneye/loda-programs
; A031376: a(n) = prime(10*n - 1).
; Submitted by <NAME>
; 23,67,109,167,227,277,347,401,461,523,599,653,727,797,859,937,1009,1063,1129,1217,1289,1367,1447,1499,1579,1637,1723,1801,1879,1979,2039,2113,2207,2281,2351,2417,2521,2609,2683,2731,2803,2897,2971,3067,3169,3253,3329,3407,3499,35... |
programs/oeis/200/A200252.asm | karttu/loda | 0 | 176272 | ; A200252: Number of 0..n arrays x(0..2) of 3 elements with each no smaller than the sum of its previous elements modulo (n+1).
; 5,12,26,45,75,112,164,225,305,396,510,637,791,960,1160,1377,1629,1900,2210,2541,2915,3312,3756,4225,4745,5292,5894,6525,7215,7936,8720,9537,10421,11340,12330,13357,14459,15600,16820,18081,19... |
Cubical/HITs/James/Properties.agda | thomas-lamiaux/cubical | 1 | 14528 | {-
Basic properties of James construction
This file contains:
- The type James X has h-monoid structure, namely being a monoid in "homotopy category".
- The equivalence "James X₊ ≃ List X" for type X,
where X₊ denotes the type formed by freely adjoining a base point to X.
-}
{-# OPTIONS --safe #-}
module C... |
agda/Avionics/Probability.agda | helq/safety-envelopes-sentinels | 0 | 12291 | <reponame>helq/safety-envelopes-sentinels<filename>agda/Avionics/Probability.agda
{-# OPTIONS --allow-unsolved-metas #-}
module Avionics.Probability where
--open import Data.Fin using (Fin; fromℕ<)
open import Data.Nat using (ℕ; zero; suc)
open import Data.Product using (_×_; _,_)
open import Data.Vec using (Vec; loo... |
models/aleks/all-of.als | transclosure/Amalgam | 4 | 614 | <filename>models/aleks/all-of.als
check {
all x: Int | x != 0 => x.div[x] = 1 else x > 0
} for 3 Int
|
run/string.asm | jhmfreitas/Compilers-project | 1 | 87922 | ; TEXT
segment .text
; ALIGN
align 4
; GLOBL
global $_strcmp:function
; LABEL
$_strcmp:
; ENTER
push ebp
mov ebp, esp
sub esp, 48
; IMM
push dword 0
; COPY
push dword [esp]
; LOCA
pop eax
mov [ebp+-4], eax
; LOCAL
lea eax, [ebp+8]
push eax
; LOAD
pop eax
push dword [eax]
; LOCAL
lea eax, [ebp+-4]
push eax
... |
programs/oeis/239/A239052.asm | karttu/loda | 1 | 10026 | <filename>programs/oeis/239/A239052.asm
; A239052: Sum of divisors of 4*n-2.
; 3,12,18,24,39,36,42,72,54,60,96,72,93,120,90,96,144,144,114,168,126,132,234,144,171,216,162,216,240,180,186,312,252,204,288,216,222,372,288,240,363,252,324,360,270,336,384,360,294,468,306,312,576
mul $0,2
cal $0,203 ; a(n) = sigma(n), the s... |
mastersystem/zxb-sms-2012-02-23/zxb-sms/wip/zxb/library-asm/xor16.asm | gb-archive/really-old-stuff | 10 | 246863 |
; XOR16 implemented in XOR8.ASM file
#include once <xor8.asm>
|
Examples/ch10/Walk.asm | satadriver/LiunuxOS | 0 | 6019 | <gh_stars>0
TITLE Drunkard's Walk (Walk.asm)
; Drunkard's walk program. This is a simple version that
; starts at coordinate 50,50 and wanders around the immediate area.
; Last update: 8/14/01.
INCLUDE Irvine32.inc
WalkMax = 30
StartX = 25
StartY = 25
DrunkardWalk STRUCT
path COORD WalkMa... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_21829_1408.asm | ljhsiun2/medusa | 9 | 101124 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x812e, %r8
sub %r10, %r10
movw $0x6162, (%r8)
nop
nop
nop
sub %rax, %rax
lea addresses_D_ht+0x192e, %rsi
lea addresses_D_ht+0x1b83e, %rdi
nop
nop
nop
nop
nop
add %r15, %r15
mov... |
programs/oeis/299/A299255.asm | jmorken/loda | 1 | 86086 | <filename>programs/oeis/299/A299255.asm<gh_stars>1-10
; A299255: Coordination sequence for 3D uniform tiling formed by stacking parallel layers of the 3.3.4.3.4 2D tiling (cf. A219529).
; 1,7,23,50,87,135,194,263,343,434,535,647,770,903,1047,1202,1367,1543,1730,1927,2135,2354,2583,2823,3074,3335,3607,3890,4183,4487,480... |
src/bb-gui.ads | jorge-real/Ball-On-Beam | 4 | 21122 | ------------------------------------------------------------
-- B B . G U I --
-- --
-- Spec --
-- --
-- Graphical U... |
fm/DosSetVerify.asm | osfree-project/FamilyAPI | 0 | 102250 | ;/*!
; @file
;
; @ingroup fapi
;
; @brief DosSetVerify DOS wrapper
;
; (c) osFree Project 2018, <http://www.osFree.org>
; for licence see licence.txt in root directory, or project website
;
; This is Family API implementation for DOS, used with BIND tools
; to link required API
;
; @author <NAME> (<EMAI... |
classes/3/Moves.asm | UFSCar-CS/computer-architecture-and-organization-2012-2 | 0 | 2247 | TITLE Data Transfer Examples (Moves.asm)
; Chapter 4 example. Demonstration of MOV and
; XCHG with direct and direct-offset operands.
; Last update: 06/01/2006
INCLUDE Irvine32.inc
.data
val1 WORD 1000h
val2 WORD 2000h
arrayB BYTE 10h,20h,30h,40h,50h
arrayW WORD 100h,200h,300h
arrayD DWORD 10000h,20000h
.... |
programs/oeis/179/A179063.asm | neoneye/loda | 22 | 246480 | <reponame>neoneye/loda<gh_stars>10-100
; A179063: Number of non-attacking placements of 8 rooks on an n X n board.
; 0,0,0,0,0,0,0,40320,3265920,81648000,1097712000,9879408000,66784798080,363606122880,1669619952000,6678479808000,23828156352000,77203226580480,230333593351680,639815537088000,1669577821632000,412283502892... |
src/connections/adabase-connection-base-mysql.adb | jrmarino/AdaBase | 30 | 8581 | <reponame>jrmarino/AdaBase<filename>src/connections/adabase-connection-base-mysql.adb<gh_stars>10-100
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../../License.txt
with Ada.Unchecked_Conversion;
with Ada.Characters.Handling;
package body AdaBase.Connection.Base.MySQL is
... |
programs/oeis/211/A211164.asm | neoneye/loda | 22 | 84595 | <filename>programs/oeis/211/A211164.asm
; A211164: Number of compositions of n with at most one odd part.
; 1,1,1,3,2,8,4,20,8,48,16,112,32,256,64,576,128,1280,256,2816,512,6144,1024,13312,2048,28672,4096,61440,8192,131072,16384,278528,32768,589824,65536,1245184,131072,2621440,262144,5505024,524288,11534336,1048576,241... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.