text stringlengths 2 1.04M | meta dict |
|---|---|
#include "esl_config.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_ENDIAN_H
#include <endian.h>
#endif
#include "easel.h"
#ifdef eslAUGMENT_ALPHABET
#include "esl_alphabet.h" /* alphabet aug adds digital sequences ... | {
"content_hash": "96e0b68e3f2d1d20ed2290325d6698e9",
"timestamp": "",
"source": "github",
"line_count": 3285,
"max_line_length": 134,
"avg_line_length": 30.618569254185694,
"alnum_prop": 0.5726074247877354,
"repo_name": "ctSkennerton/msaview",
"id": "31618c5b00efe9f6e9ef912b668f4abbd46e2832",
"size... |
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { persianNumber } from '../utils/persian';
import { leftArrow, rightArrow } from '../utils/assets';
export default class Heading extends Component {
static propTypes = {
month: PropTypes.object.isRequired,
isGregorian: PropT... | {
"content_hash": "5a1d8d89604c7f6d9e593150fe750ad3",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 84,
"avg_line_length": 29.355263157894736,
"alnum_prop": 0.554011653966831,
"repo_name": "mberneti/react-datepicker2",
"id": "1cc724e425c04c789ba82281594afaf0190431c3",
"si... |
#pragma once
#include "VulkanBackend/vkBaseRenderPass.h"
namespace hyp_backend {
BaseRenderPass::BaseRenderPass(hypatia::SceneGraph* sceneGraph)
:m_SceneGraph(sceneGraph)
{
InitRenderPass();
}
void BaseRenderPass::InitRenderPass()
{
VkAttachmentDescription colorAttachment{};
colorAttachment.format = hy... | {
"content_hash": "e8322f040f8c7cd25bad3160a6e8b5c5",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 148,
"avg_line_length": 34.01923076923077,
"alnum_prop": 0.7733182589033352,
"repo_name": "hypatia-engine/hypatia",
"id": "6a4d5d3abcabc9aa84421b3e7cd9e2bfe195f6c4",
"size"... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.addPropTypes = exports.Options = exports.Custom = undefined;
var _react = require('react');
var _keys = require('./keys');
var CustomShape = {};
var Custom = _react.PropTypes.shape(CustomShape);
// children can be an array or an ... | {
"content_hash": "ecf41f12ac313c7ffe0a04325b36607f",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 134,
"avg_line_length": 31.275,
"alnum_prop": 0.7402078337330136,
"repo_name": "sylvaindethier/react-confprops",
"id": "4c21a882f8e7bc12a941db5db567cf50e1b48aa1",
"size": "... |
namespace HarshPoint.Provisioning
{
public enum HarshProvisionerRecordType
{
Other,
Added,
Removed,
Exists,
DoesNotExist,
Changed,
Unchanged
}
} | {
"content_hash": "8374bdab02aa94b1af3e6d886f00a617",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 42,
"avg_line_length": 16.384615384615383,
"alnum_prop": 0.5539906103286385,
"repo_name": "NaseUkolyCZ/HarshPoint",
"id": "4f8d106fec75e1168423dafd9579e60e15078fcd",
"size"... |
module Arrow
class Array
include Enumerable
include GenericFilterable
include GenericTakeable
class << self
def new(*args)
_builder_class = builder_class
return super if _builder_class.nil?
return super unless _builder_class.buildable?(args)
_builder_class.build(... | {
"content_hash": "6d699f283cc8bbdc5a787967e4fea897",
"timestamp": "",
"source": "github",
"line_count": 217,
"max_line_length": 93,
"avg_line_length": 29.87557603686636,
"alnum_prop": 0.5779731605738084,
"repo_name": "cpcloud/arrow",
"id": "c6c0daaec58b75679e9bb78e6adff9b47df25c00",
"size": "7269",... |
import asyncio
import discord
import os
from datetime import datetime
from discord.ext import commands
from Cogs import DisplayName
# This is the Torment module. It spams the target with pings for awhile
class Torment:
# Init with the bot reference, and a reference to the settings var
def __init_... | {
"content_hash": "e5f6f31107cc3266ae667396d8cbc607",
"timestamp": "",
"source": "github",
"line_count": 412,
"max_line_length": 117,
"avg_line_length": 28.686893203883496,
"alnum_prop": 0.6380404433539216,
"repo_name": "TheMasterGhost/CorpBot",
"id": "1bdaacf730795b872322c0b3ca8cd3d758f0c2f4",
"siz... |
namespace Poco {
namespace JSON {
class JSON_API ParseHandler : public Handler
/// Provides a default handler for the JSON parser.
/// This handler will build up an object or array based
/// on the handlers called by the parser.
{
public:
ParseHandler(bool preserveObjectOrder = false);
/// Creates the ParseHand... | {
"content_hash": "ebe62ab2d01a1ff97754b087bc89cdc8",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 69,
"avg_line_length": 17.95035460992908,
"alnum_prop": 0.683919399446859,
"repo_name": "onlycoder/openmeeting2",
"id": "e44ee2287d01b3c0b1e891fa905703b9a73617c2",
"size":... |
<!DOCTYPE html>
<!--
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
-->
<html>
<head>
<meta charset="utf-8">
<title>Massive inline editing — CKEditor Sample</title>
<script src="../ckeditor.js"></script>
<scrip... | {
"content_hash": "64d7b3fee9cfc0a112a223eff29c9576",
"timestamp": "",
"source": "github",
"line_count": 311,
"max_line_length": 452,
"avg_line_length": 32.18649517684887,
"alnum_prop": 0.6520479520479521,
"repo_name": "apo-j/Projects_Working",
"id": "ba9c3beb1cc4b7e08677639c597c94278927c035",
"size... |
package priorities
import (
"reflect"
"testing"
v1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/resource"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/client-go/informers"
clientsetfake "k8s.io/client-go/kubernetes/fake"
priorityutil "k8s.io/kubernetes/pkg/scheduler/algorithm/priorities/util"
... | {
"content_hash": "f1c7b0b305662bc964a64b16b0d052f0",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 81,
"avg_line_length": 26.25595238095238,
"alnum_prop": 0.6542734073906143,
"repo_name": "njuicsgz/kubernetes-1",
"id": "b1032785420cf8214377e3bc75eff420990a1b94",
"size":... |
set -e
if [ "${1:0:1}" = '-' ]; then
set -- aurora-scheduler "$@"
fi
if [ "$1" = 'aurora-scheduler' ]; then
if ! [ -n "$(ls -A $LOGDB_FILE_PATH)" ]; then
echo "Creating $LOGDB_FILE_PATH ..."
mkdir -p "$LOGDB_FILE_PATH"
mesos-log initialize --path="$LOGDB_FILE_PATH"
chown -R aurora:aurora "$AURORA_HOME"... | {
"content_hash": "896487feb39f778f84c09371220306b6",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 678,
"avg_line_length": 59.94117647058823,
"alnum_prop": 0.6947988223748773,
"repo_name": "kbokh/ua-dockerfiles",
"id": "f369e290adfa74a29d5f9f196a75df2389cb2b0b",
"size": ... |
/**
*/
#ifndef __ARDUINO_CUBE_EFFECTS_RIPPLES_H__
#define __ARDUINO_CUBE_EFFECTS_RIPPLES_H__ 1
#include <Effect.h>
#include <Cube.h>
class Ripples: public Effect {
public:
Ripples(Cube *cube, unsigned int iterations, unsigned int iterationDelay);
virtual bool interate();
};
#endif /* __ARDUINO_CUBE_EFFEC... | {
"content_hash": "711e7fcf379aa158c238af4b253e5e80",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 78,
"avg_line_length": 18.77777777777778,
"alnum_prop": 0.6863905325443787,
"repo_name": "dalmirdasilva/ArduinoCube",
"id": "fee264f999ec0884c114044cef05601ced4d1977",
"siz... |
<!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/html; charset=utf-8" />
<title>ELC: Introduction — EarthLife Consortium 0.1 docume... | {
"content_hash": "d66ac6d9cb7572b707ba81f649e7b97c",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 585,
"avg_line_length": 52.14857142857143,
"alnum_prop": 0.7114836730221346,
"repo_name": "EarthLifeConsortium/elc_api",
"id": "688c67216546d7f7b061bee2661966f537042810",
... |
<!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"/>
<meta name="generator" con... | {
"content_hash": "7b8e5bcb0bf83c6635f395c0f51500ce",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 322,
"avg_line_length": 78.65873015873017,
"alnum_prop": 0.6799515689637776,
"repo_name": "paoloburelli/camon",
"id": "04ff040fc49cfc9d181728eb03d4633fe49465c1",
"size": "... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "a3b6b762d56285f1abcc4e94582d697b",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "8ec8024273df1c623391d484b42550c23792c72c",
"size": "178... |
import java.io.IOException;
import org.apache.hadoop.io.*;
import org.apache.hadoop.mapred.*;
//vv JoinRecordMapper
public class JoinRecordMapper extends MapReduceBase
implements Mapper<LongWritable, Text, TextPair, Text> {
private NcdcRecordParser parser = new NcdcRecordParser();
public void map(LongWrita... | {
"content_hash": "52ae3c43d34428daf44f7978a7aa0c25",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 68,
"avg_line_length": 29.473684210526315,
"alnum_prop": 0.7375,
"repo_name": "renmeng8875/projects",
"id": "789475c59eb71f393928d69fec9838b373c189fc",
"size": "642",
"bi... |
<!DOCTYPE html>
<html>
<head>
<title>A Visit from St. Nicholas (Twas the Night Before Christmas) | Clement Clarke Moore | Lit2Go ETC</title>
<link rel="stylesheet" href="http://etc.usf.edu/lit2go/css/screenless.css" type="text/css" media="screen" title="no title" charset="utf-8">
<link rel="stylesheet" hr... | {
"content_hash": "d886430f633ab6d4cc62392b4eab5188",
"timestamp": "",
"source": "github",
"line_count": 200,
"max_line_length": 270,
"avg_line_length": 42.67,
"alnum_prop": 0.5849543004452777,
"repo_name": "POSBIGDATA/HtmlToText",
"id": "3d9b8d06694c8d27eedf7a8cc233391fa1e7a379",
"size": "8544",
... |
#region S# License
#endregion S# License
namespace SampleTransaq
{
using System;
using System.Collections.Generic;
using System.Windows.Media;
using StockSharp.Algo.Candles;
using StockSharp.Transaq;
using StockSharp.Xaml.Charting;
partial class ChartWindow
{
private readonly TransaqTrader _trader;
priv... | {
"content_hash": "20932892f15cf85abf69b006c668b6e5",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 147,
"avg_line_length": 23.80597014925373,
"alnum_prop": 0.7335423197492164,
"repo_name": "Shadance/StockSharp",
"id": "0b413b5f9a5ededed109142b42fb70f77e051de6",
"size": "... |
<Alloy>
<Window class="container" layout="vertical" id="signinWin">
<View id="header">
<View id="appIcon" onClick="Alloy.Globals.loadIndex"></View>
<Label id="appTitle">TeamSync</Label>
</View>
<Label id="pageTitle" top="10">Sign In</Label>
<TextField id="username" top="25" width="75%" height="60" ... | {
"content_hash": "d55dd0a01dafdcc5a561f5b533e28b9e",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 103,
"avg_line_length": 44.06666666666667,
"alnum_prop": 0.6656580937972768,
"repo_name": "mattjb15/TeamSync",
"id": "f36bbb75db784e29f926e3ad1d9adabf71f9f48d",
"size": "66... |
describe Stupidedi::Reader::DelegatedInput do
using Stupidedi::Refinements
def mkinput(*args)
Stupidedi::Reader::Input.build(*args)
end
describe "#offset" do
it "returns the value given to the constructor" do
expect(mkinput("", 10, 20, 30).offset).to be == 10
end
end
describe "#line" do... | {
"content_hash": "58e90ba79e81e1547a3c8caa8d4eab4b",
"timestamp": "",
"source": "github",
"line_count": 281,
"max_line_length": 95,
"avg_line_length": 28.483985765124554,
"alnum_prop": 0.5727136431784108,
"repo_name": "irobayna/stupidedi",
"id": "c79cf1b57dc46e1ad036afe541046e6f845f59a7",
"size": "... |
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs/Observable';
import { AngularFireAuth } from 'angularfire2/auth';
import { AngularFireDatabase } from 'angularfire2/database';
import * as firebase from 'firebase';
import { Pw } from '../../shared';
@Injectable()
export class PwService {
... | {
"content_hash": "50962d146e1f9da200f5c47955d52a57",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 81,
"avg_line_length": 30.333333333333332,
"alnum_prop": 0.6712454212454212,
"repo_name": "zurfyx/memories",
"id": "78b2447fc8b4ea280bfc9037252f3d608ea5b248",
"size": "1092... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>equations: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... | {
"content_hash": "c3124460422fedfbc5607a98a1c3700d",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 157,
"avg_line_length": 40.5722891566265,
"alnum_prop": 0.5374907201187825,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "10b5e3c2becae1a5d0c5f7ea00a792c86dc03324",
... |
<?php
namespace osCommerce\OM\Core\Site\Shop\Application\Account\Action\AddressBook\Create;
use osCommerce\OM\Core\ApplicationAbstract;
use osCommerce\OM\Core\Registry;
use osCommerce\OM\Core\OSCOM;
use osCommerce\OM\Core\Site\Shop\AddressBook;
class Process {
public static function execute(Applicat... | {
"content_hash": "7b8bace61906b8a605482263443316a2",
"timestamp": "",
"source": "github",
"line_count": 154,
"max_line_length": 148,
"avg_line_length": 42.467532467532465,
"alnum_prop": 0.555045871559633,
"repo_name": "osCommerce/oscommerce",
"id": "62fe2eeca4bce60065752a6e9dd74d017ec3bb37",
"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">
<meta name="description" content="Personal webpage">
<meta name="author" content="Niels Vermeulen">
<title>... | {
"content_hash": "9180683b790f6a0c70195f88e5121446",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 122,
"avg_line_length": 30.166666666666668,
"alnum_prop": 0.6552486187845303,
"repo_name": "VermeulenNiels/vermeulenniels.github.io",
"id": "49dc8dbc8cbfabf5374b3378db12a9807... |
/*
* Do not modify this file. This file is generated from the sts-2011-06-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.SecurityToken.Model
{... | {
"content_hash": "bd23481bb55f51cd9ffe86e26404756d",
"timestamp": "",
"source": "github",
"line_count": 295,
"max_line_length": 163,
"avg_line_length": 46.87457627118644,
"alnum_prop": 0.6352328608620191,
"repo_name": "mwilliamson-firefly/aws-sdk-net",
"id": "697e4f2d3aab105042beeb210c6f5dc8f3be796e"... |
steal(function(){
// fragment.js
// ---------
// _DOM Fragment support._
var table = document.createElement('table'),
tableRow = document.createElement('tr'),
containers = {
'tr': document.createElement('tbody'),
'tbody': table, 'thead': table, 'tfoot': table,
'td': tableRow, 'th': tableRow,
... | {
"content_hash": "f94d68f2da8b3ebf821b89954b7a3049",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 72,
"avg_line_length": 30.754716981132077,
"alnum_prop": 0.6128834355828221,
"repo_name": "simonsandglaz/canjs",
"id": "efd7c65a8116e9d701e6ea3de526da1ff2d0b137",
"size": "... |
<?php
namespace PHPExiftool\Driver\Tag\KodakIFD;
use JMS\Serializer\Annotation\ExclusionPolicy;
use PHPExiftool\Driver\AbstractTag;
/**
* @ExclusionPolicy("all")
*/
class WBRGBLevelsAuto extends AbstractTag
{
protected $Id = 2125;
protected $Name = 'WB_RGBLevelsAuto';
protected $FullName = 'Kodak:... | {
"content_hash": "7ae12f2e9c50edfec982d1c91fdfef42",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 50,
"avg_line_length": 16.342105263157894,
"alnum_prop": 0.6666666666666666,
"repo_name": "bburnichon/PHPExiftool",
"id": "5996d73d96071b0e0bdb30022afffffe4093061f",
"size"... |
package org.sagebionetworks.repo.model.dao.principal;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import org.junit.Test;
import org.sagebionetworks.repo.model.principal.AliasEnum;
public class AliasEnumTest {
@Test
public void testValidateAliasNull() {
// Each typ... | {
"content_hash": "53cab2dd7d7f6174dc1776dec7fc07fc",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 92,
"avg_line_length": 31.05109489051095,
"alnum_prop": 0.7186177715091678,
"repo_name": "xschildw/Synapse-Repository-Services",
"id": "509f165e25c46cb6b171afc39ab49f110d309... |
// SplashPotionEntity.h
// Declares the cSplashPotionEntity class representing a splash potion that has been thrown
#pragma once
#include "ProjectileEntity.h"
#include "EntityEffect.h"
#include "../World.h"
#include "Entity.h"
// tolua_begin
class cSplashPotionEntity :
public cProjectileEntity
{
typedef ... | {
"content_hash": "7ba4d3147607871c251e6cdfc3d68ec8",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 111,
"avg_line_length": 22.967741935483872,
"alnum_prop": 0.7059925093632958,
"repo_name": "Altenius/cuberite",
"id": "85aa5046fce8279e891ac436b1b0b34bdf2e3434",
"size": "2... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<artifactId>OOP</artifactId>
<groupId>PartII</groupId>
<... | {
"content_hash": "2ac56c64ea04f2f6f1dc1c34a3697832",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 201,
"avg_line_length": 29.607843137254903,
"alnum_prop": 0.5754966887417219,
"repo_name": "SergeyZhernovoy/Java-education",
"id": "81c084b4695f3829510dc8d1c285f315490d2dcf",... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>avr-libc: strchr_P.S File Reference</title>
<link href="dox.css" rel="stylesheet" type="text/css">
</head>
<body>
<center>
<table width="80%">
<tr... | {
"content_hash": "e41aa5ff22cf06aa9bcb01031fc2afa4",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 114,
"avg_line_length": 37.02439024390244,
"alnum_prop": 0.6317523056653491,
"repo_name": "UECIDE/UECIDE_data",
"id": "6c97c5ea16aa2b0110d67ceb9a36c6da979c96a1",
"size": "1... |
using System.Collections.Generic;
using System.Reflection;
namespace DataMiningSharp.Core
{
internal class Variable<TEntity, TValueKey>
{
public Variable(PropertyInfo propertyInfo, VariableDomain<TEntity, TValueKey> variableDomain)
{
Property = propertyInfo;
VariableDom... | {
"content_hash": "8d33d241939cfb48bd05f79325d844ae",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 101,
"avg_line_length": 28.82608695652174,
"alnum_prop": 0.6757164404223228,
"repo_name": "rjmurillo/DataMiningSharp",
"id": "81c3a265e111661e704be4bb91251873da801116",
"si... |
'use strict'
var mongoose = require('mongoose');
var Artist = new mongoose.Schema({
_id: {type: String, required: true},
albums: {type: [String], ref: "Album", default: undefined},
composedTracks: {type: [String], ref: "Track", default: undefined},
lyricsTracks: {type: [String], ref: "Track", default: undefin... | {
"content_hash": "b6a4d4605708dddf1fa011ae4112773c",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 69,
"avg_line_length": 32.46666666666667,
"alnum_prop": 0.675564681724846,
"repo_name": "catedrasaes-umu/NoSQLDataEngineering",
"id": "0cf99d01f528bf18d82a31c6a863575c0c31bfc... |
<?php
declare(strict_types=1);
namespace Moka\Plugin\Prophecy;
use Moka\Exception\MissingDependencyException;
use Moka\Exception\MockNotCreatedException;
use Moka\Plugin\Prophecy\Token\MaxPriorityToken;
use Moka\Strategy\AbstractMockingStrategy;
use Moka\Stub\MethodStub;
use Prophecy\Exception\Prophecy\ObjectProphecy... | {
"content_hash": "2af7fa1b61e3bd7e036195f480ca0de3",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 74,
"avg_line_length": 25.306122448979593,
"alnum_prop": 0.6221774193548387,
"repo_name": "facile-it/moka",
"id": "319e7382ca488e0639fc6850fde3586d3431574a",
"size": "2480"... |
<article>
<h1>JSP</h1>
<ul style="margin: 0;">
<li><a href="/jsp/How-to-install-Tomcat">Tomcat Install</a></li>
<li><a href="/jsp/Namecard-Webapp">Namecard Web application</a></li>
<li><a href="/jsp/Web-Application">Web Application?</a></li>
<li><a href="/jsp/Creating-a-new-web-application">... | {
"content_hash": "1dfd7c2b6f6a6bc2fb51f9c5053e3e31",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 110,
"avg_line_length": 39.95454545454545,
"alnum_prop": 0.6075085324232082,
"repo_name": "kimjonghoon/GAEJavaProgramming",
"id": "210ea648f04ddc4bab7e6ba4d9c81b16eb548531",
... |
package com.ltsllc.miranda.user;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.reflect.TypeToken;
import com.ltsllc.clcl.EncryptionException;
import com.ltsllc.miranda.Message;
import com.ltsllc.miranda.Panic;
import com.ltsllc.miranda.clientinterface.MirandaException;
impor... | {
"content_hash": "56f313703907f5e8ce2de041735991d5",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 132,
"avg_line_length": 29.907692307692308,
"alnum_prop": 0.6327160493827161,
"repo_name": "miranda-messaging/miranda",
"id": "14f6aa038feb8e5cb37c52a507bad433dcd9660c",
"... |
package org.knowm.xchange.paymium.service;
import java.io.IOException;
import org.knowm.xchange.Exchange;
import org.knowm.xchange.paymium.dto.marketdata.PaymiumMarketDepth;
import org.knowm.xchange.paymium.dto.marketdata.PaymiumTicker;
import org.knowm.xchange.paymium.dto.marketdata.PaymiumTrade;
public class Paymiu... | {
"content_hash": "335bb62f35f2d487968b14944d01ddd2",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 72,
"avg_line_length": 26.967741935483872,
"alnum_prop": 0.7739234449760766,
"repo_name": "andre77/XChange",
"id": "38e21254554bcb930f8173e0f324820cd4896ab9",
"size": "836"... |
module Eqn
module Function
# Node class for the if function.
class If < EqnNode
def value(vars = {})
comp_val = elements.shift.value(vars)
ls = elements.shift.value(vars)
rs = elements.shift.value(vars)
comp_val ? ls : rs
end
end
# Base node class for roun... | {
"content_hash": "fa5ae635829b678a1282896590bf03f4",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 101,
"avg_line_length": 24.3,
"alnum_prop": 0.6024691358024692,
"repo_name": "schneidmaster/eqn",
"id": "c81cd85cba7c75b248fc5d850c3ad4b608e06c08",
"size": "1215",
"binar... |
/* String handling <string.h>
This file is part of the Public Domain C Library (PDCLib).
Permission is granted to use, modify, and / or redistribute at will.
*/
#ifndef _PDCLIB_STRING_H
#define _PDCLIB_STRING_H _PDCLIB_STRING_H
#include "_PDCLIB_int.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifndef _PDCLIB_SI... | {
"content_hash": "b77762b47596e09bb8cdff3b1672f051",
"timestamp": "",
"source": "github",
"line_count": 216,
"max_line_length": 105,
"avg_line_length": 36.995370370370374,
"alnum_prop": 0.7154298585909148,
"repo_name": "superusercode/RTC3",
"id": "8e4db1e2825a2243611ffc91ae90b954d26cfcd9",
"size": ... |
// flow-typed signature: 2966973c5797138689143f1074ad1f80
// flow-typed version: <<STUB>>/fela-plugin-placeholder-prefixer_v^4.2.2/flow_v0.38.0
/**
* This is an autogenerated libdef stub for:
*
* 'fela-plugin-placeholder-prefixer'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, w... | {
"content_hash": "cc8224fd937ef52675276b892d3f916f",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 113,
"avg_line_length": 37.13333333333333,
"alnum_prop": 0.7636146020347098,
"repo_name": "TheoMer/este",
"id": "963f1a952d8f33c35a3bfc70d97d48223c5410ca",
"size": "1671",
... |
using namespace arangodb;
MMFilesDocumentOperation::MMFilesDocumentOperation(LogicalCollection* collection,
TRI_voc_document_operation_e type)
: _collection(collection),
_tick(0),
_type(type),
_status(StatusType::CREATED) {
}
MMFilesDocumentOperatio... | {
"content_hash": "efdde839c045faf937cc3f6836f0b81d",
"timestamp": "",
"source": "github",
"line_count": 161,
"max_line_length": 105,
"avg_line_length": 32.22360248447205,
"alnum_prop": 0.6495759444872783,
"repo_name": "joerg84/arangodb",
"id": "3f9168ad81792081b43c880d76443208074f02a3",
"size": "64... |
using base::android::ConvertUTF8ToJavaString;
namespace base {
bool RegisterContentUriUtils(JNIEnv* env) {
return RegisterNativesImpl(env);
}
bool ContentUriExists(const FilePath& content_uri) {
JNIEnv* env = base::android::AttachCurrentThread();
ScopedJavaLocalRef<jstring> j_uri =
ConvertUTF8ToJavaStrin... | {
"content_hash": "1b5d45d193d593045dd3438fe3dc85d4",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 68,
"avg_line_length": 33,
"alnum_prop": 0.7235772357723578,
"repo_name": "was4444/chromium.src",
"id": "31f7b4fffbf050f1500618bf7145a5285a09d45e",
"size": "1717",
"binar... |
#include "opencv2/objdetect/objdetect.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
//#include <mgl2/mgl.h>
#include <iostream>
#include <queue>
#include <stdio.h>
#include "constants.h"
#include "helpers.h"
// Pre-declarations
cv::Mat floodKillEdges(cv::Mat &mat);
#pragma mark... | {
"content_hash": "b267b17010d903ddd5b04ca5fbd6a6fe",
"timestamp": "",
"source": "github",
"line_count": 228,
"max_line_length": 105,
"avg_line_length": 30.903508771929825,
"alnum_prop": 0.6197842747658245,
"repo_name": "tylerhudd/Baby-Gaze-1",
"id": "328d3c04689e06d5744437c071847c85a2754e62",
"size... |
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="ivy-report.xsl"?>
<ivy-report version="1.0">
<info
organisation="default"
module="djlp-build"
revision="0.1-SNAPSHOT"
extra-scalaVersion="2.10"
extra-sbtVersion="0.13"
conf="plugin"
confs="compile, runtime, test, provided, opti... | {
"content_hash": "3633586226f8afeebdc9591de56ea3a7",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 143,
"avg_line_length": 32.666666666666664,
"alnum_prop": 0.7081632653061225,
"repo_name": "zj-lingxin/jdlp",
"id": "dc5896ee07521ddb6b2626385fef952749c7718e",
"size": "490... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="firmware_curr_step_title_margin_top">100dp</dimen>
<dimen name="firmware_progress_bar_margin_top">5dp</dimen>
<dimen name="firmware_message_margin_top">1dp</dimen>
<dimen name="firmware_progress_bar_width">400dp</dimen>
<dimen name="fir... | {
"content_hash": "df7f7d487a0c7c1f1eb809c8eb74efa3",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 67,
"avg_line_length": 50.84615384615385,
"alnum_prop": 0.708018154311649,
"repo_name": "fblandroidhackathon/ardrone-sdk",
"id": "8ddead58d3a93a4797e09fa40956e5755cbb85e7",
... |
<?php
namespace ActiveCollab\Resistance\Storage\Field;
/**
* @package ActiveCollab\Resistance\Storage\Field
*/
class TimestampField extends IntegerField
{
/**
* @param mixed $value
* @return integer
*/
public function cast($value)
{
if (is_int($value)) {
return... | {
"content_hash": "e8c05ab0de0177b5cca7e88e8255797b",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 51,
"avg_line_length": 20.347826086956523,
"alnum_prop": 0.5576923076923077,
"repo_name": "activecollab/resistance",
"id": "5ceae515af7c6719d373e556cd84dc51e2259644",
"size... |
<?php
namespace Jaime\estadisticaBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class JaimeestadisticaBundle extends Bundle
{
}
| {
"content_hash": "d5bcc838b9645544950b7d147857555f",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 47,
"avg_line_length": 15.555555555555555,
"alnum_prop": 0.8214285714285714,
"repo_name": "pacinete/estadisticas",
"id": "ffe5e928e2b42d40d7e1cda5f9b2f803b7c29263",
"size": ... |
<?php
/**
* @author Christian Wygoda
*/
namespace FOM\UserBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
class Configuration implements ConfigurationInterface {
/**
* {@inheritDoc}
*/
public... | {
"content_hash": "e7e713702a9f78d143db8e69f56cea7d",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 80,
"avg_line_length": 35.943820224719104,
"alnum_prop": 0.43201000312597687,
"repo_name": "mapbender/fom",
"id": "e6f574a8047b8c75d5b19a8a2dce1396841ac29b",
"size": "3199"... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE191_Integer_Underflow__short_rand_multiply_64b.c
Label Definition File: CWE191_Integer_Underflow.label.xml
Template File: sources-sinks-64b.tmpl.c
*/
/*
* @description
* CWE: 191 Integer Underflow
* BadSource: rand Set data to result of rand()
* GoodSource: ... | {
"content_hash": "71b54f514f81d40cc34e0beab1a1bf36",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 113,
"avg_line_length": 33.077922077922075,
"alnum_prop": 0.6313309776207303,
"repo_name": "maurer/tiamat",
"id": "e35d0b0148fea40c6645779a97739c93040aa43e",
"size": "2547"... |
using SpecialtySelector.Data.SpecialtySelectorEnums;
using System;
using System.ComponentModel.DataAnnotations;
namespace SpecialtySelector.Models.Specialties
{
public class UpdateSpecialty
{
public int Id { get; set; }
[Required]
[MaxLength(1000)]
[MinLength(3)]
publi... | {
"content_hash": "0a416dcfe898a268c8f3085611256ffd",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 87,
"avg_line_length": 27.40625,
"alnum_prop": 0.636259977194983,
"repo_name": "PhilipYordanov/SpecialtyChooser",
"id": "0a3b33ac86798ac30101ee823708566719af53dd",
"size": ... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_51) on Sat Jul 27 15:19:45 BST 2013 -->
<TITLE>
PRET (Glub Tech Secure FTP Bean)
</TITLE>
<META NAME="date" CONTENT="2013-07-27">
<LINK REL ="style... | {
"content_hash": "790fe1808dc02d8637095a442386c002",
"timestamp": "",
"source": "github",
"line_count": 276,
"max_line_length": 177,
"avg_line_length": 36.94927536231884,
"alnum_prop": 0.6082565208864483,
"repo_name": "robinpowell24/secureftp",
"id": "61cc47cd5cfd459721cf7a3073be4887615a3de8",
"siz... |
<?php
namespace Application\Model;
use Zend\InputFilter\Factory as InputFactory;
use Zend\InputFilter\InputFilter;
use Zend\InputFilter\InputFilterAwareInterface;
use Zend\InputFilter\InputFilterInterface;
class privacypolicydeveloper
{
public $id;
public $subheader;
public $description;
public function exc... | {
"content_hash": "dc75006fde8505f088981f7f0121bb66",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 91,
"avg_line_length": 19.916666666666668,
"alnum_prop": 0.6317991631799164,
"repo_name": "PoulamiDelgence/First-Repo",
"id": "010aaa52146671af72cb01a38172b971f5555c29",
"s... |
package com.pushtorefresh.storio.test;
import org.junit.Test;
import java.util.concurrent.atomic.AtomicInteger;
import rx.Observable;
import rx.functions.Action1;
import static junit.framework.Assert.fail;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.times;
import static org.mockito.Moc... | {
"content_hash": "66250bf9ae3cb40f226645367326b1bf",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 83,
"avg_line_length": 34.09803921568628,
"alnum_prop": 0.6359976998274871,
"repo_name": "0359xiaodong/storio",
"id": "9ed11f5ec9cc31faa36342d6334f36fada953006",
"size": "1... |
namespace content {
namespace {
const char kPeerConnectionHtml[] = "/media/peerconnection-call.html";
} // namespace
// Disable these test cases for Android since in some bots, there exists only
// the loopback interface.
#if defined(OS_ANDROID)
#define MAYBE_WebRtcBrowserIPPermissionGrantedTest \
DISABLED_WebRt... | {
"content_hash": "6aaf2e2aab7ad15cd5f4d07dfdb06195",
"timestamp": "",
"source": "github",
"line_count": 161,
"max_line_length": 80,
"avg_line_length": 39.34782608695652,
"alnum_prop": 0.780741910023678,
"repo_name": "highweb-project/highweb-webcl-html5spec",
"id": "9b05019e40f81b68264f782b6f9caed3734... |
/**
*
* TODO: Some quick way of jumping to the individual methods when you're on a class -- would expect a sub-navigation under the class when you're under it.
* TODO: Consider writing a template for JSDoc generation
*/
/**
* TODO: Jafar things in here do not exist in Falcor at this moment. Needs discussion
*/
//... | {
"content_hash": "307e6493caa29b2ca17767c76f193c5f",
"timestamp": "",
"source": "github",
"line_count": 273,
"max_line_length": 895,
"avg_line_length": 50.175824175824175,
"alnum_prop": 0.6217696014016645,
"repo_name": "sdesai/falcor-old",
"id": "7ac03f3e7ae4e13c165dc9168a3d289628c9de05",
"size": "... |
Package.describe({
name: 'visualisation:core',
version: '0.0.11',
// Brief, one-line summary of the package.
summary: 'Flexible visualisation system',
// URL to the Git repository containing the source code for this package.
git: 'https://github.com/Quite-nice/Visualisation',
// By default, Meteor will de... | {
"content_hash": "f39b2bb4056c6da091a02e186c0d14b0",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 85,
"avg_line_length": 32.64,
"alnum_prop": 0.7022058823529411,
"repo_name": "Quite-nice/Visualisation",
"id": "af301799bc38a60c2304019bb7add29c64bbd6c5",
"size": "816",
... |
<?php
App::uses('Controller', 'Controller');
/**
* Application Controller
*
* Add your application-wide methods in the class below, your controllers
* will inherit them.
*
* @package app.Controller
* @link http://book.cakephp.org/2.0/en/controllers.html#the-app-controller
*/
class AppController extends Con... | {
"content_hash": "c49be410dde32e1a42af5a3d451c3f06",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 76,
"avg_line_length": 19.40909090909091,
"alnum_prop": 0.6651053864168618,
"repo_name": "asimzeeshan/BillingDeck",
"id": "c56d9f971b5fd17576a56b98319d49f99977722b",
"size"... |
class OverallController < ApplicationController
def show
# @image: Stores the image name of the graph (if available)
graph
# Check if overall graph has been created or not
if File.exist?(Rails.root.join('app', 'assets', 'images', 'overall.png'))
@image = 'overall.png'
... | {
"content_hash": "69495a58b4d79c12e4b943ab2f1861f9",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 81,
"avg_line_length": 26.352941176470587,
"alnum_prop": 0.5959821428571429,
"repo_name": "nathanljustin/teamwork-analysis",
"id": "a2d464d820a3619e1d05a66a1ec366c7065a1221",... |
package com.kasabi.labs.datasets;
public class Constants {
public static final String DATA_PATH = "data/" ;
public static final String DATA_ITALY_PATH = DATA_PATH + "italy/" ;
public static final String DATA_GEONAMES_PATH = DATA_PATH + "geonames/" ;
public static final String DATA_EUROSTAT_PATH = DATA_PATH + "e... | {
"content_hash": "2bf4f03f1232c59a2ed137be9d88f0e4",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 78,
"avg_line_length": 37.333333333333336,
"alnum_prop": 0.7232142857142857,
"repo_name": "castagna/dataset-lib",
"id": "81d1fbddd19f4e317ed807d85c9a3374904bd8b2",
"size": ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE23_Relative_Path_Traversal__char_connect_socket_open_72a.cpp
Label Definition File: CWE23_Relative_Path_Traversal.label.xml
Template File: sources-sink-72a.tmpl.cpp
*/
/*
* @description
* CWE: 23 Relative Path Traversal
* BadSource: connect_socket Read data us... | {
"content_hash": "1a8d78285c8471f8073059887e4a5878",
"timestamp": "",
"source": "github",
"line_count": 197,
"max_line_length": 120,
"avg_line_length": 27.893401015228427,
"alnum_prop": 0.5819836214740673,
"repo_name": "maurer/tiamat",
"id": "ab88b8896d994bdea7fd39545b5676b9e2f075cc",
"size": "5495... |
package com.strider.datadefender.requirement;
import java.lang.reflect.Array;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorTy... | {
"content_hash": "65355c9f87841a80269a004859ce88d0",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 113,
"avg_line_length": 31.425414364640883,
"alnum_prop": 0.5891350210970464,
"repo_name": "armenak/DataAnonymizer",
"id": "b990b945e6106625b678a636ece74dffbd297505",
"siz... |
% MatrixUser, a multi-dimensional matrix analysis software package
% https://sourceforge.net/projects/matrixuser/
%
% The MatrixUser is a matrix analysis software package developed under Matlab
% Graphical User Interface Developing Environment (GUIDE). It features
% functions that are designed and optimized for worki... | {
"content_hash": "e7a8be3807858a675922737e4af96c12",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 78,
"avg_line_length": 32.89655172413793,
"alnum_prop": 0.7557651991614256,
"repo_name": "leoliuf/MRiLab",
"id": "ff5586b5a00ff7b8f789500ac3014f225a1be9f2",
"size": "954",
... |
/**
* @author CaMnter
*/
import { createElement, Component } from 'rax';
import Text from 'rax-text';
import View from 'rax-view';
class StateComponent extends Component {
constructor(props) {
super(props);
this.state = {
time: Date.now()
};
}
componentDidMount() {
this.timer = setInter... | {
"content_hash": "30bed1b3d0801115dd64daab8f89ca34",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 48,
"avg_line_length": 18.8,
"alnum_prop": 0.598404255319149,
"repo_name": "CaMnter/front-end-life",
"id": "11e42af7816533c95e5398092ed2145549d65488",
"size": "752",
"bin... |
require 'test_helper'
class AddressesControllerTest < ActionController::TestCase
test 'should return latitude and longitude for a valid address' do
stub_request(:get, 'https://maps.google.com/maps/api/geocode/json').
with(query: {address: 'City Hall, Boston, MA', sensor: 'false'}).
to_return(body: Fi... | {
"content_hash": "791c76ab7d1ee8b1c09b97c4c8b715eb",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 99,
"avg_line_length": 49.77272727272727,
"alnum_prop": 0.6593607305936073,
"repo_name": "friendlycode/adopt-a-hydrant",
"id": "efddc2887ef993879eb81d3ebb6b221e3f05df5f",
"... |
package io.quarkus.extest.runtime.config;
import java.util.Map;
import io.quarkus.runtime.annotations.ConfigItem;
import io.quarkus.runtime.annotations.ConfigPhase;
import io.quarkus.runtime.annotations.ConfigRoot;
@ConfigRoot(prefix = "my.prefix.bt", phase = ConfigPhase.BUILD_TIME, name = "")
public class PrefixBui... | {
"content_hash": "fd3e7135e3dbb30ab19924ff2b6fd8b5",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 79,
"avg_line_length": 24.625,
"alnum_prop": 0.688663282571912,
"repo_name": "quarkusio/quarkus",
"id": "a7da5173518ea8b424f26f42722ed6c74dcc7897",
"size": "591",
"binary... |
Bug #62024 Cannot insert second row with null using parametrized query (Firebird PDO)
--SKIPIF--
<?php extension_loaded("pdo_firebird") or die("skip"); ?>
<?php function_exists("ibase_query") or die("skip"); ?>
--FILE--
<?php
require("testdb.inc");
$dbh = new PDO("firebird:dbname=$test_base",$user,$password) or die;
... | {
"content_hash": "07f2bee5b22a12bed151aeccd28b189e",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 85,
"avg_line_length": 20.74,
"alnum_prop": 0.6528447444551592,
"repo_name": "lunaczp/learning",
"id": "e046879c22a922ace698ee746c9806350c6be922",
"size": "1046",
"binary... |
'use strict';
describe('Controller: NewprojectmodalCtrl', function () {
// load the controller's module
beforeEach(module('iottlyMainApp'));
var NewprojectmodalCtrl,
scope;
// Initialize the controller and a mock scope
beforeEach(inject(function ($controller, $rootScope) {
scope = $rootScope.$ne... | {
"content_hash": "daf113f3daa3d465fa080cf34158d189",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 72,
"avg_line_length": 24.36,
"alnum_prop": 0.6830870279146142,
"repo_name": "iottly/iottly-console",
"id": "8f57ca32b399ce182f6ad88110ed68822dc769ce",
"size": "1170",
"b... |
package com.jflyfox.autocreate.util;
/**
*
*/
public class TbQuestion {
private static final long serialVersionUID = 1L;
//columns START
/** **/
private int id ;
/** 类型1单选2多选3单行输入4多选输入 **/
private int ques_type ;
/** 标题 **/
private String title;
/** 排序 **/
private int sort ;
/** 是否必须 **/
private i... | {
"content_hash": "53d46a8f60c031a4953895aa7b74491d",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 49,
"avg_line_length": 14.802469135802468,
"alnum_prop": 0.6305254378648875,
"repo_name": "bigsuperangel/AutoCreate",
"id": "93a3d4e30e5af9bedd94ad920ab8d7a559ec6804",
"siz... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>corn: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel=... | {
"content_hash": "09dc199183f1ef738a5101addf6e9a13",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 157,
"avg_line_length": 39.448484848484846,
"alnum_prop": 0.5268090336457213,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "71bd33b030d062829546bb8583fb6220dfcbe2f7",... |
{% extends 'cloud/cloud-account-detail-base.html' %}
{% load staticfiles %}
{% block stylesheets %}
{{ block.super }}
<link rel="stylesheet" type="text/css" href="{% static 'stackdio/lib/bower_components/select2/dist/css/select2.min.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'stackdio... | {
"content_hash": "7c414564e822c4c203192f4636452ac0",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 150,
"avg_line_length": 43.821917808219176,
"alnum_prop": 0.4745232885276649,
"repo_name": "stackdio/stackdio",
"id": "f869c77034adf9f7499387d303819ad8254de6fe",
"size": "3... |
using Shouldly.Tests.TestHelpers;
namespace Shouldly.Tests.ShouldSatisfyAllConditions
{
public class MultipleConditionsScenario : ShouldlyShouldTestScenario
{
protected override void ShouldPass()
{
int result = 4;
result.ShouldSatisfyAllConditions
(
... | {
"content_hash": "27df1e6dd21988afdf5a2642328b9bff",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 90,
"avg_line_length": 26.966101694915253,
"alnum_prop": 0.4996857322438718,
"repo_name": "KennyBu/shouldly",
"id": "cd80e7a79d0e0464db6181cfcdd9e147dbf07585",
"size": "159... |
import React, { Component, PropTypes } from 'react'
import { bindActionCreators, compose } from 'redux';
import { connect } from 'react-redux'
import classnames from 'classnames';
import Immutable from 'immutable'
import * as actions from '../../actions/WorkspaceActions'
import DraggableCore from 'react-draggable';
i... | {
"content_hash": "276fa17c5853164d4f0ffdbd9a6ca243",
"timestamp": "",
"source": "github",
"line_count": 183,
"max_line_length": 104,
"avg_line_length": 30.153005464480874,
"alnum_prop": 0.6159840521928235,
"repo_name": "loki951753/slider_with_react",
"id": "c4db6c37b3a70b85e4d2de2ef7a9e49f273cf9ba",
... |
<!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="author" content="Supakorn Laohasongkram">
<meta name="description" content="">
<title>Join Us - T... | {
"content_hash": "ff8374433e0f7ab4a34440241118cf54",
"timestamp": "",
"source": "github",
"line_count": 379,
"max_line_length": 565,
"avg_line_length": 51.221635883905016,
"alnum_prop": 0.613866996342657,
"repo_name": "true-happiness/true-happiness.github.io",
"id": "efdd621da4d25754153a91c5e2353aefc... |
"""
Command line argument parser for neon deep learning library
This is a wrapper around the configargparse ArgumentParser class.
It adds in the default neon command line arguments and allows
additional arguments to be added using the argparse library
methods. Lower priority defaults can also be read from a configura... | {
"content_hash": "341385da33a66f38206976abd949c7ec",
"timestamp": "",
"source": "github",
"line_count": 347,
"max_line_length": 95,
"avg_line_length": 44.10086455331412,
"alnum_prop": 0.5477357380905705,
"repo_name": "Jokeren/neon",
"id": "f1efb95d29d8b31b4d15bb8238b98ec490a3b2d6",
"size": "16049",... |
<!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/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"... | {
"content_hash": "5db40cb5e95f721792fad805e5b14032",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 678,
"avg_line_length": 47.734693877551024,
"alnum_prop": 0.5178851360980476,
"repo_name": "pratheekhegde/pratheekhegde.github.io",
"id": "0f1ebd8fa7e6d61484bb5d1f62b2eee31a... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Asciidoctor 1.5.4">
<title>git-quiltimport(1)</title>
<link rel="sty... | {
"content_hash": "cad8110ef97d8007dc73de095335e65d",
"timestamp": "",
"source": "github",
"line_count": 514,
"max_line_length": 471,
"avg_line_length": 64.79961089494164,
"alnum_prop": 0.7626024559401927,
"repo_name": "J-tt/RayshudInstallers",
"id": "6c8b792d6060e9a9953a6662c55789a9f57ab451",
"size... |
package org.apache.druid.segment.join.filter;
import org.apache.druid.java.util.common.Pair;
import org.apache.druid.math.expr.Expr;
import org.apache.druid.query.filter.Filter;
import org.apache.druid.segment.join.Equality;
import org.apache.druid.segment.join.JoinConditionAnalysis;
import org.apache.druid.segment.... | {
"content_hash": "c5350d4bff0b2b330449453604ea78ee",
"timestamp": "",
"source": "github",
"line_count": 390,
"max_line_length": 126,
"avg_line_length": 44.02307692307692,
"alnum_prop": 0.7009144388141417,
"repo_name": "monetate/druid",
"id": "ed9fe07562518b153e9a8f57f469fef803295432",
"size": "1797... |
// Copyright (C) 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
#ifndef ULISTFORMATTER_H
#define ULISTFORMATTER_H
#include "unicode/utypes.h"
#if !UCONFIG_NO_FORMATTING
#include "unicode/localpointer.h"
/**
* \file
* \brief C API: Format... | {
"content_hash": "8330f4cd6b0eb675927a072aae1a1c52",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 106,
"avg_line_length": 35.984,
"alnum_prop": 0.634948866162739,
"repo_name": "kkamegawa/ICU4C_Nuget",
"id": "0107ac287f88c2671eb8b98aee636fce02b51501",
"size": "4794",
... |
/* crypto/asn1/x_x509.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-... | {
"content_hash": "e31bd7ced3a9bf13466c9694bf467e9b",
"timestamp": "",
"source": "github",
"line_count": 334,
"max_line_length": 80,
"avg_line_length": 31.895209580838323,
"alnum_prop": 0.6477987421383647,
"repo_name": "youtube/cobalt_sandbox",
"id": "9ece062d22f670570a576b2b0a6e8364f5e6ca2b",
"size... |
"""The fsl module provides classes for interfacing with the `FSL
<http://www.fmrib.ox.ac.uk/fsl/index.html>`_ command line tools. This
was written to work with FSL version 4.1.4.
These are the base tools for working with FSL.
Preprocessing tools are found in fsl/preprocess.py
Model tools are found in fsl/model.py
DTI... | {
"content_hash": "643cf695005662a6f471d6d168e6d4e5",
"timestamp": "",
"source": "github",
"line_count": 246,
"max_line_length": 105,
"avg_line_length": 29.80081300813008,
"alnum_prop": 0.599099713545219,
"repo_name": "satra/NiPypeold",
"id": "b8a227b01105c4971e891ab4bc1dd3776acd28aa",
"size": "7445... |
require "fake-aws/s3"
| {
"content_hash": "4a005ccdedf56a4702cbdba3f5657167",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 21,
"avg_line_length": 22,
"alnum_prop": 0.7272727272727273,
"repo_name": "mdub/fake-aws-sdk-s3",
"id": "18a422b4aebee2bf2b9a8efd6a4da91cd4cd6880",
"size": "22",
"binary":... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "4116a62f28f0d6487f579c006eb742a3",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "c0d8ab7f3a99ebe6ec5eddb950165549b3ae8012",
"size": "199... |
require 'sidekiq/testing'
require './spec/support/test_env'
class Gitlab::Seeder::CycleAnalytics
def initialize(project, perf: false)
@project = project
@user = User.order(:id).last
@issue_count = perf ? 1000 : 5
stub_git_pre_receive!
end
# The GitLab API needn't be running for the fixtures to b... | {
"content_hash": "b86122791d5d6dca1a043db81b9c34bf",
"timestamp": "",
"source": "github",
"line_count": 246,
"max_line_length": 181,
"avg_line_length": 31.43089430894309,
"alnum_prop": 0.6298499741334713,
"repo_name": "shinexiao/gitlabhq",
"id": "e882a492757053130531f959fcf4b6669bff5e36",
"size": "... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-character: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootst... | {
"content_hash": "d458af7079fa2102b3fbf58a5ddcdb1e",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 554,
"avg_line_length": 48.292682926829265,
"alnum_prop": 0.567929292929293,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "01ba0a2215710186429acc9230a9c6fe0c5501d0",
... |
package org.jvyamlb.events;
/**
* @author <a href="mailto:ola.bini@gmail.com">Ola Bini</a>
*/
public abstract class NodeEvent extends Event {
private String anchor;
public NodeEvent(final String anchor) {
this.anchor = anchor;
}
public String getAnchor() {
return this.anchor;
}
... | {
"content_hash": "731991b0dedce363bf7297dc4974a9ed",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 59,
"avg_line_length": 20.875,
"alnum_prop": 0.6467065868263473,
"repo_name": "olabini/jvyamlb",
"id": "83decb55d8ac7a1e34f698528a586b365d40c1af",
"size": "417",
"binary"... |
// Plain C interface to SingletonVault. This facilitates combining programs
// that cannot use C++ (e.g. programs written in C) with libraries that use
// Singleton, by allowing the program to perform the required SingletonVault
// lifecycle calls.
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
typedef void S... | {
"content_hash": "d8b678b40f2ce43a5079a46883832930",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 76,
"avg_line_length": 27,
"alnum_prop": 0.784219001610306,
"repo_name": "charsyam/folly",
"id": "eb67192df0888ce5a028487e112dd321447d9f8c",
"size": "1216",
"binary": fal... |
// Copyright (c) Alexander Bogarsukov.
// Licensed under the MIT license. See the LICENSE.md file in the project root for more information.
using System;
using UnityEngine;
namespace UnityFx.Async.Helpers
{
using Debug = System.Diagnostics.Debug;
/// <summary>
/// A wrapper for <see cref="AsyncOperation"/> with ... | {
"content_hash": "8334b8d34cf28341cb7b994ad73d254f",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 100,
"avg_line_length": 19.607843137254903,
"alnum_prop": 0.6525,
"repo_name": "Arvtesh/UnityFx.Async",
"id": "74039eda22845410a513365d615ea257bbfbd50a",
"size": "2002",
... |
package org.easybatch.integration.xstream;
import com.thoughtworks.xstream.XStream;
import org.easybatch.core.processor.AbstractRecordMarshaller;
import static org.easybatch.core.util.Utils.checkNotNull;
/**
* Marshals an object to XML using <a href="http://xstream.codehaus.org/">XStream</a>.
*
* @author Mahmo... | {
"content_hash": "455c380986c275d0ccfba25e7daf6092",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 86,
"avg_line_length": 26.37735849056604,
"alnum_prop": 0.6716738197424893,
"repo_name": "dmullins78/easybatch-framework",
"id": "520a05a67feec76e29df4c3d4a8b205a2060910a",
... |
use quote::Tokens;
use syn;
use field;
// FIXME: Documenation
pub fn ber_sequence_serialize(ast: &syn::MacroInput) -> Tokens {
let name = &ast.ident;
let (impl_generics, ty_generics, where_clause) = ast.generics.split_for_impl();
let fields = if let syn::Body::Struct(ref body) = ast.body {
match *body {
... | {
"content_hash": "42d148c0bc3bdeac9da083f58e0d192a",
"timestamp": "",
"source": "github",
"line_count": 218,
"max_line_length": 113,
"avg_line_length": 29.610091743119266,
"alnum_prop": 0.5367931835786213,
"repo_name": "keeperofdakeys/asn1-rs",
"id": "c827342e3a8a768c0e7da1f25ed2b4ad53f43cfb",
"siz... |
/**
* Implementation of Facebook Login using API v2.6.
*
* Documentation: https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow#confirm
*
* There's two ways to authenticate user. Once user authorized our app at Facebook, Facebook issues user so
* called authResponse, that contains `acc... | {
"content_hash": "c6ea5e7e22e65385aee154e3e45279c1",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 150,
"avg_line_length": 43.89473684210526,
"alnum_prop": 0.7565947242206235,
"repo_name": "dlazerka/gae-jersey-oauth2",
"id": "d53c56bee27d138653e449e74348f9af156931e8",
"s... |
@interface INNMethodMatchingRule : NSObject{
NSArray *parameterIndexes;
}
@property (assign) SEL selector;
@property (strong) id<INNCache> cacheType;
-(void) setParameterIndexes:(NSArray *)indexes;
-(NSArray *)parameterIndexes;
-(NSInteger) parameterCount;
-(NSInteger) parameterIndexAtIndex:(NSInteger)index;
@end
| {
"content_hash": "91899b0a874d12cdeff89c083812db35",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 52,
"avg_line_length": 24.615384615384617,
"alnum_prop": 0.778125,
"repo_name": "Innoruptor/ClearCache",
"id": "80f0176c1fc5b268f7b8bf3b1d2db4d88705e76a",
"size": "525",
... |
export const _ = 0;
export const X = 1;
export const O = 2;
export const markText = {
[_]: ' ',
[X]: 'X',
[O]: 'O'
};
export const Player1 = 0;
export const Player2 = 1;
export const MaxPlayers = 2;
export function playerName(index) {
if (index >= 0 && index < MaxPlayers)
return `Player ${(in... | {
"content_hash": "2a6a29361aae5768fd74061239dd9fb8",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 57,
"avg_line_length": 22.857142857142858,
"alnum_prop": 0.6738636363636363,
"repo_name": "evg656e/tictactoe",
"id": "bd73ba537c93cd0daf5b1cb0b529a97ecdce1947",
"size": "17... |
import React, { PropTypes } from 'react';
const CompatibleImg = ({ imgName, fallback = 'png', ...props }) => {
return (
<picture>
<source srcSet={ require(`../../assets/${imgName}.webp`) }
type="image/webp"
alt={ imgName }
{ ...props }
... | {
"content_hash": "9ebc616fbd05f77d039e2328c8f2032e",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 77,
"avg_line_length": 28.689655172413794,
"alnum_prop": 0.4543269230769231,
"repo_name": "pqmcgill/stamp-wedding-app",
"id": "b4e2ab3593b8814f823633b9abed0ee87759bb91",
"s... |
/*
* 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, software distributed under t... | {
"content_hash": "fcaddb86e61531ecb8b2ec8231eca38e",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 182,
"avg_line_length": 32,
"alnum_prop": 0.7447150735294118,
"repo_name": "googleapis/google-api-java-client-services",
"id": "d85e96f7283e2fec12073a9415662d5972cc0816",
... |
datasetexplorer_ln = [];
/*EN*/
datasetexplorer_ln["ode+back_en"] = "<< Click to navigate back to the top level.";
datasetexplorer_ln["path_en"] = "Path: ";
/*IT*/
datasetexplorer_ln["ode+back_it"] = "<< Clicca qui per tornare al livello precedente.";
datasetexplorer_ln["path_it"] = "Path: ";
/*FR*/
datasetexplorer_... | {
"content_hash": "6dd7b259d92d6eeda68a490932972450",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 87,
"avg_line_length": 33.523809523809526,
"alnum_prop": 0.6619318181818182,
"repo_name": "routetopa/deep-components",
"id": "54522d9b61a410eb3ad415b470bfd7ca36096004",
"si... |
console.log("TS -> Auth"); | {
"content_hash": "65dbb143d3706ce0fdde7ff173a634d2",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 26,
"avg_line_length": 26,
"alnum_prop": 0.6153846153846154,
"repo_name": "fppgodinho/angular2-practice",
"id": "bd6390352cd64149e230322fa6138b45dcc5fbb2",
"size": "26",
"... |
class CreateEventEvents < ActiveRecord::Migration
def change
create_table :event_events do |t|
t.datetime :start_day
t.datetime :end_day
t.string :title ,:null => false
t.text :description
t.integer :user_id
t.boolean :aproved ,:default => false
t.timestamps
end
... | {
"content_hash": "98c444ef57dfd1787fec60cdecf1e71a",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 49,
"avg_line_length": 23.5,
"alnum_prop": 0.6291793313069909,
"repo_name": "pimenta53/AgroMarket",
"id": "80e572a8de7605e3b7769882966b8f9a86a71f02",
"size": "329",
"bina... |
package jobrunner
import "gopkg.in/robfig/cron.v2"
// Stop ALL active jobs from running at the next scheduled time
func Stop() {
go MainCron.Stop()
}
// Remove a specific job from running
// Get EntryID from the list job entries jobrunner.Entries()
// If job is in the middle of running, once the process is finished... | {
"content_hash": "f90395e8ea4d1ff50619abca01e0c41d",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 86,
"avg_line_length": 26.266666666666666,
"alnum_prop": 0.7461928934010152,
"repo_name": "ottenwbe/golook",
"id": "05df6ba80db538bd25ef3b7db8d75c641dd5a80a",
"size": "394"... |
import { PropTypes } from 'react';
const { bool, number, string } = PropTypes;
export default {
preload: string,
autoPlay: bool,
controls: bool,
loop: bool,
muted: bool,
src: string,
poster: string,
width: number,
height: number,
crossOrigin: string
};
| {
"content_hash": "f4e211ca0b5b6ce38ea49b12d2635b56",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 43,
"avg_line_length": 17.1875,
"alnum_prop": 0.6618181818181819,
"repo_name": "vyorkin-personal/erlyeditor",
"id": "500fdaee043fdc1597b5baf954819df841c4faab",
"size": "275... |
namespace Grabacr07.KanColleWrapper.Models.Raw
{
// ReSharper disable InconsistentNaming
public class kcsapi_mission_result
{
public int[] api_ship_id { get; set; }
public int api_clear_result { get; set; }
public int api_get_exp { get; set; }
public int api_member_lv { get; set; }
public int a... | {
"content_hash": "a12ff875c91f67b8d69de2ff84edd992",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 63,
"avg_line_length": 33.03225806451613,
"alnum_prop": 0.654296875,
"repo_name": "kyoryo/test",
"id": "10641b76317a6fc97559c6fad5f0bddc27fbab0a",
"size": "1026",
"binary... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.