text stringlengths 2 1.04M | meta dict |
|---|---|
package org.apache.accumulo.core.client.mapreduce;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import java.io.ByteArrayOutputStream;
import java.io.DataOutputStream;
import java.io.File;
import java.io.IOException;
import java.uti... | {
"content_hash": "d844ae416c5dcda19abfb928e38737c6",
"timestamp": "",
"source": "github",
"line_count": 415,
"max_line_length": 159,
"avg_line_length": 40.86987951807229,
"alnum_prop": 0.7099817227757798,
"repo_name": "adamjshook/accumulo",
"id": "b39064f9ca8da7b7a3195ae67ffdef345475c32f",
"size": ... |
@interface PPAsyncImageView ()
@property (nonatomic, strong) NSString *loadingImageName;
@property (nonatomic, assign) BOOL isImageLoaded;
@property (nonatomic, strong) UIActivityIndicatorView *activityIndicatorView;
- (void) resetState;
@end
@implementation PPAsyncImageView
- (id)initWithFrame:(CGRect)frame
{
... | {
"content_hash": "dc95b7bbfaaf4f60c095a27e063b9c24",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 135,
"avg_line_length": 23.678571428571427,
"alnum_prop": 0.6892911010558069,
"repo_name": "peterwongpp/PPAsyncImageView",
"id": "3f1e27adc8a76a53038595cced36b9aedf495ea7",
... |
package com.hazelcast.spi.properties;
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.core.IMap;
import com.hazelcast.core.IndeterminateOperationStateException;
import com.hazelcast.instance.BuildInfo;
import com.hazelcast.instance.BuildInfoProvider;
import com.hazelcast.internal.cluster.fd.Cluster... | {
"content_hash": "8508bfd4a64bf7a95b47b0da4e29326e",
"timestamp": "",
"source": "github",
"line_count": 1012,
"max_line_length": 130,
"avg_line_length": 54.23122529644269,
"alnum_prop": 0.7162457636383514,
"repo_name": "tufangorel/hazelcast",
"id": "f1cda6ee3372b3e77c4c33c8883296167e47c9ec",
"size"... |
package com.gcit.lms.dao;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import org.springframework.dao.DataAccessException;
import org.springframework.jdbc.core.ResultSetExtractor;
import com.gcit.lms.entity.BookLoan;
public class BookLoanDAO extends Bas... | {
"content_hash": "95d103aea9a18547ba906740f2c980e7",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 125,
"avg_line_length": 35.41538461538462,
"alnum_prop": 0.7072111207645526,
"repo_name": "yikaicao/LMSRESTful",
"id": "98950290f3ddbab96a28a62eb060180ca8bba029",
"size": "... |
namespace extensions {
class ScriptContext;
// Utility for logging console messages.
namespace console {
// Adds |message| to the console of of the |script_context|. If |script_context|
// is null, LOG()s the message instead.
void AddMessage(ScriptContext* script_context,
blink::mojom::ConsoleMessageL... | {
"content_hash": "a71e89e5b79fbbb0f7405f7c3ded9967",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 80,
"avg_line_length": 34.42307692307692,
"alnum_prop": 0.7284916201117319,
"repo_name": "nwjs/chromium.src",
"id": "c20352c10e9710b102701b5243cb9e3b055a0cff",
"size": "124... |
package com.amazonaws.services.ec2.model.transform;
import javax.annotation.Generated;
import com.amazonaws.SdkClientException;
import com.amazonaws.Request;
import com.amazonaws.DefaultRequest;
import com.amazonaws.http.HttpMethodName;
import com.amazonaws.services.ec2.model.*;
import com.amazonaws.transform.Marsha... | {
"content_hash": "6c3fc6cba9a6b1f8e80765f667f29ad8",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 147,
"avg_line_length": 43.651162790697676,
"alnum_prop": 0.7927543953116676,
"repo_name": "aws/aws-sdk-java",
"id": "cbf811542a1ef54700f0744da2eeab094240bb49",
"size": "24... |
package org.apache.hadoop.hbase.replication;
import static java.util.stream.Collectors.toList;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.SortedSet;
import java.uti... | {
"content_hash": "57ae926ef610eb7ff09ae77b87abe550",
"timestamp": "",
"source": "github",
"line_count": 663,
"max_line_length": 100,
"avg_line_length": 41.29110105580694,
"alnum_prop": 0.6933810637054354,
"repo_name": "ultratendency/hbase",
"id": "38547539227b729fb3834a6f0694e598daf76420",
"size": ... |
package io.treehopper.enums;
/**
* Hardware PWM frequency
*/
public enum HardwarePwmFrequency {
/**
* 732 Hz PWM frequency
*/
Freq_732Hz(732),
/**
* 183 Hz PWM frequency
*/
Freq_183Hz(183),
/**
* 61 Hz PWM frequency
*/
Freq_61Hz(61);
int frequency;
... | {
"content_hash": "31bc7605b839f18e7e7c587f7d9da880",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 41,
"avg_line_length": 13.823529411764707,
"alnum_prop": 0.5574468085106383,
"repo_name": "treehopper-electronics/treehopper-sdk",
"id": "0fbef4370f83270982179a5d63d35dd32b38... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE194_Unexpected_Sign_Extension__negative_strncpy_53d.c
Label Definition File: CWE194_Unexpected_Sign_Extension.label.xml
Template File: sources-sink-53d.tmpl.c
*/
/*
* @description
* CWE: 194 Unexpected Sign Extension
* BadSource: negative Set data to a fixed n... | {
"content_hash": "9eb430bdf61e96de58e22503864bea3c",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 156,
"avg_line_length": 32.6875,
"alnum_prop": 0.6123326959847036,
"repo_name": "maurer/tiamat",
"id": "324afa6a56f9db185701994ba7685cab6c76508e",
"size": "2092",
"binary... |
#include "api/audio_codecs/audio_format.h"
#include <utility>
#include "absl/strings/match.h"
namespace webrtc {
SdpAudioFormat::SdpAudioFormat(const SdpAudioFormat&) = default;
SdpAudioFormat::SdpAudioFormat(SdpAudioFormat&&) = default;
SdpAudioFormat::SdpAudioFormat(absl::string_view name,
... | {
"content_hash": "d53f603f5c9274a821fe518bdc3a0003",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 80,
"avg_line_length": 35.84615384615385,
"alnum_prop": 0.5861945636623748,
"repo_name": "endlessm/chromium-browser",
"id": "2a529a49ee5b5a87def17f1ffd7481d2340511da",
"siz... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "dd9080a12d1807a155be2ee2dfa47c05",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "b474d9cb6c84c4a0cb453821301bcd6e4f2f587c",
"size": "182... |
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('autoemails', '0016_auto_20210809_0701'),
]
operations = [
migrations.AddField(
model_name='rqjob',
name='action_name',
field=models.CharField(blank=True,... | {
"content_hash": "b583702c88a015c4cf5ac567a60efbe8",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 970,
"avg_line_length": 61.61290322580645,
"alnum_prop": 0.6565445026178011,
"repo_name": "pbanaszkiewicz/amy",
"id": "8a8bae01c8692cf0b70bdca5ca06188b6f6b8af8",
"size": "1... |
//
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requi... | {
"content_hash": "1591363df16e764ac238c8763a1ab087",
"timestamp": "",
"source": "github",
"line_count": 5583,
"max_line_length": 250,
"avg_line_length": 70.86046928174817,
"alnum_prop": 0.5962706072080362,
"repo_name": "badescuga/azure-storage-node",
"id": "6f864e1e72a7665663f1f849ac033beec4263525",
... |
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" >
<translate
android:duration="1000"
android:fromYDelta="-100%p"
android:toYDelta="1" />
</set> | {
"content_hash": "057d37ac0ceda8f764f5644bea56a6c7",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 65,
"avg_line_length": 25.333333333333332,
"alnum_prop": 0.618421052631579,
"repo_name": "S1lv10Fr4gn4n1/example-android",
"id": "37c8a4f638fb4596a3eccb791f112a6df75c404f",
... |
package libkb
// OSVersionAndBuild returns OS version, and build too on some platforms
func OSVersionAndBuild() (string, string, error) {
productVersion, err := execToString("/usr/bin/sw_vers", []string{"-productVersion"})
if err != nil {
return "", "", err
}
buildVersion, err := execToString("/usr/bin/sw_vers"... | {
"content_hash": "37d83487f5f254f8ea16a6b9bf978d10",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 85,
"avg_line_length": 29.733333333333334,
"alnum_prop": 0.695067264573991,
"repo_name": "keybase/client",
"id": "96682805739ca7d6154626961b834afa8ce52380",
"size": "482",
... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 20... | {
"content_hash": "86c47f71963ec429be9e504ce9effb56",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 130,
"avg_line_length": 29.694444444444443,
"alnum_prop": 0.6524789522918616,
"repo_name": "delkyd/Oracle-Cloud",
"id": "b347427e140ebeca03054f8820258d3cf8abeb4c",
"size": ... |
@import url('auth/auth-buttons.css');
body {
font: 14px sans-serif;
}
#login ul.login-buttons {
margin: 0;
padding: 0;
list-style: none;
}
#login ul.login-buttons li {
margin: 5px 0;
}
#account #user-response {
overflow: auto;
white-space: normal;
} | {
"content_hash": "30a3f33a5956b76aee8dfd2b920e17da",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 37,
"avg_line_length": 14.05,
"alnum_prop": 0.6156583629893239,
"repo_name": "dylansmith/express-passport-demo",
"id": "6738e179284874b38c15de6930ab3c06a2c8f6f3",
"size": "... |
@import "../../../framework/themes/default.css";
.icon.home { -webkit-mask-image: url(home_icon.png); vertical-align:middle; margin-top: -4px; } | {
"content_hash": "52f7a6b69f0351c2831327796bd1bb87",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 95,
"avg_line_length": 48.333333333333336,
"alnum_prop": 0.6827586206896552,
"repo_name": "nktpro/MooTouch",
"id": "b3cd2181e4e4dd22648523bf78bdd4143f03fd6d",
"size": "145",... |
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.example.test.MainActivity"
tools:ignore="MergeRootFrame" ... | {
"content_hash": "e769a23fd43b3de834797ee0d1881de7",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 71,
"avg_line_length": 46.142857142857146,
"alnum_prop": 0.7275541795665634,
"repo_name": "openpizza/openpizza-android",
"id": "d2e5c5b21d6006de153fcc1d314e92238fd57c24",
"s... |
<?php
class jChat
{
###############################################################################################
#### Properties
###############################################################################################
public $clientID;
public $client;
public $serverID;
public $server;
... | {
"content_hash": "a250d64427fc6b6ae1fd871953c3fdde",
"timestamp": "",
"source": "github",
"line_count": 584,
"max_line_length": 212,
"avg_line_length": 25.125,
"alnum_prop": 0.47168268247802086,
"repo_name": "akashbachhania/jeet99",
"id": "4024e65f1c376c93005baa0495e50f11b68351bf",
"size": "14673",... |
import useIntlContext from "./use-intl-context";
import { templateReplacement } from "@readerfront/shared/build/template-replacement";
const useIntl = () => {
const { messages: dict = {}, locale } = useIntlContext();
const formatFn = ({ id, defaultMessage, values }) => {
if (dict[id]) {
return values ? ... | {
"content_hash": "aa5c33af6fb2fcde8bfbee29a2f1e832",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 85,
"avg_line_length": 26.923076923076923,
"alnum_prop": 0.6285714285714286,
"repo_name": "dvaJi/ReaderFront",
"id": "29e01a626641ca93df285b854dd6d172b880dae1",
"size": "70... |
function Templater (template) {
this.template = template;
}
Templater.prototype.compile = function (data) {
var regex = /{{(.*?)}}/g;
var match, loopMatch;
while ((match = regex.exec(this.template))) {
var result = "";
if (!/[!#/]/.test(match[1]))
this.template = this.t... | {
"content_hash": "15271f3efc5caa7efbf12037d6261be0",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 142,
"avg_line_length": 43.44,
"alnum_prop": 0.5105893186003683,
"repo_name": "kaiyote/templater",
"id": "7bfabc77996c041a63a04e520fb7d936002a1410",
"size": "2172",
"bina... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Add Records Form</title>
</head>
<body>
<form action="pull.php" method="post">
<input type="radio" name="match" value="matched" checked>Matched
<br>
<input type="radio" name="match" value="unmatched">Unmatched
<br/>
<input type="radio" na... | {
"content_hash": "d083de15734af2072c27e69b6607c341",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 68,
"avg_line_length": 23.61111111111111,
"alnum_prop": 0.6541176470588236,
"repo_name": "justaniles/ssd-matching",
"id": "e2b0729730b4b0c602653f845e52289f06932a78",
"size"... |
// Type definitions for serviceworker-webpack-plugin 1.0
// Project: https://github.com/oliviertassinari/serviceworker-webpack-plugin#readme
// Definitions by: Remco Haszing <https://github.com/remcohaszing>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.7
import { Plugin, ... | {
"content_hash": "deeb64cfc58bcccf22dada6988a96180",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 156,
"avg_line_length": 33.142857142857146,
"alnum_prop": 0.6293103448275862,
"repo_name": "markogresak/DefinitelyTyped",
"id": "83fa7da3eae1be5c3ad491a0a7b183afc6dda8d3",
... |
package org.apache.flink.table.functions.utils
import org.apache.flink.api.common.typeinfo.TypeInformation
import org.apache.flink.table.`type`.InternalType
import org.apache.flink.table.`type`.TypeConverters.createInternalTypeFromTypeInfo
import org.apache.flink.table.api.ValidationException
import org.apache.flink... | {
"content_hash": "1db65b856cfcd0133ef57d6f9dae102d",
"timestamp": "",
"source": "github",
"line_count": 204,
"max_line_length": 142,
"avg_line_length": 35.03921568627451,
"alnum_prop": 0.6838276440962507,
"repo_name": "ueshin/apache-flink",
"id": "c3c33203c6fb142da2a158556c59d618230546f8",
"size": ... |
#include "TinyDebugSerial.h"
TinyDebugSerialWriter_38400 tdsw38400;
| {
"content_hash": "35424cf30a4dce0612b532273d864243",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 38,
"avg_line_length": 15.2,
"alnum_prop": 0.7631578947368421,
"repo_name": "sdvornikov/avr-stuff",
"id": "5c68c31ebb300303c131e2270b0736704e107aa1",
"size": "1052",
"bina... |
package systemd
import (
"io/ioutil"
"os"
"path/filepath"
"strconv"
"strings"
"sync"
systemd1 "github.com/coreos/go-systemd/dbus"
"github.com/dotcloud/docker/pkg/cgroups"
"github.com/dotcloud/docker/pkg/systemd"
"github.com/godbus/dbus"
)
type systemdCgroup struct {
cleanupDirs []string
}
type DeviceAllo... | {
"content_hash": "03f491cd4fe7a05b58eeef5824746b71",
"timestamp": "",
"source": "github",
"line_count": 294,
"max_line_length": 112,
"avg_line_length": 25.421768707482993,
"alnum_prop": 0.656007492641156,
"repo_name": "tutumcloud/docker",
"id": "c4b0937b63e6fe5d1f77e4ff40ff01b00764a622",
"size": "7... |
module.exports = function(context) {
context.test_string = 'Solidus';
return context;
}; | {
"content_hash": "a8e6216fd72677c1fc0f9fe725cffb92",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 36,
"avg_line_length": 23,
"alnum_prop": 0.7065217391304348,
"repo_name": "solidusjs/solidus",
"id": "7afe336ef3b7aa05ad5341e19b8039f48527643f",
"size": "92",
"binary": fa... |
#ifndef PPAPI_C_PPB_VAR_H_
#define PPAPI_C_PPB_VAR_H_
#include "ppapi/c/pp_bool.h"
#include "ppapi/c/pp_instance.h"
#include "ppapi/c/pp_macros.h"
#include "ppapi/c/pp_module.h"
#include "ppapi/c/pp_resource.h"
#include "ppapi/c/pp_stdint.h"
#include "ppapi/c/pp_var.h"
#define PPB_VAR_INTERFACE "PPB_Var;0.5"
/**
*... | {
"content_hash": "abccae234b3c84d6795bbcef2f125110",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 80,
"avg_line_length": 30.301204819277107,
"alnum_prop": 0.658051689860835,
"repo_name": "wistoch/meego-app-browser",
"id": "56280b3c659e5dd57773447f0d6d2d68bafa6915",
"siz... |
angular.module("plantApp")
.directive("settree", function() {
return {
restrict: "E",
templateUrl: 'partials/treesetting.html',
controller: 'settreeCtrl',
scope: {}
};
}); | {
"content_hash": "4a4cff1072f1f990b8a68eb46b98c6d4",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 43,
"avg_line_length": 20.666666666666668,
"alnum_prop": 0.6451612903225806,
"repo_name": "BonesAndTeeth/EPlant",
"id": "0c2696e96efc484452639fd21d71421202a9bc77",
"size": "... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__c_CWE805_int64_t_memcpy_83_goodG2B.cpp
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_CWE805.label.xml
Template File: sources-sink-83_goodG2B.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* Bad... | {
"content_hash": "12109744575cea5000c5c50ce6d22992",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 160,
"avg_line_length": 40.829268292682926,
"alnum_prop": 0.6989247311827957,
"repo_name": "maurer/tiamat",
"id": "b800ad20c65596a966e761eb679d6bd48dbcae72",
"size": "1674"... |
package org.spongepowered.common.mixin.api.mcp.entity.item;
import net.minecraft.entity.item.EntityBoat;
import org.spongepowered.api.data.manipulator.DataManipulator;
import org.spongepowered.api.data.type.TreeTypes;
import org.spongepowered.api.entity.vehicle.Boat;
import org.spongepowered.asm.mixin.Implements;
imp... | {
"content_hash": "29a2fc1a5151120efc4fc3484de53404",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 118,
"avg_line_length": 33.95744680851064,
"alnum_prop": 0.7161654135338346,
"repo_name": "SpongePowered/SpongeCommon",
"id": "8d2d450d14f8718b188d5f70a1851ec3d9b881ac",
"s... |
var expectedVolume1 = {
volumeId: 'removable:mount_path1',
mountPath: '/removable/mount_path1',
sourcePath: 'device_path1',
volumeType: 'removable',
deviceType: 'usb',
devicePath: 'system_path_prefix1',
deviceLabel: 'drive_label1',
isParentDevice: false,
isReadOnly: false,
profile: {profileId: "", d... | {
"content_hash": "fd700b00ee09db296ce32ff43e419137",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 80,
"avg_line_length": 31.66417910447761,
"alnum_prop": 0.6455338204100872,
"repo_name": "ChromiumWebApps/chromium",
"id": "5627b87271cff055a70c360c8d4c4e7d8bd7fd42",
"siz... |
SYNONYM
#### According to
Integrated Taxonomic Information System
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "8b46c079852d6ce6b056a1dfc000bafe",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.7218045112781954,
"repo_name": "mdoering/backbone",
"id": "4f57ca65d4dacfc7bfb656a1b87475b8085f4ec9",
"size": "186... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>flocq-quickchick: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstra... | {
"content_hash": "a2ae0b68ea1e6df48e5a46f9ca798a6d",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 159,
"avg_line_length": 42.42261904761905,
"alnum_prop": 0.5432860951311912,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "2e5c0a60a7133d655fbf1d753caec9220e29bbe6",
... |
import React, {PureComponent, ChangeEvent} from 'react'
import {withRouter, WithRouterProps} from 'react-router'
import {connect} from 'react-redux'
// Components
import {Overlay} from '@influxdata/clockface'
import BucketOverlayForm from 'src/buckets/components/BucketOverlayForm'
// Actions
import {updateBucket} fro... | {
"content_hash": "e26d04b52d9e18b0516ed3bd223b0385",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 80,
"avg_line_length": 23.473684210526315,
"alnum_prop": 0.6418161434977578,
"repo_name": "mark-rushakoff/influxdb",
"id": "3b6c427e4c423d2d78f45bffd19504662ace579e",
"siz... |
"""generated automatically by auto_dao.py"""
from __future__ import division
from sql_dao import SQLDAO
from vistrails.db.versions.v0_9_4.domain import *
class DBPortSpecSQLDAOBase(SQLDAO):
def __init__(self, daoList):
self.daoList = daoList
self.table = 'port_spec'
def getDao(self, dao):
... | {
"content_hash": "b3c3d1ed664464b57d0e37dcb1340940",
"timestamp": "",
"source": "github",
"line_count": 2679,
"max_line_length": 203,
"avg_line_length": 44.63157894736842,
"alnum_prop": 0.5464338284490834,
"repo_name": "hjanime/VisTrails",
"id": "4d07c2a5dc97acd8795e089e2046ce23121ced6a",
"size": "... |
% Computes a quality value for the given inside-outside map based on size and
% compactness
%
% Copyright (C) 2013 Anestis Papazoglou
%
% You can redistribute and/or modify this software for non-commercial use
% under the terms of the GNU General Public License as published by
% the Free Software Foundatio... | {
"content_hash": "91d915fbb067e99eb3b12bdb48845221",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 77,
"avg_line_length": 31.816666666666666,
"alnum_prop": 0.6139339968569932,
"repo_name": "subtri/streaming_VOP_clustering",
"id": "8e14e1345f65b961cd1107fe6e2484324699afa6",... |
<?php
class Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageRbmCardContent extends Google_Collection
{
protected $collection_key = 'suggestions';
public $description;
protected $mediaType = 'Google_Service_Dialogflow_GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMedia';
protecte... | {
"content_hash": "ea06f214ec2f6a09c1f3d6afa386c33f",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 124,
"avg_line_length": 28.551724137931036,
"alnum_prop": 0.7536231884057971,
"repo_name": "bshaffer/google-api-php-client-services",
"id": "4db2cb2b455e4a04bc8669dc321ea3622... |
/* Desc: RaySensor proximity sensor
* Author: Nate Koenig
* Date: 23 february 2004
*/
#ifndef _RAYSENSOR_HH_
#define _RAYSENSOR_HH_
#include <vector>
#include <string>
#include "math/Angle.hh"
#include "math/Pose.hh"
#include "transport/TransportTypes.hh"
#include "sensors/Sensor.hh"
namespace gazebo
{
class O... | {
"content_hash": "6a046556e79a942046ee6fe33942207a",
"timestamp": "",
"source": "github",
"line_count": 182,
"max_line_length": 75,
"avg_line_length": 34.35164835164835,
"alnum_prop": 0.6353166986564299,
"repo_name": "thomas-moulard/gazebo-deb",
"id": "437d2eb3765e20cc9a4789b4e447c054e09ccbde",
"si... |
'use strict';
let BaseRole = require('base-role');
class Harvester extends BaseRole {
static key() {
return 'harvester';
}
isViable() {
for (var i = 0; i < this.creep.body.length; i++) {
var part = this.creep.body[i];
if (part.hits < 1) {
return fal... | {
"content_hash": "3341fc8fc456de44015a953e7c20fe9e",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 86,
"avg_line_length": 28.227272727272727,
"alnum_prop": 0.5241545893719807,
"repo_name": "boushley/screeps",
"id": "16c3ec554050176d961ef17d28e12d8190d4acd5",
"size": "124... |
package com.feedsome.daq.test.service;
import org.apache.camel.EndpointInject;
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.spring.boot.CamelAutoConfiguration;
import org.junit.After;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframe... | {
"content_hash": "0c9d1bb47c5a1c9707540179deca3a19",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 87,
"avg_line_length": 31.3265306122449,
"alnum_prop": 0.7420195439739413,
"repo_name": "feedsome/feedsome-daq-parent",
"id": "0219763d32d6322983529420e4e2a24a00abf0a5",
"s... |
import sys
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.version_info < (2, 5):
raise NotImplementedError("Sorry, you need at least Python 2.5 or"
" Python 3.x to use bottle.")
import rossion
setup(name="rossion",
... | {
"content_hash": "0d83d87572273c8daefb64257de69624",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 72,
"avg_line_length": 33,
"alnum_prop": 0.5978705978705978,
"repo_name": "markgao/rossion",
"id": "5e4e6c921465143c1c57919923e35b9bab518f49",
"size": "1818",
"binary": f... |
'use strict';
var FontInspector = function FontInspectorClosure() {
var fonts;
var active = false;
var fontAttribute = 'data-font-name';
function removeSelection() {
var divs = document.querySelectorAll('div[' + fontAttribute + ']');
for (var i = 0, ii = divs.length; i < ii; ++i) {
var div = div... | {
"content_hash": "841537ecdabaf09c5cf40dbd2ffef47d",
"timestamp": "",
"source": "github",
"line_count": 558,
"max_line_length": 168,
"avg_line_length": 32.00179211469534,
"alnum_prop": 0.5662205297642381,
"repo_name": "VanHackathon2017HueBR/presentation-builder",
"id": "01bb1c9a0f875dfd3a1632657614d3... |
<?php
namespace Casino\BlackjackBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class CasinoBlackjackBundle extends Bundle
{
}
| {
"content_hash": "8cc00ace93891199bcdd868d3b5295c2",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 47,
"avg_line_length": 15.333333333333334,
"alnum_prop": 0.8188405797101449,
"repo_name": "ManuLEM/BlackJack",
"id": "6b1f981b326d0358ba36aba85270a6e9341f0d6a",
"size": "138... |
namespace REngine {
class Component;
// Entity
// Represents an entity in the game world,
// contains a list of components that systems
// will use to control its interactions with
// the world.
class Entity {
public:
Entity();
~Entity();
void removeComponent(Component* c);
void addComponent(Component* c);
... | {
"content_hash": "a29c4a3834273be6678aa9e5bb1a31cb",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 45,
"avg_line_length": 17.705882352941178,
"alnum_prop": 0.6362126245847176,
"repo_name": "NathanRLJones/Rogue",
"id": "054630e99bbe99f2cca63db1fa2f7967a4afb87b",
"size": "... |
'use strict';
//define variables
var Promise = require('bluebird');
var errorUtils = require('../utils/errorUtils');
var debug = require('debug') ('content');
var errorCodes = require('../utils/errorCodes');
module.exports = function(Content) {
Content.disableRemoteMethod('find', true);
Content.disableRemoteMetho... | {
"content_hash": "e1455d6fbbe26fcefc3e58646b6c7358",
"timestamp": "",
"source": "github",
"line_count": 265,
"max_line_length": 134,
"avg_line_length": 36.28679245283019,
"alnum_prop": 0.5512687188019967,
"repo_name": "abhiyaantrikee/content-service",
"id": "039be7b55c40576f343d17de388161a6ed9d8801",... |
import { PeakSpectrumData, PeakSpectrumDataResults } from "./PeakSpectrumData";
import { SpectrumData } from "./SpectrumData";
declare interface HarmonicSpectrumDataResults extends PeakSpectrumDataResults {
odd_even_ratio: number
noisiness: number
}
declare class HarmonicSpectrumData extends SpectrumData {
... | {
"content_hash": "7a2f9b5cab44c54368e27d7fe00bd993",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 79,
"avg_line_length": 33,
"alnum_prop": 0.7777777777777778,
"repo_name": "nickjillings/js-xtract",
"id": "d413d7709ff142767d0090e9b4b9953cae7f97ac",
"size": "495",
"bina... |
namespace Microsoft.Graph
{
/// <summary>
/// The type DriveRecentCollectionPage.
/// </summary>
public partial class DriveRecentCollectionPage : CollectionPage<DriveItem>, IDriveRecentCollectionPage
{
/// <summary>
/// Gets the next page <see cref="IDriveRecentRequest"/> instance.
... | {
"content_hash": "f533c7b9353a27c1e5d08582a33e2961",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 106,
"avg_line_length": 32.629629629629626,
"alnum_prop": 0.5800227014755959,
"repo_name": "garethj-msft/msgraph-sdk-dotnet",
"id": "debff26c3714cb3efbcea757a28c439a5e9d563c"... |
<?php
if (!is_file(dirname(__DIR__).'/vendor/autoload.php')) {
throw new RuntimeException('Install dependencies to run test suite.');
}
$loader = require dirname(__DIR__).'/vendor/autoload.php';
| {
"content_hash": "f216a8957804bb6717bed51bba7c0442",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 74,
"avg_line_length": 25.25,
"alnum_prop": 0.6683168316831684,
"repo_name": "sukobuto/ginq",
"id": "0786f853de088f23f52e7333deeeefd0750803d8",
"size": "677",
"binary": fa... |
package org.arakhne.afc.math.geometry.d3.i;
import org.junit.Ignore;
import org.arakhne.afc.math.geometry.d3.AbstractTuple3DTest;
@SuppressWarnings("all")
@Ignore("temporary")
public class Tuple3iTest extends AbstractTuple3DTest<Tuple3i> {
@Override
public boolean isIntCoordinates() {
return true;
}
@Over... | {
"content_hash": "fd5bd995905588130382afa40c6a0ca7",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 63,
"avg_line_length": 18.347826086956523,
"alnum_prop": 0.7464454976303317,
"repo_name": "DevFactory/afc",
"id": "1d2c72c3628404e1c7c0aecd61fc9cb747b3d885",
"size": "1340"... |
/**
* Keyboard class handles the keyboard state for the InputHandler
*/
class Keyboard {
/**
* Constructor for the Keyboard class
*/
constructor() {
// Store state
this.keys = {};
// Setup listeners for key events
document.addEventListener('keydown', (e) => this._onKeyDown(e), false);
... | {
"content_hash": "63ea91615a683d532076681bf5b12a47",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 75,
"avg_line_length": 19.166666666666668,
"alnum_prop": 0.592391304347826,
"repo_name": "nicholasnelson/uncondemned",
"id": "858d33ae2fcb2ec0f40ac4f109b9b20cff96f1e7",
"si... |
var Bin = require('./bin');
var AxisWrapper = require('./axis-wrapper');
var Canvas = require('./canvas');
var _ = require('lodash');
var React = require('react');
var PureRenderMixin = require('react/addons').addons.PureRenderMixin;
var utils = require('lightning-client-utils');
var d3 = require('d3');
var Histogram... | {
"content_hash": "bd6dfb69c88173beb4b7fba9a26ab519",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 190,
"avg_line_length": 28.439252336448597,
"alnum_prop": 0.5494577719355899,
"repo_name": "lightning-viz/lightning-histogram",
"id": "8a8ad88973ab036b4d69a29e3f9211bc1d3967... |
/**
* Created by Yosleny Leal on 8/22/14.
*/
Ext.define('Admin.store.GeneralSchedule', {
extend: 'Ext.data.Store',
model: 'Admin.model.GeneralSchedule',
remoteSort: true,
proxy: {
type: 'ajax',
api: {
read: 'admin/get-restaurant-general-schedule'
},
reader:... | {
"content_hash": "6d3ccfceaaa731e4b1e034d4e2a2763c",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 57,
"avg_line_length": 22.575757575757574,
"alnum_prop": 0.47114093959731546,
"repo_name": "akhilreddyjirra/website",
"id": "a662b0aed862b2a82b9f13b1770de9a8e0f55816",
"siz... |
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
import sys
version = '0.17'
install_requires = [
'pyramid >=1.6a2',
]
tests_require = [
'pytest',
'WebTest',
'colander',
'jsonschema',
'pyramid_sqlalchemy >=1.2'... | {
"content_hash": "dc2d78acfa75967d7274635b79164d23",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 73,
"avg_line_length": 30.176470588235293,
"alnum_prop": 0.5701754385964912,
"repo_name": "wichert/rest_toolkit",
"id": "630bdf1e316dfc98de01d6e6e40aeee2df418efd",
"size": ... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "7238907e3591421c691eb373f9d6b95a",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "56408949371225cee16fcf3a12ea9f266079cf4b",
"size": "196... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"content_hash": "f0864931d422afc4e33340eff2bc0a95",
"timestamp": "",
"source": "github",
"line_count": 243,
"max_line_length": 400,
"avg_line_length": 55.53909465020576,
"alnum_prop": 0.6689389448725548,
"repo_name": "LedererLab/FOS",
"id": "99066b2083b6b5fe6d67a662ef142b76b99464d3",
"size": "1349... |
<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:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
... | {
"content_hash": "710eda848f6ac86b6b9bfb407d3fc4b6",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 96,
"avg_line_length": 35.02272727272727,
"alnum_prop": 0.6645035691109669,
"repo_name": "Benobi42/bschreib-Reflex",
"id": "929ef7e8c363523c4fc88e1ddd61bcc0fd0d3c83",
"size... |
package storage_test
import (
"github.com/DATA-DOG/go-sqlmock"
. "github.com/mantzas/incata/storage"
. "github.com/onsi/ginkgo"
. "github.com/onsi/ginkgo/extensions/table"
. "github.com/onsi/gomega"
)
var _ = Describe("Storage", func() {
It("execute returns expected data", func() {
dbInner, mock, _ := sqlmo... | {
"content_hash": "a3ae335381973ad98397e19ff4c0de28",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 84,
"avg_line_length": 27.175824175824175,
"alnum_prop": 0.6680145572179539,
"repo_name": "mantzas/incata",
"id": "ca2d8137c60ad76e565bab813f69f931cecff2dc",
"size": "2473"... |
<?xml version="1.0" ?>
<DynamicTimeIndexedProblemConfig>
<AnalyticDDPSolver Name="ADDP">
<Debug>0</Debug>
<MaxIterations>500</MaxIterations>
<FunctionTolerance>1e-5</FunctionTolerance>
<GradientTolerance>1e-5</GradientTolerance>
<GradientToleranceConvergenceThreshold>1e-5</Gr... | {
"content_hash": "e9403396ac1703e54f188a322073c181",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 91,
"avg_line_length": 41.44186046511628,
"alnum_prop": 0.6094276094276094,
"repo_name": "openhumanoids/exotica",
"id": "c17be4e432e91008e51b86089e764f0c4dc1fa8c",
"size": ... |
date: 2018-11-18 14:18:55
title: Apu
tags:
- politics
- india
- quotes
---
From Soutik Biswas', "[_The Simpsons: Not all Indians think Apu is a racist stereotype_](https://www.bbc.com/news/world-asia-india-44027613)"
> "As I see it, there are two primary products that second generation Indian American com... | {
"content_hash": "dfb293594300458ed89951f535d4548a",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 397,
"avg_line_length": 83.38709677419355,
"alnum_prop": 0.7659574468085106,
"repo_name": "afreeorange/log",
"id": "9b5afea9296a964e756e644d524d9c7e701220af",
"size": "2599... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("02... | {
"content_hash": "b322ed6e53103a0d20c4de8447de767a",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 39.361111111111114,
"alnum_prop": 0.7473535638673253,
"repo_name": "PetarMetodiev/Telerik-Homeworks",
"id": "c56b5484bf88def0c528e4d94415f0a60c45683a",... |
#include "VariableGroup.h"
#include <QtDebug>
#include <QtXml/QDomElement>
VariableGroup::VariableGroup(const VariableId & sectionId)
: section_id(sectionId)
, csvRows(0)
{
}
/*
VariableGroup::VariableGroup(const QDomElement & de)
{
readXml(de);
}
*/
VariableId VariableGroup::sectionId(void) const
{
r... | {
"content_hash": "571ca896ea30f09e6b31fb1855d13ab1",
"timestamp": "",
"source": "github",
"line_count": 205,
"max_line_length": 68,
"avg_line_length": 21.28780487804878,
"alnum_prop": 0.5847846012832264,
"repo_name": "eirTony/INDI1",
"id": "bf59e60f5a6d779e0197ad0313b6c38a0acdc6f7",
"size": "4364",... |
Collection Registry & Collection Tags
=====================================
The Collection Registry is a special service that allows you to simplify the code you use to
retrieve multiple collections of the same semantic hierarchy at the same time.
Simple collections
------------------
For example, imagine you have a... | {
"content_hash": "5cd85b5a8760ea29404c97372d8471e4",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 102,
"avg_line_length": 28.28187919463087,
"alnum_prop": 0.5306122448979592,
"repo_name": "MovingImage24/VideoCollectionBundle",
"id": "3b37e99a712d34e04ca843dff190b8541a8d0... |
[](https://travis-ci.org/renstrom/shortuuid)
[](https://godoc.org/github.com/renstrom/shortuuid)
A Go library that generates concise, unambiguous, URL-... | {
"content_hash": "daba6bff789ed51cda4771fd039de0a6",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 399,
"avg_line_length": 29.83582089552239,
"alnum_prop": 0.7378689344672336,
"repo_name": "lewgun/argyroneta",
"id": "1f4351c5a3f0b51aa93ca536231b29475d623c34",
"size": "20... |
package org.couchbase.mock.httpio;
import org.apache.http.*;
import org.apache.http.impl.DefaultBHttpServerConnectionFactory;
import org.apache.http.protocol.*;
import org.apache.http.util.VersionInfo;
import org.couchbase.mock.Info;
import java.io.IOException;
import java.net.*;
import java.nio.channels.ServerSocket... | {
"content_hash": "e765f71e2330675b20afa58ce467072a",
"timestamp": "",
"source": "github",
"line_count": 255,
"max_line_length": 133,
"avg_line_length": 34.31764705882353,
"alnum_prop": 0.5795909038966975,
"repo_name": "Playtika/CouchbaseMock",
"id": "24980c72cb457038d3534981530bd5288bc0395e",
"size... |
<?php
namespace WilliamEspindola\Field\Console\Command\Database;
use WilliamEspindola\Field\Storage\ORM\Doctrine;
use Doctrine\ORM\Tools\Setup;
class DoctrineStorage
{
protected $mapper;
const XML_CONFIG_ORM = '/../../../../config/xml/';
public function __construct($config)
{
$setUp = Setup... | {
"content_hash": "7af03aab9953e0f0569a74fc472536d1",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 95,
"avg_line_length": 22.1875,
"alnum_prop": 0.6366197183098592,
"repo_name": "williamespindola/field",
"id": "6fe36de3969b0888946326ed6c741e86932dba51",
"size": "710",
... |
import re
from operator import itemgetter
import pytest
from nb_gen.doc_tables import (
get_desc_and_params,
get_input_table_lines,
get_output_table_lines,
)
from pybatfish.client.session import Session
from pybatfish.datamodel.answer.table import ColumnMetadata
@pytest.fixture(scope="module")
def sessi... | {
"content_hash": "5cf454ef1aea704c6a1999eb49e26e23",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 88,
"avg_line_length": 29.42,
"alnum_prop": 0.6770904146838885,
"repo_name": "batfish/pybatfish",
"id": "4d8e89bf0ceee31edf9dccf39e2ddfc37cf08f3f",
"size": "1487",
"binar... |
/*$Id$*/
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Margo Seltzer.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the f... | {
"content_hash": "99c404ea085a0471a4ae1ac798987811",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 77,
"avg_line_length": 38.913978494623656,
"alnum_prop": 0.6526664824537165,
"repo_name": "rangsimanketkaew/NWChem",
"id": "6cab7e9a43c4b056d3ddde7a767709973ad07b6d",
"size... |
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<!DOCTYPE html>
<html>
<head>
<title>wide background-size: auto 32px; for nonpercent-width-omitted-height-viewbox.svg</title>
<link rel="author" title="Jeff Walden" href="http://whereswalden.com/" /... | {
"content_hash": "8498e896a448dbdabe5fe371a8f9d4c4",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 97,
"avg_line_length": 29.714285714285715,
"alnum_prop": 0.6855769230769231,
"repo_name": "sergecodd/FireFox-OS",
"id": "4573e583a289835de6d4ec79228ebcda27f2de3c",
"size": ... |
<?php
namespace Hydrogen\Console;
//use
use Hydrogen\Load\Autoloader;
use Hydrogen\Load\Loader;
use Hydrogen\Console\Exception\ClassNotDefinedException;
class ConsoleHelper
{
public $path = '';
public $baseNamespace = '';
public static $_callable_param_prefix = '--';
public function __construct($na... | {
"content_hash": "64191f93da31247f7c43d4c109b166a1",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 97,
"avg_line_length": 28.082872928176794,
"alnum_prop": 0.5054101908321857,
"repo_name": "TF-Joynic/Hydrogen",
"id": "770fd0bc01af9de2439507ffd3bada77ee498803",
"size": "... |
namespace Project2GUI
{
partial class MovieBoxMain
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | {
"content_hash": "0ca887d564df575e7c0c367f6d7d4876",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 172,
"avg_line_length": 45.09756097560975,
"alnum_prop": 0.5857220118983234,
"repo_name": "majorsilence/MediaService",
"id": "3a7d574e9e116cb99bc864cb53886baaee94a661",
"si... |
<?php
namespace Hifone\Http\Controllers\Dashboard;
use AltThree\Validator\ValidationException;
use Hifone\Hashing\PasswordHasher;
use Hifone\Http\Controllers\Controller;
use Hifone\Models\Role;
use Hifone\Models\User;
use Illuminate\Support\Facades\Redirect;
use Illuminate\Support\Facades\View;
use Input;
class Us... | {
"content_hash": "091776bb66fd915778f2435cbbdf6ded",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 110,
"avg_line_length": 31.17241379310345,
"alnum_prop": 0.5611172566371682,
"repo_name": "underdogg-forks/hifone",
"id": "a257eee0bc91010ceb4dfeb0476be0f086ce1113",
"size... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>junior</artifactId>
... | {
"content_hash": "5ba202aa8bb0b421d7e498e4905b8031",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 108,
"avg_line_length": 40.5,
"alnum_prop": 0.6440329218106996,
"repo_name": "ZubovVP/ZubovVP",
"id": "c8a1ce0fd0aa31a1f2ec2775498f41ccc345bc62",
"size": "486",
"binary":... |
/**
*
*/
function SMSReceivingTask() {
this.id = "SMS Receiving 00"; // top left corner X
this.name = "SMS Receiving"; // top left corner Y
this.x0 = 0; // top left corner X
this.y0 = 0; // top left corner Y
this.x1 = 0; // bottom right corner X
this.y1 = 0; // bottom right corner X
this.status = 0; //
this... | {
"content_hash": "e24436c18bcefc4ed01dd0b1ffe7a241",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 85,
"avg_line_length": 33.44186046511628,
"alnum_prop": 0.6866017617060732,
"repo_name": "CloudBPM/SwinFlowCloud-CloudSide",
"id": "ed4c89b896e20666e6b522fd0574041f6cb50061"... |
<!DOCTYPE html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no"/>
<title>Booking - BlushUp</title>
<!-- CSS -->
<link href="https://fonts.goog... | {
"content_hash": "d9404a821cffd4a6b1e5fa2f80affcd3",
"timestamp": "",
"source": "github",
"line_count": 202,
"max_line_length": 674,
"avg_line_length": 39.43564356435643,
"alnum_prop": 0.569545568666834,
"repo_name": "blushup/blushup.github.io",
"id": "25779af9379eafc22c2da98a9e63410b64f4477e",
"si... |
html,
body {
height: auto;
}
html {
overflow: auto;
padding: 1in 0.5in;
background: #aeb4ba;
}
body {
width: 8.5in;
margin: 0 auto;
background: ;
font-family: "franklin-gothic-urw", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 500;
font-size: 14px;
line-height: 24px;
background: ... | {
"content_hash": "17c9aa6e89d7384c94907617a15129b5",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 85,
"avg_line_length": 24.1046511627907,
"alnum_prop": 0.6985045827303425,
"repo_name": "ndimatteo/yarmouth-theme",
"id": "b2109d349c744b1c4e9e4d3494723fabc4c1209f",
"size... |
* Invoking params multiple times will append to the existing parameters
## 0.3.0
* Depends on `sprockets < 3` thus source map can still work
* Remove sprockets-es6 from dependency
* Set `displayName` of component as the Ruby class name, which make it displayed better in [react-devtools](https://github.com/facebook... | {
"content_hash": "86dd5cf711b790c1a44fa8ba7f6a980e",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 152,
"avg_line_length": 51.94736842105263,
"alnum_prop": 0.7537993920972644,
"repo_name": "LeeChSien/react.rb",
"id": "00da48aedf59d7dcc0f99b44db23a4f565ba3ecd",
"size": "9... |
/*!
* \file atomic/fences.hpp
*
* This header contains definition of \c atomic_thread_fence and \c atomic_signal_fence functions.
*/
#ifndef BOOST_ATOMIC_FENCES_HPP_INCLUDED_
#define BOOST_ATOMIC_FENCES_HPP_INCLUDED_
#include <boost/memory_order.hpp>
#include <boost/atomic/capabilities.hpp>
#include <boost/ato... | {
"content_hash": "07ca5de216430500d5d7d9d9af37c7d9",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 98,
"avg_line_length": 23.406779661016948,
"alnum_prop": 0.7385952208544533,
"repo_name": "CppMicroServices/CppMicroServices",
"id": "e91f6389bcf6a93119317b19cfa2effb688e7a10... |
To schedule the "immediate" execution of `callback` after I/O events
callbacks and before `setTimeout` and `setInterval` . Returns an
`immediateObject` for possible use with `clearImmediate()`. Optionally you
can also pass arguments to the callback.
Callbacks for immediates are queued in the order in which they were c... | {
"content_hash": "7580c6d76c183232a8cea70d73829a87",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 79,
"avg_line_length": 57.55555555555556,
"alnum_prop": 0.806949806949807,
"repo_name": "mkaminsky11/iota",
"id": "c4b0afd8db6cd10bd8d4c7e0603dd1e9b94c8375",
"size": "568",
... |
<Musics>
<Default_Trainer_Battle default="1" title="Default_Trainer_Battle.ogg" intro="52"></Default_Trainer_Battle>
<Default_Wild_Battle default="1" title="Default_Wild_Battle.ogg" intro="44"></Default_Wild_Battle>
<Default_LowHP default="1" title="Default_LowHP.ogg" intro="11"></Default_LowHP>
<So... | {
"content_hash": "026b952e235e8085eb76831d36fd1906",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 111,
"avg_line_length": 67.16666666666667,
"alnum_prop": 0.6972704714640199,
"repo_name": "yongaro/Pokemon",
"id": "34d67f454e1e89640c190cb82ab8143a885f6a3f",
"size": "403",... |
const char kMagicBytes[] = "Gact";
const quint32 kPEHeaderOffset = 60;
int ApplyTag::embedTagString()
{
createBufferToWrite();
m_taggedFile.seek(m_taggedFile.size());
m_taggedFile.write(m_tagBuffer);
if (!applyTagToBuffer()) {
m_taggedFile.close();
return WriteError;
}
m_taggedFile.close();
r... | {
"content_hash": "32d3ea4ad77e3712936a0dd1edc42771",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 98,
"avg_line_length": 24.155963302752294,
"alnum_prop": 0.7011014052411698,
"repo_name": "impomezia/ApplyTag",
"id": "0abe794224921535ba26eaa5b05857045e678334",
"size": "... |
<?php
namespace Asenine\CLI;
interface OptionInterface
{
public function parseArguments(array $arguments);
public function parse($value);
}
class OptionException extends \InvalidArgumentException
{}
abstract class Option implements OptionInterface
{
public $switches;
public $default;
public $value;
public $des... | {
"content_hash": "784b75f6bdad958ca35f53d0976a4db3",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 98,
"avg_line_length": 22.661538461538463,
"alnum_prop": 0.636795655125594,
"repo_name": "pomle/asenine-lib",
"id": "4d0114a680ee200de20ec991261046434936b9e6",
"size": "147... |
<?php
namespace Longman\TelegramBot;
use Longman\TelegramBot\Entities\CallbackQuery;
use Longman\TelegramBot\Entities\Chat;
use Longman\TelegramBot\Entities\ChatJoinRequest;
use Longman\TelegramBot\Entities\ChatMemberUpdated;
use Longman\TelegramBot\Entities\ChosenInlineResult;
use Longman\TelegramBot\Entities\Inli... | {
"content_hash": "426957387e925904d2f50793dd196494",
"timestamp": "",
"source": "github",
"line_count": 1513,
"max_line_length": 457,
"avg_line_length": 39.72901520158625,
"alnum_prop": 0.5183829645649642,
"repo_name": "akalongman/php-telegram-bot",
"id": "545133c09e81c662efa72f139c63e498010bda53",
... |
package org.lwjgl.opengles;
/**
* Native bindings to the <a href="https://www.khronos.org/registry/gles/extensions/NV/NV_fbo_color_attachments.txt">NV_fbo_color_attachments</a> extension.
*
* <p>This extension increases the number of available framebuffer object color attachment points.</p>
*/
public final class... | {
"content_hash": "d11e2e5e5fda4098592edb033b79bd18",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 156,
"avg_line_length": 36.371428571428574,
"alnum_prop": 0.7423409269442263,
"repo_name": "MatthijsKamstra/haxejava",
"id": "a11a5769689f3fe46df0234e6f6abec41180cfdd",
"si... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/security/privateca/v1beta1/service.proto
package com.google.cloud.security.privateca.v1beta1;
public interface CreateCertificateAuthorityRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.secu... | {
"content_hash": "2f65344c0ef162373a75bff4ce38fa15",
"timestamp": "",
"source": "github",
"line_count": 158,
"max_line_length": 135,
"avg_line_length": 34.89873417721519,
"alnum_prop": 0.6875226695683714,
"repo_name": "googleapis/java-security-private-ca",
"id": "15e0c27fb250fea8c248b6fa88ee623a3cc66... |
using System.Data.Entity;
using Models.Initializers;
namespace Models
{
public class AllModelsContext : DbContext
{
public AllModelsContext() : base("AllModelsContext")
{
var ensureDllIsCopied = System.Data.Entity.SqlServer.SqlProviderServices.Instance;
Database.S... | {
"content_hash": "42f8b0698a5d747007e4ab787ae6de4a",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 94,
"avg_line_length": 29.38235294117647,
"alnum_prop": 0.6646646646646647,
"repo_name": "Manicca/Interiora",
"id": "cf4704875f0374f3f4768240371f84acff4a829e",
"size": "100... |
#ifndef CARTOGRAPHER_ROS_GOOGLE_CARTOGRAPHER_SRC_MSG_CONVERSION_H_
#define CARTOGRAPHER_ROS_GOOGLE_CARTOGRAPHER_SRC_MSG_CONVERSION_H_
#include "cartographer/common/port.h"
#include "cartographer/kalman_filter/pose_tracker.h"
#include "cartographer/sensor/point_cloud.h"
#include "cartographer/sensor/proto/sensor.pb.h... | {
"content_hash": "2184aa71b46b5f00e4d86cfb533e7d79",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 78,
"avg_line_length": 35.98571428571429,
"alnum_prop": 0.7717348154029376,
"repo_name": "af-silva/cartographer_ros",
"id": "b3d97701466c848280a5750d577a314fe0424f58",
"siz... |
package org.apache.polygene.library.sql.generator;
import org.apache.polygene.library.sql.generator.vendor.PostgreSQLVendor;
import org.apache.polygene.library.sql.generator.vendor.SQLVendor;
import org.apache.polygene.library.sql.generator.vendor.SQLVendorProvider;
/**
* @author Stanislav Muhametsin
*/
public cla... | {
"content_hash": "22cb879837a2c46b8d70c29d90090825",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 76,
"avg_line_length": 29.05263157894737,
"alnum_prop": 0.7844202898550725,
"repo_name": "apache/zest-qi4j",
"id": "0a4a0f8b2ecfb57e82f5d6f3495d1fe998089e6d",
"size": "1172... |
<!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_45) on Thu Oct 13 19:29:18 UTC 2016 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class liquibase.integrati... | {
"content_hash": "afb79df2a2e7fa5dec89d06d7e1c9e28",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 225,
"avg_line_length": 42.55862068965517,
"alnum_prop": 0.6282612218441096,
"repo_name": "myapos/ClientManagerSpringBoot",
"id": "233dbbe01167e1f2e5a809cefb3d1844aa940fb4",... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_45) on Mon Mar 03 10:44:38 EST 2014 -->
<title>Uses of Class org.hibernate.metamodel.source.annotations.attribute.AssociationAttribute ... | {
"content_hash": "faeeeddc5858045678a1095b1bfddb50",
"timestamp": "",
"source": "github",
"line_count": 194,
"max_line_length": 625,
"avg_line_length": 63.78350515463917,
"alnum_prop": 0.6866817520607725,
"repo_name": "serious6/HibernateSimpleProject",
"id": "926f16ee34a20925e09f463933ad4193e66eca57"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>finger-tree: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min... | {
"content_hash": "9ddbb7433b951bed4904607a40fcd5f7",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 213,
"avg_line_length": 43,
"alnum_prop": 0.5441860465116279,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "9f7b58b4b9aa2e25aaf39bce0026834239f18843",
"size": "7120... |
<?xml version='1.1' encoding='UTF-8'?>
<project>
<actions/>
<description>Test run of data resource load for sandbox test environment</description>
<keepDependencies>false</keepDependencies>
<properties>
<jenkins.model.BuildDiscarderProperty>
<strategy class="hudson.tasks.LogRotator">... | {
"content_hash": "9ca0ad5c4770f04dad14f6bcd994f101",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 120,
"avg_line_length": 46.32142857142857,
"alnum_prop": 0.5875096376252892,
"repo_name": "AtlasOfLivingAustralia/ala-install",
"id": "61af15f6b70517b9aab968c295953b7bb7b318d... |
using System;
namespace anime_downloader.Patch.Services.Interface
{
/// <summary>
/// Handle all version updates.
/// </summary>
public interface IPatchService
{
/// <summary>
/// The output stream.
/// </summary>
Action<string> Output { get; set; }
... | {
"content_hash": "272dba03f2a5941a6996159d36229a77",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 86,
"avg_line_length": 26.5,
"alnum_prop": 0.5679245283018868,
"repo_name": "dukemiller/anime-downloader",
"id": "b0627452931b41da2237e38d51e965df38a96794",
"size": "532",
... |
function MasyuController(problems) {
this.option = {};
this.option.outerMargin = 20;
this.gridController = new GridController();
this.isFinished = false;
this.problems = problems;
this.setProblemId(0);
this.setZoom(3);
}
MasyuController.prototype.setView = function (view) {
... | {
"content_hash": "de922a774a4d8624b22d07d0a403c9a5",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 113,
"avg_line_length": 33.71900826446281,
"alnum_prop": 0.6762254901960785,
"repo_name": "semiexp/penciloid-player",
"id": "cc818cfaaad02dbb8b8bb0716f4bb127c3b7125d",
"si... |
""" standard """
from threatconnect import ApiProperties
from threatconnect.RequestObject import RequestObject
from threatconnect.SecurityLabelObject import parse_security_label, SecurityLabelObject
""" custom """
from threatconnect.ErrorCodes import ErrorCodes
def parse_attribute(attribute_dict, container):
"""... | {
"content_hash": "c42a7080a611e99c73a1bb21b0b1468a",
"timestamp": "",
"source": "github",
"line_count": 280,
"max_line_length": 118,
"avg_line_length": 33.78928571428571,
"alnum_prop": 0.5691787337490751,
"repo_name": "percipient/threatconnect-python",
"id": "ad3dc1638a0e049da8434f73c1921e7d62cc8906"... |
#include <boost/container/pmr/global_resource.hpp>
#include <boost/core/lightweight_test.hpp>
#include <boost/intrusive/detail/math.hpp>
#include "derived_from_memory_resource.hpp"
#include "memory_resource_logger.hpp"
using namespace boost::container::pmr;
template<class PoolResource>
struct derived_f... | {
"content_hash": "560ce50808b21cb4df456b9e79c19fa9",
"timestamp": "",
"source": "github",
"line_count": 484,
"max_line_length": 126,
"avg_line_length": 42.61776859504132,
"alnum_prop": 0.6271876666505066,
"repo_name": "zjutjsj1004/third",
"id": "72d8abf641aa42c57539665bace40422f3b7a406",
"size": "2... |
var Value = require('basis.data').Value;
var Node = require('basis.ui').Node;
var createEvent = require('basis.event').create;
var template = require('basis.template');
var templates = template.define('app.ui', {
page: resource('./template/page.tmpl')
});
module.exports = Node.subclass({
template: templates.p... | {
"content_hash": "230924126151916ae04de0e17ed0daaf",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 57,
"avg_line_length": 27.42105263157895,
"alnum_prop": 0.5499040307101728,
"repo_name": "smelukov/webpack-runtime-analyzer",
"id": "a924b87457e00371323426ceae1230e33800579b"... |
<!--
@license
Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http:/... | {
"content_hash": "630f904b72220a628bcb0fbd71829c51",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 100,
"avg_line_length": 27.789473684210527,
"alnum_prop": 0.6524621212121212,
"repo_name": "ifaris7/polymer-playground",
"id": "a9cdae1109d347504e3a14d0dd95638d2f700240",
"... |
class NotificationParam < ActiveRecord::Base
belongs_to :notification, :inverse_of => :params, :touch => true
belongs_to :query_param
delegate :name, :value_type, :type, :default_value, to: :query_param
validate do
if self.query_param.query.id != self.notification.query.id
self.errors.add :value, :... | {
"content_hash": "bcb9d96fa93aa055b675673ed5a96eca",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 70,
"avg_line_length": 27.375,
"alnum_prop": 0.5929549902152642,
"repo_name": "tiagoamaro/sapos",
"id": "0de5a06a85b1614305d769ff239dc258ac495066",
"size": "1674",
"binar... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.