content
stringlengths
10
1.02M
lang
stringclasses
87 values
size
int64
10
1.02M
ext
stringclasses
189 values
max_stars_count
int64
1
82k
avg_line_length
float64
1.89
277k
max_line_length
int64
1
417k
alphanum_fraction
float64
0.1
1
using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using Abp.Application.Services; using Abp.IdentityFramework; using Abp.Runtime.Session; using EbusSoft.Authorization.Users; using EbusSoft.MultiTenancy; namespace EbusSoft { /// <summary> /// Derive your application services from...
C#
1,315
cs
null
27.395833
84
0.647148
% % (c) The University of Glasgow 2006 % (c) The GRASP/AQUA Project, Glasgow University, 1992-1998 % % Code generation for tail calls. \begin{code} {-# OPTIONS -fno-warn-tabs #-} -- The above warning supression flag is a temporary kludge. -- While working on this module you are encouraged to remove it and -- detab the...
Literate Haskell
17,671
lhs
1
35.843813
83
0.640994
(define (run-in-LNjScheme expr) (cond-expand (android (define (evl expr) (force (jscheme-future expr)))) (else (define evl eval))) (thread-start! (make-thread (lambda () (with-exception-catcher (lambda (exn) (log-error "EXN: " (exception-->printable exn) " in: " expr) (ne...
Scheme
4,577
scm
null
50.855556
120
0.560629
/*=========================================================================== * * File: Srrecorddialog.CPP * Author: Dave Humphrey (dave@uesp.net) * Created On: 26 November 2011 * * Description * *=========================================================================*/ /* Include Files */ #inc...
C++
99,411
cpp
18
33.986667
151
0.539618
------------------------------------------------------------------------ -- Properties of functions ------------------------------------------------------------------------ {-# OPTIONS --without-K --safe --exact-split #-} module Math.Combinatorics.ListFunction.Properties where -- agda-stdlib open import Data.List hi...
Agda
16,408
agda
3
46.613636
135
0.56058
\hypertarget{classredland_1_1RaptorIOStream}{}\doxysection{redland\+::Raptor\+IOStream Class Reference} \label{classredland_1_1RaptorIOStream}\index{redland::RaptorIOStream@{redland::RaptorIOStream}} \doxysubsection*{Public Member Functions} \begin{DoxyCompactItemize} \item \mbox{\Hypertarget{classredland_1_1RaptorIOS...
TeX
1,358
tex
6
59.043478
158
0.834315
#version 310 es precision highp float; layout (location=0) in vec2 a_position; layout (location=1) in vec2 a_pixel; layout(binding = 0, r32f) readonly highp uniform image2D u_heightmap; layout(binding = 0, std430) readonly buffer Normals { vec4 data[]; } normals; uniform float u_height; uniform mat4 u_mvp; uniform ...
GLSL
971
vert
null
22.581395
77
0.732235
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { SidebarComponent } from './sidebar/sidebar.component'; import { NavbarComponent } from './navbar/navbar.component'; import { FooterComponent } from './footer/footer.component'; import { RouterModule } from '@angular/route...
TypeScript
1,054
ts
null
29.277778
89
0.73055
; Theorems about ALL-VARS (and ALL-VARS1) ; ; Copyright (C) 2016 Kestrel Institute (http://www.kestrel.edu) ; ; License: A 3-clause BSD license. See the LICENSE file distributed with ACL2. ; ; Author: Eric Smith (eric.smith@kestrel.edu) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ...
Common Lisp
2,062
lisp
null
28.638889
80
0.598933
(*****************************************************************************) (* *) (* Open Source License *) (* Copyright (c) 2018 Dynamic Ledger Solutions, Inc. <contact@tezos.com> *) ...
OCaml
2,968
ml
null
54.962963
79
0.528302
//! A simplified AST that only contains items. mod lower; use std::{ any::type_name, fmt::{self, Debug}, hash::{Hash, Hasher}, marker::PhantomData, ops::{Index, Range}, sync::Arc, }; use ast::{AstNode, NameOwner, StructKind}; use base_db::CrateId; use either::Either; use hir_expand::{ ast...
Rust
23,647
rs
1
29.33871
100
0.579989
#/** @file # * Copyright (c) 2019, Arm Limited or its affiliates. All rights reserved. # * SPDX-License-Identifier : Apache-2.0 # * # * 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 at # * # *...
CMake
979
cmake
46
29.666667
76
0.743616
using System; using System.Collections.Generic; using System.Text; namespace LogExpert { internal class ConfigChangedEventArgs : EventArgs { private SettingsFlags flags; internal ConfigChangedEventArgs(SettingsFlags changeFlags) { this.flags = changeFlags; } public SettingsFlags Flags...
C#
372
cs
null
16.173913
62
0.693548
--- title: Philip Fleming ---
Markdown
30
md
3
7.5
21
0.6
PREFIX od: <http://data.odeuropa.eu/ontology/> PREFIX crm: <http://erlangen-crm.org/current/> PREFIX time: <http://www.w3.org/2006/time#> PREFIX reo: <https://read-it.acc.hum.uu.nl/ontology#> PREFIX schema: <http://schema.org/> # What are the adjectives used for [smell, e.g. lemon aroma] in the 15th century?...
SPARQL
881
rq
null
33.884615
119
0.675369
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
Ada
2,010
ads
null
67
78
0.389055
import 'package:flutter/material.dart'; import 'package:one_widget_per_day/resources/strings.dart'; import 'package:one_widget_per_day/ui/widgets/come_back_button.dart'; import 'package:one_widget_per_day/ui/widgets/title.dart'; class PositionedScreen extends StatefulWidget { @override _PositionedScreenState creat...
Dart
1,380
dart
28
29.361702
69
0.508696
# frozen_string_literal: true require "cgi" require "action_view/helpers/tag_helper" require "active_support/core_ext/string/output_safety" require "active_support/core_ext/module/attribute_accessors" module ActionView # = Action View Form Tag Helpers module Helpers #:nodoc: # Provides a number of methods for...
Ruby
43,981
rb
7
47.805435
181
0.596962
package Geonode::Free::ProxyList; use 5.010; use strict; use warnings; use Carp 'croak'; use List::Util qw( shuffle ); use List::MoreUtils qw( uniq ); use LWP::UserAgent; use JSON::PP; use utf8; use Geonode::Free::Proxy; =head1 NAME Geonode::Free::ProxyList - Get Free Geonode Proxies by using some filters =head1 V...
Perl
12,749
pm
null
21.608475
157
0.612519
(* Module: Hosts_Access Parses /etc/hosts.{allow,deny} Author: Raphael Pinson <raphink@gmail.com> About: Reference This lens tries to keep as close as possible to `man 5 hosts_access` and `man 5 hosts_options` where possible. About: License This file is licenced under the LGPL v2+, like the rest of Augeas. A...
Augeas
4,426
aug
1
28.928105
112
0.494577
open Microsoft.Graph open Microsoft.Identity.Client open ParseWorksheet open System open System.Net open System.Net.Http.Headers open System.Threading.Tasks open Thoth.Json.Net let toSecureString (text: string) = // see https://stackoverflow.com/a/43084626/1293659 NetworkCredential("", text).SecurePassword l...
F#
4,142
fs
null
39.826923
153
0.639546
instance creation fileNamed: aName ^ self subclassResponsibility
Smalltalk
67
st
null
16.75
31
0.835821
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Groovy
2,814
groovy
1
35.175
84
0.646411
# FROM: https://github.com/elhigu/cmake-findopencl # Find OpenCL # # To set manually the paths, define these environment variables: # OpenCL_INCPATH - Include path (e.g. OpenCL_INCPATH=/opt/cuda/4.0/cuda/include) # OpenCL_LIBPATH - Library path (e.h. OpenCL_LIBPATH=/usr/lib64/nvidia) # # Once done this will defin...
CMake
6,207
cmake
4
37.167665
155
0.765748
package org.meadowhawk.identicon.util import groovy.xml.MarkupBuilder import org.meadowhawk.identicon.pattern.RenderPattern import java.awt.Color class SVGBuilder { static createSvg(File outputFile, int width, int height, Closure content) { def writer = new StringWriter() def markupBuilder = new ...
Groovy
3,032
groovy
1
39.376623
187
0.592018
<?php namespace Database\Seeders; use App\Models\Buku; use Illuminate\Database\Seeder; class BukuSeeder extends Seeder { public function run() { (new Buku([ 'kode' => 'B0001', 'judul' => 'Ten Years Challenge', 'jml_halaman' => 178, 'isbn' => '10299293',...
PHP
1,817
php
null
29.306452
75
0.433682
# This file must be used with "source bin/activate.csh" *from csh*. # You cannot run it directly. # Created by Davide Di Blasi <davidedb@gmail.com>. alias deactivate 'test $?_OLD_VIRTUAL_PATH != 0 && setenv PATH "$_OLD_VIRTUAL_PATH" && unset _OLD_VIRTUAL_PATH; rehash; test $?_OLD_VIRTUAL_PROMPT != 0 && set prompt="$_O...
Tcsh
1,052
csh
null
28.432432
312
0.730038
lexer grammar ImportedLexerGrammar; ID8 : [a-zA-Z]+ ;
ANTLR
54
g4
1
18
35
0.722222
Map<String, dynamic> _removeNull(Map<String, dynamic> data) { var data2 = <String, dynamic>{}; data.forEach((s, d) { if (d != null) data2[s] = d; }); return data2; } ///NATS Server Info class Info { /// sever id String? serverId; /// server name String? serverName; /// server version String?...
Dart
3,184
dart
24
19.533742
114
0.597048
-- functional.lua: (pseudo-)functional stuff -- This file is a part of lua-nucleo library -- Copyright (c) lua-nucleo authors (see file `COPYRIGHT` for the license) local assert, unpack, select = assert, unpack, select local table_remove = table.remove local assert_is_number, assert_is_function = import '...
Lua
2,004
lua
1
19.841584
74
0.613273
{ "id": "85d667a0-11d6-4624-b3da-beb18924ccd1", "modelName": "GMSprite", "mvc": "1.12", "name": "spr_shinmegamitenseitext", "For3D": false, "HTile": false, "VTile": false, "bbox_bottom": 9, "bbox_left": 0, "bbox_right": 8, "bbox_top": 0, "bboxmode": 0, "colkind": 1, ...
Yacc
79,822
yy
null
40.232863
70
0.447208
package uk.co.littlemike.gradle.webapp.version import org.gradle.api.Plugin import org.gradle.api.Project class WebappVersionPlugin implements Plugin<Project> { private static final String FILENAME = 'version.json'; @Override void apply(Project project) { File fileLocation = new File(project.buil...
Groovy
1,065
groovy
null
29.583333
73
0.625352
#lang scribble/manual @(require "lib.rkt") @title[#:version reach-vers #:tag "guide" #:style 'toc]{Guide} These guides discuss some key ideas and concepts used through Reach. They aim to teach the "Why" of aspects of some Reach features and discuss the many alternatives available to @|DApp| developers. Indeed, many o...
Racket
1,248
scrbl
null
39
128
0.772436
%%% -*-mode:erlang;coding:utf-8;tab-width:4;c-basic-offset:4;indent-tabs-mode:()-*- %%% ex: set ft=erlang fenc=utf-8 sts=4 ts=4 sw=4 et: %%% %%% Copyright 2015 Panagiotis Papadomitsos. All Rights Reserved. %%% Copyright 2021 Miniclip. All Rights Reserved. %%% %%% Original concept inspired and some code copied from %%% ...
Erlang
24,476
erl
null
48.086444
148
0.610598
#!/bin/csh -f # ======================= ICONv5.3.X Run Script ======================== # Usage: run.icon.csh >&! icon.log & # # To report problems or request help with this script/program: # http://www.cmascenter.org # ============================================...
Tcsh
5,071
csh
203
42.258333
108
0.546243
<?php namespace App\Http\Controllers\admin\settings\rbac; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Spatie\Permission\Models\Permission; use App\Http\Requests\StorePermission; use App\Http\Requests\UpdatePermission; use Illuminate\Support\Facades\Auth; use JavaScript; class PermissionCont...
PHP
4,753
php
null
29.159509
214
0.544288
Imports System.Reflection Imports System.Runtime.InteropServices ' General Information about an assembly is controlled through the following ' set of attributes. Change these attribute values to modify the information ' associated with an assembly. ' Review the values of the assembly attributes <Assembly: ...
Visual Basic
1,028
vb
null
32.125
84
0.722763
{ "id": "afc695cc-8eae-4388-8c24-34c8bf2fcb13", "modelName": "GMFolder", "mvc": "1.1", "name": "afc695cc-8eae-4388-8c24-34c8bf2fcb13", "children": [ "48f39aaa-d355-4203-b873-eedfb6def1ad", "1d9735db-dc58-4ff5-8be5-4d1ef5b46015", "52547f19-1d17-47c0-9ccf-26846087669b", ...
Yacc
628
yy
1
33.052632
51
0.628981
import algebra.algebra.basic tactic.ring /- Mia LaRusso mnl6sc 12/08/21 Read, understand (collaborating if necessary) the material in chapter 17 of Jeremy Avigad's *Logic and Proof.* It's here: https://leanprover.github.io/logic_and_proof/the_natural_numbers_and_induction.html -/ /- The following problems are listed i...
Lean
3,485
lean
null
24.201389
83
0.608608
% % (c) The University of Glasgow 2005-2006 % \begin{code} -- | The dynamic linker for GHCi. -- -- This module deals with the top-level issues of dynamic linking, -- calling the object-code linker and the byte-code linker where -- necessary. {-# OPTIONS -fno-cse #-} -- -fno-cse is needed for GLOBAL_VAR's to behave pro...
Literate Haskell
50,621
lhs
1
40.464428
116
0.571877
package mindgo.items; import arc.func.Cons; import mindgo.logic.PlayerData; import mindustry.Vars; import mindustry.gen.Iconc; public class Item { public static final float MAX_DIST = Vars.tilesize * 20 * Vars.tilesize * 20; public String name; public char icon; public Cons<PlayerData> use; public...
Java
532
java
3
24.181818
81
0.671053
// #version 460 core layout (location=0) in vec2 uvs; layout (location=1) in vec3 barycoords; layout (location=2) in vec3 wpos_out; layout (location=0) out vec4 out_FragColor; layout (binding = 0) uniform sampler2D texture0; float edgeFactor(float thickness) { vec3 a3 = smoothstep( vec3( 0.0 ), fwidth(barycoords)...
GLSL
499
frag
399
21.695652
80
0.691383
FROM node:10-alpine EXPOSE 8889 ADD . /app WORKDIR /app RUN npm install CMD node server-nr.js
Dockerfile
99
null
1
8.25
21
0.727273
================================ Rule ``modernize_types_casting`` ================================ Replaces ``intval``, ``floatval``, ``doubleval``, ``strval`` and ``boolval`` function calls with according type casting operator. Warning ------- Using this rule is risky ~~~~~~~~~~~~~~~~~~~~~~~~ Risky if any of the f...
reStructuredText
1,127
rst
null
23
130
0.533274
defmodule AbsintheTestAppWeb.UserSocket do use Phoenix.Socket use Absinthe.Phoenix.Socket, schema: AbsintheTestAppWeb.Schema ## Channels # channel "room:*", AbsintheTestAppWeb.RoomChannel ## Transports transport :websocket, Phoenix.Transports.WebSocket # transport :longpoll, Phoenix.Transports.LongP...
Elixir
1,266
ex
null
31.65
90
0.71327
nqubits = 15; name = "15v2 2 3 1 1 3 1 1 1"; nstates = 4; amplitude[x_,y_] := (Exp[-14 I y] (1 (I Sin[x])^7 Cos[x]^8 + 1 (I Sin[x])^8 Cos[x]^7) + Exp[-12 I y] (8 (I Sin[x])^8 Cos[x]^7 + 8 (I Sin[x])^7 Cos[x]^8 + 4 (I Sin[x])^6 Cos[x]^9 + 4 (I Sin[x])^9 Cos[x]^6 + 2 (I Sin[x])^5 Cos[x]^10 + 2 (I Sin[x])^10 Cos[x]^5) + ...
Mathematica
9,679
nb
null
645.266667
4,616
0.500465
(defpackage #:hare-llvm (:use #:cl) (:local-nicknames (#:ast #:hare.ast) (#:type #:hare.type)) (:export #:llvm))
Common Lisp
119
lisp
3
23.8
60
0.579832
\begin{code} module AlgorithmicRed.Term where \end{code} ## Imports \begin{code} open import Function hiding (_∋_) open import Type open import Type.RenamingSubstitution open import Type.BetaNormal open import Type.BetaNBE open import Builtin open import Builtin.Signature Ctx⋆ Kind ∅ _,⋆_ * _∋⋆_ Z S _⊢Nf⋆_ (ne ...
Literate Agda
4,768
lagda
3
22.490566
74
0.481544
<?php $servername = "localhost"; $username = "root"; $password = ""; $dbname = "boligdata"; // Create connection $conn = new mysqli($servername, $username, $password, $dbname) or die(); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } ?>
PHP
306
php
null
21.857143
73
0.630719
\hypertarget{interfacefrc_1_1lib_1_1math_1_1Interpolable}{}\doxysection{frc.\+lib.\+math.\+Interpolable$<$ T $>$ Interface Template Reference} \label{interfacefrc_1_1lib_1_1math_1_1Interpolable}\index{frc.lib.math.Interpolable$<$ T $>$@{frc.lib.math.Interpolable$<$ T $>$}} Inheritance diagram for frc.\+lib.\+math.\+Int...
TeX
2,972
tex
1
56.075472
352
0.787349
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2015-2017, AdaCore -- -- -- -- ...
Ada
3,707
ads
2
60.770492
78
0.480712
((timestamp) @timestamp (#match? @timestamp "^\\<.*$")) @OrgTSTimestampActive ((timestamp) @timestamp_inactive (#match? @timestamp_inactive "^\\[.*$")) @OrgTSTimestampInactive ; ((markup) @markup_bold (#match? @markup_bold "^\\s*\\*.*\\*$")) @text.strong ; ((markup) @markup_italic (#match? @markup_italic "^\\s*\\/.*\\/...
Scheme
1,649
scm
null
56.862069
97
0.656155
# Scripts Pack - Tweak various preference variables in macOS # <Phorofor, https://github.com/Phorofor/> -- When enabled, files will bes style list view on the stack -- Highlight Grid Stack Files on mouseover -- Versions compatible: Mac OS X Leopard (10.5)+ -- Preference Identifier: com.apple.dock -- Preference Key: m...
AppleScript
2,937
applescript
1
42.565217
353
0.742935
Rails.application.routes.draw do root to: 'home#index' match '/404', to: 'errors#not_found', via: :all match '/500', to: 'errors#internal_server_error', via: :all resources :tasks, only: %i[index show] do collection do get :history end member do get :correct get :cancel_correctio...
Ruby
1,198
rb
1
26.622222
76
0.662771
on run argv tell document id (item 1 of argv) of application "Keynote" tell slide (item 2 of argv as number) set presenter notes to (item 3 of argv) end tell end tell end run
AppleScript
212
applescript
27
23.555556
62
0.622642
theory T57 imports Main begin lemma "( (\<forall> x::nat. \<forall> y::nat. meet(x, y) = meet(y, x)) & (\<forall> x::nat. \<forall> y::nat. join(x, y) = join(y, x)) & (\<forall> x::nat. \<forall> y::nat. \<forall> z::nat. meet(x, meet(y, z)) = meet(meet(x, y), z)) & (\<forall> x::nat. \<forall> y::nat. \<forall> z::nat...
Isabelle
1,905
thy
1
65.689655
108
0.533333
/* * Copyright 2013-2019, Centre for Genomic Regulation (CRG) * * 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 at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
Groovy
6,149
groovy
null
42.406897
227
0.60335
path = require("path") gulp = require("gulp") through = require("through2") typings_core = require("typings-core") install = (file, enc, cb) -> opts = {production: false, cwd: path.dirname(file.path)} typings_core.install(opts).then(() -> cb(null, file)) gulp.task "typings:install", () -> gulp.src("./typings.js...
CoffeeScript
359
coffee
1
27.615385
58
0.660167
// +build enterprise package kong import ( "path" "testing" "github.com/stretchr/testify/assert" ) func TestAdminService(T *testing.T) { runWhenEnterprise(T, ">=0.33.0", requiredFeatures{}) assert := assert.New(T) client, err := NewTestClient(nil, nil) assert.Nil(err) assert.NotNil(client) admin := &Admi...
Go
4,510
go
43
24.917127
102
0.703326
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
Thrift
2,142
thrift
2
28.184211
63
0.748366
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "./BPoolInterface.sol"; interface PowerIndexPoolInterface is BPoolInterface { function initialize( string calldata name, string calldata symbol, uint256 minWeightPerSecond, uint256 maxWeightPerSecond ) external; function bind( ...
Solidity
1,070
sol
62
21.4
79
0.731776
(* ========================================================================= *) (* Preterms and pretypes; typechecking; translation to types and terms. *) (* *) (* John Harrison, University of Cambridge Computer Laboratory *) ...
OCaml
19,782
ml
125
43.381579
79
0.456122
// -*- C++ -*- // // michael a.g. aïvázis <michael.aivazis@para-sim.com> // (c) 2013-2021 parasim inc // all rights reserved // // configuration #include <portinfo> // external #include <cmath> #include <stdexcept> #include <cuda_runtime.h> #include <pyre/journal.h> #include <gsl/gsl_matrix.h> // my declarations #inc...
C++
17,937
cc
6
30.979275
100
0.595306
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. Imports System.Collections.Generic Imports System.Collections.Immutable Imports System.Collections.ObjectModel Imports System.Globalization Imports System.Thr...
Visual Basic
53,736
vb
1
45.005025
225
0.620813
Function Clear-DellAdminPassword { <# .Synopsis Erases the Admin (Setup) BIOS password .Description This CmdLet clears the Admin password in BIOS. Provide the existing password using -Password parameter. .Example Clear-DellAdminPassword -Password <existing password> #> param( [Parame...
PowerShell
10,941
ps1
null
60.447514
108
0.910886
X, Y, TStamp, Pres., EndPts DataSize: 411 4518 20118 0 21 0 4518 20118 20 27 0 4518 20118 30 30 0 4518 20118 40 33 0 4518 20118 50 34 0 4468 20118 60 34 0 4468 19998 70 31 0 4518 19877 80 33 0 4568 19757 90 40 0 4617 19395 100 45 0 4716 19154 110 41 0 4816 18793 120 41 0 4865 18431 130 50 0 4965 17950 140 62 0 5163 173...
Standard ML
8,812
sig
null
21.285024
27
0.76532
-- | -- This module implements the desugaring pass which replaces patterns in let-in -- expressions with appropriate case expressions. -- module Language.PureScript.Sugar.LetPattern (desugarLetPatternModule) where import Prelude.Compat import Data.List (groupBy, concatMap) import Data.Function (on) import Language.P...
Haskell
1,936
hs
null
33.964912
103
0.698347
<?php use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; use App\Http\Controllers\BlogController; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register A...
PHP
858
php
null
37.304348
75
0.590909
namespace java com.rbkmoney.pstds.base namespace erlang pstds_base typedef i64 EventID typedef string Timestamp typedef string Token typedef string PaymentToken typedef string EnrollmentID typedef string PanAccountReference typedef i64 TokenRevision /** * Поддерживаемые платёжные системы **/ enum PaymentSystem { ...
Thrift
1,539
thrift
null
19
65
0.678363
/* * (c) Copyright 2019 EntIT Software LLC, a Micro Focus company, L.P. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License v2.0 which accompany this distribution. * * The Apache License is available at * http://www.apache.org/licenses/LICE...
Scala
8,592
scala
16
54.726115
187
0.714269
module Decidable.Equality import Data.Maybe import Data.Either import Data.Nat import Data.List %default total -------------------------------------------------------------------------------- -- Decidable equality -------------------------------------------------------------------------------- ||| Decision procedur...
Idris
7,419
idr
null
37.659898
80
0.425664
.pesquisar { border: 2px black solid; padding: 10px 50px; margin-bottom: 10px; } /* label color */ .input-field label { color: #000; } /* label focus color */ .input-field input[type=text]:focus + label { color: #000; } /* label underline focus color */ .input-field input[type=text]:focus { bor...
CSS
780
css
null
20.526316
45
0.634615
open HolKernel Parse; open toyBinaryTheory; open listSyntax; open bir_cfgLib; open bir_cfgVizLib; (* val _ = Parse.current_backend := PPBackEnd.vt100_terminal; val _ = set_trace "bir_inst_lifting.DEBUG_LEVEL" 1; *) (* toy_m0_program_THM aes_m0_program_THM aes_arm8_program_THM *) val liftertheorem = toy_m0_progra...
Standard ML
2,511
sml
null
25.11
154
0.679012
build: go build install: go install
Makefile
39
null
21
6.5
11
0.717949
Sort transpose and merge two tables packaged in a single datastep Two Solutions 1. Classic sort transpose and then merge 2, DOSUBL to get size of array and sort then merge in the same daatstep SAS Forum https://tinyurl.com/y4w35bh9 https://communities.sas.com/t5/SAS-Programming/Merge-two-tables-and-cre...
SAS
3,966
sas
null
24.943396
119
0.455119
grammar column_definitions; import mysql_literal_tokens, mysql_idents; column_definition: col_name=name data_type ; col_position: FIRST | (AFTER id); data_type: generic_type | signed_type | string_type | enumerated_type ; // all from http://dev.mysql.com/doc/refman/5.1/en/create-table.html generic_ty...
ANTLR
2,248
g4
null
25.83908
108
0.673488
// This file was auto-generated by Protomak. Do not edit! package multiple_single_elements.eu.jemos.www; message BooleanElement { required bool booleanElement = 2; } message IntElement { required sfixed_32 intElement = 1; }
Protocol Buffer
244
proto
2
17.428571
58
0.72541
At: "after-01.hac":7: parse error: syntax error parser stacks: state value #STATE# (null) #STATE# (process-prototype) [4:1..20] #STATE# { [4:22] #STATE# list<(def-body-item)>: (instance-decl) ... [5:1..9] #STATE# keyword: prs [6:1..3] #STATE# (null) #STATE# { [6:5] #STATE# (prs-literal) [7:1..5] #STATE# int: 12 [7:7]...
Bison
501
bison
null
25.05
64
0.662675
REM This file runs tests for merges, PRs, and nightlies. REM There are a few rules for what tests are run: REM * PRs run all non-acceptance tests for every library, against all rubies. REM * Merges run all non-acceptance tests for every library, and acceptance tests for all altered libraries, against all rubies. REM ...
Batchfile
1,589
bat
null
49.65625
132
0.733795
program Game2048 call main() stop end subroutine init_num() integer*8 :: ZF0F00F0F integer*8 :: ZFF00FF00 integer*8 :: t8_1, t8_2 integer*8 :: ROW_MASK, COL_MASK common /MASK_NUM/ ROW_MASK, COL_MASK integer*2 :: Z000F, Z00F0, Z0F00 ...
FORTRAN
13,400
f
2
30.044843
72
0.525
package offGridOrcs final case class Plan(preconditions: Seq[Precondition], steps: Seq[Step]) { def head = steps.head def tail = this.copy(steps = steps.tail) def isEmpty = steps.isEmpty } object Plan { val Zero = Plan(Seq(), Seq()) }
Scala
245
scala
5
20.416667
75
0.693878
<?php /* * This file is part of Twig. * * (c) Fabien Potencier * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ use Twig\Environment; use Twig\Loader\ArrayLoader; class Twig_Tests_NativeExtensionTest extends \PHPUnit\Framework\Te...
PHP
976
php
133
24.4
93
0.569672
# Design set ::env(DESIGN_NAME) "spm" set ::env(VERILOG_FILES) [glob ./designs/spm/src/*.v] set ::env(CLOCK_PERIOD) "10.000" set ::env(CLOCK_PORT) "clk" set ::env(CELL_PAD) 4 set ::env(FP_PIN_ORDER_CFG) $::env(OPENLANE_ROOT)/designs/spm/pin_order.cfg set filename ./designs/$::env(DESIGN_NAME)/$::env(PDK)_$::env(STD...
Tcl
403
tcl
null
25.1875
90
0.702233
<?xml version="1.0"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "...
XSLT
4,131
xsl
6
35.008475
109
0.600339
const macho = @import("../macho.zig"); extern "c" fn __error() *c_int; pub extern "c" fn _NSGetExecutablePath(buf: [*]u8, bufsize: *u32) c_int; pub extern "c" fn _dyld_get_image_header(image_index: u32) ?*mach_header; pub extern "c" fn __getdirentries64(fd: c_int, buf_ptr: [*]u8, buf_len: usize, basep: *i64) usize; ...
Zig
6,405
zig
2
29.380734
129
0.684465
set READ_SCALE_FACTOR 1 set OCHAN_SCALE_FACTOR 64 set PRODUCTS_PART_FACTOR 1 set l2_mult_unroll 8 set UNROLL_ADJUST_LOOP False
Tcl
132
tcl
1
22
28
0.848485
//****************************************************************************************************** // DataCellCollection.cs - Gbtc // // Copyright © 2012, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See ...
C#
3,142
cs
1
38.317073
149
0.565245
/** * Copyright (c) Kolo Naukowe Elektronikow, Akademia Gorniczo-Hutnicza im. Stanislawa Staszica w Krakowie 2020 * Authors: Arkadiusz Balys, Kamil Kasperczyk, Witold Lukasik * * HALina adc driver * */ #pragma once #include <gsl/gsl> namespace halina { class ADC { public: virtual void init() =...
C++
378
hpp
2
17.181818
110
0.65873
#!/usr/bin/osascript set cmd to quoted form of "pwd"
AppleScript
53
applescript
1
17.666667
31
0.716981
open main pred idEEaKo6QMrMj5PkgMC_prop6 { all f : File | always (f in Trash implies always f in Trash) } pred __repair { idEEaKo6QMrMj5PkgMC_prop6 } check __repair { idEEaKo6QMrMj5PkgMC_prop6 <=> prop6o }
Alloy
207
als
null
34.5
62
0.777778
-- Copyright (c) 2015-2019 Marcel Schneider -- for details see License.txt with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Ada.Containers.Hashed_Maps; use Ada.Containers; with Tokens; use Tokens; package body Punctuation is procedure Initialize (O : in out Object) is begin -- Punctuators ...
Ada
7,477
adb
null
60.788618
92
0.71847
%% @author Marc Worrell <marc@worrell.nl> %% @copyright 2009-2015 Marc Worrell %% @doc Module supervisor. Uses a z_supervisor. Starts/restarts module processes. %% Copyright 2009-2015 Marc Worrell %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance ...
Erlang
34,485
erl
null
38.316667
148
0.589387
// DNS RDATA understanding (parsing etc) const std = @import("std"); const io = std.io; const fmt = std.fmt; const dns = @import("../dns.zig"); const InError = io.SliceInStream.Error; const OutError = io.SliceOutStream.Error; const Type = dns.Type; pub const SOAData = struct { mname: dns.Name, rname: dns.Name...
Zig
7,231
zig
26
29.040161
109
0.510718
# $Id: ldappick.tcl 1204 2009-02-02 19:54:23Z hubert@u.washington.edu $ # ======================================================================== # Copyright 2006 University of Washington # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the Licen...
Tcl
2,239
tcl
23
29.077922
169
0.603394
{-# OPTIONS --without-K --safe #-} -- Singleton type and its 'inverse' module Singleton where open import Data.Unit using (⊤; tt) open import Data.Sum open import Data.Product open import Relation.Binary.PropositionalEquality using (_≡_; refl; sym; trans; subst; cong ; cong₂ ; inspect ; [_]) -- open import Level -...
Agda
9,825
agda
14
30.799373
151
0.437557
//! Renderer for patterns. use hir::{db::HirDatabase, HasAttrs, Name, StructKind}; use ide_db::SnippetCap; use itertools::Itertools; use syntax::SmolStr; use crate::{ context::{ParamKind, PathCompletionCtx, PatternContext}, render::{variant::visible_fields, RenderContext}, CompletionItem, CompletionItemKi...
Rust
5,062
rs
null
29.602339
115
0.553734
/********************************************************************** * Definition of the CPU driver class * * Author: Chris Spear * Revision: 1.01 * Last modified: 8/2/2011 * * (c) Copyright 2008-2011, Chris Spear, Greg Tumbush. *** ALL RIGHTS RESERVED *** * http://chris.spear.net * * This source file may...
SystemVerilog
2,950
sv
1
25.431034
84
0.617966
/* Day 15: Chiton The 2d square grid represents a risk level due to the walls being covered with Chitons. You can move from one grid to the next up, down, left, or right (not diagonal). For the total cost in risk starting at 0,0 (the start space risk doesn't count), and ending in the botton right corner of the grid if...
Rust
5,717
rs
null
31.412088
100
0.583523
const std = @import("std"); const Options = @import("../../build.zig").Options; const content_dir = "directml_convolution_test_content/"; pub fn build(b: *std.build.Builder, options: Options) *std.build.LibExeObjStep { const exe_options = b.addOptions(); exe_options.addOption(bool, "enable_pix", options.enabl...
Zig
6,107
zig
null
32.312169
115
0.587031
// Copyright 2012 Cloudera Inc. // // 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 at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wr...
Thrift
3,150
thrift
null
39.375
83
0.75873