text stringlengths 2 1.04M | meta dict |
|---|---|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_151) on Tue Nov 05 16:02:18 MST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.wildfly.s... | {
"content_hash": "672e0e2af5e1735c4742344d50b412ab",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 235,
"avg_line_length": 43.5390625,
"alnum_prop": 0.6204916561995335,
"repo_name": "wildfly-swarm/wildfly-swarm-javadocs",
"id": "2805a41679250226ed8eb3628dd9ef8fa9c5af79",
... |
package handler
import (
"bytes"
"net/http/httptest"
"testing"
. "github.com/smartystreets/goconvey/convey"
"github.com/skygeario/skygear-server/pkg/core/cloudstorage"
. "github.com/skygeario/skygear-server/pkg/core/skytest"
"github.com/skygeario/skygear-server/pkg/core/validation"
)
func TestPresignUploadHa... | {
"content_hash": "cbf0befb07c33b55b5d714fa8f3dbd28",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 158,
"avg_line_length": 27.763358778625953,
"alnum_prop": 0.6021446246906791,
"repo_name": "SkygearIO/skygear-server",
"id": "fe5368f1929e5bc1aeb1bfb480210d2ba32cc4c1",
"s... |
TODO: Write a gem description
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'gatherr-omniauth'
```
And then execute:
$ bundle
Or install it yourself as:
$ gem install gatherr-omniauth
## Usage
TODO: Write usage instructions here
## Contributing
1. Fork it ( https://github.c... | {
"content_hash": "7807f7124f843bfa378bba8439906928",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 76,
"avg_line_length": 20,
"alnum_prop": 0.7189655172413794,
"repo_name": "garymardell/gatherr_omniauth",
"id": "49f357c3e79c5ecf83ae01a23a30a2bbe9adbd3f",
"size": "601",
... |
namespace LuaPlus
{
namespace LuaHelper {
LUAPLUS_API void MergeObjects(LuaObject& mergeTo, LuaObject& mergeFrom, bool replaceDuplicates);
}
}
#endif // LUAHELPER_H
| {
"content_hash": "680d37b9e84af229669809e741919eff",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 98,
"avg_line_length": 21.25,
"alnum_prop": 0.7647058823529411,
"repo_name": "vit3k/entity_system",
"id": "5738113d24fc0cd0e382e191b10480ac759d3182",
"size": "747",
"binar... |
import os
import sys
sys.path.insert(0, os.path.join('..', 'src'))
| {
"content_hash": "26bf0b094e7b6a922a1ecddb06914bd4",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 45,
"avg_line_length": 17,
"alnum_prop": 0.6470588235294118,
"repo_name": "davetcoleman/catkin_pkg",
"id": "4a31225b8fbd8224d76b6950ce3b9de2f4e3d3fa",
"size": "68",
"binar... |
<?php $mensajes = Yii::app()->user->getFlashes(); ?>
<?php if ($mensajes): ?>
<?php foreach ($mensajes as $idx => $mensaje): ?>
<div class="alert alert-<?php echo $idx ?> alert-dismissable">
<button type="button" class="close" data-dismiss="alert">×</button>
<?php echo $me... | {
"content_hash": "4daa2966b9cce19f7db5d89b42238cb4",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 267,
"avg_line_length": 57.48717948717949,
"alnum_prop": 0.49866190900981266,
"repo_name": "msanchex/testmasm",
"id": "ba7302e25326f5e3bee41cfd6b0458fc95ecff01",
"size": "2... |
( function() {
// This function is to be called under a "walker" instance scope.
function iterate( rtl, breakOnFalse ) {
var range = this.range;
// Return null if we have reached the end.
if ( this._.end )
return null;
// This is the first call. Initialize it.
if ( !this._.start ) {
this._.start =... | {
"content_hash": "d6fb10aadfaf0602072f1ad1aa5e7aeb",
"timestamp": "",
"source": "github",
"line_count": 623,
"max_line_length": 193,
"avg_line_length": 30.75601926163724,
"alnum_prop": 0.6389019362246229,
"repo_name": "labidimehrez/symfony",
"id": "20a7ac42ad1fbc912b091ccea2d663ce319e0d7a",
"size":... |
package org.onosproject.cpman.impl;
import org.junit.Before;
import org.junit.Test;
import org.onosproject.cpman.MetricsDatabase;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import static org.hamcrest.Matchers.is;
import static org.junit.Assert.assertThat;
/**
* Unit test... | {
"content_hash": "c55dde2f8d71a34b1505f0ba1a5c63ad",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 88,
"avg_line_length": 31.452173913043477,
"alnum_prop": 0.6358860934476085,
"repo_name": "sonu283304/onos",
"id": "713c7d8e5bb1c2dbe9805d64d6aea8d2e6ce0f53",
"size": "422... |
<!--build:js build/SPServices.min.js -->
<script src="src/utils/constants.js"></script>
<script src="./core/SPServices.utils.js"></script>
<script src="./core/SPServices.core.js"></script>
<script src="./core/Version.js"></script>
<script src="./utils/SPConvertDateToISO.js"></script>
<script src="./utils/SPDebugXMLHttp... | {
"content_hash": "98dd67edf54d154a56f070c633eab0d3",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 66,
"avg_line_length": 53.357142857142854,
"alnum_prop": 0.7322623828647925,
"repo_name": "sympmarc/SPServices",
"id": "f32a98b3332ea4fdbd0d238b25b89d1bcecfd108",
"size": "... |
'use strict';
const assert = require('assertthat');
const getMember = require('../../lib/consul/getMember');
suite('consul.getMember', () => {
test('is a function.', async () => {
assert.that(getMember).is.ofType('function');
});
test('throws error if agent is not initialized', async () => {
await ass... | {
"content_hash": "0b00b2f354b71838ca244d048043e8ce",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 67,
"avg_line_length": 21.8,
"alnum_prop": 0.4938837920489297,
"repo_name": "sealsystems/seal-consul",
"id": "82e95732efd84570adeec31b6f78516c6315b34d",
"size": "1308",
"... |
import imageUtils from '../../utils/images';
export const SELECT_ICON = "SELECT_ICON";
export const SAVING_INFO = "SAVING_INFO";
export function selectIcon(icon) {
return {
type: SELECT_ICON,
payload: icon != null ? icon : imageUtils.getDefault(),
};
}
export function savingInfo(status) {
... | {
"content_hash": "41e6b4b10abc6f82adf64fae86000848",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 63,
"avg_line_length": 21.666666666666668,
"alnum_prop": 0.6230769230769231,
"repo_name": "JoaoCnh/picto-pc",
"id": "f7aef4f0baf4f8d62a568f04ddbc2973c245dfcb",
"size": "399... |
namespace Ignition.Foundation.Core.Factories
{
public sealed class MasterDatabaseType : IDatabaseType
{
public string GetDatabaseName()
{
return "master";
}
}
}
| {
"content_hash": "dd808c9b98e4cda60b40ec482c230644",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 55,
"avg_line_length": 17.4,
"alnum_prop": 0.7298850574712644,
"repo_name": "sitecoreignition/Ignition.Foundation",
"id": "cd84314b4c4c2726a032e7fe9edadde965d9c7e0",
"size"... |
var expect = require('chai').expect;
var jsonData = require('./fixture/flat');
var MemFS = require('../lib/memory-fs');
var memfs = new MemFS(jsonData);
describe('Memory-FS getattr tests', function() {
it('should getattr of /', function( done) {
memfs.getattr('/', function(err, dir) {
expect(err).to.be.... | {
"content_hash": "b48b21d23c3cfacf771a763c9a611b5b",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 58,
"avg_line_length": 26.78846153846154,
"alnum_prop": 0.5786073223259153,
"repo_name": "b37t1td/virtualfs-template",
"id": "f1685e918e45b8e233a1935cd278292b127d2cdf",
"si... |
Wallfetch is a simple python script that downloads wallpapers.
---
Requires python3-requests library.
usage: wallfetch.py [-s] [keyword]
optional arguments:
-s, --sfw show only safe for work wallpapers
| {
"content_hash": "7f2183d441f9ec2f0c95add8f84cc675",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 62,
"avg_line_length": 21,
"alnum_prop": 0.7476190476190476,
"repo_name": "Stocarson/wallfetch",
"id": "3948353e5c9299689cf473546932a84402e6112d",
"size": "223",
"binary"... |
<?php
namespace Magento\Catalog\Test\Unit\Controller\Adminhtml\Category;
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager as ObjectManagerHelper;
class DeleteTest extends \PHPUnit_Framework_TestCase
{
/** @var \Magento\Catalog\Controller\Adminhtml\Category\Delete */
protected $unit;
/** @v... | {
"content_hash": "f34b505f5d6466263199df14de5fc38c",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 115,
"avg_line_length": 37.792857142857144,
"alnum_prop": 0.5656775656775657,
"repo_name": "enettolima/magento-training",
"id": "90508bd2962db2f0c767f415db9d865971d7aba4",
... |
<Alloy>
<Window id="window" class="container">
<Module id="mapview" module="ti.map" method="createView" onClick="setLocation">
<Annotation id='hq' myid='1' />
</Module>
</Window>
</Alloy> | {
"content_hash": "1ffa05d7cc761ee041959f284e5e908b",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 83,
"avg_line_length": 29.285714285714285,
"alnum_prop": 0.6292682926829268,
"repo_name": "davidfischer/setLocationBug",
"id": "4a59bee4506ae1f469ac3797c7c45f08f1c77952",
"s... |
#ifndef LUDI_GRAPHICS_DOMAIN_STAGE_NULL_H_
#define LUDI_GRAPHICS_DOMAIN_STAGE_NULL_H_
#if LUDI_GRAPHICS_PLATFORM_ID == LUDI_GRAPHICS_PLATFORM_NULL
namespace ludi {
namespace graphics {
/*! Represents a null domain shader stage. */
template <>
class DomainStage_<LUDI_GRAPHICS_PLATFORM_NULL> : public Doma... | {
"content_hash": "bd875850fff40e381757a312f214e9c9",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 77,
"avg_line_length": 27.4,
"alnum_prop": 0.6291970802919709,
"repo_name": "davidhuynh/ludi.graphics",
"id": "d2068d09a77ac9b2805f058703253d7f93455f89",
"size": "1820",
... |
<?php
namespace PhpHooks\Command;
use PhpHooks\Abstracts\BaseCommand;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Process\ProcessBuilder;
/**
* Class PhpmdCommand
*
* @package PhpHooks\Command
*/
class PhpmdCommand extends BaseCo... | {
"content_hash": "23c6a2d05d4e54bed64f11b96604c450",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 87,
"avg_line_length": 24.87272727272727,
"alnum_prop": 0.5730994152046783,
"repo_name": "tommy-muehle/php-hooks",
"id": "b0c6f3f070d3822faa69a9458d779a156e8c70cd",
"size":... |
Date.CultureInfo = {
/* Culture Name */
name: "en-PH",
englishName: "English (Republic of the Philippines)",
nativeName: "English (Philippines)",
/* Day Name Strings */
dayNames: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
abbreviatedDayNames: ["Sun", "... | {
"content_hash": "b63c35caa37a43b7243ee7e7b9c347c8",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 139,
"avg_line_length": 34.01111111111111,
"alnum_prop": 0.5240117608624633,
"repo_name": "taiducnguyen/fuckinggantt",
"id": "a1b94d952f786bc6dd57d2ba72770469900e0a45",
"s... |
<?php namespace Fly\Database\Schema\Grammars;
use Fly\Support\Fluent;
use Fly\Database\Schema\Blueprint;
class PostgresGrammar extends Grammar {
/**
* The keyword identifier wrapper format.
*
* @var string
*/
protected $wrapper = '"%s"';
/**
* The possible column modifiers.
*
* @var array
*/
pro... | {
"content_hash": "e0a95ca8e32dbb247aea12ff5857db18",
"timestamp": "",
"source": "github",
"line_count": 485,
"max_line_length": 91,
"avg_line_length": 22.523711340206187,
"alnum_prop": 0.6629439765653606,
"repo_name": "flyphp/flyframework",
"id": "74c6ffddd59365c1dc6c5091b77cfe9aade2173f",
"size": ... |
class DockerMachineCompletion < Formula
desc "Docker-machine completion script"
homepage "https://docs.docker.com/machine/completion/"
url "https://github.com/docker/machine/archive/v0.16.0.tar.gz"
sha256 "42342b21410cc29d71ca4d5b25e17eeaf20f21a0f3b825e702a7ddcff5adcb16"
head "https://github.com/docker/machin... | {
"content_hash": "a51de09d5493f9236b050684b9033919",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 118,
"avg_line_length": 35.72727272727273,
"alnum_prop": 0.7493638676844784,
"repo_name": "adamliter/homebrew-core",
"id": "1f005ab8bedec234e76f8e2989a0909a70366a3a",
"size... |
function Swipe(container, options) {
"use strict";
// utilities
var noop = function() {}; // simple no operation function
var offloadFn = function(fn) { setTimeout(fn || noop, 0) }; // offload a functions execution
// check browser capabilities
var browser = {
addEventListener: !!window.addEventLis... | {
"content_hash": "387138c03e4877dacc67b89a869f29b6",
"timestamp": "",
"source": "github",
"line_count": 566,
"max_line_length": 120,
"avg_line_length": 25.680212014134277,
"alnum_prop": 0.5852081183350534,
"repo_name": "janmi/website",
"id": "ea3d39cedb25e4a5d526c1d2d4ace384906a67ea",
"size": "1464... |
"""A simple example to test the a DistributionStrategy with Estimators.
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import tensorflow as tf
from tensorflow.python.keras import metrics as metrics_module
def build_model_fn_optimizer():
"""Simple... | {
"content_hash": "0efe028daa178212e1059a86c0f2e6db",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 80,
"avg_line_length": 34.71590909090909,
"alnum_prop": 0.6880523731587561,
"repo_name": "ageron/tensorflow",
"id": "cfaee03a2003089366a506168be2942c279f45bf",
"size": "374... |
using UnityEngine;
namespace BehaviorDesigner.Runtime.Tasks.Basic.UnityAudioSource
{
[TaskCategory("Basic/AudioSource")]
[TaskDescription("Stores the max distance value of the AudioSource. Returns Success.")]
public class GetMaxDistance : Action
{
[Tooltip("The GameObject that the task operates... | {
"content_hash": "ee59be70656803c1dc8433862e1b92a1",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 99,
"avg_line_length": 31.444444444444443,
"alnum_prop": 0.6176678445229682,
"repo_name": "yantian001/3DHunter",
"id": "9031b0d315cb8c49ce21738b4673c10296bd57cc",
"size": "... |
module DdaExpendituresHelper
end
| {
"content_hash": "731e7673e6913fa65720b5518b278dc5",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 28,
"avg_line_length": 16.5,
"alnum_prop": 0.9090909090909091,
"repo_name": "uclibs/tricerashopper",
"id": "16160db04bd176f6eab9a6e8186d8ee5c047356d",
"size": "33",
"binar... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Melissa McCoy</title>
<link href="stylesheets/reset.css" type="text/css" rel="stylesheet">
<link href="stylesheets/blog.css" type="text/css" rel="stylesheet">
</head>
<body>
<div id="header">
... | {
"content_hash": "74ac9918d68f34de3ecc7e153a3e0b84",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 735,
"avg_line_length": 58.4054054054054,
"alnum_prop": 0.6425266080518278,
"repo_name": "melissa-mccoy/melissa-mccoy.github.io",
"id": "faa22df3afb05b9d60b0e306d0e9324838b8e... |
#ifndef NETWORKINTERFACE_TESTS_H
#define NETWORKINTERFACE_TESTS_H
/*
* Test cases
*/
void NETWORKINTERFACE_STATUS();
void NETWORKINTERFACE_STATUS_NONBLOCK();
void NETWORKINTERFACE_STATUS_GET();
void NETWORKINTERFACE_CONN_DISC_REPEAT();
#endif //NETWORKINTERFACE_TESTS_H
| {
"content_hash": "06906b75df844c5e5ce04ee5db8fbe00",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 41,
"avg_line_length": 19.714285714285715,
"alnum_prop": 0.7789855072463768,
"repo_name": "betzw/mbed-os",
"id": "d3d0293d2e1907ec17c669f47e0179ec8d5c1913",
"size": "931",
... |
import unittest
import provider.lax_provider as lax_provider
import tests.settings_mock as settings_mock
import base64
import json
import tests.test_data as test_data
from provider.lax_provider import ErrorCallingLaxException
from mock import mock, patch, MagicMock
from ddt import ddt, data, unpack
@ddt
class TestLax... | {
"content_hash": "f5f88bfbf238098c671bcbb718f2b18d",
"timestamp": "",
"source": "github",
"line_count": 220,
"max_line_length": 167,
"avg_line_length": 50.25454545454546,
"alnum_prop": 0.6260853835021708,
"repo_name": "gnott/elife-bot",
"id": "00d71756027ef9c46f6de3f9931508a24ca06a0a",
"size": "110... |
<?php
namespace LoopAnime\ShowsBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use LoopAnime\AppBundle\Entity\BaseEntity;
/**
* Animes_Music
*
* @ORM\Table("animes_music")
* @ORM\Entity(repositoryClass="LoopAnime\ShowsBundle\Entity\AnimesMusicRepository")
*/
class AnimesMusic extends BaseEntity
{
/**
*... | {
"content_hash": "16d0526b59f521d5849144c6c3adf0b6",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 93,
"avg_line_length": 17.298969072164947,
"alnum_prop": 0.533969010727056,
"repo_name": "LoopTeam/LoopAnime-Website",
"id": "3b8bf9d1b1044e709a8ec234e2ced574dc7c1539",
"si... |
#include "testing/testing.hpp"
#include "map/feature_vec_model.hpp"
#include "indexer/data_header.hpp"
#include "indexer/interval_index.hpp"
#include "platform/local_country_file.hpp"
#include "platform/local_country_file_utils.hpp"
#include "platform/platform.hpp"
#include "base/logging.hpp"
#include <cstdint>
#i... | {
"content_hash": "ca8cd14aef76ac421f86a0d2a26df299",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 90,
"avg_line_length": 27.55,
"alnum_prop": 0.6674228675136116,
"repo_name": "VladiMihaylenko/omim",
"id": "c495f62da83465e58395abebde7dc4e7e7417729",
"size": "2204",
"bi... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Grammars and Nested Matches</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="../../index.html... | {
"content_hash": "96a8f3a3f5873743f2ef8dcbe9b8c201",
"timestamp": "",
"source": "github",
"line_count": 474,
"max_line_length": 790,
"avg_line_length": 92.72784810126582,
"alnum_prop": 0.6728550952153437,
"repo_name": "calvinfarias/IC2015-2",
"id": "b5dc36d0bd50c4be6d4bbd7ce8b7fcce7321c906",
"size"... |
int EstimateHilbertIterationNum(vector<Vector3D> const& cor)
{
return (int)ceil(log(pow((double)cor.size(), (1.0 / 3.0))) / log(2.0));
}
// Adjust the vector of points so all coordinate values will be in the range [0,1]
void AdjustPoints(vector<Vector3D> const & vPointsIn, vector<Vector3D> & vPointsOut)
{
... | {
"content_hash": "7dcc7c684ce5c87e7f297a60a7443d2f",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 108,
"avg_line_length": 26.388157894736842,
"alnum_prop": 0.6180503615058589,
"repo_name": "eladtan/Voronoi3D",
"id": "05542dc8f78cb1e1665030c43255ff858fab3d94",
"size": "... |
package org.eleusoft.jaxs.helpers;
import java.io.IOException;
import java.io.Writer;
import org.xml.sax.Attributes;
import org.xml.sax.ContentHandler;
import org.xml.sax.Locator;
import org.xml.sax.SAXException;
//import javax.xml.XMLConstants;
/** <p>A simple serializer for XML documents.</p>
* "This product i... | {
"content_hash": "c4421800f293caf1c32cd10848a713fc",
"timestamp": "",
"source": "github",
"line_count": 340,
"max_line_length": 98,
"avg_line_length": 28.45,
"alnum_prop": 0.5754161066887212,
"repo_name": "eleumik/eleusoft_jaxs",
"id": "045510a8d758b0feb2f121ffe8d3b7b967c44f66",
"size": "11929",
... |
module LoanAccessoriesHelper
end
| {
"content_hash": "57b51126052920e2006bb133047eec6d",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 28,
"avg_line_length": 16.5,
"alnum_prop": 0.9090909090909091,
"repo_name": "DiegoCorrea/SoldadinhodeChumbo",
"id": "a66cd01c30a414499517ad4568eb0ec52e3d0188",
"size": "33",... |
#######################DISA INFORMATION###############################
#Group ID (Vulid): V-756
#Group Title: The UNIX host is bootable in single user mode
#Rule ID: SV-27036r1_rule
#Severity: CAT II
#Rule Version (STIG-ID): GEN000020
#Rule Title: The system must require authentication
#upon booting int... | {
"content_hash": "1cca49490b6a1dac191733bb5983360d",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 72,
"avg_line_length": 29.282608695652176,
"alnum_prop": 0.6711210096510765,
"repo_name": "quark-pat/CLIP",
"id": "76cfa3c37c2e747ad0c9a9785cb03ee906a4e461",
"size": "2867"... |
import React from 'react';
import Realm from 'realm';
import {View, Text, Pressable, StyleSheet} from 'react-native';
import {shadows} from '../styles/shadows';
import colors from '../styles/colors';
import {Task} from '../models/Task';
type TaskItemProps = {
task: Task & Realm.Object;
onToggleStatus: () => void;... | {
"content_hash": "0bf848b68dc9fd0257056a7f953a371c",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 72,
"avg_line_length": 23.74074074074074,
"alnum_prop": 0.6063442537701508,
"repo_name": "realm/realm-js",
"id": "95aae8ec1d426abff0eb716fd9845956037bfd45",
"size": "1927",... |
package com.dewey.deweyapp.location;
import android.app.Activity;
import android.app.FragmentTransaction;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.EditText;
import android.widget.TextView;
impor... | {
"content_hash": "ea61225833d2d6afc757607f95892713",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 80,
"avg_line_length": 27.67241379310345,
"alnum_prop": 0.6978193146417445,
"repo_name": "brandoncox/MyApplication",
"id": "9aada8d2b709af892fafa52af92e3aa562400fd3",
"size... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>quicksort-complexity: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstr... | {
"content_hash": "92951cf3cb7bbeb0efead504ae58953a",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 249,
"avg_line_length": 44.773809523809526,
"alnum_prop": 0.5674022866258974,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "6e3f58d7b72f182393c557d6f4ab12c54906aa92",... |
import random
import numpy as np
import sys
from domain.make_env import make_env
from neat_src import *
class GymTask():
"""Problem domain to be solved by neural network. Uses OpenAI Gym patterns.
"""
def __init__(self, game, paramOnly=False, nReps=1):
"""Initializes task environment
Args:
ga... | {
"content_hash": "cd3719f32947c507a5ca507cbba98d11",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 78,
"avg_line_length": 31,
"alnum_prop": 0.5957924263674614,
"repo_name": "google/brain-tokyo-workshop",
"id": "3ebd386999749995c5a353a1c390f5d3c33cacee",
"size": "3565",
... |
package fr.ocr.sql;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
public class DAOException extends Exception {
/**
*
*/
private static final long serialVersionUID = -7652868337064812965L;
@SuppressWarnings("static-access")
public DAOException(String mess) {
super(mess);
JOptionPane jop = ... | {
"content_hash": "5a84ea888fbec154dd292f6406bb2abc",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 109,
"avg_line_length": 21.02857142857143,
"alnum_prop": 0.7133152173913043,
"repo_name": "Bernardinhouessou/Projets_Autres",
"id": "6260aee13b35aafb6227aeb2d18e67798daf02ec"... |
namespace Ui{
class page_bluetooth;
};
class page_bluetooth : public PageWidget{
Q_OBJECT
public:
page_bluetooth(QWidget *parent);
~page_bluetooth();
public slots:
void SaveSettings();
void LoadSettings(int screennum);
void updateIcons();
private:
Ui::page_bluetooth *ui;
private slots:
};
#endi... | {
"content_hash": "376433d95d095ea7d1582d441c16b1e5",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 41,
"avg_line_length": 14.636363636363637,
"alnum_prop": 0.7018633540372671,
"repo_name": "Nanolx/lumina",
"id": "1f140d82e365c2c82c602b67d80c65ab26b9b377",
"size": "726",
... |
package com.acervera.osm4scala.examples.taken
import com.acervera.osm4scala.BlobTupleIterator
import com.acervera.osm4scala.examples.taken.ParametersConfig._
import com.acervera.osm4scala.examples.utilities.Benchmarking
import com.acervera.osm4scala.utilities.Osm4ScalaUtils
import java.io._
import java.nio.file.{Fi... | {
"content_hash": "44890ab5de79aec225002c3fc3f3036c",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 138,
"avg_line_length": 31.489795918367346,
"alnum_prop": 0.6753078418664938,
"repo_name": "angelcervera/osm4scala",
"id": "1cf7c523328a5531f3e760a3c11e11a7ddf1b81d",
"size... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<title>IupTuioClient</title>
<link rel="stylesheet" type="text/css" href="../../style.css">
<style type="text/css">
.style1 {
font-size: large;
}
</style>
</head>
<body>
<div id="navigation">
... | {
"content_hash": "98cc4019e5d6d471583e30682da2149c",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 191,
"avg_line_length": 50.109375,
"alnum_prop": 0.7086061739943873,
"repo_name": "ivanceras/iup-mirror",
"id": "1330599df8bd71bcf1c44227d07f3d7c6200be0a",
"size": "6416",... |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/shared_highlighting/core/common/shared_highlighting_metrics.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/t... | {
"content_hash": "cc573c655ee396488ca42082c1c2d604",
"timestamp": "",
"source": "github",
"line_count": 303,
"max_line_length": 83,
"avg_line_length": 39.864686468646866,
"alnum_prop": 0.7287027071777465,
"repo_name": "ric2b/Vivaldi-browser",
"id": "48d9b02a6c57a8399c98bdfa8bf07999fee8dbe0",
"size"... |
void foo(void) {
// CHECK: call void @mcount()
// CHECK-PPC: call void @_mcount()
}
| {
"content_hash": "7e28b1151cb685a25a756d38c8a5633a",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 34,
"avg_line_length": 21,
"alnum_prop": 0.6190476190476191,
"repo_name": "HackLinux/goblin-core",
"id": "5c608bcd3657dc09b2e68682e6acc1d10977af4a",
"size": "521",
"binary... |
package org.rabix.bindings.model;
import java.util.List;
public interface Application {
String serialize();
List<? extends ApplicationPort> getInputs();
List<? extends ApplicationPort> getOutputs();
}
| {
"content_hash": "fe0ff194b7f7b13881d933ac2f50c65d",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 47,
"avg_line_length": 17.833333333333332,
"alnum_prop": 0.7383177570093458,
"repo_name": "markosbg/markoBunny",
"id": "f6fd4e3b0b4a42701075a28ec4f0bc15867748bd",
"size": "... |
package de.tum.in.www1.artemis.web.rest.dto;
import com.fasterxml.jackson.annotation.JsonInclude;
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class FileMove {
private String currentFilePath;
private String newFilename;
public String getCurrentFilePath() {
return currentFilePath;
}
... | {
"content_hash": "e1c76690126eaba1f317a1b60537b97d",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 60,
"avg_line_length": 22.51851851851852,
"alnum_prop": 0.712171052631579,
"repo_name": "ls1intum/ArTEMiS",
"id": "0c4fdffb4594ddaf3811429e24b5ec9398277469",
"size": "608",... |
* * *
titul: "Umělec: sekvence" náhled: page_curriculum téma: žádné
* * *
<%= partial('curriculum_header', :unittitle=>Kurz 1',: Lekce => 4,: titul => ' Umělec: sekvence',: unplugged => false,: čas => 30) %>
[obsah]
[dohromady]
## Lekce – přehled
V této lekci se studenti převezmou řízení nad umělcem k dokončení ... | {
"content_hash": "7ca7b9edbc76a1e7cb35c92197cd6e70",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 249,
"avg_line_length": 40.80891719745223,
"alnum_prop": 0.7530825659434993,
"repo_name": "ty-po/code-dot-org",
"id": "38cb49e980a7abbb5680ec701ca12fa95ac6a8e1",
"size": "... |
'''
Test the upgrade master from 3.1.0.233
@author: YeTian 2018-11-25
'''
import os
import tempfile
import uuid
import time
import zstackwoodpecker.test_util as test_util
import zstackwoodpecker.test_lib as test_lib
import zstackwoodpecker.test_state as test_state
import zstacklib.utils.ssh as ssh
import... | {
"content_hash": "750e074ce00408243804f33b546fdee5",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 80,
"avg_line_length": 36.776119402985074,
"alnum_prop": 0.6814123376623377,
"repo_name": "zstackio/zstack-woodpecker",
"id": "73e160f93b41142c6e49c0a71702bc88166cd438",
"s... |
set(COMP_SRC_PROFILE "test")
set(COMP_SRC_TEST_NAME "sublist")
set(COMP_SRC_LIB_DEPS "binn")
set(LOCAL_SRC_DIR_SUFFIX test)
set(LOCAL_SRC_FILES test_sublist.c)
| {
"content_hash": "4e06522085e61221c979ffe1c9d2c09a",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 35,
"avg_line_length": 26.833333333333332,
"alnum_prop": 0.7391304347826086,
"repo_name": "debosvi/binn",
"id": "e8b4e15ceed8f27bf3d065579d7bbaf0554972c8",
"size": "162",
... |
package org.apache.maven.plugin.assembly.functions;
import org.apache.maven.plugin.assembly.InvalidAssemblerConfigurationException;
import org.apache.maven.plugin.assembly.archive.ArchiveCreationException;
import org.apache.maven.plugin.assembly.artifact.DependencyResolutionException;
import org.apache.maven.plugin.... | {
"content_hash": "ac68b4fa9972f05ff1e5148bd3b6b213",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 109,
"avg_line_length": 35.10526315789474,
"alnum_prop": 0.8335832083958021,
"repo_name": "ptahchiev/maven-plugins",
"id": "f9141617d0aa9f24bb90617d9edbd0a3b60936e6",
"size... |
package com.google.api.services.samples.dailymotion.cmdline;
import com.google.api.client.util.Key;
import java.util.List;
/** @author Yaniv Inbar */
public class VideoFeed {
@Key public List<Video> list;
@Key public int limit;
@Key("has_more")
public boolean hasMore;
}
| {
"content_hash": "772cbe2ef2b2647ea169e5cb9bc9f2b6",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 60,
"avg_line_length": 16.823529411764707,
"alnum_prop": 0.7202797202797203,
"repo_name": "googleapis/google-oauth-java-client",
"id": "91a4c606efbbb0f113217a14df606b04c1e4ae... |
from PyQt5.QtWidgets import QComboBox
from sdbcore.logger import Logger
from sdbcore.stencildatalistener import StencilDataStencilListListener
class StencilListWidget(QComboBox, StencilDataStencilListListener):
def __init__(self, parent, stencil_data):
super().__init__(parent)
self.__stencil_data... | {
"content_hash": "0dd013e44482d450de33d89cd6ea26fc",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 92,
"avg_line_length": 34.5625,
"alnum_prop": 0.6537070524412296,
"repo_name": "thfabian/serialbox2",
"id": "3389c473e1e3221b2394245a54534b437dd22115",
"size": "1513",
"b... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Global katals</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generat... | {
"content_hash": "e3a6071878390f3b79ef1ffc8120056b",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 521,
"avg_line_length": 79.3921568627451,
"alnum_prop": 0.6616448505803902,
"repo_name": "yinchunlong/abelkhan-1",
"id": "d19511069234658232b5438cff0c9f40bc38800b",
"size":... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Decorator.Models.ManageViewModels
{
public class FactorViewModel
{
public string Purpose { get; set; }
}
}
| {
"content_hash": "61fc096f33bbeec06fb977e0c1654a62",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 43,
"avg_line_length": 20.583333333333332,
"alnum_prop": 0.6923076923076923,
"repo_name": "lmeijdam/asp-net-core-patterns",
"id": "dbf7a3a24da2e8390438c8c6703d49e30156e51a",
... |
#ifndef MICROPY_INCLUDED_LIB_TIMEUTILS_TIMEUTILS_H
#define MICROPY_INCLUDED_LIB_TIMEUTILS_TIMEUTILS_H
// The number of seconds between 1970/1/1 and 2000/1/1 is calculated using:
// time.mktime((2000,1,1,0,0,0,0,0,0)) - time.mktime((1970,1,1,0,0,0,0,0,0))
#define TIMEUTILS_SECONDS_1970_TO_2000 (946684800ULL)
typedef ... | {
"content_hash": "a98d05c926083fa17171122206b9368d",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 140,
"avg_line_length": 40.4375,
"alnum_prop": 0.7128284389489954,
"repo_name": "bvernoux/micropython",
"id": "66e2a77f139ed8cd1684f7ea41b6c8ffb7dc4733",
"size": "4502",
... |
namespace tera {
namespace quota {
struct Throttle {
Throttle()
: write_reqs(0), write_bytes(0), read_reqs(0), read_bytes(0), scan_reqs(0), scan_bytes(0) {}
int64_t write_reqs;
int64_t write_bytes;
int64_t read_reqs;
int64_t read_bytes;
int64_t scan_reqs;
int64_t scan_bytes;
};
class QuotaLimiter ... | {
"content_hash": "dc89143de7023610c24f2fe2589e31c2",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 98,
"avg_line_length": 22.666666666666668,
"alnum_prop": 0.6838235294117647,
"repo_name": "BaiduPS/tera",
"id": "96dca9c589e15435ffd1cef39d63e1cf4d1a10b1",
"size": "756",
... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "2b3f98dc346c52670eb5a5a2dc2e1b93",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "0b66a5cb3cd4e1789647c0973e226a982ba59a0c",
"size": "174... |
package org.elasticsearch.xpack.sql.jdbc;
class JdbcException extends RuntimeException {
JdbcException(String message) {
super(message);
}
JdbcException(Throwable cause, String message) {
super(message, cause);
}
}
| {
"content_hash": "c8e2651d330314279e2a3ba16277fa8e",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 52,
"avg_line_length": 19.615384615384617,
"alnum_prop": 0.6705882352941176,
"repo_name": "nknize/elasticsearch",
"id": "378be3a30528bf07b67e79b59ed4079734fcbe7b",
"size": ... |
package org.apache.beam.sdk.io.aws2.dynamodb;
import static org.apache.beam.sdk.io.aws2.dynamodb.DynamoDBIO.RetryConfiguration.DEFAULT_RETRY_PREDICATE;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
import or... | {
"content_hash": "fd5a1dd89d74088ce904f34a4066fb03",
"timestamp": "",
"source": "github",
"line_count": 297,
"max_line_length": 105,
"avg_line_length": 43.23232323232323,
"alnum_prop": 0.620404984423676,
"repo_name": "markflyhigh/incubator-beam",
"id": "a1be352f0d0afa4a13c49e84635199a2075200b0",
"s... |
package com.github.robozonky.internal;
import static org.assertj.core.api.SoftAssertions.assertSoftly;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.time.temporal.ChronoUnit;
import java.time.temporal.TemporalAmount;
import java.util.Properties;
import java.util.UUID;
impor... | {
"content_hash": "48df3ce78b2f6fe7361e93b4917ad0be",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 90,
"avg_line_length": 40.469565217391306,
"alnum_prop": 0.6351525569402664,
"repo_name": "RoboZonky/robozonky",
"id": "5780c84bc8b72c9e066e80e074c982fda5694d44",
"size": ... |
<component name="libraryTable">
<library name="kotlin-test" type="repository">
<properties maven-id="org.jetbrains.kotlin:kotlin-test:1.4.32">
<exclude>
<dependency maven-id="org.jetbrains.kotlin:kotlin-stdlib-common" />
<dependency maven-id="org.jetbrains.kotlin:kotlin-stdlib" />
</ex... | {
"content_hash": "930f1c2e4395e3f8de2c9649e634901d",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 132,
"avg_line_length": 49.05263157894737,
"alnum_prop": 0.6630901287553648,
"repo_name": "zdary/intellij-community",
"id": "48bd67ab9d776fb5b9a2ac9bacde4043cc7251aa",
"siz... |
/**
* Animation Component
* @author ryan.bian
*/
import Transition from 'react-transition-group/Transition';
import React, { PureComponent } from 'react';
import PropTypes from 'prop-types';
import classnames from 'classnames';
import styles from './Animation.css';
import MOTIONS, { TIMING_FUNCTION } from './motion... | {
"content_hash": "44d4870d003788bc703aa81728889077",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 92,
"avg_line_length": 25.544303797468356,
"alnum_prop": 0.6392467789890981,
"repo_name": "quark-ui/quark-ui",
"id": "c45d3183fa98b63af5277d296ebed5ba250a3cf8",
"size": "20... |
.class Lcom/android/internal/widget/ToolbarWidgetWrapper$2;
.super Landroid/animation/AnimatorListenerAdapter;
.source "ToolbarWidgetWrapper.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/android/internal/widget/ToolbarWidgetWrapper;->animateToVisibility(I)V
.end annotatio... | {
"content_hash": "f3601bf9d1903508e63cbc265f5b7055",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 162,
"avg_line_length": 27.9390243902439,
"alnum_prop": 0.7494543867306853,
"repo_name": "Liberations/Flyme5_devices_base_cm",
"id": "a04b182c5e4951a79c358685038ad4d4dabbf241... |
<div id="drive-folder-context" ng-controller="DriveFolderContextController">
<ul>
<li ng-click="open()">Open</li>
<li ng-click="rename()">Rename...</li>
<li ng-click="addChildFolder()">New Folder</li>
<li ng-click="upload()">Upload</li>
<li ng-click="download()">Download</li... | {
"content_hash": "e103b4795203247eca4c8e6cb9f4fa1b",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 76,
"avg_line_length": 32,
"alnum_prop": 0.5703125,
"repo_name": "andrejbranch/techversed",
"id": "6de5ffdd629c427031bb466cebe84bb11efd342a",
"size": "384",
"binary": fal... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Pathfinding;
/** Demos different path types.
* This script is an example script demoing a number of different path types included in the project.
* Since only the Pro version has access to many path types, it is only included in the... | {
"content_hash": "c10578490e27a936ce0c8e0edba7846f",
"timestamp": "",
"source": "github",
"line_count": 418,
"max_line_length": 169,
"avg_line_length": 31.949760765550238,
"alnum_prop": 0.6768251591164358,
"repo_name": "Polyrhythm/bud",
"id": "b40b29de4aeadab4a06107f6a01fae0a4a9f8020",
"size": "133... |
<?php
namespace Milax\Mconsole\Models;
use Illuminate\Database\Eloquent\Model;
class Linkable extends Model
{
protected $fillable = ['link_id', 'linkable_id', 'linkable_type'];
/**
* Relation to Link
*
* @return BelongsTo
*/
public function link()
{
return $this->bel... | {
"content_hash": "d21edae589c63fb638ea6c78fc80c272",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 70,
"avg_line_length": 18.3,
"alnum_prop": 0.6120218579234973,
"repo_name": "misterpaladin/mconsole",
"id": "55d8e5355d8d8683b2a1a105ec663d7f5cbbc93e",
"size": "366",
"bi... |
/* ---------------------------------------------------------------------------- */
/* Atmel Microcontroller Software Support */
/* SAM Software Package License */
/* -----------------------------------------------------------------... | {
"content_hash": "82a2c41f96bcc2e0fa1b2701b032e4a8",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 117,
"avg_line_length": 64.50943396226415,
"alnum_prop": 0.46446329336063175,
"repo_name": "shengwen1997/stm32_pratice",
"id": "a8052fc4996c74a2ab592304b80eb599e01a9b58",
"... |
module Steps::Details
class RepresentativeTypeController < Steps::DetailsStepController
def edit
@form_object = RepresentativeTypeForm.new(
tribunal_case: current_tribunal_case,
representative_type: current_tribunal_case.representative_type
)
end
def update
update_and_ad... | {
"content_hash": "3f8def4e93a6848271b949f77413973d",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 70,
"avg_line_length": 26.285714285714285,
"alnum_prop": 0.717391304347826,
"repo_name": "ministryofjustice/tax-tribunals-datacapture",
"id": "16616719a0f1a7e34660eeda5ae5c55... |
namespace content {
RenderViewImplParams::RenderViewImplParams(
int32 opener_id,
const RendererPreferences& renderer_prefs,
const WebPreferences& webkit_prefs,
int32 routing_id,
int32 main_frame_routing_id,
int32 surface_id,
int64 session_storage_namespace_id,
const base::string16& fram... | {
"content_hash": "11b4e91074064b3913311486788522b5",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 65,
"avg_line_length": 31.485714285714284,
"alnum_prop": 0.6932849364791288,
"repo_name": "anirudhSK/chromium",
"id": "aa1325c18a0c69cbb06456b65c514d6151292b41",
"size": "1... |
package hep.lcio.implementation.event;
import java.util.ArrayList;
import java.util.List;
import hep.lcio.event.TrackerHit;
/**
* @author Tony Johnson
* @version $Id: ITrackerHit.java,v 1.12 2010-06-02 10:59:34 engels Exp $
*/
public class ITrackerHit extends ILCObject implements TrackerHit
{
protected int cel... | {
"content_hash": "97bbc46e8370187f4f2fd8fd5046123b",
"timestamp": "",
"source": "github",
"line_count": 154,
"max_line_length": 73,
"avg_line_length": 17.5974025974026,
"alnum_prop": 0.5940959409594095,
"repo_name": "iLCSoft/LCIO",
"id": "d92065d4d20d14f19ab6d20ce79b7524300a239a",
"size": "2710",
... |
$j = jQuery.noConflict(); | {
"content_hash": "e892cb1ad1ddd8c990608b1e3f9d9d72",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 25,
"avg_line_length": 25,
"alnum_prop": 0.68,
"repo_name": "scottburch/sparrow",
"id": "4b8a6ed9b9d53b51962c9e7db08d0d3590cab88e",
"size": "25",
"binary": false,
"copie... |
<div class="jumbotron jumbotron-ad hidden-print">
<div class="container">
<div class="jumbotron-kickstarter">
<div class="jumbotron-text">
<h1>{{ jumbotron_h1 }}</h1>
<p>{{ jumbotron_p }}</p>
</div>
<div class="jumbotron-ks-ad">
<div id="kickstarter-widget" class="kickst... | {
"content_hash": "daba24d0e3eda0523ceb61aa1489496b",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 70,
"avg_line_length": 26.176470588235293,
"alnum_prop": 0.5573033707865168,
"repo_name": "thanhnn1106/allelua_project",
"id": "33608b81b66dcc0990353abf9af41a40352f7552",
"... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Mae... | {
"content_hash": "6a5b239502f4d456a4e292201b965e13",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 84,
"avg_line_length": 40.3235294117647,
"alnum_prop": 0.7476294675419402,
"repo_name": "alachaum/maestrano-dotnet",
"id": "8641aa86613ca59ccdde2ca1685ac6f12b387e66",
"size... |
<?php
/**
* REST API: WP_REST_Taxonomies_Controller class
*
* @package WordPress
* @subpackage REST_API
* @since 4.7.0
*/
/**
* Core class used to manage taxonomies via the REST API.
*
* @since 4.7.0
*
* @see WP_REST_Controller
*/
class WP_REST_Taxonomies_Controller extends WP_REST_Controller {
/**
* C... | {
"content_hash": "798ef8e89868a5521fc03b23ec7af633",
"timestamp": "",
"source": "github",
"line_count": 440,
"max_line_length": 134,
"avg_line_length": 29.961363636363636,
"alnum_prop": 0.5623151027838883,
"repo_name": "electric-eloquence/fepper-wordpress",
"id": "ede47585b10ea84d83ed3180daf5e42e7b07... |
package net.npg.abattle.communication;
import com.google.common.base.Optional;
import java.util.Collection;
import java.util.Map;
import java.util.Set;
import net.npg.abattle.client.lan.ClientGameEnvironment;
import net.npg.abattle.client.lan.impl.ClientGameEnvironmentImpl;
import net.npg.abattle.common.compon... | {
"content_hash": "eb95fb6517a6fcdb8868edc1037baff4",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 149,
"avg_line_length": 46.747126436781606,
"alnum_prop": 0.7396115072535038,
"repo_name": "CymricNPG/abattle",
"id": "6783f8290782c759e528dc9aa6fc780d4e9c207d",
"size": "... |
div.row{
width:90%;
}
div#example_wrapper{
width:90%;
}
table{
width:90%
}
div.dataTables_length label {
font-weight: normal;
text-align: left;
white-space: nowrap;
}
div.dataTables_length select {
width: 75px;
display: inline-block;
}
div.dataTables_filter {
text-align: right;
}
div.dataTables_filter label... | {
"content_hash": "157fca252f1a535b92e228ce8c682118",
"timestamp": "",
"source": "github",
"line_count": 380,
"max_line_length": 218,
"avg_line_length": 23.41842105263158,
"alnum_prop": 0.7223283515001686,
"repo_name": "cortext/antonio",
"id": "9424e4137f58aa7659c0a95f75795c6db00f474a",
"size": "889... |
typedef void (func_type) ();
struct s {
func_type f:32; // { dg-error "" } bitified with function type
};
int main () { return 0; }
| {
"content_hash": "b2c690f79b9e0981a2f96dcdcdf7e947",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 64,
"avg_line_length": 19.428571428571427,
"alnum_prop": 0.6029411764705882,
"repo_name": "the-linix-project/linix-kernel-source",
"id": "42533861fd1ecb2747bf45eec5d33c7d51a73... |
/* Include file missing from Interix */
#ifndef INTTYPES_H
#define INTTYPES_H
typedef unsigned long long uint64_t;
typedef unsigned int uintptr_t;
#endif
| {
"content_hash": "b1ff4d8cf84f7b19930203655eeff59f",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 39,
"avg_line_length": 15.8,
"alnum_prop": 0.759493670886076,
"repo_name": "OpenVnmrJ/OpenVnmrJ",
"id": "435618c751c043047875de20e70a7a6363b436ac",
"size": "400",
"binary... |
/**
* --------------------------- Our Custom GWIN Oscilloscope ---------------
*
* This GWIN superset implements a simple audio oscilloscope using the GADC high speed device.
*/
#include "gfx.h"
#include "gwinosc.h"
/* Include internal GWIN routines so we can build our own superset class */
#include "src/gwin/gw... | {
"content_hash": "6a8e8c18eec49699b6ab184f8e663919",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 115,
"avg_line_length": 27.11627906976744,
"alnum_prop": 0.6545883361921098,
"repo_name": "sonicyang/uRock",
"id": "1fb802a8b3cec0dc93beacb5fc9aa272752438ac",
"size": "633... |
@interface GeometryContentCollection : ChildCollection {
}
@end
| {
"content_hash": "cf7cce0cca5bab7823774f43fc9bf072",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 56,
"avg_line_length": 13.2,
"alnum_prop": 0.7878787878787878,
"repo_name": "paidgeek/glomero",
"id": "428a4e2211b374ab9e244e700254321b36b92c0e",
"size": "270",
"binary": ... |
@interface MSSnapHelperMethods : NSObject
{
}
+ (void)_drawBorderBarsForHeightOfRect:(struct CGRect)arg1 zoom:(double)arg2;
+ (void)_drawArrowsForHeightOfRect:(struct CGRect)arg1 zoom:(double)arg2;
+ (void)_drawLabelWithAmount:(long long)arg1 forHeightOfRect:(struct CGRect)arg2 zoom:(double)arg3;
+ (void)drawHeightOfRe... | {
"content_hash": "ffc6f7dfde5b7aecfedb1c29d66951b8",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 114,
"avg_line_length": 66.2,
"alnum_prop": 0.798590130916415,
"repo_name": "dameleon/sketch-layout-generator",
"id": "00c4f4e0b5aaa879b8aafec68c69a8728c7bf89e",
"size": "9... |
namespace Microsoft.Azure.Batch.Protocol.Models
{
using System.Linq;
/// <summary>
/// Additional parameters for the Certificate_Delete operation.
/// </summary>
public partial class CertificateDeleteOptions
{
/// <summary>
/// Initializes a new instance of the CertificateDelete... | {
"content_hash": "d68d313f4a0116d88949bb863af15f30",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 211,
"avg_line_length": 44.072463768115945,
"alnum_prop": 0.6310424202564946,
"repo_name": "r22016/azure-sdk-for-net",
"id": "7c259b269e8b5a87602068cbba350654bbaffb42",
"si... |
#ifndef CTKTESTPLUGINA2ACTIVATOR_P_H
#define CTKTESTPLUGINA2ACTIVATOR_P_H
#include <QScopedPointer>
#include <ctkPluginActivator.h>
#include "ctkTestPluginA2_p.h"
class ctkTestPluginA2Activator : public QObject,
public ctkPluginActivator
{
Q_OBJECT
Q_INTERFACES(ctkPluginActivat... | {
"content_hash": "5a92df50847f8f25cc8dc0cd811ccbb7",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 57,
"avg_line_length": 17.482758620689655,
"alnum_prop": 0.73767258382643,
"repo_name": "chenqifeng/CTK",
"id": "4209d5f65217211031fdcca40c9d314f1d674e9c",
"size": "1323",
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Xml.Schema;
using JetBrains.Annotations;
using ph4n.Co... | {
"content_hash": "027a1cc07ed3df142f719ee441ca7908",
"timestamp": "",
"source": "github",
"line_count": 191,
"max_line_length": 145,
"avg_line_length": 31.06282722513089,
"alnum_prop": 0.6093038934771616,
"repo_name": "buchmoyerm/Lib-ph4n",
"id": "c3fe3c0e3c66ff9a4023d1b95cbed3fe123cbe54",
"size": ... |
FROM resin/rpi-raspbian:jessie
MAINTAINER schafmeister <mail@slacktime.org>
# Setup base system
ENV DEBIAN_FRONTEND noninteractive
ENV TERM xterm
RUN apt-get update && apt-get upgrade
# Cups and Drivers for Samsung printers
RUN apt-get install -y avahi-daemon cups printer-driver-splix whois && rm -rf /var/lib/apt/li... | {
"content_hash": "02ddfc6785ca45dff7e9117ceceb4e53",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 98,
"avg_line_length": 28.548387096774192,
"alnum_prop": 0.7593220338983051,
"repo_name": "thecael/RaspberryDocker",
"id": "627a137aec5902b4e38b556210711492e8eeed5a",
"size... |
import values from "lodash-es/values";
import { connect } from "react-redux";
import * as transactionActions from "actions/transaction";
import TransactionForm from "../components/TransactionForm";
export interface StateFromProps extends TransactionFormState {
accounts: Account[];
}
function mapStateToProps(sta... | {
"content_hash": "2e442f02b66d7a58a4d66a40ce263aaf",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 86,
"avg_line_length": 26.487179487179485,
"alnum_prop": 0.6689254598257502,
"repo_name": "contrarian/redux-tsa",
"id": "b06e492edd851624113d4a70fb131961788bbf55",
"size": ... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | {
"content_hash": "9fc42eebe3dd53886c7321479f499d48",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 197,
"avg_line_length": 42.225806451612904,
"alnum_prop": 0.5887445887445888,
"repo_name": "jugstalt/gViewGisOS",
"id": "5c7547e4b4651ca092703bf7c79bbc6e024dc35f",
"size": ... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_45) on Thu Nov 13 21:23:01 UTC 2014 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class org.apache.hadoop.f... | {
"content_hash": "279fa95e38b8bd4e1885d21edbc391a6",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 267,
"avg_line_length": 45.42068965517242,
"alnum_prop": 0.6246583662313999,
"repo_name": "SAT-Hadoop/hadoop-2.6.0",
"id": "e85b0fc165bb769996f374d62f00ee34b8231171",
"siz... |
def max_profit(a)
return 0 unless a.any?
max_profit = 0
lowest_price = a.first
a.each do |price|
lowest_price = [lowest_price, price].min
max_profit = [max_profit, price - lowest_price].max
end
max_profit
end
| {
"content_hash": "acd951bc1d465480083ffa5b65097845",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 55,
"avg_line_length": 17.846153846153847,
"alnum_prop": 0.6508620689655172,
"repo_name": "UltimateCoder00/Codility-Challenges",
"id": "7d5cbaf09c698a3daacf9850ce254443b0a00c... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="ElasticFrameLayout">
<attr name="dragDismissDistance" format="dimension" />
<attr name="dragDismissFraction" format="float" />
<attr name="dragDismissScale" format="float" />
<attr name="dragElasticity" forma... | {
"content_hash": "d487c71a7d1ee47e56cc683afad6f781",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 62,
"avg_line_length": 40.68181818181818,
"alnum_prop": 0.6536312849162011,
"repo_name": "tylersuehr7/clean-architecture",
"id": "0b342ad6926dbbea822a0c5cd100a4d06cfb7c7a",
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq.Expressions;
namespace CefSharp.MinimalExample.Wpf.Mvvm
{
public static class PropertyChangedExtensionMethods
{
// Based on http://www.wpftutorial.net/INotifyPropertyChanged.html
public static bool C... | {
"content_hash": "5b93380542d5daf67962df98bbb4c504",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 87,
"avg_line_length": 30.4375,
"alnum_prop": 0.5564681724845996,
"repo_name": "Briaker/CefSharp.MinimalExample",
"id": "5a3285cc9abca4ef3c1881b73cd10d002c089979",
"size": ... |
package com.netflix.spinnaker.orca.pipeline.util;
import com.google.common.io.CharStreams;
import com.google.common.util.concurrent.Uninterruptibles;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.Reader;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.TimeUn... | {
"content_hash": "0264bc8b2a71d8f80e3fb16c68507432",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 102,
"avg_line_length": 41.140845070422536,
"alnum_prop": 0.62564190345772,
"repo_name": "duftler/orca",
"id": "af1326c485b18071848b8f456b2b511d1508c4ea",
"size": "6436",
... |
return function (tableA, tableB)
local minTable = {}
for ind, valA in pairs(tableA) do
if tableB[ind] then
minTable[ind] = valA < tableB[ind] and valA or tableB[ind]
else
error("tables did not have matching indices")
return
end
end
return minTable
end | {
"content_hash": "0fa234011d9eb5c14f9ad1c3e8778bc0",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 61,
"avg_line_length": 22.5,
"alnum_prop": 0.7037037037037037,
"repo_name": "Roblox/Core-Scripts",
"id": "19e60945aba5c0a9be3315c19f5e14b35f0f485a",
"size": "270",
"binar... |
@interface Animal : NSObject
{
NSString *_name;
int _age;
}
-(void)eat;
-(instancetype)initWith:(NSString *)name andAge:(int)age;
@end
| {
"content_hash": "cdfa170809f8c9c299f17be12798c7a2",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 57,
"avg_line_length": 14.9,
"alnum_prop": 0.6375838926174496,
"repo_name": "MinghuiGao/C-",
"id": "2e750640fbe80ed8023489e2e625a1b1410fcb9f",
"size": "310",
"binary": fa... |
// -*- C++ -*-
//=============================================================================
/**
* @file OS_NS_unistd.h
*
* $Id: OS_NS_unistd.h 78509 2007-05-28 19:36:42Z johnnyw $
*
* @author Douglas C. Schmidt <schmidt@cs.wustl.edu>
* @author Jesper S. M|ller<stophph@diku.dk>
* @author and ... | {
"content_hash": "65cd8749ecc0f216b50f89c71ec1e378",
"timestamp": "",
"source": "github",
"line_count": 375,
"max_line_length": 79,
"avg_line_length": 26.88,
"alnum_prop": 0.5996031746031746,
"repo_name": "yuanxu/liveshow_r2",
"id": "f9130cf6760bdd5e23d0fdb3d1afc76d312451e5",
"size": "10080",
"bi... |
A general Computer Science blog. My fun thoughts on coding problems, ideas and projects.
| {
"content_hash": "2251fedef9d11b7e60fadca1f5615a49",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 88,
"avg_line_length": 89,
"alnum_prop": 0.8089887640449438,
"repo_name": "jootse84/jootse84.github.io",
"id": "dcab40119baac898adf004cec21545400471e4f0",
"size": "104",
"... |
using System;
using GopherServer.Core.Rss.Data;
namespace GopherServer.Core.Rss.Syndication
{
public static class Syndication
{
public static void UpdateFeeds(Db db)
{
foreach (var feed in db.GetFeeds())
{
try
{
var de... | {
"content_hash": "e67c1adeec05fb4a91a7ce11d8827aa2",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 63,
"avg_line_length": 25.045454545454547,
"alnum_prop": 0.43920145190562615,
"repo_name": "pgodwin/GopherServer",
"id": "056e4b48e4073c055713ac8246193538da396d31",
"size":... |
using System;
using System.ComponentModel;
using System.Data.Linq;
using System.Data.Linq.Mapping;
namespace derpirc.Data.Models
{
[global::System.Data.Linq.Mapping.TableAttribute()]
public partial class Mention : IBaseModel, IMessage, INotifyPropertyChanging, INotifyPropertyChanged
{
[... | {
"content_hash": "33f725d25bd6f380e643023f2db09213",
"timestamp": "",
"source": "github",
"line_count": 215,
"max_line_length": 183,
"avg_line_length": 34.14418604651163,
"alnum_prop": 0.49203105843890477,
"repo_name": "w0rd-driven/derpirc",
"id": "e42e6eac8d8132a7491b0eb4d67136c2c3c6ac63",
"size":... |
#include "common.h"
#if defined(MBEDTLS_SELF_TEST) && defined(MBEDTLS_PLATFORM_C)
#include "mbedtls/platform.h"
#else
#include <stdio.h>
#define mbedtls_printf printf
#endif
#if defined(MBEDTLS_TIMING_C)
#include "mbedtls/timing.h"
#if !defined(MBEDTLS_TIMING_ALT)
#if !defined(unix) && !defined(__unix__) && ... | {
"content_hash": "337f8110af53274868ab3e0c3ee7483f",
"timestamp": "",
"source": "github",
"line_count": 512,
"max_line_length": 103,
"avg_line_length": 26.76171875,
"alnum_prop": 0.5514523427236899,
"repo_name": "Valentactive/godot",
"id": "57bc9bcc12f095d974d0c568605466a3b5217451",
"size": "14402"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.