text stringlengths 2 1.04M | meta dict |
|---|---|
[](https://travis-ci.org/fatedier/frp)
[README](README.md) | [中文文档](README_zh.md)
## What is frp?
frp is a fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet. Now, it supports tcp, udp, http and https prot... | {
"content_hash": "36af2d0ea3d634cc96e0b5f288d38ee1",
"timestamp": "",
"source": "github",
"line_count": 675,
"max_line_length": 398,
"avg_line_length": 25.95111111111111,
"alnum_prop": 0.7097676542787007,
"repo_name": "noricohuas/docker",
"id": "458e0e6b8e9be9e0178c168e99f80f7e03c56925",
"size": "1... |
<?php
namespace Blog\Form;
// Filename: /module/Blog/src/Blog/Form/ParentFieldset.php
use Blog\Entity\ChildParent;
use Zend\Form\Fieldset;
use Zend\InputFilter\InputFilterProviderInterface;
use DoctrineORMModule\Stdlib\Hydrator\DoctrineEntity as DoctrineHydrator;
use Zend\ServiceManager\ServiceManager;
class Paren... | {
"content_hash": "acac8e5821dc8aee4b3952f56f5eaafe",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 91,
"avg_line_length": 26.0625,
"alnum_prop": 0.552757793764988,
"repo_name": "ashish101184/zf2doctrine",
"id": "7b00c02918d31d7b8e2d87d4840f397eff754686",
"size": "1668",
... |
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.api.grpc</groupId>
<artifactId>proto-google-cloud-... | {
"content_hash": "c61f3d7e066cb4cdded42c87847cfcde",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 119,
"avg_line_length": 47.36,
"alnum_prop": 0.7280405405405406,
"repo_name": "googleapis/google-cloud-java",
"id": "a2ac3171463b56fe5bcf2a9c1e538ece59969015",
"size": "118... |
namespace Google.Cloud.AppEngine.V1.Tests
{
/// <summary>Generated unit tests.</summary>
public sealed class GeneratedAuthorizedDomainsClientTest
{
}
}
| {
"content_hash": "d276b2ff98acdddb5441b3ca2b8f3b53",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 60,
"avg_line_length": 24,
"alnum_prop": 0.7202380952380952,
"repo_name": "jskeet/gcloud-dotnet",
"id": "0e5f2ea21d3289cf310d969f4a4a2b6672825aab",
"size": "822",
"binary"... |
angularFiles = {
'angularSrc': [
'src/minErr.js',
'src/Angular.js',
'src/loader.js',
'src/AngularPublic.js',
'src/jqLite.js',
'src/apis.js',
'src/auto/injector.js',
'src/ng/anchorScroll.js',
'src/ng/animate.js',
'src/ng/browser.js',
'src/ng/cacheFactory.js',
'src/ng/c... | {
"content_hash": "242e1b7ca79d65a11ce1417702dcde56",
"timestamp": "",
"source": "github",
"line_count": 220,
"max_line_length": 74,
"avg_line_length": 24.95,
"alnum_prop": 0.6050282382947714,
"repo_name": "mutnikov/angular.js",
"id": "9603c289abd8235f3ef6d93ce3bed59791074696",
"size": "5489",
"bi... |
<FrameLayout 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="match_parent"
tools:conte... | {
"content_hash": "9074a6f68de6c482612dca8b780221dd",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 95,
"avg_line_length": 45.9054054054054,
"alnum_prop": 0.5363556078893141,
"repo_name": "berict/Tapad",
"id": "b0f355a9a30750a2e72cf4d928a0b9f98ecd52c6",
"size": "3397",
... |
namespace ash::secure_channel {
const char kTestRemoteDeviceId[] = "testRemoteDeviceId";
const char kTestLocalDeviceId[] = "testLocalDeviceId";
constexpr const ConnectionPriority kTestConnectionPriority =
ConnectionPriority::kLow;
class SecureChannelBleInitiatorOperationTest : public testing::Test {
public:
Se... | {
"content_hash": "e482f17dec03bd25c9d135baf8b46264",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 80,
"avg_line_length": 39.28787878787879,
"alnum_prop": 0.7306209024296182,
"repo_name": "nwjs/chromium.src",
"id": "14badb0c074ec879160debaf7658a97058502960",
"size": "59... |
class AddShowPropertyToSpreeProductProperties < ActiveRecord::Migration[6.0]
def change
add_column :spree_product_properties, :show_property, :boolean, default: true unless column_exists?(:spree_product_properties, :show_property)
end
end
| {
"content_hash": "96c28a4bc43b8f8cf93f3b70ed386221",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 146,
"avg_line_length": 49.4,
"alnum_prop": 0.7894736842105263,
"repo_name": "spark-solutions/spark-starter-kit",
"id": "b778f4949d32a79b25431183afa8b5ac8721d008",
"size": "... |
namespace cc {
class Layer;
class NinePatchLayer;
class SolidColorLayer;
}
namespace gfx {
class Size;
}
namespace ui {
class ResourceManager;
}
namespace android {
class ContentLayer;
class TabContentManager;
class ToolbarLayer;
// Sub layer tree representation of a tab. A TabLayer is not tied to
// specific tab... | {
"content_hash": "e2787656d09c6fa036c6f3de937144fe",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 80,
"avg_line_length": 35.33846153846154,
"alnum_prop": 0.5348280365694384,
"repo_name": "nwjs/chromium.src",
"id": "a28b48f7382c7f0f62939250ea00c4e30c788d73",
"size": "50... |
<?xml version="1.0" encoding="utf-8"?>
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
<e... | {
"content_hash": "19ca0e2db068e1b62c85165a8af69fe5",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 276,
"avg_line_length": 47.592592592592595,
"alnum_prop": 0.666147859922179,
"repo_name": "AlectaInfo/Inkambo",
"id": "600a700a743c4d35a83fb1c47b2a3184f1997aa3",
"size": "1... |
include(CMakeParseArguments)
if(NOT DEFINED Tensile_ROOT)
# Compute the installation prefix relative to this file.
get_filename_component(Tensile_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
get_filename_component(Tensile_PREFIX "${Tensile_PREFIX}" PATH)
if (WIN32)
execute_process(COMMAND "${Tens... | {
"content_hash": "6f14837c12a899ef5125a21abf985100",
"timestamp": "",
"source": "github",
"line_count": 275,
"max_line_length": 141,
"avg_line_length": 32.483636363636364,
"alnum_prop": 0.6801746333818426,
"repo_name": "ROCmSoftwarePlatform/Tensile",
"id": "1c853b44aea68a4ea09a141a6dd00e8823138cdb",
... |
license: >
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"L... | {
"content_hash": "a1c4805adb150888edf68195167bcd31",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 290,
"avg_line_length": 30.655555555555555,
"alnum_prop": 0.6727075027183762,
"repo_name": "shazron/cordova-docs",
"id": "1e0bf7b9eead9f2aca8981e6bd24f8aa0f3c92ac",
"size":... |
from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException
from thrift.protocol.TProtocol import TProtocolException
from thrift.TRecursive import fix_spec
import sys
import logging
from .ttypes import *
from thrift.Thrift import TProcessor
from thrift.transport import TTransport
all_... | {
"content_hash": "f3db21c802fa6a579f24167da8b4c06b",
"timestamp": "",
"source": "github",
"line_count": 284,
"max_line_length": 134,
"avg_line_length": 34.186619718309856,
"alnum_prop": 0.5742094963435987,
"repo_name": "hmcl/storm-apache",
"id": "4d91b1d9f0034bf7ca971e96172b4609d753a053",
"size": "... |
using namespace std::literals;
BOOST_AUTO_TEST_SUITE(base32_tests)
BOOST_AUTO_TEST_CASE(base32_testvectors)
{
static const std::string vstrIn[] = {"","f","fo","foo","foob","fooba","foobar"};
static const std::string vstrOut[] = {"","my======","mzxq====","mzxw6===","mzxw6yq=","mzxw6ytb","mzxw6ytboi======"};
... | {
"content_hash": "0791e4bd44ebaf24215eb40ab4cbaaaa",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 120,
"avg_line_length": 41.28125,
"alnum_prop": 0.6449659348978047,
"repo_name": "dscotese/bitcoin",
"id": "5fab7f0d1e174fe66e21a47ef6a106f042c4796a",
"size": "1603",
"bi... |
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8">
<title>text-align: start, dir=ltr</title>
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
<link rel='match' href='reference/text-align-start-ref-004.h... | {
"content_hash": "3900bbcf7c143e0ead026e62c17dd54f",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 155,
"avg_line_length": 43.61538461538461,
"alnum_prop": 0.689594356261023,
"repo_name": "nwjs/chromium.src",
"id": "739bd8811ff4034742c52cb92a3bd9d16b0882e5",
"size": "113... |
namespace ui {
// Represents a gamepad device state.
struct EVENTS_DEVICES_EXPORT GamepadDevice : public InputDevice {
// Represents an axis of a gamepad e.g. an analog thumb stick.
struct Axis {
// Gamepad axis index. Corresponds to |raw_code_| of GamepadEvent.
uint16_t code = 0;
// See input_absinfo... | {
"content_hash": "c33bae82faef35f04b34bb285dff9eff",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 70,
"avg_line_length": 29.03030303030303,
"alnum_prop": 0.673277661795407,
"repo_name": "ric2b/Vivaldi-browser",
"id": "9d2fc2cc6e342bb75c332561022627d1831461bb",
"size": "... |
package javax.imageio.event;
import java.util.EventListener;
import javax.imageio.ImageReader;
public interface IIOReadWarningListener extends EventListener
{
/**
* Reports the occurrence of a non-fatal error in decoding.
* Decoding will continue after this method is called.
*
* @param source the <c... | {
"content_hash": "e297fc824f965e9f9e5aef2bc2cc4324",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 74,
"avg_line_length": 23.5,
"alnum_prop": 0.7510638297872341,
"repo_name": "nmldiegues/jvm-stm",
"id": "e89735035ff3604b2744929e6af0e70d1891db13",
"size": "2214",
"binar... |
<?php
namespace ZendTest\View\Model;
use PHPUnit\Framework\TestCase;
use Zend\View\Model\JsonModel;
use Zend\Json\Json;
use Zend\View\Variables;
class JsonModelTest extends TestCase
{
public function testAllowsEmptyConstructor()
{
$model = new JsonModel();
$this->assertInstanceOf(Variables::... | {
"content_hash": "f6a246b75de5ccbdaa0c420f7515e50e",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 103,
"avg_line_length": 29,
"alnum_prop": 0.569317382125264,
"repo_name": "zendframework/zend-view",
"id": "8e10f4e3693e597a44f594009a6501b488b032f1",
"size": "1723",
"bi... |
#ifndef __GXPRINTING__
#define __GXPRINTING__
#ifndef __CONDITIONALMACROS__
#include <ConditionalMacros.h>
#endif
#ifndef __COLLECTIONS__
#include <Collections.h>
#endif
#ifndef __DIALOGS__
#include <Dialogs.h>
#endif
#ifndef __MACERRORS__
#include <MacErrors.h>
#endif
#ifndef __FILES__
#include <Files.h>
#endif
... | {
"content_hash": "ac6a1d3156619ef1c700660a3698d23b",
"timestamp": "",
"source": "github",
"line_count": 4442,
"max_line_length": 258,
"avg_line_length": 50.14678072940117,
"alnum_prop": 0.6276531748312024,
"repo_name": "HellicarAndLewis/ProjectDonk",
"id": "a440a8f5b358fe3d949420e3bcdb238b9c77e5d5",
... |
import React from 'react'
import { Message } from 'stardust'
const Fixed = () => {
return (
<Message info>
You can view examples of the <b>fixed</b> variation in the
<a href='http://semantic-ui.com/collections/menu.html#fixed' target='_blank'> official documentation</a>.
</Message>
)
}
export ... | {
"content_hash": "b2e711c633a70e551c2f0e46b28a285d",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 111,
"avg_line_length": 25.692307692307693,
"alnum_prop": 0.6586826347305389,
"repo_name": "jcarbo/stardust",
"id": "856d87b5047716a5c800a92ea9b329549f872b5f",
"size": "334... |
<#
.EXAMPLE
This example shows how to ensure that the Business Data Connectivity Service
is not running on the local server.
#>
Configuration Example
{
param(
[Parameter(Mandatory = $true)]
[PSCredential]
$SetupAccount
)
Import-DscResource -Mo... | {
"content_hash": "8d0cbae3202154a5b5bd295d12331958",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 80,
"avg_line_length": 26.791666666666668,
"alnum_prop": 0.5318818040435459,
"repo_name": "ykuijs/xSharePoint",
"id": "a11cb15585b890570df0fd820efa636394971eec",
"size": "6... |
package com.alibaba.nacos.core.distributed.distro;
import com.alibaba.nacos.consistency.DataOperation;
import com.alibaba.nacos.core.cluster.Member;
import com.alibaba.nacos.core.cluster.ServerMemberManager;
import com.alibaba.nacos.core.distributed.distro.component.DistroCallback;
import com.alibaba.nacos.core.dist... | {
"content_hash": "f0cc640e6c0db4fe333ffae4e5b81554",
"timestamp": "",
"source": "github",
"line_count": 213,
"max_line_length": 120,
"avg_line_length": 39.85446009389671,
"alnum_prop": 0.6762869595947697,
"repo_name": "alibaba/nacos",
"id": "5eb24c5bbcbde2cefce3f39a41a9278882706f7e",
"size": "9104"... |
<?php
/**
* This is the model class for table "containr_elementPageRef".
*
* The followings are the available columns in table 'containr_elementPageRef':
* @property integer $id
* @property integer $elementId
* @property integer $pageId
*/
class ContainrElementPageRef extends CActiveRecord
{
/**
* Returns th... | {
"content_hash": "3374ca60c3ad3cdb434156f28d29e5ec",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 122,
"avg_line_length": 24.849557522123895,
"alnum_prop": 0.6705840455840456,
"repo_name": "giantbits/conTainr",
"id": "af389aa382c1f40d8a45232cf49645cfe259f77f",
"size": ... |
MIT License
Copyright (c) 2016 Renan Mendes Carvalho
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publ... | {
"content_hash": "92decc08a9b0f430924e35178f808119",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 78,
"avg_line_length": 51.333333333333336,
"alnum_prop": 0.8061224489795918,
"repo_name": "team-767/simple-react-docgen",
"id": "ed1c14a006cf34b1ecddd00b20ae46df290464d0",
... |
@implementation Thermomix_DocumentMaintenance_Portal_ViewController
@synthesize DocumentsTree;
@end
| {
"content_hash": "0bb2158288c9d470aa9053a0f733f535",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 67,
"avg_line_length": 20.4,
"alnum_prop": 0.8627450980392157,
"repo_name": "expanz/expanz-iOS-SDK",
"id": "6638abaf6f431f6e02d7fc678ba71944aa5d2c59",
"size": "569",
"bina... |
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.SwipeRefreshLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/hot_info_swipe_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<android.support.v4.widget.NestedScr... | {
"content_hash": "9a0cda9bcdfbe78b819565856b94a262",
"timestamp": "",
"source": "github",
"line_count": 301,
"max_line_length": 70,
"avg_line_length": 40.906976744186046,
"alnum_prop": 0.5737025907577358,
"repo_name": "928902646/Gymnast",
"id": "7f9f116ce67071eab935a7dd2203db81745d86c9",
"size": "1... |
package com.xiaogua.better.json;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.Iterator;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SequenceWriter;
public class JacksonJsonCode {
priv... | {
"content_hash": "fd777d5432f2032bec406e25db0190af",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 90,
"avg_line_length": 33.121212121212125,
"alnum_prop": 0.7621225983531564,
"repo_name": "oyxiaogua/JavaBasicCode",
"id": "97af71419ee04021c7adba7c33dbe58189eac49e",
"size... |
module SlackRubyBot
module Commands
module Support
class Attrs
attr_accessor :command_name, :command_desc, :command_long_desc
attr_reader :klass, :commands
def initialize(klass)
@klass = klass
@commands = []
end
def title(title)
self.co... | {
"content_hash": "93f1de332e1d667ade499ed82402a6fc",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 70,
"avg_line_length": 21.235294117647058,
"alnum_prop": 0.5290858725761773,
"repo_name": "dblock/slack-ruby-bot",
"id": "514ed9e0bcd1dc5c552f694e6f6694afcccb7506",
"size":... |
// http://developer.yahoo.com/yui/articles/hosting/?button&connection&container&datatable&dragdrop&json&menu&utilities&MIN&nocombine&norollup&basepath&[{$shop-%3Ebasetpldir}]yui/build/
YAHOO.namespace( 'YAHOO.oxid' );
var $ = YAHOO.util.Dom.get,
$D = YAHOO.util.Dom,
$E = YAHOO.util.Event;
//----------------... | {
"content_hash": "105b02692565a457619b3b499e3655d6",
"timestamp": "",
"source": "github",
"line_count": 1190,
"max_line_length": 398,
"avg_line_length": 28.04873949579832,
"alnum_prop": 0.5323866019533825,
"repo_name": "Olyvko/oxrom",
"id": "4fc102b42dfdc948ca9746d91ca199d6fa96891b",
"size": "33378... |
CREATE TABLE `affectation` (
`affectation` int(8) NOT NULL default '0',
`elu` varchar(10) NOT NULL default '',
`scrutin` varchar(10) NOT NULL default '',
`periode` varchar(10) NOT NULL default '',
`poste` varchar(20) NOT NULL default '',
`bureau` char(3) NOT NULL default '',
`note` longtext NOT NULL,
`d... | {
"content_hash": "22e1b82ca732aab33d0dfe382c04312c",
"timestamp": "",
"source": "github",
"line_count": 376,
"max_line_length": 92,
"avg_line_length": 24.6781914893617,
"alnum_prop": 0.5694579157236771,
"repo_name": "SaltwaterC/hackers-dome-images",
"id": "841d3215c60ebbaa9ae498626ca0b2f85bc3e76e",
... |
<?php
declare(strict_types=1);
namespace SerendipityHQ\Bundle\FeaturesBundle\Model;
use Doctrine\ORM\Mapping as ORM;
use Money\Currency;
use SerendipityHQ\Component\ValueObjects\Money\Money;
use SerendipityHQ\Component\ValueObjects\Money\MoneyInterface;
use function Safe\sprintf;
/**
* @ORM\MappedSuperclass
* ... | {
"content_hash": "243f4aafbde7fced9e8f79ef1340fb64",
"timestamp": "",
"source": "github",
"line_count": 263,
"max_line_length": 253,
"avg_line_length": 29.368821292775664,
"alnum_prop": 0.5836354220611082,
"repo_name": "Aerendir/bundle-features",
"id": "e07eb11188ca25d5fd2a7f4662fa8bdab0f0fdfd",
"s... |
GH.ProofGenerator.associatorRight = function(prover) {
this.prover = prover;
this.expectedForm = GH.sExpression.fromString('(operator (operator A B) C)');
};
// A set of operators and the theorem for associating them.
// The first step is for when the expression is part of another expression or is unproven.
// The... | {
"content_hash": "6bc43ad989b44ebde4e5a7ceeacd8147",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 95,
"avg_line_length": 33.95283018867924,
"alnum_prop": 0.6854681856071131,
"repo_name": "jkingdon/ghilbert",
"id": "c11f5b0137ba9b54fc0e6d79da44592790040ac9",
"size": "37... |
package kieker.tools.slastic.metamodel.usage;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Frequency Distribution</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
... | {
"content_hash": "e61a7e2c41ee36241ee2b51bdf1d25de",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 116,
"avg_line_length": 33.06896551724138,
"alnum_prop": 0.67570385818561,
"repo_name": "SLAsticSPE/slastic",
"id": "6e1c9b34f4adde62eace210ce9f61cabd101fe6e",
"size": "196... |
using System;
namespace TSF.UmlToolingFramework.UML.Classes.Kernel {
public interface Parameter : MultiplicityElement, TypedElement
{
ParameterDirectionKind direction { get; set; }
String _default { get; set; }
ValueSpecification defaultValue { get; set; }
Operation operation { get; set; }
}
}
| {
"content_hash": "ba1b89e54fa7b05311e6453c16029fc6",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 64,
"avg_line_length": 28.363636363636363,
"alnum_prop": 0.7339743589743589,
"repo_name": "GeertBellekens/UML-Tooling-Framework",
"id": "5581797c1d3b8c805c9c19cc05e40eaf7b9e2... |
class SkBitmap;
namespace gfx {
class Size;
// Interface for encoding and decoding PNG data. This is a wrapper around
// libpng, which has an inconvenient interface for callers. This is currently
// designed for use in tests only (where we control the files), so the handling
// isn't as robust as would be required f... | {
"content_hash": "2788f5d2160c88d3b81544c56ffe706a",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 79,
"avg_line_length": 44.43801652892562,
"alnum_prop": 0.6496187465129254,
"repo_name": "Crystalnix/house-of-life-chromium",
"id": "4632ac14f522f4f4818d966ba2ea565c5b755372... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| URI ROUTING
| -------------------------------------------------------------------------
| This file lets you re-map URI requests to specific controller functions.
|
| ... | {
"content_hash": "cdc7682158c4cb6c1769238dda2f4443",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 78,
"avg_line_length": 35.205882352941174,
"alnum_prop": 0.6307435254803676,
"repo_name": "laayis/erp",
"id": "1b1c018bd96a7d707ca22fa186ee6a96fa37eb18",
"size": "4053",
... |
<?php
namespace Nette\Database\Table;
use Nette;
use Nette\Database\ISupplementalDriver;
use Nette\Database\SqlLiteral;
use Nette\Database\IConventions;
use Nette\Database\Context;
use Nette\Database\IStructure;
/**
* Builds SQL query.
* SqlBuilder is based on great library NotORM http://www.notorm.com written ... | {
"content_hash": "1c393ced77abe81aea75bca6bd12ac37",
"timestamp": "",
"source": "github",
"line_count": 566,
"max_line_length": 236,
"avg_line_length": 26.609540636042404,
"alnum_prop": 0.5986986255892703,
"repo_name": "kivi8/ars-poetica",
"id": "dd7b691809d7c79cbb118b9c8b3f949f100081af",
"size": "... |
module Backend::ImportViaCsv
class BaseController < ::Backend::BaseController
expose(:active_top_nav) { :import_via_csv }
expose(:csv_import) { CsvImport.find(params[:object_id]) }
expose(:csv_imports_type) {
# specific type imports or all imports
params[:type] || "CsvImport"
}
end
end
| {
"content_hash": "e904fa47a11ead53c0dc76b6f6ba1331",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 62,
"avg_line_length": 31.9,
"alnum_prop": 0.6677115987460815,
"repo_name": "bitzesty/scheme-finder-api",
"id": "0672bc4d1f36190f98e3ed58704651519050fd60",
"size": "319",
... |
__import__('pkg_resources').declare_namespace(__name__)
| {
"content_hash": "96b57b75f83745a044136090e8240b5e",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 55,
"avg_line_length": 56,
"alnum_prop": 0.6785714285714286,
"repo_name": "projectmallard/mallard-ducktype",
"id": "1e3a4b538ce599fc6293990aab46ba932e88d34b",
"size": "1168"... |
package org.elasticsearch.search.highlight;
import com.carrotsearch.randomizedtesting.generators.RandomPicks;
import com.google.common.base.Joiner;
import com.google.common.collect.Iterables;
import org.elasticsearch.Version;
import org.elasticsearch.action.index.IndexRequestBuilder;
import org.elasticsearch.action.s... | {
"content_hash": "5dfacb686a536e4f222052409fa2ebe5",
"timestamp": "",
"source": "github",
"line_count": 2722,
"max_line_length": 466,
"avg_line_length": 56.77002204261572,
"alnum_prop": 0.6189557879478153,
"repo_name": "Kamapcuc/elasticsearch",
"id": "c90219c66d909f3630d236580d81267a641278f6",
"siz... |
namespace rocksdb {
// Helper class that locks a mutex on construction and unlocks the mutex when
// the destructor of the MutexLock object is invoked.
//
// Typical usage:
//
// void MyClass::MyMethod() {
// MutexLock l(&mu_); // mu_ is an instance variable
// ... some complex code, possibly with mult... | {
"content_hash": "ccf390b33bcc87d5d015f759ee0e81bd",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 77,
"avg_line_length": 24.008695652173913,
"alnum_prop": 0.6236870699022093,
"repo_name": "hkernbach/arangodb",
"id": "18210d2c67a7b0e2bad546e6f3200a207d9225f3",
"size": "... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_file_execl_18.c
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-18.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: file Read input from a file
* GoodSour... | {
"content_hash": "73f8f700be0a1cb8b4dfd65ae942485b",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 104,
"avg_line_length": 28.54074074074074,
"alnum_prop": 0.6215935634570464,
"repo_name": "JianpingZeng/xcc",
"id": "590366dc08d708c5114d4c379a4956df26b7f6b8",
"size": "38... |
/*___Generated_by_IDEA___*/
package com.zhy.android.percent.support;
/* This stub is only used by the IDE. It is NOT the BuildConfig class actually packed into the APK */
public final class BuildConfig {
public final static boolean DEBUG = Boolean.parseBoolean(null);
} | {
"content_hash": "ffbd1797d01effafbb8192ea10cbd985",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 101,
"avg_line_length": 34.125,
"alnum_prop": 0.7472527472527473,
"repo_name": "hongyangAndroid/android-percent-support-extend",
"id": "1b0dfba4c12d3891c843cfc4fa7b293cebc21ba... |
<script>
import Bootlog from "src/client/bootlog.js"
import d3 from "src/external/d3.v5.js"
(async() => {
var currentboot = []
var starttime = performance.now()
await Bootlog.current().db.logs.each(ea => {
if (ea.bootid == lively4currentbootid) {
currentboot.push(ea)
}
})
// console.log("l... | {
"content_hash": "c16f897f670376e99acecf7942ab479c",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 87,
"avg_line_length": 26.1010101010101,
"alnum_prop": 0.5719814241486069,
"repo_name": "LivelyKernel/lively4-core",
"id": "7b16a1f9c9c31eb29fb9853b84f9a571faced153",
"size... |
'use strict';
module.exports = {
up: function (queryInterface, Sequelize) {
return queryInterface.addColumn('Comments',
'accepted',
{ type: Sequelize.BOOLEAN,
defaultValue: false
... | {
"content_hash": "871d43c1329885cdafd98bf1743ae1e7",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 63,
"avg_line_length": 31.0625,
"alnum_prop": 0.4426559356136821,
"repo_name": "oscargverdejo/P9_Quiz_CORE",
"id": "9d14a04e393f34678b1f766c02837115ed20c524",
"size": "497"... |
<?xml version="1.0" encoding="UTF-8" ?>
<class name="GradientTexture1D" inherits="Texture2D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
<brief_description>
Gradient-filled texture.
</brief_description>
<description>
GradientTexture1D uses a [... | {
"content_hash": "dea0a97eb2a7caa577290f30017153fa",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 361,
"avg_line_length": 68.54545454545455,
"alnum_prop": 0.7460212201591512,
"repo_name": "Faless/godot",
"id": "a124753a9f8e8938b2259c4aac3559fd28840ed4",
"size": "1508",
... |
@implementation YFFootBtn
-(void)setMode:(YFMeBtnMode *)mode
{
_mode = mode;
self.titleLabel.font = [UIFont systemFontOfSize:14];
[self setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
self.titleLabel.textAlignment = NSTextAlignmentCenter;
[self setBackgroundImage:[UIIma... | {
"content_hash": "4017177a78bbb52f239d0335e5ae7eb0",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 103,
"avg_line_length": 29.862068965517242,
"alnum_prop": 0.7055427251732102,
"repo_name": "waterfa/baisi",
"id": "753fabfa1b269adb465621fa9863ee03c7c60fa5",
"size": "1078"... |
# -*- coding: utf-8 -*-
# Copyright 2013 Takeshi KOMIYA
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | {
"content_hash": "94f3f931a270e562793eb4ad8d9e0ac3",
"timestamp": "",
"source": "github",
"line_count": 186,
"max_line_length": 99,
"avg_line_length": 37.93010752688172,
"alnum_prop": 0.6215450035435861,
"repo_name": "tk0miya/testing.elasticsearch",
"id": "f658fe3df72fd1048c6cad5c16eae1c59468ee1a",
... |
<?php
include 'config.php';
// RECUPERO DATI E AGGIUNGO
define('CHARSET', 'UTF-8');
define('REPLACE_FLAGS', ENT_COMPAT | ENT_XHTML);
$errors = array();
// METODO CON ROLLBACK
$db = new PDO("mysql:host=" . $dbhost . ";dbname=" . $dbname, $dbuser, $dbpswd, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,PDO::ATTR_E... | {
"content_hash": "1a99c40c4f7f6e6b94765d7c1b1ae037",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 169,
"avg_line_length": 23.410714285714285,
"alnum_prop": 0.5751334858886347,
"repo_name": "archistico/appuntamenti",
"id": "b343ec2993cf37a8f8f81ba6e1626fac55f0cc47",
"siz... |
+++
title = "Frequently asked questions"
weight = 30
+++
{{% toc %}}
## Is Outcome safe to use in extern APIs?
Outcome is specifically designed for use in the public interfaces of multi-million
line codebases. `result`'s layout is hard coded to:
```c++
struct trivially_copyable_result_layout {
union {
value_t... | {
"content_hash": "8d121b5ea3f24798d42eb3a93f771cae",
"timestamp": "",
"source": "github",
"line_count": 504,
"max_line_length": 305,
"avg_line_length": 56.18452380952381,
"alnum_prop": 0.7732810679097362,
"repo_name": "wiltonlazary/arangodb",
"id": "1236a2a4deac82808f4cc26ba12c03a40003fe2b",
"size"... |
<?php
namespace Meta\OntologyCreateBundle\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class CreateDataBaseController extends Controller
{
public function wizardAction(){
return $this->render('MetaOntologyBundle:Cr... | {
"content_hash": "f249ced8a9c16946b25ad3a464ba28db",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 91,
"avg_line_length": 24,
"alnum_prop": 0.7161458333333334,
"repo_name": "andreymaznyak/ontologydatabase",
"id": "b0f6e0642c6bb55fb9fe39f47a567c7ab4297eee",
"size": "384",... |
class Chef
class Provider
class Breakpoint < Chef::Provider
def load_current_resource
end
def action_break
if defined?(Shef) && Shef.running?
@collection.iterator.pause
@new_resource.updated = true
@collection.iterator
end
end
... | {
"content_hash": "3de7c022fe4507d710e9782a218e6c12",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 42,
"avg_line_length": 18.944444444444443,
"alnum_prop": 0.5571847507331378,
"repo_name": "jsierles/chef",
"id": "9bb3e3f55087bb0ca32326d319531593faa1321b",
"size": "1027",... |
<?php
/**
* sfCombineFilter
*
* @package sfCombinePlugin
* @subpackage filter
* @author Alexandre Mogère
*/
class sfCombineFilter extends sfFilter
{
/**
* Executes this filter.
*
* @param sfFilterChain $filterChain A sfFilterChain instance
*/
public function execute($filterChain)
{
//... | {
"content_hash": "01fb7ffd10a3ee93f77e6ea340a36d8e",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 97,
"avg_line_length": 28.116666666666667,
"alnum_prop": 0.5975103734439834,
"repo_name": "heristop/sfCombinePlugin",
"id": "9d580d7b82d7689df81e4a723fc524e8f5658117",
"siz... |
package org.w3._2003._05.soap_envelope;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.ToStr... | {
"content_hash": "8af8eee236f12e24c0e079a28de5c857",
"timestamp": "",
"source": "github",
"line_count": 193,
"max_line_length": 110,
"avg_line_length": 23.55440414507772,
"alnum_prop": 0.5609326880774307,
"repo_name": "fpompermaier/onvif",
"id": "ef537588e239f8dd9738687034d0aa7b86099866",
"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="match_parent">
<FrameLayout
android:id="@+id/container"
android:layout_width="match_parent... | {
"content_hash": "6172478bc34bc5c1fd10293436b22902",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 72,
"avg_line_length": 42.77777777777778,
"alnum_prop": 0.6987012987012987,
"repo_name": "malaonline/Android",
"id": "12e0fc9bf4e8200c5ccc51b69635e5cc449307d8",
"size": "385... |
package client
import (
"bytes"
"crypto/tls"
"encoding/binary"
"fmt"
"github.com/juju/errors"
. "github.com/siddontang/go-mysql/mysql"
"github.com/siddontang/go-mysql/packet"
)
const defaultAuthPluginName = AUTH_NATIVE_PASSWORD
// defines the supported auth plugins
var supportedAuthPlugins = []string{AUTH_NA... | {
"content_hash": "5c351fe09b625ac968e4683b2444bf14",
"timestamp": "",
"source": "github",
"line_count": 256,
"max_line_length": 120,
"avg_line_length": 27.70703125,
"alnum_prop": 0.6808120682362893,
"repo_name": "TeamFat/go-way",
"id": "5ba9c9f4e1024506180d165923b06db2a5c9cd00",
"size": "7093",
"... |
namespace Inflection.TypeNode.TypeNode
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Immutable.Extensions;
using Immutable.Monads;
using Immutable.TypeSystem;
public static class TypeNode
{
public static TypeNode<TNode,... | {
"content_hash": "9b7f7f906bbf13db0d59e6f09bb0967c",
"timestamp": "",
"source": "github",
"line_count": 289,
"max_line_length": 160,
"avg_line_length": 28.14878892733564,
"alnum_prop": 0.4810079901659496,
"repo_name": "diab0l/Inflection",
"id": "8ecaa14fecd0ad278e1dc717d8fe6d7345278872",
"size": "8... |
import React from "react";
import { shallow, mount } from "enzyme";
import WeatherAPI from "./WeatherAPI.js";
import Main from "../lib/components/Main.js";
import Greeting from "../lib/components/Greeting.js";
import Input from "../lib/components/Input.js";
describe("Input component", () => {
it("state.input should ... | {
"content_hash": "ac2aa03913d3bebae932b6f043ad0844",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 101,
"avg_line_length": 32.54545454545455,
"alnum_prop": 0.6262569832402235,
"repo_name": "tlgreg86/weatherly",
"id": "b2617f50e94ac31e58c787c6d889dd94d7a93f92",
"size": "1... |
namespace blink {
class SimplifiedBackwardsTextIteratorTest : public EditingTestBase {
};
template <typename Strategy>
static String extractString(const Element& element)
{
const EphemeralRangeTemplate<Strategy> range = EphemeralRangeTemplate<Strategy>::rangeOfContents(element);
BackwardsTextBuffer buffer;
... | {
"content_hash": "fd565e003bdf78a885c0a1a049efa262",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 142,
"avg_line_length": 55.630872483221474,
"alnum_prop": 0.6921220895162263,
"repo_name": "danakj/chromium",
"id": "17fca10cf2cb9e68a6c3996fbc89b98f6b46b0cf",
"size": "86... |
using System.Collections;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.Serialization;
using IX.StandardExtensions;
using IX.StandardExtensions.Contracts;
using IX.StandardExtensions.Threading;
using IX.System.Collections.Generic;
using IX.System.IO;
using JetBrains.Annotations;
namespace IX.Guaranteed... | {
"content_hash": "3473b03692558af25c16a77279bd6433",
"timestamp": "",
"source": "github",
"line_count": 1583,
"max_line_length": 131,
"avg_line_length": 31.93177511054959,
"alnum_prop": 0.5525441164833426,
"repo_name": "adimosh/IX.StandardExtensions",
"id": "94ff5835c935d4400033e69191e7e867cac329b4",... |
namespace v8 {
namespace internal {
bool CpuFeatures::SupportsCrankshaft() { return IsSupported(FPU); }
// -----------------------------------------------------------------------------
// Operand and MemOperand.
Operand::Operand(int32_t immediate, RelocInfo::Mode rmode) {
rm_ = no_reg;
imm32_ = immediate;
r... | {
"content_hash": "9f80115ada2a564e063c8ffac318fd21",
"timestamp": "",
"source": "github",
"line_count": 477,
"max_line_length": 80,
"avg_line_length": 32.85324947589098,
"alnum_prop": 0.6554782719673282,
"repo_name": "nekulin/arangodb",
"id": "7b6b3f8c76067b658aa67ff1f3edde6083ea6b45",
"size": "175... |
package org.apache.flink.runtime.resourcemanager.slotmanager;
import org.apache.flink.api.common.JobID;
import org.apache.flink.runtime.clusterframework.types.ResourceProfile;
import org.apache.flink.runtime.instance.InstanceID;
import org.apache.flink.runtime.slots.ResourceCounter;
import java.util.ArrayList;
impo... | {
"content_hash": "97adbaebfb46c0cc8f469de2eb0e503a",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 99,
"avg_line_length": 41.70192307692308,
"alnum_prop": 0.6995619091537929,
"repo_name": "kl0u/flink",
"id": "c7aee7a6c769a90de2fe28b5e1768c9204c630e3",
"size": "5142",
... |
require 'morpheus/cli/cli_command'
class Morpheus::Cli::Clouds
include Morpheus::Cli::CliCommand
include Morpheus::Cli::InfrastructureHelper
include Morpheus::Cli::ProvisioningHelper
register_subcommands :list, :count, :get, :add, :update, :remove, :refresh, :security_groups, :apply_security_groups, :types =>... | {
"content_hash": "e8d5053b58a8e5e89ee55def9893af9d",
"timestamp": "",
"source": "github",
"line_count": 1010,
"max_line_length": 325,
"avg_line_length": 34.97425742574257,
"alnum_prop": 0.5950062280602423,
"repo_name": "bertramdev/morpheus-cli",
"id": "0cc9902cf76388269f0d44e8e75169b84dd27079",
"si... |
package com.cattong.weibo.api;
import java.util.List;
import com.cattong.commons.LibException;
import com.cattong.commons.Paging;
import com.cattong.entity.User;
/**
* BlockMethods 黑名单相关操作接口
*
* @version
* @author cattong.com
* @time 2010-9-27 上午11:12:43
*/
public interface BlockService {
/**
* 将某用户加入黑名单
... | {
"content_hash": "c29d9114269e535f78d453908d5218ca",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 70,
"avg_line_length": 16.877551020408163,
"alnum_prop": 0.656590084643289,
"repo_name": "Terry-L/YiBo",
"id": "a59b0c9e661285f806fb6ca97e5b8e4a9a255e60",
"size": "981",
... |
package redpoll.text;
import java.io.IOException;
import java.util.Iterator;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapred.JobConf;
import org.apache.hadoop.mapred.MapReduceBase;
import org.apache.hadoop.mapred.OutputCollector;
import org.apache.hadoop.mapred.Reducer;
import org.apac... | {
"content_hash": "51fc2a065011e36d0fe5536bb2f750d1",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 109,
"avg_line_length": 29.790697674418606,
"alnum_prop": 0.7197501951600312,
"repo_name": "coderplay/redpoll",
"id": "71c269719dd57296e326fa1735c2d4a5f9ef971a",
"size": "2... |
namespace possumwood {
namespace opencv {
class ExifSequence final {
public:
void add(const Exif& exif);
bool empty() const;
std::size_t size() const;
typedef std::vector<Exif>::const_iterator const_iterator;
const_iterator begin() const;
const_iterator end() const;
bool operator==(const ExifSequence& f) c... | {
"content_hash": "ed4b8790360b1807840ad26fb5c60b9e",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 67,
"avg_line_length": 20.87878787878788,
"alnum_prop": 0.6981132075471698,
"repo_name": "martin-pr/possumwood",
"id": "d85441f1adc425c6c1eadf3bc6d991a26b4a28fc",
"size": "... |
maintainer "Nathan Lee"
maintainer_email "nathan@globalphobia.com"
license "Apache 2.0"
description "Installs/Configures Putty a free implementation of Telnet and SSH for Windows and Unix platforms, along with an xterm terminal emulator."
long_description IO.read(File.join(File.dirname(__FILE__), 'R... | {
"content_hash": "4bc43682d549742179d423c134f8d0e5",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 155,
"avg_line_length": 47.111111111111114,
"alnum_prop": 0.6816037735849056,
"repo_name": "SergioVicenteRuiz/chef-repo",
"id": "6d9fc57f68201d218e99ec1ee879ef85b19f9808",
"... |
const setValidTick = (inputContainer) => {
const errorContainer = inputContainer.querySelector('.sprk-b-ErrorContainer');
if (errorContainer) {
errorContainer.innerHTML = '';
}
};
export { setValidTick as default };
| {
"content_hash": "a7f6939090d58baf1616ddf13abeecac",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 80,
"avg_line_length": 25.333333333333332,
"alnum_prop": 0.7105263157894737,
"repo_name": "sparkdesignsystem/spark-design-system",
"id": "d3f2609d04025320f9f97f93ceacb5d554db3... |
package eventgrid
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// 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
//
// U... | {
"content_hash": "3e5c657db24566a6f342b052e2b653d9",
"timestamp": "",
"source": "github",
"line_count": 1011,
"max_line_length": 232,
"avg_line_length": 46.789317507418396,
"alnum_prop": 0.7955986808726535,
"repo_name": "pravisankar/origin",
"id": "40aa40d4296d4f2b12f77e756115d43de84f7c8d",
"size":... |
package cellularAutomata.lattice;
import cellularAutomata.CurrentProperties;
import cellularAutomata.Cell;
import cellularAutomata.lattice.view.LatticeView;
import cellularAutomata.lattice.view.SquareLatticeView;
import cellularAutomata.rules.Rule;
import cellularAutomata.util.math.Modulus;
/**
* A two... | {
"content_hash": "20781c561762c14c814e0dc4a0dbd491",
"timestamp": "",
"source": "github",
"line_count": 369,
"max_line_length": 99,
"avg_line_length": 36.22764227642276,
"alnum_prop": 0.4967833632555356,
"repo_name": "KEOpenSource/CAExplorer",
"id": "bfd00449724a1f6134cdf3198c2eb5102caf9a2d",
"size... |
using System;
using System.Collections.Generic;
using QuantConnect.Data;
using QuantConnect.Orders;
using QuantConnect.Interfaces;
namespace QuantConnect.Algorithm.CSharp
{
/// <summary>
/// Options Open Interest data regression test.
/// </summary>
/// <meta name="tag" content="options" />
/// <... | {
"content_hash": "e42b1ba58b1c526975a8b1d9b3c311ea",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 175,
"avg_line_length": 43.05263157894737,
"alnum_prop": 0.5270986145069275,
"repo_name": "Jay-Jay-D/LeanSTP",
"id": "9e9c2791af4b250eb678e117e704ac3051528a20",
"size": "5... |
import {AmpDocSingle, installDocService} from '#service/ampdoc-impl';
import {Animation} from '../../src/animation';
import {FakeMutationObserver, FakeWindow} from '#testing/fake-dom';
import {FixedLayer} from '#service/fixed-layer';
import {Services} from '#service';
import {endsWith} from '#core/types/string';
impo... | {
"content_hash": "4bd5f278019defe9cf3268a0e7ff96be",
"timestamp": "",
"source": "github",
"line_count": 1874,
"max_line_length": 81,
"avg_line_length": 31.533617929562432,
"alnum_prop": 0.5663519138998883,
"repo_name": "rsimha-amp/amphtml",
"id": "b11776b0d258f203785ab1d2f8c14c64323c6188",
"size": ... |
module PaperTrail
module Reifiers
# Reify a single `has_one` association of `model`.
# @api private
module HasOne
class << self
# @api private
def reify(assoc, model, options, transaction_id)
version = load_version_for_has_one(assoc, model, transaction_id, options[:version_... | {
"content_hash": "880fb7cd2dee445ac05c9069ca357373",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 96,
"avg_line_length": 36.421052631578945,
"alnum_prop": 0.5773121387283237,
"repo_name": "devonestes/paper_trail",
"id": "ad6611250dc83780a90862b109520ec1f7e02703",
"size"... |
namespace FakeItEasy.Specs
{
using System;
using System.Threading.Tasks;
using FluentAssertions;
using Xbehave;
public class ValueTaskReturnValueSpecs
{
public interface IReturnValueTask
{
ValueTask<int> GetValueAsync();
ValueTask<int> GetVa... | {
"content_hash": "f3826518468b30a9e89c7e476946bdb1",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 155,
"avg_line_length": 42.524096385542165,
"alnum_prop": 0.5439864003399915,
"repo_name": "thomaslevesque/FakeItEasy",
"id": "522c0786f99a904e0c5207736d0169e59d2a25bd",
"... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Opegrapha onchospora Nyl.
### Remarks
null | {
"content_hash": "02a114988b324cb638ebd19f9adc3168",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 25,
"avg_line_length": 10,
"alnum_prop": 0.7076923076923077,
"repo_name": "mdoering/backbone",
"id": "30a6482f38f227a54fc7febb99dfe24ffb96a456",
"size": "179",
"binary": ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Creating Web Apps with Angular JS | Renemari Padillo</title>
<meta name="description" content="Front-end Web Technologies Presentation for MSU Campus DevCon.">
<!-- Style Ve... | {
"content_hash": "2aef9878ac7ff2dc869cbc90d77c49f8",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 362,
"avg_line_length": 40.677083333333336,
"alnum_prop": 0.5687580025608194,
"repo_name": "renesansz/presentations",
"id": "49991c66180c2dbfe9011b1cd51ef550d0d2debc",
"siz... |
<html>
<head><title>Click noreferrer links</title>
<script>
function simulateClick(target) {
var evt = document.createEvent("MouseEvents");
evt.initMouseEvent("click", true, true, window,
0, 0, 0, 0, 0, false, false,
false, false, 0, null);
return target.d... | {
"content_hash": "00f976e57817011b02f857b5f3079573",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 79,
"avg_line_length": 29.42105263157895,
"alnum_prop": 0.6708407871198568,
"repo_name": "aYukiSekiguchi/ACCESS-Chromium",
"id": "0e5e297bbb1042b151e865586b062d1816e35ddc",
... |
import PointLocator from '../../algorithm/PointLocator';
import Location from '../../geom/Location';
import TreeSet from '../../../../../java/util/TreeSet';
import extend from '../../../../../extend';
import GeometryCombiner from '../../geom/util/GeometryCombiner';
import CoordinateArrays from '../../geom/CoordinateArr... | {
"content_hash": "74fd04f91d46f6599c4a0ac97ea3fbc6",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 66,
"avg_line_length": 34.57446808510638,
"alnum_prop": 0.7058461538461539,
"repo_name": "futuristicblanket/reef-space",
"id": "42dd10356bf77e00573718151cf575fc1ee3d10d",
"... |
using System.Collections.Generic;
using System.Runtime.Serialization;
using Chiro.Gap.Domain;
namespace Chiro.Gap.ServiceContracts.DataContracts
{
/// <summary>
/// DataContract voor summiere info over aangesloten leden/leiding en hun afdeling(en)
/// </summary>
[DataContract]
public class LidAfdelingInfo
{
... | {
"content_hash": "122ca651199f88d3610f3ffee2e43beb",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 87,
"avg_line_length": 21.70731707317073,
"alnum_prop": 0.6584269662921348,
"repo_name": "Chirojeugd-Vlaanderen/gap",
"id": "d27298af07c27f45d19fa2a6a0a854a55e29425e",
"siz... |
'use strict';
var idCount = 0;
var _ = module.exports = {
has: has,
result: function result(value) {
for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
args[_key - 1] = arguments[_key];
}
return typeof value === 'function' ? value.apply(un... | {
"content_hash": "8fb0592dfd7a05039a80e4ae3c882f64",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 120,
"avg_line_length": 25.48148148148148,
"alnum_prop": 0.575218023255814,
"repo_name": "yomolify/cs-webserver",
"id": "9463fb7c5d4785b5ac40405c0e861c14529b6972",
"size":... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<title>Findborgs earth-typography element</title>
<link rel="stylesheet" href="../dist/earth-typography.css">
<link rel="stylesh... | {
"content_hash": "32d9ff00dd2febcece89bffac696c0e2",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 112,
"avg_line_length": 42.583333333333336,
"alnum_prop": 0.6666666666666666,
"repo_name": "ExoTypography-Elements/earth-colors",
"id": "e5ac07b00b45d9ef2f31c9afbda0669a30f19... |
package io.gravitee.am.identityprovider.linkedin.authentication.model;
/**
* GitHub User claims
*
* See <a href="https://developer.github.com/v3/users/#get-a-single-user>Get a single user</a>
*
* @author David BRASSELY (david.brassely at graviteesource.com)
* @author GraviteeSource Team
*/
public interface Lin... | {
"content_hash": "1127de02b2af3b79a2db6fb8386d4036",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 94,
"avg_line_length": 28.7,
"alnum_prop": 0.7195121951219512,
"repo_name": "gravitee-io/graviteeio-access-management",
"id": "91195a0c14aaf3d4d30e890a93c7e205acab6df1",
"s... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Web;
using System.Web.Routing;
using Umbraco.Core;
using Umbraco.Core.Configuration;
using Umbraco.Core.Configuration.UmbracoSettings;
using Umbraco.Core.Events;
using Umbraco.Core.Models.PublishedContent;
using Umbraco.Web;
using Umbraco.Web... | {
"content_hash": "e49f77c67719b324ca8c9f10940ede7b",
"timestamp": "",
"source": "github",
"line_count": 328,
"max_line_length": 142,
"avg_line_length": 41.47560975609756,
"alnum_prop": 0.6107027344898559,
"repo_name": "mattbrailsford/Umbraco-CMS",
"id": "ab8470c64f0899ec0b0495698865a366f01f3c9d",
"... |
package ee.pri.bcup.client.common.panel;
import java.awt.Graphics;
import java.awt.Image;
import ee.pri.bcup.client.common.context.AppletContext;
import ee.pri.bcup.common.Testing;
/**
* Base class for panels with background image and no layout manager.
*
* @author Raivo Laanemets
*/
public class BCupBackground... | {
"content_hash": "bc70a48c42cdf34e668112abea47cdd3",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 79,
"avg_line_length": 24.31578947368421,
"alnum_prop": 0.737012987012987,
"repo_name": "rla/bcup",
"id": "8b38c584cce5273511d464edf2e25e6fca1c1c85",
"size": "924",
"bina... |
|LF_STANDARD|
|?TREE=» <a class=tree href="/CMD_FILE_MANAGER">`LANG_FILEMANAGER`</a> » <a class=tree href="/CMD_FILE_MANAGER`path`?action=extract&page=1">`path`</a>|
|?HELP_SECTION=`USER_HELPER`/filemanager.html#extract|
|HTM_USER_TOP|
<!-- inicio bloque -->
<div class="bcp-bloque">
<div class="bcpb-padd... | {
"content_hash": "b2559b35ed3ed12cb3eb17669024a47b",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 163,
"avg_line_length": 28.238805970149254,
"alnum_prop": 0.5533826638477801,
"repo_name": "cake654326/einDa-skin",
"id": "48390a536a74238dbcf0384f560cc11107a20640",
"size"... |
NTSTATUS nativeIde_Constructor(__in PPCI_COMMON_EXTENSION Ext,__in PPCI_INTERFACE PciIntrf,__in PVOID Data,__in USHORT Version,__in USHORT Size,__in PINTERFACE Interface);
//
// initializer
//
NTSTATUS nativeIde_Initializer(__in PPCI_ARBITER_INSTANCE Instance);
//
// reference
//
VOID nativeIde_Reference(__in PPCI_PD... | {
"content_hash": "bbc1568fcb0125963b98bb8195d66c32",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 171,
"avg_line_length": 25.476190476190474,
"alnum_prop": 0.7476635514018691,
"repo_name": "godspeed1989/WDUtils",
"id": "03996db55ff3237c67dff2057b373fa87c7e4873",
"size":... |
//
// ___FILENAME___
// ___PROJECTNAME___
//
// Created by ___FULLUSERNAME___ on ___DATE___.
//___COPYRIGHT___
//
#import "___FILEBASENAME___.h"
@implementation ___FILEBASENAMEASIDENTIFIER___
- (void)awakeFromNib
{
[super awakeFromNib];
// Additional configuration
}
/*
// Only override drawRect: if you p... | {
"content_hash": "c40780ac1c0e664f9c1158c6a2f5a31e",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 74,
"avg_line_length": 17.214285714285715,
"alnum_prop": 0.6473029045643154,
"repo_name": "samdods/Stencil",
"id": "ef70d13ab50b096a284cc355ffe78c5c5b90e653",
"size": "482"... |
export default {
setupFiles: ["./auto"],
testMatch: ["<rootDir>/test/jest.js"],
};
| {
"content_hash": "0bde2c0e907814e4b6e50cf3a52aba80",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 42,
"avg_line_length": 22.75,
"alnum_prop": 0.5824175824175825,
"repo_name": "dumbmatter/fakeIndexedDB",
"id": "7f1da0201f7cf2f9a5b9b941c39832a592930c13",
"size": "91",
"b... |
using Autofac;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Builder.Dialogs.Internals;
using Microsoft.Bot.Connector;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
... | {
"content_hash": "5400aa8564f28c36a277f3f32d397715",
"timestamp": "",
"source": "github",
"line_count": 235,
"max_line_length": 154,
"avg_line_length": 40.91063829787234,
"alnum_prop": 0.43821510297482835,
"repo_name": "xiangyan99/BotBuilder",
"id": "22bf427ee175857e7839720aecb6594c12cc817b",
"size... |
namespace FluentValidation.Resources {
using System;
using System.Reflection;
using Internal;
public class ResourceAccessor {
public Func<string> Accessor { get; set; }
public Type ResourceType { get; set; }
public string ResourceName { get; set; }
}
/// <summary>
/// ... | {
"content_hash": "4f20b84b7d552b0f0d7096a57c02adaa",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 140,
"avg_line_length": 40.0989010989011,
"alnum_prop": 0.7119758838037819,
"repo_name": "ruisebastiao/FluentValidation",
"id": "d15be2618ef1fd962f9e49c739153a4b34ac7702",
... |
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
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
Unless required ... | {
"content_hash": "718df3e9a539b987256172edb6ad78cc",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 181,
"avg_line_length": 47.14705882352941,
"alnum_prop": 0.6768558951965066,
"repo_name": "motlin/gs-xsd2bean",
"id": "0f570fa3834279cbc5e89b181a3e49db1a2d4fec",
"size": "1... |
'use strict';
/* jshint node: true */
/* jshint esnext: true */
/* global describe, beforeEach, afterAll, spyOn, it, expect, fail, jasmine */
const timeCalculator = require('../../domain/timeCalculator');
const _ = require('lodash');
const moment = require('moment');
describe('timeCalculator service', () => {
const ... | {
"content_hash": "c37c95d5954fd004ca1fe5480ab1e666",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 77,
"avg_line_length": 33.89655172413793,
"alnum_prop": 0.6215666327568667,
"repo_name": "lplotni/pace",
"id": "689c1e2342fc1664b4fdf08ba549c7295c8b2025",
"size": "983",
... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use \App\Http\Controllers\FrontController;
class HomeController extends FrontController
{
/**
* Show the application dashboard.
*
* @return \Illuminate\Http\Response
*/
public function __construct()
{
parent::_... | {
"content_hash": "6e6c20cbf8f05b57bf0754e75aa19a18",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 207,
"avg_line_length": 38.95,
"alnum_prop": 0.5641848523748395,
"repo_name": "alphabraga/nay",
"id": "03639025c676eef5fbfc1aaf6e3eb4a484dbad83",
"size": "1558",
"binary"... |
'use strict';
let angular = require('angular');
module.exports = angular.module('spinnaker.serverGroup.configure.cf.configuration.service', [
require('../../../core/account/account.service.js'),
require('../../../core/securityGroup/securityGroup.read.service.js'),
require('../../../core/cache/cacheInitializer.j... | {
"content_hash": "93842c32d6c5327bb816b37cb38fac2f",
"timestamp": "",
"source": "github",
"line_count": 230,
"max_line_length": 126,
"avg_line_length": 38.29565217391304,
"alnum_prop": 0.6491825613079019,
"repo_name": "zanthrash/deck-old",
"id": "a989498637ec36a85c59d0d0a8a04dd5b012c1cf",
"size": "... |
ACCEPTED
#### According to
Interim Register of Marine and Nonmarine Genera
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "0467fe79583dd5d91bd1170f5b6ea5ee",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 47,
"avg_line_length": 10.923076923076923,
"alnum_prop": 0.7183098591549296,
"repo_name": "mdoering/backbone",
"id": "27db46f01511f79d4a4185508635f11f4fea88a8",
"size": "20... |
<?php
namespace tperroin\BlogSioBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class tperroinBlogSioBundle extends Bundle
{
}
| {
"content_hash": "e21793fe666ecf382dbdbcb9f0437d73",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 47,
"avg_line_length": 14.3,
"alnum_prop": 0.7902097902097902,
"repo_name": "tperroin/blogsio",
"id": "56a514deb4b9d233232d7d095039ebef7360fc4d",
"size": "143",
"binary":... |
package org.jboss.arquillian.test.spi.annotation;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import org.jboss.arquillian.core.api.annotation.Sc... | {
"content_hash": "b0ac1f96c3d6e654f7abd51740688f65",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 62,
"avg_line_length": 20.76923076923077,
"alnum_prop": 0.7759259259259259,
"repo_name": "topicusonderwijs/arquillian-core",
"id": "8b860cb1f47a99240ff07f7b2874fb1f582eefd8",... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.IO;
using System.Xml;
using Cake.Core;
using Cake.Core.Annotations;
using Cake.Core.Diag... | {
"content_hash": "538af4a624ad1f8248f439db719a5533",
"timestamp": "",
"source": "github",
"line_count": 159,
"max_line_length": 125,
"avg_line_length": 39.57861635220126,
"alnum_prop": 0.5687271571587478,
"repo_name": "ferventcoder/cake",
"id": "5185348be5535b7a35d75f331a081e59177dbdc8",
"size": "6... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="null" lang="null">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>MockRule xref</title>
<link type="text... | {
"content_hash": "b1a489c63ea9dd02fa3263cf5a76d9c4",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 243,
"avg_line_length": 68.7948717948718,
"alnum_prop": 0.6261647409616101,
"repo_name": "pscadiz/pmd-4.2.6-gds",
"id": "32652947623e68f9806d84b1bee12ed1b2f1f83c",
"size": ... |
using Eigen::MatrixXd;
namespace wit {
void print_heat(MatrixXd &Temp);
void print_material(MatrixXd &Material);
}
#endif
| {
"content_hash": "5aafd1e036273da9f14f488416aceb72",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 40,
"avg_line_length": 15.5,
"alnum_prop": 0.75,
"repo_name": "hdeplaen/heattopology",
"id": "d4eeaa80f72b9c183c8897edaafe47d5844b370c",
"size": "231",
"binary": false,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.