text stringlengths 2 1.04M | meta dict |
|---|---|
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Parsers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Parsers.Tests
{
[TestClass()]
public class ParsersTests
{
/// <summary>
/// 空ソース判定のテスト
//... | {
"content_hash": "32bd43345f34cdc74f4f632bf92ef930",
"timestamp": "",
"source": "github",
"line_count": 306,
"max_line_length": 113,
"avg_line_length": 37.552287581699346,
"alnum_prop": 0.5590462100774519,
"repo_name": "scienceagora4dim/cube4d",
"id": "25aef592a667e4de6524222bba553edcfed52486",
"si... |
import GLM from "grimoirejs-math/ref/GLM";
import Matrix from "grimoirejs-math/ref/Matrix";
import Quaternion from "grimoirejs-math/ref/Quaternion";
import Vector3 from "grimoirejs-math/ref/Vector3";
import Vector4 from "grimoirejs-math/ref/Vector4";
import Component from "grimoirejs/ref/Node/Component";
import IAttrib... | {
"content_hash": "bc5e9b3e6830d8ed1e20a97342cdfed5",
"timestamp": "",
"source": "github",
"line_count": 252,
"max_line_length": 149,
"avg_line_length": 30.865079365079364,
"alnum_prop": 0.6914373875032142,
"repo_name": "GrimoireGL/grimoirejs-fundamental",
"id": "cb856db0701674c6a96e7ed65efc6a95ea49a3... |
"""Representing and manipulating email headers via custom objects.
This module provides an implementation of the HeaderRegistry API.
The implementation is designed to flexibly follow RFC5322 rules.
Eventually HeaderRegistry will be a public API, but it isn't yet,
and will probably change some before that happens.
""... | {
"content_hash": "c0f9a590f70d49c542c94c62e0316e63",
"timestamp": "",
"source": "github",
"line_count": 580,
"max_line_length": 87,
"avg_line_length": 34.855172413793106,
"alnum_prop": 0.619608231104076,
"repo_name": "thonkify/thonkify",
"id": "0fcb97e4db4e101283e868549389e79d6bee6878",
"size": "20... |
<?php
namespace App\Modules\Themes\Listeners;
use App\Modules\Core\Events\InstallSeedEvent;
use App\Modules\Themes\Models\Theme;
class InstallSeedListener
{
/**
* Handle the event.
*
* @param OrderShipped $event
* @return void
*/
public function handle(InstallSeedEvent $event)
... | {
"content_hash": "119ef7d2181736da29b20ef7e8130a45",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 51,
"avg_line_length": 18,
"alnum_prop": 0.5773809523809523,
"repo_name": "adaptcms/AdaptCMS",
"id": "b9b5a11124fd82e489ad937f29feabbe3a668365",
"size": "504",
"binary": ... |
<?php
if (!defined('BASEPATH'))
exit('No direct script access allowed');
class server_datatables extends CI_Controller {
public $uri_privileged;
function __construct() {
parent::__construct();
// To load the CI benchmark and memory usage profiler - set 1==1.
if (1 == 2) {
... | {
"content_hash": "801a9a1aea0f228879a52b24f9b87c3e",
"timestamp": "",
"source": "github",
"line_count": 2159,
"max_line_length": 347,
"avg_line_length": 40.169059749884205,
"alnum_prop": 0.43258575958489476,
"repo_name": "akhokhar/eProcurement-Application",
"id": "e6caa3aa4fa7882a1023666900c2b5c35ea0... |
NG_DOCS={
"sections": {
"api": "F9 Angular Scrabble API"
},
"pages": [
{
"section": "api",
"id": "api.dataApi",
"shortName": "api.dataApi",
"type": "service",
"moduleName": "api",
"shortDescription": "A service for data api calls",
"keywords": "api calls comma-sep... | {
"content_hash": "2a8f8738734daebbb4a062732f9cce87",
"timestamp": "",
"source": "github",
"line_count": 216,
"max_line_length": 551,
"avg_line_length": 42.629629629629626,
"alnum_prop": 0.6575803649000869,
"repo_name": "russellf9/f9-angular-scrabble",
"id": "b080ab4035c966fabdcd0b59f0ff58612c004110",... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.sergi.fastcocktail">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:suppo... | {
"content_hash": "f58a308c5b7f0239a18cbc97f9d5babd",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 76,
"avg_line_length": 40.891891891891895,
"alnum_prop": 0.6014540647719762,
"repo_name": "xavi19/AndroidFastCocktail",
"id": "78ddb63c4d7136c891e92b94f39728c714d55311",
"s... |
import { MonoTypeOperatorFunction, SubscribableOrPromise } from '../types';
/**
* Ignores source values for a duration determined by another Observable, then
* emits the most recent value from the source Observable, then repeats this
* process.
*
* <span class="informal">It's like {@link auditTime}, but the silenc... | {
"content_hash": "ad4503b51627bb7cf6c0d206e6e365a5",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 122,
"avg_line_length": 49,
"alnum_prop": 0.7400388726919339,
"repo_name": "mrtequino/JSW",
"id": "f2860e6a75875dba5391aca5a550954de84f8b81",
"size": "2058",
"binary": fa... |
<?php
namespace Google\Service\AdExchangeBuyerII\Resource;
use Google\Service\AdExchangeBuyerII\ListFilteredBidsResponse;
/**
* The "filteredBids" collection of methods.
* Typical usage is:
* <code>
* $adexchangebuyer2Service = new Google\Service\AdExchangeBuyerII(...);
* $filteredBids = $adexchangebuyer2... | {
"content_hash": "0c4a4bbbf86733a1bc9043ea71f17e0d",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 141,
"avg_line_length": 42.48,
"alnum_prop": 0.751412429378531,
"repo_name": "googleapis/google-api-php-client-services",
"id": "3c7e1bd5dabad5f2edce94e522c9fc7b1074d6cc",
... |
using EspaceClient.BackOffice.Silverlight.ViewModels.References.Entite;
using EspaceClient.BackOffice.Silverlight.ViewModels.References.Entite.Tabs.Details;
namespace EspaceClient.BackOffice.Silverlight.ViewModels.ModelBuilders.References.Entite.Details
{
public interface IModelBuilderInformation
{
Inf... | {
"content_hash": "b2b8292427afe3ced3effcd84fff7b74",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 96,
"avg_line_length": 39.8,
"alnum_prop": 0.8366834170854272,
"repo_name": "apo-j/Projects_Working",
"id": "aaa53754813cfbd5c857b52ce9ad3293b6185173",
"size": "398",
"bi... |
/* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.component.zookeepermaster;
import java.util.Map;
import org.apache.camel.CamelContext;
import org.apache.camel.spi.ExtendedPropertyConfigurerGetter;
import org.apache.camel.spi.PropertyConfigurerGetter;
import org.apache.camel.spi.... | {
"content_hash": "48dee51a2ee7cd46c748d1a7dee95365",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 149,
"avg_line_length": 44.625,
"alnum_prop": 0.7251400560224089,
"repo_name": "nicolaferraro/camel",
"id": "de5811a4171a834cfc1379cb99d378b5f0146a40",
"size": "2856",
"b... |
package org.apache.spark.sql.hive.execution
import java.io.{DataInput, DataOutput, File, PrintWriter}
import java.util.{ArrayList, Arrays, Properties}
import org.apache.hadoop.conf.Configuration
import org.apache.hadoop.hive.ql.exec.UDF
import org.apache.hadoop.hive.ql.udf.{UDAFPercentile, UDFType}
import org.apach... | {
"content_hash": "9d5370a6b1c37832c5537858c36b2d13",
"timestamp": "",
"source": "github",
"line_count": 735,
"max_line_length": 100,
"avg_line_length": 36.73061224489796,
"alnum_prop": 0.6539245101307553,
"repo_name": "caneGuy/spark",
"id": "aa694ea274d756cfa29c97ddd500e47eea2cdb91",
"size": "27797... |
#ifndef __LINUX_FUNCTIONFS_H__
#define __LINUX_FUNCTIONFS_H__ 1
#include <linux/types.h>
#include <linux/ioctl.h>
#include <linux/usb/ch9.h>
enum {
FUNCTIONFS_DESCRIPTORS_MAGIC = 1,
FUNCTIONFS_STRINGS_MAGIC = 2
};
#ifndef __KERNEL__
/* Descriptor of an non-audio endpoint */
struct usb_endpoint_descriptor_... | {
"content_hash": "424f6bf1fb3529f2d82f60132af00078",
"timestamp": "",
"source": "github",
"line_count": 201,
"max_line_length": 80,
"avg_line_length": 29.691542288557216,
"alnum_prop": 0.6074061662198391,
"repo_name": "endplay/omniplay",
"id": "a843d085136459974720cc6c9f5149406c6877c6",
"size": "59... |
package CodeMonkey.genetic;
public interface GeneFactory< G extends Gene > {
public G make( );
}
| {
"content_hash": "a798778dced3ea7bfb6c79b3684ce498",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 48,
"avg_line_length": 14.428571428571429,
"alnum_prop": 0.7227722772277227,
"repo_name": "DweebsUnited/CodeMonkey",
"id": "7e2ed33633eb5e53db0a6b53ad46046b6291570f",
"size"... |
package org.elasticsearch.xpack.ql.expression.gen.processor;
import org.elasticsearch.common.io.stream.NamedWriteableRegistry;
import org.elasticsearch.common.io.stream.Writeable.Reader;
import org.elasticsearch.test.AbstractWireSerializingTestCase;
import org.elasticsearch.xpack.ql.expression.predicate.logical.Binar... | {
"content_hash": "ee737303f1c805c2bb806b2bc5982487",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 106,
"avg_line_length": 42.089285714285715,
"alnum_prop": 0.7530759439966058,
"repo_name": "robin13/elasticsearch",
"id": "aa4a59d81ea5fd91ece1e22435291deda86e9f12",
"size"... |
<?php
namespace Tamayo\LaravelScoutElastic\Engines;
use Laravel\Scout\Builder;
use Laravel\Scout\Engines\Engine;
use Elasticsearch\Client as Elastic;
use Illuminate\Database\Eloquent\Collection;
class ElasticsearchEngine extends Engine
{
/**
* Elastic client.
*
* @var Elastic
*/
protected... | {
"content_hash": "a9f5a7d93e0e9802539a8e92abaefd62",
"timestamp": "",
"source": "github",
"line_count": 296,
"max_line_length": 93,
"avg_line_length": 25.929054054054053,
"alnum_prop": 0.48351791530944627,
"repo_name": "ErickTamayo/laravel-scout-elastic",
"id": "1603b45ad3e72ece15ee4f3477aabef8d5e9b9... |
/*
* SearchInput module
*/
INSERT INTO cuyahoga_moduletype ([name], assemblyname, classname, path, editpath, inserttimestamp, updatetimestamp)
VALUES ('SearchInput', 'Cuyahoga.Modules', 'Cuyahoga.Modules.Search.SearchInputModule', 'Modules/Search/SearchInput.ascx', NULL, '2005-10-20 14:36:28.324', '2005-10-20 1... | {
"content_hash": "40ebcf4c3872ab28afb3b8f4aec742c1",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 182,
"avg_line_length": 38.60606060606061,
"alnum_prop": 0.7315541601255887,
"repo_name": "cuyahogaproject/cuyahoga-1",
"id": "7da59bfa7b6437bfd7f367e5aaef014a1d4e15cd",
"s... |
package org.springframework.osgi.service.exporter.support;
import org.springframework.osgi.core.enums.StaticLabeledEnum;
import org.springframework.osgi.util.internal.ClassUtils;
/**
* Enum-like class indicatin class exporters available to
* {@link OsgiServiceFactoryBean} for registering object as OSGi s... | {
"content_hash": "e4e060d553b06083cad8d127d3d01c10",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 88,
"avg_line_length": 28,
"alnum_prop": 0.7150793650793651,
"repo_name": "BeamFoundry/spring-osgi",
"id": "e2927e0e5bccebb467a90b113c44095f80aca4b5",
"size": "3157",
"bi... |
//------------------------------------------------------------------------------
// <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-generated>
//--... | {
"content_hash": "6f8a777267ff460952fa294336773745",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 151,
"avg_line_length": 41.07692307692308,
"alnum_prop": 0.5823970037453183,
"repo_name": "ComponentFactory/Krypton",
"id": "af4efea91ef5197f4ad39a3b7ad9df5de9d796bc",
"siz... |
package org.bisen.chatamari.model;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
*
* @author asikprad
*/
@Entity
@Table(name = "user")
public class BlogUser implements Serializable {
... | {
"content_hash": "81e1eae0f903e6c184f0d777a4a8f9f0",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 64,
"avg_line_length": 19.566037735849058,
"alnum_prop": 0.6104146576663452,
"repo_name": "bisenorg/chatamari",
"id": "283200c07ed05a85dbd82863ae0182915080e574",
"size": "1... |
/*
* remote-file-test.js: Tests for LocalFile repository.
*
* (C) 2010, Nodejitsu Inc.
*
*/
var assert = require('assert'),
fs = require('fs'),
path = require('path'),
exec = require('child_process').exec,
vows = require('vows'),
helpers = require('../helpers'),
haibu = require('../../lib/... | {
"content_hash": "ec9e9e9f85e95d72f75ad7d7d96e1f30",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 91,
"avg_line_length": 30,
"alnum_prop": 0.5394366197183098,
"repo_name": "nodejitsu/haibu",
"id": "759cff4eafd706930e05a35eb7217db1f96a767e",
"size": "2130",
"binary": f... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "3cde30718dff83edbdb4368152b6a585",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "c6271cb21fe9d088720a563ba022f3070aac2504",
"size": "178... |
<?php
/**
* The Header for our theme.
*
* Displays all of the <head> section and everything up till <div id="main">
*
* @package Stay
* @since Stay 1.0
*/
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta name="viewport" content="width=device... | {
"content_hash": "ab1a17560599d44d97e428ca252b8a09",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 195,
"avg_line_length": 40.546875,
"alnum_prop": 0.5884393063583815,
"repo_name": "keynetic/kpress",
"id": "d0db10d557559a12978b432f5660b3c6e5d4618a",
"size": "2595",
"bi... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_151) on Wed Sep 05 03:08:39 MST 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>PropertyConsumer (BOM: * :... | {
"content_hash": "4c9568f8685462922daa936820d612fc",
"timestamp": "",
"source": "github",
"line_count": 248,
"max_line_length": 648,
"avg_line_length": 45.104838709677416,
"alnum_prop": 0.6537636331128196,
"repo_name": "wildfly-swarm/wildfly-swarm-javadocs",
"id": "d65c93df0cad0c9adca53f67d637509a7c6... |
#ifndef sitkImageFileWriter_h
#define sitkImageFileWriter_h
#include "sitkMacro.h"
#include "sitkImage.h"
#include "sitkMemberFunctionFactory.h"
#include "sitkIO.h"
#include "sitkProcessObject.h"
#include <memory>
namespace itk {
// Forward declaration for pointer
class ImageIOBase;
template<class T>
class SmartP... | {
"content_hash": "99ab2c3163e11a091b406a24b8669247",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 135,
"avg_line_length": 36.83625730994152,
"alnum_prop": 0.6675662803619622,
"repo_name": "richardbeare/SimpleITK",
"id": "3f77cde5f4f2fe5564afa6f60adc55d0fbfb6de0",
"size... |
import _plotly_utils.basevalidators
class Q1SrcValidator(_plotly_utils.basevalidators.SrcValidator):
def __init__(self, plotly_name="q1src", parent_name="box", **kwargs):
super(Q1SrcValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
edit_type=k... | {
"content_hash": "2bbcdabe25c28be8b1fd3f6446c42874",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 73,
"avg_line_length": 34.90909090909091,
"alnum_prop": 0.609375,
"repo_name": "plotly/plotly.py",
"id": "7b097f7f6640fea0c2ebaf412f777699ddb7f8f6",
"size": "384",
"binar... |
'''
Cleans up old searches and rebuilds search fields cache
'''
from django.core.management.base import BaseCommand, CommandError
from django.conf import settings
from datetime import datetime, timedelta, date
import django.utils.timezone
from server.models import *
from search.models import *
from inventory.models im... | {
"content_hash": "43b73ce46201aacb5b4be81906623103",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 135,
"avg_line_length": 38.42156862745098,
"alnum_prop": 0.6047461087011993,
"repo_name": "erikng/sal",
"id": "588a3ef56ddb479fd3f448c3bcdd3a8bff07e157",
"size": "3919",
... |
+++
title = "Frequently Asked Question"
aliases = ["/faq"]
+++
## My writes are getting stuck. Why?
**Update: With the new `Value(func(v []byte))` API, this deadlock can no longer
happen.**
The following is true for users on Badger v1.x.
This can happen if a long running iteration with `Prefetch` is set to false... | {
"content_hash": "cd9f34965168f381aa6eccd304db3a18",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 467,
"avg_line_length": 48.49295774647887,
"alnum_prop": 0.7519604995643334,
"repo_name": "dgraph-io/badger",
"id": "ed2e06bfb0a3d9798384be92405effaaf58083a3",
"size": "68... |
using System;
namespace WilliamsonFamily.Models.User
{
public interface IUserRepository : IModelLoader<IUser, string>, IModelFactory<IUser>, IModelPersister<IUser>
{
}
} | {
"content_hash": "1d2799b90bca8a7a49b127738b937569",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 112,
"avg_line_length": 23.75,
"alnum_prop": 0.7210526315789474,
"repo_name": "sgwill/familyblog",
"id": "11282b4aaf6dc889cbd69635b66c904ca5a91325",
"size": "192",
"binary... |
Note: As of 2022, **Greenworks has no active maintainer and is no longer in active development**. While **many games continue to use greenworks successfully in production**, depending on your needs, you might want to consider alternatives:
* https://github.com/Spacetech/greenworks - A greenworks fork which seems to ha... | {
"content_hash": "7abe8c0d7953b7f62b418e61afdecf6d",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 268,
"avg_line_length": 53.40384615384615,
"alnum_prop": 0.772416276557436,
"repo_name": "greenheartgames/greenworks",
"id": "a7ce015a7eba8354fe6616b397ec7a74eda8b7cc",
"si... |
<html>
<!-- Mirrored from www.math.iisc.ernet.in/seminars2009/jan02.htm by HTTrack Website Copier/3.x [XR&CO'2013], Mon, 15 Feb 2016 03:54:53 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8" /><!-- /Added by HTTrack -->
<head><title>Seminar</title>
<meta http-equiv="C... | {
"content_hash": "7dcfc8569796b83f2aeccb1665913f43",
"timestamp": "",
"source": "github",
"line_count": 915,
"max_line_length": 142,
"avg_line_length": 19.45464480874317,
"alnum_prop": 0.665580585360373,
"repo_name": "siddhartha-gadgil/www.math.iisc.ernet.in",
"id": "232fc85b36208af6bccc76fca795a0b89... |
<?php
class TestingAccessWrapperTest extends MediaWikiTestCase {
protected $raw;
protected $wrapped;
function setUp() {
parent::setUp();
require_once __DIR__ . '/../data/helpers/WellProtectedClass.php';
$this->raw = new WellProtectedClass();
$this->wrapped = TestingAccessWrapper::newFromObject( $this->raw... | {
"content_hash": "6e7299379e95cddd1dbafe44ee77cefa",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 76,
"avg_line_length": 33.19230769230769,
"alnum_prop": 0.6958285052143685,
"repo_name": "owen-kellie-smith/mediawiki",
"id": "fc54afae338176802b00370c7db6151f6359800b",
"s... |
struct PointerSetNode {
Int32 next; // A pointer to the next node in this bucket (relative to the PointerSet's heap).
void *key; // The key for this node.
};
/// <summary>
/// The internal implementation of a PointerSet.
/// </summary>
struct PointerSetInt {
Int32 *buckets; // The buckets contain pointers i... | {
"content_hash": "69a9ed68b1d581ebd3e3303926c0ef70",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 111,
"avg_line_length": 35.54135338345865,
"alnum_prop": 0.6756928284324095,
"repo_name": "seanofw/smile",
"id": "c5107c482752a8698569ddc10f22c424549735b3",
"size": "5175"... |
package org.mimosaframework.orm.resolve;
public interface FunctionActionResolve extends ActionResolve {
}
| {
"content_hash": "22baa3967fe74f21d9dadb094c7d387e",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 62,
"avg_line_length": 26.75,
"alnum_prop": 0.8504672897196262,
"repo_name": "yangankang/mimosa",
"id": "8711a9ff245def1023662b082fb502760373a494",
"size": "107",
"binary"... |
<?php include 'inc/config.php'; ?>
<?php include 'inc/template_start.php'; ?>
<?php include 'inc/page_head.php'; ?>
<!-- Page content -->
<div id="page-content">
<!-- Table Responsive Header -->
<div class="content-header">
<div class="header-section">
<h1>
<i class="gi gi-i... | {
"content_hash": "11ca4f9bde9a7929d7a0d873011531bc",
"timestamp": "",
"source": "github",
"line_count": 338,
"max_line_length": 434,
"avg_line_length": 63.28698224852071,
"alnum_prop": 0.46510214576223646,
"repo_name": "mansuang/ManFinanceBundle",
"id": "acf793e6b35ca4f9dcd7635d705d01efc13ef44f",
"... |
"""A thin wrapper around datastore query RPC calls.
This provides wrappers around the internal only datastore_pb library and is
designed to be the lowest-level API to be used by all Python datastore client
libraries for executing queries. It provides a layer of protection so the actual
RPC syntax can change without af... | {
"content_hash": "9107fe9364155b5c6de2bd527633da19",
"timestamp": "",
"source": "github",
"line_count": 3307,
"max_line_length": 80,
"avg_line_length": 32.57332930148171,
"alnum_prop": 0.6540475306349796,
"repo_name": "gauribhoite/personfinder",
"id": "c76cd3040e08bd93d54e767341d290938cfcd39a",
"si... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>huffman: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | {
"content_hash": "22c25cc0ba5262d68f6f6044f6ad38f9",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 159,
"avg_line_length": 42.2,
"alnum_prop": 0.5588354773188896,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "4633307468cdde27e2aaa8e2c8c5452251458242",
"size": "74... |
//
// CWUUSignUpPhonePwdViewController.m
// TestUI
//
// Created by 大新 on 2017/2/22.
// Copyright © 2017年 ColorWood. All rights reserved.
//
#import "CWUUSignUpPhonePwdViewController.h"
#import "CWUUSignUpCodeViewController.h"
#import <JKCategories.h>
@interface CWUUSignUpPhonePwdViewController ()<
CWUUCodeViewCo... | {
"content_hash": "0b90de0b93bdc752831f7387ace0877f",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 99,
"avg_line_length": 23.82089552238806,
"alnum_prop": 0.6992481203007519,
"repo_name": "gs01md/ColorfulWoodUIUser",
"id": "bc29e092eb0315363ba54ee585b15d10d0495ba3",
"siz... |
A chat application without servers - using only AWS Lambda, S3, DynamoDB and SNS
## Live Demo
http://lambda-chat.s3-website-us-west-2.amazonaws.com/
Please don't send a million messages through here - it does cost us money and we will turn it off if it is abused.
## How it works
<pre> ◎ ◎
◡
│(1)
... | {
"content_hash": "3b2d3c8ced1f2aabb746d7defc86b4c6",
"timestamp": "",
"source": "github",
"line_count": 228,
"max_line_length": 285,
"avg_line_length": 39.00877192982456,
"alnum_prop": 0.5480098943107713,
"repo_name": "fjpelaezm/lambda-chat",
"id": "0bf1c80d16e1cd94f9879aafe4c63b9111cc745f",
"size"... |
"""
Title: The Sequential model
Author: [fchollet](https://twitter.com/fchollet)
Date created: 2020/04/12
Last modified: 2020/04/12
Description: Complete guide to the Sequential model.
"""
"""
## Setup
"""
import tensorflow as tf
from tensorflow import keras
from tensorflow.keras import layers
"""
## When to use a S... | {
"content_hash": "02ff84bc2c1749608a9c1a531800a32d",
"timestamp": "",
"source": "github",
"line_count": 379,
"max_line_length": 93,
"avg_line_length": 27.4221635883905,
"alnum_prop": 0.7160588857885115,
"repo_name": "keras-team/keras-io",
"id": "9f2505b91c10b067869fb4d5c3a1bcd54bf6b49a",
"size": "1... |
(function() {
'use strict';
angular
.module('app.translate')
.run(translateRun)
;
translateRun.$inject = ['$rootScope', '$translate'];
function translateRun($rootScope, $translate){
// Internationalization
// ----------------------
$rootScope.l... | {
"content_hash": "95a4b0fd234a837661653d2cf584a6c8",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 118,
"avg_line_length": 32.976190476190474,
"alnum_prop": 0.5552346570397112,
"repo_name": "amorwilliams/gsoops",
"id": "a061507455d2f5517f00fa9461bc41f4f350bebd",
"size": ... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Function set_except_failure</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../index.html" t... | {
"content_hash": "a96cfe2e5a319f0943aa14ede949f477",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 494,
"avg_line_length": 61.67777777777778,
"alnum_prop": 0.6613222842731039,
"repo_name": "arangodb/arangodb",
"id": "6f30de1de78cddd5f8e73bd51cf7a6630afc1a26",
"size": "55... |
"""
flask
~~~~~
A microframework based on Werkzeug. It's extensively documented
and follows best practice patterns.
:copyright: (c) 2010 by Armin Ronacher.
:license: BSD, see LICENSE for more details.
"""
__version__ = '0.7.2'
# utilities we import from Werkzeug and Jinja2 that are unused
#... | {
"content_hash": "58b73ba2add47374b5f4040f865843e7",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 77,
"avg_line_length": 32.513513513513516,
"alnum_prop": 0.7522859517871987,
"repo_name": "rabc/Gitmark",
"id": "0f1b97e3aa6905e6929f39df5c1dadf95d2b1eb7",
"size": "1227",
... |
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("Ca... | {
"content_hash": "c9aebded56e5783f6b0c8c98b9beb400",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 38.52777777777778,
"alnum_prop": 0.7433309300648883,
"repo_name": "AnaKostadinova/Programming-Fundamentals-C-Sharp-Exercises",
"id": "8f164dca9da4080a2... |
static int loveGetVersion(lua_State *L) { // love.getVersion()
lua_pushstring(L, LOVE_VERSION);
return 1;
}
int initLoveSystem(lua_State *L);
int initLoveGraphics(lua_State *L);
int initLoveTimer(lua_State *L);
int initLoveKeyboard(lua_State *L);
int initLoveMouse(lua_State *L);
int initLoveJoystick(lua_State *L);... | {
"content_hash": "3e2f40e6490a865452e9a24c2a889daf",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 80,
"avg_line_length": 22.775,
"alnum_prop": 0.645993413830955,
"repo_name": "VideahGams/LovePotion",
"id": "4e99fde7f332b7e4436aedaa8bb357e4e7da39f5",
"size": "3079",
"b... |
package org.apache.causeway.persistence.jdo.applib;
import org.springframework.context.annotation.Configuration;
/**
* @since 2.0 {@index}
*/
@Configuration
public class CausewayModulePersistenceJdoApplib {
}
| {
"content_hash": "28f04d1de95d13f08fc40e45abf7acf0",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 60,
"avg_line_length": 19.454545454545453,
"alnum_prop": 0.7850467289719626,
"repo_name": "apache/isis",
"id": "5c70c8ba2de33d0dcab6bc90c2a7164fe52458dd",
"size": "1039",
... |
#ifndef _INITLB_H_
#define _INITLB_H_
#include "helper.h"
#define FLUID 0
#define NO_SLIP 1
#define MOVING_WALL 2
/* reads the parameters for the lid driven cavity scenario from a config file */
int readParameters(
int *xlength, /* reads domain size. Parameter name: "xlength" */
double *... | {
"content_hash": "6680633b44f26849499f5e406e1f3eb7",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 113,
"avg_line_length": 44.32,
"alnum_prop": 0.6299638989169675,
"repo_name": "grantathon/computational_fluid_dynamics",
"id": "dc36627fabc44c8e17a855d9242769a7c1dbb77d",
"... |
class Task < ActiveRecord::Base
belongs_to :project
attr_accessible :content, :name
end
| {
"content_hash": "285356a210afad6b6fc2945106ed5a08",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 33,
"avg_line_length": 23,
"alnum_prop": 0.75,
"repo_name": "tonytonyjan/tj_rails_extension",
"id": "3a19ddc6fb61ece6edbaf88acf7eff9ce7cd46a0",
"size": "92",
"binary": fal... |
#ifndef BOOST_RANDOM_UNIFORM_SMALLINT_HPP
#define BOOST_RANDOM_UNIFORM_SMALLINT_HPP
#include <cassert>
#include <iostream>
#include <boost/config.hpp>
#include <boost/limits.hpp>
#include <boost/static_assert.hpp>
#include <boost/random/detail/config.hpp>
#include <boost/random/uniform_01.hpp>
#include <... | {
"content_hash": "01298cdb9b72ea1f9c32bfc62ec30f77",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 87,
"avg_line_length": 39.145833333333336,
"alnum_prop": 0.6537165158772397,
"repo_name": "pennwin2013/netsvr",
"id": "93c7b63dc4fadc9b737510d16f653cb53191642f",
"size": "... |
package options
import (
"fmt"
"reflect"
"testing"
"github.com/spf13/pflag"
"k8s.io/apimachinery/pkg/util/diff"
cliflag "k8s.io/component-base/cli/flag"
)
func newKubeletServerOrDie() *KubeletServer {
s, err := NewKubeletServer()
if err != nil {
panic(err)
}
return s
}
// TestRoundTrip ensures that f... | {
"content_hash": "89beadc4d0b3b41467d32d9df3cabaf1",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 115,
"avg_line_length": 26.751445086705203,
"alnum_prop": 0.6570872947277442,
"repo_name": "micahhausler/kubernetes",
"id": "3c23c774b68b343189b687ee12b06ec7549900b5",
"si... |
<?php
require_once 'Services/OpenStreetMap.php';
$id = 1707362;
$osm = new Services_OpenStreetMap();
$relation = $osm->getRelation($id);
file_put_contents("relation.$id.xml", $relation->getXml());
?>
| {
"content_hash": "22a147932fd65979684071971a89e44b",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 59,
"avg_line_length": 22.444444444444443,
"alnum_prop": 0.693069306930693,
"repo_name": "kenguest/Services_Openstreetmap",
"id": "8e8333727532ffd9a154defad8ace9096ddea0a7",
... |
<!doctype html>
<head>
<meta charset="utf-8">
<title>Couch Audio Recorder</title>
<link type="text/css" href="css/bootstrap.min.css" rel="stylesheet" />
<link type="text/css" href="skin/couchaudiorecorder.default.css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery-1.6.2.min.js"></script>
... | {
"content_hash": "46ec896a2656feffb93147e9ea1b0409",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 124,
"avg_line_length": 32.028985507246375,
"alnum_prop": 0.5248868778280543,
"repo_name": "ryanramage/couch-audio-recorder",
"id": "06c99826ea5e5555fbeca50a77a010de9b376705"... |
package com.hazelcast.internal.jmx;
import com.hazelcast.core.ISemaphore;
/**
* Management bean for {@link com.hazelcast.core.ISemaphore}
*/
@ManagedDescription("ISemaphore")
public class SemaphoreMBean extends HazelcastMBean<ISemaphore> {
protected SemaphoreMBean(ISemaphore managedObject, ManagementService ... | {
"content_hash": "928b2c31f15e3cf5ffd724a82839b647",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 122,
"avg_line_length": 31.941176470588236,
"alnum_prop": 0.7139349294045426,
"repo_name": "tombujok/hazelcast",
"id": "33d6709b55b8d0d4f7d0608ede209bc1d8c5f422",
"size": "... |
package de.intarsys.tools.preferences;
import de.intarsys.tools.event.Event;
import de.intarsys.tools.event.EventType;
public class PreferencesChangeEvent extends Event {
public static final EventType ID = new EventType(
PreferencesChangeEvent.class.getName());
private String key;
private String newValue;
... | {
"content_hash": "0b5a1ce080d3f1759eb6fc8c95ce11cf",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 51,
"avg_line_length": 17.487179487179485,
"alnum_prop": 0.7375366568914956,
"repo_name": "intarsys/runtime",
"id": "4a1518cc9266c152328e636106ae4f2aee92d4f8",
"size": "223... |
package org.pdfextractor.restapi.log;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpStatus;
import org.springframework.web.filter.OncePerRequestFilter;
import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest... | {
"content_hash": "242fdb520f31829f4750c5112bd1e572",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 160,
"avg_line_length": 35.04385964912281,
"alnum_prop": 0.7254067584480601,
"repo_name": "kveskimae/pdfextractor",
"id": "61a24f6235234beb1e62054453b286c52ab73699",
"size... |
<html>
<head>
<title>Docs for page DataType.php</title>
<link rel="stylesheet" type="text/css" href="../media/style.css">
</head>
<body>
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
<tr>
<td class="header_top">PHPExcel_Cell</td>
</tr>
<tr><td class="header_line"><img src="../me... | {
"content_hash": "3bba2944b10484d98e51db95d6589b60",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 249,
"avg_line_length": 44.00961538461539,
"alnum_prop": 0.6233340616124099,
"repo_name": "ALTELMA/OfficeEquipmentManager",
"id": "cc7769902c8cd7d4a1552d799e8a0cc61a3c8b01",... |
package alluxio.client.cli.fs.command;
import alluxio.SystemPropertyRule;
import alluxio.client.file.FileSystemTestUtils;
import alluxio.client.cli.fs.AbstractFileSystemShellTest;
import alluxio.client.cli.fs.FileSystemShellUtilsTest;
import alluxio.grpc.WritePType;
import org.junit.Assert;
import org.junit.Rule;
i... | {
"content_hash": "5266e13fa524e05525c54dc514bbfc08",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 97,
"avg_line_length": 37.81021897810219,
"alnum_prop": 0.7046332046332047,
"repo_name": "madanadit/alluxio",
"id": "66c1d0c2fdd4c31c49f1a7fb4169e0615edb35c1",
"size": "56... |
package org.ike.wechat.core.menu.bean.selfmenu;
import com.google.gson.Gson;
import java.util.List;
/**
* Class Name: SelfMenuInfo
* Create Date: 2016/6/26 15:23
* Creator: Xuejia
* Version: v1.0
* Updater:
* Date Time:
* Description: 菜单信息实体类
*/
public class SelfMenuInfo {
private List<SelfButton> butt... | {
"content_hash": "25b843eae95371a817ab5e33bfdf8f81",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 60,
"avg_line_length": 18.575757575757574,
"alnum_prop": 0.6476345840130505,
"repo_name": "xuejiacore/IkeChat",
"id": "955a318e598745bbe994cf1dd8fcacfdcf85482d",
"size": "8... |
package org.consensusj.exchange;
import javax.money.convert.ExchangeRateProvider;
/**
* ExchangeRateProvider extension that allows an observer to be notified of exchange rate updates
*/
public interface ObservableExchangeRateProvider extends ExchangeRateProvider {
void registerExchangeRateObserver(CurrencyUnitP... | {
"content_hash": "e629ea72dcd08d508608231f4876bde5",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 97,
"avg_line_length": 33.25,
"alnum_prop": 0.8070175438596491,
"repo_name": "msgilligan/bitcoinj-addons",
"id": "b56868feb1981f09837acbfb474b5997a9681019",
"size": "399",
... |
<?php
/**
* Live Mailbox - PHPUnit tests.
*
* Runs tests on a live mailbox
*
* @author BAPCLTD-Marv
*/
declare(strict_types=1);
namespace PhpImap;
use ParagonIE\HiddenString\HiddenString;
/**
* @psalm-type MAILBOX_ARGS = array{
* 0:HiddenString,
* 1:HiddenString,
* 2:HiddenString,
* 3:string,
* 4?:string... | {
"content_hash": "b7c7ecaaee4e7223ff4a9066b1b9c0d5",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 178,
"avg_line_length": 28.122222222222224,
"alnum_prop": 0.6084551560647965,
"repo_name": "barbushin/php-imap",
"id": "3c084347ed7ae136e9481e9745a3505ffcf66d8d",
"size": "... |
package greedy;
import java.util.Arrays;
import java.util.Comparator;
import java.util.PriorityQueue;
/**
* Question: http://www.geeksforgeeks.org/job-sequencing-problem-set-1-greedy-algorithm/
*/
public class JobSequencing {
public static int maxProfit(Integer[][] jobs) {
int profit = 0;
Arrays... | {
"content_hash": "edd6d8ec824ff46744fb84e31c1017fd",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 94,
"avg_line_length": 29.032258064516128,
"alnum_prop": 0.5333333333333333,
"repo_name": "scaffeinate/crack-the-code",
"id": "bf2995bcfa1b27ddd9c4996e7b74b51a9b577c25",
"s... |
@class HouseDetailMemberModel;
@interface HouseDetailMemberCell : UITableViewCell
//静态构造方法
+ (instancetype)myHouseDetailMemberCellWithTableView: (UITableView *)tableView;
@property (nonatomic, strong) HouseDetailMemberModel *model; //模型属性
@end
| {
"content_hash": "ef2e5f78609e6e3df5805c60c4bac97b",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 79,
"avg_line_length": 40.666666666666664,
"alnum_prop": 0.8319672131147541,
"repo_name": "CQTWProgramme/cqtw",
"id": "f7ea7c5ea3f79a5963f3a6a040fa7542ad3b57ec",
"size": "42... |
NO_OBJ=
FILESDIR= ${SHAREDIR}/bsdconfig/usermgmt
FILES= group_input.subr user_input.subr
beforeinstall:
mkdir -p ${DESTDIR}${FILESDIR}
.include <bsd.prog.mk>
| {
"content_hash": "29204c12d22f61062008b2f5acd37ea2",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 40,
"avg_line_length": 18.11111111111111,
"alnum_prop": 0.7361963190184049,
"repo_name": "dplbsd/soc2013",
"id": "cd69b3d901eec28a39905407148d3616248c5b03",
"size": "273",
... |
#ifndef HKP_CONSTRAINT_CHAIN_LENGTH_UTIL_H
#define HKP_CONSTRAINT_CHAIN_LENGTH_UTIL_H
#include <Physics2012/Dynamics/Constraint/Chain/hkpConstraintChainInstance.h>
#include <Physics2012/Dynamics/Constraint/Chain/BallSocket/hkpBallSocketChainData.h>
#include <Physics2012/Dynamics/Entity/hkpRigidBodyCinfo.h>
class hk... | {
"content_hash": "6beaf3ca79518a194e9f4e5c69467238",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 173,
"avg_line_length": 38.582608695652176,
"alnum_prop": 0.771692585080009,
"repo_name": "wobbier/source3-engine",
"id": "fa9688e274223dbd2eafffb0a6ad8d66a65fb928",
"size... |
var config = require("./config.json");
var Discord = require("discord.js");
var bot = new Discord.Client();
var stringArgv = require('string-argv');
var humanizeDuration = require('humanize-duration');
var Youtube = require("youtube-api");
Youtube.authenticate({
type: "oauth",
refresh_token: config.youtube.refreshTo... | {
"content_hash": "0437c61ed5c0de5d516c099e10684c14",
"timestamp": "",
"source": "github",
"line_count": 268,
"max_line_length": 994,
"avg_line_length": 28.847014925373134,
"alnum_prop": 0.6074246539904281,
"repo_name": "darkson95/Discocks",
"id": "a93976e9f7e9e21aa1b9ffa82fe1de3d7158a43f",
"size": ... |
<?php
namespace SilverStripe\CMS\Controllers;
use Page;
use SilverStripe\Admin\LeftAndMain;
use SilverStripe\CampaignAdmin\AddToCampaignHandler;
use SilverStripe\CMS\Model\SiteTree;
use SilverStripe\Control\Controller;
use SilverStripe\Control\HTTPRequest;
use SilverStripe\Control\HTTPResponse;
use SilverStripe\Forms... | {
"content_hash": "cd37a9d40d7b69757b4c5d9d58a06f27",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 104,
"avg_line_length": 30.24812030075188,
"alnum_prop": 0.5602783992045737,
"repo_name": "silverstripe/silverstripe-cms",
"id": "9e8c47764508924792af6d021d5e717fc6e0bd8b",
... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head><title></title>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<link rel="stylesheet" type="text/css" href="search... | {
"content_hash": "4d72517a2bfdf001862c24f14e3d9b4c",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 121,
"avg_line_length": 39.11538461538461,
"alnum_prop": 0.7059980334316618,
"repo_name": "lucasbrsa/OpenCV-3.2",
"id": "ddd822ff0db91045b5b2084f4d975557459265c3",
"size": ... |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | {
"content_hash": "9df451bf861b60844855c5fc4a3b6aa2",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 439,
"avg_line_length": 58.94017094017094,
"alnum_prop": 0.6889501160092807,
"repo_name": "kagamsft/azure-powershell",
"id": "8a02e36c0f5efd2f38849efe7d2c0194c090f97b",
"s... |
using System;
using Stranne.BooliLib.Models;
using Stranne.BooliLib.Tests.Json;
using Stranne.BooliLib.Tests.Models;
using Xunit;
namespace Stranne.BooliLib.Tests.JsonParsing
{
[Trait("Area", "Json")]
public class ListingsSingleJsonTest : BaseJsonTest
{
protected override JsonFile JsonFile => Json... | {
"content_hash": "97a43b95aab1eba21c09ca2d7cc44aee",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 109,
"avg_line_length": 42.666666666666664,
"alnum_prop": 0.5736019736842105,
"repo_name": "stranne/BooliLib",
"id": "eb5e1a376985a9a3cbd1abb0d5d8e32ff188a479",
"size": "24... |
package com.sequenceiq.it.cloudbreak.action.v4.environment;
import com.sequenceiq.it.cloudbreak.EnvironmentClient;
import com.sequenceiq.it.cloudbreak.action.Action;
import com.sequenceiq.it.cloudbreak.context.TestContext;
import com.sequenceiq.it.cloudbreak.dto.environment.EnvironmentTestDto;
import com.sequenceiq.it... | {
"content_hash": "f3e16e6c931d5b43f21fe1c6d9bfacc1",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 145,
"avg_line_length": 44.8,
"alnum_prop": 0.7511160714285714,
"repo_name": "hortonworks/cloudbreak",
"id": "4826143bdda8c0c31d91552cbb8933c25ceab76a",
"size": "896",
"b... |
<template name="MasterLayout">
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navigationbar">
<span class="sr-only">Toggle navigation... | {
"content_hash": "fc546e6ee659b491cc2003c186edcb01",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 104,
"avg_line_length": 38.25,
"alnum_prop": 0.5890522875816994,
"repo_name": "TransWebT/miniPIMS",
"id": "9f94d6b3b9c0d0c1687c8dd9d29146e284a597d3",
"size": "1224",
"bin... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ipc: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" re... | {
"content_hash": "c6a35f7b1570fd51b5f3e415f31c98e3",
"timestamp": "",
"source": "github",
"line_count": 183,
"max_line_length": 159,
"avg_line_length": 42.05464480874317,
"alnum_prop": 0.569516632016632,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "74a55d046b4c5ad0274ca9a64acd7320c41da3b6",
... |
<?xml version="1.0" encoding="UTF-8"?>
<recipeml version="0.5">
<recipe>
<head>
<title>Acapulco Chicken (En Escabeche)</title>
<categories>
<cat>Poultry</cat></categories>
<yield>6</yield></head>
<ingredients>
<ing>
<amt>
<qty>2</qty>
<... | {
"content_hash": "ea71b81a1ad5538dd60a4f12c0ef7ca5",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 87,
"avg_line_length": 31.99009900990099,
"alnum_prop": 0.5484370164035902,
"repo_name": "coogle/coogle-recipes",
"id": "d08818d2b953b6342653e284d7a481aac055c62d",
"size":... |
module Gleam
class Preference < Gleam::Base
serialize :value
belongs_to :account, :class_name => 'Gleam::Account', :inverse_of => :preferences
end
end
| {
"content_hash": "b468b59ee49314429057bc97585e3fb6",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 85,
"avg_line_length": 23.428571428571427,
"alnum_prop": 0.6829268292682927,
"repo_name": "bewitchingme/gleam",
"id": "b0d931773d1444d514e9fe69efd1ccceb607f67c",
"size": "16... |
package org.apache.camel.builder.endpoint.dsl;
import java.util.Map;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;
import javax.annotation.Generated;
import org.apache.camel.ExchangePattern;
import org.apache.camel.LoggingLevel;
import org.apache.camel.builder.EndpointCon... | {
"content_hash": "74797767f23e3458ae0c3a46f2a44a76",
"timestamp": "",
"source": "github",
"line_count": 2407,
"max_line_length": 134,
"avg_line_length": 39.41171582883257,
"alnum_prop": 0.5898233260246247,
"repo_name": "DariusX/camel",
"id": "23c5887f584440cf3559c75572f77571f112cfbe",
"size": "9566... |
package com.sequenceiq.environment.api.v1.environment.model;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Inc... | {
"content_hash": "ea61580e9601a6e7b2c7f7b1c0747771",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 115,
"avg_line_length": 33.9349593495935,
"alnum_prop": 0.7156205079060853,
"repo_name": "hortonworks/cloudbreak",
"id": "eab4246a0f98adc3f71d73b0e4ce781014e64d74",
"size"... |
{%- set breadcrumbdelim = breadcrumbdelim is not defined and ' »' or breadcrumbdelim %}
{%- set reldelim = reldelim is not defined and '|' or reldelim %}
{%- macro breadcrumbs() %}
<ul id="breadcrumbs">
{% if pagename != 'index' %}
{%- block rootrellink %}
<li><a href="{{ pathto('index') }}">{{ docstitle }}... | {
"content_hash": "158aa34a3beeaff8d96a667f36f953fe",
"timestamp": "",
"source": "github",
"line_count": 308,
"max_line_length": 324,
"avg_line_length": 41.701298701298704,
"alnum_prop": 0.5439115540330115,
"repo_name": "tsauerwein/geogig",
"id": "ba7f16db8d5d14f2c4875f37a7e91711502db04e",
"size": "... |
import { moduleFor, test } from 'ember-qunit';
moduleFor('controller:ships', 'Unit | Controller | ships', {
// Specify the other units that are required for this test.
// needs: ['controller:foo']
});
// Replace this with your real tests.
test('it exists', function(assert) {
let controller = this.subject();
a... | {
"content_hash": "cf20c921bc02a012caa5ff9e098458ea",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 61,
"avg_line_length": 28.833333333333332,
"alnum_prop": 0.6820809248554913,
"repo_name": "roscorcoran/ship-chip",
"id": "f91aa8bb556666590171e2184fce54642ff01694",
"size":... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>pymatgen.command_line.gulp_caller module — pymatgen 2019.10.16 documentation</title>
<link rel="stylesheet" href="_static/proBlue.css" type="text/css" />
<link rel="stylesheet" href="_static/pygme... | {
"content_hash": "8ff61aae1dbd21d9595b9f759cd607bb",
"timestamp": "",
"source": "github",
"line_count": 400,
"max_line_length": 670,
"avg_line_length": 62.22,
"alnum_prop": 0.7025072324011572,
"repo_name": "tschaume/pymatgen",
"id": "ba3c8149720570a6d26b7f75057d6990d8759c4e",
"size": "24992",
"bi... |
def h_index(citations)
lbound, ubound = 0, citations.size - 1
while ubound >= lbound
m = (ubound + lbound) / 2
case citations[m] <=> citations.size - m
when -1; lbound = m + 1
when 1; ubound = m - 1
when 0; return citations[m]
end
end
citations.size - ubound - 1
end
| {
"content_hash": "a0ee6dc257fb096e5749ed3f1622b9ec",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 44,
"avg_line_length": 20.266666666666666,
"alnum_prop": 0.5921052631578947,
"repo_name": "shemerey/coderepo",
"id": "81f5cdc98ab1e6574581af715a2488edc08fc4ed",
"size": "53... |
**Namespace:** [OfficeDevPnP.Core.UPAWebService](OfficeDevPnP.Core.UPAWebService.md)
**Assembly:** OfficeDevPnP.Core.dll
## Syntax
```C#
public ValueData()
```
## See also
- [ValueData](OfficeDevPnP.Core.UPAWebService.ValueData.md)
- [OfficeDevPnP.Core.UPAWebService](OfficeDevPnP.Core.UPAWebService.md)
| {
"content_hash": "c76d197b47fadf33e70b2b39d1368ce3",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 86,
"avg_line_length": 28.363636363636363,
"alnum_prop": 0.75,
"repo_name": "PaoloPia/PnP-Guidance",
"id": "e2f5a1979ed6aea6940ab34a9345bde4d8f66d38",
"size": "343",
"bin... |
package net.goldenspiral.fetlifeoss.sync;
import android.app.AlarmManager;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Handler;
import net.goldenspiral.fetlifeoss.FetLife;
import net.goldenspiral.fetlifeo... | {
"content_hash": "b04a784a180a5279a0427270b3265b38",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 117,
"avg_line_length": 41.204081632653065,
"alnum_prop": 0.6638599966980353,
"repo_name": "xcjs/fetlife-oss",
"id": "98df27a8dd1bc7f646c783d2c5715238828b9912",
"size": "7... |
<!DOCTYPE html>
<html lang="tr">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>e-okul.org Satılıktır | domain, alanadı, alan, adı</title><meta name="description" content="e-okul.org alan ad... | {
"content_hash": "b74ed282ad86af0e7007fa703403ca2a",
"timestamp": "",
"source": "github",
"line_count": 196,
"max_line_length": 392,
"avg_line_length": 58.923469387755105,
"alnum_prop": 0.582647848298554,
"repo_name": "todor-dk/HTML-Renderer",
"id": "aef40c4987cb8548e87ea062e1d54eb42835e8ba",
"size... |
package edu.ucsb.cs56.w15.drawings.jstaahl.advanced;
import java.awt.Graphics;
import java.awt.Graphics2D;
import javax.swing.JPanel;
import javax.swing.JComponent;
// the four tools things we'll use to draw
import java.awt.geom.Line2D; // single lines
import java.awt.geom.Ellipse2D; // ellipses and circles
import... | {
"content_hash": "af75df5c52c7be998f3e2807462b48f9",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 104,
"avg_line_length": 32.26315789473684,
"alnum_prop": 0.6716383127476113,
"repo_name": "UCSB-CS56-W15/W15-lab04",
"id": "aebe81b22d2287b819123df31d8d88c4c1ed3b50",
"siz... |
package sample.actuator;
import java.util.Map;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.actuate.autoconfigure.LocalManagementPort;
import org.springframework.boot.autoconfigure.security.SecurityProperties;... | {
"content_hash": "5d09c086b4f3666e9beda77768387d4a",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 81,
"avg_line_length": 34.92660550458716,
"alnum_prop": 0.7612293144208038,
"repo_name": "izeye/spring-boot",
"id": "cf7df0c151316fde3ec285a97f8e4fc9d50898f7",
"size": "44... |
package apiserver
import (
"fmt"
"strings"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
"k8s.io/apimachinery/pkg/runtime/serializer"
"k8s.io/apimachinery/pkg/version"
"k8s.io/apiserver/pkg/registry/rest"
genericapiserver "k8s.io/ap... | {
"content_hash": "821ba1dd8af4ff2efcf6afc9e43d525c",
"timestamp": "",
"source": "github",
"line_count": 203,
"max_line_length": 160,
"avg_line_length": 27.788177339901477,
"alnum_prop": 0.7356851622052828,
"repo_name": "cert-manager/cert-manager",
"id": "acfc12b21ea5b3f0a2ec77525e2ee1fb2e1b2a21",
"... |
package com.linkedin.thirdeye.datalayer.pojo;
import com.linkedin.thirdeye.api.DimensionMap;
import java.util.ArrayList;
import java.util.List;
public class GroupedAnomalyResultsBean extends AbstractBean {
private long alertConfigId;
private DimensionMap dimensions = new DimensionMap();
private List<Long> ano... | {
"content_hash": "a8757b1267c512e1fbbc155383eb329b",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 64,
"avg_line_length": 22.553571428571427,
"alnum_prop": 0.7363420427553444,
"repo_name": "apucher/pinot",
"id": "920df1595549c8cc4b515abe6cbbc85f5766fbfc",
"size": "1900",... |
'use strict';
var pkg = require('./package.json');
var repeating = require('./');
var argv = process.argv.slice(2);
function help() {
console.log([
'',
' ' + pkg.description,
'',
' Usage',
' $ repeating <string> <count>',
'',
' Example',
' $ ... | {
"content_hash": "a3caffbf39ae10e845cd05a3b66cbc28",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 77,
"avg_line_length": 20.914285714285715,
"alnum_prop": 0.51775956284153,
"repo_name": "startinggravity/lean-drupal",
"id": "ac56510f4c36a254e7ddf95e21f81ab57ef19366",
"si... |
#pragma once
#include <aws/wafv2/WAFV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/wafv2/model/ManagedRuleGroupVersion.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
... | {
"content_hash": "f66f49534292c660b60864072a7d22a4",
"timestamp": "",
"source": "github",
"line_count": 187,
"max_line_length": 163,
"avg_line_length": 41.09090909090909,
"alnum_prop": 0.7008068714211348,
"repo_name": "aws/aws-sdk-cpp",
"id": "98d5c8594b519909e30fcdb043bafe9dac3a0f8a",
"size": "780... |
#if defined(USE_TI_UIIPADPOPOVER) || defined(USE_TI_UIIPADSPLITWINDOW)
#import "TiViewProxy.h"
#import "TiViewController.h"
//The iPadPopoverProxy should be seen more as like a window or such, because
//The popover controller will contain the viewController, which has the view.
//If the view had the logic, you get s... | {
"content_hash": "56c368a1ce3005b6398018f6ee5fb495",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 95,
"avg_line_length": 29.25581395348837,
"alnum_prop": 0.8076311605723371,
"repo_name": "myleftboot/includeActivity",
"id": "8c0814787a2ec86762fa738e318575c96da554e9",
"si... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "4bf91e276afb373b5fe95aa706ec2d6b",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "196bddd8c53c06ce82409b8e2d6ddbd152ebcc00",
"size": "18... |
<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="2.5" client="site" method="upgrade">
<name>Community - Quick Search Module</name>
<author>JomSocial Team</author>
<creationDate>April 2013</creationDate>
<copyright>Copyright (C) 2008 - 2013 JomSocial. All rights reserved.</copyright>
<... | {
"content_hash": "ba4a014289bc320653ec4b836ff6ac51",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 157,
"avg_line_length": 40.07692307692308,
"alnum_prop": 0.7159309021113244,
"repo_name": "deywibkiss/jooinworld",
"id": "283520be91d36a34a8d2c8f9c623ce0b3f92c1c4",
"size":... |
package org.apache.kafka.streams.state;
import org.apache.kafka.common.utils.Bytes;
/**
* A store supplier that can be used to create one or more {@link KeyValueStore KeyValueStore<Bytes, byte[]>} instances of type <Byte, byte[]>.
*
* For any stores implementing the {@link KeyValueStore KeyValueStore<Bytes,... | {
"content_hash": "e76a5f599f0eb11ce85876b92ad7f4f1",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 156,
"avg_line_length": 41.125,
"alnum_prop": 0.7537993920972644,
"repo_name": "mihbor/kafka",
"id": "ee645b10ffa734dba806d1129688782e7da326f2",
"size": "1456",
"binary":... |
layout: "docs"
page_title: "Common Ansible Options - Provisioning"
sidebar_current: "provisioning-ansible-common"
description: |-
This page details the common options to the Vagrant Ansible provisioners.
---
# Shared Ansible Options
The following options are available to both Vagrant Ansible provisioners:
- [`ans... | {
"content_hash": "785becbadbb06a56c59ce8cbf4806cb3",
"timestamp": "",
"source": "github",
"line_count": 201,
"max_line_length": 385,
"avg_line_length": 49.3134328358209,
"alnum_prop": 0.7069209039548022,
"repo_name": "crashlytics/vagrant",
"id": "28848b40422db24800d48f3cf5b6ce6595ce1924",
"size": "... |
package cn.jsprun.service;
import java.util.List;
import cn.jsprun.dao.CreditslogDao;
import cn.jsprun.domain.Creditslog;
import cn.jsprun.utils.BeanFactory;
public class CreditslogService {
public boolean insertCreditslog(Creditslog creditslog){
CreditslogDao credisDao = (CreditslogDao)BeanFactory.getBean("creditsl... | {
"content_hash": "7752f5a1ce6fe1bf1ee543b7152ec215",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 81,
"avg_line_length": 45.674418604651166,
"alnum_prop": 0.8151731160896131,
"repo_name": "TinghuanWang/source",
"id": "c77d503a0e0049e5bbbc48b198c3cf256b46a005",
"size": "... |
require 'spec_helper'
describe Thetvdbrb do
it 'has a version number' do
expect(Thetvdbrb::VERSION).not_to be nil
end
it 'does something useful' do
expect(false).to eq(true)
end
end
| {
"content_hash": "dc45181fd7dcaf0c0906e45552494626",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 44,
"avg_line_length": 18.181818181818183,
"alnum_prop": 0.7,
"repo_name": "chansuke/thetvdbrb",
"id": "c48172c9cfa4b75aadebf071f70851ae190386a4",
"size": "200",
"binary"... |
<!DOCTYPE html>
<html>
<head>
<title>Calculadora de Enlaces Satelitales | Universidad de Pamplona</title>
<meta charset="UTF-8">
<!-- Le decimos al navegador que nuestra web esta optimizada para moviles -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-sc... | {
"content_hash": "0f3bb4c2854a3d787576487aa74285de",
"timestamp": "",
"source": "github",
"line_count": 324,
"max_line_length": 362,
"avg_line_length": 63.72530864197531,
"alnum_prop": 0.4167675691383736,
"repo_name": "Luda16/satellite-link",
"id": "c78b55af40f9a810a8108365870deaad75e4fcd0",
"size"... |
package org.scalatest
package exceptions
import org.scalactic.Requirements._
import org.scalactic.exceptions.NullArgumentException
import org.scalactic.source
import StackDepthExceptionHelper.posOrElseStackDepthFun
/**
* Exception that indicates a property check failed.
*
* @param messageFun a function that retur... | {
"content_hash": "09de6b1a72e94c5bf4f5fa39c3f43073",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 179,
"avg_line_length": 48.45977011494253,
"alnum_prop": 0.7447817836812144,
"repo_name": "scalatest/scalatest",
"id": "4edd8cd2136756828a7e5d6bc650f27efe1b6590",
"size": "... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ro_RO" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Aleacoin</source>
<translation>Despre Aleacoin</translation>
</message>
<message>
<l... | {
"content_hash": "4b3a7c399fa41b0dcd4cc7b5718958d6",
"timestamp": "",
"source": "github",
"line_count": 3321,
"max_line_length": 470,
"avg_line_length": 39.45829569406805,
"alnum_prop": 0.6328553658778551,
"repo_name": "aleacoin/aleacoin-release",
"id": "7cdbb656a0444d5872ac9d7d7d729d9b765e453a",
"... |
package com.zeroami.commonlib.rx.rxbus;
/**
* <p>作者:Zeroami</p>
* <p>邮箱:826589183@qq.com</p>
* <p>描述:RxBus事件的包装</p>
*/
public class LRxBusEvent {
private String action;
private Object data;
public LRxBusEvent(String action, Object data) {
this.action = action;
this.data = data;
}
... | {
"content_hash": "53acce6b127eab7ed7a1e10d9d7facbe",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 52,
"avg_line_length": 18.53125,
"alnum_prop": 0.5885328836424958,
"repo_name": "Zeroami/YouLiao",
"id": "df7b5a240b59f9208aca00052f029e9e8d8bc325",
"size": "621",
"binar... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.