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 |
|---|---|---|---|---|
3-mid/opengl/source/lean/model/opengl-model-arrow.ads | charlie5/lace | 20 | 566 | <filename>3-mid/opengl/source/lean/model/opengl-model-arrow.ads<gh_stars>10-100
package openGL.Model.arrow
--
-- Models an arrow.
--
is
type Item is abstract new openGL.Model.item with private;
private
type Item is abstract new openGL.Model.item with null record;
end openGL.Model.arrow;
|
Applications/Google-Chrome/window/front window/front window.applescript | looking-for-a-job/applescript-examples | 1 | 2277 | <reponame>looking-for-a-job/applescript-examples<filename>Applications/Google-Chrome/window/front window/front window.applescript
tell application "Google Chrome"
if count of windows>0 then
get properties of front window
zoomed of front window
presenting of front window
minimized of front window
name of front wind... |
Categories/Functor/Algebra.agda | copumpkin/categories | 98 | 15062 | <filename>Categories/Functor/Algebra.agda
{-# OPTIONS --universe-polymorphism #-}
module Categories.Functor.Algebra where
open import Level hiding (lift)
open import Categories.Category
open import Categories.Functor
record F-Algebra {o ℓ e} {C : Category o ℓ e} (F : Endofunctor C) : Set (o ⊔ ℓ) where
constructor ... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1808.asm | ljhsiun2/medusa | 9 | 3123 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1d53f, %r13
nop
nop
nop
nop
nop
sub $51579, %rbp
vmovups (%r13), %ymm6
vextracti128 $0, %ymm6, %xmm6
vpextrq $0, %xmm6, %rax
nop
nop
nop
su... |
programs/xtc.asm | re0ah/nameless-OS16 | 0 | 22024 | ;https://www.youtube.com/watch?v=Sck7ufPfOWY
;it is port of demo, author is https://www.pouet.net/prod.php?which=85670
%include "../source/syscall.inc"
mov ax, 0x0100
mov bx, SYSCALL_PIT_SET_FREQUENCY
int 0x20
mov si, 0x0100
push 0xa000
pop es
mov ax, 0x4f02
mov bx, si
int 0x10
mov bh, ... |
vp9/common/arm/neon/vp9_loopfilter_8_neon_asm.asm | jacklicn/webm.libvpx | 25 | 102571 | ;
; Copyright (c) 2013 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing proje... |
_tests/trkleene/t4.g4 | SKalt/Domemtech.Trash | 16 | 1528 | grammar t4;
xx : 'a' xx | 'a';
yy : yy 'b' | 'b' ;
zz : | 'a' | 'a' zz;
z2 : | 'b' | z2 'b';
|
src/spawn_manager-server.ads | persan/spawn-manager | 1 | 962 | private package Spawn_Manager.Server is
function Spawn (Request : Spawn_Request) return Spawn_Response;
end Spawn_Manager.Server;
|
ProgramA.asm | MostafaEbrahimi/OnlineCoffeeMIPS-OCM- | 0 | 21180 | .code
addi $a0,$a0,10
test:
addi $v0,$zero,20
addi $v1,$zero,3
syscall
addi $t0,$zero,10
addi $v0,$zero,10
syscall
.data
11
12
13
14
15 |
alloy4fun_models/trashltl/models/9/JRignmCgF9RBGdxJx.als | Kaixi26/org.alloytools.alloy | 0 | 1793 | <gh_stars>0
open main
pred idJRignmCgF9RBGdxJx_prop10 {
always( all f:Protected | always f in Protected)
}
pred __repair { idJRignmCgF9RBGdxJx_prop10 }
check __repair { idJRignmCgF9RBGdxJx_prop10 <=> prop10o } |
src/LibraBFT/Impl/Consensus/PendingVotes.agda | LaudateCorpus1/bft-consensus-agda | 0 | 6413 | {- 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
-}
import LibraBFT.Impl.Consensus.ConsensusTypes.Vote as Vote
... |
Sem4/AEIE_LAB/my1sim85-0.6.2/asm/testz5.asm | SOUMEE2000/Heritage-CSE-Codes | 0 | 93908 | ; program for up/down 7-segment counter
; - with run/pause select and blinking decimal point
; - requires only ONE table
; - 7-segment is common-cathode (i/o board)
; - sseg pin on i/o board need to be pulsed
; - c0 is the common pin (pulled LO to enable)
;
; connections:
; - PA0-PA7 (8255) => D0-D7 (IOB)
; - PB0 => up... |
sources/ippcp/asm_intel64/pcprij128encryptctr128pipee9as.asm | ymarkovitch/ipp-crypto | 0 | 162889 | <gh_stars>0
;===============================================================================
; Copyright 2015-2019 Intel Corporation
; All Rights Reserved.
;
; If this software was obtained under the Intel Simplified Software License,
; the following terms apply:
;
; The source code, information and material ("M... |
msu.asm | joshuadhowe/z3randomizer | 0 | 782 | <reponame>joshuadhowe/z3randomizer<gh_stars>0
;=======================================
;
; MSU-1 Enhanced Audio Patch
; <NAME> - Kamigami no Triforce
; Modified for VT Randomizer
;
; Author: qwertymodo
;
; Free space used: 0x77DDD-0x77F8A
;
;=======================================
!REG_MSU_STATUS = $2000
!REG_MSU_ID_... |
src/natools-web-comment_cookies.adb | faelys/natools-web | 1 | 6960 | <reponame>faelys/natools-web
------------------------------------------------------------------------------
-- Copyright (c) 2017, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this softw... |
Laburi/Lab7/1-max/max.asm | DanBrezeanu/IOCLA | 2 | 175204 | <reponame>DanBrezeanu/IOCLA
%include "io.inc"
section .text
global CMAIN
CMAIN:
; cele doua numere se gasesc in eax si ebx
mov eax, 4
mov ebx, 1
; TODO: aflati maximul folosind doar o instructiune de salt si push/pop
cmp eax, ebx
jle print
push ebx
mov ebx, eax
pop eax
p... |
oeis/259/A259057.asm | neoneye/loda-programs | 11 | 101259 | <gh_stars>10-100
; A259057: One-third of the even-indexed entries of A259056.
; Submitted by <NAME>
; -1,20,-560,20160,-887040,46126080,-2767564800,188194406400,-14302774886400,1201433090457600,-110531844322099200,11053184432209920000,-1193743918678671360000,138474294566725877760000,-17170812526274008842240000
add $0,... |
programs/oeis/226/A226858.asm | neoneye/loda | 22 | 83860 | ; A226858: Numbers n such that there are six distinct triples (k, k+n, k+2n) of squares.
; 258594336000,1034377344000,2327349024000,4137509376000,6464858400000,9309396096000,12671122464000,16550037504000,20946141216000,25859433600000
add $0,1
pow $0,2
mul $0,258594336000
|
src/test/resources/quickfixes/CreateRuleFix/missingRule.g4 | roggenbrot/intellij-plugin-v4 | 351 | 2992 | <gh_stars>100-1000
grammar missingRule;
myRule: newRule; |
src/q_gen_shuffle.adb | jfuica/bingada | 4 | 25279 | <gh_stars>1-10
with Ada.Numerics.Discrete_Random;
package body Q_Gen_Shuffle is
procedure P_Shuffle (List : in out Array_Type) is
package Discrete_Random is new Ada.Numerics.Discrete_Random
(Result_Subtype => Positive);
use Discrete_Random;
K : Positive;
G : Generator;
T : Element_Typ... |
programs/oeis/137/A137937.asm | neoneye/loda | 22 | 28254 | ; A137937: A137904(n) - A137575(n).
; 0,0,3,4,5,6,7,8,9,10,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86
seq $0,138100 ; The atomic numbers read along the odd-indexed rows of the Janet table of the elements.
trn $0,... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/div_no_warning.adb | best08618/asylo | 7 | 6252 | -- { dg-do compile }
procedure div_no_warning is
Flag : constant Boolean := False;
Var : Boolean := True;
function F return Boolean is
begin
return Var;
end F;
Int : Integer := 0;
begin
if Flag and then F then
Int := Int / 0;
end if;
end div_no_warning;
|
Mips/Studies/printingArray.asm | otavreis/-Computer-Architecture-and-Organization | 1 | 162316 | .data
myArray: .space 12 # 4 bytes for interger; 12 <- 3 position
newLine: .asciiz "\n"
.text
main:
addi $s0, $zero, 4
addi $s1, $zero, 10
addi $s2, $zero, 12
# Index = $t0
addi $t0, $zero, 0
sw $s0, myArray($t0) #store $s0 in $t0
addi $t0, $t0, 4
sw $s1, myArray($t0)
addi $t0, $t0, 4
sw $s... |
Task/Topic-variable/AppleScript/topic-variable-1.applescript | LaudateCorpus1/RosettaCodeData | 1 | 59 | <filename>Task/Topic-variable/AppleScript/topic-variable-1.applescript<gh_stars>1-10
on run
1 + 2
ap({square, squareRoot}, {result})
--> {9, 1.732050807569}
end run
-- square :: Num a => a -> a
on square(x)
x * x
end square
-- squareRoot :: Num a, Float b => a -> b
on squareRoot(x)
x ^ 0.5
end ... |
programs/oeis/175/A175780.asm | neoneye/loda | 22 | 98906 | <gh_stars>10-100
; A175780: Partial sums of floor(n^2/24).
; 0,0,0,0,0,1,2,4,6,9,13,18,24,31,39,48,58,70,83,98,114,132,152,174,198,224,252,282,314,349,386,426,468,513,561,612,666,723,783,846,912,982,1055,1132,1212,1296,1384,1476,1572,1672,1776,1884,1996,2113,2234,2360,2490,2625,2765,2910,3060,3215,3375,3540,3710,3886,4... |
lib/rkplat/src/riscv64/new_stack.asm | OSH-2022/runikraft | 0 | 165837 | <filename>lib/rkplat/src/riscv64/new_stack.asm
.text
# 切换栈: 早期引导栈->引导栈,对应_libkvmplat_newstack
.globl __rkplat_newstack
# fn __rkplat_newstack(stack_top: *mut u8, tramp: extern fn(*mut u8)->!, arg: *mut u8)->!;
__rkplat_newstack:
csrw sscratch, sp
mv sp,a0
mv a0,a2
jr a1
|
libsrc/_DEVELOPMENT/threads/context/__thread_critical_section_begin.asm | jpoikela/z88dk | 640 | 15135 | <reponame>jpoikela/z88dk
SECTION code_clib
SECTION code_threads
PUBLIC __thread_critical_section_begin
EXTERN asm_cpu_push_di
defc __thread_critical_section_begin = asm_cpu_push_di
|
libsrc/_DEVELOPMENT/stdio/z80/input_helpers/__stdio_scanf_s.asm | jpoikela/z88dk | 640 | 8955 |
SECTION code_clib
SECTION code_stdio
PUBLIC __stdio_scanf_s
PUBLIC __stdio_scanf_s_tail
EXTERN __stdio_recv_input_eat_ws_repeat, __stdio_recv_input_eatc, __stdio_scanf_sm_string
__stdio_scanf_s:
; %s converter called from vfscanf()
;
; enter : ix = FILE *
; bc = field width (0 means default)
... |
Library/Chart/Utils/utilsFile.asm | steakknife/pcgeos | 504 | 14732 | <gh_stars>100-1000
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: utilsFile.asm
AUTHOR: <NAME>
METHODS:
Name Description
---- -----------
FUNCTIONS:
Scope Name Description
----- ... |
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/ドイツ_PAL/Ger_asm/z11_bg30.asm | prismotizm/gigaleak | 0 | 103185 | <reponame>prismotizm/gigaleak<filename>other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/ドイツ_PAL/Ger_asm/z11_bg30.asm
Name: z11_bg30.asm
Type: file
Size: 84215
Last-Modified: '2016-05-13T04:23:03Z'
SHA-1: E0074DBDBC3CCA6796559E88A1958D25CAF72AF4
Description: null
|
3-mid/physics/interface/source/private/bullet/bullet_physics-space.ads | charlie5/lace | 20 | 19745 | with
physics.Space,
physics.Model;
private
with
bullet_c,
bullet_c.Pointers,
bullet_Physics.Object,
physics.Shape,
physics.Object,
physics.Joint.ball,
physics.Joint.slider,
physics.Joint.hinge,
physics.Joint.cone_twist,
physics.Joint.DoF6,
ada.Containe... |
AssemblyLanguage_Lab/ASB_LAB_6/Lab6/scr/ins13.asm | strawberrylin/Hust_CS_Lab | 1 | 240735 | .386
code segment use16
assume cs:code,ss:stack
OLD_INT DW ?,?
;新中断处理程序
NEW01H: cmp al, 'a'
je newb
cmp al, 'A'
je newb
cmp al, 'b'
je newa
cmp al, 'B'
je newa
jmp dword ptr OLD_INT
newa: push bp
mov bp, sp
mov dl, 42h
mov ah, 2
int 21h
pop bp
iret
newb: push bp
mov bp, sp
mov dl, 41h... |
Task/Knuth-shuffle/AppleScript/knuth-shuffle-2.applescript | LaudateCorpus1/RosettaCodeData | 1 | 3105 | <filename>Task/Knuth-shuffle/AppleScript/knuth-shuffle-2.applescript
{{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25},
{14, 25, 3, 1, 12, 18, 11, 20, 16, 15, 21, 5, 22, 19, 2, 24, 8, 10, 13, 6, 17, 23, 9, 7, 4}}
|
PiFrac/AuxLemmas.agda | DreamLinuxer/popl21-artifact | 5 | 10979 | module PiFrac.AuxLemmas where
open import Data.Empty
open import Data.Unit hiding (_≟_)
open import Data.Sum
open import Data.Product
open import Relation.Binary.Core
open import Relation.Binary
open import Relation.Nullary
open import Relation.Binary.PropositionalEquality
open import Function using (_∘_)
open import P... |
programs/oeis/005/A005058.asm | neoneye/loda | 22 | 101738 | <reponame>neoneye/loda
; A005058: a(n) = 5^n - 3^n.
; 0,2,16,98,544,2882,14896,75938,384064,1933442,9706576,48650978,243609184,1219108802,6098732656,30503229218,152544843904,762810312962,3814309845136,19072324066658,95363944856224,476826697849922,2384154409956016,11920834811899298,59604362345854144,298022376588343682,1... |
musiced/editpattern.asm | nanoflite/victracker | 1 | 165995 | ;**************************************************************************
;*
;* FILE editpattern.asm
;* Copyright (c) 1994, 2003 <NAME> <<EMAIL>>
;* Written by <NAME> <<EMAIL>>
;* $Id: editpattern.asm,v 1.17 2003/08/07 13:47:07 tlr Exp $
;*
;* DESCRIPTION
;* The pattern editor. (relies on editor.asm for the dirty ... |
dino/lcs/enemy/4A.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 8857 | <filename>dino/lcs/enemy/4A.asm<gh_stars>1-10
copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
004D3C move.l D0, (A4)+
004D3E move.l D0, (A4)+
0128FA move.b ($4a,A2), D2
0128FE add.w D2, D2 [123p+ 4A, enemy+4A, item+4A]
012900 or.b ($4a,A3), D2 ... |
src/display-fx.asm | kieranhj/funky-fresh | 0 | 13169 | \ -*- mode:beebasm -*-
\ ******************************************************************
\ * DISPLAY FX
\ ******************************************************************
\\ TODO: Support Display FX code in SWRAM banks.
.display_fx_table
{
equw do_nothing, fx_static_image_draw, SLOT_BANK2 ; &00
e... |
asm/tests/delay.asm | mlndz28/selector-623 | 0 | 91794 | <gh_stars>0
#include ../registers.inc
#include ../init.asm
#include ../isr.asm
#include ../utilities.asm
org UserTimerCh4
dw #OC4_ISR ; set user routine for timer
org $3000
bset DDRB,$FF ; configure port B for output
bset DDRJ,$02 ; configure PJ1 pin for output
bclr PTJ,$02 ; enable
bset DDRP,$0F ... |
oeis/056/A056109.asm | neoneye/loda-programs | 11 | 176300 | <filename>oeis/056/A056109.asm
; A056109: Fifth spoke of a hexagonal spiral.
; 1,6,17,34,57,86,121,162,209,262,321,386,457,534,617,706,801,902,1009,1122,1241,1366,1497,1634,1777,1926,2081,2242,2409,2582,2761,2946,3137,3334,3537,3746,3961,4182,4409,4642,4881,5126,5377,5634,5897,6166,6441,6722,7009,7302,7601,7906,8217,85... |
alloy4fun_models/trashltl/models/13/zF28rZhit5fJLS4FB.als | Kaixi26/org.alloytools.alloy | 0 | 2435 | <gh_stars>0
open main
pred idzF28rZhit5fJLS4FB_prop14 {
all p: (Protected & Trash) | after p not in Protected
}
pred __repair { idzF28rZhit5fJLS4FB_prop14 }
check __repair { idzF28rZhit5fJLS4FB_prop14 <=> prop14o } |
Quiz and Lab Assessment/Solution/1.asm | afra-tech/CSE331L-Section-1-Fall20-NSU | 0 | 105191 |
.MODEL SMALL
.STACK 100H
.DATA
MSG1 DB 13, 10, "Please Enter a String: $"
MSG2 DB 13, 10, "Palindrome of the String: $"
.CODE
MAIN PROC
MOV AX, @DATA
MOV DS, AX
L... |
programs/oeis/037/A037483.asm | karttu/loda | 1 | 244096 | ; A037483: Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 1,2.
; 1,8,49,296,1777,10664,63985,383912,2303473,13820840,82925041,497550248,2985301489,17911808936,107470853617,644825121704,3868950730225,23213704381352,139282226288113,835693357728680,5014160146372081
mov $1,6
mo... |
test/Fail/Issue2067b.agda | shlevy/agda | 1,989 | 1658 |
module _ where
open import Agda.Builtin.Nat
module M (n : Nat) where
postulate A : Set
module M₁ (m : Nat) where
open module Mm = M m
-- bar : M.A (m + 1)
-- bar = m -- Nat !=< M.A (m + 1)
postulate
n : Nat
foo : M.A n
foo = n -- Nat !=< M.A n
|
base/init/assembly.asm | imsouza/low-level-programming | 0 | 26936 | <reponame>imsouza/low-level-programming
bits 64
global assembly
assembly:
mov eax, 777
ret |
tests/tests/device/iface_setup_dispatch/main.adb | JeremyGrosser/usb_embedded | 0 | 11489 | <filename>tests/tests/device/iface_setup_dispatch/main.adb
-- Check that interface setup request are dispatched to the right class
with USB_Testing; use USB_Testing;
with USB_Testing.UDC_Stub; use USB_Testing.UDC_Stub;
with USB_Testing.UDC_Scenarios;
with HAL; use HAL;
with USB.HAL.Devi... |
ser.asm | dylancarlson/citplus | 1 | 175924 | ; Ser.asm Updated 1/27/88 (c) Anticlimactic Teleservices Ltd.
; com3/4 support added Mar92/Brent Bottles - untested
; according to some silly contract, this update is copyright by Autodesk, Inc.
; as i wrote it on a computer belonging to Autodesk. but I don't care.
; use it all you want.
; 19200/38400 baud su... |
libsrc/_DEVELOPMENT/l/z80/longlong/fast/l_fast_lsr_dehldehl.asm | jpoikela/z88dk | 640 | 246628 | <filename>libsrc/_DEVELOPMENT/l/z80/longlong/fast/l_fast_lsr_dehldehl.asm<gh_stars>100-1000
SECTION code_clib
SECTION code_l
PUBLIC l_fast_lsr_dehldehl
EXTERN l_lsr_dehl
EXTERN error_lznc
l_fast_lsr_dehldehl:
; logical shift right 64-bit number
;
; enter : dehl'dehl = 64-bit number
; a ... |
tests/mobs-protomobrecord_test_data.adb | thindil/steamsky | 80 | 6692 | -- This package is intended to set up and tear down the test environment.
-- Once created by GNATtest, this package will never be overwritten
-- automatically. Contents of this package can be modified in any way
-- except for sections surrounded by a 'read only' marker.
package body Mobs.ProtoMobRecord_Test_Data ... |
libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/exp2_fastcall.asm | jpoikela/z88dk | 640 | 101648 |
SECTION code_fp_math32
PUBLIC _exp2_fastcall
EXTERN _m32_exp2f
defc _exp2_fastcall = _m32_exp2f
|
libsrc/_DEVELOPMENT/target/zx/driver/terminal/zx_01_output_char_32_tty_z88dk/zx_01_output_char_32_tty_z88dk_01_scroll.asm | jpoikela/z88dk | 640 | 86954 |
SECTION code_driver
SECTION code_driver_terminal_output
PUBLIC zx_01_output_char_32_tty_z88dk_01_scroll
EXTERN console_01_output_char_proc_putchar_scroll_adjust
zx_01_output_char_32_tty_z88dk_01_scroll:
; scroll window upward one row
ld a,1
jp console_01_output_char_proc_putchar_scroll_adjust
|
xuanYue-seach/src/main/resources/BitQ.g4 | guanhaixie/bitQL | 1 | 6092 | grammar BitQ;
@header {
package com.xuanyue.db.xuan.antlr;
}
@lexer::members{
private int parallel = 1;
java.util.regex.Pattern parallelReg = java.util.regex.Pattern.compile("parallel\\s*?\\(\\s*?(\\d+?)\\s*?\\)");
java.util.regex.Pattern p = java.util.regex.Pattern.compile("/\\*(.*?)\\*/");
public... |
antlr-basics/src/main/java/com/poc/chapter_05_part03/LogDetectionPart1.g4 | cgonul/antlr-poc | 0 | 1251 | grammar LogDetectionPart1;
file : NL+ ;
STUFF : ~'\n'+ -> skip ;
NL : '\n' ; |
libsrc/_DEVELOPMENT/alloc/malloc/c/sdcc_iy/free_fastcall.asm | jpoikela/z88dk | 640 | 90510 |
; void free_fastcall(void *p)
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_alloc_malloc
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $01
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC _free_fastcall
EXTERN asm_free
defc _free_fastcall = asm_free
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
ELSE
;;;;;;;... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_446.asm | ljhsiun2/medusa | 9 | 166538 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
lea addresses_D_ht+0x1567f, %r10
nop
nop
nop
nop
nop
and %rcx, %rcx
mov (%r10), %di
nop
nop
nop
nop
dec %rbx
lea addresses_UC_ht+0x85a7, %rdx
nop
and %r9, %r9
and $0xffffffffffffff... |
examples/chrome_tabs.scpt | disruptek/gene.nim | 9 | 2605 | #!/usr/bin/env osascript
set _output to ""
set sep to tab
set newline to "
"
-- CSV header row
set _output to _output & "window" & sep & "tab" & sep & "url" & sep & "title" & newline
tell application "Google Chrome"
set _window_index to 1
repeat with _window in windows
try
set _tab_count to (count of tab... |
oeis/227/A227265.asm | neoneye/loda-programs | 11 | 20937 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A227265: Number of n X 2 0,1 arrays indicating 2 X 2 subblocks of some larger (n+1) X 3 binary array having a sum of three or less, with rows and columns of the latter in lexicographically nondecreasing order.
; 3,8,16,30,54,93,153,241,365,534,758,1048,1416,1875,2439,31... |
kernel/kernel.asm | paulscottrobson/MZ-Compiler | 0 | 6468 | <filename>kernel/kernel.asm
; ***************************************************************************************
; ***************************************************************************************
;
; Name : kernel.asm
; Author : <NAME> (<EMAIL>)
; Date : 8th November 2018
; Purpose : MZ Kernel
;
; *... |
libpok/ada/arinc653/apex-timing.ads | sinkinben/pok | 2 | 20073 | -- ---------------------------------------------------------------------------
-- --
-- TIME constant and type definitions and management services --
-- --
-- ---------------------------------------------------------------------------
package APEX.Timing is
procedure Timed_Wait
(Delay_Time : in System_Time_Typ... |
oeis/161/A161583.asm | neoneye/loda-programs | 11 | 381 | <filename>oeis/161/A161583.asm
; A161583: The list of the k values in the common solutions to the 2 equations 15*k+1=A^2, 19*k+1=B^2.
; Submitted by <NAME>
; 0,17,4896,1405152,403273745,115738159680,33216448554432,9533004996962321,2735939217679631712,785205022469057339040,225351105509401776672785,6467498207617584084775... |
source/slim-messages-grfe.adb | reznikmm/slimp | 0 | 5132 | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Slim.Message_Visiters;
package body Slim.Messages.grfe is
List : constant Field_Description_Array :=
((Uint_16_Field, 1), -- Offset
... |
programs/oeis/086/A086500.asm | neoneye/loda | 22 | 23503 | <filename>programs/oeis/086/A086500.asm
; A086500: Group the natural numbers such that the n-th group sum is divisible by the n-th triangular number: (1), (2, 3, 4), (5, 6, 7), (8, 9, 10, 11, 12), (13, 14, 15, 16, 17), (18, 19, 20, 21, 22, 23, 24), ... Sequence contains the group sum.
; 1,9,18,50,75,147,196,324,405,605... |
dd/dev/init.asm | olifink/smsqe | 0 | 8806 | <reponame>olifink/smsqe
; DEV initialisation V2.00 1985 <NAME> QJUMP
section dev
xdef dev_init
xdef dev_name
xref.l dev_vers
xref gu_achpp
xref dev_open
xref ut_procdef
xref dev_xinit
include 'dev8_mac_proc'
include 'dev8_keys_iod'
include 'dev8_keys_qdos_sms'
include 'dev8_keys_err'
include '... |
src/Categories/Category/Construction/Properties/Functors.agda | Trebor-Huang/agda-categories | 279 | 11009 | <gh_stars>100-1000
{-# OPTIONS --without-K --safe #-}
module Categories.Category.Construction.Properties.Functors where
open import Categories.Category.Complete.Properties
using ( Functors-Complete
; evalF-Continuous)
public
open import Categories.Category.Cocomplete.Properties
using (Functors-Cocomplet... |
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_430_638.asm | ljhsiun2/medusa | 9 | 101970 | <filename>Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_430_638.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r14
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x10bef, %r9
nop
nop
nop
and $62957, %rsi
movb $0x61, (%r9)
nop
nop
nop
mfence
lea addresses_A_... |
CSC 35/lab4.asm | jvniorrr/CSUS-Computer-Science | 0 | 175228 | <filename>CSC 35/lab4.asm
# First Last
# Lab 4
# Section #
#
# 1. Assemble: as -o lab4.o lab4.asm
# 2. Linker: ld -o a.out lab4.o csc35.o
# 3. Output: ./a.out
.intel_syntax noprefix
.data
description:
.ascii "Sutter's Mill Contract\n\n\0"
orderedTrees:
.ascii "How many trees were ordered?\n\0"
cutTrees:
.ascii ... |
programs/oeis/027/A027861.asm | neoneye/loda | 22 | 15203 | <gh_stars>10-100
; A027861: Numbers k such that k^2 + (k+1)^2 is prime.
; 1,2,4,5,7,9,12,14,17,19,22,24,25,29,30,32,34,35,39,42,47,50,60,65,69,70,72,79,82,84,85,87,90,97,99,100,102,104,109,110,115,122,130,135,137,139,144,149,154,157,160,162,164,167,172,174,185,187,189,195,199,202,204,207,212,217,220,222,224,225,229,230... |
libsrc/_DEVELOPMENT/adt/wv_stack/c/sccz80/wv_stack_push_callee.asm | jpoikela/z88dk | 640 | 171451 | <gh_stars>100-1000
; int wv_stack_push(wv_stack_t *s, void *item)
SECTION code_clib
SECTION code_adt_wv_stack
PUBLIC wv_stack_push_callee
EXTERN w_vector_append_callee
defc wv_stack_push_callee = w_vector_append_callee
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _wv_stack_push_callee
defc _wv_stack_push_callee ... |
commons-codeassist/src/main/java/io/onedev/commons/codeassist/test/CodeAssistTest7.g4 | mhoffrog/onedev-commons | 1 | 4061 | grammar CodeAssistTest7;
query
: criteria1 'order-by' EOF
| criteria2 EOF
;
query2
: Created
| CreatedBy
| CreatedByMe
;
query3
: 'issues' WS+ CreatedByMe
;
criteria1
: criteria
;
criteria2
: criteria
;
criteria
: 'created-by-me'
| criteria 'and' criteria
| criteria '... |
libsrc/z80_crt0s/z80_emu/afswap.asm | meesokim/z88dk | 0 | 175918 | <reponame>meesokim/z88dk<gh_stars>0
;
; Replacement for "ex af,af"
;
; $Id: afswap.asm,v 1.2 2014/04/26 00:03:52 pauloscustodio Exp $:
PUBLIC afswap
.af1 defw 0
.afswap
;EX AF,AF'
push hl
push af
ld hl,(af1)
ex (sp),hl
ld (af1),hl
pop af
... |
scripts/seating/models_20210203/sat_7_28_7_6_3_7.als | eskang/alloy-maxsat-benchmark | 0 | 4393 | <filename>scripts/seating/models_20210203/sat_7_28_7_6_3_7.als
abstract sig Person {
tags: set Tag
}
one sig P0,P1,P2,P3,P4,P5,P6,P7,P8,P9,P10,P11,P12,P13,P14,P15,P16,P17,P18,P19,P20,P21,P22,P23,P24,P25,P26,P27 extends Person {}
abstract sig Tag {}
one sig T0,T1,T2,T3,T4,T5,T6 extends Tag {}
fact {
tags = P0->T3... |
oeis/024/A024394.asm | neoneye/loda-programs | 11 | 245640 | ; A024394: a(n) is the sum of squares of the first n positive integers congruent to 2 mod 3.
; Submitted by <NAME>
; 4,29,93,214,410,699,1099,1628,2304,3145,4169,5394,6838,8519,10455,12664,15164,17973,21109,24590,28434,32659,37283,42324,47800,53729,60129,67018,74414,82335,90799,99824,109428,119629,130445,141894,153994,... |
dv3/qlsd/initwq.asm | olifink/smsqe | 0 | 164827 | <filename>dv3/qlsd/initwq.asm
; QLSD init code 1.01 <NAME> + <NAME> 2018
; With QUB driver
;
; 2020-04-10 1.02 Removed CARD_INIT (wl)
; 2018-29-05 1.01 Output the recognised hardware revison (MK)
section init
include 'dev8_dv3_qlsd_keys'
include 'dev8_keys_qdos_sms'
include 'dev8_keys_qlv'
include 'dev8... |
oeis/244/A244845.asm | neoneye/loda-programs | 11 | 27705 | ; A244845: Binary representation of 4^n - 2^(n+1) - 1.
; 111,101111,11011111,1110111111,111101111111,11111011111111,1111110111111111,111111101111111111,11111111011111111111,1111111110111111111111,111111111101111111111111,11111111111011111111111111,1111111111110111111111111111,111111111111101111111111111111,111111111111... |
w_gen.adb | Spohn/LegendOfZelba | 2 | 29258 | <gh_stars>1-10
with Ada.Text_IO;
with Screen;
use Ada.Text_IO;
PACKAGE BODY w_gen IS
-------------------------------
-- Name: <NAME>
-- <NAME>
-- w_gen Package
-------------------------------
---------------------------------------------------------
-- clears the screen
PROCEDURE clr_scr... |
source/hash/a-swbwha.adb | ytomino/drake | 33 | 29152 | <filename>source/hash/a-swbwha.adb
with Ada.Strings.Wide_Hash;
function Ada.Strings.Wide_Bounded.Wide_Hash (
Key : Bounded.Bounded_Wide_String)
return Containers.Hash_Type is
begin
return Strings.Wide_Hash (Key.Element (1 .. Key.Length));
end Ada.Strings.Wide_Bounded.Wide_Hash;
|
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c43204h.ada | best08618/asylo | 7 | 7160 | -- C43204H.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... |
libsrc/_DEVELOPMENT/adt/p_forward_list_alt/c/sccz80/p_forward_list_alt_push_front.asm | jpoikela/z88dk | 640 | 244581 | <reponame>jpoikela/z88dk
; void p_forward_list_alt_push_front(p_forward_list_alt_t *list, void *item)
SECTION code_clib
SECTION code_adt_p_forward_list_alt
PUBLIC p_forward_list_alt_push_front
EXTERN asm_p_forward_list_alt_push_front
p_forward_list_alt_push_front:
pop af
pop de
pop bc
push bc
p... |
oeis/056/A056555.asm | neoneye/loda-programs | 11 | 24727 | ; A056555: Smallest number k (k>0) such that n*k is a perfect 4th power.
; Submitted by <NAME>
; 1,8,27,4,125,216,343,2,9,1000,1331,108,2197,2744,3375,1,4913,72,6859,500,9261,10648,12167,54,25,17576,3,1372,24389,27000,29791,8,35937,39304,42875,36,50653,54872,59319,250,68921,74088,79507,5324,1125,97336,103823,27,49,200,... |
tools/Set Default Scores.applescript | aureliojargas/emomemory | 1 | 2883 | on join(theList, theSeparator)
set AppleScript's text item delimiters to theSeparator
set theText to theList as text
set AppleScript's text item delimiters to ""
return theText
end join
tell application "EmoMemory"
-- KID: 1 min: smart child
set theNumbers to {{30, 45, 60}, {80, 100, 120}, {180, 210, 240}} --... |
EjerciciosClase/ejerBe03a.asm | adeandak/OPC | 0 | 168481 | <reponame>adeandak/OPC<filename>EjerciciosClase/ejerBe03a.asm<gh_stars>0
TITLE ejerBC03a
; Uso de instrucciones, Directivas data y operadores.
; Irvine Library procedures and functions
INCLUDE \masm32\Irvine\Irvine32.inc
INCLUDELIB \masm32\Irvine\Irvine32.lib
INCLUDELIB \masm32\Irvine\User32.lib
INCLUDELIB \m... |
test/backend/formatting/raw.g4 | mrd1996/vscode-antlr4 | 294 | 5385 | /*
*
An initial comment
*/
/** * */
grammar
raw;
/**
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the ri... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1952.asm | ljhsiun2/medusa | 9 | 101133 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xad9f, %rcx
nop
nop
nop
nop
add $13669, %rbp
movb $0x61, (%rcx)
nop
nop
add $22311, %r8
lea addresses_normal_ht+0x1519f, %r8
nop
nop
nop
and %r11, %r11
mov $0x6162636465666768,... |
libsrc/_DEVELOPMENT/compress/zx1/z80/asm_dzx1_smart_rcs_back.asm | ahjelm/z88dk | 640 | 16587 | <filename>libsrc/_DEVELOPMENT/compress/zx1/z80/asm_dzx1_smart_rcs_back.asm
IF !__CPU_INTEL__ && !__CPU_GBZ80__
SECTION code_lib
SECTION code_compress_zx1
PUBLIC asm_dzx1_smart_rcs_back
asm_dzx1_smart_rcs_back:
INCLUDE "dzx1_smartRCS_back.asm"
ENDIF
|
MP/Search.asm | pratikpc/Pracs-Sem-V | 0 | 80394 | <reponame>pratikpc/Pracs-Sem-V
.8086
.model small
.stack 100h
.data
string db "Myname0"
char db '3'
msg_found db "Found"
msg_not_found db 'Not Found'
.code
main:
mov ax, @data
mov ds, ax
lea si, string
mov ah, char
looper:
mov al, [si]
; End of String
cmp al, '0'
je not_found
inc si
cmp al, ... |
programs/oeis/279/A279561.asm | neoneye/loda | 22 | 82844 | <gh_stars>10-100
; A279561: Number of length n inversion sequences avoiding the patterns 101, 102, 201, and 210.
; 1,1,2,6,21,77,287,1079,4082,15522,59280,227240,873886,3370030,13027730,50469890,195892565,761615285,2965576715,11563073315,45141073925,176423482325,690215089745,2702831489825,10593202603775,41550902139551,... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48_notsx.log_21829_1779.asm | ljhsiun2/medusa | 9 | 6032 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r13
push %r8
push %rax
push %rbp
push %rcx
push %rdi
// Faulty Load
lea addresses_A+0x1ccd3, %r13
and $31115, %r10
movb (%r13), %cl
lea oracles, %rax
and $0xff, %rcx
shlq $12, %rcx
mov (%rax,%rcx,1), %rcx
pop %rd... |
oeis/176/A176470.asm | neoneye/loda-programs | 11 | 83100 | <filename>oeis/176/A176470.asm<gh_stars>10-100
; A176470: Primes of the form 5*x^2-3*y^2, where x and y are consecutive numbers.
; Submitted by <NAME>
; 5,17,53,137,173,257,677,1097,1193,1733,2237,2657,2957,4133,5297,5717,8573,8837,9377,11093,11393,12953,14957,17477,18233,18617,19793,23537,24413,29033,30497,33533,36713... |
simple_http-http_message_processor.adb | annexi-strayline/ASAP-Simple_HTTP | 0 | 925 | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- Simple HTTP --
-- ... |
libsrc/video/msm6255/asm_set_lcd_mode.asm | ahjelm/z88dk | 640 | 16594 |
SECTION code_clib
PUBLIC asm_set_lcd_mode
INCLUDE "msm6255.inc"
; Set the mode of LCD controller
; 0000000x -> GRAPHICS (1), TEXT (0)
; 00000xx0 -> 4bit parallel (01) / serial (00) / serial EVEN-ODD (10) -> Bondwell 2 is EVEN-ODD
; 0000x000 -> Display ON/OFF
; 000x0000 -> TEXT Cursor blinking (e.g. 3D)... |
Plain/Models.agda | frantisekfarka/lp-mod | 0 | 6672 | <gh_stars>0
module Plain.Models where
open import Data.Nat
open import Plain.Terms
-- The (complete) Herbrand universe for Σ
U' : {n : ℕ} → (Signature n) → Set
U' Σ = GTerm Σ
open import Relation.Unary as U
open import Level
-- a (complete) Herbrand interpretation
record Interp {n : ℕ} (Σ : Signature n) : Set₁ wher... |
src/shared/generic/lsc-internal-ec_signature.adb | Componolit/libsparkcrypto | 30 | 7715 | -------------------------------------------------------------------------------
-- This file is part of libsparkcrypto.
--
-- Copyright (C) 2012, <NAME>
-- Copyright (C) 2012, secunet Security Networks AG
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modif... |
src/bootsect/bootsect.asm | wangziqi2016/Kernel | 3 | 21617 | <filename>src/bootsect/bootsect.asm
;
; Boot sector for a floppy disk
;
section .text
org 7c00h
VIDEO_SEG equ 0b800h ; Video buffer
BUFFER_LEN_PER_LINE equ 00a0h ; 80 * 2 = 160 char + attr per line
LOAD_SEG equ 8000h ; We start loading the sector at 0x10000
SECTOR_SIZE ... |
oeis/140/A140652.asm | neoneye/loda-programs | 11 | 19017 | <reponame>neoneye/loda-programs
; A140652: Partial sums of A062968.
; Submitted by <NAME>
; 1,2,4,6,10,13,19,24,31,38,48,55,67,78,90,102,118,131,149,164,182,201,223,240,263,286,310,333,361,384,414,441,471,502,534,562,598,633,669,702,742,777,819,858,898,941,987,1026,1073,1118,1166,1213,1265,1312
mov $1,1
mov $3,$0
lpb ... |
directoryWalker.asm | arturosalazar/xv6-public | 0 | 172561 | <reponame>arturosalazar/xv6-public<filename>directoryWalker.asm
_directoryWalker: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
}
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc ... |
gcc-gcc-7_3_0-release/gcc/ada/exp_ch6.ads | best08618/asylo | 7 | 21417 | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/weak2.ads | best08618/asylo | 7 | 2531 | package Weak2 is
Var : Integer;
pragma Import (Ada, Var, "var_name");
pragma Weak_External (Var);
function F return Integer;
end Weak2;
|
test/Fail/Issue2047.agda | cruhland/agda | 1,989 | 5578 | <reponame>cruhland/agda
postulate anything : ∀{a}{A : Set a} → A
data N : Set where
suc : (n : N) → N
data Val : (n : N) → Set where
valSuc : (n : N) → Val (suc n)
-- valSuc : (n : N) → Val n -- internal error disappears
Pred : Set₁
Pred = (n : N) → Set
postulate
Any : (P : Pred) → Set
F : (P : Pred) ... |
source/regions/regions-contexts-environments.ads | reznikmm/declarative-regions | 0 | 18184 | <filename>source/regions/regions-contexts-environments.ads<gh_stars>0
-- SPDX-FileCopyrightText: 2022 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
private with Ada.Finalization;
private with Regions.Shared_Lists;
limited private with Regions.Contex... |
test/Compiler/with-stdlib/ShowNat.agda | shlevy/agda | 7 | 11147 | <filename>test/Compiler/with-stdlib/ShowNat.agda
module ShowNat where
open import IO
open import Data.Unit
open import Data.Nat.Show
main = run (putStrLn (Data.Nat.Show.show 10))
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.