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 |
|---|---|---|---|---|
bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/a-crdlli.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 3327 | <filename>bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/a-crdlli.ads
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- ... |
programs/oeis/000/A000480.asm | jmorken/loda | 1 | 104037 | <gh_stars>1-10
; A000480: a(n) = floor(cos(n)).
; 1,0,-1,-1,-1,0,0,0,-1,-1,-1,0,0,0,0,-1,-1,-1,0,0,0,-1,-1,-1,0,0,0,-1,-1,-1,0,0,0,-1,-1,-1,-1,0,0,0,-1,-1,-1,0,0,0,-1,-1,-1,0,0,0,-1,-1,-1,0,0,0,0,-1,-1,-1,0,0,0,-1,-1,-1,0,0,0,-1,-1,-1,0,0,0,-1,-1,-1
mov $1,3
lpb $0
mov $2,$0
cal $2,330034 ; a(n) = sign(cos(n)).
... |
oeis/069/A069726.asm | neoneye/loda-programs | 11 | 174015 | <reponame>neoneye/loda-programs<filename>oeis/069/A069726.asm
; A069726: Number of rooted planar bi-Eulerian maps with 2n edges. Bi-Eulerian: all its vertices and faces are of even valency.
; Submitted by <NAME>
; 1,1,6,54,594,7371,99144,1412802,21025818,323686935,5120138790,82812679560,1364498150904,22839100002036,387... |
source/modules/basic/expressions/floatonly/int.asm | paulscottrobson/mega-basic | 3 | 8328 | ; *******************************************************************************************
; *******************************************************************************************
;
; Name : int.asm
; Purpose : int( unary function
; Date : 22nd August 2019
; Review : 1st September 2019
; Author : <NAM... |
examples/errors.asm | NibNerd/asm85 | 3 | 98467 | <filename>examples/errors.asm
sym1 equ 55
sym2 equ 55h
sym3 equ 1234h
num4 equ 0110b ; Binary constant
bah equ 77h
dater: dw 1234h,5678h
modater:db 12h , 34hi ,56h,78h
str: DB "LILY",00h
str2: DB "Katie" , 80
str3: db "Tom","Rox"
bad: db "where is the end
hexy: db "cobb\xbe\xef"
quote: db "\"air\""
quote2:... |
Ada/Benchmark/src/aux_image.adb | kkirstein/proglang-playground | 0 | 6609 | <filename>Ada/Benchmark/src/aux_image.adb
with Ada.Numerics.Big_Numbers.Big_Integers;
use Ada.Numerics.Big_Numbers.Big_Integers;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Perfect_Number; use Perfect_Number;
with Primes; use Primes;
package body Aux_Image is
function Generic_Image (X : T) return ... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_2903.asm | ljhsiun2/medusa | 9 | 9326 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x5830, %rsi
lea addresses_D_ht+0x1e270, %rdi
clflush (%rsi)
nop
nop
sub %r15, %r15
mov $90, %rcx
rep movsq
nop
and %rbp, %rbp
lea addresses_UC_ht+0x169d0, %rsi
lea addresses_UC_ht+0x255... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1265.asm | ljhsiun2/medusa | 9 | 165881 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r14
push %r8
push %rbp
push %rbx
push %rdx
// Store
lea addresses_PSE+0x1a09e, %r10
nop
nop
nop
nop
nop
xor %r12, %r12
movl $0x51525354, (%r10)
nop
nop
nop
dec %r12
// Faulty Load
lea addresses_A+0x173... |
msp430x2/mspgd-gpio.ads | ekoeppen/MSP430_Generic_Ada_Drivers | 0 | 1239 | with MSPGD;
package MSPGD.GPIO is
pragma Preelaborate;
type Alt_Func_Type is (IO, Primary, Secondary, Device_Specific, Analog, Comparator);
type Direction_Type is (Input, Output);
type Resistor_Type is (None, Up, Down);
subtype Pin_Type is Integer range 0 .. 7;
subtype Port_Type is Unsigned_8 range... |
examples/simple-lib/Lib/Monad.agda | cruhland/agda | 1,989 | 9657 |
module Lib.Monad where
open import Lib.Nat
open import Lib.List
open import Lib.IO hiding (IO; mapM)
open import Lib.Maybe
open import Lib.Prelude
infixr 40 _>>=_ _>>_
infixl 90 _<*>_ _<$>_
-- Wrapper type, used to ensure that ElM is constructor-headed.
record IO (A : Set) : Set where
constructor io
field unIO... |
libsrc/_DEVELOPMENT/arch/zx/display/c/sdcc_iy/zx_aaddr2py.asm | teknoplop/z88dk | 0 | 103187 | <filename>libsrc/_DEVELOPMENT/arch/zx/display/c/sdcc_iy/zx_aaddr2py.asm
; uint zx_aaddr2py(void *attraddr)
SECTION code_clib
SECTION code_arch
PUBLIC _zx_aaddr2py
EXTERN asm_zx_aaddr2py
_zx_aaddr2py:
pop af
pop hl
push hl
push af
jp asm_zx_aaddr2py
|
src/features/misc macros.asm | FranchuFranchu/fran-os | 1 | 244959 | <gh_stars>1-10
%macro DEBUG_PRINT 1
mov esi, %%string
call kernel_terminal_write_string
section .data
%%string: db %1, 0
section .text
%endmacro
%macro FATAL_ERROR 1
mov dl, VGA_COLOR_WHITE
mov dH, VGA_COLOR_RED
call kernel_terminal_set_color
DEBUG_PRINT %1
call kernel_halt
%endmacro |
examples/textionum.adb | ytomino/drake | 33 | 18018 | with Ada.Text_IO;
with Ada.Float_Text_IO;
procedure textionum is
type M is mod 100;
type D1 is delta 0.1 digits 3;
package D1IO is new Ada.Text_IO.Decimal_IO (D1);
type D2 is delta 10.0 digits 3;
package D2IO is new Ada.Text_IO.Decimal_IO (D2);
S7 : String (1 .. 7);
S : String (1 .. 12);
begin
D1IO.Put (S7, 10.... |
src/room.asm | hundredrabbits/Donsol | 113 | 179492 |
;; room
enter@room: ;
JSR pullCard@deck ; pull card1
LDY hand@deck
TYA
STA card1@room
JSR pullCard@deck ; pull card2
LDY hand@deck
TYA
STA card2@room
JSR pullCard@deck ; pull card3
LDY hand@deck
TYA
STA card3@room
JSR pullCard@deck ... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/vect18.adb | best08618/asylo | 7 | 15887 | -- { dg-do compile { target i?86-*-* x86_64-*-* } }
-- { dg-options "-O3 -msse2 -fdump-tree-vect-details" }
package body Vect18 is
procedure Comp (X, Y : Sarray; R : in out Sarray) is
Tmp : Long_Float := R(4);
begin
for I in 1 .. 3 loop
R(I+1) := R(I) + X(I) + Y(I);
end loop;
R(... |
Groups/FinitePermutations.agda | Smaug123/agdaproofs | 4 | 7438 | <filename>Groups/FinitePermutations.agda
{-# OPTIONS --safe --warning=error --without-K #-}
open import LogicalFormulae
open import Numbers.Naturals.Semiring -- for length
open import Lists.Lists
open import Functions.Definition
--open import Groups.Actions
module Groups.FinitePermutations where
allInsertions : {a :... |
LabWork_02.asm | Hanzallah/MIPS-Sorting-Statistics | 0 | 94681 | ##################################################################
# The program performs insertion sort and statistical operations.
# Only $s registers have been used.
##################################################################
#######################
# Text Segment
#######################
.text
.glob... |
Transynther/x86/_processed/AVXALIGN/_un_/i9-9900K_12_0xa0.log_1_463.asm | ljhsiun2/medusa | 9 | 244718 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %r9
push %rax
push %rbp
push %rcx
lea addresses_WT_ht+0x52cc, %rcx
nop
nop
nop
cmp %r9, %r9
movups (%rcx), %xmm0
vpextrq $0, %xmm0, %r12
nop
nop
nop
and $16032, %rcx
lea addresses_UC_ht+0xb3ec, %r11
nop
nop
nop
and... |
chat_procedures.ads | cborao/Ada-P4-chat | 0 | 29293 |
--PRÁCTICA 4: <NAME> (Chat_Procedures.ads)
with Ada.Text_IO;
with Hash_Maps_G;
with Ada.Calendar;
with Ordered_Maps_G;
with Lower_Layer_UDP;
with Ada.Command_Line;
with Ada.Strings.Unbounded;
package Chat_Procedures is
package ATI renames Ada.Text_IO;
package LLU renames Lower_Layer_UDP;
package ACL re... |
test/Interactive/Load.agda | cruhland/agda | 1,989 | 13711 | <reponame>cruhland/agda<filename>test/Interactive/Load.agda
module Load where
data Bool : Set where
tt : Bool
ff : Bool
|
TankBot_Code_Dev/TankBotTest/asm/src/demo_service.asm | CmdrZin/chips_avr_examples | 5 | 89949 | <reponame>CmdrZin/chips_avr_examples
/*
* Tank Bot Demo Code
*
* org: 11/13/2014
* auth: Nels "Chip" Pearson
*
* Target: Tank Bot Demo Board, 20MHz, ATmega164P. Tank Bot
*
* Dependentcies
* pwm_dc_motor_lib
* sys_timers
* range_ir_service
* range_sonar_service
*/
.equ DEMO_DELAY_COUNT = 1 ; 10mse... |
courses/spark_for_ada_programmers/labs/source/160_interfacing/counter.ads | AdaCore/training_material | 15 | 20160 | <reponame>AdaCore/training_material
with system.Storage_Elements;
package Counter
with SPARK_Mode => On
-- Small external state tutorial exercise
--
-- This package uses an external counter which is incremented
-- by one every time:
-- A. its clock ticks,
-- B. it is read.
--
-- It has one query procedure Bump_And_M... |
lexparse/LXScript.g4 | frenchie16/lxscript | 2 | 1668 | <reponame>frenchie16/lxscript
grammar LXScript;
// Lexer
// Keywords and special characters
LBRACE : '{';
RBRACE : '}';
LBRACKET : '[';
RBRACKET : ']';
GO : 'go';
LOAD : 'load';
OUT : 'out';
FULL : 'full';
AT : '@';
EQUALS : '=';
// Sigils for different types of IDs
BANG : '!'; // S... |
projects/batfish/src/main/antlr4/org/batfish/grammar/arista/Arista_common.g4 | yushihui/batfish | 1 | 800 | parser grammar Arista_common;
options {
tokenVocab = AristaLexer;
}
interface_address
:
ip = IP_ADDRESS subnet = IP_ADDRESS
| prefix = IP_PREFIX
;
ospf_area
:
id_ip = IP_ADDRESS
| id = DEC
;
word
:
WORD
; |
src/prothand.asm | DosWorld/zrdx | 12 | 179708 | ; This file is part of the ZRDX 0.50 project
; (C) 1998, <NAME>
;Protected mode handlers for DPMI host
;handler for:
;hardware interrupts from PM PMHIntHand
;hardware interrupts from RM RMHIntHand
;default software interrupts from PM PMSDef... |
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0xca_notsx.log_21829_1600.asm | ljhsiun2/medusa | 9 | 2921 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x9585, %rsi
lea addresses_normal_ht+0x1cc6, %rdi
nop
nop
nop
dec %r15
mov $13, %rcx
rep movsq
nop
nop
nop
dec %r13
lea addresses_normal_ht+0xb4c6, %r... |
third_party/libvpx/source/libvpx/vp8/encoder/x86/quantize_sse2.asm | roisagiv/webrtc-ios | 1 | 9192 | <reponame>roisagiv/webrtc-ios
;
; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license and patent
; grant that can be found in the LICENSE file in the root of the source
; tree. All contributing project authors may be found in the AUTHORS
;... |
openapi-client/ada/src/model/-models.ads | interserver/mailbaby-api-samples | 0 | 14446 | <gh_stars>0
-- Mail Baby API
-- This is an API defintion for accesssing the Mail.Baby mail service.
--
-- The version of the OpenAPI document: 1.0.0
-- Contact: <EMAIL>
--
-- NOTE: This package is auto generated by OpenAPI-Generator 6.0.0-SNAPSHOT.
-- https://openapi-generator.tech
-- Do not edit the class manua... |
oeis/305/A305163.asm | neoneye/loda-programs | 11 | 98105 | ; A305163: a(n) = 24*2^n - 18.
; 6,30,78,174,366,750,1518,3054,6126,12270,24558,49134,98286,196590,393198,786414,1572846,3145710,6291438,12582894,25165806,50331630,100663278,201326574,402653166,805306350,1610612718,3221225454,6442450926,12884901870,25769803758,51539607534,103079215086,206158430190,412316860398,82463372... |
FormalAnalyzer/models/apps/StatusThing.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 751 | module app_StatusThing
open IoTBottomUp as base
open cap_runIn
open cap_now
open cap_switch
open cap_temperatureMeasurement
open cap_thermostat
one sig app_StatusThing extends IoTApp {
switches : set cap_switch,
temperatures : some cap_temperatureMeasurement,
thermostats : some cap_thermostat,
} {
... |
Transynther/x86/_processed/NONE/_zr_xt_/i3-7100_9_0x84_notsx.log_21829_281.asm | ljhsiun2/medusa | 9 | 105167 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x26a9, %rax
cmp %rdx, %rdx
and $0xffffffffffffffc0, %rax
movntdqa (%rax), %xmm1
vpextrq $1, %xmm1, %r12
nop
nop
nop
nop
cmp %r15, %r15
lea addresses_WT_ht+0x1ecf9, ... |
profiles/index-uses-slice-not-map-add-near-count-func/2020-01-14_12-31-03/cpu.asm | erichgess/wordladder | 0 | 21708 | <filename>profiles/index-uses-slice-not-map-add-near-count-func/2020-01-14_12-31-03/cpu.asm
Total: 7.07s
ROUTINE ======================== main.(*Graph).buildAdjList
640ms 2.60s (flat, cum) 36.78% of Total
. . 10ca200: MOVQ GS:0x30, CX ;graph.go:101
. ... |
Compiler/src/main/java/com/allogica/allogen/idl/grammar/IDL.g4 | Allogica/Allogen | 3 | 2351 | <reponame>Allogica/Allogen
/*
* Copyright (c) 2017, Allogica
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright noti... |
Emulator/test.asm | paulscottrobson/elf-replica | 0 | 243240 | <reponame>paulscottrobson/elf-replica
cpu 1802
r0 = 0
r1 = 1
r2 = 2
r3 = 3
r4 = 4
r5 = 5
ghi r0
phi r1
phi r2
plo r3
plo r4
ldi Main & 255
plo r3
ldi Stack & 255
plo r2
ldi Interrupt & 255
plo r1
sep r3
Return:
ldxa
ret
Interrupt:
dec r2
sav
dec r2
str r2
nop
nop
nop
ldi 0... |
tests/applescript/test.applescript | shawnrice/alfred-bundler | 9 | 2428 | on _home()
return POSIX path of (path to home folder as text)
end _home
on _bundler()
--One line version of loading the Alfred Bundler into a workflow script
set bundler to (load script (my _pwd()) & "alfred.bundler.scpt")'s load_bundler()
--Two line version (for clarity's sake)
--set bundlet to load script (my _... |
src/x86/refmvs.asm | feiwei9696/dav1d | 220 | 87258 | <reponame>feiwei9696/dav1d<gh_stars>100-1000
; Copyright © 2021, VideoLAN and dav1d authors
; Copyright © 2021, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributi... |
smsq/q40/preloader.asm | olifink/smsqe | 0 | 25822 | ; SMSQ Q40 Preloader
section preloader
include 'dev8_keys_q40'
include 'dev8_keys_q40_multiIO'
load_base equ $30000
dc.l pl_end-pl_base
pl_base
bra.s pl_start
dc.w 0
dc.l pl_start-pl_base
pl_start
lea load_base,a0 ; set load base and sp
move.l a0,sp
clr.b q40_ebr ; enable extension bus
move.b #co... |
test/Fail/Issue3590-2.agda | cruhland/agda | 1,989 | 2009 | <reponame>cruhland/agda
-- The debug output should include the text "Termination checking
-- mutual block MutId 0" once, not three times.
{-# OPTIONS -vterm.mutual.id:40 #-}
open import Agda.Builtin.Nat
record R : Set₁ where
field
A : Set
f0 : Nat → Nat
f0 zero = zero
f0 (suc n) = f0 n
f1 : Nat → ... |
lib/avx512/mb_mgr_snow3g_uia2_submit_flush_vaes_avx512.asm | jkivilin/intel-ipsec-mb | 1 | 98550 | <reponame>jkivilin/intel-ipsec-mb<filename>lib/avx512/mb_mgr_snow3g_uia2_submit_flush_vaes_avx512.asm
;;
;; Copyright (c) 2021-2022, Intel Corporation
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redis... |
programs/oeis/016/A016799.asm | neoneye/loda | 22 | 172151 | ; A016799: (3n+2)^11.
; 2048,48828125,8589934592,285311670611,4049565169664,34271896307633,204800000000000,952809757913927,3670344486987776,12200509765705829,36028797018963968,96549157373046875,238572050223552512,550329031716248441,1196683881290399744,2472159215084012303,4882812500000000000,9269035929372191597,16985107... |
Utils.agda | bens/hwlc | 0 | 12263 | module Utils where
open import Data.Fin using (Fin)
import Data.Fin as F
open import Data.Nat
data Fromℕ (n : ℕ) : ℕ → Set where
yes : (m : Fin n) → Fromℕ n (F.toℕ m)
no : (m : ℕ) → Fromℕ n (n + m)
fromℕ : ∀ n m → Fromℕ n m
fromℕ zero m = no m
fromℕ (suc n) zero = yes F.zero
fromℕ (suc n) (suc m) with ... |
arch/z80/src/ez80/ez80f92_handlers.asm | 19cb0475536a9e7d/nuttx | 0 | 24334 | <gh_stars>0
;**************************************************************************
; arch/z80/src/ez80/ez80f91_handlers.asm
;
; Licensed to the Apache Software Foundation (ASF) under one or more
; contributor license agreements. See the NOTICE file distributed with
; this work for additional information regarding... |
test/cases/clang-hellow.asm | joewalnes/gcc-explorer | 4 | 95156 | <gh_stars>1-10
.file "-"
.file 1 "/home/mgodbold/dev/gcc-explorer/-"
.file 2 "/home/mgodbold/dev/gcc-explorer/<stdin>"
.section .debug_info,"",@progbits
.Lsection_info:
.section .debug_abbrev,"",@progbits
.Lsection_abbrev:
.section .debug_aranges,"",@progbits
.section .debug_macinfo,"",@progbits
.section .debug... |
oeis/349/A349969.asm | neoneye/loda-programs | 11 | 18278 | <filename>oeis/349/A349969.asm
; A349969: a(n) = Sum_{k=0..n} (k*n)^(n-k).
; Submitted by <NAME>
; 1,1,3,16,141,1871,34951,873174,27951929,1107415549,52891809491,2987861887924,196828568831365,14950745148070499,1296606974501951743,127238563043551898986,14012626653816435643633,1719136634276882827095009,233448782800118609... |
tools/documentation_generator/documentation_generator.ads | svn2github/matreshka | 24 | 29836 |
package Documentation_Generator is
pragma Pure;
end Documentation_Generator;
|
2.0/cpm20_code/os3bdos.asm | officialrafsan/CP-M | 0 | 247226 | <gh_stars>0
title 'Bdos Interface, Bdos, Version 2.0 Aug, 1979'
;*****************************************************************
;*****************************************************************
;** **
;** B a s i c D i s k O p e r a t i n g S y s... |
src/generated/tileset_h.ads | csb6/libtcod-ada | 0 | 14365 | pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with System;
limited with color_h;
with error_h;
with Interfaces.C.Strings;
package tileset_h is
-- BSD 3-Clause License
-- *
-- * Copyright © 2008-2021, Jice and the libtcod contributors.
-- * All rights reserved.
-- *
-- *... |
examples/DTP08/conor/SomeBasicStuff.agda | shlevy/agda | 1,989 | 15925 | <reponame>shlevy/agda
-- Some basic stuff for Conor's talk.
module SomeBasicStuff where
infixr 40 _::_ _↦_∣_
infix 30 _∈_ _==_
infixr 10 _,_
data _==_ {A : Set}(x : A) : A -> Set where
refl : x == x
data Σ (A : Set)(B : A -> Set) : Set where
_,_ : (x : A) -> B x -> Σ A B
_×_ : Set -> Set -> Set
A × B = Σ A \_ ... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_55_868.asm | ljhsiun2/medusa | 9 | 89534 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r8
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x152c6, %rsi
nop
nop
nop
nop
and %rbx, %rbx
mov $0x6162636465666768, %rax
movq %rax, %xmm5
vmovups %ymm5, (%rsi)
nop
cmp $61023, %rbp
lea addresses_A_... |
src/test/resources/data/generationtests/sjasmplus-test2-expected.asm | cpcitor/mdlz80optimizer | 36 | 243162 | <filename>src/test/resources/data/generationtests/sjasmplus-test2-expected.asm
; Test case: evaluation of "$" inside macros and eager variables
org #2000
db 8192
db 8193
db $
db 1
db 2
dw #ffff
org #4000
loop:
jr loop
|
programs/oeis/004/A004327.asm | neoneye/loda | 22 | 163165 | ; A004327: Binomial coefficient C(3n,n-9).
; 1,30,528,7140,82251,850668,8145060,73629072,636763050,5317936260,43183019880,342700125300,2668424446233,20448884000160,154603005527328,1155454041309504,8550047575185300,62724534168736440
mov $1,$0
add $0,9
mul $0,3
bin $0,$1
|
tests/gl/gl_test-opengl3.adb | Roldak/OpenGLAda | 0 | 14470 | -- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with Ada.Text_IO;
with GL.Attributes;
with GL.Buffers;
with GL.Files;
with GL.Objects.Buffers;
with GL.Objects.Shaders;
with GL.Objects.Programs;
with GL.Objects.Vertex_Arrays;
with GL.Types.Colors;
with GL... |
Transynther/x86/_processed/NC/_st_zr_sm_/i3-7100_9_0xca_notsx.log_2158_1073.asm | ljhsiun2/medusa | 9 | 101731 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0xb5b, %rdi
cmp $28522, %r11
mov $0x6162636465666768, %rdx
movq %rdx, (%rdi)
nop
nop
xor $58291, %r12
lea addresses_A_ht+0x1d59b, %r12
nop
inc %rbx
vmovups (%r12), %ymm3
vextra... |
NovaLang.g4 | rafapauwels/novalang | 0 | 5492 | <reponame>rafapauwels/novalang<filename>NovaLang.g4
grammar NovaLang;
@header{
import java.util.ArrayList;
import java.util.Stack;
import com.google.googlejavaformat.java.FormatterException;
import com.pauwels.nova.program.NovaProgram;
import com.pauwels.nova.exception.*;
import com.pauwels.nova.commands.*;
import com... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/unchecked_union1.adb | best08618/asylo | 7 | 10381 | -- { dg-do run }
procedure Unchecked_Union1 is
type Bit is (Zero, One);
type U (X : Bit := Zero) is record
case X is
when Zero => I: Integer;
when One => F : Float;
end case;
end record;
for U use record
I at 0 range 0 .. 31;
F at 0 range 0 .. 31;
end record;
pragma Unchecke... |
models/hol/sygus/let_benchmarks/array_sum_4_5.als | johnwickerson/alloystar | 2 | 1838 | <reponame>johnwickerson/alloystar
module array_sum_4_5
open array_sum[spec]
/**
* https://github.com/rishabhs/sygus-comp14/blob/master/benchmarks/let-benchmarks/array_sum_4_5.sl
*/
one sig X1, X2, X3, X4 extends IntVar {}
one sig I0, I5 extends IntLit {}
fact {
IntLit<:val = I0->0 + I5->5 //+ I1->1 + I2->2 + I3-... |
programs/oeis/337/A337934.asm | neoneye/loda | 22 | 83163 | <reponame>neoneye/loda
; A337934: Sums of two distinct abundant numbers.
; 30,32,36,38,42,44,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,118,120,122,124,126,128,130,132,134,136,138,140,142,144,146,148,150,152,154,156,158,160
sub $2,$0
add $0,3
lpb $... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_8_1497.asm | ljhsiun2/medusa | 9 | 19697 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
lea addresses_D_ht+0xa548, %rcx
nop
nop
nop
nop
nop
add %r14, %r14
movb $0x61, (%rcx)
nop
add %rdi, %rdi
lea addresses_WT_ht+0x19230, %rcx
nop
nop
nop
nop
nop
and %rdx, %rdx
mov $0x6162636465666768, %r... |
oeis/059/A059599.asm | neoneye/loda-programs | 11 | 165252 | ; A059599: Expansion of (3+x)/(1-x)^6.
; Submitted by <NAME>(s2)
; 3,19,69,189,434,882,1638,2838,4653,7293,11011,16107,22932,31892,43452,58140,76551,99351,127281,161161,201894,250470,307970,375570,454545,546273,652239,774039,913384,1072104,1252152,1455608,1684683,1941723
add $0,4
mov $1,$0
mul $0,4
sub $0,1
bin $1,4
m... |
automator/open-vscode.applescript | maxrothman/config | 0 | 1731 | on run {input, parameters}
set appPath to path to application "Visual Studio Code"
tell application "Finder"
set dir_path to the target of the front window
open dir_path using appPath
end tell
end run |
oeis/086/A086024.asm | neoneye/loda-programs | 11 | 173492 | ; A086024: a(n) = Sum_{i=1..n} C(i+3,4)^3.
; Submitted by <NAME>
; 1,126,3501,46376,389376,2389752,11650752,47587752,168875127,534401002,1537404003,4080706128,10109274128,23590546128,52243162128,110473767504,224205418629,438589465254,830009446129,1524339072504,2724140666880,4748425291880,8089787666880,13495231541880,22... |
data/mapObjects/SilphCo9F.asm | AmateurPanda92/pokemon-rby-dx | 9 | 98236 | SilphCo9F_Object:
db $2e ; border block
db 5 ; warps
warp 14, 0, 0, SILPH_CO_10F
warp 16, 0, 0, SILPH_CO_8F
warp 18, 0, 0, SILPH_CO_ELEVATOR
warp 9, 3, 7, SILPH_CO_3F
warp 17, 15, 4, SILPH_CO_5F
db 0 ; signs
db 4 ; objects
object SPRITE_NURSE, 3, 14, STAY, DOWN, 1 ; person
object SPRITE_ROCKET, 2, 4, STAY... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_2674.asm | ljhsiun2/medusa | 9 | 178881 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x8ae, %r10
add $33397, %r9
mov $0x6162636465666768, %rbp
movq %rbp, (%r10)
nop
nop
inc %rdx
lea addresses_normal_ht+0x14b2e, %rbx
nop
nop
nop
nop
inc %... |
stm32f4/stm32f411xx/svd/stm32_svd-dma.ads | ekoeppen/STM32_Generic_Ada_Drivers | 1 | 6803 | -- This spec has been automatically generated from STM32F411xx.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package STM32_SVD.DMA is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype LISR_FEIF0_Field is STM32_SVD.... |
TraSH/Shell.g4 | vi-v/TraSH | 2 | 240 | /* MIT License - Copyright (c) <NAME>
* This file is subject to the terms and conditions defined in
* LICENSE, which is part of this source code package
*/
grammar Shell;
shellCommand
: pipeList
| pipeList redirectionList
;
redirectionList
: redirection
| redirectionList redirection
;
redirection
: GREAT ... |
alloy4fun_models/trashltl/models/16/HfDiHwqbDvtMw6vHZ.als | Kaixi26/org.alloytools.alloy | 0 | 2489 | <filename>alloy4fun_models/trashltl/models/16/HfDiHwqbDvtMw6vHZ.als
open main
pred idHfDiHwqbDvtMw6vHZ_prop17 {
all f: File | always (File' = File - f since f in Trash)
}
pred __repair { idHfDiHwqbDvtMw6vHZ_prop17 }
check __repair { idHfDiHwqbDvtMw6vHZ_prop17 <=> prop17o } |
test/asset/agda-stdlib-1.0/Data/List/Relation/Binary/Equality/Setoid.agda | omega12345/agda-mode | 0 | 15730 | <reponame>omega12345/agda-mode
------------------------------------------------------------------------
-- The Agda standard library
--
-- Equality over lists parameterised by some setoid
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Relation.B... |
libsrc/strings/strnicmp_callee.asm | dex4er/deb-z88dk | 1 | 245748 | ; int __CALLEE__ strnicmp_callee(char *s1, char *s2, uint n)
; caseless compare
; 12.2006 aralbrec
XLIB strnicmp_callee
XDEF ASMDISP_STRNICMP_CALLEE
.strnicmp_callee
pop hl
pop bc
pop de
ex (sp),hl
; enter : bc = uint n
; de = char *s2
; hl = char *s1
; exit : if s1==s2 :... |
org.alloytools.alloy.diff/misc/inheritance/sub2v2.als | jringert/alloy-diff | 1 | 1053 | sig A {
a : some A
}
sig B in A {
b : some A,
c : some A
}
sig D in A {
d : some B
}
run {}
|
ffmpeg-2.3.6/ffmpeg-2.3.6/libavcodec/x86/bswapdsp.asm | d2262272d/ffmpeg | 16 | 167351 | <filename>ffmpeg-2.3.6/ffmpeg-2.3.6/libavcodec/x86/bswapdsp.asm
;******************************************************************************
;* optimized bswap buffer functions
;* Copyright (c) 2008 <NAME>
;* Copyright (c) 2003-2013 <NAME>
;* Copyright (c) 2013 <NAME>
;*
;* This file is part of FFmpeg.
;*
;* FFmpeg ... |
Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_67_734.asm | ljhsiun2/medusa | 9 | 9539 | <filename>Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_67_734.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1215, %rcx
nop
nop
nop
sub $12786, %r11
movb $0x61, (%rcx)
nop
nop
nop
nop
nop
sub ... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c91006a.ada | best08618/asylo | 7 | 26566 | -- C91006A.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... |
Definition/Typed/Consequences/Substitution.agda | Vtec234/logrel-mltt | 0 | 13169 | {-# OPTIONS --without-K --safe #-}
module Definition.Typed.Consequences.Substitution where
open import Definition.Untyped
open import Definition.Untyped.Properties
open import Definition.Typed
open import Definition.Typed.Properties
open import Definition.Typed.EqRelInstance
open import Definition.Typed.Weakening
ope... |
sprite.asm | bsutherland/c64lib | 1 | 7033 | #importonce
#import "zeropage.asm"
.const SPRITE_POINTER_BASE = $07f8
.const SPRITE_COORD_X_BASE = $d000
.const SPRITE_COORD_Y_BASE = $d001
.const SPRITE_COORD_X_BIT8 = $d010
.const SPRITE_ENABLE = $d015
.const SPRITE_CONTROL_2 = $d016
.const SPRITE_DOUBLE_HEIGHT = $d017
.const SPRITE_DOUBLE_WIDTH = $d01d
.const SPR... |
programs/oeis/060/A060470.asm | karttu/loda | 0 | 95280 | <reponame>karttu/loda
; A060470: Smallest positive a(n) such that number of solutions to a(n)=a(j)+a(k) j<k<n is two or less.
; 1,2,3,4,5,6,8,10,12,15,17,19,24,26,28,33,35,37,42,44,46,51,53,55,60,62,64,69,71,73,78,80,82,87,89,91,96,98,100,105,107,109,114,116,118,123,125,127,132,134,136,141,143,145,150,152,154,159,161,1... |
examples/hash_password/demo_ada.adb | jrmarino/libsodium-ada | 10 | 30138 | with Sodium.Functions; use Sodium.Functions;
with Ada.Text_IO; use Ada.Text_IO;
procedure Demo_Ada
is
password : constant String := "<PASSWORD>";
salt : constant String := "<PASSWORD>";
begin
if not initialize_sodium_library then
Put_Line ("Initialization failed");
return;
end if;
Put_L... |
projects/Links_Awakening_gb.windfish/disassembly/bank_1B.asm | jverkoey/awaken | 68 | 88231 | <filename>projects/Links_Awakening_gb.windfish/disassembly/bank_1B.asm<gh_stars>10-100
SECTION "ROM Bank 1B", ROMX[$4000], BANK[$1B]
db $C3, $09, $40, $C3, $9E, $4D
toc_1B_4006:
jp toc_1B_401E
db $21, $00, $D3, $36, $00, $2C, $20, $FB
db $3E, $80, $E0, $26, $3E, $77, $E0, $24
db $3E, $F... |
alloy4fun_models/trashltl/models/3/4Fp2nghQ9WNijCCQR.als | Kaixi26/org.alloytools.alloy | 0 | 1204 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred id4Fp2nghQ9WNijCCQR_prop4 {
always some f: File | eventually f in Trash
}
pred __repair { id4Fp2nghQ9WNijCCQR_prop4 }
check __repair { id4Fp2nghQ9WNijCCQR_prop4 <=> prop4o } |
Transynther/x86/_processed/US/_ht_zr_/i9-9900K_12_0xca_notsx.log_6_1823.asm | ljhsiun2/medusa | 9 | 94845 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r14
push %r15
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x1c028, %r11
nop
nop
nop
nop
sub %rdi, %rdi
mov (%r11), %r15w
nop
nop
and $52199, %r13
lea addresses_UC_ht+0x1b290, %r14
nop
nop
xor %r10, %r10
vmovups (%r14), ... |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca.log_21829_1471.asm | ljhsiun2/medusa | 9 | 173507 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1d76, %rdi
clflush (%rdi)
nop
dec %rcx
mov (%rdi), %ebx
nop
nop
add %rsi, %rsi
lea addresses_WT_ht+0xb31a, %rsi
nop
nop
nop
nop
nop
sub $36184, %r15
and $0... |
src/MultiSorted/ModelCategory.agda | cilinder/formaltt | 21 | 9479 | open import Agda.Primitive using (_⊔_ ; lsuc ; Level)
import Categories.Category as Category
import Categories.Category.Cartesian as Cartesian
open import Categories.Object.Terminal using (Terminal)
open import Categories.Object.Product using (Product)
open import MultiSorted.AlgebraicTheory
open import MultiSorted.S... |
src/sparknacl-core.adb | yannickmoy/SPARKNaCl | 76 | 1150 | <reponame>yannickmoy/SPARKNaCl<gh_stars>10-100
package body SPARKNaCl.Core
with SPARK_Mode => On
is
pragma Warnings (GNATProve, Off, "pragma * ignored (not yet supported)");
--===============================
-- Local subprogram declarations
-- and renamings
--===============================
func... |
oeis/089/A089802.asm | neoneye/loda-programs | 11 | 174522 | ; A089802: Expansion of q^(-1/3) * (theta_4(q^3) - theta_4(q^(1/3))) / 2 in powers of q.
; Submitted by <NAME>
; 1,-1,0,0,0,-1,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,1,0,0,0
... |
libsrc/_DEVELOPMENT/env/esxdos/c/sdcc_iy/tmpnam_ex.asm | jpoikela/z88dk | 640 | 177470 | ; char *tmpnam_ex(char *template)
SECTION code_env
PUBLIC _tmpnam_ex
EXTERN _tmpnam_ex_fastcall
_tmpnam_ex:
pop af
pop hl
push hl
push af
jp _tmpnam_ex_fastcall
|
sharding-core/src/main/antlr4/imports/MySQLCreateTable.g4 | shaojie925/incubator-shardingsphere | 0 | 315 | grammar MySQLCreateTable;
import MySQLKeyword, Keyword, MySQLSelectStatement, MySQLTableBase, MySQLBase, BaseRule, DataType, Symbol;
createTable
: CREATE TEMPORARY? TABLE (IF NOT EXISTS)? tableName createTableOptions
;
createTableOptions
: createTableBasic | createTableSelect | createTableLike
;
... |
sources/md/markdown-link_reference_definitions.adb | reznikmm/markdown | 0 | 29040 | <reponame>reznikmm/markdown
-- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
----------------------------------------------------------------
with League.Regexps;
with Markdown.Common_Patterns;
with Markdown.Visitors;
package body Markdown.Link_Reference_Definitions is
functi... |
test/Fail/Issue1609-negative-literal.agda | shlevy/agda | 1,989 | 13609 | <filename>test/Fail/Issue1609-negative-literal.agda
-- Andreas, 2015-07-13 Better parse errors for illegal type signatures
-1 : Set1
-1 = Set
|
regtests/server/src/testapi-servers.ads | jquorning/swagger-ada | 17 | 24124 | -- REST API Validation
-- API to validate
-- ------------ EDIT NOTE ------------
-- This file was generated with swagger-codegen. You can modify it to implement
-- the server. After you modify this file, you should add the following line
-- to the .swagger-codegen-ignore file:
--
-- src/testapi-servers.ads
--
... |
csgocheat/CV/Via ASM module/VirtualizerSDKCustomVmMacros.asm | garryhvh420/e_xyz | 0 | 11186 | <reponame>garryhvh420/e_xyz
; ****************************************************************************
; Module: VirtualizerSDKCustomVmMacros.asm
; Description: Another way to link with the SecureEngine SDK via an ASM module
;
; Author/s: <NAME>
; (c) 2015 <NAME>
;
; --- File generated automatically from Oreans VM... |
select.asm | encukou/ti83-dex | 1 | 171013 | <gh_stars>1-10
DEFINE P2SELECT, SPACE=ROM
SEGMENT P2SELECT
extern _Green
extern _DrawPkName
extern _Red
extern _Select
public Select
extern _Move
extern _LoadPic
extern _LPicBank1
extern _DrawMoveName
extern _DrawMoveName_AlignRight
extern _MoveList
extern _LoadLevelMoves
extern _StatCa... |
agda/book/Programming_Language_Foundations_in_Agda/x09-747Decidable-hc.agda | haroldcarr/learn-haskell-coq-ml-etc | 36 | 2589 | <gh_stars>10-100
module x09-747Decidable-hc where
-- Library
import Relation.Binary.PropositionalEquality as Eq
open Eq using (_≡_; cong; refl; sym) -- added sym
open Eq.≡-Reasoning
open import Data.Nat using (ℕ; zero; suc; _≤_; z≤n; s≤s)
open import Data.Product ... |
test/interaction/Imports/Issue5357-B.agda | cruhland/agda | 1,989 | 12965 | module Imports.Issue5357-B where
import Imports.Issue5357-D
|
spaceship/src/missile.adb | kndtime/ada-spaceship | 0 | 14425 | <reponame>kndtime/ada-spaceship
package body Missile is
procedure appear_mis(s : in out Missile; X : Integer; Y : Integer; Max_Y : Integer) is
begin
if s.State /= DEAD then
return;
end if;
s.X := X + 10;
s.Y := Y + 40;
s.Max_Y := Max_Y;
s.State := ALIVE;
end appear_mis;
... |
arch/ARM/Nordic/drivers/nrf_common/nrf-clock.adb | rocher/Ada_Drivers_Library | 192 | 22982 | <filename>arch/ARM/Nordic/drivers/nrf_common/nrf-clock.adb
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016-2020, AdaCore --
-- ... |
src/main/antlr/Slang.g4 | RehMaar/swatt | 0 | 6066 | <filename>src/main/antlr/Slang.g4
grammar Slang;
program
: block EOF
;
block
: statements+=statement (statements+=statement)*
;
statement
: whileStmt
| ifStmt
| assignStmt
| reassignStmt
;
whileStmt
: WHILEKW LPAR cond=expr RPAR LBRA body=block RBRA
;
ifStmt
: IFKW L... |
theorems/groups/KernelSndImageInl.agda | mikeshulman/HoTT-Agda | 0 | 10673 | {-# OPTIONS --without-K --rewriting #-}
open import HoTT
module groups.KernelSndImageInl {i j k}
(G : Group i) {H : Group j} {K : Group k}
-- the argument [φ-snd], which is intended to be [φ ∘ᴳ ×-snd],
-- gives the possibility of making the second part
-- (the proof of being a group homomorphism) abstract.
... |
oeis/097/A097067.asm | neoneye/loda-programs | 11 | 1958 | <reponame>neoneye/loda-programs
; A097067: Expansion of (1-4*x+5*x^2)/(1-2*x)^2.
; 1,0,1,4,12,32,80,192,448,1024,2304,5120,11264,24576,53248,114688,245760,524288,1114112,2359296,4980736,10485760,22020096,46137344,96468992,201326592,419430400,872415232,1811939328,3758096384,7784628224,16106127360,33285996544,68719476736... |
src/Selective/Examples/ChatAO.agda | Zalastax/thesis | 1 | 2045 | <gh_stars>1-10
module Selective.Examples.ChatAO where
open import Selective.ActorMonad
open import Selective.Libraries.Channel
open import Selective.Libraries.Call2
open import Selective.Libraries.ActiveObjects
open import Prelude
hiding (Maybe)
open import Data.Maybe as Maybe
hiding (map)
open import ... |
smk-runs-strace_analyzer.adb | LionelDraghi/smk | 10 | 20617 | <gh_stars>1-10
-- -----------------------------------------------------------------------------
-- smk, the smart make (http://lionel.draghi.free.fr/smk/)
-- © 2018, 2019 <NAME> <<EMAIL>>
-- SPDX-License-Identifier: APSL-2.0
-- -----------------------------------------------------------------------------
-- Licensed un... |
oeis/068/A068238.asm | neoneye/loda-programs | 11 | 99569 | ; A068238: Denominators of arithmetic derivative of 1/n: -A003415(n)/n^2.
; Submitted by <NAME>(s3)
; 1,4,9,4,25,36,49,16,27,100,121,9,169,196,225,8,289,108,361,50,441,484,529,144,125,676,27,49,841,900,961,64,1089,1156,1225,108,1369,1444,1521,400,1681,1764,1849,121,675,2116,2209,144,343,500,2601,338,2809,36,3025,784,32... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.