text
stringlengths
2
1.04M
meta
dict
package com.dci.intellij.dbn.code.common.style.presets.clause; import com.dci.intellij.dbn.code.common.style.presets.CodeStylePresetImpl; import com.dci.intellij.dbn.language.common.SharedTokenTypeBundle; import com.dci.intellij.dbn.language.common.TokenType; import com.dci.intellij.dbn.language.common.elemen...
{ "content_hash": "40e7bc98066fab0f0b1ad94356c0fc3e", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 104, "avg_line_length": 42.55, "alnum_prop": 0.6927144535840188, "repo_name": "consulo/consulo-sql", "id": "7d5b7ae60f1d4f77431849f7d96217c931230b98", "size": "2309", "bi...
"""Logic related to handling dictionaries. """ __authors__ = [ '"Sverre Rabbelier" <sverre@rabbelier.nl>', '"Lennard de Rijk" <ljvderijk@gmail.com>', ] from google.appengine.ext import db import datetime DICT_TYPES = (db.StringProperty, db.IntegerProperty) STR_TYPES = (datetime.datetime) def filter(target...
{ "content_hash": "a4ea01cd301466967a53ed27b1686a94", "timestamp": "", "source": "github", "line_count": 283, "max_line_length": 77, "avg_line_length": 23.996466431095406, "alnum_prop": 0.6457075541157414, "repo_name": "MatthewWilkes/mw4068-packaging", "id": "1fb369ed76c1c04704d58aee0d62c813580340cd",...
import React from "react" import Img from "gatsby-image" import styled from "@emotion/styled" import { rhythm, options } from "../utils/typography" import { mq, gutter } from "../utils/presets" const Image = styled(Img)` display: block; float: right; margin-bottom: ${rhythm(options.blockMarginBottom * 2)}; ma...
{ "content_hash": "062bee4e522aff3d878229ee9578acb3", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 58, "avg_line_length": 24.09090909090909, "alnum_prop": 0.6679245283018868, "repo_name": "gatsbyjs/gatsby", "id": "851d8e27d93dd3adf6c3a7084ffa50813a55a5b3", "size": "530",...
import React from 'react'; import { toast } from 'react-toastify'; const toastify = (store) => (next) => async (action) => { try { return await next(action); } catch (ex) { toast.error( <> <strong>Save failed:</strong> {' '} {ex} </>, ); throw ex; } }; export...
{ "content_hash": "ba4035968135a75b58354e60ae77effb", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 57, "avg_line_length": 16.95, "alnum_prop": 0.5132743362831859, "repo_name": "stampzilla/stampzilla-go", "id": "4eee440b75b53244d7f1129011d40a105e11d73e", "size": "339", ...
package nl.talsmasoftware.context.functions; import nl.talsmasoftware.context.Context; import nl.talsmasoftware.context.ContextSnapshot; import nl.talsmasoftware.context.DummyContextManager; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import jav...
{ "content_hash": "b9f96d2bc8db6721e3dde25d905ef6a9", "timestamp": "", "source": "github", "line_count": 120, "max_line_length": 103, "avg_line_length": 30.783333333333335, "alnum_prop": 0.6664861938278289, "repo_name": "talsma-ict/context-propagation", "id": "618355c32f47d97e23362a9d7e4fa1eda559e29b"...
""" This tool will invoke the AppRunner to execute a packaged p3d application. It requires that that the current Panda3D and Python versions match the version expected by the application. Normally, you do not need to use this tool; instead, use the provided standalone panda3d executable to invoke any p3d application...
{ "content_hash": "387569986349172fce37438f06d684da", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 79, "avg_line_length": 31.31168831168831, "alnum_prop": 0.6789713811696392, "repo_name": "ToonTownInfiniteRepo/ToontownInfinite", "id": "a7807de332f34f90d989c00fa82731520eb7b...
enum Player { NONE, BLACK, WHITE }
{ "content_hash": "5f775e37f3dfa0fcc486c69baf51a668", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 22, "avg_line_length": 13, "alnum_prop": 0.6153846153846154, "repo_name": "exercism/xjava", "id": "7c236a71c259feac8197257195bded48283e2171", "size": "39", "binary": false...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <!-- Created by GNU Texinfo 5.2, http://www.gnu.org/software/texinfo/ --> <head> <title>The Red Hat newlib C Library: wmemmove</title> <meta name="description" content="The Red Hat newlib C Library: wmemmove">...
{ "content_hash": "fcf216008853e5fa00c54585755f419b", "timestamp": "", "source": "github", "line_count": 98, "max_line_length": 433, "avg_line_length": 43.5, "alnum_prop": 0.7264836969270467, "repo_name": "ATM-HSW/mbed_target", "id": "6989633b982c3759cb022340f1bcde322c131191", "size": "4263", "bin...
package org.apache.accumulo.server.watcher; import static java.util.Objects.requireNonNull; import java.io.File; import org.apache.log4j.LogManager; import org.apache.log4j.PropertyConfigurator; import org.apache.log4j.xml.DOMConfigurator; /** * Encapsulate calls to PropertyConfigurator or DOMConfigurator to set ...
{ "content_hash": "264d62a01f0668d2305c2e9a86cb4070", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 125, "avg_line_length": 33.78846153846154, "alnum_prop": 0.7370517928286853, "repo_name": "adamjshook/accumulo", "id": "bea71755cedbbc8387bfc87d0091f55d90ab9fa3", "size": "...
//Generated by the Argon Build System #include <config.h> #include "SDL2/SDL_config.h" #ifndef _SDL_x11video_h #define _SDL_x11video_h #include "SDL2/SDL_keycode.h" #include "SDL2/video/SDL_sysvideo.h" #include <X11/Xlib.h> #include <X11/Xutil.h> #include <X11/Xatom.h> #if SDL_VIDEO_DRIVER_X11_XCURSOR #include <X...
{ "content_hash": "866f128c0d9904f89b9a4754b2d9452b", "timestamp": "", "source": "github", "line_count": 109, "max_line_length": 61, "avg_line_length": 22.908256880733944, "alnum_prop": 0.7072486984381258, "repo_name": "skylersaleh/ArgonEngine", "id": "d6b47506def239cd026436ae80b0e62d57bb11d1", "siz...
opal_filter "BasicObject" do fails "BasicObject#initialize is a private instance method" fails "BasicObject#method_missing is a private method" fails "BasicObject#singleton_method_added is a private method" fails "BasicObject#singleton_method_added is called when a method is defined in the singleton class" fa...
{ "content_hash": "f9056dec4b95e7db62f54e2cd17b730e", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 104, "avg_line_length": 69.25, "alnum_prop": 0.802647412755716, "repo_name": "Flikofbluelight747/opal", "id": "35c558544e780d3235114c42d2bca247ab7da1b7", "size": "831", "...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use kartik\file\FileInput; /* @var $this yii\web\View */ /* @var $model backend\modules\goods\models\Goods */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="goods-form"> <?php $form = ActiveForm::begin(['options' => ['enctype' => 'multipart/form-da...
{ "content_hash": "ff0ad0e613f23563f63566a452ba99d8", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 150, "avg_line_length": 28.692307692307693, "alnum_prop": 0.5612153708668454, "repo_name": "zhennong/testyii2mall", "id": "719567dae672843388542a4ef8cc1b24af9d2d47", "size"...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en" xml:lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta http-equiv="content-style-type" content="text/cs...
{ "content_hash": "0c8c132f31cdffbf4eec46437493c870", "timestamp": "", "source": "github", "line_count": 889, "max_line_length": 364, "avg_line_length": 28.691788526434195, "alnum_prop": 0.6820088603128553, "repo_name": "peter-watters/WebPortfolio", "id": "fbc8baaf758826f8cf3893f7c393cb47a42becec", ...
<?php /** * Class PHPWord_Section_Settings */ class PHPWord_Section_Settings { /** * Default Page Size Width * * @var int */ private $_defaultPageSizeW = 11906; /** * Default Page Size Height * * @var int */ private $_defaultPageSizeH = 16838; /** ...
{ "content_hash": "4f486f9f1c0acd6aac66d316c1ba911d", "timestamp": "", "source": "github", "line_count": 706, "max_line_length": 92, "avg_line_length": 18.294617563739376, "alnum_prop": 0.49814183957881697, "repo_name": "tolizhan/oFrame", "id": "1ff3bf64cca9ab5f48ec98fd247aeb01488d3743", "size": "13...
<?php namespace DataLibrary\DataLibrary\Modifier; use DataLibrary\DataLibrary\AbstractBaseClass; use Carbon\Carbon; use DataLibrary\Validator\ValidatorFacade as Validator; use DataLibrary\DataLibrary\Modifier\ModifierInterface; class AbstractModifier extends AbstractBaseClass implements ModifierInterface {...
{ "content_hash": "b4ef3f6cbaf05e45c113c126f6ba07f9", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 88, "avg_line_length": 23.76, "alnum_prop": 0.5307239057239057, "repo_name": "DataLibrary/data_library", "id": "3b62973f9c3c2ba5933451c8aa0d9906e3f9a02d", "size": "2540", ...
import React, { Component } from 'react'; class Greeting extends React.Component { constructor(props) { super(props); } render() { return ( <div> <h1>Let's go { this.props.user.name }! Please enter your answer and bet.</h1> </div> ); } } export default Greeting;
{ "content_hash": "f8feaf7728ac8d93e499741828120c76", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 85, "avg_line_length": 18, "alnum_prop": 0.5947712418300654, "repo_name": "ChrisBr/duell-um-die-geld", "id": "9d068023ab5e9e5ef007276325ecf86e0f926535", "size": "307", "b...
<html> <head> <title>User agent detail - Mozilla/5.0 (Linux; Android 4.2.2; Lenovo A316i Build/JDQ39) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.133 Mobile Safari/537.36</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css">...
{ "content_hash": "e775aecd4aa0423f92cf1aa2ae98c319", "timestamp": "", "source": "github", "line_count": 1152, "max_line_length": 776, "avg_line_length": 40.768229166666664, "alnum_prop": 0.5378686255722347, "repo_name": "ThaDafinser/UserAgentParserComparison", "id": "8ebaa5f078c188e60a5f8ef4cbc12e3d3...
///////////////////////////////////////////////////////////////////////////// /// \file OutputWriter.h /// \brief Class used to write output in log files /// /// /// \copyright Copyright 2010-2014 BARCELONA SUPERCOMPUTING CENTER. See the COPYRIGHT file at the top-level directory of this distribution. /// /// \author vg...
{ "content_hash": "5fd7a6509a4d0f84f2d831ec890c1456", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 139, "avg_line_length": 26.86046511627907, "alnum_prop": 0.5099567099567099, "repo_name": "victor-gil-sepulveda/PhD-ANMInternalCoordinates", "id": "80b409b2ae1e7eb15b3f27f37d...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" /> <meta name="description" conte...
{ "content_hash": "2f7f54adc6cb19a3a02501c1c7e0c181", "timestamp": "", "source": "github", "line_count": 1289, "max_line_length": 103, "avg_line_length": 32.19394879751746, "alnum_prop": 0.5154947226372355, "repo_name": "likangning93/cesium", "id": "7f5af09c7811c24122f5c9d51e4effceacf4e99f", "size":...
<!-- Copyright (c) 2014-2015, Javier Vaquero Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 required by applicable law or agree...
{ "content_hash": "822ef3fce99965a26f6d44b4d1660040", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 83, "avg_line_length": 34.16216216216216, "alnum_prop": 0.6447784810126582, "repo_name": "hangorn/myLibrary", "id": "f77deacaa16c25f1035f1bbb84491ce681567d1c", "size": "126...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>basic_serial_port::get_option</title> <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="../../../boost_as...
{ "content_hash": "3a71faed92e68dee6d0fcec7db16ac94", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 449, "avg_line_length": 86.35, "alnum_prop": 0.6608762787106737, "repo_name": "yxcoin/yxcoin", "id": "dea368baa13a9e1635f17465bbe9f7f9d3335976", "size": "5181", "binary":...
DeviceItemWidget::DeviceItemWidget(k3d::mobi::IDevice* InDevice, QWidget* parent) : QWidget(parent) , m_Device(InDevice) { m_OpenLogView = new QAction(tr("Open Log"), this); connect(m_OpenLogView, SIGNAL(triggered(bool)), SLOT(OpenLogView())); } DeviceItemWidget::~DeviceItemWidget() { if (m_OpenLo...
{ "content_hash": "813a494a51551cebb10417ec316cf437", "timestamp": "", "source": "github", "line_count": 103, "max_line_length": 110, "avg_line_length": 28.233009708737864, "alnum_prop": 0.5907840440165062, "repo_name": "TsinStudio/kaleido3d", "id": "233a68a20c875c4b25dd364c52b3a3ded7c66184", "size"...
import json from oslo_config import cfg from oslo_utils import importutils import requests import six from heat.api.aws import ec2token from heat.api.aws import exception from heat.common import wsgi from heat.tests import common class Ec2TokenTest(common.HeatTestCase): ''' Tests the Ec2Token middleware ...
{ "content_hash": "5908281b74b076c2e8dcc03f99de4eea", "timestamp": "", "source": "github", "line_count": 546, "max_line_length": 77, "avg_line_length": 41.556776556776555, "alnum_prop": 0.5415601586602027, "repo_name": "rdo-management/heat", "id": "006dc1f922b7e5a60e5a64ba829b1a6c2d84e3a1", "size": ...
#include <elf.h> #include <inttypes.h> #include <sys/ttydefaults.h> #include <string.h> #include <linux/bitops.h> #include "../../util/util.h" #include "../../util/debug.h" #include "../../util/symbol.h" #include "../browser.h" #include "../helpline.h" #include "../keysyms.h" #include "map.h" struct map_browser { str...
{ "content_hash": "9578a9f5356be9eb2d7641699ee3fa55", "timestamp": "", "source": "github", "line_count": 129, "max_line_length": 77, "avg_line_length": 25.441860465116278, "alnum_prop": 0.6051188299817185, "repo_name": "publicloudapp/csrutil", "id": "8c154c7d46697455c6fb8da8e8362f8c24f85953", "size"...
package org.apache.jackrabbit.vfs.ext.ds; import java.io.IOException; import org.apache.commons.io.input.AutoCloseInputStream; import org.apache.commons.vfs2.FileNotFoundException; import org.apache.commons.vfs2.FileObject; import org.apache.commons.vfs2.FileSystemException; /** * This input stream delays opening ...
{ "content_hash": "c619149ff23c88a33d338872e20cadf5", "timestamp": "", "source": "github", "line_count": 156, "max_line_length": 89, "avg_line_length": 23.576923076923077, "alnum_prop": 0.5864600326264274, "repo_name": "SylvesterAbreu/jackrabbit", "id": "c25015628fa6f5d1933bbbb1a64bf2564adcd3a5", "s...
import sublime import sublime_plugin import re PATTERN = re.compile( r'\s*(' + r'(\(|\[|\{|\)|\]|\})|' r'(\\?[\w$@]+[?!]?|\$)|' + # double colon is for not ignoring colon at the end of string (php/python # conflict) r'(::|[^\w(){}\[\]])' + r')\s*' ) STATEMENT_OPEN = ['(', '{', '['] STATEMENT_...
{ "content_hash": "558176edeb452608bcf2eed6f086065f", "timestamp": "", "source": "github", "line_count": 509, "max_line_length": 97, "avg_line_length": 26.18664047151277, "alnum_prop": 0.6171505739365294, "repo_name": "shagabutdinov/sublime-statement", "id": "dc595e4427cc37fee37be84be087a042afe070f9",...
/*! A fix for the iOS orientationchange zoom bug. Script by @scottjehl, rebound by @wilto. MIT License. */ (function(w){ // This fix addresses an iOS bug, so return early if the UA claims it's something else. if( !( /iPhone|iPad|iPod/.test( navigator.platform ) && navigator.userAgent.indexOf( "AppleWebKit" ...
{ "content_hash": "7bb0a7a4fb8a8b88e184368ce0e42744", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 114, "avg_line_length": 28.963636363636365, "alnum_prop": 0.5568110483364721, "repo_name": "itsbspoke/excellent-software-habits", "id": "2faaf81b3bdd9fef22ba67976e97a41baf0e3...
from netaddr import IPNetwork import json import logging from pycalico import PyCalicoError _log = logging.getLogger(__name__) _log.addHandler(logging.NullHandler()) class AllocationHandle(object): """ An allocation handle tracks the blocks and number of addresses allocated with a particular handle ID. ...
{ "content_hash": "ff7cd90d2164a4406254eead9b84a1d3", "timestamp": "", "source": "github", "line_count": 130, "max_line_length": 78, "avg_line_length": 29.276923076923076, "alnum_prop": 0.5559642669469259, "repo_name": "caseydavenport/libcalico", "id": "891989670e7a144f2c8108cbce2055e06789bbfb", "si...
define(['joga/objectProperty', 'joga/dependencyTracker', 'joga/elementBinder'], function (objectProperty, dependencyTracker, elementBinder) { function elementPropertyFactory(initialValue) { function elementProperty(value) { return elementProperty.evaluate(value, this); } objec...
{ "content_hash": "3ee53e0ad82e7e4f83deb93dd74de22b", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 141, "avg_line_length": 23.982142857142858, "alnum_prop": 0.5949367088607594, "repo_name": "nicolasfont/jogajs", "id": "2e030109aa02db612d31204bd1e354e369abfb00", "size": "...
// Copyright (C) 2015 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
{ "content_hash": "49d1a31b3362a49593daf7efac3b22b2", "timestamp": "", "source": "github", "line_count": 97, "max_line_length": 100, "avg_line_length": 30.95876288659794, "alnum_prop": 0.6866466866466866, "repo_name": "GerritCodeReview/plugins_delete-project", "id": "b3948dae20359c56750bbe2274147932cc...
{% extends "default.html" %} {% load staticfiles %} {% block css_app %} {{ block.super }} <style> .overlay { background-color: #e74c3c; position: fixed; z-index: 120; top: 150px; left: 0; bottom: 0; right: 0; ...
{ "content_hash": "a6125b1d13b8f8bc05e4d04993b8230b", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 123, "avg_line_length": 28.548387096774192, "alnum_prop": 0.48926553672316386, "repo_name": "luzfcb/django_documentos", "id": "b93d9fd99aa2b61706cbc2673a927d750f9ddc4d", "s...
package geologger.saints.com.geologger.adapters; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.LinearLayout; import android.widget.TextView; import com.android.volley.toolbox.ImageL...
{ "content_hash": "e5dfd0695e89644777fec45bdf707202", "timestamp": "", "source": "github", "line_count": 102, "max_line_length": 119, "avg_line_length": 37.57843137254902, "alnum_prop": 0.7067571093138534, "repo_name": "Saint1991/GPSLogger", "id": "9d88f60160cb058efb53d289cd66b2c1e29854a5", "size": ...
namespace Microsoft.Azure.Management.EventHub { using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; ...
{ "content_hash": "f8e1638c1653f90eb9ea6af27649cccf", "timestamp": "", "source": "github", "line_count": 380, "max_line_length": 239, "avg_line_length": 43.40526315789474, "alnum_prop": 0.5455923366072511, "repo_name": "pilor/azure-sdk-for-net", "id": "62c9ebab7134af4f734174cb94298db6c5e017cc", "siz...
package net.acme.logging; import com.redhat.ceylon.compiler.java.metadata.Import; import com.redhat.ceylon.compiler.java.metadata.Module; /** * @author <a href="mailto:matejonnet@gmail.com">Matej Lazar</a> */ @Module( name = "net.acme.logging", version = "1.0.0.CR1", dependencies = { @Import(nam...
{ "content_hash": "e05fec11d5db99d337a34cf8f47f90b1", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 64, "avg_line_length": 22.941176470588236, "alnum_prop": 0.6564102564102564, "repo_name": "gijsleussink/ceylon", "id": "9e2eb115cf81c4d45fe60c5c8e88b94e533504f0", "size": "...
import * as koa from "koa"; import { getParamAsString } from "../../utils/get-param"; import * as apps from "../../models/application"; export default async function destroy(ctx: koa.Context) { const body = ctx.request.body; const appId = getParamAsString(body, "app-id"); const appSecret = getParamAsString(body,...
{ "content_hash": "410f1ad28de8304e1e82eff4767708d9", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 57, "avg_line_length": 33, "alnum_prop": 0.6919191919191919, "repo_name": "Tosuke/misskey-auth", "id": "c00356da220ece51db1bbe7ec0e293429fa39595", "size": "396", "binary"...
package com.intellij.psi.impl.source.tree.java; import com.intellij.lang.ASTNode; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.text.StringUtil; import com.intellij.psi.*; import com.intellij.psi.impl.PsiImplUtil; import com.intellij.psi.impl.java.stubs.JavaStubElementTypes; import com...
{ "content_hash": "3c4590b6bf7788f00f500c1b5a2690da", "timestamp": "", "source": "github", "line_count": 157, "max_line_length": 132, "avg_line_length": 33.98726114649681, "alnum_prop": 0.7451274362818591, "repo_name": "msebire/intellij-community", "id": "89d6e711fb024bc1ba646da75a040c29c19adbd5", "...
/*! * Start Bootstrap - Grayscale Bootstrap Theme (http://startbootstrap.com) * Code licensed under the Apache License v2.0. * For details, see http://www.apache.org/licenses/LICENSE-2.0. */ body { width: 100%; height: 100%; font-family: Lora,"Helvetica Neue",Helvetica,Arial,sans-serif; color: #fff...
{ "content_hash": "79d18f89287a055e27b8d9a9658aa021", "timestamp": "", "source": "github", "line_count": 373, "max_line_length": 142, "avg_line_length": 19.281501340482574, "alnum_prop": 0.6123470522803115, "repo_name": "bigmikex97/bigmikex97.github.io", "id": "48d95d5938e6475b0b75b167d3cd32b4d21217ea...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package Utils; import Mail.sendHtmlEmail; /** * * @author PC-Cristopher */ public class MailController { private final String...
{ "content_hash": "7b23513181220e46969172a1df5abaa6", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 160, "avg_line_length": 40.69565217391305, "alnum_prop": 0.530982905982906, "repo_name": "csalgadolizana/MisOfertasWebService", "id": "e7e426f8280d8ba3dbeb0f1f9b8aad5f46e9074...
import argparse import torch import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable from torch.optim import lr_scheduler import torch.utils.data as data from torch.nn.utils.rnn import pack_padded_sequence as pack, pad_packed_sequence as unpack import torchaudio import torchaudio.trans...
{ "content_hash": "13c93cf7ddbf8ee3ac87d89b77be4f0b", "timestamp": "", "source": "github", "line_count": 551, "max_line_length": 138, "avg_line_length": 33.524500907441016, "alnum_prop": 0.5889995669120831, "repo_name": "dhpollack/programming_notebooks", "id": "978b011b224012b04df51bc99977125c401506f7...
package controllers import lila.app._ import lila.user.UserRepo import play.api.mvc._ import views._ object UserTournament extends LilaController { def path(username: String, path: String, page: Int) = Open { implicit ctx => OptionFuResult(UserRepo named username) { user => path match { case "rec...
{ "content_hash": "21c7c40a7772b88f9a007852ad89c049", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 81, "avg_line_length": 30, "alnum_prop": 0.6202380952380953, "repo_name": "JimmyMow/lila", "id": "d22baeb7a6cc7dbb78f35013062bd481165dad63", "size": "840", "binary": fals...
meerkat-recaptcha ================= Recaptcha module for MeerkatCMF
{ "content_hash": "ff892106cbeac44b7f226f0b898f80b4", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 31, "avg_line_length": 17.25, "alnum_prop": 0.6376811594202898, "repo_name": "aberdnikov/meerkat-recaptcha", "id": "3d45d62e1d63ffefd68825c8d24ed962e257f1e5", "size": "69", ...
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache Lice...
{ "content_hash": "8f736a93c10ea6e31c6b94dcf6cc24f5", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 201, "avg_line_length": 36.11363636363637, "alnum_prop": 0.6944619257394588, "repo_name": "woj-i/camel", "id": "9e8fbc1e51be77c18dbcf5950e354b88d37e7cf2", "size": "3178", ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="fr"> <head> <!-- Generated by javadoc (1.8.0_101) on Thu Oct 20 12:34:15 CEST 2016 --> <title>F-Index</title> <meta name="date" content="2016-10-20"> <link rel="stylesheet" type="te...
{ "content_hash": "d48d5f2d252304ac3e63f2ec084e664b", "timestamp": "", "source": "github", "line_count": 131, "max_line_length": 316, "avg_line_length": 35.916030534351144, "alnum_prop": 0.6044633368756642, "repo_name": "rikiki69/targaryans", "id": "dfc1d0b584de1924e29214f67f53b34a4240c654", "size":...
.class public Landroid/view/accessibility/AccessibilityNodeInfo; .super Ljava/lang/Object; .source "AccessibilityNodeInfo.java" # interfaces .implements Landroid/os/Parcelable; # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Landroid/view/accessibility/AccessibilityNodeInfo$C...
{ "content_hash": "a5fcd061f8035daffc1305a03411f497", "timestamp": "", "source": "github", "line_count": 5525, "max_line_length": 241, "avg_line_length": 27.33628959276018, "alnum_prop": 0.7163798640032311, "repo_name": "shumxin/FlymeOS_A5DUG", "id": "9df903202ad7ed79814b25dd4c82a64f7f22c18b", "size...
'use strict'; var _ = require('lodash'); var $ = require('../util/preconditions'); var buffer = require('buffer'); var compare = Buffer.compare || require('buffer-compare'); var errors = require('../errors'); var BufferUtil = require('../util/buffer'); var JSUtil = require('../util/js'); var BufferReader = require('....
{ "content_hash": "8984361ec7ba287486d7e2319fcc0a9e", "timestamp": "", "source": "github", "line_count": 1240, "max_line_length": 125, "avg_line_length": 30.186290322580646, "alnum_prop": 0.6896689909433358, "repo_name": "martindale/bitcore", "id": "d3742377826e993b15ff5781d82d94219bf66b55", "size":...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.PDFThumbnailViewer = undefined; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false...
{ "content_hash": "70b335ae679d06be1dcfa0679c5e1d14", "timestamp": "", "source": "github", "line_count": 210, "max_line_length": 564, "avg_line_length": 33.61904761904762, "alnum_prop": 0.6172804532577904, "repo_name": "ishan993/IshanBlogReactRedux", "id": "175efd0459500fe59968f72eba9dbde103614f8b", ...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in Bot. Jahrb. Syst. 57:187. 1921 #### Original name null ### Remarks null
{ "content_hash": "de51997dcfb4fc31e71380d3e45bcc50", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 12.307692307692308, "alnum_prop": 0.6875, "repo_name": "mdoering/backbone", "id": "0bf37cdce8534e616834da976b4fb066944f48fb", "size": "203", "binar...
"use strict"; window.onload = function () { var dateObj = new Date(); document.querySelector(".currentYear").innerHTML = dateObj.getFullYear() };
{ "content_hash": "c098f353c039409c50c5f1c57230819d", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 76, "avg_line_length": 25.666666666666668, "alnum_prop": 0.6818181818181818, "repo_name": "seaon/seaon.github.io", "id": "efbda623d86e6d2c7aa43eb925f82860acaf4478", "size": ...
<?php if($post): foreach($post as $p):?> <?=form_open('blog/edit_post/'.$p->blog_id);?> <!-- Page Heading/Breadcrumbs --> <div class="row"> <div class="col-lg-12"> <h1 class="page-header">Редактиране </h1> <ol class="breadcrumb"> <li><a href="<?=site_url('blog'); ?>">Начало</...
{ "content_hash": "80a83e454e9f14443836379a63ca227c", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 122, "avg_line_length": 36.22222222222222, "alnum_prop": 0.5791411042944785, "repo_name": "mnalbantov/reward", "id": "1f37388ce55aa11cf986d866b51bb4ff4af2602f", "size": "16...
<?php require_once("../../../config.php"); require("../user_library.php"); require("management_library.php"); if(is_user_admin()){ security_list(); }else{ management_fail(); } ?>
{ "content_hash": "359b96abc9f41e4fef8ecfd3694055bb", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 36, "avg_line_length": 10.833333333333334, "alnum_prop": 0.5846153846153846, "repo_name": "torinfo/xerteonlinetoolkits", "id": "f2f7386e36b22d09da46e6b9119789686693b2dd", "...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Joy.Server.Errors { public class ServerErrorCode { public const string MethodNull = "1"; public const string InvalidHttpMethod = "2"; public const string InvalidNormalRequestMethod = "3"; } }
{ "content_hash": "aef110857777ab577ef558f0ce1e1603", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 55, "avg_line_length": 21.214285714285715, "alnum_prop": 0.7609427609427609, "repo_name": "mind0n/hive", "id": "8e68c076bca8fc7431178aa7702dfcdb289fcc9a", "size": "299", ...
<?xml version="1.0" encoding="UTF-8"?> <!-- 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 ...
{ "content_hash": "1517e011bf404cc37f0e49a5e7b4d275", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 74, "avg_line_length": 35.32142857142857, "alnum_prop": 0.6961577350859454, "repo_name": "aliyun-beta/aliyun-oss-hadoop-fs", "id": "a09fdd112425c1ce37c332c158675d8d9eac3c82",...
* Construct a Jig with some pins / then pre-drill the board with holes that align <br> the idea is to keep the placement when the board is flipped over for double sided boards http://www.instructables.com/id/Double-sided-PCBs-with-a-laser-cutter/ * Look into Mylar / Kapton solder paste stencils ...
{ "content_hash": "b200904d3257869d423a7c34c9f9f29e", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 144, "avg_line_length": 60, "alnum_prop": 0.75, "repo_name": "ASoftTech/CAD.General.Circuit", "id": "9f2794b0e976dc193ca65915568f528d03120d9b", "size": "677", "binary": f...
This will be removed as soon. ```js // Combines 2 path components, making sure there is one and only one "/" // between them. // UPDATED: 2016/07/08 15:10 PDT function combinePathComponents(path1, path2) { if (path1.endsWith("/")) path1 = path1.substring(0, path1.length - 1); if (path2.startsWith("/")) path2 = p...
{ "content_hash": "1275913411e897044134a546679411d6", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 72, "avg_line_length": 26.642857142857142, "alnum_prop": 0.6702412868632708, "repo_name": "dagware/DanThomas", "id": "0cd2f3eed8b9b0b8a8245351baabd612ee7dbbf6", "size": "42...
namespace MyMedicalGuide.Web.Models.Hospitals { using System; using AutoMapper; using MyMedicalGuide.Data.Models; using MyMedicalGuide.Web.Infrastructure.Mapping; public class BasicHospitalViewModel : IMapFrom<Hospital>, IHaveCustomMappings { public string Url { get; set; } pu...
{ "content_hash": "04d897ee2a2ec9a07d0faa768bfa2b7a", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 92, "avg_line_length": 29.333333333333332, "alnum_prop": 0.6448863636363636, "repo_name": "aleksandra992/My-Medical-Guide-ASP.NET-MVC", "id": "7f306eaf844791eb525ffe6d429bd46...
"""A module that provides support for the Covariance Matrix Adaptation Evolution Strategy. """ import copy import logging import math import numpy import random # Only used to seed numpy.random import sys # Used to get maxint numpy.random.seed(random.randint(0, sys.maxint)) _logger = logging.getLogger("eap.c...
{ "content_hash": "6bd56da840762f6471f67e867deec9b7", "timestamp": "", "source": "github", "line_count": 251, "max_line_length": 80, "avg_line_length": 43.63745019920319, "alnum_prop": 0.44499223956906786, "repo_name": "rainest/dance-partner-matching", "id": "0729f45645c6e48d1e2c06f7e4a2f6693ab3a40b",...
package net.avalara.avatax.rest.client.models; import net.avalara.avatax.rest.client.enums.*; import net.avalara.avatax.rest.client.serializer.JsonSerializer; import java.lang.Override; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; /** * A model for disp...
{ "content_hash": "d461277dc6c0cb95303540eff450c524", "timestamp": "", "source": "github", "line_count": 287, "max_line_length": 67, "avg_line_length": 19.578397212543553, "alnum_prop": 0.5830218900160171, "repo_name": "avadev/AvaTax-REST-V2-JRE-SDK", "id": "9b2787085275845c36f4bbccbcb2c4245c2aae09", ...
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Web.Mvc { public static class ModelValidatorProviders { private static readonly ModelValidatorProviderCollection _providers = new ModelValidatorProvider...
{ "content_hash": "9c6099fb4c6bda687b400e757d488a4b", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 133, "avg_line_length": 34.421052631578945, "alnum_prop": 0.6896024464831805, "repo_name": "Terminator-Aaron/Katana", "id": "8aafacc46ddf36ecca364a5e6c6ea20fe9c9b59d", "siz...
<?xml version="1.0" encoding="utf-8"?> <!--Generated by crowdin.com--> <resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation"> <string name="root_waiting">Venter på rottilgang</string> <string name="no_root">Ingen rot tilgjengelig</string> <string name="no_busybox">Ingen busyb...
{ "content_hash": "352f6ac9cd21c76c4a03151180ee4a81", "timestamp": "", "source": "github", "line_count": 95, "max_line_length": 184, "avg_line_length": 57.8421052631579, "alnum_prop": 0.7397634212920837, "repo_name": "spezi77/KernelAdiutor-Mod", "id": "b2da92c1f809fa3ed14610c4fa8f697e1dbf82ce", "siz...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "b3eb06556133ab8a50c105f83d5a432c", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "dbd0509700b2598f3844885bcf1bf4a2b977e81e", "size": "180...
package org.apache.hadoop.hdfs.server.blockmanagement; import java.io.IOException; import org.apache.hadoop.thirdparty.com.google.common.annotations.VisibleForTesting; import org.apache.hadoop.hdfs.protocol.DatanodeID; import org.apache.hadoop.hdfs.server.protocol.BlockReportContext; /** * Used to inject certain f...
{ "content_hash": "6a3457b86fb3aeddf9811c21ae6cc0d7", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 84, "avg_line_length": 26.52777777777778, "alnum_prop": 0.7916230366492146, "repo_name": "apurtell/hadoop", "id": "a529eca6d6ceb9e060425bbf59dfca1cd3f71c87", "size": "1761"...
"""Runs a BigQuery TensorFlow connector benchmark.""" import time from absl import app from absl import flags from google.cloud import bigquery import tensorflow as tf from tensorflow.python.framework import dtypes from tensorflow_io.bigquery import BigQueryClient FLAGS = flags.FLAGS flags.DEFINE_string("project_id...
{ "content_hash": "c67eb716b0ef40777f6f597a32f45672", "timestamp": "", "source": "github", "line_count": 156, "max_line_length": 156, "avg_line_length": 32.955128205128204, "alnum_prop": 0.663100564092589, "repo_name": "GoogleCloudPlatform/PerfKitBenchmarker", "id": "dec08933a8176a24cb18b971f7c680b185...
/** * @fileOverview Defines the {@link CKFinder.lang} object for the Czech * language. */ /** * Contains the dictionary of language entries. * @namespace */ CKFinder.lang['cs'] = { appTitle : 'CKFinder', // Common messages and labels. common : { // Put the voice-only part of the label...
{ "content_hash": "0ae158b57c0ea42212803377b3d271ab", "timestamp": "", "source": "github", "line_count": 296, "max_line_length": 146, "avg_line_length": 34.141891891891895, "alnum_prop": 0.666732634078765, "repo_name": "taobataoma/saivi", "id": "e691f2d94cb830a668598dcc01423d34ade7f41c", "size": "10...
#ifndef MICROPY_INCLUDED_PY_OBJINT_H #define MICROPY_INCLUDED_PY_OBJINT_H #include "py/mpz.h" #include "py/obj.h" typedef struct _mp_obj_int_t { mp_obj_base_t base; #if MICROPY_LONGINT_IMPL == MICROPY_LONGINT_IMPL_LONGLONG mp_longint_impl_t val; #elif MICROPY_LONGINT_IMPL == MICROPY_LONGINT_IMPL_MPZ ...
{ "content_hash": "620cb7a1ce441047c130fd9800a3e915", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 103, "avg_line_length": 40.51219512195122, "alnum_prop": 0.6983744732089103, "repo_name": "pozetroninc/micropython", "id": "c4752384e04db32f5e6d315c420d271f17bfca97", "size...
editCreateWorkout: editorButtons: deleteWorkout Set Error Capture [ On ] Allow User Abort [ Off ] # #If there are no records, stop the script. If [ Get (FoundCount) = 0 ] Exit Script [ ] End If #Check if workout is locked. If [ activity::planningOrPlanned = "" ] Show Custom Dialog [ Message: "Delete this workout?"; But...
{ "content_hash": "74809f1030e3fc6c9851bc50e89491bd", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 130, "avg_line_length": 28.545454545454547, "alnum_prop": 0.7314225053078556, "repo_name": "HelpGiveThanks/HeartWhisperer", "id": "11203fa669452dbed4f0571d99d9aee4d7ddf10e", ...
// ::color::operation::_internal::usher<category_name>::process( left, right ) #include "./constant.hpp" #include "./usher.hpp" namespace color { namespace operation { namespace _internal { template< typename category_left_name, typename category_right_name > ...
{ "content_hash": "81445ce22cfe79cd892c2e437835ab33", "timestamp": "", "source": "github", "line_count": 119, "max_line_length": 172, "avg_line_length": 45.11764705882353, "alnum_prop": 0.5680759918048054, "repo_name": "dmilos/color", "id": "2590005b586a4bc6f28f45aefeffdbccad6b0111", "size": "5479",...
/*global app, $on */ (() => { 'use strict'; class Todo { /** Sets up a brand new Todo list. * * @param {string} name The name of your new to do list. */ constructor(name) { this.storage = new app.Store(name); this.model = new app.Model(this.storage); this.template = new a...
{ "content_hash": "c8a2420ab854d2bfac3a5da7aa78f6fa", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 66, "avg_line_length": 25.928571428571427, "alnum_prop": 0.6060606060606061, "repo_name": "google/forklift", "id": "5399a95385168f3d4c170caa830c8c825126c04a", "size": "2317...
<?php class Usuario_model extends CI_Model { public function getAll($tabla) { return $this->db ->get($tabla) ->result(); } public function get($id, $tabla) { return $this->db ->where('id', $id) ...
{ "content_hash": "6bd51ab57e5987e27c0999b7399feb27", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 67, "avg_line_length": 29.854545454545455, "alnum_prop": 0.44275274056029235, "repo_name": "mauragud/biblioteca", "id": "361cff44a9c799c386914c88a6178cea437ea755", "size": ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>Ignite Tools: UAEvent Class Reference</title> <link href="tabs.css" rel...
{ "content_hash": "1409e97e0f6bb09833a18dd1ae898a89", "timestamp": "", "source": "github", "line_count": 135, "max_line_length": 689, "avg_line_length": 64.44444444444444, "alnum_prop": 0.6847126436781609, "repo_name": "jflasher/IgniteTools", "id": "1ba6622f2d020fbb87ec951ca4090a9772e1edd7", "size":...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>free-groups: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
{ "content_hash": "6f5469029db2682f66a422569b70ed97", "timestamp": "", "source": "github", "line_count": 164, "max_line_length": 221, "avg_line_length": 41.94512195121951, "alnum_prop": 0.5429568251199303, "repo_name": "coq-bench/coq-bench.github.io", "id": "b9df544fddde2272917e7defdeeb94508f0ddd68", ...
package net.glowstone.io.entity; import net.glowstone.entity.monster.GlowGuardian; import net.glowstone.util.nbt.CompoundTag; class GuardianStore extends MonsterStore<GlowGuardian> { public GuardianStore() { super(GlowGuardian.class, "Guardian"); } @Override public void load(GlowGuardian ent...
{ "content_hash": "2315c8722010e0a464acd69190f12939", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 65, "avg_line_length": 25.310344827586206, "alnum_prop": 0.6525885558583107, "repo_name": "jimmikaelkael/GlowstonePlusPlus", "id": "74056385e1e5f7afb867e636e657dbce24b9350a",...
@interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
{ "content_hash": "562857d8a20fb8559c39ed0ae2f131cb", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 60, "avg_line_length": 23.2, "alnum_prop": 0.7931034482758621, "repo_name": "jyliang/gaussianblurdemo", "id": "336a261fc7b19d10c391ee8b77e1d00cfeb4b711", "size": "286", "b...
namespace tfrt { class Device; class DeviceType; class ExecutionContext; // TensorConversionFn allows convert a Tensor from a source Tensor type into a // destination Tensor type. This can (in general) require // device computation or lots of copying, so this returns an AsyncValue for the // result. // // This return...
{ "content_hash": "f1ca9377ce083e15bab4064177fbd293", "timestamp": "", "source": "github", "line_count": 89, "max_line_length": 79, "avg_line_length": 37.68539325842696, "alnum_prop": 0.7203339296362552, "repo_name": "tensorflow/runtime", "id": "786f6634c068125acc15dba218d56a5a0cc2ccda", "size": "43...
<?php /** * The "devices" collection of methods. * Typical usage is: * <code> * $cloudiotService = new Google_Service_CloudIot(...); * $devices = $cloudiotService->devices; * </code> */ class Google_Service_CloudIot_Resource_ProjectsLocationsRegistriesGroupsDevices extends Google_Service_Resource { /**...
{ "content_hash": "86f60a7b7b2565eb439364299e6d706a", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 111, "avg_line_length": 49.898305084745765, "alnum_prop": 0.7221467391304348, "repo_name": "phil-davis/core", "id": "b00a2b87929b410899caf9926f9b78a2041d0d53", "size": "353...
#include "tensorflow/compiler/xla/service/async_collective_creator.h" #include "tensorflow/compiler/xla/service/hlo_instruction.h" #include "tensorflow/compiler/xla/service/hlo_opcode.h" #include "tensorflow/compiler/xla/service/hlo_schedule.h" #include "tensorflow/compiler/xla/tests/hlo_test_base.h" #include "tenso...
{ "content_hash": "f970f566f9f3c3a60e9bb54fbc1ed843", "timestamp": "", "source": "github", "line_count": 196, "max_line_length": 336, "avg_line_length": 41.61734693877551, "alnum_prop": 0.7017285766826039, "repo_name": "karllessard/tensorflow", "id": "91888ee825180e8b6af849be25eafd8ab7a4f69c", "size...
package com.tesshu.subsonic.client.fx.view.playlists; import com.tesshu.subsonic.client.fx.command.param.SimpleObjectParam; import com.tesshu.subsonic.client.fx.event.Action; import com.tesshu.subsonic.client.fx.view.ICustomContainer; import com.tesshu.subsonic.client.model.Playlist; import javafx.scene.Node; publ...
{ "content_hash": "b2ebde1984810c61416805dd5dbd8aa2", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 98, "avg_line_length": 26.55, "alnum_prop": 0.8116760828625236, "repo_name": "tesshucom/subsonic-fx-player", "id": "b007f816f0525ef6cdca732381bbd12cb86dfd15", "size": "1151...
<?xml version="1.0" charset="UTF-8"?> <xml>für <!-- in this case charset is specified incorrectly --></xml>
{ "content_hash": "7da00a48223df50789aaf35d53190e31", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 69, "avg_line_length": 54, "alnum_prop": 0.6574074074074074, "repo_name": "KoehlerSB747/sd-tools", "id": "64624690ab354745f774644e0928f0f5f20c9b01", "size": "108", "binary...
using System; using System.Collections.Generic; namespace SJP.Schematic.Migrations.Operations.Comparers { public class DropColumnComparer : EqualityComparer<DropColumnOperation> { public override bool Equals(DropColumnOperation x, DropColumnOperation y) { if (x is null && y is null...
{ "content_hash": "31473f6800e489d3cb02aa302b8c70fe", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 81, "avg_line_length": 28.142857142857142, "alnum_prop": 0.5862944162436549, "repo_name": "sjp/SJP.Schema", "id": "d83e7089e0a732ea6b5394eafb6d2744b7489e2b", "size": "790",...
<persistence xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd" version="2.1"> <persistence-unit name="demo" transaction-type="RESOURCE_LOCAL">...
{ "content_hash": "a210b43e2c77fd30c6ae9031e4277d23", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 121, "avg_line_length": 53.5, "alnum_prop": 0.7032710280373832, "repo_name": "backpaper0/sandbox", "id": "925c8dc4e4069e79b08283ee85db91e033520bbc", "size": "1284", "bina...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>fairisle: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
{ "content_hash": "d86d5ff255fcae27a39ad4494dd9a418", "timestamp": "", "source": "github", "line_count": 166, "max_line_length": 234, "avg_line_length": 43.5, "alnum_prop": 0.5557402021880626, "repo_name": "coq-bench/coq-bench.github.io", "id": "47c3b413e04d46b7a9a63068da3b565118faafaf", "size": "72...
var express = require("express"); var app = express(); app.set("view engine", "ejs"); app.get("/", function(req, res){ res.render("home"); }); app.get("/about", function(req, res){ res.render("about"); }); app.listen(process.env.PORT, process.env.IP);
{ "content_hash": "16131046693d0cd6c733a5350ffefc77", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 45, "avg_line_length": 19.285714285714285, "alnum_prop": 0.6037037037037037, "repo_name": "fbartnitzek/notes", "id": "def21cf0bacc66741d77426837e5a2068fd5d2a3", "size": "27...
=========================================== Brief Description of Vector Engine Managers =========================================== Here goes:: node - targets a single computer. cluster - targets a computer cluster through MPI.
{ "content_hash": "43a3f64cbb6924f418eb6f22a61a2f84", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 54, "avg_line_length": 27.11111111111111, "alnum_prop": 0.45901639344262296, "repo_name": "bh107/bohrium", "id": "6e0653e463e48367ae24fbbfe1abb3478f923b5f", "size": "244", ...
import os import webob.dec import webob.exc from webob import Request from webob import Response from paste.deploy import loadapp from wsgiref.simple_server import make_server """ A filter class factory shall be defined such that: 0. The factory method shall return the filter class itself. By design, the filter doe...
{ "content_hash": "f5826ea5de7bc7f4240c5fc4249e093e", "timestamp": "", "source": "github", "line_count": 163, "max_line_length": 80, "avg_line_length": 33.920245398773005, "alnum_prop": 0.6332067281606077, "repo_name": "sunrenjie/3rd-deadly-technotes", "id": "6ceaf0675a349bfb7efdb8a7530cd04b0fba0da3",...
class UpdateWeatherJob < ApplicationJob queue_as :default def perform location = LocationUpdate.order(created_at: :desc).first return unless location weather = WeatherUpdate.first || WeatherUpdate.new raw = Weather.for_coords(location.latitude, location.longitude) weather.update_attributes({ ...
{ "content_hash": "241ca7543754f833e8ca811594c56dce", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 67, "avg_line_length": 26.454545454545453, "alnum_prop": 0.6615120274914089, "repo_name": "aomega08/IndieRails", "id": "7a843f803ece43786ef844f61dec32848120bd67", "size": "...
/** * Safe chained function * * Will only create a new function if needed, * otherwise will pass back existing functions or null. * * @param {function} functions to chain * @returns {function|null} */ export default function createChainedFunction(...funcs) { return funcs.reduce((acc, func) => { if (func =...
{ "content_hash": "df7c6875eb3c7631239a64d7fb050ec8", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 110, "avg_line_length": 25.925925925925927, "alnum_prop": 0.6142857142857143, "repo_name": "cdnjs/cdnjs", "id": "1b1e4867609cdbeac53f3b41d9eba78d73b9b536", "size": "700", ...
package org.apache.beam.sdk.util; import static org.hamcrest.Matchers.equalTo; import static org.junit.Assert.assertThat; import java.io.Serializable; import org.apache.beam.sdk.testing.PAssert; import org.apache.beam.sdk.testing.TestPipeline; import org.apache.beam.sdk.testing.ValidatesRunner; import org.apache.be...
{ "content_hash": "12ef96c9c4e893f50db4ab0f53a84cdf", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 97, "avg_line_length": 36.18279569892473, "alnum_prop": 0.6404160475482912, "repo_name": "axbaretto/beam", "id": "2942efdf38c73d0aa2e82eee63c944675fe97f56", "size": "4170",...
<!DOCTYPE html> <!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Welcome to stormpath-sdk-android’s documentation!...
{ "content_hash": "7a146589e107483ffcf7dde03b72f6f2", "timestamp": "", "source": "github", "line_count": 164, "max_line_length": 183, "avg_line_length": 26.25, "alnum_prop": 0.5969802555168409, "repo_name": "stormpath/stormpath-sdk-android", "id": "c4b15dc4eccaba114cf9c9061f44d1960f48fd27", "size": ...
package expression import ( "fmt" "sort" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/service/dynamodb" ) // expressionType specifies the type of Expression. Declaring this type is used // to eliminate magic strings type expressionType string const ( projection expressionType = "projection" ke...
{ "content_hash": "2d8b38c7c0e14f3e2c036bed7596f960", "timestamp": "", "source": "github", "line_count": 639, "max_line_length": 122, "avg_line_length": 35.45226917057903, "alnum_prop": 0.7343956917100732, "repo_name": "aws/aws-sdk-go", "id": "b6e17c41390f15031f6ffe6fef94ea92d7828e9c", "size": "2265...
@interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
{ "content_hash": "d86e5bc059f331c21c944d6a93f17da7", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 60, "avg_line_length": 23, "alnum_prop": 0.8, "repo_name": "ndleon09/AdsWizzManager", "id": "ccfbc62981aac5ed994d594a7cbab4e1204d4e3a", "size": "305", "binary": false, "...
from flask import Flask from flask.ext.locale import Locale, translate app = Flask(__name__) # app.config['DEFAULT_LOCALE'] = 'zh_CN' locale = Locale(app) @app.route('/') def hello(): return translate('Hello') @locale.localeselector def loader(): return 'en_US' if __name__ == "__main__": app.run(debu...
{ "content_hash": "fe19bde1a6c12fbf36705aa700410f11", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 46, "avg_line_length": 16.4, "alnum_prop": 0.6463414634146342, "repo_name": "scardine/flask-locale", "id": "c0a55149377a0b4e16541c9aee549439f7cbfebe", "size": "328", "bin...
using System; namespace Lucene.Net.Codecs.Lucene3x { using SegmentReadState = Lucene.Net.Index.SegmentReadState; using SegmentWriteState = Lucene.Net.Index.SegmentWriteState; /// <summary> /// Lucene3x ReadOnly <see cref="NormsFormat"/> implementation. /// <para/> /// @lucene.experimenta...
{ "content_hash": "2e75f004f626b107c32298553dce4d45", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 114, "avg_line_length": 32.035714285714285, "alnum_prop": 0.6811594202898551, "repo_name": "laimis/lucenenet", "id": "356cd8b8e93999bf553cf18b94aeecc6fb41a589", "size": "17...
{-# LANGUAGE GADTs #-} module Sampling where import qualified Data.Array.Repa as R import Matrix class Sampleable s where lower_bound :: s -> Int upper_bound :: s -> Int elementAt :: (Sampleable r) => s -> Int -> r data Sampler a where Sampler :: (Sampleable a, Sampleable b) => (a -> b) -> S...
{ "content_hash": "5142d74c831298056cd9a39ca5726fb2", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 68, "avg_line_length": 23.5, "alnum_prop": 0.6231003039513677, "repo_name": "brandonhewer/Q-Trading", "id": "8acb77d9cf76f377215c49baae21fe875ff9e1f8", "size": "329", "bi...
class eventsystem_eventsystem_1 { constructor() { // string EventObjectChangeEventClassID () {get} this.EventObjectChangeEventClassID = undefined; } // IUnknown Query (string, string, int) Query(string, string, int) { } // IUnknown QueryS (string, string) QueryS(string, s...
{ "content_hash": "fa6c83ec6630690204ba77f18664cd5a", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 56, "avg_line_length": 17.166666666666668, "alnum_prop": 0.610032362459547, "repo_name": "mrpapercut/wscript", "id": "0e2f1d6924ab5f2230f80dcac57443b4b8110e8e", "size": "61...
package example.springdata.redis.repositories; /** * @author Christoph Strobl */ enum Gender { FEMALE, MALE }
{ "content_hash": "026ee50fa14eac93db6a46b18f9a912a", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 46, "avg_line_length": 12.777777777777779, "alnum_prop": 0.7130434782608696, "repo_name": "goodjwon/spring-data-examples", "id": "ff1297d6337e6c66fc0d7e98f22ddfe1975c3e97", ...
package storagepool import ( "encoding/json" "fmt" "github.com/ghodss/yaml" "github.com/openebs/maya/pkg/apis/openebs.io/v1alpha1" cast "github.com/openebs/maya/pkg/castemplate/v1alpha1" m_k8s_client "github.com/openebs/maya/pkg/client/k8s" menv "github.com/openebs/maya/pkg/env/v1alpha1" mach_apis_meta_v1 "...
{ "content_hash": "7bb94a72f43c1c8d2b1433527c302f53", "timestamp": "", "source": "github", "line_count": 257, "max_line_length": 101, "avg_line_length": 26.980544747081712, "alnum_prop": 0.7223824632246899, "repo_name": "openebs/maya", "id": "5777c9033d7fecbe0085d938d319f875529385e0", "size": "7499"...
<?php namespace Symfony\Component\ErrorRenderer\Exception; use Symfony\Component\Debug\Exception\FatalThrowableError; use Symfony\Component\HttpFoundation\Exception\RequestExceptionInterface; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface; /** * Fl...
{ "content_hash": "a3061abb7ed995d917844c35603b990f", "timestamp": "", "source": "github", "line_count": 359, "max_line_length": 135, "avg_line_length": 25.84958217270195, "alnum_prop": 0.4989224137931034, "repo_name": "teohhanhui/symfony", "id": "9a8f92334634ca3030173d75fad45eab372274d3", "size": "...
[![Code Climate](https://codeclimate.com/github/chef/chef.svg)](https://codeclimate.com/github/chef/chef) [![Build Status Master](https://travis-ci.org/chef/chef.svg?branch=master)](https://travis-ci.org/chef/chef) [![Build Status Master](https://ci.appveyor.com/api/projects/status/github/chef/chef?branch=master&svg=tr...
{ "content_hash": "376369c49ce6124a157603c4ffaab8b1", "timestamp": "", "source": "github", "line_count": 309, "max_line_length": 538, "avg_line_length": 62.13915857605178, "alnum_prop": 0.7652726420498932, "repo_name": "mikedodge04/chef", "id": "3152007551422b5e0526787f939ddb97234ceff6", "size": "19...
package org.rioproject.deploy; import org.rioproject.opstring.ServiceElement; import org.rioproject.system.ComputeResourceUtilization; import java.io.Serializable; /** * Provides information about a deployed service. */ public class DeployedService implements Serializable { static final long serialVersionUID ...
{ "content_hash": "a46a6c2fa2b520c3279d20b0db7a531f", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 83, "avg_line_length": 31.615384615384617, "alnum_prop": 0.6564476885644769, "repo_name": "khartig/assimilator", "id": "b4e3b798938f5cd4c44547335414dd9d7b6144c2", "size": "...
#include <assert.h> #include <stdio.h> #include <config.h> #include <mosquitto_broker.h> #include <memory_mosq.h> #include <send_mosq.h> #include <time_mosq.h> static int max_inflight = 20; static int max_queued = 100; #ifdef WITH_SYS_TREE extern unsigned long g_msgs_dropped; #endif int mqtt3_db_open(struct mqtt3...
{ "content_hash": "5328e7a20bbe6c8c9a8e3c6c253f44fe", "timestamp": "", "source": "github", "line_count": 932, "max_line_length": 228, "avg_line_length": 24.151287553648068, "alnum_prop": 0.6366786618685859, "repo_name": "wenghengcong/MQTTExplore", "id": "6de68a980adfe429ed2aef73cf43a3a37e26fdab", "s...
// // LGOrdinalNumber.h // csvToD83 // // Created by Luis Gerhorst on 17.12.13. #import <Foundation/Foundation.h> @interface LGOrdinalNumber : NSObject - (id)initWithCSVString:(NSString *)string; - (id)initWithOrdinalNumber:(LGOrdinalNumber *)inputOrdinalNumber; - (NSUInteger)depth; - (NSUInteger)numberForPosit...
{ "content_hash": "323b79e9d2166c3814cdc1f43415c9cc", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 66, "avg_line_length": 19.94736842105263, "alnum_prop": 0.7467018469656992, "repo_name": "luisgerhorst/LV-Konverter", "id": "3a1f11a73f7d711e79cb644f9093b32f51a3cf75", "siz...