text stringlengths 2 1.04M | meta dict |
|---|---|
package com.example.repository;
import java.util.List;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.Repository;
import org.springframework.data.repository.query.Param;
import com.example.entity.User;
public interface UserRepository extends Repository<User, Long>
{... | {
"content_hash": "9f5f802d5dc21bc479802fc4a6444bbe",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 90,
"avg_line_length": 29.391304347826086,
"alnum_prop": 0.7440828402366864,
"repo_name": "diwang011/spring-data-jpa-demo",
"id": "8f722d16710e738f4792fede25b8cbdfbc272d0e",
... |
package com.google.android.voiceime;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.os.IBinder;
import com.anysoftkeyboard.utils.Logger;
/**
* Handles the connection, and the method call, and the call ba... | {
"content_hash": "1ee1120750c52ebccee33c15eb673770",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 100,
"avg_line_length": 31.594827586206897,
"alnum_prop": 0.6545702592087312,
"repo_name": "OmerMachluf/Mykeyboard",
"id": "1a1c35281c7ca76104f5c9cc7e7c8c59c012950c",
"siz... |
//=============================================================================================================
//*************************************************************************************************************
//============================================================================================... | {
"content_hash": "19c7454409a31aec0e7531444d44369e",
"timestamp": "",
"source": "github",
"line_count": 210,
"max_line_length": 111,
"avg_line_length": 34.2,
"alnum_prop": 0.42133110554163183,
"repo_name": "rickytjen/mne-cpp",
"id": "5328ae0c189008d2208de0ab1617846483261b0e",
"size": "8994",
"bin... |
/* Test case for bug in dlsym accessing dependency objects' symbols. */
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <dlfcn.h>
int main(void)
{
void *handle;
char *c;
/* open lib1.so, which has the unresolved test symbol and a DT_NEEDED
on lib2.so, which provides the symbol... | {
"content_hash": "869d80a53060dbaf49c5bbb01ef39c99",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 73,
"avg_line_length": 23.714285714285715,
"alnum_prop": 0.6129518072289156,
"repo_name": "andrewjylee/omniplay",
"id": "3bbf6a2f02695286533c141262e2a180cb38d6f9",
"size": ... |
namespace ash {
namespace quick_pair {
// This class is used to represent server errors (both network and HTTP errors)
// we encounter in the repository component.
class COMPONENT_EXPORT(QUICK_PAIR_COMMON) FastPairHttpResult {
public:
FastPairHttpResult(const int net_error,
const network::mojom... | {
"content_hash": "2a42376c91636c1af9923fb48cbf20f6",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 79,
"avg_line_length": 32.88235294117647,
"alnum_prop": 0.7191413237924866,
"repo_name": "nwjs/chromium.src",
"id": "168925234d62ecec47c6d0d3fb64fbcabbba7493",
"size": "156... |
<?php
namespace InstagramAPI\Exception;
class EmptyResponseException extends RequestException
{
}
| {
"content_hash": "d84e72f5212e52f2a8f1307acc8c3b72",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 53,
"avg_line_length": 14.285714285714286,
"alnum_prop": 0.83,
"repo_name": "MoritzGruber/instabot",
"id": "ad8a6c29241933d1889a1a25d1a72d1bae619088",
"size": "100",
"bina... |
DWORD player_base = 0, camera_base = 0, uncap_base = 0;
int(__thiscall *UpdatePlayerOriginal)(int, int, int);
void(*UpdateCameraOriginal)();
void(*UpdateMenuOriginal)();
void(*UpdateCapOriginal)();
DWORD static_base = 0;
int __fastcall UpdatePlayerHook(int this_, void *idle_, int a1, int a2) {
GetData()->... | {
"content_hash": "58fbc3ce8b3e4be5d3f19765d95b5feb",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 179,
"avg_line_length": 23.5,
"alnum_prop": 0.6462765957446809,
"repo_name": "btbd/megem",
"id": "9f55b8626ee00aa4b688dd1f39787619d6f2cdf8",
"size": "1901",
"binary": fal... |
package org.apache.camel.model;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
import org.apache.camel.ExchangePattern;
imp... | {
"content_hash": "1afdc3ae1a209abe5582eb16c8908bb1",
"timestamp": "",
"source": "github",
"line_count": 249,
"max_line_length": 110,
"avg_line_length": 34.46987951807229,
"alnum_prop": 0.6802982640102528,
"repo_name": "ullgren/camel",
"id": "4afe0954a03d73c97a022e186060ef6ef08ad5f7",
"size": "9385"... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "2305672bd07c05d6d441ec94d1e8d8f4",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "cb3eb19b0b0c09063de44cfce1761b5a44e9a390",
"size": "180... |
import socket
from test_framework.socks5 import Socks5Configuration, Socks5Command, Socks5Server, AddressType
from test_framework.test_framework import NavCoinTestFramework
from test_framework.util import *
from test_framework.netutil import test_ipv6_local
'''
Test plan:
- Start navcoind's with different proxy config... | {
"content_hash": "89eea0ba37c799e0d600cba1ffc83baa",
"timestamp": "",
"source": "github",
"line_count": 190,
"max_line_length": 146,
"avg_line_length": 42.584210526315786,
"alnum_prop": 0.6051167964404894,
"repo_name": "navcoindev/navcoin-core",
"id": "3e0a6f50f4f8958f925250c65e6bd3e4f774041e",
"si... |
describe "API Rules" do
before do
RestChain::API.clear :demo
end
describe "Interface" do
it "should create 1 definition" do
RestChain::API::Definition.describe :demo do
define :properties do |resource|
resource.properties.each { |k, v| resource.set(k, v) }
end
end
... | {
"content_hash": "003e5019e1ba6ad47cff08176d252a24",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 98,
"avg_line_length": 31.19736842105263,
"alnum_prop": 0.6001687051876845,
"repo_name": "avstudio/rest-chain",
"id": "f87d88a0728bbf36ad3a0be05a39902bede21795",
"size": "2... |
[](http://travis-ci.org/SlexAxton/messageformat.js)
# messageformat.js
The experience and subtlety of your program's text can be important. MessageFormat (PluralFormat + SelectFormat) is a mechanism for handling both *pluralization* and *gend... | {
"content_hash": "ee9d23249f46d69ac69a49a7682128e2",
"timestamp": "",
"source": "github",
"line_count": 556,
"max_line_length": 468,
"avg_line_length": 38.710431654676256,
"alnum_prop": 0.6994842726385727,
"repo_name": "nooks/messageformat.js",
"id": "116bbdaa102aa3f16d64e5b5d9944ede911c9508",
"siz... |
cask "soundsource" do
version "5.5.4"
sha256 :no_check
url "https://rogueamoeba.com/soundsource/download/SoundSource.zip"
name "SoundSource"
desc "Sound and audio controller"
homepage "https://rogueamoeba.com/soundsource/"
livecheck do
url "https://rogueamoeba.net/ping/versionCheck.cgi?format=sparkl... | {
"content_hash": "107e6d3892b6d493e50631b308c93032",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 163,
"avg_line_length": 29.53846153846154,
"alnum_prop": 0.7330729166666666,
"repo_name": "tjnycum/homebrew-cask",
"id": "29a94f6ac9620baa60632fcc5b415f184f0688f8",
"size":... |
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
require('mongoose-currency').loadType(mongoose);
var commentSchema = new Schema({
rating: {
type: Number,
min: 1,
max: 5,
required: true
},
comment: {
type: String,
required: true
},
postBy: {
type: mongoose.Schema... | {
"content_hash": "b5d05d6bb801bc2b808842ca845eb76b",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 48,
"avg_line_length": 15.5,
"alnum_prop": 0.5910509885535901,
"repo_name": "kimochg/node-examples",
"id": "ab9fcc67f81ed632435ab7cfd31e751483265d10",
"size": "961",
"bin... |
.datepicker_dashboard {
position: absolute;
font-size: 10px;
font-family: "Lucida Grande", LucidaGrande, "Lucida Sans", Geneva, Verdana, sans-serif;
color: #fff;
line-height: normal;
width: 172px;
height: 135px;
padding: 14px;
background: url(frame.png) no-repeat;
}
/* header
*********************************... | {
"content_hash": "47cdee81f02aa1089c21260e1633e68c",
"timestamp": "",
"source": "github",
"line_count": 245,
"max_line_length": 88,
"avg_line_length": 20.473469387755102,
"alnum_prop": 0.6349681020733652,
"repo_name": "epsi-rns/AlumniBook-SF",
"id": "3b8f06f0acf4b81e4439af7c9bd3a159038a2232",
"size... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__c_CWE805_int_memmove_15.c
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_CWE805.label.xml
Template File: sources-sink-15.tmpl.c
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Allocate using... | {
"content_hash": "f98f613e1121b2ced898d5ea351bd099",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 123,
"avg_line_length": 29.651851851851852,
"alnum_prop": 0.5998001498875843,
"repo_name": "JianpingZeng/xcc",
"id": "865c6d494eac7e31d1d16f52cac8a99557a15753",
"size": "4... |
<!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_91) on Mon Jun 06 14:51:11 EDT 2016 -->
<title>UpdateParameters (apache-cassandra API)</title>
<meta name="date" content="2016-06-06">
<link re... | {
"content_hash": "18bacc1a50118899380deaef31f68c1f",
"timestamp": "",
"source": "github",
"line_count": 589,
"max_line_length": 452,
"avg_line_length": 53.38370118845501,
"alnum_prop": 0.6760487230862195,
"repo_name": "jasonwee/videoOnCloud",
"id": "efabd02ac4754c2c7196930005b1ecc733e2547b",
"size"... |
require "cases/helper"
require "models/book"
require "models/post"
require "models/author"
require "models/event"
module ActiveRecord
class AdapterTest < ActiveRecord::TestCase
def setup
@connection = ActiveRecord::Base.connection
end
##
# PostgreSQL does not support null bytes in strings
... | {
"content_hash": "2fa64f61ed0b7ee3aa5a37908a43a46d",
"timestamp": "",
"source": "github",
"line_count": 370,
"max_line_length": 138,
"avg_line_length": 34.07027027027027,
"alnum_prop": 0.6658733936220848,
"repo_name": "kaspth/rails",
"id": "6e045785769dbe9fe66d879cdd14507a2c284839",
"size": "12639"... |
require_relative '../../test_helper'
require_relative 'flow_test_helper'
require "smart_answer_flows/register-a-birth"
class RegisterABirthTest < ActiveSupport::TestCase
include FlowTestHelper
setup do
@location_slugs = %w(afghanistan algeria andorra australia bangladesh barbados belize cambodia cameroon dem... | {
"content_hash": "c96834c1d2271355612594e6533b5b98",
"timestamp": "",
"source": "github",
"line_count": 605,
"max_line_length": 443,
"avg_line_length": 31.312396694214875,
"alnum_prop": 0.6745143581081081,
"repo_name": "aledelcueto/smart-answers",
"id": "81da3667dbd339ce5d38451fe472a5fccf512a1f",
"... |
module SmartAnswer::Calculators
class ChildMaintenanceCalculator
include ActiveModel::Model
attr_accessor :number_of_children
attr_accessor :benefits
attr_accessor :paying_or_receiving
attr_accessor :income, :number_of_other_children, :number_of_shared_care_nights
SCHEME_BASE_AMOUNT = 7.00
... | {
"content_hash": "a0cd83a35856cf1c47ba12d711d3439d",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 119,
"avg_line_length": 32.887005649717516,
"alnum_prop": 0.6643188455591823,
"repo_name": "stwalsh/smart-answers",
"id": "eb89086f55ac1eb98b9f2328039cfa2dce50bb59",
"size... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>hardware: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | {
"content_hash": "ef20136cc28a820080a14ae9583ae2b4",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 204,
"avg_line_length": 42.98830409356725,
"alnum_prop": 0.5592436403210448,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "561bd2eea8ff7e4329a3b07f416d45dcc34bc7a5",
... |
require 'sequel'
require 'ghtorrent/migrations/mysql_defaults'
Sequel.migration do
up do
puts("Adding organization descriminator field to table users")
alter_table :users do
add_column :type, String, :null => false, :default => 'USR'
add_constraint(:type_allowed_values, :type => %w[USR ORG])
... | {
"content_hash": "f889d4a841c9ce5a0c8e647decf30528",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 67,
"avg_line_length": 26.65,
"alnum_prop": 0.6566604127579737,
"repo_name": "pombredanne/github-mirror",
"id": "29665d0976d897077539c66d2006e2cdb0d6a9a1",
"size": "1066",
... |
import { getParentIds } from './helper';
import { PAGE, PRODUCT_CATEGORY, PRODUCT, RESERVED } from '../pageTypes';
const getBreadcrumbsForProduct = (product, categories) => {
if (product && product.category_id) {
let ids = [product.category_id];
let parentIds = getParentIds(categories, product.category_id);
ids... | {
"content_hash": "9893ddfda7d052f403782cfb26c2465b",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 77,
"avg_line_length": 24.471544715447155,
"alnum_prop": 0.6654485049833887,
"repo_name": "cezerin/cezerin",
"id": "3806dce2bc494e9497e8ca7438dfcd6b7f38e481",
"size": "301... |
namespace mscl {
public class CV7ContinuousBIT_Filter_General : Bitfield {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
internal CV7ContinuousBIT_Filter_General(global::System.IntPtr cPtr, bool cMemoryOwn) : base(msclPINVOKE.CV7ContinuousBIT_Filter_General_SWIGUpcast(cPtr), cMemoryOwn... | {
"content_hash": "c32213e24e64b01a592ac7e72539069c",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 170,
"avg_line_length": 43.87692307692308,
"alnum_prop": 0.7422861150070126,
"repo_name": "LORD-MicroStrain/MSCL",
"id": "1a3228ed8f3a26bd5b2f1002441942bee5b760c4",
"size":... |
namespace Rsdn.Text
{
using System;
public sealed class Number : Token
{
internal Number(string text, int index, int length)
: base(text, index, length)
{
}
public override TokenCategory Category => TokenCategory.Number;
internal static boo... | {
"content_hash": "6bd406cf2dc506d49e9b5a6c74649737",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 71,
"avg_line_length": 21.68421052631579,
"alnum_prop": 0.5436893203883495,
"repo_name": "vborovikov/rsdn",
"id": "11ce667aaa8191543cb69acecc8760e8f2faf2dd",
"size": "412",... |
/**
* @file rand_stream.h
*
* @brief The concept of random streams
*
* @author Dahua Lin
*/
#ifdef _MSC_VER
#pragma once
#endif
#ifndef LIGHTMAT_RAND_STREAM_H_
#define LIGHTMAT_RAND_STREAM_H_
#include <light_mat/common/basic_defs.h>
#include <light_mat/simd/simd_base.h>
namespace lmat { namespace random {
/... | {
"content_hash": "3bbf2afe25adf2db86d0d1af94fb7dae",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 68,
"avg_line_length": 17.463414634146343,
"alnum_prop": 0.577513966480447,
"repo_name": "lindahua/light-matrix",
"id": "a4ed4a12e4d644e8882722c38b74250f07d2382d",
"size": ... |
<!DOCTYPE html>
<!--
Copyright (c) 2012 Intel Corporation.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of works must retain the original copyright notice, this list
of conditions and the following di... | {
"content_hash": "10123ac0de60feffa50cee59a7f2a871",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 80,
"avg_line_length": 40.907407407407405,
"alnum_prop": 0.736985061113626,
"repo_name": "jiajiax/crosswalk-test-suite",
"id": "5bb9b29c4da1eeb9432b4d73dbdde0474c0e62a8",
"... |
package Interfaz;
import java.awt.Canvas;
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.util.Iterator;
import java.util.LinkedList;
import javax.swing.JOptionPane;
import Estructuras.Arista;
import Estructuras... | {
"content_hash": "409120d5ef91b1cb6dd2b2fd3cb70ca2",
"timestamp": "",
"source": "github",
"line_count": 285,
"max_line_length": 151,
"avg_line_length": 28.333333333333332,
"alnum_prop": 0.6530030959752322,
"repo_name": "carlosrd/LP3",
"id": "e32145d70c22173c092c6aa0721e51fbc026c296",
"size": "8075"... |
int main(int argc, char * argv[]) {
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
| {
"content_hash": "862f69c30961e5cb41872da6e6711e1d",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 90,
"avg_line_length": 31.6,
"alnum_prop": 0.6582278481012658,
"repo_name": "dzenbot/DZNEmptyDataSet",
"id": "ac1c3017ab62c062b2a2b66813ba3ac8bcd4189f",
"size": "328",
"bi... |
'use strict';
import $ from './jquery';
import * as deprecate from './internal/deprecation';
import globalize from './internal/globalize';
/**
* Does nothing because legacy code.
*
* @returns {undefined}
*/
function warnAboutFirebug () {}
/**
* Includes firebug lite for debugging in IE. Especially in IE.
*
* ... | {
"content_hash": "daa01fe03c71268d2a1a1ed3323c9267",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 94,
"avg_line_length": 20.979166666666668,
"alnum_prop": 0.634558093346574,
"repo_name": "parambirs/aui-demos",
"id": "2f0f990df92ef86f02f90a5d7b77e2292a887b99",
"size": "1... |
<?php
namespace Symfony\Component\HttpKernel\EventListener;
use Symfony\Component\HttpKernel\Event\GetResponseEvent;
use Symfony\Component\HttpKernel\Event\FinishRequestEvent;
use Symfony\Component\HttpKernel\KernelEvents;
use Symfony\Component\HttpFoundation\RequestStack;
use Symfony\Component\HttpFoundation\Reque... | {
"content_hash": "3d9b26b50f1be585f21415333c747d49",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 207,
"avg_line_length": 36.723076923076924,
"alnum_prop": 0.645370758273984,
"repo_name": "mihai-stancu/symfony",
"id": "8d389150b03cbd5e4d41e6b88f92a3357f5a232f",
"size":... |
#ifndef _MAIN_DATA_TYPES_
#define _MAIN_DATA_TYPES_
#include <string>
#include <vector>
#include <unordered_map>
#include <utility>
#include "category-processor.h"
#include "eigen-data-types.h"
using std::string;
using std::wstring;
using std::unordered_map;
using std::vector;
using std::pair;
namespace statcalc
... | {
"content_hash": "26b47fa0161a160d8e43514b18aa61e3",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 93,
"avg_line_length": 21.942028985507246,
"alnum_prop": 0.76221928665786,
"repo_name": "zy4kamu/Coda",
"id": "9e3bacc6fe3e2a726e53b8b388fe3ef10edc201e",
"size": "2686",
... |
namespace components
{
class Movement : public Component
{
public:
Movement(float moveRate, float rotateRate) :
m_moveRate(moveRate),
m_rotateRate(rotateRate)
{
}
const float getMoveRate() const { return m_moveRate; }
const float getRotateRa... | {
"content_hash": "2d882a9c29306dac0d70e92abb44de0c",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 66,
"avg_line_length": 27.42105263157895,
"alnum_prop": 0.6065259117082533,
"repo_name": "ProfPorkins/GameTech",
"id": "29e1bf6e94e1b56a2e7319d10445e62d990145a6",
"size": "... |
package com.hadlink.library.base.presenter;
import android.annotation.SuppressLint;
import android.content.Context;
import android.os.Bundle;
import android.os.Handler;
import android.os.Looper;
import android.support.v7.widget.Toolbar;
import android.view.LayoutInflater;
import android.view.Menu;
import android.vie... | {
"content_hash": "303028a7b3dc5833ea4d81aa520142ec",
"timestamp": "",
"source": "github",
"line_count": 214,
"max_line_length": 122,
"avg_line_length": 29.11214953271028,
"alnum_prop": 0.5876404494382023,
"repo_name": "vihuela/Lay-s",
"id": "2e14f1eea4f4d4198a0940b1324ad9f1333e8118",
"size": "7187"... |
<?php
namespace WhichBrowser\Data;
use WhichBrowser\Constants;
class Manufacturers
{
public static $GENERIC = [];
public static $TELEVISION = [];
public static function identify($type, $name)
{
$name = preg_replace('/^CUS\:/u', '', trim($name));
require_once __DIR__ . '/../../data/m... | {
"content_hash": "5a4c72ed268d3beeb2a26cc513421337",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 68,
"avg_line_length": 22.4,
"alnum_prop": 0.5461309523809523,
"repo_name": "WhichBrowser/Parser",
"id": "8dbf289b6ad911805ebd6f5bf70a48027e4986d8",
"size": "672",
"binar... |
<table>
<tr>
<td>
<a href="http://lattice.cf"><img src="https://github.com/cloudfoundry-incubator/lattice/raw/develop/logos/lattice.png" align="left" width="200" ></a>
</td>
<td>
Website: <a href="http://lattice.cf">http://lattice.cf</a><br>
Mailing List: <a href="https://groups.google.c... | {
"content_hash": "e9897b0c3227ba093e66807b65a26909",
"timestamp": "",
"source": "github",
"line_count": 197,
"max_line_length": 240,
"avg_line_length": 38.89340101522843,
"alnum_prop": 0.764682850430697,
"repo_name": "mikegehard/lattice",
"id": "cd7bb49f3a185f015bafe1882e85807b3503a249",
"size": "7... |
#include "SquashInstancedGeometryFilter.hpp"
#include <sirikata/mesh/Meshdata.hpp>
#include <boost/lexical_cast.hpp>
namespace Sirikata {
namespace Mesh {
namespace {
// An ordered list of materials used to render an object. This is essentially a
// resolved and flattened version of the material binding map.
class... | {
"content_hash": "65613c4e76892470b2a1c4d99e608a50",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 162,
"avg_line_length": 42.58108108108108,
"alnum_prop": 0.6339257378609965,
"repo_name": "sirikata/sirikata",
"id": "8b174bb881afbf22f9736f80361f9eb033197958",
"size": "7... |
@interface ICExampleStylePlainViewController : IMOStyledTableViewController
@end
| {
"content_hash": "cc4cb4e12b04a4c69d4df78a18890de5",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 75,
"avg_line_length": 27.333333333333332,
"alnum_prop": 0.8902439024390244,
"repo_name": "fredericcormier/IMOStyledTableViewController",
"id": "d6f451aa5d6a070e408ee18c130cce... |
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">
<channel>
<title>Cana seeking rivals/friends to spar with</title>
<link>http://bvs.wikidot.com/forum/t-49431/cana-seeking-rivals-friends-to-spar... | {
"content_hash": "9e32a27b2ae3a3f39bcedfa518b858ac",
"timestamp": "",
"source": "github",
"line_count": 254,
"max_line_length": 640,
"avg_line_length": 51.94881889763779,
"alnum_prop": 0.6587343690791967,
"repo_name": "tn5421/tn5421.github.io",
"id": "311c1d789a757eb9977d6d9ff5a4ac186a37554d",
"siz... |
import { applyMiddleware, compose, createStore } from 'redux';
import { install } from 'redux-loop';
import { initialState, reducer } from '../reducers';
export default function createLoopStore(state: any = {}) {
const enhancer = compose(
applyMiddleware(...[]),
install(),
);
return createStore(
re... | {
"content_hash": "335e3abcaf4b5dc35c21c7fcf1267db7",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 62,
"avg_line_length": 22.470588235294116,
"alnum_prop": 0.643979057591623,
"repo_name": "DrPandemic/TwiolioRN",
"id": "416664f5f8b76bb390fafbc5ef80c188682d4be6",
"size": "... |
FROM balenalib/generic-armv7ahf-alpine:3.12-build
# remove several traces of python
RUN apk del python*
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
# key 63C7CC90: public key "Simon McVittie <smcv@pseud... | {
"content_hash": "cb2870da8aef51f8a77b22dacf0bfc86",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 715,
"avg_line_length": 51.81720430107527,
"alnum_prop": 0.7078231998339904,
"repo_name": "resin-io-library/base-images",
"id": "e66f00bf7ac85e6eab956967edebaac5bbc3ce41",
... |
import { UPDATE_CODE } from '../actions';
export function currentSourceCode(state = '', action) {
switch (action.type) {
case UPDATE_CODE:
return action.code;
default:
return state;
}
}
| {
"content_hash": "f3fc4e0f0aa3cc4d606194692c1fac25",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 55,
"avg_line_length": 21.1,
"alnum_prop": 0.6303317535545023,
"repo_name": "yograterol/viperid",
"id": "18e04abdff2761389687fceb3c3443e0f003fd0a",
"size": "211",
"binary... |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
DIRECTORY="$DIR/base-devices"
DOCKER_REPOSITORY="cohorte/base-devices"
DOCKER_TAG="1.0"
DOCKER_USER=$1
DOCKER_PASSWORD=$2
DOCKER_ARM_HOST=$3
ID_RSA=$4
echo "DOCKER_USER=$DOCKER_USER"
echo "DOCKER_PASSWORD=$DOCKER_PASSWORD"
echo "DOCKER_ARM_HOST=$DOCKER_ARM_HOST"
... | {
"content_hash": "b788944c71e7c7fb2fb9bf102ac684de",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 125,
"avg_line_length": 32.1578947368421,
"alnum_prop": 0.7119476268412439,
"repo_name": "isandlaTech/cohorte-platforms",
"id": "048eab0b30fed15d9f107bae8284063ddc32c163",
... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Rhino.PlugIns;
// 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.
[assem... | {
"content_hash": "af79f24b6853c45024d9d74c379a3c14",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 107,
"avg_line_length": 38.421052631578945,
"alnum_prop": 0.7417808219178083,
"repo_name": "interopxyz/Aviary",
"id": "f03ede3528349fe3569ca1f73a1dfdcf9751a823",
"size": "1... |
<?php
namespace Immortal\Support;
use Immortal\Filesystem\Filesystem;
use Symfony\Component\Process\Process;
use Symfony\Component\Process\ProcessUtils;
use Symfony\Component\Process\PhpExecutableFinder;
class Composer
{
/**
* The filesystem instance.
*
* @var \Immortal\Filesystem\Filesystem
... | {
"content_hash": "362e2213b5f914c2242fe181ba9659da",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 87,
"avg_line_length": 21.735294117647058,
"alnum_prop": 0.5809652683806946,
"repo_name": "zatxm120/framework",
"id": "4c11f0d04911d0267b68f6213f44fc5aa8112a63",
"size": "... |
find_path(OpenCV_DIR "OpenCVConfig.cmake" DOC "Root directory of OpenCV")
### Nathan, my OpenCV_DIR on my mac should be: "/Users/erlebach/Documents/src/OpenCV-2.4.3"
### How to set this up in CMake? I don't have the time to figure this out.
message("GE, OPENCV_DIR: ${OpenCV_DIR}")
##================================... | {
"content_hash": "c7aaa6462e84381186d5a49307fd5345",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 170,
"avg_line_length": 49.80172413793103,
"alnum_prop": 0.5340141942184525,
"repo_name": "mathnathan/EEMD",
"id": "113cef1a301c0a28bd3fbfb9c74fe2c4e791fe79",
"size": "744... |
package org.freethinking.keyphrase;
import java.util.Map;
public class KeyPhraseStats {
private long count;
private long position;
private Map<String, Long> rawPhrases;
public long getCount() {
return count;
}
public void setCount(long count) {
this.count = count;
}
... | {
"content_hash": "4c469071336693d9c6616fd926f56187",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 61,
"avg_line_length": 18.771428571428572,
"alnum_prop": 0.6301369863013698,
"repo_name": "krusheel/KeyphraseExtraction",
"id": "0b146afaf0814c768775759c319818d8d3c82d82",
... |
<instance description="" template="weapon">
<group name="weapon_bag">
<group name="accuracy">
<float name="near" value="0" />
<float name="far" value="0" />
<float name="mid" value="0" />
</group>
<group name="aim">
<group name="fire_aim_time">
<float name="max" value="0.5" />
<float name="mi... | {
"content_hash": "5fb87504dfa8bfd1d662fff699c4f934",
"timestamp": "",
"source": "github",
"line_count": 444,
"max_line_length": 108,
"avg_line_length": 38.1981981981982,
"alnum_prop": 0.6193985849056604,
"repo_name": "LastCrusadeModTeam/LastCrusade",
"id": "d437d132dca8edb1dea9f9b2f2c9ae953099ca82",
... |
package cn.xishan.oftenporter.demo.core.test4.porter;
import cn.xishan.oftenporter.demo.core.test4.sth.ID;
import cn.xishan.oftenporter.demo.core.test4.sth.User;
import cn.xishan.oftenporter.porter.core.annotation.PortIn;
import cn.xishan.oftenporter.porter.core.annotation.param.BindEntities;
import cn.xishan.oftenpor... | {
"content_hash": "8b3e2660041326a4ca5b47657bb38095",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 75,
"avg_line_length": 26.852941176470587,
"alnum_prop": 0.7130339539978094,
"repo_name": "gzxishan/OftenPorter",
"id": "052925dfe8a5d34826b7b46276dba07ab2117d90",
"size": ... |
from idaapi import *
from idautils import *
from idc import *
from SimpleXMLRPCServer import SimpleXMLRPCServer
import cPickle
def is_connected() :
return True
def wrapper_get_raw(oops) :
F = {}
for function_ea in Functions() :
F[ function_ea ] = []
f_start = function_ea
f_end ... | {
"content_hash": "9a6813bdfb2688ac9ebffd44b609eac7",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 123,
"avg_line_length": 34.18881118881119,
"alnum_prop": 0.5199427285743505,
"repo_name": "d9w/6858-android-intents",
"id": "0bf8c805137b7e9b1695c527a8686208d58cafa1",
"si... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="nl">
<head>
<!-- Generated by javadoc (1.8.0_51) on Fri Jan 13 16:45:46 CET 2017 -->
<title>com.xml2j.tutorial.choice.handlers</title>
<meta name="date" content="2017-01-13">
<link rel="st... | {
"content_hash": "32209e6033b512475ac804aa2b567696",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 188,
"avg_line_length": 35.26896551724138,
"alnum_prop": 0.6222135314822057,
"repo_name": "lolkedijkstra/xml2j-gen",
"id": "1efa8a7162c55aa185bb3c2b7231301acd4a856b",
"siz... |
<?php
namespace Symfony\Component\HttpFoundation\Tests;
use Symfony\Component\HttpFoundation\BinaryFileResponse;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\ResponseHeaderBag;
use Symfony\Component\HttpFoundation\Tests\File\FakeFile;
class BinaryFileResponseTest ex... | {
"content_hash": "3deb135063054f69487e13ebfeb2a613",
"timestamp": "",
"source": "github",
"line_count": 323,
"max_line_length": 166,
"avg_line_length": 36.46439628482972,
"alnum_prop": 0.5862625233486161,
"repo_name": "Condors/TunisiaMall",
"id": "d84fb62c388e4df36d78dc33cfebc8fa77b9339c",
"size": ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace x2C
{
public enum TestingOutcomeType
{
Pass,
Warning,
Fail
}
}
| {
"content_hash": "8be8fb26633c3ff5aa0df4b433e3b382",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 33,
"avg_line_length": 10.75,
"alnum_prop": 0.7267441860465116,
"repo_name": "riveryc/DimensionData.ComputeClient",
"id": "6de2c59b7dc07211f2f08de6c9b7a0e40a059e53",
"size"... |
LevelPart::LevelPart(LocationPart* locPart) : locPart(locPart), scene(new Scene), lights_dt(1.0f)
{
}
//=================================================================================================
LevelPart::~LevelPart()
{
delete scene;
DeleteElements(explos);
DeleteElements(electros);
DeleteElements(bullets... | {
"content_hash": "407310737a34715f32bf8aa2f0195f69",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 99,
"avg_line_length": 20.576470588235296,
"alnum_prop": 0.5511720983419096,
"repo_name": "Tomash667/carpg",
"id": "5e19acb0fca6e5b813fa5f166b1d065e36a74730",
"size": "387... |
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
| {
"content_hash": "246d425832045ee0a6ca3b27ad6c8592",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 60,
"avg_line_length": 16.857142857142858,
"alnum_prop": 0.7796610169491526,
"repo_name": "SanggeonPark/SGTouchPointer",
"id": "c10f39538afa0194857d7abf58bf9dd97992a0f2",
"s... |
using System;
namespace Overriding
{
public class Snake : Animal
{
public bool IsVenomous { get; set; }
public override void Eat(string food)
{
string eat = (IsVenomous) ? String.Format("{0} venomous snake eating {1}", Color, food) : String.Format("harmless {0} snake eatin... | {
"content_hash": "7b34ff51792ef6219e0a847ec44084b2",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 162,
"avg_line_length": 26.433333333333334,
"alnum_prop": 0.5485498108448928,
"repo_name": "microsoft-dx/csharp-fundamentals",
"id": "4fa965e7bda542b773438d8ee61ee2eef3bf66b3... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_9" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build" />
</component>
<component name="SbtLocalSettings">
<option name=... | {
"content_hash": "b83e88a84ce688f78724cd1820e5d274",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 140,
"avg_line_length": 35.125,
"alnum_prop": 0.6405693950177936,
"repo_name": "loxal/FreeEthereum",
"id": "77994650426f430bcffb2b0d1d2f8c0f63527455",
"size": "562",
"bin... |
@implementation HJMOHandler
@synthesize state;
@synthesize oid;
@synthesize url;
@synthesize urlConn;
@synthesize moData;
@synthesize moReadyDataFilename;
@synthesize moLoadingDataFile;
@synthesize managedObj;
@synthesize objManager;
@synthesize ownPolicy;
-(HJMOHandler*)initWithOid:(id)oid_ url:(NSURL*)url_ objMan... | {
"content_hash": "d4110f6195708db00c72ca01d7db8ab4",
"timestamp": "",
"source": "github",
"line_count": 366,
"max_line_length": 115,
"avg_line_length": 28.502732240437158,
"alnum_prop": 0.7152032208588958,
"repo_name": "ZeusbaseObjectiveC/ZeusbaseObjCLibs",
"id": "fb8643e798389925ae97c938240923fca29a... |
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#ifndef ROCKSDB_LITE
#include "table/plain_table_reader.h"
#include <string>
#include <vector>
#incl... | {
"content_hash": "025b2733c8a82eac1a7cdfdd8771cf56",
"timestamp": "",
"source": "github",
"line_count": 747,
"max_line_length": 80,
"avg_line_length": 32.805890227576974,
"alnum_prop": 0.6231535134252836,
"repo_name": "hkernbach/arangodb",
"id": "0f9449e8669a0100bd1e6d53c85aa0afd23230b5",
"size": "... |
#include "config.h"
#include "core/rendering/RenderLayerModelObject.h"
#include "core/frame/LocalFrame.h"
#include "core/rendering/RenderLayer.h"
#include "core/rendering/RenderView.h"
namespace blink {
bool RenderLayerModelObject::s_wasFloating = false;
RenderLayerModelObject::RenderLayerModelObject(ContainerNod... | {
"content_hash": "c84e7c77bbf916c350451ab71cf7a39f",
"timestamp": "",
"source": "github",
"line_count": 187,
"max_line_length": 216,
"avg_line_length": 40.17112299465241,
"alnum_prop": 0.713258785942492,
"repo_name": "xin3liang/platform_external_chromium_org_third_party_WebKit",
"id": "e340de3fd4ebb3... |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
cr.define('options', function() {
var OptionsPage = options.OptionsPage;
var ArrayDataModel = cr.ui.ArrayDataModel;
/**
* ManageProfileOverl... | {
"content_hash": "6d0780e4c5654634c954dd98c28c2e72",
"timestamp": "",
"source": "github",
"line_count": 317,
"max_line_length": 80,
"avg_line_length": 34.13564668769716,
"alnum_prop": 0.6276684225117827,
"repo_name": "Crystalnix/BitPop",
"id": "c4997f71d46068658554035bd2e0787825c8c77b",
"size": "10... |
//------------------------------------------------------------------------------
// <auto-generated>
// このコードはツールによって生成されました。
// ランタイム バージョン:4.0.30319.42000
//
// このファイルへの変更は、以下の状況下で不正な動作の原因になったり、
// コードが再生成されるときに損失したりします
// </auto-generated>
//----------------------------------------------------------... | {
"content_hash": "3d8d650265932357d5b0ad99520a7483",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 178,
"avg_line_length": 32.028169014084504,
"alnum_prop": 0.6978891820580475,
"repo_name": "daydreammodel3/EmpiricalListBoxDragAndDrop",
"id": "3599a80226cedcd5420469819770d4... |
namespace llvm {
class BlockFrequencyInfo;
class Function;
// Returns the maximum frequency of a BB in a function.
uint64_t getMaxFreq(const Function &F, const BlockFrequencyInfo *BFI);
// Calculates heat color based on current and maximum frequencies.
std::string getHeatColor(uint64_t freq, uint64_t maxFreq);
// C... | {
"content_hash": "28b0873c62268a2b87530adadab06dd3",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 70,
"avg_line_length": 26.058823529411764,
"alnum_prop": 0.7720090293453724,
"repo_name": "endlessm/chromium-browser",
"id": "9ecca6a69097f416a55b29ec95015e5745d9aa87",
"si... |
package gitfile
import (
"fmt"
"github.com/hashicorp/errwrap"
"github.com/hashicorp/terraform/helper/hashcode"
"os/exec"
"strings"
"sync"
)
func gitCommand(checkout_dir string, args ...string) ([]byte, error) {
command := exec.Command("git", args...)
command.Dir = checkout_dir
out, err := command.CombinedOut... | {
"content_hash": "847fb8dc74de661be9a8634f66fbf3a1",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 165,
"avg_line_length": 23.815384615384616,
"alnum_prop": 0.6821705426356589,
"repo_name": "Yelp/terraform-provider-gitfile",
"id": "49cd4b830320e902239331d4b24059bbfc363801"... |
define(function(require) {
'use strict';
var domready = require('vendor/domready');
/**
* Helper that creates a terminal with a default display and shell.
*
* @param {String|Element} DOM element or selector where display will be rendered
* @param {Object} displaySettings Optional display parameters
* @... | {
"content_hash": "7e2d856b50e7c4c7ee93421b3d492091",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 82,
"avg_line_length": 20.859154929577464,
"alnum_prop": 0.6529372045914922,
"repo_name": "StevenTso/terminal.js",
"id": "f39e00ae2beb9f1ab2169d9eea8df7896421b747",
"size":... |
package stack.isa.core;
import stack.excetpion.OverflowException;
import stack.excetpion.SimulatorException;
import stack.excetpion.UnderflowException;
import stack.isa.OneImmediateInstruction;
import stack.simulator.Context;
import stack.simulator.machine.models.CoreModel;
import stack.simulator.machine.models.StackM... | {
"content_hash": "854673f42763b4860bcc847a570a71e0",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 120,
"avg_line_length": 27.24390243902439,
"alnum_prop": 0.7663384064458371,
"repo_name": "ilebedev/stacktool",
"id": "230bab28926ec53370eac093527d40f5e79e015c",
"size": "1... |
import EditorEvents = require("editor/EditorEvents");
import EditorUI = require("ui/EditorUI");
import ModalWindow = require("../ModalWindow");
import ProgressModal = require("../ProgressModal");
class ProPlatformWindow extends ModalWindow {
constructor() {
super(false);
this.init("Platform Lice... | {
"content_hash": "db122cc0ec5939eb39753bfd9e153157",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 173,
"avg_line_length": 29.06756756756757,
"alnum_prop": 0.602045560204556,
"repo_name": "rsredsq/AtomicGameEngine",
"id": "a1148cbdaa041df2d06ff2728cdeef9ffc414842",
"size... |
// Code generated by go-swagger; DO NOT EDIT.
package s_a_n
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"context"
"net/http"
"time"
"github.com/go-openapi/errors"
"github.com/go-openapi/runtime"
cr "github.com/go... | {
"content_hash": "177d08973f009434fe4bb4a0e982c865",
"timestamp": "",
"source": "github",
"line_count": 884,
"max_line_length": 220,
"avg_line_length": 31.130090497737555,
"alnum_prop": 0.7875649551219158,
"repo_name": "NetApp/trident",
"id": "de8290b995fdda00c1b6c9a82e72bc657ac8a2e4",
"size": "275... |
package anime
import (
"net/http"
"github.com/animenotifier/notify.moe/arn"
"github.com/aerogo/aero"
)
// SyncEpisodes syncs the episodes with an external site.
func SyncEpisodes(ctx aero.Context) error {
user := arn.GetUserFromContext(ctx)
animeID := ctx.Get("id")
if user == nil {
return ctx.Error(http.St... | {
"content_hash": "eb833fadb40050beed1ea1339acb8e27",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 63,
"avg_line_length": 20.451612903225808,
"alnum_prop": 0.7003154574132492,
"repo_name": "animenotifier/notify.moe",
"id": "6a15b2349cdc6dcbe3c37d6793d1e345468fc24f",
"siz... |
import en_US from './en_US';
import zh from './zh';
import getI18nModel from './getModel';
import translate from './translate';
export const messages = {
zh,
en_US,
};
export {
getI18nModel,
translate,
}; | {
"content_hash": "f63a6207ffa2b6e9a86d3a655ad3bf3c",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 38,
"avg_line_length": 15.285714285714286,
"alnum_prop": 0.6635514018691588,
"repo_name": "shrimpliu/shradmin",
"id": "efe4ea97eb55084b1d681a5d30847c94b1ad7daa",
"size": "2... |
package edu.ua.eng.software.mallard;
//import java.io.FileOutputStream;
//import java.io.PrintStream;
import java.io.FileWriter;
import java.util.concurrent.ConcurrentMap;
/**
* @author Nicholas A. Kraft <nkraft@cs.ua.edu>
* @version $Id: Mallard.java 9 2012-04-06 20:39:29Z nkraft $
*/
public class Malla... | {
"content_hash": "c52dda2b80738d7eff21159471356959",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 101,
"avg_line_length": 32.32394366197183,
"alnum_prop": 0.5721132897603486,
"repo_name": "software-eng-ua-edu/mallard",
"id": "2ba03a288ba1aad6eaa51d6f9b45845e046aa12e",
"... |
<!DOCTYPE html>
<title>Canvas test: 2d.composite.globalAlpha.canvaspattern</title>
<script src="../tests.js"></script>
<link rel="stylesheet" href="../tests.css">
<body class="framed show_output">
<h1>
<a href="2d.composite.globalAlpha.canvaspattern.html" target="_parent">2d.​composite.​globalAlpha.​c... | {
"content_hash": "1368f95b67cd1e7bb1bd7a17b5a73efb",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 134,
"avg_line_length": 37.470588235294116,
"alnum_prop": 0.695447409733124,
"repo_name": "cjcliffe/webgl-2d",
"id": "d6e27e61f1394068d6390990daa7fca2e8e283ee",
"size": "12... |
package org.cipres.treebase.domain.matrix;
import javax.persistence.AttributeOverride;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.cipres.treeb... | {
"content_hash": "3f1f5a09f908968dac699d131b958fbe",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 86,
"avg_line_length": 21.58503401360544,
"alnum_prop": 0.6804286164513079,
"repo_name": "TreeBASE/treebasetest",
"id": "202cdeddb7ed351fd925c964ae868f8e855dc173",
"size":... |
<?xml version="1.0" encoding="utf-8"?>
<PRONOM-Report xmlns="http://pronom.nationalarchives.gov.uk">
<report_format_detail>
<FileFormat>
<FormatID>1452</FormatID>
<FormatName>INTERLIS Transfer File</FormatName>
<FormatVersion>2.3</FormatVersion>
<FormatAliases>
</FormatAliase... | {
"content_hash": "9b772670549f8c9192fad3b3d34f5adb",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 433,
"avg_line_length": 50.752808988764045,
"alnum_prop": 0.6750055346468895,
"repo_name": "richardlehane/siegfried",
"id": "b46acc31940391b254978da8a1fd36b945c5e505",
"siz... |
package com.artemis;
import java.util.BitSet;
import com.artemis.utils.Bag;
import com.artemis.utils.ImmutableBag;
import com.artemis.utils.IntBag;
import com.artemis.utils.reflect.ClassReflection;
import com.artemis.utils.reflect.Constructor;
import com.artemis.utils.reflect.ReflectionException;
/**
* Handles the... | {
"content_hash": "9b7f13031cd481f2cd93f5f8bb2cd652",
"timestamp": "",
"source": "github",
"line_count": 354,
"max_line_length": 116,
"avg_line_length": 29.502824858757062,
"alnum_prop": 0.7065300651091536,
"repo_name": "antag99/artemis-odb",
"id": "d23c2c97098ea1748c4a3482cc90263f1adb781b",
"size":... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Taro.Persistence;
namespace Taro
{
public abstract class AggregateRoot : IEventSource
{
private EventStream _events = new EventStream();
EventStream IEventSource.Events
{
get
... | {
"content_hash": "4cfa411cca69ff69255dd3d9c407cd57",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 59,
"avg_line_length": 19.653846153846153,
"alnum_prop": 0.5753424657534246,
"repo_name": "mouhong/Taro",
"id": "6c56b872bdec03a16320af1172787f3db0c03740",
"size": "513",
... |
namespace net {
class X509Certificate;
namespace ct {
// Represents a MerkleTreeLeaf as defined in RFC6962, section 3.4.
// The goal of this struct is to represent the Merkle tree entry such that
// all details are easily accessible and a leaf hash can be easily calculated
// for the entry.
//
// As such, it has all... | {
"content_hash": "f84ab1ad23cd97800b1798db8d03ded4",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 77,
"avg_line_length": 35.58181818181818,
"alnum_prop": 0.7015840572304548,
"repo_name": "ssaroha/node-webrtc",
"id": "21217bb6ec5c454e53c12e82cf2ff6e0b8cdf4f4",
"size": "2... |
Interface is running in an empty domain where you have edit rights.
### Steps
#### Step 1
- Run the [mouse.js script](./renderState.js?raw=true) (from Menu/Edit/Open and Run scripts From URL...). Move your mouse on and off the wall.
- Expected:

 | {
"content_hash": "a028e5b6d8db3f5077016da7a6755d31",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 143,
"avg_line_length": 31.444444444444443,
"alnum_prop": 0.6855123674911661,
"repo_name": "highfidelity/hifi_tests",
"id": "9b91b23e9c2ada579acf9f20ebdfc6ab3d2b459b",
"size... |
import os
import numpy as np
import pandas as pd
import subprocess
import optparse
from sklearn.svm import SVC
from sklearn import cross_validation
from sklearn import grid_search
from sklearn.metrics import precision_score
from sklearn.metrics import recall_score
from sklearn.metrics import f1_score
from sklearn impor... | {
"content_hash": "97bb6c4cc8afdf6502c41ec6d40885f0",
"timestamp": "",
"source": "github",
"line_count": 151,
"max_line_length": 505,
"avg_line_length": 33.384105960264904,
"alnum_prop": 0.6712953779012101,
"repo_name": "enricopal/STEM",
"id": "3ef5bfec754f2886c2ce61bd7503ce7d971221f1",
"size": "504... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
[assembly: A... | {
"content_hash": "3b24e5a01d8be119d135cf474e66c172",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 106,
"avg_line_length": 41.888888888888886,
"alnum_prop": 0.7599469496021221,
"repo_name": "Nexusger/GetTheBibTeX2",
"id": "c33f804bfddb0130c57db18d8ca18d8f9d45b73e",
"size... |
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Security;
using System.Text;
using Khronos;
// ReSharper disable CheckNamespace
// ReSharper disable InconsistentNaming
// ReSharper disable JoinDeclarationAndInitializer
namespace OpenGL
{
public partial class Egl
{
/// <... | {
"content_hash": "2ab2a69725de25c47554d766f0067b73",
"timestamp": "",
"source": "github",
"line_count": 269,
"max_line_length": 100,
"avg_line_length": 28.267657992565056,
"alnum_prop": 0.6741188847974751,
"repo_name": "luca-piccioni/OpenGL.Net",
"id": "b968cb579188897b6620de21daa2abb38d9f1790",
"s... |
This PHP class provides a simple interface for translating text with the Google Translate service.
[](http://coderwall.com/8xx8ru) | {
"content_hash": "ad519e3609968bd4f3c8a5f37d7dda92",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 98,
"avg_line_length": 63.666666666666664,
"alnum_prop": 0.7958115183246073,
"repo_name": "Andrew8xx8/GoogleTranslater",
"id": "26f6dee913ec0757341b3cb84bb6ea0dd8fa03be",
"s... |
"""Eager mode TF policy built using build_tf_policy().
It supports both traced and non-traced eager execution modes."""
import functools
import logging
import threading
from typing import Dict, List, Optional, Tuple
from ray.util.debug import log_once
from ray.rllib.models.catalog import ModelCatalog
from ray.rllib.... | {
"content_hash": "9b717d742a3022cb524633b04980844b",
"timestamp": "",
"source": "github",
"line_count": 794,
"max_line_length": 79,
"avg_line_length": 39.885390428211586,
"alnum_prop": 0.5285926300167356,
"repo_name": "pcmoritz/ray-1",
"id": "edc6eaafa26e994b2054c2960f81b19cbd4a446f",
"size": "3166... |
package resourcefakes
import (
"sync"
"github.com/cloudfoundry/bosh-cli/release/resource"
)
type FakeFingerprinter struct {
CalculateStub func([]resource.File, []string) (string, error)
calculateMutex sync.RWMutex
calculateArgsForCall []struct {
arg1 []resource.File
arg2 []string
}
calculateR... | {
"content_hash": "fbc8fb08ed8ec1d292146238d286ddae",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 95,
"avg_line_length": 27.554545454545455,
"alnum_prop": 0.744968657208842,
"repo_name": "cppforlife/bosh-lint",
"id": "99b610b1a1f9d1a926658a59ed7f305b84769ff2",
"size": ... |
package com.mongodb.internal.async;
import com.mongodb.async.SingleResultCallback;
import com.mongodb.diagnostics.logging.Logger;
import static com.mongodb.assertions.Assertions.notNull;
/**
* This class is not part of the public API and may be removed or changed at any time.
*
* @param <T> the result type
*/
... | {
"content_hash": "d2805807f08c8a00d59a3d9c66884776",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 130,
"avg_line_length": 31.404255319148938,
"alnum_prop": 0.6802168021680217,
"repo_name": "gianpaj/mongo-java-driver",
"id": "b43f2d4fa48f906996f0c69681157e93dd476cd4",
"s... |
using namespace std ;
gaiaGeomCollAutoPtr makeBoxGeometry(const BBox &bbox, double buffer, int srid)
{
gaiaGeomCollPtr box = gaiaAllocGeomColl();
box->Srid = srid;
box->DeclaredType = GAIA_POLYGON ;
gaiaPolygonPtr g_poly = gaiaAddPolygonToGeomColl (box, 5, 0) ;
gaiaRingPtr er = g_poly->Exterior ;
... | {
"content_hash": "083f26dbe14c388531f85b761cde1556",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 117,
"avg_line_length": 31.44,
"alnum_prop": 0.6615776081424937,
"repo_name": "malasiot/maplite",
"id": "99319955ad7a8849c606ed6fa100b42c8d0721f2",
"size": "3957",
"bina... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media... | {
"content_hash": "263d3a125bd99d5eb260ff8af94e9f24",
"timestamp": "",
"source": "github",
"line_count": 209,
"max_line_length": 297,
"avg_line_length": 43.92822966507177,
"alnum_prop": 0.5097483934211959,
"repo_name": "dcarda/aba.route.validator",
"id": "5397a5d99a1c755d717e1dc964ebaf60f3375a18",
"... |
<?php
/**
* Pre-transform that changes deprecated name attribute to ID if necessary
*/
class HTMLPurifier_AttrTransform_Name extends HTMLPurifier_AttrTransform
{
public function transform($attr, $config, $context) {
if (!isset($attr['name'])) return $attr;
$id = $this->confiscateAttr($... | {
"content_hash": "7cdf49f3f384856c15f2fddf005912cf",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 74,
"avg_line_length": 24.94736842105263,
"alnum_prop": 0.5822784810126582,
"repo_name": "raspi/zfcomicengine",
"id": "d5e0303a74f9e859b213f93fbd9385f8de513423",
"size": "4... |
@interface TwunchAPI : NSObject
+ (void)fetchWithCompletion:(void(^)(BOOL success))completionHandler;
@end
| {
"content_hash": "ec52bba24b5d0dd699d221f1c7f6f13a",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 69,
"avg_line_length": 35.666666666666664,
"alnum_prop": 0.7850467289719626,
"repo_name": "fousa/twunch-2.0",
"id": "905a650030cd050fd7770eeb8ece27ed21688980",
"size": "240"... |
BOOST_AUTO_TEST_SUITE(TestString)
BOOST_AUTO_TEST_CASE(test_load)
{
BOOST_TEST_MESSAGE("--- Char string value should be decoded.");
std::stringstream ss1("20:internationalization");
bencode::string s1;
s1.load(ss1);
BOOST_CHECK(s1 == "internationalization");
BOOST_TEST_MESSAGE("--- Wchar str... | {
"content_hash": "d4ff9bfb184cde6aebcf0ba5c64d8493",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 78,
"avg_line_length": 32.796460176991154,
"alnum_prop": 0.6300593631948193,
"repo_name": "yashkin/libbencode",
"id": "664f9e0d68b3aa6244742a12b8851f74b39e91b8",
"size": "... |
namespace CIK.News.Framework.Extensions
{
using System.IO;
public static class MemoryStreamExtension
{
public static void WriteTo(this MemoryStream memoryStream, string fileName)
{
var outStream = File.OpenWrite(fileName);
memoryStream.WriteTo(outStream);
... | {
"content_hash": "c6ff5b919c62cf6b2602ed0d54aa88a5",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 84,
"avg_line_length": 26.4,
"alnum_prop": 0.6060606060606061,
"repo_name": "zeusro/MagazineWeb",
"id": "d08fbd9d9f45778483e56ab04d302384d9c212fa",
"size": "398",
"binary... |
#ifndef R600_PIPE_H
#define R600_PIPE_H
#include "../radeon/r600_pipe_common.h"
#include "../radeon/r600_cs.h"
#include "r600_llvm.h"
#include "r600_public.h"
#include "util/u_suballoc.h"
#include "util/u_double_list.h"
#include "util/u_transfer.h"
#define R600_NUM_ATOMS 73
/* the number of CS dwords for flushing... | {
"content_hash": "648f3e0aedfe25ee2b7bfa211391e614",
"timestamp": "",
"source": "github",
"line_count": 849,
"max_line_length": 156,
"avg_line_length": 32.352179034157835,
"alnum_prop": 0.7120544653584301,
"repo_name": "execunix/vinos",
"id": "e277269cccb56c0d9965cbef9f27000912aa73eb",
"size": "286... |
'use strict';
/**
* Tests for the various proxies and instances once the project has initialized
* its addons
*/
const expect = require('chai').expect;
const FixturifyProject = require('../../helpers/fixturify-project');
describe('Unit | host-addons-utils', function () {
let fixturifyProject;
beforeEach(funct... | {
"content_hash": "3fac0f52a502985da5a5d24019899230",
"timestamp": "",
"source": "github",
"line_count": 192,
"max_line_length": 130,
"avg_line_length": 36.71875,
"alnum_prop": 0.6614184397163121,
"repo_name": "jrjohnson/ember-cli",
"id": "99d8c1611662a57ca70aa9fe516e3fc98aa6c329",
"size": "7050",
... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="EntryPointsManager">
<entry_points version="2.0" />
</component>
<component name="NullableNotNullManager">
<option name="myDefaultNullable" value="android.support.annotation.Nullable" />
<option name="myDefaultNotNull" value... | {
"content_hash": "79efa37f251e1e108bdb4b97e5f41cf2",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 176,
"avg_line_length": 34.05833333333333,
"alnum_prop": 0.5554196231954979,
"repo_name": "5uperbug/CopyCat",
"id": "64b8a6dead757b00551dd68e791aea2d0f07e172",
"size": "40... |
<annotation>
<folder>ring_binder</folder>
<filename>ring_binder_1_view_1_pose_1_lit_1.jpg</filename>
<source>
<database>photorealistic rendering</database>
</source>
<size>
<width>640</width>
<height>480</height>
<depth>3</depth>
</size>
<segmented>0</segmented>
<object>
<name>ring_binder</name>
<pose>Unspecified</pose... | {
"content_hash": "58689c4b04f438aa77b2d271ed900f28",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 58,
"avg_line_length": 19.32,
"alnum_prop": 0.7163561076604554,
"repo_name": "UMassLowell-Vision-Group/From-Virtual-to-Reality",
"id": "9715e5ac06eed70386a4d5e75aebb22cb10a47... |
package org.elasticsearch.index.analysis;
import org.apache.lucene.analysis.TokenStream;
import org.apache.lucene.analysis.miscellaneous.LimitTokenCountFilter;
import org.elasticsearch.common.inject.Inject;
import org.elasticsearch.common.inject.assistedinject.Assisted;
import org.elasticsearch.common.settings.Setti... | {
"content_hash": "be1bd6e029f75ce90e6a4d91670de588",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 166,
"avg_line_length": 41.303030303030305,
"alnum_prop": 0.7945707997065297,
"repo_name": "Kamapcuc/elasticsearch",
"id": "93d019636dc64ef2242e7dae047eac82f574c8c8",
"size... |
package com.javadeobfuscator.deobfuscator.iterablematcher;
import com.javadeobfuscator.deobfuscator.utils.Utils;
import org.objectweb.asm.Type;
import org.objectweb.asm.tree.AbstractInsnNode;
import org.objectweb.asm.tree.LdcInsnNode;
public class NoSideEffectLoad1SlotStep extends IterableStep<AbstractInsnNode> {
... | {
"content_hash": "659684003b4963d3a76562490a2addc5",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 94,
"avg_line_length": 29.725490196078432,
"alnum_prop": 0.5844327176781002,
"repo_name": "java-deobfuscator/deobfuscator",
"id": "59a60d664b31c893ab7605412e2f5f74157b4972",
... |
"""Support for Tile device trackers."""
import logging
from homeassistant.components.device_tracker.config_entry import TrackerEntity
from homeassistant.components.device_tracker.const import SOURCE_TYPE_GPS
from homeassistant.config_entries import SOURCE_IMPORT
from homeassistant.const import ATTR_ATTRIBUTION, CONF_P... | {
"content_hash": "9dabd4226b3faafa8d638e77e8866301",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 87,
"avg_line_length": 29.37162162162162,
"alnum_prop": 0.6252587991718427,
"repo_name": "partofthething/home-assistant",
"id": "f7cc4e1736e6cd23ef7b81e77a1b91a5837d063a",
... |
package diskscollector
import (
"errors"
"fmt"
"regexp"
"testing"
"time"
"github.com/kyma-project/test-infra/development/tools/pkg/diskscollector/automock"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
compute "google.golang.org/api/compute/v1"
)
const regexPattern = "^gke-gkei... | {
"content_hash": "6122cbf2ee6bf503202d43a1c3efb9a9",
"timestamp": "",
"source": "github",
"line_count": 218,
"max_line_length": 144,
"avg_line_length": 37.87614678899082,
"alnum_prop": 0.7086108756206855,
"repo_name": "kyma-project/test-infra",
"id": "6b0e55c7cae7452c73a76acb9c206fd049e3b973",
"siz... |
package org.apache.flex.compiler.internal.tree.mxml;
import java.io.Reader;
import java.util.Collection;
import org.apache.flex.compiler.internal.parsing.ISourceFragment;
import org.apache.flex.compiler.internal.parsing.SourceFragment;
import org.apache.flex.compiler.internal.parsing.SourceFragmentsReader;
import o... | {
"content_hash": "848288a6d948abbea8075776f383030e",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 115,
"avg_line_length": 32.70289855072464,
"alnum_prop": 0.6897850653667184,
"repo_name": "adufilie/flex-falcon",
"id": "91055214083bd4f6500e977d1ac521cc33604333",
"size":... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.