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 |
|---|---|---|---|---|
test/LibSucceed/Issue1382.agda | alhassy/agda | 0 | 874 | <reponame>alhassy/agda
{-# OPTIONS --allow-unsolved-metas #-}
-- Andreas, 2014-12-06
-- Reported by sanzhiyan, Dec 4 2014
open import Data.Vec
open import Data.Fin
open import Data.Nat renaming (_+_ to _+N_)
open import Data.Nat.Solver
open import Relation.Binary.PropositionalEquality hiding ([_])
open +-*-Solver usi... |
Source/P-Threads.asm | Svarov-RZM/xci | 0 | 97419 | ; P-Threads.asm
;
; Copyright (c) 2019, <NAME> (Svarov-RZM)
; You may distribute under the terms of BSD 2-Clause License
; as specified in the LICENSE.TXT file.
;
; >>>=== THREADS ===<<<
; => Logic threads <=
; IN:
; ESP+4 = [POINTER] Prcoedure string (@) from /H argument
THREAD.LOGIC:
; Init basic registers and... |
programs/oeis/234/A234017.asm | neoneye/loda | 22 | 5613 | <gh_stars>10-100
; A234017: Inverse function for injection A055938.
; 0,0,1,0,0,2,3,0,0,4,0,0,5,6,7,0,0,8,0,0,9,10,0,0,11,0,0,12,13,14,15,0,0,16,0,0,17,18,0,0,19,0,0,20,21,22,0,0,23,0,0,24,25,0,0,26,0,0,27,28,29,30,31,0,0,32,0,0,33,34,0,0,35,0,0,36,37,38,0,0,39,0,0,40,41,0,0,42,0,0,43,44,45,46,0,0,47,0,0,48
mov $4,2
m... |
mc-sema/validator/x86/tests/SHUFPSrri.asm | randolphwong/mcsema | 2 | 90863 | BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_SF|FLAG_PF
;TEST_FILE_META_END
;TEST_BEGIN_RECORDING
lea ecx, [esp-0x30]
and ecx, 0xFFFFFFF0
mov dword [ecx+0x00], 0xAAAAAAAA
mov dword [ecx+0x04], 0xBBBBBBBB
mov dword [ecx+0x08], 0xCCCCCCCC
mov dword [ecx+0x0C], 0xDDDDDDDD
movdqu xmm1, [ecx]
mo... |
objects/objects.asm | StraDaMa/mmbn6-pikachu-boss-battle | 7 | 91335 | <filename>objects/objects.asm
;add some sprites to temp attack object
.vorg 0x080B8E88, 0x080BAF18
.word temp_attack_object_list
.vorg 0x080B8E9C, 0x080BAF2C
.word temp_attack_object_list
;add the pikachu chip object to object list
.vorg 0x08003C9C + (PIKACHU_CHIP_OBJECT_ID * 4), 0x08003C80 + (PIKACHU_CHIP_OBJECT_... |
libsrc/target/homelab2/stdio/generic_console.asm | Frodevan/z88dk | 640 | 99154 |
SECTION code_clib
PUBLIC generic_console_cls
PUBLIC generic_console_vpeek
PUBLIC generic_console_printc
PUBLIC generic_console_scrollup
PUBLIC generic_console_ioctl
PUBLIC generic_console_set_ink
PUBLIC generic_console_set_paper
PUBL... |
test/src/yaml-lexer-buffering_test.ads | robdaemon/AdaYaml | 32 | 22207 | <reponame>robdaemon/AdaYaml
-- part of AdaYaml, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "copying.txt"
with AUnit; use AUnit;
with AUnit.Test_Cases; use AUnit.Test_Cases;
package Yaml.Lexer.Buffering_Test is
type TC is new Test_Cases.Test_Case with record
Pool : Text.Poo... |
ada/memory_analyzer.adb | andreas-woelfl/astma | 0 | 3250 | with Text_IO;
package body Memory_Analyzer is
function Bytes_Required (Value : in Integer) return Integer is
Bytes_To_Long_Word : constant Integer := 4;
Offset_To_Byte_In_Bits : constant Integer := 8 - 1;
Offset_To_Long_Word_In_Bytes : Integer := Bytes_To_Long_Word - 1;
begin
r... |
oeis/192/A192257.asm | neoneye/loda-programs | 11 | 13552 | ; A192257: 1-sequence of reduction of (n^3) by x^2 -> x+1.
; Submitted by <NAME>
; 0,8,35,163,538,1618,4362,11018,26327,60327,133532,287324,603692,1243044,2515419,5013979,9863110,19176814,36900470,70348470,132999135,249552143,465041880,861196248,1585696248,2904335648,5293714067,9605482003
add $0,1
mov $2,$0
lpb $0
a... |
src/information.adb | kraileth/ravenadm | 18 | 2528 | -- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with Ada.Text_IO;
package body Information is
package TIO renames Ada.Text_IO;
--------------------------------------------------------------------------------------------
-- display_usage
---------... |
src/spread/redraw.asm | olifink/qspread | 0 | 103282 | <reponame>olifink/qspread<gh_stars>0
* Spreadsheet 24/02-92
* - window item redraw
section prog
include win1_keys_wman
include win1_keys_wstatus
include win1_keys_wwork
include win1_keys_qdos_pt
include win1_keys_qdos_io
include win1_mac_oli
include win1_spread_keys
xdef rdw_c... |
oeis/041/A041367.asm | neoneye/loda-programs | 11 | 16796 | ; A041367: Denominators of continued fraction convergents to sqrt(198).
; Submitted by <NAME>(s1.)
; 1,14,393,5516,154841,2173290,61006961,856270744,24036587793,337368499846,9470354583481,132922332668580,3731295669303721,52371061702920674,1470121023351082593,20634065388618076976,579223951904657237921,812976939205381940... |
programs/oeis/231/A231104.asm | karttu/loda | 1 | 173338 | <filename>programs/oeis/231/A231104.asm
; A231104: Number of n X 4 0..3 arrays x(i,j) with each element horizontally or antidiagonally next to at least one element with value (x(i,j)+1) mod 4, no adjacent elements equal, and upper left element zero.
; 0,6,48,438,3936,35430,318864,2869782,25828032,232452294,2092070640,1... |
mc-sema/validator/x86_64/tests/DIV_F32m.asm | randolphwong/mcsema | 2 | 5932 | BITS 64
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_FPU_C1|FLAG_FPU_PE
;TEST_FILE_META_END
; set up st0 to be 3.141593
FLDPI
FLD1
;TEST_BEGIN_RECORDING
lea rdi, [rsp-08]
FSTP dword [rdi]
FDIV dword [rdi]
mov edi, 0
;TEST_END_RECORDING
|
id6/id1152.ada | hulpke/smallgrp | 5 | 29460 | <filename>id6/id1152.ada
#############################################################################
##
#W id1152.ada GAP library of id's <NAME>
##
ID_GROUP_TREE.next[1152].next[1].next[105]:=
rec(
fp:= [ 105, 605, 1105, 1605, 2105 ],
next:= [ rec(
fp:= [ 20934, 65539, 72409, 97866 ]... |
source/league/matreshka-internals-regexps-engine-pike.adb | svn2github/matreshka | 24 | 14178 | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
Cubical/HITs/Interval/Base.agda | limemloh/cubical | 0 | 2016 | <filename>Cubical/HITs/Interval/Base.agda
{-# OPTIONS --cubical --safe #-}
module Cubical.HITs.Interval.Base where
open import Cubical.Core.Everything
open import Cubical.Foundations.Prelude
data Interval : Type₀ where
zero : Interval
one : Interval
seg : zero ≡ one
isContrInterval : isContr Interval
isCont... |
libsrc/cpc/cpc_fdc.asm | grancier/z180 | 0 | 97114 | <reponame>grancier/z180
;;
;; Code coming from: http://www.cepece.info/amstrad/source.html
;;
;; This example shows how it is possible to detect a Amstrad
;; or Vortex floppy disc controller.
;;
;; Both controllers use a NEC765 compatible floppy disc controller,
;; and the same control method to read/write to the disc... |
libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/___fsdiv2.asm | jpoikela/z88dk | 0 | 100925 |
SECTION code_fp_math32
PUBLIC ___fsdiv2
EXTERN cm32_sdcc_fsdiv2
defc ___fsdiv2 = cm32_sdcc_fsdiv2
|
Applications/TextEdit/windows/count of windows.applescript | looking-for-a-job/applescript-examples | 1 | 1561 | #!/usr/bin/osascript
tell application "TextEdit"
count of windows
end tell
|
Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2.log_17071_222.asm | ljhsiun2/medusa | 9 | 18378 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1b689, %rsi
lea addresses_A_ht+0x15009, %rdi
nop
nop
xor $15513, %rdx
mov $126, %rcx
rep movsb
nop
xor $17975, %r13
lea addresses_A_ht+0x156fd, %rbp
nop
nop
nop
nop
xor %r13,... |
oeis/020/A020708.asm | neoneye/loda-programs | 11 | 26488 | ; A020708: Pisot sequences E(4,9), P(4,9).
; 4,9,20,44,97,214,472,1041,2296,5064,11169,24634,54332,119833,264300,582932,1285697,2835694,6254320,13794337,30424368,67103056,148000449,326425266,719953588,1587907625,3502240516,7724434620,17036776865,37575794246,82876023112,182788823089,403153440424,889182903960,19611546310... |
oeis/027/A027975.asm | neoneye/loda-programs | 11 | 29850 | ; A027975: a(n) is the n-th diagonal sum of left justified array T given by A027960.
; Submitted by <NAME>
; 1,1,4,5,8,12,16,23,31,42,57,76,102,136,181,241,320,425,564,748,992,1315,1743,2310,3061,4056,5374,7120,9433,12497,16556,21933,29056,38492,50992,67551,89487,118546,157041,208036,275590,365080,483629,640673,848712,... |
src/test/ref/sinusgen8.asm | jbrandwood/kickc | 2 | 7143 | /// @file
/// Sine Generator functions using only multiplication, addition and bit shifting
///
/// Uses a single division for converting the wavelength to a reciprocal.
/// Generates sine using the series sin(x) = x - x^/3! + x^-5! - x^7/7! ...
/// Uses the approximation sin(x) = x - x^/6 + x^/128
/// Optimization pos... |
non_regression/other_x86_linux_2.mingw.s.asm | LRGH/plasmasm | 1 | 14407 | .file "a03bis.c"
.intel_syntax
.text
.def _toto; .scl 2; .type 32; .endef
_toto:
push ebp
mov ebp, esp
mov eax, DWORD PTR [ebp+8]
inc DWORD PTR [eax]
pop ebp
ret
# ----------------------
.def _tata; .scl 2; .type 32; .endef
_tata:
push ebp
mov ebp, esp
mov ... |
programs/oeis/296/A296160.asm | neoneye/loda | 22 | 21779 | <filename>programs/oeis/296/A296160.asm
; A296160: Sum of the larger parts of the partitions of n into two parts such that the smaller part is even.
; 0,0,0,2,3,4,5,10,12,14,16,24,27,30,33,44,48,52,56,70,75,80,85,102,108,114,120,140,147,154,161,184,192,200,208,234,243,252,261,290,300,310,320,352,363,374,385,420,432,444... |
arch/ARM/Nordic/svd/nrf51/nrf51_svd-rtc.ads | bosepchuk/Ada_Drivers_Library | 6 | 12734 | -- Copyright (c) 2013, Nordic Semiconductor ASA
-- 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 notice, this
-- lis... |
mc-sema/validator/x86/tests/Composite1.asm | randolphwong/mcsema | 2 | 100614 | BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
; Composite1
mov eax, 0x18
;TEST_BEGIN_RECORDING
mov ecx, eax
xor eax, eax
xor ebx, ebx
cmp ebx, ecx
;TEST_END_RECORDING
|
programs/oeis/026/A026395.asm | neoneye/loda | 22 | 171540 | <filename>programs/oeis/026/A026395.asm
; A026395: a(n) = 5*a(n-2), starting 1,2,4.
; 1,2,4,10,20,50,100,250,500,1250,2500,6250,12500,31250,62500,156250,312500,781250,1562500,3906250,7812500,19531250,39062500,97656250,195312500,488281250,976562500,2441406250,4882812500,12207031250
mul $0,2
add $0,2
seq $0,224251 ; Num... |
agda/Categories/Coequalizer.agda | oisdk/combinatorics-paper | 6 | 378 | <reponame>oisdk/combinatorics-paper<gh_stars>1-10
{-# OPTIONS --cubical --safe #-}
open import Prelude
open import Categories
module Categories.Coequalizer {ℓ₁ ℓ₂} (C : Category ℓ₁ ℓ₂) where
open Category C
private
variable
h i : X ⟶ Y
record Coequalizer (f g : X ⟶ Y) : Type (ℓ₁ ℓ⊔ ℓ₂) where
field
{ob... |
libtool/src/gmp-6.1.2/mpn/pa32/hppa1_1/pa7100/submul_1.asm | kroggen/aergo | 1,602 | 19593 | <gh_stars>1000+
dnl HP-PA 7100/7200 mpn_submul_1 -- Multiply a limb vector with a limb and
dnl subtract the result from a second limb vector.
dnl Copyright 1995, 2000-2003 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute... |
src/game_level/player.asm | TypeDefinition/NautiBuoy | 2 | 82820 | <gh_stars>1-10
INCLUDE "./src/include/hardware.inc"
INCLUDE "./src/include/structs.inc"
INCLUDE "./src/include/entities.inc"
INCLUDE "./src/include/util.inc"
INCLUDE "./src/include/tile_collision.inc"
INCLUDE "./src/include/movement.inc"
SECTION "Player Data", WRAM0
dstruct Character, wPlayer
dstruct PlayerEff... |
libsrc/stdio_new/file/vscanf.asm | meesokim/z88dk | 8 | 241492 | <filename>libsrc/stdio_new/file/vscanf.asm
; wrapper for function pointers
PUBLIC vscanf
EXTERN vfscanf_callee
EXTERN ASMDISP_VFSCANF_CALLEE, _stdin
.vscanf
pop hl
pop bc
pop de
push de
push bc
push hl
ld ix,(_stdin)
jp vfscanf_callee + ASMDISP_VFSCANF_CALLEE
|
8085_programming/8085 Programs/test10.asm | SayanGhoshBDA/code-backup | 16 | 242370 | .ORG 0000H
LDA 2200H
SUB A
LXI H,2201H
BACK: ADD M
INX H
DCR C
JNZ BACK
STA 2300H
HLT |
src/Projects/eu_projects-nodes-timed_nodes-project_infos.ads | fintatarta/eugen | 0 | 10724 | with EU_Projects.Nodes;
with EU_Projects.Times.Time_Expressions;
with Eu_Projects.Event_Names;
with EU_Projects.Node_Tables;
package Eu_Projects.Nodes.Timed_Nodes.Project_Infos is
type Project_Info is new Timed_Node with private;
type Info_Access is access all Project_Info;
function Create (Label : N... |
oeis/163/A163623.asm | neoneye/loda-programs | 11 | 27222 | ; A163623: Primes of the form 120*k + 1.
; Submitted by <NAME>(s4)
; 241,601,1201,1321,1801,2161,2281,2521,3001,3121,3361,4201,4441,4561,4801,5281,5521,5641,5881,6121,6361,6481,6841,6961,7321,7561,7681,8161,8521,8641,8761,9001,9241,9601,9721,10321,11161,12241,12601,12721,12841,13441,13681,13921,14281,14401,15121,15241,... |
alloy4fun_models/trainstlt/models/4/K3kqsbyRZGhMy4RGN.als | Kaixi26/org.alloytools.alloy | 0 | 2376 | open main
pred idK3kqsbyRZGhMy4RGN_prop5 {
always(
all t:Train{
no t.pos :> Exit => eventually(t.pos in t.pos.prox)
some t.pos :> Exit => eventually(no t.pos)
}
)
}
pred __repair { idK3kqsbyRZGhMy4RGN_prop5 }
check __repair { idK3kqsbyRZGhMy4RGN_prop5 <=> prop5o } |
examples/ifs.asm | cs101course/microprocessorExamples | 0 | 84124 | <gh_stars>0
// A
LDR0 0 // y
SDR0 AY
LDR0 128 // x
SDR0 AX
// B
LDR0 255 // y
SDR0 BY
LDR0 0 // x
SDR0 BX
// C
LDR0 255 // y
SDR0 CY
LDR0 255 // x
SDR0 CX
// PT
42 // Undocumented instruction: R0 = random value
SDR0 PTY// y
42
SDR0 PTX // x
START:
42 // Which of A, B, or C?
LDR1 3
MOD
... |
cralinkr/grammar/src/main/antlr4/com/soebes/cralinkr/grammar/expression/Expr.g4 | khmarbaise/jacem | 3 | 3990 | grammar Expr;
/*
* 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 copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "... |
oeis/125/A125818.asm | neoneye/loda-programs | 11 | 240128 | ; A125818: a(n) = ((1 + 3*sqrt(2))^n + (1 - 3*sqrt(2))^n)/2.
; Submitted by <NAME>
; 1,1,19,55,433,1801,10963,52543,291457,1476145,7907059,40908583,216237169,1127920249,5931872371,31038388975,162918608257,853489829089,4476595998547,23462519091607,123027170158513,644917164874345,3381296222443411,17726184247750687,929344... |
awa/plugins/awa-setup/src/awa-setup-applications.ads | twdroeger/ada-awa | 81 | 17583 | <filename>awa/plugins/awa-setup/src/awa-setup-applications.ads
-----------------------------------------------------------------------
-- awa-setup-applications -- Setup and installation
-- Copyright (C) 2016, 2017, 2018, 2019, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Vers... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i9-9900K_12_0xa0.log_21829_1815.asm | ljhsiun2/medusa | 9 | 6194 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r9
push %rsi
lea addresses_UC_ht+0x14a7f, %rsi
xor %r9, %r9
movb (%rsi), %r12b
nop
nop
nop
xor $18264, %r14
pop %rsi
pop %r9
pop %r14
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r13
push %r14
push %r8
push %r9
push %rbp
push %rdi
pu... |
segments/mailunread.scpt | devanlooches/tmux-config | 0 | 3824 | tell application "System Events"
set mailRun to false
if (get name of every application process) contains "Mail" then
set mailRun to true
end if
end tell
if mailRun = true then
tell application "Mail"
if unread count of inbox > 0 then
set a to unread count of inbox
set a to "│ 📩 " & a
return a
end ... |
programs/oeis/298/A298011.asm | neoneye/loda | 22 | 2183 | ; A298011: If n = Sum_{i=1..h} 2^b_i with 0 <= b_1 < ... < b_h, then a(n) = Sum_{i=1..h} i * 2^b_i.
; 0,1,2,5,4,9,10,17,8,17,18,29,20,33,34,49,16,33,34,53,36,57,58,81,40,65,66,93,68,97,98,129,32,65,66,101,68,105,106,145,72,113,114,157,116,161,162,209,80,129,130,181,132,185,186,241,136,193,194,253,196,257,258,321,64,129... |
EP1 - Rodando a baiana/EP1.asm | mateuslatrova/TecnicasDeProgramacao1 | 0 | 245362 | <filename>EP1 - Rodando a baiana/EP1.asm
########### EP1 - Rodando a baiana #############
# Dupla:
# <NAME> - NUSP 12542821
# <NAME> - NUSP 12543307
#### Convenções utilizadas ####
# - Em relação aos registradores de float:
# O registrador $f0 foi usado como valor de retorno.
# Já os registradores $f1-$f5 foram usad... |
sharding-core/src/main/antlr4/imports/MySQLTruncateTable.g4 | chuanandongxu/sharding-sphere | 0 | 4622 | grammar MySQLTruncateTable;
import MySQLKeyword, Keyword, BaseRule;
truncateTable
: TRUNCATE TABLE? tableName
; |
game/data/screen.asm | pompshuffle/super-tilt-bro | 2 | 243916 | palette_title:
; Background
.byt $21,$0d,$21,$30, $21,$0d,$20,$00, $21,$20,$0d,$00, $21,$0d,$21,$21, ; 0 - logo, 1 - credits title, 2 - credits section, 3 - text and number with same colors
; Sprites
.byt $21,$0d,$21,$00, $21,$00,$00,$00, $21,$00,$00,$00, $21,$0d,$00,$31 ; 0 - text, 1,2 - unused, 3 - cloud
palette_gam... |
src/asis/a4g-contt.ads | My-Colaborations/dynamo | 15 | 2513 | ------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- --
-- ... |
vendor/stdlib/src/Data/Maybe/Core.agda | isabella232/Lemmachine | 56 | 4356 | <filename>vendor/stdlib/src/Data/Maybe/Core.agda
------------------------------------------------------------------------
-- The Maybe type
------------------------------------------------------------------------
-- The definitions in this file are reexported by Data.Maybe.
module Data.Maybe.Core where
data Maybe (A... |
src/ttf/sdl-ttfs-makers.ads | Fabien-Chouteau/sdlada | 1 | 28659 | --------------------------------------------------------------------------------------------------------------------
-- Copyright (c) 2013-2020, <NAME>
--
-- This software is provided 'as-is', without any express or implied
-- warranty. In no event will the authors be held liable for any damages
-- arising from the... |
forktest.asm | dmansilva/OSProject03 | 0 | 26354 | <reponame>dmansilva/OSProject03
_forktest: file format elf32-i386
Disassembly of section .text:
00000000 <printf>:
#define N 1000
void
printf(int fd, char *s, ...)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 ec 18 sub $0x18,%esp
write(fd, ... |
Transynther/x86/_processed/NONE/_st_/i3-7100_9_0x84_notsx.log_21829_1689.asm | ljhsiun2/medusa | 9 | 97194 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xb1c6, %r9
nop
and $63868, %r8
mov $0x6162636465666768, %r12
movq %r12, (%r9)
nop
nop
dec %r14
lea addresses_WC_ht+0x1a546, %rdi
nop
nop
nop
nop
and $73... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_20345_1762.asm | ljhsiun2/medusa | 9 | 178469 | <filename>Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_20345_1762.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x1431c, %r12
nop
nop
nop
cmp $58893, %rdi
mov $0x6162636465666768, %rbx
movq %rbx, %xmm2
vmovups %ym... |
Funtions_clear_bufferKeyboard.asm | mathoian/Function_clear_bufferKeyboard | 0 | 24878 | <reponame>mathoian/Function_clear_bufferKeyboard
; set data segment:
push cs
pop ds
; set default video mode 80x25:
mov ah, 00h
mov al, 03h
int 10h
; blinking disabled for compatibility with dos/bios,
; emulator and windows prompt never blink.
mov ax, 1003h
mov bx, 0 ; disable blinking... |
osascripts/darwin/key_tap.applescript | liangjingyang/voice_kit | 0 | 1090 | <reponame>liangjingyang/voice_kit
-- click key
-- osascript key_tap.applescript keycodes, times, modifiers, delay
on run argv
set keyCodes to item 1 of argv
set keyCodes to my theSplit(keyCodes, ",")
set theTimes to 1
if (count of argv) ≥ 2 then
set theTimes to item 2 of argv
end if
set theModifiers to {... |
src/main/antlr/Canon.g4 | leftshiftone/canon | 0 | 595 | <gh_stars>0
/*
* Lexer Rules
*/
grammar Canon;
IDENTIFIER : (Letter | SpecialChar) (LetterOrDigit | SpecialChar)*;
HEADLINE : '= ' Character+;
ITEM : '. ' Character+;
BOLD : '*' Character+ '*';
CODE : '----' Character+ '----';
IMAGE : 'image::' Character+;
STARTTAG : '// tag::' IDENTIFIER... |
libsrc/_DEVELOPMENT/adt/bv_priority_queue/z80/asm_bv_priority_queue_destroy.asm | jpoikela/z88dk | 640 | 86811 |
; ===============================================================
; Mar 2014
; ===============================================================
;
; void bv_priority_queue_destroy(bv_priority_queue_t *q)
;
; Zero the queue structure and release memory.
;
; ===============================================================... |
test/asset/agda-stdlib-1.0/Data/List/All.agda | omega12345/agda-mode | 0 | 2814 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- This module is DEPRECATED. Please use Data.List.Relation.Unary.All
-- directly.
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
module Data.List.All w... |
_build/dispatcher/jmp_ippsGFpECESInit_SM2_a1eea20b.asm | zyktrcn/ippcp | 1 | 244618 | extern m7_ippsGFpECESInit_SM2:function
extern n8_ippsGFpECESInit_SM2:function
extern y8_ippsGFpECESInit_SM2:function
extern e9_ippsGFpECESInit_SM2:function
extern l9_ippsGFpECESInit_SM2:function
extern n0_ippsGFpECESInit_SM2:function
extern k0_ippsGFpECESInit_SM2:function
extern ippcpJumpIndexForMergedLibs
extern ippcp... |
INIGrammar_1_old.g4 | alvinvinvinvin/capstone | 0 | 4740 | /**
* Define a grammar called Hello
*/
grammar INIGrammar_1;
init: (section|NEWLINE)* ;
section: section_name (contents)+ ;
//
//
section_name: '[' phase_name ':' v ']'
|'[' phase_name ']';
//
phase_name : mtt
|mpi_get
|mpi_install
|mpi_details
|test_get
|test_build
|test_run
|reporter
... |
oeis/195/A195177.asm | neoneye/loda-programs | 11 | 26017 | ; A195177: a(n) = 3*n - floor(2*n*sqrt(2)).
; Submitted by <NAME>(s1)
; 0,1,1,1,1,1,2,2,2,2,2,2,3,3,3,3,3,3,4,4,4,4,4,4,5,5,5,5,5,5,6,6,6,6,6,7,7,7,7,7,7,8,8,8,8,8,8,9,9,9,9,9,9,10,10,10,10,10,10,11,11,11,11,11,11,12,12,12,12,12,13,13,13,13,13,13,14,14,14,14,14,14,15,15,15,15,15,15,16,16,16,16,16,16,17,17,17,17,17,17
... |
Task/100-doors/AppleScript/100-doors-2.applescript | LaudateCorpus1/RosettaCodeData | 1 | 1438 | <filename>Task/100-doors/AppleScript/100-doors-2.applescript
-- FINAL DOOR STATES ---------------------------------------------------------
-- finalDoors :: Int -> [(Int, Bool)]
on finalDoors(n)
-- toggledCorridor :: [(Int, Bool)] -> (Int, Bool) -> Int -> [(Int, Bool)]
script toggledCorridor
on |λ|(a,... |
Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2_notsx.log_83_1152.asm | ljhsiun2/medusa | 9 | 12040 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1dd9f, %r13
inc %rbx
mov $0x6162636465666768, %rdi
movq %rdi, %xmm6
movups %xmm6, (%r13)
nop
nop
add $3942, %rdx
lea addresses_normal_ht+0x4b05, %rsi
lea addresses_D_ht+0x12f... |
List.agda | hazelgrove/hazelnat-myth- | 1 | 17236 | open import Prelude
open import Nat
open import Agda.Primitive using (Level; lzero; lsuc) renaming (_⊔_ to lmax)
module List where
-- definitions
data List (A : Set) : Set where
[] : List A
_::_ : A → List A → List A
_++_ : {A : Set} → List A → List A → List A
[] ++ l₂ = l₂
(h :: l₁) ++ l₂ = h :: ... |
programs/oeis/267/A267584.asm | neoneye/loda | 22 | 168786 | ; A267584: a(0)=1; thereafter a(n) = 2^(1 + number of zeros in binary expansion of n).
; 1,2,4,2,8,4,4,2,16,8,8,4,8,4,4,2,32,16,16,8,16,8,8,4,16,8,8,4,8,4,4,2,64,32,32,16,32,16,16,8,32,16,16,8,16,8,8,4,32,16,16,8,16,8,8,4,16,8,8,4,8,4,4,2,128,64,64,32,64,32,32,16,64,32,32,16,32,16,16,8,64,32,32,16,32,16,16,8,32,16,16,8... |
tests/control-hazard-2.asm | skyzh/RISCV-Simulator | 106 | 103122 | .globl main
.text
main:
li a6, 10
li a7, 10
beq a6, a7, test
addi a0, a0, 8
addi a0, a0, 8
addi a0, a0, 8
addi a0, a0, 8
test:
addi a0, a0, 8
li a2,255
lui a3,0x30
sb a2,4(a3)
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
|
oeis/099/A099743.asm | neoneye/loda-programs | 11 | 5662 | <filename>oeis/099/A099743.asm
; A099743: Number of permutations with exactly 1 valley which avoid the pattern 1324.
; Submitted by <NAME>
; 0,0,2,15,75,313,1179,4161,14051,45993,147195,463345,1440723,4438905,13582955,41350977,125404611,379228489,1144370139,3447856017,10375942835,31198607385,93749962827,281584384225,84... |
src/jason-projects-modules.adb | stcarrez/jason | 2 | 14276 | -----------------------------------------------------------------------
-- jason-projects-modules -- Module projects
-- Copyright (C) 2016, 2017, 2019 Stephane.Carrez
-- Written by Stephane.Carrez (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in... |
src/formatted_output-time_output.ads | VitalijBondarenko/Formatted_Output_NG | 0 | 14610 | <filename>src/formatted_output-time_output.ads
------------------------------------------------------------------------------
-- --
-- Copyright (c) 2016-2021 <NAME> <<EMAIL>> --
-- ... |
tests/polymorphism/src/generic_signal.ads | TUM-EI-RCS/StratoX | 12 | 21865 | -- Institution: Technische Universität München
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
--
-- Authors: <NAME> (<EMAIL>)
--
-- Description: Generic signal package
--
-- ToDo:
-- [ ] Implementation
with Units; use Units;
generic
type Data_Type is private;
-- with function "/" (X :... |
native/darwin/default.scpt | ssight/native-prompt | 17 | 2073 | <filename>native/darwin/default.scpt
on run (clp)
display dialog clp's item 2 with title clp's item 1 default answer clp's item 3 buttons {"Cancel", "OK"} default button 2
end run |
Cubical/Structures/Auto.agda | knrafto/cubical | 0 | 9862 | {-
Macros (autoDesc, AutoStructure, AutoEquivStr, autoUnivalentStr) for automatically generating structure definitions.
For example:
autoDesc (λ (X : Type₀) → X → X × ℕ) ↦ function+ var (var , constant ℕ)
We prefer to use the constant structure whenever possible, e.g., [autoDesc (λ (X : Type₀) → ℕ → ℕ)]
is [c... |
oeis/108/A108918.asm | neoneye/loda-programs | 11 | 178212 | ; A108918: Reversed binary words in reversed lexicographic order.
; Submitted by <NAME>
; 1,3,2,5,7,6,4,9,11,10,13,15,14,12,8,17,19,18,21,23,22,20,25,27,26,29,31,30,28,24,16,33,35,34,37,39,38,36,41,43,42,45,47,46,44,40,49,51,50,53,55,54,52,57,59,58,61,63,62,60,56,48,32,65,67,66,69,71,70,68,73,75,74,77,79,78,76,72,81,83... |
archive/agda-1/HasDecidableVacuousDischarge.agda | m0davis/oscar | 0 | 9085 | <filename>archive/agda-1/HasDecidableVacuousDischarge.agda
module HasDecidableVacuousDischarge where
open import OscarPrelude
--open import HasVacuousDischarge
open import HasSubstantiveDischarge
open import HasNegation
record HasDecidableVacuousDischarge (A : Set) : Set₁
where
field
-- ⦃ hasVacuousDischarge ... |
source/oasis/program-elements-exception_renaming_declarations.ads | reznikmm/gela | 0 | 3618 | <filename>source/oasis/program-elements-exception_renaming_declarations.ads
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Declarations;
with Program.Elements.Defining_Identifiers;
with Program.Le... |
programs/oeis/086/A086851.asm | neoneye/loda | 22 | 245613 | <reponame>neoneye/loda
; A086851: a(0) = 1, a(n+1) = a(n)^2 - n.
; 1,1,0,-2,1,-3,4,10,93,8641,74666872,5575141774264374,31082205803147712138788845611865
mov $2,$0
lpb $0
mov $0,$2
add $1,1
pow $1,2
add $3,1
sub $0,$3
sub $1,$2
add $1,$0
lpe
add $1,1
mov $0,$1
|
libsrc/_DEVELOPMENT/adt/wv_priority_queue/c/sdcc_iy/wv_priority_queue_top.asm | jpoikela/z88dk | 640 | 103189 |
; void *wv_priority_queue_top(wv_priority_queue_t *q)
SECTION code_clib
SECTION code_adt_wv_priority_queue
PUBLIC _wv_priority_queue_top
EXTERN _wa_priority_queue_top
defc _wv_priority_queue_top = _wa_priority_queue_top
|
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48.log_21829_1859.asm | ljhsiun2/medusa | 9 | 5492 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48.log_21829_1859.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r15
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x13ca5, %r14
nop
nop
nop
cmp $46434, %r11
movb $0x6... |
codigo/capitulo 37/cadena_busqueda.asm | codeneomatrix/ENSAMBLADOR-x86-ACEVEDO | 1 | 100347 | <filename>codigo/capitulo 37/cadena_busqueda.asm
segment .data
string1 db 'hola cadenas'
len equ $-string1
encontrado db 'letra encontrada'
lenencontrado equ $-encontrado
noencontrado db 'letra no encontrada'
lennoenecontrado equ $-noencontrado
ln db 10,13
lenln equ $-ln
segment .text
global _start
_start:... |
src/LibraBFT/Impl/Types/OnChainConfig/ValidatorSet.agda | LaudateCorpus1/bft-consensus-agda | 0 | 14675 | <filename>src/LibraBFT/Impl/Types/OnChainConfig/ValidatorSet.agda
{- Byzantine Fault Tolerant Consensus Verification in Agda, version 0.9.
Copyright (c) 2021, Oracle and/or its affiliates.
Licensed under the Universal Permissive License v 1.0 as shown at https://opensource.oracle.com/licenses/upl
-}
open import... |
src/SharpTLEX.Parsing/TimeMLLexer.g4 | codetancy/SharpTLEX | 0 | 352 | <reponame>codetancy/SharpTLEX<gh_stars>0
lexer grammar TimeMLLexer;
COMMENT: '<!--' .*? '-->';
OPEN_ANGLE: '<' -> pushMode(inside);
OPEN_CLOSING_ANGLE: '</' -> pushMode(inside);
SPECIAL_OPEN_ANGLE: '<?' -> pushMode(inside);
WS : [ \t\r\n]+ -> skip;
TEXT: ~[<]+;
mode inside;
CLOSE_ANGLE: '>' -> popMode;
SLASH_CLOSE... |
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_iy/cm48_sdcciyp_ds2slong_callee.asm | jpoikela/z88dk | 640 | 6446 | <reponame>jpoikela/z88dk
; signed long __fs2slong_callee(float f)
SECTION code_clib
SECTION code_fp_math48
PUBLIC cm48_sdcciyp_ds2slong_callee
EXTERN cm48_sdcciyp_dcallee1, am48_dfix32
cm48_sdcciyp_ds2slong_callee:
; double to signed long
;
; enter : stack = sdcc_float x, ret
;
; exit : dehl = (lo... |
oeis/051/A051879.asm | neoneye/loda-programs | 11 | 175589 | ; A051879: Partial sums of A051798.
; Submitted by <NAME>
; 1,14,69,224,574,1260,2478,4488,7623,12298,19019,28392,41132,58072,80172,108528,144381,189126,244321,311696,393162,490820,606970,744120,904995,1092546,1309959,1560664
mov $1,$0
add $0,4
bin $0,$1
mul $1,9
add $1,5
mul $0,$1
mul $0,2
div $0,10
|
data/pokemon/base_stats/flygon.asm | AtmaBuster/pokeplat-gen2 | 6 | 103340 | <filename>data/pokemon/base_stats/flygon.asm<gh_stars>1-10
db 0 ; species ID placeholder
db 80, 100, 80, 100, 80, 80
; hp atk def spd sat sdf
db GROUND, DRAGON ; type
db 45 ; catch rate
db 197 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 20 ; step cycles to hatch
INCBIN ... |
oeis/158/A158765.asm | neoneye/loda-programs | 11 | 26588 | ; A158765: a(n) = 76*n^2 - 1.
; Submitted by <NAME>
; 75,303,683,1215,1899,2735,3723,4863,6155,7599,9195,10943,12843,14895,17099,19455,21963,24623,27435,30399,33515,36783,40203,43775,47499,51375,55403,59583,63915,68399,73035,77823,82763,87855,93099,98495,104043,109743,115595,121599,127755,134063,140523,147135,153899,16... |
oeis/016/A016201.asm | neoneye/loda-programs | 11 | 103240 | ; A016201: Expansion of 1/((1-x)(1-2x)(1-7x)).
; Submitted by <NAME>(s1)
; 1,10,77,554,3909,27426,192109,1345018,9415637,65910482,461375421,3229632042,22607432485,158252043778,1107764339213,7754350440026,54280453211253,379963172740914,2659742209710685
mov $2,1
lpb $0
sub $0,1
add $1,$2
mul $1,2
mul $2,7
add ... |
programs/oeis/062/A062810.asm | neoneye/loda | 22 | 243213 | <filename>programs/oeis/062/A062810.asm
; A062810: a(n) = Sum_{i=1..n} i^(n - i) + (n - i)^i.
; 1,3,7,17,45,131,419,1465,5561,22755,99727,465537,2303829,12037571,66174411,381560425,2301307841,14483421859,94909491607,646309392369,4565559980989,33401808977411,252713264780595,1974606909857945,15914267811217673,13214354565... |
programs/oeis/019/A019778.asm | neoneye/loda | 22 | 179316 | ; A019778: Decimal expansion of sqrt(e)/5.
; 3,2,9,7,4,4,2,5,4,1,4,0,0,2,5,6,2,9,3,6,9,7,3,0,1,5,7,5,6,2,8,3,2,7,1,4,3,3,0,7,5,5,2,2,0,1,4,2,0,2,9,6,0,2,3,1,5,0,1,5,8,6,2,3,2,8,1,3,2,2,0,4,2,3,8,8,4,3,1,2,1,7,2,6,5,5,5,3,0,4,0,1,1,2,7,3,3,2,8,6
mov $1,1
mov $2,1
mov $3,$0
mul $3,5
lpb $3
mul $2,2
mul $2,$3
add $... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca_notsx.log_6_1064.asm | ljhsiun2/medusa | 9 | 11799 | <filename>Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca_notsx.log_6_1064.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r9
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x19940, %rbx
nop
nop
add $25452, %r11
mov $0x6162636465666768, %rax
movq %rax, (%rbx... |
libsrc/_DEVELOPMENT/adt/b_array/c/sccz80/b_array_resize_callee.asm | jpoikela/z88dk | 640 | 6077 | <gh_stars>100-1000
; int b_array_resize(b_array_t *a, size_t n)
SECTION code_clib
SECTION code_adt_b_array
PUBLIC b_array_resize_callee
EXTERN asm_b_array_resize
b_array_resize_callee:
pop hl
pop de
ex (sp),hl
jp asm_b_array_resize
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _b_array_resize_cal... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/aggr20_pkg.ads | best08618/asylo | 7 | 18146 | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/aggr20_pkg.ads
with System;
package Aggr20_Pkg is
procedure Proc;
Default_Nil_Address : constant System.Address := Proc'Address;
end Aggr20_Pkg;
|
Kernel/Assembly/IO.asm | bitPanG98/SillyOS | 1 | 83569 | global inb
global inw
global indw
global outb
global outw
global outdw
;edi: port esi: data
section .text
;Port input
inb:
xor rax, rax ;clear rax
mov dx, di ;16bit port
in al, dx ;get a byte
ret
inw:
xor rax, rax
mov dx, di
in ax, dx ;get 2 byte
ret
indw:
xor rax, rax
mo... |
src/commands/open_current_directory_in_terminal.applescript | Thom1729/SublimeConfig | 0 | 999 | <reponame>Thom1729/SublimeConfig
on run argv
set thePath to item 1 of argv
tell application "Terminal"
activate
delay 1
tell application "System Events" to keystroke "t" using {command down}
delay 1
do script ("cd " & the quoted form of thePath) in window 1
end tell... |
echo.asm | briansrls/xv6 | 0 | 9421 | <gh_stars>0
_echo: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
6: 83 ec 20... |
day01/main.adb | soerenbnoergaard/adventofcode2020 | 0 | 29997 | with Ada.Text_IO;
use Ada.Text_IO;
with Ada.Integer_Text_IO;
use Ada.Integer_Text_IO;
procedure Main is
Target: constant Integer := 2020;
Puzzle_Input: constant array (1 .. 200) of Integer := (
2000, 50, 1984, 1600, 1736, 1572, 2010, 1559, 1999, 1764,
1808, 1745, 1343, 1495, 1860, 1977, 1981, ... |
test/antidbg/windows/x64/antidbg.asm | jeppeter/py-obcode | 0 | 20032 |
.code
get_peb_ptr PROC
mov rax , qword ptr gs:[060h]
ret
get_peb_ptr ENDP
set_single_step PROC
pushfq
or byte ptr[esp+1],1
popfq
ret
set_single_step ENDP
set_int3 PROC
int 3
ret
set_int3 ENDP
prefix_hop_int3 PROC
db 0f3h,064h,0cch
ret
prefix_hop_int3 ENDP
kernel_break PROC
int 02dh
ret
kernel_break E... |
YonedaLemma.agda | jmchapman/Relative-Monads | 21 | 8695 | module YonedaLemma where
open import Library
open import Categories
open import Categories.Sets
open import Functors
open import Naturals
open import FunctorCat
HomF[-,_] : ∀{l m}{C : Cat {l}{m}}(X : Cat.Obj C) -> Fun (C Op) (Sets {m})
HomF[-,_] {C = C} B = functor
(\ X -> Hom X B)
(\ f g -> comp g f)
(ext \ _ ... |
test/Succeed/Issue2953.agda | cruhland/agda | 1,989 | 1745 |
module _ where
open import Agda.Builtin.IO
open import Agda.Builtin.String
open import Agda.Builtin.Unit
data D (A : Set) : Set where
L : A → D A
R : A → D A
data T : Set where
Var : (s : D String) → T
test : T → String
test (Var (L "abc")) = ""
test (Var (L s)) = ""
test (Var (R s)) = ""
|
ga_common/mouse_manager.adb | rogermc2/GA_Ada | 3 | 25831 |
with E2GA;
package body Mouse_Manager is
-- mouse position on last call to MouseButton() / MouseMotion()
Prev_Mouse_Pos : E2GA.Vector;
-- when true, MouseMotion() will rotate the model
Rotate_Model : Boolean := False;
Rotate_Model_Out_OfPPlane : Boolean := False;
-- rotation of th... |
lib/desktop.scpt | WEBZCC/pliim | 679 | 1134 | <filename>lib/desktop.scpt
# Hide Desktop
do shell script "defaults write com.apple.finder CreateDesktop -bool false; killall Finder"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.