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 |
|---|---|---|---|---|---|---|---|
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO eyalz800/zpp_bits
REF v.4.4.4
SHA512 172300f1547b985702698d7f10ac5bd804421226a8c20b26b60608aaa10bf4f9682fd1a3e49e75c309c9cb30b888f623aa5eb7ace5705d85601a2c67c8829b3f
HEAD_REF master
)
file(INSTALL "${SOURCE_PATH}/zpp_bits.h" DESTINATION "$... | CMake | 465 | cmake | 5,585 | 38.75 | 140 | 0.797849 |
defmodule Default do
def go(x \\ 42_000), do: x
def gogo(a, x \\ 666_000, y \\ 1_000), do: a + x + y
end
| Elixir | 110 | ex | 16 | 18.333333 | 54 | 0.572727 |
lexer grammar LGFileLexer;
@parser::header {#pragma warning disable 3021} // Disable StyleCop warning CS3021 re CLSCompliant attribute in generated files.
@lexer::header {#pragma warning disable 3021} // Disable StyleCop warning CS3021 re CLSCompliant attribute in generated files.
@lexer::members {
bool startTempla... | ANTLR | 1,241 | g4 | null | 34.472222 | 138 | 0.618856 |
5 13 16 39 5 1 19 27 22 4 14 4 36 49 32 2 17 16 22 4 2 40 47 24 25 4 14 29 29 9 21 6 50 34 12 42 14 45 8 27 48 17 47 24 48 25 50 36 13 19 1 1 13 7 27 16 14 24 28 5 48 42 7 40 50 35 6 40 39 8 13 38 4 2 12 12 34 9 50 47 20 30 25 12 12 12 24 39 9 45 34 39 16 48 13 17 16 16 33 34
27 42 19 21 5 23 13 44 12 11 31 24 15 47 2 ... | Matlab | 24,197 | matlab | null | 214.132743 | 287 | 0.511923 |
/******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2016-2019 Baldur Karlsson
*
* 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... | C | 36,366 | h | 1 | 29.638142 | 101 | 0.657592 |
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Author: www.devtreks.org, 2013, December -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:y0="urn:DevTreks-support-schemas:Output"
xmlns:DisplayDevPacks="urn:displaydevpacks">
<xsl:output method="xml" indent="yes" omit-xml-declara... | XSLT | 9,452 | xslt | null | 39.714286 | 149 | 0.5803 |
********************************************************************************
*! combreg, v4, GCerulli, 12/10/2018
********************************************************************************
program combreg, eclass
version 14
#delimit ;
syntax varlist [if] [in] [fweight pweight iweight] ,
model(string)
s(n... | Stata | 8,140 | ado | 1 | 34.201681 | 119 | 0.36683 |
(define (make-vect x y)
(cons x y))
(define (xcor-vect v)
(car v))
(define (ycor-vect v)
(cdr v))
(define (add-vect v1 v2)
(cons (+ (xcor-vect v1) (xcor-vect v2))
(+ (ycor-vect v1) (ycor-vect v2))))
(define (sub-vect v1 v2)
(cons (- (xcor-vect v1) (xcor-vect v2))
(- (ycor-vect v1) (ycor-ve... | Scheme | 415 | scm | null | 18.863636 | 43 | 0.537349 |
/-
Copyright (c) 2021 Anne Baanen. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Anne Baanen
-/
import data.polynomial.degree.card_pow_degree
import field_theory.finite.basic
import number_theory.class_number.admissible_absolute_value
/-!
# Admissible absolute values... | Lean | 13,364 | lean | null | 49.680297 | 98 | 0.657662 |
; A182769: Beatty sequence for (4 + sqrt(2))/2.
; 2,5,8,10,13,16,18,21,24,27,29,32,35,37,40,43,46,48,51,54,56,59,62,64,67,70,73,75,78,81,83,86,89,92,94,97,100,102,105,108,110,113,116,119,121,124,127,129,132,135,138,140,143,146,148,151,154,157,159,162,165,167,170,173,175,178,181,184,186,189,192,194,197,200,203,205,208,2... | Assembly | 1,248 | asm | 1 | 44.571429 | 962 | 0.685897 |
/-
Copyright (c) 2017 Johannes Hölzl. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Johannes Hölzl, Scott Morrison
-/
import algebra.group.pi
import algebra.big_operators.order
import algebra.module.basic
import algebra.module.pi
import group_theory.submonoid.basic
im... | Lean | 81,233 | lean | 1 | 37.331342 | 100 | 0.635788 |
%%
%% %CopyrightBegin%
%%
%% Copyright Ericsson AB 2005-2012. All Rights Reserved.
%%
%% 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
%%
... | Erlang | 6,294 | erl | 1 | 25.585366 | 75 | 0.563394 |
#lang scribble/doc
@(require scribble/manual scribble/eval "guide-utils.rkt"
(for-label racket/undefined
racket/shared))
@; @title[#:tag "void+undefined"]{Void and Undefined}
@title[#:tag "void+undefined"]{void 与 undefined}
@; Some procedures or expression forms have no need for a resu... | Racket | 1,926 | scrbl | 4 | 32.644068 | 76 | 0.727934 |
# Copyright 2019 Google LLC
#
# 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 writing, s... | Elixir | 1,337 | ex | 1 | 31.833333 | 97 | 0.775617 |
.botvs-login {
/*background-color: #1F2325;*/
/*background-image: url(https://gw.alicdn.com/tfs/TB1ittHRFXXXXcSXFXXXXXXXXXX-2880-1280.jpg);*/
/*background-size: cover;*/
/*margin: 0;*/
/*padding-bottom: 10px;*/
margin-bottom: 60px;
margin-top: 108px;
}
.botvs-md-card-content {
padding: ... | CSS | 5,443 | css | 1 | 20.854406 | 131 | 0.631821 |
module rand_gen (input clk_ev,
output int data,
output bit select);
//int data2;
// data2 may assume values 3 and 5 only
bit r;
assign select = r;
let data2 = r ? 3'd3 : 3'd5;
ap_data: assume property (@ (clk_ev)
data > 100 && data < 500);
endmodule : rand_gen
module ... | SystemVerilog | 568 | sv | 8 | 24.695652 | 60 | 0.582746 |
import '../flute.dart';
/// The implementation of [Flute].
///
/// We use it as a private class because it is not optimal to have multiple
/// Flute classes.
class _Flute with FluteFunctions {}
/// The root of [Flute] library's utilities.
///
/// This class has shortcuts for routing, small utilities of context like
/... | Dart | 471 | dart | null | 31.4 | 79 | 0.730361 |
\subsection{Bcc.BM.Data.Tracer}
\label{code:Bcc.BM.Data.Tracer}
%if style == newcode
\begin{code}
{-# LANGUAGE DefaultSignatures #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE InstanceSigs #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE ScopedTypeVa... | Literate Haskell | 20,403 | lhs | null | 36.111504 | 106 | 0.681762 |
(defproject xmlfmt-clj "0.1.0-alpha.2"
:description "xmlfmt-clj"
:dependencies [[org.clojure/clojure "1.10.0"]]
:plugins [[lein-ancient "0.6.14"]
[lein-ring "0.9.7"]
[lein-try "0.4.3"]
[test2junit "1.2.2"]]
:main xmlfmt-clj.main
:scm {:name "git"
:url "https://gith... | Clojure | 592 | clj | 1 | 39.466667 | 86 | 0.521959 |
module test.StringLiteral where
open import Type
open import Declarative
open import Builtin
open import Builtin.Constant.Type
open import Builtin.Constant.Term Ctx⋆ Kind * # _⊢⋆_ con size⋆
-- zerepoch/zerepoch-core/test/data/stringLiteral.plc
postulate str1 : ByteString
{-# FOREIGN GHC import qualified Data.ByteStr... | Agda | 717 | agda | null | 25.607143 | 64 | 0.76569 |
********************
API Reference Manual
********************
To learn how to use HoloViews, we recommend that people start with the
`Getting Started guide`_, and then use the online help features from within
IPython Notebook to learn more. Each option should have corresponding
tab-completion and help provided, and ... | reStructuredText | 3,072 | rst | 864 | 33.758242 | 80 | 0.776367 |
comparing
= aPreprocessorDefine
super = aPreprocessorDefine ifFalse: [ ^ false ].
name = aPreprocessorDefine name ifFalse: [ ^ false ].
value = aPreprocessorDefine value ifFalse: [ ^ false ].
^ true | Smalltalk | 203 | st | 1 | 29 | 56 | 0.729064 |
/**
* Copyright (C) 2014 TU Berlin (peel@dima.tu-berlin.de)
*
* 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... | Scala | 8,115 | scala | 13 | 49.481707 | 173 | 0.635367 |
<?xml version="1.0" encoding="UTF-8"?>
<language namespace="org.modelix.model.runtimelang" uuid="b6980ebd-f01d-459d-a952-38740f6313b4" languageVersion="0" moduleVersion="0">
<models>
<modelRoot contentPath="${module}" type="default">
<sourceRoot location="models" />
</modelRoot>
</models>
<facets>
... | Maple | 8,102 | mpl | null | 76.433962 | 134 | 0.728092 |
#!/bin/sh
# script for execution of deployed applications
#
# Sets up the MATLAB Runtime environment for the current $ARCH and executes
# the specified command.
#
exe_name=$0
exe_dir=`dirname "$0"`
echo "------------------------------------------"
if [ "x$1" = "x" ]; then
echo Usage:
echo $0 \<deployedMCRroot\>... | Shell | 880 | sh | 3 | 25.882353 | 76 | 0.647727 |
/**
* Copyright 2013 BancVue, LTD
*
* 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 t... | Groovy | 3,687 | groovy | null | 30.983193 | 138 | 0.761866 |
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.11;
pragma experimental ABIEncoderV2;
import "deps/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";
import "deps/@openzeppelin/contracts-upgradeable/math/SafeMathUpgradeable.sol";
import "deps/@openzeppelin/contracts-upgradeable/utils/Address... | Solidity | 6,464 | sol | null | 35.516484 | 128 | 0.678373 |
1009
1010
2009
3110
4107
1109
4300
1110
4300
0000
0000
| Standard ML | 55 | sml | null | 4.583333 | 4 | 0.8 |
// Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
class entropy_src_rng_test extends entropy_src_base_test;
`uvm_component_utils(entropy_src_rng_test)
`uvm_component_new
function void configure_env();
super.... | SystemVerilog | 561 | sv | 1 | 29.526316 | 75 | 0.771836 |
DOM Helpers
===========
#### Helper functions for the HTML Document Object Model
#### `$()`
Xx.
$ = document.querySelector.bind document
#### `$$()`
Xx.
$$ = document.querySelectorAll.bind document
#### `vpSize()`
Returns an array with two elements, the viewport width and the viewport height.
Ba... | Literate CoffeeScript | 712 | litcoffee | null | 17.365854 | 80 | 0.617978 |
from django.apps import AppConfig
class GenericConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'generic'
def ready(self) -> None:
from generic import signals
return super().ready()
| Python | 243 | py | 3 | 22.090909 | 56 | 0.687243 |
// @flow
const { Parser } = require('htmlparser2');
const {
elementOpen,
elementClose,
text,
patch,
} = require('incremental-dom');
const idomParser = new Parser({
onopentag: (name, attrs) => {
const listStatics = Object.keys(attrs)
.reduce((statics, k) => statics.concat([k, attrs[k]]), []);
el... | JavaScript | 782 | js | 2 | 20.051282 | 69 | 0.627877 |
open main
pred idjCdcSrxTsH6w5gHCj_prop10 {
always (all f : Protected | always f in Protected)
}
pred __repair { idjCdcSrxTsH6w5gHCj_prop10 }
check __repair { idjCdcSrxTsH6w5gHCj_prop10 <=> prop10o } | Alloy | 201 | als | null | 33.5 | 57 | 0.791045 |
syntax = "proto3";
package roadmunk;
message FeedbackUpdatedMessage {
string feedback_id = 1;
string feedback_owner_id = 2;
bool new_is_processed = 3;
string new_product_area_id = 4;
string product_area_name = 5;
string customer_id = 6;
string customer_name = 7;
string user_id ... | Protocol Buffer | 438 | proto | 1 | 25.764706 | 33 | 0.634703 |
{-
This file proves a variety of basic results about paths:
- refl, sym, cong and composition of paths. This is used to set up
equational reasoning.
- Transport, subst and functional extensionality
- J and its computation rule (up to a path)
- Σ-types and contractibility of singletons
- Converting PathP to and ... | Agda | 8,147 | agda | null | 30.513109 | 115 | 0.465202 |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | Thrift | 656 | thrift | 2,112 | 32.8 | 75 | 0.727134 |
--Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--This program is free software; you can redistribute
--it and/or modify it under the terms of the GNU Lesser
--General Public License as published by the Free Software
--Foundation; either version 2 of the License,
--or (at your option) any later versio... | Lua | 2,276 | lua | 18 | 46.44898 | 145 | 0.790861 |
module Traversal.TrieSpec where
import Test.Hspec
import Checks
import qualified Traversal.Trie
spec :: Spec
spec = parallel $ genericSpec Traversal.Trie.solver 2
| Haskell | 165 | hs | 1 | 18.333333 | 53 | 0.812121 |
// (c) Copyright 1995-2021 Xilinx, Inc. All rights reserved.
//
// This file contains confidential and proprietary information
// of Xilinx, Inc. and is protected under U.S. and
// international copyright and other intellectual property
// laws.
//
// DISCLAIMER
// This disclaimer is not a license and does not grant ... | SystemVerilog | 17,520 | sv | null | 40.183486 | 529 | 0.740925 |
-- For help, bug reports, or feature suggestions, please visit https://github.com/samschloegel/qlab-scripts
-- Built for QLab 4. v211121-01
set userNumPrefix to "y"
set userNamePrefix to "Yamaha Scene"
set userColor to "Purple"
tell application id "com.figure53.QLab.4" to tell front workspace
try
set userInput to ... | AppleScript | 1,027 | applescript | 8 | 39.5 | 117 | 0.742941 |
#' Select sample data variables and add them to the count tables.
#'
#' This function selects specified columns from the sample data of a phyloseq object
#' and iteratively merges each count table with the specified sample data columns.
#' Merging occurs using the row.names.
#'
#' @param sample_data_names a vector of ... | R | 6,105 | r | 1 | 41.815068 | 93 | 0.731859 |
package slick.jdbc
import java.sql.PreparedStatement
import slick.dbio.Effect
import slick.sql.SqlStreamingAction
import scala.collection.mutable.ArrayBuffer
class ActionBasedSQLInterpolation(val s: StringContext) extends AnyVal {
/** Build a SQLActionBuilder via string interpolation */
def sql(params: TypedPar... | Scala | 2,591 | scala | null | 37.014286 | 105 | 0.675029 |
package org.sailcbi.Core
import monix.execution.Scheduler.Implicits.global
import org.sailcbi.VNode.SnabbdomFacade.{VNode, patch, toVNode}
import org.sailcbi.VNode.div
import org.scalajs.dom.document
import scala.scalajs.js
import scala.scalajs.js.annotation.JSGlobalScope
object Main {
@js.native
class Target ... | Scala | 2,104 | scala | null | 30.941176 | 100 | 0.68346 |
module Language.LSP.Message.Progress
import Language.JSON
import Language.LSP.Message.Derive
import Language.LSP.Message.Utils
import Language.Reflection
%language ElabReflection
%default total
||| Refer to https://microsoft.github.io/language-server-protocol/specification.html#progress
public export
ProgressToken :... | Idris | 2,345 | idr | 85 | 37.822581 | 112 | 0.823028 |
using System;
using System.Collections.Generic;
using System.Data;
//using System.DirectoryServices;
using System.Net.Mail;
using System.Text;
using VNC;
using VNCAssemblyViewer.Data;
//using SQLInformation.Data;
namespace VNCAssemblyViewer.Helpers
{
public class Email
{
private static int CLASS_BASE... | C# | 2,362 | cs | 3 | 29.898734 | 131 | 0.527519 |
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2002, 2017 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
namespace java com.sleepycat.thrift
/* Protocol version. */
const string PROTOCOL_VERSION = "1.1.0";
/***************************
* Data Type Definitions ... | Thrift | 32,374 | thrift | null | 27.273799 | 84 | 0.647032 |
module Test_auditdconf =
let empty = Auditdconf.empty
let entry = Auditdconf.entry
let lns = Auditdconf.lns
test empty get "\n" = {}
test entry get "\n" = *
test lns get "#
# This file controls the configuration of the audit daemon
#
log_file = /var/log/audit/audit.log
log_format = RAW
log_gro... | Augeas | 766 | aug | 1 | 21.885714 | 77 | 0.604439 |
#!/usr/bin/env bash
source config.sh
rm ${COOKIE}
rm ${TOKEN_JSON}
rm ${EDITTOKEN_JSON}
| Shell | 89 | sh | null | 12.714286 | 20 | 0.707865 |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2010-2017 BusinessCode GmbH, Germany
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
Un... | XSLT | 3,058 | xslt | null | 41.890411 | 129 | 0.707325 |
x cd "P:\Project 3393 - CV risk prediction score for use in patients prescribed macrolide antibiotics";
ods html body = "output/buildCovariatesClinical.html" style = Statistical;
ods rtf body = "output/buildCovariatesClinical.rtf" style = Statistical;
libname lib "data/processed";
proc sql;
create table ... | SAS | 5,212 | sas | null | 35.216216 | 104 | 0.554106 |
(title "rhizome/pi")
(tagline "R^5RS interpreter and Scheme->C compiler")
(homepage-url "http://www.kt.rim.or.jp/~qfwfq/index-e.html")
(homepage-url "http://www.kt.rim.or.jp/~qfwfq/")
(homepage-url "http://www.kt.rim.or.jp/~qfwfq/packages/")
(repology "rhizome-pi-scheme")
(country "JP")
| Scheme | 290 | scm | 10 | 29 | 60 | 0.689655 |
<?php
include 'plantilla.php';
require 'conexion.php';
$query = "SELECT r.id as id, r.descripccion as desr, e.descripccion as dese
FROM roles r , estados e
where r.estado=e.id order by desr asc";
$resultado = $mysqli->query($query);
$pdf = new PDF();
$pdf->AliasNbPages();
$pdf->AddPage();
//texto
$pdf->... | PHP | 873 | php | null | 24.942857 | 76 | 0.580756 |
#include "cuda_sort.h"
#include <cstdint>
#include <iostream>
#include "../modern_gpu/include/kernels_ext/segmentedsort_ext.cuh"
namespace Mochimazui {
void cuda_seg_sort_int_by_int(int* key,int* data,int n,int* segs,int nsegs){
mgpu_ext::SegSortPairsFromIndices(key, data, n, segs,nsegs);
}
}
| Cuda | 305 | cu | 25 | 17.941176 | 77 | 0.747541 |
1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -84.00
-1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -59.00
1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -54.00
-1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -62.00
1.00 -1.00 0.00 0.00 0.00 ... | Matlab | 98,770 | matlab | null | 48.679152 | 73 | 0.587537 |
--------------------------------
-- @module MotionFactory
-- @extend Ref
-- @parent_module cc
--------------------------------
--
-- @function [parent=#MotionFactory] getProperty
-- @param self
-- @param #string propName
-- @return Value#Value ret (return value: cc.Value)
---------------------... | Lua | 1,846 | lua | 34 | 28.84375 | 77 | 0.547671 |
#lang scribble/manual
@require[@for-label[racket
polyglot
[except-in markdown xexpr->string]
unlike-assets]
"../macros.rkt"]
@title[#:tag "functional-workflow"]{The Functional Workflow}
In the functional workflow, each application element can provid... | Racket | 5,190 | scrbl | 89 | 34.6 | 150 | 0.647784 |
%%% -*- Mode: Prolog; -*-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% $Date: 2011-11-28 14:41:26 +0100 (Mon, 28 Nov 2011) $
% $Revision: 6764 $
%
% This file is part of ProbLog
% http://dtai.cs.kuleuven.be/problog
%
% ProbLog was developed at Katholieke Universiteit Leuven
% ... | Prolog | 18,027 | yap | 90 | 39.104121 | 125 | 0.703445 |
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE PatternSynonyms #-}
-- |
-- Module : Jikka.RestrictedPython.Convert.ParseMain
-- Description : analyze @main@ function into input formats. / @main@ 関数を分析して入力フォーマットを得ます。
-- Copyright : (c) Kimiyuki Onaka, 2021
-- License : Apache Lice... | Haskell | 10,782 | hs | null | 47.707965 | 229 | 0.627806 |
/*******************************************************************************
* This file is owned and controlled by Xilinx and must be used solely *
* for design, simulation, implementation and creation of design files *
* limited to Xilinx devices or technologies. Use with non-Xilinx ... | Verilog | 4,674 | veo | 8 | 57.703704 | 80 | 0.548567 |
import {
Entity,
Column,
PrimaryGeneratedColumn,
CreateDateColumn,
UpdateDateColumn,
ManyToOne,
JoinColumn,
} from 'typeorm';
import User from '@modules/Users/infra/typeorm/entities/Users';
@Entity('appointments')
class Appointment {
@PrimaryGeneratedColumn('uuid')
id: string;
@Column()
provider... | TypeScript | 697 | ts | 4 | 16.595238 | 63 | 0.685796 |
@charset "UTF-8";
/*!
* Bootstrap Reboot v4.1.3 (https://getbootstrap.com/)
* Copyright 2011-2018 The Bootstrap Authors
* Copyright 2011-2018 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.cs... | CSS | 244,731 | css | null | 25.410757 | 273 | 0.628286 |
part of '../ast.dart';
/// A "CREATE TABLE" statement, see https://www.sqlite.org/lang_createtable.html
/// for the individual components.
class CreateTableStatement extends Statement
with SchemaStatement
implements PartOfMoorFile {
final bool ifNotExists;
final String tableName;
final List<ColumnDefinit... | Dart | 1,376 | dart | null | 31.272727 | 80 | 0.721657 |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- --
-- ... | Ada | 13,192 | ads | 2 | 38.686217 | 79 | 0.630988 |
(************************************************************************)
(* * The Coq Proof Assistant / The Coq Development Team *)
(* v * INRIA, CNRS and contributors - Copyright 1999-2018 *)
(* <O___,, * (see CREDITS file for the list of authors) *)
(* \VV/ *********... | OCaml | 1,473 | ml | 7 | 33.477273 | 74 | 0.477936 |
const std = @import("std");
const c = @import("../c.zig");
const gui = @import("../gui.zig");
pub const Color = struct {
const Self = @This();
r: f32,
g: f32,
b: f32,
fn encode(self: Self, buf: *std.ArrayList(c.vec4)) !void {
try buf.append(.{ .x = self.r, .y = self.g, .z = self.b, .w = ... | Zig | 7,762 | zig | null | 28.123188 | 87 | 0.437387 |
interface ModIfc;
method Action foo();
method Action bar();
endinterface
(* synthesize *)
module sysWrongArgType2 #((* port="INC" *) parameter UInt#(4) n)
(Clock clk2, ModIfc ifc);
Reg#(UInt#(4)) r1 <- mkReg(0);
Reg#(UInt#(4)) r2 <- mkReg(1, clocked_by clk2, reset_by noReset);
metho... | Bluespec | 488 | bsv | null | 21.217391 | 67 | 0.579918 |
(*
Made for ZNBC (https://znbc.com) to process images in batch with photoshop
*)
(*
Description: Description: You have to create a script in Photoshop then all the files presented in the source folder will be proceeded with actions you have made in the script and be saved in the destination folder. For the moment the ... | AppleScript | 2,756 | applescript | 5 | 30.285714 | 329 | 0.738026 |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... | Ada | 2,240 | adb | null | 50.909091 | 78 | 0.399554 |
\begin{code}
module Untyped.Reduction where
\end{code}
\begin{code}
open import Untyped
open import Untyped.RenamingSubstitution
open import Builtin
open import Builtin.Constant.Type
import Data.Bool as Bool
open import Data.Nat using (ℕ;suc;zero)
open import Data.Integer using (_+_;_-_;_*_;∣_∣;_<?_;_≤?_;_≟_)
open im... | Literate Agda | 7,593 | lagda | 1 | 35.481308 | 144 | 0.542342 |
\chapter{%
Realisationstheorie und Modellreduktion%
}
\section{%
Konstruktion von Realisationen%
}
\textbf{Realisationsproblem}:
Sei eine \begriff{Übertragungsmatrix (transfer matrix)} $G(s)$ gegeben, d.\,h.
eine $(k \times m)$-Matrix von properen, reellen, rationalen Funkionen.\\
Das \begriff{Realisationspro... | TeX | 19,086 | tex | 8 | 47.009852 | 98 | 0.68097 |
@{
# Build dependecies
Pester = @{ target = 'CurrentUser'; version = 'latest' }
PSScriptAnalyzer = @{ target = 'CurrentUser'; version = 'latest' }
SimplySql = @{ target = 'CurrentUser'; version = 'latest' }
} | PowerShell | 244 | psd1 | null | 40.666667 | 71 | 0.561475 |
module Problem3 where
type Delt a = [a] -> [a]
nil :: Delt a
nil xs = xs | Haskell | 74 | hs | null | 12.333333 | 24 | 0.608108 |
#!/usr/bin/env gosh
(add-load-path "./gambit-benchmarks")
(define bitwise-and logand)
(define bitwise-not lognot)
(define (run-benchmark name count ok? run-maker . args)
(format #t "~%;~a (x~a)~%" (pad-space name 7) count)
(flush)
(let* ((run (apply run-maker args))
(resul... | Scheme | 5,025 | scm | 25 | 37.5 | 88 | 0.610348 |
# 介绍
`vframework` 是一个基础的`PHP`框架。他将框架的各个要素以“组件”的形式来提供,从而让你可以通过配置和添加自己的组件来定制出更适合自己项目的基础架构。
## 安装
安装`vframework` ,你可以在github上下载源码包或者直接fork项目然后clone到本地. [传送门](https://github.com/dingusxp/vframework)
当然为了切合`现代化`的php,请使用php7.+, 如果你不想使用php7,`vframework`也是向下兼容的。
建议的服务器环境要求
* PHP >= 7.2
* OpenSSL PHP 扩展
* JSON PHP 扩展
* P... | Markdown | 746 | md | 3 | 15.87234 | 99 | 0.674263 |
(ns puppetlabs.services.jruby.jruby-puppet-service-test
(:require [clojure.test :refer :all]
[puppetlabs.services.protocols.jruby-puppet :as jruby-protocol]
[puppetlabs.services.jruby.jruby-puppet-testutils :as jruby-testutils]
[puppetlabs.kitchensink.core :as ks]
[pupp... | Clojure | 12,692 | clj | null | 52.016393 | 88 | 0.525607 |
/*
* Copyright 2020 Google LLC
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Java | 976 | java | 15 | 39.04 | 111 | 0.767418 |
function New-IcingaCheckCommand()
{
param(
[string]$Name = '',
[array]$Arguments = @(
'Warning',
'Critical',
'[switch]NoPerfData',
'[int]Verbose'
),
[array]$ImportLib = @()
);
if ([string]::IsNullOrEmpty($Name) -eq $TRUE)... | PowerShell | 4,096 | psm1 | null | 40.96 | 182 | 0.593262 |
fundamental facets
testBoundedXSDToken
"From table C.1 Fundamental Facets in XML Schema Part 2: Datatypes Second Edition."
"Automatically generated by class>>generateFundamentalFacetTests; do not edit here."
self should: [XSDToken bounded = false]
| Smalltalk | 252 | st | null | 36 | 85 | 0.805556 |
nqubits = 16;
name = "16v1 1 9 4 1";
nstates = 4;
amplitude[x_,y_] := (Exp[-15 I y] (1 (I Sin[x])^5 Cos[x]^11 + 1 (I Sin[x])^11 Cos[x]^5) + Exp[-13 I y] (4 (I Sin[x])^6 Cos[x]^10 + 4 (I Sin[x])^10 Cos[x]^6 + 3 (I Sin[x])^5 Cos[x]^11 + 3 (I Sin[x])^11 Cos[x]^5 + 2 (I Sin[x])^4 Cos[x]^12 + 2 (I Sin[x])^12 Cos[x]^4 + 2 (... | Mathematica | 10,133 | nb | null | 675.533333 | 4,847 | 0.505082 |
FROM ruby:3.1.1-alpine3.15 as build
RUN apk add --no-cache build-base
RUN bundle config set --local deployment 'true'
ENV RUBYOPT '--disable-did_you_mean'
WORKDIR /app
COPY Gemfile /app/
COPY Gemfile.lock /app/
COPY awful.gemspec /app/
COPY lib/ /app/lib/
RUN bundle install --no-color --quiet --jobs=8
FROM ruby:3... | Dockerfile | 552 | null | 18 | 19.714286 | 47 | 0.71558 |
functions {
#include /functions/common.stan
#include /functions/sum_to_zero.stan
#include /functions/ud.stan
}
data {
int N; // Total number of observations
int J; // Total number of indicators
int K; // Number of groups
int group[N]; // Group indicator array
matrix[N, J] x; // Indicator values
int<l... | Stan | 3,912 | stan | null | 33.152542 | 123 | 0.684305 |
{
"id": "fcfb0a9f-3d8c-4876-8b33-4e6b5cb6c289",
"modelName": "GMSprite",
"mvc": "1.12",
"name": "Spr_TitleScreen2",
"For3D": false,
"HTile": false,
"VTile": false,
"bbox_bottom": 464,
"bbox_left": 0,
"bbox_right": 599,
"bbox_top": 0,
"bboxmode": 0,
"colkind": 1,
"... | Yacc | 2,043 | yy | null | 29.185714 | 70 | 0.481155 |
// 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... | Thrift | 4,596 | thrift | null | 30.845638 | 85 | 0.759791 |
%
% (c) The University of Glasgow 2006
% (c) The GRASP/AQUA Project, Glasgow University, 1992-1998
%
The @Inst@ type: dictionaries or method instances
\begin{code}
{-# LANGUAGE CPP #-}
{-# OPTIONS_GHC -fno-warn-tabs #-}
-- The above warning supression flag is a temporary kludge.
-- While working on this module you ar... | Literate Haskell | 25,045 | lhs | null | 37.380597 | 113 | 0.599681 |
#version 330 core
#define MAX_LIGHTS 8
precision highp float;
precision highp int;
//Uniforms
//[geo.position]//
uniform sampler2D u_sampler_position;
//[geo.normal]//
uniform sampler2D u_sampler_normal;
//[geo.albedo]//
uniform sampler2D u_sampler_albedo;
//[geo.material]//
uniform sampler2D u_sampler_material;
//... | GLSL | 9,950 | frag | 37 | 33.501684 | 155 | 0.68201 |
/**
* @file maputils.yap
* @author VITOR SANTOS COSTA <vsc@VITORs-MBP.lan>
* @date Tue Nov 17 22:48:58 2015
*
* @brief Auxiliary routines for map... libraries
*
*
*/
%%%%%%%%%%%%%%%%%%%%
% map utilities
%%%%%%%%%%%%%%%%%%%%
:- module(maputils,
[compile_aux/2,
goal_expansion_allowed/0,
pred_n... | Prolog | 2,706 | yap | 90 | 24.6 | 93 | 0.64745 |
class RunsApi
list: ({ onSuccess, onError }) =>
request = $.get { url: '/runs/list' }
request.done (suitesList) => onSuccess suitesList
request.fail (err) => onError { message: err.responseText }
start: (suite, { onSuccess, onError }) =>
request = $.get { url: "/runs/start/#{suite._id}" }
reque... | CoffeeScript | 443 | coffee | 4 | 34.076923 | 63 | 0.641084 |
/*Je travaille ici sur des données simulées. J'ai deux séries de variables sur la production agricole. La première variable devrait répondre à un modèle SAR. La seconde à un modèle SEM
J'ai simulé les variables donc je savais a priori les modèles. J'ai ensuite 3 variables explicatives : Précipitation moyenne annuelle, ... | SAS | 3,341 | sas | null | 59.660714 | 184 | 0.713858 |
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="es">
<head>
<!-- Generated by javadoc (14.0.2) on Wed Sep 16 20:10:40 CEST 2020 -->
<title>ElementSelector (css4j 2.1.1 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2020-09-16">
<meta name="description" con... | HTML | 11,071 | html | null | 42.745174 | 612 | 0.655948 |
plugins {
`flowbinding-plugin`
id("com.android.library")
kotlin("android")
id("com.vanniktech.maven.publish")
id("org.jetbrains.dokka")
}
flowBinding {
enableExplicitApi.set(true)
}
android {
namespace = "reactivecircus.flowbinding.recyclerview"
defaultConfig {
testApplicationI... | Kotlin | 790 | kts | 1 | 24.6875 | 77 | 0.726582 |
/**
* This class instantiates extended security objects.
*/
package org.urbancode.ucadf.core.model.ucd.security
import org.urbancode.ucadf.core.model.ucd.general.UcdObject
import com.fasterxml.jackson.annotation.JsonAlias
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import com.fasterxml.jackson.anno... | Groovy | 1,329 | groovy | 4 | 26.058824 | 80 | 0.754703 |
transformed data { 1.0 [ 1.0 : 1.0 while | Stan | 40 | stan | 123 | 40 | 40 | 0.65 |
At: "001.hac":4:
parse error: syntax error
parser stacks:
state value
#STATE# (null)
#STATE# (null)
#STATE# (null)
#STATE# keyword: defproc [3:1..7]
#STATE# identifier: fang [3:9..12]
#STATE# $end
in state #STATE#, possible rules are:
declare_proc_proto: optional_export optional_template_specification def_or_proc I... | Bison | 412 | bison | null | 27.466667 | 136 | 0.740291 |
pragma solidity 0.4.26;
/// @title controls token transfers
/// @dev BasicSnapshotToken observes this interface, Neumark contract implements it
contract MTokenTransferController {
////////////////////////
// Internal functions
////////////////////////
/// @notice Notifies the controller about a toke... | Solidity | 749 | sol | 38 | 27.740741 | 83 | 0.631509 |
// Copyright 2010-2018 Google LLC
// 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... | C# | 2,109 | cs | 1 | 31.954545 | 86 | 0.67046 |
CREATE TABLE subdivision_TT (id VARCHAR(6) NOT NULL, name VARCHAR(255), level VARCHAR(64) NOT NULL, PRIMARY KEY(id));
INSERT INTO "subdivision_TT" ("id", "name", "level") VALUES (E'TT-ARI', E'Arima', E'municipality');
INSERT INTO "subdivision_TT" ("id", "name", "level") VALUES (E'TT-CHA', E'Chaguanas', E'municipality'... | SQL | 1,868 | sql | 26 | 98.315789 | 132 | 0.679336 |
\begin{code}
{-# LANGUAGE Arrows #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE GADTs #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE RankNTypes #-}
module Main where
import Data.Traversable
import qualified Data.Map.Strict as M
import Control.Arrow
import FreeExamples
import Na... | Literate Haskell | 7,463 | lhs | 2 | 27.138182 | 103 | 0.628836 |
1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00
-1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -68.00
1.00 -1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -1.00
-1.00 1.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 -153.00
1.00 -1.00 0.00 0.00 0.00 0... | Matlab | 137,697 | matlab | null | 48.811414 | 74 | 0.589701 |
;;; -*- Mode: Lisp; common-lisp-style: poem -*-
;;; Copyright (c) 2012 Matthias Hölzl
;;;
;;; This file is licensed under the MIT license; see the file LICENSE
;;; in the root directory for further information.
(in-package #:odysseus)
#+debug-odysseus
(declaim (optimize (debug 3) (space 1) (speed 0) (compilation-spee... | Common Lisp | 981 | lisp | 1 | 28.852941 | 72 | 0.700306 |
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/scheduler.dart';
import 'package:flutter_bili_talk/db/hi_cache.dart';
import 'package:flutter_bili_talk/util/color.dart';
import 'package:flutter_bili_talk/util/hi_contants.dart';
/// 使用 provider 管理主题状态
/// 拓展枚举类型... | Dart | 2,175 | dart | 2 | 29.794521 | 80 | 0.693793 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.