text stringlengths 2 1.04M | meta dict |
|---|---|
@interface MSWebAppInfo : NSObject
+ (NSDictionary *)getWebAppInfoWithSettings:(id<MSAppSettingsWebApp>)appSettings;
@end
| {
"content_hash": "dffe6d4359a494b624ef238888671782",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 81,
"avg_line_length": 24.8,
"alnum_prop": 0.8145161290322581,
"repo_name": "aelam/MSAppModuleWebApp",
"id": "734c9038c7eabb0dc659e736137560357009cd73",
"size": "263",
"bi... |
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using osu.Framework.Configuration;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.G... | {
"content_hash": "eae9e44873cd1b8349bc5478cdc1b4b4",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 117,
"avg_line_length": 32.583333333333336,
"alnum_prop": 0.5262148337595908,
"repo_name": "tacchinotacchi/osu",
"id": "921accf6ac93e670008384ae5e38fc3893fd3854",
"size": "... |
/**
* Autogenerated by Thrift
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.util.Set;
import java.util.HashSet;
import java.util.Collections;
import java.util.BitSe... | {
"content_hash": "7a1b12edabbbb3c571b0dd47fa8449f4",
"timestamp": "",
"source": "github",
"line_count": 459,
"max_line_length": 144,
"avg_line_length": 27.363834422657952,
"alnum_prop": 0.626671974522293,
"repo_name": "facebook/fbthrift",
"id": "c5d4d3bd04af70aa9995400b0ddd776e36163aa5",
"size": "1... |
never took their eyes off the couple. In the intervals of the
dance the count, breathing deeply, waved and shouted to the
musicians to play faster. Faster, faster, and faster; lightly, more
lightly, and yet more lightly whirled the count, flying round Marya
Dmitrievna, now on his toes, now on his heels; until, turning... | {
"content_hash": "a085b57a35c5c48ba88f2f4e7d76c9fc",
"timestamp": "",
"source": "github",
"line_count": 273,
"max_line_length": 70,
"avg_line_length": 42.73992673992674,
"alnum_prop": 0.7774254370929037,
"repo_name": "L34p/HeXA-CTF-2015",
"id": "814038f894ccc9aaa7a80bacc888a1acd7a9a922",
"size": "1... |
VPATH = /home/geekpradd/geekpradd.github.io/vendor/bundle/ruby/2.7.0/gems/ffi-1.15.4/ext/ffi_c/libffi/testsuite
am__is_gnu_make = { \
if test -z '$(MAKELEVEL)'; then \
false; \
elif test -n '$(MAKE_HOST)'; then \
true; \
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
true; \
else \
... | {
"content_hash": "cda107da16a0eae4e166181868c42bb2",
"timestamp": "",
"source": "github",
"line_count": 633,
"max_line_length": 137,
"avg_line_length": 35.5260663507109,
"alnum_prop": 0.6918801138384917,
"repo_name": "geekpradd/geekpradd.github.io",
"id": "e6360931d22001ea3f6b2bbaf8584fc03046ad90",
... |
class PilotPlane < ActiveRecord::Base
belongs_to :pilot
belongs_to :plane
end
| {
"content_hash": "d68a6f14c28059108acf62ad3ff3cb26",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 37,
"avg_line_length": 20.5,
"alnum_prop": 0.7560975609756098,
"repo_name": "jonpstone/portfolio-project-sinatra-combat-squadron",
"id": "cd0049de57c708b9f9c53804edb9f289f1622... |
<?php
namespace AmaxLab\YandexPddApi\Request\Domain;
use AmaxLab\YandexPddApi\Curl\CurlClient;
/**
* @author Egor Zyuskin <ezyuskin@amaxlab.ru>
*/
class GetDomainSettingRequest extends RegisterDomainRequest
{
/**
* @return string
*/
public function getUri()
{
return '/domain/details... | {
"content_hash": "a9802e4d47fad84f260633d0fcaf8da9",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 59,
"avg_line_length": 15.620689655172415,
"alnum_prop": 0.6203090507726269,
"repo_name": "amaxlab/yandex-pdd-api",
"id": "b2f666a5ca39300a55c382972963f76202bb6ac3",
"size"... |
const expect = require('expect.js')
const reduce = require('../index')
describe('Extraction', function () {
describe('max()', function () {
it('should return the greater number in array', function () {
expect(reduce.max([1,2,3])).to.be(3)
})
it('should return Infinity if array is empty', function... | {
"content_hash": "20fa4ce501ea5791cd37f61b1475706e",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 95,
"avg_line_length": 29.894736842105264,
"alnum_prop": 0.5836267605633803,
"repo_name": "ggviana/reduce-it",
"id": "d1df95a3e6292fe9d90cd1deb1f088f82f214d73",
"size": "11... |
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 334762 $ -->
<!-- Generated by xml_proto.php v2.2. Found in /scripts directory of phpdoc. -->
<appendix xml:id="ibm-db2.constants" xmlns="http://docbook.org/ns/docbook">
&reftitle.constants;
&extension.constants;
<variablelist>
<varlistentry xml:id="constant.d... | {
"content_hash": "830ebe53e02ba3352cbc029dae9f5e60",
"timestamp": "",
"source": "github",
"line_count": 249,
"max_line_length": 96,
"avg_line_length": 26.546184738955823,
"alnum_prop": 0.6591527987897126,
"repo_name": "mziyut/.vim",
"id": "bce687921e1110f8149aec5e05ae6706b2c8af4d",
"size": "6610",
... |
Ubuntu install script to install different packages.
## Packages:
- Vim
- .vimrc can be included too
- Git
- Python-pip
- Java openjdk
- Eclipse
- Android studio(*may work for ubuntu > 14.10*)
- Chrome stable
## How to use:
Everything in system_setup.sh is commented. Hence uncomment what you want to install.
To run... | {
"content_hash": "921c424d774ba89dfb74994a4a75f28b",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 85,
"avg_line_length": 22.0625,
"alnum_prop": 0.7308781869688386,
"repo_name": "mariufa/BashInstaller",
"id": "25584e56637ec7e8d0a93a4af1d98db6ba9405cb",
"size": "369",
"... |
package org.apache.pinot.common.metrics;
import org.apache.pinot.common.Utils;
/**
* Enumeration containing all the gauges exposed by the Pinot broker.
*
*/
public enum BrokerGauge implements AbstractMetrics.Gauge {
QUERY_QUOTA_CAPACITY_UTILIZATION_RATE("tables", false),
MAX_BURST_QPS("tables", false),
QUE... | {
"content_hash": "f862c7b73e4aec1a9436d8415f8b7ed2",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 80,
"avg_line_length": 22.93617021276596,
"alnum_prop": 0.7050092764378478,
"repo_name": "linkedin/pinot",
"id": "5a5a72abe4235eb7e5b5e5b01576ea4aeacd4e11",
"size": "1886",... |
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* vim: set ts=4 sw=4 et tw=99:
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#i... | {
"content_hash": "2b8e1b33dde4899d15c50a25f65f2455",
"timestamp": "",
"source": "github",
"line_count": 291,
"max_line_length": 108,
"avg_line_length": 28.034364261168385,
"alnum_prop": 0.687545967148811,
"repo_name": "sergecodd/FireFox-OS",
"id": "4435a9b5bdd0898b10fc0452e19a2e340672c96e",
"size":... |
import { ILakeNiceClient } from '../../../../lakenicejs/base/lakenice-client';
/**
* General handler interface.
*/
export interface IHGeneral {
/**
* Handle the action.
*
* @param {Object} argOptions A collection of argument options.
*/
handleAction(argOptions?: any): void;
... | {
"content_hash": "adfd7f978a09b2909bb60bc84f3d50dc",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 79,
"avg_line_length": 31.428571428571427,
"alnum_prop": 0.5840909090909091,
"repo_name": "drazenzadravec/projects",
"id": "257fb5b153dc8bcc40436f2058c757864fc7166b",
"size... |
using Umbraco.Cms.Core.Services;
using Umbraco.Cms.Infrastructure.Persistence;
using Umbraco.Cms.Infrastructure.Persistence.Dtos;
using Umbraco.Extensions;
namespace Umbraco.Cms.Infrastructure.Migrations.Upgrade.V_9_3_0
{
public class UpdateExternalLoginToUseKeyInsteadOfId : MigrationBase
{
public Upda... | {
"content_hash": "2670eae7d1ab1bd67d01123b32bddd2a",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 206,
"avg_line_length": 41.25974025974026,
"alnum_prop": 0.5546112684922884,
"repo_name": "dawoe/Umbraco-CMS",
"id": "4c7104e762325e421f5dbee2b4ff5f2e6afb795c",
"size": "31... |
using SEV.Domain.Model;
using SEV.Domain.Services.Data;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
namespace SEV.DAL.EF
{
public class EFRepository<TEntity> : QueryBuilder<TEntity>, IRepository<TEntity>
where TEntity : Entity
{
... | {
"content_hash": "322ce32a49470de314bbb28e8978b8d9",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 89,
"avg_line_length": 26.282608695652176,
"alnum_prop": 0.5661703887510339,
"repo_name": "sev15/SEVFramework",
"id": "4bd0d25c12f1d0212da33cf6ae6545573a2cc36a",
"size": "2... |
function afni_niml_test_io(fns)
% simple test function for i/o capabilities of afni_niml_{read,parse,print,write}
%
% AFNI_NIML_TEST_IO(FNS), where FNS is a cell with filenames, reads each of
% the files indicated in FNS, tests whether parsing and printing are
% reverse operations, and writes the files to a new file. ... | {
"content_hash": "e5ec3fcd19f4af7b66f3a129e3433684",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 92,
"avg_line_length": 27.31192660550459,
"alnum_prop": 0.631172321128653,
"repo_name": "pchrapka/brain-modelling",
"id": "00dd42d25597d556c003af89e06d19d67a20cfa3",
"size... |
class Irrlicht < Formula
desc "Realtime 3D engine"
homepage "https://irrlicht.sourceforge.io/"
url "https://downloads.sourceforge.net/project/irrlicht/Irrlicht%20SDK/1.8/1.8.4/irrlicht-1.8.4.zip"
sha256 "f42b280bc608e545b820206fe2a999c55f290de5c7509a02bdbeeccc1bf9e433"
# Irrlicht is available under alternativ... | {
"content_hash": "05728ceb0535691b72fbf7f48f4ca005",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 122,
"avg_line_length": 42.8,
"alnum_prop": 0.6539719626168224,
"repo_name": "mbcoguno/homebrew-core",
"id": "e60114b507cf39916f7865bf94aaac96972eeb9a",
"size": "4280",
... |
import url = require("url");
import http = require("http");
import path = require("path");
import base = require("./base");
import {isDefined, isFunction, deferred, parallel} from "../utils/common";
import {mkdir} from "../utils";
import IManager = require("../sass/manager/IManager");
import Manager = require("../sass/... | {
"content_hash": "0f286972e16f7a3296285720ba1b1f29",
"timestamp": "",
"source": "github",
"line_count": 318,
"max_line_length": 107,
"avg_line_length": 42.83647798742138,
"alnum_prop": 0.4246072529731317,
"repo_name": "rodzewich/playground",
"id": "9565ec8def7dc9ade767306d14b4fa26a7a57025",
"size":... |
package generated.zcsclient.mail;
import java.util.ArrayList;
import java.util.List;
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 modifyOutgoingFilterR... | {
"content_hash": "ac5b7707b777b22dcbd2c5152549347e",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 122,
"avg_line_length": 29.842105263157894,
"alnum_prop": 0.5956160241874527,
"repo_name": "nico01f/z-pec",
"id": "a6b64bd02917a70eeb6ecfe333e41b968185b02a",
"size": "3969... |
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (c) 2020 Kurt Aaholst <kaaholst@gmail.com>
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... | {
"content_hash": "8276b9879efd2562c2a1633b9ff6c214",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 73,
"avg_line_length": 38.77358490566038,
"alnum_prop": 0.6627737226277373,
"repo_name": "kaaholst/android-squeezer",
"id": "f332426ea5c0104c3b12553dbb0b7f1e4208d48f",
"siz... |
FactoryGirl.define do
factory :keyword_group_main_entry do
keyword_group nil
main_entry nil
end
end
| {
"content_hash": "feb22e956f0818b27e9dd5cbd1e026e8",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 38,
"avg_line_length": 18.666666666666668,
"alnum_prop": 0.7321428571428571,
"repo_name": "UMNLibraries/ikidowinan",
"id": "db0a206c7505e03e2603f55e525476783b95285b",
"size"... |
\chapter{Functions and Graphs}
\section{Slope}
Slope defines the average rate of change on a function in a given interval,
\(\Delta x\) (this expression is defined as $x_2-x_1$).
Consider a function $f(x)$. $f$ takes in x-coordinates, and spits out
corresponding y-coordinates, creating a set of ordered pairs that pr... | {
"content_hash": "f0cc88561cec6cb2f6f4850abee3a168",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 80,
"avg_line_length": 36.825,
"alnum_prop": 0.718601493550577,
"repo_name": "ttaylorr/finals",
"id": "fcd51d5f6cc07fc4c3293ea29aa196593a224b58",
"size": "5892",
"binary... |
package com.twitter.scalding
import org.specs._
import org.scalacheck.Arbitrary
import org.scalacheck.Arbitrary.arbitrary
import org.scalacheck.Properties
import org.scalacheck.Prop.forAll
import org.scalacheck.Gen._
import scala.util.Success
class ConfigTest extends Specification {
"A Config" should {
"casca... | {
"content_hash": "8e4fd1b112282430db0aa69a618153cf",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 99,
"avg_line_length": 36.03508771929825,
"alnum_prop": 0.6611489776046738,
"repo_name": "lucamilanesio/scalding",
"id": "048979442b1983182b49c933f492cacfa33b39bc",
"size":... |
import os
import tempfile
import textwrap
def test_options_from_env_vars(script):
"""
Test if ConfigOptionParser reads env vars (e.g. not using PyPI here)
"""
script.environ['PIP_NO_INDEX'] = '1'
result = script.pip('install', '-vvv', 'INITools', expect_error=True)
assert "Ignoring indexes:" ... | {
"content_hash": "41bf374a886ae2e07eb20bdd2570ddde",
"timestamp": "",
"source": "github",
"line_count": 198,
"max_line_length": 79,
"avg_line_length": 33.01010101010101,
"alnum_prop": 0.643359853121175,
"repo_name": "1stvamp/pip",
"id": "ea19a5ca9abd3eb8eb5b83d73ff502464491897e",
"size": "6536",
... |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--
Copyright 2016 Goldman Sachs.
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
Unle... | {
"content_hash": "fe77181524201782aea02ba25c6b8942",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 132,
"avg_line_length": 51.8,
"alnum_prop": 0.7644787644787645,
"repo_name": "gs-rezaem/gs-xsd2bean",
"id": "d876329740677cb0328bc56741541076f963e8da",
"size": "1554",
"b... |
from xobj import xobj
class AbstractOvfObject(object):
prefix = ''
def __init__(self, **kwargs):
for key, val in self.__class__.__dict__.iteritems():
if type(val) == list:
setattr(self, key, [])
elif type(val) == str:
setattr(self, key, val)
... | {
"content_hash": "6556d884e63c01a3d0da7f3b0b4a2c38",
"timestamp": "",
"source": "github",
"line_count": 254,
"max_line_length": 85,
"avg_line_length": 29.437007874015748,
"alnum_prop": 0.5506219071820249,
"repo_name": "sassoftware/pyovf",
"id": "c4d30a88250135798320a17445defdc98be457c7",
"size": "8... |
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2014 The Android Open Source Project
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/license... | {
"content_hash": "0d5d2a9483def9aa80b98dbe710697a8",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 399,
"avg_line_length": 57.77272727272727,
"alnum_prop": 0.7403619197482297,
"repo_name": "SevenStringArgs/ColdChainSensors",
"id": "076c9de6dbbf37492d20b3c8edaba76be8e714f9"... |
<?php
/**
* Adminコントローラー
*
* Twitterスクレイピングを表示する機能
*
*
*/
class Controller_Login_Admin_Twitterscraping extends Controller_Login_Template {
public function action_index() {
// ログインチェック
$login_check = Model_Login_Basis::login_check();
if($login_check) {
// viewテンプレート読み込み
$this->login_admin_templ... | {
"content_hash": "46f05cbfaaa0d0e3acd5011b9e5bf210",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 86,
"avg_line_length": 25.47222222222222,
"alnum_prop": 0.6401308615049073,
"repo_name": "mtoksuy/sharetube",
"id": "1b3fadc5fa4fa424a04a4580014d80bbb685fb2c",
"size": "106... |
package populator
// ErrNoSuchPopulator implements the error interface
type ErrNoSuchPopulator string
func (e ErrNoSuchPopulator) Error() string { return string(e) }
| {
"content_hash": "29f9e0db2e03a2448983173f56a830ed",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 63,
"avg_line_length": 28,
"alnum_prop": 0.8095238095238095,
"repo_name": "nerdalize/nerd",
"id": "b4f937fd2a3c1f0071d3af543326e19ae78457df",
"size": "168",
"binary": fals... |
#include "Tudat/Astrodynamics/Propagators/rotationalMotionModifiedRodriguesParametersStateDerivative.h"
namespace tudat
{
namespace propagators
{
//! Function to obtain the time derivative of modified Rodrigues parameters of body-fixed to inertial frame.
Eigen::Vector4d calculateModifiedRodriguesParametersDerivati... | {
"content_hash": "8f4086f464db969977e08bf1e4cac386",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 130,
"avg_line_length": 45.06818181818182,
"alnum_prop": 0.7927382753403933,
"repo_name": "DominicDirkx/tudat",
"id": "89efd5fae452729efe0589a5388e96cbe458d81d",
"size": "2... |
<?php
// including the config file
include('config.php');
$pdo = connect();
// clear table before import
$pdo->exec("TRUNCATE TABLE lista");
$csv_file = $_FILES['csv_file']['tmp_name'];
if (is_file($csv_file)) {
$input = fopen($csv_file, 'a+');
// if the csv file contain the table header leave this line
$row = f... | {
"content_hash": "0396d73ed11312722736dd3ab1b93ffe",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 90,
"avg_line_length": 27.74418604651163,
"alnum_prop": 0.5926236378876781,
"repo_name": "gugoan/importacao",
"id": "47b658fcbd2250c02ef58b114239f06cc86b3611",
"size": "119... |
using bookmarks::BookmarkModel;
using bookmarks::BookmarkNode;
using bookmarks::BookmarkNodeData;
using content::WebContents;
namespace extensions {
namespace bookmark_keys = bookmark_api_constants;
namespace bookmark_manager_private = api::bookmark_manager_private;
namespace CanPaste = api::bookmark_manager_private:... | {
"content_hash": "34d7d6d81bc3d60c985fc8211988ff57",
"timestamp": "",
"source": "github",
"line_count": 814,
"max_line_length": 80,
"avg_line_length": 35.69410319410319,
"alnum_prop": 0.7209774565479263,
"repo_name": "was4444/chromium.src",
"id": "9b57f6cec995ff5213b129c9246e4e5f78f40e38",
"size": ... |
mPower App
==========
The Parkinson app is one of the first five apps built using [ResearchKit](https://github.com/researchkit/ResearchKit).
mPower is a unique iPhone application that uses a mix of surveys and
tasks that activate phone sensors to collect and track health and
symptoms of Parkinson Disease (PD) progres... | {
"content_hash": "ed2aacc5cafc7577689f425993a18190",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 134,
"avg_line_length": 36.60674157303371,
"alnum_prop": 0.785451197053407,
"repo_name": "insha/mPower",
"id": "33049c1ed7ac47f7993021bb34057df400b0a4b2",
"size": "3258",
... |
package org.metacsp.utility.UI;
public interface Callback {
public void performOperation();
}
| {
"content_hash": "e17b6a614c1918b556206306b59e8732",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 32,
"avg_line_length": 13.5,
"alnum_prop": 0.6944444444444444,
"repo_name": "FedericoPecora/meta-csp-framework",
"id": "45727a9c6dd532a45725b53c54679445b12ece7a",
"size": "1... |
package com.study.disableapp;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute on an Android... | {
"content_hash": "38e53ecba3339ca29ce4cbc5263d4113",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 78,
"avg_line_length": 28.615384615384617,
"alnum_prop": 0.7473118279569892,
"repo_name": "yecjl/AndroidStudyDemo",
"id": "f3b98e2a9e334ce7fcae5fe16c533a27b82dab43",
"size"... |
var React = require('react'),
_ = require('lodash'),
uri = require('./uri.js');
var Router = function(options) {
this._options = _.extend({
defaultProps: {}
}, options);
this.routeLink = this.routeLink.bind(this);
this.onPopState = this.onPopState.bind(this);
this._bindPopStateEvent();
// Th... | {
"content_hash": "c1facfac8b61a5e054b82f908bf4e6af",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 77,
"avg_line_length": 27.60747663551402,
"alnum_prop": 0.6668923493568043,
"repo_name": "teosz/react-querystring-router",
"id": "d9d6e6c6c56fa23e87b068d2bd7be6888895813f",
... |
package ext.ojalgo.jexcel.database;
import org.ojalgo.type.context.TypeContext;
import ext.ojalgo.jexcel.Spreadsheet;
public final class NumberColumn extends Column<Comparable<?>> {
public NumberColumn(final String aName, final TypeContext<Comparable<?>> aContext) {
super(aName, aContext);
}
@... | {
"content_hash": "f14915d982b333a6aad0654004c9153c",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 88,
"avg_line_length": 25.208333333333332,
"alnum_prop": 0.71900826446281,
"repo_name": "optimatika/ojAlgo-extensions",
"id": "341db7517c84d4c5cd91ca31d42d4f1fa2581b6f",
"s... |
<?xml version="1.0" encoding="utf-8"?>
<ImageView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/iv_icon"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:scaleType="centerCrop" /> | {
"content_hash": "103970a152d9d5d90617c9fb231f6b98",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 69,
"avg_line_length": 41.714285714285715,
"alnum_prop": 0.708904109589041,
"repo_name": "Boria7777/compoment-Album",
"id": "5a7d6498e9e31daf4c63c2ac0ca7fda9cbb01e3a",
"size... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ApiScheme.Client;
using ApiScheme.Scheme;
using System.Net;
using ApiScheme;
using System.Diagnostics;
namespace ApiSchemeTest
{
[TestClass]
public class ApiCall
{
[TestMethod]
public void Plus()
{
... | {
"content_hash": "b589b82b666a40dd626b5e171b1e706f",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 80,
"avg_line_length": 24.424242424242426,
"alnum_prop": 0.4466501240694789,
"repo_name": "Michitaro-Naito/ApiScheme",
"id": "d35c4f15ebd8461cb6bab2319fa746bbab5cf2d3",
"si... |
<VerifyAPIKey name='VerifyAPIKey-1'>
<APIKey ref='request.header.apikey'></APIKey>
<!--
Variables populated by this policy: verifyapikey.{policy_name}.
client_id: The consumer key (aka API key or app key) supplied by the requesting app
client_secret: The consumer secret associated with the consum... | {
"content_hash": "1a21afc2063944ea07398edc4ec29260",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 100,
"avg_line_length": 54.72727272727273,
"alnum_prop": 0.7350498338870431,
"repo_name": "DinoChiesa/devjam3-20170405",
"id": "53fdc2a77f9db89fac212e43ab254ad703d05c5d",
"... |
namespace Framework.Ioc
{
using System;
using System.Collections.Generic;
using System.Threading;
/// <summary>
/// This lifetime manager behavior is to always return a the same instance when the
/// Resolve method is called on same Thread.
/// </summary>
public class ThreadLifetime :... | {
"content_hash": "9ef02412e07c08ab3a84f13b37f4bbca",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 186,
"avg_line_length": 36.2962962962963,
"alnum_prop": 0.44727891156462585,
"repo_name": "anwarjaved/Innosparx",
"id": "480b34b22aa60d92ccc23a616bf1a68a6de5f1e9",
"size": ... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.FRAGMENT_NODE = exports.COMMENT_NODE = exports.TEXT_NODE = exports.ELEMENT_NODE = void 0;
const ELEMENT_NODE = 1;
exports.ELEMENT_NODE = ELEMENT_NODE;
const TEXT_NODE = 3;
exports.TEXT_NODE = TEXT_NODE;
const COMMENT_NODE = 8;
expor... | {
"content_hash": "32db2a7fb5a5d0d678ff4d3d55ac6a6c",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 97,
"avg_line_length": 29.714285714285715,
"alnum_prop": 0.7379807692307693,
"repo_name": "brett-harvey/Smart-Contracts",
"id": "1f00ab186075f23098f99f9f401f470f0fb717df",
... |
from django.conf.urls import patterns, include, url
from django.conf import settings
from django.contrib import admin
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
from django.conf.urls.static import static
from django.views.generic import TemplateView
from apps.app import application
from accoun... | {
"content_hash": "465dfee46630325cd57e06ab185d124d",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 70,
"avg_line_length": 38.888888888888886,
"alnum_prop": 0.7238095238095238,
"repo_name": "carver/django-account-balances",
"id": "ded3503bca2cd4951549ebec743ad0449ef0c47b",
... |
<div class="topic" xmlns="http://www.w3.org/1999/xhtml">
<h1 class="title">SVGPathSegMovetoRel object</h1>
<div id="mainSection">
<div class="clsServerSDKContent">
</div>
<p>Corresponds to an relative moveto (<a href="http://msdn.microsoft.com/en-us/library/ie/ff972086(v=vs.85).aspx#pathCommandTable">m</a>) <st... | {
"content_hash": "27e5cbfd64cbee8f79ac503c9082b7f5",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 465,
"avg_line_length": 50.377049180327866,
"alnum_prop": 0.6326065733810609,
"repo_name": "shehuaqigai/JSBOOK",
"id": "82b31de3e40753ec5d29752011536d42c51f0586",
"size": "... |
package test.scala.lib.time
import scala.collection.JavaConversions._
import org.junit.runner.RunWith
import org.scalatest.FlatSpec
import org.scalatest.junit.JUnitRunner
import org.scalatest.Matchers
import com.opendatagroup.hadrian.data._
import com.opendatagroup.hadrian.jvmcompiler._
import com.opendatagroup.had... | {
"content_hash": "a94c6eead5ca46ab49f303eb944d9d80",
"timestamp": "",
"source": "github",
"line_count": 252,
"max_line_length": 101,
"avg_line_length": 35.95238095238095,
"alnum_prop": 0.698233995584989,
"repo_name": "opendatagroup/hadrian",
"id": "b21cc8cda6c64ebe42150b926459ff04ef72c8fd",
"size":... |
@interface GoodsModel : MBTestMainModel
@property (nonatomic, copy) NSString *idd; //商品id
@property (nonatomic, copy) NSString *title; //标题
@property (nonatomic, copy) NSString *title2; //小标题
@property (nonatomic, copy) NSString *zongrenshu; //总人数
@property (nonatomic, copy) NSString *canyurenshu; //参与人数
@property (non... | {
"content_hash": "7553d29a1e2ebd4b41902574182a68f7",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 65,
"avg_line_length": 43.30952380952381,
"alnum_prop": 0.7361187465640462,
"repo_name": "Miaocool/MYG-NewVersion",
"id": "cad740aad6db591865ee84b1cd9ae5f2561457c1",
"size"... |
/**
* Created by Darkstar on 11/29/2016.
*/
import React from 'react';
import {connect} from 'react-redux';
import Toolbar from '../toolbar/toolbar.js';
import Footer from '../footer/footer.jsx';
import {sendEmailCampaign, showAlert} from '../../actions';
import RaisedButton from 'material-ui/RaisedButton';
import Em... | {
"content_hash": "0cfd22a8b99f508e41c955a3c1babd5d",
"timestamp": "",
"source": "github",
"line_count": 191,
"max_line_length": 215,
"avg_line_length": 46.518324607329845,
"alnum_prop": 0.3180641530669668,
"repo_name": "imankit/dashboard-ui",
"id": "d63d6231ac945465757cdde1a240c986ce909f54",
"size"... |
PHPUnit_Framework_MockObject_Generator::generate('Foo', array(), 'MockFoo', TRUE, TRUE)
--FILE--
<?php
interface Foo
{
public function bar(Foo $foo);
}
require_once 'PHPUnit/Autoload.php';
require_once 'Text/Template.php';
$generator = new PHPUnit_Framework_MockObject_Generator;
$mock = $generator->generate(
'... | {
"content_hash": "5b6727668fca5b555660074359f48550",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 147,
"avg_line_length": 27.846938775510203,
"alnum_prop": 0.628068889703188,
"repo_name": "matthiaskluth/cafe-fleischlos",
"id": "0605588948222e0640c787bfd61630ab33bf0b02",
... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/bitcoin-config.h>
#endif
#include <c... | {
"content_hash": "14da2464931eae2ae4d809c5b76b79d9",
"timestamp": "",
"source": "github",
"line_count": 555,
"max_line_length": 395,
"avg_line_length": 41.91171171171171,
"alnum_prop": 0.6264563002450454,
"repo_name": "wellenreiter01/Feathercoin",
"id": "487c437d2591d161c3b41a24e4b16665b088cc8c",
"... |
package com.xj.scud.spring.schema;
import com.xj.scud.spring.bean.ServerBean;
import org.springframework.beans.factory.config.BeanDefinition;
import org.springframework.beans.factory.config.RuntimeBeanReference;
import org.springframework.beans.factory.support.BeanDefinitionBuilder;
import org.springframework.beans.fa... | {
"content_hash": "71ecd719bc5d03ebd2678644a01990f4",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 141,
"avg_line_length": 42.96363636363636,
"alnum_prop": 0.7355057130765975,
"repo_name": "xiajunsongfan/scud",
"id": "b79653ca53830584aea790717a83b604104c55c1",
"size": "2... |
/*
* HDA Patches - included by hda_codec.c
*/
/* Realtek codecs */
extern struct hda_codec_preset snd_hda_preset_realtek[];
/* C-Media codecs */
extern struct hda_codec_preset snd_hda_preset_cmedia[];
/* Analog Devices codecs */
extern struct hda_codec_preset snd_hda_preset_analog[];
/* SigmaTel codecs */
extern str... | {
"content_hash": "43cdaa712066097e1d261f246d1cbf99",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 61,
"avg_line_length": 28.47826086956522,
"alnum_prop": 0.7297709923664122,
"repo_name": "ut-osa/syncchar",
"id": "acaef3c811b8c4791271f2250603d8cce6160e32",
"size": "655",... |
package org.apache.geode.internal.net;
import static org.apache.commons.lang3.ObjectUtils.getIfNull;
import static org.apache.geode.internal.net.filewatch.FileWatchingX509ExtendedKeyManager.newFileWatchingKeyManager;
import static org.apache.geode.internal.net.filewatch.FileWatchingX509ExtendedTrustManager.newFileWa... | {
"content_hash": "7b8b460ad4da0ef0ca4c43c890265b36",
"timestamp": "",
"source": "github",
"line_count": 636,
"max_line_length": 120,
"avg_line_length": 35.79245283018868,
"alnum_prop": 0.7073449305921631,
"repo_name": "jdeppe-pivotal/geode",
"id": "caeda963223a3b77748a14346ec51dc29afc49fb",
"size":... |
<?php
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;
Use common\components\CommonHelper;
use yii\helpers\ArrayHelper;
use common\models\LoginForm;
use yii\captcha\Captcha;
use frontend\models\PasswordResetRequestForm;
$forgot = new PasswordResetRequestForm();
/*$religion_data = CommonHelper::getReligion();
$commu... | {
"content_hash": "5e2e0bdcede939fed0cae668b01e7029",
"timestamp": "",
"source": "github",
"line_count": 851,
"max_line_length": 600,
"avg_line_length": 50.010575793184486,
"alnum_prop": 0.4126976667684861,
"repo_name": "shibam2015/KandePohe",
"id": "f3b6993d279bedeed212e1d83383b85660f5f30c",
"size"... |
from __future__ import absolute_import, division
from copy import copy
from functools import partial
from .auto import tqdm as tqdm_auto
try:
import keras
except (ImportError, AttributeError) as e:
try:
from tensorflow import keras
except ImportError:
raise e
__author__ = {"github.com/": ... | {
"content_hash": "056278b12f898cf6ba4ec26cd03427f5",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 81,
"avg_line_length": 35.556451612903224,
"alnum_prop": 0.5493309140394648,
"repo_name": "sonntagsgesicht/regtest",
"id": "523e62e94753523f52ebc0a704240c4095321e44",
"siz... |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".DecodeToSurfaceActivity"
android:background="#000" >
<SurfaceView
... | {
"content_hash": "45edbd21d6137fcf4b20351f493c575f",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 74,
"avg_line_length": 37,
"alnum_prop": 0.6756756756756757,
"repo_name": "hoolrory/MediaCodecDemo",
"id": "32ba9fb78e88374d0c0b950fb3b5611326a15f44",
"size": "518",
"bin... |
import Yoga from '@react-pdf/yoga';
import { isNil } from '@react-pdf/fns';
const OVERFLOW = {
hidden: Yoga.OVERFLOW_HIDDEN,
scroll: Yoga.OVERFLOW_SCROLL,
};
/**
* Set overflow attribute to node's Yoga instance
*
* @param {String} overflow value
* @param {Object} node instance
* @return {Object} node instanc... | {
"content_hash": "2b52ff6ae5ec300b89704cfd77684358",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 62,
"avg_line_length": 21.51851851851852,
"alnum_prop": 0.6729776247848537,
"repo_name": "diegomura/react-pdf",
"id": "d14ab4a103316ee75847d01098d340f92c8a152c",
"size": "5... |
import agents as ag
import envgui as gui
import random
# ______________________________________________________________________________
loc_A, loc_B = (1, 1), (2, 1) # The two locations for the Vacuum world
def RandomVacuumAgent():
"Randomly choose one of the actions from the vacuum environment."
p = ag.Ra... | {
"content_hash": "969f390af69d6a68e923075530f7a512",
"timestamp": "",
"source": "github",
"line_count": 207,
"max_line_length": 81,
"avg_line_length": 31.32367149758454,
"alnum_prop": 0.5598396051819864,
"repo_name": "WmHHooper/aima-python",
"id": "4e0039b0f33911619803909769bfd1239a7be371",
"size":... |
<!DOCTYPE html>
<html lang="en">
<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>TorrentFileCreatorResult class - hetimatorrent library - Dart API</title>
<!-- required because all the lin... | {
"content_hash": "4cfa6811da742e0222478d37f83ee17e",
"timestamp": "",
"source": "github",
"line_count": 304,
"max_line_length": 323,
"avg_line_length": 50.89473684210526,
"alnum_prop": 0.6545372285418821,
"repo_name": "kyorohiro/dart_hetimatorrent",
"id": "b4e67dd73da6978ed11234fd4321e73e951370dd",
... |
using System;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Drawing.Text;
using System.Windows.Forms;
using MaterialSkin.Animations;
namespace MaterialSkin.Controls
{
public class MaterialFlatButton : Button, IMaterialControl
{
[Browsable(false)]
... | {
"content_hash": "17aa3da3a496ba1af976c72fb5a3bdff",
"timestamp": "",
"source": "github",
"line_count": 231,
"max_line_length": 162,
"avg_line_length": 32.75757575757576,
"alnum_prop": 0.5176423946081671,
"repo_name": "cz-michi/MaterialSkin",
"id": "833a045188cbd888aff7fdb20000396063770d8e",
"size"... |
require 'test/unit'
require 'rubygems'
require 'yaml'
require File.dirname(__FILE__) + '/../lib/profanity_filter'
class BasicProfanityFilterTest < Test::Unit::TestCase
def test_basic_profanity_filter_does_not_modify_clean_words
assert_equal 'happy', ProfanityFilter::Base.clean('happy')
end
def test_basic... | {
"content_hash": "a1e8a7506a2133b3ec39ba87ec950cbd",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 94,
"avg_line_length": 44.91228070175438,
"alnum_prop": 0.7044270833333334,
"repo_name": "intridea/profanity_filter",
"id": "c9f621d15f3d841ef9105297b4aa25e77d0cb650",
"si... |
package org.jboss.pnc.coordinator.test;
import org.jboss.pnc.bpm.BpmTask;
import org.jboss.pnc.bpm.mock.BpmMock;
import org.jboss.pnc.bpm.model.BuildResultRest;
import org.jboss.pnc.bpm.model.mapper.BuildResultMapper;
import org.jboss.pnc.bpm.model.mapper.RepositoryManagerResultMapper;
import org.jboss.pnc.common.Con... | {
"content_hash": "c40ab8f3510260e50e5e3db33ccba751",
"timestamp": "",
"source": "github",
"line_count": 247,
"max_line_length": 119,
"avg_line_length": 35.37246963562753,
"alnum_prop": 0.7107702872839647,
"repo_name": "alexcreasy/pnc",
"id": "a053cc8564138a94963dc5344a5c5f6f2fb71b13",
"size": "9445... |
package ch.ifocusit.livingdoc.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* @author Julien Boz
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.PACKAGE})
pub... | {
"content_hash": "352999647a75f09d9251ea9e58d7f5de",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 44,
"avg_line_length": 23.466666666666665,
"alnum_prop": 0.7642045454545454,
"repo_name": "jboz/living-documentation",
"id": "f145c08aeeb2f467d4c2a3c712074ebbf20157cc",
"si... |
/* -------------------------------------------------------------------------- */
/* Copyright 2002-2015, OpenNebula Project, OpenNebula Systems */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); you may ... | {
"content_hash": "ce8a722f94722698af389b14695225da",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 80,
"avg_line_length": 67,
"alnum_prop": 0.3974862529457973,
"repo_name": "fasrc/one",
"id": "ac3fb96afc41ceed636dc1734193a1fb183c1a9a",
"size": "1273",
"binary": false,
... |
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class FormMainCP
Inherits System.Windows.Forms.Form
'Form overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
Try... | {
"content_hash": "5c2b97560552b1823dcc62974d4b91cd",
"timestamp": "",
"source": "github",
"line_count": 482,
"max_line_length": 202,
"avg_line_length": 60.48547717842324,
"alnum_prop": 0.7112574603827948,
"repo_name": "SnowShock35/CalcPlumber",
"id": "39fce34147d477032268b884bad762960eef30a1",
"siz... |
void save_session(const std::string& path);
void write_prompt(const std::string& lang, const std::string& pwd, const std::string& promptCh);
void write_info(const std::string& info,
const std::string& pwd,
const std::string& promptCh,
const std::string& str,
size... | {
"content_hash": "887bdfeaa4c91752f5fbc8c03bb23730",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 96,
"avg_line_length": 29.25,
"alnum_prop": 0.6089743589743589,
"repo_name": "nifty-site-manager/nsm",
"id": "ca736e7e70321ad6818b1e50aa08d8037f096f5d",
"size": "1105",
"... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
namespace AuthAzdo.Pages
{
[ResponseCache(Duration = 0, Location = ResponseCacheL... | {
"content_hash": "89a2d2ac3f3306d283f6d143afe2a5df",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 88,
"avg_line_length": 26.096774193548388,
"alnum_prop": 0.6786155747836835,
"repo_name": "jaredpar/random",
"id": "32d51ac7de972ee85fc12bb15a70fcd2e82d9fe5",
"size": "809"... |
<?xml version='1.0'?>
<entity_stock_mvt_reason>
<stock_mvt_reason id='Increase'>
<name>Stijging</name>
</stock_mvt_reason>
<stock_mvt_reason id='Decrease'>
<name>Daling</name>
</stock_mvt_reason>
<stock_mvt_reason id='Customer_Order'>
<name>Klantenbestelling</name>
</stock_mvt_reason>
<stock_m... | {
"content_hash": "d2dd53abea83969447339fbdc0941823",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 70,
"avg_line_length": 35.074074074074076,
"alnum_prop": 0.7001055966209081,
"repo_name": "klebercode/prestashop",
"id": "60e15386bc78053dce3cd074d632e5005aa3c688",
"size":... |
using namespace std;
#include "sistema_informativo.h"
#include <cstdlib>
// #include <sstream>
// SistemaInformativo::SistemaInformativo() { }
int casuale(int min, int max) { return rand()%(max-min+1); }
void SistemaInformativo::addStanzaAlSistema(Stanza s) { lstanze.push_back(s); }
// prima di aggiungere una pre... | {
"content_hash": "ca080c9206a1abc9b648435314179a03",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 97,
"avg_line_length": 25.933333333333334,
"alnum_prop": 0.639869128301005,
"repo_name": "bebosudo/2015-12-03_132059",
"id": "12e2a44ee96ac333a526a600530ba644eab50146",
"s... |
/*
* UltraCart Rest API V2
*
* UltraCart REST API Version 2
*
* OpenAPI spec version: 2.0.0
* Contact: support@ultracart.com
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using Sy... | {
"content_hash": "c8d1c2a7d67a0abfde7606525cedfa96",
"timestamp": "",
"source": "github",
"line_count": 193,
"max_line_length": 254,
"avg_line_length": 45.33160621761658,
"alnum_prop": 0.6133272373985599,
"repo_name": "UltraCart/rest_api_v2_sdk_csharp",
"id": "07b364e3b03b87e015c272d06cb1bd25ba9e8b1f... |
#include <errno.h>
#include <fcntl.h>
#include <linux/kd.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/ioctl.h>
#include "sol-log.h"
#include "sol-mainloop.h"
#include "sol-str-slice.h"
#include "sol-util.h"
#include "sol-vector.h"
#include "sol-coap.h"
#include "s... | {
"content_hash": "133183e4c41e50135e1b8e697cdecd45",
"timestamp": "",
"source": "github",
"line_count": 184,
"max_line_length": 85,
"avg_line_length": 26.472826086956523,
"alnum_prop": 0.6123999178813385,
"repo_name": "wanghongjuan/soletta",
"id": "87d2214e534bc86c961d11d4820785ee27c2060c",
"size":... |
<DIV NAME="detail" ID="detail" xmlns="http://www.w3.org/TR/REC-html40"><H3><A NAME='detail_ActivateTextItem'></A>Selenium ListBoxFunctions::<BIG>ActivateTextItem</BIG>
</H3> <TABLE><TR>
<TD class="borderStyle"><SPAN CLASS='Support' TITLE='Selenium1.0'>SE</SPAN></TD>
</TR></TABLE>
<DIV NAME="list" ID="short_desc"><... | {
"content_hash": "9b2ba3c1c09805c61decf5e7ea4dd4b9",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 167,
"avg_line_length": 36.81132075471698,
"alnum_prop": 0.6007175807278319,
"repo_name": "kid551/safsdev.test.github.io",
"id": "b76cf5f2ffbb8489388b5a9a7c13761a368b9ba3",
... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="EntryPointsManager">
<entry_points version="2.0" />
</component>
<component name="NullableNotNullManager">
<option name="myDefaultNullable" value="android.support.annotation.Nullable" />
<option name="myDefaultNotNull" value... | {
"content_hash": "fcdf41b178655878e1a0351cecde134d",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 176,
"avg_line_length": 37.50561797752809,
"alnum_prop": 0.5949670461354104,
"repo_name": "R3ddyJ/weathernew",
"id": "f33133e8d37423103b5091a6ca4090e3b7925700",
"size": "33... |
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';
import {RouterModule, Routes} from '@angular/router';
import { AppComponent } from './app.component';
import { NavbarComponent }... | {
"content_hash": "1829b893f33d9636b386540aa8441c79",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 80,
"avg_line_length": 35.6875,
"alnum_prop": 0.7355516637478109,
"repo_name": "apostolnikov/yet-another-twitter-clone",
"id": "aa63ff96fa5f92342e59e73491b1c419c63f4c9a",
"... |
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="matc... | {
"content_hash": "21774ebe35e1a3f7eda54fa252f3a83d",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 102,
"avg_line_length": 42.51190476190476,
"alnum_prop": 0.5796695603472417,
"repo_name": "Jaouan/Article-Details-Transition-Example",
"id": "5362bc9fe088f9356bbf1f223a2cf271... |
layout: model
title: Translate Urdu to English Pipeline
author: John Snow Labs
name: translate_ur_en
date: 2021-06-04
tags: [open_source, pipeline, seq2seq, translation, ur, en, xx, multilingual]
task: Translation
language: xx
edition: Spark NLP 3.1.0
spark_version: 3.0
supported: true
article_header:
type: cover
use_l... | {
"content_hash": "73f9af8183fae95e6749e574df5d458f",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 344,
"avg_line_length": 32.734177215189874,
"alnum_prop": 0.7718484145398299,
"repo_name": "JohnSnowLabs/spark-nlp",
"id": "db4d533ae51c845140653e1a96a9763f1a0bfddd",
"size... |
/**
* @overview
* Base configuration options
*
* @since 0.1.0
*/
import path from 'path';
export default {
gamePageURL: 'http://www.dmm.com/netgame/social/-/gadgets/=/app_id=854854/',
rootEventName: 'kancolledata',
rootEventNode: 'body',
apiDataPrefix: 'svdata=',
pathPrefix: /.*\/kcsapi/,
gameSwfPref... | {
"content_hash": "635746f28e2f3d5a278ae25d3e399984",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 78,
"avg_line_length": 23.36842105263158,
"alnum_prop": 0.6576576576576577,
"repo_name": "rensouhou/dockyard-app",
"id": "bcf73bbfdcfae3d6d6320759c1f43fc875924565",
"size":... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="15dp"
android:background="#8000"
>
<TextView
... | {
"content_hash": "3245d2a2b5786fde5763fb7f2e69d013",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 62,
"avg_line_length": 35.529411764705884,
"alnum_prop": 0.5086092715231788,
"repo_name": "TanXiao1997/coolweather",
"id": "f6f62884e75c46910c616d4f7b7ed87542db5964",
"size... |
require 'minitest/autorun'
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', '..', '..', 'lib')
require 'nagios-herald'
require 'nagios-herald/config'
require 'nagios-herald/executor'
require 'nagios-herald/formatters/base'
# Test Formatter::CheckMemory.
class TestFormatterCheckMemory < MiniTest::Unit::TestC... | {
"content_hash": "5bb6975d5ab49de8d248ba12b8bcc1bc",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 787,
"avg_line_length": 56.925925925925924,
"alnum_prop": 0.6936890045543266,
"repo_name": "etsy/nagios-herald",
"id": "7db40b3ee799f3491eab9a575c508d2e5b9e533b",
"size": ... |
//
namespace Alachisoft.NosDB.Core.Storage.Operations
{
public class DeleteResult<T> : OperationResult<T>
{
private T _document;
public T Document { get { return _document; } set { _document = value; } }
}
} | {
"content_hash": "e7d999f262485b75fd202c09315cbc77",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 82,
"avg_line_length": 21.636363636363637,
"alnum_prop": 0.6260504201680672,
"repo_name": "Alachisoft/NosDB",
"id": "f5ddee5e6fb2c6f0a571088f9804bafa0840da45",
"size": "882... |
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
display:block
}
audio, canvas, video {
display:inline-block
}
audio:not([controls]) {
display:none;
height:0
}
[hidden], template {
display:none
}
html {
font... | {
"content_hash": "1e38582ce8d425107cceae26d35f060a",
"timestamp": "",
"source": "github",
"line_count": 5087,
"max_line_length": 684,
"avg_line_length": 21.00039315903283,
"alnum_prop": 0.7158823914854581,
"repo_name": "q178015846/yankee",
"id": "26ab4eedf56e945f0a0cc0dae4bff181ab84b86a",
"size": "... |
package org.apache.commons.geometry.core.partitioning;
/** Class containing the result of splitting an object with a hyperplane.
* @param <T> Split type
*/
public final class Split<T> {
/** Part of the object lying on the minus side of the splitting hyperplane.
*/
private final T minus;
/** Part ... | {
"content_hash": "6ee3a085ef0f8bf83b6f826c8adcdfe8",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 98,
"avg_line_length": 32.926829268292686,
"alnum_prop": 0.5837037037037037,
"repo_name": "apache/commons-geometry",
"id": "20307e3131ccd5ffb26e83ca9de3faa36ba6282b",
"size... |
#include "winsup.h"
#include "registry.h"
#include "cygerrno.h"
#include "path.h"
#include "fhandler.h"
#include "dtable.h"
#include "cygheap.h"
#include "tls_pbuf.h"
#include "ntdll.h"
#include <wchar.h>
/* Opens a key under the appropriate Cygwin key.
Do not use HKCU per MS KB 199190 */
static NTSTATUS
top_key... | {
"content_hash": "ad211fafed1796bcb2a166f7c08c08ae",
"timestamp": "",
"source": "github",
"line_count": 205,
"max_line_length": 81,
"avg_line_length": 24.326829268292684,
"alnum_prop": 0.6328453980348907,
"repo_name": "jinankjain/barrelfish",
"id": "99b1d9b2dc768e87dde78c64e39aac4418e11ea8",
"size"... |
class CreateInstagramHashtags < ActiveRecord::Migration
def change
create_table :social_instagram_hashtags do |t|
t.string :hashtag
t.timestamps
end
add_index :social_instagram_hashtags, :hashtag
# Social::InstagramHashtag.create!(
# :hashtag => 'ryvita'
# )
end
end
| {
"content_hash": "ae281f96e7fa75fbe88ea0ef738527b5",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 55,
"avg_line_length": 20.8,
"alnum_prop": 0.6666666666666666,
"repo_name": "madetech/made-social-engine",
"id": "a6dba3a8b78eb100f912d20651887f9e7d67023d",
"size": "312",
... |
<?php defined('SYSPATH') OR die('No direct access allowed.');
$lang = array
(
'userfile_not_set' => 'POST-переменная %s не найдена.',
'file_exceeds_limit' => 'Размер закачанного файла превышает максимальный разрешённый конфигурацией PHP',
'file_partial' => 'Файл закачан не полностью',
'no_file_selected' ... | {
"content_hash": "068696cd49f6b7cb1697e125e3d167a7",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 123,
"avg_line_length": 66.26086956521739,
"alnum_prop": 0.6988188976377953,
"repo_name": "micahroberson/kohana",
"id": "1363ee2c9bf1452e1be195f2770af33830670c8c",
"size": ... |
__author__ = 'sphenrie'
from pyon.public import Container, ImmediateProcess
#from pyon.ion.endpoint import ProcessRPCClient
from pyon.util.context import LocalContextMixin
from pyon.core.governance import get_actor_header
from interface.services.examples.ihello_service import HelloServiceProcessClient
from interfac... | {
"content_hash": "7ea5f0bc168ee22db0a758d095653625",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 86,
"avg_line_length": 28.88,
"alnum_prop": 0.6708217913204063,
"repo_name": "scionrep/scioncc",
"id": "98fcc0dd6f5cca4da88ccf87c89f8d18b5552106",
"size": "2167",
"binary... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Remotus.Base;
namespace Remotus.Plugins.Services
{
public class PauseServiceFunction : IFunction<WinServiceDto>
{
private readonly IWinServiceHelper _serviceHelper = new WinServiceHelper();
... | {
"content_hash": "81c9a05ac3ca7a13614d1e3aad5b7a16",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 122,
"avg_line_length": 29.259615384615383,
"alnum_prop": 0.5320407492605981,
"repo_name": "LazyTarget/ProcHelper",
"id": "db844fdb3c73f31537e0c4869bf7ca1372036378",
"size... |
<?php
// autoload_files.php @generated by Composer
$vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'948ad5488880985ff1c06721a4e447fe' => $vendorDir . '/cakephp/utility/bootstrap.php',
);
| {
"content_hash": "f8166efd6bd0fda0492ae024d8f3f495",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 88,
"avg_line_length": 23.3,
"alnum_prop": 0.7124463519313304,
"repo_name": "timeverts/FeedMe",
"id": "d363aabf1cb1c53b6b4d951338bbe6f1c7210251",
"size": "233",
"binary":... |
<?php
namespace Symfony\Component\EventDispatcher\Tests;
use Symfony\Component\EventDispatcher\Event;
use Symfony\Component\EventDispatcher\EventDispatcher;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
class EventDispatcherTest extends \PHPUnit_Framework_TestCase
{
/* Some pseudo events */
... | {
"content_hash": "f7334d9b82ffdbbb20e0dfa3ea68fc2a",
"timestamp": "",
"source": "github",
"line_count": 363,
"max_line_length": 127,
"avg_line_length": 35.28650137741047,
"alnum_prop": 0.6340073385900539,
"repo_name": "TheTypoMaster/SPHERE-Framework",
"id": "6b66c876c5f62cb44c6c0e1fd01eb0d016d2e00e",... |
<?xml version="1.0" encoding="UTF-8"?>
<actions>
<action>
<actionName>debug</actionName>
<packagings>
<packaging>jar</packaging>
</packagings>
<goals>
<goal>process-classes</goal>
<goal>org.codehaus.mojo:exec-maven-p... | {
"content_hash": "a5668900785fca3cbcfce81c6fc58062",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 184,
"avg_line_length": 40.17391304347826,
"alnum_prop": 0.5313852813852814,
"repo_name": "Otaka/KOSBuild",
"id": "ab521afbe91f278d0511eb34fc33213142babfc2",
"size": "1848"... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "c7081a62fadddc94b5fc1a677698475a",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "3d0ef74d43f38cfd479b9694fed13491c2124b3d",
"size": "197... |
<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Weibull | stdlib</title>
<meta name="description" content="stdlib is a standard library for ... | {
"content_hash": "34b15efb66fead23f3b62f644c05a657",
"timestamp": "",
"source": "github",
"line_count": 767,
"max_line_length": 498,
"avg_line_length": 52.87092568448501,
"alnum_prop": 0.6426810021700533,
"repo_name": "stdlib-js/www",
"id": "803442645e6a71a7709b26b75c08aa36cddbf13c",
"size": "40552... |
body
{
font-family: "Roboto Slab","Helvetica Neue",Helvetica,Arial,sans-serif;
overflow-x: hidden;
}
.text-muted
{
color: #777;
}
.text-primary
{
color: #fed136;
}
p
{
font-size: 14px;
line-height: 1.75;
}
p.large
{
font-size: 16px;
}
a,a:hover,a:focus,a:active,a.active
{
outline: 0;
}
a... | {
"content_hash": "f1152aa738d7801e06722581ed1dd979",
"timestamp": "",
"source": "github",
"line_count": 876,
"max_line_length": 462,
"avg_line_length": 20.602739726027398,
"alnum_prop": 0.6382978723404256,
"repo_name": "MunasingheTS/SEP_Event_Planning_3.0",
"id": "e125f63f7ba9a45f411d71b71281c6088179... |
package core3.test.specs.unit.workflows.definitions
import akka.actor.ActorRef
import akka.pattern.ask
import core3.database.containers.core
import core3.database.dals.Core.{BuildAllDatabases, ClearAllDatabases, VerifyAllDatabases}
import core3.database.dals.DatabaseAbstractionLayer
import core3.security.Auth0UserTok... | {
"content_hash": "4a9e3ca4debf26266dd8de4041bdfb82",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 128,
"avg_line_length": 38.348314606741575,
"alnum_prop": 0.7102256079695283,
"repo_name": "Interel-Group/core3",
"id": "0cde376008d78278f460ccac07d3a53cc09f8295",
"size": ... |
'use strict';
import assert = require('assert');
import symbols = require('vs/languages/css/common/parser/cssSymbols');
import nodes = require('vs/languages/css/common/parser/cssNodes');
import parser = require('vs/languages/css/common/parser/cssParser');
import occurrences = require('vs/languages/css/common/services... | {
"content_hash": "d0e6232b50c7d0a021194c5c236cf6a4",
"timestamp": "",
"source": "github",
"line_count": 198,
"max_line_length": 247,
"avg_line_length": 37.73737373737374,
"alnum_prop": 0.6751873661670236,
"repo_name": "bsmr-x-script/vscode",
"id": "d1a18a868fbcdffa4ce4eff3713ca2c359b87834",
"size":... |
package org.apache.beam.runners.dataflow.util;
import org.apache.avro.Schema;
import org.apache.beam.runners.core.construction.SdkComponents;
import org.apache.beam.sdk.coders.AvroCoder;
/** A {@link CloudObjectTranslator} for {@link AvroCoder}. */
class AvroCoderCloudObjectTranslator implements CloudObjectTranslato... | {
"content_hash": "c4618fbc96b9594539b8b30fa33c9166",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 83,
"avg_line_length": 34.13636363636363,
"alnum_prop": 0.7390146471371505,
"repo_name": "charlesccychen/beam",
"id": "a4ce53313a9c1dfb3b20354bad5b3a4056c3c3f4",
"size": "2... |
"""Callbacks: utilities called at certain points during model training.
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import collections
import copy
import csv
import io
import json
import os
import re
import tempfile
import time
import numpy as np
im... | {
"content_hash": "293f3d18da1e82a84ae996a2ba2f6dfe",
"timestamp": "",
"source": "github",
"line_count": 2020,
"max_line_length": 98,
"avg_line_length": 36.381188118811885,
"alnum_prop": 0.6421962171724044,
"repo_name": "alsrgv/tensorflow",
"id": "0e0894245845b48c0a8bc69cfc1fca4fc6e8c039",
"size": "... |
require 'spec_helper'
require 'whois/record/parser/whois.cira.ca.rb'
describe Whois::Record::Parser::WhoisCiraCa, "property_status_autorenew_grace.expected" do
subject do
file = fixture("responses", "whois.cira.ca/property_status_autorenew_grace.txt")
part = Whois::Record::Part.new(:body => File.read(file))... | {
"content_hash": "5b81f163151edc10b014f970cfdabbe4",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 90,
"avg_line_length": 23.703703703703702,
"alnum_prop": 0.675,
"repo_name": "opensrs-pso/whois",
"id": "f0d77c39732a42c1706ea2b2cc68ff1fca485f97",
"size": "940",
"binary... |
package xxxxx.yyyyy.zzzzz.api.aaa;
import static org.springframework.web.bind.annotation.RequestMethod.*;
import java.util.List;
import javax.inject.Inject;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController... | {
"content_hash": "2376560b2644dba2ad0131eb0f1aaae8",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 70,
"avg_line_length": 28.25,
"alnum_prop": 0.7846607669616519,
"repo_name": "namioka/springframework-example",
"id": "0b80bb93ad2c8c1590958e2304f2b3a0de78f79d",
"size": "6... |
"""Plot a log N / log S graph for three different populations."""
import numpy as np
import matplotlib.pyplot as plt
from frbpoppy import CosmicPopulation, Survey, SurveyPopulation
from tests.convenience import plot_aa_style, rel_path
SIZE = 1e5
GAMMAS = [-1.4, 1]
def get_local():
"""Construct a local populati... | {
"content_hash": "1a275ba4b030a1b76efb563f6c1e0ff4",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 66,
"avg_line_length": 23.59,
"alnum_prop": 0.5900805426027977,
"repo_name": "davidgardenier/frbpoppy",
"id": "f623df940ec92291386de86dd3946e149792bda3",
"size": "2359",
... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE190_Integer_Overflow__char_max_postinc_67a.c
Label Definition File: CWE190_Integer_Overflow.label.xml
Template File: sources-sinks-67a.tmpl.c
*/
/*
* @description
* CWE: 190 Integer Overflow
* BadSource: max Set data to the max value for char
* GoodSource: S... | {
"content_hash": "2b13b1572848a34b0664f6f11ee87a27",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 129,
"avg_line_length": 32.142857142857146,
"alnum_prop": 0.6948148148148148,
"repo_name": "JianpingZeng/xcc",
"id": "3d95f311a524b30f07e2eb821f172a7dbcf8fd94",
"size": "3... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.