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 |
|---|---|---|---|---|
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca_notsx.log_21_1600.asm | ljhsiun2/medusa | 9 | 27905 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xdac2, %r14
nop
nop
nop
nop
xor %rdx, %rdx
mov $0x6162636465666768, %rdi
movq %rdi, %xmm3
movups %xmm3, (%r14)
sub %rbx, %rbx
lea addres... |
tools/DOSBox-0.74Win/FSysFAT/avt/p1_asm/X1_Begin/a.asm | cyberitsec/antivirus | 1 | 242254 | ;Program HELLO WORD - adunarea a doua numere
.model small
.stack 16
.data
x dw ?
y dw 9
z dw 7
v dw 3
.code
start:
mov ax,@data
mov ds,ax
xor ax,ax
mov ax,y
add ax,z
add ax,v
mov x,ax
mov ax,4c00h
int 21h
end start
|
Classes/alias/choose application as alias.applescript | looking-for-a-job/applescript-examples | 1 | 424 | #!/usr/bin/osascript
choose application as alias
{name:"AppleScript Editor.app",
creation date:date "среда, 27 июля 2011 г. 2:40:16",
modification date:date "пятница, 21 сентября 2012 г. 11:19:06",
size:13215606,
folder:true,
alias:false,
package folder:true,
visible:true,
extension hidden:true,
name extens... |
Anafi_Pano_Sorter.applescript | Lufthummel/Anafi-Panorama-Sorter | 0 | 3637 | <gh_stars>0
-- Open in AppleScript Editor and save as Application
tell application "Finder"
set all_files to every item of (choose file with prompt "Choose the Panorma Files to rename:" with multiple selections allowed) as list
set filecount to count of all_files
log "Number of files = " & filecount
if filecou... |
tests/syntax_examples/src/package_without_body.ads | TNO/Dependency_Graph_Extractor-Ada | 1 | 25525 | <filename>tests/syntax_examples/src/package_without_body.ads
package Package_Without_Body is
end Package_Without_Body; |
CPU_Single/gcd.asm | lzhbrian/Digital-Logic-and-Processor-Summer-Final | 0 | 82591 | <gh_stars>0
j Begin # 复位态
j Timer # 定时器中断
j Nop # 未定义指令异常
Begin:
# 内核 -> 用户态 (PC 最高位变为0)
lui $t6,32767 # 0x7FFF0000 处理用户态、内核态
addi $t6,$t6,65535 # 0x7FFFFFFF
jal getaddr1
getaddr1:
addi $t7,$ra,12 # 3 lines after //12
and $t6,$t7,$t6 # 让第一位变成0
jr $t6 # set MSF of $PC to 0 and... |
insert_today_str.scpt | jojonki/TouchBarAppleScripts | 0 | 4146 | tell application "System Events"
set {year:y, month:m, day:d} to (current date)
set customDate to y & "/" & (m as number) & "/" & d as text
keystroke customDate
end tell
|
oeis/010/A010516.asm | neoneye/loda-programs | 11 | 87885 | ; A010516: Decimal expansion of square root of 63.
; 7,9,3,7,2,5,3,9,3,3,1,9,3,7,7,1,7,7,1,5,0,4,8,4,7,2,6,0,9,1,7,7,8,1,2,7,7,1,3,0,7,7,7,5,4,9,2,4,7,3,5,0,5,4,1,1,0,5,0,0,3,3,7,7,6,0,3,2,0,6,4,6,9,6,9,0,8,5,0,8,8,3,2,8,1,1,7,8,6,5,9,4,2,3,6,3,0,8,3,1
mov $1,1
mov $2,1
mov $3,$0
add $3,8
mov $4,$0
add $4,3
mul $4,2
m... |
monitor/string_library.asm | mfkiwl/QNICE-FPGA-hyperRAM | 53 | 12732 | ;
;;=======================================================================================
;; The collection of string related functions starts here
;;=======================================================================================
;
;*****************************************************************************... |
awa/plugins/awa-sysadmin/src/model/awa-sysadmin-models.adb | twdroeger/ada-awa | 0 | 2525 | -----------------------------------------------------------------------
-- AWA.Sysadmin.Models -- AWA.Sysadmin.Models
-----------------------------------------------------------------------
-- File generated by ada-gen DO NOT MODIFY
-- Template used: templates/model/package-body.xhtml
-- Ada Generator: https://ada-... |
data/jpred4/jp_batch_1613899824___pkt3mk/jp_batch_1613899824___pkt3mk.als | jonriege/predict-protein-structure | 0 | 2025 | <gh_stars>0
SILENT_MODE
BLOCK_FILE jp_batch_1613899824___pkt3mk.concise.blc
MAX_NSEQ 155
MAX_INPUT_LEN 157
OUTPUT_FILE jp_batch_1613899824___pkt3mk.concise.ps
PORTRAIT
POINTSIZE 8
IDENT_WIDTH 12
X_OFFSET 2
Y_OFFSET 2
DEFINE_FONT 0 Helvetica DEFAULT
DEFINE_FONT 1 Helvetica REL 0.75
DEFINE_FONT 7 Helvetica REL 0... |
specs/ada/common/tkmrpc-response-ike-isa_sign.ads | DrenfongWong/tkm-rpc | 0 | 216 | with Tkmrpc.Types;
with Tkmrpc.Operations.Ike;
package Tkmrpc.Response.Ike.Isa_Sign is
Data_Size : constant := 388;
type Data_Type is record
Signature : Types.Signature_Type;
end record;
for Data_Type use record
Signature at 0 range 0 .. (388 * 8) - 1;
end record;
for Data_Type'Size us... |
oeis/157/A157912.asm | neoneye/loda-programs | 11 | 171087 | <reponame>neoneye/loda-programs
; A157912: 64*n^2 + 16.
; Submitted by <NAME>
; 80,272,592,1040,1616,2320,3152,4112,5200,6416,7760,9232,10832,12560,14416,16400,18512,20752,23120,25616,28240,30992,33872,36880,40016,43280,46672,50192,53840,57616,61520,65552,69712,74000,78416,82960,87632,92432,97360,102416,107600,112912,1... |
chrome/browser/ui/cocoa/applescript/examples/quit_app.applescript | zealoussnow/chromium | 14,668 | 3589 | -- Copyright (c) 2010 The Chromium Authors. All rights reserved.
-- Use of this source code is governed by a BSD-style license that can be
-- found in the LICENSE file.
-- Quits the application, useful in cases where you want to schedule things.
tell application "Chromium"
quit
end tell
|
examples/streaming_decompress/demo_ada.adb | jrmarino/zstd-ada | 13 | 13874 | with Zstandard.Functions.Streaming_Decompression; use Zstandard.Functions;
with Ada.Command_line; use Ada.Command_Line;
with Ada.Directories; use Ada.Directories;
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Exceptions; use Ada.Exceptions;
with Ada.Streams.Stream_IO; use Ada.Streams;
procedu... |
tests/cross_references.adb | reznikmm/ada_lsp | 11 | 8086 | <reponame>reznikmm/ada_lsp
-- Copyright (c) 2017 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Ada.Directories;
with League.Strings;
package body Cross_References is
function "+" (Text : Wide_Wide_String)
... |
oeis/265/A265127.asm | neoneye/loda-programs | 11 | 85314 | <filename>oeis/265/A265127.asm
; A265127: a(n) = prime(n) * 2^n.
; Submitted by <NAME>
; 4,12,40,112,352,832,2176,4864,11776,29696,63488,151552,335872,704512,1540096,3473408,7733248,15990784,35127296,74448896,153092096,331350016,696254464,1493172224,3254779904,6777995264,13824425984,28722593792,58518929408,121332826112... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_1009.asm | ljhsiun2/medusa | 9 | 172354 | <filename>Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_1009.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %r8
push %rbx
push %rcx
push %rsi
lea addresses_D_ht+0x180f6, %r14
nop
nop
nop
sub %rbx, %rbx
movl $0x61626364, (%r14)
sub %r8, %r8
lea addresses_WC_ht+0x3925,... |
src/test/antlr/SimpleLangParser.g4 | lanarimarco/kolasu | 35 | 70 | parser grammar SimpleLangParser;
options { tokenVocab = SimpleLangLexer; }
compilationUnit:
statement+;
statement:
DISPLAY expression #displayStmt
| SET ID EQUAL expression #setStmt
| INPUT ID IS type #inputDeclStmt
;
expression:
INT_LIT
| DEC_LIT
| STRING_LIT
| BOOLEAN_LIT
... |
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xa0.log_21829_1833.asm | ljhsiun2/medusa | 9 | 82448 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1c685, %rsi
lea addresses_WT_ht+0x2e59, %rdi
nop
nop
add $8386, %r13
mov $22, %rcx
rep movsw
nop
and $25886, %rdx
lea addresses_A_ht+0xa8bd, %r9
clflush (%r9)
... |
Mixfix/Cyclic/Example.agda | nad/parser-combinators | 1 | 3812 | <reponame>nad/parser-combinators
------------------------------------------------------------------------
-- An example
------------------------------------------------------------------------
module Mixfix.Cyclic.Example where
open import Codata.Musical.Notation
open import Data.Vec using ([]; _∷_; [_])
open import ... |
ada/original_2008/ada-gui/agar-gui-widget-fixed_plotter.adb | auzkok/libagar | 286 | 8537 | <gh_stars>100-1000
package body agar.gui.widget.fixed_plotter is
package cbinds is
function curve
(plotter : plotter_access_t;
name : cs.chars_ptr;
r : agar.core.types.uint8_t;
g : agar.core.types.uint8_t;
b : agar.core.types.uint8_t;
limit : agar.c... |
Eudora71/OpenSSL/crypto/rc4/asm/r4_win32.asm | dusong7/eudora-win | 10 | 5267 | <reponame>dusong7/eudora-win
; Don't even think of reading this code
; It was automatically generated by rc4-586.pl
; Which is a perl program used to generate the x86 assember for
; any of elf, a.out, BSDI, Win32, gaswin (for GNU as on Win32) or Solaris
; eric <<EMAIL>>
;
TITLE rc4-586.asm
.386
.model F... |
example.ant.asm | survari/antlc | 2 | 28825 | <gh_stars>1-10
prm∘
rclecho
strhi
app2
dsp
fun11
prm×
rdc
num1
prm+
num1
prm∘
rclrange
rclx
app2
app2
app2
stofac
dsp
fun21
prm∘
prm⍣
fun11
prm,
rclx
prm+
rdc
num0
prm⌷
num-2
rclx
app2
app2
app2
rclx
app2
prm,
num0
num1
app2
app2
stofib
dsp
|
GAS/hello.asm | TravorLZH/various-code | 0 | 81463 | <reponame>TravorLZH/various-code
; Disassembly of file: hello.o
; Wed Nov 29 10:56:31 2017
; Mode: 32 bits
; Syntax: YASM/NASM
; Instruction set: 80386
global _main
extern _printf ; near
SECTION .text align=1 execute ; section number 1,... |
experiments/models/other.als | saiema/ARepair | 5 | 2680 | sig Person {
member_of : some Group
}
pred CanEnter(p: Person, r:Room) {
p.member_of in r.located_in
}
sig Group {}
one sig alas extends Group {}
one sig peds extends Group {}
sig Room {
located_in: set Group
}
one sig seclab extends Room {}
fact {
// Should synthesize alas + peds = seclab.located_in
al... |
programs/oeis/061/A061084.asm | neoneye/loda | 22 | 1360 | <reponame>neoneye/loda
; A061084: Fibonacci-type sequence based on subtraction: a(0) = 1, a(1) = 2 and a(n) = a(n-2)-a(n-1).
; 1,2,-1,3,-4,7,-11,18,-29,47,-76,123,-199,322,-521,843,-1364,2207,-3571,5778,-9349,15127,-24476,39603,-64079,103682,-167761,271443,-439204,710647,-1149851,1860498,-3010349,4870847,-7881196,12752... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-8650U_0xd2_notsx.log_21829_1102.asm | ljhsiun2/medusa | 9 | 84720 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1b681, %rsi
lea addresses_WC_ht+0x5281, %rdi
nop
nop
nop
nop
and %r13, %r13
mov $33, %rcx
rep movsl
nop
xor %r8, %r8
lea addresses_normal_ht+0x7d81, %rsi
lea addresses_A_ht+0x1... |
programs/oeis/067/A067403.asm | neoneye/loda | 22 | 176574 | ; A067403: Third column of triangle A067402.
; 1,5,45,405,3645,32805,295245,2657205,23914845,215233605,1937102445,17433922005,156905298045,1412147682405,12709329141645,114383962274805,1029455660473245,9265100944259205,83385908498332845
mov $1,9
pow $1,$0
mul $1,5
div $1,36
mul $1,4
add $1,1
mov $0,$1
|
projects/batfish/src/main/antlr4/org/batfish/grammar/palo_alto/PaloAlto_deviceconfig.g4 | netarch/batfish | 0 | 7795 | parser grammar PaloAlto_deviceconfig;
import PaloAlto_common;
options {
tokenVocab = PaloAltoLexer;
}
s_deviceconfig
:
DEVICECONFIG
(
sd_system
)
;
sd_system
:
SYSTEM
(
sds_default_gateway
| sds_dns_setting
| sds_hostname
| sds_ip_address
| sds... |
Source/save_load_game.ads | XMoose25X/Advanced-Dungeon-Assault | 1 | 28356 | with player; use player;
package save_load_game is
procedure newGame(player: out Player_Type; dungeon: out Integer);
procedure saveGame(player: in Player_Type; dungeon: in Integer; fileNum: in Integer);
procedure loadGame(player: in out Player_Type; dungeon: in out Integer; fileNum: in Integer);
end sa... |
scripts/redshouse1f.asm | adhi-thirumala/EvoYellow | 16 | 176961 | <reponame>adhi-thirumala/EvoYellow<gh_stars>10-100
RedsHouse1FScript:
call EnableAutoTextBoxDrawing
ret
RedsHouse1FTextPointers:
dw RedsHouse1FText1
dw RedsHouse1FText2
RedsHouse1FText1: ; Mom
TX_ASM
callab Func_f1b73
jp TextScriptEnd
RedsHouse1FText2: ; TV
TX_ASM
callab Func_f1bc4
jp TextScriptEnd
|
src/kernel/drivers/soc/timer_base_def.asm | rostislav-nikitin/socOS | 1 | 171755 | ;=======================================================================================================================
; ;
; Name: socOS (System On Chip Operation System) ... |
example/src/app.adb | JeremyGrosser/epoll-ada | 0 | 22805 | <filename>example/src/app.adb<gh_stars>0
--
-- Copyright (C) 2022 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: BSD-3-Clause
--
with Ada.Text_IO; use Ada.Text_IO;
package body App is
use GNAT.Sockets;
use Ada.Streams;
function To_String
(SEA : Stream_Element_Array)
return String
is
O... |
Assets/Scripts/Aff/ArcaeaFileFormat.g4 | yojohanshinwataikei/Arcade-plus | 40 | 7395 | <reponame>yojohanshinwataikei/Arcade-plus<gh_stars>10-100
grammar ArcaeaFileFormat;
Whitespace:[\p{White_Space}] -> skip;
LParen: '(';
RParen: ')';
LBrack: '[';
RBrack: ']';
LBrace: '{';
RBrace: '}';
Comma: ',';
Semicolon: ';';
fragment ALPHABET: [a-zA-Z];
Word: ALPHABET+;
fragment DIGITSTART: [1-9];
fragment ZERO:... |
oeis/180/A180967.asm | neoneye/loda-programs | 11 | 14164 | <filename>oeis/180/A180967.asm
; A180967: Number of n-game win/loss series that contain at least one dead game.
; Submitted by <NAME>(w4)
; 0,0,4,4,20,24,88,116,372,520,1544,2248,6344,9520,25904,39796,105332,164904,427048,679064,1727640,2783440,6977744,11368904,28146120,46307664,113416528,188202256,456637712,763506784
... |
source/vampire-r3-user_list_page.ads | ytomino/vampire | 1 | 18094 | -- The Village of Vampire by YT, このソースコードはNYSLです
with Tabula.Users.Lists;
procedure Vampire.R3.User_List_Page (
Output : not null access Ada.Streams.Root_Stream_Type'Class;
Form : in Forms.Root_Form_Type'Class;
Template : in String;
HTML_Directory : in String;
Summaries : in Tabula.Villages.Lists.Summary_Maps.Map;... |
programs/oeis/044/A044543.asm | karttu/loda | 1 | 12581 | <filename>programs/oeis/044/A044543.asm
; A044543: Numbers n such that string 3,3 occurs in the base 7 representation of n but not of n+1.
; 24,73,122,174,220,269,318,367,416,465,517,563,612,661,710,759,808,860,906,955,1004,1053,1102,1151,1224,1249,1298,1347,1396,1445,1494,1546,1592,1641,1690,1739,1788,1837,1889,1935,1... |
grammar/HLSV.g4 | mossseank/HLSV | 0 | 4731 | // This is the parser grammar for the HLSV shader language, used by Antlr to generate a parser for
// the language definition.
// This file is licensed under the MIT license.
// Copyright (c) <NAME> 2019
parser grammar HLSV;
options {
tokenVocab=HLSVLexer;
}
// Top-level file unit
file
: shader... |
programs/oeis/047/A047207.asm | karttu/loda | 1 | 16709 | ; A047207: Numbers that are congruent to {0, 1, 3, 4} mod 5.
; 0,1,3,4,5,6,8,9,10,11,13,14,15,16,18,19,20,21,23,24,25,26,28,29,30,31,33,34,35,36,38,39,40,41,43,44,45,46,48,49,50,51,53,54,55,56,58,59,60,61,63,64,65,66,68,69,70,71,73,74,75,76,78,79,80,81,83,84,85,86,88,89,90,91,93,94,95,96,98,99,100,101,103,104,105,106,1... |
oeis/075/A075415.asm | neoneye/loda-programs | 11 | 2831 | <reponame>neoneye/loda-programs
; A075415: Squares of A002280 or numbers (666...6)^2.
; 0,36,4356,443556,44435556,4444355556,444443555556,44444435555556,4444444355555556,444444443555555556,44444444435555555556,4444444444355555555556,444444444443555555555556,44444444444435555555555556,4444444444444355555555555556,444444... |
alloy4fun_models/trashltl/models/4/Ev3o5Lhg3euiLNBXW.als | Kaixi26/org.alloytools.alloy | 0 | 4486 | <filename>alloy4fun_models/trashltl/models/4/Ev3o5Lhg3euiLNBXW.als<gh_stars>0
open main
pred idEv3o5Lhg3euiLNBXW_prop5 {
eventually (no File - Trash)
}
pred __repair { idEv3o5Lhg3euiLNBXW_prop5 }
check __repair { idEv3o5Lhg3euiLNBXW_prop5 <=> prop5o } |
urule-core/dsl/RuleLexer.g4 | zsy1988cool/urule | 1 | 4059 | <reponame>zsy1988cool/urule<gh_stars>1-10
lexer grammar RuleLexer;
COUNT : 'count';
AVG : 'avg';
SUM : 'sum';
MAX : 'max';
MIN : 'min';
AND : 'and'|'&&'|','|'\u5e76\u4e14'|'\u4e14';
OR : 'or'|'||'|'\u6216\u8005'|'\u6216';
Datatype : 'String'
| 'int'
| 'Integer'
| 'double'
| 'Double... |
test/Fail/Prop-NoImpredicativity.agda | hborum/agda | 0 | 11298 | <reponame>hborum/agda
{-# OPTIONS --prop #-}
True : Prop
True = {P : Prop} → P → P
-- Current error (incomprehensible):
-- Set₁ != Set
-- when checking that the expression {P : Prop} → P → P has type Prop
|
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/日本_Ver3/asm/zel_gmap.asm | prismotizm/gigaleak | 0 | 12717 | <filename>other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/日本_Ver3/asm/zel_gmap.asm<gh_stars>0
Name: zel_gmap.asm
Type: file
Size: 67436
Last-Modified: '2016-05-13T04:36:32Z'
SHA-1: C933FFABA953B70A364E2BCBF40C08FF0A7C2710
Description: null
|
src/gen-artifacts-distribs-copies.ads | My-Colaborations/dynamo | 15 | 30041 | <filename>src/gen-artifacts-distribs-copies.ads
-----------------------------------------------------------------------
-- gen-artifacts-distribs-copies -- Copy based distribution artifact
-- Copyright (C) 2012, 2013 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (th... |
programs/oeis/049/A049628.asm | neoneye/loda | 22 | 3577 | <gh_stars>10-100
; A049628: a(n) = Sum_{i=0..n} T(i,n-i) where T is A049627.
; 1,4,8,14,22,34,48,68,92,122,156,200,248,308,374,448,530,628,732,854,984,1126,1278,1452,1634,1836,2050,2282,2526,2798,3078,3388,3714,4060,4422,4808,5206,5640,6092,6568,7060,7592,8136,8722,9328,9958,10610,11308
mov $2,$0
mul $0,2
seq $2,10311... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_8779_1249.asm | ljhsiun2/medusa | 9 | 86777 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r14
push %rax
push %rbp
push %rbx
push %rcx
// Store
lea addresses_PSE+0x1fa0e, %r14
clflush (%r14)
nop
nop
nop
nop
nop
sub %rcx, %rcx
mov $0x5152535455565758, %rax
movq %rax, %xmm5
movups %xmm5, (... |
Outside/clinkster/src/clinkster_multithreaded.asm | in4k/SailingBeyond | 1 | 2919 | <gh_stars>1-10
; If set to 1, timing information is generated during music generation
; which is needed for Clinkster_GetInstrumentTrigger.
; Set it to 0 if you don't need this functionality.
%define CLINKSTER_GENERATE_TIMING_DATA 1
; Offset applied by Clinkster_GetPosition to compensate for graphics latency.
... |
libsrc/_DEVELOPMENT/temp/sp1/zx/c/sccz80/sp1_PutSprClr_callee.asm | jpoikela/z88dk | 640 | 11630 | ; void __CALLEE__ sp1_PutSprClr_callee(uchar **sprdest, struct sp1_ap *src, uchar n)
; 02.2006 aralbrec, Sprite Pack v3.0
; sinclair zx version
SECTION code_clib
SECTION code_temp_sp1
PUBLIC sp1_PutSprClr_callee
EXTERN asm_sp1_PutSprClr
sp1_PutSprClr_callee:
pop hl
pop bc
ld b,c
pop de
ex (sp),hl
... |
Cubical/Structures/Relational/Function.agda | Schippmunk/cubical | 0 | 15003 | <reponame>Schippmunk/cubical<filename>Cubical/Structures/Relational/Function.agda
{-
Index a structure T a positive structure S: X ↦ S X → T X
-}
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Structures.Relational.Function where
open import Cubical.Foundations.Prelude
open import Cubical.Foundati... |
_incObj/3D Boss - Green Hill (part 2).asm | kodishmediacenter/msu-md-sonic | 9 | 21364 |
BGHZ_MakeBall:
move.w #-$100,obVelX(a0)
move.w #-$40,obVelY(a0)
bsr.w BossMove
cmpi.w #$2A00,$30(a0)
bne.s loc_17916
move.w #0,obVelX(a0)
move.w #0,obVelY(a0)
addq.b #2,ob2ndRout(a0)
jsr (FindNextFreeObj).l
bne.s loc_17910
move.b #id_BossBall,0(a1) ; load swinging ball object
move.w $30(a0),obX... |
Transynther/x86/_processed/US/_st_4k_/i9-9900K_12_0xa0.log_21829_175.asm | ljhsiun2/medusa | 9 | 5909 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r8
push %r9
push %rax
push %rbx
push %rdx
lea addresses_WC_ht+0xb654, %r8
nop
xor %r10, %r10
and $0xffffffffffffffc0, %r8
vmovntdqa (%r8), %ymm0
vextracti128 $0, %ymm0, %xmm0
vpextrq $0, %xmm0, %rdx
add $12164, %rbx
lea addresses_WC_ht+0x7a54, %r9
x... |
programs/oeis/120/A120278.asm | karttu/loda | 0 | 104986 | <reponame>karttu/loda<gh_stars>0
; A120278: Sum[Sum[C(2k,k),{k,1,m}],{m,1,n}], where C(2k,k)=(2k)!/(k!)^2=A000984[k].
; 2,10,38,136,486,1760,6466,24042,90238,341190,1297574,4958114,19019254,73196994,282492254,1092867904,4236849774,16455966944,64020347914,249431257704,973100041934,3800867789884,14862066265434,5817086842... |
oeis/082/A082274.asm | neoneye/loda-programs | 11 | 104918 | ; A082274: Palindromes k such that k + 2 is also a palindrome.
; Submitted by <NAME>
; 1,2,3,4,5,6,7,9,99,999,9999,99999,999999,9999999,99999999,999999999,9999999999,99999999999,999999999999,9999999999999,99999999999999,999999999999999,9999999999999999,99999999999999999
mov $2,$0
sub $2,6
lpb $2
add $0,4
sub $0,$2... |
libsrc/rs232/cpc/booster/rs232_params.asm | meesokim/z88dk | 0 | 25400 | <filename>libsrc/rs232/cpc/booster/rs232_params.asm
;
; z88dk RS232 Function
;
; Amstrad CPC (CPC Booster+) version
;
; unsigned char rs232_params(unsigned char param, unsigned char parity)
;
; Specify the serial interface parameters
;
; $Id: rs232_params.asm,v 1.2 2015/01/21 14:00:11 stef... |
lib/core/stack/_long.asm | locodarwin/xc-basic3 | 11 | 4368 | ; Push a long int onto the stack
MAC plong ; @push
IF !FPUSH
lda #<{1}
pha
lda #>{1}
pha
lda #[{1} >> 16]
pha
ELSE
lda #<{1}
ldy #>{1}
ldx #[{1} >> 16]
ENDIF
ENDM
; Push a long int variable on the stack
MAC plongvar ; @push
IF !FPUSH
lda {1}
pha
lda {1} + 1
pha
lda {1} + 2
pha
ELSE
lda {1}
... |
alloy4fun_models/trashltl/models/19/4Kehs33vFuzWfoomh.als | Kaixi26/org.alloytools.alloy | 0 | 2589 | <gh_stars>0
open main
pred id4Kehs33vFuzWfoomh_prop20 {
always (all f:File | no (f&Protected) since f in Trash)
}
pred __repair { id4Kehs33vFuzWfoomh_prop20 }
check __repair { id4Kehs33vFuzWfoomh_prop20 <=> prop20o } |
src/JVM/Printer.agda | ajrouvoet/jvm.agda | 6 | 13931 | {-# OPTIONS --no-qualified-instances #-}
module JVM.Printer where
open import Function
open import Data.Bool
open import Data.Product hiding (swap)
open import Data.List as L
open import Data.List.Relation.Unary.Any
open import Data.Nat as N
open import Data.Nat.Show as Nat
open import Data.Fin
open import Data.String... |
awa/plugins/awa-storages/src/awa-storages-beans.ads | Letractively/ada-awa | 0 | 3207 | -----------------------------------------------------------------------
-- awa-storages-beans -- Storage Ada Beans
-- Copyright (C) 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
--... |
pwnlib/shellcraft/templates/thumb/linux/cat2.asm | tkmikan/pwntools | 9 | 243926 | <reponame>tkmikan/pwntools
<%
from pwnlib import constants
from pwnlib.shellcraft import thumb
from pwnlib.shellcraft import common
%>
<%page args="filename, fd=1, length=0x4000"/>
<%docstring>
Opens a file and writes its contents to the specified file descriptor.
Uses an extra stack buffer and must know the leng... |
hmi_sdk/hmi_sdk/Tools/ffmpeg-2.6.2/libavcodec/x86/hevc_mc.asm | APCVSRepo/android_packet | 4 | 18236 | <reponame>APCVSRepo/android_packet
; /*
; * Provide SSE luma and chroma mc functions for HEVC decoding
; * Copyright (c) 2013 <NAME>
; *
; * This file is part of FFmpeg.
; *
; * FFmpeg is free software; you can redistribute it and/or
; * modify it under the terms of the GNU Lesser General Public
; * License as ... |
02/2/src/main.adb | Heziode/aoc-ada-2021 | 3 | 17347 | <reponame>Heziode/aoc-ada-2021
with Ada.Characters.Latin_9,
Ada.Exceptions,
Ada.Integer_Text_IO,
Ada.Text_IO;
with Utils;
procedure Main is
use Ada.Text_IO;
use Utils;
package L9 renames Ada.Characters.Latin_9;
type Movements is (Forward, Down, Up);
File : File_Type;
... |
src/Categories/Morphism/Extremal/Properties.agda | maxsnew/agda-categories | 0 | 15805 | {-# OPTIONS --without-K --safe #-}
open import Categories.Category.Core
module Categories.Morphism.Extremal.Properties {o ℓ e} (𝒞 : Category o ℓ e) where
open import Level
open import Function using (_$_)
open import Categories.Diagram.Equalizer 𝒞
open import Categories.Diagram.Coequalizer 𝒞
open import Categor... |
alloy4fun_models/trashltl/models/11/42hXwBN9a5W8qZ2hW.als | Kaixi26/org.alloytools.alloy | 0 | 4690 | <filename>alloy4fun_models/trashltl/models/11/42hXwBN9a5W8qZ2hW.als
open main
pred id42hXwBN9a5W8qZ2hW_prop12 {
eventually (some f:File | (eventually f in Trash) implies (always f in Trash))
}
pred __repair { id42hXwBN9a5W8qZ2hW_prop12 }
check __repair { id42hXwBN9a5W8qZ2hW_prop12 <=> prop12o } |
Cubical/Algebra/Group/EilenbergMacLane1.agda | marcinjangrzybowski/cubical | 301 | 2093 | <gh_stars>100-1000
{-# OPTIONS --cubical --no-import-sorts --safe --experimental-lossy-unification #-}
module Cubical.Algebra.Group.EilenbergMacLane1 where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Isomorphism
open import Cubical.Foundations.Equiv
open import Cubical.Foundations.Equiv.Ha... |
test/interaction/Issue630a.agda | cruhland/agda | 1,989 | 78 | -- Andreas, 2015-07-16
-- For printing lambda-bound names, name _ should behave as no name.
-- {-# OPTIONS -v tc.term.lambda:60 #-}
module _ where
Test = (A : Set) {A : Set} → A → A
works : Test
works = λ C x → {!!}
-- the goal should be displayed as ?0 : .A
g : Test
g = λ C {_} x → {!!}
-- the goal should be di... |
assets/no-as.scpt | doekman/osagitfilter | 29 | 2213 | This is a text-file, NOT an AppleScript file.
|
oeis/220/A220360.asm | neoneye/loda-programs | 11 | 175131 | ; A220360: a(n) = Fibonacci(n-1) * Fibonacci(n+1) * Fibonacci(n+2).
; Submitted by <NAME>
; 0,6,15,80,312,1365,5712,24310,102795,435744,1845360,7817849,33115680,140282310,594242103,2517255280,10663255848,45170290605,191344398960,810547917686,3433536019155,14544692076096,61612304191200,260993909055025,1105587940064832
... |
programs/oeis/096/A096145.asm | neoneye/loda | 22 | 83775 | <gh_stars>10-100
; A096145: Sum of digits in Pascal's triangle (A007318) in decimal representation, triangle read by rows, 0<=k<=n.
; 1,1,1,1,2,1,1,3,3,1,1,4,6,4,1,1,5,1,1,5,1,1,6,6,2,6,6,1,1,7,3,8,8,3,7,1,1,8,10,11,7,11,10,8,1,1,9,9,12,9,9,12,9,9,1,1,1,9,3,3,9,3,3,9,1,1,1,2,10,12,6,12,12,6,12,10,2,1,1,3,12,4,18,18,15,... |
oeis/145/A145621.asm | neoneye/loda-programs | 11 | 16419 | ; A145621: Numerator of the polynomial A_l(x) = sum_{d=1..l-1} x^(l-d)/d for index l=2n+1 evaluated at x=7.
; Submitted by <NAME>
; 105,31087,2538991,248821433,21946050833,11828921402977,7535022933740305,3692161237533130831,1025190103621701235981,954451986471803883166747,15589382445706130101521201,527077020489324258738... |
_posts/code/PortContention/max_load_capacity.asm | dendibakh/dendibakh.github.io | 45 | 163940 | ; nasm -f elf64 max_load_capacity.asm
; gcc max_load_capacity.o
GLOBAL main
main:
xor rax,rax
push rax
push rcx
push rdi
; set number of iterations
mov rdi, 1000
; allocate array on the stack
sub rsp, 64
; uncomment for running under IACA
; mov ebx, 111 ; Start marker bytes
; db 0x64, 0x67, 0x90 ; Start marker b... |
test/06_vlm.asm | x86128/pymesm | 2 | 95029 | #
# Test for instruction VLM.
#
org 1
vtm -9,2
vtm -10,3
lbl a
utm 1,3
vlm a,2
vim fail,2
vim fail,3
vlm fail,2 ; а что при "0"
vim fail,2
#
# слабое место: короткий цикл
#
xta cful
vtm -2... |
Control Statements/tell/iCal/calendars/todos/properties.applescript | looking-for-a-job/applescript-examples | 1 | 2231 | #!/usr/loca/bin/osascript
tell application "iCal"
repeat with c in every calendar
tell c
repeat with t in every todo
get properties of t
end repeat
end tell
end repeat
end tell |
src/portscan-buildcycle-pkgsrc.ads | jfouquart/synth | 263 | 28137 | <filename>src/portscan-buildcycle-pkgsrc.ads
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
package PortScan.Buildcycle.Pkgsrc is
function build_package (id : builders;
sequence_id : port_id;
in... |
src/Bisimilarity/Weak/Alternative.agda | nad/up-to | 0 | 4195 | <reponame>nad/up-to<filename>src/Bisimilarity/Weak/Alternative.agda
------------------------------------------------------------------------
-- An alternative (non-standard) coinductive definition of weak
-- bisimilarity
------------------------------------------------------------------------
-- This definition is bas... |
alloy4fun_models/trashltl/models/6/TsPre9wDtADRb3a2j.als | Kaixi26/org.alloytools.alloy | 0 | 1526 | open main
pred idTsPre9wDtADRb3a2j_prop7 {
some f : File | f in Protected
}
pred __repair { idTsPre9wDtADRb3a2j_prop7 }
check __repair { idTsPre9wDtADRb3a2j_prop7 <=> prop7o } |
libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sdcc/___h2ulong_callee.asm | Frodevan/z88dk | 0 | 176185 | <reponame>Frodevan/z88dk<filename>libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sdcc/___h2ulong_callee.asm
SECTION code_fp_math16
PUBLIC ___h2ulong_callee
PUBLIC _f16_u32_f16_fastcall
EXTERN cm16_sdcc___h2ulong_callee
EXTERN cm16_sdcc___h2ulong_fastcall
defc ___h2ulong_callee = cm16_sdcc___h2... |
support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-carun8.adb | orb-zhuchen/Orb | 0 | 23683 | <filename>support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-carun8.adb<gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY COMPONENTS --
--... |
libsrc/_DEVELOPMENT/arch/ts2068/display/z80/asm_tshr_saddrcdown.asm | jpoikela/z88dk | 640 | 93275 | <reponame>jpoikela/z88dk<filename>libsrc/_DEVELOPMENT/arch/ts2068/display/z80/asm_tshr_saddrcdown.asm
; ===============================================================
; May 2017
; ===============================================================
;
; void *tshr_saddrcdown(void *saddr)
;
; Modify screen address to move do... |
test/interaction/Issue1244a.agda | cruhland/agda | 1,989 | 1925 | -- Testing the version option on a file with errors.
--
-- N.B. It is necessary to change the Issue1244a.out file when using
-- different versions of Agda.
foo : Set → Set
foo a = b
|
programs/oeis/051/A051865.asm | karttu/loda | 1 | 19335 | ; A051865: 13-gonal (or tridecagonal) numbers: a(n) = n*(11*n - 9)/2.
; 0,1,13,36,70,115,171,238,316,405,505,616,738,871,1015,1170,1336,1513,1701,1900,2110,2331,2563,2806,3060,3325,3601,3888,4186,4495,4815,5146,5488,5841,6205,6580,6966,7363,7771,8190,8620,9061,9513,9976,10450,10935,11431,11938,12456,12985,13525,14076,1... |
BigNum/Mod/Base/bnMul.asm | FloydZ/Crypto-Hash | 11 | 177026 | <filename>BigNum/Mod/Base/bnMul.asm
.686
.model flat,stdcall
option casemap:none
include .\bnlib.inc
include .\bignum.inc
.code
bnMul proc uses ebx esi edi bnX:DWORD,bnY:DWORD,bnProd:DWORD
LOCAL tmpProd
bnSCreateX tmpProd
mov esi,bnX
mov edi,bnY
; .if !BN_IS_ZERO(esi) && !BN_IS_ZERO(edi)
mov eax,[esi].BN.dwSize
... |
commands/communication/duckduckgo-email-protection/generate-unique-email-address.applescript | rashed-imam/script-commands | 1 | 4407 | #!/usr/bin/osascript
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Generate Unique Address
# @raycast.mode compact
# Optional parameters:
# @raycast.icon images/duckduckgo_logo.png
# @raycast.packageName DuckDuckGo Email Protection
# Documentation:
# @raycast.description This script command gene... |
programs/oeis/125/A125836.asm | neoneye/loda | 22 | 9112 | <filename>programs/oeis/125/A125836.asm<gh_stars>10-100
; A125836: Numbers whose base 8 or octal representation is 555555555......5.
; 0,5,45,365,2925,23405,187245,1497965,11983725,95869805,766958445,6135667565,49085340525,392682724205,3141461793645,25131694349165,201053554793325,1608428438346605,12867427506772845,1029... |
ASM/src/constants.asm | deralex/Better-OoT | 75 | 27450 | ; Pointers to game state
.definelabel SAVE_CONTEXT, 0x8011A5D0
.definelabel GLOBAL_CONTEXT, 0x801C84A0
.definelabel PLAYER_ACTOR, 0x801DAA30
.definelabel GET_ITEMTABLE, 0x803A9E7E
; Extended memory map:
; Loaded code files 0x80400000
; ASM working memory 0x80480000
; C working memory 0x80500000
.definelabe... |
arch/ARM/STM32/driversL5/stm32-mpu.ads | morbos/Ada_Drivers_Library | 2 | 6978 | <filename>arch/ARM/STM32/driversL5/stm32-mpu.ads
with System;
with STM32_SVD.MPU; use STM32_SVD.MPU;
package STM32.MPU is
type MPU_Regions is range 0 .. 7;
type Attr_Type is record
Outer : UInt4;
Inner : UInt4;
end record
with Pack, Size => 8;
procedure Add_Region (Region_Num : MPU_Reg... |
TypeTheory/Lecture/PropsAsTypes.agda | hbasold/Sandbox | 0 | 322 | {-# OPTIONS --without-K #-}
module PropsAsTypes where
data Σ {I : Set} (X : I → Set) : Set where
_,_ : (i : I) → X i → Σ X
drec-Σ : {I : Set} {X : I → Set} {A : Σ X → Set} →
((i : I) → (x : X i) → A (i , x)) →
(u : Σ X) → A u
drec-Σ f (i , x) = f i x
π₁ : {I : Set} {X : I → Set} → Σ X → I
π₁ ... |
programs/oeis/230/A230038.asm | neoneye/loda | 22 | 23064 | ; A230038: Distance between n^2 and the smallest triangular number >= n^2.
; 0,2,1,5,3,0,6,2,10,5,15,9,2,14,6,20,11,1,17,6,24,12,32,19,5,27,12,36,20,3,29,11,39,20,0,30,9,41,19,53,30,6,42,17,55,29,2,42,14,56,27,71,41,10,56,24,72,39,5,55,20,72,36,90,53,15,71,32,90,50,9,69,27,89,46,2,66,21,87,41,109,62
add $0,1
pow $0,2
... |
src/framework/aunit-run-generic_runner.adb | persan/AUnit-addons | 0 | 11624 | <filename>src/framework/aunit-run-generic_runner.adb
with Ada.Command_Line;
with Ada.Directories;
with Ada.Streams.Stream_IO;
with AUnit.Options;
with AUnit.Reporter.GNATtest;
with AUnit.Reporter.Text;
with AUnit.Reporter.XML;
with AUnit.Reporter.Stream_XML;
with AUnit.Run;
with AUnit.Test_Filters.List_Filters;
with A... |
ComputerStructure/SPARTAN6/Exercise_2.asm | frisinacho/UMA | 1 | 175947 | .text
lui $2,0x0001
addi $1,$0,1
nop
nop
nop
sw $1,1($2)
sw $1,2($2)
et: beq $0,$0,et
|
src/smart_ptrs/smart_ptrs.ads | jhumphry/auto_counters | 5 | 23851 | <filename>src/smart_ptrs/smart_ptrs.ads
-- smart_ptrs.ads
-- A reference-counted "smart pointer" type similar to that in C++
-- Copyright (c) 2016, <NAME>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyrigh... |
boot.asm | tsu-iscd/lyapas-os | 0 | 171829 | <gh_stars>0
[BITS 16]
[ORG 0x7c00]
jmp 0x0:beginning
beginning:
; очистка экрана
mov ax, 0xb800
mov es, ax
xor bx, bx
mov ecx, 80 * 25 * 2
clearing:
mov byte [es:bx], 0
inc bx
loop clearing
; загрузка ядра с диска
mov ax, 0x800
mov es, ax
xor bx, bx
mov ah, 2
mov al, 8
mov d... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/freeze.ads | djamal2727/Main-Bearing-Analytical-Model | 0 | 10678 | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
src/asis/asis-implementation.ads | My-Colaborations/dynamo | 15 | 26535 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT INTERFACE COMPONENTS --
-- ... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i7-7700_9_0x48_notsx.log_21829_921.asm | ljhsiun2/medusa | 9 | 82893 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i7-7700_9_0x48_notsx.log_21829_921.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x8293, %rax
nop
nop
nop
and $48840... |
oeis/203/A203821.asm | neoneye/loda-programs | 11 | 100782 | ; A203821: Number of (n+1)X4 0..3 arrays with no 2X2 subblock having equal diagonal elements or equal antidiagonal elements
; 11664,571536,28005264,1372257936,67240638864,3294791304336,161444773912464,7910793921710736,387628902163826064,18993816206027477136,930696994095346379664,45604152710671972603536,2234603482822926... |
data/github.com/Saizan/miller/17637ec5267fac2f2072f8c5d5e2a82d11505a46/Injections.agda | ajnavarro/language-dataset | 9 | 13953 | <filename>data/github.com/Saizan/miller/17637ec5267fac2f2072f8c5d5e2a82d11505a46/Injections.agda
module Injections where
open import Data.Product
open import Relation.Nullary
open import Data.Empty
open import Data.Sum
open import Support.Equality
open ≡-Reasoning
open import Vars public
open import Injections.Type ... |
ni.asm | pkali/no_internet | 0 | 25880 | <reponame>pkali/no_internet<filename>ni.asm
; @com.wudsn.ide.asm.mainsourcefile=ni.asm
icl 'atari.asm'
icl 'macro.asm'
.zpvar tmp, tmp0, tmp1, tmp2, tmp3 .word
sw = $80 ;physical screen width in bytes (distance between beginnings of consecutive lines)
sw_log = $40 ;logical screen width
sh = 128 ;screen height in li... |
out/devine.adb | FardaleM/metalang | 22 | 8109 | <filename>out/devine.adb
with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C;
use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C;
procedure devine is
type stringptr is access all char_array;
procedure PString(s : stringptr) is
begin
Stri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.