text stringlengths 2 1.04M | meta dict |
|---|---|
#include "mysql.hh"
MySql::MySql() { driver = get_driver_instance(); }
MySql::~MySql() {}
template <typename T>
void MySql::errorCheck(T function) {
try {
function();
} catch (sql::SQLException &error) {
std::cerr << "MySQL error code: " << error.getErrorCode()
<< ", SQLSt... | {
"content_hash": "ec67c715576528c07a3caa71bbda9e19",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 84,
"avg_line_length": 27.71212121212121,
"alnum_prop": 0.6118097320940404,
"repo_name": "R2D2-2017/R2D2-2017",
"id": "c13391d564e6de6701e43b89d2ed1ecc57f22b61",
"size": "2... |
import { Image } from "lively.morphic";
export function uploadItem() {}
export async function uploadFile(file, type, options) {
// file is an instance of the Browser File class
// https://developer.mozilla.org/en-US/docs/Web/API/File
if (type.startsWith("image/")) {
// upload as inlined image
let... | {
"content_hash": "7663857b0515753f86c9d6f19311ca54",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 60,
"avg_line_length": 23.59375,
"alnum_prop": 0.6013245033112583,
"repo_name": "LivelyKernel/lively.morphic",
"id": "3602d63ae3db548b697c6f9835ea5f9d848b54c4",
"size": "75... |
#ifndef _INCREMENTAL_PLOT_HH_
#define _INCREMENTAL_PLOT_HH_
#include <map>
#include <list>
#include <qwt/qwt_plot_magnifier.h>
#include <qwt/qwt_plot.h>
#include "gazebo/math/Vector2d.hh"
#include "gazebo/gui/qt.h"
class QwtPlotCurve;
class QwtPlotDirectPainter;
namespace gazebo
{
namespace gui
{
/// \b... | {
"content_hash": "8bd5e11e821a3316600f217629619093",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 75,
"avg_line_length": 30.232323232323232,
"alnum_prop": 0.6237888406281323,
"repo_name": "thomas-moulard/gazebo-deb",
"id": "475b347516ec8f3561e3ef55e3356c84658abfe8",
"si... |
Just another time tracking tool
| {
"content_hash": "ca371b420d9d73294c3bcb9a9d20e474",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 31,
"avg_line_length": 32,
"alnum_prop": 0.84375,
"repo_name": "n-develop/tickettimer",
"id": "6f4701b9de67539977d59a86e96bf269317d8393",
"size": "46",
"binary": false,
... |
package rescuecore2.standard;
/**
Useful constants for the standard package.
*/
public final class StandardConstants {
/** Config key for the number of fire brigades in the scenario. */
public static final String FIRE_BRIGADE_COUNT_KEY = "scenario.agents.fb";
/** Config key for the number of ambulance ... | {
"content_hash": "324a8a9a0137b268bc64ca5dd9f54b44",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 81,
"avg_line_length": 41.26923076923077,
"alnum_prop": 0.7166821994408201,
"repo_name": "alim1369/sos",
"id": "d1cdbacd14caa0e669a879c660b5832a6b578a41",
"size": "1073",
... |
set -x
# Uncomment the selected web server.
USE_NGINX=1
#USE_APACHE2=1
# Uncomment the selected database.
USE_MYSQL=1
#USE_PGSQL=1
#USE_SQLITE3=1
# Uncomment if extra images libraries for redmine will be installed.
#USE_IMAGEMAGICK=1
# Set password. Change at your preference.
DB_PASSWORD='dbpasswd'
REDMINE_PASSWORD... | {
"content_hash": "9dab0088952a5cb120bbe69240aa638b",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 152,
"avg_line_length": 36.455089820359284,
"alnum_prop": 0.6984231274638634,
"repo_name": "clalarco/vagrant-redmine",
"id": "a27c6ae8bbc9896826d4f3236112204a5bcdeb41",
"s... |
DOCUMENTATION DEPRECATION NOTICE: This file is deprecated. Please refer to the
[new migrated
location](https://github.com/kubernetes-sigs/prow/tree/main/site/content/en/docs/Legacy%20Snapshot/prow/cmd/jenkins-operator/README.md).
Please do not edit this file; instead, make changes to the new location!
The new location... | {
"content_hash": "1f40504214d4e2a15cd7beaac0d67f61",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 136,
"avg_line_length": 43.6,
"alnum_prop": 0.7889908256880734,
"repo_name": "dims/test-infra",
"id": "2361787630b6de555d339b890986ca02c275d253",
"size": "436",
"binary":... |
using UnityEngine;
using System.Collections;
public class CharacterController : MonoBehaviour
{
private void Update ()
{
Vector2 speed = transform.position - Camera.main.ScreenToWorldPoint(Input.mousePosition);
rigidbody2D.velocity = -0.4f* speed;
}
}
| {
"content_hash": "17fbd62bbb3a3aec75fccf2bec369d19",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 97,
"avg_line_length": 21.384615384615383,
"alnum_prop": 0.7194244604316546,
"repo_name": "teinemaa/worldgen2d",
"id": "e8512d15cd9d3a8ff94d0363a3e000cf18582e9f",
"size": "... |
import React from 'react';
import classNames from 'classnames';
import RcInputNumber from 'rc-input-number';
import StepProps from './PropsType';
import Icon from '../icon';
export default class Stepper extends React.Component<StepProps, any> {
static defaultProps = {
prefixCls: 'am-stepper',
step: 1,
re... | {
"content_hash": "58e0e22b0cbdfd8fd95ad332cc0ccf6a",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 84,
"avg_line_length": 26.970588235294116,
"alnum_prop": 0.6259541984732825,
"repo_name": "can-yin-quan/antd-mobile-cyq",
"id": "d99aa09628e4ed287fc1cb8719fe282d904c799b",
... |
using System;
using System.Text;
namespace ShortUrl.Core.Patterns
{
public sealed class SimplePatternGenerator : IPatternGenerator
{
private static readonly string _allowedCharacters = @"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
private static readonly Random _random = new Random();
pu... | {
"content_hash": "43d76fbdf134892ca4f178ad8503f5cb",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 120,
"avg_line_length": 24.458333333333332,
"alnum_prop": 0.7257240204429302,
"repo_name": "ManuelRauber/ShortUrl",
"id": "f7d702e3a9e4b9f618669cdf7c17c74828f4ffdd",
"size"... |
use algorithmia::prelude::*;
use std::error::Error;
fn apply(input: AlgoIo) -> Result<AlgoIo, Box<Error>> {
Ok(input)
}
fn main() {
handler::run(apply)
}
| {
"content_hash": "17274b814608e2dc3e13b829e7b0d47e",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 55,
"avg_line_length": 16.4,
"alnum_prop": 0.6280487804878049,
"repo_name": "algorithmiaio/algorithmia-rust",
"id": "14cc1b6e4aa0e871c2ade67cb11e1376173760fe",
"size": "164... |
package pp
import (
"errors"
"fmt"
"github.com/mattn/go-colorable"
"io"
"os"
)
var out io.Writer
func init() {
out = colorable.NewColorableStdout()
}
func Print(a ...interface{}) (n int, err error) {
return fmt.Fprint(out, formatAll(a)...)
}
func Printf(format string, a ...interface{}) (n int, err error) {
... | {
"content_hash": "367a7372a471782c4fd283bb3a5c4451",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 79,
"avg_line_length": 20.833333333333332,
"alnum_prop": 0.6516923076923077,
"repo_name": "dmnlk/gomadare",
"id": "7044f734b0d06794888b0e87d89780c684477c83",
"size": "1625"... |
title: Quality Assurance and Testing with Chai
localeTitle: Garantia de Qualidade e Teste com Chai
---
## Garantia de Qualidade e Teste com Chai
Este é um esboço. [Ajude nossa comunidade a expandi-lo](https://github.com/freecodecamp/guides/tree/master/src/pages/mathematics/quadratic-equations/index.md) .
[Este guia d... | {
"content_hash": "2fa7f793aabdda4dd9e0325032bc6969",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 160,
"avg_line_length": 49,
"alnum_prop": 0.7877551020408163,
"repo_name": "pahosler/freecodecamp",
"id": "f7e8ff8c928f6cbae979b831fd0677278dde39b5",
"size": "502",
"bina... |
#ifndef _U_BOOT_H_
#define _U_BOOT_H_
typedef struct bd_info {
unsigned long bi_memstart; /* start of DRAM memory */
phys_size_t bi_memsize; /* size of DRAM memory in bytes */
unsigned long bi_flashstart; /* start of FLASH memory */
unsigned long bi_flashsize; /* size of FLASH memory */
unsigned long bi_flash... | {
"content_hash": "c68c6901b7cc24ea0eabb1525dc15003",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 70,
"avg_line_length": 33.904761904761905,
"alnum_prop": 0.6952247191011236,
"repo_name": "EleVenPerfect/S3C2440",
"id": "ab3f23202d67e326b4922074f3e29eece37fa908",
"size":... |
'use strict';
var is = require( '../../is' );
var Heap = require( '../../heap' );
var elesfn = ({
dijkstra: function( root, weightFn, directed ){
var options;
if( is.plainObject( root ) && !is.elementOrCollection( root ) ){
options = root;
root = options.root;
weightFn = options.weight;
... | {
"content_hash": "a94da9af47faded64937dd3b3de55ae9",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 129,
"avg_line_length": 23.633587786259543,
"alnum_prop": 0.4935400516795866,
"repo_name": "rlugojr/cytoscape.js",
"id": "aa1dbe5e7d64f3a83cc2e42d9f01c9f983eadc1b",
"size"... |
package com.arjuna.databroker.data.jee.store;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
@Entity
public class DataFlowNodeLinkEntity implements Serializable
{
... | {
"content_hash": "b2bb668999eed6d87c920340326f753d",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 129,
"avg_line_length": 21.071428571428573,
"alnum_prop": 0.6649717514124294,
"repo_name": "RISBIC/DataBroker",
"id": "047fb72e4cfdcec42dc3c99c6a2fa7549042f603",
"size": "1... |
class ResizeOtrsTicketId < ActiveRecord::Migration
def up
change_column :activities, :otrs_ticket_id, :integer, limit: 8
end
def down
change_column :activities, :otrs_ticket_id, :integer
end
end
| {
"content_hash": "1ec8b430c85b0ea722ab6fe32d010713",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 66,
"avg_line_length": 23.555555555555557,
"alnum_prop": 0.7216981132075472,
"repo_name": "ninech/uberzeit",
"id": "be3a4ab49585a3db9122bd617fd5fa039f3ad6f8",
"size": "212",... |
/**
* Automatically generated file. Please do not edit.
* @author Highcharts Config Generator by Karasiq
* @see [[http://api.highcharts.com/highmaps]]
*/
package com.highmaps.config
import scalajs.js, js.`|`
import com.highcharts.CleanJsObject
import com.highcharts.HighchartsUtils._
/**
* @note JavaScript n... | {
"content_hash": "77695d0ea56b3cecee7c210f21e0a5dd",
"timestamp": "",
"source": "github",
"line_count": 188,
"max_line_length": 884,
"avg_line_length": 55.037234042553195,
"alnum_prop": 0.7066782642311781,
"repo_name": "Karasiq/scalajs-highcharts",
"id": "6d912be48e12b592b7a0ef9d73839d5a9ed5eb52",
... |
import { terser } from 'rollup-plugin-terser';
import ts from '@wessberg/rollup-plugin-ts';
import resolve from '@rollup/plugin-node-resolve';
import babel from '@rollup/plugin-babel';
import pkg from './package.json';
import license from 'rollup-plugin-license';
import filesize from 'rollup-plugin-filesize';
const ex... | {
"content_hash": "e18451261bb438ca44dc8bbf6ced127a",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 92,
"avg_line_length": 23.20689655172414,
"alnum_prop": 0.5237741456166419,
"repo_name": "chanind/hanzi-writer",
"id": "1cf57c0cce2ecc502e5d3859aaf3dc50f32f3477",
"size": "... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<meta name="description" content="Star burst overlapping billboard... | {
"content_hash": "3f51e4a732bd77173f0c1621f54ae721",
"timestamp": "",
"source": "github",
"line_count": 330,
"max_line_length": 159,
"avg_line_length": 34.84848484848485,
"alnum_prop": 0.6614782608695652,
"repo_name": "ceos-seo/Data_Cube_v2",
"id": "1815226732e31bc9736380419b1e444fa3be7f93",
"size"... |
// Definition of StatisticsSchema
import { SimpleSchema } from 'meteor/aldeed:simple-schema';
// schema for options used in each questions
export const StatisticsSchema = new SimpleSchema({
session: {
type: String,
},
// scales are one of: ['anxiety', 'depression', 'hopeless', 'suicide']
scal... | {
"content_hash": "f806f11f1d09f2cdb44d240005ac3724",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 74,
"avg_line_length": 20.58730158730159,
"alnum_prop": 0.48342328450269856,
"repo_name": "dipu-bd/depression-detection-system",
"id": "2369058cde813dcecf15a9f213fb4e8f9af35a... |
import json
from os import path
import warnings
import numpy
import six
from chainer import reporter
from chainer import serializer as serializer_module
from chainer.training import extension
from chainer.training import trigger as trigger_module
try:
import matplotlib # NOQA
_available = True
except (Im... | {
"content_hash": "ec609db5795d22b39e3881ae9f506f4d",
"timestamp": "",
"source": "github",
"line_count": 184,
"max_line_length": 79,
"avg_line_length": 34.89673913043478,
"alnum_prop": 0.5854228313346831,
"repo_name": "anaruse/chainer",
"id": "4877dc4f8ec7bac858ad21afa01d82faefe83cc1",
"size": "6421... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Mycotaxon 43: 255 (1992)
#### Original name
Chrysosporium globiferum var. niveum Skou, 1992
### Remarks
null | {
"content_hash": "a50b397ef177901f62c7b92c20d40496",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 47,
"avg_line_length": 15.153846153846153,
"alnum_prop": 0.7258883248730964,
"repo_name": "mdoering/backbone",
"id": "2c1513278f28392a009fe752528b907bd03c52cc",
"size": "26... |
#ifndef ScriptGCEvent_h
#define ScriptGCEvent_h
#include "v8.h"
#include <wtf/Vector.h>
namespace WebCore {
struct HeapInfo {
HeapInfo()
: usedJSHeapSize(0)
, totalJSHeapSize(0)
, jsHeapSizeLimit(0)
{
}
size_t usedJSHeapSize;
size_t totalJSHeapSize;
size_t jsHeapSiz... | {
"content_hash": "b7fbd2f30b24926c41114ecc42955716",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 80,
"avg_line_length": 21.08219178082192,
"alnum_prop": 0.6842105263157895,
"repo_name": "leighpauls/k2cro4",
"id": "2fcd0fa1f080cfd80f0b6a5dbaac0bd8df04aacb",
"size": "307... |
#include "cfg.h"
#include "instr.h"
#include "PinDisasm.h"
#include "prog.h"
extern "C" {
#include "xed-interface.h"
}
BasicBlock *Cfg::addBasicBlock(addr_t addr) {
BasicBlock *b;
b = new BasicBlock(addr);
assert(b);
cfg_t::addVertex(b);
b->cfg = this;
assert(cfg_t::hasVertex(b));
debu... | {
"content_hash": "2676fc37e707c189e15251b5b2642f37",
"timestamp": "",
"source": "github",
"line_count": 1069,
"max_line_length": 93,
"avg_line_length": 28.128157156220766,
"alnum_prop": 0.5880474907712262,
"repo_name": "bitblaze-fuzzball/d-s-se-directed-tests",
"id": "d5e0c85fdb318e10244fea6fa3b6d3b2... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model backend\modules\masterdata\models\Quotationdetail */
$this->title = 'Create Quotationdetail';
$this->params['breadcrumbs'][] = ['label' => 'Quotationdetails', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="q... | {
"content_hash": "1173284efc24bcde1329f225ca2253ea",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 85,
"avg_line_length": 22.571428571428573,
"alnum_prop": 0.5928270042194093,
"repo_name": "ariandi/ktmavia",
"id": "16794ce618fcf0fa8971c026b05947429180db42",
"size": "474"... |
package lazarus;
import org.newdawn.slick.Animation;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.geom.Rectangle;
import org.newdawn.slick.geom.Vector2f;
import org.newdawn.slick.state.StateBasedGame;
public class FireBall extends Bullet {
/**
* Constructor of the Player
* @param pSprite An... | {
"content_hash": "d6756a6bcf4402978c07d591c3d79023",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 119,
"avg_line_length": 26.296875,
"alnum_prop": 0.6173499702911468,
"repo_name": "PhiBabin/Project-Lazarus",
"id": "95f62ffa443709f05a26772fc7bda00e1f3039bf",
"size": "168... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>CMSIS-SVD: SVDConv.... | {
"content_hash": "5ded7dad1406046fe15a73299aaa2b1c",
"timestamp": "",
"source": "github",
"line_count": 236,
"max_line_length": 315,
"avg_line_length": 58.021186440677965,
"alnum_prop": 0.5783246914481852,
"repo_name": "AtmelUniversityFrance/SAM4E-XPRO",
"id": "300fc5f8053332dfb96cccac3ac3d2fcf207e4d... |
package io.mediachain.rpc
import io.grpc.{Status, StatusRuntimeException}
sealed trait RPCError {
val statusCode: Status.Code
val description: String
def asStatus: Status =
Status.fromCodeValue(statusCode.value)
.withDescription(description)
def asException: StatusRuntimeException = {
new Stat... | {
"content_hash": "9c2bcff352d33804138e02294cbc1195",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 71,
"avg_line_length": 24.784313725490197,
"alnum_prop": 0.7151898734177216,
"repo_name": "mediachain/L-SPACE",
"id": "280f24f7e901f44bd9b2813a74f6825e41edbefe",
"size": "1... |
namespace Microsoft.Azure.CognitiveServices.Vision.Face
{
using Models;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
/// <summary>
/// Extension methods for FaceListOperations.
/// </summary>
p... | {
"content_hash": "ecde74b5c62c817322e2345f75b19694",
"timestamp": "",
"source": "github",
"line_count": 334,
"max_line_length": 331,
"avg_line_length": 58.47904191616767,
"alnum_prop": 0.5918492729879172,
"repo_name": "AsrOneSdk/azure-sdk-for-net",
"id": "b2752e1041f556f46ae304a213bca0a52a24a80b",
... |
package backup
import (
"archive/tar"
"compress/gzip"
"context"
"fmt"
"io"
"net/http"
"os"
"strconv"
"time"
"emperror.dev/errors"
"github.com/cenkalti/backoff/v4"
"github.com/pterodactyl/wings/server/filesystem"
"github.com/juju/ratelimit"
"github.com/pterodactyl/wings/config"
"github.com/pterodacty... | {
"content_hash": "41db77e2b033c999bc9e7c5733837828",
"timestamp": "",
"source": "github",
"line_count": 265,
"max_line_length": 113,
"avg_line_length": 29.475471698113207,
"alnum_prop": 0.7009345794392523,
"repo_name": "Pterodactyl/wings",
"id": "85faa59ddfee564a55cc6e135a828a8468054374",
"size": "... |
using System;
using System.Threading;
namespace Polly.Specs.Helpers.Custom.AddBehaviourIfHandle
{
internal class AddBehaviourIfHandlePolicy : Policy
{
private readonly Action<Exception> _behaviourIfHandle;
internal AddBehaviourIfHandlePolicy(Action<Exception> behaviourIfHandle, PolicyBuilder ... | {
"content_hash": "6b9328371c3016d33e93e2516c87cd9c",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 153,
"avg_line_length": 35.32142857142857,
"alnum_prop": 0.6334681496461072,
"repo_name": "michael-wolfenden/Polly",
"id": "71b5709b49a37c39034fad41c4757e525e606602",
"size... |
package net.sourceforge.plantuml.flashcode;
import java.awt.Color;
import java.awt.image.BufferedImage;
public interface FlashCodeUtils {
public BufferedImage exportFlashcode(String s, Color fore, Color back);
}
| {
"content_hash": "6067f31af7b4a380cd0dc629e64ffd3c",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 72,
"avg_line_length": 19.818181818181817,
"alnum_prop": 0.8027522935779816,
"repo_name": "talsma-ict/umldoclet",
"id": "c682dde8b15fcb0d3166dc52d233cc14dc955a37",
"size": ... |
#ifndef itkDivideRealFunctor_h
#define itkDivideRealFunctor_h
#include <itkNumericTraits.h>
namespace itk
{
namespace Functor
{
/**
* \class DivReal
* \brief Promotes arguments to real type and performs division
*
* The result is then static_cast'ed to the output pixel type.
*
* \ingroup SimpleITKFiltersModule... | {
"content_hash": "a5c931beb9b381cb2fb4d234fa55d2ea",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 96,
"avg_line_length": 21.58823529411765,
"alnum_prop": 0.6303360581289736,
"repo_name": "SimpleITK/itkSimpleITKFiltersModule",
"id": "96d22d83724f38e8616e587ddc016c3c7c38545... |
CREATE SEQUENCE SEQ_IP_REV_ACTIVITY_ID INCREMENT BY 1 START WITH 1 NOCACHE;
-- Add proposal_id to PROPOSAL_IP_REV_ACTIVITY table
alter table PROPOSAL_IP_REV_ACTIVITY add PROPOSAL_ID NUMBER(12,0) NOT NULL;
-- Add FK constraint to PROPOSAL table
ALTER TABLE PROPOSAL_IP_REV_ACTIVITY
ADD CONSTRAINT FK_PROPOSAL_ID ... | {
"content_hash": "da951648d72298db203fcf0f6799f03b",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 76,
"avg_line_length": 32,
"alnum_prop": 0.7708333333333334,
"repo_name": "blackcathacker/kc.preclean",
"id": "bbd40214f0526372533fa25d6b1bdcaa39237c4d",
"size": "429",
"... |
license: 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... | {
"content_hash": "d708b0eb7607026a3ae07d5dad4bb0c7",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 251,
"avg_line_length": 29.86764705882353,
"alnum_prop": 0.5873953717380601,
"repo_name": "kant2002/cordova-docs",
"id": "1f1ab37c0fa9f17cfc8196fb3cba6e99f82bbaaa",
"size"... |
/*
Concepts and parts of this file have been contributed by Andre R.
*/
/**
* @file cmsis_os.h
* @brief CMSIS RTOS module macros and structures.
*
* @addtogroup CMSIS_OS
* @{
*/
#ifndef _CMSIS_OS_H_
#define _CMSIS_OS_H_
#include "ch.h"
/*==============================================================... | {
"content_hash": "95a584086334c0b0e73642adb15352e1",
"timestamp": "",
"source": "github",
"line_count": 503,
"max_line_length": 79,
"avg_line_length": 28.75944333996024,
"alnum_prop": 0.5036637633070649,
"repo_name": "SVentas/SmartMDC",
"id": "4ae6af943ca602ab623e7a85c64a49e72f12f494",
"size": "152... |
/*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v0.7.1
*/
goog.provide('ng.material.components.toolbar');
goog.require('ng.material.components.content');
goog.require('ng.material.core');
(function() {
'use strict';
/**
* @ngdoc module
* @name material.components.toolbar
*/... | {
"content_hash": "68b97e45fbef07b94335c07982147bb6",
"timestamp": "",
"source": "github",
"line_count": 161,
"max_line_length": 88,
"avg_line_length": 29.8944099378882,
"alnum_prop": 0.613546644504467,
"repo_name": "tw4qa/sw2at-ui",
"id": "a198b0e193025c5b165ceaeed5eb725f00791cb0",
"size": "4813",
... |
! Program to test dummy procedures
subroutine bar()
end subroutine
subroutine foo2(p)
external p
call p()
end subroutine
subroutine foo(p)
external p
! We never actually discover if this is a function or a subroutine
call foo2(p)
end subroutine
program intrinsic_minmax
implicit none
external bar
... | {
"content_hash": "3d06947d09f055c84e158f6cbf88a58e",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 68,
"avg_line_length": 15.130434782608695,
"alnum_prop": 0.7442528735632183,
"repo_name": "the-linix-project/linix-kernel-source",
"id": "06fa21614ed2df2e32954e011d4ec876ef3f... |
API Version: 2018-06-01-preview
## Template format
To create a Microsoft.ApiManagement/service/apis/policies resource, add the following JSON to the resources section of your template.
```json
{
"name": "policy",
"type": "Microsoft.ApiManagement/service/apis/policies",
"apiVersion": "2018-06-01-preview",
"pro... | {
"content_hash": "13e8cd026bead39bb30b789fd385bd5a",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 133,
"avg_line_length": 35.4054054054054,
"alnum_prop": 0.683206106870229,
"repo_name": "waynekuo/azure-resource-manager-schemas",
"id": "b9c0fad8bcad850604df44437f064eee9daf... |
FROM qnib/supervisor
MAINTAINER "Christian Kniep <christian@qnib.org>"
VOLUME /videos/input
VOLUME /videos/output
CMD /bin/supervisord -c /etc/supervisord.conf
| {
"content_hash": "40a95a63508665e94b72ff4c64645283",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 49,
"avg_line_length": 23.142857142857142,
"alnum_prop": 0.7962962962962963,
"repo_name": "ChristianKniep/docker-convert",
"id": "7bbfcde160d1a5d3202edffa2e442b181f8df8d3",
... |
using System;
namespace Memento.Core.Ntfs
{
/// <summary>
/// This is where the parts of the file are located on the volume.
/// </summary>
public interface IFragment
{
/// <summary>
/// Logical cluster number, location on disk.
/// </summary>
UInt64 Lcn { get; }
... | {
"content_hash": "226a7799e1352a01048ee402b6bf518f",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 70,
"avg_line_length": 21.857142857142858,
"alnum_prop": 0.5359477124183006,
"repo_name": "Memento1990/Memento",
"id": "10e3517a43590b1551de8a363afdd98ab52a1712",
"size": "... |
<!-- Static navbar -->
<nav class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span ... | {
"content_hash": "c731c5ff7d651edccb8743ef38985f9c",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 154,
"avg_line_length": 43.63157894736842,
"alnum_prop": 0.5367913148371531,
"repo_name": "ahsanwtc/django-boilerplate",
"id": "9fe2e21219f7a99f5b6131ed042cea67d79b2aff",
"... |
import React from 'react';
import { storiesOf } from '@storybook/react';
import { withNotes } from '@storybook/addon-notes';
// For these stories to work, you must build the static version of the
// example storybooks *before* running this storybook.
const chapter = storiesOf('App|acceptance', module);
const style... | {
"content_hash": "53865c287840f1e2b84ce0233cae5e9b",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 94,
"avg_line_length": 23.8125,
"alnum_prop": 0.6443569553805775,
"repo_name": "rhalff/storybook",
"id": "84e4915b2d555f561d401dd7461395ff6848bdf3",
"size": "762",
"binar... |
package com.amazonaws.services.cloudformation.model.transform;
import java.util.Map;
import java.util.Map.Entry;
import javax.xml.stream.events.XMLEvent;
import com.amazonaws.services.cloudformation.model.*;
import com.amazonaws.transform.Unmarshaller;
import com.amazonaws.transform.MapEntry;
import com.amazonaws.... | {
"content_hash": "8efe717f8cf6e9645bba2360b003c393",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 110,
"avg_line_length": 43.820754716981135,
"alnum_prop": 0.5913885898815932,
"repo_name": "XidongHuang/aws-sdk-for-java",
"id": "91b7aef8bbe64f73161c47ee1d41e2d0372b050c",
... |
<!DOCTYPE html>
<!--
Copyright (c) 2013 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<link rel="import" href="/tracing/base/task.html">
<link rel="import" href="/tracing/core/test_utils.html">
<link rel="import" href="/... | {
"content_hash": "f4feb2a647bd2466249be8371c4f93ed",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 79,
"avg_line_length": 35.05625,
"alnum_prop": 0.6655375289712961,
"repo_name": "benschmaus/catapult",
"id": "f6431a503f67fb9c131d881ea14b40118e7caa6e",
"size": "5609",
... |
package hudson;
import java.io.InputStream;
import java.nio.file.Files;
import jenkins.util.SystemProperties;
import com.google.common.collect.Lists;
import hudson.Plugin.DummyImpl;
import hudson.PluginWrapper.Dependency;
import hudson.model.Hudson;
import jenkins.util.AntClassLoader;
import hudson.util.CyclicGraphDe... | {
"content_hash": "fb5c1ba810d396ac4c271f07ca3f056f",
"timestamp": "",
"source": "github",
"line_count": 857,
"max_line_length": 157,
"avg_line_length": 40.34422403733956,
"alnum_prop": 0.5912075198843094,
"repo_name": "ajshastri/jenkins",
"id": "17722cef44742cb0561288fad27f5be94cdbc0d5",
"size": "3... |
<?php
namespace DDiff\Database\Schema;
use DDiff\Configuration\Database\DatabaseConfigurationInterface;
use DDiff\Database\SchemaInterface;
/**
* Interface ProviderInterface
* @package DDiff\Database\Schema
*/
interface ProviderInterface
{
/**
* @param \PDO $pdo
* @param DatabaseConfigurationInterfa... | {
"content_hash": "7396e5130d58719b830986af6cea3722",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 106,
"avg_line_length": 24.3,
"alnum_prop": 0.7530864197530864,
"repo_name": "oncesk/ddiff",
"id": "b55180b0f7bf44511e98d4b5d06190ac429434c5",
"size": "486",
"binary": fa... |
use na::Bounded;
use na;
use num::Float;
use ncollide::geometry::Contact;
use volumetric::InertiaTensor;
use resolution::constraint::velocity_constraint::VelocityConstraint;
use object::RigidBody;
use math::{Scalar, Point, Vect, Orientation};
/// The correction coefficient used by the constraint solver.
pub enum Corre... | {
"content_hash": "b24d82a5b7c5ab991fc0374f8e6bfe18",
"timestamp": "",
"source": "github",
"line_count": 277,
"max_line_length": 105,
"avg_line_length": 37.667870036101085,
"alnum_prop": 0.4928119608970673,
"repo_name": "MichaelRiss/nphysics",
"id": "ef54db00db0b02c97c1895ec6ba5a4228fb82a3e",
"size"... |
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.16) on Thu Sep 15 09:38:29 CEST 2022 -->
<title>RoutingSearchParameters.ImprovementSearchLimitParametersOrBuilder (com.google.ortools:ortools-java 9.4.1874 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UT... | {
"content_hash": "f0331e7aed2dfe30e91c40aee5d4516d",
"timestamp": "",
"source": "github",
"line_count": 324,
"max_line_length": 423,
"avg_line_length": 35.98456790123457,
"alnum_prop": 0.678102753237842,
"repo_name": "or-tools/docs",
"id": "05566be0ee7aa77688151d74f468477c0be6b5ad",
"size": "11659"... |
Imports System.Collections.Immutable
Imports Microsoft.CodeAnalysis.ExpressionEvaluator
Imports Microsoft.CodeAnalysis.VisualBasic.Symbols
Imports Microsoft.CodeAnalysis.VisualBasic.Symbols.Metadata.PE
Namespace Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator
Friend NotInheritable Class EETypeNameDecoder
... | {
"content_hash": "8496c6c167b3bb46d6298cdf41267bd0",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 153,
"avg_line_length": 48.029411764705884,
"alnum_prop": 0.7033067973055726,
"repo_name": "yetangye/roslyn",
"id": "1c4787b7e149a47e2a041c488cd159b81c4288f9",
"size": "326... |
namespace policy {
// A policy loader that loads policy from the managed app configuration
// introduced in iOS 7.
class POLICY_EXPORT PolicyLoaderIOS : public AsyncPolicyLoader {
public:
explicit PolicyLoaderIOS(
scoped_refptr<base::SequencedTaskRunner> task_runner);
~PolicyLoaderIOS() override;
// Asyn... | {
"content_hash": "6fff11e37f9629e8fc0f132df03042a1",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 76,
"avg_line_length": 33.61538461538461,
"alnum_prop": 0.7345537757437071,
"repo_name": "js0701/chromium-crosswalk",
"id": "29e2bd311fb38fc9aa6770ca01240f89765d830f",
"siz... |
When the initial action has been dispatched, you can update your application state in your reducers as you normally would.
A common pattern for offline-friendly apps is to *optimistically update UI state*. In practice, this means that as soon as a user performs an action, we update the UI to look as if the action had... | {
"content_hash": "1cec215ee81e0c0b54be5cf10267cffe",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 361,
"avg_line_length": 44.83870967741935,
"alnum_prop": 0.7230215827338129,
"repo_name": "jevakallio/redux-offline",
"id": "0022e88bdb52f28ce7b731e0cc175f8b4bc30a99",
"siz... |
package com.netflix.spinnaker.clouddriver.titus.deploy.actions;
import com.netflix.spinnaker.clouddriver.saga.flow.SagaFlow;
import com.netflix.spinnaker.clouddriver.saga.models.Saga;
import com.netflix.spinnaker.clouddriver.titus.JobType;
import com.netflix.spinnaker.clouddriver.titus.TitusException;
import com.netf... | {
"content_hash": "c4178291081acb4061702fb92f833078",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 107,
"avg_line_length": 35.1764705882353,
"alnum_prop": 0.7165551839464883,
"repo_name": "spinnaker/clouddriver",
"id": "c8521b4e2dafbc6928976e51bca475662359889f",
"size": ... |
package net.finmath.montecarlo.interestrate.products;
import java.time.LocalDate;
import java.time.Month;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Pa... | {
"content_hash": "cbd180743a9c8ab72d450befdbfaf7a9",
"timestamp": "",
"source": "github",
"line_count": 206,
"max_line_length": 170,
"avg_line_length": 40.64563106796116,
"alnum_prop": 0.7808431864325809,
"repo_name": "finmath/finmath-lib",
"id": "ac75faa608c3dd203a1ba85a250314bb0b788ef3",
"size": ... |
'use strict';
const chai = require('chai');
const expect = chai.expect;
const supertest = require('supertest');
const express = require('express');
const request = require('request-promise');
const apiMonkey = require('../index');
const app = express();
const port = process.env.PORT || process.env.port || 3000;
app.u... | {
"content_hash": "fd174b7f7839add0ac0b280a8cb527d5",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 66,
"avg_line_length": 26.21556886227545,
"alnum_prop": 0.5294655093650068,
"repo_name": "mfressdorf/api-monkey",
"id": "3f8a8dfa08b4d4933889ddc9f480c290635d8279",
"size":... |
<resources>
<integer name="max_question_length">70</integer>
</resources>
| {
"content_hash": "56910e3c98b2720750c8e271aa99fe3f",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 52,
"avg_line_length": 26,
"alnum_prop": 0.7051282051282052,
"repo_name": "rafaeladson/kotoba-droid",
"id": "3c30166a04818e839499fa45414db45cd25b4cd6",
"size": "78",
"bina... |
<?php
namespace MainBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Vente
*
* @ORM\Table()
* @ORM\Entity(repositoryClass="MainBundle\Entity\VenteRepository")
*/
class Vente
{
/**
* @var integer
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy... | {
"content_hash": "8bee7ec01e2b51aa79598d2054d19e96",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 80,
"avg_line_length": 18.388429752066116,
"alnum_prop": 0.5483146067415731,
"repo_name": "dpp972/attractif",
"id": "a42cf74c8e6d82bd4b2af12968e82c6fba861dac",
"size": "22... |
FOUNDATION_EXPORT double ARISocketsVersionNumber;
//! Project version string for ARISockets.
FOUNDATION_EXPORT const unsigned char ARISocketsVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <ARISockets/PublicHeader.h>
// Frameworks have no ... | {
"content_hash": "7d267983458c80c2970a30d1d03a2c59",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 135,
"avg_line_length": 45.57142857142857,
"alnum_prop": 0.7931034482758621,
"repo_name": "luosheng/SwiftSockets",
"id": "a6e3d9bcc25a46c9d4d9e766bb69e3849c20bfd9",
"size":... |
How To Release
==============
Due to Maven Central's very particular requirements, the release process is a bit
elaborate and requires a good deal of local configuration. This guide should walk
you through it. It won't do anyone outside of KeepSafe any good, but the workflow
is representative of just about any project... | {
"content_hash": "4f09ec77081343b3c88c83348c875f4e",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 200,
"avg_line_length": 36.88732394366197,
"alnum_prop": 0.7258495609011073,
"repo_name": "KeepSafe/ReLinker",
"id": "e6d9f336db2a265518523aa55fa168434382acaf",
"size": "26... |
package jodd.mutable;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
public class MutableTest {
@Test
public void testMutableInteger() {
MutableInteger m = new MutableInteger();
assertTrue(m instanceof Number);
m.setValue(27);
assertEquals(2... | {
"content_hash": "113f0aa5830aa2b7d31ee8b551bee4c0",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 52,
"avg_line_length": 23.291970802919707,
"alnum_prop": 0.6844249451582576,
"repo_name": "mtakaki/jodd",
"id": "fb88486915aa0e4617b16d16bef554e5d4cf7555",
"size": "4574",... |
package org.jtuples;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.stream.Collectors;
/**
* This class provides skeletal implementations of common methods for tuples.
*
* @author Andre Santos
* @author Benjamim Sonntag
*/
public abstract class AbstractTuple imple... | {
"content_hash": "c01363ccb1aef4a78b29826ba029127b",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 77,
"avg_line_length": 21.333333333333332,
"alnum_prop": 0.5426136363636364,
"repo_name": "git-afsantos/jTuples",
"id": "ac754b1255b5a6c5941cffa1a6a09dbcb2689470",
"size": ... |
package org.springframework.context.support;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.core.io.ClassPathResource;
import org.springframework.core.io.Resource;
import org.springframework.util.Assert;
import org.springframework.ut... | {
"content_hash": "ec5d6118f2a060dbed5c7cb05a6aedba",
"timestamp": "",
"source": "github",
"line_count": 178,
"max_line_length": 115,
"avg_line_length": 41.162921348314605,
"alnum_prop": 0.7765797734406988,
"repo_name": "mattxia/spring-2.5-analysis",
"id": "9438ddc8943b5d7b6667cb2fe3df45c15e945a6c",
... |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef mozilla_dom_network_cfstatechangeevent_h
#define mozilla_dom_network_cfstatechangeevent_h
#include "nsIDOM... | {
"content_hash": "a8c85f0dbc58383751ac7e948563af4f",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 76,
"avg_line_length": 22.9,
"alnum_prop": 0.6980661260137243,
"repo_name": "sergecodd/FireFox-OS",
"id": "c377692fd47a88f3729831a03faf39d911ba4f3f",
"size": "1603",
"bin... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S12.6.1_A13_T1;
* @section: 12.6.1, 13;
* @assertion: FunctionDeclaration within a "do-while" Block is not allowed;
* @description: Declaring function within a "do-while" loo... | {
"content_hash": "0a69094cd16d92d9f4df73ff296a6be2",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 75,
"avg_line_length": 27.214285714285715,
"alnum_prop": 0.6850393700787402,
"repo_name": "rapha/sputnik",
"id": "ac7bb5f8ce30ce9ee12fbc7204abc03bb65d3f09",
"size": "381",
... |
package keybase1
import (
"github.com/keybase/go-framed-msgpack-rpc/rpc"
context "golang.org/x/net/context"
"time"
)
type LogArg struct {
SessionID int `codec:"sessionID" json:"sessionID"`
Level LogLevel `codec:"level" json:"level"`
Text Text `codec:"text" json:"text"`
}
type LogUiInterface i... | {
"content_hash": "0350d3fe92a3e1846a19619b07f16bec",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 92,
"avg_line_length": 23.102040816326532,
"alnum_prop": 0.6457597173144877,
"repo_name": "keybase/client",
"id": "5739a96f28955b8b3e2deeb3163ffcb5c485468d",
"size": "1297"... |
using System;
using System.Collections.Generic;
using System.Text;
namespace BigAtom
{
public class VoxelCube
{
int pow2Size;
int voxelWidth;
public VoxelCube(int cubePow2Size)
{
this.pow2Size = cubePow2Size;
voxelWidth = (int)Math.Pow(2, cubePow2Size);... | {
"content_hash": "d3945d8be21b57f83be57f8468a5befe",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 56,
"avg_line_length": 17.05,
"alnum_prop": 0.592375366568915,
"repo_name": "MatterHackers/agg-sharp",
"id": "ec9d245eadf8e46edefbb9609c6cab0835ef92c2",
"size": "343",
"b... |
/** Request/response streams to and from node http request/responses
*
*
*/
var http = require('http')
var util = require('util')
var lob = require("lob-enc")
var ChannelStream = require("./stream.class")
var THTP = {
Request : {
//fromHTTP : THTP_Request_fromHTTP,
toHTTP : THTP_Request_toHTTP
},
Respon... | {
"content_hash": "be75a5e2885c1df4483fcb0ffa9d665b",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 88,
"avg_line_length": 24.55045871559633,
"alnum_prop": 0.6434977578475336,
"repo_name": "vweevers/telehash-js",
"id": "15a2d092822f0d070b514c02e599560fe68d30ad",
"size": ... |
#include <vector>
#include <cstdlib>
#include <locale>
#include <codecvt>
#include <cctype>
namespace Xor
{
static std::wstring_convert<std::codecvt_utf8<wchar_t>> wConverter;
String::String(const std::wstring &wstr)
: m_str(wConverter.to_bytes(wstr))
{
updateView();
}
... | {
"content_hash": "7144da62c7674e5b1f3364932f9f807a",
"timestamp": "",
"source": "github",
"line_count": 272,
"max_line_length": 92,
"avg_line_length": 26.845588235294116,
"alnum_prop": 0.479320734045467,
"repo_name": "jknuuttila/xor-renderer",
"id": "0361753e1b95e86fe6516b1004eb4cc8a5a467d9",
"size... |
<md-dialog aria-label="{action} + 'Container'" class="container-dialog">
<md-toolbar layout="column" layout-align="center center">
<md-subheader class="md-sticky-no-effect"><span class="action">{{action}} </span>Container <span class="short-id">{{ containerShortId }}</span></md-subheader>
</md-toolbar>
<md-co... | {
"content_hash": "dbe25e65a12ba9885f59246f65d7ff8c",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 183,
"avg_line_length": 47.724137931034484,
"alnum_prop": 0.611271676300578,
"repo_name": "dockerboard/bluewhale",
"id": "8fca8ac1d8432e3591cf9241df5bba408ddfaa38",
"size":... |
function[c] = least_coeffs(l,u,p,v,k,D,f, varargin)
% least_coeffs -- Computes basis coefficients for interpolation
%
% c = least_coeffs(l,u,p,v,k,dim,f, [ip=alpha!, connection=speye])
%
% Using the 5-tuple (l,u,p,v,k) that is output from de Boor's algorithm
% deboor_lu, this function uses the point-evaluations... | {
"content_hash": "8a36411607e49bdc5cfa376bcc525ea9",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 83,
"avg_line_length": 38.333333333333336,
"alnum_prop": 0.6627717391304347,
"repo_name": "cygnine/speclab",
"id": "9c96c411c46c001ed39c27d4e090a92b6bf18059",
"size": "3680... |
namespace _13.Office_Stuff
{
using System.Collections.Generic;
public class Company
{
public string CompanyName { get; set; }
public List<Order> Orders { get; set; }
}
}
| {
"content_hash": "eecd624494441065127d78a1c59d37bf",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 47,
"avg_line_length": 18.636363636363637,
"alnum_prop": 0.6097560975609756,
"repo_name": "MihailDobrev/SoftUni",
"id": "3f30aaa8cc879b47970d7fbca59fbf48b2d85181",
"size": ... |
/*
* This is not the original file distributed by the Apache Software Foundation
* It has been modified by the Hipparchus project
*/
package org.hipparchus.optim;
import org.hipparchus.exception.MathIllegalArgumentException;
import org.junit.Assert;
import org.junit.Test;
public class SimpleValueCheckerTest {
... | {
"content_hash": "6605930df79bc348372d41138ad45773",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 83,
"avg_line_length": 32.595238095238095,
"alnum_prop": 0.6888239590942293,
"repo_name": "Hipparchus-Math/hipparchus",
"id": "608903e7534f5d62f0a2e323c65f9c5a4a2774fe",
"s... |
<?xml version="1.0" encoding="UTF-8"?>
<sem:triples uri="http://www.lds.org/vrl/publications-and-documents/ces-and-scriptures/old-testament-teaching-guide-publication" xmlns:sem="http://marklogic.com/semantics">
<sem:triple>
<sem:subject>http://www.lds.org/vrl/publications-and-documents/ces-and-scriptures/old-tes... | {
"content_hash": "47ed11f44439c6a983c28b2af9a5156f",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 172,
"avg_line_length": 69,
"alnum_prop": 0.7423510466988728,
"repo_name": "freshie/ml-taxonomies",
"id": "11830bdc187079c82d87815de32b55d5e141990f",
"size": "1242",
"bin... |
"""Testing utilities."""
# Copyright (c) 2011, 2012
# Authors: Pietro Berkes,
# Andreas Muller
# Mathieu Blondel
# Olivier Grisel
# Arnaud Joly
# Denis Engemann
# License: BSD 3 clause
import os
import inspect
import pkgutil
import warnings
import sys
import re
import platf... | {
"content_hash": "c917c2c8cd809ff78ff32d0d7755cff3",
"timestamp": "",
"source": "github",
"line_count": 643,
"max_line_length": 78,
"avg_line_length": 33.50077760497667,
"alnum_prop": 0.6133884220788264,
"repo_name": "evgchz/scikit-learn",
"id": "ee0cc4b65666b502d8dd390867d28074ff576854",
"size": "... |
<?php
namespace Cake\Test\TestCase\TestSuite;
use Cake\Console\Shell;
use Cake\Core\Configure;
use Cake\TestSuite\ConsoleIntegrationTestCase;
class ConsoleIntegrationTestCaseTest extends ConsoleIntegrationTestCase
{
/**
* setUp
*
* @return void
*/
public function setUp()
{
pa... | {
"content_hash": "12db4361255589c2efca1bc8e5c00a23",
"timestamp": "",
"source": "github",
"line_count": 191,
"max_line_length": 129,
"avg_line_length": 23.005235602094242,
"alnum_prop": 0.5612198452435139,
"repo_name": "davidyell/cakephp",
"id": "682d1e21768fbdb376d6238e00e8b242ce526d72",
"size": "... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "068e1e388becee1f443c92d61b0882d4",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "1e9e5f6b2c5b9d8e1c41e4a00591ff2772de1f24",
"size": "189... |
package mpicbg.imglib.interpolation.linear;
import mpicbg.imglib.image.Image;
import mpicbg.imglib.interpolation.InterpolatorFactory;
import mpicbg.imglib.outofbounds.OutOfBoundsStrategyFactory;
import mpicbg.imglib.type.numeric.RealType;
public class LinearInterpolatorFactory<T extends RealType<T>> extends Interpol... | {
"content_hash": "db804c23c988966213f535bb054a5706",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 252,
"avg_line_length": 38.292682926829265,
"alnum_prop": 0.7770700636942676,
"repo_name": "tomka/imglib",
"id": "500a4661e3512845c30358a486ab2f9b34dc09ab",
"size": "3203",... |
<!DOCTYPE html>
<html class="minimal">
<title>Canvas test: 2d.strokeRect.zero.1</title>
<script src="../tests.js"></script>
<link rel="stylesheet" href="../tests.css">
<link rel="prev" href="minimal.2d.strokeRect.path.html" title="2d.strokeRect.path">
<link rel="next" href="minimal.2d.strokeRect.zero.2.html" title="2d.... | {
"content_hash": "1214c2b56f5f64374f4db709cdf61c5b",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 123,
"avg_line_length": 35.18518518518518,
"alnum_prop": 0.6768421052631579,
"repo_name": "gameclosure/webgl-2d",
"id": "e01491f3e561b4319c94777b78865a40edfba059",
"size": ... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Dashboard extends CI_Controller {
public function __construct()
{
parent::__construct();
//Do your magic here
$this->load->library(array('template'));
$this->load->model(array('User'));
}
public function index()
... | {
"content_hash": "27fa4f61259f719d4321cb1fd92e2b94",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 63,
"avg_line_length": 21.895522388059703,
"alnum_prop": 0.5835037491479209,
"repo_name": "agusedyc/krs-an",
"id": "ec24ed468aa7f234ad5963a732af84ebdc44344d",
"size": "1467... |

## Click's Hexagonal Domain-Driven Architecture
Cheddar is a Java framework for enterprise applications on Amazon Web Services (AWS) using _domain-driven design_ (DDD). Bounded contexts are implemented as microservices, which are integrated using an _event-driven architecture... | {
"content_hash": "27ca5b2fe6eb0ad6251e083e5fc1cf61",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 882,
"avg_line_length": 96.34177215189874,
"alnum_prop": 0.7942451714623571,
"repo_name": "clicktravel-james/Cheddar",
"id": "28d121cf3987a47e8659dc7569fe535b845d494f",
"si... |
Werkzeug
========
*werkzeug* German noun: "tool". Etymology: *werk* ("work"), *zeug* ("stuff")
Werkzeug is a comprehensive `WSGI`_ web application library. It began as
a simple collection of various utilities for WSGI applications and has
become one of the most advanced WSGI utility libraries.
It includes:
- An i... | {
"content_hash": "b8e659009e739af94435701d586a3785",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 76,
"avg_line_length": 31.63736263736264,
"alnum_prop": 0.732198680097256,
"repo_name": "fkazimierczak/werkzeug",
"id": "f1592a5699e0cb7675346bb80e946dbda08b9357",
"size": ... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_65) on Thu Jan 22 19:02:37 GMT 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class org.a... | {
"content_hash": "bbe5fe25a34c0d51995356c6064cc24d",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 520,
"avg_line_length": 51.92993630573248,
"alnum_prop": 0.6742303446584079,
"repo_name": "stain/incubator-taverna-site",
"id": "09147bb5464f455ce6083c34bbab5cfb638a7032",
... |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Dashboard app">
<meta name="author" content="Dan Esparza">
<title>NLog... | {
"content_hash": "4ad6d7a6062642afa42e70b70105500c",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 110,
"avg_line_length": 37.42857142857143,
"alnum_prop": 0.6461286804798255,
"repo_name": "danesparza/NLogReader",
"id": "37c375ed26565926c93c8a29821f4ee5c0e76bbf",
"size":... |
/* This thing should be set up to do byteordering correctly. But... */
#include "as.h"
#include "subsegs.h"
#include "obstack.h"
#include "output-file.h"
#include "dwarf2dbg.h"
#include "libbfd.h"
#include "compress-debug.h"
#ifndef TC_ADJUST_RELOC_COUNT
#define TC_ADJUST_RELOC_COUNT(FIX, COUNT)
#endif
#ifndef T... | {
"content_hash": "1e67a811f40f94f7d6ea0015dc35863c",
"timestamp": "",
"source": "github",
"line_count": 2861,
"max_line_length": 141,
"avg_line_length": 27.21321216357917,
"alnum_prop": 0.6068561593690998,
"repo_name": "alvieboy/xtc-base",
"id": "41fd9030734d6215eb944fcad24c6b89e432939e",
"size": "... |
/**
* Licensed under Apache License v2. See LICENSE for more information.
*/
package org.inaetics.remote.itest.util;
import org.osgi.framework.BundleContext;
import org.osgi.framework.Constants;
import org.osgi.service.remoteserviceadmin.EndpointDescription;
import org.osgi.service.remoteserviceadmin.EndpointListene... | {
"content_hash": "be4b4b84c59ffceeb23242b20730ee33",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 105,
"avg_line_length": 33.61666666666667,
"alnum_prop": 0.7337630143777888,
"repo_name": "INAETICS/node-wiring-secure",
"id": "917e1a978d3da7483bbe1f9982e1676c3389f10d",
"... |
"""Provides functionality to interact with fans."""
from datetime import timedelta
import functools as ft
import logging
from typing import List, Optional
import voluptuous as vol
from homeassistant.const import (
SERVICE_TOGGLE,
SERVICE_TURN_OFF,
SERVICE_TURN_ON,
STATE_ON,
)
import homeassistant.help... | {
"content_hash": "2aa324f96bf155718ba3f743e22deab6",
"timestamp": "",
"source": "github",
"line_count": 615,
"max_line_length": 115,
"avg_line_length": 31.53008130081301,
"alnum_prop": 0.6069826208034655,
"repo_name": "turbokongen/home-assistant",
"id": "8d6fcbea2c965805bf540df36b10c7553aa5625a",
"... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head><title></title>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<link rel="stylesheet" type="text/css" href="search... | {
"content_hash": "bb1ef81ae3b554bbf160f0c6ad5b2641",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 121,
"avg_line_length": 39.23076923076923,
"alnum_prop": 0.7068627450980393,
"repo_name": "lucasbrsa/OpenCV-3.2",
"id": "cdb29e71fc37db83b8882fda56f7994de9cfba2b",
"size": ... |
notes-and-todos
===============
## meta-go
- [awesome-go](http://0x434d53.github.io/awesome-go/)
- [libs.club/go](http://libs.club/golang/)
## notes about stuff
- [go patterns](https://sites.google.com/site/gopatterns/)
- [go concurrency](http://www.nada.kth.se/~snilsson/concurrency)
- [learning CS w/ Go](https://gi... | {
"content_hash": "f92c2840aa87f145f7f67ac8e09c6cf9",
"timestamp": "",
"source": "github",
"line_count": 447,
"max_line_length": 149,
"avg_line_length": 59.31543624161074,
"alnum_prop": 0.7363656935958361,
"repo_name": "sbinet/notes-and-todos",
"id": "01e3611a3058e69f0b7330d0ab13388e57c1f54f",
"size... |
package com.hearthsim.test.minion;
import com.hearthsim.card.Card;
import com.hearthsim.card.CharacterIndex;
import com.hearthsim.card.basic.minion.BoulderfistOgre;
import com.hearthsim.card.basic.minion.DragonlingMechanic;
import com.hearthsim.card.basic.minion.RaidLeader;
import com.hearthsim.exception.HSException;
... | {
"content_hash": "3a69acea77e2c444c7f132632e7a3cda",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 102,
"avg_line_length": 48.76229508196721,
"alnum_prop": 0.7281896116994453,
"repo_name": "slaymaker1907/HearthSim",
"id": "f92e1acc72d73156e1dfa33aee3c58b197f2df58",
"siz... |
package com.twitter.finagle.validate
import com.twitter.finagle.load.{Event, LoadGenerator}
import com.twitter.finagle.service.TimeoutFilter
import com.twitter.util.{Duration, Future, MockTimer, Time, Try}
import com.twitter.conversions.time.longToTimeableNumber
import java.io.{BufferedReader, InputStreamReader}
impor... | {
"content_hash": "e68f90f3ed43da3a9651ec044396959f",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 84,
"avg_line_length": 32,
"alnum_prop": 0.6491477272727273,
"repo_name": "a-manumohan/finagle",
"id": "b19f6f1c0932743f0408e172cc03b3e4d393909c",
"size": "2112",
"binary... |
function updateHC2(arg){
if (arguments.length==0) arg='%'; // TODO: Set default to Raw Coal (?)
var _pit = alasql("SELECT KNAME,SUM(TOTAL) AS TOTAL FROM ? WHERE MAKTX LIKE '"+arg+"%' GROUP BY KNAME ORDER BY KNAME",[actual]);
var act_pit = [];
var act_pit_dd = [];
var drilldown = [];
var temp = [];
var currentID;... | {
"content_hash": "0cd489d3b0b8e3255057d55de06ee247",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 129,
"avg_line_length": 29.015384615384615,
"alnum_prop": 0.6166489925768823,
"repo_name": "Izzur/mis-bc",
"id": "bacbe3471cf6977fb883bb4854874658bb629ca9",
"size": "1886",... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head><title></title>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<link rel="stylesheet" type="text/css" href="searc... | {
"content_hash": "7c9c800936ed565c1025b493dc9b8070",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 122,
"avg_line_length": 39.55555555555556,
"alnum_prop": 0.7036516853932584,
"repo_name": "MikeHeiber/KMC_Lattice",
"id": "d1b79b97ace2c16b2bcdecda286f7e788e483b47",
"size"... |
package org.openntf.red.design;
/**
* <i>Initial code borrowed from OpenNTF Domino API.</i><br>
* @author jgallagher
*
*/
public interface XPage extends XspResource {
}
| {
"content_hash": "9c64989f14b7d8ec3306bc8954a725e9",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 60,
"avg_line_length": 17.6,
"alnum_prop": 0.6988636363636364,
"repo_name": "hyarthi/project-red",
"id": "5330438b0cce8661fbdae412aca27ccfdac78d3a",
"size": "176",
"binar... |
/* ========================================================================
Component: media-queries
========================================================================== */
/* ========================================================================
Component: layout
=====================================... | {
"content_hash": "4ebbeae33d66c24d914bd0ea912d58be",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 125,
"avg_line_length": 42.456,
"alnum_prop": 0.5423026191822121,
"repo_name": "amorwilliams/gst",
"id": "b99c457eeaac52abca5d65c9804ccc1f431986ef",
"size": "5307",
"bin... |
<!DOCTYPE html>
<script src="../../../../media/media-file.js"></script>
<script src="../../../../media/video-paint-test.js"></script>
<script src="../../../../media/media-controls.js"></script>
<script src="../../../../media/overflow-menu.js"></script>
<meta name="color-scheme" content="light dark">
<body style="paddi... | {
"content_hash": "cfcab5a23d9ad1274622d5bf1b9591b1",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 78,
"avg_line_length": 40.52173913043478,
"alnum_prop": 0.6083690987124464,
"repo_name": "chromium/chromium",
"id": "141fbef70f9c16bb2a493ec7442f6df4a8478219",
"size": "932... |
class CudaDriverError(Exception):
pass
class CudaRuntimeError(Exception):
pass
class CudaSupportError(ImportError):
pass
class NvvmError(Exception):
def __str__(self):
return '\n'.join(map(str, self.args))
class NvvmSupportError(ImportError):
pass
| {
"content_hash": "ff4ba802b87ec93fa04897712e6c185d",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 45,
"avg_line_length": 14.947368421052632,
"alnum_prop": 0.6936619718309859,
"repo_name": "gmarkall/numba",
"id": "c82cebd545364a8bc95900d0ffb2dbee6c625f82",
"size": "284",... |
using System;
using System.Collections.Generic;
namespace work.bacome.imapclient
{
internal partial class cBytesCursor
{
internal bool GetRFC822Domain(out string rDomain)
{
if (GetDomainLiteral(out rDomain)) return true;
var lBookmark = Position;
List<stri... | {
"content_hash": "f324fbbfe0d31c32a350768f15e8a794",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 98,
"avg_line_length": 27.314285714285713,
"alnum_prop": 0.5251046025104602,
"repo_name": "bacome/imapclient",
"id": "0a148a434ac3f1132e96cd5c475cee6a350743e2",
"size": "95... |
"""Simple textbox editing widget with Emacs-like keybindings."""
import curses, ascii
def rectangle(win, uly, ulx, lry, lrx):
"""Draw a rectangle with corners at the provided upper-left
and lower-right coordinates.
"""
win.vline(uly+1, ulx, curses.ACS_VLINE, lry - uly - 1)
win.hline(uly, ulx+1, cu... | {
"content_hash": "4e1db8ad18018077697c103dd26c50ec",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 83,
"avg_line_length": 38.225433526011564,
"alnum_prop": 0.5024950854377741,
"repo_name": "MalloyPower/parsing-python",
"id": "28d78dd5cd382cae86f8b0b94b6820555a800681",
"... |
package io.dropwizard.jersey.optional;
import io.dropwizard.jersey.AbstractJerseyTest;
import io.dropwizard.jersey.DropwizardResourceConfig;
import org.junit.jupiter.api.Test;
import javax.ws.rs.DefaultValue;
import javax.ws.rs.FormParam;
import javax.ws.rs.GET;
import javax.ws.rs.NotFoundException;
import javax.ws.r... | {
"content_hash": "941b94c70547f1653c772257dfa62655",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 130,
"avg_line_length": 35.71666666666667,
"alnum_prop": 0.6630891273915073,
"repo_name": "mosoft521/dropwizard",
"id": "3decd90e08affb294369bc4d8c91d5096906c0c8",
"size":... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.