text stringlengths 2 1.04M | meta dict |
|---|---|
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | {
"content_hash": "0cefc1a79fd1d47ffe840c9b95644651",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 151,
"avg_line_length": 41.92307692307692,
"alnum_prop": 0.5669724770642202,
"repo_name": "Arefu/Wolf",
"id": "0f460c789bc97ae0c4db3a7382c8ac1b8a7b2e7f",
"size": "1092",
... |
import numpy as np
from collections import namedtuple
from pysc2.agents import base_agent
from pysc2.lib import actions
import torch
import torch.nn as nn
import torch.nn.functional as F
import torch.optim as optim
import torch.autograd as autograd
from torch.autograd import Variable
from torch.utils.data import DataL... | {
"content_hash": "5edf4b83f20f0533709c24b7f12b0085",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 96,
"avg_line_length": 44.25301204819277,
"alnum_prop": 0.5294037571467465,
"repo_name": "ShawnSpooner/starcraft_agents",
"id": "33da285498072eb0cb721d1cbdf2f66dbfce114a",
... |
Bing Maps Layer for leaflet v0.7. This plugin is created by following [leaflet-bing-layer](https://github.com/gmaclennan/leaflet-bing-layer) plugin.
By default this plugin doesn't work on IE. If you want it to work, then add the following to your webpage:
```html
<!--[if IE]--><script src="https://cdn.polyfill.io/v2/p... | {
"content_hash": "2678e9f111b6708957fe8bbe2e352c5d",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 291,
"avg_line_length": 60.34375,
"alnum_prop": 0.5520455722423615,
"repo_name": "mertemin/leaflet-bing-0.7",
"id": "827a75247f61eb8660881f6e9d0264fab2b848ba",
"size": "194... |
package com.xiaoaiqinqin.controller;
import org.springframework.stereotype.Controller;
/**
*
* Like 控制层
*
*/
@Controller
public class LikeController {
} | {
"content_hash": "c68e106bdf35cd9ab3fce8f4b026c6b7",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 49,
"avg_line_length": 11.428571428571429,
"alnum_prop": 0.7375,
"repo_name": "lcqjava/lcq-java",
"id": "38cfeb3d36009a15ab3737f1fd224d8aef02cd37",
"size": "166",
"binary... |
package com.showcast.hvscroll.ui;
import android.content.Context;
import android.graphics.Canvas;
import android.util.AttributeSet;
import android.view.View;
import com.showcast.hvscroll.draw.AbsHorizontalVerticalScrollTableDraw;
import com.showcast.hvscroll.draw.IHVScrollTable;
import com.showcast.hvscroll.draw.Simp... | {
"content_hash": "8fb8b785c848a75d3deb466ce62e56ab",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 96,
"avg_line_length": 36.93814432989691,
"alnum_prop": 0.6313145408875244,
"repo_name": "CrazyTaro/HorizontalVerticalScrollView",
"id": "1396fc17481fa563284b25633b0bb1835dbd... |
package org.jcodec.containers.mxf.model;
import java.util.Iterator;
import org.jcodec.common.logging.Logger;
import java.nio.ByteBuffer;
import java.util.Map;
import java.util.Map.Entry;
/**
* This class is part of JCodec ( www.jcodec.org ) This software is distributed
* under FreeBSD License
*
* @author The JC... | {
"content_hash": "37c7fab648f1b727a43c196f2ad500dc",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 122,
"avg_line_length": 24.733333333333334,
"alnum_prop": 0.5400943396226415,
"repo_name": "Dacaspex/Fractal",
"id": "6fb71a62f36f0354bb1da2bdc1c0c33d35af3632",
"size": "2... |
package sixpack
import (
"encoding/json"
"errors"
"fmt"
"io/ioutil"
"net"
"net/http"
"net/url"
"regexp"
"time"
)
const pattern string = `^[a-z0-9][a-z0-9\-_ ]*$`
var BaseUrl string = "http://localhost:5000"
type Options struct {
ClientID []byte
BaseUrl *url.URL
IP string
UserAgent string
}
f... | {
"content_hash": "658948d35c7c638e1444d4076f0a8d3f",
"timestamp": "",
"source": "github",
"line_count": 193,
"max_line_length": 106,
"avg_line_length": 18.906735751295336,
"alnum_prop": 0.6494930117840504,
"repo_name": "subosito/sixpack-go",
"id": "b25dc83eb13cf622ebfc659bd75e9f4870f694a7",
"size":... |
using System;
namespace Quartz.Server
{
/// <summary>
/// Service interface for core Quartz.NET server.
/// </summary>
public interface IQuartzServer
{
/// <summary>
/// Initializes the instance of <see cref="IQuartzServer"/>.
/// Initialization will only be called once in s... | {
"content_hash": "b112ba54b6f2228d73bac139be7b4d55",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 73,
"avg_line_length": 22.916666666666668,
"alnum_prop": 0.5054545454545455,
"repo_name": "cuitdream/testGit",
"id": "f2d048a472a3000c0f2426b4af3b961ca855280f",
"size": "82... |
extern crate diesel;
mod config;
mod server;
mod session;
use config::Config;
use diesel::r2d2;
use futures::prelude::*;
use holomorph::{ContextualError, WithContext};
use log::{error, info};
use openssl::rsa::{Padding, Rsa};
use runtime::net::TcpListener;
use server::Server;
use session::Session;
use std::sync::Arc;... | {
"content_hash": "8e4129acdb480e64fbc345d492dc0949",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 94,
"avg_line_length": 28.629213483146067,
"alnum_prop": 0.6020408163265306,
"repo_name": "scalexm/holomorph",
"id": "e79883d457cff63ee7db3f2a26d90b8f4b273023",
"size": "26... |
package docker
import (
"context"
"fmt"
"io"
"io/ioutil"
"mime"
"net/http"
"net/url"
"os"
"strconv"
"github.com/containers/image/docker/reference"
"github.com/containers/image/manifest"
"github.com/containers/image/types"
"github.com/docker/distribution/registry/client"
"github.com/opencontainers/go-dig... | {
"content_hash": "7bd5f2546b3388573b08930df3512b12",
"timestamp": "",
"source": "github",
"line_count": 386,
"max_line_length": 148,
"avg_line_length": 32.7720207253886,
"alnum_prop": 0.7135177865612649,
"repo_name": "praveenkumar/minishift",
"id": "98f6067e1e060c42e4de8733c4945fe35a4ba1fd",
"size"... |
#ifndef tomvizConvertToFloatReaction_h
#define tomvizConvertToFloatReaction_h
#include <pqReaction.h>
namespace tomviz {
class DataSource;
class ConvertToFloatReaction : public pqReaction
{
Q_OBJECT
public:
ConvertToFloatReaction(QAction* parent);
void convertToFloat();
protected:
void updateEnableState(... | {
"content_hash": "59494174e374339ab14491698d580c13",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 51,
"avg_line_length": 16.555555555555557,
"alnum_prop": 0.7785234899328859,
"repo_name": "cjh1/tomviz",
"id": "be70d50f2ded45aae55c88373e54c5c74b6c80d8",
"size": "1078",
... |
<?php
namespace app\models\AlertSender;
use app\models\Alert;
use app\models\BrowserAlert;
class AlertSenderBrowser implements InterfaceAlertSender
{
public function send(Alert $alert)
{
if ($alert->recipient_id) {
$model = new BrowserAlert();
$model->subject = $alert->subject... | {
"content_hash": "c158c99ce3afc081a4b9b18beaf2b340",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 57,
"avg_line_length": 27.5,
"alnum_prop": 0.5066666666666667,
"repo_name": "gwynplaine2006/test_yii2",
"id": "f1c90551f6b91430cbc20901f75ee954bcf6086e",
"size": "825",
"... |
<?php
namespace Easy\Bundle\VentesBundle\Controller;
use Doctrine\ORM\EntityNotFoundException;
use Easy\Bundle\VentesBundle\Entity\ProductSale;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
class ProductSaleContr... | {
"content_hash": "5bf4a3101f75418355abc3153d5d8348",
"timestamp": "",
"source": "github",
"line_count": 196,
"max_line_length": 209,
"avg_line_length": 40.01020408163265,
"alnum_prop": 0.4492476409079316,
"repo_name": "ydn47/easyventes",
"id": "abbce8dc5b5b6ca54395fce8d86a20beb10e5c87",
"size": "78... |
package org.docksidestage.dbflute.bsentity.dbmeta;
import java.util.List;
import java.util.Map;
import org.dbflute.Entity;
import org.dbflute.optional.OptionalEntity;
import org.dbflute.dbmeta.AbstractDBMeta;
import org.dbflute.dbmeta.info.*;
import org.dbflute.dbmeta.name.*;
import org.dbflute.dbmeta.property.Prope... | {
"content_hash": "c05d87ce6bce3ebc66b4b94b1db8a6cf",
"timestamp": "",
"source": "github",
"line_count": 275,
"max_line_length": 330,
"avg_line_length": 64.84,
"alnum_prop": 0.5368739835118613,
"repo_name": "lastaflute/lastaflute-example-harbor",
"id": "45dd20ca04cf47933c0c9764d471c02b2c95a1cc",
"si... |
using System.Collections.Generic;
namespace Ink.Parsed
{
internal interface IWeavePoint
{
int indentationDepth { get; }
Runtime.Container runtimeContainer { get; }
List<Parsed.Object> content { get; }
string name { get; }
}
}
| {
"content_hash": "eac5c7f70ef0a87f0d6b8f256afe1caa",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 51,
"avg_line_length": 19.571428571428573,
"alnum_prop": 0.6240875912408759,
"repo_name": "ivaylo5ev/ink",
"id": "1ca1a5af9c70938ee71578090ba84e5ff0219eb3",
"size": "276",
... |
package com.challengercity.datura;
import java.util.ArrayList;
import static org.lwjgl.opengl.GL11.glColor4f;
/**
*
* @author Ben Sergent V/ha1fBit
*/
public abstract class Screen {
private ArrayList<GUI> renderGUIList = new ArrayList<GUI>();
private Datura ug = Datura.getGameInstance();
private ... | {
"content_hash": "dd4150e38515ad0f587ac28e998f7a99",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 89,
"avg_line_length": 23.370967741935484,
"alnum_prop": 0.5790200138026225,
"repo_name": "bsergent/Datura",
"id": "fc8b39431c076e18392831dc89a9100080531707",
"size": "1449... |
FROM balenalib/qemux86-64-alpine:3.12-run
# remove several traces of python
RUN apk del python*
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
# install python dependencies
RUN apk add --no-cache ca-certif... | {
"content_hash": "f2f4ed950fdc059083f67d50f99652fd",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 728,
"avg_line_length": 53.45454545454545,
"alnum_prop": 0.7111273080660836,
"repo_name": "nghiant2710/base-images",
"id": "1aba5439eb3c94a38103b7a7c3a7fce26776523b",
"size... |
MODULE MOD_WRSTART
CONTAINS
SUBROUTINE WRSTART
use MOD_DATOM_M
use MOD_DECON
use MOD_DECSTAR_M
use MOD_FGRID
use MOD_GEOMESH
use MOD_GRADIFF
use MOD_GREYM
use MOD_PRIBLA
use MOD_PRIDAT
use MOD_PRIGH
use MOD_PRIMOD
use MOD_WRITP... | {
"content_hash": "39f3242073d3aaa40d1b19e3d8de72cb",
"timestamp": "",
"source": "github",
"line_count": 353,
"max_line_length": 118,
"avg_line_length": 31.03116147308782,
"alnum_prop": 0.5921124703304729,
"repo_name": "rtagirov/nessy",
"id": "efd136439c0de07608c6c299fe501924877fea72",
"size": "1095... |
<?php
// simple connection test
$host = 'imap.gmail.com';
$port = 993;
echo $host.':'.$port;
$streamContextSettings = array(
'ssl' => array(
'verify_host' => true,
'verify_peer' => true,
'verify_peer_name' => true,
'allow_self_signed' => false
)
);
$streamContext = stream_context_create($streamContextSet... | {
"content_hash": "251ab3629d43a8c785cd76e4ff553981",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 115,
"avg_line_length": 20.2,
"alnum_prop": 0.6320132013201321,
"repo_name": "RainLoop/rainloop-webmail",
"id": "4bb167b2b6e8c5f3cbbd549d04170f247739c292",
"size": "606",
... |
/*
* 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
* distribut... | {
"content_hash": "278ebc2a001f207d581615d6424afe7a",
"timestamp": "",
"source": "github",
"line_count": 266,
"max_line_length": 121,
"avg_line_length": 28.402255639097746,
"alnum_prop": 0.6668431502316347,
"repo_name": "sopel39/presto",
"id": "e5ee7c4d879a080d43db1aef9c8ac5d53c9dcaee",
"size": "755... |
// Avisynth v2.5. Copyright 2002 Ben Rudiak-Gould et al.
// http://www.avisynth.org
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your opt... | {
"content_hash": "280af4a64022bb16de27bbfb9ce674c9",
"timestamp": "",
"source": "github",
"line_count": 282,
"max_line_length": 110,
"avg_line_length": 34.663120567375884,
"alnum_prop": 0.689002557544757,
"repo_name": "dcherian/tools",
"id": "68d39a44d1e472cc841cf414fb506cb2852b627c",
"size": "9775... |
package com.castlemon.maven.processing;
import org.springframework.stereotype.Component;
import com.castlemon.maven.domain.RunData;
import com.castlemon.maven.domain.Usage;
@Component
public class StatsGenerator {
public void generateStats(RunData runData) {
for (Usage usage : runData.getUsages()) ... | {
"content_hash": "3db9eb80398fcd79fdfcf38c1bde6f62",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 75,
"avg_line_length": 30.045454545454547,
"alnum_prop": 0.6883509833585476,
"repo_name": "TrueDub/maven-usage",
"id": "f3f9f2d26a45fb589e55f135d07dc31b1f0b73a6",
"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_20) on Mon May 02 10:23:15 CEST 2011 -->
<TITLE>
play.utils Class Hierarchy (Play! API)
</TITLE>
<META NAME="date" CONTENT="2011-05-02">
<LINK REL ... | {
"content_hash": "8d89601c7b8006617a9b2d889b71509c",
"timestamp": "",
"source": "github",
"line_count": 193,
"max_line_length": 836,
"avg_line_length": 50.84455958549223,
"alnum_prop": 0.6599408947314787,
"repo_name": "lafayette/JBTT",
"id": "af9c7414041122cfb8bcddcc13fad4d9ad8fddb8",
"size": "9813... |
__author__ = 'alicia.williams'
#Week Three: Pig Latin
#CIS-125 FA 2015
# File: PigLatinAssignment.py
# This program takes English words and translates them to Pig Latin.
def main():
print("This program translates an English word to Pig Latin. \n")
#Prompting the user to enter an English word to translat... | {
"content_hash": "be72406e20a31a2bab78c3b96e90f924",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 80,
"avg_line_length": 29.925925925925927,
"alnum_prop": 0.6683168316831684,
"repo_name": "ajanaew24/Week-Three-Assignment",
"id": "18bf0b6f0e386a0ad1dc8e4c4a7a83e81dac5c31",... |
using content::BrowserThread;
namespace safe_browsing {
SafeBrowsingDatabaseManager::SafeBrowsingDatabaseManager()
: v4_get_hash_protocol_manager_(NULL) {
}
SafeBrowsingDatabaseManager::~SafeBrowsingDatabaseManager() {
DCHECK(v4_get_hash_protocol_manager_ == NULL);
}
void SafeBrowsingDatabaseManager::StartOnI... | {
"content_hash": "bcecf66039b372b7ab1690cfaa7d8b06",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 77,
"avg_line_length": 32.609756097560975,
"alnum_prop": 0.7217651458489155,
"repo_name": "was4444/chromium.src",
"id": "b8998b4431fcdde86dadd3b664dde8504c2f1b05",
"size": ... |
import PropTypes from 'prop-types';
import React, { Component } from 'react';
import classNames from 'classnames';
const propTypes = {
item: PropTypes.object,
index: PropTypes.number,
activateIndex: PropTypes.number,
onSelectItem: PropTypes.func
};
export default class MenuItem extends Component {
construct... | {
"content_hash": "12ea3097abc25bc48e4f8d0a3de065d2",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 57,
"avg_line_length": 23.046511627906977,
"alnum_prop": 0.6367305751765893,
"repo_name": "video-react/video-react",
"id": "00e2610b4d79ef98e5e1ae0b15dbdcdedb3da0f4",
"size... |
/************************************************************************
* libc/math/lib_modfl.c
*
* This file is a part of NuttX:
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Ported by: Darcy Gong
*
* It derives from the Rhombs OS math library by Nick Johnson which has
* a compatibile, MI... | {
"content_hash": "6c4f3907cf15bcdc78a2bf5d2c40721e",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 75,
"avg_line_length": 34.05263157894737,
"alnum_prop": 0.5507470376094796,
"repo_name": "guswns0528/TizenRT",
"id": "010f5c0f1469ed6a6bcb18566ba4922bbd79aad7",
"size": "27... |
package org.apache.flink.streaming.runtime.tasks;
import org.apache.flink.api.common.typeutils.TypeSerializer;
import org.apache.flink.configuration.Configuration;
import org.apache.flink.runtime.jobgraph.OperatorID;
import org.apache.flink.streaming.api.graph.StreamConfig;
import org.apache.flink.streaming.api.grap... | {
"content_hash": "e52e91a5e6f22a004bfa64ada0540eb3",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 103,
"avg_line_length": 34.496815286624205,
"alnum_prop": 0.7856351550960118,
"repo_name": "jinglining/flink",
"id": "b1915125884def17b91479486363533f724a1c7b",
"size": "6... |
- [ ] Is this a question or bug? [Stack Overflow](https://stackoverflow.com/questions/tagged/createjs) is a much better place to ask any questions you may have.
- [ ] Did you search the [issues](https://github.com/CreateJS/SoundJS/issues) to see if someone else has already reported your issue? If yes, please add more ... | {
"content_hash": "c5893e175455b036c80aa7914e301b01",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 260,
"avg_line_length": 48.23076923076923,
"alnum_prop": 0.7416267942583732,
"repo_name": "CreateJS/SoundJS",
"id": "4ca50b6cf318b9dd1d15d9b1a64b912c5a779783",
"size": "126... |
import { createStore, applyMiddleware, compose } from 'redux';
import thunk from 'redux-thunk';
import { hashHistory } from 'react-router';
import { routerMiddleware, push } from 'react-router-redux';
import createLogger from 'redux-logger';
import rootReducer from '../reducers';
import remoteActionMiddleware from './r... | {
"content_hash": "32496fb724b076f499878ab7c78dfda2",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 88,
"avg_line_length": 32.3125,
"alnum_prop": 0.7350096711798839,
"repo_name": "rafser01/installer_electron",
"id": "465f7b282b689003c24d9c3bc47832e5b5b10dba",
"size": "155... |
package com.palantir.atlasdb.keyvalue.dbkvs.impl.oracle;
import com.palantir.atlasdb.AtlasDbConstants;
public final class PrimaryKeyConstraintNames {
private PrimaryKeyConstraintNames() {
// Utility class
}
public static String get(String name) {
return AtlasDbConstants.PRIMARY_KEY_CONS... | {
"content_hash": "a196a06d6b96836bbe0733e5044242f8",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 69,
"avg_line_length": 23.333333333333332,
"alnum_prop": 0.7314285714285714,
"repo_name": "palantir/atlasdb",
"id": "1bce4086f900d66dcb064c8dd60efec349ad0487",
"size": "984... |
'use strict'
var traceHelper = require('../helpers/traceHelper')
function TraceAnalyser (_cache) {
this.traceCache = _cache
this.trace = null
}
TraceAnalyser.prototype.analyse = function (trace, tx, callback) {
this.trace = trace
this.traceCache.pushStoreChanges(0, tx.to)
var context = {
storageContext:... | {
"content_hash": "cf88b4fe66cb02786a23f2dd0147b914",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 176,
"avg_line_length": 42.015625,
"alnum_prop": 0.7116028263294906,
"repo_name": "cdetrio/remix",
"id": "66aefa2c51ab6af8b02eaf3e71575a42a74cfe9f",
"size": "5378",
"bin... |
Express Admin is a NodeJS tool for easy creation of user friendly administrative interface for MySQL, MariaDB, SQLite and PostgreSQL databases.
It's built with: [Hogan.js][1] ([mustache.js][2]), [Express][3], [mysql][4] and [Bootstrap][5].
The configuration is done through hand editing `json` files, although in the f... | {
"content_hash": "7df2a4351741873d243359f4db853034",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 143,
"avg_line_length": 32.46875,
"alnum_prop": 0.7151106833493744,
"repo_name": "simov/express-admin-site",
"id": "794bc46fa693a461322e6c812f7d3d62919ec483",
"size": "1057... |
/*jslint nomen:true*/
/*global define, requirejs*/
define([
'underscore',
'./app/application',
'./app/routes',
'module'
].concat(requirejs.s.contexts._.config.appmodules), function (_, Application, routes, module) {
'use strict';
var app, options;
options = _.extend(module.config(), {
... | {
"content_hash": "ed33d416b0f696652fad1dc6441ce105",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 95,
"avg_line_length": 24.066666666666666,
"alnum_prop": 0.5207756232686981,
"repo_name": "MarkThink/OROCRM",
"id": "a2e7f236f127eceadcfea1a90cfd5903542c8738",
"size": "722... |
/*
An item describes what is available to be stocked as inventory at a location.
*/
SELECT * FROM item
;
| {
"content_hash": "bf253904491da4d28ac0531aff8d94ad",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 77,
"avg_line_length": 15.285714285714286,
"alnum_prop": 0.719626168224299,
"repo_name": "nathanmoon/sql-tutorial",
"id": "82b8425d215df42cfc99d1aab692b43d991994bb",
"size":... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "8a727883fc46240ce7ad83fda5faee10",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "1a676f5dc2af22c1d37d61ec0cb78804943adc15",
"size": "18... |
// TODO: Comment me!
extern cpFloat cp_constraint_bias_coef;
struct cpConstraintClass;
struct cpConstraint;
typedef void (*cpConstraintPreStepFunction)(struct cpConstraint *constraint, cpFloat dt, cpFloat dt_inv);
typedef void (*cpConstraintApplyImpulseFunction)(struct cpConstraint *constraint);
typedef cpFloat (... | {
"content_hash": "02947f1e081fe596295406f93518a767",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 105,
"avg_line_length": 27.45205479452055,
"alnum_prop": 0.7849301397205589,
"repo_name": "adambyram/pinballmini-ios",
"id": "a361d7aab2246fe26f45c0f090ecc855744f2b76",
"si... |
const ELEMENT_NODE = 1
export function isElement (node: Node): node is Element {
return node.nodeType === ELEMENT_NODE
}
| {
"content_hash": "1f515d663adc142154a368b06b42f940",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 57,
"avg_line_length": 24.8,
"alnum_prop": 0.7258064516129032,
"repo_name": "calebmer/vulture",
"id": "bf4f67e6725e6e5728bf3d8d92b641629cb79959",
"size": "124",
"binary": ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OpenNLP.Tools.Util.Process
{
/// <summary>
/// Constructs a token (of arbitrary type) from a string and its position
/// in the underlying text. This is used to create tokens in J... | {
"content_hash": "c43a3edd78e3834a78c0c32b7488d591",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 107,
"avg_line_length": 40.964285714285715,
"alnum_prop": 0.6617262423714037,
"repo_name": "mlennox/OpenNlp",
"id": "747336f389701f35508894891db07fa42f6bd7f9",
"size": "114... |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.0
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------------... | {
"content_hash": "bcc7de475e68d8959cd3fc5cb545a2d0",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 246,
"avg_line_length": 46.51538461538462,
"alnum_prop": 0.7752604597320986,
"repo_name": "lordjone/libgdx",
"id": "c80f45804d17376af48bcaf5414436d505a44140",
"size": "604... |
import React from 'react'; // eslint-disable-line no-unused-vars
import { mount } from 'enzyme';
import moment from 'moment';
import { getNewDateStateChange } from '../Calendar';
import Calendar from '../Calendar';
describe('Calendar', () => {
let wrapper;
beforeEach(() => {
const theme = {
Colors: {}... | {
"content_hash": "dd928a7fda000d91c6cc3724ef34a864",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 163,
"avg_line_length": 33.80392156862745,
"alnum_prop": 0.6203596287703016,
"repo_name": "mxenabled/mx-react-components",
"id": "d2960d0f6ccf3bf596d6139a4aa41387118e8a2c",
... |
/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2016. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | {
"content_hash": "8f8e982c2c82242365cceeac7b2e2b33",
"timestamp": "",
"source": "github",
"line_count": 262,
"max_line_length": 109,
"avg_line_length": 25.03053435114504,
"alnum_prop": 0.6354071363220494,
"repo_name": "ArcticWarriors/snobot-2016",
"id": "0d8171172ab7927ee602bcf4bc1d188e5980bd81",
"... |
module Google
module Analytics
module Admin
module V1alpha
# The request for a Data Access Record Report.
# @!attribute [rw] entity
# @return [::String]
# The Data Access Report is requested for this property.
# For example if "123" is your GA4 property ID, ... | {
"content_hash": "efcf5911811450468de0b8feda2519ae",
"timestamp": "",
"source": "github",
"line_count": 1519,
"max_line_length": 121,
"avg_line_length": 49.1026991441738,
"alnum_prop": 0.6238620671162535,
"repo_name": "dazuma/google-cloud-ruby",
"id": "fe2f499035ccc0c0d563f7db3ecd57089d4e2d58",
"si... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<include layout="@layout/toolbar" /... | {
"content_hash": "15cd12d4962b7c2968249ea0665c64e1",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 72,
"avg_line_length": 33.97959183673469,
"alnum_prop": 0.612012012012012,
"repo_name": "iamlisa0526/bolianeducation-child",
"id": "a251a1f095d694e4a122f3cab31e41c5641beed9",... |
using System.ComponentModel;
using System.Text;
using Microsoft.Build.Framework;
public class ConfigureWindowModel : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
string toolsDirectory;
public string ToolsDirectory
{
get { return toolsDirectory; }
... | {
"content_hash": "337da9b2ba66bcde3338f979de66b1cd",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 194,
"avg_line_length": 22.3125,
"alnum_prop": 0.5815126050420169,
"repo_name": "uniquegodwin/Costura",
"id": "d834a6d19b83bffe09bd06209c6e17d125eecae4",
"size": "3572",
... |
package com.sinotrans.transport.dto.vo;
/**
* Created by emi on 2016/7/21.
* 司机账单返回vo
*/
public class DriverBillRespVo {
private String index;//下标
private String truckCode;//车牌号
private String driverName;//司机名
private String actionDesc;//操作
private String containerNo;//箱号
private String siz... | {
"content_hash": "e1346da78fe3fbb54b4be91885a45e58",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 60,
"avg_line_length": 21.011111111111113,
"alnum_prop": 0.6361713379164463,
"repo_name": "okmnhyxx/car-free-transport",
"id": "50ab6d515b3c86469fe13a8359c4f676cb5568a7",
"... |
/**
* Team Validator
* Pokemon Showdown - http://pokemonshowdown.com/
*
* Handles team validation, and specifically learnset checking.
*
* @license MIT license
*/
'use strict';
let Validator;
if (!process.send) {
let validationCount = 0;
let pendingValidations = {};
let ValidatorProcess = (function () {
... | {
"content_hash": "eb0aceed7fa1120ead9b20c1fc72b7b4",
"timestamp": "",
"source": "github",
"line_count": 878,
"max_line_length": 255,
"avg_line_length": 39.49658314350797,
"alnum_prop": 0.6287559836207394,
"repo_name": "Nineage/Origin",
"id": "a638ec56a26ec20d71e8cb097a95bacb0a7157c3",
"size": "3468... |
package macromedia.asc.embedding.avmplus;
import macromedia.asc.util.Context;
import macromedia.asc.semantics.Builder;
import macromedia.asc.semantics.ObjectValue;
public class WithBuilder extends Builder
{
public void build(Context cx, ObjectValue ob)
{
objectValue = ob;
contextId = cx.getId();
}
public b... | {
"content_hash": "68c8e4a64ae004d94aaad89a958b0038",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 53,
"avg_line_length": 19.36842105263158,
"alnum_prop": 0.7690217391304348,
"repo_name": "adufilie/flex-sdk",
"id": "44bdb8b01304dc9187437b9d4eb53d1b048be225",
"size": "118... |
<md-toolbar class="md-hue-2 topbar">
<div class="md-toolbar-tools">
<h2 flex md-truncate>Variables dans ce namespace</h2>
<md-button class="md-fab md-hue-3 md-mini" aria-label="Ajouter un groupe de variables" ng-click="addGroup($event)">
<md-tooltip md-direction="left">Ajouter un groupe... | {
"content_hash": "3357a71808e8be4bd9874aa6bb1e9539",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 175,
"avg_line_length": 51.44444444444444,
"alnum_prop": 0.4742363468065412,
"repo_name": "Exanis/cannelloni",
"id": "c6de80768c7dc6d8c8af04fee3cb18f0a62d456a",
"size": "32... |
export default function foo () {
console.log( 'indented with spaces' );
}
| {
"content_hash": "c6ae69fba88792660b2300ed25154a11",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 40,
"avg_line_length": 25.333333333333332,
"alnum_prop": 0.6842105263157895,
"repo_name": "Permutatrix/rollup",
"id": "20f79c77370491d9f1083e36998ff9bb117f672f",
"size": "76... |
<?php
/**
* Reference Manager
* @author Jake Josol
* @description Determines the references used by the app
*/
require_once __DIR__."/../vendor/autoload.php";
/****************************************
BASE - Base reference class
****************************************/
class Reference extends Warp\Core\Referenc... | {
"content_hash": "41f8f2fc6ef26b510a7ac43b319fdf11",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 82,
"avg_line_length": 38.22727272727273,
"alnum_prop": 0.5243757431629013,
"repo_name": "jakejosol/warp-project",
"id": "2d0057aced64533f91f0c97e0871f8a06d583311",
"size":... |
<?php
namespace PHPExiftool\Driver\Tag\MXF;
use JMS\Serializer\Annotation\ExclusionPolicy;
use PHPExiftool\Driver\AbstractTag;
/**
* @ExclusionPolicy("all")
*/
class ImageStartOffset extends AbstractTag
{
protected $Id = '060e2b34.0101.0102.04180102.00000000';
protected $Name = 'ImageStartOffset';
... | {
"content_hash": "1f98b6826b3ebc5807ef33da8e793d3a",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 59,
"avg_line_length": 16.63888888888889,
"alnum_prop": 0.671118530884808,
"repo_name": "bburnichon/PHPExiftool",
"id": "0625c08d3856849f5e8550b7141f940ebae6893c",
"size": ... |
module Google.YT {
interface Event {
(event: any): void;
}
export interface Events {
onReady?: Event;
onPlayback?: Event;
onStateChange?: Event;
}
export enum ListType {
search,
user_uploads,
playlist,
}
export interface PlayerVars {
autohide?: number;... | {
"content_hash": "f2504fe44fdc13260644c0d4ab5dcd25",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 97,
"avg_line_length": 24.568,
"alnum_prop": 0.5525887333116248,
"repo_name": "sonwh98/DefinitelyTyped",
"id": "80562713801a15913bc0c4954abdd802c1c52144",
"size": "3350",
... |
using System;
using System.Threading;
using System.Threading.Tasks;
using ZptSharp.Dom;
using ZptSharp.Expressions;
using ZptSharp.Metal;
using ZptSharp.Rendering;
namespace ZptSharp.SourceAnnotation
{
/// <summary>
/// An implementation of <see cref="IProcessesExpressionContext"/> which adds
/// source a... | {
"content_hash": "c128ec8293fba06d1b0c8bc4b4f8f735",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 136,
"avg_line_length": 41.638297872340424,
"alnum_prop": 0.6563617782319877,
"repo_name": "csf-dev/ZPT-Sharp",
"id": "133bf7050144db145625f5aa9a8225f4a73a05e2",
"size": "3... |
package org.apereo.cas.uma.ticket.rpt;
import org.apereo.cas.support.oauth.OAuth20Constants;
import org.apereo.cas.support.oauth.OAuth20GrantTypes;
import org.apereo.cas.support.oauth.OAuth20ResponseTypes;
import org.apereo.cas.support.oauth.services.OAuthRegisteredService;
import org.apereo.cas.support.oauth.web.endp... | {
"content_hash": "398b0226d70d6822e9d76d5384c5c7c1",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 131,
"avg_line_length": 44.54761904761905,
"alnum_prop": 0.6892036344200962,
"repo_name": "rkorn86/cas",
"id": "06a36d630ec7b9833ee0aff0a7929844b3ea0d5c",
"size": "3742",
... |
package org.jboss.logmanager;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.concurrent.ConcurrentMap;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.util.concurrent.atom... | {
"content_hash": "78050da4f26288c0f9347a36be9cb42e",
"timestamp": "",
"source": "github",
"line_count": 448,
"max_line_length": 197,
"avg_line_length": 32.966517857142854,
"alnum_prop": 0.5764777574649604,
"repo_name": "doctau/jboss-logmanager",
"id": "6207e40db0a80eef322dc117cd6f33055df26e9d",
"si... |
package org.apache.kafka.streams.state;
import java.util.Objects;
import org.apache.kafka.common.TopicPartition;
import org.apache.kafka.streams.KafkaStreams;
import java.util.Collections;
import java.util.Set;
/**
* Represents the state of an instance (process) in a {@link KafkaStreams} application.
* It contain... | {
"content_hash": "d03544ee9ad5b6db80888af3bcec1233",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 120,
"avg_line_length": 35.37410071942446,
"alnum_prop": 0.6223306894447834,
"repo_name": "sslavic/kafka",
"id": "1715cf4d3e0dd7a5bf0350bec8c78f5ad42ae9c3",
"size": "5715"... |
<?php namespace Icy\User;
/**
* Created by PhpStorm.
* User: Chad
* Date: 9/20/2014
* Time: 5:18 PM
*/
class AuthToken extends \Eloquent {
/**
* The database table used by the model.
*
* @var string
*/
protected $table = 'auth_tokens';
protected $guarded = ['id'];
public function user()
{
return... | {
"content_hash": "ddfceb264661fc246a07fd89be21501d",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 43,
"avg_line_length": 14.44,
"alnum_prop": 0.6149584487534626,
"repo_name": "Supericy/steam-website",
"id": "fe4544821841b1dea2b313b0bce60ee86a9fbc8a",
"size": "361",
"b... |
using UnityEngine;
using System.Collections;
public class CheeseDestroyer : MonoBehaviour {
// Use this for initialization
void Start () {
Destroy (gameObject, 3f);
}
// Update is called once per frame
void Update () {
}
}
| {
"content_hash": "5edcd911dacfa59e1f359039d6642ce0",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 46,
"avg_line_length": 15.866666666666667,
"alnum_prop": 0.6932773109243697,
"repo_name": "vsawyer/TeamZodiac",
"id": "abf606bbbcec32a6414ffc8b37770b76da1ae3a7",
"size": "2... |
namespace data_decoder {
namespace {
class FileDataSource final : public mojom::BundleDataSource {
public:
FileDataSource(mojo::PendingReceiver<mojom::BundleDataSource> receiver,
base::File file)
: receiver_(this, std::move(receiver)), file_(std::move(file)) {
receiver_.set_disconnect_ha... | {
"content_hash": "db90573f3ef6328d751f2df5465e8b4b",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 80,
"avg_line_length": 34.044117647058826,
"alnum_prop": 0.7071274298056156,
"repo_name": "endlessm/chromium-browser",
"id": "1ead65ea90c00d9eedae17bf606290fab0b53146",
"si... |
base_path = ../../..
include ../../Makefile.in
#Path for SunOS
ifeq ($(findstring SunOS, $(UNIXNAME)), SunOS)
EXTLIBS = -liconv
endif
ifeq ($(findstring FreeBSD, $(UNIXNAME)), FreeBSD)
EXTLIBS = -L/usr/local/lib -liconv
endif
ifeq ($(findstring Darwin, $(UNIXNAME)), Darwin)
EXTLIBS += -L/usr/lib -liconv
endif
PROG =... | {
"content_hash": "632a9a12508af0d6063d42a6d9122c94",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 50,
"avg_line_length": 25.692307692307693,
"alnum_prop": 0.6796407185628742,
"repo_name": "hankwing/Squirrel",
"id": "990e83f43a6c37531b27662bfaa14693cf38a090",
"size": "33... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>async-test: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.... | {
"content_hash": "4dadd652b677b95136cc7a444b03e3cd",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 159,
"avg_line_length": 41.52325581395349,
"alnum_prop": 0.5478857462895548,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "0e8b2f418f025c3b7d252b161661f1085b7ae7e0",
... |
class AcDbVertexRef;
class AcDbAssocArrayParameters;
/// <summary><para>
/// AcDbAssocArrayActionBody class is an associative action which evaluates
/// to manage or position array items. This class in general manages assoc
/// dependencies on various objects related to associative array entity.
/// </para><para>
/// A... | {
"content_hash": "9fa3b0475a077cc3dda9c38c374cb9f4",
"timestamp": "",
"source": "github",
"line_count": 270,
"max_line_length": 204,
"avg_line_length": 55.06666666666667,
"alnum_prop": 0.6916868442292171,
"repo_name": "satya-das/cppparser",
"id": "b31697b3db6cb1e3948c32ddb85ae23a55d44d9c",
"size": ... |
package org.androidpn.client;
import org.androidpn.demoapp.R;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
/**
* 开机广播
*
* @author lijian
* @date 2016-12-11 下午10:49:59
*/
public class BootCompletedReceiver exte... | {
"content_hash": "bc5d05898c55874f34713acc1477e009",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 63,
"avg_line_length": 27.6875,
"alnum_prop": 0.7629796839729119,
"repo_name": "lijian17/androidpn-client",
"id": "b305d8a4eff0af1088015a4b504a7439672ad9ed",
"size": "942",... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.containerservice.fluent.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import... | {
"content_hash": "b1ad15372d0426990b43cfa5dc9d53ce",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 120,
"avg_line_length": 32.43801652892562,
"alnum_prop": 0.6726114649681528,
"repo_name": "Azure/azure-sdk-for-java",
"id": "a1c64a3fa126d7f6ac8c900ea753bc5ec6941049",
"si... |
> *@param* **paths** _{String}_ - field paths
> _@return_ **Object**
Expand a String of field paths into objects
<div class="code-header addGitHubLink" data-file="lib/list/expandPaths.js"><a href="#" class="loadCode">code</a></div><pre class=" language-javascript hideCode api"></pre>
| {
"content_hash": "a3510578bfaee2925cd5f1899221a17e",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 172,
"avg_line_length": 49,
"alnum_prop": 0.6768707482993197,
"repo_name": "snowkeeper/keystonejs-site",
"id": "09db35e4b4d5064c5c05b20ff4ad352b9fcd94e7",
"size": "325",
"... |
<?php
namespace app\controllers;
use Yii;
use yii\filters\AccessControl;
use yii\web\Controller;
use yii\filters\VerbFilter;
use app\models\ContactForm;
class SiteController extends Controller
{
/**
* @inheritdoc
*/
public function behaviors()
{
return [
'access' => [
... | {
"content_hash": "fda61363144ca30a2698cd9e7db54610",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 107,
"avg_line_length": 21.75,
"alnum_prop": 0.4276654776060246,
"repo_name": "soniaandrianow/yiitest",
"id": "3b4da3375e5141f0a0ec2f51abec0db8607409fc",
"size": "2523",
... |
package org.apache.druid.sql.calcite.expression;
import com.google.common.collect.Iterables;
import org.apache.calcite.rex.RexNode;
import org.apache.calcite.sql.SqlOperator;
import org.apache.druid.java.util.common.StringUtils;
import org.apache.druid.segment.column.RowSignature;
import org.apache.druid.sql.calcite... | {
"content_hash": "c085084041a62b9c1862d54df97dec7f",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 94,
"avg_line_length": 25.95744680851064,
"alnum_prop": 0.7327868852459016,
"repo_name": "nishantmonu51/druid",
"id": "8a38fbe9c936532603b54d812bee7860441b40bb",
"size": "2... |
<mat-toolbar color="primary">
<mat-icon (click)="back()" class="arrow-button">arrow_back</mat-icon>
<h1>Add Transaction</h1>
</mat-toolbar>
<form [formGroup]="transaction" (ngSubmit)="addTransaction()">
<mat-list>
<mat-radio-group formControlName="selectedSubcategory">
<div *ngFor="let category of sub... | {
"content_hash": "c6b11696e2a1dced58a298e9edd77577",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 110,
"avg_line_length": 31.071428571428573,
"alnum_prop": 0.6252873563218391,
"repo_name": "seescode/budget",
"id": "f3ad7610d954b2460c7bd0add4860f4d35f8d9b0",
"size": "870... |
language("rust")
-- set source file kinds
set_sourcekinds {rc = ".rs"}
-- set source file flags
set_sourceflags {rc = "rcflags"}
-- set target kinds
set_targetkinds {binary = "rcld", static = "rcar", shared = "rcsh"}
-- set target flags
set_targetflags {binary = "ldflags", static = "... | {
"content_hash": "034e10b524abb08c8266078c9f17b232",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 96,
"avg_line_length": 27.583333333333332,
"alnum_prop": 0.4570565386275356,
"repo_name": "waruqi/xmake",
"id": "5b4e2f37ec40c12534a4f7c91664bf318fcf6a31",
"size": "3051",
... |
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you don't have to restart the web serv... | {
"content_hash": "d2db0808fb464827620113d54a802eac",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 85,
"avg_line_length": 35.17391304347826,
"alnum_prop": 0.7435105067985167,
"repo_name": "NotGrm/booking-api",
"id": "4c9c6d36bc22bd66e555c09d33c10e0f1f139c67",
"size": "16... |
require File.expand_path('../boot', __FILE__)
require 'rails/all'
require 'oauth/rack/oauth_filter'
if defined?(Bundler)
# If you precompile assets before deploying to production, use this line
Bundler.require(*Rails.groups(:assets => %w(development test)))
# If you want your assets lazily compiled in productio... | {
"content_hash": "fac0a022c4e156b2334593dd4880f2d1",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 99,
"avg_line_length": 40.78125,
"alnum_prop": 0.7011494252873564,
"repo_name": "tarr11/undo.io",
"id": "26f9f88b1c4767cb31124b0fcd3e13b975233caf",
"size": "2610",
"binar... |
<jboss-deployment-structure>
<deployment>
<dependencies>
<module name="org.jboss.security.negotiation" />
</dependencies>
</deployment>
</jboss-deployment-structure>
| {
"content_hash": "72bdec98ac5597d6cc72ee643f2b5d9d",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 52,
"avg_line_length": 27.142857142857142,
"alnum_prop": 0.6789473684210526,
"repo_name": "rareddy/ws-security-examples",
"id": "5a02232da1d061c627d31beb7c2f26f6b0e542ab",
"... |
<?php
namespace Hyperframework\Common;
class EventEmitterEngine {
private $callbacks = [];
/**
* @param string $name
* @param callable $callback
* @return void
*/
public function bind($name, $callback) {
if (isset($this->callbacks[$name]) === false) {
$this->callbac... | {
"content_hash": "d383967571b8119702df2f37588b7e02",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 78,
"avg_line_length": 28.973333333333333,
"alnum_prop": 0.46157386102162906,
"repo_name": "hyperframework/hyperframework",
"id": "3820f2bf0e4b79cd75926d5ece6992242edc7613",
... |
namespace Google.Cloud.SecurityCenter.V1.Snippets
{
// [START securitycenter_v1_generated_SecurityCenter_ListMuteConfigs_async_flattened]
using Google.Api.Gax;
using Google.Cloud.SecurityCenter.V1;
using System;
using System.Linq;
using System.Threading.Tasks;
public sealed partial class Ge... | {
"content_hash": "26560dabf7c0661dea4924f8e3d5b208",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 131,
"avg_line_length": 44.083333333333336,
"alnum_prop": 0.6158790170132326,
"repo_name": "jskeet/gcloud-dotnet",
"id": "b232f7c0f2b80b05be65d5837be8087c4647185a",
"size":... |
using System.Collections.Generic;
using Microsoft.VisualStudio.Language.Intellisense;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.WebTools.Languages.Shared.Editor.Completion;
namespace Microsoft.PythonTools.Django.Intellisense {
internal class TemplateCompletionCont... | {
"content_hash": "378a4505b1a6dcd61b70d58e7d18eb5b",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 138,
"avg_line_length": 37.829787234042556,
"alnum_prop": 0.6614173228346457,
"repo_name": "huguesv/PTVS",
"id": "f859ef5eec9b58397963a65a81b294829a1f21b4",
"size": "2499",... |
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <pthread.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <pwd.h>
#include <time.h>
#include <gmetad.h>
#include <cmdline.h>
#include <apr_time.h>
#include "daemon_init.h"
#include "update_pidfile.h"
#include "rrd_helpers... | {
"content_hash": "0fc776515b24a22e63c4986425d36923",
"timestamp": "",
"source": "github",
"line_count": 497,
"max_line_length": 125,
"avg_line_length": 28.026156941649898,
"alnum_prop": 0.5964534424581808,
"repo_name": "dmourati/monitor-core",
"id": "e9dedb632a0aa4f1112b8a594928ae5bfa95a278",
"size... |
namespace v8 {
class Isolate;
}
namespace blink {
class SecurityOrigin;
class WindowAgent;
// This is a helper class to assign WindowAgent to Document.
// The instance should be created for each group of Documents that are mutually
// reachable via `window.opener`, `window.frames` or others. These Documents
// may h... | {
"content_hash": "06da4cf56f52f88e2fd1f2cfa009502f",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 84,
"avg_line_length": 38.54736842105263,
"alnum_prop": 0.6960677225559804,
"repo_name": "endlessm/chromium-browser",
"id": "2e1bfb364501616ba57f5d16607f861b8b7f7ee0",
"siz... |
'use strict';
const LinkedinLogin = require('./src/LinkedinLogin');
module.exports = LinkedinLogin;
| {
"content_hash": "1c4a3c750bc68e0c87d0536bff510fed",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 53,
"avg_line_length": 20.4,
"alnum_prop": 0.7450980392156863,
"repo_name": "alma-connect/react-native-linkedin-login",
"id": "48586d0d23bb20f61a335b3b3cc32af64f5d8782",
"si... |
set(CMAKE_GENERATOR_TOOLSET "Test Toolset")
| {
"content_hash": "7cffcdb95c6c9f7ec55f5586cf70e696",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 43,
"avg_line_length": 44,
"alnum_prop": 0.7954545454545454,
"repo_name": "hlzz/dotfiles",
"id": "bee2ae4bb770c1fc8c499dc8bc0120de2f289f61",
"size": "44",
"binary": false,... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>tree-diameter: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.m... | {
"content_hash": "45ee776200d9709d48722fc5d87c1d73",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 310,
"avg_line_length": 43.69879518072289,
"alnum_prop": 0.5514199062586159,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "2e46d07f72a8676f2c530a05eb0e8720bdd43599",
... |
import React from 'react'
import {render} from '../utils/renderer'
import Streams from './Streams'
describe('Streams', () => {
let tree
beforeEach(() => {
tree = render(
<Streams />
)
})
it('renders', () => {
expect(tree).toMatchSnapshot()
})
})
| {
"content_hash": "761d1bab7d549cb1f2c28cd24b7e90ba",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 40,
"avg_line_length": 16.294117647058822,
"alnum_prop": 0.5631768953068592,
"repo_name": "unindented/twitch-x",
"id": "52b41abc7d4bd9fde09928f38162c3ce1073345d",
"size": "... |
struct list
{
int data ;
struct list *next ;
};
void display(struct list *head)
{
struct list *ptr = head ;
while(ptr != NULL)
{
printf(" %d \n", ptr -> data );
ptr = ptr -> next ;
}
}
struct list *reverse(struct list *head) // reversing the linked list
{
struct list *nextNode = NULL , *temp = NULL ;
w... | {
"content_hash": "0c13e20ac89eb08b94228553a62504eb",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 86,
"avg_line_length": 16.673684210526314,
"alnum_prop": 0.5902777777777778,
"repo_name": "puneet222/Data-Structures",
"id": "74a2ff7b78330452e69ddbf78a3c2dcb0caf06f6",
"si... |
<?php
namespace Chamilo\Application\Weblcms\Tool\Implementation\Plagiarism\Service;
use Chamilo\Application\Plagiarism\Domain\SubmissionStatus;
use Chamilo\Application\Weblcms\Course\Storage\DataClass\Course;
use Chamilo\Application\Weblcms\Tool\Implementation\Plagiarism\Storage\DataClass\ContentObjectPlagiarismResul... | {
"content_hash": "060c1757f027efe17d1e7fd3a23830a1",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 173,
"avg_line_length": 40.88111888111888,
"alnum_prop": 0.7386247006500171,
"repo_name": "cosnics/cosnics",
"id": "a290fe7044b0ac93204646bd59c97143092b642b",
"size": "584... |
class FisherFaceRecognizer : public FaceRecognizer {
public:
cv::Ptr<cv::face::FaceRecognizer> faceRecognizer;
void save(std::string path) {
faceRecognizer->save(path);
}
void load(std::string path) {
#if CV_VERSION_GREATER_EQUAL(3, 3, 0)
faceRecognizer = cv::Algorithm::load<cv::face::FisherFaceRecognizer>(pat... | {
"content_hash": "eda53d511135518b97d98be591389457",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 77,
"avg_line_length": 22.423076923076923,
"alnum_prop": 0.7307032590051458,
"repo_name": "justadudewhohacks/opencv4nodejs",
"id": "75349e00c248a8c1c7b9bac2772a16cbd9514ca6",... |
package org.springframework.boot.cli.compiler.dependencies;
import org.springframework.util.StringUtils;
/**
* {@link ArtifactCoordinatesResolver} backed by
* {@link SpringBootDependenciesDependencyManagement}.
*
* @author Phillip Webb
* @author Andy Wilkinson
*/
public class DependencyManagementArtifactCoord... | {
"content_hash": "6cb73324d09ab617bf231f7ace59969b",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 66,
"avg_line_length": 27.114754098360656,
"alnum_prop": 0.749093107617896,
"repo_name": "tsachev/spring-boot",
"id": "2bb1a7517c1cdaa3bf0eadd3a69bc14d1a4244cb",
"size": "2... |
[](http://badge.fury.io/rb/evernote-thrift)
Evernote SDK for Ruby
=====================
Evernote API version 1.25
Overview
--------
This SDK contains wrapper code used to call the Evernote Cloud API from Ruby.
The SDK also contains two samples. The code in... | {
"content_hash": "760546e3ffa1068969f465b2047721d0",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 468,
"avg_line_length": 53.80701754385965,
"alnum_prop": 0.7541571568307792,
"repo_name": "evernote/evernote-sdk-ruby",
"id": "730950f28f29d8d190debd3ddbdb5990af956c85",
"s... |
// Copyright 2007-2011 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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.... | {
"content_hash": "0b82ebe95612a75f7b07660f9f06cc4c",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 100,
"avg_line_length": 34.325581395348834,
"alnum_prop": 0.7601626016260162,
"repo_name": "petedavis/MassTransit",
"id": "e9cba46063510777b037b2834796a820d2681a89",
"size"... |
include(Platform/Windows-MSVC)
set(CMAKE_CUDA_COMPILE_PTX_COMPILATION
"<CMAKE_CUDA_COMPILER> ${CMAKE_CUDA_HOST_FLAGS} <DEFINES> <INCLUDES> <FLAGS> -x cu -ptx <SOURCE> -o <OBJECT> -Xcompiler=-Fd<TARGET_COMPILE_PDB>,-FS")
set(CMAKE_CUDA_COMPILE_SEPARABLE_COMPILATION
"<CMAKE_CUDA_COMPILER> ${CMAKE_CUDA_HOST_FLAGS} <D... | {
"content_hash": "b768de921abcadff75222879d24593ad",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 323,
"avg_line_length": 73.23913043478261,
"alnum_prop": 0.7171267438409024,
"repo_name": "pipou/rae",
"id": "845fa4b6ffc630ac2b950213c0d7774b73660534",
"size": "3369",
"... |
<!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 (1.8.0_151) on Tue Feb 06 09:38:18 MST 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wildf... | {
"content_hash": "4f9b988452837532cce23af01f4bd1d4",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 536,
"avg_line_length": 47.62352941176471,
"alnum_prop": 0.6455039525691699,
"repo_name": "wildfly-swarm/wildfly-swarm-javadocs",
"id": "2af5a4863b573f1ea8554ba7be89d7ab4c96... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>high-school-geometry: 8 m 16 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.... | {
"content_hash": "bb278c51e232b51f5b638df7da93492f",
"timestamp": "",
"source": "github",
"line_count": 370,
"max_line_length": 159,
"avg_line_length": 90.54864864864865,
"alnum_prop": 0.6478225830522639,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "825acacc3e28b8c9908368637b720bb9328c137b",
... |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<widget id="com.ionicframework.rengamobile439669" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>rengaMobile</name>
<description>
An Ionic Framework and Cordova project.
</description>
<au... | {
"content_hash": "bf364c288735dfcb59fb402c0838787b",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 148,
"avg_line_length": 43.3,
"alnum_prop": 0.6974595842956121,
"repo_name": "danihegglin/renga",
"id": "c48534cee198f8185b889e94805a521b4cd80a43",
"size": "866",
"binary... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE404_Improper_Resource_Shutdown__open_fclose_72b.cpp
Label Definition File: CWE404_Improper_Resource_Shutdown__open.label.xml
Template File: source-sinks-72b.tmpl.cpp
*/
/*
* @description
* CWE: 404 Improper Resource Shutdown or Release
* BadSource: Open a fil... | {
"content_hash": "89eec1d94dc6636989346e7782fe5dbf",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 109,
"avg_line_length": 22.796875,
"alnum_prop": 0.6463331048663468,
"repo_name": "JianpingZeng/xcc",
"id": "93539d2c8f3d91adb300053300bc4a539ed570f9",
"size": "1459",
"b... |
import java.util.ArrayList;
/**
* Created by netout on 31.12.2016.
*/
public class Option {
private String flavorText;
private ArrayList<Action> actions;
public Option(String flavorText){
this.flavorText = flavorText;
actions = new ArrayList<>();
}
public String getFlavorText() ... | {
"content_hash": "8d527587948c87b15c417c8e09866bb7",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 38,
"avg_line_length": 19.5,
"alnum_prop": 0.576068376068376,
"repo_name": "Niozz/TextDungeon",
"id": "7c314b6e286a5957c14ca0c8a1e3649db3cc1cd7",
"size": "585",
"binary":... |
{% assign url = page.url | remove: 'index.html' %}
<h2 class="h2__promote h2__outreach"><a href="{{ site.baseurl }}/in-the-workplace/">In the workplace</a></h2>
<ul class="nav__secondary">
{% for link in site.data.nav %}
{% if link.title == "In the workplace" %}
{% for subcategory in link.subcategories %}
<li>... | {
"content_hash": "8518f939df6592910ba14753a23ecb04",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 168,
"avg_line_length": 42.94117647058823,
"alnum_prop": 0.636986301369863,
"repo_name": "eye-division/sussex-mindfulness",
"id": "9be545a3579b5c89c6bf5a2d19ff46ea97a8d812",
... |
<?php
/* GCNAFNAFBundle:Default:index.html.twig */
class __TwigTemplate_3fb3b8ad9c19d9db1236c6ccb6b7b1cab79b409fca0fa21037f74b886e782ae9 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = $this->env->loadTemplate("GCNAFNAFBun... | {
"content_hash": "2ce8cf80ed64fa3c32463ac9dad66986",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 161,
"avg_line_length": 37.6,
"alnum_prop": 0.5166223404255319,
"repo_name": "baitouchente/GCnaf",
"id": "3ab2505978c0bc8db293cfe8505d082d621413af",
"size": "4512",
"bin... |
All Notable changes to `laravel-url-signer` will be documented in this file
## 1.0.0 - 2015-08-15
### Added
- Everything, initial release
| {
"content_hash": "fecc5d58d20af854221af823fa396959",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 75,
"avg_line_length": 23.333333333333332,
"alnum_prop": 0.7214285714285714,
"repo_name": "payssion/laravel-url-signer",
"id": "d329d26464ddfbbe7bdd0beebccdad32ecd691ec",
"s... |
--TEST--
Test ctype_upper() function : basic functionality
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
/* Prototype : bool ctype_upper(mixed $c)
* Description: Checks for uppercase character(s)
* Source code: ext/ctype/ctype.c
*/
echo "*** Testing ctype_upper() : basic functionality ***\n";
$... | {
"content_hash": "e5d677aa9cb877c3bef88dc29f15d756",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 61,
"avg_line_length": 20.586206896551722,
"alnum_prop": 0.6415410385259631,
"repo_name": "lunaczp/learning",
"id": "635e4818dc5e6906d09817049e16693c019459c0",
"size": "597... |
package com.sun.tools.attach;
import com.sun.tools.attach.spi.AttachProvider;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import java.io.IOException;
/**
* A Java virtual machine.
*
* <p> A <code>VirtualMachine</code> represents a Java virtual machine to which this
* Java vi... | {
"content_hash": "2f7aaeffcaada47148e3ba17300565e2",
"timestamp": "",
"source": "github",
"line_count": 610,
"max_line_length": 93,
"avg_line_length": 41.488524590163934,
"alnum_prop": 0.6456456456456456,
"repo_name": "rokn/Count_Words_2015",
"id": "aad0be2cfc9ec46bbe83b11422aa677a127d7a6c",
"size"... |
FROM debian:sid
MAINTAINER Jessie Frazelle <jess@linux.com>
RUN apt-get update && apt-get install -y \
ca-certificates \
s3cmd \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
# Setup s3cmd config
RUN { \
echo '[default]'; \
echo 'access_key=$AWS_ACCESS_KEY'; \
echo 'secret_key=$AWS_SECRET_KEY'; \... | {
"content_hash": "43e8cca73873b2267b288a62af0af56e",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 43,
"avg_line_length": 20.25,
"alnum_prop": 0.6666666666666666,
"repo_name": "saneax/dockerfiles",
"id": "a6afc107983dddd1c2467ec715cdb843e8645129",
"size": "564",
"binar... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.