text stringlengths 2 1.04M | meta dict |
|---|---|
import React from 'react';
import { TypeInfo, getPropTypes } from './proptypes';
const Enum = ({ propType }) => (
<span>
{getPropTypes(propType)
.map(({ value }) => value)
.join(' | ')}
</span>
);
Enum.propTypes = {
propType: TypeInfo.isRequired,
};
| {
"content_hash": "46256a280474d6874d5094cecce6d173",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 53,
"avg_line_length": 19.571428571428573,
"alnum_prop": 0.583941605839416,
"repo_name": "rhalff/storybook",
"id": "2de8d4830a877c640bf097feefa214b296173a1e",
"size": "274"... |
'use strict';
const parseArgs = require('./args');
const debug = require('debug')('clite');
const getSettings = require('./settings');
const path = require('path');
const findRoot = require('./find-root');
const read = require('./read-stdin');
module.exports = (config, root) => {
const paths = (root ?
[path.jo... | {
"content_hash": "e54eb6ba40c9d6ddcd800a9cb559180f",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 76,
"avg_line_length": 27.69724770642202,
"alnum_prop": 0.5680688969857569,
"repo_name": "sumifit/hunters",
"id": "49df650f892023090c471aa349989e32fbc96981",
"size": "3019... |
using System;
using System.IO;
using NUnit.Framework;
using Realms;
using Realms.Exceptions;
using ExplicitAttribute = NUnit.Framework.ExplicitAttribute;
namespace Tests.Database
{
[TestFixture, Preserve(AllMembers = true)]
public class ConfigurationTests
{
private static void ReliesOnEncryption()... | {
"content_hash": "70154dc5ca638eb996277cd8e5a20193",
"timestamp": "",
"source": "github",
"line_count": 267,
"max_line_length": 156,
"avg_line_length": 32.02247191011236,
"alnum_prop": 0.5442105263157895,
"repo_name": "Shaddix/realm-dotnet",
"id": "f8e4b5a873ba20416b1a34b3df0898fdf9b5f262",
"size":... |
package org.openqa.selenium;
import org.openqa.selenium.internal.BuildInfo;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.HashMap;
import java.util.Map;
public class WebDriverException extends RuntimeException {
public static final String SESSION_ID = "Session ID";
public s... | {
"content_hash": "2f2c5bafe4da95d7ac25d515ff91921c",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 129,
"avg_line_length": 28.564814814814813,
"alnum_prop": 0.6521880064829821,
"repo_name": "gurayinan/selenium",
"id": "2665d40746ab3c7a86d6213d9f9ecba3a2c93a3e",
"size": ... |
import React from 'react';
import ReactDOM from 'react-dom';
import Menu, { SubMenu, Item as MenuItem } from 'rc-menu';
import closest from 'dom-closest';
import classNames from 'classnames';
import Dropdown from '../dropdown';
import Icon from '../icon';
import Checkbox from '../checkbox';
import Radio from '../radio'... | {
"content_hash": "9d9b24ef6fed875cec73321d238bb20a",
"timestamp": "",
"source": "github",
"line_count": 237,
"max_line_length": 109,
"avg_line_length": 30.476793248945146,
"alnum_prop": 0.6311781808112973,
"repo_name": "mitchelldemler/ant-design",
"id": "d5b012227add136bfbc0d78f16e568f55f08a93a",
"... |
//
// BBCommonMetrics.m
// BHP
//
// Created by Samuel on 14-9-11.
// Copyright (c) 2014年 Samuel. All rights reserved.
//
#import "BBCoreMetrics.h"
CGRect BBScreenBounds(void) {
return [[UIScreen mainScreen] bounds];
}
CGFloat BBScreenHeight(void) {
return [[UIScreen mainScreen] bounds].size.height;
}
... | {
"content_hash": "505a23e9659e2cd548df984e23cf7fe8",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 77,
"avg_line_length": 17.870588235294118,
"alnum_prop": 0.7004608294930875,
"repo_name": "ddrdjboy/BBSpeed",
"id": "5231149569d6b78e77d454fe0a7eaead12b6d062",
"size": "152... |
#pragma once
#include <aws/greengrass/Greengrass_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Greengrass
{
namespace Model
{
class AWS_GREENGRASS_API UpdateLoggerDef... | {
"content_hash": "a30927588d7e06c9c3806055cc080f1b",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 116,
"avg_line_length": 20.606060606060606,
"alnum_prop": 0.7647058823529411,
"repo_name": "JoyIfBam5/aws-sdk-cpp",
"id": "976ea74fafcbec82ed20efbdf66762af3d58be24",
"size"... |
<div id=timeline-view-selection-div>
<ul>
<li id=timeline-view-open-sockets><label><input type=checkbox checked />
█ <span class=timeline-view-text>Open sockets</span></label>
</input></li>
<li id=timeline-view-in-use-sockets><label><input type=checkbox checked />
█ <span class=timeline-view-t... | {
"content_hash": "996a7e0d3dce7154c52f211096f4b40b",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 83,
"avg_line_length": 44.62162162162162,
"alnum_prop": 0.6977589339794065,
"repo_name": "aYukiSekiguchi/ACCESS-Chromium",
"id": "6805398924740b5ba417fb9143c35866769fc8c2",
... |
#include "XmlItemAbstractListModel.h"
#include <QDebug>
#include "XmlItem.h"
XmlItemAbstractListModel::XmlItemAbstractListModel(XmlItem* xmlItemPrototype, QObject *parent) :
QAbstractListModel(parent),
m_list(QList<XmlItem*>()),
m_xmlItemPrototype(xmlItemPrototype)
{
}
XmlItemAbstractListModel::~XmlIte... | {
"content_hash": "9a0da9a4bcb1720a3a38df5a190ef01e",
"timestamp": "",
"source": "github",
"line_count": 184,
"max_line_length": 133,
"avg_line_length": 24.570652173913043,
"alnum_prop": 0.6575978765759788,
"repo_name": "tardypad/sailfishos-somafm",
"id": "56c19e0c375911b372eb6c3021ee2b17552e2c7f",
... |
module AWS
module Core
# @private
module ConfiguredGrammars
# @private
module ClassMethods
include ApiConfig
def base_grammar
raise NotImplementedError
end
def operation_grammar(name)
customized_name = "Customized#{name}"
i... | {
"content_hash": "543cf2204d1827d2421dad88573c46d3",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 85,
"avg_line_length": 26.12,
"alnum_prop": 0.44716692189892804,
"repo_name": "wearelung/portoalegrecc",
"id": "b188c7dbb0218596d8a22615f5aa446189ecf470",
"size": "1877",
... |
#include "mock_io.h"
#include <audioengine.h>
#include <sequencer.h>
#include <utilities/debug.h>
Mock_IO::Mock_IO()
{
MockData::engine_started = true;
}
Mock_IO::~Mock_IO()
{
// nowt...
}
int Mock_IO::writeOutput( float *buffer, int size )
{
// AudioEngine thread will halt all unit test execution
/... | {
"content_hash": "f2ae41a39429f14bfc27013211350839",
"timestamp": "",
"source": "github",
"line_count": 187,
"max_line_length": 143,
"avg_line_length": 43.58288770053476,
"alnum_prop": 0.5268711656441718,
"repo_name": "igorski/MWEngine",
"id": "fec252a790566763fa1ff3e48aa6e69f1f315a16",
"size": "93... |
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using POESKillTree.TreeGenerator.Algorithm;
namespace UnitTests
{
[TestClass]
public class WeightedSamplerTests
{
private const int TotalWeight = 38;
private static readonly int[] Weights =
{
... | {
"content_hash": "15eaec02fd1c8754f06e202723e5662c",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 103,
"avg_line_length": 26.056603773584907,
"alnum_prop": 0.5097755249818972,
"repo_name": "nikibobi/PoESkillTree",
"id": "e533d68d558f3c8fe00d622a3a5a8dbe4c3cf8fa",
"size"... |
package org.spincast.website.tests;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import org.spincast.core.templating.TemplatingEngine;
import org.spincast.core.utils.SpincastStatics;
import com.google.inject.Inject;
public class PebbleCustomTest extends WebsiteIntegrationTestBase {
@Inje... | {
"content_hash": "41bcb495aecc971974197e83822277de",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 101,
"avg_line_length": 28.612903225806452,
"alnum_prop": 0.7204058624577226,
"repo_name": "spincast/spincast-framework",
"id": "275eaf309d745cdc2fb0ed0b4710cc1dcdce2e23",
... |
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("Em... | {
"content_hash": "18ed1a340044d7044aad330e1b79fc28",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 38.80555555555556,
"alnum_prop": 0.7451682176091625,
"repo_name": "dimanov/Primitive-Data-Types-and-Variables",
"id": "823d2bd96c2eb2826c085b09cf03a32d... |
ACCEPTED
#### According to
NUB Generator [autonym]
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "6200fcb57e7ae20af3e9f5d472441e31",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 23,
"avg_line_length": 9.076923076923077,
"alnum_prop": 0.6779661016949152,
"repo_name": "mdoering/backbone",
"id": "4a28595c0a71ffc23c0d84785c6a9a008bbaf54c",
"size": "176... |
package com.cloud.vm;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import javax.inject.Inject;
import javax.naming.Configuration... | {
"content_hash": "9b6ec713ef6f228b99bfc6d32e55d08f",
"timestamp": "",
"source": "github",
"line_count": 446,
"max_line_length": 159,
"avg_line_length": 35.125560538116595,
"alnum_prop": 0.7010723860589813,
"repo_name": "wido/cloudstack",
"id": "5d8f9ad21593cdfef523bfd265d12b547506b12c",
"size": "16... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Ver... | {
"content_hash": "d1c983c2a51215697e87d475324467f9",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 201,
"avg_line_length": 35.455555555555556,
"alnum_prop": 0.6938263867126293,
"repo_name": "acartapanis/camel",
"id": "44802fa693ca8d233aebdd26d68b4b3d81dcb247",
"size": "3... |
WebInspector.AuditResultView = function(categoryResults)
{
WebInspector.View.call(this);
this.element.className = "audit-result-view";
function categorySorter(a, b) {
return (a.title || "").localeCompare(b.title || "");
}
categoryResults.sort(categorySorter);
for (var i = 0... | {
"content_hash": "6135133527a185d154d46af33ca29609",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 131,
"avg_line_length": 37.43023255813954,
"alnum_prop": 0.6477166821994408,
"repo_name": "hishammk/monthley.com",
"id": "4babb0cb818740efa187232e187a603388496bc9",
"size":... |
layout: post
title: "Gathering Requirements"
date: 2014-08-05 20:09:00
categories:
- blog
- CSI1241
---
Notes taken from:
>[lynda.com](http://www.lynda.com/Programming-tutorials/Foundations-of-Programming-Object-Oriented-Design/96949-2.html) *Foundations of Programming - Object Oriented Design*
- Wha... | {
"content_hash": "dd80d056ad2d8afc023b380488f96510",
"timestamp": "",
"source": "github",
"line_count": 223,
"max_line_length": 335,
"avg_line_length": 31.044843049327355,
"alnum_prop": 0.7206413404593385,
"repo_name": "martymcflywa/martymcflywa.github.io",
"id": "e143bf683aa5a473a6248710c842c80a9155... |
package com.twu.biblioteca.model;
import java.util.Objects;
public class User {
private String userID;
private String password;
private final String name;
private final String email;
private final String phone;
public User(String userID, String password, String name, String email, String phon... | {
"content_hash": "712f42216896671323a267f23ffe3416",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 96,
"avg_line_length": 27.463414634146343,
"alnum_prop": 0.5710479573712256,
"repo_name": "lipikadugar/twu-biblioteca-lipikadugar",
"id": "bddc046adb08285eec161df70920428ccf0... |
'use strict';
/**
* Test whether value is a Number
* @param {*} value
* @return {Boolean} isNumber
*/
exports.isNumber = function(value) {
return (value instanceof Number) || (typeof value == 'number');
};
/**
* Check if a number is integer
* @param {Number | Boolean} value
* @return {Boolean} isInteger
*/
... | {
"content_hash": "a3a86c88a9c610aaebc38d2d069dd55a",
"timestamp": "",
"source": "github",
"line_count": 376,
"max_line_length": 83,
"avg_line_length": 32.066489361702125,
"alnum_prop": 0.5255867960520859,
"repo_name": "jeslopcru/code-refactoring-course",
"id": "7379c6d20a90393cbba968f7839ce0a03f14635... |
<?php
namespace Sylius\Bundle\ApiBundle\DependencyInjection;
use Sylius\Bundle\ApiBundle\Form\Type\ClientType;
use Sylius\Bundle\ApiBundle\Model\AccessToken;
use Sylius\Bundle\ApiBundle\Model\AccessTokenInterface;
use Sylius\Bundle\ApiBundle\Model\AuthCode;
use Sylius\Bundle\ApiBundle\Model\AuthCodeInterface;
use S... | {
"content_hash": "dc0e08d6d0aeec9b4bec0ea17d506e17",
"timestamp": "",
"source": "github",
"line_count": 186,
"max_line_length": 133,
"avg_line_length": 52.38172043010753,
"alnum_prop": 0.3979267166170584,
"repo_name": "adamelso/Sylius",
"id": "68d449577908e01a08bfb54fe2021c95dc608dc6",
"size": "995... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=constant.MIGRATE_MEM_OBJECT_CONTENT_UNDEFINED.html">
</head>
<body>
<p>Redirecting to <a href="constant.MIGRATE_MEM_OBJECT_CONTENT_UNDEFINED.html">constant.MIGRATE_MEM_OBJECT_CONTENT_UNDEFINED.html</a>...</p>
<script>location.... | {
"content_hash": "8461552882a99e88835f6ca94a796245",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 144,
"avg_line_length": 44.1,
"alnum_prop": 0.7301587301587301,
"repo_name": "liebharc/clFFT",
"id": "f5b0d5c2e0804e1bd0e80f77f9e4b4c66ab66f3c",
"size": "441",
"binary": ... |
package com.google.android.libraries.cast.companionlibrary.cast.callbacks;
import com.google.android.gms.cast.ApplicationMetadata;
import com.google.android.gms.cast.CastDevice;
import com.google.android.gms.common.api.Status;
/**
* A no-op implementation of the {@link DataCastConsumer}
*/
public class DataCastCo... | {
"content_hash": "594e23fea36f40e6fde97c2e32167fa1",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 97,
"avg_line_length": 25.11764705882353,
"alnum_prop": 0.7205308352849337,
"repo_name": "tomgus1/DanaCast",
"id": "02349d021eb237a4011dd93b563372f32af9edba",
"size": "1901... |
/// <reference path="../_references.ts" />
module App.Directives {
'use strict';
export function BlurDirective(): ng.IDirective {
return {
link: ($scope: ng.IScope, element: ng.IAugmentedJQuery, attributes: ng.IAttributes) => {
element.bind('blur', () => {
... | {
"content_hash": "22a31596c7eeda8db3a48aec2ebeee98",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 100,
"avg_line_length": 27.3,
"alnum_prop": 0.43040293040293043,
"repo_name": "wwdenis/wwa",
"id": "6a02c8b7d2c9e3996d4905b054da8bac55c588c4",
"size": "673",
"binary": fa... |
require 'net/http/persistent'
require 'time'
class Gem::Mirror::Fetcher
# TODO beef
class Error < StandardError; end
def initialize(opts = {})
@http =
if defined?(Net::HTTP::Persistent::DEFAULT_POOL_SIZE)
Net::HTTP::Persistent.new(name: self.class.name, proxy: :ENV)
else
# net-h... | {
"content_hash": "e10345f79339dc72c1c32775ad7771e6",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 78,
"avg_line_length": 29.301204819277107,
"alnum_prop": 0.6467927631578947,
"repo_name": "rubygems/rubygems-mirror",
"id": "144e60c6a31ee4c2cc46f1aad7833fbdca418ed8",
"siz... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
namespace BddSharp.Web
{
public class BddHelpers
{
public static void ClearDatabase(DbContext context)
{
context.Database.ExecuteSqlCommand("Exec sp_msforeachtable 'Alter... | {
"content_hash": "444bd25adfba14275747370053b16ac8",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 121,
"avg_line_length": 32.666666666666664,
"alnum_prop": 0.5884353741496599,
"repo_name": "mishkinf/BddSharp",
"id": "e4e7077abeca6b42e9f92cb87d88350d56f3725c",
"size": "5... |
package io.hawtjms.jms.message;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import io.hawtjms.jms.JmsDes... | {
"content_hash": "77502f9242c4c0d7bb67aef85074ce34",
"timestamp": "",
"source": "github",
"line_count": 925,
"max_line_length": 91,
"avg_line_length": 36.211891891891895,
"alnum_prop": 0.6276868879866253,
"repo_name": "fusesource/hawtjms",
"id": "610f50386617e6117a596f91ae8300b84e898208",
"size": "... |
import React from "react";
import ReactDOM from "react-dom";
import PlotlyRelayoutEventHandler from "./plotly_relayout_event_handler";
ReactDOM.render(
<React.StrictMode>
<PlotlyRelayoutEventHandler />
</React.StrictMode>,
document.getElementById("root")
);
| {
"content_hash": "e3af49013f44289490b46f1a03d39856",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 73,
"avg_line_length": 24.545454545454547,
"alnum_prop": 0.7555555555555555,
"repo_name": "google-research/pydemos",
"id": "838d241f185ce128afa1340de9cb11c62f7c4048",
"size... |
"""
Utilities for working with external processes.
"""
#-----------------------------------------------------------------------------
# Copyright (C) 2008-2011 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this so... | {
"content_hash": "4f9b58e26d1c29db480698d9cc607cae",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 83,
"avg_line_length": 30.42622950819672,
"alnum_prop": 0.5616918103448276,
"repo_name": "initNirvana/Easyphotos",
"id": "64b7254d0650418aa850450aa97eb465d78c2b87",
"size"... |
from tools.load import LoadMatrix
from numpy import ushort
from sg import sg
lm=LoadMatrix()
trainword=ushort(lm.load_numbers('../data/fm_test_word.dat'))
testword=ushort(lm.load_numbers('../data/fm_test_word.dat'))
parameter_list=[[trainword,testword,10,1.4],
[trainword,testword,11,1.5]]
def kernel_linearwor... | {
"content_hash": "d0d38755836e43f52cca43c47a7cf0e1",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 69,
"avg_line_length": 32.59090909090909,
"alnum_prop": 0.691771269177127,
"repo_name": "Saurabh7/shogun",
"id": "b97f68c5fcef04de1767f6f1f1ecbc691ede58ae",
"size": "717",
... |
using Newtonsoft.Json;
using System;
namespace WordPressPCL.Models
{
/// <summary>
/// Type represent Media Entity of WP REST API
/// </summary>
public class MediaItem : Base
{
/// <summary>
/// The date the object was published, in the site’s timezone.
/// </summary>
... | {
"content_hash": "c5988642a567ef18f8e5f337c195c0d6",
"timestamp": "",
"source": "github",
"line_count": 190,
"max_line_length": 92,
"avg_line_length": 34.56315789473684,
"alnum_prop": 0.5515456068219887,
"repo_name": "cobalto/WordPressPCL",
"id": "240509fe4734327d01602d206952ed2114795f72",
"size": ... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html><head><title></title>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<link rel="stylesheet" type="text/css" href="search.css"/>
<script type="text/javascript" src="search... | {
"content_hash": "0572f6f31f43789e1bd130425966da8f",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 278,
"avg_line_length": 59.17741935483871,
"alnum_prop": 0.7372581084764241,
"repo_name": "rcgilbert/csc344-wi14",
"id": "018b830ec5efcaf7c7e67d84b8ad23a271d53b09",
"size":... |
using System;
using System.Collections.Generic;
using System.IO;
using SocialInsurance.Germany.Messages.Pocos;
using SocialInsurance.Germany.Messages.Pocos.BNA;
using Xunit;
namespace SocialInsurance.Germany.Messages.Tests.bwnac
{
public class BeitragsnachweisTests : TestBasis, IClassFixture<DefaultStreamFactor... | {
"content_hash": "8a31df1d7627a942f6d5052fb47e82ef",
"timestamp": "",
"source": "github",
"line_count": 146,
"max_line_length": 123,
"avg_line_length": 36.52739726027397,
"alnum_prop": 0.5544721545096568,
"repo_name": "dataline-gmbh/SocialInsurance.Germany.Messages",
"id": "b7780d3f86fb01fb1041fbf84a... |
.thumbnail > img,
.thumbnail a > img,
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
display: block;
max-width: 100%;
height: auto;
}
.btn-group-lg > .btn {
padding: 18px 27px;
font-size: 17px;
line-height: 1.33;
border-radius: 6px;
}
.btn-group-sm > .btn {
padding: 6px 9px;
font-s... | {
"content_hash": "da9e5abc9c7d2d27168b033929fac6a5",
"timestamp": "",
"source": "github",
"line_count": 822,
"max_line_length": 66,
"avg_line_length": 20.89051094890511,
"alnum_prop": 0.6610179361751689,
"repo_name": "baozoumanhua/elk-rtf",
"id": "e69881c170b8ca59309ea80ee000759a986f2ff8",
"size": ... |
package fake
import (
clientset "github.com/kubeflow/pytorch-operator/pkg/client/clientset/versioned"
kubeflowv1 "github.com/kubeflow/pytorch-operator/pkg/client/clientset/versioned/typed/pytorch/v1"
fakekubeflowv1 "github.com/kubeflow/pytorch-operator/pkg/client/clientset/versioned/typed/pytorch/v1/fake"
"k8s.io/... | {
"content_hash": "1e444288b4af9237d227f126edf729ed",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 107,
"avg_line_length": 33.65625,
"alnum_prop": 0.7525533890436398,
"repo_name": "kubeflow/pytorch-operator",
"id": "882bf4f557ae6fd7110440893606fb1300b4a85b",
"size": "280... |
import click
from parsec.commands.toolshed_repositories.create_repository import cli as create_repository
from parsec.commands.toolshed_repositories.get_ordered_installable_revisions import cli as get_ordered_installable_revisions
from parsec.commands.toolshed_repositories.get_repositories import cli as get_repositorie... | {
"content_hash": "c65958ad07c4cfb753ef4939376e60c2",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 130,
"avg_line_length": 51.38461538461539,
"alnum_prop": 0.8495508982035929,
"repo_name": "galaxy-iuc/parsec",
"id": "1554224c722d4b19c46382b4c85a8e32ab3b3cd8",
"size": "13... |
package _14
| {
"content_hash": "ecfaaecc8dbb0a8712df70755cc100e8",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 11,
"avg_line_length": 12,
"alnum_prop": 0.75,
"repo_name": "brasbug/golangproject",
"id": "94a2dabe370f25d828a644d81fe1c9eadd582a58",
"size": "12",
"binary": false,
"co... |
.. _menpodetect-bob-load_bob_frontal_face_detector:
.. currentmodule:: menpodetect.bob
load_bob_frontal_face_detector
==============================
.. autofunction:: load_bob_frontal_face_detector
| {
"content_hash": "c61e3cdd2803a5c1e48767d97b3e337a",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 51,
"avg_line_length": 28.571428571428573,
"alnum_prop": 0.655,
"repo_name": "yuxiang-zhou/menpodetect",
"id": "d39b6e2af407927b2069fe3ba6c1f54d6ab5003c",
"size": "200",
"... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "703d5bf25b2c669656c9176b875e4b15",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "21b0cc27784277ef615bd93f92385397032b4968",
"size": "188... |
package org.pentaho.di.starmodeler.generator;
import java.util.List;
import java.util.Set;
import org.pentaho.di.core.Const;
import org.pentaho.di.core.database.DatabaseMeta;
import org.pentaho.di.core.exception.KettleException;
import org.pentaho.di.starmodeler.ConceptUtil;
import org.pentaho.di.starmodeler.DefaultI... | {
"content_hash": "4871b8ee66c2c9365294d1f6ce463448",
"timestamp": "",
"source": "github",
"line_count": 176,
"max_line_length": 111,
"avg_line_length": 35.22727272727273,
"alnum_prop": 0.712741935483871,
"repo_name": "jjeb/kettle-trunk",
"id": "1a9b1d8991aa42fd162bf2d53434c7d3322fc035",
"size": "62... |
package hudson.plugins.jsgames.game;
/**
* This class provides details of a game.
* @author cliffano
*/
public interface Game {
/**
* The game title, displayed on the game menu options below the game icon.
* @return the game title.
*/
String getTitle();
/**
* The game ID, used in ... | {
"content_hash": "87b262cc472a71fc90f3e239d689338f",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 78,
"avg_line_length": 19.90909090909091,
"alnum_prop": 0.6004566210045662,
"repo_name": "jenkinsci/jsgames-plugin",
"id": "3803055829f43d3ec0124d4b2e88d5058cb88929",
"size... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using JCE.Utils.Extensions;
namespace JCE.Utils.Logging
{
/// <summary>
/// 日志管理器
/// </summary>
public static class LogManager
{
#regio... | {
"content_hash": "62b87aadd5903c8422945a7eabba7f7f",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 82,
"avg_line_length": 27.140845070422536,
"alnum_prop": 0.49403217436429686,
"repo_name": "jianxuanbing/JCE",
"id": "2fb2c1e9e02c880709a962366547fba82bacbceb",
"size": "5... |
using System.Threading;
using System.Threading.Tasks;
namespace Proto.Cluster.Identity
{
public class IdentityStorageLookup : IIdentityLookup
{
private const string PlacementActorName = "placement-activator";
private static readonly int PidClusterIdentityStartIndex = PlacementActorName.Length ... | {
"content_hash": "0015afbf13677664f1a9ea2494aa7f7a",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 115,
"avg_line_length": 37.6,
"alnum_prop": 0.6206781914893617,
"repo_name": "AsynkronIT/protoactor-dotnet",
"id": "ba512249ce25797009f131d984a47871906a6ac0",
"size": "3010... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.php.project</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/php-project/1">
<name>yii2utehn</name>
</data>
</configuration>
</project>
| {
"content_hash": "6e7df86e2c769f08cfb15a38ee9c8ffa",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 63,
"avg_line_length": 35.55555555555556,
"alnum_prop": 0.60625,
"repo_name": "tehnn/yii2utehn",
"id": "676970928b5aca5cc3410a9ab127b2956e5f714a",
"size": "320",
"binary":... |
using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("PasswordlessLogin")]
[assembly: AssemblyDescription ("")]
[assembly: AssemblyConfiguration ("")]... | {
"content_hash": "d30f3631b82ee4939f06c1874bfaacf6",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 81,
"avg_line_length": 37,
"alnum_prop": 0.7397397397397397,
"repo_name": "mplacona/PasswordlessLogin",
"id": "6cd3bb49e64537f747c5411503321f5516a48739",
"size": "1001",
... |
package com.evanzeimet.jpautils.api;
public class EntityManagerCommandRuntimeException extends RuntimeException {
private static final long serialVersionUID = 7335894732331910418L;
public EntityManagerCommandRuntimeException() {
super();
}
public EntityManagerCommandRuntimeException(String message) {
super(... | {
"content_hash": "e7e2fb19a747c9e08fffee4441058666",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 79,
"avg_line_length": 24,
"alnum_prop": 0.8049242424242424,
"repo_name": "podnov/jpa-utils",
"id": "206b1d7760abb198699314efce0ce6664323a080",
"size": "528",
"binary": f... |
<ul class="radius tabs" data-tab>
<li class="tab-title active"><a href="#panel1">Tab 1</a></li>
<li class="tab-title"><a href="#panel2">Tab 2</a></li>
<li class="tab-title"><a href="#panel3">Tab 3</a></li>
<li class="tab-title"><a href="#panel4">Tab 4</a></li>
</ul>
<div class="tabs-content">
<div class="cont... | {
"content_hash": "7f3515a41e57868774d186cd08d162e6",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 284,
"avg_line_length": 81.65,
"alnum_prop": 0.7336191059399878,
"repo_name": "pine3ree/foundation",
"id": "999f7edf478ca2906d8c8fd882ab1ecc75dc525f",
"size": "1633",
"bi... |
package org.strongback.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Copyright (c) 2005 Brian Goetz and Tim Peierls.<br />
* Released under t... | {
"content_hash": "17922cdf31784e640141c2f666179319",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 128,
"avg_line_length": 36.75,
"alnum_prop": 0.7559523809523809,
"repo_name": "newtatron/strongback-java",
"id": "abb9180d51c9d90401fe810638b19e8559a24eb2",
"size": "1875",... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
... | {
"content_hash": "d10084eb5872691cb531d44ab3e9379e",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 178,
"avg_line_length": 47.47904191616767,
"alnum_prop": 0.4769832261319208,
"repo_name": "Alacant/Rawr-RG",
"id": "3b1d3b64f1917b8d138272cf0638d15c8d719c6f",
"size": "793... |
import os
import sys
import imp
from itertools import product, starmap
import distutils.command.install_lib as orig
class install_lib(orig.install_lib):
"""Don't add compiled flags to filenames of non-Python files"""
def initialize_options(self):
orig.install_lib.initialize_options(self)
self.... | {
"content_hash": "2e530e53105bd1266b913ea179f1cdf7",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 107,
"avg_line_length": 34.08965517241379,
"alnum_prop": 0.5893182277968845,
"repo_name": "cjaffar/jaffarchiosa",
"id": "03cb6f856cbb5b7d468ed17a310211227738666b",
"size":... |
// Code generated by informer-gen. DO NOT EDIT.
package v1
import (
"context"
time "time"
eventsv1 "github.com/google/knative-gcp/pkg/apis/events/v1"
versioned "github.com/google/knative-gcp/pkg/client/clientset/versioned"
internalinterfaces "github.com/google/knative-gcp/pkg/client/informers/externalversions... | {
"content_hash": "2072a93489eaabdab7e02ea3d7f00f84",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 225,
"avg_line_length": 42.171052631578945,
"alnum_prop": 0.8003120124804992,
"repo_name": "google/knative-gcp",
"id": "410981f153cba792c9cdff831df58aec56d43b0b",
"size": "... |
<?php
namespace Neos\Flow\Mvc;
use Neos\Flow\Http\Cookie;
use Psr\Http\Message\ResponseInterface;
use function GuzzleHttp\Psr7\stream_for;
use Neos\Flow\Annotations as Flow;
use Neos\Flow\Http\Component\ComponentContext;
use Psr\Http\Message\StreamInterface;
use Psr\Http\Message\UriInterface;
use GuzzleHttp\Psr7\Strea... | {
"content_hash": "3d5e74a78e07da5ec7ff88571e443ba5",
"timestamp": "",
"source": "github",
"line_count": 320,
"max_line_length": 151,
"avg_line_length": 27.9125,
"alnum_prop": 0.6062472010747872,
"repo_name": "albe/flow-development-collection",
"id": "8cbbced88e0bb9f3b4e6c09e296fde1899cc0367",
"size... |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { HttpModule, JsonpModule, URLSearchParams } from "@angular/http";
import { ReactiveFormsModule } from '@angular/forms';
// import {... | {
"content_hash": "da698a384ea065fefdf8a22894dbc0d3",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 91,
"avg_line_length": 35.93103448275862,
"alnum_prop": 0.7085732565579015,
"repo_name": "metarealm/foodX",
"id": "1fd1b3beb26f7fa4b212dcb835fcfb8f92f431de",
"size": "3126"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>rem: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" re... | {
"content_hash": "e821f1a0b604f0b2ef2c2107d23dfe36",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 159,
"avg_line_length": 40.111111111111114,
"alnum_prop": 0.5375419157311562,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "bc61d1602e39e39ecbd8193406002ada5d36449a",... |
<?php
/**
* WooCommerce Core Functions
*
* General core functions available on both the front-end and admin.
*
* @author WooThemes
* @category Core
* @package WooCommerce/Functions
* @version 2.1.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
// Include core functions (available in both admin and fron... | {
"content_hash": "bcead51bbb26e504fc5e87b231412a33",
"timestamp": "",
"source": "github",
"line_count": 799,
"max_line_length": 174,
"avg_line_length": 29.401752190237797,
"alnum_prop": 0.6077388046994722,
"repo_name": "jeromio/motr",
"id": "7b9814e126cc73e0eae27755ab6d74c6631c454d",
"size": "23495... |
from tests import PMGLiveServerTestCase
from tests.fixtures import dbfixture, MemberData
class TestMemberPage(PMGLiveServerTestCase):
def setUp(self):
super(TestMemberPage, self).setUp()
self.fx = dbfixture.data(MemberData,)
self.fx.setup()
def tearDown(self):
self.fx.teardow... | {
"content_hash": "4fb7f872da0e5596c5a17a5166b914cd",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 83,
"avg_line_length": 32.17391304347826,
"alnum_prop": 0.6459459459459459,
"repo_name": "Code4SA/pmg-cms-2",
"id": "e36d490fe965f3f40c7cd80d404047b98bac9254",
"size": "148... |
cask 'proxyman' do
version '1.20.0'
sha256 'd50cf91c1d0bba1f3ae8039cb189dd4572a880579c15df3f15c935890f92342a'
# github.com/ProxymanApp/Proxyman was verified as official when first introduced to the cask
url "https://github.com/ProxymanApp/Proxyman/releases/download/#{version}/Proxyman_#{version}.dmg"
appcast... | {
"content_hash": "032eabc4a9fd780d19d391cb24b179af",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 100,
"avg_line_length": 41.93333333333333,
"alnum_prop": 0.665341812400636,
"repo_name": "lantrix/homebrew-cask",
"id": "fe3975cd7b75e91dd9785660571f116909430a73",
"size": ... |
export LC_ALL=C
TOPDIR=${TOPDIR:-$(git rev-parse --show-toplevel)}
BUILDDIR=${BUILDDIR:-$TOPDIR}
BINDIR=${BINDIR:-$BUILDDIR/src}
MANDIR=${MANDIR:-$TOPDIR/doc/man}
BITCOIND=${BITCOIND:-$BINDIR/bitcoind}
BITCOINCLI=${BITCOINCLI:-$BINDIR/bitcoin-cli}
BITCOINTX=${BITCOINTX:-$BINDIR/bitcoin-tx}
WALLET_TOOL=${WALLET_TOOL:-... | {
"content_hash": "d13a50f1df6f08c55c5c6724ff93c28f",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 132,
"avg_line_length": 38.9375,
"alnum_prop": 0.6960941680042804,
"repo_name": "mm-s/bitcoin",
"id": "8da6ff120477a3f31e8d0b2f161bbb3ba60c7058",
"size": "2081",
"binary"... |
package main
import (
"fmt"
"os"
"time"
"github.com/cloud66-oss/cloud66"
"github.com/cloud66/cli"
)
func runServiceStop(c *cli.Context) {
if len(c.Args()) != 1 {
cli.ShowSubcommandHelp(c)
os.Exit(2)
}
stack := mustStack(c)
serviceName := c.Args()[0]
flagServer := c.String("server")
var serverUid *... | {
"content_hash": "578918c05537f25d02f355488b3e885c",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 93,
"avg_line_length": 22.5,
"alnum_prop": 0.6738562091503268,
"repo_name": "cloud66/cx",
"id": "07439bd152cd89b53d87814031d7c908ad70b579",
"size": "1530",
"binary": fals... |
def mask_inv(clip):
""" Returns the color-inversed mask."""
return clip.fl_image(lambda f : 1.0 - f) | {
"content_hash": "a2ee5d1c6dce2fddcec295e2855b9150",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 44,
"avg_line_length": 36,
"alnum_prop": 0.6296296296296297,
"repo_name": "DevinGeo/moviepy",
"id": "c74fb0de9acc6e0336461c92a657103d693a62f9",
"size": "108",
"binary": fa... |
/**
* First we will load all of this project's JavaScript dependencies which
* includes Vue and other libraries. It is a great starting point when
* building robust, powerful web applications using Vue and Laravel.
*/
require('./bootstrap');
window.Vue = require('vue');
/**
* The following block of code may be... | {
"content_hash": "9ca1a932464e354441ed6b8b0094424b",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 97,
"avg_line_length": 33.27272727272727,
"alnum_prop": 0.714936247723133,
"repo_name": "halfpetal/OpenNotion",
"id": "e5bb21174c4ed53c899e605854abf65338f3b4aa",
"size": "1... |
package pkg1;
/**
* Class 1. This is a test.
* Refer <a href="{@docRoot}/../technotes/guides/index.html">Here</a>. Lets see if this works
* or not.
*/
public class C1 {}
| {
"content_hash": "5aef0cc8a486679ab56a12d43e44b2b6",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 93,
"avg_line_length": 17.7,
"alnum_prop": 0.6214689265536724,
"repo_name": "gijsleussink/ceylon",
"id": "9bca4584a7c14c0524591442f45df2bcf4e5c487",
"size": "1227",
"bina... |
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('partner', '0027_auto_20171019_1540'),
]
operations = [
migrations.AlterField(
model_name='partnercollaborationevidence',
nam... | {
"content_hash": "15ec9618400bb431076f5df7304d51c2",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 80,
"avg_line_length": 24.27777777777778,
"alnum_prop": 0.6270022883295194,
"repo_name": "unicef/un-partner-portal",
"id": "f39f10e0fdd7e4cc92f46785cfa6d93139be4b98",
"size... |
@class FLAssetsLibraryPhotoBrowserController;
@interface FLAssetsLibraryPhotoBrowserController : FLAssetsLibraryBrowserBase<FLImageAssetCellWidgetDelegate> {
@private
ALAssetsGroup* _group;
NSArray* _assets;
BOOL _rangeSelectMode;
NSUInteger _rangedSelectedCount;
NSUInteger _rangeStartIndex;
... | {
"content_hash": "7ad184415f2d4a1045f77db686367981",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 140,
"avg_line_length": 26.392857142857142,
"alnum_prop": 0.7889039242219216,
"repo_name": "fishlamp-released/FishLamp2",
"id": "ef3826b50610871a2ed2cd5ff0ed1dc09ea5d4ca",
... |
using Windsor.Extension.Demo.Sample.ResolveByName;
namespace Windsor.Extension.Demo.Sample.Scope
{
public class ScopeDemo
{
private readonly ILogger logger;
public ScopeDemo(ILogger logger)
{
this.logger = logger;
}
public void Run()
{
... | {
"content_hash": "b6df627ffb0bbb3282000b0cd9f904ee",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 51,
"avg_line_length": 18.894736842105264,
"alnum_prop": 0.5682451253481894,
"repo_name": "onureker/Windsor.Extension",
"id": "8e909f222e9b1e75e14d162cea65408c08ac053b",
"s... |
var Marionette = require('backbone.marionette'),
_ = require('underscore'),
events = require('../events'),
resumeModel = require('./models/resume.model'),
ResumeLayout = require('./views/resume.layout');
var ResumeController = Marionette.Object.extend({
initialize : function (options) {
_.bindAll... | {
"content_hash": "6b4e9a7c02a6bdd3240d93dc4c6eaf6e",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 70,
"avg_line_length": 22.867924528301888,
"alnum_prop": 0.6014851485148515,
"repo_name": "backdesk/backdesk.trumpet",
"id": "40b0dd18061d3814b7547e03786e3c48ea2b0ff2",
"si... |
import argparse
import os
import math
import matplotlib
matplotlib.use("Agg")
import matplotlib.pyplot as plt
import plot
#based on https://stackoverflow.com/questions/990477/how-to-calculate-the-entropy-of-a-file
def calc_entropy(array, size):
entropy = 0.0
for val in range(0, len(array)):
p = array[... | {
"content_hash": "f007263b28bdebaff543303dc42d3bc8",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 139,
"avg_line_length": 29.428571428571427,
"alnum_prop": 0.5812003530450133,
"repo_name": "sdonovan1985/entropy-calculation",
"id": "34d3ca76495fbbdbd65faed97c0ce14194bcfa2a... |
int main(int argc, char* argv[]) {
Application *kernel = new Application();
scv::Kernel::setInstance(kernel);
kernel->init();
kernel->run();
return 0;
}
| {
"content_hash": "dcba209261ff33a2fbe7a635cc48d50c",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 43,
"avg_line_length": 18.1,
"alnum_prop": 0.580110497237569,
"repo_name": "yuriks/SCV",
"id": "a51b9a02283c1581d9048c5a27385b5777bdbc09",
"size": "229",
"binary": false,... |
<!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_60) on Sun May 15 19:31:52 CAT 2016 -->
<title>com.rpfsoftwares.systembuilderlib.database Class Hierarchy</title>
<meta name="date" conte... | {
"content_hash": "dd481a89b27bdbfcae6d653f190e4891",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 267,
"avg_line_length": 43.64,
"alnum_prop": 0.6501680415520928,
"repo_name": "rosariopfernandes/systembuilderlib",
"id": "b0ef851cb5bb8f43822d0ade8717f9052a632fa8",
"size... |
Image::Image( int width, int height, int channels, void *data )
: m_width( width ), m_height( height ), m_channels( channels )
{
unsigned int size = width * height * channels;
m_data.resize( size );
std::copy( (unsigned char *)data, (unsigned char *)data + size, m_data.begin() );
}
uchar4 Image::get( i... | {
"content_hash": "4a5d603fc8c48b2e69a34bb52b603a45",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 82,
"avg_line_length": 25.3,
"alnum_prop": 0.575098814229249,
"repo_name": "GuyTristram/grt",
"id": "d615261c7520d2d7fda0e48c77ab4019c54c80f1",
"size": "557",
"binary": f... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "a06e721384c6f8a2c6bc8198fae4be7c",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "d6b23b9d4fffbea955156c87331569e319b15113",
"size": "178... |
require 'test_helper'
class ChatroomTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
end
| {
"content_hash": "e81854b5f7e7fdc7a045477f8b57573d",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 44,
"avg_line_length": 17.428571428571427,
"alnum_prop": 0.6967213114754098,
"repo_name": "busster/Mercury",
"id": "bbec81ab84548e60d760ea403f54a1046fbf75b2",
"size": "122",... |
#import <MatrixKit/MatrixKit.h>
/**
Link string used in attributed strings to mark a keys re-request action.
*/
FOUNDATION_EXPORT NSString *const EventFormatterOnReRequestKeysLinkAction;
/**
Parameters separator in the link string.
*/
FOUNDATION_EXPORT NSString *const EventFormatterLinkActionSeparator;
/**
Li... | {
"content_hash": "8f3a313080a226bd2870a3936ae5d019",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 85,
"avg_line_length": 23.9375,
"alnum_prop": 0.7754569190600522,
"repo_name": "vector-im/riot-ios",
"id": "4952f1441260ffd3cfd4affa313a4cde1dea682b",
"size": "1716",
"bi... |
SCENARIO( "Test that CommandLineParser parses arguments correctly", "[tools]" )
{
GIVEN( "A CommandLineParser instance registered with some dummy options" )
{
tools::CommandLineParser optionParser;
optionParser.addOption( "help", tools::CommandLineParser::NoArgument );
optionParser.addOption( "port", tools::Com... | {
"content_hash": "4b6403af6e77b24b9524de6d964a7edd",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 117,
"avg_line_length": 51.25714285714286,
"alnum_prop": 0.6783723522853957,
"repo_name": "mark-grimes/ClientServer",
"id": "2df8a079661c270551a27fa0ff0e3f2ecbfc2aeb",
"si... |
using System;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reactive.Linq;
using Avalonia.Media;
using OpenUtau.App.Controls;
using OpenUtau.Core;
using OpenUtau.Core.Ustx;
using ReactiveUI;
using ReactiveUI.Fody.Helpers;
namespace OpenUtau.App.ViewModels {
public class ExpSelectorViewMode... | {
"content_hash": "d0598d3deea998414ab985fa6e00043d",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 136,
"avg_line_length": 42.271028037383175,
"alnum_prop": 0.5894317930577051,
"repo_name": "stakira/OpenUtau",
"id": "efa10c7446af8f6c1c06d6ccaa54acf5f07183c6",
"size": "4... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "ca99efa25beaca41f843a8a06979de3f",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "c4dd0edc0eb94fc04d156dcb98f2fe8ecb67cba2",
"size": "170... |
'use strict';
var path = require('path'),
readFile = require('./read-file');
module.exports = function(base, grunt){
return function compiler (req, res, next) {
if (path.extname(req.url) !== '.js') {
return next();
}
var url = req.url[0] === '/' ? req.url : '/' + req.url,
result = re... | {
"content_hash": "be9c39a5232932a85fb0af1d44c19eea",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 78,
"avg_line_length": 24.535714285714285,
"alnum_prop": 0.5473071324599709,
"repo_name": "appleton/grunt-coffee-server",
"id": "e26efac38f05a3ab2b240c56c3ad65f0b182d405",
... |
namespace lslboost { namespace mpl {
template<
typename Tag1
, typename Tag2
>
struct less_equal_impl
: if_c<
( BOOST_MPL_AUX_NESTED_VALUE_WKND(int, Tag1)
> BOOST_MPL_AUX_NESTED_VALUE_WKND(int, Tag2)
)
, aux::cast2nd_impl< less_equal_impl< Tag1,Tag1 >,Tag1... | {
"content_hash": "c05656f0ab11c1c1c446da15639a1c1f",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 97,
"avg_line_length": 22.03614457831325,
"alnum_prop": 0.6079825041006014,
"repo_name": "nihospr01/OpenSpeechPlatform-UCSD",
"id": "90ce720e4ce21c00971066f720f72060d72cbef5"... |
/* $Id$ */
PHPAPI extern php_stream_wrapper php_glob_stream_wrapper;
PHPAPI extern php_stream_ops php_glob_stream_ops;
BEGIN_EXTERN_C()
PHPAPI char* _php_glob_stream_get_path(php_stream *stream, int copy, size_t *plen STREAMS_DC);
#define php_glob_stream_get_path(stream, copy, plen) _php_glob_stream_get_path... | {
"content_hash": "638d20f4bfa66ee8218ed5ee2eeae43f",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 121,
"avg_line_length": 32.714285714285715,
"alnum_prop": 0.7019650655021834,
"repo_name": "xfsnow/serverless",
"id": "cf3492cf6fd880cee639854be1aee93457560470",
"size": "2... |
from __future__ import print_function
import cv2
import numpy as np
import backgnd_sub
import colorSampleLocation
import colorSampler as cs
import angleDerivation as ad
from utils import image_utils
class Lympht:
def __init__(self):
self.capture = cv2.VideoCapture(0)
self.main_window_name = "lymp... | {
"content_hash": "fce89c89fe9f57ad9a82e21dc806a7c9",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 110,
"avg_line_length": 41.93388429752066,
"alnum_prop": 0.5072920772566023,
"repo_name": "andytuwm/lympht",
"id": "f629b81a80eafa642369f89233fd54cbd5c0da65",
"size": "507... |
@ECHO OFF
SETLOCAL
CLS
ECHO.
ECHO. Initializing Adblock Plus for Internet Explorer download.
bitsadmin.exe /transfer "Adblock Plus for Internet Explorer Installer" https://update.adblockplus.org/latest/adblockplusie.exe %USERPROFILE%\Downloads\adblockplusie.exe
ECHO. The Adblock Plus for Internet Explorer Insta... | {
"content_hash": "6946ffd31b42279b057938666b666200",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 168,
"avg_line_length": 43.785714285714285,
"alnum_prop": 0.8107667210440457,
"repo_name": "JustinMuniz/Computer-Shop-Utilities",
"id": "334e8cdd54ba084ad7ad321d564b13055feac... |
@implementation LTTMockHeading
@synthesize magneticHeading;
@synthesize trueHeading;
@synthesize headingAccuracy;
@synthesize timestamp;
@synthesize description;
@synthesize x;
@synthesize y;
@synthesize z;
@end
| {
"content_hash": "35c713d06a82beec5516a12158491ba7",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 30,
"avg_line_length": 17.833333333333332,
"alnum_prop": 0.8177570093457944,
"repo_name": "samodom/Leech",
"id": "538186aef3e4be03c5b75dfdea34273d8a77ebf5",
"size": "377",
... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>statsmodels.tsa.vector_ar.vecm.VECMResults.stderr_coint — statsmodels v0.10.2 documentation</title>
<link rel="stylesheet" href="../_static/nature.css" type="text/css" />
<link rel="stylesheet" hr... | {
"content_hash": "676e5c682ebade559ec0ddfa10816cae",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 464,
"avg_line_length": 47.84180790960452,
"alnum_prop": 0.6448984411903638,
"repo_name": "statsmodels/statsmodels.github.io",
"id": "01770d2ca7e72b5c532b651130251b86d24f793... |
layout: post
title: " Back from Turkey... "
date: 2005-05-06 21:09:00 +0100
comments: true
published: true
categories: ["blog", "archives"]
tags: ["On Travels"]
alias: ["/mattsblog/archive/2005/05/06/375.aspx"]
---
<!-- more -->
<P>Just a short note to say that I'm back from Turkey, and back in the old grind again...... | {
"content_hash": "2b3616eb38737c027403ba5027339646",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 294,
"avg_line_length": 61.285714285714285,
"alnum_prop": 0.7144522144522144,
"repo_name": "matt-richardson/matt-richardson.github.io",
"id": "40fa975ef36e702076128c3033f247e... |
// Provides control sap.ui.commons.Splitter.
sap.ui.define(['jquery.sap.global', './library', 'sap/ui/core/Control', 'sap/ui/core/Popup', 'sap/ui/core/ResizeHandler', 'sap/ui/core/delegate/ItemNavigation', 'jquery.sap.events', 'jquery.sap.keycodes'],
function(jQuery, library, Control, Popup, ResizeHandler, ItemNavig... | {
"content_hash": "e18601dd7bd04525565fdf66f099005f",
"timestamp": "",
"source": "github",
"line_count": 695,
"max_line_length": 267,
"avg_line_length": 32.985611510791365,
"alnum_prop": 0.6829225736095965,
"repo_name": "SuicidePreventionSquad/SeniorProject",
"id": "4c9cb230d549be4eccb1d9286dd747cfd95... |
@import "style.min.css";
@import "sprites-toolbar.min.css";
@import "sprites-toolbar-hover.min.css";
@import "sprites.min.css";
@import "sprites-hover.min.css";
.cms-frontadmin-node {
position: relative;
}
.cms-frontadmin-node:hover {
}
/*
.cms-frontadmin-node-mode-edit {
outline: 1px dashed gray;
}
.cms-fron... | {
"content_hash": "5e525cb3fe64dcbe3f650dd85703f94a",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 64,
"avg_line_length": 21.9390243902439,
"alnum_prop": 0.6625903279599777,
"repo_name": "Smart-Core/CMSBundle",
"id": "00faffa416ebee2fcb602d2048cffc3dc75fff1f",
"size": "1... |
<?php
/**
* This class represents objects dispensed by the MenuItem model
*
* @package Nails\Cms\Resource\Menu
* @category resource
*/
namespace Nails\Cms\Resource\Menu;
use Nails\Cms\Constants;
use Nails\Cms\Resource\Menu;
use Nails\Cms\Resource\Page;
use Nails\Common\Exception\FactoryException;
use Nails\Com... | {
"content_hash": "39ee2e3c055e12524c83e192289d3a2a",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 81,
"avg_line_length": 22.033333333333335,
"alnum_prop": 0.5109682299546142,
"repo_name": "nailsapp/module-cms",
"id": "378bd95fe406a546e3ef4f0e597d9551512f10dc",
"size": ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Slider Static Test : Slider vertical range min</title>
<link rel="stylesheet" href="../static.css" type="text/css" />
<link rel="stylesheet" href="../../../themes/base/jquery.ui.base.css" type="text/css" />
<link rel="stylesheet" href="../../.... | {
"content_hash": "5efe70f17d4e09f0bcd39e8ef1f8b232",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 275,
"avg_line_length": 49.05882352941177,
"alnum_prop": 0.6666666666666666,
"repo_name": "coachcly/Dashboard",
"id": "b43d4511bcc657a7c49208e8a0ca89b9248d13b7",
"size": "8... |
layout: post.njk
title: "Mantine"
summary: "This is a pretty nice looking component library for React. Themmeable, reponsive and compatible with Gatsby, Remix or NextJS. Looks pretty full features. I thought it was cool, but I'd love to know if there's something else people are using."
thumb: "/images/toolbox/2022-04-... | {
"content_hash": "970cd5ca037af44eafd58f41b6a7b42f",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 253,
"avg_line_length": 41.2,
"alnum_prop": 0.7451456310679612,
"repo_name": "planetoftheweb/planetoftheweb.github.io",
"id": "1b234ad1882b49332fd84420aaae6ec8f4bba71f",
"s... |
require 'heirloom/acl/s3'
| {
"content_hash": "e47f9dadf0fc77e7f8ea4788d4ea5e68",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 25,
"avg_line_length": 26,
"alnum_prop": 0.7692307692307693,
"repo_name": "intuit/heirloom",
"id": "fa6279fe0b8b43033006ed4302bea3125d40e03d",
"size": "26",
"binary": fals... |
package org.cyberneko.html;
/**
* This interface is used to pass augmentated information to the
* application through the XNI pipeline.
*
* @author Andy Clark
*
* @version $Id: HTMLEventInfo.java 219322 2012-10-18 12:38:37Z shiym $
*/
public interface HTMLEventInfo {
//
// HTMLEventInfo methods
/... | {
"content_hash": "49b568ec0b60135af264c1cc586c3721",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 74,
"avg_line_length": 27.349056603773583,
"alnum_prop": 0.6133149361848913,
"repo_name": "xuse/ef-others",
"id": "62c151dd1c24b89a8d3fac9f88058697db42dba2",
"size": "3499... |
> see https://aka.ms/autorest
``` yaml
azure-arm: true
require:
- https://github.com/Azure/azure-rest-api-specs/blob/c583b05741fadfdca116be3b9ccb1c4be8a73258/specification/containerservice/resource-manager/readme.md
- https://github.com/Azure/azure-rest-api-specs/blob/c583b05741fadfdca116be3b9ccb1c4be8a73258/specifica... | {
"content_hash": "d15ff4406c7cacc6938e28ec78f4f60b",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 154,
"avg_line_length": 43.18181818181818,
"alnum_prop": 0.8168421052631579,
"repo_name": "Azure/azure-sdk-for-go",
"id": "f5f83bfa36b49a320ac42ff1cbe649c5be704bc8",
"size"... |
title: "Minimal Mistakes: v4.4.1 with staticman v2 and nested comments"
layout: single
date: 2017-05-11 20:22:28 +0100
excerpt: "Minimal mistakes nested comments: How to implement staticman v2 and nested comments for the Jekyll Minimal Mistakes theme v4.4.1"
classes: wide
categories:
- Jekyll
tags:
- minimal-mist... | {
"content_hash": "4387c8821f9d4016287fe29d7073ef4d",
"timestamp": "",
"source": "github",
"line_count": 155,
"max_line_length": 266,
"avg_line_length": 41.825806451612905,
"alnum_prop": 0.7755668671911152,
"repo_name": "andreasfaerber/blog.faerber.me",
"id": "976dd18251459ddb8091d32a9da6ea47a31fee51"... |
setlocal
echo on
set HERE=%~dp0
set LOCALFOLDER=%HERE%local
set LOCALFBREPO=%HERE%local\full-build-org
set LOCALCSREPO=%HERE%local\cassandra-sharp-org
set LOCALCSCREPO=%HERE%local\cassandra-sharp-contrib-org
set LOCALBIN=%HERE%local\bin-org
set PAKET=paket.exe
set PATH=%PATH%;%HERE%..\tools
cd %HERE%
rmdir /s /q %LOC... | {
"content_hash": "5201ce388b92d2faf2f013ae70983cc5",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 77,
"avg_line_length": 24.8,
"alnum_prop": 0.7948028673835126,
"repo_name": "pchalamet/full-build",
"id": "33c73ff9b51182e746bd8e7d74e758f8e60aa6d9",
"size": "1116",
"bin... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>t.js</title>
<style>
body { background:black; color:white; padding:40px; font-family: 'PT Sans', Helvetica, Arial, sans-serif;}
a { color:#9bf; }
p > span { display:inline-block; margin:0 10px; font-weight:bold; }
</style>
</head>
<body>
<div id="... | {
"content_hash": "c914ee073c3ea54370b6ba31f2e986d6",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 147,
"avg_line_length": 29.876923076923077,
"alnum_prop": 0.6240988671472708,
"repo_name": "icyflash/t.js",
"id": "9b15ae74760de6b0a96b9acbffd69b5e21351a37",
"size": "3884... |
<!--
The Ohio State University Research Foundation, Emory University,
the University of Minnesota Supercomputing Institute
Distributed under the OSI-approved BSD 3-Clause License.
See http://ncip.github.com/cagrid-grid-incubation/LICENSE.txt for details.
-->
<!--
-->
<?xml version="1.0"?>
<ivy-module version=... | {
"content_hash": "63bdf592d12ef05ccb42da955d25d79a",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 109,
"avg_line_length": 43.77777777777778,
"alnum_prop": 0.688769035532995,
"repo_name": "NCIP/cagrid-grid-incubation",
"id": "e0e89480fb6529d9a6627af4423d4499cf0c2c76",
"s... |
Budget Module
=============
The budget module is responsible for providing access to budget information.
Budget JSON object
---------------------
All budget information is reported through json objects of the form
BUDGET := {
'id': id
'naam': naam
'current': current value
'minimum': minimum value
}
/budget
-----... | {
"content_hash": "f6607c9b199f6c97a10f1193399a9fc5",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 76,
"avg_line_length": 18.894736842105264,
"alnum_prop": 0.7061281337047354,
"repo_name": "davidv1992/madmin",
"id": "203b82109d04052a31bfc271ce21847a68bd88b2",
"size": "71... |
struct function* newFunction(object_t* (*f)(), char* name, int params) {
struct function *function = (struct function*) malloc(sizeof(struct function));
function->native = true;
function->pointer = f;
function->name = (char* ) malloc(255);
function->name = name;
function->params = params;
return function;... | {
"content_hash": "d7aac4138ba0543d084dbb03d4bcb40a",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 83,
"avg_line_length": 34.2,
"alnum_prop": 0.6871345029239766,
"repo_name": "hscells/zapper-lang",
"id": "c3bf9b5de2a7b3defd3a4c7fae86da5568e1add8",
"size": "704",
"binar... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="PublicKey.cs" company="Hakan Dilek">
// (c) 2013 Hakan Dilek
// </copyright>
// <summary>
// The public key.
// </summary>
// -------------------------------------------------... | {
"content_hash": "b80cf00b1495e6f8f3be5ff1f1030be7",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 120,
"avg_line_length": 26.941176470588236,
"alnum_prop": 0.4625701809107923,
"repo_name": "hakandilek/keysmith",
"id": "5288c83fb986dbda77179a5c63231765076a487e",
"size":... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.