text stringlengths 2 1.04M | meta dict |
|---|---|
<?php declare (strict_types=1);
namespace Sabre\DAV\Auth\Backend;
use Sabre\HTTP;
class ApacheTest extends \PHPUnit_Framework_TestCase {
function testConstruct() {
$backend = new Apache();
$this->assertInstanceOf('Sabre\DAV\Auth\Backend\Apache', $backend);
}
function testNoHeader() {
... | {
"content_hash": "7cd21f4e08b54c01140c873dcf76f5c3",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 75,
"avg_line_length": 23.293333333333333,
"alnum_prop": 0.5231825987406984,
"repo_name": "c0d3z3r0/sabre-dav",
"id": "a8949ad7e6114a34accc4a9545d6e909bf15e471",
"size": "1... |
package com.mateuszkoslacz.moviper.recyclerview.butterknife;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTes... | {
"content_hash": "6dbeb191a96df28741af7bbc859c2b60",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 81,
"avg_line_length": 25.235294117647058,
"alnum_prop": 0.7086247086247086,
"repo_name": "mkoslacz/Moviper",
"id": "558b4acdf6564d3869b1b748e352243beb7db398",
"size": "429... |
package org.cellprofiler.knimebridge.message;
import java.io.StringReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.json.Json;
import javax.json.JsonArray;
import jav... | {
"content_hash": "a7bdaabbaa9e50847b682f474837f6c9",
"timestamp": "",
"source": "github",
"line_count": 190,
"max_line_length": 110,
"avg_line_length": 33.873684210526314,
"alnum_prop": 0.7316656308266004,
"repo_name": "CellProfiler/knime-bridge",
"id": "c0714c7cad20b506d12985cf6627ac5f5348df38",
"... |
template <typename T, size_t N, size_t... Elems>
struct swizzle;
namespace typefu {
// recursive multi argument variant of std::is_arithmetic
template <typename T, typename... Ts>
struct is_arithmetic {
static const bool value =
is_arithmetic<T>::value and is_arithmetic<Ts...>::value;
};
template... | {
"content_hash": "fcecf4b9377667b468334ebf2b2446cc",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 77,
"avg_line_length": 29.107142857142858,
"alnum_prop": 0.65920245398773,
"repo_name": "Thhethssmuz/mmm",
"id": "5b2a78fef5b88b8f2623da538990feeb13364c5c",
"size": "3274"... |
#include <cstddef>
#include <gmp.h>
#include "util/memory.h"
#include "util/numerics/mpz.h"
#include "util/numerics/mpq.h"
#include "util/numerics/mpbq.h"
#include "util/numerics/mpfp.h"
#include "util/numerics/zpz.h"
#include "util/numerics/primes.h"
namespace lean {
extern "C" void * cxx_malloc(size_t size) { retur... | {
"content_hash": "f243a98dc2fe9721cef47cc3e065f8c2",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 103,
"avg_line_length": 26.314285714285713,
"alnum_prop": 0.6655808903365906,
"repo_name": "sp3ctum/lean",
"id": "4ad081f3e43f606e5161ba65321b31aeb0722b4e",
"size": "1084",... |
package org.apache.camel.dataformat.univocity;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import org.apache.camel.EndpointInject;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.spi.DataFormat;
import org.apache.... | {
"content_hash": "5de83b2b89516628e2026309ea460b49",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 123,
"avg_line_length": 36.11940298507463,
"alnum_prop": 0.6179752066115702,
"repo_name": "cunningt/camel",
"id": "e9cc0ffb21af5c6f618852b40dd2bab96ca26624",
"size": "5642... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package es.ua.dlsi.probabilitiesfromhmm;
import es.ua.dlsi.suffixtree.Node;
import java.util.Set;
/**
*
* @author miquel
*/
public class StoredNode{
public StoredNode(Node current_node, Set<String> visited_... | {
"content_hash": "cf24590637a6878aaed035fd681bcf28",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 71,
"avg_line_length": 23.107142857142858,
"alnum_prop": 0.6924265842349304,
"repo_name": "abumatran/pat",
"id": "86ce9751a36ade520f801c401adec5a2e254a3f3",
"size": "647",
... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "d178f214fde23d26565aa2d7bcc3570a",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "be301817da2ce9afa952f4279f2d656cfa66e218",
"size": "205... |
package org.apache.tools.ant.gui.event;
import org.apache.tools.ant.gui.acs.ACSElement;
import org.apache.tools.ant.gui.acs.ACSTaskElement;
import org.apache.tools.ant.gui.core.AppContext;
/**
* Event fired when one or more tasks are selected.
*
* @version $Revision: 1.1.1.1 $
* @author Simeon Fitch
*/
public... | {
"content_hash": "99e97ba40d7bcbcfa57cde3f1c59094a",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 68,
"avg_line_length": 25.12121212121212,
"alnum_prop": 0.6562123039806996,
"repo_name": "deepakalur/acre",
"id": "49c31e6bda17aa81fc7324fa9c0f5ffe2113d213",
"size": "3380"... |
namespace net {
class NET_EXPORT_PRIVATE QuicEncrypter {
public:
virtual ~QuicEncrypter() {}
static QuicEncrypter* Create(QuicTag algorithm);
// Sets the encryption key. Returns true on success, false on failure.
//
// NOTE: The key is the client_write_key or server_write_key derived from
// the master ... | {
"content_hash": "62b110858496ed1cc9682599d0be6a4b",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 79,
"avg_line_length": 44.526315789473685,
"alnum_prop": 0.650709219858156,
"repo_name": "jaruba/chromium.src",
"id": "5cb40a1fa5afbe136ece0ad1acebf5639784dc8c",
"size": "3... |
package org.apache.jackrabbit.oak.plugins.segment;
import static junit.framework.Assert.assertEquals;
import static org.apache.jackrabbit.oak.plugins.memory.EmptyNodeState.EMPTY_NODE;
import java.util.Calendar;
import java.util.Collections;
import org.apache.jackrabbit.oak.api.Type;
import org.apache.jackrabbit.oak... | {
"content_hash": "cd9bcd12105b4b4cadb86b6edf4605b2",
"timestamp": "",
"source": "github",
"line_count": 183,
"max_line_length": 81,
"avg_line_length": 40.28415300546448,
"alnum_prop": 0.6576234400434074,
"repo_name": "ieb/jackrabbit-oak",
"id": "6ab0deeb4c3f805154ef34b2edff4c840c60dc5d",
"size": "8... |
#include "facekit/model/orthographic_projection.hpp"
/**
* @namespace FaceKit
* @brief Development space
*/
namespace FaceKit {
#pragma mark -
#pragma mark Initialization
/*
* @name OrthographicProjection
* @fn OrthographicProjection(const T focal, const T width, const T height)
* @brief Constr... | {
"content_hash": "6e8d559c548593895df82aecc7a329d7",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 78,
"avg_line_length": 27.64761904761905,
"alnum_prop": 0.6011023079572856,
"repo_name": "ChristopheEcabert/FaceKit",
"id": "2ac9e5cd43c8f99f76c77d0def0324be586d15ea",
"si... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Annls Sci. Nat. , Bot. , sér. 4 19: 357 (1863)
#### Original name
Lecidea melina Kremp. ex Nyl.
### Remarks
null | {
"content_hash": "37b1039af0b751e60533665fb20c2889",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 46,
"avg_line_length": 15.384615384615385,
"alnum_prop": 0.67,
"repo_name": "mdoering/backbone",
"id": "b6945a4ebce1c2df874ca4ec079dd5c031290ef3",
"size": "254",
"binary"... |
function [theta] = normalEqn(X, y)
%NORMALEQN Computes the closed-form solution to linear regression
% NORMALEQN(X,y) computes the closed-form solution to linear
% regression using the normal equations.
theta = zeros(size(X, 2), 1);
% ====================== YOUR CODE HERE ======================
% Instructions: ... | {
"content_hash": "b6dfad2e88e4b3cd46833c8b608a46d2",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 69,
"avg_line_length": 31.941176470588236,
"alnum_prop": 0.5580110497237569,
"repo_name": "glennrfisher/coursera-machine-learning",
"id": "d4539cec82723f68b6d6c7cd0a46970a8fa... |
<?php
namespace Google\Service\BackupforGKE;
class Namespaces extends \Google\Collection
{
protected $collection_key = 'namespaces';
/**
* @var string[]
*/
public $namespaces;
/**
* @param string[]
*/
public function setNamespaces($namespaces)
{
$this->namespaces = $namespaces;
}
/**... | {
"content_hash": "4865e18cfd08f548c5497f362db56720",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 81,
"avg_line_length": 18.70967741935484,
"alnum_prop": 0.6706896551724137,
"repo_name": "googleapis/google-api-php-client-services",
"id": "c6012e572a7df9c87181baf01cd878634... |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<servico xsi:schemaLocation="http://servicos.gov.br/v3/schema.../servico.xsd" xmlns="http://servicos.gov.br/v3/schema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<id>modificar-registro-de-frota-de-empresa-nacional</id>
<dbId>1059</dbId>
<no... | {
"content_hash": "d499bf1ad1497fd2668a41cdbffd11de",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 704,
"avg_line_length": 60.09142857142857,
"alnum_prop": 0.5820654241156333,
"repo_name": "servicosgovbr/cartas-de-homologacao",
"id": "ec972e1c008fc6facca277a7a7ea6fa28f73c... |
require("../../base/statistics.js");
require("../metric_registry.js");
require("./utils.js");
require("../../model/helpers/chrome_model_helper.js");
require("../../value/numeric.js");
require("../../value/value.js");
'use strict';
global.tr.exportTo('tr.metrics.sh', function() {
var timeDurationInMs_smallerIsBett... | {
"content_hash": "32a2adc808071024cce9cd5df00086dc",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 73,
"avg_line_length": 29.97087378640777,
"alnum_prop": 0.6663427275672174,
"repo_name": "zhaoz/lighthouse",
"id": "67d69409a8f8a1e1198dfd107dc198a65b34e3c2",
"size": "325... |
using UnityEngine;
namespace HoloToolkit.Unity
{
public enum PivotAxis
{
// Rotate about all axes.
Free,
// Rotate about an individual axis.
Y
}
/// <summary>
/// The Billboard class implements the behaviors needed to keep a GameObject oriented towards the user.
... | {
"content_hash": "acb451a794dc2b869ada6d003906fca0",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 107,
"avg_line_length": 27.46153846153846,
"alnum_prop": 0.5159663865546219,
"repo_name": "Go2bad/HoloLens_LandscapeAdventure",
"id": "c20bb2d5580c5f3e251b1c19cd0e325d75c9bc7... |
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (C) 2009 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licens... | {
"content_hash": "e44d6e493056d2564e5a4bc25035e5e1",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 157,
"avg_line_length": 62.25,
"alnum_prop": 0.7452667814113597,
"repo_name": "manuelmagix/android_packages_apps_Settings",
"id": "f06b18866514bafce9bec331ce15a38aa9f6a778",
... |
namespace AngleSharp.Dom.Html
{
using AngleSharp.Extensions;
using AngleSharp.Html;
using System;
/// <summary>
/// Represents the HTML optgroup element.
/// </summary>
sealed class HtmlOptionsGroupElement : HtmlElement, IHtmlOptionsGroupElement
{
#region ctor
public H... | {
"content_hash": "775a57d91d9ec2bd01e38671315ed4bd",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 133,
"avg_line_length": 27.944444444444443,
"alnum_prop": 0.6292246520874751,
"repo_name": "FlorianRappl/AngleSharp",
"id": "e980f8a964826e0594e5f29d859a0315562eeca2",
"siz... |
module ArelExtensions
module Nodes
class Cast < Function
@return_type = :string
attr_accessor :as_attr
def initialize expr
@as_attr = expr[1]
case expr[1]
when :int, 'bigint', 'int', 'smallint', 'tinyint', 'bit'
@return_type = :int
when :float, :decima... | {
"content_hash": "1c68a5d87c28adf718d4a225ff675b0f",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 91,
"avg_line_length": 27.72222222222222,
"alnum_prop": 0.5250501002004008,
"repo_name": "Faveod/arel-extensions",
"id": "f44df4bc75928e9290134fbc4f6f452c91847f85",
"size":... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "20297b5a556bf453028aa3b2ce957ef9",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "f2aae9bf74e84442ae30eeaf1333b796a01744ae",
"size": "179... |
{-
(c) The University of Glasgow 2006
(c) The AQUA Project, Glasgow University, 1996-1998
TcHsSyn: Specialisations of the @HsSyn@ syntax for the typechecker
This module is an extension of @HsSyn@ syntax, for use in the type
checker.
-}
{-# LANGUAGE CPP #-}
module TcHsSyn (
mkHsConApp, mkHsDictLet, mkHsApp,... | {
"content_hash": "56bf70bac0cc835f5cd1a93e6d78ff24",
"timestamp": "",
"source": "github",
"line_count": 1545,
"max_line_length": 108,
"avg_line_length": 41.393527508090614,
"alnum_prop": 0.569590167779463,
"repo_name": "gcampax/ghc",
"id": "45f384ac01c483b2128effd02e4fd0283a7cdead",
"size": "63953"... |
require 'spec_helper'
describe TournamentSeasonsHelper do
describe '#round_title' do
context 'tournament is single elimination' do
before :each do
assign :is_single_elimination, true
assign :winner_rounds, 5
end
context 'is rounds[-1]' do
it 'returns final' do
... | {
"content_hash": "b0b75139e0651903de9179118de74ea3",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 115,
"avg_line_length": 34.16867469879518,
"alnum_prop": 0.5714033850493653,
"repo_name": "volontariat/voluntary_competition",
"id": "4541e9405960a37c3d37b6463ef418701dbdc16... |
package org.broadinstitute.hellbender.engine.spark.datasources;
import htsjdk.samtools.BamFileIoUtils;
import htsjdk.samtools.SAMFileHeader;
import htsjdk.samtools.SAMRecord;
import htsjdk.samtools.cram.build.CramIO;
import htsjdk.samtools.util.IOUtil;
import org.apache.hadoop.conf.Configuration;
import org.apache.had... | {
"content_hash": "6a22164e00b3c96036410b5dce7517af",
"timestamp": "",
"source": "github",
"line_count": 398,
"max_line_length": 192,
"avg_line_length": 52.37688442211055,
"alnum_prop": 0.692890722440756,
"repo_name": "magicDGS/gatk",
"id": "16c70f86367fba1acaa22aa406b0b0490c2102ae",
"size": "20846"... |
<section class="my-content adm">
<div class="myContainer">
ADM HOME
</div>
</section>
<script src="<?=base_url("js/my_script-adm.js")?>" ></script> | {
"content_hash": "a1544cca956b43ea2e5648c99a197291",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 61,
"avg_line_length": 24,
"alnum_prop": 0.5773809523809523,
"repo_name": "andrebonetti/Gerensys_LojaVirtual",
"id": "219c62ab471b5b61285aca8b786d79d8574abf61",
"size": "168... |
<?php
namespace Surfnet\ServiceProviderDashboard\Application\CommandHandler\Entity;
use Psr\Log\LoggerInterface;
use Surfnet\ServiceProviderDashboard\Application\Command\Entity\DeletePublishedProductionEntityCommand;
use Surfnet\ServiceProviderDashboard\Application\CommandHandler\CommandHandler;
use Surfnet\Service... | {
"content_hash": "acd53f6f0860e8ae468bded8f0a25196",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 112,
"avg_line_length": 33.55,
"alnum_prop": 0.6696472925981123,
"repo_name": "SURFnet/sp-dashboard",
"id": "32afbf4a71d95b1a4e2d7d9cb83c4890dac6fdbc",
"size": "2609",
"b... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Управление общими сведениями о сборке осуществляется с помощью
// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения,
// связанные со сборкой.
[assembly: AssemblyTitle("homework 5_3")]
[a... | {
"content_hash": "a7a927b8b3a2d77e676a68dadd341006",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 99,
"avg_line_length": 39.138888888888886,
"alnum_prop": 0.7565649396735273,
"repo_name": "AlexanderKiselyov/Homework",
"id": "76e0f7217c82c8ad1d141cf10b65c094f8c61e23",
"s... |
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using JSONAPI.Core;
using JSONAPI.Documents;
using JSONAPI.Documents.Builders;
using JSONAPI.Json;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Newtonsoft.Json.Linq;
namespace JSONAPI.Tests.Documents.Builders
{
[T... | {
"content_hash": "734a30c882e70137dcf99c7280aba833",
"timestamp": "",
"source": "github",
"line_count": 288,
"max_line_length": 170,
"avg_line_length": 48.49305555555556,
"alnum_prop": 0.62666475726765,
"repo_name": "SphtKr/JSONAPI.NET",
"id": "f5afb35330332bbb345eedbc8fbce68b06e3c6c7",
"size": "13... |
<?php
// include function files for this application
require_once('movie_sc_fns.php');
session_start();
do_html_header("Adding a movie");
if (check_admin_user()) {
if (filled_out($_POST)) {
$movieid = $_POST['movieid'];
$title = $_POST['title'];
$director = $_POST['director'];
$catid = $_POST['cati... | {
"content_hash": "331636f182d0a5932cf63f7e57c18d9c",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 96,
"avg_line_length": 28,
"alnum_prop": 0.6006493506493507,
"repo_name": "Sapphirine/Movie-Review-Sentiment-Analysis",
"id": "bf03c80d689d6df4b3c7a574f6609f5b1d4a9745",
"s... |
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build cgo
package runtime_test
import (
"runtime"
"strings"
"testing"
)
func TestCgoCrashHandler(t *testing.T) {
testCrashHandler(t, true)
}
func Te... | {
"content_hash": "880d6911f6fe44faa3c100ddde858601",
"timestamp": "",
"source": "github",
"line_count": 196,
"max_line_length": 73,
"avg_line_length": 15.576530612244898,
"alnum_prop": 0.627906976744186,
"repo_name": "wesolows/golang-old",
"id": "972eedc624ee3d192240d0b764cfa517f174a6ef",
"size": "... |
require "berg/repository"
require "main/entities/home_page_featured_item"
module Main
module Persistence
module Repositories
class HomePageFeaturedItems < Berg::Repository[:home_page_featured_items]
relations :home_page_featured_items
def listing
home_page_featured_items
... | {
"content_hash": "28f749527d80922e7a20cb313cd02b2b",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 79,
"avg_line_length": 23.88888888888889,
"alnum_prop": 0.6627906976744186,
"repo_name": "icelab/berg",
"id": "06448c1dc7bdb476ee3ab8d71ff2424796e27383",
"size": "430",
"... |
package gnu.javax.sound.midi.alsa;
import gnu.classpath.Configuration;
import javax.sound.midi.MidiDevice;
import javax.sound.midi.MidiDevice.Info;
import javax.sound.midi.spi.MidiDeviceProvider;
/**
* Provide ALSA MIDI devices.
*
* @author Anthony Green (green@redhat.com)
*
*/
public class AlsaMidiDevicePro... | {
"content_hash": "f5591017527593e72dabdb432c20c69b",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 93,
"avg_line_length": 21.635359116022098,
"alnum_prop": 0.6424923391215526,
"repo_name": "the-linix-project/linix-kernel-source",
"id": "33181b6d54cda8cd40e01b0ec21a3e11210... |
module Locomotive
module Steam
module Middlewares
class Cache
attr_reader :app
CACHEABLE_REQUEST_METHODS = %w(GET HEAD).freeze
def initialize(app)
@app = app
end
def call(env)
if cacheable?(env)
fetch_cached_response(env)
... | {
"content_hash": "c4e834329742f32e73129e9ef7ea18ee",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 104,
"avg_line_length": 23.822580645161292,
"alnum_prop": 0.5179417738659445,
"repo_name": "ipmobiletech/locomotivecms-engine",
"id": "b7232c0083111ced6d18109011835f658c7331a... |
package io.jboot.test.seata.commons;
import com.jfinal.plugin.activerecord.IBean;
import io.jboot.db.annotation.Table;
import io.jboot.db.model.JbootModel;
@Table(tableName = "seata_stock", primaryKey = "ID")
public class Stock extends JbootModel<Stock> implements IBean {
/**
*
*/
private static f... | {
"content_hash": "63c13aef021c35c52140cfc75ca692d7",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 63,
"avg_line_length": 23.933333333333334,
"alnum_prop": 0.7158774373259053,
"repo_name": "yangfuhai/jboot",
"id": "ffcacdf64b0dbd752e2ee48c73ca505246ae3f09",
"size": "359"... |
// Visual Studio Shared Project
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LICENSE-2.0
//
... | {
"content_hash": "7d56f5187369798f09516a362d03ebac",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 204,
"avg_line_length": 99.42647058823529,
"alnum_prop": 0.724744860227777,
"repo_name": "int19h/PTVS",
"id": "a010605dc9ea2bf3b452eb87690416ab1b6226d7",
"size": "6763",
... |
<?php
namespace Contentinum\View\Helper\News;
use ContentinumComponents\Images\CalculateResize;
class Categories extends Images
{
const VIEW_TEMPLATE = 'newsactual';
public function __invoke($entries, $template, $media)
{
$templateKey = static::VIEW_TEMPLATE;
if ... | {
"content_hash": "0703943762eb29372bcda8ac7258aa50",
"timestamp": "",
"source": "github",
"line_count": 146,
"max_line_length": 200,
"avg_line_length": 51.91095890410959,
"alnum_prop": 0.3872542551787835,
"repo_name": "jochum-mediaservices/contentinum5.5",
"id": "33ad6c5bb986f480dd637baee708b844440d4... |
using namespace llvm;
namespace {
// Used to build addressing modes.
struct RISCVAddressingMode {
// The shape of the address.
enum AddrForm {
// base+offset
FormBO
};
AddrForm Form;
// The type of displacement.
enum OffRange {
Off12Only
};
OffRange OffR;
// The parts of the address. ... | {
"content_hash": "5a4271bd6493ac7d8d205b84d28e7a97",
"timestamp": "",
"source": "github",
"line_count": 423,
"max_line_length": 89,
"avg_line_length": 33.59574468085106,
"alnum_prop": 0.634156639223137,
"repo_name": "dededong/goblin-core",
"id": "aaac1fde6ff4cdbc6aa019e72afd6a31ea1fc8b8",
"size": "... |
package org.opencb.opencga.storage.hadoop.variant.stats;
import org.opencb.biodata.models.variant.metadata.Aggregation;
import org.opencb.commons.datastore.core.ObjectMap;
import org.opencb.commons.datastore.core.QueryOptions;
import org.opencb.opencga.storage.core.exceptions.StorageEngineException;
import org.opencb.... | {
"content_hash": "c239b95487906b04ea155cd514f3ba0b",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 139,
"avg_line_length": 46.43023255813954,
"alnum_prop": 0.7275231655396944,
"repo_name": "opencb/opencga",
"id": "6efa3f3fadc6a1c2fe65e1c14cb46a5638b59db6",
"size": "3993"... |
package gov.nara.nwts.ftapp.filter;
/**
* Filter for AV files
* @author TBrady
*
*/
public class AVFileTestFilter extends DefaultFileTestFilter {
public String getSuffix() {
return ".*(\\.wav|\\.mov|\\.mp3|\\.avi|\\.dpx|\\.mxf)$";
}
public boolean isReSuffix() {
return true;
}
public St... | {
"content_hash": "bfd051508554add96f3d2af18646bfa5",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 61,
"avg_line_length": 20.055555555555557,
"alnum_prop": 0.6149584487534626,
"repo_name": "Georgetown-University-Libraries/File-Analyzer",
"id": "3f3c2ceb97d72abf97b6346e9462... |
require "set"
require_relative "thor/base"
class Bundler::Thor
class << self
# Allows for custom "Command" package naming.
#
# === Parameters
# name<String>
# options<Hash>
#
def package_name(name, _ = {})
@package_name = name.nil? || name == "" ? nil : name
end
# Sets the ... | {
"content_hash": "187b476cfc159d4a47bb985e67c4d99c",
"timestamp": "",
"source": "github",
"line_count": 524,
"max_line_length": 123,
"avg_line_length": 31.982824427480917,
"alnum_prop": 0.6217554746703264,
"repo_name": "bundler/bundler",
"id": "01c0b2f83c8f68401e50c4209d7d75999a2d8d41",
"size": "16... |
<?php
class Documents_DetailView_Model extends Vtiger_DetailView_Model {
/**
* Function to get the detail view links (links and widgets)
* @param <array> $linkParams - parameters which will be used to calicaulate the params
* @return <array> - array of link models in the format as below
* ... | {
"content_hash": "bbda8f86991718606e02c89b30d54f6c",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 126,
"avg_line_length": 37.80769230769231,
"alnum_prop": 0.6703967446592065,
"repo_name": "basiljose1/byjcrm",
"id": "f4a74de54f8d01710ddf20b7257e0ef537fa5f57",
"size": "24... |
module Azure::MixedReality::Mgmt::V2019_02_28_preview
module Models
#
# Spatial Anchors Account Keys
#
class SpatialAnchorsAccountKeys
include MsRestAzure
# @return [String] value of primary key.
attr_accessor :primary_key
# @return [String] value of secondary key.
att... | {
"content_hash": "a7c6c1f49bea971c9e4b02a50a1390e0",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 64,
"avg_line_length": 26.074074074074073,
"alnum_prop": 0.4921875,
"repo_name": "Azure/azure-sdk-for-ruby",
"id": "a76f84d62e4c2d244b658b7482b415287e07e123",
"size": "1572... |
package io.aos.address;
import static org.junit.Assert.assertNotNull;
import java.io.IOException;
import java.net.InetAddress;
import java.net.UnknownHostException;
import org.junit.Ignore;
import org.junit.Test;
import org.xbill.DNS.DClass;
import org.xbill.DNS.ExtendedResolver;
import org.xbill.DNS.Message;
impor... | {
"content_hash": "6f1b7fcfc86576d855d5b3c46a7c3dd7",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 68,
"avg_line_length": 30.967741935483872,
"alnum_prop": 0.6796875,
"repo_name": "XClouded/t4f-core",
"id": "0faea3e4ae6674f62b039c316175758662375e64",
"size": "3108",
"b... |
package com.yueny.demo.capture;
import org.junit.After;
import org.junit.Before;
import org.junit.runner.RunWith;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.test.context.ActiveProfiles;
import org.springframework.test.context.ContextConfiguration;
import org.springfram... | {
"content_hash": "c1b4247898655983352949cd0ea661d0",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 80,
"avg_line_length": 30.93103448275862,
"alnum_prop": 0.7792642140468228,
"repo_name": "yueny/pra",
"id": "6c8f33f98b2d2475320339236da68411b37a4d00",
"size": "913",
"bi... |
FROM balenalib/orbitty-tx2-alpine:3.12-build
# remove several traces of python
RUN apk del python*
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
# key 63C7CC90: public key "Simon McVittie <smcv@pseudorand... | {
"content_hash": "3b38c0df9b35f6c241838787648f1317",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 716,
"avg_line_length": 57.17391304347826,
"alnum_prop": 0.7203422053231939,
"repo_name": "nghiant2710/base-images",
"id": "3061066616c69c893375fb6912fb49f495523fd1",
"size... |
// Copyright 2014 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | {
"content_hash": "98d351e1dde31a3616b110b65471462e",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 100,
"avg_line_length": 37.065693430656935,
"alnum_prop": 0.6898385191020087,
"repo_name": "kchodorow/bazel",
"id": "07f8fafb896676328e07ae440d404bbfc8dc162c",
"size": "50... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Class LINE\LINEBot\Event\MessageEvent\LocationMessage | line-bot-sdk-php</title>
<link rel="stylesheet" href="resources/style.css?c2f33731c1948fbed7c333554678bfa68d4817da">
</head>
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Ov... | {
"content_hash": "a00fb94df9f0def068a49a574944222c",
"timestamp": "",
"source": "github",
"line_count": 443,
"max_line_length": 240,
"avg_line_length": 24.20316027088036,
"alnum_prop": 0.6418578623391158,
"repo_name": "peatpon/line-bot-sdk",
"id": "63777467328b9982c6c152c42ec14174a1852d0e",
"size":... |
this.workbox = this.workbox || {};
this.workbox.strategies = (function (logger_mjs,assert_mjs,cacheNames_mjs,cacheWrapper_mjs,fetchWrapper_mjs,getFriendlyURL_mjs) {
'use strict';
try {
self.workbox.v['workbox:strategies:3.4.1'] = 1;
} catch (e) {} // eslint-disable-line
const getFriendlyURL = url => {... | {
"content_hash": "32d8bf42d690f309530ecc840d277758",
"timestamp": "",
"source": "github",
"line_count": 1086,
"max_line_length": 174,
"avg_line_length": 35.451197053407,
"alnum_prop": 0.6292987012987012,
"repo_name": "barrabinfc/react-iching",
"id": "e14c1ac71a660cf8b8b29a9ac6fe850361b0f9f3",
"size... |
const int ID_TOOLBAR = 500;
static const long TOOLBAR_STYLE = wxTB_FLAT | wxTB_DOCKABLE | wxTB_TEXT;
enum
{
IDM_VIEW_TOOLBARSHOW = 200,
//Îļþ²Ëµ¥Ïî
IDM_FILE_SAVE,
IDM_FILE_OPEN,
//±à¼²Ëµ¥Ïî
IDM_EDIT_UNDO,
IDM_EDIT_COPY,
IDM_EDIT_PASTE,
IDM_EDIT_CUT,
IDM_EDIT_DE... | {
"content_hash": "842d3749de7343c37766ce3977593c7e",
"timestamp": "",
"source": "github",
"line_count": 442,
"max_line_length": 184,
"avg_line_length": 28.38914027149321,
"alnum_prop": 0.6585910105196047,
"repo_name": "NaughtyCode/Editor",
"id": "9eeb9196e474dc310ee4193d0f8d9235fd3dabe7",
"size": "... |
export {find} from "./find"
export {bind} from "./bind"
export {defer} from "./defer"
export {filter} from "./filter"
export {expand} from "./expand"
export {flatten} from "./flatten"
export * from "./logging"
| {
"content_hash": "bf0b37819441e6bcc905556e52f51c22",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 33,
"avg_line_length": 30,
"alnum_prop": 0.6714285714285714,
"repo_name": "bucaran/fly-util",
"id": "7e8c0a13bd60a1cab7191dda21ec7a11b3d086d5",
"size": "210",
"binary": fa... |
#pragma once
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <v4r/common/normal_estimator.h>
#include <v4r/core/macros.h>
namespace v4r
{
/**
* @author Thomas Faeulhammer (faeulhammer@acin.tuwien.ac.at)
* @date July, 2015
* @brief collection of methods for normal computation of ... | {
"content_hash": "95d24c8980e129639e7444efb1501656",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 76,
"avg_line_length": 23.193548387096776,
"alnum_prop": 0.6981919332406119,
"repo_name": "ThoMut/v4r",
"id": "9c3ce83eb254a0e9709c763411fb719c744a5d9a",
"size": "1998",
... |
ALTER TABLE PROTOCOL_FUNDING_SOURCE DROP CONSTRAINT FK_PROTOCOL_FUNDING_SOURCE2;
ALTER TABLE PROTOCOL_FUNDING_SOURCE MODIFY (FUNDING_SOURCE_TYPE_CODE VARCHAR2(3));
-- These must be run together to avoid errors --
-- ALTER TABLE FUNDING_SOURCE_TYPE MODIFY (FUNDING_SOURCE_TYPE_CODE VARCHAR2(3)); --
ALTER TABLE FUNDING_S... | {
"content_hash": "2314f90d4ac32bfd8780a7cb991cbbac",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 84,
"avg_line_length": 45.91304347826087,
"alnum_prop": 0.7859848484848485,
"repo_name": "blackcathacker/kc.preclean",
"id": "92ccafac571d2a6127a3ef29a75b310c5f49a067",
"si... |
#ifndef __G_MARKUP_H__
#define __G_MARKUP_H__
#include <stdarg.h>
#include <glib/gerror.h>
G_BEGIN_DECLS
typedef enum
{
G_MARKUP_ERROR_BAD_UTF8,
G_MARKUP_ERROR_EMPTY,
G_MARKUP_ERROR_PARSE,
/* These three are primarily intended for specific GMarkupParser
* implementations to set.
*/
G_MARKUP_ERROR_... | {
"content_hash": "3f6c9e436563bacb15e99b660424d7a8",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 92,
"avg_line_length": 38.794642857142854,
"alnum_prop": 0.4915995397008055,
"repo_name": "relokin/parsec",
"id": "b272d5ca7653eb43395d7d1c92cfd3d829fa6e11",
"size": "5182... |
using namespace cocos2d;
HelloSimple::~HelloSimple()
{
if (_targets)
{
_targets->release();
_targets = NULL;
}
if (_projectiles)
{
_projectiles->release();
_projectiles = NULL;
}
// cpp don't need to call super dealloc
// virtual destructor will do this
}
HelloSimple::HelloSimp... | {
"content_hash": "199578134f2a8069969a0861022ff1b8",
"timestamp": "",
"source": "github",
"line_count": 316,
"max_line_length": 111,
"avg_line_length": 32.46518987341772,
"alnum_prop": 0.6411930987425675,
"repo_name": "linyehui/cocos2dx-game-as-library",
"id": "54f3dd25be901ea5b48008e30aebe04cbf35ebf... |
void main()
{
VDPSECURITY(); // Unlock VDP if necessary
for(;;) {
BDP_WRITE("Hello C world\n", 14); // Send data to BDB
ENTER_MONITOR(); // Go to monitor mode to wait for debug commands
}
}
| {
"content_hash": "82cedbc56b5907dc86387f46c11d8bd9",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 69,
"avg_line_length": 25.5,
"alnum_prop": 0.6176470588235294,
"repo_name": "retro16/blastsdk",
"id": "73fbf1fbcfa36eb7410b0a0b83b3a46793cf7505",
"size": "222",
"binary": ... |
using System;
using static ValveResourceFormat.CompiledShader.ShaderUtilHelpers;
namespace ValveResourceFormat.CompiledShader
{
public class ConfigMappingDParams
{
public ConfigMappingDParams(ShaderFile shaderfile)
{
GenerateOffsetAndStateLookups(shaderfile);
}
int[... | {
"content_hash": "8bb308fc4b374556683b53dcf7573a9d",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 73,
"avg_line_length": 28.618181818181817,
"alnum_prop": 0.5235069885641678,
"repo_name": "SteamDatabase/ValveResourceFormat",
"id": "fb62a639dc940dd3cfa2eb69f6ffe42f94da2979... |
This is a small project that I would love to see benefit others. However, it has been done in my limited spare time and I will do my best to help any others with issues but it is not a supported project.
## Our Pledge
In the interest of fostering an open and welcoming environment, we as contributors and maintainers p... | {
"content_hash": "ef33e3dc64ec18476a5b1fa3fcade923",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 449,
"avg_line_length": 73.47826086956522,
"alnum_prop": 0.8177514792899409,
"repo_name": "kevmcdonk/Mcd79FindNewsImage",
"id": "3e5f6771c96b0c682be4029bcff2c9878e02b615",
... |
'use strict';
jest.dontMock('../../scripts/components/MenuButton.js');
let React = require('react/addons'),
MenuButton = require('../../scripts/components/MenuButton.js');
let TestUtils = React.addons.TestUtils;
describe("MenuButton", () => {
it("renders a menubutton", () => {
let handlerFunc = () =>... | {
"content_hash": "5b6cb1744c10cc4ddaf32525a466c29c",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 81,
"avg_line_length": 37.1578947368421,
"alnum_prop": 0.6225212464589235,
"repo_name": "zupzup/reactgym",
"id": "d8fdc2471d91655dabd4bbc342e8da4901e1b971",
"size": "1412",... |
package example.dropwizard.armeria.services.http;
import com.linecorp.armeria.common.HttpResponse;
import com.linecorp.armeria.common.HttpStatus;
import com.linecorp.armeria.common.MediaType;
import com.linecorp.armeria.server.annotation.Get;
import com.linecorp.armeria.server.annotation.ProducesJson;
import com.linec... | {
"content_hash": "45c049bd5edb2eec1c2b42687cba8c96",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 97,
"avg_line_length": 30.92,
"alnum_prop": 0.7153945666235446,
"repo_name": "kojilin/armeria",
"id": "a68fca345a0c7ee3baf5dc8a8f20384828f905fe",
"size": "773",
"binary":... |
\newcommand{\Date}{February 14, 2021}
\newcommand{\Title}{Teaching: What Is the Bible?}
\input{../../includes/01-preamble}
\noindent As Seth mentioned, we're going to be spending a few weeks delving into
the idea of being formed by scripture. This series will go for several weeks and
we'll be hearing from Will and Se... | {
"content_hash": "d62f37c08d448c32d2f9bb848c354156",
"timestamp": "",
"source": "github",
"line_count": 328,
"max_line_length": 81,
"avg_line_length": 57.7469512195122,
"alnum_prop": 0.7667493796526055,
"repo_name": "lovek323/lovek323.github.io",
"id": "408b720c45d16ca531a11e8b4085e7eb4f4cab3e",
"s... |
package org.elasticsearch.xpack.security.action.privilege;
import org.elasticsearch.action.ActionListener;
import org.elasticsearch.action.support.ActionFilters;
import org.elasticsearch.action.support.HandledTransportAction;
import org.elasticsearch.common.inject.Inject;
import org.elasticsearch.tasks.Task;
import o... | {
"content_hash": "091694dc67631c759c075b91a709356c",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 131,
"avg_line_length": 46.54761904761905,
"alnum_prop": 0.767774936061381,
"repo_name": "robin13/elasticsearch",
"id": "61673ab9ac0f42dc89465c656c345d11afdb2494",
"size": ... |
import sys
from keystone.common import cms
from oslo_config import cfg
from oslo_log import log
from oslo_serialization import jsonutils
from oslo_utils import importutils
from oslo_utils import timeutils
import six
from keystone.common import controller
from keystone.common import dependency
from keystone.common imp... | {
"content_hash": "75fe02aa5ed7414e19300cb64fcdc7ba",
"timestamp": "",
"source": "github",
"line_count": 561,
"max_line_length": 79,
"avg_line_length": 41.03030303030303,
"alnum_prop": 0.5816752107046659,
"repo_name": "darren-wang/ks3",
"id": "47c36ada0ce1c8bb7e861d685e7ed49a532661ff",
"size": "2360... |
@ECHO OFF
REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set BUILDDIR=_build
set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .
set I18NSPHINXOPTS=%SPHINXOPTS% .
if NOT "%PAPER%" == "" (
set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS... | {
"content_hash": "22b15b1c7303f56aef93bc4cbe1c9149",
"timestamp": "",
"source": "github",
"line_count": 242,
"max_line_length": 79,
"avg_line_length": 27.74793388429752,
"alnum_prop": 0.675204765450484,
"repo_name": "andrewsmedina/django-admin2",
"id": "148211dd280a7465c93f6a98be3b0b6d0ee25fef",
"s... |
package org.apache.nifi.processors.smb;
import static java.util.Arrays.asList;
import static java.util.Arrays.fill;
import static java.util.stream.Collectors.toSet;
import static org.apache.nifi.processor.util.list.AbstractListProcessor.LISTING_STRATEGY;
import static org.apache.nifi.processor.util.list.AbstractListP... | {
"content_hash": "ae9bb13fef3e3bd31c773e144c899b9f",
"timestamp": "",
"source": "github",
"line_count": 282,
"max_line_length": 117,
"avg_line_length": 48.741134751773046,
"alnum_prop": 0.7297926518734085,
"repo_name": "jfrazee/nifi",
"id": "8ef5aa7ba3a941230afd3b6cbecf7de2fe78af17",
"size": "14546... |
package net.schmizz.sshj.common;
/** Disconnect error codes */
public enum DisconnectReason {
UNKNOWN,
HOST_NOT_ALLOWED_TO_CONNECT,
PROTOCOL_ERROR,
KEY_EXCHANGE_FAILED,
RESERVED,
MAC_ERROR,
COMPRESSION_ERROR,
SERVICE_NOT_AVAILABLE,
PROTOCOL_VERSION_NOT_SUPPORTED,
HOST_KEY_NOT_... | {
"content_hash": "5cd576f703e4267dca707dfb1fb805f9",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 54,
"avg_line_length": 21.285714285714285,
"alnum_prop": 0.6322147651006711,
"repo_name": "ashwanthkumar/sshj",
"id": "5984d4c75db10a1fdab8ed3a556118b8a083daba",
"size": "1... |
FROM debian:sid
RUN echo force-unsafe-io > /etc/dpkg/dpkg.cfg.d/docker-apt-speedup
# Paper over occasional network flakiness of some mirrors.
RUN echo 'APT::Acquire::Retries "5";' > /etc/apt/apt.conf.d/80retry
# NOTE: I tried exclusively using gce_debian_mirror.storage.googleapis.com
# instead of httpredir.debian.org... | {
"content_hash": "d4af92a119eee7450201f9584e9e6fd7",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 493,
"avg_line_length": 63.285714285714285,
"alnum_prop": 0.7635440180586908,
"repo_name": "cornerman/i3",
"id": "7eafb9fb12dcf6f3750a5012a2af30e8541c0ea9",
"size": "1794",... |
package strict
import (
"io/ioutil"
"path/filepath"
"testing"
kubeadmapiv1 "k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/v1beta3"
"k8s.io/kubernetes/cmd/kubeadm/app/constants"
"k8s.io/apimachinery/pkg/runtime/schema"
kubeproxyconfigv1alpha1 "k8s.io/kube-proxy/config/v1alpha1"
kubeletconfigv1beta1 "k8s.io... | {
"content_hash": "2376ee834667adeb9cc40d5131c5d4d8",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 89,
"avg_line_length": 28.877551020408163,
"alnum_prop": 0.6812720848056537,
"repo_name": "Acidburn0zzz/kubernetes",
"id": "3c5924602178fc1f08791d720d5872e056c3c33c",
"siz... |
'use strict';
// future work would be to query TSSstatus API to grab this info
// but then the app would hit the interwebs. Could make configurable
// this would allow us to easily determine latest ios version by device
// https://api.ineal.me/tss/status
module.exports = {
LATEST_IOS_VERSION: '12.4.1'
};
| {
"content_hash": "cece1ca98060f1a8abb4de3fcda5d8c9",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 71,
"avg_line_length": 31,
"alnum_prop": 0.7322580645161291,
"repo_name": "ahoog42/ios-triage",
"id": "057a6117741003b8f52da4f227e78b77af5bf8d0",
"size": "310",
"binary":... |
var optional = require('./lib/optional')
, http = require('http')
, https = optional('https')
, tls = optional('tls')
, url = require('url')
, util = require('util')
, stream = require('stream')
, qs = require('qs')
, querystring = require('querystring')
, crypto = require('crypto')
, zlib = require... | {
"content_hash": "f9af250ace58c4f161f9eb74a8b59206",
"timestamp": "",
"source": "github",
"line_count": 1299,
"max_line_length": 164,
"avg_line_length": 31.53194765204003,
"alnum_prop": 0.6080810546875,
"repo_name": "wenjoy/homePage",
"id": "dd082d573a4d8f60c36c1cc572a572bb40ce803d",
"size": "40960... |
from django.conf import settings as django_settings
from django.contrib.sites.models import Site
from django.template.defaultfilters import slugify
from django.test import RequestFactory, TestCase
from django.utils import translation
from feincms.extensions.translations import (
translation_set_language,
user_... | {
"content_hash": "ca6da1a000e5d5ebc751478eaff25bf9",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 97,
"avg_line_length": 36.956896551724135,
"alnum_prop": 0.6207137858642408,
"repo_name": "feincms/feincms",
"id": "803c18221e357c231141de2e2ccdb8c884eed0de",
"size": "428... |
<?php namespace App\Http\Requests\Admin;
use App\Http\Requests\Request;
class CreateArticleRequest extends Request {
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the requ... | {
"content_hash": "55a071d34e6e22f432ee8d409caea538",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 61,
"avg_line_length": 14.655172413793103,
"alnum_prop": 0.6517647058823529,
"repo_name": "fishercom/LayqaCMS",
"id": "cdfedae0370fc2815e6b7e7ae033951672eaff66",
"size": "4... |
<?php
/** Zend_Dojo_Form_Element_Dijit */
require_once 'Zend/Dojo/Form/Element/Dijit.php';
/**
* TextBox dijit
*
* @category Zend
* @package Zend_Dojo
* @subpackage Form_Element
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com... | {
"content_hash": "e4fb0e5cfa05c73b3c97fedded6ea338",
"timestamp": "",
"source": "github",
"line_count": 146,
"max_line_length": 87,
"avg_line_length": 21,
"alnum_prop": 0.542726679712981,
"repo_name": "vrunoa/examen-fadgut",
"id": "b3a907780292ae0ce2e7b0b10529100e40ac13a7",
"size": "3764",
"binar... |
package com.iciql.test.models;
import com.iciql.Iciql.IQTable;
import java.util.Arrays;
import java.util.List;
/**
* This class inherits all its fields from a parent class which has annotated
* columns. The IQTable annotation of the parent class is ignored and only the
* IQTable annotation of this class matters... | {
"content_hash": "8c1dc936aecc3071b45ca055ccc32d07",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 110,
"avg_line_length": 46.326530612244895,
"alnum_prop": 0.6524229074889868,
"repo_name": "gitblit/iciql",
"id": "c41a3f0f2245ce90983d4a5467a71844f6ead49f",
"size": "2898"... |
package com.hp.autonomy.frontend.find.idol.configuration;
import com.autonomy.aci.client.annotations.IdolAnnotationsProcessorFactory;
import com.autonomy.aci.client.services.AciService;
import com.hp.autonomy.frontend.configuration.ValidationResult;
import com.hp.autonomy.frontend.configuration.Validator;
import com... | {
"content_hash": "8c8cf6b8aaf5d76951c36c904032bc21",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 125,
"avg_line_length": 33.58536585365854,
"alnum_prop": 0.7973856209150327,
"repo_name": "ExperisIT-rav/FindExperisIT",
"id": "afc74006c2963ce3becfbd5ac0dc76ceb48f06c3",
"... |
<wicket:extend xmlns:wicket="http://www.w3.org/1999/xhtml">
<div wicket:id="filters">
<div wicket:id="container" class="input-container"></div>
</div>
</wicket:extend> | {
"content_hash": "ad22a0ad7789327cf231a1532f140845",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 65,
"avg_line_length": 36.6,
"alnum_prop": 0.6502732240437158,
"repo_name": "WeaxMe/Orienteer",
"id": "0b0232524860f1970adc68a415f4e8c53b520338",
"size": "183",
"binary": ... |
<!DOCTYPE html>
<!--
Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.2
Version: 3.2.0
Author: KeenThemes
Website: http://www.keenthemes.com/
Contact: support@keenthemes.com
Follow: www.twitter.com/keenthemes
Like: www.facebook.com/keenthemes
Purchase: http://themeforest.ne... | {
"content_hash": "c11b817a279d571e864d64f6733d902b",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 138,
"avg_line_length": 54.4375,
"alnum_prop": 0.7183314198239571,
"repo_name": "Tanginatushar/lab_test",
"id": "a942b65efa13fbbbf1661560986c1bb2bc384542",
"size": "2614",
... |
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<string name="cancel">"Ακύρωση"</string>
<string name="http_post_warning">"Στη σελίδα που αναζητάτε χρησιμοποποιήθηκαν πληροφορίες που καταχωρίσατε. Αν επιστρέψετε σε αυτή τη σελίδα ίσως επαναληφθούν ενέργειες ... | {
"content_hash": "37efe36e556890d98e863ef97a73c99f",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 216,
"avg_line_length": 90.21428571428571,
"alnum_prop": 0.7711797307996833,
"repo_name": "kevin-smets/android-chromium",
"id": "ec7cdbe0bb2db9f4abf1cf515d3bd8bc8f2968a9",
... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>posix::stream_descriptor_service::construct</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="../... | {
"content_hash": "0f93ee0589c750754c789a5416f0e7d7",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 442,
"avg_line_length": 67.28846153846153,
"alnum_prop": 0.6396113175192912,
"repo_name": "nicecapj/crossplatfromMmorpgServer",
"id": "3640249b9e0ab288eb0e7de84aaa97c8a900db4... |
/**
* @author Lianna Eeftinck / https://github.com/Leeft
*/
/*
* Helper classes to generate a texture map for the text labels
*
* Based on: http://www.blackpawn.com/texts/lightmaps/default.html
*/
SCMAP.Knapsack = function ( canvas ) {
this.canvas = canvas;
this.rootNode = new SCMAP.Knapsack.Node( this );
... | {
"content_hash": "f99f72dedfec72d9b0e497458562f187",
"timestamp": "",
"source": "github",
"line_count": 205,
"max_line_length": 166,
"avg_line_length": 32.41951219512195,
"alnum_prop": 0.5925368642792658,
"repo_name": "SakyaStelios/Titan",
"id": "73f55fe694e5a236fcd16f294d0fc01a526a01b4",
"size": "... |
package config_service
import (
"strings"
cfgsvc "github.com/Flipkart/config-service/client-go"
"github.com/kelseyhightower/confd/log"
"errors"
"reflect"
"github.com/pquerna/ffjson/ffjson"
"strconv"
)
// Client provides a wrapper around the zookeeper client
type Client struct {
client *cfgsvc.ConfigServiceCli... | {
"content_hash": "3b4a4254e7f29a247a058fa2a9ba8ee7",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 107,
"avg_line_length": 26.313253012048193,
"alnum_prop": 0.6913919413919414,
"repo_name": "Flipkart/confd",
"id": "584cba82a6400d302d625f2fe6b216426fc8e02e",
"size": "436... |
/**
A subrule is defined as follow:
subrule#test(buffer, offset)
@param buffer {Buffer|String} buffer to look for the match
@param offset {Number} start looking at this offset, if < 0, then no match, return -1
@return {Number} next offset (-1 if no match)
subrule#next(buffer, offset)
called by subrule#te... | {
"content_hash": "dcaf78651d1ce69915557f8e445d7e88",
"timestamp": "",
"source": "github",
"line_count": 1276,
"max_line_length": 106,
"avg_line_length": 23.845611285266457,
"alnum_prop": 0.5997305025142143,
"repo_name": "pierrec/node-atok",
"id": "319545a49a2fbf4a10110643f170abf7b133a7cb",
"size": ... |
class CreateDocuments < ActiveRecord::Migration
def change
create_table :documents do |t|
t.string :title, null: false
t.timestamps null: false
end
end
end
| {
"content_hash": "ff0d520449324a923879fcea18d64927",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 47,
"avg_line_length": 20.11111111111111,
"alnum_prop": 0.6795580110497238,
"repo_name": "bjoernalbers/faxomat",
"id": "9453078113cd72aa0f65c30738d237c171b9f5c3",
"size": "1... |
/*
* Qt4 bitcoin GUI.
*
* W.J. van der Laan 2011-2012
* The Bitcoin Developers 2011-2012
*/
#include <QApplication>
#include "bitcoingui.h"
#include "transactiontablemodel.h"
#include "addressbookpage.h"
#include "sendcoinsdialog.h"
#include "signverifymessagedialog.h"
#include "optionsdialog.h"
#include "about... | {
"content_hash": "9297271cebccdaefb42a9ac0fe9b6e38",
"timestamp": "",
"source": "github",
"line_count": 1189,
"max_line_length": 311,
"avg_line_length": 37.8309503784693,
"alnum_prop": 0.6829772570640937,
"repo_name": "8bit-dev/8bit",
"id": "36af0ed5e69e701fcd9720342d74859279dc4110",
"size": "44981... |
module Dynflow
class ExecutionPlan::OutputReference < Serializable
include Algebrick::TypeCheck
# dereferences all OutputReferences in Hash-Array structure
def self.dereference(object, persistence)
case object
when Hash
object.reduce(Utils.indifferent_hash({})) do |h, (key, val)|
... | {
"content_hash": "79ce1094a1c989689d65b3a69a1deedf",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 83,
"avg_line_length": 29.094117647058823,
"alnum_prop": 0.5713708046906592,
"repo_name": "adamruzicka/dynflow",
"id": "4549506aef8e713aa9a25b97912ec23febcd8351",
"size": "... |
.class public Lcom/android/internal/telephony/CellBroadcastConfigInfo;
.super Ljava/lang/Object;
.source "CellBroadcastConfigInfo.java"
# instance fields
.field public channelConfigInfo:Ljava/lang/String;
.field public isAllLanguageOn:Z
.field public languageConfigInfo:Ljava/lang/String;
.field public mode:I
# d... | {
"content_hash": "4cd73adfc1c72969e5f58ed508d49377",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 119,
"avg_line_length": 29.338709677419356,
"alnum_prop": 0.7190764156129742,
"repo_name": "GaHoKwan/tos_device_meizu_mx4",
"id": "1e95ce110c1d63b42e91f0fc8e61082b9465e56b",... |
typedef struct {
// The raw bytecode.
blob_t bytecode;
// The pool of constant values used by the bytecode.
value_t value_pool;
} code_cache_t;
// Updates the code cache according to the given frame. This must be called each
// time control moves from one frame to another.
static void code_cache_refresh(code_c... | {
"content_hash": "47a7437e889dc62fd15453237d330501",
"timestamp": "",
"source": "github",
"line_count": 1118,
"max_line_length": 102,
"avg_line_length": 44.749552772808585,
"alnum_prop": 0.6198081151309215,
"repo_name": "tundra/neutrino",
"id": "94c95a69d3c5ca9230e68325f416775b19a1a102",
"size": "5... |
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Text;
namespace MonoVarmint.Widgets
{
//--------------------------------------------------------------------------------------------... | {
"content_hash": "8c9a658fc76c0c16198705590734ed46",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 126,
"avg_line_length": 39.43478260869565,
"alnum_prop": 0.5608232267548695,
"repo_name": "nebosite/MonoVarmint",
"id": "7b6e0b99d3072d5f7a52f961622a96bdfb0696e7",
"size": ... |
date: 30 August 2011 08:00
categories: news
author: Adam Stacoviak
summary: We were featured on the Ruby5 podcast (thanks!).
---
# Featured on the Ruby5 podcast
We were featured on the Ruby5 podcast (thanks!).
## Ruby5: Episode #201 - August 26th, 2011
<a href="http://ruby5.envylabs.com/episodes/204-episode-201-aug... | {
"content_hash": "5d37b18d7b0e75330526d1050529cc05",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 226,
"avg_line_length": 43.05263157894737,
"alnum_prop": 0.7469437652811736,
"repo_name": "amwelles/thesassway.com",
"id": "5dc9d5e3732f63556547beede97c959dece48c3d",
"size... |
package net.fortuna.ical4j.model.component;
import net.fortuna.ical4j.model.PropertyList;
/**
* $Id$ [05-Apr-2004]
*
* Defines an iCalendar standard timezone observance component.
*
* <pre>
*
* standardc = "BEGIN" ":" "STANDARD" CRLF
*
* tzprop
*
* ... | {
"content_hash": "b17f92927c6452624028f6c4f8f97007",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 79,
"avg_line_length": 22.75925925925926,
"alnum_prop": 0.5427176566314077,
"repo_name": "benfortuna/ical4j",
"id": "7966723a1a548263eae9d1b6827dd156f2d6b27f",
"size": "279... |
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/drawer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:... | {
"content_hash": "8207faac86e8996e3e41159bf5484cc6",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 71,
"avg_line_length": 39.08571428571429,
"alnum_prop": 0.64546783625731,
"repo_name": "shts/NogiFeed",
"id": "22ea088a7add81eb281c799ece450ad532eaa3ee",
"size": "1368",
... |
package com.twitter.sdk.android.tweetcomposer;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.net.Uri;
import org.junit.Test;
import org.junit.runner.RunWith;
impor... | {
"content_hash": "ef011cef5330b8437672b7d074f318ed",
"timestamp": "",
"source": "github",
"line_count": 220,
"max_line_length": 93,
"avg_line_length": 35.67727272727273,
"alnum_prop": 0.6628869919734998,
"repo_name": "twitter/twitter-kit-android",
"id": "bcd9346980d8a8d0dad21f51207db54b67d6f595",
"... |
slug = "common-technology-services-cts"
redirect_path = "/government/publications/technology-code-of-practice/technology-code-of-practice"
group = PolicyGroup.find_by(slug:)
exit unless group
content_id = group.content_id
group.delete
PublishingApiRedirectWorker.new.perform(content_id, redirect_path, "en")
puts "#{... | {
"content_hash": "c14093d9d97ad84169e0b4740226b82c",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 98,
"avg_line_length": 28.916666666666668,
"alnum_prop": 0.7723342939481268,
"repo_name": "alphagov/whitehall",
"id": "85ca3cf756c1e16622994514a952f211f6353379",
"size": "3... |
from setuptools import setup
setup(
name='djangocms-tonicdev',
version='0.1.7',
description='DjangoCMS Tonic Notebook',
author='Aleksandr Zykov',
author_email='tiger@vilijavis.lt',
url='https://github.com/TigerND/djangocms-tonicdev',
packages=[
'djangocms_tonicdev',
'djangoc... | {
"content_hash": "048a316c9e7ff6779334881656869160",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 56,
"avg_line_length": 25.85185185185185,
"alnum_prop": 0.6045845272206304,
"repo_name": "TigerND/djangocms-tonicdev",
"id": "307dd1ea8a3638f3ddf6cedc11e8799b78f5d2fc",
"si... |
require 'shellwords'
require 'cliqr/command/shell_command'
module Cliqr
# Utility methods
#
# @api private
class Util
# Ensure that a variable is a instance object not a class type
#
# @return [Object]
def self.ensure_instance(obj)
return obj.new if obj.class == Class
obj
end
... | {
"content_hash": "e5d500330b416293b0600c9ecacd30b8",
"timestamp": "",
"source": "github",
"line_count": 185,
"max_line_length": 97,
"avg_line_length": 32.064864864864866,
"alnum_prop": 0.6164868509777478,
"repo_name": "anshulverma/cliqr",
"id": "5edbbc3772c81f7294c26a1efbcf951aa7ef72b7",
"size": "5... |
import { all, call, put, takeLatest } from 'redux-saga/effects';
import * as types from './actionTypes';
import spotify from '../client/spotify';
import youTube from '../client/youTube';
import videoSelection from '../client/videoSelection';
import blacklist from '../client/blacklist';
export function* fetchSpotifyAc... | {
"content_hash": "94a5ce9f00f68036a4e8bcaa0bf9fdb7",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 109,
"avg_line_length": 35.975903614457835,
"alnum_prop": 0.6962491627595445,
"repo_name": "VitaC123/youTubeMixTape",
"id": "7b576ce099b8200a29b29b3cd29d2be50f9ed8e0",
"siz... |
input[type=range] {
width: 300px; }
ul[rn-carousel] {
overflow: hidden;
padding: 0;
white-space: nowrap;
position: relative;
perspective: 1000px;
-ms-touch-action: pan-y;
touch-action: pan-y; }
ul[rn-carousel] > li {
color: black;
backface-visibility: hidden;
overflow: visible;
vertic... | {
"content_hash": "f18c758e28ddfd348ec53aaecdf38f0a",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 58,
"avg_line_length": 23.24590163934426,
"alnum_prop": 0.6452750352609309,
"repo_name": "hyeyoungkang/angular-carousel-loop",
"id": "29586e2a008698dfb972caafbf7fe1f1c0fd9347... |
#pragma once
#include <libdariadb/meas.h>
#include <libdariadb/utils/async/locker.h>
#include <common/net_common.h>
#include <tuple>
#include <boost/pool/object_pool.hpp>
#include <common/net_cmn_exports.h>
namespace dariadb {
namespace net {
#pragma pack(push, 1)
struct NetData {
typedef uint16_t MessageSize;
... | {
"content_hash": "12df2c043acdfe7b00f51d1594fc03fb",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 84,
"avg_line_length": 20.68503937007874,
"alnum_prop": 0.6870955462504759,
"repo_name": "dariadb/dariadb",
"id": "e5226ecbc7bd6de50ffcc173dd317d2f1aa6c3d0",
"size": "2627... |
This backend offers read and write access to the Open Sound Control protocol,
spoken primarily by visual interface tools and hardware such as TouchOSC.
#### Global configuration
| Option | Example value | Default value | Description |
|---------------|-----------------------|-----------------------|---------------... | {
"content_hash": "231336c5de9075b0d7103c2aba81c104",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 330,
"avg_line_length": 45.75247524752475,
"alnum_prop": 0.7165115775806102,
"repo_name": "cbdevnet/midimonster",
"id": "61b33245781c128234d5cb02c58dcd8cf4e834c6",
"size":... |
import rcomp from 'rcomp'
import SvgFile from 'components/svgfile'
import { darkSlate } from 'style'
import { join } from 'path'
import { readFileSync } from 'fs'
const comp = rcomp()
const { a, svgfile } = comp.els({ svgfile: SvgFile })
const styles = {
logo: {
position: 'absolute',
height: '17px',
lef... | {
"content_hash": "4cbe01f8c823321f7977eb63e3e0efc1",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 61,
"avg_line_length": 20.28125,
"alnum_prop": 0.5855161787365177,
"repo_name": "adrhino/calf",
"id": "0ccd20fd5cc7300f8e06c2b0789d478810df2391",
"size": "649",
"binary":... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.