text stringlengths 2 1.04M | meta dict |
|---|---|
#import "NSObject.h"
@class NSMapTable, NSMutableSet, NSOrderedSet, NSSet;
@interface PUPhotoSelectionManager : NSObject
{
NSMapTable *_selectionEntriesByContainer;
NSMutableSet *_uniqueAssetSelection;
long long _selectionChangeCount;
long long _options;
id <PUPhotoSelectionManagerDelegate> _del... | {
"content_hash": "c588ce8f4bec85fa69672b32be9b4e62",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 102,
"avg_line_length": 40.59574468085106,
"alnum_prop": 0.7940251572327044,
"repo_name": "matthewsot/CocoaSharp",
"id": "9748d4cf09a9af1a9614f05f6eae822021becf53",
"size":... |
from keystone.tests.unit.ksfixtures.auth_plugins import ConfigAuthPlugins # noqa
from keystone.tests.unit.ksfixtures.backendloader import BackendLoader # noqa
from keystone.tests.unit.ksfixtures.cache import Cache # noqa
from keystone.tests.unit.ksfixtures.key_repository import KeyRepository # noqa
from keystone.te... | {
"content_hash": "8b3265926234f72498cc5082e2b70251",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 81,
"avg_line_length": 73.8,
"alnum_prop": 0.8319783197831978,
"repo_name": "cernops/keystone",
"id": "eb30572ca9aa9f49265932b0c75ad59d5ccfd087",
"size": "915",
"binary": ... |
static char *rcsid="@(#)$Id: charstring.old.c,v 1.1.1.1 2003/11/20 07:46:26 eus Exp $";
#include <ctype.h>
#include "eus.h"
extern byte *get_string();
pointer CHAR(ctx,n,argv)
register context *ctx;
register int n;
register pointer argv[];
{ register pointer a=argv[0];
ckarg(2);
n=ckintval(argv[1]);
if (!isstr... | {
"content_hash": "814408e5620d94b08dc3ada4b267fae3",
"timestamp": "",
"source": "github",
"line_count": 198,
"max_line_length": 87,
"avg_line_length": 26.944444444444443,
"alnum_prop": 0.6521087160262418,
"repo_name": "wkentaro/EusLisp",
"id": "1238b5e294273f0c74213cac5b986ffac2ab8553",
"size": "55... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="@dimen/nav_menu_height"
android:padding="@dimen/nav_frame_padding"
android:theme="?navButton... | {
"content_hash": "af98aa78ba49ebf6459fef766ef50794",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 60,
"avg_line_length": 34.6,
"alnum_prop": 0.7230688386757751,
"repo_name": "alexzatsepin/omim",
"id": "a6ca63341b6bf7bd33b4f52a0885c4d9fb86c417",
"size": "1903",
"binary... |
appControllers.controller('ListController', ['$scope','$http', function($scope, $http) {
var createEvent = function(eventType, name, date, reason) {
return {
EventType: eventType,
Name: name,
OccurDate: date,
Reason: reason,
}
};
var extractEventsFromData = function(data) {
... | {
"content_hash": "19e0245a8138953665ff39ea10d736eb",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 110,
"avg_line_length": 28.433962264150942,
"alnum_prop": 0.5713337757133378,
"repo_name": "still-adam-k/HappyFace",
"id": "76bdd0e5dd5b0f1de04ab5c529fbceef6e18a36b",
"size... |
package org.elasticsearch.search.aggregations.pipeline;
import org.elasticsearch.common.io.stream.StreamInput;
import org.elasticsearch.common.io.stream.StreamOutput;
import org.elasticsearch.common.xcontent.ConstructingObjectParser;
import org.elasticsearch.common.xcontent.ObjectParser;
import org.elasticsearch.com... | {
"content_hash": "216ec676287680ca809d7f4820f2fa89",
"timestamp": "",
"source": "github",
"line_count": 215,
"max_line_length": 137,
"avg_line_length": 38.734883720930235,
"alnum_prop": 0.6706292026897214,
"repo_name": "gingerwizard/elasticsearch",
"id": "ffe704326861fd520cf367e6e6daf22caaab47f7",
... |
/* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed... | {
"content_hash": "fc2689667328383947c3fae8d4b94d33",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 141,
"avg_line_length": 36.65625,
"alnum_prop": 0.7612958226768969,
"repo_name": "paulstapleton/flowable-engine",
"id": "d62fbe95f45758e12cfb149b108a7f4512e113a9",
"size": ... |
<?php namespace Zizaco\Confide;
use Illuminate\Support\Facades\App as App;
use Illuminate\Support\Facades\Lang as Lang;
use Illuminate\Support\MessageBag;
/**
* This is the default validator used by ConfideUser. You may overwrite this
* class and implement your own validator by creating a class that implements
* t... | {
"content_hash": "335bb2b2e1b55d58f228f006067794f0",
"timestamp": "",
"source": "github",
"line_count": 196,
"max_line_length": 98,
"avg_line_length": 30.01530612244898,
"alnum_prop": 0.565017848036716,
"repo_name": "nguyentamvinhlong/antamu_v1",
"id": "a036e320a6fcecfd7eaa890ee77654be05d0bbed",
"s... |
using Microsoft.AspNetCore.SignalR.Protocol;
namespace Microsoft.AspNetCore.SignalR.Tests;
public static class HubProtocolHelpers
{
private static readonly IHubProtocol NewtonsoftJsonHubProtocol = new NewtonsoftJsonHubProtocol();
private static readonly IHubProtocol MessagePackHubProtocol = new MessagePackHu... | {
"content_hash": "895892a1cb31c59df39ee3a66c2e3866",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 101,
"avg_line_length": 30.87878787878788,
"alnum_prop": 0.6849852796859667,
"repo_name": "aspnet/AspNetCore",
"id": "cd23a8dcd3a0cd7698fe1467a072f903ad4de39a",
"size": "11... |
import _plotly_utils.basevalidators
class UidValidator(_plotly_utils.basevalidators.StringValidator):
def __init__(self, plotly_name="uid", parent_name="densitymapbox", **kwargs):
super(UidValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
edit... | {
"content_hash": "b589beabcdfb978eec570ce4cb8c3b82",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 81,
"avg_line_length": 36.25,
"alnum_prop": 0.6022988505747127,
"repo_name": "plotly/python-api",
"id": "7a70dc6221611b0905e60a4f4b6895199c19115a",
"size": "435",
"binary... |
require "utils"
require 'capistrano/configuration/connections'
class ConfigurationConnectionsTest < Test::Unit::TestCase
class MockConfig
attr_reader :original_initialize_called
attr_reader :values
attr_reader :dry_run
attr_accessor :current_task
def initialize
@original_initialize_called ... | {
"content_hash": "0ea4f64758da290b39d6d30c0391e110",
"timestamp": "",
"source": "github",
"line_count": 439,
"max_line_length": 197,
"avg_line_length": 45.40318906605923,
"alnum_prop": 0.6937086092715232,
"repo_name": "piousbox/microsites2-cities",
"id": "41bcb7ec7c3ee9cd86511290f7fac7bdbdab683e",
... |
import masterPlugin
import MatrixUtils
## Wrapper for MatrixUtils.paint()
class paint(masterPlugin.masterPlugin):
def __init__(this):
super().__init__()
this.command = "paint"
this.aliases = None
this.commandInfo = {'requiredArguments': [[0, int, 'col1'],
[1, int, 'row... | {
"content_hash": "ebc386b3b55bb21ba617130b42969bb2",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 80,
"avg_line_length": 35.24390243902439,
"alnum_prop": 0.5515570934256055,
"repo_name": "charlesdaniels/hercm",
"id": "018f4e7b2cb884d6735f945e0bf46422edc1279e",
"size": "... |
package command
import (
"encoding/json"
. "launchpad.net/gocheck"
)
type FailoverSuite struct{}
var _ = Suite(&FailoverSuite{})
func (s *FailoverSuite) TestFailoverFromObj(c *C) {
failovers := []struct {
Expected Failover
Parse string
}{
{
Parse: `true`,
Expected: Failover{
Active: true,
... | {
"content_hash": "05f8bc351787a53152ff4ac56d29d132",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 51,
"avg_line_length": 16.955555555555556,
"alnum_prop": 0.601572739187418,
"repo_name": "pquerna/vulcan",
"id": "307986236adf826208245e9854961dfe94a75aa8",
"size": "763",
... |
layout: posts_by_category
categories: ITU
title: İstanbul Teknik Üniversitesi
permalink: /category/ITU
--- | {
"content_hash": "0ae83e9220ec70f72a871c608cea1da5",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 35,
"avg_line_length": 21.2,
"alnum_prop": 0.8018867924528302,
"repo_name": "ynsgnr/ynsgnr.github.io",
"id": "d2011a926d8d32d39dfa042684674c7b5a6e3322",
"size": "112",
"bi... |
Switchboard
===========
Switchboard is a WebSub Hub
Credits
-------
| {
"content_hash": "1f37f70040c5b1c9e845611fafe2c201",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 27,
"avg_line_length": 7.3,
"alnum_prop": 0.5616438356164384,
"repo_name": "aaronpk/Switchboard",
"id": "72ce2871aca30f0d15c92f0f89b91b47338744d8",
"size": "73",
"binary"... |
/**
* \file
* \brief RPC-URPC scheduler.
*/
/*
* Copyright (c) 2016, ETH Zurich.
* All rights reserved.
*
* This file is distributed under the terms in the attached LICENSE file. If
* you do not find this file, copies can be found by writing to: ETH Zurich
* D-INFK, Universitaetstr. 6, CH-8092 Zurich. Attn: ... | {
"content_hash": "38e752c75d60a60fd7a97c901ec3704b",
"timestamp": "",
"source": "github",
"line_count": 1049,
"max_line_length": 81,
"avg_line_length": 36.66920877025739,
"alnum_prop": 0.49589247647272916,
"repo_name": "jinankjain/barrelfish",
"id": "4e4845a58201b5f403a56fc785a3eb56b5df448f",
"size... |
<?php //[STAMP] f2b91dc7f5d231b3907f473a06687a93
// This class was automatically generated by build task
// You should not change it manually as it will be overwritten on next build
// @codingStandardsIgnoreFile
use Codeception\Module\PhpBrowser;
use Codeception\Module\AcceptanceHelper;
/**
* Inherited Methods
* ... | {
"content_hash": "4fb0ccc6a4c586bbd0df747bf0f9ef60",
"timestamp": "",
"source": "github",
"line_count": 1918,
"max_line_length": 143,
"avg_line_length": 33.00052137643379,
"alnum_prop": 0.5878821391895095,
"repo_name": "hamidgoharjoo/test",
"id": "cdf0ae3a593cc6053f24b47e305a8ce093e656e4",
"size": ... |
var Helper = {};
//Function for getting the radians on an angle
Helper.radians = function(degrees) {
return (Math.PI / 180) * degrees;
}
// Returns an array with the amount of days in every month
// and the count of days of december last year in week 1 as
// the first value in the array.
Helper.getMon... | {
"content_hash": "8bc1e0eee23dbeed1cdf7451ce32f641",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 60,
"avg_line_length": 24.81967213114754,
"alnum_prop": 0.6036988110964333,
"repo_name": "Ice-A-Slice/kvalitetshjulet",
"id": "d53dad010dcf708e6d4155864065a9b20d89c8cb",
"s... |
<!doctype>
<html>
<head>
<meta charset="UTF-8">
<style>
body{
font-family: arial;font-size:12px;
}
</style>
</head>
<body>
<h1>Getting Start</h1>
Nouveau framework PHP basé sur un concept MVC solide et très malléable.<br/><br/>
... | {
"content_hash": "5e85ff58deb3b926de79c9abed2ed659",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 117,
"avg_line_length": 34,
"alnum_prop": 0.624777183600713,
"repo_name": "las93/venus3",
"id": "a9f9f8b36d5b83b9b0d5f8fc43d50429d175b3e4",
"size": "1131",
"binary": fals... |
import * as React from 'react';
import { defineMessages } from 'react-intl';
import {
Boundary,
Button,
Divider,
Menu,
OverflowList,
} from '@blueprintjs/core';
import { Popover2 as Popover } from '@blueprintjs/popover2';
import c from 'classnames';
import { GraphContext } from 'react-ftm/components/NetworkD... | {
"content_hash": "30254c1d804523bbed5f0d6a1ddcdae4",
"timestamp": "",
"source": "github",
"line_count": 413,
"max_line_length": 80,
"avg_line_length": 29.946731234866828,
"alnum_prop": 0.569372574385511,
"repo_name": "alephdata/aleph",
"id": "c1e48b4ee7e546fa2f158f4972937567a2d74155",
"size": "1236... |
package org.kuali.rice.kew.engine.node;
import java.util.HashMap;
import java.util.Map;
/**
* The current context of a search process within a node graph.
*
* @author Kuali Rice Team (rice.collab@kuali.org)
*/
public class NodeGraphContext {
private RouteNodeInstance previousNodeInstance;
private RouteNode... | {
"content_hash": "5dddf79505734ac60a892cd62f15fe7e",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 94,
"avg_line_length": 33.07843137254902,
"alnum_prop": 0.7296976882039122,
"repo_name": "gathreya/rice-kc",
"id": "32b5187ffcbed0482a05f5d9e842312cc8aad61c",
"size": "2308... |
package com.bazaarvoice.commons.data.model.json;
import org.json.JSONArray;
import javax.annotation.Nullable;
public class StringJSONArrayList extends AbstractJSONArrayList<String> {
public StringJSONArrayList(@Nullable JSONArray jsonArray) {
super(jsonArray);
}
@Nullable
@Override
prote... | {
"content_hash": "0a8f1853707d256b4450351cb098b73a",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 72,
"avg_line_length": 25.705882352941178,
"alnum_prop": 0.7391304347826086,
"repo_name": "bazaarvoice/commons-data-dao",
"id": "7e60203b0bf593c339f363b073615766f37360d9",
... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "68e2d0e364734fd9d952371d6d8ded17",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "61f22fc46c2954931632c79814b764ec47ad86af",
"size": "173... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Prime Numbers</title>
<link rel="stylesheet" href="../../math.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
<link rel="home" href="../../index.html" title="Math Toolkit 2.3.0">
<l... | {
"content_hash": "374ad63c2f04062085d805df831bd360",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 452,
"avg_line_length": 79.88095238095238,
"alnum_prop": 0.6536512667660208,
"repo_name": "zjutjsj1004/third",
"id": "3963287ade0f2d7821c082fce6c8675d652b1429",
"size": "67... |
package org.carlspring.strongbox.authentication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
/**
* @author Przemyslaw Fusik
*/
@Configuration
@ComponentScan
public class AuthenticationConfig
{
}
| {
"content_hash": "f9bd06e581dc80c08ecee5353965ef87",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 60,
"avg_line_length": 19.857142857142858,
"alnum_prop": 0.8237410071942446,
"repo_name": "strongbox/strongbox",
"id": "4d87c23ff6350291062014dedf9c25be218c5338",
"size": "... |
#include "signverifymessagedialog.h"
#include "ui_signverifymessagedialog.h"
#include "addressbookpage.h"
#include "base58.h"
#include "guiutil.h"
#include "init.h"
#include "main.h"
#include "optionsmodel.h"
#include "walletmodel.h"
#include "wallet.h"
#include <string>
#include <vector>
#include <QClipboard>
Sign... | {
"content_hash": "7c8d7bd95e379081c1c536e132c56f81",
"timestamp": "",
"source": "github",
"line_count": 274,
"max_line_length": 156,
"avg_line_length": 32.06934306569343,
"alnum_prop": 0.6432229429839535,
"repo_name": "fubendong2/apollocoin",
"id": "88f6b7b9f6a226b64167e670a7761761c5558015",
"size"... |
BU Analytics plugin for C# and Unity written in .NET.
Please visit our [BU Analytics](http://bu-games.bmth.ac.uk) website for more information.
## Installation
For Unity you must install the BUAnalytics package into your project by navigating to `Edit > Import Package > Custom Package`.
For native C# you must copy ... | {
"content_hash": "db84d45d458320644898b2a54c79cbb0",
"timestamp": "",
"source": "github",
"line_count": 156,
"max_line_length": 136,
"avg_line_length": 29.67948717948718,
"alnum_prop": 0.7224622030237581,
"repo_name": "BUAnalytics/C-Sharp",
"id": "e9c691e3c0e69a98f2264f34b6f36f9657334c32",
"size": ... |
import requests
from django.core.urlresolvers import reverse
from django.test.utils import override_settings
from django.test import LiveServerTestCase
class LoginTestCase(LiveServerTestCase):
@override_settings(DEBUG=True)
def test_login(self):
response = requests.get(self.live_server_url + reverse(... | {
"content_hash": "342d18b36bd67123ff09ff4c4a8240b0",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 77,
"avg_line_length": 29.846153846153847,
"alnum_prop": 0.7654639175257731,
"repo_name": "fjsj/liveservererror",
"id": "18880de85cee19c089578955f1e69283379932c3",
"size": ... |
Tinytest.add('jss:admin-settings - test environment', function (test) {
test.isTrue(
typeof AdminSettings !== 'undefined',
'test environment not initialized AdminSettings'
);
test.isTrue(
typeof AdminSettingsTypes !== 'undefined',
'test environment not initialized AdminSettingsTypes'
);
}); | {
"content_hash": "5e05f12f804467bcf31c1e64448daf5e",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 71,
"avg_line_length": 31.5,
"alnum_prop": 0.7111111111111111,
"repo_name": "JSSolutions/meteor-admin-settings",
"id": "0934e3fdb9c56c55fe9bf8ecdd63f4d9e9003a81",
"size": "... |
#include "abstracttwitter4qmltest.h"
#include <userssuggestions.h>
class UsersSuggestionsTest : public AbstractTwitter4QMLTest
{
Q_OBJECT
private Q_SLOTS:
void lang();
void lang_data();
};
void UsersSuggestionsTest::lang()
{
QFETCH(QString, data);
UsersSuggestions usersSuggestions;
QCOMPA... | {
"content_hash": "42c59d42474901cd93f1772eb9b9b39d",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 70,
"avg_line_length": 21.355555555555554,
"alnum_prop": 0.6628511966701353,
"repo_name": "yuntan/twitter4qml",
"id": "e0742e2b983fa613d9fdd1e88c168971f1ae4217",
"size": "2... |
namespace Microsoft.Protocols.TestSuites.MS_OXORULE
{
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Protocols.TestSuites.Common;
/// <summary>
/// Address book EntryIDs can represent several types of Address Book objects including individual users, d... | {
"content_hash": "19e4456b1cf338c57f29e156e28c3cb1",
"timestamp": "",
"source": "github",
"line_count": 201,
"max_line_length": 156,
"avg_line_length": 34.124378109452735,
"alnum_prop": 0.5207756232686981,
"repo_name": "XinwLi/Interop-TestSuites-1",
"id": "43f15ca69125557f0ee584b6b0538419bc390f25",
... |
/* global chai */
'use strict';
import Selector from '../src/converter/Selector';
const expect = chai.expect;
describe('Selector', () => {
it('jest klasą', () => {
expect(Selector).to.be.a('function');
});
it('tworzy własności na podstawie parametrów', () => {
const selector = new Select... | {
"content_hash": "e7dd1a3a31b1981da4f1f69a5e816004",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 58,
"avg_line_length": 25.565217391304348,
"alnum_prop": 0.5697278911564626,
"repo_name": "bmil/bse",
"id": "132affa15c91c78888c998fe2a46cc3fab738003",
"size": "594",
"bi... |
<?php
/**
* Here, we are connecting '/' (base path) to controller called 'Pages',
* its action called 'display', and we pass a param to select the view file
* to use (in this case, /app/View/Pages/home.ctp)...
*/
Router::connect('/', array('controller' => 'pages', 'action' => 'display', 'home'));
/**
* ...and co... | {
"content_hash": "fafcefa0bd00d7f419766bc86dc68070",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 85,
"avg_line_length": 31.875,
"alnum_prop": 0.6509803921568628,
"repo_name": "nickpack/Methadone",
"id": "ff325f5af0fcb9c2801b1fe45037132ec4494eda",
"size": "1654",
"bin... |
var app = require('express')(),
wizard = require('hmpo-form-wizard'),
steps = require('./steps'),
fields = require('./fields');
app.use(require('hmpo-template-mixins')(fields, { sharedTranslationKey: 'prototype' }));
app.use(wizard(steps, fields, { templatePath: 'priority_service_170705/startpage-overseas... | {
"content_hash": "d2b1a4bd22fb82369713424ace0ea0d9",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 95,
"avg_line_length": 35,
"alnum_prop": 0.68,
"repo_name": "UKHomeOffice/passports-prototype",
"id": "068e2860eb7935a221ddf2eb7c939cd8f1107be2",
"size": "350",
"binary":... |
/*
Include declarations.
*/
#include "MagickCore/studio.h"
#include "MagickCore/artifact.h"
#include "MagickCore/attribute.h"
#include "MagickCore/blob.h"
#include "MagickCore/blob-private.h"
#include "MagickCore/cache.h"
#include "MagickCore/cache-private.h"
#include "MagickCore/cache-view.h"
#include "MagickCore... | {
"content_hash": "62f58879132b48bc6acad3f518dc6c68",
"timestamp": "",
"source": "github",
"line_count": 1360,
"max_line_length": 80,
"avg_line_length": 32.775,
"alnum_prop": 0.5266747431237941,
"repo_name": "kwm81/ImageMagick",
"id": "e8430d1494e362a1b5d469aa1680801eb14f2047",
"size": "47225",
"b... |
package jwt
import "time"
// Mapper is the interface used internally to map key-value pairs
type Mapper interface {
ToMap() map[string]interface{}
Add(key string, value interface{})
Get(key string) interface{}
}
// ToString will return a string representation of a map
func ToString(i interface{}) string {
if i =... | {
"content_hash": "a660c0b6a4b925b2e8d705078ad65617",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 85,
"avg_line_length": 20.27777777777778,
"alnum_prop": 0.6493150684931507,
"repo_name": "janekolszak/fosite",
"id": "6e0513f19cda15127ea3034b0b6d22f78efbbfd3",
"size": "14... |
namespace System.Web.UI.WebControls {
using System.ComponentModel;
using System.Security.Permissions;
[
ToolboxItem(false),
SupportsEventValidation,
]
/// <devdoc>
/// <para>Constructs a table used for pager rows for DetailsView, GridView, and FormView</para>
/// </devdoc>
i... | {
"content_hash": "24241c3d48a1a5f21bf93ace4bf5dfb4",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 102,
"avg_line_length": 24.6,
"alnum_prop": 0.6612466124661247,
"repo_name": "mono/referencesource",
"id": "f55e26d655b39e41ea94b96ce050f7aea7766ffc",
"size": "670",
"bin... |
package org.hoteia.qalingo.core.dao;
import java.util.Date;
import java.util.List;
import org.hibernate.Criteria;
import org.hibernate.criterion.Order;
import org.hibernate.criterion.Restrictions;
import org.hibernate.sql.JoinType;
import org.hoteia.qalingo.core.domain.CatalogCategoryMaster;
import org.ho... | {
"content_hash": "dc779311e8eab5d50180c4b71c210bc3",
"timestamp": "",
"source": "github",
"line_count": 295,
"max_line_length": 216,
"avg_line_length": 44.722033898305085,
"alnum_prop": 0.7032517243993026,
"repo_name": "cloudbearings/qalingo-engine",
"id": "75c34655554eb108384c4948cae64c49643c081b",
... |
using BizHawk.Emulation.Common;
namespace BizHawk.Emulation.Cores.Atari.A7800Hawk
{
public partial class A7800Hawk : IInputPollable
{
public int LagCount
{
get { return _lagcount; }
set { _lagcount = value; }
}
public bool IsLagFrame
{
get { return _islag; }
set { _islag = value; }
}
pub... | {
"content_hash": "e0e2c57b477fbe391309e20098852224",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 82,
"avg_line_length": 19.083333333333332,
"alnum_prop": 0.6790393013100436,
"repo_name": "ircluzar/RTC3",
"id": "7271981aec497d05e0d72973d6cefdec45186664",
"size": "460",
... |
package lejos.internal.ev3;
import lejos.hardware.LED;
import lejos.internal.io.NativeDevice;
public class EV3LED implements LED {
private static NativeDevice dev = new NativeDevice("/dev/lms_ui");
public static int COLOR_NONE = 0;
public static int COLOR_GREEN = 1;
public static int COLOR_RED = 2;
public st... | {
"content_hash": "5eb053384f88d099f5fafc97d1820de2",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 67,
"avg_line_length": 23.636363636363637,
"alnum_prop": 0.6653846153846154,
"repo_name": "antoniardot/DockBot-Eve",
"id": "867fde13b011ee0b4741e5ac21eaa49c80bcc468",
"size... |
@implementation TweetingViewController
@synthesize tweetLabel, attachedImage;
#pragma mark - View lifecycle
- (void)viewDidLoad {
[super viewDidLoad];
}
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
return (interfaceOrientation == UIInterfaceOrientationPortrait... | {
"content_hash": "90a0ffe8b23ab012e0d706c501faca14",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 112,
"avg_line_length": 32.71666666666667,
"alnum_prop": 0.6622516556291391,
"repo_name": "3kunci/IdocTwit",
"id": "ef17e26ff0701c7357915305aefd2ba794a293d3",
"size": "2206... |
/**
* A package for meal analysis algorithms.
*/
/**
* @author master
*
*/
package com.visionarysoftwaresolutions.smacker.api.nutrition.analysis; | {
"content_hash": "ef8e2b641b8cf5b82af6f70aea7c59bd",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 70,
"avg_line_length": 18.75,
"alnum_prop": 0.72,
"repo_name": "Byter/smacker",
"id": "125ca6d827a177b8e002aee7c5fd1df7cbdbdd5f",
"size": "150",
"binary": false,
"copies... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TextManager.Interop;
using Microsoft.VisualStudio.Shell;
using System.Diagnostics;
using EnvDTE;
using VisualLocalizer.Editor;
using Microsoft.VisualStudio.Shell.Interop;
using System.IO;
using... | {
"content_hash": "9b77089dc9e7ccb409f843267f89efb4",
"timestamp": "",
"source": "github",
"line_count": 225,
"max_line_length": 324,
"avg_line_length": 58.82222222222222,
"alnum_prop": 0.5845107669059313,
"repo_name": "ostumpf/visuallocalizer",
"id": "eaf0ea2800f3ec7ef20f27ad4b571e080eef631e",
"siz... |
.class public final Landroid/webkit/CookieSyncManager;
.super Landroid/webkit/WebSyncManager;
.source "CookieSyncManager.java"
# static fields
.field private static sRef:Landroid/webkit/CookieSyncManager;
# direct methods
.method private constructor <init>(Landroid/content/Context;)V
.locals 1
.parameter "c... | {
"content_hash": "91bc2dd0b173d238d3a88398d168ce71",
"timestamp": "",
"source": "github",
"line_count": 222,
"max_line_length": 119,
"avg_line_length": 22.166666666666668,
"alnum_prop": 0.7002641739483845,
"repo_name": "baidurom/devices-g520",
"id": "6d534bbbf01ea6c2ef91d3c9fcf0a2a8fa61dabc",
"size... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE775_Missing_Release_of_File_Descriptor_or_Handle__w32CreateFile_no_close_81a.cpp
Label Definition File: CWE775_Missing_Release_of_File_Descriptor_or_Handle__w32CreateFile_no_close.label.xml
Template File: source-sinks-81a.tmpl.cpp
*/
/*
* @description
* CWE: 775... | {
"content_hash": "6ae40d2c61993f89fe9d7465b22ea241",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 197,
"avg_line_length": 32.707070707070706,
"alnum_prop": 0.637739345274861,
"repo_name": "maurer/tiamat",
"id": "6c190d6484cba7e09e84e9022a1d03f5a5ef44b5",
"size": "3238",... |
r"""
This code was generated by
\ / _ _ _| _ _
| (_)\/(_)(_|\/| |(/_ v1.0.0
/ /
"""
from twilio.base import deserialize
from twilio.base import values
from twilio.base.instance_context import InstanceContext
from twilio.base.instance_resource import InstanceResource
from twilio.base.list_resource ... | {
"content_hash": "4bfc0d6578cf76cfe42cf4b6a2321272",
"timestamp": "",
"source": "github",
"line_count": 511,
"max_line_length": 192,
"avg_line_length": 36.76320939334638,
"alnum_prop": 0.620142659427233,
"repo_name": "tysonholub/twilio-python",
"id": "575ee7a68bc9ad4032d1cf483e0031a80a8a2ee7",
"siz... |
The aim of this first guide is to get a Phoenix application up and running as quickly as possible.
Before we begin, please take a minute to read the [Installation Guide](http://www.phoenixframework.org/docs/installation). By installing any necessary dependencies beforehand, we'll be able to get our application up and ... | {
"content_hash": "bcfdb824f7212489d66e77828e71f887",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 574,
"avg_line_length": 43.54,
"alnum_prop": 0.7618282039503904,
"repo_name": "larrylv/phoenix_guides",
"id": "361c61815920e2544110fad017a9511d96fc988e",
"size": "4354",
... |
#include "lib.h"
#include "array.h"
#include "ioloop.h"
#include "str.h"
#include "llist.h"
#include "mkdir-parents.h"
#include "unlink-directory.h"
#include "index-mail.h"
#include "mail-copy.h"
#include "mail-search.h"
#include "mailbox-list-private.h"
#include "virtual-plugin.h"
#include "virtual-transaction.h"
#i... | {
"content_hash": "0a01c13d81625e4c6791a4cfc7a1273f",
"timestamp": "",
"source": "github",
"line_count": 772,
"max_line_length": 83,
"avg_line_length": 27.40414507772021,
"alnum_prop": 0.685195689166194,
"repo_name": "LTD-Beget/dovecot",
"id": "60ea3731fe59c284689f5b18578fe1556d7acf2a",
"size": "212... |
@class DBGCodeModule, DBGDataValue, DBGDisassemblyInstructionList, DBGThread, DVTObservingToken, DVTStackBacktrace, IDELaunchSession, NSArray, NSNumber, NSString, NSURL;
@interface DBGStackFrame : NSObject <IDEDebugNavigableModel, DVTInvalidation>
{
DVTObservingToken *_debugSessionStateObserver;
BOOL _hasSymbo... | {
"content_hash": "b5a32ac90dc69dd9de59f336dc18f3f9",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 169,
"avg_line_length": 53.92307692307692,
"alnum_prop": 0.7912505943889682,
"repo_name": "wczekalski/Distraction-Free-Xcode-plugin",
"id": "1fb801a8360589bf0554d245709e69e2e... |
package com.intellij.openapi.keymap;
import com.intellij.openapi.actionSystem.ActionManager;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.KeyboardShortcut;
import com.intellij.openapi.actionSystem.Shortcut;
import com.intellij.openapi.actionSystem.ex.ActionManagerEx;
imp... | {
"content_hash": "ce8c7463eaff9440058adb31086b1db0",
"timestamp": "",
"source": "github",
"line_count": 706,
"max_line_length": 205,
"avg_line_length": 59.17847025495751,
"alnum_prop": 0.610818573480134,
"repo_name": "orekyuu/intellij-community",
"id": "bd53a43138a49f6f5a08aaf4ab9c97e130a143f8",
"s... |
module app.userManagement {
angular.module("app.userManagement", [
"app.common"
]).config([
"$componentLoaderProvider",
"apiEndpointProvider",
"featureComponentsMappingsProvider",
"routesProvider",
config
]);
function config($componentLoaderProvider: an... | {
"content_hash": "f20a211d7b237be4cb810633314add28",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 85,
"avg_line_length": 30.547619047619047,
"alnum_prop": 0.5580670303975058,
"repo_name": "QuinntyneBrown/LearningOriented",
"id": "0c190bd03ae3eb5e2df55afa8a958c75bae74b1b",... |
namespace LayoutFarm.TestTextFlow
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | {
"content_hash": "45fcd3aefee0c94442e16d382492eb33",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 107,
"avg_line_length": 36.61904761904762,
"alnum_prop": 0.5520156046814044,
"repo_name": "LayoutFarm/PixelFarm",
"id": "9b9732a325f161e1d49ed30e38de93441f6e9999",
"size": ... |
"""
OpenAPI spec version:
Generated by: https://github.com/swagger-api/swagger-codegen.git
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.a... | {
"content_hash": "e27ac799f08c4ab04bfe005b4a03e905",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 76,
"avg_line_length": 24.568627450980394,
"alnum_prop": 0.6927374301675978,
"repo_name": "detiber/lib_openshift",
"id": "038c6460f87713748023f91017bd31c73e13852f",
"size":... |
'use strict';
var _inherits = require('babel-runtime/helpers/inherits')['default'];
var _classCallCheck = require('babel-runtime/helpers/class-call-check')['default'];
var _extends = require('babel-runtime/helpers/extends')['default'];
var _interopRequireDefault = require('babel-runtime/helpers/interop-require-defa... | {
"content_hash": "97702af08dc86789672577250b22af31",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 106,
"avg_line_length": 27.88421052631579,
"alnum_prop": 0.6715741789354474,
"repo_name": "principle-systems/react-shopping-cart-starter-kit",
"id": "565e5d7d199fbb83de3c7438... |
package jj.http.client;
import java.util.List;
import jj.configuration.Default;
import jj.configuration.DefaultProvider;
/**
* @author jason
*
*/
public interface HttpClientConfiguration {
/**
* the ip address of the local interface to use for http client communication
* if left null, will use the wildcar... | {
"content_hash": "80875b581d8197ae8be391ce57c5000c",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 81,
"avg_line_length": 29.38095238095238,
"alnum_prop": 0.7341977309562399,
"repo_name": "heinousjay/JibbrJabbr",
"id": "be0f9f79b9b40580ab87e328272641d839a79180",
"size": ... |
import os
# Variables
__author__ = "Rodrigo 'ItsPaper' Muñoz"
__authoremail__ = "Rodrigo.mcuadrada@gmail.com"
__version__ = "Alpha"
# Functions
def welcome():
print("Welcome to IMES: Itspaper's Message Encryption System!")
print("Made by: {}. You are using Version: {}".format(__author__, __version__))
de... | {
"content_hash": "42284388206d72dbb4274f097171f2c6",
"timestamp": "",
"source": "github",
"line_count": 303,
"max_line_length": 85,
"avg_line_length": 24.31023102310231,
"alnum_prop": 0.5054303556882976,
"repo_name": "ItsPapermunoz/IMES",
"id": "13cc116f7a880c8288ca17052b5e0f27cee1cdd9",
"size": "7... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>qarith: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... | {
"content_hash": "851ee70e2c4f38491ed5e2b8a2c65945",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 159,
"avg_line_length": 40.75581395348837,
"alnum_prop": 0.5439372325249643,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "cbcc631bdc82c8c0a50b9e5d766469ace151b885",
... |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Example - example-example9-production</title>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.22/angular.min.js"></script>
</head>
<body ng-app="">
Check me to select: <input type="checkbox" ng-model="selected"><br/>
... | {
"content_hash": "d31734828be9220012a0ecb68e447eb6",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 89,
"avg_line_length": 22.55,
"alnum_prop": 0.647450110864745,
"repo_name": "johncol/angularjs",
"id": "4ce973f9a128d7361ea8ff9bb51586728648734b",
"size": "451",
"binary"... |
<?php
defined('_JEXEC') or die;
JHtml::_('behavior.keepalive');
?>
<form action="<?php echo JRoute::_('index.php', true, $params->get('usesecure')); ?>" method="post" id="form-login">
<fieldset class="loginform">
<label id="mod-login-username-lbl" for="mod-login-username"><?php echo JText::_('JGLOBAL_USERNAME');... | {
"content_hash": "e1ab40d1f4ad3330eed546bd964b0d86",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 130,
"avg_line_length": 36.714285714285715,
"alnum_prop": 0.6086714841578654,
"repo_name": "Bluemit/EDirect",
"id": "993a3a976ace937faa4e34faabc40558ed781966",
"size": "204... |
// Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.
// Copyright (c) 2001-2004 NovodeX AG. All rights reserved.
#ifndef PXS_ARTICULATION_HELPER_H
#define PXS_ARTICULATION_HELPER_H
#include "PxcArticulation.h"
#include "PxcSpatial.h"
namespace physx
{
struct PxcArticulationSolverDesc;
struct... | {
"content_hash": "c09337d799fb91024993f5f604239e5d",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 130,
"avg_line_length": 29.580459770114942,
"alnum_prop": 0.6831163784728969,
"repo_name": "PopCap/GameIdea",
"id": "f5c68b0fe2cb99adf7b66d2e6ef2e0336ca8a6d9",
"size": "55... |
--
-- image-user-index.sql
--
-- Add user/timestamp index to current image versions
--
ALTER TABLE /*$wgDBprefix*/image
ADD INDEX img_usertext_timestamp (img_user_text,img_timestamp);
| {
"content_hash": "99ea2b11a30402c0e5794aa3308e8a31",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 66,
"avg_line_length": 23.875,
"alnum_prop": 0.7120418848167539,
"repo_name": "AKFourSeven/antoinekougblenou",
"id": "db56b221f85070bd57f978dadccfca107d7a1d5b",
"size": "191... |
package cc.nfscan.server.domain;
import java.io.Serializable;
/**
* Base POJO interface for all entities on the whole application
*
* @author Paulo Miguel Almeida <a href="http://github.com/PauloMigAlmeida">@PauloMigAlmeida</a>
*/
public interface IDomain extends Serializable {
}
| {
"content_hash": "a94719d53973e298050ef9537dda9aa3",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 96,
"avg_line_length": 24,
"alnum_prop": 0.7534722222222222,
"repo_name": "PauloMigAlmeida/nfscan",
"id": "be68829a6c2662d1b8d5c3dfef65fe8f9f7c129e",
"size": "288",
"bina... |
package org.apache.airavata.workflow.engine.util;
///*
// *
// * 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
// * t... | {
"content_hash": "29661206ca01fd81f05bf288d5f07104",
"timestamp": "",
"source": "github",
"line_count": 247,
"max_line_length": 131,
"avg_line_length": 41.53846153846154,
"alnum_prop": 0.6249512670565303,
"repo_name": "gouravshenoy/airavata",
"id": "d6a281cb977273c6f4bb9d0c337a765bf7d79a5c",
"size"... |
<?php
/**
* @namespace
*/
namespace Zend\Text\Table\Exception;
class OverflowException
extends \OverflowException
implements \Zend\Text\Exception
{
}
| {
"content_hash": "f0f85059bae0a723efbe2b1f4be214b9",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 36,
"avg_line_length": 14.636363636363637,
"alnum_prop": 0.7204968944099379,
"repo_name": "florian987/DemoSite",
"id": "a63928b9b92741e9deb8636dc37abbf00e89caab",
"size": "... |
package vizzini
/*
* File Generated by enaml generator
* !!! Please do not edit this file !!!
*/
type Ssh struct {
/*ProxyAddress - Descr: Host and port for the SSH proxy Default: ssh-proxy.service.cf.internal:2222
*/
ProxyAddress interface{} `yaml:"proxy_address,omitempty"`
/*ProxySecret - Descr: Shared secret f... | {
"content_hash": "b6ea5b5e4eb616374f7d14a9203e1192",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 100,
"avg_line_length": 27.25,
"alnum_prop": 0.7293577981651376,
"repo_name": "enaml-ops/omg-product-bundle",
"id": "d86a4478d7436b7059e0c62bc22e1bb9f82d7e2d",
"size": "436... |
#if !defined(CY_BOOT_CYSPC_H)
#define CY_BOOT_CYSPC_H
#include "cytypes.h"
#include "CyLib.h"
#include "cydevice_trm.h"
/***************************************
* Global Variables
***************************************/
extern uint8 SpcLockState;
/***************************************
* Function Prototy... | {
"content_hash": "c40e6b4ff6c3195f28b4563fbc740d8d",
"timestamp": "",
"source": "github",
"line_count": 151,
"max_line_length": 120,
"avg_line_length": 41.70860927152318,
"alnum_prop": 0.5612892981899016,
"repo_name": "btodoroff/simaces",
"id": "0978a96b4c9e502e6b8da874120456eea1bbe35a",
"size": "7... |
/* jshint indent: 2 */
module.exports = function(sequelize, DataTypes) {
return sequelize.define('usuarioTipo', {
id: {
type: DataTypes.INTEGER(11),
allowNull: false,
primaryKey: true,
autoIncrement: true
},
descripcion: {
type: DataTypes.STRING,
allowNull: true
}
... | {
"content_hash": "1865a77b70f06afcbd190b38a9280bf1",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 49,
"avg_line_length": 20.217391304347824,
"alnum_prop": 0.5763440860215053,
"repo_name": "ungs-pp1g2/delix",
"id": "85c5b64afea4801a9b9176c9e2bb8b1c0e2abe36",
"size": "465... |
//
// AudioController.h
//
//
// Created by Manuel Deneu on 16/08/14.
//
//
#ifndef ____AudioController__
#define ____AudioController__
#include <iostream>
class AudioController
{
public:
AudioController();
~AudioController();
private:
};
#endif /* defined(____AudioController__) */
| {
"content_hash": "ac5397c0d718e217e2b1fd5ecc150c10",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 43,
"avg_line_length": 11.142857142857142,
"alnum_prop": 0.6121794871794872,
"repo_name": "manu88/Celesta",
"id": "fd48175fe46564b896239a972e7d1285115e264b",
"size": "312",... |
<!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 (version 1.7.0_80) on Mon Mar 14 23:47:29 UTC 2016 -->
<title>LinkAccountCard</title>
<meta name="date" content="2016-03-14">
<link rel="stylesheet" t... | {
"content_hash": "1eedac2f27e88e41cae5090c03b2b6a1",
"timestamp": "",
"source": "github",
"line_count": 242,
"max_line_length": 188,
"avg_line_length": 34.45454545454545,
"alnum_prop": 0.6295274646198129,
"repo_name": "Miniland1333/alexa-skills-kit-java",
"id": "78bcfc5b72675dc159d34b19a3c4afde708883... |
package org.mifos.application.meeting.business;
import java.util.Calendar;
import java.util.Date;
import java.util.Locale;
import org.apache.commons.lang.StringUtils;
import org.joda.time.DateTime;
import org.joda.time.LocalDate;
import org.mifos.application.meeting.MeetingTemplate;
import org.mifos.application.mee... | {
"content_hash": "29b54782a36a7d35ef76c4db8ed2d27b",
"timestamp": "",
"source": "github",
"line_count": 479,
"max_line_length": 166,
"avg_line_length": 43.102296450939455,
"alnum_prop": 0.7138913106655043,
"repo_name": "madhav123/gkmaster",
"id": "94c83ea9c63eaeef65c11278664cc020947dc042",
"size": ... |
class CardSetCard < ActiveRecord::Base
belongs_to :user
belongs_to :card_set
belongs_to :card
end
| {
"content_hash": "04b58e910a583ab0a1816d352cdb88ec",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 38,
"avg_line_length": 20.8,
"alnum_prop": 0.7403846153846154,
"repo_name": "kintner/enki",
"id": "497fd5ad44b2df796b35d8d63f661e1ac3e20fd2",
"size": "104",
"binary": fals... |
<?php
declare(strict_types=1);
namespace Gdbots\Bundle\PbjxBundle;
use Gdbots\Pbj\Message;
use Gdbots\Pbjx\Pbjx;
use Gdbots\Pbjx\RequestHandler;
use Gdbots\Schemas\Pbjx\Request\EchoResponseV1;
final class EchoRequestHandler implements RequestHandler
{
public static function handlesCuries(): array
{
r... | {
"content_hash": "37c44430fc4a3574baa54acaa5ef1dc1",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 74,
"avg_line_length": 23.166666666666668,
"alnum_prop": 0.6870503597122302,
"repo_name": "gdbots/pbjx-bundle-php",
"id": "79548a12f24e5a27146220153e9f35feddb5ee9c",
"size"... |
'use strict';
angular.module('records').factory('Records', ['$resource',
function ($resource) {
return $resource('records/:recordId', {
recordId: '@_id'
}, {
update: {
method: 'PUT'
}
});
}
]);
| {
"content_hash": "7a0c88abe26d1d3a5465b148b7034e74",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 58,
"avg_line_length": 21.46153846153846,
"alnum_prop": 0.4336917562724014,
"repo_name": "eric-marie/my-kitchen-garden",
"id": "a0d53e93f1e1e060b649cd64eaaf235ccf7e6265",
"... |
using Sensus.Shared.Exceptions;
using System;
using Xamarin.Forms;
using System.Reflection;
namespace Sensus.Shared.UI.UiProperties
{
/// <summary>
/// Decorated members should be rendered as display-only yes/no values.
/// </summary>
public class DisplayYesNoUiProperty : UiProperty
{
publi... | {
"content_hash": "10f663abdf989df7f1a861ae4621dc3e",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 137,
"avg_line_length": 32.13953488372093,
"alnum_prop": 0.5955137481910275,
"repo_name": "wesbonelli/sensus",
"id": "9639e4e633a1c3215fc568f165ff9ef7c515b44e",
"size": "20... |
Fastest CSV class for MRI Ruby and JRuby. Faster than faster_csv and fasterer-csv.
Uses native C code to parse CSV lines in MRI Ruby and Java in JRuby.
Supports standard CSV according to RFC4180. Not the so-called "csv" from Excel.
The interface is a subset of the CSV interface in Ruby 1.9.3. The options parameter ... | {
"content_hash": "1d4bbb4fbee42e0b7692322b87516508",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 101,
"avg_line_length": 18.592105263157894,
"alnum_prop": 0.6963906581740976,
"repo_name": "brightcode/fastest-csv",
"id": "cc7796573a9dc321b9dc64e7fb41a59f7ea3a93b",
"size... |
@interface ZFCollectionViewListController : UIViewController
@end
| {
"content_hash": "30bf5445b8ebfc3c6689741f817055cc",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 60,
"avg_line_length": 22.333333333333332,
"alnum_prop": 0.8656716417910447,
"repo_name": "renzifeng/ZFPlayer",
"id": "845a4422df8c226aa5ea17a448f7dcb1d735fb13",
"size": "25... |
#ifndef __MSG_TIMER_H
#define __MSG_TIMER_H
enum msg_timer
{
/**
* Register a timer to trigger in approximately N nanoseconds.
*
* arg1: timeout.
*/
MSG_REG_TIMER = MSG_USER,
/**
* A registered timer has triggered. The timer will not be triggered again
* unless you re-register a new timeout.
*/
MSG_T... | {
"content_hash": "607f30c3218ce91e68983f0c067692a0",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 75,
"avg_line_length": 17.444444444444443,
"alnum_prop": 0.6326963906581741,
"repo_name": "olsner/os",
"id": "abaea30045970160efe4bf7b6d2c96e3a93b4f78",
"size": "471",
"b... |
//jQuery to collapse the navbar on scroll
$(window).scroll(function() {
if ($(".navbar").offset().top > 50) {
$(".navbar-fixed-top").addClass("top-nav-collapse");
} else {
$(".navbar-fixed-top").removeClass("top-nav-collapse");
}
});
//jQuery for page scrolling feature - requires jQuery Eas... | {
"content_hash": "e40494b8934eb2e6b645c1781b77fca1",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 132,
"avg_line_length": 32.146067415730336,
"alnum_prop": 0.5277874868926948,
"repo_name": "ivyfilmfestival/ivyfilmfestival.github.io",
"id": "4555c0c4915bf8fcbfaa06fcaefbd08... |
export { default } from './Typography';
export * from './TypographyProps';
export { default as typographyClasses } from './typographyClasses';
export * from './typographyClasses';
| {
"content_hash": "0b569a4f1785b9ac0f712b96f437b7e9",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 67,
"avg_line_length": 45,
"alnum_prop": 0.7333333333333333,
"repo_name": "rscnt/material-ui",
"id": "bbaa51027683f6c57bf2622e4c18523395b5c7d7",
"size": "180",
"binary": f... |
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
import * as restm from 'typed-rest-client/RestClient';
import vsom = require('./VsoClient');
import basem = require('./ClientApiBases');
import VsoBaseInterfaces = require('./interfaces/common/VsoBaseInterfaces');... | {
"content_hash": "50a80e07aaff555f8a9b26a11efea570",
"timestamp": "",
"source": "github",
"line_count": 246,
"max_line_length": 222,
"avg_line_length": 42.333333333333336,
"alnum_prop": 0.5763395429229883,
"repo_name": "Microsoft/vso-node-api",
"id": "acccf5dc3de490d9b7b64e0797bfabdda871dfdf",
"siz... |
'use strict';
// ==========================================================================
// Math Round
// ==========================================================================
// Syntax
Math.round(x);
// Returns the value 20
x = Math.round(20.49);
// Returns the value 21
x = Math.round(20.5);
... | {
"content_hash": "8ce5d85bf719ff73c653a46866e974f3",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 78,
"avg_line_length": 19.441176470588236,
"alnum_prop": 0.481089258698941,
"repo_name": "Renatodeluna/lab",
"id": "8a7b66c7f9fcbc27b27ebc22b681e3cdd6095e05",
"size": "661"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>frameset</title>
</head>
<frameset rows="50%,50%">
<frame src="a.html">
<frameset cols="25%,75%">
<frame src="b.html">
<frame src="c.html">
</frameset>
</frameset>
<script src="http://apps.bdimg.com/libs/jquery/... | {
"content_hash": "b00aada66b2ca9a1729d8f20304dca78",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 100,
"avg_line_length": 23.473684210526315,
"alnum_prop": 0.600896860986547,
"repo_name": "future-team/fe-training",
"id": "1f76ea80921d27955f213ddbbdc1e7c2d3336bc4",
"size... |
package abi10_0_0.host.exp.exponent.modules.api;
import android.app.Activity;
import android.content.Context;
import android.content.pm.PackageManager;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.os.Build;
import android.os.Bundle;... | {
"content_hash": "8ee36768139be9e96bf9b79cfe428d3a",
"timestamp": "",
"source": "github",
"line_count": 238,
"max_line_length": 173,
"avg_line_length": 42.98739495798319,
"alnum_prop": 0.7096080539536702,
"repo_name": "jolicloud/exponent",
"id": "fba5ca1f4f31a82edc8c6c28f3d4a602a7c6661e",
"size": "... |
Nyyyyahhhhahaawwwwwwwwwwwww
| {
"content_hash": "49160a08a770445543ab0ce863b7e7cb",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 27,
"avg_line_length": 28,
"alnum_prop": 0.9642857142857143,
"repo_name": "musicglue/project-elephant",
"id": "3f3054d7b0aaeaabeb5e81d14102fb2baf3a64b9",
"size": "47",
"bi... |
import sys
import os
from gi.repository import GLib
realpath = GLib.get_current_dir()
sys.path.append(realpath + '/Modules/')
sys.path.append(realpath + '/Apps/')
from Apps.MenuBar import MenuBar
from Apps.AppsWindow import AppsWindow
os.system('python MenuBar_main.py &')
os.system('python AppsWindow_main.py &')
| {
"content_hash": "23b1f2d9b3a836f7ff1f6f8e4104adb2",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 40,
"avg_line_length": 21.266666666666666,
"alnum_prop": 0.7523510971786834,
"repo_name": "OlivierLarrieu/HYDV2",
"id": "176cb617655d1c820c4740bb0a34feec3cf4ba0e",
"size": ... |
#import "CAGradientLayer.h"
#import "IDENavigationHUDDisposableLayer-Protocol.h"
#import "IDENavigationHUDSelectableLayer-Protocol.h"
#import "IDENavigationHUDWindowLevelNavigableLayer-Protocol.h"
@class IDENavigationHUDController, IDENavigationHUDSelection;
@interface IDENavigationHUDAbstractWorkspaceWindowLayer ... | {
"content_hash": "05274253c28323a98d4d063be785c66b",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 183,
"avg_line_length": 37.310344827586206,
"alnum_prop": 0.8595194085027726,
"repo_name": "djromero/ShowInGitHub",
"id": "988e0ab86875aaad8a4e81f748e891a916067d06",
"size"... |
namespace capnp {
template <typename VatId, typename ProvisionId, typename RecipientId,
typename ThirdPartyCapId, typename JoinResult>
class VatNetwork;
template <typename SturdyRefObjectId>
class SturdyRefRestorer;
template <typename VatId>
class BootstrapFactory: public _::BootstrapFactoryBase {
// Inte... | {
"content_hash": "ee35b2b097c8f6d8d24c0b524679405b",
"timestamp": "",
"source": "github",
"line_count": 506,
"max_line_length": 100,
"avg_line_length": 49.80632411067194,
"alnum_prop": 0.7345845567812078,
"repo_name": "hntrmrrs/capnproto",
"id": "6bc7e4581db9320f6141a1aa52f6ef5c6fcc5a6f",
"size": "... |
class Short < Trade
private
def compute_cash_delta
if shares.nil? || price.nil?
self.cash_delta = nil
else
self.cash_delta = shares * price - commission
end
end
def compute_shares_delta
self.shares_delta = -shares
end
end | {
"content_hash": "ba4774937e9672e48136af5f25620a09",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 51,
"avg_line_length": 15.470588235294118,
"alnum_prop": 0.6387832699619772,
"repo_name": "sandiegoscott/portfolioz",
"id": "88067379c84feda6ecfdb6a6dd574a894857837a",
"siz... |
require 'spec_helper'
describe "Mutations::BooleanFilter" do
it "allows booleans" do
f = Mutations::BooleanFilter.new
filtered, errors = f.filter(true)
assert_equal true, filtered
assert_equal nil, errors
filtered, errors = f.filter(false)
assert_equal false, filtered
assert_equal nil, ... | {
"content_hash": "64de8fbfb212cdbaad96a3892e08eb80",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 175,
"avg_line_length": 28.60655737704918,
"alnum_prop": 0.6446991404011462,
"repo_name": "cypriss/mutations",
"id": "0049e0dc3dcb4d0c439213f7927b4fcff293f943",
"size": "17... |
/* ====================================================================
* Copyright 2005 Nokia. All rights reserved.
*
* The portions of the attached software ("Contribution") is developed by
* Nokia Corporation and is licensed pursuant to the OpenSSL open source
* license.
*
* The Contribution, originally writ... | {
"content_hash": "a887af33613667a1bdd78eb82ab79cbd",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 73,
"avg_line_length": 26.16,
"alnum_prop": 0.6771515945827873,
"repo_name": "endlessm/chromium-browser",
"id": "5770aac7be7965553229d2776f977b16bbc2ad6b",
"size": "7740",... |
<!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 (version 1.7.0-google-v5) on Thu Dec 19 17:42:43 EST 2013 -->
<title>UserDomainTargeting</title>
<meta name="date" content="2013-12-19">
<link rel="st... | {
"content_hash": "d3d5ec8663ec3840b0601814aede94e7",
"timestamp": "",
"source": "github",
"line_count": 462,
"max_line_length": 256,
"avg_line_length": 38.495670995671,
"alnum_prop": 0.6465560865898229,
"repo_name": "google-code-export/google-api-dfp-java",
"id": "cded4c973d64defbd081b9fdebd583cd56a8... |
"""
Formatting and style flags for ecstasy.
"""
from enum import Enum, unique
import ecstasy.errors as errors
LIMIT = 0
class Hack(object):
"""
A hack namespace to make enumeration work continuously
across multiple flag enum-classes. 'last' will be
set to the last enumerated enum-class and
start to the value a... | {
"content_hash": "a1e965662c0b4d1c8c5d53a97f635e1a",
"timestamp": "",
"source": "github",
"line_count": 233,
"max_line_length": 71,
"avg_line_length": 20.549356223175966,
"alnum_prop": 0.6741854636591479,
"repo_name": "goldsborough/ecstasy",
"id": "b797db7c168fd6ea70cedac286a6873958f2fd07",
"size":... |
<?php
namespace ZendTest\Mail\Header;
use Zend\Mail\Header\ContentType;
/**
* @group Zend_Mail
*/
class ContentTypeTest extends \PHPUnit_Framework_TestCase
{
public function testContentTypeFromStringCreatesValidContentTypeHeader()
{
$contentTypeHeader = ContentType::fromString('Content-Type: ... | {
"content_hash": "c30d7654fcaa70efe189775dd026c476",
"timestamp": "",
"source": "github",
"line_count": 159,
"max_line_length": 111,
"avg_line_length": 35.132075471698116,
"alnum_prop": 0.6478696741854637,
"repo_name": "stefanotorresi/zend-mail",
"id": "b9911863433bd06b3a506f2cbb04dc26e134d04a",
"s... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "23695194a37542e68364821a06c2c2cc",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "47c794de07144bac69b171105884c61ebaa3168d",
"size": "185... |
package se.l4.silo.engine.internal;
import java.io.IOException;
import java.io.InputStream;
import java.util.Arrays;
import java.util.LinkedList;
/**
* Helper to check against actual operations against a set of expected
* operations.
*
* @author Andreas Holstenson
*
*/
public class OpChecker
{
private final Li... | {
"content_hash": "92b00573252ed5a9099b563aa3ce5799",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 90,
"avg_line_length": 19.27,
"alnum_prop": 0.6009340944473275,
"repo_name": "LevelFourAB/silo",
"id": "276d95a112688145f5f8a26ec68ae0ccb9d1198a",
"size": "1927",
"binar... |
package com.github.pabloo99.xmlsoccer.api.dto;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;
/**
* Created by pmazur on 2014-11-30.
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GetPlayersResultDto {
private Integer id;
privat... | {
"content_hash": "cfd030162c6afff7b6d5b862d17b66f9",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 46,
"avg_line_length": 20.82758620689655,
"alnum_prop": 0.7516556291390728,
"repo_name": "spauny/xmlsoccer",
"id": "ed5b31c5b933f166f62830b832450a1845f31abb",
"size": "604"... |
<HTML><HEAD>
<TITLE>Review for End of Days (1999)</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0146675">End of Days (1999)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?Donlee+Brussel"... | {
"content_hash": "4fd9b28e5f231ca9949722d1f9a782b5",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 201,
"avg_line_length": 59.93181818181818,
"alnum_prop": 0.7495259764884338,
"repo_name": "xianjunzhengbackup/code",
"id": "a5c7277c7a114243f3bf4f801385caaea7482003",
"size... |
package com.fillodeos.sdr.webhook.domain;
import com.fillodeos.sdr.webhook.listener.jpa.WebhookEntityListener;
import javax.persistence.*;
import java.util.Set;
@Entity
@EntityListeners(WebhookEntityListener.class)
public class Webhook {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Long i... | {
"content_hash": "ada03910143684421c027606ebef667a",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 68,
"avg_line_length": 21.439393939393938,
"alnum_prop": 0.607773851590106,
"repo_name": "jfillo/spring-data-rest-webhook",
"id": "e3d391a78842212fcf7ad12566c5b0dbfaa2bfe8",
... |
namespace net {
enum {
// A private network error code used by the socket test utility classes.
// If the |result| member of a MockRead is
// ERR_TEST_PEER_CLOSE_AFTER_NEXT_MOCK_READ, that MockRead is just a
// marker that indicates the peer will close the connection after the next
// MockRead. The other me... | {
"content_hash": "7ae696baf6059304c3406303e2d50745",
"timestamp": "",
"source": "github",
"line_count": 1312,
"max_line_length": 80,
"avg_line_length": 35.051067073170735,
"alnum_prop": 0.7100484919651205,
"repo_name": "Jonekee/chromium.src",
"id": "d6c7abafd980ffe828ae75cc6009da2f2adf716d",
"size"... |
<?php
/**
* Google Maps Draw Module
* @package drawonmaps
*
* Class: Map
* File: map.php
* Description: Handler of map's objects
*/
class Map {
public $id = 0;
public $title = NULL;
public $description = NULL;
public $center_lat = 0;
public $center_lng = 0;
public $zoom = 0;
... | {
"content_hash": "9050a6f0863019faf75d6ec971de3ea0",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 266,
"avg_line_length": 30.212290502793294,
"alnum_prop": 0.5512204142011834,
"repo_name": "allyrogge/finalproject",
"id": "32942f305f12b0facf25444687038fb138ec517b",
"siz... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.