text stringlengths 2 1.04M | meta dict |
|---|---|
#include "order_consumer_listener.h"
ONSOrderConsumerListener::ONSOrderConsumerListener(ONSConsumerV8* parent) :
ONSConsumerBaseListener(parent)
{
}
ONSOrderConsumerListener::~ONSOrderConsumerListener()
{
}
OrderAction ONSOrderConsumerListener::consume(Message& message, ConsumeOrderContext& context)
{
retur... | {
"content_hash": "0ed60db149563faaceddcc2b9b6167bc",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 93,
"avg_line_length": 25.27777777777778,
"alnum_prop": 0.7758241758241758,
"repo_name": "XadillaX/aliyun-ons",
"id": "bb85bf95d0f1dbd793e46058945baf83850748d4",
"size": "8... |
'use strict';
/**
* Module dependencies.
*/
const mongoose = require('mongoose');
const GoogleStrategy = require('passport-google-oauth').OAuth2Strategy;
const config = require('../config');
const User = mongoose.model('User');
/**
* Expose
*/
module.exports = new GoogleStrategy({
clientID: config.google.cl... | {
"content_hash": "cb4aac7881ca12db6526c3dde2517453",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 127,
"avg_line_length": 26.08888888888889,
"alnum_prop": 0.596252129471891,
"repo_name": "SFDevLabs/reno",
"id": "9ddf336516de3d26d42350ff9c2436ff50c85e82",
"size": "1174",... |
require './google-play.rb'
require 'csv'
def prompt(*args)
print(*args)
gets.chomp
end
app_bundle_name = ""
num_reviews = 0
# procedural code :(
# also doesnt filter for uniques ... yet
print("\n\n=======================================================\n=========== Google Play Store Review Scraper ==========\n====... | {
"content_hash": "56c59c7a275834fa2225583266213376",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 184,
"avg_line_length": 26.4,
"alnum_prop": 0.6079545454545454,
"repo_name": "gregeng/google-review-scraper",
"id": "5c1241ed9622c3991b8880a53dee42d4b50cf648",
"size": "158... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.w... | {
"content_hash": "75706d4b515bf810ebe44c7bdf3bbd36",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 108,
"avg_line_length": 37.26315789473684,
"alnum_prop": 0.4985875706214689,
"repo_name": "crunchersaspire/worshipsongs-importer",
"id": "5aab0c4916229c2fac1f29e9bda7e12a3292... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
Mem. New York Bot. Gard. 35:91. 1982
#### Original name
Cassia sapindifolia Vogel
### Remarks
null | {
"content_hash": "0bd31654b8b671ff449b0d4191d5fcee",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 36,
"avg_line_length": 13.76923076923077,
"alnum_prop": 0.7206703910614525,
"repo_name": "mdoering/backbone",
"id": "281db5c22d486aaa0cd420f329d81120b6529386",
"size": "265... |
import { Event } from "./event";
export class RoomGetAllEvent {
static readonly eventName: string = Event.RoomGetAll;
constructor(public readonly data: { roomId: string }) { }
} | {
"content_hash": "6989808cd5e72f3818b7224fa6500e8a",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 61,
"avg_line_length": 31,
"alnum_prop": 0.7043010752688172,
"repo_name": "gdyrrahitis/pcard",
"id": "fb5f730d2208b4c33afaf70d8e66bfa2d728723b",
"size": "186",
"binary": f... |
The blog is built using hugo
```bash
brew install hugo
# To run locally simply run and visit `localhost:1313`
hugo serve
```
to include draft posts in the server
```
hugo serve -D
```
## Contributing Content
1. Create a new branch
1. Create a new markdown file under `content/posts/`
1. Write your article and inc... | {
"content_hash": "6e96c3d0cf1080f47ebdae4c6df791ba",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 135,
"avg_line_length": 28.75,
"alnum_prop": 0.744927536231884,
"repo_name": "maxwellhealth/maxwellhealth.github.io",
"id": "70ecf55477862c09f4f535c7278907f30d270b86",
"siz... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_08) on Wed Jan 10 16:02:59 PST 2007 -->
<TITLE>
Uses of Class org.apache.hadoop.tools.Logalyzer.LogRegexMapper (Hadoop 0.10.1 API)
</TITLE>
<LINK R... | {
"content_hash": "468fa7d5bcbc8009799523fa5578f49d",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 228,
"avg_line_length": 42.72857142857143,
"alnum_prop": 0.6221999331327315,
"repo_name": "moreus/hadoop",
"id": "88948db38bc6a950c948322884196db0f1e39889",
"size": "5982"... |
require File.join(File.dirname(__FILE__), "..", 'spec_helper.rb')
describe Merb::SnoopHelper do
end | {
"content_hash": "85ff5ac1f54b67b4519ad92a1349a980",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 65,
"avg_line_length": 20.2,
"alnum_prop": 0.693069306930693,
"repo_name": "janrain/jruby-rack",
"id": "82224c85ca1e700d171a1f1c8bfdbc2de568827c",
"size": "101",
"binary":... |
// Copyright (c) 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 "ui_interface.h"
#include "init.h"
#include "bitcoinrpc.h"
#include <string>
... | {
"content_hash": "ed184e7a7a97cbce62e265ee153eeaec",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 113,
"avg_line_length": 29.54901960784314,
"alnum_prop": 0.688122096881221,
"repo_name": "ArnMan/yescoin",
"id": "658ee40846ad57da6eec95bcb6487d089d9cbbf8",
"size": "1507",... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Subdivision extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'subdivisions';
/**
* The attributes that are mass assignable.
*
* @var array
*/
pro... | {
"content_hash": "6b8f29411fed916df686e42524074199",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 85,
"avg_line_length": 23.514018691588785,
"alnum_prop": 0.49761526232114467,
"repo_name": "aizhar777/buch",
"id": "5caed91f4c1a1a5d084be12a1939e9f56055d551",
"size": "251... |
// SSSSSSSSSSSSSSS TTTTTTTTTTTTTTTTTTTTTTT OOOOOOOOO PPPPPPPPPPPPPPPPP
// SS:::::::::::::::ST:::::::::::::::::::::T OO:::::::::OO P::::::::::::::::P
// S:::::SSSSSS::::::ST:::::::::::::::::::::T OO:::::::::::::OO P::::::PPPPPP:::::P
// S:::::S SSSSSSST:::::TT:::::::TT:::::TO:::::::OOO:::::::OPP:::::... | {
"content_hash": "0a7806cf8de11a60fa711db9ecef7a8d",
"timestamp": "",
"source": "github",
"line_count": 1461,
"max_line_length": 97,
"avg_line_length": 29.62422997946612,
"alnum_prop": 0.6920819759247707,
"repo_name": "google-ar/WebARonARCore",
"id": "9c314d0c1a1e32dfa6d2b0af7612cee7a0a8dab2",
"siz... |
package org.wikidata.wdtk.rdf;
import java.io.OutputStream;
import org.openrdf.model.BNode;
import org.openrdf.model.Literal;
import org.openrdf.model.Resource;
import org.openrdf.model.URI;
import org.openrdf.model.Value;
import org.openrdf.model.ValueFactory;
import org.openrdf.model.impl.ValueFactoryImpl;
import... | {
"content_hash": "3646272b76fba39dcd7e8fd69a7fbf3c",
"timestamp": "",
"source": "github",
"line_count": 226,
"max_line_length": 77,
"avg_line_length": 36.54424778761062,
"alnum_prop": 0.7723695362634702,
"repo_name": "notconfusing/Wikidata-Toolkit",
"id": "f24288b82ce7004d44681e1ef9d7c4cdcd2faf3f",
... |
require 'net/http'
module Appsignal
class Hooks
class NetHttpHook < Appsignal::Hooks::Hook
register :net_http
def dependencies_present?
Appsignal.config && Appsignal.config[:instrument_net_http]
end
def install
Net::HTTP.class_eval do
alias request_without_apps... | {
"content_hash": "511fa9a140287f067ccf802f6de7032c",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 66,
"avg_line_length": 26.451612903225808,
"alnum_prop": 0.5475609756097561,
"repo_name": "stijnster/appsignal-ruby",
"id": "c9e80e58345432bf614de3a8ecf4b7956f529198",
"siz... |
import FacebookService from '../services/facebookmessenger';
export function initialize (app) {
app.register('service:facebookmessenger', FacebookService);
app.inject('route', 'facebookmessenger', 'service:facebookmessenger');
app.inject('component', 'facebookmessenger', 'service:facebookmessenger');
ap... | {
"content_hash": "519e16389909887487bd61f8b04e9d0e",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 79,
"avg_line_length": 29.75,
"alnum_prop": 0.7457983193277311,
"repo_name": "benjaminbalazs/sq-ember-facebook",
"id": "d37fd43487b10ba48409a6b3c249253a3d69bc18",
"size": "... |
package pageObjects;
public class dummy {
}
| {
"content_hash": "48767d2d919312877cff479c026ca854",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 20,
"avg_line_length": 9.2,
"alnum_prop": 0.7391304347826086,
"repo_name": "YagneshShah/SeleniumLearnExploreContribute",
"id": "f3809a89090a65839fb6d0c9777d1e7b86a914c1",
"s... |
<?php
global $Cart,$General;
foreach ($_POST as $field=>$value)
{
$ipnData["$field"] = $value;
}
$invoice = intval($ipnData['x_invoice_num']);
$pnref = $ipnData['x_trans_id'];
$amount = doubleval($ipnData['x_amount']);
$result = intval($ipnData['x_response_code']);
$respmsg = $ipnData['x_response_r... | {
"content_hash": "e51c42d2f0fd471b79f634bbe208de3a",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 200,
"avg_line_length": 34.246153846153845,
"alnum_prop": 0.6123090745732255,
"repo_name": "iamandrebulatov/Profile",
"id": "588c6c43c47d8c6fdd68e124c301df7019fea91f",
"si... |
@import (less) "prefix-free.css";
/* Tile view of BlobItem */
.cam-blobitem {
display: inline-block;
font-size: 0.8em;
}
.cam-blobitem>a {
text-decoration: none;
}
.cam-blobitem-thumbclip {
position: relative;
overflow: hidden;
}
.cam-blobitem-loading {
background-color: rgb(240, 240, 240);
}
.cam-blobite... | {
"content_hash": "e68521775385f80af886febe4cf7683e",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 164,
"avg_line_length": 17.235849056603772,
"alnum_prop": 0.7082649151614668,
"repo_name": "mortenpi/camlistore",
"id": "4bb6b4bb7d0d0011a1e425be6bbad043b470881c",
"size":... |
def parse_args():
""" Parsing commandline arguments. """
from argparse import ArgumentParser
parser = ArgumentParser("./cluster.py")
parser.add_argument("input", help="input file")
parser.add_argument("output",
nargs="?",
help="output file",
... | {
"content_hash": "b940170b6f39e781d2b7838e71a58c43",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 75,
"avg_line_length": 30.456521739130434,
"alnum_prop": 0.5438972162740899,
"repo_name": "akullpp/ClusterPy",
"id": "dc5529defee43d430266ec3f6b6cda309f65a18a",
"size": "14... |
package org.apache.spark.sql.execution.datasources.v2
import scala.collection.mutable
import org.apache.spark.sql.catalyst.expressions.{Alias, And, Attribute, AttributeReference, Cast, Divide, DivideDTInterval, DivideYMInterval, EqualTo, Expression, If, IntegerLiteral, Literal, NamedExpression, PredicateHelper, Pro... | {
"content_hash": "cd1edb80a645ec4097c959663a3008fe",
"timestamp": "",
"source": "github",
"line_count": 408,
"max_line_length": 268,
"avg_line_length": 47.76960784313726,
"alnum_prop": 0.6172909184197024,
"repo_name": "xuanyuanking/spark",
"id": "3ff917664b486e2e558d6c44d1d139bac52a5012",
"size": "... |
[](https://sonarcloud.io/summary/new_code?id=maibornwolff-gmbh_codecharta_analysis)
> CodeCharta by [MaibornWolff](https://www.maibornwolff.de)
## CodeCharta analysis ... | {
"content_hash": "2dd4f568b99978929f6553689edbb817",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 234,
"avg_line_length": 42.876288659793815,
"alnum_prop": 0.5773022361144506,
"repo_name": "MaibornWolff/codecharta",
"id": "a47ca42d44769c0699b958bd10b3b9cd54b7dd33",
"siz... |
package ph.devcon.android.attendee.db;
import com.j256.ormlite.support.ConnectionSource;
import com.j256.ormlite.table.TableUtils;
import java.sql.SQLException;
import ph.devcon.android.base.db.BaseDevConDaoImpl;
import ph.devcon.android.util.Util;
/**
* Created by lope on 9/16/14.
*/
public class AttendeeDaoIm... | {
"content_hash": "78e5a06728461d48e4853559253fcf14",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 106,
"avg_line_length": 27.043478260869566,
"alnum_prop": 0.7210610932475884,
"repo_name": "padc/DevConSummit",
"id": "a89f2adede40d7357676002a4f744fb7a9a0ffa8",
"size": "1... |
class Query::SpeciesListAtLocation < Query::SpeciesListBase
def parameter_declarations
super.merge(
location: Location
)
end
def initialize_flavor
location = find_cached_parameter_instance(Location, :location)
title_args[:location] = location.display_name
where << "species_lists.locatio... | {
"content_hash": "3c077d748e92728f66ad11735582ebfd",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 66,
"avg_line_length": 22.38888888888889,
"alnum_prop": 0.6947890818858561,
"repo_name": "JoeCohen/mushroom-observer",
"id": "912cd8da7db0af496257f959ff27e4fe0b68ac60",
"si... |
using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
using WebServer.Server.Enums;
using WebServer.Server.HTTP.Contracts;
namespace WebServer.Server.HTTP
{
public class HttpRequest : IHttpRequest
{
public HttpRequest(string requestString)
{
this.Head... | {
"content_hash": "127ce362cd0db72f425bcd0a6c47b9d0",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 85,
"avg_line_length": 30.294117647058822,
"alnum_prop": 0.5339805825242718,
"repo_name": "YaniLozanov/Software-University",
"id": "facf3a825222f10eb635fe3fde3a52c857592164"... |
'use strict;'
var helpers = require('./helpers'),
request = helpers.request,
chai = require('chai'),
assert = chai.assert,
expect = chai.expect,
should = chai.should();
require('co-mocha');
describe('Login', function() {
beforeEach(function *() {
yield helpers.database.sync({force: true});
... | {
"content_hash": "cfae425fa9171fda999269ffce580b78",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 72,
"avg_line_length": 27.666666666666668,
"alnum_prop": 0.6148464827050136,
"repo_name": "longgame/koa-boilerplate",
"id": "f02bc5619a70efcbbfdf0dede3ee2da4ce9272b9",
"siz... |
Polymer({
is: 'paper-input-container',
properties: {
/**
* Set to true to disable the floating label. The label disappears when the input value is
* not null.
*/
noLabelFloat: {
type: Boolean,
value: false
},
/**
* Set to true to always float... | {
"content_hash": "d49a19bf1636cbfa4d2afdb6ee8afda5",
"timestamp": "",
"source": "github",
"line_count": 294,
"max_line_length": 109,
"avg_line_length": 26.360544217687075,
"alnum_prop": 0.556258064516129,
"repo_name": "Bysmyyr/chromium-crosswalk",
"id": "731dd48a26d4902f9d511201126a876f672b60a2",
"... |
. ./project.sh
if ! [ -d "$PROJECT_PATH/web/.git" ]; then
echo "cloning wordpress sources..."
cd ${PROJECT_PATH}
if ! git clone https://github.com/WordPress/WordPress web; then
echo "git clone failed"
exit 1
fi
fi
cd ${PROJECT_PATH}/web
if [ "`git name-rev --tags --name-only $(git rev-parse HEAD)`" !=... | {
"content_hash": "6f01ad70f69caa448b3646ca688d0bed",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 90,
"avg_line_length": 27.11111111111111,
"alnum_prop": 0.6557377049180327,
"repo_name": "mazehall/eintopf-wordpress",
"id": "b122de4cca7efb88c245c3fff112a821c8673e18",
"si... |
"""
@package mi.dataset.driver.pco2w_abc.imodem
@file mi-dataset/mi/dataset/driver/pco2w_abc/imodem/pco2w_abc_imodem_recovered_driver.py
@author Mark Worden
@brief Driver for the pco2w_abc_imodem instrument
Release notes:
Initial Release
"""
from mi.dataset.dataset_parser import DataSetDriverConfigKeys
from mi.datas... | {
"content_hash": "b0932ffc4ce60922559fc523b77b2906",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 102,
"avg_line_length": 38.732394366197184,
"alnum_prop": 0.7232727272727273,
"repo_name": "JeffRoy/mi-dataset",
"id": "5f1479526d8c661c2495a177096ae9970017575f",
"size": "... |
package cz.jiripinkas.example.chat.controller;
import javax.validation.Valid;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.a... | {
"content_hash": "7f72da9d9596e15bbf72a99a28a4ad15",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 112,
"avg_line_length": 26.604938271604937,
"alnum_prop": 0.7429234338747099,
"repo_name": "pdevashish29/pdpchat123",
"id": "e6738683c9d83bcbc0c43c1dbeb7aa4f9c09a6b2",
"siz... |
set(CTEST_PROJECT_NAME "GTKorvo")
set(CTEST_NIGHTLY_START_TIME "01:00:00 UTC")
set(CTEST_DROP_METHOD "http")
set(CTEST_DROP_SITE "open.cdash.org")
set(CTEST_DROP_LOCATION "/submit.php?project=GTKorvo")
set(CTEST_DROP_SITE_CDASH TRUE)
set(CTEST_LABELS_FOR_SUBPROJECTS EVPath)
| {
"content_hash": "37a9b77d76b5d53722a6b1024eaa01d3",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 54,
"avg_line_length": 30.77777777777778,
"alnum_prop": 0.7617328519855595,
"repo_name": "ornladios/ADIOS2",
"id": "91a394771845e72eca1c17ab9470322f666a5735",
"size": "277",... |
export {default as base64} from './base64';
export {default as cappedDebounce} from './capped-debounce';
export {default as checkRequired} from './check-required';
export {default as Defer} from './defer';
export {default as makeStateDataType} from './make-state-datatype';
export {default as make} from './template-co... | {
"content_hash": "90210e2f131e9522282748b9a42f7b36",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 67,
"avg_line_length": 40,
"alnum_prop": 0.7297619047619047,
"repo_name": "tran2/spark-js-sdk",
"id": "fecffe08a6cfc8ac07f0c7cf7521ad471b5e6718",
"size": "912",
"binary":... |
package org.apache.cassandra.db;
import java.io.*;
import java.lang.management.ManagementFactory;
import java.nio.ByteBuffer;
import java.util.*;
import java.util.concurrent.*;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicLong;
import java.util.regex.Pattern;
import java... | {
"content_hash": "f0f0c8dd97c6b45aed959d327c1c62af",
"timestamp": "",
"source": "github",
"line_count": 1826,
"max_line_length": 192,
"avg_line_length": 36.83132530120482,
"alnum_prop": 0.6259702025158355,
"repo_name": "tadeegan/eiger",
"id": "805c55cd076fdb9f5f0d6201bf893ca6d4312d79",
"size": "680... |
'use strict';
moduloServicio.controller('ServicioViewpopController', ['$scope', '$routeParams', 'serverService', 'servicioService', '$location', '$uibModalInstance', 'id',
function ($scope, $routeParams, serverService, servicioService, $location, $uibModalInstance, id) {
$scope.fields = servicioService.g... | {
"content_hash": "a0f4a0097840f23b7d063e3be8048bea",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 157,
"avg_line_length": 43.4375,
"alnum_prop": 0.5661870503597123,
"repo_name": "Ecoivan/sisane-client",
"id": "2160b90e5b5e54f7315fdcb6dbca937e5d364178",
"size": "2815",
... |
package middleware
import (
"bufio"
"io"
"net"
"net/http"
)
var WrapResponseWriterCtxKey = &contextKey{"WrapResponseWriter"}
// WrapResponseWriter is a proxy around an http.ResponseWriter that allows you to hook
// into various parts of the response process.
type WrapResponseWriter interface {
http.ResponseWrit... | {
"content_hash": "a7a1b870a50fac0b5be59b7e99b272ff",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 91,
"avg_line_length": 26.93617021276596,
"alnum_prop": 0.7169562927856766,
"repo_name": "pressly/imgry",
"id": "2c8fba8e19f78f0976b54334330b5585a9a6f6dc",
"size": "3798",... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>测试 登录</title>
</head>
<body>
<form action="/api/hello/users/login" method="post">
<p>Name:<input type="text" name="name"/></p>
<p>Password:<input type="text" name="password"/></p>
<input type="submit" value="submit"/>
</form>
</bo... | {
"content_hash": "2ae48f8c35147e2eba9ee33b79745b3d",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 56,
"avg_line_length": 23.642857142857142,
"alnum_prop": 0.6042296072507553,
"repo_name": "echo1937/HeadFirst-Spring-Develop",
"id": "b51186ad79968fe3e8064cdf1d3493970ac0942f... |
package org.odlabs.wiquery.ui.accordion;
import org.odlabs.wiquery.core.options.IComplexOption;
import org.odlabs.wiquery.core.options.Options;
/**
* $Id EffectOptionObject.java$
*
* <p>
* Complex option to store the possible options for the effect.
* </p>
*
* @author Stephane Gleizes
* @since 6.9.2
*/
pu... | {
"content_hash": "f10009299c47a622667f6e84aaa19b52",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 82,
"avg_line_length": 18.47826086956522,
"alnum_prop": 0.6935294117647058,
"repo_name": "WiQuery/wiquery",
"id": "cfdab323fda84f4a62e661c89790e4bac6d8d5ba",
"size": "2819"... |
int main(int argc, char *argv[])
{
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
| {
"content_hash": "5d35df0fbe03d84bc6b1bd0e01234a28",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 90,
"avg_line_length": 26.166666666666668,
"alnum_prop": 0.6624203821656051,
"repo_name": "iStig/iMeasure",
"id": "46d39c8eeda6ff927649fc7e9b94de048dd7e3ae",
"size": "335",
... |
<?php
class Google_Service_Vision_GoogleCloudVisionV1p2beta1AnnotateImageResponse extends Google_Collection
{
protected $collection_key = 'textAnnotations';
protected $contextType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1ImageAnnotationContext';
protected $contextDataType = '';
protected $cropHintsA... | {
"content_hash": "7bb79bbf85e2300aa88c8b88f6745994",
"timestamp": "",
"source": "github",
"line_count": 216,
"max_line_length": 138,
"avg_line_length": 34.291666666666664,
"alnum_prop": 0.772782503037667,
"repo_name": "moometric/GSuiteSignatureManager",
"id": "df849e8ef54bb27085a941c253e7b498423ac9d2... |
<?php
/*
|--------------------------------------------------------------------------
| Routes File
|--------------------------------------------------------------------------
|
| Here is where you will register all of the routes in an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| an... | {
"content_hash": "1f76256e4362f5c6f4b9eb3f2b7b4fff",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 125,
"avg_line_length": 39.369565217391305,
"alnum_prop": 0.5944229707344009,
"repo_name": "Michielst/Secops",
"id": "00e15cac026cc4605ab677e4f5bfd4d8d6ee3876",
"size": "36... |
#ifdef INTEL_MKL
#include <limits>
#include <vector>
#include <unordered_map>
#include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor"
#include "tensorflow/core/framework/op_kernel.h"
#include "tensorflow/core/framework/register_types.h"
#include "tensorflow/core/framework/tensor.h"
#include "tensorflow/core/fr... | {
"content_hash": "c1bf60aaab5ce4b70a9852a518e526b5",
"timestamp": "",
"source": "github",
"line_count": 920,
"max_line_length": 92,
"avg_line_length": 39.93913043478261,
"alnum_prop": 0.5837687785760941,
"repo_name": "manipopopo/tensorflow",
"id": "8ad7ebb51f3c113928a39f867bfa0950257d6388",
"size":... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("05... | {
"content_hash": "67fe24bcc1c042ad24e33498fa63d706",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 39.361111111111114,
"alnum_prop": 0.7473535638673253,
"repo_name": "vanncho/SoftUni-Entrance-Exam-Prepare",
"id": "e55801fc2df34020ed04198b0b09aeb55aa1... |
{{extend 'layout.html'}}
<h2>{{=T( request.args(0).replace('_',' ').capitalize() )}}</h2>
<div id="web2py_user_form">
{{
if request.args(0)=='login':
if not 'register' in auth.settings.actions_disabled:
form.add_button(T('Register'),URL(args='register'),_class='btn')
pass
if not 'request_reset_passw... | {
"content_hash": "56f5efbe9dc40092b19b00be3fbab77c",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 91,
"avg_line_length": 35.56521739130435,
"alnum_prop": 0.6577017114914425,
"repo_name": "codeupstudio/chipincode",
"id": "475be5b36cdc035647ce187715c43020eaef5956",
"size"... |
<?php
namespace ZFTest\Rest\Listener;
use Zend\EventManager\SharedEventManager;
use ZF\Rest\Listener\RestParametersListener;
use ZF\Rest\Resource;
use ZF\Rest\RestController;
use PHPUnit_Framework_TestCase as TestCase;
use Zend\Http\PhpEnvironment\Request;
use Zend\Mvc\MvcEvent;
use Zend\Mvc\Router\RouteMatch;
use Z... | {
"content_hash": "139c79e707bc67b446b41546b0f9d84a",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 106,
"avg_line_length": 32.51219512195122,
"alnum_prop": 0.6695423855963991,
"repo_name": "antarus/mystra-pve",
"id": "f5d6844a242fe21b896decd37be2b2f12ce888b1",
"size": "2... |
package org.cagrid.iso21090.tests.integration.story;
import gov.nih.nci.cagrid.testing.system.haste.Step;
import gov.nih.nci.cagrid.testing.system.haste.Story;
import java.util.Vector;
import org.cagrid.iso21090.tests.integration.steps.BuildExampleProjectStep;
import org.cagrid.iso21090.tests.integration.st... | {
"content_hash": "da71aa763f94d5b7cef943db3bcfb446",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 99,
"avg_line_length": 29.069767441860463,
"alnum_prop": 0.6896,
"repo_name": "NCIP/cagrid-core",
"id": "4b099e8c9d06a1b222a48240a88402967ad8cfe8",
"size": "1739",
"binar... |
from nose.tools import *
from game.bin.map import *
def test_room():
gold = Room("GoldRoom",
"""This room has gold in it you can grab. There's a
door to the north.""")
assert_equal(gold.name, "GoldRoom")
assert_equal(gold.paths, {})
def test_room_paths():
center = Room(... | {
"content_hash": "9e43afaf0672ba1038ef2b4f3ad3bbe1",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 67,
"avg_line_length": 34.21052631578947,
"alnum_prop": 0.6161538461538462,
"repo_name": "pwittchen/learn-python-the-hard-way",
"id": "6f69602289dda57334178dce9d8c58b3f4d4eb0... |
Code repository to accompany blog post
| {
"content_hash": "bb0aed22f92130b7591a65d1b29c16e7",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 38,
"avg_line_length": 39,
"alnum_prop": 0.8461538461538461,
"repo_name": "nicholasjackson/functional-testing-with-docker",
"id": "e6be0c24ecf5d27ce111f91da6691f3d95fc6429",
... |
@implementation ExploreObsFieldValue
+ (NSDictionary *)JSONKeyPathsByPropertyKey{
return @{
@"obsFieldValueId": @"id",
@"value": @"value",
@"obsField": @"observation_field",
@"uuid": @"uuid",
};
}
+ (NSValueTransformer *)obsFieldJSONTransformer {
return [NSValueTransformer ... | {
"content_hash": "37c8f66aea0b5101c41999321907c747",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 98,
"avg_line_length": 24.75,
"alnum_prop": 0.6717171717171717,
"repo_name": "inaturalist/INaturalistIOS",
"id": "32c95d01f5f26d2b44b99255fae401b216d7a8a8",
"size": "607",
... |
"""
A sub-package for efficiently dealing with polynomials.
Within the documentation for this sub-package, a "finite power series,"
i.e., a polynomial (also referred to simply as a "series") is represented
by a 1-D numpy array of the polynomial's coefficients, ordered from lowest
order term to highest. For example, a... | {
"content_hash": "1f11cf024934b300412120b3c85d834d",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 76,
"avg_line_length": 42.22222222222222,
"alnum_prop": 0.7736842105263158,
"repo_name": "ryfeus/lambda-packs",
"id": "ae5b1f078dd71da24bd974ca97c11f9ad362903a",
"size": "1... |
package com.gmail.blueboxware.libgdxplugin.filetypes.bitmapFont.psi;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.psi.PsiElement;
public interface BitmapFontPageDefinition extends PropertyContainer {
@NotNull
List<BitmapFontProperty> getPropertyList();
}
| {
"content_hash": "cc98e7839e35534f4a1030dba89f0cef",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 69,
"avg_line_length": 24.75,
"alnum_prop": 0.8215488215488216,
"repo_name": "BlueBoxWare/LibGDXPlugin",
"id": "3e54a705f788056417845130998cf761ca266f10",
"size": "359",
... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "d3d53197c65c8b83c54aa134465ee68e",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "2ad3488a4f539b1d6a539c5ea74697c6c8bbe07a",
"size": "179... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>DocStrap Module: base/chains</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/sunlight.default.css">
<link type="text/css" rel="... | {
"content_hash": "a2f80a62daad473c6850219e9b9d5b7e",
"timestamp": "",
"source": "github",
"line_count": 268,
"max_line_length": 847,
"avg_line_length": 24.470149253731343,
"alnum_prop": 0.6145166209210126,
"repo_name": "labertasch/awesome",
"id": "0222cbe35490d74370bebc816d6a008108a00233",
"size": ... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/******************************************************************************
* This file is auto-generated from ... | {
"content_hash": "4b233e072aa45f3fab49001cbb027374",
"timestamp": "",
"source": "github",
"line_count": 229,
"max_line_length": 174,
"avg_line_length": 38.88209606986899,
"alnum_prop": 0.568733153638814,
"repo_name": "poizan42/coreclr",
"id": "97412c3a570d59723e97764119843892eb10a901",
"size": "890... |
// ~~strike through~~
//
'use strict';
// Insert each marker as a separate text token, and add it to delimiter list
//
module.exports.tokenize = function strikethrough(state, silent) {
var i, scanned, token, len, ch,
start = state.pos,
marker = state.src.charCodeAt(start);
if (silent) { return false;... | {
"content_hash": "80314088033854de1983d8dc58d8083e",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 76,
"avg_line_length": 22.755725190839694,
"alnum_prop": 0.5622274404562227,
"repo_name": "glenngillen/dotfiles",
"id": "f3afe4a3dbc0a83f095ada5c66356363a5792ba0",
"size":... |
package org.apache.spark.sql.execution.ui
import java.net.URLEncoder
import java.nio.charset.StandardCharsets.UTF_8
import javax.servlet.http.HttpServletRequest
import scala.collection.JavaConverters._
import scala.collection.mutable
import scala.xml.{Node, NodeSeq, Unparsed}
import org.apache.spark.JobExecutionSt... | {
"content_hash": "cd31d63b87144b73578a61b0edd17ff1",
"timestamp": "",
"source": "github",
"line_count": 496,
"max_line_length": 99,
"avg_line_length": 33.18346774193548,
"alnum_prop": 0.6172306944528829,
"repo_name": "skonto/spark",
"id": "5ce052a0ae997fdca43e433613e303da5f0a8e4e",
"size": "17259",... |
package com.huawei.esdk.demo.gen;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for BookmarkInfo complex type.
*
* <p>The following schema fragment speci... | {
"content_hash": "0d4b0836aa2be2a132e47605c66c635c",
"timestamp": "",
"source": "github",
"line_count": 324,
"max_line_length": 99,
"avg_line_length": 23.546296296296298,
"alnum_prop": 0.5595753047581596,
"repo_name": "eSDK/esdk_ivs_native_java",
"id": "04eb75dbecde59ade9c5b6e79bafd0c50d7dc3c3",
"s... |
import { BulkActionPayload, BulkActionProps } from '../entities/bulk-action'
import { PlainClientAPI } from '../plain/common-types'
import { AsyncActionProcessingOptions, pollAsyncActionStatus } from './action'
type PlainOptions = {
/** Used by the PlainClient to perform a poll for the BulkAction status */
plainCl... | {
"content_hash": "9e6bdc484e50fa33742ae77292434334",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 85,
"avg_line_length": 33.285714285714285,
"alnum_prop": 0.7317596566523605,
"repo_name": "contentful/contentful-management.js",
"id": "c9c85b771d8f6e39a4f3cc0047c46b89b2be5e... |
module ChargesHelper
# determine if the given user has ordered by card and if so return the charge
# given user may be nil, in which case nil is returned (save caller checking)
# nil is also returned if no stripe order was placed
# from the returned charge one may get the card (to display last4) or
# the ... | {
"content_hash": "56d2cf9c183bae6b559edacd9cdacf38",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 96,
"avg_line_length": 37.470588235294116,
"alnum_prop": 0.6923076923076923,
"repo_name": "rubyclerks/sales_clerk",
"id": "f7a2ccc890dad788d84f713e88fd3e55680db9df",
"size"... |
<html><head><META http-equiv="content-type" content="text/html;charset=iso-8859-9"/><meta name="viewport" content="width=device-width, initial-scale=1"><title>ac</title> <link rel="stylesheet" href="css/jquery.mobile-1.2.0.css" /><style type="text/css">.content-primary {text-align: left;}#header h3 {text-align: left;}... | {
"content_hash": "7767893dc7ca91cea7c2c72a0cad31de",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 556,
"avg_line_length": 84.58823529411765,
"alnum_prop": 0.7920723226703755,
"repo_name": "relmas/evliya",
"id": "02fb8553b17e839adce1aba61de886957d880250",
"size": "2876",... |
ID = "chatevent"
permission = 3
privmsgEnabled = False
def timer(self, channels):
self.sendChatMessage(self.send, channels[0], "pong")
def chatEvent(self, channels, userdata, message, currChannel):
#print channels
#print currChannel
if channels != False:
if currChannel in channels:
... | {
"content_hash": "5583291cf43aa9db92b6e4cfdd3af3db",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 102,
"avg_line_length": 42.03846153846154,
"alnum_prop": 0.6052150045745655,
"repo_name": "NightKev/Renol-IRC",
"id": "a5e6824fd987336aff9007f95e0d05b73a9b4e3f",
"size": "2... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis.... | {
"content_hash": "4930b23f6ac586ae5cc2e9d0ad83a69a",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 128,
"avg_line_length": 44.09090909090909,
"alnum_prop": 0.5778819119025305,
"repo_name": "mavasani/roslyn",
"id": "2e696945806a96587be8b118054bc113d185e5ab",
"size": "533... |
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
#pragma warning disable CS1591
namespace VueCoreFramework.Sample.Migrations
{
public partial class InitialSampleDbMigration : Migration
{
protected override voi... | {
"content_hash": "cf75eccbe31630cc128fd191d3c9b133",
"timestamp": "",
"source": "github",
"line_count": 437,
"max_line_length": 123,
"avg_line_length": 47.75057208237986,
"alnum_prop": 0.49906551013562084,
"repo_name": "WilStead/VueCoreFramework",
"id": "312b0e732426e85bc237816e76d144d6d79e4a94",
"... |
cask 'adobe-reader' do
version '15.023.20053'
sha256 '5dd1cffa2bd23be9708b0690ca1ce5bdf0ab708da129ca11c843b6670a73390d'
url "http://ardownload.adobe.com/pub/adobe/reader/mac/AcrobatDC/#{version.no_dots}/AcroRdrDC_#{version.no_dots}_MUI.dmg"
name 'Adobe Acrobat Reader DC'
homepage 'https://acrobat.adobe.com/u... | {
"content_hash": "68faf04eec702ea2ce6a28acd832eaa6",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 122,
"avg_line_length": 39.40909090909091,
"alnum_prop": 0.6378316032295271,
"repo_name": "xcezx/homebrew-cask",
"id": "17f4aa439c91839d002eb031d5dc7f0ebf5dec5e",
"size": "... |
@import NSObject_SafeExpectations;
@import AFNetworking;
static NSString *const WordPressComApiClientEndpointURL = @"https://public-api.wordpress.com/rest/v1.1";
static NSInteger const NumberOfDays = 12;
typedef void (^TaskUpdateHandler)(NSURLSessionTask *, NSArray<NSURLSessionTask*> *);
@interface WPStatsServiceRem... | {
"content_hash": "1b8fc2fd8f8d4a7c6416c90337eb646e",
"timestamp": "",
"source": "github",
"line_count": 1902,
"max_line_length": 203,
"avg_line_length": 45.74553101997897,
"alnum_prop": 0.61316200809121,
"repo_name": "wordpress-mobile/WordPressCom-Stats-iOS",
"id": "a01ab1fc96a4a3cfea51bba8020ac28be5... |
<?php
if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly
}
class TitanFrameworkOptionMulticheckPosts extends TitanFrameworkOptionMulticheck {
public $defaultSecondarySettings = array(
'options' => array(),
'post_type' => 'post',
'num' => -1,
'post_status' => 'any',
'orderby' => 'post_date',... | {
"content_hash": "7fdd280fbb70265682add1ab3c25ac7f",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 110,
"avg_line_length": 27.864864864864863,
"alnum_prop": 0.5800193986420951,
"repo_name": "abettermap/bike-coop-plugin",
"id": "1b2a7723b566a16d0db515bf5c6013c1af7346c8",
... |
import { StyleSheet } from 'react-native';
const transparent = 'transparent';
const styles = StyleSheet.create({
activityIndicator: {
flex: 1
},
background: {
alignItems: 'center',
bottom: 0,
justifyContent: 'center',
left: 0,
position: 'absolute',
rig... | {
"content_hash": "fd4b314646c520deb72d6fd453cb3ab7",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 42,
"avg_line_length": 20.785714285714285,
"alnum_prop": 0.49026345933562426,
"repo_name": "joinspontaneous/react-native-loading-spinner-overlay",
"id": "9f3a1e31bb64523c4a68... |
<?php declare(strict_types=1);
namespace Tests\Http;
use Onion\Framework\Dependency\Interfaces\FactoryInterface;
use Onion\Framework\Http\RequestHandler\Factory\RequestHandlerFactory;
use Prophecy\Argument\Token\AnyValueToken;
use Psr\Container\ContainerInterface;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\M... | {
"content_hash": "9565baf874ea4ed7edddc79633cb2e22",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 90,
"avg_line_length": 39,
"alnum_prop": 0.6748717948717948,
"repo_name": "phOnion/framework",
"id": "07f66bf95f4b247aea4cddab153a3fc40f5b2654",
"size": "2925",
"binary":... |
<!-- ! Licensed to the Apache Software Foundation (ASF) under one or more
! contributor license agreements. See the NOTICE file distributed with !
this work for additional information regarding copyright ownership. ! The
ASF licenses this file to You under the Apache License, Version 2.0 ! (the
"License"); you ... | {
"content_hash": "e7ec8452739a3eb75ae3f0792f84b071",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 109,
"avg_line_length": 44.833333333333336,
"alnum_prop": 0.6762081784386617,
"repo_name": "kalaspuffar/pdfbox",
"id": "d241ec78153daba5711b6b2caff3e039221f4793",
"size": ... |
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.gmf.runtime.common.core.command.CommandResu... | {
"content_hash": "9358664bbc5871e665aa740df70e7a1f",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 115,
"avg_line_length": 33.45,
"alnum_prop": 0.7828849028400597,
"repo_name": "nwnpallewela/developer-studio",
"id": "09acb947e305b89628e86ca542609c50fd5efcb5",
"size": "26... |
<?php
namespace Crocvoisin\PreinscritBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class CrocvoisinPreinscritBundle extends Bundle
{
}
| {
"content_hash": "8d4e2b1d475b3ce78e2aa08c23efa46c",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 47,
"avg_line_length": 16.444444444444443,
"alnum_prop": 0.831081081081081,
"repo_name": "lukaslpzi/croc",
"id": "4f5ade161270eea01db951b258b701130b31c175",
"size": "148",
... |
using System;
using ServiceStack.ServiceInterface.Auth;
using ServiceStack.WebHost.Endpoints;
namespace ServiceStack.ServiceInterface
{
/// <summary>
/// Enable the authentication feature and configure the AuthService.
/// </summary>
public class AuthFeature
{
public static void Init(IAppHost appHos... | {
"content_hash": "246de4f80390b531e086871cf35f4d93",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 111,
"avg_line_length": 27.470588235294116,
"alnum_prop": 0.7473233404710921,
"repo_name": "xamarin/ServiceStack",
"id": "acdbbfc1c12bb468c7f41d19feaba41481d27753",
"size":... |
namespace erizo {
enum BwDistributorType {
MAX_VIDEO_BW,
TARGET_VIDEO_BW,
STREAM_PRIORITY,
};
class StreamPriorityStep {
public:
std::string priority;
std::string level;
StreamPriorityStep(std::string aPriority, std::string aLevel);
bool isLevelFallback();
bool isLevelSlideshow();
bool isLevelMax... | {
"content_hash": "15d44bebbfbb36137999d0d24be8fb55",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 97,
"avg_line_length": 25.12962962962963,
"alnum_prop": 0.7450257921886514,
"repo_name": "jcague/licode",
"id": "798b28fc58bd6501f6432025939dce2c03582de6",
"size": "1511",
... |
package io.sunflower.logging;
import ch.qos.logback.classic.LoggerContext;
import io.sunflower.util.Duration;
import org.slf4j.ILoggerFactory;
import org.slf4j.LoggerFactory;
import org.slf4j.bridge.SLF4JBridgeHandler;
import javax.annotation.concurrent.GuardedBy;
import java.util.concurrent.locks.Lock;
import java.u... | {
"content_hash": "dd1428a53ed300584c67f1ef04ed3a1c",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 100,
"avg_line_length": 40.63513513513514,
"alnum_prop": 0.6621217159960093,
"repo_name": "hixuym/sf-framework",
"id": "619bcc08284bac761ace57da52f2febf0d154fb9",
"size": "... |
//
// SZDownload_UnfinishedItemsResponse.h
// OTIS_PJ
//
// Created by sunze on 16/5/5.
// Copyright © 2016年 sunzeboy. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface SZDownload_UnfinishedItemsResponse : NSObject
/**
* 返回结果
*/
@property (nonatomic , copy) NSString *Result;
/**
* 报告记录
*/... | {
"content_hash": "a8c22ba583a0591b235379fc5f794fb5",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 56,
"avg_line_length": 15.121951219512194,
"alnum_prop": 0.6838709677419355,
"repo_name": "sunzeboy/OTISPJ",
"id": "c01d740a14f092d05c8fc1b024353e6afef138f0",
"size": "729"... |
#include "syslib.h"
PUBLIC int sys_fork(parent, child, pid)
int parent; /* process doing the fork */
int child; /* which proc has been created by the fork */
int pid; /* process id assigned by MM */
{
/* A process has forked. Tell the kernel. */
message m;
m.m1_i1 = parent;
m.m1_i2 = child;
m.m1_i3 = ... | {
"content_hash": "d4892da386ad7640ea4e09afc3b9d418",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 58,
"avg_line_length": 23.1875,
"alnum_prop": 0.633423180592992,
"repo_name": "aunali1/Minix2.0.4-RPi",
"id": "caff9c0e64af3013a40ae9b982f0cd3d3cb1c54b",
"size": "371",
"... |
<div ng-controller="SearchCtrl">
<nav id="mainNav" class="navbar navbar-default navbar-fixed-top">
<div>
<div class="navbar-header">
<span class="navbar-brand page-scroll">GitHub</span>
</div>
</div>
</nav>
<header>
<div class="header-content... | {
"content_hash": "60880b0759a3f545e9584b4387cf66de",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 122,
"avg_line_length": 34.464285714285715,
"alnum_prop": 0.46217616580310883,
"repo_name": "adrianorosaferreira/users-github",
"id": "efef88679b0ec117305853de2580b2717153f5a... |
name "test-kitchen"
default_version "master"
relative_path "test-kitchen"
source git: "https://github.com/test-kitchen/test-kitchen.git"
dependency "ruby"
dependency "rubygems"
dependency "nokogiri"
build do
env = with_standard_compiler_flags(with_embedded_path)
gemfile = "#{project_dir}/Gemfile"
tmp_gemfile =... | {
"content_hash": "6d1157631c1f42273d772e43b8a1c853",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 62,
"avg_line_length": 24.56756756756757,
"alnum_prop": 0.6644664466446645,
"repo_name": "atomic-penguin/omnibus-software",
"id": "5ee9296002be9c8a877d51c25e3dd0489065a464",
... |
import { Injectable } from '@angular/core';
import 'rxjs/add/operator/toPromise';
import { Role } from '../roles/model';
import { Permission } from '../permissions/model';
import { Authorization } from '../authorization/model';
import { MODULE } from '../shared/cons... | {
"content_hash": "b7c70934778c67ddb02c63709181fc96",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 114,
"avg_line_length": 29.25581395348837,
"alnum_prop": 0.6701112877583466,
"repo_name": "mohankumaranna/apt-maintenance-account",
"id": "74ff6a80e6bd179a15155ee0e202882252e... |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Game.Beatmaps;
usi... | {
"content_hash": "1700170eb806de8822414e9e5a10d0b4",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 138,
"avg_line_length": 37.53333333333333,
"alnum_prop": 0.7101835405565423,
"repo_name": "NeoAdonis/osu",
"id": "2efc4176f5598a9de59889cb4a4f312f65fd9b65",
"size": "3380",... |
<!DOCTYPE html>
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>LinkUp - Multipurpose HTML Template</title>
<link rel="icon" type="image/png" href="images/favicon.png" />
<!--[if lt IE 9]>
<link rel="stylesheet" type="text/css" href="css/ie-fix.css" />
<![endif]-->
<link rel="... | {
"content_hash": "f5a99d369b99f848f32f83079e0199f4",
"timestamp": "",
"source": "github",
"line_count": 530,
"max_line_length": 972,
"avg_line_length": 41.39056603773585,
"alnum_prop": 0.5856771664311438,
"repo_name": "lavorheart/blog",
"id": "aa22ec726c7a00266b71ca967bf2ccfaf8362f54",
"size": "219... |
import * as fs from 'fs';
import { prerelease } from 'semver';
import { packages } from '../../../../lib/packages';
import { getGlobalVariable } from './env';
import { prependToFile, readFile, replaceInFile, writeFile } from './fs';
import { gitCommit } from './git';
import { execAndWaitForOutputToMatch, git, ng, npm, ... | {
"content_hash": "294b5d5c928f46f98bdd656731808669",
"timestamp": "",
"source": "github",
"line_count": 305,
"max_line_length": 115,
"avg_line_length": 31.757377049180327,
"alnum_prop": 0.5971505265331406,
"repo_name": "manekinekko/angular-cli",
"id": "276b6adea7d0063e24ad4f3e311fcbb8595ad25a",
"si... |
from __future__ import absolute_import
from __future__ import print_function
from spdx import checksum
from spdx import document
from spdx import utils
import hashlib
class FileType(object):
SOURCE = 1
BINARY = 2
ARCHIVE = 3
OTHER = 4
class File(object):
"""Representation of SPDX file.
Fie... | {
"content_hash": "1f3f685b6021c72269f4732aee2559db",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 119,
"avg_line_length": 35.593333333333334,
"alnum_prop": 0.6210900917774864,
"repo_name": "bmwcarit/spdx-tools-python",
"id": "5613ea6835e49313639063f81e6e24f4ce170d5b",
... |
namespace boost
{
// Specialize this for user-defined types
template<typename T>
struct has_reverse
: is_std_list<T>
{
};
}
#endif
| {
"content_hash": "8c1a96010a985d6ccdc86d9481e297ea",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 45,
"avg_line_length": 14.545454545454545,
"alnum_prop": 0.59375,
"repo_name": "darklost/darkforce",
"id": "74011d1f7ea45b90865f60557c539c5c41f5c846",
"size": "801",
"bin... |
namespace OpenOrderFramework.Migrations
{
using System.CodeDom.Compiler;
using System.Data.Entity.Migrations;
using System.Data.Entity.Migrations.Infrastructure;
using System.Resources;
[GeneratedCode("EntityFramework.Migrations", "6.1.0-30225")]
public sealed partial class updatedentity : ... | {
"content_hash": "a76c195172e810852db4c1928028315a",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 96,
"avg_line_length": 28.821428571428573,
"alnum_prop": 0.6257744733581165,
"repo_name": "mufaddalgulshan/test",
"id": "2a1bfab481ff41bb7286f82ae462d46e73195819",
"size": ... |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... | {
"content_hash": "4e6e40e2572d28ca2ead7b2761b8f2d3",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 182,
"avg_line_length": 39.28787878787879,
"alnum_prop": 0.7747782491322792,
"repo_name": "googleapis/google-api-java-client-services",
"id": "2b1994f92dfb0badcac0d07112b171c... |
package ndr
import (
"errors"
"fmt"
"reflect"
)
// Union interface must be implemented by structs that will be unmarshaled into from the NDR byte stream union representation.
// The union's discriminating tag will be passed to the SwitchFunc method.
// The discriminating tag field must have the struct tag: `ndr:"u... | {
"content_hash": "c6c5d9f9302fe76aa309a28a4173a6f4",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 132,
"avg_line_length": 39.280701754385966,
"alnum_prop": 0.7324698526127735,
"repo_name": "github/git-lfs",
"id": "6a657fa6f660e997de598969147f751b30476e54",
"size": "2239... |
package org.ovirt.engine.core.dao.provider;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.List;
import javax.inject.Named;
import javax.inject.Singleton;
import org.ovirt.engine.core.common.businessentities.OpenStackImageProviderProperties;
import org.ovirt.engin... | {
"content_hash": "0734056d7ed3fe6e502fa9e25f5b8a6e",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 147,
"avg_line_length": 48.72514619883041,
"alnum_prop": 0.6817090734517522,
"repo_name": "walteryang47/ovirt-engine",
"id": "ed6fb858dd633d6e65fa94eb87e2ab265579c9b8",
"s... |
using Showcase.Wpf.Base;
namespace Showcase.Wpf.ViewModels
{
public interface IMainWindowViewModel : IViewModel
{
}
} | {
"content_hash": "7c5b355f5a17eb837b83bc6b1f7c5d80",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 54,
"avg_line_length": 16.375,
"alnum_prop": 0.7251908396946565,
"repo_name": "mrshridhara/showcase",
"id": "938d2326b60eb849aa5a3b0d374d4933d7912e49",
"size": "133",
"bin... |
#include "test/testsupport/metrics/video_metrics.h"
#include <assert.h>
#include <stdio.h>
#include <algorithm> // min_element, max_element
#include <memory>
#include "api/video/i420_buffer.h"
#include "api/video/video_frame.h"
#include "common_video/libyuv/include/webrtc_libyuv.h"
#include "test/frame_utils.h"
#... | {
"content_hash": "2fdaa25c3d44e0c7d6d250b51cc438e1",
"timestamp": "",
"source": "github",
"line_count": 185,
"max_line_length": 80,
"avg_line_length": 32.77837837837838,
"alnum_prop": 0.6088390501319261,
"repo_name": "wangcy6/storm_app",
"id": "8fa9ea350bcf0b835d2e5d6a6c2cf5ec86b207c0",
"size": "64... |
#ifndef AMBROLIB_NULL_WATCHDOG_H
#define AMBROLIB_NULL_WATCHDOG_H
#include <aprinter/base/Object.h>
#include <aprinter/base/DebugObject.h>
#include <aprinter/BeginNamespace.h>
template <typename Context, typename ParentObject>
class NullWatchdog {
public:
struct Object;
private:
using TheDebugObject =... | {
"content_hash": "e579f8761ef94852b711222efbbec7fb",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 96,
"avg_line_length": 20.693877551020407,
"alnum_prop": 0.6903353057199211,
"repo_name": "johnkingsley/aprinter",
"id": "e5d56d3c7e5a6b5124af5754d9565541d21efbc4",
"size":... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>W25854_extracted</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div style="margin-left: auto; margin-right: auto; width: 800px; overflow: hidden;">
... | {
"content_hash": "015c94f1d597744946ace12ac5253a92",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 358,
"avg_line_length": 43.52173913043478,
"alnum_prop": 0.5884115884115884,
"repo_name": "datamade/elpc_bakken",
"id": "748d7528f98bf5f7edb64644a74bedc946b01cfe",
"size": ... |
!function webpackUniversalModuleDefinition(root, factory) {
if ("object" == typeof exports && "object" == typeof module) module.exports = factory(); else if ("function" == typeof define && define.amd) define([], factory); else {
var a = factory();
for (var i in a) ("object" == typeof exports ? expo... | {
"content_hash": "75861d861f63239a29f27917f03630bf",
"timestamp": "",
"source": "github",
"line_count": 2430,
"max_line_length": 561,
"avg_line_length": 70.7761316872428,
"alnum_prop": 0.5033200376774853,
"repo_name": "cdnjs/cdnjs",
"id": "f0b4a18430beb0e46c77902e6f874d0bc9697784",
"size": "172160"... |
package uk.ac.ebi.jmzml.xml.jaxb.resolver;
import org.apache.log4j.Logger;
import org.xml.sax.InputSource;
import uk.ac.ebi.jmzml.model.mzml.MzMLObject;
import uk.ac.ebi.jmzml.xml.io.MzMLObjectCache;
import uk.ac.ebi.jmzml.xml.jaxb.unmarshaller.UnmarshallerFactory;
import uk.ac.ebi.jmzml.xml.jaxb.unmarshaller.f... | {
"content_hash": "f576613c5a36ee6584f593f03e1b29c9",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 134,
"avg_line_length": 39.340425531914896,
"alnum_prop": 0.65440778799351,
"repo_name": "tomas-pluskal/jmzml",
"id": "89834702f02854f360aca43030fc2fdd83db2a3e",
"size": "3... |
<!DOCTYPE html>
<html>
<head>
<title>postMessage chrome message receiver</title>
<script type="application/javascript">
var gPrePath = "";
function receiveMessage(evt)
{
if (evt.data.substring(0,9) == "chrome://") {
gPrePath = evt.data;
respond("path-is-set");
} else {
... | {
"content_hash": "f0aa548ecd00eba8fdede90ed08750ad",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 65,
"avg_line_length": 25.877551020408163,
"alnum_prop": 0.5283911671924291,
"repo_name": "wilebeast/FireFox-OS",
"id": "86a57ed0f6afe9600c1ed180e7d702d67c4eb011",
"size": ... |
package testpkg;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.slf4j.Marker;
import org.slf4j.MarkerFactory;
import org.slf4j.event.Level;
import java.net.*;
public class Main {
public static void main(String[] args) {
final Logger logger1 = LoggerFactory.getLogger(Logger.ROOT_LOGGER... | {
"content_hash": "c0f2949c64ce35bbed57a98bfee84032",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 126,
"avg_line_length": 62.13793103448276,
"alnum_prop": 0.6520532741398446,
"repo_name": "msakamoto-sf/java-loggers-samples",
"id": "af21bda3c6969d6489f100200cbb3328699e8821... |
package org.schema.api.model.thing.organization.localBusiness.entertainmentBusiness;
import org.schema.api.model.thing.organization.localBusiness.entertainmentBusiness.EntertainmentBusiness;
public class ComedyClub extends EntertainmentBusiness
{
private String currenciesAccepted;
private String openingHours;
priv... | {
"content_hash": "baf46df8d2f5e65092f348c5a8bb342d",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 105,
"avg_line_length": 20.45098039215686,
"alnum_prop": 0.7976989453499521,
"repo_name": "omindra/schema_org_java_api",
"id": "3fd3aaeeafd50c90b7b560db73a2c5197a144f1d",
"... |
// Copyright 2014 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.
#include "mojo/system/platform_handle_dispatcher.h"
#include <algorithm>
#include "base/logging.h"
namespace mojo {
namespace system {
namespace {
co... | {
"content_hash": "9f32bd4d4abab364ac567d994692c146",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 79,
"avg_line_length": 31.260162601626018,
"alnum_prop": 0.7443433029908972,
"repo_name": "AOSPU/external_chromium_org",
"id": "63a5e716d21c442004328f8898e4c9b21f87ef26",
... |
module BlobHelper
def highlighter(blob_name, blob_content, nowrap: false)
Gitlab::Highlight.new(blob_name, blob_content, nowrap: nowrap)
end
def highlight(blob_name, blob_content, nowrap: false)
Gitlab::Highlight.highlight(blob_name, blob_content, nowrap: nowrap)
end
def no_highlight_files
%w(cr... | {
"content_hash": "1515f76b255bf204f9618028bd9d7c38",
"timestamp": "",
"source": "github",
"line_count": 187,
"max_line_length": 198,
"avg_line_length": 34.24598930481283,
"alnum_prop": 0.6531855090568395,
"repo_name": "dwrensha/gitlabhq",
"id": "a4d7c425d0f359b192bc8e526b957926f2b82d23",
"size": "6... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
<meta name="description"
content="Red Hat Process-based Performance Engineering to deliver synergy in what's possible, resolving impediments, and forging lasting ties with customers. As a la... | {
"content_hash": "ac311e193b917d938a5b8339dfa0f87f",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 407,
"avg_line_length": 40.48780487804878,
"alnum_prop": 0.6680722891566265,
"repo_name": "GrooveCS/groovecs.github.io",
"id": "cf140240b97b5df519bab2a4bb2dbe26c3ee3674",
"... |
<?php
/** Zend_Memory_Container_Movable */
#require_once 'Zend/Memory/Container/Movable.php';
/** Zend_Memory_Container_Locked */
#require_once 'Zend/Memory/Container/Locked.php';
/** Zend_Memory_AccessController */
#require_once 'Zend/Memory/AccessController.php';
/**
* Memory manager
*
* This class encapsula... | {
"content_hash": "20f0b175c88d83db804232716c262d1d",
"timestamp": "",
"source": "github",
"line_count": 445,
"max_line_length": 119,
"avg_line_length": 26.258426966292134,
"alnum_prop": 0.5537869062901155,
"repo_name": "garasiya/magento1910",
"id": "ae869d71dbbef7c16130b04afd047d8918ff9c9c",
"size"... |
package com.devesion.commons.obd.adapter.command.at;
import com.devesion.commons.obd.adapter.command.AbstractCommand;
import com.devesion.commons.obd.adapter.command.ObdCommandVisitor;
import lombok.EqualsAndHashCode;
/**
* Supertype for every AT Command.
*/
@EqualsAndHashCode(callSuper = true)
abstract class Abstr... | {
"content_hash": "09073ec8316aa89ec9fb79761a714d2b",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 79,
"avg_line_length": 27.75,
"alnum_prop": 0.7717717717717718,
"repo_name": "devesion/java-obd-adapter",
"id": "967be5c87e4f1a7fe9cfe48440d1c1aa49d9bdfb",
"size": "666",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.