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 |
|---|---|---|---|---|
Cats/Category/Setoids/Facts/Exponentials.agda | alessio-b-zak/cats | 0 | 14582 | <reponame>alessio-b-zak/cats<filename>Cats/Category/Setoids/Facts/Exponentials.agda
module Cats.Category.Setoids.Facts.Exponentials where
open import Data.Product using (_,_)
open import Relation.Binary using (Setoid)
open import Cats.Category
open import Cats.Category.Setoids as Setoids using (Setoids ; ≈-intro ; ≈-... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto4.adb | best08618/asylo | 7 | 28686 | -- { dg-do compile }
-- { dg-options "-flto" { target lto } }
package body Lto4 is
procedure SS_Allocate (Stack : Stack_Ptr) is
Chunk : Chunk_Ptr := Stack.Current_Chunk;
begin
Chunk := new Chunk_Id (First => Chunk.Last, Last => Chunk.Last);
end;
end Lto4;
|
src/core/strings/util-strings-transforms.ads | RREE/ada-util | 60 | 11919 | <gh_stars>10-100
-----------------------------------------------------------------------
-- util-strings-transforms -- Various Text Transformation Utilities
-- Copyright (C) 2001, 2002, 2003, 2009, 2010, 2015, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "Lice... |
source/required/s-boarop.ads | ytomino/drake | 33 | 22210 | <reponame>ytomino/drake<filename>source/required/s-boarop.ads
pragma License (Unrestricted);
-- implementation unit required by compiler
with System.Storage_Elements;
package System.Boolean_Array_Operations is
pragma Pure;
-- required for "not" unpacked boolean array by compiler (s-boarop.ads)
procedure Vec... |
3-mid/opengl/source/profile/lean/opengl-profile.adb | charlie5/lace | 20 | 1049 | separate (openGL)
function Profile return profile_Kind
is
begin
return Lean;
end Profile;
|
programs/oeis/087/A087432.asm | neoneye/loda | 22 | 165010 | ; A087432: Expansion of 1+x*(1-x-4*x^2)/((1+x)*(1-2*x)*(1-3*x)).
; 1,1,3,7,19,51,143,407,1179,3451,10183,30207,89939,268451,802623,2402407,7196299,21567051,64657463,193885007,581480259,1744091251,5231574703,15693326007,47077181819,141225953051,423666674343,1270977653407,3812888220979,11438575184451,34315546596383,10294... |
Transynther/x86/_processed/P/_zr_/i9-9900K_12_0xa0_notsx.log_9561_1450.asm | ljhsiun2/medusa | 9 | 7487 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x98b5, %rsi
lea addresses_D_ht+0x2950, %rdi
clflush (%rdi)
nop
and $5377, %r9
mov $33, %rcx
rep movsb
nop
nop
nop
nop
add %r12, %r12
lea addresses_WC_ht+0x11a68... |
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca_notsx.log_21829_787.asm | ljhsiun2/medusa | 9 | 101088 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x16a4f, %rsi
lea addresses_normal_ht+0x115e3, %rdi
clflush (%rdi)
add $33115, %r13
mov $97, %rcx
rep movsq
cmp %rsi, %rsi
lea addresses_D_ht+0xd7d, %rdi
nop
nop
and $33728, %r... |
oeis/017/A017213.asm | neoneye/loda-programs | 11 | 6296 | <filename>oeis/017/A017213.asm<gh_stars>10-100
; A017213: a(n) = (9*n + 4)^5.
; 1024,371293,5153632,28629151,102400000,282475249,656356768,1350125107,2535525376,4437053125,7339040224,11592740743,17623416832,25937424601,37129300000,51888844699,71008211968,95388992557,126049300576,164130859375,210906087424,267785184193,3... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_626.asm | ljhsiun2/medusa | 9 | 91052 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x110f9, %rdi
nop
nop
and $15898, %r10
and $0xffffffffffffffc0, %rdi
movntdqa (%rdi), %xmm4
vpextrq $1, %xmm4, %r9
nop
nop
add $29869, %rbx
lea addresses_normal_ht+0x1781a, %rsi
lea addres... |
tmp1/c55x-sim2/foo/Debug/csl_usb_poll_example.asm | jwestmoreland/eZdsp-DBG-sim | 1 | 162185 | <filename>tmp1/c55x-sim2/foo/Debug/csl_usb_poll_example.asm
;*******************************************************************************
;* TMS320C55x C/C++ Codegen PC v4.4.1 *
;* Date/Time created: Sat Sep 29 23:08:30 2018 *
;****************... |
examples/network/acasXu/property6/property6-output.agda | wenkokke/vehicle | 11 | 15601 | -- WARNING: This file was generated automatically by Vehicle
-- and should not be modified manually!
-- Metadata
-- - Agda version: 2.6.2
-- - AISEC version: 0.1.0.1
-- - Time generated: ???
{-# OPTIONS --allow-exec #-}
open import Vehicle
open import Vehicle.Data.Tensor
open import Data.Product
open import Data.S... |
oeis/006/A006472.asm | neoneye/loda-programs | 11 | 84064 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A006472: a(n) = n!*(n-1)!/2^(n-1).
; Submitted by <NAME>
; 1,1,3,18,180,2700,56700,1587600,57153600,2571912000,141455160000,9336040560000,728211163680000,66267215894880000,6958057668962400000,834966920275488000000,113555501157466368000000,17373991677092354304000000,2970... |
配套代码/SQLite_L31/SQLite_L29/SQLite_L29.asm | zmrbak/SQLiteReverse | 84 | 12225 | <gh_stars>10-100
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.24.28117.0
TITLE C:\Users\libit\source\repos\SQLite_L29\SQLite_L29\SQLite_L29.cpp
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
CONST SEGMENT
$SG7387 DB 'Hello World!', 0aH, 00H
ORG $+2
$SG7... |
gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pack13.adb | best08618/asylo | 7 | 17785 | <gh_stars>1-10
-- [ dg-do compile }
package body Pack13 is
procedure Set (Myself : Object_Ptr; The_Data : Thirty_Two_Bits.Object) is
begin
Myself.Something.Data_1 := The_Data;
end;
end Pack13;
|
source/strings/a-suezst.ads | ytomino/drake | 33 | 28544 | <gh_stars>10-100
pragma License (Unrestricted);
-- Ada 2012
with Ada.Characters.Conversions;
with Ada.Strings.UTF_Encoding.Generic_Strings;
package Ada.Strings.UTF_Encoding.Wide_Wide_Strings is
new Strings.UTF_Encoding.Generic_Strings (
Wide_Wide_Character,
Wide_Wide_String,
Expanding_From_8 =>
... |
src/main-source.applescript | kamontat/iMessageAPI | 3 | 3483 | <reponame>kamontat/iMessageAPI
#!/usr/bin/osascript
-- library name
property search_lib : "searching"
property send_lib : "sending"
-- file extension
property script_ : ".scpt"
-- library folder
property library : "lib/"
property help_msg : "
To run this script,
1. you must be macOS or OSx.
2. this file must executa... |
generated/simple_webapps-commands-append_servers.ads | faelys/simple-webapps | 1 | 29795 | <filename>generated/simple_webapps-commands-append_servers.ads
-- Generated at 2016-03-04 22:16:27 +0000 by Natools.Static_Hash_Maps
-- from src/simple_webapps-append_servers-maps.sx
package Simple_Webapps.Commands.Append_Servers is
pragma Pure;
type Endpoint_Command is
(Endpoint_Error,
Data_Path,
... |
examples/order/MinMax.agda | cruhland/agda | 1,989 | 3524 | <filename>examples/order/MinMax.agda
module MinMax where
open import Prelude
open import Logic.Base
open import Logic.Relations
open import Logic.Identity using (_≡_)
import Logic.ChainReasoning
open import DecidableOrder as DecOrder
module Min {A : Set}(Ord : DecidableOrder A) where
open DecidableOrder Ord
min... |
oeis/142/A142289.asm | neoneye/loda-programs | 11 | 80522 | ; A142289: Primes congruent to 40 mod 43.
; Submitted by <NAME>
; 83,599,857,1201,1373,1459,1889,2663,2749,4211,4297,4813,5501,6361,6619,6791,7307,7393,7823,8081,8167,8597,8941,9199,9371,9629,9887,9973,11177,11779,12037,12553,12983,13241,13327,13499,13757,15391,15649,15907,17627,17713,17971,18143,18229,18401,18917,1943... |
oeis/083/A083667.asm | neoneye/loda-programs | 11 | 164804 | <gh_stars>10-100
; A083667: Number of antisymmetric binary relations on a set of n labeled points.
; 1,2,12,216,11664,1889568,918330048,1338925209984,5856458868470016,76848453272063549952,3025216211508053707410432,357271984146678126737757198336,126579320351263180234426948827254784,13453888117359131153392818422341021932... |
src/native/third_party/isa-l_crypto/include/memcpy.asm | guptsanj/noobaa-core | 0 | 11929 | <gh_stars>0
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2016 Intel Corporation All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
; * Redistrib... |
oeis/344/A344370.asm | neoneye/loda-programs | 11 | 28278 | <filename>oeis/344/A344370.asm<gh_stars>10-100
; A344370: Dirichlet g.f.: Product_{k>=2} (1 + k^(1-s)).
; Submitted by <NAME>(s3)
; 1,2,3,4,5,12,7,16,9,20,11,36,13,28,30,32,17,54,19,60,42,44,23,120,25,52,54,84,29,150,31,96,66,68,70,180,37,76,78,200,41,210,43,132,135,92,47,336,49,150,102,156,53,270,110,280,114,116,59,54... |
programs/oeis/016/A016892.asm | neoneye/loda | 22 | 240706 | <gh_stars>10-100
; A016892: (5n+3)^8.
; 6561,16777216,815730721,11019960576,78310985281,377801998336,1406408618241,4347792138496,11688200277601,28179280429056,62259690411361,128063081718016,248155780267521,457163239653376
mul $0,5
add $0,3
pow $0,8
|
vp8/common/ppc/copy_altivec.asm | mrchapp/libvpx | 1 | 18954 | ;
; Copyright (c) 2010 The VP8 project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing projec... |
inst/scripts/get-slides.applescript | gaborcsardi/keynote | 27 | 4731 |
on escape(str)
-- Save delimiter
set prevdelim to text item delimiters of AppleScript
-- Escape double quotes
set text item delimiters of AppleScript to "\""
set str to text items of str
set text item delimiters of AppleScript to "\\\""
set str to str as text
-- Escape newlines as well
... |
game/logic/utils.asm | pompshuffle/super-tilt-bro | 2 | 163791 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Candidates for inclusion in nine-gine
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Construct a nametable buffer to replace palettes
; tmpfield1,tmpfield2 - new palette data adress (points to 32 bytes to be copied in PPU palettes)
;
; Overwrites register X, register Y and reg... |
alloy4fun_models/trashltl/models/13/Wjon38iAxCPNAsw5m.als | Kaixi26/org.alloytools.alloy | 0 | 93 | open main
pred idWjon38iAxCPNAsw5m_prop14 {
all f:File | ((f in Protected) and (f in Trash)) implies f not in Protected'
}
pred __repair { idWjon38iAxCPNAsw5m_prop14 }
check __repair { idWjon38iAxCPNAsw5m_prop14 <=> prop14o } |
release/src/router/gmp/source/mpn/x86_64/mode1o.asm | zhoutao0712/rtn11pb1 | 12 | 90807 | <filename>release/src/router/gmp/source/mpn/x86_64/mode1o.asm
dnl AMD64 mpn_modexact_1_odd -- exact division style remainder.
dnl Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software
dnl Foundation, Inc.
dnl
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you ... |
src/Semantics/Soundness.agda | DimaSamoz/temporal-type-systems | 4 | 16542 | <gh_stars>1-10
-- Soundness of term equality
module Semantics.Soundness where
open import Syntax.Types
open import Syntax.Context renaming (_,_ to _,,_)
open import Syntax.Terms
open import Syntax.Equality
open import Syntax.Substitution
open import Semantics.Types
open import Semantics.Context
open import Semantics... |
oeis/077/A077923.asm | neoneye/loda-programs | 11 | 88749 | <gh_stars>10-100
; A077923: Expansion of (1-x)^(-1)/(1+2*x-x^2+2*x^3).
; Submitted by <NAME>
; 1,-1,4,-10,27,-71,190,-504,1341,-3565,9480,-25206,67023,-178211,473858,-1259972,3350225,-8908137,23686444,-62981474,167465667,-445285695,1184000006,-3148217040,8371005477,-22258228005,59183895568,-157368030094,418436411767,-1... |
programs/oeis/057/A057071.asm | neoneye/loda | 22 | 11383 | ; A057071: floor[9^9/n].
; 387420489,193710244,129140163,96855122,77484097,64570081,55345784,48427561,43046721,38742048,35220044,32285040,29801576,27672892,25828032,24213780,22789440,21523360,20390552,19371024,18448594
add $0,1
mov $1,387420489
div $1,$0
mov $0,$1
|
test/Succeed/Issue1584.agda | cruhland/agda | 1,989 | 14049 | -- Andreas, 2015-06-24
open import Common.Equality
open import Common.Product
Sing : {A : Set} (a : A) → Set
Sing a = ∃ λ b → a ≡ b
works : {A : Set} (f : ∀{a : A} → Sing a) (a : A) → Sing a
works f a = let b , p = f {_} in b , p
test : {A : Set} (f : ∀{a : A} → Sing a) (a : A) → Sing a
test f a = let b , p = f in ... |
programs/oeis/002/A002315.asm | neoneye/loda | 22 | 85491 | ; A002315: NSW numbers: a(n) = 6*a(n-1) - a(n-2); also a(n)^2 - 2*b(n)^2 = -1 with b(n)=A001653(n+1).
; 1,7,41,239,1393,8119,47321,275807,1607521,9369319,54608393,318281039,1855077841,10812186007,63018038201,367296043199,2140758220993,12477253282759,72722761475561,423859315570607,2470433131948081,14398739476117879,8392... |
src/code/init.asm | gb-archive/waveform-gb | 0 | 243891 | SECTION "Stack", WRAM0[$C080]
ds $80 - 1
wStack::
SECTION "Init", ROM0
Init:
di
cp $11
ld a, 1
jr z, .cgb
xor a
.cgb
ld [hGBC], a
xor a
ldx [rIF], [rIE]
ldx [rRP]
ldx [rSCX], [rSCY]
ldx [rSB], [rSC]
ldx [rWX], [rWY]
ldx [rBGP], [rOBP0], [rOBP1]
ldx [rTMA], [rTAC]
put [rTAC], rTAC_4096Hz
.wait... |
src/syscalls/ewok-syscalls-lock.adb | PThierry/ewok-kernel | 65 | 12238 | <gh_stars>10-100
--
-- Copyright 2018 The wookey project team <<EMAIL>>
-- - <NAME>
-- - <NAME>
-- - <NAME>
-- - <NAME>
-- - <NAME>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License ... |
src/Categories/Category/Discrete.agda | Trebor-Huang/agda-categories | 279 | 11995 | {-# OPTIONS --without-K --safe #-}
module Categories.Category.Discrete where
-- Discrete Category.
-- https://ncatlab.org/nlab/show/discrete+category
-- says:
-- A category is discrete if it is both a groupoid and a preorder. That is,
-- every morphism should be invertible, any two parallel morphisms should be equal.
... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_833.asm | ljhsiun2/medusa | 9 | 88704 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1846c, %rsi
lea addresses_A_ht+0xac41, %rdi
nop
nop
nop
nop
nop
xor $56525, %rax
mov $75, %rcx
rep movsq
nop
xor $51191, %rcx
lea addresses_A_ht+0x78cd, %r10
nop
nop
cmp ... |
g-os_lib.ads | ytomino/gnat4drake | 0 | 26823 | <filename>g-os_lib.ads
pragma License (Unrestricted);
with Ada.Calendar;
with Ada.Directories.Information;
with Ada.Hierarchical_File_Names;
with System;
with GNAT.Calendar;
with GNAT.Strings;
private with System.Native_IO; -- implementation unit
package GNAT.OS_Lib is
-- Note: Ada.Directories is not preelaborate.
... |
alloy4fun_models/trashltl/models/9/JZ4qdvEecKmAAggLw.als | Kaixi26/org.alloytools.alloy | 0 | 2713 | <filename>alloy4fun_models/trashltl/models/9/JZ4qdvEecKmAAggLw.als
open main
pred idJZ4qdvEecKmAAggLw_prop10 {
all p: File | once p in Protected implies always p in Protected
}
pred __repair { idJZ4qdvEecKmAAggLw_prop10 }
check __repair { idJZ4qdvEecKmAAggLw_prop10 <=> prop10o } |
src/PJ/fileio/dosmkdir.asm | AnimatorPro/Animator-Pro | 119 | 240383 | <filename>src/PJ/fileio/dosmkdir.asm
CGROUP group code
code segment dword 'CODE'
assume cs:CGROUP,ds:CGROUP
include errcodes.i
public pj_dmake_dir
; Boolean pj_dmake_dir(char *path);
pj_dmake_dir proc near
jmdp struc
jmd_edx dd ?
jmd_ret dd ?
jmd_path dd ?
jmdp ends
push edx
mov edx,[esp].jmd_... |
programs/oeis/017/A017534.asm | karttu/loda | 1 | 169383 | ; A017534: (12n+1)^2.
; 1,169,625,1369,2401,3721,5329,7225,9409,11881,14641,17689,21025,24649,28561,32761,37249,42025,47089,52441,58081,64009,70225,76729,83521,90601,97969,105625,113569,121801,130321,139129,148225,157609,167281,177241,187489,198025,208849,219961,231361,243049,255025,267289,279841,292681,305809,319225,3... |
.emacs.d/elpa/wisi-3.0.1/wisitoken-parse-lr-mckenzie_recover-base.adb | caqg/linux-home | 0 | 3512 | <reponame>caqg/linux-home
-- Abstract :
--
-- Base utilities for McKenzie_Recover
--
-- Copyright (C) 2018, 2019 Free Software Foundation, Inc.
--
-- This library is free software; you can redistribute it and/or modify it
-- under terms of the GNU General Public License as published by the Free
-- Software Fo... |
Saral.g4 | PaulNoth/saral | 13 | 6939 | grammar Saral;
INDENT : '__INDENT';
DEDENT : '__DEDENT';
init
: statements
;
statements : statement*;
block
: INDENT statements DEDENT
;
func_block
: INDENT statements ret DEDENT
;
ret : RET expression EOL;
statement
: simple_statement EOL
| block_statement EOL?
;
simple_statement
: assignment
| var_... |
grammars/x12/EdiX12Parser.g4 | aaronhuggins/js-edi | 7 | 6772 | parser grammar EdiX12Parser;
options {
tokenVocab = EdiX12Lexer ;
}
// The document root.
document: interchange+;
// Document structure
interchange:
interchangeHeader
group+
interchangeTrailer;
group:
groupHeader
transaction+
groupTrailer;
transaction:
transactionHeader
segment+
transacti... |
programs/oeis/030/A030133.asm | neoneye/loda | 22 | 170582 | <reponame>neoneye/loda
; A030133: a(n+1) is the sum of digits of (a(n) + a(n-1)).
; 2,1,3,4,7,2,9,2,2,4,6,1,7,8,6,5,2,7,9,7,7,5,3,8,2,1,3,4,7,2,9,2,2,4,6,1,7,8,6,5,2,7,9,7,7,5,3,8,2,1,3,4,7,2,9,2,2,4,6,1,7,8,6,5,2,7,9,7,7,5,3,8,2,1,3,4,7,2,9,2,2,4,6,1,7,8,6,5,2,7,9,7,7,5,3,8,2,1,3,4
seq $0,32 ; Lucas numbers beginning... |
Driver/Net/NW/nwServer.asm | steakknife/pcgeos | 504 | 100966 | <reponame>steakknife/pcgeos
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC/GEOS
MODULE: Novell NetWare Driver
FILE: nwServer.asm
AUTHOR: <NAME>, Oct 8, 1992
ROUTINES:
Name Description
---- --------... |
oeis/304/A304616.asm | neoneye/loda-programs | 11 | 242067 | <reponame>neoneye/loda-programs<filename>oeis/304/A304616.asm
; A304616: a(n) = 81*n^2 - 69*n + 24.
; 24,36,210,546,1044,1704,2526,3510,4656,5964,7434,9066,10860,12816,14934,17214,19656,22260,25026,27954,31044,34296,37710,41286,45024,48924,52986,57210,61596,66144,70854,75726,80760,85956,91314,96834,102516,108360,114366... |
programs/oeis/191/A191531.asm | neoneye/loda | 22 | 103675 | <filename>programs/oeis/191/A191531.asm
; A191531: Sum of lengths of initial and final horizontal segments over all dispersed Dyck paths of semilength n (i.e., over all Motzkin paths of length n with no (1,0)-steps at positive heights).
; 0,1,2,5,10,21,40,79,148,287,538,1041,1964,3811,7242,14105,26974,52713,101332,1985... |
programs/oeis/223/A223134.asm | jmorken/loda | 1 | 245738 | <reponame>jmorken/loda
; A223134: Number of distinct sums i+j+k with i,j,k >= 0, i*j*k <= n.
; 1,4,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63,65,67,69,71,73,75,77,79,81,83,85,87,89,91,93,95,97,99,101,103,105,107,109,111,113,115,117,119,121,123,125
mul $0,2
mov $1,$0
cmp $0,2... |
src/Categories/Category/Instance/PointedSets.agda | Trebor-Huang/agda-categories | 279 | 578 | <gh_stars>100-1000
{-# OPTIONS --without-K --safe #-}
module Categories.Category.Instance.PointedSets where
-- Category of Pointed Sets
open import Level
open import Relation.Binary
open import Function using (_∘′_; _$_) renaming (id to idf)
open import Relation.Binary.PropositionalEquality as ≡ using (_≡_; refl)
ope... |
programs/oeis/162/A162751.asm | neoneye/loda | 22 | 174504 | ; A162751: Write down in binary the n-th positive (odd) integer that is a palindrome in base 2. Take only the leftmost half of the digits (including the middle digit if there are an odd number of digits). a(n) is the decimal equivalent of the result.
; 1,1,2,3,2,3,4,5,6,7,4,5,6,7,8,9,10,11,12,13,14,15,8,9,10,11,12,13,1... |
Library/SpecUI/CommonUI/CView/cviewSplitter.asm | steakknife/pcgeos | 504 | 176998 | <gh_stars>100-1000
COMMENT @-----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: CommonUI/CView (common code for several specific ui's)
FILE: cviewSplitter.asm
ROUTINES:
Name Description
---- -----------... |
caldera/app/cddl/cddl.g4 | wietze/caldera | 3 | 64 | // Define a grammar called cddl
grammar cddl;
// Parser rules
actions : action+ EOF;
action : (name)? (description)? knowns (wheres)? effects ;
name : 'Name:' ID ;
description : 'Description:' STRING ;
knowns : 'Knowns:' (known)* ;
known : ID ':' known_assign ;
known_assign :
ID
| ID '[' known_assign (',' kno... |
Transynther/x86/_processed/AVXALIGN/_st_sm_/i7-7700_9_0x48.log_21829_1434.asm | ljhsiun2/medusa | 9 | 14171 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r8
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x2b62, %rax
nop
nop
cmp %rdi, %rdi
movb (%rax), %r9b
dec %r13
lea addresses_WT_ht+0x1a9bc, %rdi
sub %r8, %r8
mov (%rdi), %bx
sub $14972, %r8
lea addresses_D_ht+0x11e22, %rsi
le... |
adm/code/src/admbase-constraints.ads | leo-brewin/adm-bssn-numerical | 1 | 12016 | package ADMBase.Constraints is
procedure set_constraints (point : GridPoint); -- set the constraints for any point *not* on the boundary
procedure set_constraints; -- set the constraints across the whole grid *including* the boundaries
end ADMBase.Constraints;
|
experiments/realbugs/arr1.als | saiema/ARepair | 5 | 24 | sig Element {}
one sig Array {
// Maps indexes to elements of Element.
i2e: Int -> Element,
// Represents the length of the array.
length: Int
}
// Assume all elements are in the array.
fact Reachable {
Element = Array.i2e[Int]
}
fact InBound {
// All indexes should be greater than or equal to 0 and less t... |
programs/oeis/007/A007291.asm | jmorken/loda | 1 | 171432 | <reponame>jmorken/loda<filename>programs/oeis/007/A007291.asm
; A007291: Series expansion for rectilinear polymers on square lattice.
; 7,63,254,710,1605,3157,5628,9324,14595,21835,31482,44018,59969,79905,104440,134232,169983,212439,262390,320670,388157,465773,554484,655300,769275,897507,1041138,1201354,1379385
mov $1... |
src/nanomsg-socket.adb | landgraf/nanomsg-ada | 2 | 28064 | -- The MIT License (MIT)
-- Copyright (c) 2015 <NAME> <<EMAIL>>
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without restriction, including without limitation the rights
-- to u... |
Transynther/x86/_processed/NONE/_st_/i7-7700_9_0x48.log_21829_37.asm | ljhsiun2/medusa | 9 | 242442 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0xe30b, %rsi
lea addresses_WT_ht+0x1aca3, %rdi
nop
xor $199, %r15
mov $28, %rcx
rep movsb
nop
nop
nop
nop
nop
cmp $52273, %r11
lea addresses_D_ht+0x65de, %rsi
lea addresses_normal_ht+0x133... |
Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_21829_2906.asm | ljhsiun2/medusa | 9 | 168476 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x19f56, %rbp
nop
nop
nop
nop
cmp $11171, %r12
movups (%rbp), %xmm3
vpextrq $1, %xmm3, %r11
nop
nop
sub $57170, %rdx
lea addresses_WC_ht+0x1a4ae, %rsi
lea ... |
src/gl/implementation/gl-vectors.adb | Roldak/OpenGLAda | 79 | 8909 | -- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
package body GL.Vectors is
function "+" (Left, Right : Vector) return Vector is
Ret : Vector;
begin
for I in Index_Type'Range loop
Ret (I) := Left (I) + Right (I);
end loop;
... |
core/ValidationSchema.g4 | snava10/data-validation | 0 | 6914 | grammar ValidationSchema;
/*
* Parser Rules
*/
schema : prolog body;
prolog : version_dec global_directives;
version_dec : (VERSION10 | VERSION11);
global_directives : separator_directive? quoted_directive?
total_columns_direct... |
u7bg/call-eop-processSliderInput.asm | JohnGlassmyer/UltimaHacks | 68 | 240225 | %include "include/u7bg-all-includes.asm"
defineAddress 340, 0x1C31, doSlider_switchToKeyMouseMode
defineAddress 340, 0x1C38, doSlider_switchToKeyMouseMode_end
defineAddress 340, 0x1C44, doSlider_haveMouseState
defineAddress 340, 0x1C71, doSlider_afterProcessInput
%include "../u7-common/patch-call-eop-processSliderInp... |
Ano_2/LFA/bloco2/ex02/Calculator.g4 | Karkanius/MIECT | 7 | 1975 | grammar Calculator ;
program : stat* EOF ;
stat : expr NEWLINE
| NEWLINE ;
expr : expr ( '*' | '/' ) expr // Alternativa mais prioritária
| expr ( '+' | '-' ) expr
| INT
| '(' expr ')' // Alternativa menos prioritária
;
INT : [0-9]+ ; // INT é composto ... |
programs/oeis/190/A190592.asm | neoneye/loda | 22 | 160571 | <reponame>neoneye/loda
; A190592: Maximal digit in base-3 expansion of n.
; 0,1,2,1,1,2,2,2,2,1,1,2,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,2,1,1,2,2,2,2,1,1,2,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,1,1,2,1,1,2,2,2,2,1,1,2,1,1,2,2,2,2,2
lpb $0
mov $2,$0
mov $0,2
seq $2,3996... |
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce2205a.ada | best08618/asylo | 7 | 23210 | -- CE2205A.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... |
agda-stdlib-0.9/src/Data/Nat/Primality.agda | qwe2/try-agda | 1 | 11869 | ------------------------------------------------------------------------
-- The Agda standard library
--
-- Primality
------------------------------------------------------------------------
module Data.Nat.Primality where
open import Data.Empty
open import Data.Fin as Fin hiding (_+_)
open import Data.Fin.Dec
open i... |
stdlib-exts/Class/Monad/State.agda | WhatisRT/meta-cedille | 35 | 10202 | <gh_stars>10-100
module Class.Monad.State where
open import Class.Monad
open import Data.Product
open import Data.Unit.Polymorphic
open import Function
open import Level
private
variable
a : Level
A : Set a
record MonadState {a} (M : Set a → Set a) {{_ : Monad M}} (S : Set a) : Set (suc a) where
field
... |
Data/PolyP/Composition.agda | oisdk/agda-playground | 6 | 16899 | <filename>Data/PolyP/Composition.agda
{-# OPTIONS --cubical --safe --guardedness #-}
module Data.PolyP.Composition where
open import Function hiding (_⟨_⟩_)
open import Data.Sum
open import Data.Sigma
open import Level
open import Data.Unit
open import Data.Nat
open import Data.Vec
open import Data.Empty
open import ... |
programs/oeis/094/A094201.asm | karttu/loda | 0 | 11517 | <reponame>karttu/loda
; A094201: a(n) = 4*n^5 + 10*n^4 + 13*n^3 + 11*n^2 + 5*n + 1.
; 1,44,447,2248,7685,20676,47299,96272,179433,312220,514151,809304,1226797,1801268,2573355,3590176,4905809,6581772,8687503,11300840,14508501,18406564,23100947,28707888,35354425,43178876,52331319
mov $6,$0
lpb $0,1
sub $0,1
add $1,5... |
programs/oeis/090/A090019.asm | neoneye/loda | 22 | 91016 | <reponame>neoneye/loda
; A090019: a(n) = (3*10^n + 2*0^n)/5.
; 1,6,60,600,6000,60000,600000,6000000,60000000,600000000,6000000000,60000000000,600000000000,6000000000000,60000000000000,600000000000000,6000000000000000,60000000000000000,600000000000000000
mov $1,10
pow $1,$0
mul $1,3
sub $1,1
div $1,5
add $1,1
mov $0,$1... |
src/lib/video.asm | zys1310992814/BookOSv0.2 | 3 | 98422 | [bits 32]
[section .text]
INT_VECTOR_SYS_CALL equ 0x80
_NR_GET_SCREEN EQU 34
global get_screen
get_screen:
mov eax, _NR_GET_SCREEN
mov ebx, [esp + 4]
mov ecx, [esp + 8]
int INT_VECTOR_SYS_CALL
ret |
oeis/227/A227169.asm | neoneye/loda-programs | 11 | 23217 | <reponame>neoneye/loda-programs
; A227169: a(n) = 3*((2*n+2)!)^2 / (n!*(n+1)!*(n+2)!*(n+3)!).
; Submitted by <NAME>
; 1,6,45,392,3780,39204,429429,4907760,58023108,705264040,8772399636,111263122656,1434941066000,18775651948200,248797110637125,3333772874210400,45115597383228900,615974564891763000,8477309210264363700,117... |
programs/oeis/156/A156844.asm | neoneye/loda | 22 | 241368 | ; A156844: 279841n^2 - 394634n + 139128.
; 24335,469224,1473795,3038048,5161983,7845600,11088899,14891880,19254543,24176888,29658915,35700624,42302015,49463088,57183843,65464280,74304399,83704200,93663683,104182848,115261695,126900224,139098435,151856328,165173903,179051160,193488099,208484720,224041023,240157008,25683... |
libsrc/graphics/spc1000/pixel_MODE1.asm | jpoikela/z88dk | 0 | 18851 |
EXTERN pixeladdress
EXTERN __gfx_coords
INCLUDE "graphics/grafix.inc"
; Generic code to handle the pixel commands
; Define NEEDxxx before including
ld a,l
cp 192
ret nc
ld (__gfx_coords),hl
push bc ;Save callers value
call pixeladdress ;hl = address, a = pixel number
ld b,a
ld a,1
jr z, rotated ... |
examples/test.asm | Bunogi/c8asm | 0 | 247459 | ld v0, 0x20
ld v1, 0x30
ld v2, 20
ld dt, 0x50
ld v3, dt
ld i, 0x5
ld v4, [i]
ld [i], 0
ld v5, [i]
|
src/lumen-image-ppm.adb | darkestkhan/lumen2 | 8 | 18711 |
-- Lumen.Image.PPM -- Load and save netpbm's PPM image data
--
-- <NAME>, NiEstu, Phoenix AZ, Spring 2010
-- This code is covered by the ISC License:
--
-- Copyright © 2010, NiEstu
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided... |
oeis/254/A254643.asm | neoneye/loda-programs | 11 | 242119 | ; A254643: Third partial sums of ninth powers (A001017).
; 1,515,21225,324275,2862790,17714466,85232910,339635850,1168343775,3571356685,9906622271,25333920885,60457751900,135939162100,290221510860,592024274916,1159935330765,2192313968775,4011847886725,7130537084615,12342661609026,20855490677750,34470176952250,558285279... |
programs/oeis/145/A145608.asm | jmorken/loda | 1 | 5107 | <reponame>jmorken/loda
; A145608: Numbers a(n)=k such that (1/3)*(5*(2k+1)^2-2) is A057080(n)^2
; 0,3,27,216,1704,13419,105651,831792,6548688,51557715,405913035,3195746568,25160059512,198084729531,1559517776739,12278057484384,96664942098336,761041479302307,5991666892320123,47172293659258680
add $0,1
mov $1,1
lpb $0
... |
programs/oeis/075/A075848.asm | karttu/loda | 0 | 97207 | ; A075848: Numbers k such that 2*k^2 + 9 is a square.
; 0,6,36,210,1224,7134,41580,242346,1412496,8232630,47983284,279667074,1630019160,9500447886,55372668156,322735561050,1881040698144,10963508627814,63900011068740,372436557784626,2170719335639016
mul $0,2
mov $2,3
mov $4,6
lpb $0,1
sub $0,1
add $3,$2
trn $2,$4... |
Typinator/New-Snippet-From-Selection|Clipboard.applescript | boisy/AppleScripts | 116 | 3590 | <reponame>boisy/AppleScripts
-- @ description
-- 1 shortcut to create from selection of keyboard
--
-- @params none
-- @return none
tell application "System Events"
tell (first process whose frontmost is true)
if (menu item "Copy" of menu 1 of menu bar item "Edit" of menu bar 1) is enabled then
tell application "... |
sources/chess.asm | gpont/TSU_ASM | 0 | 12285 | global chess
section .text
chess:
mov rax, rdi ; rax = x1
mov rbx, rsi ; rbx = x2
sub rax, rdx ; rax -= x3
.abs_rax:
neg rax
js .abs_rax ; if (SF=1 (rax < 0)) goto abs_rax
sub rbx, rcx ; rbx -= x4
.abs_rbx:
neg rbx
js .abs_rbx ; if (SF=1 (rbx < 0)) goto abs_ra... |
Projects/PJZ2/ParaLines/ParaLines.asm | jonathanbennett73/amiga-pjz-planet-disco-balls | 21 | 10006 | *****************************************************************************
; Name : Template.s
; Coded by : Antiriad (<NAME> <<EMAIL>)
; Description : Template routine.
; Date last edited : 04/02/2020
*****************************************************************************
RasterTest set 0 ;... |
programs/oeis/034/A034959.asm | neoneye/loda | 22 | 16243 | ; A034959: Divide even numbers into groups with prime(n) elements and add together.
; 2,18,70,182,484,884,1666,2546,4048,6612,8928,13172,17794,22274,28576,37524,48380,57340,71556,85626,98550,118658,138112,163404,196134,224220,249672,281838,310650,347136,420624,467670,525806,571846,655898,710002,786570,868790,945220,103... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_255.asm | ljhsiun2/medusa | 9 | 98130 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_255.asm
.global s_prepare_buffers
s_prepare_buffers:
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x14cf7, %rsi
lea addresses_normal_ht+0x1eeb7, %rdi
nop
nop
nop
nop
xor $11615, %rbp
mov $119, ... |
programs/oeis/031/A031384.asm | neoneye/loda | 22 | 101446 | <reponame>neoneye/loda
; A031384: a(n) = prime(10*n - 2).
; 19,61,107,163,223,271,337,397,457,521,593,647,719,787,857,929,997,1061,1123,1213,1283,1361,1439,1493,1571,1627,1721,1789,1877,1973,2029,2111,2203,2273,2347,2411,2503,2593,2677,2729,2801,2887,2969,3061,3167,3251,3323,3391,3491,3557,3631,3709,3797,3881,3947,4049... |
MASM programs/revstr.asm | Abhicake/MPMC-LAB-Programs | 1 | 164763 | ; REverse string
Assume cs:code , ds:data , es:data
data segment
str db 'VASAVI'
len equ ($-str)
str2 db len dup()
data ends
code segment
start:
mov ax,data
mov ds,ax
mov es,ax
lea si,str
add si,len-1
lea di,str2
mov cx,len
back:
mov al,[si]
mov [di],al
dec si
inc di
loop back
... |
test/agda/FRP/JS/Test.agda | agda/agda-frp-js | 63 | 13413 | <gh_stars>10-100
open import FRP.JS.QUnit using ( TestSuites ; suite ; _,_ )
import FRP.JS.Test.Bool
import FRP.JS.Test.Nat
import FRP.JS.Test.Int
import FRP.JS.Test.Float
import FRP.JS.Test.String
import FRP.JS.Test.Maybe
import FRP.JS.Test.List
import FRP.JS.Test.Array
import FRP.JS.Test.Object
import FRP.JS.Test.JS... |
memmove.asm | Antoine340/minilibc-asm | 0 | 96615 |
BITS 64
GLOBAL memmove:function
memmove:
PUSH RBP
MOV RBP, RSP
XOR RAX, RAX
XOR RCX, RCX
XOR R10, R10
CMP RDX, 0
JZ return_0
MOV R10, RDI
SUB R10, RSI
JGE sub_RDX
loop:
CMP RCX, RDX
JE end
MOV R8B, [RSI + RCX]
MOV BYTE[RDI + RCX], R8B
inc RCX
JMP loop
sub_RDX:
SUB RDX, 1
... |
programs/oeis/116/A116400.asm | jmorken/loda | 1 | 95683 | ; A116400: E.g.f. Bessel_I(2,2x)+Bessel_I(3,2x)+Bessel_I(4,2x).
; 0,0,1,1,5,5,21,21,84,84,330,330,1287,1287,5005,5005,19448,19448,75582,75582,293930,293930,1144066,1144066,4457400,4457400,17383860,17383860,67863915,67863915,265182525
div $0,2
mov $1,$0
lpb $0
add $0,$1
mov $2,$0
mov $0,1
add $2,1
mov $3,1
... |
working/m12-give-strings/m12-give-target-dead.asm | Iemnur/Mother2GbaTranslation | 149 | 82667 | <reponame>Iemnur/Mother2GbaTranslation
.loadtable "m12-give-strings/m12-give-table.tbl"
.str "@\csender added\n the \citem\n to \creceiver's stuff." |
eBindings/uuid/tests/gnatcoll-uuid-suite.adb | persan/zeromq-Ada | 33 | 16052 |
with GNATCOLL.uuid.Test;
package body GNATCOLL.uuid.Suite is
use AUnit.Test_Suites;
Result : aliased Test_Suite;
Test_1 : aliased GNATCOLL.uuid.Test.Test_Case;
-----------
-- Suite --
-----------
function Suite return Access_Test_Suite is
begin
Add_Test (Result'Access, Test_1'Access);
... |
programs/oeis/306/A306262.asm | karttu/loda | 0 | 83197 | <reponame>karttu/loda
; A306262: Difference between maximum and minimum sum of products of successive pairs in permutations of [n].
; 0,0,0,4,11,24,42,68,101,144,196,260,335,424,526,644,777,928,1096,1284,1491,1720,1970,2244,2541,2864,3212,3588,3991,4424,4886,5380,5905,6464,7056,7684,8347,9048,9786,10564,11381,12240,131... |
src/snes/header.asm | puzzud/retroleague | 4 | 12853 | <filename>src/snes/header.asm
.p816 ; 65816 processor
.i16 ; X/Y are 16 bits
.a8 ; A is 8 bits
.include "snes.asm"
.segment "HEADER" ; +$7FE0 in file
.byte "ROM NAME" ; ROM name. NOTE: Can be changed.
.segment "ROMINFO" ; +$7FD5 in file
.byte $30 ; LoROM, fast-capable
.byte 0 ... |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca.log_21829_379.asm | ljhsiun2/medusa | 9 | 4065 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1c13f, %rbp
nop
cmp %rsi, %rsi
movl $0x61626364, (%rbp)
nop
nop
nop
inc %r14
lea addresses_normal_ht+0x12357, %r9
nop
and $5369, %... |
lib/writeb.asm | argymouz/alan-compiler | 0 | 20848 | <gh_stars>0
; writeByte (b : byte) : proc;
; ---------------------------------
; This function prints a byte to the standard output.
; It uses writeInteger.
section .code
global _writeByte
extern _writeInteger
extern _extend
_writeByte push rbp
mov rbp, rsp
call _extend
xor rdi, rdi
mov di, ax
... |
programs/oeis/113/A113638.asm | jmorken/loda | 1 | 859 | ; A113638: In the sequence of nonnegative integers subtract 1 from each prime number.
; 0,1,1,2,4,4,6,6,8,9,10,10,12,12,14,15,16,16,18,18,20,21,22,22,24,25,26,27,28,28,30,30,32,33,34,35,36,36,38,39,40,40,42,42,44,45,46,46,48,49,50,51,52,52,54,55,56,57,58,58,60,60,62,63,64,65,66,66,68,69,70,70,72
mov $1,$0
sub $0,1
cal... |
oeis/284/A284843.asm | neoneye/loda-programs | 11 | 1268 | ; A284843: Number of permutations on [n+2] with no circular 2-successions.
; Submitted by <NAME>
; 3,12,55,318,2163,16952,150183,1483290,16153027,192234372,2481692343,34538108822,515428409715,8210201868528,139028223047143,2493848817565362,47236883312958723,942120664413581180,19735072617803491767,433187081497364626542
... |
oeis/014/A014076.asm | neoneye/loda-programs | 11 | 26362 | ; A014076: Odd nonprimes.
; Submitted by <NAME>(s2)
; 1,9,15,21,25,27,33,35,39,45,49,51,55,57,63,65,69,75,77,81,85,87,91,93,95,99,105,111,115,117,119,121,123,125,129,133,135,141,143,145,147,153,155,159,161,165,169,171,175,177,183,185,187,189,195,201,203,205,207,209,213,215,217,219,221,225,231,235,237,243,245,247,249,25... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.