text stringlengths 2 1.04M | meta dict |
|---|---|
namespace v8 {
namespace internal {
namespace compiler {
JSIntrinsicLowering::JSIntrinsicLowering(Editor* editor, JSGraph* jsgraph,
JSHeapBroker* broker)
: AdvancedReducer(editor), jsgraph_(jsgraph), broker_(broker) {}
Reduction JSIntrinsicLowering::Reduce(Node* node) {
... | {
"content_hash": "35c2804045e7eb52b709ca7290d71bda",
"timestamp": "",
"source": "github",
"line_count": 396,
"max_line_length": 80,
"avg_line_length": 36.69949494949495,
"alnum_prop": 0.7156815523291818,
"repo_name": "enclose-io/compiler",
"id": "9d6f071aacc7b67b2319b1c6d768bb24a939bbe6",
"size": "... |
import Controller from '@ember/controller';
import { get, getProperties } from '@ember/object';
import { inject as service } from '@ember/service';
import recordsList from 'code-corps-ember/utils/records-list';
export default Controller.extend({
projectSkillsList: service(),
store: service(),
project: null,
... | {
"content_hash": "f2923630456f1809c1c71fd877a9ca5b",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 81,
"avg_line_length": 26.674418604651162,
"alnum_prop": 0.6809067131647777,
"repo_name": "code-corps/code-corps-ember",
"id": "fc968195a247bae15b5e7ca4a6cabac370d34606",
"... |
<md-card>
<md-card-title>SVG Product Icons</md-card-title>
<md-divider></md-divider>
<md-card-content>
<h3 class="md-title">Style</h3>
<p class="md-body-1">While Teradata doesn't have product logos, products do have illustrated vector icons.</p>
<p class="md-body-1">Product icons will be flat, angled,... | {
"content_hash": "ef5e88432e379e8e079c7d83ecbf3746",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 140,
"avg_line_length": 48.567567567567565,
"alnum_prop": 0.6533110740122426,
"repo_name": "ccpony/uniformax-web",
"id": "1939b27f41c15fbdbfa712ce631f7ba7f4058dcd",
"size":... |
angular
.module('tas')
.config(authConfig)
.run(privateRoutes);
function authConfig($routeProvider){
$routeProvider
.when('/login', {
templateUrl: 'js/auth/login.html',
controller: 'AuthController',
controllerAs: 'auth',
resolve: {
data: function ($location, authFactory) {
... | {
"content_hash": "c64854ed6e81d81cdfb0faa1a6e440bf",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 69,
"avg_line_length": 23.65714285714286,
"alnum_prop": 0.5760869565217391,
"repo_name": "luketlancaster/funwithangular",
"id": "b85011ed2fd48860b29e022de0ba49083da3aa87",
... |
package picocli;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import static picocli.CommandLine.ScopeType.INHERIT;
import java.util.concurrent.Callable;
import org.junit.Test;
import picocli.CommandLine.ArgGroup;
import picocli.CommandLine.Command;
import picocli.CommandLi... | {
"content_hash": "bcbc28c40d72b6fe751ef48c2e1d0ee4",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 79,
"avg_line_length": 28.45,
"alnum_prop": 0.6889279437609842,
"repo_name": "remkop/picocli",
"id": "d7288aec3f0938e8f7253b7b3a7219accc3b84e0",
"size": "1138",
"binary":... |
class ChannelOverrideWorkItem : public WorkItem {
public:
ChannelOverrideWorkItem();
ChannelOverrideWorkItem(const ChannelOverrideWorkItem&) = delete;
ChannelOverrideWorkItem& operator=(const ChannelOverrideWorkItem&) = delete;
~ChannelOverrideWorkItem() override;
private:
// WorkItem:
bool DoImpl() over... | {
"content_hash": "f0bb4cd3817875cc79ca7f4523e4acc1",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 78,
"avg_line_length": 32.44444444444444,
"alnum_prop": 0.7636986301369864,
"repo_name": "ric2b/Vivaldi-browser",
"id": "35a9c81d71d07030b90a5163571a4a11011672c8",
"size": ... |
<div mdl class="demo-layout mdl-layout mdl-js-layout mdl-layout--fixed-header mdl-layout--fixed-drawer">
<header mdl id="drawer" class="demo-header mdl-layout__header mdl-color--grey-100 mdl-color-text--grey-600">
<router-outlet name="header"></router-outlet>
</header>
<div mdl class="demo-drawer mdl-layout__drawer m... | {
"content_hash": "ffa3b0dd24468f7d25ed294ae26a2001",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 109,
"avg_line_length": 46.18181818181818,
"alnum_prop": 0.7263779527559056,
"repo_name": "leandropjp/AngularUFPB",
"id": "92011d9a82952c4970856539e04e12a5bbdea64e",
"size"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>lambda: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... | {
"content_hash": "5241663c2ed1832734855f9c5e23fd55",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 159,
"avg_line_length": 40.96666666666667,
"alnum_prop": 0.5576349335503119,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "0016b70f199896ad70ecc8fe83cfb4b1e5d886c1",
... |
require 'delayed/command'
class AdminsController < ApplicationController
include CommonSweepers
RESTART_MSG = "Your settings have been updated. If you changed some settings e.g. search, you need to restart some processes.
Please see the buttons and explanations below."
before_filter :login_r... | {
"content_hash": "3e7302b8b3da65a97354700352aa0bb0",
"timestamp": "",
"source": "github",
"line_count": 465,
"max_line_length": 366,
"avg_line_length": 37.93118279569892,
"alnum_prop": 0.6599387685678648,
"repo_name": "BioVeL/seek",
"id": "ec6137656b368ab4c25ba4a6f55e467cd602b18a",
"size": "17638",... |
<?php
require_once ABSPATH . 'wp-admin/includes/upgrade.php';
if ( ! class_exists( 'Hustle_Db' ) ) :
/**
* Class Hustle_Db
*
* Takes care of all the db initializations
*
*/
class Hustle_Db {
const DB_VERSION_KEY = 'hustle_database_version';
const TABLE_HUSTLE_MODULES = 'hustle_modules';
const TAB... | {
"content_hash": "4376f3307ca48da83a4b9700ad761f76",
"timestamp": "",
"source": "github",
"line_count": 289,
"max_line_length": 103,
"avg_line_length": 25.359861591695502,
"alnum_prop": 0.6049938600081867,
"repo_name": "mandino/nu",
"id": "a76d508267d1e5d6645a211d921ca3e976ce214b",
"size": "7329",
... |
var redis = require('../redis');
var offsets = {
1: 0,
2: 0
};
function fetchOffset(motorId){
redis.get('motorpos:'+motorId, function(err, result){
if(err){
console.error(err.stack||err);
}else{
offsets[motorId] = result ? parseInt(result) : 0;
}
});
}
Object.keys(offsets).forEach(fetchOffset);
expo... | {
"content_hash": "a9ba541be3391a61d17f25389fe17a5d",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 54,
"avg_line_length": 18.677419354838708,
"alnum_prop": 0.6632124352331606,
"repo_name": "fgascon/hpclock",
"id": "60ec80caa88f887c92603f7b0a243569e80bfc57",
"size": "579"... |
<?xml version="1.0" encoding="UTF-8"?>
<ivy-module version="2.0" xmlns:e="http://ant.apache.org/ivy/extra">
<info organisation="org.scala-sbt" module="control_2.11" revision="0.13.8" status="release" publication="20150320121203">
<description>
Control
</description>
</info>
<configurations>
<conf name="compi... | {
"content_hash": "8a0c8533dc20d1a6da5d7b5c0eee35cb",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 122,
"avg_line_length": 38.483870967741936,
"alnum_prop": 0.6890192791282481,
"repo_name": "nguquen/openshift-cartridge-activator-jdk8",
"id": "6592d8f27744c46944e572eb6bf138... |
from django.conf import settings
from django.template import Template
from cmsplugin_wrapper.models import WrapperPlugin
varname = getattr(settings, 'CMSPLUGIN_WRAPPER_VARNAME', 'CMSPLUGIN_WRAPPER_HOLDER')
def wrap_plugin(instance, placeholder, rendered_content, original_context):
wrap_holder = original_cont... | {
"content_hash": "2c150da022bb5d2cc31195d8a5d7ff54",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 110,
"avg_line_length": 44.02777777777778,
"alnum_prop": 0.6138801261829653,
"repo_name": "django-cms-plugins/cmsplugin-wrapper",
"id": "a311d361c26bcee5e3a319049eec68cf96b05... |
namespace bp = boost::python;
struct PrimitiveRestartIndex_wrapper : osg::PrimitiveRestartIndex, bp::wrapper< osg::PrimitiveRestartIndex > {
struct Extensions_wrapper : osg::PrimitiveRestartIndex::Extensions, bp::wrapper< osg::PrimitiveRestartIndex::Extensions > {
Extensions_wrapper(unsigned int cont... | {
"content_hash": "724dc62695db95c882bbf90d4b3ce0c3",
"timestamp": "",
"source": "github",
"line_count": 678,
"max_line_length": 307,
"avg_line_length": 45.91150442477876,
"alnum_prop": 0.5948984836802879,
"repo_name": "JaneliaSciComp/osgpyplusplus",
"id": "8e4430bf23e50d73d5f938692138c5a754e11a9d",
... |
from sklearn_explain.tests.skl_datasets import skl_datasets_test as skltest
skltest.test_class_dataset_and_model("iris" , "SVC_rbf_9")
| {
"content_hash": "d4bd15b70ce3c22951e81388fc2e1eb4",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 75,
"avg_line_length": 34.25,
"alnum_prop": 0.7737226277372263,
"repo_name": "antoinecarme/sklearn_explain",
"id": "b00a17b10a2bc8b37491febd8d2580a69930048b",
"size": "137",... |
Romie = function()
{
this.moving = false;
}
Romie.prototype.forward = function(callback)
{
if ( ! this.moving)
{
this.moving = true;
Weblab.sendCommand("F", function(response) {
if (response != 'OK') callback(JSON.parse(response));
this.moving = false;
}.bind(this), function(response) {
this.moving =... | {
"content_hash": "ffe3d0741d08e71251219517969c5cf5",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 59,
"avg_line_length": 19.26086956521739,
"alnum_prop": 0.6399548532731377,
"repo_name": "zstars/weblabdeusto",
"id": "a4e3b23550227611b532b1b5403fe19c29e1c410",
"size": "8... |
<!doctype html>
<html dir="rtl" lang=ar>
<head>
<title>{{ page.title }}</title>
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='regular.css') }}">
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
<meta name="viewport" content="width=device-w... | {
"content_hash": "5dae80f2ec71f77b697fe4555820a907",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 98,
"avg_line_length": 33.666666666666664,
"alnum_prop": 0.6014851485148515,
"repo_name": "Upflask/Upflask-languages",
"id": "fa734565d98796aecc0fc9f747194379f64623c8",
"si... |
package com.intellij.codeInsight.daemon.impl.quickfix;
import com.intellij.codeInsight.daemon.quickFix.LightQuickFixParameterizedTestCase;
public class DeleteCatchTest extends LightQuickFixParameterizedTestCase {
@Override
protected String getBasePath() {
return "/codeInsight/daemonCodeAnalyzer/quickFix/delet... | {
"content_hash": "5f41a195ac19ee9adfaea5e1c3022044",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 83,
"avg_line_length": 30.545454545454547,
"alnum_prop": 0.8273809523809523,
"repo_name": "ingokegel/intellij-community",
"id": "90725732fb4990439d9270ec2a5c029619ea0884",
... |
Partial Derivatives
===================
Medical emergency
-----------------
Nedwina has defective ankles, but like a true Seattleite she has decided
to climb Mt. Rainier. Her doctor says she cannot walk on any surface
whose angle with the $xy$-plane is greater than $\pi/3$.
Nedwina knows a nerd who modeled her favor... | {
"content_hash": "6083ff51fa0dce9b8837bdb42613cdac",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 83,
"avg_line_length": 25.965714285714284,
"alnum_prop": 0.6397447183098591,
"repo_name": "maxlieblich/math126",
"id": "96a2d0ba1a22df91f9065067c6d4c8a0d115066f",
"size": ... |
arduino_daq
==================
Use this directory as CMake source dir to build a standalone libray for arduino_daq.
| {
"content_hash": "41e020aac56ce6ee256edc6115998db9",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 84,
"avg_line_length": 23.6,
"alnum_prop": 0.6694915254237288,
"repo_name": "ual-arm-ros-pkg/arduino-daq-ros-pkg",
"id": "d58f21c534bb9f29c99c3d622fb46bc16e91bf8b",
"size": ... |
var plan = require("../lib/plan-iddfs-multi");
var chai = require("chai");
var expect = chai.expect;
var isAcceptable = function(state){
return state.get("act1_changed_state") && state.get("act2_changed_state");
}
describe("plan-iddfs-multistate", function(){
it("should return a plan", function(){
var action... | {
"content_hash": "f7a70c1a6bbb19d5317dbfffe0bf4d4d",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 76,
"avg_line_length": 25.825757575757574,
"alnum_prop": 0.5488413024347316,
"repo_name": "stierma1/forward-chainer",
"id": "e77f143b835cadf83c7dc95c370a66dfba00894e",
"si... |
package com.fasterxml.jackson.databind.objectid;
import java.util.ArrayList;
import com.fasterxml.jackson.annotation.*;
import com.fasterxml.jackson.databind.*;
import com.fasterxml.jackson.databind.testutil.NoCheckSubTypeValidator;
@SuppressWarnings("serial")
public class ObjectId825BTest extends BaseMapTest
{
... | {
"content_hash": "bf9e9011d3a216521d3299d27df64030",
"timestamp": "",
"source": "github",
"line_count": 202,
"max_line_length": 97,
"avg_line_length": 28.405940594059405,
"alnum_prop": 0.5097594980829557,
"repo_name": "FasterXML/jackson-databind",
"id": "f3e4e702161548eaec5260d1f063322946bd812e",
"... |
<?php
namespace Symfony\Component\Locale\Stub\DateFormat;
/**
* Parser and formatter for AM/PM markers format
*
* @author Igor Wiedler <igor@wiedler.ch>
*/
class AmPmTransformer extends Transformer
{
/**
* {@inheritDoc}
*/
public function format(\DateTime $dateTime, $length)
... | {
"content_hash": "cebf312e797e26be7e483ee6ab4e9267",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 57,
"avg_line_length": 17.846153846153847,
"alnum_prop": 0.5316091954022989,
"repo_name": "WCORP/just2",
"id": "8cfd0ac0476c0af09cef6405289389787d35e711",
"size": "932",
... |
require 'spec_helper'
Chef::Knife::Bootstrap.load_deps
require 'net/ssh'
describe Chef::Knife::Bootstrap do
before(:all) do
@original_config = Chef::Config.hash_dup
@original_knife_config = Chef::Config[:knife].dup
end
after(:all) do
Chef::Config.configuration = @original_config
Chef::Config[:k... | {
"content_hash": "f358a1ecf29274b5f52201a4545eadf3",
"timestamp": "",
"source": "github",
"line_count": 247,
"max_line_length": 171,
"avg_line_length": 37.72064777327935,
"alnum_prop": 0.6453794139744553,
"repo_name": "SUSE-Cloud/chef",
"id": "e8ca7cca87815de6eb52751713d8e4d49f873376",
"size": "999... |
layout: nav_menu_item
title: API Reference
date: 2016-04-25 15:55
author: anya.stettler
comments: true
categories: [Onboarding API navigation]
---
| {
"content_hash": "ba0c10a75cf11daffc96a85edd23f03a",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 39,
"avg_line_length": 19.5,
"alnum_prop": 0.7243589743589743,
"repo_name": "anyarms/developer-dot",
"id": "4705fd4e66d22d807a014f017bacb405c37f5644",
"size": "161",
"bina... |
using KindergartentManagerment.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace KindergartentManagerment.Areas.GradeClass.Controllers
{
public class CalendarController : Controller
{
// GET: Kindergarten/Calendar
Kinde... | {
"content_hash": "7d52bf2b675b399bbbe868a5e9ea22fd",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 125,
"avg_line_length": 32.49090909090909,
"alnum_prop": 0.5013989927252378,
"repo_name": "nguyenk15/KindergartenManagerment",
"id": "31165044ea8d7d1ae900faeaaf5aecbe2a6d9e51... |
class ChangeTableAuthors < ActiveRecord::Migration
def self.up
change_table :blank_ones do |t|
t.authorstamps(:integer, :null => true)
end
end
end
| {
"content_hash": "6c10b1713dd3c47556c9c2dbc12f1c5a",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 50,
"avg_line_length": 15.363636363636363,
"alnum_prop": 0.6686390532544378,
"repo_name": "vollnhals/ar-audit-tracer",
"id": "4a19acebb163c385bb7521730c0e6d19d76bca79",
"si... |
FROM java:8
MAINTAINER Chris Rebert <code@chrisrebert.com>
WORKDIR /
USER daemon
ADD target/scala-2.11/no-carrier-assembly.jar /app/no-carrier.jar
ENTRYPOINT ["java", "-jar", "/app/no-carrier.jar"]
| {
"content_hash": "0b8670e0d817f138e36bab17fda00662",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 65,
"avg_line_length": 22.333333333333332,
"alnum_prop": 0.7412935323383084,
"repo_name": "alacasta/no-carrier",
"id": "527927c4c1ffb758e036ddf8d4512cdae5b4cfb4",
"size": "2... |
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'seamule'
require 'minitest/autorun'
| {
"content_hash": "52afdc245030f76a1a5f0d515ce7dbc7",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 58,
"avg_line_length": 26.25,
"alnum_prop": 0.6857142857142857,
"repo_name": "pablo-co/seamule",
"id": "497db262924ab8e4cc5b00749d0c49af204c9be2",
"size": "105",
"binary":... |
Python utilities to diff xml
| {
"content_hash": "85a200f4148977f50b688705cec598a4",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 28,
"avg_line_length": 29,
"alnum_prop": 0.8275862068965517,
"repo_name": "kalotay/xmldiff",
"id": "3de136bd16abe6a179d0b51d674860a10f58e0d3",
"size": "39",
"binary": fals... |
@import Cocoa ;
@import LuaSkin ;
static const char * const USERDATA_TAG = "hs._asm.iokit" ;
static LSRefTable refTable = LUA_NOREF;
#define get_objectFromUserdata(objType, L, idx, tag) (objType*)*((void**)luaL_checkudata(L, idx, tag))
#pragma mark - Support Functions and Classes
@interface ASM_IO_OBJECT_T : NSObje... | {
"content_hash": "cd4a827e4e18a4cb682dc182774132a1",
"timestamp": "",
"source": "github",
"line_count": 605,
"max_line_length": 184,
"avg_line_length": 40.45289256198347,
"alnum_prop": 0.630424123559696,
"repo_name": "asmagill/hammerspoon_asm",
"id": "b74acfe935d58114eee3b44abfc5ad2599efd738",
"siz... |
(HMAC signed URLs)
[](https://www.npmjs.com/package/hsu)
[](https://travis-ci.org/smebberson/hsu)
[](https://cov... | {
"content_hash": "1e1a7628ebc05a3f156a5e56914889ff",
"timestamp": "",
"source": "github",
"line_count": 249,
"max_line_length": 305,
"avg_line_length": 33.369477911646584,
"alnum_prop": 0.7177759056444819,
"repo_name": "smebberson/hsu",
"id": "809b8b62deab439ed4091326a372e676c5374b20",
"size": "831... |
package com.opensymphony.xwork2;
import com.opensymphony.xwork2.config.ConfigurationException;
import com.opensymphony.xwork2.config.entities.ActionConfig;
import com.opensymphony.xwork2.config.entities.InterceptorConfig;
import com.opensymphony.xwork2.config.entities.ResultConfig;
import com.opensymphony.xwork2.conv... | {
"content_hash": "aa89d4fb0e7b26af2eb1c23bb38882e1",
"timestamp": "",
"source": "github",
"line_count": 248,
"max_line_length": 150,
"avg_line_length": 39.70564516129032,
"alnum_prop": 0.7165634203310653,
"repo_name": "txazo/struts2",
"id": "40ace6407f35e3bfe455af96546e8af055b3a6ab",
"size": "10495... |
from .cwrap import cwrap
| {
"content_hash": "0dab7803793e6b46be2616943b5d74d2",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 24,
"avg_line_length": 25,
"alnum_prop": 0.8,
"repo_name": "RPGOne/Skynet",
"id": "4fa8e292a81d7d06357e3b2359b3aa6853ad0090",
"size": "25",
"binary": false,
"copies": "1... |
<?php
namespace Proto\Console;
use Proto\Console\Commands\Serve;
use Proto\Console\Commands\CacheClear;
use Proto\Console\Commands\BaseCommand;
use Symfony\Component\Console\Application;
class Console
{
public function register()
{
return array(
Serve::class,
CacheClear::class
... | {
"content_hash": "01025ce42b7fbfccca264752d81e9bc4",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 83,
"avg_line_length": 20.727272727272727,
"alnum_prop": 0.6140350877192983,
"repo_name": "jrbarnard/fe-templating",
"id": "b9669ffa0761abb341d192c199d99691607e1906",
"size... |
'use strict';
angular.module('angularFullstackApp')
.config(function ($stateProvider) {
$stateProvider
.state('admin', {
url: '/admin',
templateUrl: 'app/admin/admin.html',
controller: 'AdminCtrl'
});
}); | {
"content_hash": "ece3b6b528b416213036c514eac722cf",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 44,
"avg_line_length": 22.636363636363637,
"alnum_prop": 0.5863453815261044,
"repo_name": "sharmilajesupaul/angular-fullstack",
"id": "72239da5d1d6b8bce515304f21b56b48d00aebf... |
package com.maxmouchet.vamk.timetables.parser.table
trait TableParser {
def parse: Array[Array[String]]
}
| {
"content_hash": "6a5d606294d96f5787361f2934cb9de8",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 51,
"avg_line_length": 15.857142857142858,
"alnum_prop": 0.7657657657657657,
"repo_name": "OpenLamas/vamk-timetables",
"id": "6f7b76016876d3e0bb9ab90d1644f474ab38141f",
"siz... |
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/alarm_list_icon_shape"
android:drawable="@drawable/alarm_list_icon_shape"/>
</layer-list>
| {
"content_hash": "8ab65a4cd7be745ddbcc9182fd554b99",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 71,
"avg_line_length": 31.75,
"alnum_prop": 0.6377952755905512,
"repo_name": "EventFahrplan/EventFahrplan",
"id": "f4cb0b45854bf8fb3ca3b64cc30af3d0b4a22c0f",
"size": "254",
... |
namespace grok {
namespace input {
/// class ReadLineSource ::= a character source takes input from readline
class ReadLineSource {
public:
using char_type = char;
using category = boost::iostreams::source_tag;
using size_type = std::string::size_type;
ReadLineSource(ReadLine RL) :
RL_{ RL }, ... | {
"content_hash": "c5cd2321a1442cbf561f6c948ca973c0",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 73,
"avg_line_length": 22.64516129032258,
"alnum_prop": 0.6452991452991453,
"repo_name": "PrinceDhaliwal/grok",
"id": "bd16773722d3bf22fa8478db7b292e91c52465fa",
"size": "8... |
package org.drools.compiler.integrationtests;
import org.drools.compiler.CommonTestMethodBase;
import org.drools.core.common.DroolsObjectInputStream;
import org.drools.core.common.DroolsObjectOutputStream;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
im... | {
"content_hash": "4b4ff9eaad87ae9d50231c7d937e776b",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 119,
"avg_line_length": 35.01587301587302,
"alnum_prop": 0.6101541251133273,
"repo_name": "Buble1981/MyDroolsFork",
"id": "b43ee1a1ade817be4fe7250c0c9aeabdfa557fae",
"size... |
<!DOCTYPE html>
<html>
<head>
<title>AdUrCup Dashboard</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Compiled and minified CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax... | {
"content_hash": "62a25cc9fafb6b6ab6169bb0a63df490",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 154,
"avg_line_length": 30.926470588235293,
"alnum_prop": 0.6395625297194484,
"repo_name": "sahilkhurana19/AdUrCup-Dashboard",
"id": "099c6badfb5e4321c14cbaba1e33b3a4e046993e... |
from django import VERSION
from admin_customizer.fields import OrderPreservingManyToManyField
from django.db import models
class Author(models.Model):
name = models.CharField(max_length=100)
class Book(models.Model):
name = models.CharField(max_length=100)
created = models.DateTimeField(auto_now_add=True)... | {
"content_hash": "ad73eddcd1c88eab37875c1f8d3b11ae",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 66,
"avg_line_length": 32.266666666666666,
"alnum_prop": 0.7665289256198347,
"repo_name": "ionelmc/django-admin-customizer",
"id": "870f05d598d530d42145d9c4897601ddaaeca21b",... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | {
"content_hash": "4cc26a83b5c62e89c1ec912c7b9c4556",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 151,
"avg_line_length": 42.03846153846154,
"alnum_prop": 0.5672461116193962,
"repo_name": "SMihand/Cache-GlobalsProxy-Framework",
"id": "e415308924537f4d647de3125605f467aece2... |
********
bytecode
********
``bytecode`` is a Python module to generate and modify bytecode.
* `bytecode project homepage at GitHub
<https://github.com/vstinner/bytecode>`_ (code, bugs)
* `bytecode documentation
<https://bytecode.readthedocs.io/>`_ (this documentation)
* `Download latest bytecode release at the Py... | {
"content_hash": "113340eeec9a4d0d0717f614223d8315",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 75,
"avg_line_length": 22,
"alnum_prop": 0.6797040169133193,
"repo_name": "haypo/bytecode",
"id": "7c1932a97901d72508f71ee4b9d8b7635e2073a7",
"size": "946",
"binary": fal... |
ChenpingCocoa
=============
just do it cocoapod
| {
"content_hash": "a84f34ce77c720a51b1593dff5acdf81",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 19,
"avg_line_length": 12.25,
"alnum_prop": 0.5918367346938775,
"repo_name": "cgpu456/ChenpingCocoa",
"id": "a3451f5ba48ba5370793dc4bd9f79d3c8f8f1bd9",
"size": "49",
"bina... |
package com.mpwc.service.impl;
import java.util.Date;
import java.util.List;
import com.liferay.portal.kernel.exception.PortalException;
import com.liferay.portal.kernel.exception.SystemException;
import com.mpwc.model.Project;
import com.mpwc.model.TimeBox;
import com.mpwc.model.Worker;
import com.mpwc.service.Pro... | {
"content_hash": "33b92d0078702a2db34ce50ce5d166ff",
"timestamp": "",
"source": "github",
"line_count": 204,
"max_line_length": 198,
"avg_line_length": 35.34803921568628,
"alnum_prop": 0.7678546664817639,
"repo_name": "rsicart/mpwc",
"id": "62c57c6a6c09f6b70bbea70c1381525052b470ad",
"size": "7799",... |
from elementfinder import ElementFinder
__all__ = [
"ElementFinder",
]
| {
"content_hash": "112f44e6c2b8d24c9d1f9dcec5124cff",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 39,
"avg_line_length": 15.2,
"alnum_prop": 0.6842105263157895,
"repo_name": "longmazhanfeng/automationlibrary",
"id": "532d3e322fb4be412362e48384d53d238ca71ac0",
"size": "10... |
package org.apache.ambari.server.actionmanager;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import org.apache.ambari.server.AmbariException;
import org.apache.ambari.server.StaticallyInject;
import org.apache.ambari.server.controller.ExecuteActionReq... | {
"content_hash": "2d68b3423553504e6fd920aec10fab66",
"timestamp": "",
"source": "github",
"line_count": 453,
"max_line_length": 132,
"avg_line_length": 32.44812362030905,
"alnum_prop": 0.7080753792775019,
"repo_name": "arenadata/ambari",
"id": "2424d0dfc989829f5f259014e2e19f2b9fa6e3cd",
"size": "15... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "05bfb2a0b593fbd4def030563e8b8edd",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "1861f7045fd9b1ac4cd906c947916e1125c6eb98",
"size": "175... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "db.h"
#include "net.h"
#include "init.h"
#include "addrman.h"
#include "... | {
"content_hash": "b259555cb05db895f8cdfa562760f820",
"timestamp": "",
"source": "github",
"line_count": 1899,
"max_line_length": 196,
"avg_line_length": 30.020010531858873,
"alnum_prop": 0.5433272523154645,
"repo_name": "Safello/KnugenCoin",
"id": "bfd1a10b72fac35155ad560a93fc80c0ece37c9c",
"size":... |
package com.amazonaws.services.elasticfilesystem.model;
import javax.annotation.Generated;
/**
* <p>
* Returned if the file system's lifecycle state is not "available".
* </p>
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class IncorrectFileSystemLifeCycleStateException extends com.amazonaws.... | {
"content_hash": "ac59b42a431ac0c948c248793cdee7cf",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 145,
"avg_line_length": 25.87272727272727,
"alnum_prop": 0.6921995783555868,
"repo_name": "aws/aws-sdk-java",
"id": "fc4f911e04796ffa755df9aadfcdb323ba99f0bf",
"size": "200... |
require "gapic/config"
require "gapic/config/method"
require "google/cloud/compute/v1/version"
require "google/cloud/compute/v1/machine_images/credentials"
require "google/cloud/compute/v1/machine_images/rest"
module Google
module Cloud
module Compute
module V1
##
# The MachineImages API.... | {
"content_hash": "e4b21c4e1c8943d1b6d81a340629b8dd",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 84,
"avg_line_length": 26.96551724137931,
"alnum_prop": 0.6547314578005116,
"repo_name": "googleapis/google-cloud-ruby",
"id": "fbc3717a2360f30a7b712d740a52baf608ce594f",
"... |
<?php
// autoload_psr4.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'phpseclib\\' => array($vendorDir . '/phpseclib/phpseclib/phpseclib'),
'phpDocumentor\\Reflection\\' => array($vendorDir . '/phpdocumentor/reflection-common/src', $vendorDi... | {
"content_hash": "ee1a177060c26b1429393ebd09d60b41",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 200,
"avg_line_length": 70,
"alnum_prop": 0.6476190476190476,
"repo_name": "jdshao/blog",
"id": "88a9deff7d09a6ae9ca55173f640f4b68c32584a",
"size": "4410",
"binary": fals... |
require('babel-polyfill');
// Webpack config for creating the production bundle.
var path = require('path');
var webpack = require('webpack');
var CleanPlugin = require('clean-webpack-plugin');
var ExtractTextPlugin = require('extract-text-webpack-plugin');
var strip = require('strip-loader');
var projectRootPath = p... | {
"content_hash": "80af9dbbf2578550276da4824c649bc7",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 212,
"avg_line_length": 37.7816091954023,
"alnum_prop": 0.6355339215089747,
"repo_name": "johnnycx127/react-demo",
"id": "f84e342d3d4f1892e1a65fae3b9b92a9a45b438b",
"size":... |
'use strict';
//Schedules service used to communicate Schedules REST endpoints
/*
angular.module('schedules').factory('Schedules', ['$resource',
function($resource) {
return $resource('schedules/:scheduleId', { scheduleId: '@_id'
}, {
update: {
method: 'PUT'
}
});
... | {
"content_hash": "e3eb236aaeed64dfce2b2f59d93aed37",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 68,
"avg_line_length": 22.64516129032258,
"alnum_prop": 0.47150997150997154,
"repo_name": "fforres/canchapp",
"id": "eda4cf4c45c1ea5506987554d832c621b21a4a72",
"size": "702... |
<?xml version="1.0" encoding="utf-8"?>
<layout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<data>
<variable
name="viewModel"
type="pl.lizardproject.qe2017.itemlist.ItemViewModel"/>
</data>
... | {
"content_hash": "b0d50d6973c14cd1115fc08a51d2b8ad",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 111,
"avg_line_length": 43.04761904761905,
"alnum_prop": 0.6047197640117994,
"repo_name": "The-Lizard-Project/qe2017",
"id": "c3a627330234364a5c4e5cf658a529384b04fc32",
"si... |
<?xml version="1.0"?>
<doc>
<assembly>
<name>Elmah</name>
</assembly>
<members>
<member name="T:Elmah.AboutPage">
<summary>
Renders an HTML page that presents information about the version,
build configuration, source files as well as a method to check
... | {
"content_hash": "dd5040fdf201887679045fdb2602bc4f",
"timestamp": "",
"source": "github",
"line_count": 2171,
"max_line_length": 264,
"avg_line_length": 45.964071856287426,
"alnum_prop": 0.5944201707620155,
"repo_name": "jaysilk84/ELMAH",
"id": "8e54a32e8965dc4605d44499c7a9bb404cb26f32",
"size": "9... |
+++
title = "Incompatibilidade Teste de Wilcoxon no R e na Apache Commons Math (java)"
date = "2017-08-29 19:57:36"
categories = ["sopt"]
original_url = "https://pt.stackoverflow.com/q/233280"
at_home="no"
+++
| {
"content_hash": "dc6a28204426f1ec39bdbd8018008078",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 82,
"avg_line_length": 26.375,
"alnum_prop": 0.6872037914691943,
"repo_name": "brbloggers/brbloggers",
"id": "c63ff40dba3e05858a47e113fc1521f9cefa6832",
"size": "211",
"bi... |
<?php
/**
* Created by Danil Baibak danil.baibak@gmail.com
* Date: 24/03/15
* Time: 14:00
*/
namespace Application\Services;
class SiteMapService
{
const MAX_PRIORITY = 1.00;
const MIN_PRIORITY = 0.2;
const PRIORITY_STEP = 0.2;
/**
* @var array priority for each link
*/
private $lin... | {
"content_hash": "5c7087c6baacd7830bca55858f864e68",
"timestamp": "",
"source": "github",
"line_count": 327,
"max_line_length": 117,
"avg_line_length": 34.50764525993884,
"alnum_prop": 0.4859978730946473,
"repo_name": "DanilBaibak/sitemap_generator",
"id": "2d8a81c12e5b171d434a48a43dacc946525615f8",
... |
package ru.lanbilling.webservice.wsdl;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
... | {
"content_hash": "b0c79ce9155115cd5f4d9f6ba231a673",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 116,
"avg_line_length": 29.960526315789473,
"alnum_prop": 0.6433904259991217,
"repo_name": "kanonirov/lanb-client",
"id": "3bd4557fc0fe449b5f461d4559772cec59f02d69",
"size"... |
import subtleAlgorithm from './subtle_rsaes.js';
import bogusWebCrypto from './bogus.js';
import crypto, { isCryptoKey } from './webcrypto.js';
import { checkEncCryptoKey } from '../lib/crypto_key.js';
import checkKeyLength from './check_key_length.js';
import invalidKeyInput from './invalid_key_input.js';
export const... | {
"content_hash": "87f47eae5d2d9ab33d88c0e35b9be2a6",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 126,
"avg_line_length": 50.02777777777778,
"alnum_prop": 0.6868406440866185,
"repo_name": "cdnjs/cdnjs",
"id": "a952a5049bacf8238d95b505d5c7150db1e7a445",
"size": "1801",
... |
<?php
namespace Zerbikat\BackendBundle\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Zerbikat\BackendBundle\Entity\Kalea;
u... | {
"content_hash": "c431580fe20d648e3f5df997264ede45",
"timestamp": "",
"source": "github",
"line_count": 185,
"max_line_length": 107,
"avg_line_length": 32.30810810810811,
"alnum_prop": 0.5255144721432157,
"repo_name": "PasaiakoUdala/zerbikat",
"id": "2bf96699ca4222df36e2bb32ed9daff7ef0dbed3",
"size... |
class Bucket < ActiveRecord::Base
belongs_to :user
belongs_to :milestone
validates_presence_of :user_id, :tag
def apply_one(ticket)
lh_ticket = Ticket.retrieve(ticket.project, ticket.number)
lh_ticket.milestone_id = milestone.lighthouse_id if milestone
lh_ticket.state = state if state
lh_ticke... | {
"content_hash": "6ad5388e6a7abd7a822dfc9f026fe88d",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 65,
"avg_line_length": 28.9375,
"alnum_prop": 0.7192224622030238,
"repo_name": "cyberfox/triage",
"id": "a2825c28ce36c4c8f3833630e183c45ad6533f62",
"size": "463",
"binary... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- From: file:/home/salih/AndroidStudioProjects/GitarAkortab/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/21.0.2/res/values-mn-rMN/values.xml -->
<eat-comment/>
<string msgid="4600421777120114993" name="abc_action_bar_home_descrip... | {
"content_hash": "132afa00c64efa5682128f5d7b1bb761",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 176,
"avg_line_length": 93.25,
"alnum_prop": 0.7554959785522788,
"repo_name": "tugbaduzenli/AndroidLessonProject",
"id": "4806244301de6bacd71653870912f472d8733c4b",
"size":... |
module Cassette
class Client
def self.method_missing(name, *args)
@default_client ||= new
@default_client.send(name, *args)
end
def initialize(opts = {})
self.config = opts.fetch(:config, Cassette.config)
self.logger = opts.fetch(:logger, Cassette.logger)
self.http = opts.... | {
"content_hash": "ccb1ca2fb2359b25793510e82ede4e86",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 84,
"avg_line_length": 26.364864864864863,
"alnum_prop": 0.6063557150179395,
"repo_name": "locaweb/cassette",
"id": "52437ca609912c6563e94c6d189e602997689ae0",
"size": "195... |
(function () {
'use strict';
angular.module('pnc.build-configs').component('pncBuildConfigs', {
templateUrl: 'pnc/build-configs/pnc-build-configs.template.html',
controller: Controller
});
function Controller() {
angular.noop();
}
})();
| {
"content_hash": "eb8b5b0a951cb3e4db4bc76430ec76a1",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 69,
"avg_line_length": 21.75,
"alnum_prop": 0.6551724137931034,
"repo_name": "alexcreasy/pnc-lab",
"id": "4935c67327bea0428f06a97d1bb721dff2dda963",
"size": "261",
"binar... |
import pymongo
from pymongo import MongoClient
from bson.objectid import ObjectId
from datetime import datetime
from DBUtil import *
from default_problem_data import setSimulationToDefault
from SimulationBackupInterface import *
import logging
from UserDataDAO import getGroupTypeDB
class SimulationDAO(object):
def g... | {
"content_hash": "1015e7a3541a1038778c0b31989c68c1",
"timestamp": "",
"source": "github",
"line_count": 375,
"max_line_length": 160,
"avg_line_length": 31.144,
"alnum_prop": 0.6845620344207552,
"repo_name": "shekharshank/c2sumo",
"id": "0facd33af2554a9575400916052f4d6ec2edc25a",
"size": "11679",
... |
package org.brucalipto.btcbalancer;
import java.math.BigDecimal;
public interface Constants
{
BigDecimal ONE_CENT = new BigDecimal(0.01);
BigDecimal QUARTER = new BigDecimal(0.25);
BigDecimal HALF = new BigDecimal(0.5);
BigDecimal ZERO = BigDecimal.ZERO;
BigDecimal ONE = BigDecimal.ONE;
BigDecimal ... | {
"content_hash": "800580ec432b86279a0f6050501edaad",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 83,
"avg_line_length": 39.2,
"alnum_prop": 0.7673469387755102,
"repo_name": "ottuzzi/BTCBalancer",
"id": "e145a0d138c9b3e030bf5aa7e43cda5a0f61d6dd",
"size": "980",
"binar... |
layout : post
title : "Arup"
subtitle : "Workplace As Workshop"
tagline : "A pilot model workplace"
assetsfolder : "arup"
imgfeatured : "arup_17.jpg"
imgtitletext : "Arup workplace"
img_alt_text : "This is the Arup workplace"
date : 2015-06-01 00:00:00
categories ... | {
"content_hash": "53e28c51df869fda92c4b50bd8e97ab8",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 489,
"avg_line_length": 54.693693693693696,
"alnum_prop": 0.5928183165870532,
"repo_name": "bvn-architecture/transformative",
"id": "9394ec7b7dee5770c58d56b2418cc45b1ce42920... |
package ws.jaxws.generated.client;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.logging.Logger;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;
/**
* This cla... | {
"content_hash": "8c12ea51ee6257c27e1792227b833465",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 193,
"avg_line_length": 35.57746478873239,
"alnum_prop": 0.6908155186064925,
"repo_name": "ufoscout/java-sample-projects",
"id": "31e80a427afb0aa716670f6161e8685d953db077",
... |
.. _yaml_mcmc_head:
MCMC Moves Header for YAML Files
********************************
In the ``mcmc_moves`` section, you can define the propagators used to move forward the replicas of a
:doc:`sampler <samplers>`. This block is optional. By default, YANK uses a sequence of MCMC moves that mix MC rigid
rotation and tr... | {
"content_hash": "4cd50036df882e0fcc700d439951c731",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 200,
"avg_line_length": 51.44155844155844,
"alnum_prop": 0.7033577379449634,
"repo_name": "choderalab/yank",
"id": "1ce965fccd503bba74765dd4e3f1aa265873ed51",
"size": "3961... |
FROM linuxkit/alpine:0c069d0fd7defddb6e03925fcd4915407db0c9e1 AS mirror
RUN mkdir -p /out/etc/apk && cp -r /etc/apk/* /out/etc/apk/
RUN apk add --no-cache --initdb -p /out \
alpine-baselayout \
busybox \
e2fsprogs \
e2fsprogs-extra \
btrfs-progs \
xfsprogs \
xfsprogs-extra \
musl \
... | {
"content_hash": "98beb47696c8ff37d4c85a41b622faf6",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 71,
"avg_line_length": 26.771428571428572,
"alnum_prop": 0.6937033084311632,
"repo_name": "konstruktoid/linuxkit",
"id": "ccecae383de367e16703dd4697777c636a4eb87f",
"size":... |
""" FTW transporter package.
"""
# Copyright © 2014 1&1 Internet AG
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by app... | {
"content_hash": "d44171adb1250e821e0fc8ec19fb3cab",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 74,
"avg_line_length": 40.8,
"alnum_prop": 0.7549019607843137,
"repo_name": "Feed-The-Web/ftw-transporter",
"id": "7c4069c44e678c27cc531a3b7ad7ebbfe06b23b8",
"size": "637",... |
package kafka.utils
import kafka.common.InvalidTopicException
import kafka.common.InvalidClientIdException
import util.matching.Regex
object ClientId {
val legalChars = "[a-zA-Z0-9_-]"
val maxNameLength = 200 // to prevent hitting filename max length limit
private val rgx = new Regex(legalChars + "*")
def ... | {
"content_hash": "300b4997ed569818dbaef20b65710b02",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 156,
"avg_line_length": 38,
"alnum_prop": 0.6917293233082706,
"repo_name": "dchenbecker/kafka-sbt",
"id": "780339ecd89fb44fb14a169abeaa6d75f2fd8694",
"size": "2663",
"bin... |
package com.intellij.psi.impl.source.resolve.reference.impl.providers;
import com.intellij.openapi.progress.ProgressManager;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.NotNullLazyValue;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiPackage;
import com.intellij.psi.P... | {
"content_hash": "42a8e9b1fcb8433eadd821fee484cacd",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 126,
"avg_line_length": 34.30612244897959,
"alnum_prop": 0.6683521713265913,
"repo_name": "leafclick/intellij-community",
"id": "7ab33c6e8a2a88ec3b4bcc96cdd0b0c63504fd1e",
... |
import mock
from rally.plugins.openstack.scenarios.nova import keypairs
from tests.unit import test
class NovaKeypairTestCase(test.ScenarioTestCase):
def test_create_and_list_keypairs(self):
scenario = keypairs.NovaKeypair(self.context)
scenario.generate_random_name = mock.MagicMock(return_value... | {
"content_hash": "c607b2c511eb0ea9529c514dae18f936",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 77,
"avg_line_length": 39.732142857142854,
"alnum_prop": 0.6719101123595506,
"repo_name": "eayunstack/rally",
"id": "9b6e27580105464cf6e46be9ba91d25f25bbc5cd",
"size": "288... |
package db
import (
"database/sql"
"github.com/atnet/gof/db/orm"
)
type Connector interface {
GetDb() *sql.DB
GetOrm() orm.Orm
Query(sql string, f func(*sql.Rows), arg ...interface{}) error
// 查询Rows
QueryRow(sql string, f func(*sql.Row), arg ...interface{}) error
ExecScalar(s string, result interface{}... | {
"content_hash": "acdd27e5dba2ed34fa3a6b340e8b2e75",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 78,
"avg_line_length": 19.153846153846153,
"alnum_prop": 0.6726907630522089,
"repo_name": "aprilsky/go2o",
"id": "f48485ab2413b0505b89bf7af893460c6ddceb3f",
"size": "628",
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Review_model extends CI_Model {
public function create() {
$issue_id = $this->input->post('issue_id');
$name = $this->input->post('name_val');
$description = nl2br($this->input->post('description_val'));
$type = $this->input->post('... | {
"content_hash": "76c2dca33dfe7b4f8b252e0907f3a9b8",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 111,
"avg_line_length": 29.988095238095237,
"alnum_prop": 0.5855498213576816,
"repo_name": "kevinmdoyle/wasabi",
"id": "cef21764bbbd8283672619062d136abd1f569734",
"size": "... |
package com.player;
import com.prop.EquipType;
public class Property {
/**
* 作为需要更新数据的标记
*/
private boolean isChange;
/**
* 总和值
*/
private int totalJoin;
/**
* 总万分比加成
*/
private int totalRate;
/**
* 装备的属性值
*/
private int[] equipData;
/**
* 装备的总属性
*/
privat... | {
"content_hash": "be8c4e0ad94ddc47b41239920750c5bc",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 104,
"avg_line_length": 17.156626506024097,
"alnum_prop": 0.6214887640449438,
"repo_name": "LaoZhongGu/RushServer",
"id": "b5eede8e3fc0a95a91420a9777d7daba3f6ff6f1",
"size"... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="e5d5968a-8f20-496e-9038-3ca60f9ade67" name="Default" comment="" />
<ignored path="bowser.iws" />
<ignored path=".idea/workspace.xml" />
<option name="EXCLUDED_CONVERTED_TO_IGNORED... | {
"content_hash": "48bfd0afc4be3ba6e8f4ad4260ea9b03",
"timestamp": "",
"source": "github",
"line_count": 800,
"max_line_length": 281,
"avg_line_length": 51.11375,
"alnum_prop": 0.6297962876916681,
"repo_name": "alexburner/spectrogram.party",
"id": "3ea4c6c181691c4af2be7097fab2993ebba030a3",
"size": ... |
"""Tests for perfkitbenchmarker.publisher."""
import collections
import csv
import io
import json
import re
import tempfile
import uuid
import unittest
import mock
from perfkitbenchmarker import publisher
from perfkitbenchmarker import sample
from perfkitbenchmarker import vm_util
class PrettyPrintStreamPublisherT... | {
"content_hash": "904ea0e7676915553b96158e9e335f60",
"timestamp": "",
"source": "github",
"line_count": 382,
"max_line_length": 79,
"avg_line_length": 38.261780104712045,
"alnum_prop": 0.601464148877942,
"repo_name": "xiaolihope/PerfKitBenchmarker-1.7.0",
"id": "0a7ddc8850915e22116047822632dc3c09de85... |
package org.apache.phoenix.end2end;
import org.apache.phoenix.thirdparty.com.google.common.base.Joiner;
import org.apache.phoenix.thirdparty.com.google.common.base.Throwables;
import org.apache.phoenix.thirdparty.com.google.common.collect.Lists;
import org.apache.phoenix.thirdparty.com.google.common.collect.Maps;
imp... | {
"content_hash": "ef348ef1cceece6299add8c4fcbdda26",
"timestamp": "",
"source": "github",
"line_count": 1727,
"max_line_length": 174,
"avg_line_length": 49.47307469600463,
"alnum_prop": 0.6121956928838951,
"repo_name": "apurtell/phoenix",
"id": "c9fc1a71981d3417ee704f857369c55c92e5ab93",
"size": "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">
<modelVersion>4.0.0</modelVersion>
<groupId>org.vaadin.osgi</groupId>
<artifactId>tablebundle</artifactId>
<ve... | {
"content_hash": "901dadfd174b73914c414d2859116bca",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 104,
"avg_line_length": 27.225806451612904,
"alnum_prop": 0.6872037914691943,
"repo_name": "mhosio/vaadin-osgi-demo",
"id": "e341edd3d5fd9f14f7a23e636852c9778d561f2a",
"siz... |
package com.amazonaws.services.ec2.model;
import javax.annotation.Generated;
/**
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public enum PlacementGroupState {
Pending("pending"),
Available("available"),
Deleting("deleting"),
Deleted("deleted");
private String value;
pri... | {
"content_hash": "c96b934d69d85d63a87fe3ea34d53da1",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 91,
"avg_line_length": 23.708333333333332,
"alnum_prop": 0.6098418277680141,
"repo_name": "dagnir/aws-sdk-java",
"id": "ac3c467329e3ca950d5811a981adeedd39d5f1c2",
"size": "... |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
'//-------------------------------------------------------------------------------------------------
'//
'// Error code and strings for Compiler errors
'//
'... | {
"content_hash": "b6a02170a53beac5ca0afcec3016fb86",
"timestamp": "",
"source": "github",
"line_count": 1963,
"max_line_length": 270,
"avg_line_length": 44.86398369842078,
"alnum_prop": 0.6974042785120589,
"repo_name": "Shiney/roslyn",
"id": "410d7d75944335aa067794fab1ce7f2cb57c3edf",
"size": "8807... |
import 'mocha';
import {
expect,
} from 'chai';
import * as sinon from 'sinon';
import { forAwaitEach, isAsyncIterable, createAsyncIterator } from 'iterall';
import { createRejectionIterable } from '../utils/rejection-iterable';
describe('createRejectionIterable', () => {
it('should return a valid AsyncIterator fr... | {
"content_hash": "496428a82c4f5cd0962d50c1680af414",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 77,
"avg_line_length": 29.767441860465116,
"alnum_prop": 0.62578125,
"repo_name": "Tobino/subscriptions-transport-ws",
"id": "12613524c896783c5f381db333d50c59a77a669e",
"si... |
package org.apache.geronimo.jetty8;
import org.apache.geronimo.gbean.GBeanLifecycle;
import org.apache.geronimo.gbean.annotation.GBean;
import org.apache.geronimo.gbean.annotation.ParamReference;
/**
* This gbean calls {@link WebAppContextWrapper#fullyStarted()} when it starts.
* This gbean is configured with low... | {
"content_hash": "c0a5c887663f249c9daa5ad4cc494864",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 95,
"avg_line_length": 24.38235294117647,
"alnum_prop": 0.7165259348612787,
"repo_name": "apache/geronimo",
"id": "fddbb89da73865af993e2268186943d474cdf20d",
"size": "1642"... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using MultiChannelTodo.C... | {
"content_hash": "c10e2dde47a11f899f8f7a01f89cdc3c",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 109,
"avg_line_length": 34.526315789473685,
"alnum_prop": 0.663109756097561,
"repo_name": "melcom/MultiChannelTodo",
"id": "03fc2f6332c835d877dd03356809161cf4f99c58",
"size... |
[](http://allthebadges.io/latin-language-toolkit/llt-helpers/badge_fury)
[](http://allthebadges.io/latin-language-toolkit/llt-helpers/gemnasium)
[![... | {
"content_hash": "2105d38dfb0796ae5fa392dc21a0a9cf",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 165,
"avg_line_length": 43.758620689655174,
"alnum_prop": 0.7675334909377463,
"repo_name": "latin-language-toolkit/llt-helpers",
"id": "b8826e4f57ba4a4f691ed8870ad0babb342cfb... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE191_Integer_Underflow__char_fscanf_sub_05.c
Label Definition File: CWE191_Integer_Underflow.label.xml
Template File: sources-sinks-05.tmpl.c
*/
/*
* @description
* CWE: 191 Integer Underflow
* BadSource: fscanf Read data from the console using fscanf()
* Goo... | {
"content_hash": "fd23de2b00947885c53b88217d311371",
"timestamp": "",
"source": "github",
"line_count": 185,
"max_line_length": 94,
"avg_line_length": 27.12972972972973,
"alnum_prop": 0.5823869296672644,
"repo_name": "maurer/tiamat",
"id": "68c08623cc4946bf2213e43bb144fafcf1163257",
"size": "5019",... |
#ifndef itkTemporalDataObject_h
#define itkTemporalDataObject_h
#include "itkDataObject.h"
#include "itkRingBuffer.h"
#include "itkTemporalRegion.h"
#include "ITKVideoCoreExport.h"
namespace itk
{
/** \class TemporalDataObject
* \brief DataObject subclass with knowledge of temporal region
*
* This class represen... | {
"content_hash": "d33db8a43498a8d19d2a90d4a9c7933a",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 79,
"avg_line_length": 33.73394495412844,
"alnum_prop": 0.7764481914604296,
"repo_name": "zachary-williamson/ITK",
"id": "a95a1ed61c2f6445dbe498d14ab813973e6db72e",
"size"... |
/* Public task tracking */
var jquery = require('jquery');
function poll_task (data) {
var defer = jquery.Deferred(),
tries = 5;
function poll_task_loop () {
jquery
.getJSON(data.url)
.success(function (task) {
if (task.finished) {
i... | {
"content_hash": "df3090745fdbf159f45714906dd34d7f",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 82,
"avg_line_length": 26.694444444444443,
"alnum_prop": 0.4292403746097815,
"repo_name": "techtonik/readthedocs.org",
"id": "ee0d995dd67927e5207a6f916d68db000a582129",
"si... |
package info.fingo.urlopia.request.occasional.events;
import info.fingo.urlopia.request.Request;
public record OccasionalRequestCanceled(Request request) {}
| {
"content_hash": "f93fa841666830a8dbbe7e103637dc17",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 59,
"avg_line_length": 31.8,
"alnum_prop": 0.8364779874213837,
"repo_name": "fingo/urlopia",
"id": "564863f4a49c072ab632e3698b85cb3464904efd",
"size": "159",
"binary": fal... |
import argparse
import logging
import helper
import puller
if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument('-v', '--verbose',
help='increase logging verbosity',
action='store_true')
parser.add_argument('-c', '--conf', type=str,
... | {
"content_hash": "370aecf84622b3793848b918e2249af7",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 72,
"avg_line_length": 26.462962962962962,
"alnum_prop": 0.6319104268719384,
"repo_name": "jakubtuchol/HNTracker",
"id": "359ace7e8452637c7750acaf3f245253e70101e5",
"size":... |
package org.hl7.v3;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for ObservationFoodIntoleranceType.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType name="Ob... | {
"content_hash": "126819a0ec152aece7d45ca22f6e6c59",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 95,
"avg_line_length": 22.65,
"alnum_prop": 0.6434878587196468,
"repo_name": "KRMAssociatesInc/eHMP",
"id": "38a592682775015798f0e50caaa98d503fd8f85c",
"size": "906",
"bi... |
if [ "${NACL_ARCH}" = "pnacl" ]; then
NACLPORTS_CFLAGS+=" -std=gnu89"
fi
TestStep() {
return 0
if [ ${NACL_ARCH} == "pnacl" ]; then
# Run once for each architecture.
local pexe=test/testil
local script=${pexe}.sh
TranslateAndWriteSelLdrScript ${pexe} x86-32 ${pexe}.x86-32.nexe ${script}
(cd... | {
"content_hash": "7de385c597275f50f1b39a04b52df2e9",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 78,
"avg_line_length": 22.615384615384617,
"alnum_prop": 0.6258503401360545,
"repo_name": "kosyak/naclports_samsung-smart-tv",
"id": "39a8b9e36abb7adb0100c792fcf0a7547d978a84... |
import React, { Component } from 'react';
import { connect } from 'react-redux';
import { Input, Picker, Item, Footer, FooterTab, Container, Header, Title, Content, Button, Icon, Text, Left, Right, Body, List, ListItem, View } from 'native-base';
import { Actions } from 'react-native-router-flux';
import styles from '.... | {
"content_hash": "27c9bb3c79f7ff085635635f1de3ce23",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 165,
"avg_line_length": 31.726027397260275,
"alnum_prop": 0.5509499136442142,
"repo_name": "bsusta/HelpdeskAppTemplate",
"id": "1d4cf930ba77442ba3593786a1b26c4440f70c1d",
"... |
import { Component, OnInit } from '@angular/core';
import { Router, RouteParams } from '@angular/router-deprecated';
import { Instance } from './instance';
import { InstanceService } from './instance.service';
@Component({
selector: 'am-instances',
templateUrl: 'app/instance/instances.component.html'
})
expor... | {
"content_hash": "2e8ca65442bdd6c031a5a698693a6127",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 65,
"avg_line_length": 26.393939393939394,
"alnum_prop": 0.634902411021814,
"repo_name": "distracted/app-manager-ui",
"id": "08fba3ba7a7e753758958ed8180d330440ff5258",
"siz... |
package productsdemo.dao;
import productsdemo.beans.Product;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
public class HibernateProductDao implements ProductDao {
@PersistenceContext
private EntityManager entityManager;
@Override
public Product findById(Integ... | {
"content_hash": "67bed53120cbcdd70b3342595c246ec0",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 56,
"avg_line_length": 21.78125,
"alnum_prop": 0.7073170731707317,
"repo_name": "yurchello/javalessons",
"id": "f10c0d99237c511324915d3bf8757f1aa1756f4a",
"size": "697",
... |
#nullable disable
namespace PasPasPas.Typings.Serialization {
internal class TypeIoBase {
}
}
| {
"content_hash": "9c12e8937795899a78dcf90ff516b3a8",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 43,
"avg_line_length": 17.333333333333332,
"alnum_prop": 0.7307692307692307,
"repo_name": "prjm/paspaspas",
"id": "0af79b257b6727403070fe9d4742203a9d167212",
"size": "106",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.