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 |
|---|---|---|---|---|
programs/oeis/155/A155621.asm | neoneye/loda | 22 | 175174 | ; A155621: 10^n+4^n-1^n
; 1,13,115,1063,10255,101023,1004095,10016383,100065535,1000262143,10001048575,100004194303,1000016777215,10000067108863,100000268435455,1000001073741823,10000004294967295,100000017179869183
mov $1,4
pow $1,$0
mov $2,10
pow $2,$0
add $1,$2
mov $0,$1
sub $0,1
|
programs/oeis/176/A176640.asm | karttu/loda | 0 | 98749 | <filename>programs/oeis/176/A176640.asm
; A176640: Partial sums of A005985.
; 0,1,5,14,46,111,303,688,1712,3761,8881,19122,43698,92851,207539,436916,961204,2009781,4369077,9087670,19573430,40544951,86682295,178956984,380283576,782936761,1655351993,3400182458,7158278842
mov $2,$0
mov $3,$0
lpb $2,1
mov $0,$3
sub $2... |
Categories/Yoneda.agda | copumpkin/categories | 98 | 11815 | <reponame>copumpkin/categories
{-# OPTIONS --universe-polymorphism #-}
module Categories.Yoneda where
open import Level
open import Data.Product
open import Categories.Support.Equivalence
open import Categories.Support.EqReasoning
open import Categories.Category
import Categories.Functor as Cat
open import Categorie... |
compiler/core/antlr/ZserioParser.g4 | PeachOS/zserio | 0 | 6231 | parser grammar ZserioParser;
options
{
tokenVocab=ZserioLexer;
}
// PACKAGE (main rule)
packageDeclaration
: packageNameDefinition?
importDeclaration*
typeDeclaration*
EOF
;
packageNameDefinition
: PACKAGE qualifiedName SEMICOLON
;
importDeclaration
: IMPORT i... |
extensions/vp9/src/main/jni/libvpx_android_configs/x86/vpx_config.asm | noodle147/ExoPlayer | 3 | 93695 | ARCH_ARM equ 0
ARCH_MIPS equ 0
ARCH_X86 equ 1
ARCH_X86_64 equ 0
ARCH_PPC equ 0
HAVE_NEON equ 0
HAVE_NEON_ASM equ 0
HAVE_MIPS32 equ 0
HAVE_DSPR2 equ 0
HAVE_MSA equ 0
HAVE_MIPS64 equ 0
HAVE_MMX equ 1
HAVE_SSE equ 1
HAVE_SSE2 equ 0
HAVE_SSE3 equ 0
HAVE_SSSE3 equ 0
HAVE_SSE4_1 equ 0
HAVE_AVX equ 0
HAVE_AVX2 equ 0
HAVE_AVX5... |
test/annotation/test_annotation-write.adb | skill-lang/skillAdaTestSuite | 1 | 10979 | package body Test_Annotation.Write is
File_Name : constant String := "tmp/test-annotation-write.sf";
procedure Initialize (T : in out Test) is
begin
Set_Name (T, "Test_Annotation.Write");
Ahven.Framework.Add_Test_Routine (T, Read_Written'Access, "read written");
Ahven.Framework.Add_Test_Rou... |
oeis/202/A202198.asm | neoneye/loda-programs | 11 | 81525 | ; A202198: Number of (n+2) X 6 binary arrays avoiding patterns 001 and 101 in rows and columns.
; 756,2688,7560,18144,38808,76032,138996,240240,396396,628992,965328,1439424,2093040,2976768,4151196,5688144,7671972,10200960,13388760,17365920,22281480,28304640,35626500,44461872,55051164,67662336,82592928,100172160,1207631... |
fasmg/source/linux/x64/fasmg.asm | thaolt/c8basic | 4 | 171151 | <reponame>thaolt/c8basic
match ,{
include 'macro/struct.inc'
include '32on64.inc'
} match -,{
else
include 'selfhost.inc'
end match
_ equ }
format ELF64 executable 3
entry start
include '../../version.inc'
struct timeval
time_t dq ?
suseconds_t dq ?
ends
segment readable executable... |
TENTAR.asm | EduardaSRBastos/Assembly-2020 | 0 | 90980 | INICIO:
MOV ah, 1
INT 21h
CMP al, 13
JE SAIR
MOV ah, 0
SUB al, 48
mov cl, al
mov al, bl
mul dl
add al, dl
mov bl, al
jmp INICIO
SAIR:
CMP bl,10
JE IGUAL
JL MENOR
JG MAIOR
MENOR:
MOV ah, 9
LEA dx, MSG1
INT 21h
JMP CONTINUAR
IGUAL:
MOV ah, 9
LEA dx, MSG2
INT 21h
JMP CONTINUAR
MA... |
tests/tk-frame-frame_options_test_data-frame_options_tests.adb | thindil/tashy2 | 2 | 15692 | -- This package has been generated automatically by GNATtest.
-- You are allowed to add your code to the bodies of test routines.
-- Such changes will be kept during further regeneration of this file.
-- All code placed outside of test routine bodies will be lost. The
-- code intended to set up and tear down the t... |
src/sys/streams/util-streams-aes.adb | RREE/ada-util | 60 | 28380 | <filename>src/sys/streams/util-streams-aes.adb
-----------------------------------------------------------------------
-- util-streams-aes -- AES encoding and decoding streams
-- Copyright (C) 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you ma... |
source/network-polls.adb | reznikmm/network | 1 | 14396 | <gh_stars>1-10
-- SPDX-FileCopyrightText: 2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package body Network.Polls is
use type Interfaces.C.int;
use type Interfaces.Unsigned_32;
EPOLL_CLOEXEC : constant := 8#02000000#;
pragma War... |
src/fot/FOTC/Program/ABP/Lemma2ATP.agda | asr/fotc | 11 | 1293 | <reponame>asr/fotc<gh_stars>10-100
------------------------------------------------------------------------------
-- ABP Lemma 2
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe... |
oeis/127/A127806.asm | neoneye/loda-programs | 11 | 4800 | <filename>oeis/127/A127806.asm
; A127806: Row sums of number triangle A127805.
; Submitted by <NAME>(s4)
; 1,11,100,1011,10000,100100,1000000,10001011,100000000,1000010000,10000000000,100000100100,1000000000000,10000001000000,100000000000000,1000000010001011,10000000000000000,100000000100000000
mul $0,2
add $0,2
lpb $... |
sidtest/test.asm | tweakoz/zed64 | 4 | 90933 | <reponame>tweakoz/zed64<filename>sidtest/test.asm<gh_stars>1-10
# test.asm
$pc=0
start:
ld.0 r0
ld.0 r1
ld.0 r2
ld.0 r3
ld.0 r4
ld.0 r5
ld.0 r6
ld.i18 r7 7
ld.i18 r1 0x5
lp1:
ld.i18 r6 1
sub r1 r1 r6
call iter
jz r1 fini
... |
alloy4fun_models/trashltl/models/16/K3ZictQmYZuX79aB3.als | Kaixi26/org.alloytools.alloy | 0 | 2105 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idK3ZictQmYZuX79aB3_prop17 {
always (some f:Trash | after no Trash&f)
}
pred __repair { idK3ZictQmYZuX79aB3_prop17 }
check __repair { idK3ZictQmYZuX79aB3_prop17 <=> prop17o } |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_905.asm | ljhsiun2/medusa | 9 | 168724 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x2ddd, %rsi
inc %r8
movups (%rsi), %xmm1
vpextrq $1, %xmm1, %r13
cmp $62773, %rcx
lea addresses_D_ht+0x9403, %rbx
clflush (%rbx)
nop
nop
sub %r14, %r14
mov (%rbx), %r8w
nop
no... |
awa/plugins/awa-votes/src/awa-votes-modules.ads | twdroeger/ada-awa | 0 | 847 | -----------------------------------------------------------------------
-- awa-votes-modules -- Module votes
-- Copyright (C) 2013, 2014, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the Licen... |
week1/diff_ints.adb | adammw/rtp_labs | 0 | 17510 | <reponame>adammw/rtp_labs
with Ada.Text_Io, Ada.Integer_Text_IO;
use Ada.Text_Io, Ada.Integer_Text_IO;
procedure Diff_Ints is
A, B, C : Integer;
begin
Put("A=");
Get(A);
Put("B=");
Get(B);
Put("C=");
Get(C);
if A = B and B = C and C = A then
Put_Line("All the same");
elsif A = B or A = C or B = C... |
Data/Option/Equiv/Path.agda | Lolirofle/stuff-in-agda | 6 | 14716 | <filename>Data/Option/Equiv/Path.agda<gh_stars>1-10
{-# OPTIONS --cubical #-}
module Data.Option.Equiv.Path where
import Lvl
open import Data
open import Data.Option
open import Data.Option.Functions
open import Data.Option.Equiv
open import Functional
open import Structure.Function.Domain
open import Structure.... |
src/asf-components-widgets-factory.adb | Letractively/ada-asf | 0 | 18367 | -----------------------------------------------------------------------
-- widgets-factory -- Factory for widget Components
-- Copyright (C) 2013 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with ... |
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_152_2107.asm | ljhsiun2/medusa | 9 | 160810 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xbe6e, %rbp
nop
nop
nop
cmp $48949, %r13
movups (%rbp), %xmm3
vpextrq $0, %xmm3, %rax
nop
nop
nop
nop
nop
add $59636, %rsi
lea addresses_UC_ht+0xcfb6, %rsi
lea addresses_A_ht+... |
Task/Maximum-triangle-path-sum/AppleScript/maximum-triangle-path-sum.applescript | LaudateCorpus1/RosettaCodeData | 1 | 1875 | <reponame>LaudateCorpus1/RosettaCodeData
-- MAX PATH SUM ---------------------------------------------------------------
-- Working from the bottom of the triangle upwards,
-- summing each number with the larger of the two below
-- until the maximum emerges at the top.
-- maxPathSum :: [[Int]] -> Int
on maxPathSum(xs... |
nicolai/pseudotruncations/wconst-preparation.agda | nicolaikraus/HoTT-Agda | 1 | 5973 | {-# OPTIONS --without-K #-}
open import lib.Basics
open import lib.types.Paths
open import lib.types.Pi
open import lib.types.Unit
open import lib.types.Nat
open import lib.types.TLevel
open import lib.types.Pointed
open import lib.types.Sigma
open import lib.NType2
open import lib.types.PathSeq
open import nicolai.... |
libs/Libmy/ASM/src/asm_utoa.asm | DarkyZShadow/my_printf | 0 | 5150 | <reponame>DarkyZShadow/my_printf<filename>libs/Libmy/ASM/src/asm_utoa.asm<gh_stars>0
;
; char *asm_utoa(unsigned long nbr, char *buf, char base)
;
BITS 64
SECTION .text
GLOBAL asm_utoa
asm_utoa:
PUSH RBX
PUSH RCX
PUSH RDX
PUSH RDI
PUSH 0
MOV RCX, -1 ; I... |
src/pong_bot.adb | zenharris/ada-bbs | 2 | 22646 | <reponame>zenharris/ada-bbs<filename>src/pong_bot.adb<gh_stars>1-10
-- This was an example bot now converted to an IRC Client
-- Copyright (c) 2019 House Harris Software - <NAME>
with Ada.Containers.Vectors;
with Ada.Containers; use Ada.Containers;
With Irc.Commands; use Irc.Commands;
with Irc.Message; use Irc.Messa... |
BasicT/Syntax/Gentzen.agda | mietek/hilbert-gentzen | 29 | 3402 | <reponame>mietek/hilbert-gentzen
-- TODO
-- Gentzen-style formalisation of syntax.
-- Simple terms.
module BasicT.Syntax.Gentzen where
open import BasicT.Syntax.Common public
-- Derivations.
infix 3 _⊢_
data _⊢_ (Γ : Cx Ty) : Ty → Set where
var : ∀ {A} → A ∈ Γ → Γ ⊢ A
lam : ∀ {A B} → Γ , A ⊢ B → Γ ⊢ A ▻ ... |
bootloader/bit16/print_hex.asm | mstniy/cerius | 2 | 86809 | [bits 16]
; prints the value of DX as hex.
print_word:
pusha
;mov ah, 0x0e
;mov al, '0'
;int 0x10
;mov al, 'x'
;int 0x10
mov cx, dx
mov dl, dh
call print_byte
mov dl, cl
call print_byte
popa
ret
; Print the value of DL as hex.
print_byte:
pusha
mov bl, dl
sh... |
oeis/091/A091927.asm | neoneye/loda-programs | 11 | 6721 | ; A091927: Expansion of (1-6x)/(1-6x-5x^2).
; Submitted by <NAME>(s4)
; 1,0,5,30,205,1380,9305,62730,422905,2851080,19221005,129581430,873593605,5889468780,39704780705,267676028130,1804580072305,12165860574480,82018063808405,552937685722830,3727716433379005
mov $1,1
lpb $0
sub $0,1
mov $2,$3
mul $2,5
mul $3,6
... |
tools/scitools/conf/understand/ada/ada83/unchecked_deallocation.ads | brucegua/moocos | 1 | 4614 | <filename>tools/scitools/conf/understand/ada/ada83/unchecked_deallocation.ads
--******************************************************************************
--
-- procedure UNCHECKED_DEALLOCATION
--
--******************************************************************************
generic
type OBJECT is limited priv... |
code/main.asm | martendo7/cookie-shooter-gb | 3 | 171462 | INCLUDE "defines.inc"
SECTION "Initialization and Main Loop", ROM0
Initialize::
; Wait for VBlank to disable the LCD
.waitVBL
ldh a, [rLY]
cp a, SCRN_Y
jr c, .waitVBL
xor a, a
ldh [rLCDC], a
ld sp, wStackBottom
; Reset variables
ldh [hV... |
src/main/fragment/csg65ce02-common/vwum1=pbuz2_derefidx_vbuzz_rol_1.asm | jbrandwood/kickc | 2 | 14072 | lda ({z2}),z
asl
sta {m1}
lda #0
rol
sta {m1}+1
|
Definition/Typed/Consequences/Consistency.agda | loic-p/logrel-mltt | 0 | 3698 | <filename>Definition/Typed/Consequences/Consistency.agda
{-# OPTIONS --without-K --safe #-}
module Definition.Typed.Consequences.Consistency where
open import Definition.Untyped
open import Definition.Typed
open import Definition.Typed.Properties
open import Definition.Typed.EqRelInstance
open import Definition.Logic... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c37211a.ada | best08618/asylo | 7 | 28792 | -- C37211A.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... |
pwnlib/shellcraft/templates/arm/linux/getdents.asm | alexpark07/pwntools | 1 | 98423 | <gh_stars>1-10
<% from pwnlib.shellcraft import common, arm %>
<%page args="in_fd = None"/>
<%docstring>
``getdents`` - lists specific directory
Args:
in_fd (int/str): in file descriptor
</%docstring>
mov r0, #${in_fd}
mov r1, sp
mov r2, #255
svc SYS_getdents
|
.emacs.d/elpa/wisi-3.1.3/sal-gen_indefinite_doubly_linked_lists.adb | caqg/linux-home | 0 | 26924 | <reponame>caqg/linux-home
-- Abstract :
--
-- see spec
--
-- Copyright (C) 2018 - 2020 Free Software Foundation, Inc.
--
-- This library is free software; you can redistribute it and/or
-- modify it under terms of the GNU General Public License as
-- published by the Free Software Foundation; either version 3, or... |
src/commonAntlrTest/antlr/FreeForm.g4 | piacenti/dsl-maker | 0 | 5766 | grammar FreeForm;
main: NEW_LINE* (criteria)+ EOF;
criteria:criteriaKey NEW_LINE statement+ ;
group: andGroup| orGroup |value ;
type: CODES|OBJECTS|VERBALIZATIONS;
andGroup: openParen orGroup closeParen andValues? | value andValues;
orGroup: openParen andGroup closeParen orValues? | value orValues;
andValues: and an... |
tools/yasm/tests/nasm/multisect4.asm | fasttr-org/ftr | 0 | 240312 | [section .data align=4]
db 6
[section .text]
db 5
[section .data align=16]
db 7
|
assembly(ORANGE-4)/ORANGE-4.asm | gnknzm/islands | 0 | 166200 | <filename>assembly(ORANGE-4)/ORANGE-4.asm
org 0x00
cpi 0xE
jmpf 0x19
jmpf 0x80
ldi 0x1
abyz
scall 0x2
addyi 0x1
cpyi 0x6
jmpf 0x27
ldyi 0x1
ld
cpi 0x0
jmpf 0x05
abyz
addi 0x1
cpi 0x6
jmpf 0x1b
jmpf 0x80
abyz
scall 0x2
scall 0x7
scall 0x1
scall 0x7
scall 0x2
scall 0x7
scall 0x1
scall 0x7
ld
... |
src/gdnative-objects.adb | persan/gdnative_ada | 10 | 2551 |
with System.Address_To_Access_Conversions;
with Interfaces.C.Strings;
with Ada.Tags;
with Ada.Exceptions;
with GDNative.Thin;
with GDNative.Context;
with GDNative.Console;
with GDNative.Exceptions;
package body GDNative.Objects is
package S renames System;
package IC renames Interfaces.C;
package ICS ren... |
8085_programming/MBLE/1.asm | SayanGhoshBDA/code-backup | 16 | 100637 | <filename>8085_programming/MBLE/1.asm
; To directly load 39H in B and 42H in C
; LXI B, 3942H
; load 9D to location 0000H
; LXI H, 0001H
; MVI M, 9DH
; LXI H, 0001H
; MVI A, 9DH
; MOV M, A
HLT |
src/main/antlr/base_patterns.g4 | nedap/adl-antlr | 0 | 6344 | //
// General purpose patterns used in all openEHR parser and lexer tools
//
grammar base_patterns;
//
// -------------------------- Parse Rules --------------------------
//
rm_type_id : ALPHA_UC_ID ( '<' rm_type_id ( ',' rm_type_id )* '>' )? ;
rm_attribute_id : ALPHA_LC_ID ;
identifier : ALPHA_UC_ID | ALPH... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1783.asm | ljhsiun2/medusa | 9 | 166166 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r15
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x7137, %rdi
and %rsi, %rsi
movw $0x6162, (%rdi)
nop
nop
nop
nop
nop
and $20426, %r10
lea addresses_WT_ht+0x10007, %rsi
nop
nop
nop
nop
nop
sub $9768, %r13
movb (... |
src/messages.adb | thindil/steamsky | 80 | 23341 | -- Copyright 2016-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... |
core/src/main/antlr4/org/broadinstitute/dsde/rawls/expressions/parser/antlr/TerraExpression.g4 | broadinstitute/rawls | 15 | 1422 | /*
* This is a modified version of the official JSON grammar, supporting the proposed extensions. All
* other TerraExpression* files are generated by antlr from this one. Antlr supports both JS and Java
* as target languages.
*
* The rule `root` is needed to not allow expressions with unbalanced quotes. So somethi... |
programs/oeis/026/A026274.asm | jmorken/loda | 1 | 29294 | <filename>programs/oeis/026/A026274.asm
; A026274: Greatest k such that s(k) = n, where s = A026272.
; 3,5,8,11,13,16,18,21,24,26,29,32,34,37,39,42,45,47,50,52,55,58,60,63,66,68,71,73,76,79,81,84,87,89,92,94,97,100,102,105,107,110,113,115,118,121,123,126,128,131,134,136,139,141,144,147,149,152,155,157,160,162,165,168,1... |
.emacs.d/elpa/wisi-3.1.3/wisitoken_grammar_runtime.ads | caqg/linux-home | 0 | 27595 | -- Abstract :
--
-- Runtime utils for wisi_grammar.wy actions.
--
-- Copyright (C) 2018 - 2020 Free Software Foundation, Inc.
--
-- This library is free software; you can redistribute it and/or modify it
-- under terms of the GNU General Public License as published by the Free
-- Software Foundation; either ... |
libsrc/video/tms9918/stdio/generic_console/generic_console_cls.asm | Frodevan/z88dk | 640 | 27938 | <reponame>Frodevan/z88dk<filename>libsrc/video/tms9918/stdio/generic_console/generic_console_cls.asm
MODULE __tms9918_cls
SECTION code_clib
PUBLIC __tms9918_cls
EXTERN ansi_cls
EXTERN __tms9918_screen_mode
EXTERN __tms9918_pattern_name
EXTERN FILVRM
__tms9918_cls:
ld a,(... |
alloy4fun_models/trashltl/models/5/HicSaQfYa3Xa6xsyF.als | Kaixi26/org.alloytools.alloy | 0 | 2551 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idHicSaQfYa3Xa6xsyF_prop6 {
all f : File | f in Trash since f not in Trash
}
pred __repair { idHicSaQfYa3Xa6xsyF_prop6 }
check __repair { idHicSaQfYa3Xa6xsyF_prop6 <=> prop6o } |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization23_pkg.ads | best08618/asylo | 7 | 21491 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization23_pkg.ads
-- PR tree-optimization/71083
package Loop_Optimization23_Pkg is
type Nibble is mod 2**4;
type Int24 is mod 2**24;
type StructA is record
a : Nibble;
b : Int24;
end record;
pragma Pack(StructA);
type StructB is record... |
grammars/cs652/j/parser/J.g4 | Roger7410/Vtable | 0 | 5222 | grammar J;
@header {
package cs652.j.parser;
import cs652.j.semantics.*; // You will need these for stuff in "returns" clauses
import org.antlr.symtab.*;
}
file returns [GlobalScope scope] // this allows us to annotate trees with symtab info
: classDeclaration* main EOF
;
main returns [JMethod scope]
:... |
util/dummy/prcname.asm | olifink/smsqe | 0 | 6400 | <filename>util/dummy/prcname.asm<gh_stars>0
; Dummies for Pocedures name
section dummy
xdef prc_name
prc_name dc.w 10,'Procedures'
end
|
tools/scitools/conf/understand/ada/ada95/s-stalib.ads | brucegua/moocos | 1 | 16934 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
llvm-2.9/test/FrontendAda/var_size.adb | DependableSystemsLab/Trident | 5 | 6967 | -- RUN: %llvmgcc -S %s -I%p/Support
package body Var_Size is
function A (X : T) return String is
begin
return X.A;
end;
end;
|
Cubical/Relation/Nullary/Base.agda | dan-iel-lee/cubical | 0 | 10161 | <gh_stars>0
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Relation.Nullary.Base where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Function
open import Cubical.Functions.Fixpoint
open import Cubical.Data.Empty as ⊥
open import Cubical.HITs.PropositionalTruncation.Base
p... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_373.asm | ljhsiun2/medusa | 9 | 242141 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r15
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0xa035, %r12
nop
nop
nop
sub $27558, %r9
movups (%r12), %xmm0
vpextrq $1, %xmm0, %r8
nop
nop
nop
nop
nop
cmp %r15, %r15
lea addresses_normal_h... |
oeis/058/A058795.asm | neoneye/loda-programs | 11 | 169112 | ; A058795: Row 4 of A007754.
; 7,85,301,751,1555,2857,4825,7651,11551,16765,23557,32215,43051,56401,72625,92107,115255,142501,174301,211135,253507,301945,357001,419251,489295,567757,655285,752551,860251,979105,1109857,1253275,1410151,1581301,1767565,1969807,2188915,2425801,2681401,2956675,3252607,3570205,3910501,427455... |
Task/Define-a-primitive-data-type/Ada/define-a-primitive-data-type-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 28265 | type My_Type is range 1..10;
|
projects/batfish/src/batfish/grammar/flatjuniper/FlatJuniper_isis.g4 | luispedrosa/batfish | 0 | 1990 | parser grammar FlatJuniper_isis;
import FlatJuniper_common;
options {
tokenVocab = FlatJuniperLexer;
}
s_protocols_isis
:
ISIS s_null_filler
;
|
PRACT0/SO1HPUB/asm/ptrc2c.asm | so1h/SO1H | 0 | 104892 | <reponame>so1h/SO1H
bits 16
; glb intptr_t : int
; glb uintptr_t : unsigned
; glb intmax_t : int
; glb uintmax_t : unsigned
; glb int8_t : signed char
; glb int_least8_t : signed char
; glb int_fast8_t : signed char
; glb uint8_t : unsigned char
; glb uint_least8_t : unsigned char
; glb uint_fast8_t : unsigned char
; ... |
alloy4fun_models/trashltl/models/4/4shgL32jrPZqxggkS.als | Kaixi26/org.alloytools.alloy | 0 | 1326 | open main
pred id4shgL32jrPZqxggkS_prop5 {
eventually some f : Trash| File' = File - f and Trash' = Trash - f
}
pred __repair { id4shgL32jrPZqxggkS_prop5 }
check __repair { id4shgL32jrPZqxggkS_prop5 <=> prop5o } |
flame32-libs/unit-tests/test-cmp-1.asm | drako0812/flame32 | 2 | 243888 | <filename>flame32-libs/unit-tests/test-cmp-1.asm<gh_stars>1-10
#include "../../flame32.asm"
; Tests CMP
lod 1
ldl B, 2
cmp A, B
; O = NE | LT
|
_incObj/0C Flapping Door.asm | kodishmediacenter/msu-md-sonic | 9 | 89613 | ; ---------------------------------------------------------------------------
; Object 0C - flapping door (LZ)
; ---------------------------------------------------------------------------
FlapDoor:
moveq #0,d0
move.b obRoutine(a0),d0
move.w Flap_Index(pc,d0.w),d1
jmp Flap_Index(pc,d1.w)
; ====================... |
Scripts Pack Source Items/Scripts Pack/Core Components/Reset Keyboard Viewer Preferences.applescript | Phorofor/ScriptsPack.macOS | 1 | 1698 | <reponame>Phorofor/ScriptsPack.macOS<filename>Scripts Pack Source Items/Scripts Pack/Core Components/Reset Keyboard Viewer Preferences.applescript
# Scripts Pack - Tweak various preference variables in macOS
# <Phorofor, https://github.com/Phorofor/>
-- Resets keyboard viewer preferences for the current user account ... |
src/Dimension/PartialWeakening/Soundness.agda | andreasabel/cubical | 0 | 1852 | <filename>src/Dimension/PartialWeakening/Soundness.agda
module Dimension.PartialWeakening.Soundness where
open import Exception -- using (Except; left; right; _<$>_; _>>=_)
open import Injective
-- Semantics given by application to a name in Fin n
apply : ∀ {n m} (f : PWeak n m) (i : Fin n) → Except E (Fin ... |
test/LibSucceed/InstanceArguments/05-equality-std2.agda | hborum/agda | 3 | 15351 | {-# OPTIONS --universe-polymorphism #-}
-- {-# OPTIONS --verbose tc.rec:15 #-}
-- {-# OPTIONS --verbose tc.records.ifs:15 #-}
-- {-# OPTIONS --verbose tc.constr.findInScope:15 #-}
-- {-# OPTIONS --verbose tc.term.args.ifs:15 #-}
module InstanceArguments.05-equality-std2 where
open import Agda.Primitive
open import Re... |
programs/oeis/008/A008754.asm | neoneye/loda | 22 | 81338 | ; A008754: Expansion of (1+x^11)/((1-x)*(1-x^2)*(1-x^3)).
; 1,1,2,3,4,5,7,8,10,12,14,17,20,23,27,31,35,40,45,50,56,62,68,75,82,89,97,105,113,122,131,140,150,160,170,181,192,203,215,227,239,252,265,278,292,306,320,335,350,365,381,397,413,430,447,464,482,500,518,537,556,575,595,615,635,656,677,698,720,742,764,787,810,833... |
src/norx-compare_tags.adb | jhumphry/SPARK_NORX | 9 | 23029 | -- NORX.Compare_Tags
-- Compare two Tag_Type values using a constant-time approach. This is split out
-- into a separate child unit from NORX so that different compilation flags can
-- be used. It is advisable to prevent optimisation of this function or else
-- a clever compiler might use a short-circuit approach. Tha... |
stdlib-exts/Data/List/Exts.agda | WhatisRT/meta-cedille | 35 | 7059 | <reponame>WhatisRT/meta-cedille
module Data.List.Exts where
open import Class.Equality
open import Class.Monad
open import Class.Functor
open import Data.Bool hiding (_≟_)
open import Data.List
open import Data.Maybe using (Maybe; just; nothing)
open import Data.Maybe.Instance
open import Data.Nat using (ℕ; zero; suc;... |
asm/inc/macros.asm | pvmoore/dlang-common | 5 | 165789 | <filename>asm/inc/macros.asm<gh_stars>1-10
; MACRO OPERATORS:
; & Text substitution operator
; < > Literal text operator
; ! Literal character operator
; % Expression operator
; ;; Macro comment
MyPrologue macro procname, flags, argbytes, localbytes, reglist, userparms:vararg
;; align stack on 16 byte boundary
... |
Test-files/quicksort.asm | anchittandon/Implementation-of-a-5-stage-RISC-processor | 1 | 179587 | <reponame>anchittandon/Implementation-of-a-5-stage-RISC-processor
.main:
mov r0, 0
mov r1, 12 @ replace 12 with the number to be sorted
st r1, 0[r0]
mov r1, 7 @ replace 7 with the number to be sorted
st r1, 4[r0]
mov r1, 11 @ replace 11 with the number to be sorted
st r1, 8[r0]
mo... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-rpc.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 25999 | <filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-rpc.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/kart/mak.lzh/mak/maped3.asm | prismotizm/gigaleak | 0 | 19088 | Name: maped3.asm
Type: file
Size: 46302
Last-Modified: '1992-02-13T07:48:24Z'
SHA-1: E711F6B7A5B3C9083B37828E025254FBF1DF6600
Description: null
|
specs/ada/server/tkmrpc-contexts-cc.adb | DrenfongWong/tkm-rpc | 0 | 12153 | <filename>specs/ada/server/tkmrpc-contexts-cc.adb
package body Tkmrpc.Contexts.cc
is
pragma Warnings
(Off, "* already use-visible through previous use type clause");
use type Types.cc_id_type;
use type Types.certificate_type;
use type Types.certificate_type;
use type Types.ca_id_type;
use type T... |
test/succeed/Tactic.agda | larrytheliquid/agda | 0 | 12974 | <reponame>larrytheliquid/agda
open import Common.Prelude
open import Common.Reflect
open import Common.Equality
postulate
trustme : ∀ {a} {A : Set a} {x y : A} → x ≡ y
magic : Term → Term
magic _ = def (quote trustme) []
id : ∀ {a} {A : Set a} → A → A
id x = x
science : Term → Term
science _ = def (quote id) []
... |
Monitor/xmodem.asm | Martin-H1/6502 | 3 | 98493 | ;*********************************************************************
; 2005/09/04 RAC Synched with SBCOS 5/30/05 release
;*********************************************************************
; upload.asm (hooked into SbcOS at $fa00-feff)
; By <NAME> & <NAME> Aug 2002
;
; 21st century code for 20th century CPUs (... |
asm/_debug.ext.asm | RockmanEXEZone/MMBN45-English-Translation | 6 | 98885 | <reponame>RockmanEXEZone/MMBN45-English-Translation<filename>asm/_debug.ext.asm
.align 2
debug_expireMissionTimer:
ldr r0,[r4,0x4] // get mission timer
ldrb r1,[r4,0x1]
cmp r1,0x8 // ProtoMan
beq @@checkSelect
cmp r1,0x18 // ShadowMan
beq @@checkSelect
cmp r1,0x20 // NumberMan
beq @@checkSelect
cmp r1,0x28... |
src/test/ref/no-recursion-heavy.asm | jbrandwood/kickc | 2 | 84383 | // Commodore 64 PRG executable file
.file [name="no-recursion-heavy.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Code"]
.segment Basic
:BasicUpstart(main)
.label ba = 5
.label bb... |
TVSW/Model Verification/Esercitazioni/EuclideMCD.asm | samuelexferri/unibg-workspace | 0 | 177877 | asm EuclideMCD
//Algoritmo di Euclide per il calcolo del Massimo Comun Divisore (MCD)
//function MCD(a, b)
// while a != b
// if a > b
// a := a - b
// else
// b := b - a
// return a
//Questo modello ASM implementa l'algoritmo di Euclide nel seguente modo:
//- ogni step ... |
test/Compiler/simple/Issue561/Core.agda | xekoukou/agda-ocaml | 7 | 12127 | module Issue561.Core where
postulate
Char : Set
{-# BUILTIN CHAR Char #-}
open import Agda.Builtin.IO public
postulate
return : ∀ {a} {A : Set a} → A → IO A
{-# COMPILE GHC return = \_ _ -> return #-}
{-# COMPILE UHC return = \_ _ x -> UHC.Agda.Builtins.primReturn x #-}
{-# COMPILE JS return =
function(u0... |
ports/qemu-x86/Ia32/nlrsetjmp.nasm | joshloo/micropython | 0 | 94381 | <reponame>joshloo/micropython<gh_stars>0
;------------------------------------------------------------------------------
;
; Copyright (c) 2018 - 2020, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; nlrsetjmp.nasm
;
; Abstract:
;
;----------------------... |
XcodeWayExtensions/Script/XcodeWayScript.scpt | serhii-londar/XcodeWay | 1 | 846 | use scripting additions
use framework "Foundation"
property NSString : a reference to current application's NSString
-- Helper
on myRemoveLastPath(myPath)
set myString to NSString's stringWithString:myPath
set removedLastPathString to myString's stringByDeletingLastPathComponent
removedLastPathString as text
end myRe... |
Engine/Music/ZXNext/api.asm | drunkfly/gamemyx | 4 | 28888 | ;
; Copyright (c) 2021 DrunkFly Team
; Licensed under 3-clause BSD license
;
EXTERN _MYXP_CurrentUpperBank
EXTERN _MYXP_CurrentLowerBank
EXTERN _MYXP_SetUpperMemoryBank
EXTERN _MYXP_SetLowerMemoryBank
EXTERN ___sdcc_enter_ix
... |
data/declaration/DataDef.agda | msuperdock/agda-unused | 6 | 5235 | <reponame>msuperdock/agda-unused
module DataDef where
data ⊤
: Set
where
tt
: ⊤
data ⊤'
(x : ⊤)
: Set
where
tt
: ⊤' x
data D
{y : ⊤}
(y' : ⊤' y)
: Set
data D {z} _ where
postulate
d
: D {tt} tt
|
arch/lib/string/right_string.asm | Mosseridan/Compiler-Principles | 0 | 2137 | <gh_stars>0
/* right_string.asm
* Copy the right N chars in a string:
* R0 = dest <- right_string(dest, src, N))
*
* Programmer: <NAME>, 2010
*/
RIGHT_STRING:
MOV(R1, STARG(1));
PUSH(R1);
CALL(STRLEN);
POP(R1);
MOV(R3, STARG(2));
SUB(R0, R3);
MOV(R2, STARG(1));
MOV(R1, STARG(0));
PUSH(R3);
P... |
cond-chck-holds.agda | JimFixGroupResearch/imper-ial | 0 | 6678 |
open import level
open import bool
open import bool-thms
open import eq
open import eq-reasoning
open import sum
open import nat
data Lgc : Set where
ttrue : Lgc
ffalse : Lgc
aand : Lgc → Lgc → Lgc
oor : Lgc → Lgc → Lgc
nnot : Lgc → Lgc
check_ : Lgc → 𝔹
check ttrue = tt
check ffalse = ff
chec... |
libsrc/stdio/sos/getk.asm | meesokim/z88dk | 0 | 15305 | <gh_stars>0
;
; S-OS (The Sentinel) Japanese OS - Stdio
;
; getk() Read key status
;
; <NAME>, 2013
;
;
; $Id: getk.asm,v 1.2 2015/01/19 01:33:21 pauloscustodio Exp $
;
PUBLIC getk
.getk
call 1FD0h
ld l, a
ld h,0
ret
|
x16-racer.asm | palisv/x16-racer | 0 | 7402 | <filename>x16-racer.asm
;=================================================
;=================================================
;
; Headers
;
;-------------------------------------------------
.include "vera.inc"
.include "system.inc"
.include "math.inc"
;=================================================
; Macros
;
... |
test/data/input/div-to-shift-0.asm | CDPcode/optimips-prime | 0 | 12211 | <reponame>CDPcode/optimips-prime
div $a0, $a1, 2
div $a0, $a1, 4
div $a0, $a1, 8
div $a0, $a1, 16
div $a0, $a1, 32
div $a0, $a1, 64
div $a0, $a1, 128
div $a0, $a1, 256
div $a0, $a1, 512
div $a0, $a1, 1024
div $a0, $a1, 2048
div $a0, $a1, 4096 |
Transynther/x86/_processed/AVXALIGN/_st_/i7-8650U_0xd2_notsx.log_4_1272.asm | ljhsiun2/medusa | 9 | 175093 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x7541, %rax
nop
nop
nop
nop
nop
xor %r8, %r8
movl $0x61626364, (%rax)
nop
nop
nop
and $31046, %r12
lea addresses_WC_ht+0x1e3c1, %rsi
lea addresses_D_ht+0x4b81, %rdi
sub $51706,... |
Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_8_1465.asm | ljhsiun2/medusa | 9 | 245647 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x5be9, %r15
nop
and $52609, %r11
movb (%r15), %dl
nop
nop
nop
nop
nop
inc %rcx
lea addresses_WC_ht+0x499, %rsi
lea addresses_UC_ht+0x1aa19, %rdi
nop
xor $32304, %r14
mov $15, %rcx
rep ... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_26.asm | ljhsiun2/medusa | 9 | 15987 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x168d3, %r8
nop
nop
nop
nop
nop
cmp %rbx, %rbx
mov $0x6162636465666768, %r10
movq %r10, (%r8)
nop
nop
nop
cmp %r8, %r8
lea addresses_WT_ht+0x13e13, %rsi
lea addresses_WC_ht+0x6cd3, %rdi... |
oeis/080/A080323.asm | neoneye/loda-programs | 11 | 97602 | ; A080323: a(n) = mu(n)^n, where mu is the Moebius function (A008683).
; 1,1,-1,0,-1,1,-1,0,0,1,-1,0,-1,1,1,0,-1,0,-1,0,1,1,-1,0,0,1,0,0,-1,1,-1,0,1,1,1,0,-1,1,1,0,-1,1,-1,0,0,1,-1,0,0,0,1,0,-1,0,1,0,1,1,-1,0,-1,1,0,0,1,1,-1,0,1,1,-1,0,-1,1,0,0,1,1,-1,0,0,1,-1,0,1,1,1,0,-1,0,1,0,1,1,1,0,-1,0,0,0
mov $1,$0
add $0,1
seq... |
libsrc/_DEVELOPMENT/sound/bit/z80/asm_bit_fx/_bitfx_4.asm | meesokim/z88dk | 0 | 99246 | <gh_stars>0
SECTION code_sound_bit
PUBLIC _bitfx_4
INCLUDE "clib_target_cfg.asm"
_bitfx_4:
; Our old squelch...
ld b,0
zap1_1:
push bc
xor __sound_bit_toggle
INCLUDE "sound/bit/z80/output_bit_device_2.inc"
zap1_2:
nop
nop
djnz zap1_2
pop bc
djnz zap1_1
ret
|
libsrc/_DEVELOPMENT/math/float/math48/c/sccz80/cm48_sccz80_nearbyint.asm | meesokim/z88dk | 0 | 99900 |
; double __FASTCALL__ nearbyint(double x)
SECTION code_fp_math48
PUBLIC cm48_sccz80_nearbyint
EXTERN am48_nearbyint
defc cm48_sccz80_nearbyint = am48_nearbyint
|
programs/oeis/097/A097462.asm | neoneye/loda | 22 | 14101 | <gh_stars>10-100
; A097462: Multiplication table for numbers 0 through 10 read by rows.
; 0,0,0,0,0,0,0,0,0,0,0,0,1,2,3,4,5,6,7,8,9,10,0,2,4,6,8,10,12,14,16,18,20,0,3,6,9,12,15,18,21,24,27,30,0,4,8,12,16,20,24,28,32,36,40,0,5,10,15,20,25,30,35,40,45,50,0,6,12,18,24,30,36,42,48,54,60,0,7,14,21,28,35
mov $1,$0
mod $0,11... |
examples/outdated-and-incorrect/AIM6/Cat/Pullback.agda | shlevy/agda | 1,989 | 13246 | <reponame>shlevy/agda
module Pullback where
open import Logic.Equivalence
open import Logic.Relations
open import Logic.Base
open import Category
open import Unique
module Pull (ℂ : Cat) where
private open module CC = Category.Category ℂ
private open module U = Uniq ℂ
record isPull {A B C D A' : Obj}(f : A ─... |
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/g-rewdat.ads | orb-zhuchen/Orb | 0 | 23721 | ------------------------------------------------------------------------------
-- GNAT COMPILER COMPONENTS --
-- --
-- G N A T . R E W R I T E _ D A T A --
-- ... |
projects/batfish/src/main/antlr4/org/batfish/grammar/cisco_xr/CiscoXr_rpl.g4 | zabrewer/batfish | 1 | 7381 | parser grammar CiscoXr_routemap;
import CiscoXr_common;
options {
tokenVocab = CiscoXrLexer;
}
apply_rp_stanza
:
APPLY name = variable
(
PAREN_LEFT varlist = route_policy_params_list PAREN_RIGHT
)? NEWLINE
;
as_expr
:
DEC
| AUTO
| RP_VARIABLE
;
as_path_set_elem
:
IOS_REGEX AS_PATH_SET... |
programs/oeis/205/A205086.asm | neoneye/loda | 22 | 29205 | <filename>programs/oeis/205/A205086.asm
; A205086: a(n) = n 6's sandwiched between two 1's.
; 11,161,1661,16661,166661,1666661,16666661,166666661,1666666661,16666666661,166666666661,1666666666661,16666666666661,166666666666661,1666666666666661,16666666666666661,166666666666666661,1666666666666666661,1666666666666666666... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.