text stringlengths 2 1.04M | meta dict |
|---|---|
<div class="jk-carousel" >
<div class="slides-container" layout="row"
md-swipe-left="ctrl.navigateRight()"
md-swipe-right="ctrl.navigateLeft()"
>
<div
ng-repeat="slideItem in ctrl.cloneData"
class="slide"
>
<div ng-include="ctrl.itemTemplateUrl" ></div>
</div>
</div>
<md-... | {
"content_hash": "db4c3615dd388f598acb68beb60c1c11",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 88,
"avg_line_length": 26.166666666666668,
"alnum_prop": 0.6348195329087049,
"repo_name": "hdillon/TPlaboratorioIV2016",
"id": "2213e0bee4ed12507b60e33161ad06b200f38b5a",
"... |
ajtxz_hcgame.level4_2 = function () {
var pgame = this;
var levelbase;
var timer;
this.preload = function() {
levelbase = new ajtxz_hcgame.levelbase(pgame, [4,2]);
}
this.create = function() {
levelbase.init();
levelbase.initPool(600);
levelbase.initWaterJet(34... | {
"content_hash": "26f0650a9d51b355b9b52d61e5ff2e2b",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 101,
"avg_line_length": 27.647058823529413,
"alnum_prop": 0.5723404255319149,
"repo_name": "Phalaric/the_human_cannonball",
"id": "d7be7dc9a10a83494765a1179804095e4bb9d5df",
... |
import java.util.Scanner;
public class BooleanVariable {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String input = scanner.next();
switch (input) {
case "True":
System.out.println("Yes");
break;
... | {
"content_hash": "d046a554aefe789bfc6cc3fcf7fc0a85",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 49,
"avg_line_length": 23.27777777777778,
"alnum_prop": 0.4916467780429594,
"repo_name": "RAstardzhiev/SoftUni-C-Scharp",
"id": "87b00bd7011fbf64554bbdb7c0fde25e3c48b451",
... |
run_test ./drive_tailer preview nonexistent-file
check_error_output "preview of nonexistent-file failed?" <<EOF
preview error: nonexistent-file -- error: cannot open nonexistent-file -- No such file or directory
tailer stderr:
info: load preview request -- 1234
info: exiting...
EOF
run_test ./drive_tailer preview ${t... | {
"content_hash": "77eefdc0b0f7708594ea60c50dfb58b6",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 123,
"avg_line_length": 29.779661016949152,
"alnum_prop": 0.7194080819578828,
"repo_name": "sureshsundriyal/lnav",
"id": "c8f40ac024757903a9fa82049e18174ccf61fe1c",
"size":... |
package eu.tobiasheine.bitcoinwatcher.price_sync;
import android.accounts.Account;
import android.accounts.AccountManager;
import android.content.ContentResolver;
import android.content.Context;
import android.os.Bundle;
import javax.inject.Inject;
public class Synchronization implements ISynchronization{
final... | {
"content_hash": "f55b6578c59220e0b1ed8ed5d9f92ae2",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 122,
"avg_line_length": 31.833333333333332,
"alnum_prop": 0.7574171029668412,
"repo_name": "tobiasheine/BitcoinWatcher",
"id": "8a81bf5f9bd5d4347e302292a8bdbda8032936cf",
"... |
module HealthSeven::V2_5_1
class SurP09 < ::HealthSeven::Message
attribute :msh, Msh, position: "MSH", require: true
class FacpshpdcpshfacpdcnteedSuppgrp < ::HealthSeven::SegmentGroup
attribute :fac, Fac, position: "FAC", require: true
class PshpdcSuppgrp < ::HealthSeven::SegmentGroup
attribute :psh, ... | {
"content_hash": "dec5dc9145a69acc319e99129d3d7d64",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 168,
"avg_line_length": 53.90909090909091,
"alnum_prop": 0.7284991568296796,
"repo_name": "niquola/health_seven",
"id": "9f9a52b576b075508c19113a20f4ad49b1ee09bb",
"size": ... |
package br.com.ws.sefaz.conscad;
import java.util.HashMap;
import java.util.Map;
import spring.corp.framework.exceptions.CriticalUserException;
import spring.corp.framework.exceptions.UserException;
import spring.corp.framework.i18n.ManagerMessage;
import br.com.ws.UFWsdlInfo;
public class UFWsdlConsCadFactory {
p... | {
"content_hash": "d1e8f6fd05fae6d6555c39a3e117bcf6",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 127,
"avg_line_length": 33.266666666666666,
"alnum_prop": 0.7735470941883767,
"repo_name": "g6tech/spring-corp-test",
"id": "72d6a34e355b187d817b5b91d72e7b8d0995e2a5",
"siz... |
/*!
* Author : Matteo Bruni
* MIT license: https://opensource.org/licenses/MIT
* Demo / Generator : https://particles.js.org/
* GitHub : https://www.github.com/matteobruni/tsparticles
* How to use? : Check the GitHub README
* v2.2.4
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof export... | {
"content_hash": "2ad1db19c46b77cf33108d6f66bba4b7",
"timestamp": "",
"source": "github",
"line_count": 9368,
"max_line_length": 409,
"avg_line_length": 26.914709649871906,
"alnum_prop": 0.6076379111356128,
"repo_name": "cdnjs/cdnjs",
"id": "a9536ef972a17461731531230347e0353b186935",
"size": "25213... |
package andansky.photopicker;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_ma... | {
"content_hash": "d272845556b9d0f59b02cbeaed708d23",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 56,
"avg_line_length": 25.615384615384617,
"alnum_prop": 0.7597597597597597,
"repo_name": "andansky/PhotoPicker",
"id": "ca195fb3ea6f6a4cc68bcddb3274668c1e803047",
"size": ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>dpdgraph: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | {
"content_hash": "3030c3960300ff879db56964d8bf85ce",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 159,
"avg_line_length": 39.11042944785276,
"alnum_prop": 0.523921568627451,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "5315af4ec1a05a9d17784da7af1521b526ee973b",
... |
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("Co... | {
"content_hash": "738e075f3b4b02575bda2108447da783",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 39.19444444444444,
"alnum_prop": 0.7476966690290574,
"repo_name": "guangyang/apiapp-samples",
"id": "e0db3fa76a5a9ec81d9088afdf8503316967c8f7",
"size... |
namespace Kvasir {
//General-purpose I/O ports
namespace GpioPfr0{ ///<Port function setting register 0
using Addr = Register::Address<0x40033000,0xffff0000,0x00000000,unsigned>;
///Bit15 of PFR0
constexpr Register::FieldLocation<Addr,Register::maskFromRange(15,15),Register::ReadWriteAcce... | {
"content_hash": "4ecc7ba05c5b0d9c46f3e42f42082b99",
"timestamp": "",
"source": "github",
"line_count": 932,
"max_line_length": 126,
"avg_line_length": 71.39592274678111,
"alnum_prop": 0.7141461655220089,
"repo_name": "kvasir-io/Kvasir",
"id": "387b5b6d5132725fa3117e69773055bcc807d1c8",
"size": "66... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Admin extends CI_Controller {
function __construct() {
parent::__construct();
auth();
}
public function index()
{
admin($this, 'admin/index');
redirect('admin/pages');
}
public function logout()
{
clear_admin_a... | {
"content_hash": "adc607501d3eac000deb5b530638c2a1",
"timestamp": "",
"source": "github",
"line_count": 201,
"max_line_length": 66,
"avg_line_length": 24.895522388059703,
"alnum_prop": 0.5237809752198241,
"repo_name": "AdiechaHK/alex-app",
"id": "e7cb8923bd53504e14933c5500f5b77d7a1cac54",
"size": "... |
import Ember from 'ember';
export default Ember.Component.extend({
didInsertElement: function() {
if(window && window.ace){
this.editor = window.ace.edit(this.get('element'));
this.get('aceInit')(this.editor);
this.editor.getSession().setValue(this.get('value'));
... | {
"content_hash": "89e619d993b7179626b450bd91d7406a",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 71,
"avg_line_length": 30.964285714285715,
"alnum_prop": 0.5282583621683967,
"repo_name": "jbfrederick/developer-tools",
"id": "3d775cd3aef33ea936c282e8191091ac34c336bc",
"... |
/**
* \file
* \brief memory object of anonymous type.
* The object maintains a list of frames.
*
* The object maintains a list of frames and a list of vregions.
* The lists are backed by slabs.
* The slabs may have to be grown,
* in which case the object will use #vspace_pinned_alloc.
*
* morecore uses this m... | {
"content_hash": "a7114926335ddf3e04b4dfaa636c6215",
"timestamp": "",
"source": "github",
"line_count": 374,
"max_line_length": 81,
"avg_line_length": 28.184491978609625,
"alnum_prop": 0.615691110900294,
"repo_name": "kishoredbn/barrelfish",
"id": "61019e5ccf0930a2b4717ca9de0c5347387bbbdc",
"size":... |
namespace SerializationUtilities.SerializationGraph
{
public enum SerializedDataType : byte
{
Boolean,
Number,
String,
DataSequence,
Type,
Object
}
}
| {
"content_hash": "944bfb30baa2136b2a6692c4c96e08ae",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 52,
"avg_line_length": 13.833333333333334,
"alnum_prop": 0.7349397590361446,
"repo_name": "GAIPS-INESC-ID/FAtiMA-Emotional-Appraisal",
"id": "1ffea7d02b8a21ee8b5415e72c7f9aa8... |
import * as ng from "angular";
import * as angular from "angular";
import gridster from "angular-gridster";
var myApp = angular.module("testModule", ["gridster"]);
// configure gridster's global options
myApp.run(["gridsterConfig", (gridsterConfig: angular.gridster.GridsterConfig) => {
gridsterConfig.mobile... | {
"content_hash": "048ae298fed5c1f7496062ab589242e9",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 92,
"avg_line_length": 36.370370370370374,
"alnum_prop": 0.620162932790224,
"repo_name": "micurs/DefinitelyTyped",
"id": "7333a20f4d9704460aa04e0148a9cae7744bdaa8",
"size":... |
import React from 'react';
import { Link } from 'react-router';
import { connect } from 'react-redux';
import { push } from 'react-router-redux';
import classNames from 'classnames';
import { authLogoutAndRedirect } from './actions/auth';
import './styles/main.scss';
class App extends React.Component {
static pr... | {
"content_hash": "18825b719b7cabc4f4a6eba3dc7b07f6",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 111,
"avg_line_length": 36.708333333333336,
"alnum_prop": 0.4024971623155505,
"repo_name": "CRUDNS/CRUDNS",
"id": "42ca3015c7eeea6c1b84a7cfaf396149eb42ecd6",
"size": "4405... |
package org.apache.sandesha2.policy.builders;
import javax.xml.namespace.QName;
import org.apache.axiom.om.OMElement;
import org.apache.neethi.Assertion;
import org.apache.neethi.AssertionBuilderFactory;
import org.apache.neethi.builders.AssertionBuilder;
import org.apache.sandesha2.Sandesha2Constants;
import org.ap... | {
"content_hash": "76f97302d0713e8729a385e95fdda1af",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 112,
"avg_line_length": 38.38461538461539,
"alnum_prop": 0.7615230460921844,
"repo_name": "apache/sandesha",
"id": "24046075aac48e356eaa9e4adbee0ff372b0ea53",
"size": "1799... |
using System.Web.Mvc;
using System.Web.Routing;
using FluentValidation.Mvc;
namespace IdentityStart
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
AreaRegistration.RegisterAllAreas();
RouteConfig.RegisterRoutes(RouteTab... | {
"content_hash": "0646056a1b1c90f403ec3b60c5959ecd",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 63,
"avg_line_length": 24.41176470588235,
"alnum_prop": 0.6795180722891566,
"repo_name": "sukhoi1/.NET-MVC-IdentityStart",
"id": "3fe064ef9bd9f6e7552d13ea4ba53e2d186621ba",
... |
package org.apache.catalina.tribes.test;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.util.Iterator;
import org.apache.catalina.tribes.Channel;
import org.apache.catalina.tribes.Member;
import org.apache.catalina.tribes.io.ChannelData;
import org.apache.catalina.tribes.io.XBy... | {
"content_hash": "4a689bd2abd4f00ebcd3b82c612df3ab",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 121,
"avg_line_length": 33.294736842105266,
"alnum_prop": 0.5605437875434713,
"repo_name": "apache/tomcat",
"id": "43c7112832f3cb8d541733e1057c7836a742b6d8",
"size": "3965"... |
class NodeAT6 < Formula
desc "Platform built on V8 to build network applications"
homepage "https://nodejs.org/"
url "https://nodejs.org/dist/v6.13.1/node-v6.13.1.tar.xz"
sha256 "c437350b476503a0f5605a5cc08bc41fe3bdb8ec100939ec7ea6600e44d56a46"
head "https://github.com/nodejs/node.git", :branch => "v6.x-stagi... | {
"content_hash": "d92b94ec6e04a16d9ca1efbb081ff115",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 115,
"avg_line_length": 34.76106194690266,
"alnum_prop": 0.6614052953156823,
"repo_name": "aren55555/homebrew-core",
"id": "3780e49e5ce4b82ecdddd03565261700b99f79c6",
"siz... |
ACCEPTED
#### According to
Interim Register of Marine and Nonmarine Genera
#### Published in
Geol. Jb. 86: 537.
#### Original name
null
### Remarks
null | {
"content_hash": "4e45fcd19e31b4751bca8b1cb58c9d64",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 47,
"avg_line_length": 12,
"alnum_prop": 0.6987179487179487,
"repo_name": "mdoering/backbone",
"id": "ac49809acf8d345bc178aa92f8fb9adce8ee0fff",
"size": "209",
"binary": ... |
/*
* create map of shows, seasons, episodes
* @param {data}
* @return {map}
*/
function ShowGuide(data){
let showMap = new Map();
let seasonMap;
let season;
let episodes;
for (let i=0; i < data.length; i++){
//if show exists retrieve it to insert more
if (showMap.has(data[i].sho... | {
"content_hash": "f856b760b9b656bdd7821ef1c9d21d2c",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 141,
"avg_line_length": 49.710144927536234,
"alnum_prop": 0.6049562682215743,
"repo_name": "emangor/portfolio-website",
"id": "d3ff5b8d5a07b3844674adf0bab0e20d3236c4ce",
"s... |
using namespace BloombergLP;
using namespace std;
//=============================================================================
// TEST PLAN
//-----------------------------------------------------------------------------
// Overview
// ... | {
"content_hash": "c1e59770ed7e684618997fee4088e8a4",
"timestamp": "",
"source": "github",
"line_count": 541,
"max_line_length": 79,
"avg_line_length": 47.2902033271719,
"alnum_prop": 0.5205597248280175,
"repo_name": "saxena84/bde",
"id": "56aabdeed2268218a15b9f866730c10e14ffa096",
"size": "25757",
... |
<?php
Prado::using('System.Web.UI.ActiveControls.*');
class Issue524 extends TPage
{
public function __construct() {
Prado::getApplication()->getGlobalization()->setCharset('ISO-8859-1');
parent::__construct();
}
public function validateText($sender, $param)
{
$param->IsValid = false;
$iso88... | {
"content_hash": "978ad5c51a17256680a747e087a0b739",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 74,
"avg_line_length": 21.15,
"alnum_prop": 0.6524822695035462,
"repo_name": "majuca/prado",
"id": "851ff45a0f5d85a4368530d06ecd731cedf49c30",
"size": "424",
"binary": fa... |
/**
* This module adds LiveIntentId to the User ID module
* The {@link module:modules/userId} module is required
* @module modules/liveIntentIdSystem
* @requires module:modules/userId
*/
import * as utils from '../src/utils'
import {ajax} from '../src/ajax';
import {submodule} from '../src/hook';
const MODULE_NAM... | {
"content_hash": "e54b7f47e096fea32f0b18f7fa61d478",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 121,
"avg_line_length": 32.88775510204081,
"alnum_prop": 0.6413279553211294,
"repo_name": "olafbuitelaar/Prebid.js",
"id": "f6666b648646a1a7a3f707a0c454411e7b5b0c01",
"size... |
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2014 Provectium
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
... | {
"content_hash": "b8dcfdb486d251b449793d2924e710c4",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 77,
"avg_line_length": 34.2962962962963,
"alnum_prop": 0.6112311015118791,
"repo_name": "0359xiaodong/Rounded-UI",
"id": "0f63ad342eeb245f3f8db84de33d4a84cc57a5af",
"size":... |
from fakes import MyOpener
import wpl
import os
def load_file(filename):
return file(os.path.join(os.path.dirname(__file__), filename)).read()
def test_find_item__isbn10__makes_good_request():
opener = MyOpener('')
w = wpl.Library(opener)
w.find_item('1593974744')
assert (opener.last_request['... | {
"content_hash": "7ac6a72ee3e8beb57c6baa39392d0d95",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 116,
"avg_line_length": 28.484848484848484,
"alnum_prop": 0.6840425531914893,
"repo_name": "blairconrad/LibraryLookup",
"id": "7368ca9cc3418602b9e2ac6e3159f72466ae04c1",
"s... |
LocalRepo LocalRepo::fromGObject(GObject *obj)
{
char *id = NULL;
char *name = NULL;
char *desc = NULL;
char *worktree = NULL;
char *relay_id = NULL;
gboolean encrypted;
gboolean auto_sync;
gboolean worktree_invalid;
gint64 last_sync_time;
int version;
g_object_get (obj,
... | {
"content_hash": "ae42ab599241b4d6bc3a07144623afd7",
"timestamp": "",
"source": "github",
"line_count": 243,
"max_line_length": 106,
"avg_line_length": 41.03292181069959,
"alnum_prop": 0.6125764717681276,
"repo_name": "losingle/seafile-client",
"id": "1c5bbff385464a1a877d1c0937d863db0e51c0a3",
"siz... |
App.Model.Timeframe = Backbone.Model.extend({
time: 0,
process: null,
arrivals: []
}); | {
"content_hash": "7f7993bc569693357893796838b6b4c9",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 45,
"avg_line_length": 18.4,
"alnum_prop": 0.6521739130434783,
"repo_name": "met-cs575/sim-CPU",
"id": "e72085926ecab608211b54471e0608d7bb5ef158",
"size": "92",
"binary": ... |
namespace {
// Runs a tab-modal dialog that asks the user for a password.
class PDFPasswordDialogViews : public views::DialogDelegate {
public:
PDFPasswordDialogViews(content::WebContents* web_contents,
const base::string16& prompt,
const PasswordDialogClosedCallbac... | {
"content_hash": "75a66e067bf1c9ccb43aa106d259daf1",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 80,
"avg_line_length": 32.739495798319325,
"alnum_prop": 0.7014887063655031,
"repo_name": "littlstar/chromium.src",
"id": "cb5b28782e7d7965271ebcf4d29ca65dfb451ef0",
"size... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Dos and Don'ts when starting with Scala and Akka</title>
<meta name="description" content="A collections of lessons learned while running a Scala / Akka based project">
<meta name="author" content="Bogdan Roman">
<meta name="app... | {
"content_hash": "302170b532b30e2f12e47388f2df7d71",
"timestamp": "",
"source": "github",
"line_count": 373,
"max_line_length": 205,
"avg_line_length": 38.1769436997319,
"alnum_prop": 0.4759831460674157,
"repo_name": "bogdanromanx/reveal.js",
"id": "af6af315ad249a79c496f6227d50d890503b80af",
"size"... |
package org.lwjgl.vulkan;
import javax.annotation.*;
import java.nio.*;
import org.lwjgl.*;
import org.lwjgl.system.*;
import static org.lwjgl.system.MemoryUtil.*;
import static org.lwjgl.system.MemoryStack.*;
/**
* See {@link VkPipelineInfoKHR}.
*
* <h3>Layout</h3>
*
* <pre><code>
* struct VkPipelineInfo... | {
"content_hash": "a26eb7b57c6f8bd23d8b4b337f25bb0a",
"timestamp": "",
"source": "github",
"line_count": 241,
"max_line_length": 166,
"avg_line_length": 39.96265560165975,
"alnum_prop": 0.6692970615720071,
"repo_name": "LWJGL-CI/lwjgl3",
"id": "b1c68ec7d451acc8bda337f784310eb0d2644cc8",
"size": "976... |
"use strict";
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Dependencies
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
var config = require("./../../static/config.json");
var errorcode = require("./../../static/errorcodes.json");
var helper = require("./../../helper");
var prohelper = require("./../..... | {
"content_hash": "3a5df761452f7ca7a499193588560cab",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 89,
"avg_line_length": 38.523809523809526,
"alnum_prop": 0.4465389369592089,
"repo_name": "DerHerrGammler/Projekt-X",
"id": "e46e147ee08b45ca6b68f61c9fe5d4428065c893",
"siz... |
from flask import g
import pandas as pd
def get_product_list(params):
df = pd.read_sql('''
select item_name
from donorschoose_resources
where item_name like %(item_name)s
limit 100
''', \
g.db_engine, \
params={'item_name': params['item_name']}
)
... | {
"content_hash": "8c9be032951687f150ea73923d7e08e1",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 49,
"avg_line_length": 19.58823529411765,
"alnum_prop": 0.5525525525525525,
"repo_name": "sampathweb/bayes_hack",
"id": "bf78d1ff6ef2888ef1f8396f7d0563cd68d8549f",
"size": ... |
"""Provide the RedditorListingMixin class."""
from ....const import urljoin
from ..generator import ListingGenerator
from .base import BaseListingMixin
from .gilded import GildedListingMixin
class RedditorListingMixin(BaseListingMixin, GildedListingMixin):
"""Adds additional methods pertaining to Redditor instanc... | {
"content_hash": "a82b080821e37aeee25b1789213a4752",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 79,
"avg_line_length": 39,
"alnum_prop": 0.6384053902302077,
"repo_name": "13steinj/praw",
"id": "eed2ca8212ae27d4288709ec5acce8310acedb80",
"size": "5343",
"binary": fa... |
#ifndef TENSORFLOW_CORE_UTIL_GPU_LAUNCH_CONFIG_H_
#define TENSORFLOW_CORE_UTIL_GPU_LAUNCH_CONFIG_H_
#if GOOGLE_CUDA || TENSORFLOW_USE_ROCM
#include <algorithm>
#include "absl/base/casts.h"
#include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor"
#include "tensorflow/core/framework/op_kernel.h"
#include "tensor... | {
"content_hash": "0ee58c48f6bf8e2644938146a0eeb89c",
"timestamp": "",
"source": "github",
"line_count": 401,
"max_line_length": 102,
"avg_line_length": 40.16708229426434,
"alnum_prop": 0.6784006953498479,
"repo_name": "adit-chandra/tensorflow",
"id": "8063beef459a51203d28c33033eed5be19d1e5b5",
"siz... |
/******************************************************************************/
/* Files to Include */
/******************************************************************************/
#ifdef __XC32
#include <xc.h> /* Defines special function registers... | {
"content_hash": "81a34071568370f00d558ec6ef2af32d",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 100,
"avg_line_length": 33.94117647058823,
"alnum_prop": 0.47689196995956096,
"repo_name": "kpi-keoa/TheConnectedMCU_Labs",
"id": "d20a07200897ba4368bc0ff8655174d8904942ea",... |
Simplify your iOS development, grow your user base, and monetize more
effectively with Firebase services.
Much more information can be found at [https://firebase.google.com](https://firebase.google.com).
## Install a Firebase SDK using CocoaPods
Firebase distributes several iOS specific APIs and SDKs via CocoaPods.
... | {
"content_hash": "314b882d15dc89c98378159a2c6ba43c",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 105,
"avg_line_length": 30.9010989010989,
"alnum_prop": 0.7265291607396871,
"repo_name": "NeilNie/Visionary",
"id": "20aa6928edd3ae233b0ca1e1b9e5a98ed040373b",
"size": "283... |
::Some house cleaning:
@ECHO off
set projectName=Nigh7Sh4de_v0.1
::Try compiling
g++ -c src\main.cpp -o obj\main.o -std=gnu++0x -Iinclude -g -static-libgcc -static-libstdc++
::Check if compiler failed
IF %errorlevel%==0 (
::Try linking
dir
g++ -o bin\%projectName%.exe obj\main.o -Llib -lglew32s -lsfml-window-s -... | {
"content_hash": "fae985ee890df3b4f1fdd1fb09976225",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 93,
"avg_line_length": 18.871794871794872,
"alnum_prop": 0.5692934782608695,
"repo_name": "Nigh7Sh4de/OpenGL",
"id": "bf4741411957bef3f605c1b85218e9ab0e8a5793",
"size": "73... |
package com.coolweather.app.db;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteDatabase.CursorFactory;
import android.database.sqlite.SQLiteOpenHelper;
/**
* ½«½¨±íÓï¾äдÈë´úÂë
*
* @author zl
*
*/
public class CoolWeatherOpenHelpe... | {
"content_hash": "dee405540a89f8a1e9b27c4701801bac",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 75,
"avg_line_length": 28.254901960784313,
"alnum_prop": 0.6828591256072172,
"repo_name": "AndySix/coolweather",
"id": "fdf7791bc99df529b86694eae5cf79f01cb03a79",
"size": "... |
package kingpin
import "strings"
type TokenType int
// Token types.
const (
TokenShort TokenType = iota
TokenLong
TokenArg
TokenEOL
)
var (
TokenEOLMarker = Token{TokenEOL, ""}
)
type Token struct {
Type TokenType
Value string
}
func (t *Token) IsFlag() bool {
return t.Type == TokenShort || t.Type == Tok... | {
"content_hash": "516b96282d1c9bc67fa2c4ff5c7b4954",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 58,
"avg_line_length": 17.552083333333332,
"alnum_prop": 0.6255192878338279,
"repo_name": "dgruber/ubercluster",
"id": "72608bfd2767cd9a41bbf4dc926afcd1fc0d6bf9",
"size": "... |
package org.apache.camel.builder.component.dsl;
import javax.annotation.Generated;
import org.apache.camel.Component;
import org.apache.camel.builder.component.AbstractComponentBuilder;
import org.apache.camel.builder.component.ComponentBuilder;
import org.apache.camel.component.mybatis.MyBatisBeanComponent;
/**
* ... | {
"content_hash": "fcb8ef7ba5462a86a35921b71ede1496",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 160,
"avg_line_length": 39.55813953488372,
"alnum_prop": 0.6386439349402312,
"repo_name": "nicolaferraro/camel",
"id": "b5b80f3b64e73e44f1e12a6141e74086a359ccea",
"size": ... |
package com.airbnb.epoxy;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import com.airbnb.epoxy.DataBindingEpoxyModel.DataBindingHolder;
import com.airbnb.epoxy.integrationtest.BuildConfig;
import com.airbnb.epoxy.integrationtest.DatabindingTestBindingModel_;
import... | {
"content_hash": "be3c166d9c676edb4a6df86639616709",
"timestamp": "",
"source": "github",
"line_count": 155,
"max_line_length": 94,
"avg_line_length": 38.38709677419355,
"alnum_prop": 0.7684033613445378,
"repo_name": "airbnb/epoxy",
"id": "04bc60ee65185685d01ac9f0c5deafabd414b874",
"size": "5950",
... |
body, div {
-webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-touch-callout: none;
}
.property {
width:900px;
}
/* Let's get this party started */
.property div::-webkit-scrollbar {
width: 10px;
}
/* scrollbar */
.property div::-webkit-scrollbar-track {
-webkit-border-radius: 10px;
border-radi... | {
"content_hash": "710f63d18a46de157df976c36cc2e358",
"timestamp": "",
"source": "github",
"line_count": 554,
"max_line_length": 112,
"avg_line_length": 22.958483754512635,
"alnum_prop": 0.6661687239562859,
"repo_name": "2947721120/brix",
"id": "d3395b10abbc412935d87a66797de60811f730b9",
"size": "12... |
object Test extends App {
println("foo")
Macros.foo(42)
}
| {
"content_hash": "106d87bf97881e0e299bdc5f637f6677",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 25,
"avg_line_length": 15.5,
"alnum_prop": 0.6612903225806451,
"repo_name": "martijnhoekstra/scala",
"id": "74f60329a3c553b5413a5ba56703e481c0e6d082",
"size": "62",
"binar... |
# Developing in100gram
This application was generated using JHipster, you can find documentation and help at [https://jhipster.gitub.io][].
Before you can build this project, you must install and configure the following dependencies on your machine:
1. [Node.js][]: We use Node to run a development web server and bui... | {
"content_hash": "82e9ece27474f7b4b52e68d14311d76d",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 123,
"avg_line_length": 37.3013698630137,
"alnum_prop": 0.7440323172970987,
"repo_name": "Snayki/in100gram",
"id": "a6729ffb8403517dd473a3efc03dfe4304aced3e",
"size": "2723... |
using Scheme.NET.Scheme;
using Scheme.NET.VirtualMachine.Instructions;
using System;
using System.Collections.Generic;
using System.Text;
namespace Scheme.NET.VirtualMachine
{
public interface IFrame
{
IInstruction X { get; }
IEnvironment E { get; }
Stack<ISExpression> R { get; }
... | {
"content_hash": "3be53257c737cf602c074d5a0df879cd",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 45,
"avg_line_length": 22.25,
"alnum_prop": 0.6629213483146067,
"repo_name": "rickbutton/Scheme.NET",
"id": "1ba7aa5ebd3fbe54e949f9b859f31c5e808d5432",
"size": "358",
"bi... |
package com.hujiang.restvolley;
import java.util.List;
import java.util.concurrent.Callable;
import java.util.concurrent.Future;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ThreadFactory;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
import java.... | {
"content_hash": "4778e8d46351708b3d8094839a6d6dfa",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 124,
"avg_line_length": 28.653179190751445,
"alnum_prop": 0.6455517450070607,
"repo_name": "HujiangTechnology/RestVolley",
"id": "ffad451f2d9acb54a12c45f751b1aeeb2e7f6d5d",
... |
import interval from "./interval";
import {durationMinute, durationSecond} from "./duration";
var minute = interval(function(date) {
date.setTime(date - date.getMilliseconds() - date.getSeconds() * durationSecond);
}, function(date, step) {
date.setTime(+date + step * durationMinute);
}, function(start, end) {
r... | {
"content_hash": "3c2b36a346ad7b819bdb9d8e737b24ab",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 83,
"avg_line_length": 31.266666666666666,
"alnum_prop": 0.7121535181236673,
"repo_name": "pcclarke/civ-techs",
"id": "1e4bb671eb0dc02cf48d941030c0e73b0f9d7c39",
"size": "4... |
package com.typesafe.akka.http.benchmark
import akka.actor.ActorSystem
import akka.stream.Materializer
import com.typesafe.config.Config
import scala.concurrent.ExecutionContext
trait Infrastructure {
implicit def system: ActorSystem
implicit def executionContext: ExecutionContext
implicit def materializer: ... | {
"content_hash": "83ea7b5dface22f565a24244c049b57a",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 49,
"avg_line_length": 21.176470588235293,
"alnum_prop": 0.8277777777777777,
"repo_name": "stefanocasazza/FrameworkBenchmarks",
"id": "cd7b0039cf534d8742525ebe2e10236d370bc10... |
<!-- Sidebar -->
<aside id="sidebar" >
<!-- Sidbar Widgets -->
<div class="side-widgets overflow">
<!-- Profile Menu -->
<div class="text-center s-widget m-b-25 dropdown" id="profile-menu">
<a href="" data-toggle="dropdown">
<!-- <img class="profile-pic animated"... | {
"content_hash": "42007aeea9cf1eca9da1f37df15be21a",
"timestamp": "",
"source": "github",
"line_count": 882,
"max_line_length": 258,
"avg_line_length": 45.29478458049886,
"alnum_prop": 0.4132665832290363,
"repo_name": "karonlewin/dotamining",
"id": "caa5057ee2b7fd3a97096daf7d0f0a44a0e992f9",
"size"... |
#ifndef ATOM2BOOL_VAR_H_
#define ATOM2BOOL_VAR_H_
#include"expr2var.h"
#include"sat_types.h"
/**
\brief Mapping from atoms into SAT boolean variables.
*/
class atom2bool_var : public expr2var {
public:
atom2bool_var(ast_manager & m):expr2var(m) {}
void insert(expr * n, sat::bool_var v) { expr2var::insert(... | {
"content_hash": "0c5e37d8ddbff879035aa2d514ef5fd1",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 106,
"avg_line_length": 29.692307692307693,
"alnum_prop": 0.694300518134715,
"repo_name": "mschlaipfer/z3",
"id": "3435a1e2c35c7f08802a10c230d983c62920dee6",
"size": "979",... |
.batchFlyatlasWidget table {
width: 100%;
margin: auto;
border-bottom: 1px solid #777;
font-size: 80%;
}
.batchFlyatlasWidget tbody {
/* background-color: #f9f9f9;*/
/* N.B. border, padding and margin have no effect here for IE6 */
}
.batchFlyatlasWidget tr.top {
/* border-top: 2px solid #ddd;*/... | {
"content_hash": "bb1fa69e993f4138c905c1ec4ad64cf2",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 65,
"avg_line_length": 19.565217391304348,
"alnum_prop": 0.6570370370370371,
"repo_name": "gklyne/shuffl",
"id": "e53d14bd9a2305900a6c8b1e02ad23f479de6667",
"size": "1350",... |
var poll_map = require('../../server/dao/poll_map.js')
w.type_validation = require('../browser+node/type_validation.js')
module.exports = function({data, methods}){
methods.poll_create__reset = function() {
data.poll_create = {
question: '',
options: ['', ''],
}
data.poll_create__status = ''... | {
"content_hash": "c00a680fb32d4564ac2dcf5f11361aa9",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 65,
"avg_line_length": 26.184615384615384,
"alnum_prop": 0.5934195064629847,
"repo_name": "Lee182/voting-app",
"id": "ecb8b58f1af981cc7b5ff0bd2bd3cfe36f36e62d",
"size": "17... |
{% extends "base.html" %}
{% block content %}
<a id="docs" href="http://github.com/motif/moonbase">Documentation</a>
<section id="wrapper">
<div id="iconWrapper">
<div class="icon autocomplete"></div>
<div class="icon layerpanel"></div>
<div class="icon preview"></div>
</div>
<p>
The <strong>default temp... | {
"content_hash": "12a6bac5f5786c1d4a43628f3b2b87e9",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 230,
"avg_line_length": 27.95,
"alnum_prop": 0.6815742397137746,
"repo_name": "awt2542/Framer",
"id": "bff481947443fa5246d4ef721bdab11cc27627bb",
"size": "563",
"binary":... |
import dapi
try:
import oauth
import oauth_provider
except ImportError:
oauth_support = False
else:
oauth_support = True
if oauth_support:
from dapi.auth.doauth import AuthOAuth
class OAuthApi(dapi.Api):
auth = AuthOAuth()
oauth_api = OAuthApi(extends=dapi.default_api... | {
"content_hash": "b0f5f606956a68a0a547da4c6c412d03",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 50,
"avg_line_length": 18.941176470588236,
"alnum_prop": 0.6645962732919255,
"repo_name": "ingenieroariel/dapi",
"id": "de71c7b55b5476f5a56c54ec2653551036754192",
"size": "... |
const simpleSelectorRE = /^[\w-]*$/;
const toArray = Function.prototype.bind.call(Function.prototype.call, [].slice);
export default function qsa(element, selector) {
var maybeID = selector[0] === "#",
maybeClass = selector[0] === ".",
nameOnly = maybeID || maybeClass ? selector.slice(1) : selector,
is... | {
"content_hash": "25951e5788deb72ceb6eb1cae9503ee0",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 80,
"avg_line_length": 29.59259259259259,
"alnum_prop": 0.6758448060075094,
"repo_name": "teasim/teasim-helpers",
"id": "452a50061021a3799de4daa10f64512191b5cc11",
"size": ... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_31) on Tue Jun 12 18:19:51 EDT 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<TITLE>
Uses of Class org.apache.com... | {
"content_hash": "523e3ce32448ddb0356494b6c18da638",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 233,
"avg_line_length": 43.213793103448275,
"alnum_prop": 0.6168209383977019,
"repo_name": "stardisblue/jEternithug",
"id": "75af07f5781b0aa70dd3bd4a5a4713a3993e9b7f",
"si... |
SELECT a FROM t1 WHERE r > 2 ORDER BY a | {
"content_hash": "61cad0aa84f535d72b5cf5a5030e6573",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 39,
"avg_line_length": 39,
"alnum_prop": 0.717948717948718,
"repo_name": "bkiers/sqlite-parser",
"id": "fbb0977f31e2321accffe59dc64944c87b10e403",
"size": "126",
"binary":... |
//
// syslog.h
// Firedrake
//
// Created by Sidney Just
// Copyright (c) 2012 by Sidney Just
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentation files (the "Software"), to deal in the Software without restriction, including without lim... | {
"content_hash": "01dbf2e08249b21e3db89940c89fd314",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 130,
"avg_line_length": 40.108695652173914,
"alnum_prop": 0.71869918699187,
"repo_name": "JustSid/Ludumdrake",
"id": "ab7f8feeb09cc34225482807a01d4ee5873fb4d7",
"size": "18... |
/*jshint jquery:true*/
define([
"jquery",
"jquery/ui"
], function($){
"use strict";
/**
* This widget is used to tag a DOM element as deletable. By default, it will use the click event on the item with a
* data role of delete to trigger the deletion.
*/
$.widget('mage.deletableI... | {
"content_hash": "a96fec13a8f939dcb21e5669c55f71f7",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 120,
"avg_line_length": 28.43421052631579,
"alnum_prop": 0.5303100416473855,
"repo_name": "enettolima/magento-training",
"id": "bf1c75e8f556f4b9520a3670eea6114fdf5b1d42",
"... |
package net.rk.splendid;
import org.springframework.context.annotation.Scope;
import org.springframework.context.annotation.ScopedProxyMode;
import org.springframework.stereotype.Component;
import org.springframework.web.context.WebApplicationContext;
import java.io.Serializable;
@Component
@Scope(
scopeName =... | {
"content_hash": "7a6a67b78a47659c79031689ede3ee50",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 85,
"avg_line_length": 24.6,
"alnum_prop": 0.7154471544715447,
"repo_name": "kpsroka/splendid-srv",
"id": "e92b9670119c2d9aaaf170802d3144fe0caaac6e",
"size": "1696",
"bin... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>orb-stab: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... | {
"content_hash": "06dde0632e64c2c13837b57f2389a288",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 281,
"avg_line_length": 43.785714285714285,
"alnum_prop": 0.5520663404023926,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "cf9cdfe1f80a5b32663c87723bea1ce6598473a0",... |
/*
This example demonstrates the use of CUDA/OpenGL interoperability
to post-process an image of a 3D scene generated in OpenGL.
The basic steps are:
1 - render the scene to the framebuffer
2 - map the color texture so that its memory is accessible from CUDA
4 - run CUDA to process the im... | {
"content_hash": "88e6c0a068da580f7fd6dd2848fa75d3",
"timestamp": "",
"source": "github",
"line_count": 1089,
"max_line_length": 117,
"avg_line_length": 31.160697887970617,
"alnum_prop": 0.5867566452525491,
"repo_name": "gtcasl/gpuocelot",
"id": "c8ceb18e5bef60079786024e74b15659d36e5b32",
"size": "... |
static const char *getActualRunStyleName(WordSheet *styles, DFNode *concrete)
{
if (concrete->tag != WORD_R)
return NULL;;
DFNode *rPr = DFChildWithTag(concrete,WORD_RPR);
if (rPr == NULL)
return NULL;;
DFNode *rStyle = DFChildWithTag(rPr,WORD_RSTYLE);
if (rStyle == NULL)
r... | {
"content_hash": "b2949e3000a9e15521ddec7a5af1da1c",
"timestamp": "",
"source": "github",
"line_count": 362,
"max_line_length": 109,
"avg_line_length": 36.15469613259668,
"alnum_prop": 0.6040647921760391,
"repo_name": "apache/incubator-corinthia",
"id": "2e49c83028bd794cf922d4550bde4af6116a29e6",
"... |
using DragonSpark.Application.Entities.Queries.Runtime.Pagination;
using DragonSpark.Compose;
using System.Threading.Tasks;
namespace DragonSpark.Presentation.Components.Content.Rendering.Sequences;
sealed class RenderAwareAny<T> : IAny<T>
{
readonly IsPreRendering _condition;
readonly RenderStateA... | {
"content_hash": "f7fed9ed67d035d39dd4991560c875b4",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 107,
"avg_line_length": 30.40740740740741,
"alnum_prop": 0.7247259439707674,
"repo_name": "DragonSpark/Framework",
"id": "83770f7afbb35b9cfc020136f18ff8d7b387a9bf",
"size":... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| DATABASE CONNECTIVITY SETTINGS
| -------------------------------------------------------------------
| This file will contain the settings needed to access your database.
|
|... | {
"content_hash": "83d470eb414c6b488a4ed8f26317cda1",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 102,
"avg_line_length": 47.25,
"alnum_prop": 0.6567460317460317,
"repo_name": "ikungcomen/chem",
"id": "7a581be4c748d6707423e31ff390c1e9d5aeed8b",
"size": "4536",
"binary... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace statsd.net.shared.Messages
{
public class Raw : StatsdMessage
{
public double Value { get; set; }
public long? Timestamp { get; set; }
public Raw(string name,
double val... | {
"content_hash": "f504eed0d41ebc2d14a3b1d2905fe282",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 113,
"avg_line_length": 22.17241379310345,
"alnum_prop": 0.6314152410575428,
"repo_name": "madhon/statsd.net",
"id": "4f94268969250ddba803d1ccb1c80efa1c0dd57f",
"size": "64... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.ai.textanalytics.util;
import com.azure.ai.textanalytics.models.RecognizeEntitiesResult;
import com.azure.ai.textanalytics.models.TextDocumentBatchStatistics;
import com.azure.core.util.IterableStream;
/... | {
"content_hash": "b5a31219054ae3d37fa6be617544984f",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 120,
"avg_line_length": 36.53061224489796,
"alnum_prop": 0.7301675977653631,
"repo_name": "selvasingh/azure-sdk-for-java",
"id": "0393446f04f6fcc2d0c3ad9cd668cf8f7b51afaf",
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>org.apache.poi.xslf.usermodel (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<... | {
"content_hash": "c5f1d875ea82d03015c17b7b2bcbe5d9",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 150,
"avg_line_length": 99.20481927710843,
"alnum_prop": 0.7472674277386446,
"repo_name": "tringuyen1401/Stock-analyzing",
"id": "42823b1696cc8f5378cd49e7b706b30b0f763916",
... |
#import "TiButtonUtil.h"
#import "TiBase.h"
@implementation TiButtonUtil
+(UIView*)systemButtonWithType:(int)type
{
switch (type)
{
case UIAssignment3NativeItemInfoLight:
{
return [UIButton buttonWithType:UIButtonTypeInfoLight];
}
case UIAssignment3NativeItemInfoDark:
{
return [UIButton buttonWith... | {
"content_hash": "6585f42c926782036b8b7c1b7b6bf216",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 150,
"avg_line_length": 21.4375,
"alnum_prop": 0.7657920310981535,
"repo_name": "darienh/assignment3_TeaColor",
"id": "8dc808e46e97d37ea2a69c65d3b817b08335779a",
"size": "1... |
import numpy as np
def is_positive_semi_definite(R):
if not isinstance(R, (np.ndarray, np.generic)):
raise ValueError('Encountered an error while checking if the matrix is positive semi definite. \
Expected a numpy array, instead got : {}'.format(R))
return np.all(np.linalg.eigvals(R) > 0)... | {
"content_hash": "53508caccb61685f17e3f98ebdfb69bc",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 104,
"avg_line_length": 40.125,
"alnum_prop": 0.6791277258566978,
"repo_name": "siavashk/pycpd",
"id": "7a80880bc0080ff42d1310df76d5731e0f54b8a3",
"size": "321",
"binary":... |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
~
~ WSO2 Inc. licenses this file to you 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 o... | {
"content_hash": "13ad0d35809c43ddcdeea2664abe5a0d",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 201,
"avg_line_length": 41.7710843373494,
"alnum_prop": 0.5924430343236228,
"repo_name": "damithsenanayake/carbon-identity",
"id": "a350dd977d8bc675bc424a0704fa9904618c04c5",... |
package org.openkilda.floodlight.command.flow.transit;
import org.openkilda.floodlight.api.request.TransitFlowSegmentRequest;
import org.openkilda.floodlight.api.request.factory.TransitFlowSegmentRequestFactory;
import org.openkilda.floodlight.command.SpeakerCommand;
import org.openkilda.floodlight.command.SpeakerCo... | {
"content_hash": "d6f7a96195c9ef7b3f91e3410b844348",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 96,
"avg_line_length": 40.708333333333336,
"alnum_prop": 0.8055271238485159,
"repo_name": "telstra/open-kilda",
"id": "716bc99895dff7b5f07a96faae327d4909e680d2",
"size": "1... |
package com.facebook.buck.core.graph.transformation.executor.impl;
import com.facebook.buck.core.graph.transformation.executor.DepsAwareTask;
import java.util.concurrent.BlockingDeque;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
import java.... | {
"content_hash": "5b6c4c0166b4d6510d4a831215676046",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 100,
"avg_line_length": 43.108108108108105,
"alnum_prop": 0.7874608150470219,
"repo_name": "kageiit/buck",
"id": "a1a84ae2bcd78b56da6702aa6e79172a5da1ee68",
"size": "2211",... |
<?php declare(strict_types=1);
namespace yii\i18n;
use PHPUnit\Framework\TestCase;
use function PHPUnit\Framework\{assertThat, equalTo, isEmpty};
/** @testdox yii\i18n\JsonMessageSource */
class JsonMessageSourceTest extends TestCase {
/** @var \ReflectionClass<JsonMessageSource> The object used to change the visib... | {
"content_hash": "1a0adbf53ad517006eb59563b814dc69",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 124,
"avg_line_length": 38.07874015748032,
"alnum_prop": 0.6362696443341604,
"repo_name": "cedx/json-messages.yii",
"id": "5e8f44d401e74c5779dc1daa118423a25e828a96",
"size... |
//---------------------------------------------------------------------------
#include "pch.h"
#include "HtmlView.xaml.h"
//---------------------------------------------------------------------------
using namespace MediaInfo;
using namespace Platform;
using namespace Windows::Foundation;
using namespac... | {
"content_hash": "aa1f409b5a4e945fea98a54e6bc95020",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 82,
"avg_line_length": 36.25806451612903,
"alnum_prop": 0.4875444839857651,
"repo_name": "MediaArea/MediaInfo",
"id": "71f69a138d49ac9f66e58c06b0edc0f6d99c94e8",
"size": "1... |
var config = {
apiKey: "AIzaSyA6PLyNXFj6jaAvhjDBl3WmyIz6UXzthM0",
authDomain: "sketch-app-7f2f9.firebaseapp.com",
databaseURL: "https://sketch-app-7f2f9.firebaseio.com",
projectId: "sketch-app-7f2f9",
storageBucket: "sketch-app-7f2f9.appspot.com",
messagingSenderId: "307660214101"
};
var app=[];
var img =[]... | {
"content_hash": "580c57ed3602718bcb22799013b9babc",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 62,
"avg_line_length": 27.428571428571427,
"alnum_prop": 0.6805555555555556,
"repo_name": "pizza3/Sketch-App",
"id": "2039de80bbfe7a05469e55c9d7a735f3d23973cf",
"size": "11... |
.class Landroid/content/pm/IPackageMoveObserver$Stub$Proxy;
.super Ljava/lang/Object;
.source "IPackageMoveObserver.java"
# interfaces
.implements Landroid/content/pm/IPackageMoveObserver;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/content/pm/IPackageMoveObserver$Stub;
.... | {
"content_hash": "823a9af03bc9873a8fda2a32a066e5c5",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 116,
"avg_line_length": 23.102564102564102,
"alnum_prop": 0.6958934517203108,
"repo_name": "baidurom/devices-base_cm",
"id": "0565f252b104433ae83f7f5270eb39e61926f100",
"s... |
@font-face {
font-family: "Gotham";
src: url(/assets/GothamRnd_Medium-a040768f5be874cee55e02b92f8f8d4ffd4d77fb9eacd9aea0dc9e358cc00527.otf);
text-rendering: optimizeLegibility;
}
@font-face {
font-family: "Din-Light";
src: url(/assets/DIN_Light-bacde371804ae36d2cae1e899e5cbad73ab4496a717a4a9b223ff776d00c9a2b.... | {
"content_hash": "a26f88e7a61625912ff4f406dc29135f",
"timestamp": "",
"source": "github",
"line_count": 13916,
"max_line_length": 756,
"avg_line_length": 35.956740442655935,
"alnum_prop": 0.7040153964834304,
"repo_name": "portatlas/TestMemberSite",
"id": "bca340b64d7c9e87cc2945b470a237bdb977f2e1",
... |
@implementation UIView (AnimationProperty)
#pragma mark - Scale.
NSString * const _recognizerScale = @"_recognizerScale";
- (void)setScale:(CGFloat)scale {
objc_setAssociatedObject(self, (__bridge const void *)(_recognizerScale), @(scale), OBJC_ASSOCIATION_RETAIN_NONATOMIC);
self.transform = CGAffineTra... | {
"content_hash": "fc7f1efdd203330b9db3ad98047bf540",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 123,
"avg_line_length": 28.314285714285713,
"alnum_prop": 0.7164480322906155,
"repo_name": "qinting513/Learning-QT",
"id": "db3efad9d9e98f0322d2b1fdeeb5045c561798e8",
"size... |
package btrfs
import (
"testing"
)
func TestLibVersion(t *testing.T) {
if LibVersion() <= 0 {
t.Errorf("expected output from btrfs lib version > 0")
}
}
| {
"content_hash": "f7677c503e75d6b8b1a5e68d3d0f167e",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 56,
"avg_line_length": 14.545454545454545,
"alnum_prop": 0.6625,
"repo_name": "vbatts/go-btrfs",
"id": "a4b700625734da9cdd7b8e0e8b5d7573bd0923eb",
"size": "194",
"binary"... |
.. _clearsky:
Clear sky
=========
This section reviews the clear sky modeling capabilities of
pvlib-python.
pvlib-python supports two ways to generate clear sky irradiance:
1. A :py:class:`~pvlib.location.Location` object's
:py:meth:`~pvlib.location.Location.get_clearsky` method.
2. The functions contained in th... | {
"content_hash": "616403e2921d0dafa9cf53ff395441ad",
"timestamp": "",
"source": "github",
"line_count": 601,
"max_line_length": 111,
"avg_line_length": 32.422628951747086,
"alnum_prop": 0.6766396387149749,
"repo_name": "uvchik/pvlib-python",
"id": "79afbcb2381837c6d0887fdb61fd75fb3b2af2b1",
"size":... |
package com.falcon.cms.domain;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import javax.persistence.*;
import javax.validation.constraints.*;
import java.io.Serializable;
import java.util.Objects;
/**
* A Section.
*/
@Entity
@Table(name = "section")
@Cache(usa... | {
"content_hash": "d0d23eb6f8a0ec49d3ce095df4c1699f",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 88,
"avg_line_length": 22.43243243243243,
"alnum_prop": 0.5983935742971888,
"repo_name": "dooma/falconcms",
"id": "b96f84ee008c0df8ac8da69255757ae36aa0543e",
"size": "2490... |
/**
* @license Highstock JS v8.0.3 (2020-03-06)
* @module highcharts/indicators/atr
* @requires highcharts
* @requires highcharts/modules/stock
*
* Indicator series type for Highstock
*
* (c) 2010-2019 Sebastian Bochan
*
* License: www.highcharts.com/license
*/
'use strict';
import '../../indicators/atr.src.... | {
"content_hash": "add3d99b638389eda2e02cb45c1f2162",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 44,
"avg_line_length": 23.214285714285715,
"alnum_prop": 0.6923076923076923,
"repo_name": "cdnjs/cdnjs",
"id": "e23129b21c61e12dc8643d2abf4c9122e5256ca7",
"size": "325",
... |
package org.mmtk.plan.immix;
import static org.mmtk.policy.immix.ImmixConstants.MARK_LINE_AT_SCAN_TIME;
import org.mmtk.plan.Plan;
import org.mmtk.plan.TraceLocal;
import org.mmtk.plan.Trace;
import org.mmtk.policy.Space;
import org.mmtk.policy.immix.ImmixSpace;
import org.mmtk.utility.deque.ObjectReferenceDeque;
im... | {
"content_hash": "1fba96fff02b3297efc322ca9d05f418",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 96,
"avg_line_length": 33.56521739130435,
"alnum_prop": 0.6906303972366149,
"repo_name": "ut-osa/laminar",
"id": "c0be0cd35218049aaeb62f6c91ff08dd2e321ec7",
"size": "5065"... |
#ifndef _WINSAFER_H
#define _WINSAFER_H
#include <guiddef.h>
#include <wincrypt.h>
#ifdef __cplusplus
extern "C" {
#endif
//
// Opaque datatype for representing handles to Safer objects.
//
DECLARE_HANDLE(SAFER_LEVEL_HANDLE);
//
// Constants to represent scope with SaferCreateL... | {
"content_hash": "eb54e63f753c579aeaf9146f854c694a",
"timestamp": "",
"source": "github",
"line_count": 558,
"max_line_length": 78,
"avg_line_length": 27.017921146953405,
"alnum_prop": 0.6483815335632794,
"repo_name": "johanlantz/headsetpresenter",
"id": "b6556bc440e3f6aff8e3756145fc7ab63aaa9d0e",
... |
using base::TimeDelta;
using base::TimeTicks;
using ui::test::MockMotionEvent;
namespace ui {
const int kSmallDeltaMs = 1;
const int kLargeDeltaMs = 50;
const int kResampleDeltaMs = 5;
const float kVelocityEpsilon = 0.01f;
const float kDeltaEpsilon = 0.1f;
#define EXPECT_EVENT_EQ(A, B) \
{ ... | {
"content_hash": "5c4b21f1c869fac9d5ef9ff8cf680582",
"timestamp": "",
"source": "github",
"line_count": 863,
"max_line_length": 80,
"avg_line_length": 38.11819235225956,
"alnum_prop": 0.6996595330739299,
"repo_name": "fujunwei/chromium-crosswalk",
"id": "da3ffe500a8bdae13e768d9cecb452a862a4f84b",
"... |
module Superbolt
module ErrorNotifier
class Airbrake
def initialize(logger)
@logger = logger
end
def error!(exception, superbolt_message = nil)
if defined? ::Airbrake
::Airbrake.notify_or_ignore(exception, parameters: superbolt_message)
else
@logger.w... | {
"content_hash": "0b8bbb0dba5610cb34167820129ce45b",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 135,
"avg_line_length": 28.058823529411764,
"alnum_prop": 0.649895178197065,
"repo_name": "socialchorus/superbolt",
"id": "3854d8a66affb851bbebb3d6ba39504f7f2f0d8e",
"size"... |
#define KMSG_COMPONENT "hmcdrv"
#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/irq.h>
#include <linux/wait.h>
#include <linux/string.h>
#include <asm/ctl_reg.h>
#include <asm/diag.h>
#include "hmcdrv_ftp.h"
#include "diag_ftp.h"
/* DIAGNOSE X'2C4' return... | {
"content_hash": "75e8d564eed4af100de2e8b4c1b3bb33",
"timestamp": "",
"source": "github",
"line_count": 233,
"max_line_length": 76,
"avg_line_length": 26.377682403433475,
"alnum_prop": 0.6778392450374228,
"repo_name": "mikedlowis-prototypes/albase",
"id": "a5ccbf6f0d36941e167ad86d857b508c22322bfd",
... |
angular.module('app').controller('ViewMediaController', function($uibModalInstance, media) {
var vm = this;
vm.media = media;
console.log(vm);
vm.ok = function() {
$uibModalInstance.close(vm.selected.item);
};
vm.cancel = function() {
$uibModalInstance.dismiss('cancel');
};
}); | {
"content_hash": "cb90d9a217780b0e841ce6314ce50837",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 93,
"avg_line_length": 26.083333333333332,
"alnum_prop": 0.6357827476038339,
"repo_name": "pjsvis/TraceGen",
"id": "119c3d37f8c38aa01af89a2c289477a8bd2cdadf",
"size": "315"... |
package com.google.bitcoin.crypto;
import com.google.bitcoin.core.*;
import com.google.common.base.Objects;
import com.google.common.base.Objects.ToStringHelper;
import com.google.common.collect.ImmutableList;
import org.spongycastle.crypto.params.KeyParameter;
import org.spongycastle.math.ec.ECPoint;
import javax.a... | {
"content_hash": "a18be282a514ac5ebe1c8ed12349e315",
"timestamp": "",
"source": "github",
"line_count": 440,
"max_line_length": 146,
"avg_line_length": 42.627272727272725,
"alnum_prop": 0.650725101300917,
"repo_name": "mrosseel/bitcoinj-old",
"id": "e738bbc44d348f0a09e621ee59766568d7fce7a3",
"size"... |
<!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-google-v7) on Wed Sep 02 13:30:33 PDT 2015 -->
<title>SendResponse.Status (Google App Engine Java API)</title>
<meta name="date" content="2015-... | {
"content_hash": "3feadd86632fbfe77353cd0d8d3dff96",
"timestamp": "",
"source": "github",
"line_count": 356,
"max_line_length": 389,
"avg_line_length": 39.662921348314605,
"alnum_prop": 0.6531161473087819,
"repo_name": "kopaka7/Visual-Summary",
"id": "d5390fb6dc2fa009c26b9327ad4f5ac0812116b3",
"siz... |
package elastic
import (
"context"
"encoding/json"
"testing"
)
func TestHighlighterField(t *testing.T) {
field := NewHighlighterField("grade")
src, err := field.Source()
if err != nil {
t.Fatal(err)
}
data, err := json.Marshal(src)
if err != nil {
t.Fatalf("marshaling to JSON failed: %v", err)
}
got :=... | {
"content_hash": "1cb60236895fa6384776c9cb09581005",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 111,
"avg_line_length": 26.02409638554217,
"alnum_prop": 0.6506944444444445,
"repo_name": "venicegeo/pz-gocommon",
"id": "73659913f96a73ca94fed05d2bf60f67116da5da",
"size"... |
/*
* 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 under t... | {
"content_hash": "b2aba9d62e8d98bf919a43cc47e5b617",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 182,
"avg_line_length": 30.384615384615383,
"alnum_prop": 0.7150090415913201,
"repo_name": "googleapis/google-api-java-client-services",
"id": "b199e3e37e84d4f9f2f133b7e951d5... |
/*keep this declaration near the top of this file -RPM*/
static const char *FileHeader = "\n\
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n\
* Copyright by The HDF Group. *\n\
* Copyright by the Board of Trustees of the University of I... | {
"content_hash": "0f3a5082de4185090c02f2b8e53a5764",
"timestamp": "",
"source": "github",
"line_count": 290,
"max_line_length": 87,
"avg_line_length": 27.03103448275862,
"alnum_prop": 0.5112897053195561,
"repo_name": "zachary-williamson/ITK",
"id": "64eb71cdbbf7581bec1c33f5f76a403889d6074c",
"size"... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Syn. meth. fung. (Göttingen) 1: 79 (1801)
#### Original name
Sphaeria fissa Pers.
### Remarks
null | {
"content_hash": "e1d5c7420b200939431233ad6e46a496",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 41,
"avg_line_length": 12.461538461538462,
"alnum_prop": 0.6790123456790124,
"repo_name": "mdoering/backbone",
"id": "5a96d95c1a39af57adca4cea447e06069213546f",
"size": "20... |
class Profile;
// Service that checks for captive portals when queried, and sends a
// NOTIFICATION_CAPTIVE_PORTAL_CHECK_RESULT with the Profile as the source and
// a CaptivePortalService::Results as the details.
//
// Captive portal checks are rate-limited. The CaptivePortalService may only
// be accessed on the UI... | {
"content_hash": "a9bc1cd6def686ba06310d86441f8ec7",
"timestamp": "",
"source": "github",
"line_count": 198,
"max_line_length": 99,
"avg_line_length": 38.35858585858586,
"alnum_prop": 0.7254772876892692,
"repo_name": "sgraham/nope",
"id": "c48ca5d37c1bf40459f6e60051f1a9d88621dfc8",
"size": "8276",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.