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
courses/fundamentals_of_ada/labs/prompts/140_access_types/datastore.adb
AdaCore/training_material
15
21087
package body Datastore is -- create a global array of elements that can be referenced by 'access -- Implement functions that return the different access types -- based on the index into the array end Datastore;
constants/pokemon_constants.asm
AmateurPanda92/pokemon-rby-dx
9
3827
const_value = 1 const RHYDON ; $01 const KANGASKHAN ; $02 const NIDORAN_M ; $03 const CLEFAIRY ; $04 const SPEAROW ; $05 const VOLTORB ; $06 const NIDOKING ; $07 const SLOWBRO ; $08 const IVYSAUR ; $09 const EXEGGUTOR ; $0A const LICKITUNG ; $0B const EXEGGCUTE ...
src/Mute.g4
renaudbedard/MuteGrammar
1
4027
<filename>src/Mute.g4 grammar Mute; @lexer::members { boolean inStatement = false; } // ============ // PARSER RULES // ============ parse : statement+ EOF ; statement : MODULE statementPart+ EOL | ID? statementPart+ EOL ; statementPart : assignmentList # assignmentStatementPart | ope...
asm/rominit64.asm
artrag/voicenc_scc
4
240111
<reponame>artrag/voicenc_scc<gh_stars>1-10 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; set pages and subslot ; ENASLT: equ 024h RSLREG: equ 0138h EXPTBL: equ 0FCC1h ; Bios Slot / Expansion Slot ; ---------------------------- ; pre-set main slot for page 3 ; and set sub-slot fo...
Task/Enforced-immutability/Ada/enforced-immutability-1.ada
mullikine/RosettaCodeData
1
23208
<reponame>mullikine/RosettaCodeData Foo : constant := 42; Foo : constant Blahtype := Blahvalue;
test/Succeed/Issue439.agda
cruhland/agda
1,989
6002
{- This example goes through now that we allow instantiation of blocked terms #-} module Issue439 where record Σ (A : Set) (B : A → Set) : Set where constructor _,_ field p₁ : A p₂ : B p₁ open Σ record ⊤ : Set where data Tree : Set where leaf : Tree node : Tree → Tree → Tree mutual U : Tree → Set U...
libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sccz80/sqrt.asm
jpoikela/z88dk
0
99851
SECTION code_fp_math32 PUBLIC sqrt EXTERN cm32_sccz80_fssqrt defc sqrt = cm32_sccz80_fssqrt ; SDCC bridge for Classic IF __CLASSIC PUBLIC _sqrt defc _sqrt = sqrt ENDIF
libsrc/games/vg5k/bit_close.asm
meesokim/z88dk
0
25275
<gh_stars>0 ; $Id: bit_close.asm,v 1.2 2015/01/19 01:32:45 pauloscustodio Exp $ ; ; VG-5000 1 bit sound functions ; ; void bit_click(); ; ; <NAME> - 2014 ; PUBLIC bit_close .bit_close ret
oeis/145/A145134.asm
neoneye/loda-programs
11
165137
; A145134: Expansion of x/((1 - x - x^4)*(1 - x)^5). ; Submitted by <NAME> ; 0,1,6,21,56,127,259,490,876,1498,2472,3963,6204,9522,14374,21397,31477,45844,66203,94915,135247,191717,270570,380435,533232,745424,1039745,1447585,2012282,2793666,3874331,5368292,7432934,10285505,14225881,19667988,27183173,37560068,51887219,71...
programs/oeis/246/A246294.asm
karttu/loda
0
166112
<reponame>karttu/loda ; A246294: Numbers k such that sin(k) < sin(k+1) > sin(k+2). ; 1,7,13,19,26,32,38,45,51,57,63,70,76,82,89,95,101,107,114,120,126,133,139,145,151,158,164,170,176,183,189,195,202,208,214,220,227,233,239,246,252,258,264,271,277,283,290,296,302,308,315,321,327,334,340,346,352,359,365,371,378,384,390,3...
cmdb-core/src/main/resources/RouteQuery.g4
allen0814/we-cmdb
1
5103
/* * To change this license header, choose License Headers in Project Properties. To change this * template file, choose Tools | Templates and open the template in the editor. */ grammar RouteQuery; route: link # LinkRoute | entity_node # EntityRoute; link: entity_node by bwd_node # EntityByBwdNode | fwd_node...
PRG/levels/Plains/8-1.asm
narfman0/smb3_pp1
0
19359
; Original address was $B787 ; 8-1 .word $0000 ; Alternate level layout .word $0000 ; Alternate object layout .byte LEVEL1_SIZE_11 | LEVEL1_YSTART_180 .byte LEVEL2_BGPAL_05 | LEVEL2_OBJPAL_09 | LEVEL2_XSTART_18 .byte LEVEL3_TILESET_01 | LEVEL3_VSCROLL_LOCKLOW .byte LEVEL4_BGBANK_INDEX(1) | LEVEL4_INITACT_NOTHING ...
oeis/097/A097199.asm
neoneye/loda-programs
11
241574
; A097199: Numbers of the form p^4 + 4^p for p prime. ; Submitted by <NAME> ; 32,145,1649,18785,4208945,67137425,17179952705,274878037265,70368744457505,288230376152419025,4611686018428311425,18889465931478582728945,4835703278458516701650465 seq $0,40 ; The prime numbers. seq $0,1589 ; a(n) = 4^n + n^4.
src/data/lib/prim/Agda/Builtin/Unit.agda
alhassy/agda
3
8329
{-# OPTIONS --without-K #-} module Agda.Builtin.Unit where record ⊤ : Set where instance constructor tt {-# BUILTIN UNIT ⊤ #-} {-# COMPILE GHC ⊤ = data () (()) #-}
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_442.asm
ljhsiun2/medusa
9
170473
<filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_442.asm<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r15 push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x16d6d, %r15 nop nop nop and %r13, %r13 mov $0x6162636465666768, %rbx movq %rbx, (%r15) no...
src/vm/i386/jithelp.asm
ANahr/coreclr-Playground
1
164778
<filename>src/vm/i386/jithelp.asm<gh_stars>1-10 ; Licensed to the .NET Foundation under one or more agreements. ; The .NET Foundation licenses this file to you under the MIT license. ; See the LICENSE file in the project root for more information. ; *********************************************************************...
project/win32kstub/amd64/6_1_7600_sp0_shadowssdt_sysenter.asm
rmusser01/windows-syscall-table
6
13368
<filename>project/win32kstub/amd64/6_1_7600_sp0_shadowssdt_sysenter.asm<gh_stars>1-10 ; DO NOT MODIFY THIS FILE DIRECTLY! ; author: @TinySecEx ; shadowssdt asm stub for 6.1.7600-sp0-windows-7 amd64 option casemap:none option prologue:none option epilogue:none .code ; ULONG64 __stdcall NtUserGetThreadState( ULONG6...
ADL/Assemble/Delete/1/R~HR_delete_head.asm
MaxMorning/LinkedListVisualization
3
242747
aLine 0 gNew delPtr gMove delPtr, Root aLine 1 gBne Root, null, 3 aLine 2 Exception EMPTY_LIST aLine 4 gBne Root, Rear, 6 aLine 5 gMove Root, null aLine 6 gMove Rear, null Jmp 8 aLine 9 nMoveRelOut Root, Root, 100 gMoveNext Root, Root aLine 10 pSetNext Rear, Root aLine 12 pDeleteNext delPtr nDelete delPtr gDele...
Data/List/Relation/Binary/Subset/DecSetoid.agda
banacorn/bidirectional
2
15751
<gh_stars>1-10 ------------------------------------------------------------------------ -- The extensional sublist relation over decidable setoid equality. ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe #-} open import Relation.Binary module Data.List.Relation...
programs/oeis/168/A168232.asm
karttu/loda
1
7846
<filename>programs/oeis/168/A168232.asm ; A168232: a(n) = (2*n - 3*(-1)^n - 1)/2. ; 2,0,4,2,6,4,8,6,10,8,12,10,14,12,16,14,18,16,20,18,22,20,24,22,26,24,28,26,30,28,32,30,34,32,36,34,38,36,40,38,42,40,44,42,46,44,48,46,50,48,52,50,54,52,56,54,58,56,60,58,62,60,64,62,66,64,68,66,70,68,72,70,74,72,76,74,78,76,80,78,82,80...
libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sccz80/l_f16_conv_long.asm
Frodevan/z88dk
0
177776
SECTION code_fp_math16 PUBLIC l_f16_ulong2f PUBLIC l_f16_slong2f PUBLIC l_f16_f2slong PUBLIC l_f16_f2ulong PUBLIC f16_i32_f16 PUBLIC f16_u32_f16 PUBLIC f16_f16_i32 PUBLIC f16_f16_u32 EXTERN asm_f16_f24 EXTERN asm_f24_f16 EXTERN asm_f24_u32 EXTERN asm_f24_i32 E...
test/Succeed/Operators.agda
cruhland/agda
1,989
12629
-- Operator example module Operators where data True : Set where tt : True data False : Set where data Bool : Set where false : Bool true : Bool -- An operator is declared with '_' where the arguments go if_then_else_ : Bool -> {A : Set} -> A -> A -> A if true then x else y = x if false then x else y = y ...
source/resolver/program-interpretations.ads
reznikmm/gela
0
13651
-- SPDX-FileCopyrightText: 2019-2021 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- private with Ada.Containers.Vectors; private with Ada.Finalization; with Program.Visibility; with Program.Symbols; with Program.Type_Matchers; package Program.Inter...
ga_common/pick_manager.adb
rogermc2/GA_Ada
3
18080
<filename>ga_common/pick_manager.adb with Interfaces; with Ada.Text_IO; use Ada.Text_IO; with GL.Attributes; with GL.Framebuffer; with GL.Objects.Buffers; with GL.Objects.Programs; with GL.Objects.Shaders; with GL.Pixels; with GL.Types.Colors; with GL.Uniforms; with Program_Loader; with Utilities; package body Pic...
src/test/ref/loop-problem3.asm
jbrandwood/kickc
2
80387
// A loop that compiles to a wrong sequence - skipping the initilization // Commodore 64 PRG executable file .file [name="loop-problem3.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [startAfter="C...
gdb/testsuite/gdb.ada/enum_idx_packed/pck.adb
greyblue9/binutils-gdb
1
29616
<reponame>greyblue9/binutils-gdb<filename>gdb/testsuite/gdb.ada/enum_idx_packed/pck.adb -- Copyright 2012-2021 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Founda...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_953.asm
ljhsiun2/medusa
9
92075
<reponame>ljhsiun2/medusa<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r8 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0xd378, %rsi lea addresses_WC_ht+0x15f78, %rdi and %r13, %r13 mov $36, %rcx rep movsq nop nop nop nop sub $8887, %rdi lea addresses_...
mips2QuadraticEquation.asm
GoldHeretic/MIPSASSIGNMENT2
0
178348
.data king : .asciiz "\nMister Man/Woman Input A:" king_1 : .asciiz "\nAbeg Do for B too:" king_2 : .asciiz "\nWe Need C too PLEASE, <NAME>:" king_3 : .asciiz "\nComplex roots why did you do that" king_4 : .float 4.0 king_5 : .float 2.0 king_6 : .float 0.0 .text main: la $a0, king li $v0, 4 syscall li ...
geometry.ads
FROL256/ada-ray-tracer
3
8043
with Interfaces; with Ada.Numerics.Float_Random; with Vector_Math; with Materials; with Ada.Unchecked_Deallocation; with Ada.Text_IO; use Interfaces; use Vector_Math; use Materials; use Ada.Text_IO; package Geometry is type Ray is record origin : float3 := (0.0, 0.0, 0.0); direction : f...
Applications/Terminal/window/tab/do script.applescript
looking-for-a-job/applescript-examples
1
2446
<gh_stars>1-10 tell application "Terminal" do script "ls; clear" in selected tab of front window # execute in selected tab end tell tell application "Terminal" tell front window tell selected tab do script "ls; clear" # open new tab!!! end tell end tell end tell
data/baseStats/venomoth.asm
AmateurPanda92/pokemon-rby-dx
9
14506
<filename>data/baseStats/venomoth.asm<gh_stars>1-10 db DEX_VENOMOTH ; pokedex id db 70 ; base hp db 65 ; base attack db 60 ; base defense db 90 ; base speed db 90 ; base special db BUG ; species type 1 db POISON ; species type 2 db 75 ; catch rate db 138 ; base exp yield INCBIN "pic/bmon/venomoth.pic",0,1 ; 77, sprite ...
alloy4fun_models/trashltl/models/11/MFTgQM2vsRkuHQGgu.als
Kaixi26/org.alloytools.alloy
0
3546
<gh_stars>0 open main pred idMFTgQM2vsRkuHQGgu_prop12 { eventually (always some f:File | f not in (Trash & Protected) implies f in Trash') } pred __repair { idMFTgQM2vsRkuHQGgu_prop12 } check __repair { idMFTgQM2vsRkuHQGgu_prop12 <=> prop12o }
programs/oeis/261/A261191.asm
karttu/loda
1
173132
<reponame>karttu/loda<gh_stars>1-10 ; A261191: 40-gonal numbers: a(n) = 38*n*(n-1)/2 + n. ; 0,1,40,117,232,385,576,805,1072,1377,1720,2101,2520,2977,3472,4005,4576,5185,5832,6517,7240,8001,8800,9637,10512,11425,12376,13365,14392,15457,16560,17701,18880,20097,21352,22645,23976,25345,26752,28197,29680,31201,32760,34357,3...
src/Data/Fin/TypedSubstitution.agda
metaborg/mj.agda
10
7514
<reponame>metaborg/mj.agda ------------------------------------------------------------------------ -- Well-typed substitutions -- From ------------------------------------------------------------------------ module Extensions.Fin.TypedSubstitution where import Category.Applicative.Indexed as Applicative open import...
x86/Gen_Evasions.asm
lantonov/asm
150
86221
; generate<EVASIONS> generates all pseudo-legal check evasions when the side ; to move is in check. Returns a pointer to the end of the move list. calign 16 Gen_Evasions: ; in rbp address of position ; rbx address of state ; io rdi address to write moves push rsi r12 r13 r14 r15 mov r13d, ...
prova.asm
mrocha98/microcontroladores
0
27902
<gh_stars>0 ;---------------------------------------------------------------; ; PROGRAMA: FONTE ; AULA DE MICROCONTROLADOS I ; ; DIGITADO POR: Matheus EM: 13/06/2019 ; ; Este arquivo é responsável por acender 4 LEDS dispostos na ; porta D conforme...
programs/oeis/329/A329683.asm
neoneye/loda
22
170377
<reponame>neoneye/loda ; A329683: Number of excursions of length n with Motzkin-steps forbidding all consecutive steps of length 2 except UH, HH and HD. ; 1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2...
source/strings/a-seaswi.adb
ytomino/drake
33
9178
with Ada.UCD.East_Asian_Width; package body Ada.Strings.East_Asian_Width is use type UCD.UCS_4; pragma Compile_Time_Error ( UCD.East_Asian_Width_Type'Pos (UCD.N) /= Width_Kind'Pos (Neutral) or else UCD.East_Asian_Width_Type'Pos (UCD.Na) /= Width_Kind'Pos (Narrow) or else UCD.E...
C/Projeto/bdex-comp-09/src/SecondaryGrammar/ReadFile.g4
pedromonteiro01/2semestre
0
7850
<reponame>pedromonteiro01/2semestre<gh_stars>0 grammar ReadFile; // 1st line contains attributes -> header // nmec, name, nota1, nota2 // val1, val2, val3, val4 @header{ package SecondaryGrammar; import Files.*; } file: line line* EOF; line: field (SEP field)* '\r' ? '\n'; field: TEXT | STRING| ; SEP: [ \t]* ',' [ \t]...
labs/lab1/code/obj/kern/kernel.asm
BiEchi/MITLearnOS
0
162653
obj/kern/kernel: file format elf32-i386 Disassembly of section .text: f0100000 <_start+0xeffffff4>: .globl _start _start = RELOC(entry) .globl entry entry: movw $0x1234,0x472 # warm boot f0100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh f0100006: 00 00 add %al,(%eax) f0100008: fe 4...
bin/JWASM/Samples/Linux5.asm
Abd-Beltaji/ASMEMU
3
83942
<reponame>Abd-Beltaji/ASMEMU<gh_stars>1-10 ;------------------------------------------------------------------------------ ; ; Hello, world !! for Linux with JWasm's BIN format. ; Written by <NAME>. ; ; > jwasm -q -bin -Fo=Linux5. Linux5.asm ; > chmod 755 Linux5 ; ; How to: ; 1. file elf32.inc must be included....
oeis/127/A127830.asm
neoneye/loda-programs
11
170767
<reponame>neoneye/loda-programs ; A127830: a(n)=sum{k=0..n, mod(C(floor(k/2),n-k),2)}. ; Submitted by <NAME> ; 1,1,1,2,2,1,2,3,3,3,2,2,3,2,3,5,5,4,4,5,4,3,3,3,4,4,3,4,5,3,5,8,8,7,6,7,7,5,6,8,7,6,5,5,5,4,4,5,6,5,5,7,6,4,5,6,7,7,5,6,8,5,8,13,13,11,10,12,11,8,9,11,11,10,8,9,10,7,9,13,12 mov $2,$0 add $0,1 lpb $0 sub $0...
libsrc/adt/stack/adt_StackPush.asm
jpoikela/z88dk
38
98651
<filename>libsrc/adt/stack/adt_StackPush.asm ; int adt_StackPush(struct adt_Stack *s, void *item) ; CALLER linkage for function pointers SECTION code_clib PUBLIC adt_StackPush PUBLIC _adt_StackPush EXTERN adt_StackPush_callee EXTERN ASMDISP_ADT_STACKPUSH_CALLEE .adt_StackPush ._adt_StackPush pop bc pop de ...
test/interaction/RecordUpdateSyntax.agda
shlevy/agda
1,989
8721
module RecordUpdateSyntax where data ⊤ : Set where tt : ⊤ record R : Set where field a b : ⊤ test : R test = record {!!} { a = tt }
src/Delay-monad/Bisimilarity/Negative.agda
nad/delay-monad
0
3446
<reponame>nad/delay-monad ------------------------------------------------------------------------ -- Some negative results related to weak bisimilarity and expansion ------------------------------------------------------------------------ {-# OPTIONS --sized-types #-} open import Prelude module Delay-monad.Bisimila...
text/MtMoonB1F.asm
opiter09/ASM-Machina
1
161933
<filename>text/MtMoonB1F.asm _MtMoonText1:: text_start done
oeis/290/A290111.asm
neoneye/loda-programs
11
94848
; A290111: Binary representation of the diagonal from the corner to the origin of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 643", based on the 5-celled von Neumann neighborhood. ; 1,11,101,1101,11101,111101,1111101,11111101,111111101,1111111101,11111111101,111111111101,11111111...
hdrvtest.asm
ddribin/hdrv-snes-test
1
18914
<gh_stars>1-10 ; Super Nintendo HDRV Test Software ; Version: v1.4 ; Date: 2018-01-27 ; CHANGE NOTES from v1.0 -> v1.1: Added Bandwidth Test Patterns ; CHANGE NOTES from v1.1 -> v1.2: Added 75% (really 74.19%) Colorbar Test Pattern ; CHANGE NOTES from v1.2 -> v1.3: Added full green screen test pattern ; ...
Receiver/Code/Doorbell.X/doorbell_main.asm
joshtyler/PIC-Doorbell
1
176338
; File doorbell_main.asm ; CODE FOR DOORBELL RECEIVER ; LDPS III Lab Project: <NAME>, <NAME>, <NAME> and <NAME> ; Purpose: ; Plays 4 different melodies when 4 different buttons are pressed ; Receives and decodes an IR signal from the remote and plays the appropriate tune ; Allows a custom tune to be program...
itermsshhosts.scpt
c9pr3/iterm2sshhosts
0
1021
<reponame>c9pr3/iterm2sshhosts<filename>itermsshhosts.scpt<gh_stars>0 #!/usr/bin/osascript on run (arguments) try set configFile to POSIX file (first item of arguments) on error error "Need configFile as first argument" end try tell application "iTerm" try set listOfHosts to {} set hostLines to pa...
shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-oracle/src/main/antlr4/imports/oracle/Keyword.g4
cilfm/shardingsphere
0
4966
/* * 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 "License"); you may ...
oeis/274/A274384.asm
neoneye/loda-programs
11
240454
<gh_stars>10-100 ; A274384: Numbers n such that 2^n is not the average of three positive cubes. ; Submitted by <NAME>(w1) ; 1,2,4,5,7,8,10,11,13,14,16,17,19,20,22,23,25,26,28,29,31,32,34,37,40,43,46 mov $3,$0 mul $3,3 lpb $3 add $2,1 add $4,$2 add $1,$4 div $1,51884 add $1,$2 mov $2,$1 sub $3,1 add $5,...
stuff/R316/old/lib/gfx/screen.asm
Daswf852/Stuff
0
3079
<filename>stuff/R316/old/lib/gfx/screen.asm %ifndef __SCREEN_ASM %define __SCREEN_ASM %include "../common.asm" screen: .init: dpush 0x7 dpush 0x0 call .setColor dpush 0 dpush TRUE call .setMode ret .setFGColor: ;( IRGB -- ) push r0 push ...
alloy4fun_models/trashltl/models/7/KjgWduvC6ozqXjvci.als
Kaixi26/org.alloytools.alloy
0
3330
open main pred idKjgWduvC6ozqXjvci_prop8 { eventually link.File in Trash } pred __repair { idKjgWduvC6ozqXjvci_prop8 } check __repair { idKjgWduvC6ozqXjvci_prop8 <=> prop8o }
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_295.asm
ljhsiun2/medusa
9
4904
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r15 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x2042, %rsi lea addresses_D_ht+0x11142, %rdi clflush (%rdi) nop nop nop nop nop cmp %r11, %r11 mov $122, %rcx rep movsb nop nop nop cmp $18291, %rsi lea addres...
02_tcp_reverseshell/tcp_reverse.nasm
undefinstr/SLAE64
0
27635
<filename>02_tcp_reverseshell/tcp_reverse.nasm BITS 64 global _start section .text _start: ; socket(int, int type, int protocol); mov al, 41 ; system call number mov dil, 2 ; domain = AF_INET (= 2) xor rsi,rsi mov sil, 1 ; type = SOCK_STREAM (= 1) xor rdx,rdx ; protocol = 0 ...
Task/Image-noise/Ada/image-noise-2.ada
LaudateCorpus1/RosettaCodeData
1
7550
with Ada.Numerics.Discrete_Random; package body Noise is type Color is (Black, White); package Color_Random is new Ada.Numerics.Discrete_Random (Color); Color_Gen : Color_Random.Generator; function Create_Image (Width, Height : Natural) return Lumen.Image.Descriptor is Result : Lumen.Image.Descripto...
ada/original_2008/ada-gui/agar-gui-widget-vbox.adb
auzkok/libagar
286
27517
package body agar.gui.widget.vbox is package cbinds is procedure set_homogenous (box : vbox_access_t; homogenous : c.int); pragma import (c, set_homogenous, "agar_gui_widget_vbox_set_homogenous"); procedure set_padding (box : vbox_access_t; padding : c.int); pragma i...
sprites.asm
NotExactlySiev/psychofloat
1
4936
<reponame>NotExactlySiev/psychofloat UpdatePlayer: subroutine lda py0 sec sbc #5 sta $200 lda px0 sec sbc #4 sta $203 lda #1 bit flags beq .nrotate lda flags asl asl and #$40 ...
examples/asm/add.asm
kaspr61/RackVM
0
96065
<reponame>kaspr61/RackVM ; BSD 2-Clause License ; ; Copyright (c) 2022, <NAME> ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions are met: ; ; 1. Redistributions of source code must retain the above copyright notice, this ; l...
programs/oeis/135/A135997.asm
karttu/loda
0
89572
<filename>programs/oeis/135/A135997.asm ; A135997: Table of triples T(k,m) = k (m=1), 2-k (m=2) and 1-k (m=3). ; 0,2,1,1,1,0,2,0,-1,3,-1,-2,4,-2,-3,5,-3,-4,6,-4,-5,7,-5,-6,8,-6,-7,9,-7,-8,10,-8,-9,11,-9,-10,12,-10,-11,13,-11,-12,14,-12,-13,15,-13,-14,16,-14,-15,17,-15,-16,18,-16,-17,19,-17,-18,20,-18,-19,21,-19,-20,22,...
iambored.scpt
doekman/ascr-and-git
0
1602
-- iambored -- Quick port of: https://gist.github.com/doekman/834a0d6a9c6e9598a42ca647462cf6da set AppleScript's text item delimiters to return set get_links_command to "curl -s http://wiki.secretgeek.net/best-of-wikipedia | grep 'a href=\"http' | sed -E $'s/^.*<a href=\"([^\"]+)\"[^>]*>([^<]+)<\\/a>.*$/\\\\1 \\\\2/'"...
src/data/interrupts.asm
Hacktix/gb-tictactoe
8
3619
<filename>src/data/interrupts.asm SECTION "VBlank Handler", ROM0 VBlankHandler:: ; Do OAM DMA if requested ldh a, [hStartAddrOAM] and a jr z, .noOAMDMA call hOAMDMA xor a ldh [hStartAddrOAM], a .noOAMDMA ; Print string if requested ldh a, [hStringDrawFlag] and a jr z, .noStr...
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_2268.asm
ljhsiun2/medusa
9
17781
.global s_prepare_buffers s_prepare_buffers: push %r15 push %r8 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_WC_ht+0x136e9, %r8 nop nop nop nop and $6923, %rdi mov (%r8), %r15w nop nop nop nop nop add $51293, %r9 lea addresses_WC_ht+0x1c4d0, %rsi lea addresses_D_ht+0x3b40, %rdi clflush (%rsi) dec %rax...
Transynther/x86/_processed/NONE/_un_/i9-9900K_12_0xa0.log_1_1042.asm
ljhsiun2/medusa
9
104769
<gh_stars>1-10 .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_A_ht+0x59f, %rsi lea addresses_A_ht+0x1d4fa, %rdi nop nop nop nop and $9967, %rbp mov $11, %rcx rep movsb nop nop nop nop nop dec %rsi lea addresses_UC_ht+0x88fa, %r8 ...
Linux/removedir.asm
EgeBalci/Shellcode
2
247077
Linux/x86 Force-rmdir --- WE ARE BOMBERMANS --- #Greetz : Bomberman(Leader) #Author : B3mB4m #Bomberman's owned this section BACK OFF ! /*Shellcode length depend file path.*/ #https://github.com/b3mb4m/Shellcode/blob/master/Auxiliary/convertstack.py #Use my own stack converter that's will help you ;) Disassembly ...
Transynther/x86/_processed/AVXALIGN/_st_4k_sm_/i7-7700_9_0xca.log_5977_833.asm
ljhsiun2/medusa
9
6115
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x102ed, %r10 clflush (%r10) nop nop sub %rsi, %rsi movb $0x61, (%r10) nop nop nop nop nop xor $55888, %rsi lea addresses_UC_ht+0x1822e, %rsi nop nop nop nop xor $40313, %rdx ...
code/sqrt.asm
Masrt200/asm-disasm
0
161394
;; find the sqrt of a number ;; masrt ;; 23-5-21 section .data SYS_EXIT equ 60 EXIT_SUCCESS equ 0 NUM dd 1546213 SQRT dd 0 section .text global _start _start: mov ecx, 50 mov ebx, dword [NUM] mov dword [SQRT],ebx iter: mov eax, dword [NUM] ...
examples/dump_tree/errors.ads
reznikmm/gela
0
23195
-- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Error_Listeners; package Errors is type Error_Listener is new Program.Error_Listeners.Error_Listener with null record; overriding procedure No_B...
test/Succeed/Issue2634.agda
cruhland/agda
1,989
16656
<reponame>cruhland/agda<gh_stars>1000+ infix 50 _∼_ postulate A : Set x : A _∼_ : A → A → Set record T : Set where -- This fixity declaration should not be ignored. infix 60 _∘_ _∘_ : A → A → A _∘_ _ _ = x field law : x ∘ x ∼ x -- Some more examples record R : Set₁ where infixl 6 _+_ field ...
alloy4fun_models/trainstlt/models/4/M7JJDBRt2MwPSL9M4.als
Kaixi26/org.alloytools.alloy
0
4960
<reponame>Kaixi26/org.alloytools.alloy open main pred idM7JJDBRt2MwPSL9M4_prop5 { always all t : Train | t.pos' in t.pos.prox } pred __repair { idM7JJDBRt2MwPSL9M4_prop5 } check __repair { idM7JJDBRt2MwPSL9M4_prop5 <=> prop5o }
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1418.asm
ljhsiun2/medusa
9
90491
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r12 push %r15 push %r9 push %rax push %rbp // Faulty Load lea addresses_RW+0x1e891, %r12 nop add $40341, %rbp mov (%r12), %rax lea oracles, %r12 and $0xff, %rax shlq $12, %rax mov (%r12,%rax,1), %rax pop %rbp pop %rax pop ...
zombie.asm
kishan1468/memory-management-in-xv6
0
166835
_zombie: file format elf32-i386 Disassembly of section .text: 00001000 <main>: #include "stat.h" #include "user.h" int main(void) { 1000: f3 0f 1e fb endbr32 1004: 8d 4c 24 04 lea 0x4(%esp),%ecx 1008: 83 e4 f0 and $0xfffffff0,%esp 100b: ff 71 fc ...
src/fot/FOTC/Data/Nat/Type.agda
asr/fotc
11
9718
<reponame>asr/fotc ------------------------------------------------------------------------------ -- The FOTC natural numbers type ------------------------------------------------------------------------------ {-# OPTIONS --exact-split #-} {-# OPTIONS --no-sized-types #-} {-# OPTIONS --no-univer...
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/case_optimization_pkg1.ads
best08618/asylo
7
8430
<gh_stars>1-10 package Case_Optimization_Pkg1 is type Element is null record; type Internal_Element_Kinds is (Not_An_Element, An_All_Calls_Remote_Pragma, An_Asynchronous_Pragma, An_Atomic_Pragma, An_Atomic_Components_Pragma, An_Attach_H...
labs/visitor/grammars/Expr.g4
parrt/cs652
110
4040
<filename>labs/visitor/grammars/Expr.g4 grammar Expr; s : e ; e : e '*' e # Mult | e '+' e # Add | INT # Number ; INT : [0-9]+ ; WS : [ \r\t\n]+ -> skip ;
programs/oeis/047/A047346.asm
neoneye/loda
22
161476
; A047346: Numbers that are congruent to {1, 4} mod 7. ; 1,4,8,11,15,18,22,25,29,32,36,39,43,46,50,53,57,60,64,67,71,74,78,81,85,88,92,95,99,102,106,109,113,116,120,123,127,130,134,137,141,144,148,151,155,158,162,165,169,172,176,179,183,186,190,193,197,200,204,207,211,214,218,221,225,228,232,235,239,242,246,249,253,256...
programs/oeis/132/A132740.asm
neoneye/loda
22
94220
<filename>programs/oeis/132/A132740.asm ; A132740: Largest divisor of n coprime to 10. ; 1,1,3,1,1,3,7,1,9,1,11,3,13,7,3,1,17,9,19,1,21,11,23,3,1,13,27,7,29,3,31,1,33,17,7,9,37,19,39,1,41,21,43,11,9,23,47,3,49,1,51,13,53,27,11,7,57,29,59,3,61,31,63,1,13,33,67,17,69,7,71,9,73,37,3,19,77,39,79,1,81,41,83,21,17,43,87,11,8...
mw-kreator-regul-biznesowych/app-modul-silnik-regul/src/main/antlr/RuleSet.g4
mwwojcik/ml_workspace_kotlin
0
603
<filename>mw-kreator-regul-biznesowych/app-modul-silnik-regul/src/main/antlr/RuleSet.g4<gh_stars>0 grammar RuleSet; @parser::header { package reguly.antlr; } @lexer::header { package reguly.antlr; } rule_set : single_rule (NEWLINE single_rule)* EOF ; single_rule : logical_expr RULECOMMENT? ; logical_expr : logical...
P6/data_P6_2/cal_R_test15.asm
alxzzhou/BUAA_CO_2020
1
94708
lui $1,12558 ori $1,$1,26562 lui $2,20823 ori $2,$2,35653 lui $3,25692 ori $3,$3,41065 lui $4,31924 ori $4,$4,64774 lui $5,40770 ori $5,$5,43097 lui $6,44076 ori $6,$6,50130 mthi $1 mtlo $2 sec0: nop nop nop nor $1,$6,$2 sec1: nop nop subu $2,$6,$3 nor $3,$6,$2 sec2: nop nop andi $2,$0,9484 nor $1,$6,$2 sec...
scripts/Load Parent Group to start of selected Child.applescript
samschloegel/qlab-scripts
8
3403
<filename>scripts/Load Parent Group to start of selected Child.applescript -- For help, bug reports, or feature suggestions, please visit https://github.com/samschloegel/qlab-scripts -- Built for QLab 4. v211121-01 set userPreRoll to 0.0 tell application id "com.figure53.QLab.4" to tell front workspace set theCue to...
src/tools/oners.adb
spr93/whitakers-words
204
3090
-- WORDS, a Latin dictionary, by <NAME> (USAF, Retired) -- -- Copyright <NAME> (1936–2010) -- -- This is a free program, which means it is proper to copy it and pass -- it on to your friends. Consider it a developmental item for which -- there is no charge. However, just for form, it is Copyrighted -- (c). Permission i...
projects/04/mult/Mult.asm
chapnitsky/Nand2Tetris
0
29736
// This file is part of www.nand2tetris.org // and the book "The Elements of Computing Systems" // by <NAME>, MIT Press. // File name: projects/04/Mult.asm // Multiplies R0 and R1 and stores the result in R2. // (R0, R1, R2 refer to RAM[0], RAM[1], and RAM[2], respectively.) // // This program only needs to handle arg...
FormalAnalyzer/models/meta/cap_switchLevel.als
Mohannadcse/IoTCOM_BehavioralRuleExtractor
0
2275
<reponame>Mohannadcse/IoTCOM_BehavioralRuleExtractor // filename: cap_switchLevel.als module cap_switchLevel open IoTBottomUp one sig cap_switchLevel extends Capability {} { attributes = cap_switchLevel_attr } abstract sig cap_switchLevel_attr extends Attribute {} one sig cap_switchLevel_attr_level extends cap_swi...
alloy4fun_models/trainstlt/models/7/bB5tDmtvy7Knm2z96.als
Kaixi26/org.alloytools.alloy
0
2745
<gh_stars>0 open main pred idbB5tDmtvy7Knm2z96_prop8 { always ( all tk:Track | some tk.signal implies (tk.signal in Green) releases ( #pos.tk' = #pos.tk ) ) } pred __repair { idbB5tDmtvy7Knm2z96_prop8 } check __repair { idbB5tDmtvy7Knm2z96_prop8 <=> prop8o }
oeis/099/A099093.asm
neoneye/loda-programs
11
173361
; A099093: Riordan array (1, 3+3x). ; Submitted by <NAME> ; 1,0,3,0,3,9,0,0,18,27,0,0,9,81,81,0,0,0,81,324,243,0,0,0,27,486,1215,729,0,0,0,0,324,2430,4374,2187,0,0,0,0,81,2430,10935,15309,6561,0,0,0,0,0,1215,14580,45927,52488,19683,0,0,0,0,0,243,10935,76545,183708,177147,59049 lpb $0 add $1,1 sub $0,$1 lpe mov $2,...
src/drivers/dac_u2502/sam-dac.ads
Fabien-Chouteau/samd51-hal
1
18919
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2019, AdaCore -- -- -- -- ...
oeis/276/A276039.asm
neoneye/loda-programs
11
169598
; A276039: Numbers using only digits 1 and 7. ; Submitted by <NAME> ; 1,7,11,17,71,77,111,117,171,177,711,717,771,777,1111,1117,1171,1177,1711,1717,1771,1777,7111,7117,7171,7177,7711,7717,7771,7777,11111,11117,11171,11177,11711,11717,11771,11777,17111,17117,17171,17177,17711,17717,17771,17777,71111,71117,71171,71177,71...
new-text-file.applescript
jshimbo/macos-actions
0
4695
<gh_stars>0 tell application "Finder" set this_folder to insertion location as text if (count of (get selection)) is equal to 1 then set file_alias to the selection as alias set default_name to name of file_alias else set default_name to "New Text File" end if end tell set new_file to text returned of (displ...
oeis/195/A195403.asm
neoneye/loda-programs
11
166686
; A195403: Decimal expansion of shortest length, (A), of segment from side AB through incenter to side AC in right triangle ABC with sidelengths (a,b,c)=(1,sqrt(r),r), where r=(1+sqrt(5))/2 (the golden ratio). ; Submitted by <NAME> ; 6,9,2,0,2,8,6,7,8,4,7,1,6,5,1,7,6,7,9,0,4,3,2,8,7,4,5,2,5,6,2,9,3,2,5,2,0,0,9,4,0,2,2,...
src/Bi-invertibility.agda
nad/equality
3
6441
<filename>src/Bi-invertibility.agda ------------------------------------------------------------------------ -- Bi-invertibility ------------------------------------------------------------------------ -- The development is based on the presentation of bi-invertibility -- (for types and functions) and related things i...
src/002/n1.ads
xeenta/learning-ada
0
19548
<gh_stars>0 package N1 is C1 : constant := 1; package N2 is type N2_Type is new Integer; PC : constant := 2; private Cnt : Integer; end N2; C2 : N2.N2_Type; private package N3 is PC : constant := 3; private Cnt : Integer; end N3; end N1;
tools-src/gnu/gcc/gcc/ada/sem_ch12.ads
enfoTek/tomato.linksys.e2000.nvram-mod
80
20298
<gh_stars>10-100 ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- ...
bondgo/src/test/source002.go.asm
mmirko/bondmachine
6
80761
<reponame>mmirko/bondmachine<gh_stars>1-10 clr r0 clr r1 r2m r1 0 rset r1 7 rset r2 8 cpy r0 r1 r2m r2 0
os/Darwin/bin/EmacsX.applescript
articuluxe/harmsway
2
571
<reponame>articuluxe/harmsway<filename>os/Darwin/bin/EmacsX.applescript<gh_stars>1-10 do shell script "open -n -a /Applications/Emacs.app/Contents/MacOS/Emacs"
bindings/gl.adb
ForYouEyesOnly/Space-Convoy
1
21447
<filename>bindings/gl.adb -- Change log: -- GdM : 26-Jul-2011 : using System.Address_To_Access_Conversions -- GdM : 28-Nov-2005 : replaced Unrestricted_Access with Address -- since Unrestricted_Access is GNAT-Specific -- GdM : 27-Jan-2004 : Added Material_Float_vector and Material ( .. .) fo...
bench/stlc_lessimpl.agda
int-index/smalltt
377
8535
{-# OPTIONS --type-in-type #-} Ty% : Set Ty% = (Ty% : Set) (nat top bot : Ty%) (arr prod sum : Ty% → Ty% → Ty%) → Ty% nat% : Ty%; nat% = λ _ nat% _ _ _ _ _ → nat% top% : Ty%; top% = λ _ _ top% _ _ _ _ → top% bot% : Ty%; bot% = λ _ _ _ bot% _ _ _ → bot% arr% : Ty% → Ty% → Ty%; arr% = λ A B Ty% na...
ASS5/sort_float_arr (q6).asm
rahulkumawat1/NASM
0
104239
section .data mes1: db "Enter Number of elements :", 10 len1: equ $-mes1 mes2: db "Enter array :", 10 len2: equ $-mes2 mes3: db "Sorted array :", 10 len3: equ $-mes3 format1: db "%lf",0 format2: db "%lf",10 section .bss array: resq 100 arr_size: resd 1 n: resd 1 temp: resq 1 digit: resb 1 float1: resq 1 section .te...
timers/div_reset_timing/main.asm
AntonioND/gbc-hw-tests
6
16590
INCLUDE "hardware.inc" INCLUDE "header.inc" SECTION "var",BSS ram_ptr: DS 2 repeat_loop: DS 1 SECTION "Main",HOME ;-------------------------------------------------------------------------- ;- Main() - ;-----------------------------------------...
programs/oeis/267/A267006.asm
jmorken/loda
1
240952
<reponame>jmorken/loda ; A267006: Triangle read by rows giving successive states of cellular automaton generated by "Rule 84" initiated with a single ON (black) cell. ; 1,0,1,1,0,0,0,1,1,0,0,0,0,0,1,1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0...