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 |
|---|---|---|---|---|
Lista_ASM/Q5.asm | maluwastaken/Infra_de_Software | 0 | 7446 | org 0x7c00
jmp 0x0000:main
;30x15
var db 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 10, 14, 14, 10, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2... |
libsrc/target/spc1000/psg/set_psg_callee.asm | ahjelm/z88dk | 640 | 171199 | ;
; TRS-80 (EG2000+HT1080) specific routines
; by <NAME>, Fall 2015
;
; int set_psg(int reg, int val);
;
; Play a sound by PSG
;
;
; $Id: set_psg_callee.asm,v 1.2 2016-06-10 21:13:58 dom Exp $
;
SECTION code_clib
PUBLIC set_psg_callee
PUBLIC _set_psg_callee
PUBLIC asm_set_psg
set_psg_callee:
_set_psg_ca... |
test/Succeed/Issue3079.agda | shlevy/agda | 2 | 14950 |
module _ where
module M (X : Set₁) where
record Raw : Set₁ where
field return : Set
postulate fmap : Set
module Fails = Raw ⦃ … ⦄
module Works ⦃ r : Raw ⦄ = Raw r
open M
postulate r : Raw Set
fail : Set
fail = Fails.fmap Set ⦃ r ⦄
-- C-c C-n fail
-- M.Raw.fmap Set r
good : Set
good = Works.fmap Se... |
OvmfPkg/ResetVector/Main.asm | ray-linn/myedk2 | 0 | 10225 | ;------------------------------------------------------------------------------
; @file
; Main routine of the pre-SEC code up through the jump into SEC
;
; Copyright (c) 2008 - 2009, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;-------------------------------------------... |
exercise2.asm | astrellon/moss | 0 | 18354 | main:
PRINT "Input something will ya: "
INPUT r0
PRINT "\nYou inputted: "
PRINT r0
CMP r0 100
>= PRINT "\nToo old\n"
>= JMP end
CMP r0 20
>= PRINT "\nJust right\n"
>= JMP end
PRINT "\nToo young\n"
end:
PRINT "\nDone!\n"
|
bb-runtimes/examples/monitor/common/elf32.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 9797 | ------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- --
-- ... |
lib/string/string.asm | locodarwin/xc-basic3 | 11 | 166277 | <gh_stars>10-100
IF TARGET == c64
STRING_WORKAREA EQU $CF00
ENDIF
IF TARGET == vic20
STRING_WORKAREA EQU $1D00
ENDIF
IF TARGET == vic20_3k
STRING_WORKAREA EQU $0F00
ENDIF
IF TARGET == vic20_8k || TARGET == c16 || TARGET == cplus4
STRING_WORKAREA EQU $3F00
ENDIF
STRING_BUFFER1 EQU $033C
STRING_BUFFER2 EQU... |
oeis/071/A071790.asm | neoneye/loda-programs | 11 | 6972 | <reponame>neoneye/loda-programs<filename>oeis/071/A071790.asm
; A071790: Decimal expansion of the second (of 10) decimal selvage numbers; the n-th digit of a decimal selvage number, x, is equal to the tenths digit of n*x.
; Submitted by <NAME>
; 2,4,7,9,2,4,7,9,2,4,7,9,2,4,7,9,2,4,7,9,2,4,7,9,1,4,6,9,1,4,6,9,1,4,6,9,1,... |
src/main/java/it/univr/main/antlr/MuJs.g4 | UniVE-SSV/rsubs | 0 | 1108 | grammar MuJs;
@header {
package it.univr.main;
}
EOL_COMMENT : '//' ~[\r\n]* -> skip;
NAN: 'NaN'
;
BOOL: 'true' | 'false';
ID: [a-zA-Z][a-zA-Z0-9]*
;
SIGN: '+' | '-';
INT: SIGN? [0-9]+
;
STRING: '"' ~('\r' | '\n' | '"')* '"'
| '\'' ~('\r' | '\n' )* '\''
;
program: stmt EOF #ProgramE... |
tss-occam-compiler/src/main/antlr4/uk/co/transputersystems/occam/Occam.g4 | TransputerSystems/TSS | 6 | 6727 | grammar Occam;
tokens { INDENT, DEDENT }
@lexer::members {
// A queue where extra tokens are pushed on (see the NEWLINE lexer rule).
private java.util.LinkedList<Token> tokens = new java.util.LinkedList<>();
// The stack that keeps track of the indentation level.
private java.util.Stack<Integer> indents = ... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1389.asm | ljhsiun2/medusa | 9 | 92738 | <filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1389.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x10e5a, %rsi
lea addresses_WT_ht+0x93d8, %rdi
nop
nop
cmp %r8, %r8
mov $80, %rcx
rep movsq
nop
nop
nop
nop
xor $... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization8_pkg2.ads | best08618/asylo | 7 | 14350 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_optimization8_pkg2.ads
package Loop_Optimization8_Pkg2 is
type Array_T is array (Natural range <>) of Integer;
type Obj_T (Length : Natural) is
record
Elements : Array_T (1 .. Length);
end record;
type T is access Obj_T;
function Lengt... |
sw/test_cases/add1.asm | JPShen-UWM/ThreadKraken | 1 | 9677 | <reponame>JPShen-UWM/ThreadKraken
//simple test
lbi r21 0xFF //
lbi r22 0x1
add r23 r21 r22
# halt
kill r1
|
cass.rollup/src/main/antlr4/Rollup.g4 | Eduworks/ec | 1 | 1326 | /*
Copyright 2015-2020 Eduworks Corporation
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
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to i... |
programs/oeis/333/A333320.asm | karttu/loda | 1 | 179376 | ; A333320: a(n) is the number of subsets of {1..n} that contain exactly 4 odd and 1 even numbers.
; 0,0,0,0,0,0,0,3,4,20,25,75,90,210,245,490,560,1008,1134,1890,2100,3300,3630,5445,5940,8580,9295,13013,14014,19110,20475,27300,29120,38080,40460,52020,55080,69768,73644,92055,96900,119700,125685,153615,160930,194810,20366... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/oalign1.ads | best08618/asylo | 7 | 14492 | <gh_stars>1-10
package Oalign1 is
Klunk1 : Integer := 12;
for Klunk1'Alignment use Standard'Maximum_Alignment;
end;
|
programs/oeis/274/A274104.asm | karttu/loda | 1 | 163554 | <reponame>karttu/loda
; A274104: a(n) = Sum_{k=0..n} (3*k+2)*Catalan(k).
; 2,7,23,78,274,988,3628,13495,50675,191673,729145,2786655,10691111,41150011,158825371,614483086,2382366586,9253540456,36001307656,140269835866,547245301906,2137552658206,8358366985726,32715599554876,128168506456852,502538379368656,197192662514081... |
libsrc/math/z88math/atof.asm | Toysoft/z88dk | 8 | 241797 | ;
;
; Z88 Maths Routines
;
; C Interface for Small C+ Compiler
;
; 30/1/20001 djm
;double atof(char *) - convert string to number, leave in fa
SECTION code_fp
INCLUDE "fpp.def"
PUBLIC atof
EXTERN stkequ2
.atof
pop de
pop ... |
src.orig/src/x_replier-untyped_impl.ads | persan/dds-requestreply | 0 | 5574 | <gh_stars>0
package Replier.Untyped_Impl is
type Ref is new Replier.RTI_Connext_Replier with record
null;
end record;
procedure RTI_Connext_EntityUntypedImpl_Wait_For_Any_Sample (Self : not null access Ref;
Min_Count : DDS.Natural... |
cmd/command/tparse.asm | minblock/msdos | 0 | 100383 | page ,132
; SCCSID = @(#)tparse.asm 4.1 87/04/28
; SCCSID = @(#)tparse.asm 4.1 87/04/28
TITLE COMMAND interface to SYSPARSE
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
.xlist
.xcref
include co... |
src/test/resources/testData/codeinsight/set_var.scpt | stigger/AppleScript-IDEA | 18 | 4057 | <filename>src/test/resources/testData/codeinsight/set_var.scpt<gh_stars>10-100
set myVar to 123
get myVar<caret> |
programs/oeis/162/A162255.asm | jmorken/loda | 1 | 1378 | ; A162255: a(n) = 2*a(n-2) for n > 2; a(1) = 3, a(2) = 2.
; 3,2,6,4,12,8,24,16,48,32,96,64,192,128,384,256,768,512,1536,1024,3072,2048,6144,4096,12288,8192,24576,16384,49152,32768,98304,65536,196608,131072,393216,262144,786432,524288,1572864,1048576,3145728,2097152
mov $1,3
mov $2,1
lpb $0
sub $0,1
mul $2,2
mov ... |
Task/Factorial/Ada/factorial-1.ada | LaudateCorpus1/RosettaCodeData | 1 | 11804 | function Factorial (N : Positive) return Positive is
Result : Positive := N;
Counter : Natural := N - 1;
begin
for I in reverse 1..Counter loop
Result := Result * I;
end loop;
return Result;
end Factorial;
|
src/dos32a/loader.asm | amindlost/dos32a | 5 | 2269 | ;
; Copyright (C) 1996-2006 by <NAME>. 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. Redistributions of source code must retain the above copyright
; notice, this list of cond... |
libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/___schar2fs_callee.asm | jpoikela/z88dk | 0 | 98036 |
SECTION code_fp_math32
PUBLIC ___schar2fs_callee
EXTERN cm32_sdcc___schar2fs_callee
defc ___schar2fs_callee = cm32_sdcc___schar2fs_callee
|
libsrc/_DEVELOPMENT/stdio/c/sdcc_iy/feof_unlocked.asm | meesokim/z88dk | 0 | 9344 |
; int feof_unlocked(FILE *stream)
SECTION code_stdio
PUBLIC _feof_unlocked
EXTERN asm_feof_unlocked
_feof_unlocked:
pop af
pop ix
push hl
push af
jp asm_feof_unlocked
|
src/numerics-sparse_matrices-permute.adb | sciencylab/lagrangian-solver | 0 | 11448 | separate (Numerics.Sparse_Matrices)
function Permute (Mat : in Sparse_Matrix;
P : in Int_Array;
By : in Permute_By_Type := Column) return Sparse_Matrix is
begin
pragma Assert (Mat.Format = CSC);
case By is
when Column =>
return Permute_By_Col (Mat, P);
when Row =>
return Transpose... |
mastersystem/zxb-sms-2012-02-23/zxb-sms/wip/zxb/library-asm/printf16.asm | gb-archive/really-old-stuff | 10 | 19850 | <reponame>gb-archive/really-old-stuff
#include once <printnum.asm>
#include once <printi16.asm>
#include once <neg32.asm>
__PRINTF16: ; Prints a 32bit 16.16 fixed point number
PROC
LOCAL __PRINT_FIX_LOOP
LOCAL __PRINTF16_2
bit 7, d
jr z, __PRINTF16_2
call __NEG32
call __PRINT_MINUS
__PRINTF16_2:
push hl
e... |
libsrc/math/mbf32/c/sccz80/modf.asm | ahjelm/z88dk | 640 | 19310 |
SECTION code_fp_mbf32
PUBLIC modf
EXTERN floor
EXTERN ceil
EXTERN msbios
EXTERN ___mbf32_SUBCDE
EXTERN ___mbf32_FPREG
EXTERN l_glong
EXTERN ___mbf32_return
; double modf(double value, double *iptr)
modf:
ld hl,4
add hl,sp
call l_glong
IF __CPU_INTEL__
ld a,e
rr... |
programs/oeis/016/A016866.asm | neoneye/loda | 22 | 88733 | ; A016866: (5n+1)^6.
; 1,46656,1771561,16777216,85766121,308915776,887503681,2176782336,4750104241,9474296896,17596287801,30840979456,51520374361,82653950016,128100283921,192699928576,282429536481
mul $0,5
add $0,1
pow $0,6
|
macros/legacy.asm | AtmaBuster/pokeplat-gen2 | 6 | 16217 | <gh_stars>1-10
; Legacy support for old pokecrystal.
; Allows porting scripts with as few edits as possible.
; Legacy support not in this file can be found by looking for the keyword: "LEGACY"
; macros/rst.asm
callba EQUS "farcall"
callab EQUS "callfar"
; macros/scripts/events.asm
checkmorn EQUS "checktime MORN"
che... |
release/src/router/gmp/mpn/x86_64/gcd_1.asm | ghsecuritylab/tomato-dnssec | 5 | 6732 | <filename>release/src/router/gmp/mpn/x86_64/gcd_1.asm<gh_stars>1-10
dnl AMD64 mpn_gcd_1 -- mpn by 1 gcd.
dnl Based on the K7 gcd_1.asm, by <NAME>. Rehacked for AMD64 by Torbjorn
dnl Granlund.
dnl Copyright 2000-2002, 2005, 2009, 2011, 2012 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Libr... |
dino/lcs/enemy/51.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 9746 | <reponame>zengfr/arcade_game_romhacking_sourcecode_top_secret_data<filename>dino/lcs/enemy/51.asm<gh_stars>1-10
copyright zengfr site:http://github.com/zengfr/romhack
006088 tst.b ($51,A6)
00608C beq $60e0 [123p+ 51, enemy+51]
010864 tst.b ($51,A3)
010868 bne $10896 [enemy+51]
01091C tst.b ($51,A3)... |
programs/oeis/068/A068181.asm | neoneye/loda | 22 | 167297 | <gh_stars>10-100
; A068181: a(n)=-1/b(2n) where 1/(e^y-e^(y/3))= sum(i=-1,inf,b(i)*y^i).
; 1,18,1944,524880,264539520,214277011200,254561089305600,416971064282572800,900657498850357248000,2480410751833883860992000,8483004771271882804592640000,35272333838948488701496197120000
mul $0,6
seq $0,7661 ; Triple factorial num... |
sys/gdt.asm | pepsipu/xinOS-old | 3 | 93552 | global gdt_ptr
gdt_ptr:
dw gdt.end - gdt - 1
dq gdt
gdt:
.null:
dq 0x0
.k_code_32:
dd 0x0
db 0x0
db 10011010b
db 00100000b
db 0x0
.k_data_32:
dd 0x0
db 0x0
db 10010010b
dw 0x0
.u_code_32:
dd 0x0
db 0x0
db 11111010b
db 00100000b
db 0x0... |
2-low/neural/source/neural-forge.ads | charlie5/lace | 20 | 2564 |
with neural.Set;
package Neural.Forge
--
-- Declares a factory for creation/destruction of core types.
--
is
-- Pattern
--
function Creation (From : in Pattern) return Pattern;
procedure Destroy (Self : in out Pattern);
-- Patterns
--
function Creation (Fr... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/cc/cc1227a.ada | best08618/asylo | 7 | 20862 | -- CC1227A.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/gnat.dg/return2.adb | best08618/asylo | 7 | 28726 | -- { dg-do compile }
-- { dg-options "-O" }
with Return2_Pkg; use Return2_Pkg;
package body Return2 is
function Value_Internal (Image : String) return Result_Internal_T is
begin
return (Member => False);
end;
type Result_T is array (1 .. 2) of Result_Internal_T;
function Value (Img : String) return T... |
test/asset/agda-stdlib-1.0/Data/String/Base.agda | omega12345/agda-mode | 0 | 3793 | <filename>test/asset/agda-stdlib-1.0/Data/String/Base.agda
------------------------------------------------------------------------
-- The Agda standard library
--
-- Strings: builtin type and basic operations
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
... |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0.log_21829_1010.asm | ljhsiun2/medusa | 9 | 26914 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0.log_21829_1010.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r8
push %r9
push %rbx
push %rsi
lea addresses_WT_ht+0x7540, %r8
xor %r12, %r12
movw $0x6162, (%r8)
nop
nop
nop
nop
nop
cmp $48185, %r... |
grammars/src/main/antlr/base_patterns14.g4 | serefarikan/archie | 44 | 5255 | //
// General purpose patterns used in all openEHR parser and lexer tools
//
grammar base_patterns14;
import BaseLexer14;
type_id : ALPHA_UC_ID ( '<' type_id ( ',' type_id )* '>' )? ;
attribute_id : ALPHA_LC_ID ;
identifier : ALPHA_UC_ID | ALPHA_LC_ID ;
archetype_ref : ARCHETYPE_HRID | ARCHETYPE_REF ;
|
thirdparty/adasdl/thin/adasdl/AdaSDL_framebuff/sdltests/testgl.adb | Lucretia/old_nehe_ada95 | 0 | 739 | <gh_stars>0
-- ----------------------------------------------------------------- --
-- --
-- This is free software; you can redistribute it and/or --
-- modify it under the terms of the GNU General Public --
-- License as publi... |
spectranet/libspectranet/ifconfig_inet.asm | speccytools/spectranet-gdbserver | 40 | 86228 | ; process
; void __FASTCALL__ ifconfig_inet(in_addr_t *addr);
PUBLIC ifconfig_inet
EXTERN libspectranet
include "spectranet.asm"
.ifconfig_inet
IXCALL IFCONFIG_INET_ROM
ret
|
ada/src/nymph_client.ads | Watch-Later/NymphRPC | 52 | 29248 | <filename>ada/src/nymph_client.ads<gh_stars>10-100
-- nymph.ada - Package file for the NymphRPC package.
--
-- Revision 0
--
-- 2018/09/24, <NAME>
package NymphClient is
--
end NymphClient;
|
programs/oeis/329/A329505.asm | karttu/loda | 1 | 8171 | <filename>programs/oeis/329/A329505.asm
; A329505: Expansion of (1 + x)*(1 + 2*x - x^2) / (1 - x).
; 1,4,5,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4... |
source/webdriver-sessions.ads | reznikmm/webdriver | 2 | 7892 | <gh_stars>1-10
-- Copyright (c) 2017 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with League.Strings;
with WebDriver.Elements;
package WebDriver.Sessions is
type Session is limited interface;
type Session_Acc... |
src/firmware-tests/Ui/States/Boot/EnableLcdTest.asm | pete-restall/Cluck2Sesame-Prototype | 1 | 27354 | #include "Mcu.inc"
#include "FarCalls.inc"
#include "Ui.inc"
#include "../../UiStates.inc"
#include "../../../Platform/Lcd/EnableDisableLcdMocks.inc"
#include "TestFixture.inc"
radix decimal
EnableLcdTest code
global testArrange
testArrange:
fcall initialiseUi
fcall initialiseEnableAndDisableLcdMocks
test... |
1A/S5/PIM/tps/tp1/drone.adb | MOUDDENEHamza/ENSEEIHT | 4 | 26105 | <filename>1A/S5/PIM/tps/tp1/drone.adb
with Ada.Text_IO; use Ada.Text_IO;
procedure Drone is
-- Create program that handles drone.
Choice: Character;
Altitude: Integer;
Start: Integer;
begin
-- Initialize variables.
Altitude := 0;
Start := 0;
-- Print menu for the first time.
... |
programs/oeis/173/A173562.asm | neoneye/loda | 22 | 240413 | <reponame>neoneye/loda<gh_stars>10-100
; A173562: a(n) = n^2 + floor(n/4).
; 0,1,4,9,17,26,37,50,66,83,102,123,147,172,199,228,260,293,328,365,405,446,489,534,582,631,682,735,791,848,907,968,1032,1097,1164,1233,1305,1378,1453,1530,1610,1691,1774,1859,1947,2036,2127,2220,2316,2413,2512
mov $1,$0
div $0,4
pow $1,2
add $... |
alloy_model/memalloc/join.als | vasil-sd/engineering-sw-hw-model-checking-letures | 16 | 3209 | <reponame>vasil-sd/engineering-sw-hw-model-checking-letures
module join[Time]
open order[Time]
open memory[Time]
open block[Time]
open address
open size as s
-- этот вспомогательный предикат объединяет блоки
pred UpdateBlocks[now: Time, Bbelow, Babove: Block] {
let past = now.prev {
-- у нижнего блока остаётся ... |
source/nodes/program-nodes-select_paths.ads | reznikmm/gela | 0 | 8720 | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Lexical_Elements;
with Program.Elements.Expressions;
with Program.Element_Vectors;
with Program.Elements.Select_Paths;
with Program.Element_Visitors;
package... |
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/g-dyntab.adb | orb-zhuchen/Orb | 0 | 5023 | <reponame>orb-zhuchen/Orb<filename>support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/g-dyntab.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS ... |
Cubical/Homotopy/Spectrum.agda | FernandoLarrain/cubical | 1 | 16818 | <filename>Cubical/Homotopy/Spectrum.agda
{-# OPTIONS --safe #-}
{-
This uses ideas from <NAME>'s phd thesis and the code in
https://github.com/cmu-phil/Spectral/blob/master/spectrum/basic.hlean
-}
module Cubical.Homotopy.Spectrum where
open import Cubical.Foundations.Prelude
open import Cubical.Data.Unit.Pointed
o... |
date/randomDateAndTime.applescript | adriannier/applescript-functions | 7 | 3653 | log randomDateAndTimeInRange((current date) - 10 * 365 * 24 * 60 * 60, (current date), 9 * 60 * 60, 17 * 60 * 60)
on randomDateAndTimeInRange(minDate, maxDate, minSeconds, maxSeconds)
if minDate is false then set minDate to current date
if maxDate is false then set maxDate to current date
if minDate > maxDate t... |
bug-reports/missing-pos-attribute/src/main.adb | TUM-EI-RCS/StratoX | 12 | 22239 | <reponame>TUM-EI-RCS/StratoX
with Interfaces; use Interfaces;
with Ada.Text_IO; use Ada.Text_IO;
procedure main with SPARK_Mode is
type Some_Record is
record
c1 : Unsigned_8 := 0;
c2 : Unsigned_8 := 0;
end record;
for Some_Record use
record
c1 at 0 range 0 .. 7... |
tools/ayacc/examples/calc/driver.adb | svn2github/matreshka | 24 | 8664 | with Calc, calc_lex.IO, Text_IO;
procedure driver is
in_file_name: string(1..80);
last : natural;
begin
Text_IO.Put("Enter input file: ");
Text_IO.Get_Line(in_file_name, last);
calc_lex.IO.open_input(in_file_name(1..last));
--calc_lex.IO.open_input("/dev/tty");
calc_lex.IO.create_output;
... |
typeonly/TypeOnlyParser.g4 | tomko-team/typeonly | 23 | 7911 | parser grammar TypeOnlyParser;
options {
tokenVocab = TypeOnlyLexer;
}
declarations: typeSep? declaration* EOF;
typeSep: (NL | SEMI_COLON)+;
declaration:
importDecl (typeSep | EOF)
| namedInterface typeSep?
| namedType (typeSep | EOF);
/*
* Import
*/
importDecl: classicImport | namespacedImport;
classic... |
Base.agda | guillaumebrunerie/JamesConstruction | 5 | 15746 | <reponame>guillaumebrunerie/JamesConstruction<gh_stars>1-10
{-# OPTIONS --without-K --rewriting #-}
module Base where
{-
With the HoTT-Agda library, the following import can be used instead:
open import HoTT using
(Type; lmax; lsucc;
_==_; idp; !;
ap; apd;
Square; ids; vid-square; hid-square; SquareOver; ... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/inline9_pkg.ads | best08618/asylo | 7 | 16039 | package Inline9_Pkg is
procedure Test (I : Integer);
pragma Inline (Test);
end Inline9_Pkg;
|
processor/arch/c64/inc.asm | HakierGrzonzo/bfc64 | 1 | 90462 | <filename>processor/arch/c64/inc.asm
lda ($fb),y
cmp #$ff
beq label()
clc
adc #$01
sta ($fb),y
label():
|
libsrc/spectrum/zx_break.asm | grancier/z180 | 0 | 165164 | ;
; ZX Spectrum specific routines
; by <NAME>, 14/09/2006
; Improved by <NAME>, Dec 2008
;
; int zx_break();
;
; Check if the CAPS-SPACE (BREAK) key is being pressed
; ( 1 = pressed; 0 = not pressed )
;
; Caps-shift + space version A.Schifano 29/12/2008
;
; $Id: zx_break.asm,v 1.4 2016/06/10 19:39:39 dom Exp $
;
... |
programs/oeis/194/A194990.asm | neoneye/loda | 22 | 164003 | <reponame>neoneye/loda<filename>programs/oeis/194/A194990.asm
; A194990: a(n) = 1+ floor(n/sqrt(8)).
; 1,1,2,2,2,3,3,3,4,4,4,5,5,5,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,13,13,13,14,14,14,15,15,15,16,16,16,17,17,17,18,18,19,19,19,20,20,20,21,21,21,22,22,22,23,23,23,24,24,25,25,25,26,26,26,27,27,27,28,28,28,29,29... |
LAB 4/Lab4Task5.asm | smellycattt/Microprocessor-Programming | 1 | 11375 | .Model Tiny
.386
.DATA
FILE DB 'ABCD2.txt',0
READMAX DB 40
READACTUAL DB ?
STORE DB 40 DUP('0')
NEWLINE DB 0DH, 0AH
READMAX2 DB 40
READACTUAL2 DB ?
STORE2 DB 40 DUP('0')
.CODE
.Startup
;CREATING THE FILE
MOV AH, 3CH
LEA DX, FILE
MOV CL, 2;
INT 21H
;TAKING INPUT FROM THE K... |
Assembly/export_symbols.asm | Berserker66/Enemizer | 2 | 27014 | <gh_stars>1-10
;export.open exported_symbols.txt
;export.label EnemizerTablesStart
;export.label EnemizerCodeStart
;export.label sprite_bush_spawn_table_overworld
;export.label sprite_bush_spawn_table_dungeons
;export.label sprite_bush_spawn_table_random_sprites
;export.label EnemizerFlags
;export.label EnemizerFlags_r... |
Library/Text/TextRegion/trSmallSet.asm | steakknife/pcgeos | 504 | 28716 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: trSmallSet.asm
AUTHOR: <NAME>, Feb 12, 1992
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Descripti... |
Typinator/typinator/Includes/Scripts/FinderPath.applescript | mbroski/config | 2 | 690 | <reponame>mbroski/config
-- Version 1.0, (C) <NAME>, 2012-01-19
-- Feel free to modify the script for your own use, but leave the copyright notice intact.
tell application "Finder"
try
return POSIX path of (target of first Finder window as alias)
on error
return POSIX path of (desktop as alias)
end try
end tell... |
programs/oeis/309/A309332.asm | neoneye/loda | 22 | 94333 | <gh_stars>10-100
; A309332: Number of ways the n-th triangular number T(n) = A000217(n) can be written as the sum of two positive triangular numbers.
; 0,0,1,0,0,1,0,1,0,1,1,0,1,0,1,1,0,1,0,1,2,0,3,0,0,1,1,3,0,0,1,0,1,0,0,3,1,1,0,1,3,0,1,1,1,2,0,1,2,0,1,1,2,1,1,1,1,2,1,0,3,1,1,1,0,3,1,1,0,0,2,0,1,1,1,1,1,5,0,1,1,0,1,0,... |
programs/oeis/131/A131068.asm | neoneye/loda | 22 | 240790 | <reponame>neoneye/loda
; A131068: Binomial transform of [1, 1, 7, 7, 7,...].
; 1,2,10,32,82,188,406,848,1738,3524,7102,14264,28594,57260,114598,229280,458650,917396,1834894,3669896,7339906,14679932,29359990,58720112,117440362,234880868,469761886,939523928,1879048018,3758096204,7516192582,15032385344,30064770874,6012954... |
libsrc/input/vz/in_LookupKey.asm | jpoikela/z88dk | 640 | 83626 | <filename>libsrc/input/vz/in_LookupKey.asm
; uint in_LookupKey(uchar c)
SECTION code_clib
PUBLIC in_LookupKey
PUBLIC _in_LookupKey
EXTERN in_keytranstbl
; Given the ascii code of a character, returns the scan row and mask
; corresponding to the key that needs to be pressed to generate the
; character.
;
; The scan ... |
src/fot/FOTC/Program/Nest/PropertiesATP.agda | asr/fotc | 11 | 7259 | <filename>src/fot/FOTC/Program/Nest/PropertiesATP.agda
------------------------------------------------------------------------------
-- Properties for the nest function
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-type... |
Transynther/x86/_processed/NONE/_ht_zr_/i7-7700_9_0x48.log_276_2475.asm | ljhsiun2/medusa | 9 | 84823 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xd521, %r13
nop
nop
nop
add %rax, %rax
movb $0x61, (%r13)
nop
nop
add %rcx, %rcx
lea addresses_WC_ht+0x9da1, %rsi
lea addresses_D_ht+0x1b821, %rdi
nop
nop
nop
cmp %r13, %r13
mov $79, %rcx
re... |
annis-visualizers/src/main/antlr4/annis/visualizers/htmlvis/HTMLVisConfig.g4 | commul/ANNIS | 0 | 2474 | /*
* Copyright 2013 SFB 632.
*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... |
Applications/Finder/label index/label index of POSIX file.applescript | looking-for-a-job/applescript-examples | 1 | 2771 | #!/usr/bin/osascript
tell application "Finder"
label index of (POSIX file "/Users" as alias)
end
|
Transynther/x86/_processed/NONE/_st_/i9-9900K_12_0xa0_notsx.log_21829_1526.asm | ljhsiun2/medusa | 9 | 22578 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_st_/i9-9900K_12_0xa0_notsx.log_21829_1526.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x139d4, %rbx
add %r12, %r12
mov $0x6162636465666768, %rbp
movq %rbp, %x... |
src/exported/ewok-exported-interrupts.ads | PThierry/ewok-kernel | 65 | 3986 | <filename>src/exported/ewok-exported-interrupts.ads
--
-- 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.
-- Yo... |
src/main/antlr4/imports/mysql_view.g4 | HieuMinh0609/kafka-maxwell | 0 | 4662 | <filename>src/main/antlr4/imports/mysql_view.g4<gh_stars>0
grammar mysql_view;
import mysql_literal_tokens, mysql_idents;
/*
This in an intentionally incomplete grammar for parsing VIEW statements.
It's designed to parse up to the (SELECT *), as that cruft is too tricky to
capture with a regular-expression base... |
programs/oeis/136/A136302.asm | neoneye/loda | 22 | 160988 | ; A136302: Transform of A000027 by the T_{1,1} transformation (see link).
; 2,6,15,35,81,188,437,1016,2362,5491,12765,29675,68986,160373,372822,866706,2014847,4683951,10888865,25313540,58846841,136802308,318026782,739322571,1718716457,3995531011,9288482690,21593102505,50197873146,116695897118,271285047567,630661221611,... |
tests/tdsyev.adb | leo-brewin/ada-lapack | 5 | 22179 | <gh_stars>1-10
with Ada.Text_IO;
with Ada.Text_IO.Complex_IO;
with Ada.Numerics.Generic_Real_Arrays;
with Ada.Numerics.Generic_Complex_Types;
with Ada.Numerics.Generic_Complex_Arrays;
with Ada.Numerics.Generic_Elementary_Functions;
with Ada.Numerics.Generic_Complex_Elementary_Functions;
with Ada_Lapack;
use Ada.Text_... |
IEAATParser/src/main/antlr4/nl/utwente/fmt/ieaatparser/antlr/VirtualEdges.g4 | SwiftPengu/ProbabilisticVulnerabilityAnalysis | 0 | 1519 | <filename>IEAATParser/src/main/antlr4/nl/utwente/fmt/ieaatparser/antlr/VirtualEdges.g4<gh_stars>0
grammar VirtualEdges;
path:
'self' ('.' ID)+ '->' 'asSet' '(' ')';
DASH: '-';
CHAR: 'a'..'z' | 'A'..'Z';
NUMBER: DIGIT+;
DIGIT: [0-9];
ID : CHAR (CHAR | NUMBER | '_')* ;
WS : [ \t\r\n]+ -> skip ; // skip spaces, tabs... |
alloy4fun_models/trashltl/models/4/EqoNbCBbNWTYqiffc.als | Kaixi26/org.alloytools.alloy | 0 | 4402 | open main
pred idEqoNbCBbNWTYqiffc_prop5 {
some File releases some Trash
}
pred __repair { idEqoNbCBbNWTYqiffc_prop5 }
check __repair { idEqoNbCBbNWTYqiffc_prop5 <=> prop5o } |
programs/oeis/099/A099638.asm | neoneye/loda | 22 | 177443 | <reponame>neoneye/loda
; A099638: a[n]=A098210[n]/15.
; 1,77,7437,741037,74077037,7407437037,740741037037,74074077037037,7407407437037037,740740741037037037,74074074077037037037,7407407407437037037037,740740740741037037037037
seq $0,199685 ; a(n) = 5*10^n+1.
pow $0,2
div $0,135
mul $0,4
add $0,1
|
dos/DosSetDateTime.asm | osfree-project/FamilyAPI | 0 | 171264 | <reponame>osfree-project/FamilyAPI<filename>dos/DosSetDateTime.asm
;/*!
; @file
;
; @ingroup fapi
;
; @brief DosSetDateTime 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... |
dino/lcs/base/21.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 243738 | <reponame>zengfr/arcade_game_romhacking_sourcecode_top_secret_data<gh_stars>1-10
copyright zengfr site:http://github.com/zengfr/romhack
0007EC move.b ($21,A5), D0 [base+ 24]
0007F0 move.b D0, D1 [base+ 21]
09D46A or.b D0, ($21,A5)
09D46E rts [base+ 21]
09D472 and.b D0, ($21,A5)
09D476 rts [base+ 21]
09D... |
oeis/239/A239909.asm | neoneye/loda-programs | 11 | 104895 | ; A239909: Arises from a construction of equiangular lines in complex space of dimension 2.
; Submitted by <NAME>
; 1,1,2,3,5,9,15,26,45,77,133,229,394,679,1169,2013,3467,5970,10281,17705,30489,52505,90418,155707,268141,461761,795191,1369386,2358197,4061013,6993405,12043229,20739450,35715071,61504345,105915637,18239560... |
oeis/142/A142901.asm | neoneye/loda-programs | 11 | 163763 | ; A142901: Primes congruent to 22 mod 63.
; Submitted by <NAME>
; 211,337,463,967,1093,1471,1597,1723,2731,2857,3109,3361,3613,3739,4243,4621,4999,5503,5881,6007,6133,6637,6763,7393,8527,8779,9157,9283,9661,9787,10039,11047,11173,11299,11551,11677,12433,13063,13441,13567,13693,14071,14197,14323,14449,14827,15331,15583,... |
cmd/diskcopy/dcopypar.asm | minblock/msdos | 0 | 87426 | <reponame>minblock/msdos
PAGE 90,132 ;AN000;A2
TITLE DCOPYPAR.SAL - LOOK AT COMMAND LINE PARMS
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
;****************** START OF SPECIFICATIONS ****... |
alloy4fun_models/trainstlt/models/8/5ZFv4nS23ovaQDeud.als | Kaixi26/org.alloytools.alloy | 0 | 1036 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred id5ZFv4nS23ovaQDeud_prop9 {
always (all t:Train| once(no t.pos and after one t.pos:>Entry) )
}
pred __repair { id5ZFv4nS23ovaQDeud_prop9 }
check __repair { id5ZFv4nS23ovaQDeud_prop9 <=> prop9o } |
Data/Either/Equiv.agda | Lolirofle/stuff-in-agda | 6 | 2766 | <reponame>Lolirofle/stuff-in-agda<filename>Data/Either/Equiv.agda
module Data.Either.Equiv where
import Lvl
open import Data.Either as Either
open import Structure.Function.Domain
open import Structure.Function
open import Structure.Operator
open import Structure.Setoid
open import Type
private variable ℓ ℓₑ ℓₑ₁... |
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca.log_3585_1072.asm | ljhsiun2/medusa | 9 | 16487 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x11b53, %rsi
lea addresses_WC_ht+0x5691, %rdi
nop
nop
nop
nop
lfence
mov $73, %rcx
rep movsw
add $59602, %rdx
lea addresses_WT_ht+0x8513, %rdx
nop
nop
nop
nop
add $14150, %r15
mov (%rdx... |
user/curros.asm | mohammad-yazdani/curros | 0 | 16494 | SYSCALL_VEC equ 51
SECTION .text
BITS 64
GLOBAL syscall
syscall:
; rdi = function number
; rsi = args
int SYSCALL_VEC
ret |
ffmpeg-3.2.5/libavfilter/x86/vf_fspp.asm | huyu0415/FFmpeg | 3,645 | 97904 | <filename>ffmpeg-3.2.5/libavfilter/x86/vf_fspp.asm
;*****************************************************************************
;* x86-optimized functions for fspp filter
;*
;* Copyright (c) 2003 <NAME> <<EMAIL>>
;* Copyright (C) 2005 <NAME> <<EMAIL>>
;*
;* This file is part of FFmpeg.
;*
;* FFmpeg is free software; ... |
02/print/print.asm | DaviNakamuraCardoso/assembly | 0 | 81509 | <filename>02/print/print.asm
section .data
text db "Hello, World!", 0x0a, 0x00
hey db "Hey!", 0x0a, 0x00
section .text
global _start
_start:
mov rax, text
call _print
mov rax, hey
call _print
mov rax, 0x3c
mov rdi, 0
syscall
_print:
push rax
mov rbx, 0
_loop:
i... |
api/src/main/java/org/streamreasoning/rsp4j/api/querying/syntax/RSPQL.g4 | semlanghi/rsp4j | 0 | 2765 | // Generate grammar files using the command:
// $ antlr4 -visitor RSPQL.g4 -package it.polimi.yasper.core.querying.syntax
grammar RSPQL;
queryUnit : query ;
query : prologue registerClause? ( selectQuery | constructQuery | describeQuery | askQuery ) valuesClause ;
prologue : ( baseDecl | prefixDecl )* ;
bas... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_656.asm | ljhsiun2/medusa | 9 | 27413 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r15
push %r9
push %rcx
push %rdx
lea addresses_D_ht+0x2f9, %r13
nop
nop
nop
add %r12, %r12
mov (%r13), %r15
cmp %r10, %r10
lea addresses_WC_ht+0x1953a, %rcx
nop
nop
nop
nop
nop
add $58906, %rdx
movb (%rcx), %r15b
nop
add %rdx, %rdx
lea add... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/conv_bug.adb | best08618/asylo | 7 | 3295 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/conv_bug.adb
-- { dg-do run }
-- { dg-options "-gnatws" }
with discr3; use discr3;
with Text_IO; use Text_IO;
procedure Conv_Bug is
begin
begin
V2 := S2 (V1);
exception
when Constraint_Error => null;
when others => Put_Line ("Wrong Excepti... |
src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_net_gstnetclientclock_h.ads | persan/A-gst | 1 | 815 | <gh_stars>1-10
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_gstsystemclock_h;
with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstclock_h;
-- limited with GStreamer.GST_L... |
OSX/x86_64/byteswapip.nasm | tobyoxborrow/msncsiasm | 0 | 87945 | ; IP byte swapper
;
; Takes an IP address in dotted quad format, performs a byte swap and outputs
; the result in hex for your use elsewhere.
; Use case: You need an IP address (e.g. "192.0.2.57") in network byte order
; Using numbers (or any other character) outside this range is not expected and
; the results are und... |
kernel/arch/idt.asm | nop-os/nop | 9 | 81308 | <reponame>nop-os/nop<gh_stars>1-10
[bits 32]
; IDT handlers 'n stuff
global idt_table
global idt_list
extern idt_call
idt_table:
.entry_0:
dw 0x0000
dw 0x0008
db 0x00
db 0x8F
dw 0x0000
.entry_1:
dw 0x0000
dw 0x0008
db 0x00
db 0x8F
dw 0x0000
.entry_2:
dw 0x0000
dw 0x0008
db 0x00
db 0x8F
... |
alloy4fun_models/trainstlt/models/14/758CgPsei3BbcmE6j.als | Kaixi26/org.alloytools.alloy | 0 | 3517 | open main
pred id758CgPsei3BbcmE6j_prop15 {
all t:Train | one t.pos implies eventually (t.pos)' != t.pos
}
pred __repair { id758CgPsei3BbcmE6j_prop15 }
check __repair { id758CgPsei3BbcmE6j_prop15 <=> prop15o } |
src/main/fragment/mos6502-common/vdum1=vdum2_ror_vbuxx.asm | jbrandwood/kickc | 2 | 175580 | <reponame>jbrandwood/kickc
lda {m2}
sta {m1}
lda {m2}+1
sta {m1}+1
lda {m2}+2
sta {m1}+2
lda {m2}+3
sta {m1}+3
cpx #0
beq !e+
!:
lsr {m1}+3
ror {m1}+2
ror {m1}+1
ror {m1}
dex
bne !-
!e:
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.