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 |
|---|---|---|---|---|
src/drivers/adabase-driver-base-firebird.adb | jrmarino/AdaBase | 30 | 4561 | <filename>src/drivers/adabase-driver-base-firebird.adb
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../../License.txt
with Ada.Strings.Fixed;
package body AdaBase.Driver.Base.Firebird is
package ASF renames Ada.Strings.Fixed;
---------------
-- execute --
-... |
Transynther/x86/_processed/NONE/_zr_xt_/i3-7100_9_0x84_notsx.log_21829_992.asm | ljhsiun2/medusa | 9 | 174594 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x5c8c, %r11
nop
nop
nop
nop
sub $28132, %r15
movb (%r11), %r14b
nop
nop
nop
nop
nop
inc %r13
lea addresses_UC_ht+0x16354, %r14
nop
nop
and $23614, %r15
movb (%r14), %cl
sub %r... |
firmware/coreboot/3rdparty/libgfxinit/common/g45/hw-gfx-gma-gmch-hdmi.adb | fabiojna02/OpenCellular | 1 | 17106 | --
-- Copyright (C) 2015-2016 secunet Security Networks AG
--
-- 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 Foundation; either version 2 of the License, or
-- (at your option) any later version.
--
-- ... |
Definition/LogicalRelation/Properties/Symmetry.agda | loic-p/logrel-mltt | 0 | 16128 | <reponame>loic-p/logrel-mltt<filename>Definition/LogicalRelation/Properties/Symmetry.agda
{-# OPTIONS --without-K --safe #-}
open import Definition.Typed.EqualityRelation
module Definition.LogicalRelation.Properties.Symmetry {{eqrel : EqRelSet}} where
open EqRelSet {{...}}
open import Definition.Untyped
open import ... |
data/pokemon/dex_entries/snubbull.asm | AtmaBuster/pokeplat-gen2 | 6 | 338 | <reponame>AtmaBuster/pokeplat-gen2
db "FAIRY@" ; species name
db "In truth, it is a"
next "cowardly #MON."
next "It growls eagerly"
page "in order to hide"
next "its fear from its"
next "opponent.@"
|
software/modules/controller.adb | TUM-EI-RCS/StratoX | 12 | 27017 |
with PX4IO.Driver;
with Servo;
with Generic_PID_Controller;
with Logger;
with Profiler;
with Config.Software; use Config.Software;
--with Units.Numerics; use Units.Numerics;
with Ada.Numerics.Elementary_Functions;
with Bounded_Image; use Bounded_Image;
with Interfaces; use Interfaces;
with ULog;
with Types; use Types;... |
oeis/315/A315020.asm | neoneye/loda-programs | 11 | 87592 | <reponame>neoneye/loda-programs
; A315020: Coordination sequence Gal.4.76.3 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; Submitted by <NAME>
; 1,5,9,15,19,23,29,33,38,43,47,53,57,61,67,71,76,81,85,91,95,99,105,109,114,119,123,129,... |
test/Fail/Issue413.agda | cruhland/agda | 1,989 | 1750 | <reponame>cruhland/agda
module Issue413 where
data Bool : Set where
data ℕ : Set where
zero : ℕ
data Type : (A : Set) → Set where
isBool : Type Bool
isℕ : Type ℕ
g : (A : Set) → Type A → Type A → ℕ
g .Bool isBool isBool = zero
|
projects/batfish/src/main/antlr4/org/batfish/vendor/a10/grammar/A10Lexer.g4 | jeffkala/batfish | 0 | 5836 | <filename>projects/batfish/src/main/antlr4/org/batfish/vendor/a10/grammar/A10Lexer.g4
lexer grammar A10Lexer;
options {
superClass = 'A10BaseLexer';
}
tokens {
QUOTED_TEXT,
RBA_LINE,
RBA_TAIL,
WORD,
WORD_SEPARATOR
}
// A10 keywords
ACCESS_LIST
:
'access-list'
{
if (lastTokenType() == IP) {
... |
modules/opDivide.asm | antuniooh/assembly-calculator | 2 | 81850 | OP_DIVIDE:
mov A, R5
mov B, R6
div AB
mov R3, A
ACALL SHOW_RESULT
ACALL LONG_DELAY
ACALL CLEAR_ALL |
src/parser/Grammar.g4 | srensamblador/JSON-Parser | 0 | 2692 | grammar Grammar
;
import Lexicon
;
@parser::header {
import ast.*;
}
start returns [Json ast]
: valor EOF { $ast = new Json($valor.ast) ;} ;
valor returns [Valor ast]
: STRING {$ast = new Cadena($STRING) ;}
| NUMBER {$ast = new Numero($NUMBER) ;}
| 'true' {$ast = new True(); }
| 'false' {$ast = new False(... |
oeis/010/A010549.asm | neoneye/loda-programs | 11 | 14621 | <filename>oeis/010/A010549.asm
; A010549: Decimal expansion of square root of 98.
; 9,8,9,9,4,9,4,9,3,6,6,1,1,6,6,5,3,4,1,6,1,1,8,2,1,0,6,9,4,6,7,8,8,6,5,4,9,9,8,7,7,0,3,1,2,7,6,3,8,6,3,6,5,1,2,2,3,6,7,5,8,1,6,5,9,3,5,1,2,7,3,4,9,2,3,4,7,4,9,2,7,1,9,5,2,7,1,2,7,4,0,2,9,3,4,9,1,0,0,9
mov $1,1
mov $2,1
mov $3,$0
add $3,... |
mc-sema/validator/x86/tests/FILD_64m.asm | randolphwong/mcsema | 2 | 90175 | BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
;TEST_BEGIN_RECORDING
lea edi, [esp-0x0c]
mov dword [edi+00], 0x0000
mov dword [edi+04], 0x0001
FILD qword [edi]
mov edi, 0
;TEST_END_RECORDING
|
tests/crew-inventory-test_data-tests.ads | thindil/steamsky | 80 | 16509 | <filename>tests/crew-inventory-test_data-tests.ads
-- This package has been generated automatically by GNATtest.
-- Do not edit any part of it, see GNATtest documentation for more details.
-- begin read only
with Gnattest_Generated;
package Crew.Inventory.Test_Data.Tests is
type Test is new GNATtest_Generated.... |
src/gl/implementation/gl-fixed.adb | Roldak/OpenGLAda | 79 | 7031 | -- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with GL.API;
-- Fixed function pipeline. Deprecated in OpenGL 3.0.
package body GL.Fixed is
procedure Set_Vertex_Pointer (Length : Vertex_Length;
Stride, Offset : Size) is... |
programs/oeis/066/A066445.asm | neoneye/loda | 22 | 10367 | ; A066445: a(n) = 12^n mod n^12.
; 0,144,1728,20736,248832,2985984,35831808,429981696,5159780352,61917364224,743008370688,0,13800864889148,36652392292352,96953703492618,236674172846080,568249606736865,15868743229440,1270692936983464,2296447475122176,1898727404471631,8621343763677184,13893976854626899,0,1212415059739218... |
data/pokemon/base_stats/pelipper.asm | AtmaBuster/pokeplat-gen2 | 6 | 96341 | <filename>data/pokemon/base_stats/pelipper.asm<gh_stars>1-10
db 0 ; species ID placeholder
db 60, 50, 100, 65, 85, 70
; hp atk def spd sat sdf
db WATER, FLYING ; type
db 45 ; catch rate
db 164 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 20 ; step cycles to hatch
INCBIN... |
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0.log_21829_1890.asm | ljhsiun2/medusa | 9 | 161817 | <filename>Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0.log_21829_1890.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1ed0b, %r14
nop
nop
nop
nop
sub $52977, %rbx
mov (%r14), %rcx
nop
nop
dec %r12
lea addr... |
src/aco-protocols-synchronization.adb | jonashaggstrom/ada-canopen | 0 | 25336 | with ACO.States;
with Ada.Real_Time; use Ada.Real_Time;
package body ACO.Protocols.Synchronization is
--function To_Ms_From_100us (T : Natural) return Natural is (T / 10);
procedure Counter_Reset
(This : in out SYNC)
is
begin
This.Counter := Counter_Type'First;
end Counter_Reset;
proced... |
src/Delay-monad/Alternative/Termination.agda | nad/partiality-monad | 2 | 5286 | ------------------------------------------------------------------------
-- Termination predicates
------------------------------------------------------------------------
{-# OPTIONS --erased-cubical --sized-types #-}
open import Prelude hiding (↑; module W)
module Delay-monad.Alternative.Termination {a} {A : Type ... |
ada/vl53l1_types_h.ads | simonjwright/VL53L1X | 0 | 16414 | <reponame>simonjwright/VL53L1X<filename>ada/vl53l1_types_h.ads
pragma Ada_2012;
pragma Style_Checks (Off);
pragma Warnings ("U");
with Interfaces.C; use Interfaces.C;
with sys_ustdint_h;
package vl53l1_types_h is
subtype FixPoint1616_t is sys_ustdint_h.uint32_t; -- ../platform/vl53l1_types.h:109
end vl53l1_type... |
oeis/185/A185175.asm | neoneye/loda-programs | 11 | 18590 | ; A185175: a(n) = A010815(7*n + 5).
; Submitted by <NAME>
; 1,-1,0,1,0,-1,0,0,0,0,0,0,0,0,0,0,-1,0,0,0,1,0,0,0,0,0,-1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mul $0,7
add $0,5
seq $0,10815 ; From Euler's Pentago... |
src/ansi.ads | mosteo/ansi-ada | 1 | 291 | package ANSI with Pure is
Reset_All : constant String;
-- Resets the device to its original state. This may include (if
-- applicable): reset graphic rendition, clear tabulation stops, reset
-- to default font, and more.
type States is (Off, On);
function Shorten (Sequence : String) return Strin... |
lib/scripts/get_playlist_count.itunes.applescript | swdotcom/music | 11 | 555 | <filename>lib/scripts/get_playlist_count.itunes.applescript
on escape_quotes(string_to_escape)
set AppleScript's text item delimiters to the "\""
set the item_list to every text item of string_to_escape
set AppleScript's text item delimiters to the "\\\""
set string_to_escape to the item_list as string
set AppleSc... |
src/antlr/FasmParser.g4 | SymbiFlow/fasm | 44 | 941 | // Copyright (C) 2020 The SymbiFlow Authors.
//
// Use of this source code is governed by a ISC-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/ISC
//
// SPDX-License-Identifier: ISC
parser grammar FasmParser;
// Reference tokens from the lexer.
options { tokenVocab=Fa... |
programs/oeis/123/A123509.asm | neoneye/loda | 22 | 169090 | ; A123509: Rohrbach's problem: a(n) is the largest integer such that there exists a set of n integers that is a basis of order 2 for (0, 1, ..., a(n)-1).
; 1,3,5,9,13,17,21,27,33,41,47,55
seq $0,34107 ; Fractional part of square root of a(n) starts with 1: first term of runs.
div $0,7
sub $0,1
mul $0,2
add $0,1
|
assignment-3/linux_x86_small_egghunter.nasm | rcesecurity/slae | 8 | 14765 | ; SLAE - Assignment #3: Small Egghunter (Linux/x86) - 19 bytes
; Author: <NAME> (@MrTuxracer)
; Website: http://www.rcesecurity.com
global _start
section .text
_start:
mov eax, esp ;get current working stack address
mov ebx, 0x42904a90 ;egg=INC EDX, NOP, DEC EDX, NOP
search_the_egg:
inc eax ;go upwards the... |
programs/oeis/141/A141106.asm | neoneye/loda | 22 | 82453 | ; A141106: Lower Odd Swappage of Upper Wythoff Sequence.
; 1,5,7,9,13,15,17,19,23,25,27,31,33,35,39,41,43,47,49,51,53,57,59,61,65,67,69,73,75,77,81,83,85,89,91,93,95,99,101,103,107,109,111,115,117,119,123,125,127,129,133,135,137,141,143,145,149,151,153,157,159,161,163
add $0,1
seq $0,26352 ; a(n) = floor(n*tau)+n+1.
m... |
notes/FOT/FOTC/Program/ABP/StrongerInductionPrinciple/LemmaI.agda | asr/fotc | 11 | 1638 | <filename>notes/FOT/FOTC/Program/ABP/StrongerInductionPrinciple/LemmaI.agda
------------------------------------------------------------------------------
-- ABP auxiliary lemma
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-si... |
specs/ada/common/tkmrpc-response-ike-nc_reset-convert.ads | DrenfongWong/tkm-rpc | 0 | 15214 | <reponame>DrenfongWong/tkm-rpc<gh_stars>0
with Ada.Unchecked_Conversion;
package Tkmrpc.Response.Ike.Nc_Reset.Convert is
function To_Response is new Ada.Unchecked_Conversion (
Source => Nc_Reset.Response_Type,
Target => Response.Data_Type);
function From_Response is new Ada.Unchecked_Conversion (
... |
src/test/resources/references/completion/basic_completion_after_op.asm | chrisly42/mc68000-asm-plugin | 7 | 100276 | <reponame>chrisly42/mc68000-asm-plugin
PIC_WIDTH = 320
PIC_HEIGHT equ 256
DEBUG_LEVEL set 10
DOUBLE_BUFFER_1 = 1
AUTO_COMPLETE_2 = 1
dood2 = 1
entry:
bsr init
bsr main
bsr exit
rts
init
move.w #PIC_HEIGHT,d1
.looph move.w #PIC_WIDTH,d0
.loopw clr.b (a0)+
... |
programs/oeis/112/A112248.asm | jmorken/loda | 1 | 83234 | <gh_stars>1-10
; A112248: a(n) = n mod floor(log_2(n)).
; 0,0,0,1,0,1,2,0,1,2,0,1,2,0,0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,0,1,2,3,4,5,0,1,2,3,4,5,0,1,2,3,4,5,0,1,2,3,4,5,0,1,2,3,4,5,0,1,2,3,4,5,0,1,2,3,4,5,0,1,2,3,4
mov $2,$0
add $2,2
mov $0,$2
log $2,2
mod $0,$2
mov... |
intellij/astava/src/main/java/astava/java/parser/antlr4/Java.g4 | jakobehmsen/Astava | 0 | 4282 | grammar Java;
classFile: classDefinition;
script: element*;
element: classDefinition | implementsInterface | fieldDefinition | methodDefinition | statement | expression | annotation;
classDefinition: modifiers KW_CLASS name=typeQualifier implementsInterface OPEN_BRA classMember* CLOSE_BRA;
implementsInterface: KW_IMPL... |
oeis/016/A016854.asm | neoneye/loda-programs | 11 | 83412 | <reponame>neoneye/loda-programs
; A016854: a(n) = (5*n)^6.
; 0,15625,1000000,11390625,64000000,244140625,729000000,1838265625,4096000000,8303765625,15625000000,27680640625,46656000000,75418890625,117649000000,177978515625,262144000000,377149515625,531441000000,735091890625,1000000000000,1340095640625,1771561000000,2313... |
libsrc/target/msx/msxbios/msx_get_trigger.asm | jpoikela/z88dk | 640 | 91853 | ;
; MSX specific routines
;
; GFX - a small graphics library
; Copyright (C) 2004 <NAME>
;
; extern bool __FASTCALL__ msx_get_trigger(unsigned char id);
;
; get state of joystick button (trigger) number \a id, true = pressed
;
; $Id: msx_get_trigger.asm,v 1.8 2017-01-02 23:19:02 aralbrec Exp $
;
SECTION code... |
src/Halting-problem.agda | nad/chi | 2 | 4242 | <reponame>nad/chi
------------------------------------------------------------------------
-- The halting problem
------------------------------------------------------------------------
module Halting-problem where
open import Equality.Propositional.Cubical
open import Logical-equivalence using (_⇔_)
open import Pre... |
agda/InsertSort/Impl1/Correctness/Permutation/Base.agda | bgbianchi/sorting | 6 | 451 | <filename>agda/InsertSort/Impl1/Correctness/Permutation/Base.agda
open import Relation.Binary.Core
module InsertSort.Impl1.Correctness.Permutation.Base {A : Set}
(_≤_ : A → A → Set)
(tot≤ : Total _≤_) where
open import Data.List
open import Data.Sum
open import InsertSort.Impl1 _≤_... |
models/tests/test29.als | transclosure/Amalgam | 4 | 757 | module tests/test
sig A { x:Int, y:Int }
sig B { x:Int, z:Int }
sig C in A+B {}
run {} expect 1
|
Cubical/HITs/James/Inductive/ColimitEquivalence.agda | thomas-lamiaux/cubical | 1 | 13585 | <reponame>thomas-lamiaux/cubical
{-
This file contains:
- The reduced version gives the same type as James.
-}
{-# OPTIONS --safe --experimental-lossy-unification #-}
module Cubical.HITs.James.Inductive.ColimitEquivalence where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.Equiv
open impo... |
src/Lemmachine/Resource/Configure.agda | isabella232/Lemmachine | 56 | 16541 | <filename>src/Lemmachine/Resource/Configure.agda
module Lemmachine.Resource.Configure where
open import Lemmachine.Request
open import Lemmachine.Response
open import Lemmachine.Resource
open import Lemmachine.Resource.Universe
open import Data.Bool
open import Data.Maybe
open import Data.Product
open import Data.List
... |
lib/third_party/mcu_vendor/renesas/rz_mcu_boards/core_package/generate/compiler/asm/cpu.asm | renesas-rx/amazon-freertos | 7 | 173657 | <reponame>renesas-rx/amazon-freertos
@/*******************************************************************************
@* DISCLAIMER
@* This software is supplied by Renesas Electronics Corporation and is only
@* intended for use with Renesas products. No other uses are authorized. This
@* software is owned by Renesas E... |
cohomology/Exactness.agda | danbornside/HoTT-Agda | 0 | 7317 | <reponame>danbornside/HoTT-Agda<filename>cohomology/Exactness.agda
open import HoTT
module cohomology.Exactness where
module _ {i j k} {X : Ptd i} {Y : Ptd j} {Z : Ptd k}
(F : fst (X ⊙→ Y)) (G : fst (Y ⊙→ Z)) where
private
f = fst F
g = fst G
{- in image of F ⇒ in kernel of G -}
is-exact-itok : Type... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1282.asm | ljhsiun2/medusa | 9 | 101028 | .global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x19679, %rsi
lea addresses_normal_ht+0x188c9, %rdi
clflush (%rdi)
nop
nop
nop
nop
cmp $49973, %r8
mov $70, %rcx
rep movsw
nop
nop
nop
cmp %r9, %r9
lea addresses_normal_ht+0x1454... |
Task/Documentation/Ada/documentation.ada | LaudateCorpus1/RosettaCodeData | 1 | 26492 | with Ada.Text_Io; use Ada.Text_Io;
generic
SortName : in String;
type DataType is (<>);
type SortArrayType is array (Integer range <>) of DataType;
with procedure Sort (SortArray : in out SortArrayType;
Comp, Write, Ex : in out Natural);
package Instrument is
-- This generic pac... |
Library/Chart/CGrObj/cgrobjManager.asm | steakknife/pcgeos | 504 | 82309 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: cgrobjManager.asm
AUTHOR: <NAME>
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description
---- ---- ----... |
Ada/problem_9/problem_9.adb | PyllrNL/Project_Euler_Solutions | 0 | 24686 | <reponame>PyllrNL/Project_Euler_Solutions
package body Problem_9 is
function Solution_1 return Int64 is
X_1 : Constant Float := (1.0 + Sqrt(1.0 - (4.0*(-500.0)))) / 2.0;
X_2 : Constant Float := (1.0 - Sqrt(1.0 - (4.0*(-500.0)))) / 2.0;
Max,Temp,A,B,C : Int64;
begin
if X_1 >= X_2... |
resources/scripts/api/greynoise.ads | digitalsanctum/Amass | 7,053 | 25290 | <gh_stars>1000+
-- Copyright 2021 <NAME>. All rights reserved.
-- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
local json = require("json")
name = "Greynoise"
type = "api"
function start()
set_rate_limit(1)
end
function vertical(ctx, domain)
local resp, err ... |
data/mapHeaders/ssanne4.asm | adhi-thirumala/EvoYellow | 16 | 13236 | <reponame>adhi-thirumala/EvoYellow
SSAnne4_h:
db SHIP ; tileset
db SS_ANNE_4_HEIGHT, SS_ANNE_4_WIDTH ; dimensions (y, x)
dw SSAnne4Blocks, SSAnne4TextPointers, SSAnne4Script ; blocks, texts, scripts
db $00 ; connections
dw SSAnne4Object ; objects
|
game/fixed_bank_filler.asm | pompshuffle/super-tilt-bro | 2 | 176345 | <gh_stars>1-10
;
; Credits in the rom
;
credits_begin:
.asc " credits",$0a
.asc $0a
.asc " authors",$0a
.asc $0a
.asc "<NAME>",$0a
.asc $0a
.asc " art-sources",$0a
.asc $0a
.asc "backgrounds",$0a
.asc " by <NAME>",$0a
.asc "super tilt bro",$0a
.asc " by tui",$0a
.asc "kiki",$0a
.asc "... |
base32enc.asm | zeroplexer/assembly | 0 | 165756 | <reponame>zeroplexer/assembly<filename>base32enc.asm
; Executable name : base32enc
; Version : 2.6
; Created date : 5.9.2018
; Last update : 22.12.2018
; Author : <NAME>
; Description : A Base32 Encoder
SECTION .data ; Section containing initialised data
Base32: db "ABCDEFGHIJKLM... |
ada-command_line.ads | mgrojo/adalib | 15 | 2243 | <gh_stars>10-100
-- Standard Ada library specification
-- Copyright (c) 2003-2018 <NAME> <<EMAIL>>
-- Copyright (c) 2004-2016 AXE Consultants
-- Copyright (c) 2004, 2005, 2006 Ada-Europe
-- Copyright (c) 2000 The MITRE Corporation, Inc.
-- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc.
... |
src/net-dns.ads | stcarrez/ada-enet | 16 | 19544 | -----------------------------------------------------------------------
-- net-dns -- DNS Network utilities
-- 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 except in compliance with the License.
-- ... |
card_dir.ads | 97kovacspeter/ADA | 0 | 1349 | <reponame>97kovacspeter/ADA<filename>card_dir.ads<gh_stars>0
package Card_Dir is
type Cardinal_Direction is (N, NE, E, SE, S, SW, W, NW);
--enumerator for cardinal directions
end Card_Dir;
|
alloy4fun_models/trashltl/models/0/xpmAFdRmwiumsJYab.als | Kaixi26/org.alloytools.alloy | 0 | 4234 | open main
pred idxpmAFdRmwiumsJYab_prop1 {
no Trash
}
pred __repair { idxpmAFdRmwiumsJYab_prop1 }
check __repair { idxpmAFdRmwiumsJYab_prop1 <=> prop1o } |
oeis/047/A047679.asm | neoneye/loda-programs | 11 | 97177 | <gh_stars>10-100
; A047679: Denominators in full Stern-Brocot tree.
; Submitted by <NAME>
; 1,2,1,3,3,2,1,4,5,5,4,3,3,2,1,5,7,8,7,7,8,7,5,4,5,5,4,3,3,2,1,6,9,11,10,11,13,12,9,9,12,13,11,10,11,9,6,5,7,8,7,7,8,7,5,4,5,5,4,3,3,2,1,7,11,14,13,15,18,17,13,14,19,21,18,17,19,16,11,11,16,19,17,18,21,19,14,13,17,18,15,13,14,11,... |
software/unittest/estimator/src/config.ads | TUM-EI-RCS/StratoX | 12 | 28368 | <filename>software/unittest/estimator/src/config.ads
with Units; use Units;
with Units.Navigation; use Units.Navigation;
package config is
end config;
|
oeis/106/A106838.asm | neoneye/loda-programs | 11 | 8110 | <reponame>neoneye/loda-programs
; A106838: Numbers n such that n, n+1 and n+2 have odd part of form 4k+3.
; Submitted by <NAME>
; 22,46,54,86,94,110,118,150,174,182,190,214,222,238,246,278,302,310,342,350,366,374,382,406,430,438,446,470,478,494,502,534,558,566,598,606,622,630,662,686,694,702,726,734,750,758,766,790,814... |
src/matrix/mat_normalize_0_1/src/mat_normalize_0_1.asm | nikAizuddin/lib80386 | 4 | 166860 | ; 1 2 3 4 5 6 7
;234567890123456789012345678901234567890123456789012345678901234567890
;=====================================================================
;
; FUNCTION NAME: mat_normalize_0_1
; FUNCTION DOCUMENTATION: <See doc/description file>
;
; ... |
oeis/059/A059014.asm | neoneye/loda-programs | 11 | 3950 | <reponame>neoneye/loda-programs<filename>oeis/059/A059014.asm
; A059014: Numbers that have an even number of 0's and an odd number of 1's in binary expansion.
; Submitted by <NAME>
; 1,4,7,16,19,21,22,25,26,28,31,64,67,69,70,73,74,76,79,81,82,84,87,88,91,93,94,97,98,100,103,104,107,109,110,112,115,117,118,121,122,124,1... |
alloy4fun_models/trashltl/models/11/cmm2LDEkT5vhDzARJ.als | Kaixi26/org.alloytools.alloy | 0 | 1275 | <filename>alloy4fun_models/trashltl/models/11/cmm2LDEkT5vhDzARJ.als<gh_stars>0
open main
pred idcmm2LDEkT5vhDzARJ_prop12 {
eventually (some f:File | eventually f in Trash implies always f in Trash)
}
pred __repair { idcmm2LDEkT5vhDzARJ_prop12 }
check __repair { idcmm2LDEkT5vhDzARJ_prop12 <=> prop12o } |
oeis/109/A109594.asm | neoneye/loda-programs | 11 | 85145 | <gh_stars>10-100
; A109594: n followed by n^3 followed by n^2.
; Submitted by <NAME>
; 1,1,1,2,8,4,3,27,9,4,64,16,5,125,25,6,216,36,7,343,49,8,512,64,9,729,81,10,1000,100,11,1331,121,12,1728,144,13,2197,169,14,2744,196,15,3375,225,16,4096,256,17,4913,289,18,5832,324,19,6859,361,20,8000,400,21,9261,441,22,10648,484,23,1... |
MuteScript/MuteGrammar.g4 | GeirGrusom/mutescript | 0 | 2775 | grammar MuteGrammar;
compileUnit:
moduleStatement moduleScope EOF
;
moduleStatement:
'module' name = ID;
moduleScope:
(imports += moduleImportStatement)*
(types += typeDefinitionStatement)*;
moduleImportStatement:
'import' name = ID;
typeDefinitionStatement:
typeAccess? classDefinition;
typeAccess:
('publ... |
darkadapted/adjust-brightness.applescript | michaelhogg/configs | 2 | 4641 | set MIN_VALUE to 64
set MAX_VALUE to 255
set STEP_SIZE to 30
set RED_FACTOR to 1.0
set GREEN_FACTOR to 0.635
set BLUE_FACTOR to 0.295
on brighter(brightness)
global MAX_VALUE, STEP_SIZE
set brightness to brightness + STEP_SIZE
if brightness > MAX_VALUE then
set brightness to MAX_VALUE
end i... |
libsrc/stdio/aquarius/fputc_cons.asm | grancier/z180 | 0 | 85683 | <filename>libsrc/stdio/aquarius/fputc_cons.asm<gh_stars>0
;
; Mattel Aquarius Routines
;
; Print character to the screen
;
; We can corrupt any register
;
;
; $Id: fputc_cons.asm,v 1.3 2016/05/15 20:15:45 dom Exp $
;
SECTION code_clib
PUBLIC fputc_cons_native
;
; Entry: char to print
;
.fputc_cons_native... |
libsrc/_DEVELOPMENT/input/zx/c/sdcc_iy/in_key_pressed_fastcall.asm | meesokim/z88dk | 0 | 86438 |
; int in_key_pressed_fastcall(uint16_t scancode)
SECTION code_input
PUBLIC _in_key_pressed_fastcall
EXTERN asm_in_key_pressed
defc _in_key_pressed_fastcall = asm_in_key_pressed
|
oeis/142/A142696.asm | neoneye/loda-programs | 11 | 170711 | <filename>oeis/142/A142696.asm
; A142696: Primes congruent to 50 mod 57.
; Submitted by <NAME>
; 107,449,563,677,1019,1361,1931,2273,2729,2843,2957,3299,3413,3527,4211,5009,5237,5351,5693,5807,6263,6491,6719,6833,6947,7517,8087,8429,8543,8999,9227,9341,10139,10253,10709,10937,11279,11393,11621,12647,13103,13217,13331,1... |
oeis/263/A263646.asm | neoneye/loda-programs | 11 | 163358 | ; A263646: Coefficients for an expansion of the Schwarzian derivative of a power series.
; Submitted by <NAME>
; 1,1,2,1,3,1,1,4,1,1,5,1,1,1,6,1,1,1,7,1,1,1,1,8,1,1,1,1,9,1,1,1,1,1,10,1,1,1,1,1,11,1,1,1,1,1,1,12,1,1,1,1,1,1,13,1,1,1,1,1,1,1,14,1,1,1,1,1,1,1,15,1,1,1,1,1,1,1,1,16,1,1,1,1,1,1,1,1,17,1,1,1,1,1,1,1,1,1
lp... |
oeis/209/A209239.asm | neoneye/loda-programs | 11 | 88582 | ; A209239: Number of length n words on {0,1,2} with no four consecutive 0's.
; Submitted by <NAME>
; 1,3,9,27,80,238,708,2106,6264,18632,55420,164844,490320,1458432,4338032,12903256,38380080,114159600,339561936,1010009744,3004222720,8935908000,26579404800,79059090528,235157252096,699463310848
add $0,2
mov $2,1
lpb $0
... |
programs/oeis/333/A333996.asm | jmorken/loda | 1 | 16420 | <gh_stars>1-10
; A333996: Number of composite numbers in the triangular n X n multiplication table.
; 0,1,3,7,11,17,23,31,40,50,60,72,84,98,113,129,145,163,181,201,222,244,266,290,315,341,368,396,424,454,484,516,549,583,618,654,690,728,767,807,847,889,931,975,1020,1066,1112,1160,1209,1259,1310,1362,1414
mov $2,$0
mov ... |
P6/data_P6_2/MDTest83.asm | alxzzhou/BUAA_CO_2020 | 1 | 81899 | <filename>P6/data_P6_2/MDTest83.asm
ori $ra,$ra,0xf
srav $4,$4,$2
mflo $5
sll $5,$5,20
lui $4,2499
mtlo $4
srav $6,$0,$6
multu $1,$4
mtlo $3
mfhi $4
div $0,$ra
mtlo $2
mfhi $6
mflo $4
ori $0,$2,8352
mflo $3
lui $5,11005
srav $2,$2,$1
lui $3,21437
sll $5,$2,27
lb $5,9($0)
sb $4,10($0)
multu $5,$1
srav $5,$4,$6
ori $1,$1... |
src/support_utils/support_utils-developer_parameters.adb | lenzomj/whitakers-words | 204 | 28600 | -- 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... |
basic/src/evaluate/ustring.asm | paulscottrobson/eris | 13 | 165908 | <gh_stars>10-100
; *****************************************************************************
; *****************************************************************************
;
; Name: ustring.asm
; Purpose: Unary String functions
; Created: 4th March 2020
; Reviewed: 17th March 2020
; Author: <NAME> (<EMAIL>... |
Bank_B/5_dacpersist.asm | ndf-zz/fv1testing | 0 | 21587 | ; FV-1 Testing
;
; Program: DAC Persistence
;
; POT0 : WRITE?
;
; Expected output:
; - DAC holds value
rdax ADCL,1.0
wrax REG0,0.0
sof 0.0,-0.5
rdax POT0,1.0
skp NEG,end
ldax REG0
wrax DACL,0.0
end:
|
src/main/lib/path/parser/YAJS.g4 | PhaedrusTheGreek/yajs | 10 | 32 | grammar YAJS;
@lexer::members {
private expression = false;
}
path
: ROOT pathStep* (pathLeaf EOF)?
;
pathStep
: DOT DOT? actionFilter? actionField
;
actionField
: key=STAR
| key=Identifier
;
actionFilter
: LSB filterExpression RSB
;
pathLeaf
: actionProject
| actionDropKeys
;
actionP... |
programs/oeis/001/A001953.asm | neoneye/loda | 22 | 11930 | ; A001953: a(n) = floor((n + 1/2) * sqrt(2)).
; 0,2,3,4,6,7,9,10,12,13,14,16,17,19,20,21,23,24,26,27,28,30,31,33,34,36,37,38,40,41,43,44,45,47,48,50,51,53,54,55,57,58,60,61,62,64,65,67,68,70,71,72,74,75,77,78,79,81,82,84,85,86,88,89,91,92,94,95,96,98,99,101,102,103,105,106,108,109,111,112,113,115,116,118,119,120,122,12... |
libsrc/sdcard/sd_send_command_string.asm | jpoikela/z88dk | 640 | 168593 | <filename>libsrc/sdcard/sd_send_command_string.asm
;
; Old School Computer Architecture - SD Card driver
; Taken from the OSCA Bootcode by <NAME> 2011
; Port by <NAME>, 2012
;
; set HL = location of 6 byte command string
; returns command response in A (ZF set if $00)
;
; $Id: sd_send_command_string.asm,v 1.8 2015-01-1... |
test/Fail/Issue118Comment9.agda | shlevy/agda | 3 | 7125 | <reponame>shlevy/agda<filename>test/Fail/Issue118Comment9.agda
module Issue118Comment9 where
open import Common.Level
open import Common.Coinduction
data Box (A : Set) : Set where
[_] : A → Box A
postulate I : Set
data P : I → Set where
c : ∀ {i} → Box (∞ (P i)) → P i
F : ∀ {i} → P i → I
F (c x) = _
G : ∀ {i... |
SVD2ada/svd/stm32_svd-tsc.ads | JCGobbi/Nucleo-STM32F334R8 | 0 | 4366 | pragma Style_Checks (Off);
-- This spec has been automatically generated from STM32F3x4.svd
pragma Restrictions (No_Elaboration_Code);
with HAL;
with System;
package STM32_SVD.TSC is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype CR_MCV_Field is HAL.UInt3;
subtype ... |
old/Base.agda | UlrikBuchholtz/HoTT-Agda | 294 | 11994 | {-# OPTIONS --without-K #-}
module Base where
open import Types public
open import Functions public
open import Paths public
open import HLevel public
open import Equivalences public
open import Univalence public
open import Funext public
open import EquivalenceLemmas public
open import HLevelBis public
open import F... |
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca_notsx.log_3580_1574.asm | ljhsiun2/medusa | 9 | 23096 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1c85c, %r12
and %rsi, %rsi
and $0xffffffffffffffc0, %r12
vmovaps (%r12), %ymm5
vextracti128 $0, %ymm5, %xmm5
vpextrq $0, %xmm5, %rbx
nop
nop
nop
nop
cmp $22831, %r13
lea addre... |
inc/dpl.asm | minblock/msdos | 0 | 24722 | <filename>inc/dpl.asm
;
; Microsoft Confidential
; Copyright (C) Microsoft Corporation 1991
; All Rights Reserved.
;
; SCCSID = @(#)dpl.asm 1.1 85/04/10
; SCCSID = @(#)dpl.asm 1.1 85/04/10
DPL STRUC
DPL_AX DW ? ; AX register
DPL_BX DW ? ; BX register
DPL_CX DW ? ; CX register
DPL_DX DW ? ; DX register
DPL_SI DW ? ; SI... |
oeis/276/A276400.asm | neoneye/loda-programs | 11 | 164417 | ; A276400: Denominator of n!/(n^n-n).
; Submitted by <NAME>(w3)
; 1,4,21,26,1555,817,299593,134521,12345679,43229041,67546215517,4622635937,61054982558011,18617937516193,5118976599431,4224061794762749,128583032925805678351,655879001624535409,275941052631578947368421,286115209221463953761,2707038020425761202263187,15630... |
smsq/sbas/procs/machine.asm | olifink/smsqe | 0 | 171585 | <reponame>olifink/smsqe
; SBAS_PROCS_MACHINE - SBASIC Info on Machine V2.00 1994 <NAME>
section exten
xdef machine
xdef processor
xref ut_rtint
xref err_bp
include 'dev8_keys_qdos_sms'
include 'dev8_keys_sys'
;+++
; MACHINE
;---
machine
moveq #sys_mtyp-$70,d1
bsr.s mc_fetch
and.w #sys.mtyp+sys.blit... |
programs/oeis/181/A181709.asm | neoneye/loda | 22 | 175517 | <reponame>neoneye/loda
; A181709: Indices of primes in A007310.
; 2,3,4,5,6,7,8,10,11,13,14,15,16,18,20,21,23,24,25,27,28,30,33,34,35,36,37,38,43,44,46,47,50,51,53,55,56,58,60,61,64,65,66,67,71,75,76,77,78,80,81,84,86,88,90,91,93,94,95,98,103,104,105,106,111,113,116,117,118,120,123,125,127,128,130,133,134,137,140,141,1... |
src/Categories/Category/Instance/FamilyOfSets.agda | bblfish/agda-categories | 5 | 13659 | {-# OPTIONS --without-K --safe #-}
module Categories.Category.Instance.FamilyOfSets where
-- The Category of "Families of Sets"
open import Level
open import Relation.Binary using (Rel)
open import Data.Product
open import Relation.Binary.PropositionalEquality as ≡
open import Function renaming (id to idf; _∘_ to _⊚_)... |
oeis/166/A166636.asm | neoneye/loda-programs | 11 | 27851 | ; A166636: Totally multiplicative sequence with a(p) = 6*(p-1) for prime p.
; Submitted by <NAME>(s2)
; 1,6,12,36,24,72,36,216,144,144,60,432,72,216,288,1296,96,864,108,864,432,360,132,2592,576,432,1728,1296,168,1728,180,7776,720,576,864,5184,216,648,864,5184,240,2592,252,2160,3456,792,276,15552,1296,3456,1152,2592,312... |
src/algebra/group/classifying.agda | pcapriotti/agda-base | 20 | 15774 | {-# OPTIONS --without-K #-}
module algebra.group.classifying where
open import level
open import algebra.group.core
open import algebra.group.morphism
open import equality.core
open import function.isomorphism
open import pointed.core
open import sets.unit
open import sum
open import hott.level.core
open import hott.... |
music/volume-down.applescript | asbjornu/macos-scripts | 0 | 4494 | set volume output volume (get (output volume of (get volume settings)) - 2) |
src/Categories/Functor/Hom/Properties/Covariant.agda | Trebor-Huang/agda-categories | 279 | 7612 | {-# OPTIONS --without-K --safe #-}
open import Categories.Category
module Categories.Functor.Hom.Properties.Covariant {o ℓ e} (C : Category o ℓ e) where
open import Level
open import Function.Equality using (Π)
open import Relation.Binary using (Setoid)
open import Categories.Category.Construction.Cones
open import... |
tests/function_simple/err_wrong_number_args1.asm | dommilosz/customasm | 0 | 173845 | <reponame>dommilosz/customasm<filename>tests/function_simple/err_wrong_number_args1.asm
#fn add(value1, value2, value3) =>
{
value1 + value2 + value3
}
#d8 add(0) ; error: failed / error: wrong number
#d8 add(0, 1) ; error: failed / error: wrong number
#d8 add(0, 1, 2, 3) ; error: failed / error: wr... |
programs/oeis/120/A120134.asm | karttu/loda | 0 | 83462 | <reponame>karttu/loda<filename>programs/oeis/120/A120134.asm
; A120134: a(1)=4; a(n) = floor((8 + Sum_{k=1..n-1} a(k))/2).
; 4,6,9,13,20,30,45,67,101,151,227,340,510,765,1148,1722,2583,3874,5811,8717,13075,19613,29419,44129,66193,99290,148935,223402,335103,502655,753982,1130973,1696460,2544690,3817035,5725552,8588328,1... |
libsrc/_DEVELOPMENT/arch/zx/display/c/sccz80/zx_aaddr2py.asm | jpoikela/z88dk | 38 | 163148 | <reponame>jpoikela/z88dk<gh_stars>10-100
; uchar zx_aaddr2py(void *attraddr)
SECTION code_clib
SECTION code_arch
PUBLIC zx_aaddr2py
EXTERN asm_zx_aaddr2py
defc zx_aaddr2py = asm_zx_aaddr2py
|
alloy4fun_models/trashltl/models/5/8Ahum3ebt4HddRZKD.als | Kaixi26/org.alloytools.alloy | 0 | 1807 | open main
pred id8Ahum3ebt4HddRZKD_prop6 {
always all p : File | always p in Trash since p in Trash
}
pred __repair { id8Ahum3ebt4HddRZKD_prop6 }
check __repair { id8Ahum3ebt4HddRZKD_prop6 <=> prop6o } |
applescript/androo.scpt | z-------------/Androo | 2 | 3167 | <reponame>z-------------/Androo
set phrases to {"Were you born in a barn?", "Get some work done", "Useless scrub", "Stop jacking off", "I'll bust your chops", "Are you born in a water park?", "Stop fapping around", "Are you born in a barn?", "Later, shizlord", "Oy!", "You should know when to give up."}
set dialogs to {... |
source/web/servlet/http/servlet-http_parameters.adb | svn2github/matreshka | 24 | 12209 | <filename>source/web/servlet/http/servlet-http_parameters.adb
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/varsize3_pkg3.ads | best08618/asylo | 7 | 9026 | <reponame>best08618/asylo
generic
type T is private;
package Varsize3_Pkg3 is
type Object is record
E : T;
end record;
function True return Object;
end Varsize3_Pkg3;
|
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_1590.asm | ljhsiun2/medusa | 9 | 174104 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x2c58, %rsi
lea addresses_WC_ht+0x137ea, %rdi
inc %r11
mov $46, %rcx
rep movsl
nop
nop
nop
sub %rdx, %rdx
lea addresses_WC_ht+0x15c9a, %rdi
nop
nop
xor $60175, %r12
and ... |
programs/oeis/054/A054147.asm | karttu/loda | 0 | 85202 | ; A054147: a(n) = T(2n,n), array T as in A054144.
; 0,3,21,108,492,2100,8604,34272,133728,513648,1948560,7318080,27256896,100815936,370684608,1355996160,4938304512,17914202880,64760732928,233390693376,838784916480,3006980379648,10755352869888,38390211256320,136771179061248,486422931763200,1727181841502208,6123774116708... |
gcc-gcc-7_3_0-release/gcc/ada/exp_ch3.ads | best08618/asylo | 7 | 27244 | <reponame>best08618/asylo
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
mc-sema/validator/x86_64/tests/SHL8ri.asm | randolphwong/mcsema | 2 | 179947 | <reponame>randolphwong/mcsema
BITS 64
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=FLAG_AF|FLAG_OF
;TEST_FILE_META_END
; SHL8ri
mov ch, 0xa
;TEST_BEGIN_RECORDING
shl ch, 0x2
;TEST_END_RECORDING
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.