text stringlengths 2 1.04M | meta dict |
|---|---|
package org.peerbox.app.manager.user;
public final class LoginMessage extends AbstractUserMessage {
public LoginMessage(final String username) {
super(username);
}
}
| {
"content_hash": "bab1f19cb1299a44748f5b2fd832e6d0",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 61,
"avg_line_length": 19.22222222222222,
"alnum_prop": 0.7803468208092486,
"repo_name": "PeerWasp/PeerWasp",
"id": "0abb18a567c15688abb873b05d1999e182af1708",
"size": "173"... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__c_CWE805_int_memcpy_68a.c
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_CWE805.label.xml
Template File: sources-sink-68a.tmpl.c
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Allocate usin... | {
"content_hash": "a31b770d88bbd0567ba9a2fc0463c485",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 119,
"avg_line_length": 33.640449438202246,
"alnum_prop": 0.6863727454909819,
"repo_name": "JianpingZeng/xcc",
"id": "98347665c4fc4736abaadbbf49cbda62a2c7679f",
"size": "29... |
package net.explorviz.landscape.model.helper;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import net.explorviz.landscape.model.application.AggregatedClazzCommunication;
import net.explorviz.landscape.model.application.Application;
import net.explorviz.landscape.mo... | {
"content_hash": "d5d6320bb306b62c7309d41f16ebf5f9",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 92,
"avg_line_length": 43.775862068965516,
"alnum_prop": 0.7892871209137455,
"repo_name": "ExplorViz/explorviz-ui-backend",
"id": "9ac205133f50bbe52bed393379b2dcf6ea1fef48",
... |
(pr_checklist)=
# Pull request checklist
We recommend that your contribution complies with the following guidelines before you submit a pull request:
* If your pull request addresses an issue, please use the pull request title to describe the issue and mention the issue number in the pull request description. This wi... | {
"content_hash": "86d05393efcf9780bed1f31a75f917b9",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 360,
"avg_line_length": 43.63235294117647,
"alnum_prop": 0.7583417593528817,
"repo_name": "arviz-devs/arviz",
"id": "27041f750fb87ed98513b7d67fffe627d991ef3c",
"size": "296... |
import React from 'react';
import { Container, Form, FormGroup, FormFeedback, Input, Card, CardBlock, CardTitle, Button } from 'reactstrap';
import FontAwesome from 'react-fontawesome';
import Cookies from 'js-cookie';
class LoginForm extends React.Component {
constructor() {
super();
this.state = { usernam... | {
"content_hash": "5bb5d67b79e98b43507593c462c03f12",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 149,
"avg_line_length": 29.813953488372093,
"alnum_prop": 0.5659126365054602,
"repo_name": "d0n0/Motion-Timeline",
"id": "46e78968a498a99241d9d72c179a7c61f02dc882",
"size":... |
package com.lcy.tomcat;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.util.Locale;
import javax.servlet.ServletOutputStream;
import javax.servlet.ServletResponse;
public class Re... | {
"content_hash": "efb0506d2994cdf19820b6206f610b87",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 67,
"avg_line_length": 20.865079365079364,
"alnum_prop": 0.6903765690376569,
"repo_name": "erdangjiade/studyTomcat",
"id": "97bbe453107c2ed8a8113c316daed60f1b982993",
"siz... |
<?php
ini_set("display_errors", 1);
ini_set("error_reporting", E_ALL);
include_once("classes/btupload.php");
if($_POST['submit']) {
$btUploadObj = new BTUpload($_FILES['uploadfile'], "", "", array(".jpg", ".png", ".bmp", ".gif"));
if($btUploadObj->uploadFile()) {
echo "File Uploaded!";
}
else {
echo "Unabl... | {
"content_hash": "481b09162172b5f392dc99f8f2e6a939",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 99,
"avg_line_length": 15.625,
"alnum_prop": 0.5888,
"repo_name": "bluethrust/cs4",
"id": "f9ff532b278c67ab15adc27d2284fa364b4ac13e",
"size": "625",
"binary": false,
"c... |
#include "stdhdr.h"
#include "digi.h"
#include "simveh.h"
#include "aircrft.h"
#include "airframe.h"
#include "campbase.h"
#include "radar.h"
#include "Find.h" // 2002-03-11 MN
#include "Falclib/include/MsgInc/RadioChatterMsg.h" // MN
#include "Flight.h" // MN
#define SHOW_MANEUVERLABELS
#ifdef SHOW_MANEUVERLABELS
#in... | {
"content_hash": "16e6a8d69d925253db4a8e55b2e2e64b",
"timestamp": "",
"source": "github",
"line_count": 572,
"max_line_length": 147,
"avg_line_length": 27.63986013986014,
"alnum_prop": 0.6075268817204301,
"repo_name": "markbb1957/FFalconSource",
"id": "6dac5d07da2a772e0d1045b398e0007ff3cf193e",
"si... |
var SModule = require('./../SModule.js');
var inherits = require('inherits');
var smartresize = require('../../Smartresize.js');
var helper = require('../../Helper.js')();
var EventType = require('../../EventType.js');
module.exports = UISwitcherModule;
function UISwitcherModule(opts) {
var self = this; //things... | {
"content_hash": "82c031a16c87632eba33ca0326778d39",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 136,
"avg_line_length": 35.6140350877193,
"alnum_prop": 0.5729064039408867,
"repo_name": "gurbano/fuzzy-octo-location",
"id": "6f85a326f665ae863764e420b97b292db051ddc2",
"s... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/AndroidServicesHomework.iml" filepath="$PROJECT_DIR$/AndroidServicesHomework.iml" />
<module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJEC... | {
"content_hash": "086da12d1f3a01f563105296e4101f79",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 128,
"avg_line_length": 42.55555555555556,
"alnum_prop": 0.6840731070496083,
"repo_name": "waiting4tzeentch/AndroidServicesHomework",
"id": "296f1841712f0903bd1774ec1d92c5ac83... |
namespace peloton {
namespace stats {
StatsAggregator::StatsAggregator(int64_t aggregation_interval_ms)
: stats_history_(0, false),
aggregated_stats_(LATENCY_MAX_HISTORY_AGGREGATOR, false),
aggregation_interval_ms_(aggregation_interval_ms),
thread_number_(0),
total_prev_txn_committed_(0) {
... | {
"content_hash": "719d6146e4cf7df4a9fdb399bf96bd0e",
"timestamp": "",
"source": "github",
"line_count": 319,
"max_line_length": 80,
"avg_line_length": 37.94984326018809,
"alnum_prop": 0.6500908640343631,
"repo_name": "prashasthip/peloton",
"id": "dfc964f5fa00886402864879e0b73d95030fc115",
"size": "... |
export const noop = () => {};
export interface AddressModeLogic {
BLOCK_COUNT: number;
SEP: string;
RE_CHAR: RegExp;
RE_BLOCK: RegExp[];
blocks: () => string[];
fromBlocks: (blocks: string[], sep?: string) => string;
split: (value: string, sep?: string, throwError?: boolean) => string[];
isValid: (bloc... | {
"content_hash": "fc4a0280dc05a46716b3d35e926b8380",
"timestamp": "",
"source": "github",
"line_count": 202,
"max_line_length": 100,
"avg_line_length": 32.21287128712871,
"alnum_prop": 0.6044260027662517,
"repo_name": "shlomiassaf/ng2-ip",
"id": "417c13aa135403b888d8ced3d42f6e90e03dd825",
"size": "... |
package org.diirt.util.stats;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.diirt.util.array.ArrayDouble;
import org.junit.Test;
import static org.junit.Assert.*;
import static org.hamcrest.CoreMatchers.*;
/**
*
* @author carcassi
*/
public class StatisticsUtilTest {
... | {
"content_hash": "b7f6c47c305a65ef8e08fbadb061c6e9",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 100,
"avg_line_length": 37.794520547945204,
"alnum_prop": 0.6473359913011961,
"repo_name": "richardfearn/diirt",
"id": "f3725cd20d1615b87ac3928645961304efbeb96a",
"size": "... |
#include <sys/cdefs.h>
__FBSDID("$FreeBSD: soc2013/dpl/head/sys/cam/scsi/scsi_targ_bh.c 230279 2012-01-12 00:34:33Z ken $");
#include <sys/param.h>
#include <sys/queue.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/types.h>
#include <sys/bio.h>
#include <sys/conf.h>
#include <sys/devicestat.h>
#incl... | {
"content_hash": "f6e4e230acf89e1c05a481131364ed87",
"timestamp": "",
"source": "github",
"line_count": 755,
"max_line_length": 101,
"avg_line_length": 26.192052980132452,
"alnum_prop": 0.6510745891276865,
"repo_name": "dplbsd/soc2013",
"id": "0e10be75217b64f52339a7d7f4e10a284292c7d8",
"size": "212... |
var _ = require('underscore');
var Backbone = require('backbone');
var Notifier = DT.lib.Notifier;
var BasePageView = DT.lib.BasePageView;
var ErrorPageView = BasePageView.extend({
pageName: 'ErrorPageView',
useDashMgr: false,
initialize: function(attributes, options) {
BasePageView.prototype.... | {
"content_hash": "ab89224d1cc878323dd1b6f04c3b16b3",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 74,
"avg_line_length": 22.862068965517242,
"alnum_prop": 0.6018099547511312,
"repo_name": "andyperlitch/malhar-ui-console-2",
"id": "a649b931433d57651b00261da6349bf1fea7400c"... |
ENV_VARS_GCS_PATH=gs://your-bucket-name/env.txt
# UPDATE the path to your service account credentials.json stored on your GCS Bucket
CRED_FILE_GCS_PATH=gs://your-bucket-name/credentials.json
# UPDATE the path to your container image
# To be updated with desired conatiner image and with an updated image for every sub... | {
"content_hash": "0baea2ac19f4cf9a49a115c0d7830359",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 107,
"avg_line_length": 34.254901960784316,
"alnum_prop": 0.723526044647968,
"repo_name": "GoogleCloudPlatform/storage-sdrs",
"id": "d62a80ec3fcb7ef228d759432ba2b0ccab861bf9"... |
var parseString = require('xml2js').parseString;
module.exports = {
//Auxilaries function
//Return true if a value is in a tab
isIn : function(value,tab){
var res = false;
if(tab.length > 0){
tab.forEach(function(v){
if(v == value){
res = true;
}
});
}
return res;
},
onRun: funct... | {
"content_hash": "1d875add82cbc8f1aa2865e1cd89becd",
"timestamp": "",
"source": "github",
"line_count": 218,
"max_line_length": 121,
"avg_line_length": 26.380733944954127,
"alnum_prop": 0.5840723352460442,
"repo_name": "bhecquet/qualityBoard",
"id": "a2bd4acab18e099ff8aa0a5ed3e725ef22b3527a",
"size... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
namespace WcfFullDuplexServer
{
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "OrderService" in code, svc and config file... | {
"content_hash": "404167a9eff67dce3b56f27aa947fcaf",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 173,
"avg_line_length": 38.4,
"alnum_prop": 0.6875,
"repo_name": "tlaothong/cat-design-patterns",
"id": "e199412b1952b48ef668a41139e60527b1718ebd",
"size": "962",
"binary... |
<?php
namespace JsPackager\Command;
use JsPackager\Compiler;
use JsPackager\DefaultRemotePath;
use Psr\Log\LoggerInterface;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Helper\Table;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputDefinition;... | {
"content_hash": "310102beccc46b946386ca7f77f387e5",
"timestamp": "",
"source": "github",
"line_count": 256,
"max_line_length": 166,
"avg_line_length": 33.5234375,
"alnum_prop": 0.6000932183640177,
"repo_name": "r4j4h/jspackager-cli",
"id": "417e8bc6ddfc576ec1dc0b49e921dec6ee7583e9",
"size": "8582"... |
function formcheck_school_setup_school()
{
var sel = document.getElementsByTagName('input');
for(var i=1; i<sel.length; i++)
{
var inp_value = sel[i].value;
if(inp_value == "")
{
var inp_name = sel[i].name;
if(inp_name == 'values[TITLE]')
{
document.getElementById('divErr'... | {
"content_hash": "90f69dc1b62668f045e1f50249c9c804",
"timestamp": "",
"source": "github",
"line_count": 1502,
"max_line_length": 238,
"avg_line_length": 30.089214380825567,
"alnum_prop": 0.5650971367880692,
"repo_name": "shamim8888/SMSlib-ParallelPort",
"id": "eedf6a2f4106e9a511a303a778a91980ed2c907c... |
<?php
/*
* By adding type hints and enabling strict type checking, code can become
* easier to read, self-documenting and reduce the number of potential bugs.
* By default, type declarations are non-strict, which means they will attempt
* to change the original type to match the type specified by the
* type-decla... | {
"content_hash": "5adade78fbb699666c8f8d2fd26c758a",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 92,
"avg_line_length": 28.545454545454547,
"alnum_prop": 0.5949044585987261,
"repo_name": "exercism/xphp",
"id": "04c2e101f491ff15077af74d5f7fd01445fdeb40",
"size": "3140"... |
package x509
import (
"encoding/pem"
"strings"
)
// Roots is a set of certificates.
type CertPool struct {
bySubjectKeyId map[string][]int
byName map[string][]int
certs []*Certificate
}
// NewCertPool returns a new, empty CertPool.
func NewCertPool() *CertPool {
return &CertPool{
make(map[st... | {
"content_hash": "536a4d1818d75fcddf7908a62f1afb7c",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 159,
"avg_line_length": 24.168316831683168,
"alnum_prop": 0.6808684965178206,
"repo_name": "SDpower/golang",
"id": "c295fd97e8d4311e6f6ee4596e12c52cf55d161e",
"size": "260... |
"""improve mssql compatibility
Revision ID: 83f031fd9f1c
Revises: ccde3e26fe78
Create Date: 2021-04-06 12:22:02.197726
"""
from collections import defaultdict
import sqlalchemy as sa
from alembic import op
from sqlalchemy.dialects import mssql
# revision identifiers, used by Alembic.
revision = '83f031fd9f1c'
down... | {
"content_hash": "d6181c0611b479d63e41e727c37c1ccf",
"timestamp": "",
"source": "github",
"line_count": 237,
"max_line_length": 110,
"avg_line_length": 41.76371308016878,
"alnum_prop": 0.6563952313598707,
"repo_name": "apache/incubator-airflow",
"id": "daaf711b4c79fc0c217ee487aa19406924e10c39",
"si... |
/*
* Generated by SGWrapperGen - DO NOT EDIT!
*
* SwinGame wrapper for C - Sprites
*
* Wrapping sgSprites.pas
*/
#ifndef sgSprites
#define sgSprites
#include <stdint.h>
#ifndef __cplusplus
#include <stdbool.h>
#endif
#include "Types.h"
void call_for_all_sprites(sprite_function fn);
void call_on_sprite_event(spri... | {
"content_hash": "f55245619849c700272c619dfb300774",
"timestamp": "",
"source": "github",
"line_count": 217,
"max_line_length": 103,
"avg_line_length": 49.02304147465438,
"alnum_prop": 0.771197593532619,
"repo_name": "SinZ163/IntroToProgramming_Project",
"id": "75a994e2f72a1c99d75d565b129ab39e25962d5... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>basic_socket::message_end_of_record</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="../../../bo... | {
"content_hash": "99cfa954012cd0131920c2016cdaf367",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 443,
"avg_line_length": 65.68518518518519,
"alnum_prop": 0.6315195940231181,
"repo_name": "calvinfarias/IC2015-2",
"id": "c63cc16bb31310bfed9e9c42197aceadfe0e9d0e",
"size":... |
using System;
using System.Collections.Generic;
public class CompareChar
{
public static void Main()
{
List<char> listOfChar1 = new List<char>();
List<char> listOfChar2 = new List<char>();
bool isEqual = false;
Console.WriteLine("Enter the first array (enter \"end\" when you wa... | {
"content_hash": "69ff6e57bdd126875f22a6d6c75cd3d1",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 92,
"avg_line_length": 27.016129032258064,
"alnum_prop": 0.4244776119402985,
"repo_name": "emilti/Telerik-Academy-My-Courses",
"id": "f9a4dafa96b2162f12b2f6665ffac39c2a7b94cb... |
using System.Text.Json;
using Azure.Core;
namespace Azure.ResourceManager.DataMigration.Models
{
public partial class FileShare : IUtf8JsonSerializable
{
void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
{
writer.WriteStartObject();
if (Optional.IsDefined(UserName)... | {
"content_hash": "c60a22b97f0bfcd5e2056b47ea51e593",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 75,
"avg_line_length": 32.65384615384615,
"alnum_prop": 0.5100117785630153,
"repo_name": "Azure/azure-sdk-for-net",
"id": "8e41d23bd604c606d9c42839a0b528e3262e622e",
"size"... |
describe("module:ng.provider:$interpolateProvider", function() {
beforeEach(function() {
browser.get("./examples/example-example59/index.html");
});
it('should interpolate binding with custom symbols', function() {
expect(element(by.binding('demo.label')).getText()).toBe('This binding is brought you by // in... | {
"content_hash": "bc0587576216d088f2d5a0bb5371bc07",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 119,
"avg_line_length": 39,
"alnum_prop": 0.7122507122507122,
"repo_name": "drewverlee/Blackjack",
"id": "0d2de6b72ddc76320c67c75a6d2b94e433303630",
"size": "351",
"binary... |
namespace ash {
class ASH_EXPORT SystemTrayNotifier {
public:
SystemTrayNotifier();
~SystemTrayNotifier();
void AddAccessibilityObserver(AccessibilityObserver* observer);
void RemoveAccessibilityObserver(AccessibilityObserver* observer);
void AddBluetoothObserver(BluetoothObserver* observer);
void Remove... | {
"content_hash": "266327dfa1f850ab6a3f59fbef4e118c",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 78,
"avg_line_length": 41.396946564885496,
"alnum_prop": 0.7807486631016043,
"repo_name": "loopCM/chromium",
"id": "fbd9874643e3f4038f38cd0050f69af65e13ca12",
"size": "683... |
/**
2014/06/29
Block.cpp
Purpose: Add behaivor and define the structure of each block
@author Enrique Ojeda Lara <enriqueojedalara@gmail.com>
@version 0.1
*/
#include "Block.h"
#include "Color.h"
/**
Constructor
*/
Block::Block(){
x = 0;
y = 0;
color = Color::BLACK;
free = true;
movin... | {
"content_hash": "1711ad5d5722bd4327b12670b4025f33",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 64,
"avg_line_length": 15.140350877192983,
"alnum_prop": 0.6373117033603708,
"repo_name": "enriqueojedalara/Puyopuyo",
"id": "5321e9f39a3ec2ee88ce9085ce1d72b03ff30d68",
"si... |
BlackLion est un bot pour le jeu en ligne [3GM](http://www.3gm.fr/) (3ème Guerre Mondiale). Il vous permet ainsi de jouer un ou plusieurs comptes sans être en permanence devant votre ordinateur.
* Gestion multi-compte
* Gestion multi-serveur
* Construction des bâtiments
* Lancement des recherches
* Activation des rech... | {
"content_hash": "2079dbd1d7100a9f9354072d3fc2061c",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 194,
"avg_line_length": 25.333333333333332,
"alnum_prop": 0.7362700228832952,
"repo_name": "Foohx/blacklion",
"id": "6a92893d51a29d0680356b8a8d7198c0b7c775ac",
"size": "177... |
<!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.0">
<link rel="icon" href="<%= BASE_URL %>img/icons/favicon-32x32.png" type="image/png">
<title>nippou-player</titl... | {
"content_hash": "31cccff5195a95e005c82b82005965a2",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 132,
"avg_line_length": 35.05882352941177,
"alnum_prop": 0.6442953020134228,
"repo_name": "hidakatsuya/nippou-player",
"id": "8994e2d95934891471868fb8618efdea36a9c2b8",
"si... |
require 'proxy_server/httpservlet/abstract.rb'
require 'erb'
module ProxyServer
module HttpServlet
##
# ERBHandler evaluates an ERB file and returns the result. This handler
# is automatically used if there are .rhtml files in a directory served by
# the FileHandler.
#
# ERBHandler support... | {
"content_hash": "d69dd3a290f13cb39e470a4ba41b5fdb",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 78,
"avg_line_length": 26.31168831168831,
"alnum_prop": 0.6080947680157947,
"repo_name": "fedux-org/proxy_server",
"id": "ca79fccc9ddd6660f2d1efd438cfe489543c75a5",
"size":... |
/**
*
*/
package com.jeesuite.kafka.monitor.model;
import java.io.Serializable;
import java.util.concurrent.atomic.AtomicLong;
/**
* @description <br>
* @author <a href="mailto:vakinge@gmail.com">vakin</a>
* @date 2016年12月10日
*/
public class ProducerStat implements Serializable {
private static final long se... | {
"content_hash": "8c764a3b60fb797195f7e0c64e353c54",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 124,
"avg_line_length": 22.844036697247706,
"alnum_prop": 0.727710843373494,
"repo_name": "vakinge/jeesuite-libs",
"id": "acb8e3010bb0b80553db61600304c969fded3620",
"size"... |
package net.mwplay.bmob;
import java.util.List;
import org.robovm.apple.foundation.NSDate;
import org.robovm.apple.foundation.NSObject;
import org.robovm.objc.annotation.NativeClass;
import org.robovm.objc.annotation.Property;
@NativeClass
public class BQLQueryResult extends NSObject{
/**
* 查询结果的 className
*/
... | {
"content_hash": "023a44ba1977825f69514cb29329e11c",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 63,
"avg_line_length": 23.307692307692307,
"alnum_prop": 0.7480748074807481,
"repo_name": "tianqiujie/robovm-ios-bindings",
"id": "c842576b3fd17b68336a988c6b8df701c6ca558e",
... |
using System;
namespace Server.Items
{
public abstract class BaseWaist : BaseClothing
{
public BaseWaist( int itemID ) : this( itemID, 0 )
{
}
public BaseWaist( int itemID, int hue ) : base( itemID, Layer.Waist, hue )
{
}
public BaseWaist( Serial serial ) : base( serial )
{
}
public override ... | {
"content_hash": "0ac04cf243a2a73bad83e0952b8ee3ee",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 96,
"avg_line_length": 18.62837837837838,
"alnum_prop": 0.6492564381574175,
"repo_name": "ggobbe/vivre-uo",
"id": "791d3ad00a1622bbb3465a4b43be56737b211e14",
"size": "2757... |
{{define "styles"}}
<style type="text/css">
@import url(https://fonts.googleapis.com/css?family=Cinzel:400,700);
body { font-family: 'Cinzel', serif; font-size: 1em; background-color: #f2f2f2; color: #666; line-height: 1.42857; margin: 1em; font-weight: 500; }
/* header template styling */
.title {... | {
"content_hash": "fcb3bfa42fc05ea8526f2a96cc821afc",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 189,
"avg_line_length": 54.148148148148145,
"alnum_prop": 0.6388508891928865,
"repo_name": "jlmeeker/evh2",
"id": "a80121497712efb4dd520d7e538f008f819c594b",
"size": "2924"... |
<!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_102) on Thu Jan 19 20:03:43 PST 2017 -->
<title>All Classes</title>
<meta name="date" content="2017-01-19">
<link rel="stylesheet" type="text/c... | {
"content_hash": "afd112676982188d036cdfc720a1cfc8",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 102,
"avg_line_length": 33.10526315789474,
"alnum_prop": 0.6756756756756757,
"repo_name": "tliang1/Java-Practice",
"id": "d8c8579d0daa952fe36c1caa47b973bebdb11b57",
"size":... |
package com.databricks.spark.sql.perf.mllib.feature
import org.apache.spark.ml
import org.apache.spark.ml.PipelineStage
import org.apache.spark.sql._
import com.databricks.spark.sql.perf.mllib.OptionImplicits._
import com.databricks.spark.sql.perf.mllib.data.DataGenerator
import com.databricks.spark.sql.perf.mllib.{B... | {
"content_hash": "2e19a5eb06b3a27ef5375885fd32b5c8",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 97,
"avg_line_length": 28.37142857142857,
"alnum_prop": 0.7492447129909365,
"repo_name": "wayblink/Naive",
"id": "77b66caa5d26cef4ea3ac1043cc222a00dd4fcfb",
"size": "993",
... |
#import "EC2CancelReservedInstancesListingRequestMarshaller.h"
@implementation EC2CancelReservedInstancesListingRequestMarshaller
+(AmazonServiceRequest *)createRequest:(EC2CancelReservedInstancesListingRequest *)cancelReservedInstancesListingRequest
{
AmazonServiceRequest *request = [[EC2Request alloc] init];
... | {
"content_hash": "bca6926be76d23062155c24ce2a2715c",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 212,
"avg_line_length": 40.733333333333334,
"alnum_prop": 0.7864157119476268,
"repo_name": "abovelabs/aws-ios-sdk",
"id": "769aa26867307608a69b9ab5b3969e3e9ed17f60",
"size"... |
package com.opengamma.integration.copier.portfolio;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.util.StringUtils;
import com.opengamma.integration.copier.portfolio.reader.PositionReader;
import com.opengamma.integration.copier.portfolio.writer.PositionWriter;
import com.openga... | {
"content_hash": "6cedc2294d4387209d1d1488538977d7",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 132,
"avg_line_length": 31.584158415841586,
"alnum_prop": 0.6702194357366771,
"repo_name": "McLeodMoores/starling",
"id": "5b010feed2e7bc6ef410c823fcb088a907d2bc64",
"size... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="es_CL" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Bitcoin</source>
<translation>Sobre Angora</translation>
</me... | {
"content_hash": "52faf9a5ff08409439a8d5deeab05c49",
"timestamp": "",
"source": "github",
"line_count": 2952,
"max_line_length": 403,
"avg_line_length": 36.21273712737128,
"alnum_prop": 0.61266604303087,
"repo_name": "angorator/angora_TOR",
"id": "236b10022fcc2422bd5d38b13586d73b0cd0ad4d",
"size": ... |
package org.jfw.util.bean.define;
public class ConfigException extends Exception {
private static final long serialVersionUID = -3683286340446305667L;
public ConfigException(String message, Throwable cause) {
super(message, cause);
}
public ConfigException(String message) {
super(message);
}
... | {
"content_hash": "88f8d6b195941e92b16a89e00c51cbca",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 68,
"avg_line_length": 23.071428571428573,
"alnum_prop": 0.7368421052631579,
"repo_name": "saga810203/jfw",
"id": "b1644a756d330262d8896118696c275548426ac4",
"size": "323",... |
package com.streamsets.pipeline.stage.origin.salesforce;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.sforce.async.AsyncApiException;
import com.sforce.async.BatchInfo;
import com.sforce.async.BatchInfoList;
import com.sforce.async.BatchStateEnum;
import com.sforce.async.BulkConnection;
import com.s... | {
"content_hash": "a38db0b97118953a3d69a58d16b5c080",
"timestamp": "",
"source": "github",
"line_count": 919,
"max_line_length": 146,
"avg_line_length": 38.674646354733405,
"alnum_prop": 0.6590512632941309,
"repo_name": "rockmkd/datacollector",
"id": "de23a312f20345d9030c81171b7f2fd2b5b3e7a1",
"size... |
<?php
/**
* @file
* Definition of Drupal\block\Tests\BlockAdminThemeTest.
*/
namespace Drupal\block\Tests;
use Drupal\simpletest\WebTestBase;
/**
* Tests the block system with admin themes.
*
* @group block
*/
class BlockAdminThemeTest extends WebTestBase {
/**
* Modules to install.
*
* @var arra... | {
"content_hash": "ce8407682421d69da7108c8f816d1297",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 91,
"avg_line_length": 25.695652173913043,
"alnum_prop": 0.6725888324873096,
"repo_name": "ital-lion/Drupal4Lions",
"id": "073f64f0d0c4483f4b4a2f3fa687a1f53c70ad73",
"size"... |
Returns the value of the path segment for the index specified or null if not found.
```php
public string|null getSegment ( int $index )
```
## Parameters
##### index
the index of the path segment.
## Returns
The value of the path segment for ... | {
"content_hash": "7c323bbd442f81db57c8a5253812865a",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 111,
"avg_line_length": 20.26923076923077,
"alnum_prop": 0.715370018975332,
"repo_name": "bearframework/bearframework",
"id": "09b6aa91358347b624136a551c2bb05d4fba26dc",
"s... |
package org.assertj.core.internal.maps;
import static java.util.Collections.emptyMap;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.shouldHaveThrown;
import static org.assertj.core.data.MapEntry.entry;
import static org.assertj.core.error.ShouldContainExactly.... | {
"content_hash": "b33951b55718113a49ce009925ee92fc",
"timestamp": "",
"source": "github",
"line_count": 155,
"max_line_length": 162,
"avg_line_length": 37.038709677419355,
"alnum_prop": 0.7225222086744469,
"repo_name": "dorzey/assertj-core",
"id": "c92690bedd21c3cedbe99e5b843a8117af6b40b6",
"size":... |
/** @file common.h Generic libraries, parameters and functions used in the whole code. */
#include "stdio.h"
#include "stdlib.h"
#include "math.h"
#include "string.h"
#include "float.h"
#include "svnversion.h"
#include <stdarg.h>
#ifdef _OPENMP
#include "omp.h"
#endif
#ifndef __COMMON__
#define __COMMON__
#define _... | {
"content_hash": "4ecb90e2a5a371dbd7f3c1143dd8b23e",
"timestamp": "",
"source": "github",
"line_count": 806,
"max_line_length": 423,
"avg_line_length": 54.869727047146405,
"alnum_prop": 0.5374788015828151,
"repo_name": "xyh-cosmo/ClassMC",
"id": "dcc9e1f065164f2377daf8f6684ce783d715ac04",
"size": "... |
#region LICENSE
// Copyright (C) 2015 by Sherif Elmetainy (Grendiser@Kazzak-EU)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the r... | {
"content_hash": "1ce5c8751c2c5f5103983664e033dca8",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 80,
"avg_line_length": 39.87096774193548,
"alnum_prop": 0.7010517799352751,
"repo_name": "sherif-elmetainy/wowsharp",
"id": "9594542bd0f7846f0be5f6b2c36daaa7a6783f26",
"siz... |
package com.imsweb.geocoder;
import java.util.Map;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.QueryMap;
public interface GeocodingService {
/**
* Perform a geocoding call; had a lot of issues with parsing the XML version so this method returns the ... | {
"content_hash": "f7e81980334f49cf1c56bb2b2d3198f7",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 112,
"avg_line_length": 27.653846153846153,
"alnum_prop": 0.7273991655076495,
"repo_name": "imsweb/naaccr-geocoder-client",
"id": "da46180a7863dac22ceb03ccc48e301ffd9bbb3c",
... |
package com.github.jeanadrien.evrythng.scala.rest
import com.github.jeanadrien.evrythng.scala.json.{Product, Property}
import org.specs2.concurrent.ExecutionEnv
import org.specs2.specification.BeforeAll
import org.specs2.specification.core.SpecStructure
import spray.json.JsString
import scala.concurrent.Await
import ... | {
"content_hash": "7a64e390a07e9457c5ef208970a80eff",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 120,
"avg_line_length": 44.25,
"alnum_prop": 0.6357160402849423,
"repo_name": "jeanadrien/evrythng-scala-sdk",
"id": "6b36360a9237c3837c65bdd1b81568fc944620eb",
"size": "40... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Aspose.Slides;
using Aspose.Slides.Charts;
using Aspose.Slides.Examples.CSharp;
using Aspose.Slides.Export;
using DataTable = System.Data.D... | {
"content_hash": "af50076b149018b1e6507e3b74b3eec6",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 141,
"avg_line_length": 52.21167883211679,
"alnum_prop": 0.6777575842303929,
"repo_name": "asposeslides/Aspose_Slides_NET",
"id": "781e8b1e5e3c28b8fb6e457a5e309fd36d1724b4",... |
<?php
namespace Drupal\Core\Entity\Controller;
use Drupal\Core\Entity\EntityDescriptionInterface;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Entity\EntityRepositoryInterface;
use Drupal\Core\Entity\EntityTypeBundleInfoInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Entity\En... | {
"content_hash": "0eb0125f591055a209ef294e8901a861",
"timestamp": "",
"source": "github",
"line_count": 348,
"max_line_length": 291,
"avg_line_length": 37.08045977011494,
"alnum_prop": 0.6745195288282703,
"repo_name": "electric-eloquence/fepper-drupal",
"id": "4dd93475fb72850bb7e73f0a9265f8d1dc021f91... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Test for http://bugs.webkit.org/show_bug.cgi?id=13680</title>
<script src="resources/repaint.js" type="text/javascript">... | {
"content_hash": "6b22ec7f97ffae76886e4400a2eeef3b",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 128,
"avg_line_length": 37.45,
"alnum_prop": 0.6048064085447263,
"repo_name": "lordmos/blink",
"id": "889898a600ac72796e0796e1817d9e0ac8bcf018",
"size": "749",
"binary": ... |
* The `End()` functions defined on the `Segment`, `DatastoreSegment`, and
`ExternalSegment` types now receive the segment as a pointer, rather than as
a value. This prevents unexpected behaviour when a call to `End()` is
deferred before one or more fields are changed on the segment.
In practice, this is likely... | {
"content_hash": "f1907a5886f20c0e4f41f5173fb22b41",
"timestamp": "",
"source": "github",
"line_count": 271,
"max_line_length": 124,
"avg_line_length": 37.48339483394834,
"alnum_prop": 0.7492616656822209,
"repo_name": "evepraisal/go-evepraisal",
"id": "df43531dee1e0b6601a6e38b78a4268e0982cee6",
"si... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePostsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('posts', function ... | {
"content_hash": "28c9daecf5100d05f538d41e9a7ba61c",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 93,
"avg_line_length": 25.135135135135137,
"alnum_prop": 0.553763440860215,
"repo_name": "lester-hashtagdigital/dgo",
"id": "daa6db48b21e3acf7c71d4361dabeb42d145ecd9",
"siz... |
<?php
namespace Family\Bundle\TreeBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
use Family\Bundle\TreeBundle\Entity\Family as Family;
use Family\Bundle\TreeBundle\Model\FamilySettings;
class Famil... | {
"content_hash": "084bd56bcc916cd1ea5479b11d3aa0a9",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 85,
"avg_line_length": 30.57894736842105,
"alnum_prop": 0.5754446356855996,
"repo_name": "Artemis-Haven/family-tree",
"id": "e4dbaae760f2dbc7fde5e89aa18b5fe342776f59",
"siz... |
angular.module('codexApp')
.service('PrefsService', [ '$rootScope', '$http', function($rootScope, $http) {
var views = ["All Notes", "All Files", "Notebooks", "Notebook"];
var current_view = "All Notes"
this.getCurrentView = function() {
return current_view;
}
this.setCurrentView = function(view) {
... | {
"content_hash": "f68001ec32c4a63d4f19c261c4ac9555",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 80,
"avg_line_length": 25.071428571428573,
"alnum_prop": 0.6410256410256411,
"repo_name": "jamesperet/codex",
"id": "b7d3b61a77711578971a2800a68fcb64c33962f0",
"size": "351... |
package org.apache.flink.runtime.executiongraph.failover.flip1;
import org.apache.flink.runtime.execution.ExecutionState;
import org.apache.flink.runtime.io.network.partition.ResultPartitionID;
import org.apache.flink.runtime.io.network.partition.ResultPartitionType;
import org.apache.flink.runtime.io.network.partit... | {
"content_hash": "c70f823fb6890e05cd9242e8573ec56b",
"timestamp": "",
"source": "github",
"line_count": 434,
"max_line_length": 103,
"avg_line_length": 44.23041474654378,
"alnum_prop": 0.6600854344655136,
"repo_name": "lincoln-lil/flink",
"id": "da3014b13598587372e252e57975e2471027689b",
"size": "2... |
import sys
from avatar2.targets import Target, TargetStates
from avatar2.protocols.jlink import JLinkProtocol
from avatar2.watchmen import watch
if sys.version_info < (3, 0):
from Queue import PriorityQueue
else:
from queue import PriorityQueue
class JLinkTarget(Target):
def __init__(self, avatar, serial... | {
"content_hash": "f07d04f9c37bbf167ef7e75fc99208fe",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 128,
"avg_line_length": 33.26190476190476,
"alnum_prop": 0.6413743736578382,
"repo_name": "avatartwo/avatar2",
"id": "d41f390b1724f8f6ed12ebf0a6016b4666769daa",
"size": "13... |
// PkgCmdID.cs
// MUST match PkgCmdID.h
namespace WakaTime
{
internal static class PkgCmdIdList
{
public const uint UpdateWakaTimeSettings = 0x100;
};
} | {
"content_hash": "d436bd8b5f39458f82fbb4bfdad44cd4",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 57,
"avg_line_length": 17.4,
"alnum_prop": 0.6781609195402298,
"repo_name": "gandarez/visualstudio-wakatime",
"id": "7843c0e6572c67eacbc2543a9b31e58314bf60e6",
"size": "176... |
package org.jclouds.openstack.nova.ec2.strategy;
import static com.google.common.base.Preconditions.checkNotNull;
import javax.inject.Inject;
import javax.inject.Singleton;
import org.jclouds.compute.domain.ImageBuilder;
import org.jclouds.compute.domain.OperatingSystem;
import org.jclouds.compute.domain.OsFamily;
... | {
"content_hash": "9d2725de8860025d16c677e70325105b",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 106,
"avg_line_length": 33.87179487179487,
"alnum_prop": 0.7562452687358062,
"repo_name": "yanzhijun/jclouds-aliyun",
"id": "94446e3e8d0072a81b31765c14737a236b1206b9",
"siz... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule } from '@angular/router';
import { MatCardModule } from '@angular/material/card';
import { MatIconModule } from '@angular/material/icon';
import { MatProgressBarModule } from '@angular/material/progress-bar';... | {
"content_hash": "1d0c32ef37f06a33ef8a42358b0b520b",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 81,
"avg_line_length": 32.96666666666667,
"alnum_prop": 0.7209302325581395,
"repo_name": "MurhafSousli/ngx-progressbar",
"id": "0126802eac93dab5c6a1369b34d6d410c6624892",
"... |
python setup.py test
# check
check-manifest -u -v
# Build packages
python setup.py sdist
python setup.py bdist_wheel # Not universal
# Deploy with gpg
twine upload dist/* -r pypitest --sign --skip-existing
twine upload dist/* --sign
# Deploy legacy version
# Upload to test PyPi
# python setup.py sdist upload -r ht... | {
"content_hash": "c78cbc8b127beaa33b7979e8b7d6f0e7",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 66,
"avg_line_length": 22.444444444444443,
"alnum_prop": 0.745049504950495,
"repo_name": "michaelboulton/debinterface",
"id": "c53d9ad46557c3771a843160382b06ab3312f43e",
"s... |
package blackbox
import (
"io/ioutil"
"log"
"os"
"path/filepath"
"strings"
"time"
"github.com/concourse/blackbox/syslog"
"github.com/tedsuo/ifrit/grouper"
)
const POLL_INTERVAL = 5 * time.Second
type fileWatcher struct {
logger *log.Logger
sourceDir string
dynamicGroupClient grouper.DynamicClie... | {
"content_hash": "25f330379bdadcb3aaeae4de191a846e",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 86,
"avg_line_length": 21.87272727272727,
"alnum_prop": 0.6828761429758936,
"repo_name": "concourse/blackbox",
"id": "2e78b3ef98e75c0cb318d15b5bebc3da1290def2",
"size": "2... |
#include "stdlib.h"
#include "stdio.h"
#include "chipmunk/chipmunk_private.h"
static inline cpSpatialIndexClass *Klass(void);
typedef struct Node Node;
typedef struct Pair Pair;
struct cpBBTree {
cpSpatialIndex spatialIndex;
cpBBTreeVelocityFunc velocityFunc;
cpHashSet *leaves;
Node *root;
Node *pooledNo... | {
"content_hash": "afcd0797ff3fc9f109263700c0ae22a5",
"timestamp": "",
"source": "github",
"line_count": 877,
"max_line_length": 132,
"avg_line_length": 23.168757126567844,
"alnum_prop": 0.6805453024263005,
"repo_name": "slembcke/Chipmunk2D",
"id": "2cef7bc755c831f9fa60a5ec536740fd9a20480b",
"size":... |
'use strict';
module.exports = function (server, options, services) {
return {
/*
test: function (request, reply) {
services.TestService.create(request.payload)
.then(res => reply(res))
.catch(err => reply(err));
}
*/
};
}; | {
"content_hash": "4db38d5e9d9229e55fa2822ec17266af",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 55,
"avg_line_length": 15.882352941176471,
"alnum_prop": 0.5592592592592592,
"repo_name": "AhmedAli7O1/hapi-arch",
"id": "f6c61259fcc40ee861a4b12a1802a572f595b7ea",
"size":... |
<?php
namespace ExtendsFramework\Application\Factory;
use ExtendsFramework\Application\Application;
use ExtendsFramework\Application\Server\Server;
use ExtendsFramework\Application\Service\ServiceLocator;
class ApplicationFactoryTest extends \PHPUnit_Framework_TestCase
{
/**
* @covers \ExtendsFramework\Appl... | {
"content_hash": "e8b45a92c7c41ebfd9c65d5d00961a10",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 79,
"avg_line_length": 29.612903225806452,
"alnum_prop": 0.6612200435729847,
"repo_name": "extendssoftware/ExtendsFramework",
"id": "82662b88b69764d732280b135c62e9641bf1f085"... |
> Living in this world --\\
> to what shall I compare it?\\
> Its like a boat\\
> rowing out at break of day,\\
> leaving no trace behind.
>
> by Sami Mansei in the Man'yōshū, 759 AD
> {:.attribution}
| {
"content_hash": "a8466806d62ec039b93e0c45b651c801",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 41,
"avg_line_length": 22.444444444444443,
"alnum_prop": 0.6534653465346535,
"repo_name": "profound-labs/prophecy",
"id": "b617bb34f760c4d50831e4691d5fe68e95365234",
"size":... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "6ac083c43cd9614ff8d16493abb83c80",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "abf4e1b9f008c8fec052ea6751bf72936d9f9f01",
"size": "18... |
"""
Copyright 2015 Sai Gopal
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
dist... | {
"content_hash": "632a9613776acdbfa76c44bd8fc52ed3",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 115,
"avg_line_length": 42.910714285714285,
"alnum_prop": 0.6629213483146067,
"repo_name": "EnduranceIndia/ratelimitd",
"id": "9f17e77d67e20d1333cb9c728495507128407462",
"s... |
import * as React from 'react';
import { SxProps } from '@material-ui/system';
import { Theme } from '../styles';
import { InternalStandardProps as StandardProps } from '..';
export interface SpeedDialIconProps
extends StandardProps<React.HTMLAttributes<HTMLSpanElement>, 'children'> {
/**
* Override or extend t... | {
"content_hash": "06f0451901104a2d93e8e1ebf12ddc6a",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 92,
"avg_line_length": 29.803571428571427,
"alnum_prop": 0.6632714200119832,
"repo_name": "cdnjs/cdnjs",
"id": "d7ab93804c098cfc41f170dc79fadb64a4c4bd81",
"size": "1669",
... |
{-# LANGUAGE CPP #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE FlexibleContexts #-}
#if __GLASGOW_HASKELL__ >= 800
{-# OPTIONS_GHC -Wno-orphans #-}
#endif
#include "Streams/inline.hs"
-- |
-- Module : Streamly.Prelude
-- Copyright : (c) 2017 Harendra Kumar
--
-- Li... | {
"content_hash": "e6c35058059caa40cb74f64ae3d572fe",
"timestamp": "",
"source": "github",
"line_count": 932,
"max_line_length": 91,
"avg_line_length": 33.19849785407725,
"alnum_prop": 0.640024562877735,
"repo_name": "harendra-kumar/asyncly",
"id": "c56c5e0d6603b4ab838cbf44404438439f420472",
"size":... |
module.exports = function( caminio ){
'use strict';
var async = require('async');
var inflection = require('inflection');
caminio.hooks = {};
caminio.hooks._data = {};
/**
* @method invokeHook
* @param {String} name of the hook
* @param {Object} options
* @param {Object}... | {
"content_hash": "74d18c3dcd1338c79d9dff3e5e33725e",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 92,
"avg_line_length": 24.91869918699187,
"alnum_prop": 0.5628058727569332,
"repo_name": "caminio/caminio",
"id": "49eace5f1374e1f6b416d18c0072d2677cec132c",
"size": "3065... |
#pragma once
#include <aws/iot1click-projects/IoT1ClickProjects_EXPORTS.h>
#include <aws/iot1click-projects/IoT1ClickProjectsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace IoT1ClickProjects
{
namespace Model
{
/**
*/
class AWS_IOT1CLICKPROJECTS_API D... | {
"content_hash": "b670c92014049a0af438d973ec856f79",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 121,
"avg_line_length": 31.3125,
"alnum_prop": 0.6846307385229541,
"repo_name": "awslabs/aws-sdk-cpp",
"id": "ece7972ea1a040cb1e5c5a351d00b061933f83b0",
"size": "2624",
"... |
using System;
using System.Collections;
using System.IO;
using MbUnit.Core.Framework;
using MbUnit.Framework;
#endregion
using MbUnit.Core.Reports;
namespace MbUnit.Tests.Core.Reports
{
/// <summary>
/// <see cref="TestFixture"/> for the <see cref="NamePretifier"/> class.
/// </summary>
[TestFixture... | {
"content_hash": "92a8983f7a71668fa839b55c83532a14",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 73,
"avg_line_length": 27.782894736842106,
"alnum_prop": 0.5349277764622307,
"repo_name": "Gallio/mbunit-v2",
"id": "636ef67acc23bac71e00f98cdc73a3113e233bb8",
"size": "42... |
[](https://travis-ci.org/joecorcoran/cities) [](https://codeclimate.com/github/joecorcoran/cities)
All the cities of the world (according to the periodically updated MaxMind ... | {
"content_hash": "ccb602bb61d87d259e17cfe4b8119ba8",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 280,
"avg_line_length": 29.70149253731343,
"alnum_prop": 0.7130653266331658,
"repo_name": "asiniy/cities",
"id": "3849586204ee8273c5eef2aa776685141a013dcd",
"size": "2000",... |
<!DOCTYPE html>
<html lang="en">
{% include head.html %}
<!-- hack iOS CSS :active style -->
<body ontouchstart="">
{% include nav.html %}
{{ content }}
{% include footer.html %}
<!-- Image to hack wechat -->
<img src="/img/config/icon_wechat.png" width="0" height="0" />
<!-- Migrate from head to bott... | {
"content_hash": "fa8964885d4603af170792cb7cfb0d2c",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 116,
"avg_line_length": 22.782608695652176,
"alnum_prop": 0.5658396946564885,
"repo_name": "comesome/comesome.github.io",
"id": "004d853216ba175e94539c5ef1d27afd69209b54",
... |
<!DOCTYPE html>
<html>
<head>
<title>GSFileManager Demo</title>
<meta charset="UTF-8" />
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css"/>
<link rel="stylesheet" href="../src/gsFileManager.css"/>
<style type="text/css">
body {
height: 1... | {
"content_hash": "b2e5cfd0ae044817f2881017ae30161e",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 100,
"avg_line_length": 28.545454545454547,
"alnum_prop": 0.5753715498938429,
"repo_name": "schoettl/GSFileManager",
"id": "61560791122200135408f09af0649606337ea6f4",
"size... |
<?php
const ROOT = '../';
function load($input) {
$input = json_decode($input);
$file_name = ROOT . $input -> name;
$content = file_get_contents($file_name);
return $content;
}
$input = file_get_contents('php://input');
echo load($input);
?>
| {
"content_hash": "f1d7a50fb104f82537ed1de01685a6e6",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 43,
"avg_line_length": 19.76923076923077,
"alnum_prop": 0.5992217898832685,
"repo_name": "mazett/Tank-Game",
"id": "474153db5698464f1830ebb692506b2c315de857",
"size": "257"... |
import { isUndefined } from 'lodash';
export default class Paginator {
page = 1;
itemsPerPage = 20;
totalCount = 0;
get totalPages() {
return Math.ceil(this.totalCount / this.itemsPerPage);
}
setPage(value, validate = true) {
if (isUndefined(value)) {
return;
}
value = parseInt(va... | {
"content_hash": "fc0525c36e288446b35ac509ee50bc1f",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 75,
"avg_line_length": 22.733333333333334,
"alnum_prop": 0.5960410557184751,
"repo_name": "chriszs/redash",
"id": "a380be3f39f45bdf9da6d1d8f3f9ab442cb41dfc",
"size": "1364"... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using System.Runtime.Compile... | {
"content_hash": "427496f6622f858ed1a1fb2ac94b5ae7",
"timestamp": "",
"source": "github",
"line_count": 571,
"max_line_length": 161,
"avg_line_length": 42.46584938704028,
"alnum_prop": 0.5840894094358298,
"repo_name": "zooba/roslyn",
"id": "0e8daa8c9ad1bbe46bc928f305154212bd1edb0c",
"size": "24250"... |
package calc
import "github.com/emicklei/melrose/core"
func resolveInt(v interface{}) (int, bool) {
if i, ok := v.(int); ok {
return i, true
}
if v, ok := v.(core.HasValue); ok {
return resolveInt(v.Value())
}
return 0, false
}
func resolveFloat(v interface{}) (float64, bool) {
if i, ok := v.(float64); ok ... | {
"content_hash": "285d2c6a3f8c0fd59a14af35e74638bf",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 50,
"avg_line_length": 18.956521739130434,
"alnum_prop": 0.6238532110091743,
"repo_name": "emicklei/melrose",
"id": "18c8f224a9dbf17df312a023c413d73404435aa2",
"size": "436... |
using namespace std;
class Infirmary : public Building
{
public:
Location Site;
public:
Infirmary::Infirmary(int x, int y);
void Print();
void PrintAssignment();
vector<Supply*> TakeSupplies();
};
#endif | {
"content_hash": "3841aa82c83454ab567227625ae275f5",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 36,
"avg_line_length": 16.076923076923077,
"alnum_prop": 0.7272727272727273,
"repo_name": "cobbie/obj-2.0",
"id": "4a011eef7a3e8fc52012fe44d6b6cc4eb468e836",
"size": "405",... |
package com.smallchill.web.controller;
import com.smallchill.common.base.BaseController;
import com.smallchill.common.pay.util.TimeUtil;
import com.smallchill.core.interfaces.ILoader;
import com.smallchill.core.plugins.dao.Db;
import com.smallchill.core.toolbox.Record;
import com.smallchill.core.toolbox.ajax.AjaxResul... | {
"content_hash": "878bc7b5f66db5f95c1e7a1dc857f7da",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 171,
"avg_line_length": 37.77777777777778,
"alnum_prop": 0.5744485294117647,
"repo_name": "ys305751572/shouye",
"id": "0aaad4644d928b171cac9e8d21099f0211c91de0",
"size": "... |
- locale parameter now defaults to [NSLocale autoupdatingCurrentLocale]
- Added example project to enable 'pod try' command and Travis CI
## 1.0
###### Enhancements
- Adjust address formatting by use of locale property
- Ability to pass address components and receive formatted address output | {
"content_hash": "6d7487fb5adb045bb85bd6405690db82",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 73,
"avg_line_length": 32.77777777777778,
"alnum_prop": 0.7864406779661017,
"repo_name": "damienpontifex/DMAddressFormatter",
"id": "c3bb8df2fc81ac75886da61417ead50c1ed22cf6",... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
Brassica bivoniana Mazzola & Raimondo
### Remarks
null | {
"content_hash": "15409fbe10088295bf800e3ccd03a512",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 37,
"avg_line_length": 12.23076923076923,
"alnum_prop": 0.7358490566037735,
"repo_name": "mdoering/backbone",
"id": "383f3ce534e810de4f465010ea92de4c71cd6d40",
"size": "261... |
@interface PasswordAddonCell : KMTableViewCell
@property (nonatomic, strong) IBOutlet UILabel *addonLabel;
@property (nonatomic, strong) IBOutlet UISwitch *passwordSwitch;
@end
| {
"content_hash": "c4d52f4095eb79693483d880576a589f",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 64,
"avg_line_length": 29.833333333333332,
"alnum_prop": 0.8100558659217877,
"repo_name": "1box/onedayapp",
"id": "4dee2fd594c9f27b891b51d4574361f2e1219480",
"size": "344",
... |
This is an example dummy module, It is built and loaded, but has a minimal performance impact.
| {
"content_hash": "eac808270bea812efcfc33368d543118",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 94,
"avg_line_length": 95,
"alnum_prop": 0.7894736842105263,
"repo_name": "XAMPP/Celty",
"id": "a841803bffc9b320e722ea9fca4eaeb98a7264bf",
"size": "110",
"binary": false,
... |
saw-las
=======
Installs NOAA's [LAS](http://ferret.pmel.noaa.gov/LAS) web-based visualisation tool
Usage
-----
### Class las
```Puppet
class {'las':
las_title => 'LAS' # Title to add to web pages
proxy_fqdn => $::fqdn # Reverse proxy FQDN
tomcat_fqdn => ... | {
"content_hash": "40fd047ae4fb0cae770fa341eef3b8d4",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 114,
"avg_line_length": 28.34,
"alnum_prop": 0.6492589978828511,
"repo_name": "coecms/climate-cms",
"id": "5f3cca8d91aa42cc09cc66cc558a3b58b2a04a59",
"size": "1417",
"bin... |
package com.coolweather.app.model;
/**
* 省份
* Created by xiaof_000 on 2015/4/6.
*/
public class Province {
private int id;
private String name;
private String code;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getName(... | {
"content_hash": "b4d17830f74f376b8e28189bf112cd2f",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 38,
"avg_line_length": 15.857142857142858,
"alnum_prop": 0.5531531531531532,
"repo_name": "xiaofeiluo/coolweather",
"id": "ca712fbe62415be97483a4e4e5b2aa72265109d7",
"size"... |
import json
import struct
import re
import base64
import httplib
import sys
ERR_SLEEP = 15
MAX_NONCE = 1000000L
settings = {}
class CatchcoinRPC:
OBJID = 1
def __init__(self, host, port, username, password):
authpair = "%s:%s" % (username, password)
self.authhdr = "Basic %s" % (base64.b64encode(authpair))
s... | {
"content_hash": "94ecee4e549f66e349e4e370745e9c37",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 72,
"avg_line_length": 25.12295081967213,
"alnum_prop": 0.6522022838499184,
"repo_name": "tinybike/catchcoin",
"id": "cc3366f8f36acfcc1b4963378f4104b1b0efd3af",
"size": "3... |
package apple.foundation;
import java.io.*;
import java.nio.*;
import java.util.*;
import com.google.j2objc.annotations.*;
import com.google.j2objc.runtime.*;
import com.google.j2objc.runtime.block.*;
import apple.audiotoolbox.*;
import apple.corefoundation.*;
import apple.coregraphics.*;
import apple.coreservices.*;... | {
"content_hash": "5812a2210951443d7e3da7d6179bd6f5",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 117,
"avg_line_length": 42.144444444444446,
"alnum_prop": 0.7561297126285262,
"repo_name": "Sellegit/j2objc",
"id": "b94a04ffd4e5d57d3029a1d3253451f125a42095",
"size": "379... |
/*
This is an optimized version of Dojo, built for deployment and not for
development. To get sources and documentation, please visit:
http://dojotoolkit.org
*/
//>>built
require({cache:{
'dojox/charting/plot2d/_PlotEvents':function(){
define("dojox/charting/plot2d/_PlotEvents", ["dojo/_base/lang", "dojo/_base/... | {
"content_hash": "3aaa92250fa2242ec37510aa76a2b2d7",
"timestamp": "",
"source": "github",
"line_count": 19335,
"max_line_length": 345,
"avg_line_length": 32.86128782001552,
"alnum_prop": 0.6216521633748995,
"repo_name": "cfxram/grails-dojo",
"id": "7510f20363c6255990d7e650d9c9666ef2b36450",
"size":... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "567b77fb3611d27e7814def8b5ee4168",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "a2cbbe809f2f9333b9fd9bbe598526e556848147",
"size": "18... |
using namespace swift;
typedef llvm::SmallSet<unsigned, 4> IndicesSet;
typedef llvm::DenseMap<PartialApplyInst*, IndicesSet> PartialApplyIndicesMap;
STATISTIC(NumCapturesPromoted, "Number of captures promoted");
namespace {
/// Transient reference to a block set within ReachabilityInfo.
///
/// This is a bitset that... | {
"content_hash": "a7fe6b8f7d707e42674b831127fb85b1",
"timestamp": "",
"source": "github",
"line_count": 1362,
"max_line_length": 92,
"avg_line_length": 36.994126284875186,
"alnum_prop": 0.6691541301155083,
"repo_name": "amraboelela/swift",
"id": "48a7ff528a34afa935de7aec1fad82b277dac2ff",
"size": "... |
Use github’s interface to make a fork of the repo, then add that repo as an upstream remote:
```
git remote add upstream https://github.com/reactorcore/<NAME_OF_REPO>.git
```
### Cut a namespaced feature branch from master
Your branch should follow this naming convention:
- bug/...
- feat/...
- test/...
- do... | {
"content_hash": "693cc799a3ef57224d1cf83befdb9471",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 279,
"avg_line_length": 36.0722891566265,
"alnum_prop": 0.7503340013360054,
"repo_name": "MauriceOkumu/bracegirdles",
"id": "48c7f3bfcbddd528f577ecc00c839d7b68ecd10e",
"si... |
@interface FMXAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
| {
"content_hash": "a7e063b0aa4cfd3450ff4a09686a7944",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 63,
"avg_line_length": 23.8,
"alnum_prop": 0.7983193277310925,
"repo_name": "kohkimakimoto/FMDBx",
"id": "66acb6e7fdb3222e2b3dcdbe364150e4ec7b4c0f",
"size": "285",
"binary... |
- adding line 2 for you
| {
"content_hash": "31be1f15d4ff5645b04c959f2044dec3",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 23,
"avg_line_length": 24,
"alnum_prop": 0.7083333333333334,
"repo_name": "githubteacher/furry-computing-machine",
"id": "1a7e45f6b4332344e70ed512e52384af07657ff3",
"size": ... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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" co... | {
"content_hash": "7c9b4f0662d89eef2d633ea0e8843376",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 174,
"avg_line_length": 42.344,
"alnum_prop": 0.6965803891932741,
"repo_name": "trflynn89/libfly",
"id": "d8411bf174eec3b5e0b5adef87622bee1cdb4173",
"size": "5293",
"bin... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.