text stringlengths 2 1.04M | meta dict |
|---|---|
#ifndef LINKEDLIST_H
#define LINKEDLIST_H
#define ll_iter_get_as(it, type) ((type)ll_iter_get(it))
typedef struct ll_list_type *ll_list_t;
typedef struct ll_iter_type *ll_iter_t;
ll_list_t ll_new_list();
void ll_free(ll_list_t list);
void ll_push_front(ll_list_t list, void *item);
void ll_push_back(ll_list_t list, ... | {
"content_hash": "752e5d1139c3e5d406a75c01268e32ba",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 63,
"avg_line_length": 28.86111111111111,
"alnum_prop": 0.6939364773820982,
"repo_name": "donlorenzo/linkedlist",
"id": "5ba9feaa03b8ab9b10bc7410859d7ad6b38e50a8",
"size": ... |
#include "DeclarationNodeHandler.h"
#include<lang/log/LogLevel.h>
#include <commonlib/commonlib.h>
#include <lang/model/allmodel.h>
#include "../CallbackRegister.h"
#include "../ExecStore.h"
#include <lang/interpreter/exe/dec/VariableDeclaration.h>
namespace IAS {
namespace Lang {
namespace Interpreter {
namespace ... | {
"content_hash": "f9717231bde4cd87315e4fbac213eb8c",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 148,
"avg_line_length": 34.095238095238095,
"alnum_prop": 0.6094040968342644,
"repo_name": "InvenireAude/IAS-Base-OSS",
"id": "be2348aa2acb1e4bc7446ff0f9020adb3636fda4",
"s... |
package org.apache.activemq.artemis.api.core.client.loadbalance;
import org.apache.activemq.artemis.utils.Random;
/**
* {@link RandomConnectionLoadBalancingPolicy#select(int)} chooses a the initial node randomly then subsequent requests return the same node
*/
public final class RandomStickyConnectionLoadBalancing... | {
"content_hash": "5b66ac56d1718bff946443bcc6f20621",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 140,
"avg_line_length": 25.72,
"alnum_prop": 0.702954898911353,
"repo_name": "glaucio-melo-movile/activemq-artemis",
"id": "556d33ff805e3aef7c32053781f235a960a8c1fe",
"size... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.Auth.AccessControlPolicy.ActionIdentifiers
{
/// <summary>
/// The available AWS access control policy actions for Amazon SQS.
/// </summary>
/// <see cref="Amazon.Auth.AccessControlPolicy.Statement.Actions"/>
publ... | {
"content_hash": "c791e78ae7aada769e1bc67539f798f2",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 136,
"avg_line_length": 66.78125,
"alnum_prop": 0.7781937295273749,
"repo_name": "emcvipr/dataservices-sdk-dotnet",
"id": "fc59a82673cdb45494f3cea6c855632784ea76ab",
"size"... |
package ee.ria.xroad.signer.protocol.message;
import ee.ria.xroad.common.identifier.ClientId;
import lombok.Value;
import java.io.Serializable;
/**
* Signer API message.
*/
@Value
public class GetMemberCerts implements Serializable {
private final ClientId memberId;
}
| {
"content_hash": "fea21254920509612ac8d11515c84bac",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 53,
"avg_line_length": 16.529411764705884,
"alnum_prop": 0.7651245551601423,
"repo_name": "vrk-kpa/X-Road",
"id": "793aa5ebf4b97c231f7723519e7d206d9f57f515",
"size": "1482"... |
@ECHO OFF
pushd %~dp0
REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=python -msphinx
)
set SOURCEDIR=.
set BUILDDIR=_build
set SPHINXPROJ=behave-webdriver
if "%1" == "" goto help
%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The Sphinx module was not found. Make ... | {
"content_hash": "9c957a12f3cb0b2cf781f51d47ab71be",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 75,
"avg_line_length": 21.61111111111111,
"alnum_prop": 0.7365038560411311,
"repo_name": "spyoungtech/behave-webdriver",
"id": "16f646b1180e9c0bb37569cd24461099708657a5",
"... |
package desmoj.extensions.applicationDomains.harbour;
import desmoj.core.advancedModellingFeatures.Res;
import desmoj.core.advancedModellingFeatures.WaitQueue;
import desmoj.core.simulator.Queue;
public class HoldingArea extends WaitQueue {
/**
* the number of the lanes of this HoldingArea .
*/
private int nL... | {
"content_hash": "daebd941850db414a6dc305265c0505d",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 108,
"avg_line_length": 34.110344827586204,
"alnum_prop": 0.6581075616659927,
"repo_name": "muhd7rosli/desmoj",
"id": "03d4966832d36f6fc6c00457bf92b37b0d77271c",
"size": "... |
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/menu_1"
android:title="Menu 1"
app:showAsAction="never" />
<group android:id="@id/md_menu_default_grou... | {
"content_hash": "8c53582593eea2d13b6b5a971c30169a",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 64,
"avg_line_length": 33.578947368421055,
"alnum_prop": 0.45454545454545453,
"repo_name": "RacZo/MaterialDrawer",
"id": "d797b99ee450f3db1089c7f10145bb460ee691ca",
"size":... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head><title></title>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<link rel="stylesheet" type="text/css" href="search.css"/>
<script type="text/javascript" src="search... | {
"content_hash": "c171c6990da87d2504b141a383fccd61",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 240,
"avg_line_length": 45.6,
"alnum_prop": 0.7166666666666667,
"repo_name": "fenek/riak-c-driver",
"id": "6972cbe5b32493d3f9228f614692ea783dfd947f",
"size": "1140",
"bin... |
package org.apache.hive.hcatalog.templeton.tool;
import java.io.IOException;
import java.util.List;
import org.apache.hadoop.conf.Configuration;
/**
* An interface to handle different Templeton storage methods, including
* ZooKeeper and HDFS. Any storage scheme must be able to handle being
* run in an HDFS envi... | {
"content_hash": "e547d1315208403bafc4acfd28b898bb",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 74,
"avg_line_length": 32.59574468085106,
"alnum_prop": 0.691579634464752,
"repo_name": "vergilchiu/hive",
"id": "4bd73d98bb401d1b3f5d4566550a324c025558fd",
"size": "3874",... |
class Members::RegistrationsController < Devise::RegistrationsController
# before_filter :configure_sign_up_params, only: [:create]
# before_filter :configure_account_update_params, only: [:update]
# GET /resource/sign_up
# def new
# super
# end
# POST /resource
# def create
# super
# end
# GET... | {
"content_hash": "adb834609efa556ab1eb5c29dfa159cd",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 72,
"avg_line_length": 23.1,
"alnum_prop": 0.6753246753246753,
"repo_name": "NUSComputingDev/beta.nuscomputing.com",
"id": "6aa4d21d35f10dbf78d25d61fbe45a5f7e952a6d",
"size... |
import json
import libvirt
import sys
from lxml import etree
from . import virt_ifaces
def _handle_event(conn, domain, event, detail, opaque):
msg = dict(
type='libvirt',
vm=dict(
name=domain.name(),
uuid=domain.UUIDString(),
uri=opaque['uri'],
),
... | {
"content_hash": "14e804d2188b63d7dbd88fdb05ac956a",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 73,
"avg_line_length": 28.119402985074625,
"alnum_prop": 0.5448513800424628,
"repo_name": "ceph/propernoun",
"id": "d54b642cb4ef14023be7fc26ca8f9a842e6fd206",
"size": "376... |
require 'has_distance'
require 'rails'
module HasDistance
class Railtie < ::Rails::Railtie
initializer 'has_distance.insert_into_active_record' do
ActiveSupport.on_load :active_record do
ActiveRecord::Base.send(:include, HasDistance::Distance::Glue)
end
end
end
end
| {
"content_hash": "62b722981efbc09b4d5b2b1451601c29",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 70,
"avg_line_length": 21.5,
"alnum_prop": 0.7043189368770764,
"repo_name": "fernyb/has_distance",
"id": "7054052b0f35cd5208dc843dfc79d77eef1a6238",
"size": "301",
"binar... |
define(['jquery',
'underscore',
'backbone',
'app',
'entities/element/element_model'
],
function($, _, Backbone, StudentManager, Element) {
var Elements = Backbone.Collection.extend({
model: Element
});
var elementCollectionFromHtml = function() {
va... | {
"content_hash": "90d800e0cd2c2bb0fe9473c6b40a6822",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 191,
"avg_line_length": 43.90217391304348,
"alnum_prop": 0.5516216885367665,
"repo_name": "pointable/hitcamp",
"id": "86cb3615ae55256566c3a90af450f8e1342d1dae",
"size": "40... |
package com.lightbend.lagom.scaladsl.broker.kafka
import com.lightbend.lagom.internal.scaladsl.broker.kafka.ScaladslRegisterTopicProducers
import com.lightbend.lagom.scaladsl.api.ServiceLocator
import com.lightbend.lagom.scaladsl.projection.ProjectionComponents
import com.lightbend.lagom.scaladsl.server.LagomServer
... | {
"content_hash": "4aa6a535e6ad52524b3f4d075667ff2a",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 158,
"avg_line_length": 30.666666666666668,
"alnum_prop": 0.7771739130434783,
"repo_name": "lagom/lagom",
"id": "5e8b4ccc5e50b08610100eb8b9d3f6942cf5dfe7",
"size": "1354",
... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | {
"content_hash": "0d94510bcb3c28dd7988373b8468409f",
"timestamp": "",
"source": "github",
"line_count": 213,
"max_line_length": 142,
"avg_line_length": 45.17370892018779,
"alnum_prop": 0.679692371648306,
"repo_name": "losipiuk/presto",
"id": "9c5c3d5eeb8f82709ecef9196d6a3c1896de5753",
"size": "9622... |
#include "UnitTestPCH.h"
#include <assimp/IOStreamBuffer.h>
#include "TestIOStream.h"
#include "UnitTestFileGenerator.h"
class IOStreamBufferTest : public ::testing::Test {
// empty
};
using namespace Assimp;
TEST_F( IOStreamBufferTest, creationTest ) {
bool ok( true );
try {
IOStreamBuffer<cha... | {
"content_hash": "92cad0644ed08217188f91a4682d04c7",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 80,
"avg_line_length": 26.61904761904762,
"alnum_prop": 0.6536672629695885,
"repo_name": "jlukacs/aqua",
"id": "41575fa59475874be1129ba87d85c469a3132db1",
"size": "4582",
... |
package uk.co.johnjtaylor.events;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.Queue;
import java.util.Timer;
import java.util.TimerTask;
import uk.co.johnjtaylor.events.generic.Event;
import uk.co.johnjtaylor.events.listeners.Listener;
import uk.co.johnjtaylor.events.listeners.Li... | {
"content_hash": "5ddc005d036faffb50f17ae09eec0e59",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 85,
"avg_line_length": 34.422222222222224,
"alnum_prop": 0.7307940606843124,
"repo_name": "YcleptJohn/SortAnalytics",
"id": "62f2010f96c7c1718040cf71b49b3ab8d2831ae3",
"siz... |
<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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>es.upm.fi.oeg.anp</groupId>
<artifactId>jRIDER</artifactId>
<ver... | {
"content_hash": "d0c4c6179a4cfc75921c3e5dee2349b8",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 104,
"avg_line_length": 27.452380952380953,
"alnum_prop": 0.6617519514310495,
"repo_name": "filiprd/jRIDER",
"id": "05e753fecf57882ba10e7dea05cffaafe0f80edf",
"size": "1153... |
//-----------------------------------------------------------------------
// <copyright file="AssemblyInfo.cs" company="Rare Crowds Inc">
// Copyright 2012-2013 Rare Crowds, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License... | {
"content_hash": "32fe1cfb52be1a3846a98040a2c9e120",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 84,
"avg_line_length": 43.34920634920635,
"alnum_prop": 0.7151226656902233,
"repo_name": "chinnurtb/OpenAdStack",
"id": "9de21f960e8beb61c996e0a6e3fab6233ccf471e",
"size": ... |
using System.Collections;
namespace Igloo.Clinic.Domain
{
public interface ICart : IList
{
}
}
| {
"content_hash": "e410b25616b17cb75cb2943fd2682a91",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 34,
"avg_line_length": 12.11111111111111,
"alnum_prop": 0.6697247706422018,
"repo_name": "castleproject/castle-READONLY-SVN-dump",
"id": "9877e789db7f2915e2aa6d04390ffdeba1498... |
<?php
namespace Database\Factories;
use App\Models\User;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Str;
class UserFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = User::class;
/**
... | {
"content_hash": "6a8e158bb103d9736f006184d4a41ee3",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 101,
"avg_line_length": 23.80851063829787,
"alnum_prop": 0.5558534405719392,
"repo_name": "bugsnag/bugsnag-laravel",
"id": "a24ce53f5372e30f04d79b56b436102441095465",
"size... |
#pragma once
#include <aws/apprunner/AppRunner_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace AppRunner
{
namespace Model
{
enum class Runtime
{
NOT_SET,
PYTHON_3,
NODEJS_12,
NODEJS_14,
CORRETTO_8,
CORRETTO_11,
NODEJS_16,
GO_1,
DOTNET_6,... | {
"content_hash": "7d6223f8a3ab28f35491944567a875d4",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 69,
"avg_line_length": 16.833333333333332,
"alnum_prop": 0.6914191419141914,
"repo_name": "aws/aws-sdk-cpp",
"id": "1d69edd295d69372c062d3c939607f2471056cbe",
"size": "725"... |
/**
*
* @author mg
* @module
*/
function PlainPropertiesTest() {
var self = this, model = P.loadModel(this.constructor.name);
var comps = [new P.AbsolutePane()
, new P.AnchorsPane()
, new P.BorderPane()
, new P.BoxPane()
, new P.But... | {
"content_hash": "f3ea91fefa37b861652b1ac9b445a037",
"timestamp": "",
"source": "github",
"line_count": 352,
"max_line_length": 97,
"avg_line_length": 39.39488636363637,
"alnum_prop": 0.552751135790005,
"repo_name": "marat-gainullin/PlatypusJS",
"id": "68af64f7f808a9d7cf068cf9f412d66a81ae569d",
"si... |
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
| {
"content_hash": "d5e0efb5403a920dce3f689844fbe485",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 60,
"avg_line_length": 16.857142857142858,
"alnum_prop": 0.7796610169491526,
"repo_name": "iversonwool/GItStudy",
"id": "0dd0494576ba7ec6a5265a97ae1c3e964ee7a8b8",
"size": "... |
Two kind of nodes, manager node and compute node.
Manager node is both the job manager, database server and web server.
Compute node is the job worker (We can actually scale to many compute nodes).
## Web
* Back-end: PHP?
## Job management and security
* Use ubuntu as system
* Use slurm as job management system
* U... | {
"content_hash": "e206870629ed5a4fd033a4ff0de6d514",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 161,
"avg_line_length": 38.361111111111114,
"alnum_prop": 0.7574221578566256,
"repo_name": "Jeff1995/oj",
"id": "9600d7f5b857849b31a9c852f717090f57924090",
"size": "1396",
... |
<h1><%= title %></h1>
<form id="js-form">
<input type="text" placeholder="<%= username_placeholder %>" name="username">
<input type="password" placeholder="<%= password_placeholder %>" name="password">
<button type="submit"><%= button %></button>
</form> | {
"content_hash": "9bebfd379a531a40239151acc90dca8e",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 82,
"avg_line_length": 42.833333333333336,
"alnum_prop": 0.6498054474708171,
"repo_name": "baguetteapps/gitchat_web",
"id": "02f38c6dc989da4570b4a722f2600b2ffac353ec",
"size... |
@interface APProgressViewExampleTests : XCTestCase
@end
@implementation APProgressViewExampleTests
- (void)setUp {
[super setUp];
// Put setup code here. This method is called before the invocation of each test method in the class.
}
- (void)tearDown {
// Put teardown code here. This method is called af... | {
"content_hash": "0fcabb71db4ecfa07ab95901f0b4faca",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 107,
"avg_line_length": 26.20689655172414,
"alnum_prop": 0.7052631578947368,
"repo_name": "ton252/APProgressView",
"id": "fd70b82b234544409c7a848709455d84ed3b66b5",
"size":... |
EDN::Type::Symbol.new('hello/world')
| {
"content_hash": "a096b58753a7d331670baecc9edc3eda",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 37,
"avg_line_length": 38,
"alnum_prop": 0.6842105263157895,
"repo_name": "gusai-francelabs/datafari",
"id": "d6531f531b0f822c6d2d8b7c789af829371918f9",
"size": "38",
"bin... |
<?php
namespace Wlm\Bundle\ScannerBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class DefaultControllerTest extends WebTestCase
{
public function testIndex()
{
$client = static::createClient();
$crawler = $client->request('GET', '/hello/Fabien');
$thi... | {
"content_hash": "14f520c64ed06def9810b8795f72b1dc",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 90,
"avg_line_length": 23.941176470588236,
"alnum_prop": 0.6781326781326781,
"repo_name": "deuxnids/Wiloma",
"id": "9350271f071d6314a23346019a00b7eb9632aea6",
"size": "407"... |
void progress_layer_init(Layer* layer, GRect frame);
// Sets the number of steps that can be displayed by this progress layer.
void progress_layer_set_num_steps(Layer* layer, unsigned int steps);
// Sets the number of steps completed to be displayed by this progress layer.
// If this number is larger than the maximu... | {
"content_hash": "7c38cc31d77bc332c423b1ce9956d2af",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 78,
"avg_line_length": 40.18181818181818,
"alnum_prop": 0.7647058823529411,
"repo_name": "jonspeicher/Pomade",
"id": "cf1f71cfe973d9daa52a4def4f02cd1f4d9589a1",
"size": "86... |
package com.emitrom.touch4j.client.core.handlers.nestedlist;
import com.emitrom.touch4j.client.core.EventObject;
import com.emitrom.touch4j.client.core.handlers.AbstractHandler;
import com.emitrom.touch4j.client.ui.ListDataView;
import com.emitrom.touch4j.client.ui.NestedListDataView;
import com.google.gwt.cor... | {
"content_hash": "f029cd2afdf9df9fe044e55b76434192",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 338,
"avg_line_length": 51.16981132075472,
"alnum_prop": 0.7300884955752213,
"repo_name": "paulvi/touch4j",
"id": "70bd62ead64dd17bd0690822632e4b967f9b15ca",
"size": "3525"... |
$: << File.expand_path('../lib', File.dirname(__FILE__))
require 'rr'
require 'roundtrip'
require 'minitest/autorun'
require 'timecop'
class MiniTest::Unit::TestCase
include RR::Adapters::MiniTest
end
| {
"content_hash": "6513b89f5f3536fedb12ad5c95e8ea20",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 56,
"avg_line_length": 18.727272727272727,
"alnum_prop": 0.7087378640776699,
"repo_name": "jondot/roundtrip",
"id": "b9eaaf0d79f6810be49bb5686f6ed7576cee5821",
"size": "206... |
<!doctype html>
<title>invoking resource selection by inserting <source></title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
<video></video>
<script>
async_test(function(t) {
var v = document.querySelector('video');
v.onloadstart = ... | {
"content_hash": "ba47de3ec11cb72b1f388b1fb4e832a9",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 67,
"avg_line_length": 35.07142857142857,
"alnum_prop": 0.6985743380855397,
"repo_name": "Samsung/ChromiumGStreamerBackend",
"id": "969daad6231d08bf77855f0f992c56935f4dd347",... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta... | {
"content_hash": "d91026a1b00df7f78ac177a89889fa43",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 442,
"avg_line_length": 58.46913580246913,
"alnum_prop": 0.6112753378378378,
"repo_name": "NCIP/rembrandt",
"id": "b15ec49347d539482359a0ad06d0a74d3481523e",
"size": "9478... |
<html>
<head>
<title>User agent detail - Mozilla/5.0 (Linux; U; Android 4.0.3; en-us; Full AOSP on Rk29sdk Build/IML74K) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.cs... | {
"content_hash": "1d13fdc212a01244f58d5a5ff83a9af2",
"timestamp": "",
"source": "github",
"line_count": 1144,
"max_line_length": 748,
"avg_line_length": 41.11276223776224,
"alnum_prop": 0.5368783620011481,
"repo_name": "ThaDafinser/UserAgentParserComparison",
"id": "ae30ba6a5a575dcb58124761ef90c4019a... |
namespace ui {
namespace {
// To test the handling of |EventRewriter|s through |EventSource|,
// we rewrite and test event types.
class TestEvent : public Event {
public:
explicit TestEvent(EventType type)
: Event(type, base::TimeTicks(), 0), unique_id_(next_unique_id_++) {}
~TestEvent() override {}
int ... | {
"content_hash": "b10edad25038b9ec30e938afb90940a6",
"timestamp": "",
"source": "github",
"line_count": 217,
"max_line_length": 79,
"avg_line_length": 35.31336405529954,
"alnum_prop": 0.7135586584888425,
"repo_name": "danakj/chromium",
"id": "73cad4406f436de9e9049739e675f8a08dd1a911",
"size": "8056... |
using System.Collections.Generic;
using Microsoft.Extensions.FileProviders;
using Nancy.ModelBinding;
using Nancy.Responses.Negotiation;
using Nancy.Swagger.Demo.Models;
using Nancy.Swagger.Annotations.Attributes;
using Swagger.ObjectModel;
namespace Nancy.Swagger.Demo.Modules
{
public class HomeModule : NancyMod... | {
"content_hash": "2aef10a9d4ad2c79f33a93bf0b7179a8",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 108,
"avg_line_length": 33,
"alnum_prop": 0.5684113865932048,
"repo_name": "yahehe/Nancy.Swagger",
"id": "31baca243e26fd8a1b48937f40e5b79d5fc756ed",
"size": "2180",
"bina... |
namespace blink {
struct IndexedDBDatabaseMetadata;
struct IndexedDBIndexMetadata;
struct IndexedDBObjectStoreMetadata;
} // namespace blink
namespace content {
class TransactionalLevelDBDatabase;
class TransactionalLevelDBTransaction;
// A fake implementation of IndexedDBMetadataCoding, for testing.
class FakeIndex... | {
"content_hash": "fdb9ab8383384fec07d61c9b4de56c09",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 80,
"avg_line_length": 38.07142857142857,
"alnum_prop": 0.6553202894666309,
"repo_name": "nwjs/chromium.src",
"id": "6d61f9634b8ddacbfdec677767a9102b5b3f5a8a",
"size": "429... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_112-release) on Tue Nov 22 11:00:27 CET 2016 -->
<title>NetworkModule (lib API)</title>
<meta name="date" content="2016-11-22">
<link rel="styl... | {
"content_hash": "5dd001751e08b2af6e76fe6f95b3b9f6",
"timestamp": "",
"source": "github",
"line_count": 236,
"max_line_length": 196,
"avg_line_length": 30.258474576271187,
"alnum_prop": 0.6209214395742894,
"repo_name": "door2door-io/door2door-sdk-android",
"id": "a4fc4b1d2a8ff558772c68206a1669bc0664a... |
#ifndef cmSourceFileLocation_h
#define cmSourceFileLocation_h
#include "cmStandardIncludes.h"
class cmMakefile;
/** \class cmSourceFileLocation
* \brief cmSourceFileLocation tracks knowledge about a source file location
*
* Source files can be referenced by a variety of names. The
* directory and/or extension ... | {
"content_hash": "d38cbecb350da68422e8816a4d770f27",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 76,
"avg_line_length": 30.46067415730337,
"alnum_prop": 0.7203983769826632,
"repo_name": "Multi2Sim/m2s-bench-parsec-3.0-src",
"id": "9d17e58f09cda8c97f72dfcc4fd4dc5193992085... |
<!--
This file is part of the X12Parser library that provides tools to
manipulate X12 messages using Ruby native syntax.
http://x12parser.rubyforge.org
Copyright (C) 2009 APP Design, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU... | {
"content_hash": "eb1ea8b0353f1d8073cc7ead396085ed",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 81,
"avg_line_length": 39.6,
"alnum_prop": 0.6948051948051948,
"repo_name": "Wylan/x12",
"id": "38d72e96331bcabdeca8d1bdf7df38976094c9c5",
"size": "1386",
"binary": false... |
using System;
using System.Collections.Generic;
using System.Linq;
using SearchAcceleratorFramework.Collectors;
namespace SearchAcceleratorFramework
{
public class SearchProcessor : ISearchProcessor
{
private readonly Dictionary<Type, List<IResultCollector>> _collectorMap = new Dictionary<Type, List<IResultCo... | {
"content_hash": "8e4186800ba70510e21a91fc4c5b42cd",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 139,
"avg_line_length": 28.68695652173913,
"alnum_prop": 0.5959381630797211,
"repo_name": "halfbakedbits/SearchAcceleratorFramework",
"id": "f997b48eaf915c646164be8bcbd14583... |
import * as ts from 'typescript';
import {AbsoluteFsPath} from '../../../ngtsc/path';
import {Decorator} from '../../../ngtsc/reflection';
import {DecoratorHandler, DetectResult} from '../../../ngtsc/transform';
import {DecorationAnalyses, DecorationAnalyzer} from '../../src/analysis/decoration_analyzer';
import {Ngc... | {
"content_hash": "0a09cfa4144b9fdac23a4419f407e3aa",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 112,
"avg_line_length": 41.40350877192982,
"alnum_prop": 0.6588983050847458,
"repo_name": "hansl/angular",
"id": "5798fae8b955f2edb94baeef8431273f141c8a0b",
"size": "7282"... |
<Type Name="ApplicationOptions+OrientationType" FullName="Urho.ApplicationOptions+OrientationType">
<TypeSignature Language="C#" Value="public enum ApplicationOptions.OrientationType" />
<TypeSignature Language="ILAsm" Value=".class nested public auto ansi sealed ApplicationOptions/OrientationType extends System.En... | {
"content_hash": "8f9c252bfe3ebf6ec01e2a5546748a06",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 161,
"avg_line_length": 37.48571428571429,
"alnum_prop": 0.6692073170731707,
"repo_name": "florin-chelaru/urho",
"id": "c2cb26f357d6b1218eae44c7f9da33d678c1c6b1",
"size": "... |
package com.ilearnrw.api.selectnextword;
import ilearnrw.annotation.AnnotatedWord;
import ilearnrw.resource.ResourceLoader;
import ilearnrw.resource.ResourceLoader.Type;
import ilearnrw.textclassification.english.EnglishWord;
import ilearnrw.textclassification.greek.GreekWord;
import ilearnrw.user.problems.ProblemDefi... | {
"content_hash": "1abacfa3f7cd887a28d3067e9b030f42",
"timestamp": "",
"source": "github",
"line_count": 1010,
"max_line_length": 168,
"avg_line_length": 26.397029702970297,
"alnum_prop": 0.6939349611792506,
"repo_name": "mpakarlsson/ilearnrw-service",
"id": "29ae0e6566e0d026daf396722f48b3ec981ceefe",... |
class AddNewsVolunteerToPartners < ActiveRecord::Migration[5.0]
def change
add_column :partners, :news, :text
add_column :partners, :volunteer, :text
end
end
| {
"content_hash": "06707a2a9ce877c3c6626f54e5256841",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 63,
"avg_line_length": 28.333333333333332,
"alnum_prop": 0.7294117647058823,
"repo_name": "russellschmidt/climate-cents",
"id": "4c4c7360c902ea1133ad10459046e5d07e98ba90",
"... |
#ifndef __DEBUG_PORT_H__
#define __DEBUG_PORT_H__
///
/// DebugPortIo protocol {EBA4E8D2-3858-41EC-A281-2647BA9660D0}
///
#define EFI_DEBUGPORT_PROTOCOL_GUID \
{ \
0xEBA4E8D2, 0x3858, 0x41EC, {0xA2, 0x81, 0x26, 0x47, 0xBA, 0x96, 0x60, 0xD0 } \
}
extern EFI_GUID gEfiDebugPortProtocolGuid;
t... | {
"content_hash": "7e2be7698466385fe06d34b3eb6bc277",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 115,
"avg_line_length": 36.19083969465649,
"alnum_prop": 0.5391267665049567,
"repo_name": "jjingram/schminke",
"id": "2e09033b10859150e82a77f1beffad4b399d48aa",
"size": "5... |
//////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2016, Image Engine Design Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * R... | {
"content_hash": "afaa59a2f18c8bd4bc630b60d074fa32",
"timestamp": "",
"source": "github",
"line_count": 4169,
"max_line_length": 299,
"avg_line_length": 33.64379947229551,
"alnum_prop": 0.6850086624221986,
"repo_name": "ImageEngine/gaffer",
"id": "be77835eafee4fb7a4155131fe68ca63340e2f37",
"size": ... |
@class FBBezierContour;
// FBBezierGraph is more or less an exploded version of an NSBezierPath, and
// the two can be converted between easily. FBBezierGraph allows boolean
// operations to be performed by allowing the curves to be annotated with
// extra information such as where intersections happen.
@interface ... | {
"content_hash": "d9980cb085c92e3d7eafe78c627829c4",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 90,
"avg_line_length": 43.125,
"alnum_prop": 0.7971014492753623,
"repo_name": "adamwulf/vectorboolean",
"id": "95cd3cff1ff74c324b33d3e738984cec37fb9264",
"size": "1556",
... |
Node module for uploading and downloading javascript files to and from a DOCUMENTS server.
## Warning
The API of this will be changed. See [#11](https://github.com/otris/node-documents-scripting/issues/11)
| {
"content_hash": "0370ae7022966889165eb515fc0ebff3",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 103,
"avg_line_length": 41.6,
"alnum_prop": 0.7788461538461539,
"repo_name": "otris/node-documents-scripting",
"id": "377c953cc199a7f9fe8b7aa3f78daff42f82f958",
"size": "236... |
<?php
namespace Oro\Bundle\EntityExtendBundle\Migration;
use Doctrine\DBAL\Schema\Schema;
use Oro\Bundle\MigrationBundle\Migration\Migration;
use Oro\Bundle\MigrationBundle\Migration\QueryBag;
use Oro\Bundle\EntityExtendBundle\Migration\Schema\ExtendSchema;
use Oro\Bundle\EntityConfigBundle\Tools\CommandExecutor;
cl... | {
"content_hash": "bab74967353d761e7281f65cfe84f935",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 94,
"avg_line_length": 28.056603773584907,
"alnum_prop": 0.6200403496973773,
"repo_name": "morontt/platform",
"id": "de482f7f56432aa0fceb427eb9194169deb02058",
"size": "148... |
package org.gradle.api.internal.tasks.compile.daemon;
import org.gradle.language.base.internal.compile.CompileSpec;
import org.gradle.language.base.internal.compile.Compiler;
import org.gradle.internal.concurrent.Stoppable;
import org.gradle.internal.UncheckedException;
import org.gradle.process.internal.WorkerProces... | {
"content_hash": "1faebcf52e96267671ab52bce1f81951",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 130,
"avg_line_length": 37.29090909090909,
"alnum_prop": 0.7303754266211604,
"repo_name": "HenryHarper/Acquire-Reboot",
"id": "4731b0b3f57a17e545b8d32aa89f2a2b29cbcb57",
"s... |
using UnityEngine;
using System.Collections;
public class StartSceneUIManager : MonoBehaviour {
public TextMesh curADFId;
public TextMesh curADFName;
// Update is called once per frame
void Update () {
curADFId.text = Statics.curADFId;
curADFName.text = Statics.curADFName;
}
}
| {
"content_hash": "6c4d639798a4788be1c29711ac87fa60",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 50,
"avg_line_length": 22.714285714285715,
"alnum_prop": 0.6949685534591195,
"repo_name": "wschorn/tango-examples-unity",
"id": "8083cf03a76d4b511157a9e579de06a975629d42",
... |
#include "Gun.h"
#include "GameSettings.h"
#include "Snake.h"
#include "BoardManager.h"
Gun::Gun(BoardManager* the_board): ammo(GUN_AMMO_INITIAL), theBoard(the_board)
{
bullets.clear();
}
Gun::~Gun()
{
}
void Gun::shoot(const Point& pt, int direction)
{
/*
* Creating new bullet if there any ammo left.
*/
if ... | {
"content_hash": "934addfbefa43857b0ee712ca60e9238",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 78,
"avg_line_length": 15.714285714285714,
"alnum_prop": 0.636969696969697,
"repo_name": "yuri1992/cpp_project",
"id": "158604777a380147e7097f84290e0edf63f1f7e7",
"size": ... |
package cz.ivoa.vocloud.view;
import cz.ivoa.vocloud.ejb.UWSTypeFacade;
import cz.ivoa.vocloud.ejb.UserSessionBean;
import cz.ivoa.vocloud.entity.UWSType;
import cz.ivoa.vocloud.entity.UserAccount;
import cz.ivoa.vocloud.entity.UserGroupName;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
impo... | {
"content_hash": "e9f8ae3b72d96c724ac5d83c12a6d4dc",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 214,
"avg_line_length": 38.10679611650485,
"alnum_prop": 0.6764331210191082,
"repo_name": "vodev/vocloud",
"id": "9e176a8c2ed0c6b002098737f36d19fe709df8b7",
"size": "3925"... |
<!--- 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 ... | {
"content_hash": "102fc77c4d2df4e0c4c9f56381385868",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 136,
"avg_line_length": 33.98461538461538,
"alnum_prop": 0.7188773200543233,
"repo_name": "mlperf/training_results_v0.7",
"id": "2ef2f47c79831296d5b882e133b5824215ee878e",
... |
which git &>/dev/null || return
# Shortcut for listing one-line summary of all commits.
alias gl='git log --oneline --decorate'
| {
"content_hash": "c345efd7c959dad664d3ca256bd84144",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 55,
"avg_line_length": 32.25,
"alnum_prop": 0.7209302325581395,
"repo_name": "princebot/dotfiles",
"id": "7329ec5fbb57bd9cf199b78f42fee17122cbbca6",
"size": "481",
"binary... |
<?php
namespace OPNsense\Nginx\Api;
use OPNsense\Base\ApiControllerBase;
use OPNsense\Core\Backend;
use OPNsense\Nginx\Nginx;
class LogsController extends ApiControllerBase
{
private $nginx;
public function accessesAction($uuid = null)
{
$this->nginx = new Nginx();
if (!isset($uuid)) {
... | {
"content_hash": "e2378555839c45703aaa7bfaa6963c13",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 112,
"avg_line_length": 31.325,
"alnum_prop": 0.5605214152700186,
"repo_name": "fabianfrz/plugins",
"id": "75bba032cc3734fef117ac3a145fb994d5bcde33",
"size": "5074",
"bi... |
<?php
/**
* User: Kevin Blenner
* Date: 27/03/2015
*/
namespace Kid\KidBundle\Validateur;
use Kid\KidBundle\Entity\Participant;
use Symfony\Component\Translation\TranslatorInterface;
/**
* Class ParticipantValidateur
* @package Kid\KidBundle\Validateur
*/
class ParticipantValidateur extends Validateur{
p... | {
"content_hash": "f99e272fbbde8ad2c10684610b649c21",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 140,
"avg_line_length": 30.163265306122447,
"alnum_prop": 0.6644113667117727,
"repo_name": "SwagOverflow/kidoikoiaki",
"id": "7d49367b9095625bf6fe79f1a2a657a8b873cf23",
"si... |
The TwoBasedIndexing.jl package is licensed under the MIT "Expat" License:
> Copyright (c) 2015: Simon Kornblith.
>
> 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, inclu... | {
"content_hash": "79241c7fa683543a71009cda13488e1b",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 74,
"avg_line_length": 53.36363636363637,
"alnum_prop": 0.7793867120954003,
"repo_name": "simonster/TwoBasedIndexing.jl",
"id": "691dfdf6580782eca8a751db022633ab2df48ef9",
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using CodeGeneration.Roslyn;
using LanguageExt.CodeGen;
namespace LanguageExt
{
/// <summary>
/// Union attribute
/// </summary>
[AttributeUsage(AttributeTargets.Struct | AttributeTargets.Class, Inherited = fa... | {
"content_hash": "de67141bce15cf6e7cd3a1e75b43dbfb",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 112,
"avg_line_length": 26.263157894736842,
"alnum_prop": 0.7334669338677354,
"repo_name": "StefanBertels/language-ext",
"id": "6f5b6f4dff564d8982ce39f1ac16b2db63908eab",
"... |
using MindTouch.Xml;
using NUnit.Framework;
namespace MindTouch.Dream.Test {
[TestFixture]
public class JsonUtilTests {
[Test]
public void Can_convert_doc_to_json() {
var doc = new XDoc("x").Elem("foo", "bar");
Assert.AreEqual("{\"foo\":\"bar\"}",doc.ToJs... | {
"content_hash": "b3f1197cde9f8cd48aa3cdd8326a0b43",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 70,
"avg_line_length": 31.4,
"alnum_prop": 0.4754322111010009,
"repo_name": "PeteE/DReAM",
"id": "8877f2bd62da2253bb91fdc727ba6a1f2817e0a9",
"size": "3028",
"binary": fal... |
<?php
namespace JX\Twypo;
class TwigContentObjectRender {
const CONTENT_OBJECT_NAME = 'TWIG_CONTENT';
private $cObj = null;
public function cObjGetSingleExt( $name, $conf, $TSkey, $parent ) {
global $TSFE, $TWYPO;
$this->cObj = $parent;
// Get current page info
$pageData = $TSFE->page;
$page = arra... | {
"content_hash": "681bbe5216ae2d70733f65440c9a9372",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 119,
"avg_line_length": 27.107843137254903,
"alnum_prop": 0.6010849909584087,
"repo_name": "julianxhokaxhiu/twypo",
"id": "6d33ca79a91740ce827027d7581baa60d86ef2d3",
"size... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center">
<ImageView
... | {
"content_hash": "759fdf3b440e4a5fc16af46eee609835",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 72,
"avg_line_length": 35,
"alnum_prop": 0.5893557422969188,
"repo_name": "nikoblag/potato",
"id": "55d8f44b9da09a6a58572e0200c0b0629a633b5a",
"size": "1785",
"binary": f... |
SPEC_BEGIN(HNKGooglePlacesAutocompleteQueryConfigSpec)
describe(@"HNKGooglePlacesAutocompleteQueryConfig", ^{
describe(@"configWithConfig", ^{
__block HNKGooglePlacesAutocompleteQueryConfig *testInstance;
beforeEach(^{
HNKGooglePlacesAutocompleteQueryConf... | {
"content_hash": "d036a2f15194eca3bf62fe90a8e9e304",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 123,
"avg_line_length": 46.34355828220859,
"alnum_prop": 0.44519459888800633,
"repo_name": "anandmahajan/HNKGooglePlacesAutocomplete",
"id": "e8f4e3855cb632eb007a25a8536b83c... |
<dc:title>KPMG LLP v. COCCHI</dc:title>
<dc:language>en-US</dc:language>
<dc:creator opf:file-as="NYPL" opf:role="aut">NYPL</dc:creator>
<dc:publisher>NYPL</dc:publisher>
<dc:date opf:event="publication">2015-01-15</dc:date>
<dc:rights>Copyright ©2015 by Cornell Law and NYPL</dc:rights> | {
"content_hash": "d99c9ac3fe8809bdc8b18a9edda4f33a",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 63,
"avg_line_length": 47.833333333333336,
"alnum_prop": 0.7317073170731707,
"repo_name": "riordan/judiciary_ebooks",
"id": "a164e693bf3ce28ccc8013231fa8da096485056a",
"size... |
import {
report,
ruleMessages,
styleSearch,
validateOptions,
} from "../../utils"
export const ruleName = "color-hex-case"
export const messages = ruleMessages(ruleName, {
expected: (actual, expected) => `Expected "${actual}" to be "${expected}"`,
})
export default function (expectation) {
return (root, ... | {
"content_hash": "96c990ffa253728493aa051865ee72db",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 83,
"avg_line_length": 25.79591836734694,
"alnum_prop": 0.5925632911392406,
"repo_name": "evilebottnawi/stylelint",
"id": "1c920bad005faff3bf11e06e4631bfa0f6cbcbef",
"size"... |
<?php
/*
Safe sample
input : use exec to execute the script /tmp/tainted.php and store the output in $tainted
sanitize : use of the function htmlentities. Sanitizes the query but has a high chance to produce unexpected results
construction : interpretation with simple quote
*/
/*Copyright 2015 Bertrand STIVALET
P... | {
"content_hash": "e198944e05d975eac777b09f1dff8d6f",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 123,
"avg_line_length": 25.757575757575758,
"alnum_prop": 0.7458823529411764,
"repo_name": "stivalet/PHP-Vulnerability-test-suite",
"id": "5d7003617f3d37fc4f5747f9d492640bdc8... |
// ----- this file has been automatically generated - do not edit
/**
* | | |
* |-----------|--------------------------------------------------|
* | namespace |http://opcfoundation.org/UA/CommercialKitchenEquipment/|
* | nodeClass |DataType ... | {
"content_hash": "d863e07d7ca7243e6edc6faa0f4d73db",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 72,
"avg_line_length": 32.45454545454545,
"alnum_prop": 0.4411764705882353,
"repo_name": "node-opcua/node-opcua",
"id": "39ef4fb50119aeaaf62fe3166c3e3650667fe15c",
"size": ... |
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>intermol.forces.three_fad_virtual_type — In... | {
"content_hash": "7420aad6cb5f2486073c01a407ea9152",
"timestamp": "",
"source": "github",
"line_count": 227,
"max_line_length": 800,
"avg_line_length": 60.13215859030837,
"alnum_prop": 0.6176556776556776,
"repo_name": "shirtsgroup/InterMol",
"id": "afbd3013fd9bc0a47efe3c91df24749db47eb31d",
"size":... |
package org.elasticsearch.index.engine;
import org.apache.logging.log4j.Logger;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.codecs.Codec;
import org.apache.lucene.document.Document;
import org.apache.lucene.document.Field;
import org.apache.lucene.document.NumericDocValuesField;
import org.a... | {
"content_hash": "5b4609c7941e60f2a198714ce3e20354",
"timestamp": "",
"source": "github",
"line_count": 1340,
"max_line_length": 140,
"avg_line_length": 50.25223880597015,
"alnum_prop": 0.6468561584840654,
"repo_name": "nknize/elasticsearch",
"id": "0b677c0d5d26f121849c3e8687d0914b2cc0c5bb",
"size"... |
package org.jfree.data.xy;
import org.jfree.data.ComparableObjectItem;
import org.jfree.data.ComparableObjectSeries;
import org.jfree.data.general.SeriesChangeEvent;
/**
* A list of (x,y, deltaX, deltaY) data items.
*
* @since 1.0.6
*
* @see VectorSeriesCollection
*/
public class VectorSeries extends Comparab... | {
"content_hash": "b663db004fd7f913692c3eb30f66147c",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 76,
"avg_line_length": 27.405594405594407,
"alnum_prop": 0.6050012758356723,
"repo_name": "SESoS/SIMSoS",
"id": "32ade5dcb5e7f252d1a155146086f9f779f5906d",
"size": "5797",... |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2022] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | {
"content_hash": "5adb2ba2d493168b6b8f558ce250d1cf",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 100,
"avg_line_length": 32.75,
"alnum_prop": 0.6033587786259542,
"repo_name": "Ensembl/ensembl-webcode",
"id": "9d11e5dbf53eca0a7e0fc47e0ef4ca2b582fd62e",
"size": "3275",
... |
package org.basex.query.func.fn;
import static org.basex.util.Token.*;
import org.basex.query.*;
import org.basex.query.func.*;
import org.basex.query.value.item.*;
import org.basex.util.*;
/**
* Function implementation.
*
* @author BaseX Team 2005-15, BSD License
* @author Christian Gruen
*/
public final class... | {
"content_hash": "a28fb4e4562c76b0529315371636d33d",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 87,
"avg_line_length": 29,
"alnum_prop": 0.7068965517241379,
"repo_name": "deshmnnit04/basex",
"id": "8bfc9bbbcf276693f033b05406addbd3689d3a49",
"size": "638",
"binary": ... |
package network;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.Socket;
import java.net.SocketException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
imp... | {
"content_hash": "3c51a033b9e972c76a2674a20d48ace2",
"timestamp": "",
"source": "github",
"line_count": 360,
"max_line_length": 133,
"avg_line_length": 37.94722222222222,
"alnum_prop": 0.653100065880975,
"repo_name": "matthieu637/cpp-2a-info",
"id": "e00466e412cc8dc1466f6359ba84cdb9ea254628",
"size... |
package validators
import (
"reflect"
"strings"
"github.com/go-playground/locales/en"
ut "github.com/go-playground/universal-translator"
validator "gopkg.in/go-playground/validator.v9"
en_translations "gopkg.in/go-playground/validator.v9/translations/en"
)
var (
DefaultValidator *validator.Validate
DefaultT... | {
"content_hash": "b457f0172de58981dbd5e48fffa4f2bc",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 81,
"avg_line_length": 23.545454545454547,
"alnum_prop": 0.7438867438867439,
"repo_name": "sy264115809/goblin",
"id": "322733f79b63325a8ad360b0a9f0aca8c9f018f7",
"size": "7... |
<?php
namespace Krautoload;
interface InjectedAPI_ClassFileVisitor_Interface {
/**
* Set the namespace, before searching for class files in this namespace.
*
* @param string $namespace
* Namespace without preceding separator, but with trailing separator.
* E.g. 'MyVendor\\' or 'MyVendor\\MyPacka... | {
"content_hash": "41600b2063700bec07752e6008144c4c",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 78,
"avg_line_length": 32.25,
"alnum_prop": 0.6773255813953488,
"repo_name": "donquixote/krautoload",
"id": "6b3ad13a7451af4eed7fbb2a5cdf6995a15705c3",
"size": "2064",
"b... |
package com.lius.sudo.dialog;
import android.content.Context;
import android.support.annotation.NonNull;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import com.lius.sudo.R;
/**
* Created by UsielLa... | {
"content_hash": "0e219e373d2b55a4437aede021d5f23d",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 86,
"avg_line_length": 26.31958762886598,
"alnum_prop": 0.6764590677634156,
"repo_name": "benxhinGH/Sudo",
"id": "d23e5879cf8d7fd7d097f66289f38ba750413b8b",
"size": "2553",... |
function newValue = rtbApplyPropertyOperation(property, oldValue)
%% Apply a mappings property operator to an old value, to make a new value.
%
% newValue = rtbApplyPropertyOperation(property, oldValue) computes a new
% property value based on the given mappings property.value and an old
% value for that property. The... | {
"content_hash": "342f7407c8c3906aae4c78a0143bd9a9",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 84,
"avg_line_length": 34.888888888888886,
"alnum_prop": 0.7653927813163482,
"repo_name": "RenderToolbox/RenderToolbox4",
"id": "617406b33eec2836e31ec0a3f33f60a14d277a38",
... |
#region Copyright
//
// DotNetNuke® - https://www.dnnsoftware.com
// Copyright (c) 2002-2018
// by DotNetNuke Corporation
//
// 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 restri... | {
"content_hash": "961f2a7dcb3182eb2f4f7a63031afd09",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 134,
"avg_line_length": 40.63529411764706,
"alnum_prop": 0.6522872032426172,
"repo_name": "robsiera/Dnn.Platform",
"id": "57ef44d49b69b1a2762a8a86b66d81f0550b8973",
"size"... |
from __future__ import print_function
import sys
import argparse
import maskgen.scenario_model
from maskgen.graph_rules import processProjectProperties
from maskgen.batch import pick_projects, BatchProcessor
from maskgen.userinfo import get_username, setPwdX,CustomPwdX
from maskgen.validation.core import hasErrorMess... | {
"content_hash": "b9662aa380a31bf4d4585bfe6cb139cc",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 127,
"avg_line_length": 46.30337078651685,
"alnum_prop": 0.6918223732103859,
"repo_name": "rwgdrummer/maskgen",
"id": "c0ae73732af2457a6d7a8a8c62c62ec8e9d4f3bb",
"size": "4... |
'use strict'; //eslint-disable-line strict
// Inspired from the babel gulpfile: https://github.com/babel/babel/blob/685006433b0231dbf4b9d306e43c46ed7bcdacad/Gulpfile.js
const path = require('path');
const babel = require('gulp-babel');
const gulp = require('gulp');
const newer = require('gulp-newer');
const through ... | {
"content_hash": "d0e3198b3dd2c8af337fb35a8958cedd",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 125,
"avg_line_length": 32.707692307692305,
"alnum_prop": 0.5870178739416745,
"repo_name": "neptunejs/larissa",
"id": "0d666d899c776f758edadb3ec6add62d038d89f8",
"size": "2... |
/*****************************************************************************
process_data.hpp
process data functions declaration
Author: F. Herrera
Institution: KTH
Deparment: Electronic Systems
Date: 2014 January
*****************************************************************************/
... | {
"content_hash": "165af884a6fd2d790d3f627a465fd407",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 79,
"avg_line_length": 22.894736842105264,
"alnum_prop": 0.45057471264367815,
"repo_name": "nandohca/kista",
"id": "c4da92784bdcc831a4b17c415d2d92ef9e4d1488",
"size": "435"... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "a5a9273f0afc498ef147fec6e8f2ff46",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "df93935024585427879d83c3c7c5d102dd4c673a",
"size": "176... |
require 'test_helper'
module SessionTest
module BruteForceProtectionTest
class ConfigTest < ActiveSupport::TestCase
def test_consecutive_failed_logins_limit
UserSession.consecutive_failed_logins_limit = 10
assert_equal 10, UserSession.consecutive_failed_logins_limit
UserSession.con... | {
"content_hash": "ba009a031489df39697626c502148a60",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 132,
"avg_line_length": 37.077669902912625,
"alnum_prop": 0.6496465043205027,
"repo_name": "janusnic/authlogic",
"id": "f625250900980c8cd59d80e2456787dc878638d0",
"size": ... |
#include <wdt/util/CommonImpl.h>
namespace facebook {
namespace wdt {
Buffer::Buffer(const int64_t size) {
WDT_CHECK_EQ(0, size % kDiskBlockSize);
isAligned_ = false;
size_ = 0;
#ifdef HAS_POSIX_MEMALIGN
// always allocate aligned buffer if possible
int ret = posix_memalign((void**)&data_, kDiskBlockSize, ... | {
"content_hash": "cea1af84473f5488d899ab3fc922e5d4",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 75,
"avg_line_length": 21.35164835164835,
"alnum_prop": 0.6598044261451363,
"repo_name": "ldemailly/wdt",
"id": "5346a79f024dad823d07e7e1aa2ad1e2a32d22c5",
"size": "2251",
... |
/**
* WikimediaUI Base v0.11.0
* Wikimedia Foundation user interface base variables
*/
.oo-ui-window {
background: transparent;
}
.oo-ui-window-frame {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.oo-ui-window-content {
position: absolute;
top: 0;
left: 0;
... | {
"content_hash": "01ffd795dece43ecd76e86c12ef7dba3",
"timestamp": "",
"source": "github",
"line_count": 386,
"max_line_length": 161,
"avg_line_length": 33.818652849740936,
"alnum_prop": 0.7385475716255554,
"repo_name": "joeyparrish/cdnjs",
"id": "8d12c165e78d5c31c812c8b630fee61d42576234",
"size": "... |
<?php
namespace DTS\eBaySDK\Trading\Types;
/**
*
* @property string $TimeZoneID
* @property string $StandardLabel
* @property string $StandardOffset
* @property string $DaylightSavingsLabel
* @property string $DaylightSavingsOffset
* @property boolean $DaylightSavingsInEffect
* @property string $DetailVersio... | {
"content_hash": "f88652086eec5c2d9e689d3ddf120644",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 116,
"avg_line_length": 30.630434782608695,
"alnum_prop": 0.5305180979418027,
"repo_name": "emullaraj/ebay-sdk-php",
"id": "30720db80d927c6edd6b625bfa85d0e4ab205757",
"size... |
'use strict';
const redis = require('redis'),
Cacheman = require('cacheman-redis');
const client = redis.createClient({
url: process.env.REDIS_URL || process.env.REDISCLOUD_URL,
no_ready_check: true
});
client.on('error', err => console.error(err) );
client.cache = new Cacheman(client);
module.exports = client; | {
"content_hash": "66f69658c0fb03e39102635aabb3990d",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 58,
"avg_line_length": 22.857142857142858,
"alnum_prop": 0.703125,
"repo_name": "lucasmonteverde/youtube-box",
"id": "570c59f77c5dd66315a081c3c6a04da25e7cb838",
"size": "32... |
<?php
header('Transfer-Encoding: chunked');
echo "e\r\n";
echo "This is a test\r\n";
| {
"content_hash": "eb12c8c982b385b2b3d36aca52a77e7b",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 37,
"avg_line_length": 12.571428571428571,
"alnum_prop": 0.6363636363636364,
"repo_name": "econosys-system/flatmemo",
"id": "d5af4f8b2bd9baf8b4a55ec0663fb448fd98f62d",
"size... |
require 'ffi'
module LibNova
module Data
class HypOrbit < FFI::Struct
# Hyperbolic Orbital elements
# Maps to struct ln_hyp_orbit
# http://libnova.sourceforge.net/structln__hyp__orbit.html
layout :q, :double, # Perihelion distance (AU)
:e, :double, # Eccentricity
... | {
"content_hash": "96941e81d1ecccd5393deeb37406185f",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 79,
"avg_line_length": 30.3,
"alnum_prop": 0.5858085808580858,
"repo_name": "hosh/libnova-ffi",
"id": "5498ee3bdbd3214322726b2272d864667e27d56d",
"size": "606",
"binary":... |
<?php
namespace CodeIgniter\Cookie;
use CodeIgniter\Cookie\Exceptions\CookieException;
use CodeIgniter\Test\CIUnitTestCase;
use Config\Cookie as CookieConfig;
use DateTimeImmutable;
use DateTimeZone;
use InvalidArgumentException;
use LogicException;
/**
* @internal
*/
final class CookieTest extends CIUnitTestCas... | {
"content_hash": "76559c3aaea669febc15d72ae076249e",
"timestamp": "",
"source": "github",
"line_count": 287,
"max_line_length": 137,
"avg_line_length": 34.20209059233449,
"alnum_prop": 0.57059902200489,
"repo_name": "bcit-ci/CodeIgniter4",
"id": "34d9d59955e60b1753d619678ff72b9b7dc43031",
"size": "... |
package com.sun.jini.test.spec.jeri.basicjeritrustverifier.util;
/**
* Implementation class for test remote services
*/
public class TestServiceImpl implements TestService {
private final static String returnVal = "I did something";
public Object doSomething() {
return returnVal;
}
}
| {
"content_hash": "2b76013e31183cbcbdf126f820c478b8",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 64,
"avg_line_length": 20.8,
"alnum_prop": 0.7243589743589743,
"repo_name": "cdegroot/river",
"id": "a06c06ef3fb6f86187f93d61718f6978ab32c33a",
"size": "1118",
"binary": ... |
// Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#include "CNullDriver.h"
#include "os.h"
#include "CImage.h"
#include "CAttributes.h"
#include "IReadFile.h"
#include "IWriteFile.h"
#include "IImage... | {
"content_hash": "4a3d18755bdbfb9441a016b75e669058",
"timestamp": "",
"source": "github",
"line_count": 2448,
"max_line_length": 197,
"avg_line_length": 27.27532679738562,
"alnum_prop": 0.7233787629174779,
"repo_name": "PauT/Surface3d",
"id": "15f32f96b4a5eb418323673bc56cf8b7b81f6f3f",
"size": "667... |
import unittest
from pypika import (
Case,
Field,
Table,
functions as fn,
)
from pypika.terms import (
Negative,
ValueWrapper,
)
class IsAggregateTests(unittest.TestCase):
def test__field_is_not_aggregate(self):
v = Field("foo")
self.assertFalse(v.is_aggregate)
def te... | {
"content_hash": "51c219f13fed0502b16eaa79151ee166",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 119,
"avg_line_length": 32.34426229508197,
"alnum_prop": 0.5884439939178915,
"repo_name": "kayak/pypika",
"id": "1c627d8e9c2d65410c67cf2c39974949b0720a0e",
"size": "3946",... |
import 'core-js/es6/symbol';
import 'core-js/es6/object';
import 'core-js/es6/function';
import 'core-js/es6/parse-int';
import 'core-js/es6/parse-float';
import 'core-js/es6/number';
import 'core-js/es6/math';
import 'core-js/es6/string';
import 'core-js/es6/date';
import 'core-js/es6/array';
import 'core-js/es6/regex... | {
"content_hash": "92aff9ceccee714b2e4e04ec65735718",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 33,
"avg_line_length": 27.294117647058822,
"alnum_prop": 0.7198275862068966,
"repo_name": "kunl/ng2-blog",
"id": "c9bdebe9da07cfd98a298748fa0849571e618856",
"size": "516",
... |
#ifndef _NT_ATOMIC_OSX_H_
#define _NT_ATOMIC_OSX_H_
#include <libkern/OSAtomic.h>
/* ---- ptr ---- */
// void *nt_atomic_compare_and_swapptr(void * volatile *ptr, void *oldval, void *newval)
#define nt_atomic_compare_and_swapptr(ptr, oldval, newval) \
(OSAtomicCompareAndSwapPtrBarrier(oldval, newval, ptr) ? (oldv... | {
"content_hash": "58ad6a8e1631af37fa696bc18c60afce",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 88,
"avg_line_length": 30.475409836065573,
"alnum_prop": 0.708445400753093,
"repo_name": "rsms/libnt",
"id": "511a9da8d6528d0fdf799257e62611a3bd3313d0",
"size": "3033",
"... |
module Thredded
module IconHelper
def shared_inline_svg(filename, **args)
svg = content_tag :svg, **args do
content_tag :use, '', 'xlink:href' => "##{thredded_icon_id(filename)}"
end
if (definition = define_svg_icons(filename))
definition + svg
else
svg
end
... | {
"content_hash": "c71bcf423862f67dd677ccd830c52543",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 99,
"avg_line_length": 30.325581395348838,
"alnum_prop": 0.6273006134969326,
"repo_name": "thredded/thredded",
"id": "1e690bbfa30c613bbb42067b8ac723acf9632c40",
"size": "13... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>demos: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... | {
"content_hash": "767c46b1d78bd72c5444647645d3f3f4",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 206,
"avg_line_length": 43.48235294117647,
"alnum_prop": 0.5550595238095238,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "26581d8d820c676d2bf665002fe18efac79be0a7",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.