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 |
|---|---|---|---|---|
system/hideApplication.applescript | adriannier/applescript-functions | 7 | 3556 | (*
Hides the application defined by the name provided as the parameter.
*)
hideApplication("Finder")
hideApplication("VMware Fusion")
on hideApplication(appName)
(* Hides the application defined by the name provided as the parameter. *)
tell application "System Events"
if (exists process appName) is fals... |
programs/oeis/022/A022313.asm | jmorken/loda | 1 | 5501 | <reponame>jmorken/loda
; A022313: a(n) = a(n-1) + a(n-2) + 1, with a(0) = 0 and a(1) = 8.
; 0,8,9,18,28,47,76,124,201,326,528,855,1384,2240,3625,5866,9492,15359,24852,40212,65065,105278,170344,275623,445968,721592,1167561,1889154,3056716,4945871,8002588,12948460,20951049,33899510,54850560,88750071,143600632,232350704,3... |
libsrc/genmath/dcompar.asm | dex4er/deb-z88dk | 1 | 83398 | ;
; Z88dk Generic Floating Point Math Library
;
; common routine for double precision comparisons
;
; $Id: dcompar.asm,v 1.2 2007/10/12 14:49:16 stefano Exp $:
XLIB dcompar
LIB compare
.dcompar
POP HL ;save 1st return addr
POP AF ;save 2nd return addr
POP ... |
thirdparty/ffmpeg/libavcodec/x86/vorbisdsp.asm | yashrajsingh1998/ApraPipes1 | 2,151 | 20826 | <gh_stars>1000+
;******************************************************************************
;* Vorbis x86 optimizations
;* Copyright (C) 2006 <NAME> <<EMAIL>>
;*
;* 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 Publi... |
awa/plugins/awa-questions/regtests/awa-questions-modules-tests.adb | fuzzysloth/ada-awa | 0 | 10695 | -----------------------------------------------------------------------
-- awa-questions-modules-tests -- Unit tests for storage service
-- Copyright (C) 2013, 2014 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in com... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1117.asm | ljhsiun2/medusa | 9 | 22908 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0xd95c, %rbx
nop
mfence
movl $0x61626364, (%rbx)
nop
nop
nop
nop
nop
sub $24508, %r8
lea addresses_WT_ht+0x1d859, %rax
nop
nop
nop
inc %rcx
mov $0x6162636465666768, %rdi
movq %... |
alloy4fun_models/trainstlt/models/4/BjkkhKRzgfzF8Dotj.als | Kaixi26/org.alloytools.alloy | 0 | 2072 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idBjkkhKRzgfzF8Dotj_prop5 {
always(
all t:Train {
some (t.pos & Exit) => no t.pos'
some (t.pos & (Track-Exit)) => some tk2: (t.pos).prox { t.pos' = tk2 }
}
)
}
pred __repair { idBjkkhKRzgfzF8Dotj_prop5 }
check __repair { idBjkkhKRzg... |
snapgear_linux/lib/libgmp/mpn/x86/diveby3.asm | impedimentToProgress/UCI-BlueChip | 0 | 80769 | <reponame>impedimentToProgress/UCI-BlueChip
# x86 mpn_divexact_by3 -- mpn division by 3, expecting no remainder.
#
# cycles/limb
# P5 17.0
# P6 13.5
# K7 10.0
# Copyright (C) 2000 Free Software Foundation, Inc.
#
# This file is part of the GNU MP Library.
#
# The GNU MP Library is free software; y... |
source/labs/lab3/delay_code.asm | MarsUniversity/ECE382 | 0 | 90761 |
.cdecls C,LIST,"msp430.h" ; Include device header file
;-------------------------------------------------------------------------------
;-------------------------------------------------------------------------------
.text ; Assemble into program memory
.retain ... |
models/hol/sygus/hackers_del/hd_14.als | johnwickerson/alloystar | 2 | 4735 | <reponame>johnwickerson/alloystar
/**
* NOTE: make sure to set "Options -> Prevent overflows" to "No"
*
* floor of average of two integers
*/
module hd_14
open hdXY[hd14]
one sig Lit1 extends IntLit {}
fact {
IntLit<:val = Lit1->1
}
-----------------------------------------------------------------------------... |
source/asis/spec/ada-strings-maps.ads | faelys/gela-asis | 4 | 19566 | ------------------------------------------------------------------------------
-- A d a r u n - t i m e s p e c i f i c a t i o n --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
libsrc/target/kaypro83/xorpixl.asm | jpoikela/z88dk | 640 | 173901 | ;
; Kaypro ('83 versions) pseudo graphics routines
; Version for the standard text symbols
;
; <NAME> 2018
;
;
; Xor pixel at (x,y) coordinate.
;
;
;
SECTION code_clib
PUBLIC xorpixel
EXTERN plot_end
EXTERN plot_decode
EXTERN GRAPHICS_CHAR_SET
... |
Library/Kernel/Graphics/graphicsRaster.asm | steakknife/pcgeos | 504 | 20508 | <filename>Library/Kernel/Graphics/graphicsRaster.asm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: KernelGraphics
FILE: Graphics/graphicsRaster.asm
AUTHOR: <NAME>
ROUTINES:
Name Descriptio... |
src/asf-views-nodes-jsf.ads | Letractively/ada-asf | 0 | 8768 | -----------------------------------------------------------------------
-- views.nodes.jsf -- JSF Core Tag Library
-- Copyright (C) 2010, 2011, 2012, 2013, 2014 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in complia... |
programs/oeis/037/A037582.asm | neoneye/loda | 22 | 178049 | <gh_stars>10-100
; A037582: Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 1,3.
; 1,13,131,1313,13131,131313,1313131,13131313,131313131,1313131313,13131313131,131313131313,1313131313131,13131313131313,131313131313131,1313131313131313,13131313131313131,13131313131313... |
grammar/PlSqlParser.g4 | jameschenjav/antlr-plsql | 3 | 409 | <filename>grammar/PlSqlParser.g4
/**
* Oracle(c) PL/SQL 11g Parser
*
* Copyright (c) 2009-2011 <NAME> <<EMAIL>>
* Copyright (c) 2015-2017 <NAME> (KvanTTT, <EMAIL>, Positive Technologies).
* Copyright (c) 2017 <NAME> <<EMAIL>>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_86.asm | ljhsiun2/medusa | 9 | 164468 | .global s_prepare_buffers
s_prepare_buffers:
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x95c3, %rsi
lea addresses_WC_ht+0x6f2f, %rdi
nop
xor $11697, %rdx
mov $71, %rcx
rep movsw
nop
nop
add $1312, %rsi
pop %rsi
pop %rdx
pop %rdi
pop %rcx
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r13... |
sr-service-impl/src/main/resources/QueryExpression.g4 | bianyun1981/spring-rest-backend | 5 | 2462 | grammar QueryExpression;
fragment LETTER: [A-Z_];
fragment IPV6_OCTECT: [0-9A-F][0-9A-F][0-9A-F][0-9A-F];
//IPV4_OCTECT: [0-9]?[0-9]?[0-9];
fragment DEC_DOT_DEC: (DEC_DIGIT+ '.' DEC_DIGIT+ | DEC_DIGIT+ '.' | '.' DEC_DIGIT+);
fragment HEX_DIGIT: [0-9A-F];
fragment DEC_DIGIT: [0-9];
fragment O... |
Framework/trackmo/framework/player.asm | kosmonautdnb/TheLandsOfZador | 0 | 175786 | PLAYER_BEGIN SET .
include "player_const.asm"
SUBROUTINE
include "player_code.asm"
include "player_frqtab.asm"
echo "PLAYER: ",[. - PLAYER_BEGIN]
ZP_USEBIOSLOADING = $8f ; 1 ; also defined in persistent.asm
ZP_FOURBYTES = $40 ; 4 ; also defined in persistent.asm
KERNAL_SETLFS = $ffba
KERNAL_SETNAM = $ffbd
... |
Application Support/BBEdit/Packages/dStyle.bbpackage/Contents/Scripts/Window/Tile Horizontally on Current Screen.scpt | bhdicaire/bbeditSetup | 0 | 3896 | (* Script to tile windows horizontally on a second monitor in BBEdit
Requires perl screen to help determine screen bounds.
*)
(* Comment out display dialog and set the number of displays to avoid prompt *)
-- set numScreens to 2
set numScreens to button returned of (display dialog "How many monitors do you have?" bu... |
Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-valuti.adb | djamal2727/Main-Bearing-Analytical-Model | 0 | 3960 | <reponame>djamal2727/Main-Bearing-Analytical-Model<filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-valuti.adb<gh_stars>0
------------------------------------------------------------------------------
-- --
-- ... |
programs/oeis/256/A256533.asm | karttu/loda | 1 | 84573 | <filename>programs/oeis/256/A256533.asm<gh_stars>1-10
; A256533: Product of n and the sum of all divisors of all positive integers <= n.
; 1,8,24,60,105,198,287,448,621,870,1089,1524,1833,2310,2835,3520,4046,4986,5643,6780,7791,8954,9913,11784,13050,14664,16308,18480,20010,22860,24614,27424,29865,32606,35245,39528,4203... |
alloy4fun_models/trashltl/models/1/SKMJtGToiMRhLLAnA.als | Kaixi26/org.alloytools.alloy | 0 | 137 | <filename>alloy4fun_models/trashltl/models/1/SKMJtGToiMRhLLAnA.als
open main
pred idSKMJtGToiMRhLLAnA_prop2 {
no File until some File
}
pred __repair { idSKMJtGToiMRhLLAnA_prop2 }
check __repair { idSKMJtGToiMRhLLAnA_prop2 <=> prop2o } |
programs/oeis/070/A070574.asm | karttu/loda | 1 | 85939 | ; A070574: n^4 mod 31.
; 0,1,16,19,8,5,25,14,4,20,18,9,28,10,7,2,2,7,10,28,9,18,20,4,14,25,5,8,19,16,1,0,1,16,19,8,5,25,14,4,20,18,9,28,10,7,2,2,7,10,28,9,18,20,4,14,25,5,8,19,16,1,0,1,16,19,8,5,25,14,4,20,18,9,28,10,7,2,2,7,10,28,9
pow $0,4
mod $0,31
mov $1,$0
|
examples/spi/main.adb | ekoeppen/MSP430_Generic_Ada_Drivers | 0 | 15127 | with Interfaces; use Interfaces;
with MSPGD;
with MSPGD.Board; use MSPGD.Board;
with MSPGD.SPI;
with Drivers.Text_IO;
procedure Main is
pragma Preelaborate;
package Text_IO is new Drivers.Text_IO (USART => MSPGD.Board.UART);
Buffer : MSPGD.Buffer_Type (0 .. 15);
begin
Init;
LED_RED.Init;
SPI.Init;... |
programs/oeis/225/A225743.asm | neoneye/loda | 22 | 93463 | <filename>programs/oeis/225/A225743.asm
; A225743: Triangular array: row n is least squarefree word of length n using positive integers.
; 1,1,2,1,2,1,1,2,1,3,1,2,1,3,1,1,2,1,3,1,2,1,2,1,3,1,2,1,1,2,1,3,1,2,1,4,1,2,1,3,1,2,1,4,1,1,2,1,3,1,2,1,4,1,2,1,2,1,3,1,2,1,4,1,2,1,1,2,1,3,1,2,1,4,1,2,1,3,1,2,1,3,1,2,1,4,1,2,1,3,... |
examples/AIM4/bag/Equiv.agda | cruhland/agda | 1,989 | 4637 |
module Equiv where
import Prelude
import Eq
open Prelude
open Eq
data Equiv (a : Set) : Set1 where
equiv : (_==_ : a -> a -> Set)
-> (refl : (x : a) -> x == x)
-> (sym : (x y : a) -> x == y -> y == x)
-> (trans : (x y z : a) -> x == y -> y == z -> x == z)
-... |
ada/meals.ads | rtoal/enhanced-dining-philosophers | 0 | 3465 | <reponame>rtoal/enhanced-dining-philosophers
------------------------------------------------------------------------------
-- meals.ads
--
-- A package containing the public data type Meal. A meal consists of an en-
-- tree, an optional soup, and an optional dessert. Three meal operations are
-- provided:
--
... |
src/grammar/ProjectTxtLexer.g4 | derkork/project.txt-js | 0 | 1475 | lexer grammar ProjectTxtLexer;
channels {
COMMENT_CHANNEL
}
fragment WHITESPACE: [ \t]+;
fragment NEWLINE: ( '\r\n' | '\r' | '\n' );
fragment DIGIT: [0-9];
WS: WHITESPACE -> skip;
LINE_COMMENT: '#' ~[\r\n]* -> skip;
INSTRUCTION_ESCAPE: '^^' -> pushMode(TEXT_MODE);
// the two pushMode instructions are to avoid th... |
programs/oeis/020/A020721.asm | neoneye/loda | 22 | 171294 | ; A020721: Pisot sequences E(7,10), P(7,10).
; 7,10,14,20,29,42,61,89,130,190,278,407,596,873,1279,1874,2746,4024,5897,8642,12665,18561,27202,39866,58426,85627,125492,183917,269543,395034,578950,848492,1243525,1822474,2670965,3914489,5736962,8407926,12322414,18059375,26467300,38789713,56849087,83316386,122106098,178955... |
third_party/antlr_grammars_v4/bibcode/bibcode.g4 | mikhan808/rsyntaxtextarea-antlr4-extension | 2 | 7651 | <filename>third_party/antlr_grammars_v4/bibcode/bibcode.g4
/*
BSD License
Copyright (c) 2020, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the ab... |
ls.asm | mtreffert/xv6-staus-treffert | 0 | 9785 |
_ls: file format elf32-i386
Disassembly of section .text:
00000000 <fmtname>:
#include "user.h"
#include "fs.h"
char*
fmtname(char *path)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 56 push %esi
4: 53 push %ebx
5: ... |
source/directories/machine-pc-linux-gnu/s-nadivo.ads | ytomino/drake | 33 | 27882 | pragma License (Unrestricted);
-- implementation unit specialized for Linux
with C.sys.statfs;
package System.Native_Directories.Volumes is
-- File system information.
pragma Preelaborate;
subtype File_Size is Ada.Streams.Stream_Element_Count;
type File_System is record
Statistics : aliased C.sys.... |
assembler/tests/t_78k0/t_78k0.asm | paulscottrobson/RCA-Cosmac-VIP-III | 1 | 5076 | <gh_stars>1-10
cpu 78070
page 0
relaxed on
include reg78k0.inc
saddr equ 0fe80h
sfr equ 0ff90h
brk
ret
retb
reti
nop
ei
di
halt
stop
adjba
adjbs
mov d,#20
mov saddr,#30
... |
oeis/033/A033659.asm | neoneye/loda-programs | 11 | 80927 | <filename>oeis/033/A033659.asm
; A033659: Trajectory of 27 under map x->x + (x-with-digits-reversed).
; Submitted by <NAME>(s4)
; 27,99,198,1089,10890,20691,40293,79497,158994,658845,1207701,2284722,4559544,9019098,17928207,88211178,175322466,839546037,1570191975,7362102726,13634115363,49985258994,99970517988
mov $2,$... |
programs/oeis/184/A184676.asm | karttu/loda | 1 | 165323 | <reponame>karttu/loda<gh_stars>1-10
; A184676: a(n) = n + floor((n/2-1/(4*n))^2); complement of A183867.
; 1,2,5,7,11,14,19,23,29,34,41,47,55,62,71,79,89,98,109,119,131,142,155,167,181,194,209,223,239,254,271,287,305,322,341,359,379,398,419,439,461,482,505,527,551,574,599,623,649,674,701,727,755,782,811,839,869,898,929... |
programs/oeis/027/A027768.asm | karttu/loda | 1 | 177814 | ; A027768: (n+1)*C(n+1,8).
; 8,81,450,1815,5940,16731,42042,96525,205920,413270,787644,1436058,2519400,4273290,7034940,11277222,17651304,27039375,40619150,59942025,87026940,124472205,175587750,244550475,336585600,458177148,617310936,823753700,1089372240
add $0,8
mov $1,$0
bin $1,8
mul $1,$0
|
source/asis/spec/annex_d/ada-execution_time-timers.ads | faelys/gela-asis | 4 | 3128 | ------------------------------------------------------------------------------
-- A d a r u n - t i m e s p e c i f i c a t i o n --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
programs/oeis/260/A260217.asm | neoneye/loda | 22 | 21677 | ; A260217: Number of base-3 n-digit pandigital numbers.
; 0,0,4,24,100,360,1204,3864,12100,37320,114004,346104,1046500,3155880,9500404,28566744,85831300,257756040,773792404,2322425784,6969374500,20912317800,62745342004,188252803224,564791964100,1694443001160,5083463221204,15250658099064
seq $0,3063 ; a(n) = 3^(n-1)-2^... |
src/apsepp-test_event_class-impl.ads | thierr26/ada-apsepp | 0 | 12168 | -- Copyright (C) 2019 <NAME> <<EMAIL>>
-- MIT license. Please refer to the LICENSE file.
with Apsepp.Test_Event_Class.Generic_R_Index_Mixin,
Apsepp.Test_Event_Class.Generic_Assert_Num_Mixin,
Apsepp.Test_Event_Class.Generic_Exception_Mixin,
Apsepp.Test_Event_Class.Generic_Timestamp_Mixin;
package Apsepp... |
ch10/Macro1.asm | William0Friend/my_masm | 0 | 103622 | TITLE Macro Examples - 1 (Macro1.ASM)
; This program demonstrates the MACRO directive.
INCLUDE Irvine32.inc
INCLUDE macros.inc
mPutchar MACRO char
push eax
mov al,char
call WriteChar
pop eax
ENDM
mPrintChar MACRO char,count
LOCAL temp
.data
temp BYTE count DUP(&char),0
.code
pus... |
alloy4fun_models/trashltl/models/4/jgsThgwQ2EFYBcBQC.als | Kaixi26/org.alloytools.alloy | 0 | 1459 | <filename>alloy4fun_models/trashltl/models/4/jgsThgwQ2EFYBcBQC.als
open main
pred idjgsThgwQ2EFYBcBQC_prop5 {
some Trash
}
pred __repair { idjgsThgwQ2EFYBcBQC_prop5 }
check __repair { idjgsThgwQ2EFYBcBQC_prop5 <=> prop5o } |
smsq/qxl/nasty_e2.asm | olifink/smsqe | 0 | 166035 | <reponame>olifink/smsqe
; Nasty Initialisation for QXL SMSQ/E
; 2006.10.20 1.01 BLAT macro definitions commented out - macro wasn't used (wl)
section header
xref smsq_end
header_base
dc.l nasty_base-header_base ; length of header
dc.l 0 ; module length unknown
dc.l smsq_end-nasty_base ; loaded length
dc.... |
projects/batfish/src/main/antlr4/org/batfish/grammar/cisco_xr/CiscoXr_igmp.g4 | pranavbj-amzn/batfish | 763 | 3032 | parser grammar CiscoXr_igmp;
import CiscoXr_common;
options {
tokenVocab = CiscoXrLexer;
}
router_igmp: IGMP NEWLINE router_igmp_inner*;
router_igmp_inner
:
rigmp_null
| rigmp_vrf
| rigmp_vrf_inner
;
rigmp_vrf_inner
:
rigmp_access_group
| rigmp_explicit_tracking
| rigmp_interface
| rigmp_maximum
... |
sources/ada/magics-ls_magic.adb | reznikmm/jupyter | 4 | 25477 | -- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
----------------------------------------------------------------
with Ada.Characters.Wide_Wide_Latin_1;
with League.JSON.Objects;
with League.JSON.Values;
with Jupyter.Kernels;
procedure Magics.Ls_Magic
(IO_Pub : not null Jupyte... |
programs/oeis/154/A154287.asm | karttu/loda | 0 | 2566 | ; A154287: (L)-sieve transform of {1,4,9,16,...,n^2,...}=A000290.
; 1,3,6,9,13,18,23,29,35,42,49,57,66,75,85,95,106,117,129,141,154,167,181,195,210,225,241,258,275,293,311,330,349,369,389,410,431,453,475,498,521,545,569
mov $6,$0
mov $8,$0
add $8,1
lpb $8,1
clr $0,6
mov $0,$6
sub $8,1
sub $0,$8
mov $3,$0
m... |
oeis/101/A101000.asm | neoneye/loda-programs | 11 | 19252 | ; A101000: Periodic sequence with period 3.
; Submitted by <NAME>
; 0,1,3,0,1,3,0,1,3,0,1,3,0,1,3,0,1,3,0,1,3,0,1,3,0,1,3,0,1,3,0,1,3,0,1,3,0,1,3,0,1,3,0,1,3,0,1,3,0,1,3,0,1,3,0,1,3,0,1,3,0,1,3,0,1,3,0,1,3,0,1,3,0,1,3,0,1,3,0,1,3,0,1,3,0,1,3,0,1,3,0,1,3,0,1,3,0,1,3
mod $0,3
mul $0,7
div $0,4
|
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0xca_notsx.log_21829_1243.asm | ljhsiun2/medusa | 9 | 244162 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0xca_notsx.log_21829_1243.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r8
push %rax
push %rbp
push %rdx
push %rsi
lea addresses_normal_ht+0x18b91, %r10
nop
nop
nop
nop
sub %rbp, %rbp
mov $0x61626364656667... |
circle.asm | nagydani/zx-rom-mods | 15 | 22535 | <reponame>nagydani/zx-rom-mods
;; CIRCLE speedup. Fits in the space of the original
STK_TO_A: EQU 2314H
STK_TO_BC: EQU 2307H
REPORT_B_3: EQU 24F9H
PLOT_SUB: EQU 22E5H
TEMPS: EQU 0D4DH
ORG 233BH
C_R_GRE_1: CALL STK_TO_A
PUSH AF
CALL STK_TO_BC
POP AF
CIRCLE_INT: LD H,A
LD L,0
RRA
CIRCLE_L3: LD DE,00FCH
CIR... |
BetterTouchTool/BetterTouchTool-Library.applescript | boisy/AppleScripts | 116 | 4370 | <reponame>boisy/AppleScripts<filename>BetterTouchTool/BetterTouchTool-Library.applescript
(*
===============================================================================
BetterTouchTool Library
===============================================================================
Version: 1.0 ... |
src/stm32/net-interfaces-stm32.ads | stcarrez/ada-enet | 16 | 12882 | <gh_stars>10-100
-----------------------------------------------------------------------
-- net-interfaces-stm32 -- Ethernet driver for STM32F74x
-- Copyright (C) 2016, 2017 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file exce... |
oeis/116/A116721.asm | neoneye/loda-programs | 11 | 88038 | <filename>oeis/116/A116721.asm
; A116721: Number of permutations of length n which avoid the patterns 123, 3142, 4312; or avoid the patterns 123, 3421, 4231.
; 1,2,5,12,24,42,67,100,142,194,257,332,420,522,639,772,922,1090,1277,1484,1712,1962,2235,2532,2854,3202,3577,3980,4412,4874,5367,5892,6450,7042,7669,8332,9032,97... |
programs/oeis/220/A220154.asm | karttu/loda | 0 | 27258 | ; A220154: Number of 2 X n arrays of the minimum value of corresponding elements and their horizontal or diagonal neighbors in a random, but sorted with lexicographically nondecreasing rows and nonincreasing columns, 0..2 2 X n array.
; 6,11,23,50,88,137,197,268,350,443,547,662,788,925,1073,1232,1402,1583,1775,1978,219... |
programs/oeis/027/A027874.asm | karttu/loda | 0 | 5073 | <reponame>karttu/loda
; A027874: Minimal degree path length of a tree with n leaves.
; 0,4,9,16,23,30,38,46,54,64,74,84,94,104,114,124,134,144,155,166,177,188,199,210,221,232,243,256,269,282,295,308,321,334,347,360,373,386,399,412,425,438,451,464,477,490,503,516,529,542,555,568,581,594,608,622,636,650,664,678,692,706,7... |
4 专业科目/计算机组成/习题/hw/自己动手写CPU/Code/Chapter9_2/AsmTest/inst_rom.asm | ladike/912_project | 640 | 21317 |
inst_rom.om: file format elf32-tradbigmips
Disassembly of section .text:
00000000 <_start>:
0: 34011234 li at,0x1234
4: ac010000 sw at,0(zero)
8: 34015678 li at,0x5678
c: e0010000 sc at,0(zero)
10: 8c010000 lw at,0(zero)
14: 00000000 nop
18: 34010000 li at,0x0
1c: c0010000 ll at,0(zer... |
alloy4fun_models/trashltl/models/13/zW78nu4pztitRhkAB.als | Kaixi26/org.alloytools.alloy | 0 | 2355 | <filename>alloy4fun_models/trashltl/models/13/zW78nu4pztitRhkAB.als
open main
pred idzW78nu4pztitRhkAB_prop14 {
all p:Protected | p in Trash implies after p not in Protected
}
pred __repair { idzW78nu4pztitRhkAB_prop14 }
check __repair { idzW78nu4pztitRhkAB_prop14 <=> prop14o } |
programs/oeis/137/A137495.asm | jmorken/loda | 1 | 4274 | <filename>programs/oeis/137/A137495.asm
; A137495: A098601(2n)+A098601(2n+1)
; 2,3,4,7,13,23,40,70,123,216,379,665,1167,2048,3594,6307,11068,19423,34085,59815,104968,184206,323259,567280,995507,1746993,3065759,5380032,9441298,16568323,29075380,51023735,89540413,157132471,275748264,483904470,849193147,1490230088
mov $1... |
oeis/176/A176644.asm | neoneye/loda-programs | 11 | 13433 | <filename>oeis/176/A176644.asm
; A176644: Triangle T(n, k) = 40^(k*(n-k)), read by rows.
; Submitted by <NAME>(s2.)
; 1,1,1,1,40,1,1,1600,1600,1,1,64000,2560000,64000,1,1,2560000,4096000000,4096000000,2560000,1,1,102400000,6553600000000,262144000000000,6553600000000,102400000,1,1,4096000000,10485760000000000,1677721600... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c9a009c.ada | best08618/asylo | 7 | 6547 | -- C9A009C.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... |
programs/oeis/079/A079496.asm | karttu/loda | 0 | 93411 | <reponame>karttu/loda
; A079496: a(0) = a(1) = 1; thereafter a(2*n+1) = 2*a(2*n) - a(2*n-1), a(2*n) = 4*a(2*n-1) - a(2*n-2).
; 1,1,3,5,17,29,99,169,577,985,3363,5741,19601,33461,114243,195025,665857,1136689,3880899,6625109,22619537,38613965,131836323,225058681,768398401,1311738121,4478554083,7645370045,26102926097,4456... |
src/Categories/Diagram/Limit/Ran.agda | MirceaS/agda-categories | 0 | 16769 | <reponame>MirceaS/agda-categories<filename>src/Categories/Diagram/Limit/Ran.agda
{-# OPTIONS --without-K --safe #-}
module Categories.Diagram.Limit.Ran where
open import Level
open import Data.Product using (Σ)
open import Categories.Category
open import Categories.Category.Complete
open import Categories.Category.C... |
source/containers/a-coinho.adb | ytomino/drake | 33 | 8592 | with Ada.Exceptions.Finally;
with Ada.Unchecked_Conversion;
with Ada.Unchecked_Deallocation;
package body Ada.Containers.Indefinite_Holders is
use type Copy_On_Write.Data_Access;
function Upcast is
new Unchecked_Conversion (Data_Access, Copy_On_Write.Data_Access);
function Downcast is
new Unchecke... |
regtests/servlet-server-tests.adb | My-Colaborations/ada-servlet | 0 | 7866 | <gh_stars>0
-----------------------------------------------------------------------
-- servlet-server-tests - Unit tests for server requests
-- Copyright (C) 2018, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in... |
Transynther/x86/_processed/NC/_zr_/i3-7100_9_0x84_notsx.log_21829_2941.asm | ljhsiun2/medusa | 9 | 27402 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x13f96, %r13
nop
nop
nop
nop
and %r14, %r14
mov $0x6162636465666768, %r9
movq %r9, %xmm0
movups %xmm0, (%r13)
nop
nop
dec %rbx
lea addresse... |
libsrc/oz/ozinterrupt/ozintwait.asm | andydansby/z88dk-mk2 | 1 | 165033 | ;
; Sharp OZ family functions
;
; ported from the OZ-7xx SDK by by <NAME>
; by <NAME> - Oct. 2003
;
;
; custom interrupt code + key scanning
; waits for a keystroke, serial data, or interrupt event
;
;
; ------
; $Id: ozintwait.asm,v 1.2 2003/10/27 16:56:57 stefano Exp $
;
XLIB ozintwait
LIB ozcustomisr
XDEF seri... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_937.asm | ljhsiun2/medusa | 9 | 12739 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r15
push %rdi
push %rsi
// Faulty Load
lea addresses_UC+0xdb5a, %r11
nop
nop
nop
nop
nop
add %r12, %r12
mov (%r11), %rdi
lea oracles, %r15
and $0xff, %rdi
shlq $12, %rdi
mov (%r15,%rdi,1)... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_1379.asm | ljhsiun2/medusa | 9 | 29376 | <filename>Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_1379.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x171f, %rdx
nop
xor $34819, %r10
mov (%rdx), %esi
nop
nop
nop
nop
nop
add $6426, %... |
oeis/029/A029551.asm | neoneye/loda-programs | 11 | 80763 | ; A029551: Highest minimal norm for an (even or odd) 3-modular lattice in dimension n.
; 0,2,2,2,2,3,4,4,4,4,4,4,6,6,6,6,6,6
mov $2,$0
lpb $0
mov $0,$2
add $4,1
sub $2,$4
add $3,1
div $0,$3
sub $0,$3
lpe
add $2,2
lpb $3
mul $3,$2
dif $3,8
lpe
add $4,$3
mov $0,$4
|
formats.als | Artyom260/LASR-Game | 0 | 189 | <reponame>Artyom260/LASR-Game<filename>formats.als
black = ecol(FF000000)
red = ecol(FFFF0000)
yellow = ecol(FFFFFF00)
white = ecol(FFFFFFFF)
grey = ecol(FFDDDDDD)
acenter = {para aspc(center)}
aright = {para aspc(right)}
smallest = font("arial", 10)
smallest2 = font("arial", 6)
smaller = font("arial", 12)
medium = fo... |
Source/game_map.adb | XMoose25X/Advanced-Dungeon-Assault | 1 | 25618 | <gh_stars>1-10
With Ada.Text_IO, Ada.Integer_Text_IO, Ada.Float_Text_IO, stats, display, player, inventory_list, Ada.Unchecked_Deallocation, System.Address_Image;
Use Ada.Text_IO, Ada.Integer_Text_IO, Ada.Float_Text_IO, stats, display, player, inventory_list;
-----------------------------------------------------------... |
programs/oeis/189/A189327.asm | neoneye/loda | 22 | 10334 | ; A189327: Number of nondecreasing arrangements of 4 numbers in 0..n with the last equal to n and each after the second equal to the sum of one or two of the preceding four
; 2,6,7,12,12,18,17,24,22,30,27,36,32,42,37,48,42,54,47,60,52,66,57,72,62,78,67,84,72,90,77,96,82,102,87,108,92,114,97,120,102,126,107,132,112,138,... |
examples/outdated-and-incorrect/iird/IIDg.agda | asr/agda-kanso | 1 | 9265 | <filename>examples/outdated-and-incorrect/iird/IIDg.agda
module IIDg where
open import LF
-- Codes for indexed inductive types
data OPg (I : Set) : Set1 where
ι : I -> OPg I
σ : (A : Set)(γ : A -> OPg I) -> OPg I
δ : (H : Set)(i : H -> I)(γ : OPg I) -> OPg I
-- The top-level structure of values in an IIDg
Args... |
aplib247b.asm | uniabis/z80depacker | 25 | 3386 | <filename>aplib247b.asm
; aPPack decompressor
; original source by dwedit
; very slightly adapted by utopian
; optimized by Metalbrain & <NAME>
;247b
;hl = source
;de = dest
depack ;di
;push iy
or a
ex af,af'
;call init
;pop iy
;ei
;ret
init ld a,128
apbranch1 ld... |
Rings/EuclideanDomains/Lemmas.agda | Smaug123/agdaproofs | 4 | 2763 | {-# OPTIONS --safe --warning=error --without-K #-}
open import LogicalFormulae
open import Groups.Groups
open import Groups.Homomorphisms.Definition
open import Groups.Definition
open import Numbers.Naturals.Definition
open import Numbers.Naturals.Order
open import Setoids.Orders
open import Setoids.Setoids
open impor... |
PRG/objects/W307Coin.asm | narfman0/smb3_pp1 | 0 | 173279 | .byte $01 ; Unknown purpose
.byte OBJ_AUTOSCROLL, $00, $12
.byte OBJ_TREASURESET, $2B, $07
.byte OBJ_TREASUREBOX, $2C, $16
.byte OBJ_TREASUREBOXAPPEAR, $2D, $16
.byte $FF ; Terminator
|
programs/oeis/293/A293656.asm | neoneye/loda | 22 | 178650 | ; A293656: a(n) = binomial(n+1,2)*n!/n!!.
; 1,3,12,30,120,315,1344,3780,17280,51975,253440,810810,4193280,14189175,77414400,275675400,1579253760,5892561675,35300966400,137493105750,858370867200,3478575575475,22562891366400,94870242967500,637646929920000,2774954606799375
mov $1,$0
add $1,2
add $0,$1
lpb $1
mul $0,$1
... |
oeis/142/A142483.asm | neoneye/loda-programs | 11 | 20550 | ; A142483: Primes congruent to 11 mod 51.
; Submitted by <NAME>
; 11,113,317,419,521,827,929,1031,1439,1847,1949,2153,2357,2459,2663,2969,3581,3989,4091,4397,4703,5009,5417,5519,5927,6029,6131,6947,7151,7253,7457,7559,8069,8171,8273,8681,8783,9293,9497,9803,10007,10211,10313,11027,12149,12251,12659,13577,13679,13781,13... |
programs/oeis/076/A076618.asm | jmorken/loda | 1 | 81522 | <filename>programs/oeis/076/A076618.asm
; A076618: Least x>1 such that x^d == 1 (mod d) for each divisor d of n.
; 2,3,4,3,6,7,8,3,4,11,12,7,14,15,16,3,18,7,20,11,22,23,24,7,6,27,4,15,30,31,32,3,34,35,36,7,38,39,40,11,42,43,44,23,16,47,48,7,8,11,52,27,54,7,56,15,58,59,60,31,62,63,22,3,66,67,68,35,70,71,72,7,74,75,16,39... |
_maps/obj50.asm | NatsumiFox/AMPS-Sonic-1-2005 | 2 | 172897 | <filename>_maps/obj50.asm
; ---------------------------------------------------------------------------
; Sprite mappings - Yadrin enemy (SYZ)
; ---------------------------------------------------------------------------
dc.w byte_F93A-Map_obj50, byte_F954-Map_obj50
dc.w byte_F96E-Map_obj50, byte_F988-Map_obj50
d... |
GitSync.applescript | futurelab/GitSync-applescript | 2 | 602 | --Imports:
property ScriptLoader : load script alias ((path to scripts folder from user domain as text) & "file:ScriptLoader.scpt") --prerequisite for loading .applescript files
property TextParser : my ScriptLoader's load_script(alias ((path to scripts folder from user domain as text) & "text:TextParser.applescript"))... |
boot.asm | lesmiskin/os | 0 | 16010 | ; Source: pg 12
mov ah, 0x0e ; scrolling teletype BIOS routine.
mov al, 'H'
int 0x10
mov al, 'e'
int 0x10
mov al, 'l'
int 0x10
mov al, 'l'
int 0x10
mov al, 'o'
int 0x10
jmp $ ; make loop(?)
; Padding and magic number for boot recognition
times 510-($-$$) db 0 ; pad to 510 bytes
dw 0xaa55 ; our magic number!
... |
Projetos/I-VM/bin/nasm/SimpleGt.nasm | mariaeduardabicalho/Z01 | 2 | 243141 | ; 0 - GT
leaw $SP,%A
movw (%A),%D
decw %D
movw %D,(%A)
movw (%A),%A
movw (%A),%D
leaw $SP,%A
subw (%A),$1,%A
subw (%A),%D,%D
leaw $GTscripts/../src/vmExamples/SimpleGt0,%A
jg %D
nop
leaw $SP,%A
subw (%A),$1,%A
movw $0,(%A)
leaw $GT2scripts/../src/vmExamples/SimpleGt0,%A
jmp
nop
GTscripts/../src/vmExamples/SimpleGt0:
le... |
src/Native/Runtime/amd64/UniversalTransition.asm | ZZHGit/corert | 0 | 160036 | <reponame>ZZHGit/corert
;;
;; Copyright (c) Microsoft. All rights reserved.
;; Licensed under the MIT license. See LICENSE file in the project root for full license information.
;;
include AsmMacros.inc
ifdef FEATURE_DYNAMIC_CODE
ifdef _DEBUG
TRASH_SAVED_ARGUMENT_REGISTERS equ 1
else
TRASH_SAVED_ARGUMENT_REGISTERS ... |
impl/reika-j/src/main/java/me/at15/reika/compiler/parser/Reika.g4 | at15/reika | 0 | 4440 | <reponame>at15/reika<filename>impl/reika-j/src/main/java/me/at15/reika/compiler/parser/Reika.g4<gh_stars>0
grammar Reika;
// parser start
prog
: (term ';' | func)+
;
constant
: BOOL # ConsBool
| sign='-'? INT # ConsInt
| sign='-'? DOUBLE # ConsDouble
;
// TODO: merge builtin types?
type
... |
src/Categories/2-Functor.agda | Trebor-Huang/agda-categories | 279 | 4711 | <filename>src/Categories/2-Functor.agda
{-# OPTIONS --without-K --safe #-}
module Categories.2-Functor where
open import Level
open import Categories.Category.Monoidal.Instance.StrictCats using (module Product)
open import Categories.2-Category using (2-Category)
open import Categories.Enriched.Functor using (Functo... |
software/sdrom3/sddos3.asm | AtomicRoland/AtomFpga | 25 | 8148 | <reponame>AtomicRoland/AtomFpga<gh_stars>10-100
.segment "CODE"
.include "math-lib.inc"
.include "atmmcdef.inc"
.include "macros.inc"
.include "int.inc"
.include "sd.inc"
.segment "LAST"
RTS
|
asm/save.ext.asm | RockmanEXEZone/MMBN45-English-Translation | 6 | 85466 | <gh_stars>1-10
.align 2
save_setLastRtcTime:
push r0,r4-r5
ldr r5,=0x2003D40
// Copy the time
ldr r4,=0x8006145
mov r14,r15
bx r4
strb r0,[r5,0xC]
add r4,(0x800614B-0x8006145)
mov r14,r15
bx r4
strb r0,[r5,0xD]
add r4,(0x8006151-0x800614B)
mov r14,r15
bx r4
strb r0,[r5,0xE]
add r4,(0x800615D-0x80061... |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca.log_21829_718.asm | ljhsiun2/medusa | 9 | 160020 | <filename>Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca.log_21829_718.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r8
push %r9
push %rbx
push %rdi
lea addresses_UC_ht+0x10e5d, %rbx
nop
nop
lfence
and $0xffffffffffffffc0, %rbx
movaps (%rbx), %xmm1
vpextrq $1, %... |
Cubical/Algebra/NatSolver/HornerForms.agda | thomas-lamiaux/cubical | 1 | 11893 | <reponame>thomas-lamiaux/cubical<gh_stars>1-10
{-# OPTIONS --safe #-}
module Cubical.Algebra.NatSolver.HornerForms where
open import Cubical.Foundations.Prelude
open import Cubical.Data.Nat hiding (isZero)
open import Cubical.Data.FinData
open import Cubical.Data.Vec
open import Cubical.Data.Bool using (Bool; true; f... |
src/asis/a4g-norm.adb | My-Colaborations/dynamo | 15 | 9453 | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- ... |
awa/plugins/awa-tags/src/awa-tags-components.ads | twdroeger/ada-awa | 81 | 3402 | <filename>awa/plugins/awa-tags/src/awa-tags-components.ads
-----------------------------------------------------------------------
-- awa-tags-components -- Tags component
-- Copyright (C) 2013 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may no... |
ada/core/agar-init.adb | auzkok/libagar | 286 | 29557 | ------------------------------------------------------------------------------
-- AGAR CORE LIBRARY --
-- A G A R . C O R E . I N I T --
-- B o d y --
-- ... |
oeis/015/A015027.asm | neoneye/loda-programs | 11 | 97493 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A015027: q-factorial numbers for q=-12.
; Submitted by <NAME>
; 1,-11,-1463,2333485,44665236385,-10259202810507035,-28277368892180867021255,935288538953861649874525071325,371221802129246962654056875248358359825,-1768082733073463162105209099485375242162416580075,-1010538... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1316.asm | ljhsiun2/medusa | 9 | 240904 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0xd3fe, %rsi
lea addresses_normal_ht+0x13a6e, %rdi
nop
nop
nop
add %rdx, %rdx
mov $90, %rcx
rep movsb
nop
sub $10105, %r11
lea addresses_WT_ht+0x160ae, %rcx
nop
nop
nop
nop
cmp $22671, ... |
applescript/spotlight.applescript | jstart/chrisdev | 0 | 1717 | -- Configure spotlight:
-- remove keyboard shortcut
tell application "System Preferences"
set current pane to pane "com.apple.preference.spotlight"
end tell
tell application "System Events"
tell application process "System Preferences"
set theCheckbox to checkbox 1 of window "spotlight"
tell theCheckbox
if (... |
oeis/220/A220848.asm | neoneye/loda-programs | 11 | 93765 | <filename>oeis/220/A220848.asm
; A220848: a(n) = sum_(d|n) product_(d_x|n, d_x<=d) d_x.
; Submitted by <NAME>
; 1,3,4,11,6,45,8,75,31,113,12,1905,14,213,244,1099,18,6201,20,8451,466,509,24,346929,131,705,760,22803,30,839019,32,33867,1126,1193,1266,10374657,38,1485,1564,2627571,42,3189609,44,87219,93304,2165,48,26034872... |
core/src/main/antlr/PineScript.g4 | paulovap/pinelang | 3 | 2935 | /*
BSD License
Copyright (c) $today.year, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and... |
list1/task2/src/poly.ads | luk9400/nsi | 0 | 30434 | package Poly with SPARK_Mode is
type Vector is array (Natural range <>) of Integer;
function Horner (X: Integer; A: Vector) return Integer;
end Poly;
|
MD407/Kap2/Uppgift2.6.asm | konglobemeralt/DAT017 | 0 | 16978 | @ varför vill de i boken
@ döpa filen till mom5.asm
@ när det är uppg 2.6? smh
start:
LDR R6, =0x55555555 @D som ut
LDR R5, =0x40020C00
STR R6, [R5]
@adressen till port Ds ut data register till R5
LDR R5, =0x40020C14
@adressen till port Es in dataregister till R6
LDR R6, =0x40021010
main:
LDRSB R0, [R6] @rea... |
programs/oeis/060/A060022.asm | karttu/loda | 0 | 13683 | <gh_stars>0
; A060022: Expansion of (1-x-x^N)/((1-x)(1-x^2)(1-x^3)...(1-x^N)) for N = 3.
; 1,0,1,0,0,-1,-1,-3,-3,-5,-6,-8,-9,-12,-13,-16,-18,-21,-23,-27,-29,-33,-36,-40,-43,-48,-51,-56,-60,-65,-69,-75,-79,-85,-90,-96,-101,-108,-113,-120,-126,-133,-139,-147,-153,-161,-168,-176,-183,-192,-199,-208,-216,-225,-233,-243,-25... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.