text
stringlengths
2
1.04M
meta
dict
/* This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the license, or (at your option) any later version. */ package org.gjt.jclasslib.structures.elementvalues; ...
{ "content_hash": "61275c9a8b1fa375291d40b7a2910663", "timestamp": "", "source": "github", "line_count": 94, "max_line_length": 84, "avg_line_length": 30.340425531914892, "alnum_prop": 0.6339410939691444, "repo_name": "seanzwx/tmp", "id": "c21c3ee4fbea03b7c9b59e9c16046d4a17a13677", "size": "2852", ...
var map = new maptalks.Map('map', { center: [-0.113049,51.498568], zoom: 14, baseLayer: new maptalks.TileLayer('base', { urlTemplate: '$(urlTemplate)', subdomains: $(subdomains), attribution: '$(attribution)' }) }); var textPanel = new maptalks.control.Panel({ 'position' : 'top-right', 'dr...
{ "content_hash": "e3f3a20cc6142ea541c1779ae8c36f68", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 63, "avg_line_length": 26.352941176470587, "alnum_prop": 0.5870535714285714, "repo_name": "maptalks/examples", "id": "9cc6eea39382b149af8573ae70fb020163b50fd8", "size": "89...
import java.awt.Color; import static org.junit.Assert.*; import org.junit.Test; /* * This testing framework provides basic level tests for * each of the methods, however additional testing will be * required, along with extensive testing of ALL helper methods * that you write. */ public class PictureECTest_Ch...
{ "content_hash": "9ea0ebf7bf272833e3111181f88d1c89", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 74, "avg_line_length": 31.068181818181817, "alnum_prop": 0.6891002194586686, "repo_name": "CSGreater-Developers/HMC-Grader", "id": "8ac19a72129ea50495997705e8662571a1cb0e30",...
/* generate by x-do-view */ const DashboardIndex = () => import('src/pages/dashboard/Index'); const routerList = []; routerList.push({ path: 'index', component: DashboardIndex, meta: { title: '', }, name: 'dashboardIndex', hidden: false, }); export default routerList;
{ "content_hash": "c85a282e1b96488e178eca017d02a798", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 65, "avg_line_length": 17.9375, "alnum_prop": 0.6480836236933798, "repo_name": "huixisheng/x-scaffold-vue-webpack", "id": "bd504ece01ea006a182fda537dbb88d9a406dbe9", "size"...
function confirmGameOver(score){ var r = confirm("Game Over.\nYour score: " + score + ". Play again?"); if (r==true){ location.href="game.html"; } else{ location.href="index.html"; } } enchant(); var width = screen.width + 15; var height = screen.height; var game = new Core(width, height); game.preload('ima...
{ "content_hash": "044999437ea74dcae228977a400a83a7", "timestamp": "", "source": "github", "line_count": 124, "max_line_length": 94, "avg_line_length": 25.669354838709676, "alnum_prop": 0.6226830034558593, "repo_name": "bigmarcolino/azureus", "id": "6479a8bd86c4dc53d86f76535369e471a20fa933", "size":...
package fr.xebia.demo.amazon.aws; import java.io.IOException; import java.io.PrintWriter; import java.math.BigInteger; import java.security.InvalidKeyException; import java.security.KeyPair; import java.security.KeyPairGenerator; import java.security.NoSuchAlgorithmException; import java.security.NoSuchProviderExcept...
{ "content_hash": "c1a646547949933ca04ff87a26447e6e", "timestamp": "", "source": "github", "line_count": 113, "max_line_length": 139, "avg_line_length": 36.50442477876106, "alnum_prop": 0.6918787878787879, "repo_name": "xebia-france/xebia-cloudcomputing-extras", "id": "ef19fb370f5cb939c11c6c6780538703...
package texteditor; import java.awt.*; import java.awt.event.KeyEvent; import java.util.ArrayList; import javax.swing.*; import javax.swing.text.StyleConstants; public class GUI { private Frame mainframe; private JMenuBar menuBar; private JPanel mainPanel, topPanel, centerPanel; private Tabs tabs; ...
{ "content_hash": "4053db054c7c7acff13d0667732e38d1", "timestamp": "", "source": "github", "line_count": 329, "max_line_length": 179, "avg_line_length": 36.98176291793313, "alnum_prop": 0.6455987507191584, "repo_name": "chrisstopher/TextEditor", "id": "00df724bbcb31a4556eeaf0c32e3fac8c9b89bda", "siz...
package com.twitter.finagle.thrift /** * OutputBuffers are convenient ways of getting at TProtocols for * output to byte arrays */ import org.apache.thrift.protocol.TBinaryProtocol import org.apache.thrift.transport.TMemoryBuffer import org.apache.thrift.TBase private[thrift] object OutputBuffer { private[thrif...
{ "content_hash": "2bf099d149db226b990ec5ec1460235e", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 69, "avg_line_length": 24.27777777777778, "alnum_prop": 0.7379862700228833, "repo_name": "enachb/finagle_2.9_durgh", "id": "a654e6f114187d92e39868e11c99c9d7ddad00cf", "size...
<?php // include configurations include "config.inc.php"; /* Get data */ if (isset($_GET['token'])) $token = $_GET['token']; else { $json = array("status" => 0, "msg" => "Error, token required!"); goto output; } if (isset($_GET['post'])) $post = $_GET['post']; else { $json = array("status" => 0, "m...
{ "content_hash": "ee128a4a301bd46bfb09c4efb277b91d", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 100, "avg_line_length": 24.67241379310345, "alnum_prop": 0.5422781271837875, "repo_name": "BOUAZIZamrou/mabinetnech-ws", "id": "da82ea41f809226801f107da47a253e9d1f5ed0a", "...
package Google::Ads::GoogleAds::V11::Resources::MerchantCenterLink; use strict; use warnings; use base qw(Google::Ads::GoogleAds::BaseEntity); use Google::Ads::GoogleAds::Utils::GoogleAdsHelper; sub new { my ($class, $args) = @_; my $self = { id => $args->{id}, merchantCenterAccoun...
{ "content_hash": "63f80624ed8bba160fbbf9eb2a3447b9", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 79, "avg_line_length": 26.708333333333332, "alnum_prop": 0.62402496099844, "repo_name": "googleads/google-ads-perl", "id": "a0fbf2c5b3f2e141aef7aaa25a9718a6c3dffcc6", "size...
/** * @addtogroup math */ /** * @file value.h * @author John Wiegley * * @ingroup math * * @brief Abstract dynamic type representing various numeric types * * A value_t object can be one of many types, and changes its type * dynamically based on how it is used. For example, if you assign * the number...
{ "content_hash": "10b0b71824921a4b418a089c3702f60a", "timestamp": "", "source": "github", "line_count": 980, "max_line_length": 80, "avg_line_length": 26.220408163265308, "alnum_prop": 0.5994707347447074, "repo_name": "jwakely/ledger", "id": "810d34f990ccb83c6b8ac07e02f87839cba42587", "size": "2727...
<?xml version="1.0" encoding="utf-8" ?> <registrationreport format="activity" regid="myreg27" instanceid="0"> <activity id="articulate_rise"> <title>ACE 19 - Case Finances: What Arbitrators Need to Know</title> <attempts>1</attempts> <complete>incomplete</complete> <success>passed</success> <timea...
{ "content_hash": "7a28200e2dc6ecf9666c44b93703bdcc", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 76, "avg_line_length": 35.541666666666664, "alnum_prop": 0.6459554513481829, "repo_name": "blueskybroadcast/scorm_cloud_client", "id": "bc589aa54a273293aa6b04db7b22666171b398...
module Gifts::Grit class Tag alias_method :old_message, :message def message Gifts::GritExt.encode! old_message end end end
{ "content_hash": "65700344669488011148181708435526", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 40, "avg_line_length": 14.8, "alnum_prop": 0.6621621621621622, "repo_name": "hiroponz/gifts", "id": "805dae8ddc156ed820296a33449a01eedda876fa", "size": "148", "binary": f...
import { Component, ChangeDetectionStrategy } from '@angular/core'; @Component({ exportAs: 'ngxNotificationContainer', selector: 'ngx-notification-container', template: ' <div class="notification-container"></div> ', host: { class: 'ngx-notification-container' }, changeDetection: ChangeDetectionStrategy.OnPu...
{ "content_hash": "cdecb0b0ef9ae44a9ddff925eb9dcb3d", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 67, "avg_line_length": 37.3, "alnum_prop": 0.7613941018766756, "repo_name": "swimlane/ngx-ui", "id": "5a902af67403961c33203f5d023b8fb2855cef97", "size": "373", "binary": ...
#include <string.h> #include "hclib.h" #include "hclib-rt.h" #include "hclib-task.h" #include "hclib-async-struct.h" #include "hclib-finish.h" #include "hclib-module.h" #include "hclib-fptr-list.h" #ifdef __cplusplus extern "C" { #endif // A list of allocation functions registered for specific locale types static hc...
{ "content_hash": "017ed95ed0f3f1a27a0c3bf2c70be6fb", "timestamp": "", "source": "github", "line_count": 241, "max_line_length": 80, "avg_line_length": 32.80082987551867, "alnum_prop": 0.6538899430740038, "repo_name": "habanero-rice/hcpp", "id": "8f68aeece7d5db5f24c54e7a7d9d0097a8bf32cb", "size": "7...
title: The Binomial Theorem Formulas localeTitle: Формулы биномиальной теоремы --- ## Формулы биномиальной теоремы Это заглушка. [Помогите нашему сообществу расширить его](https://github.com/freecodecamp/guides/tree/master/src/pages/mathematics/the-binomial-theorem-formulas/index.md) . [Это руководство по быстрому ст...
{ "content_hash": "dac9a8369e7e488a62a8df93491ab26e", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 171, "avg_line_length": 46, "alnum_prop": 0.8043478260869565, "repo_name": "otavioarc/freeCodeCamp", "id": "b6ba1a8bee57f2ec1f2a3bd082ad6e7276e8293b", "size": "648", "bin...
"""Utility to package and upload the USB gadget framework. """ import argparse import hashlib import io import os import zipfile try: from urllib.request import Request, urlopen except ImportError: # For Py2 compatibility from urllib2 import Request, urlopen def MakeZip(directory=None, files=None): """Const...
{ "content_hash": "f689a25cae010e34bb627b6dcb1b9c57", "timestamp": "", "source": "github", "line_count": 95, "max_line_length": 69, "avg_line_length": 25.821052631578947, "alnum_prop": 0.6498165511618427, "repo_name": "chromium/chromium", "id": "cfb6efeb16048705e4a7d699fc2a96386d88b65b", "size": "26...
namespace MVCHoldem.Services.Contracts { using System; using System.Collections.Generic; using MVCHoldem.Data.Models; public interface IPostService { IEnumerable<Post> GetMostRecent(); Post GetById(Guid id); IEnumerable<Post> AllWithoutDeleted(string searchPattern = ""); ...
{ "content_hash": "734769d1674be50bc8754a73cb98c4dc", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 89, "avg_line_length": 22.84, "alnum_prop": 0.6672504378283712, "repo_name": "gchankov/MVCHoldem", "id": "6651f67ce401891bfb93dc2ce3c8bbe3887545ac", "size": "573", "binar...
from os.path import join from gtts import gTTS from newspaper import Article def make_an_audio(url, filename, lang=None): if lang is None: lang = 'en' article = Article(url) article.download() article.parse() tts = gTTS(text=article.text, lang=lang) f = open(join('audio', filename), ...
{ "content_hash": "4527edc1d6b12e6a63108d3aa7a0c060", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 44, "avg_line_length": 21.352941176470587, "alnum_prop": 0.6391184573002755, "repo_name": "Fillll/pockebot", "id": "4657e4f5fcf9bfa948958fbc98911fb96cc19472", "size": "380"...
UI bootcamp
{ "content_hash": "80947de3b69a3345974c829ad37dc94a", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 11, "avg_line_length": 12, "alnum_prop": 0.8333333333333334, "repo_name": "uibootcamp94040/bootcamp1", "id": "d19ad116e10b4b48115e271475fa92257cf7e42e", "size": "24", "bin...
require 'spec_helper' describe "Checkout" do let!(:country) { create(:country, :states_required => true) } let!(:state) { create(:state, :country => country) } let!(:shipping_method) { create(:shipping_method) } let!(:stock_location) { create(:stock_location) } let!(:mug) { create(:product, :name => "RoR Mu...
{ "content_hash": "62a82593d855bca9fea16faeb9b29f9e", "timestamp": "", "source": "github", "line_count": 107, "max_line_length": 78, "avg_line_length": 32.12149532710281, "alnum_prop": 0.6060517893511783, "repo_name": "tiagoamaro/spree_cpf", "id": "b214ff407d1f47cfe84729c0a401a81aaaf2a225", "size": ...
"""Accesses the google.cloud.language.v1beta2 LanguageService API.""" import collections import json import os import pkg_resources import platform from google.gax import api_callable from google.gax import config from google.gax import path_template import google.gax from google.cloud.gapic.language.v1beta2 import ...
{ "content_hash": "aa934338fc89dc39c893d7b6d12cf22a", "timestamp": "", "source": "github", "line_count": 298, "max_line_length": 167, "avg_line_length": 46.31208053691275, "alnum_prop": 0.6477066879211651, "repo_name": "calpeyser/google-cloud-python", "id": "0150ca4f4b8378c81bec5efd9ad6acb8a72ac90c", ...
HetimaTracker =================
{ "content_hash": "ac7579be72d9ba2631ee810112efd5cd", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 17, "avg_line_length": 8.5, "alnum_prop": 0.38235294117647056, "repo_name": "kyorohiro/dart_hetimatorrent", "id": "fcc2af40d216ef6827d4a2b4394e7b46ff024b24", "size": "34", ...
.PHONY: docker docker: runsvinit docker build -t runsvinit-example . runsvinit: runsvinit-linux-amd64.tgz tar zxf $< runsvinit-linux-amd64.tgz: wget --quiet https://github.com/peterbourgon/runsvinit/releases/download/v2.0.0/runsvinit-linux-amd64.tgz
{ "content_hash": "97024568b6a07467b9045a7bdc2b4535", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 106, "avg_line_length": 25.6, "alnum_prop": 0.77734375, "repo_name": "alban/scope", "id": "5629007c6ec90f2b1dd78afcc1726007e774d1a9", "size": "256", "binary": false, "c...
package org.apache.wink.providers.json; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.lang.annotation.Annotation; import java.lang.reflect.Type; import java.nio.charset.Charset; import javax.ws.rs.Consumes; import javax.ws.rs.Produ...
{ "content_hash": "a446a944e8489b15302c41de654d8347", "timestamp": "", "source": "github", "line_count": 121, "max_line_length": 101, "avg_line_length": 37.14049586776859, "alnum_prop": 0.6186025812194037, "repo_name": "os890/wink_patches", "id": "fe1f1e8f19895565cd07060b1d358b82da157845", "size": "...
'use strict'; const tape = require('tape'); const sinon = require('sinon'); const db = require('../services/db'); const TABLES = [ 'points' ]; let currentSandbox; function beforeEach() { currentSandbox = sinon.sandbox.create(); } function afterEach() { currentSandbox.restore(); // Very naive 'wipe the d...
{ "content_hash": "8a2cd6f726f8ae346422d0e034e09302", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 75, "avg_line_length": 21.225352112676056, "alnum_prop": 0.6078301260783012, "repo_name": "dylanpyle/node-api-boilerplate", "id": "322bd03eea31b92fadbe2a477f83968e5c6af0e2", ...
.class Lcom/android/server/accounts/AccountAuthenticatorCache; .super Landroid/content/pm/RegisteredServicesCache; .source "AccountAuthenticatorCache.java" # interfaces .implements Lcom/android/server/accounts/IAccountAuthenticatorCache; # annotations .annotation system Ldalvik/annotation/MemberClasses; value = ...
{ "content_hash": "673af0a9238c4f0e7f0da7e47e94aba5", "timestamp": "", "source": "github", "line_count": 239, "max_line_length": 237, "avg_line_length": 28.05439330543933, "alnum_prop": 0.7064876957494407, "repo_name": "libnijunior/patchrom_angler", "id": "8f5bba7f79eb98ae87b87f9a363967f050688ab2", ...
title: halo order: 5 thumbnail: /img/site-specific-installations/halo/halo_03.jpg description: - Site Specific Installation - York Art Gallery 2015/16 - Fine Gold Plated Wire videos: - title: Susie MacMurray - responding to the Lycett Green Collection link: https://www.youtube.com/watch?v=OSXRhViPPt4 images...
{ "content_hash": "73dfe6128f08a135b49514d734c41dee", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 70, "avg_line_length": 27.11111111111111, "alnum_prop": 0.6967213114754098, "repo_name": "andrewMacmurray/susie-macmurray", "id": "6ae1fe749ddf2c4aeca4e8b4b4f91403f17e21fc", ...
DEFINE_FALLBACK_SHADER( SDK_VertexLitGeneric, SDK_VertexLitGeneric_DX6 ) BEGIN_SHADER( SDK_VertexLitGeneric_DX6, "Help for SDK_VertexLitGeneric_DX6" ) BEGIN_SHADER_PARAMS SHADER_PARAM( DETAIL, SHADER_PARAM_TYPE_TEXTURE, "shadertest/detail", "detail texture" ) SHADER_PARAM( DETAILSCALE, SHADER_PARAM_TYPE_FL...
{ "content_hash": "5a542d29f6b3cf8926854bd16ea543a9", "timestamp": "", "source": "github", "line_count": 410, "max_line_length": 121, "avg_line_length": 30.98048780487805, "alnum_prop": 0.6891040780979373, "repo_name": "sswires/ham-and-jam", "id": "8c0ec39fd342a3cc87e7aae3bca25b741495a764", "size": ...
<?php /** * @see Zend_Db_Table_Row_Abstract */ require_once 'Zend/Db/Table/Row/Abstract.php'; /** * @category Zend * @package Zend_Db * @subpackage UnitTests * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd ...
{ "content_hash": "7614fc6bdc277caaf9837b232b3d94df", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 110, "avg_line_length": 29.25, "alnum_prop": 0.6131054131054131, "repo_name": "gencer/zf1", "id": "38cf4ee40829e2f085ffa6a109eb765e3fbe6438", "size": "2521", "binary": fa...
$script:Packages = @( @{Name = 'Git.Install'; Path = $null; Type = 'Chocolatey'}, @{Name = 'Git'; Path = "${Env:ProgramFiles(x86)}\git\bin"; Type = 'Chocolatey'}, @{Name = 'Ruby'; Path = 'C:\Tools\ruby215\bin'; Type = 'Chocolatey'}, ...
{ "content_hash": "10f11893be166da586aa96b6881a5934", "timestamp": "", "source": "github", "line_count": 490, "max_line_length": 124, "avg_line_length": 21.273469387755103, "alnum_prop": 0.5867229470452802, "repo_name": "nanalakshmanan/DevSetup", "id": "c89a6297111600f44178567455087aed197ebf95", "si...
require File.dirname(__FILE__) + '/../abstract_unit' require File.dirname(__FILE__) + '/../../lib/action_view/helpers/url_helper' require File.dirname(__FILE__) + '/../../lib/action_view/helpers/asset_tag_helper' require File.dirname(__FILE__) + '/../../lib/action_view/helpers/tag_helper' RequestMock = Struct.new("Re...
{ "content_hash": "772178427446fdfb05ef0f93fb6f661d", "timestamp": "", "source": "github", "line_count": 214, "max_line_length": 380, "avg_line_length": 57.00934579439252, "alnum_prop": 0.629672131147541, "repo_name": "moviepilot-de/omdb", "id": "231e34751eecb1f2c6dfef0ee437d6f851affea3", "size": "1...
package org.apache.giraph.comm; import java.util.Collection; import java.util.concurrent.ConcurrentHashMap; import org.apache.giraph.graph.BasicVertex; import org.apache.giraph.graph.VertexMutations; import org.apache.hadoop.io.Writable; import org.apache.hadoop.io.WritableComparable; /** * Anything that the serv...
{ "content_hash": "f9e8b1cfb698cf270648a3acb5f68b0f", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 79, "avg_line_length": 31.026666666666667, "alnum_prop": 0.7150837988826816, "repo_name": "LiuJianan/giraphpp-1", "id": "e3872aebf6ba529a7efd921f0afcf6e7b1b974e4", "size": ...
package org.apache.struts2.interceptor; import java.io.Serializable; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.ActionInvocation; /** * Background thread to be executed by the ExecuteAndWaitInterceptor. * */ public class BackgroundProcess implements Serializable { private ...
{ "content_hash": "30715323005b24be35f27845eae24f60", "timestamp": "", "source": "github", "line_count": 121, "max_line_length": 104, "avg_line_length": 27.24793388429752, "alnum_prop": 0.6017591750075827, "repo_name": "txazo/struts2", "id": "c8061a304b23d248cc184a3306c0458b717f84b5", "size": "4114"...
/* * 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 * distribut...
{ "content_hash": "c3f2231083e2944d270f4a33b3bf305c", "timestamp": "", "source": "github", "line_count": 740, "max_line_length": 251, "avg_line_length": 37.50945945945946, "alnum_prop": 0.6258241164390964, "repo_name": "twitter-forks/presto", "id": "c9b7b9acf0ce90cb4b2f39fea46b413c20ed0420", "size":...
/* * This software is distributed under BSD 3-clause license (see LICENSE file). * * Authors: Soeren Sonnenburg, Fernando Iglesias, Sergey Lisitsyn, * Heiko Strathmann, Saurabh Goyal */ #ifndef _PERCEPTRON_H___ #define _PERCEPTRON_H___ #include <shogun/lib/config.h> #include <shogun/features/DotFeatur...
{ "content_hash": "49f23080db3ab0ed508568acf4742397", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 79, "avg_line_length": 25.102564102564102, "alnum_prop": 0.7145045965270684, "repo_name": "shogun-toolbox/shogun", "id": "7c74984d9391175d94c45376d55461d17f25420e", "size":...
import os import sys import string import xml.etree.ElementTree as etree from xml.etree.ElementTree import SubElement from utils import _make_path_relative from utils import xml_indent fs_encoding = sys.getfilesystemencoding() def _get_filetype(fn): if fn.rfind('.cpp') != -1 or fn.rfind('.cxx') != -1: re...
{ "content_hash": "b5138e33af993a247d3a4d62f28ed1c0", "timestamp": "", "source": "github", "line_count": 435, "max_line_length": 139, "avg_line_length": 33.08735632183908, "alnum_prop": 0.5827138192176753, "repo_name": "RT-Thread/rt-thread", "id": "0405eb0b1b540105741e4cb74ba96bede11017ce", "size": ...
// // Copyright (c) Microsoft. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable l...
{ "content_hash": "8370b64b190bcb0329c42997f26987e2", "timestamp": "", "source": "github", "line_count": 125, "max_line_length": 117, "avg_line_length": 35.936, "alnum_prop": 0.6084149599287623, "repo_name": "huangpf/azure-sdk-for-net", "id": "3a885791ab5b14c9472a9f4ec6cab710f8c66041", "size": "4494...
/** * Session Configuration * (sails.config.session) * * Sails session integration leans heavily on the great work already done by * Express, but also unifies Socket.io with the Connect session store. It uses * Connect's cookie parser to normalize configuration differences between Express * and Socket.io and hoo...
{ "content_hash": "54b76dd3805c9c4b5cd4e712a6d9c531", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 86, "avg_line_length": 47.505494505494504, "alnum_prop": 0.3296321998612075, "repo_name": "1upon0/rfid-auth-system", "id": "48dfc38edd54a4185a4d0818bbdac58d413b91b2", "size...
package android.print.mockservice; import android.os.CancellationSignal; import android.print.PrinterId; import android.printservice.CustomPrinterIconCallback; import java.util.List; public abstract class PrinterDiscoverySessionCallbacks { private StubbablePrinterDiscoverySession mSession; public void se...
{ "content_hash": "5de34378b7518c89a6de1e1fc4ad84d9", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 87, "avg_line_length": 28.62162162162162, "alnum_prop": 0.7932011331444759, "repo_name": "xorware/android_frameworks_base", "id": "be002e29ff687c4455aad6916914fc7549a34e92", ...
import warnings import pandas as pd import pyspark import pyspark as ps from pyspark.sql.column import Column import ibis.common.exceptions as com import ibis.expr.schema as sch import ibis.expr.types as types from ibis.backends.base.sql import BaseSQLBackend from ibis.backends.base.sql.ddl import ( CreateDatabas...
{ "content_hash": "f48f808fc022d8f5e7581282fdfd5c50", "timestamp": "", "source": "github", "line_count": 530, "max_line_length": 116, "avg_line_length": 30.39245283018868, "alnum_prop": 0.5724484728085424, "repo_name": "cloudera/ibis", "id": "86b1f125661bf95b48ce63a9b48e679ba2b5d658", "size": "16108...
namespace Microsoft.Azure.Management.Marketplace.Models { using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; /// <summary> /// Request approvals details /// </summary> public partial class RequestApprovalsDetails { /// <summ...
{ "content_hash": "f3be31478d5197e25f02e1f9aeea999e", "timestamp": "", "source": "github", "line_count": 85, "max_line_length": 295, "avg_line_length": 34.44705882352941, "alnum_prop": 0.582308743169399, "repo_name": "Azure/azure-sdk-for-net", "id": "f91ead2f2de4809e60fd4f4723ddf96900bf1353", "size"...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace LinqToDB.SqlQuery { public class SqlSelectStatement : SqlStatementWithQueryBase { public SqlSelectStatement(SelectQuery selectQuery) : base(selectQuery) { } public SqlSelectStatement() : base(null) { } pu...
{ "content_hash": "2a7d3be56cd17484ee7466cbdbbfa1fa", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 140, "avg_line_length": 28.163265306122447, "alnum_prop": 0.7536231884057971, "repo_name": "genusP/linq2db", "id": "690a966794c0f696fe549498d92cf39ef0cd445f", "size": "1382...
package fi.vtt.nubomedia.jsonrpcwsandroid; import org.junit.Test; import static org.junit.Assert.*; /** * To work on unit tests, switch the Test Artifact in the Build Variants view. */ public class ExampleUnitTest { @Test public void addition_isCorrect() throws Exception { assertEquals(4, 2 + 2); } }
{ "content_hash": "55251c13340791c683bca1d65ee53049", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 78, "avg_line_length": 20.733333333333334, "alnum_prop": 0.7331189710610932, "repo_name": "nubomedia-vtt/jsonrpc-ws-android", "id": "2b684d2a2dfd869adf7f9f76b483f61cf6a84670"...
using namespace mx::core; TEST( Test01, WorkNumber ) { std::string indentString( INDENT ); XsString value1{ "ABC" }; XsString value2{ "XYZ" }; WorkNumber object1; WorkNumber object2( value2 ); std::stringstream default_constructed; object1.toStream( default_constructed, 0 ); std::stringstream object2_stream; ...
{ "content_hash": "b3b503eeb69c34bb1a8d1603808d6708", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 74, "avg_line_length": 32.3448275862069, "alnum_prop": 0.7249466950959488, "repo_name": "Webern/MusicXML-Class-Library", "id": "9eea20f0ee8c41bb7c72e638b41a97a3e16be797", "...
using System.Collections; using System.Collections.Specialized; using System.Web.UI; using System.ComponentModel; using System.Security.Permissions; using System.Reflection; namespace System.Web.UI.WebControls { [AspNetHostingPermissionAttribute (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minima...
{ "content_hash": "bd9af329bdac0b7e3889f25475d35ae1", "timestamp": "", "source": "github", "line_count": 244, "max_line_length": 278, "avg_line_length": 31.188524590163933, "alnum_prop": 0.695137976346912, "repo_name": "jjenki11/blaze-chem-rendering", "id": "c2513e9cf2e9a54e72d25cf9435157fe45f4ebc1", ...
<?php namespace Chromabits\Illuminated\Conference\Views; /** * Class Panel. * * @todo * @author Eduardo Trujillo <ed@chromabits.com> * @package Chromabits\Illuminated\Conference\Views */ class Panel { // }
{ "content_hash": "3ae6812c31308940b6bfa34b4a0554cb", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 51, "avg_line_length": 12.941176470588236, "alnum_prop": 0.6863636363636364, "repo_name": "chromabits/illuminated", "id": "3f5a32f9a7039d8f78956c1c7f9d771c2a45f75c", "size"...
PACKAGE_NAME = gauche-rdf PACKAGE_VERSION = $(shell cat VERSION) PACKAGE_FULL_NAME = $(PACKAGE_NAME)-$(PACKAGE_VERSION) CONFIG_GENERATED = config.log config.status autom4te*.cache .PHONY: all clean test check install distclean realclean dist all: ; @ echo "% make install" clean: rm -f core *~ cd test; $(MAK...
{ "content_hash": "dfbda8d0f75832e96abecdcc2bce03cf", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 80, "avg_line_length": 24.620689655172413, "alnum_prop": 0.6876750700280112, "repo_name": "keiji0/gauche-rdf", "id": "24c72dc6bb68245b10c736d9a3a6a23d425af3b6", "size": "78...
'use strict'; var aws = require('aws-sdk'); var s3 = new aws.S3(); const fs = require('fs'); const util = require('util'); const exec = require('child_process').execSync; var sync = require('child_process').spawnSync; exports.handler = (event, context, callback) => { process.env['PATH'] = process.env['PATH']...
{ "content_hash": "497382319c8044aea4b818a1ce843867", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 148, "avg_line_length": 35.111111111111114, "alnum_prop": 0.6255274261603375, "repo_name": "tgajdoski/pronovos", "id": "6f9bb195e2c179d41aee6868800811014be06764", "size": "...
package net.opengis.gml.impl; import net.opengis.gml.CoordinateSystemAxisBaseType; import net.opengis.gml.GmlPackage; import org.eclipse.emf.ecore.EClass; /** * <!-- begin-user-doc --> * An implementation of the model object '<em><b>Coordinate System Axis Base Type</b></em>'. * <!-- end-user-doc --> * <p> * </...
{ "content_hash": "6cd43bf69f4febaeca6d235aa589ea21", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 123, "avg_line_length": 22.13157894736842, "alnum_prop": 0.6825208085612366, "repo_name": "markus1978/citygml4emf", "id": "3c4ae39f6e4d756e95102b1da1c8c09bcd0d20a2", "size"...
namespace base { class FilePath; } namespace gfx { class ImageSkia; class Size; } #if defined(TOOLKIT_VIEWS) namespace views { class View; } #endif namespace app_list { class AppListModel; class AppListViewDelegateObserver; class SearchResult; class SpeechUIModel; class APP_LIST_EXPORT AppListViewDelegate { publi...
{ "content_hash": "834341a55810480b0bfe09a6f4d7732e", "timestamp": "", "source": "github", "line_count": 155, "max_line_length": 80, "avg_line_length": 32.05806451612903, "alnum_prop": 0.7017508553028778, "repo_name": "hujiajie/chromium-crosswalk", "id": "349b976affbfdb8f4c3e8be7074043f02a758884", "...
package org.apache.lucene.index; import java.io.IOException; import java.io.Reader; import java.io.StringReader; import java.util.Collections; import java.util.Iterator; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.TokenStream; import org.apache.lucene.codecs.Codec; import org.apach...
{ "content_hash": "f2d2f25a68e2b0a3d921186e26a55eea", "timestamp": "", "source": "github", "line_count": 369, "max_line_length": 114, "avg_line_length": 28.75338753387534, "alnum_prop": 0.5920829406220547, "repo_name": "williamchengit/TestRepo", "id": "a2d3798890287599f8dcbdfe4c6f1bb0c1946d2c", "siz...
namespace GoogleARCoreInternal { using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Runtime.InteropServices; using GoogleARCore; using GoogleARCoreInternal; using UnityEngine; #if UNITY_IOS && !UNITY_EDITOR using AndroidImport = GoogleARC...
{ "content_hash": "c68e037aec6a528161258aded925468f", "timestamp": "", "source": "github", "line_count": 112, "max_line_length": 100, "avg_line_length": 39.598214285714285, "alnum_prop": 0.6795941375422774, "repo_name": "googlecreativelab/sounds-in-space", "id": "e53ebd7c95e604163d885b15a5d63b725c9d4d...
def game_log(text): global log # Create the log if it does not exist try: log except NameError: log = [] log.append(text) def get_game_log_html(): global log try: return '<br>'.join(log) except NameError: return 'The game has not yet begun!'
{ "content_hash": "b0df6782a3b3a3555c019db8508f16b7", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 44, "avg_line_length": 20.466666666666665, "alnum_prop": 0.5667752442996743, "repo_name": "robertecurtin/plutos-envy", "id": "a05d9070c3e14c22d74f080855cf8807f6d6779f", "si...
package controllers import ( "encoding/json" "errors" "github.com/gorilla/mux" "github.com/rakutentech/dotconf-assist/src/backend/models" "github.com/rakutentech/dotconf-assist/src/backend/settings" "net/http" "strconv" "time" ) func AddAppHandler(w http.ResponseWriter, r *http.Request) { SetResponseHeaders(...
{ "content_hash": "7fc7352392f2a2b20c8b6b11c5b01701", "timestamp": "", "source": "github", "line_count": 191, "max_line_length": 79, "avg_line_length": 24.727748691099478, "alnum_prop": 0.7059072623332627, "repo_name": "rakutentech/dotconf-assist", "id": "c522de94d66bf3bb3267f742350497d22d9f5078", "...
var path = require('path'); var distPath = path.join(__dirname, '../../dist'); var templateCompilerPath = path.join(distPath, 'ember-template-compiler'); var module = QUnit.module; var test = QUnit.test; var templateCompiler; module('ember-template-compiler.js', { beforeEach: function() { templateCompiler = r...
{ "content_hash": "5aae95a2a1f48ea41d3e34ea7eb916ff", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 97, "avg_line_length": 38.53333333333333, "alnum_prop": 0.7243367935409458, "repo_name": "mike-north/ember.js", "id": "74d5cdf7dd9e95cb047a5477f1c2e03bf0720333", "size": "1...
#include <sys/mman.h> #include <sys/types.h> #include <errno.h> #include <fcntl.h> #include <unistd.h> #include <osquery/filesystem.h> #include <osquery/flags.h> #include <osquery/logger.h> namespace osquery { #define kLinuxMaxMemRead 0x10000 const std::string kLinuxMemPath = "/dev/mem"; FLAG(bool, disable_memo...
{ "content_hash": "a33ee97792001f1f291ce357025cfad2", "timestamp": "", "source": "github", "line_count": 105, "max_line_length": 80, "avg_line_length": 26.038095238095238, "alnum_prop": 0.6349670811997074, "repo_name": "PickmanSec/osquery", "id": "b67fe39654bb330c8c9a41dc4df5464f87a747b4", "size": "...
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe "Encoding.com Queue facade" do before :each do @http = mock("Http Interface") @facade = EncodingDotCom::Queue.new(1234, "abcd", @http) end def expect_xml_with_xpath(xpath) @http.should_receive(:post).with(EncodingDotCom::Que...
{ "content_hash": "d7527b95fb279a2c8de62e6d084cb6e2", "timestamp": "", "source": "github", "line_count": 354, "max_line_length": 488, "avg_line_length": 36.75423728813559, "alnum_prop": 0.6237798785642917, "repo_name": "grandcentrix/gem-encoding-dot-com", "id": "77b26763f57751e67f3cf24f9a81588044d6300...
import * as React from "react"; import { CarbonIconProps } from "../../"; declare const ThunderstormSevere32: React.ForwardRefExoticComponent< CarbonIconProps & React.RefAttributes<SVGSVGElement> >; export default ThunderstormSevere32;
{ "content_hash": "aad62a3c7f5137b1b78645bcb3edc3c1", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 68, "avg_line_length": 39.666666666666664, "alnum_prop": 0.7899159663865546, "repo_name": "mcliment/DefinitelyTyped", "id": "647c93fa544aad1d1f6eeeb19ff4b468b9ced7c5", "size...
import json from datetime import datetime, timedelta from unittest import mock import redis import responses from django.conf import settings from django.contrib.auth import get_user_model from django.test import TestCase from django.utils.timezone import get_current_timezone, now from mockredis import mock_redis_clie...
{ "content_hash": "ecb54e44e2926564950858e2ed012883", "timestamp": "", "source": "github", "line_count": 616, "max_line_length": 100, "avg_line_length": 45.300324675324674, "alnum_prop": 0.5979931911843755, "repo_name": "frigg/frigg-hq", "id": "7f9aad0bea49adc6197a2546cf9c1f1dcf825eb6", "size": "279...
<!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_40) on Wed Apr 13 18:09:35 UTC 2016 --> <title>RowIterator (apache-cassandra API)</title> <meta name="date" content="2016-04-13"> <link rel="st...
{ "content_hash": "06202b5caa02d1753dd8265fe99c7a41", "timestamp": "", "source": "github", "line_count": 269, "max_line_length": 728, "avg_line_length": 44.11524163568773, "alnum_prop": 0.6516389989045251, "repo_name": "elisska/cloudera-cassandra", "id": "7f3fa612a6799cc8c9cf7b203ca119f0d83d6b75", "...
const { create, env } = require('sanctuary'); const { env: flutureEnv } = require('fluture-sanctuary-types'); const { Future, Par, seq } = require('fluture'); const checkTypes = process.env.NODE_ENV !== 'production'; const S = create({checkTypes, env: env.concat(flutureEnv)}); S.any = S.curry2((pred, list) => S.reduce...
{ "content_hash": "6ff1c4acf82866122a30c122e7563743", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 99, "avg_line_length": 51.785714285714285, "alnum_prop": 0.6731034482758621, "repo_name": "CaptJakk/salt-project", "id": "d973df4d38c38f63ae8104b6d05d015f6def025c", "size":...
"""Utility functions (file reading, simple IDL parsing by regexes) for IDL build. Design doc: http://www.chromium.org/developers/design-documents/idl-build """ import os import cPickle as pickle import re import string import subprocess KNOWN_COMPONENTS = frozenset(['core', 'modules']) KNOWN_COMPONENTS_WITH_TESTING...
{ "content_hash": "20502e8e1837bcf7ac0bd9704c8caa03", "timestamp": "", "source": "github", "line_count": 373, "max_line_length": 108, "avg_line_length": 34.48793565683646, "alnum_prop": 0.6442786069651741, "repo_name": "Pluto-tv/blink-crosswalk", "id": "7c89a62c40a9aca51392148b2c07f397b7fadd8f", "si...
package cvx import breeze.linalg.{DenseMatrix, DenseVector} import breeze.numerics.log /** * Created by oar on 10.10.17. */ object CvxUtils { /** Assert that A and b are either both defined or both undefined. */ def check(A:Option[DenseMatrix[Double]], b:Option[DenseVector[Double]]): Unit = asse...
{ "content_hash": "10e0f267528c4bb74070fcaf6433e89e", "timestamp": "", "source": "github", "line_count": 89, "max_line_length": 84, "avg_line_length": 29.235955056179776, "alnum_prop": 0.6502690238278247, "repo_name": "spyqqqdia/cvx", "id": "f6611ad0c50ab976ac9ebbc08f7be02619a40c14", "size": "2602",...
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. Imports System.Collections.Generic Imports Microsoft.CodeAnalysis.Text Imports Microsoft.CodeAnalysis.VisualBasic.Symbols Imports Microsoft.CodeAnalysis.Visua...
{ "content_hash": "4f0fa34d360d08ed3cbe803c48acae6a", "timestamp": "", "source": "github", "line_count": 144, "max_line_length": 175, "avg_line_length": 47.520833333333336, "alnum_prop": 0.6308636562911004, "repo_name": "MavenRain/roslyn", "id": "2ae4bf89f8f6d20b55358340c0390ede64890c3b", "size": "6...
<div ng-controller="CrmCxnLinkDialogCtrl"> <iframe crm-ui-iframe crm-ui-iframe-src="model.url"></iframe> </div>
{ "content_hash": "92ca0c59356c1260f67d543079b3df25", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 63, "avg_line_length": 38, "alnum_prop": 0.7280701754385965, "repo_name": "Hack4Eugene/Hack4Cause2016", "id": "ad65640950a97fe901927fcaae6cfeaf711af01f", "size": "114", "b...
""" Python library for interacting with the T1 API. Uses third-party module Requests (http://docs.python-requests.org/en/latest/) to get and post data, and ElementTree to parse it. """ from __future__ import absolute_import from .utils import filters from .service import T1, T1Service from . import errors from .metada...
{ "content_hash": "a5cffeb7cf0728dc505294580b74753e", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 82, "avg_line_length": 35.57142857142857, "alnum_prop": 0.6626506024096386, "repo_name": "Cawb07/t1-python", "id": "d3291d90c19ba42f76c708ed8f495be930f0e82b", "size": "522"...
package com.datasaver.www.apis.services; import com.datasaver.www.apis.APIAdapter; import com.datasaver.www.apis.services.interfaces.UserServiceInterface; /** * UserService class. * * @author devetude */ public class UserService { /** * Methods to build. * * @return */ public static Us...
{ "content_hash": "c30adc8b3c51fd266b73f38087d41cae", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 83, "avg_line_length": 22, "alnum_prop": 0.6977272727272728, "repo_name": "DataSaver-Dev/DataSaver-Android", "id": "b934d5a5c6fbdd1d085c651fc15af4fb176a91c6", "size": "440"...
<div class="commune_descr limited"> <p> Foncine-le-Haut est une commune localisée dans le département de Jura en Franche-Comté. Elle totalisait 1&nbsp;014 habitants en 2008.</p> <p>À Foncine-le-Haut, la valorisation moyenne à la vente d'un appartement se situe à 634 &euro; du m² en vente. Le prix moyen d'une ma...
{ "content_hash": "cb06bd2c8bb9f8cbe0b52e9a7033a25e", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 258, "avg_line_length": 96.82352941176471, "alnum_prop": 0.7430133657351154, "repo_name": "donaldinou/frontend", "id": "11778ba165fb51ae9c4b3414a9b7a84ac7bfa423", "size": "...
/** * This code was auto-generated by a Codezu. * * Changes to this file may cause incorrect behavior and will be lost if * the code is regenerated. */ package com.mozu.api.contracts.sitesettings.shipping; import java.io.Serializable; import com.fasterxml.jackson.annotation.JsonIgnorePro...
{ "content_hash": "0359282889bde7e007f0c7706f162793", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 174, "avg_line_length": 31.828125, "alnum_prop": 0.7756504663721159, "repo_name": "johngatti/mozu-java", "id": "0641ef8adf8d9b4ea53473a8d31b4780cb7679f0", "size": "2037", ...
package de.otto.roboapp.model; public enum Gadget { SUPER_SPEED }
{ "content_hash": "000f776eb994c1e82836cfa4d84cc68b", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 30, "avg_line_length": 14.2, "alnum_prop": 0.7183098591549296, "repo_name": "phllipo/RoboRace", "id": "bd8b8e0a8bbacb177256c44b4bda409cfb0c2d7d", "size": "71", "binary": f...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ConvayerInItemInteraction : Interaction { public GameColor color; private ItemInteraction holding; [SerializeField] public MachineItemInteraction machine; [SerializeField] public GameObject vanishPoin...
{ "content_hash": "bbaf43b0a495015e388276ee30064529", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 124, "avg_line_length": 29.681159420289855, "alnum_prop": 0.5810546875, "repo_name": "Goat-Improvement-Suite/The-Chinese-Room", "id": "88ce865a03ea32e4e97108fb079c21af3c6b176...
@interface CollectionViewController ()<UICollectionViewDataSource> @property(nonatomic, strong) YiRefreshHeader *refreshHeader; @property(nonatomic, strong) YiRefreshFooter *refreshFooter; @property(nonatomic, assign) NSInteger total; @end @implementation CollectionViewController @synthesize refreshHeader,refreshFoo...
{ "content_hash": "81f0b602d5baf1369ba22dd9baf20e84", "timestamp": "", "source": "github", "line_count": 106, "max_line_length": 213, "avg_line_length": 36.5188679245283, "alnum_prop": 0.6915525703952468, "repo_name": "coderyi/YiRefresh", "id": "c9d51fa7531f87045b30f367b0d7a933ca9fb42b", "size": "42...
using System; using System.Security.AccessControl; using Xunit; namespace Microsoft.Win32.RegistryTests { public class RegistryKey_OpenSubKey_str_rkpc : RegistryKeyOpenSubKeyTestsBase { [Fact] public void NegativeTests() { // Should throw if passed subkey name is null ...
{ "content_hash": "5904a4239e650383bc8f68a8fb0a7091", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 130, "avg_line_length": 47.629629629629626, "alnum_prop": 0.6565578019699326, "repo_name": "alphonsekurian/corefx", "id": "357a28bc090ae2937b4c0fa79f1bf68b6d08ce79", "size"...
/* Build 'calendar year' dimension table. */ INSERT INTO #dim SELECT DISTINCT cp.person_id, YEAR(cp.cohort_start_date) AS covariate_id, 1 AS covariate_count FROM #cohort_person cp ;
{ "content_hash": "33a96d863f1669db1eb882ca9e4c8b66", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 47, "avg_line_length": 24.25, "alnum_prop": 0.7061855670103093, "repo_name": "ApproximateIdentity/hdps", "id": "5a310fae381e060547212dc143bd91409e2ed4ab", "size": "194", "...
<Record> <Term>Labetalol</Term> <SemanticType>Pharmacologic Substance</SemanticType> <SemanticType>Organic Chemical</SemanticType> <PrimarySemanticType>Pharmacologic Substance</PrimarySemanticType> <Synonym>Labetalol hydrochloride</Synonym> <Synonym>Trandate</Synonym> <Synonym>Labetalol hydrocloride</Synonym> <...
{ "content_hash": "e5c32cb1adabe7aab0ff014bca0fec57", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 66, "avg_line_length": 35.083333333333336, "alnum_prop": 0.7980997624703088, "repo_name": "detnavillus/modular-informatic-designs", "id": "549cc9ff6004fc08c339b90b5972360a0c4...
/* Generated automatically. DO NOT EDIT! */ #define SIMD_HEADER "simd-avx.h" #include "../common/t1fuv_10.c"
{ "content_hash": "163cc7a975e23670557734445ce385e0", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 44, "avg_line_length": 36.666666666666664, "alnum_prop": 0.6909090909090909, "repo_name": "jjh13/poisson", "id": "80a4b06eb9d034c7e806735d1022d7526c0cb629", "size": "110", ...
package vrf import ( "bytes" "crypto" "encoding/binary" ) // A VRF is a pseudorandom function f_k from a secret key k, such that that // knowledge of k not only enables one to evaluate f_k at for any message m, // but also to provide an NP-proof that the value f_k(m) is indeed correct // without compromising the u...
{ "content_hash": "d28ee51cc809a3831967a532d0c174de", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 76, "avg_line_length": 33.567567567567565, "alnum_prop": 0.7359098228663447, "repo_name": "alsophian/keytransparency", "id": "437b64c0d17ea8c4135f4866f2ff8c59726c36cb", "si...
/* * 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 u...
{ "content_hash": "adc024dcbfaacae34001cd8e0682b7a5", "timestamp": "", "source": "github", "line_count": 212, "max_line_length": 130, "avg_line_length": 55.60849056603774, "alnum_prop": 0.7211807617270337, "repo_name": "mythguided/hydra", "id": "12e6ca02fa41c099d8300355623fa6ff8cc95be5", "size": "11...
print "How old are you? " age = gets.chomp.to_i print "How tall are you? " height = gets.chomp.to_f print "how much do you weight? " weight = gets.chomp.to_f puts "So, you're #{age} old, #{height} tall and #{weight} heavy."
{ "content_hash": "c59dfbe862f6e1ad0f56f6f5e7a06a60", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 65, "avg_line_length": 28.125, "alnum_prop": 0.6666666666666666, "repo_name": "Fazendaaa/ruby", "id": "b2ef8b9b094b9dd7b35ca8146c8215da59472d6d", "size": "225", "binary": ...
using System; using Gtk; using Mono.Unix; using Hyena; using Hyena.Jobs; using Banshee.ServiceStack; namespace Banshee.Gui.Dialogs { public class ConfirmShutdownDialog : ErrorListDialog { private Scheduler scheduler; public ConfirmShutdownDialog () { ListView.Model = new ...
{ "content_hash": "33e5b62be3638376b7e5626a4a9c5ceb", "timestamp": "", "source": "github", "line_count": 86, "max_line_length": 93, "avg_line_length": 31.558139534883722, "alnum_prop": 0.5272660280029476, "repo_name": "mono-soc-2011/banshee", "id": "f418f9f2e043f436b41ea790847db63d4dfffb3b", "size":...
@interface CellJJFriend() @property (nonatomic, strong) UIImageView *imgHead; @property (nonatomic, strong) UILabel *labTitle; @end; @implementation CellJJFriend - (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier { self = [super initWithStyle:style reuseIden...
{ "content_hash": "875de1c2c1e42b6f67603acb8920d67b", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 101, "avg_line_length": 25.216666666666665, "alnum_prop": 0.6642432253800397, "repo_name": "wokenshin/KenshinPro", "id": "3f5913d1cab4b79501df1ce7e6d236531df3e159", "size":...
from django.db import models from django import forms from django.core.exceptions import ValidationError from django.utils.translation import ugettext_lazy as _ from sorl.thumbnail import ImageField as SorlImageField from .utils.urls import is_absolute_url import os from uuid import uuid4 class SlugURLValidator(ob...
{ "content_hash": "575f3326d4d9ed6789f9ddd3d089af7c", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 120, "avg_line_length": 28.87912087912088, "alnum_prop": 0.7256468797564688, "repo_name": "kimus/django-blocks", "id": "18394bb0254d77cffc2246678c4d888fa0990c3a", "size": "...
<?xml version="1.0" encoding="UTF-8"?> <Inbox_Message xmlns="http://taxii.mitre.org/messages/taxii_xml_binding-1.1" message_id="valid1"/>
{ "content_hash": "43dd0f57cf81df2729ec8669038fb416", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 76, "avg_line_length": 47.666666666666664, "alnum_prop": 0.6853146853146853, "repo_name": "anl-cyberscience/java-taxii", "id": "5b11083d23df3ae4130d163a65f79095ec1e08ba", "s...
<!DOCTYPE html > <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <title>Spark NLP 4.2.3 ScalaDoc - com.johnsnowlabs.nlp.annotators.common.PrefixedTok...
{ "content_hash": "bc56a64a2e6e356fa2286aa376aab54f", "timestamp": "", "source": "github", "line_count": 760, "max_line_length": 442, "avg_line_length": 55.28815789473684, "alnum_prop": 0.559342202337038, "repo_name": "JohnSnowLabs/spark-nlp", "id": "f4840a2911cddb3042b3241bd06f9d7227876d2a", "size"...
package org.apache.shardingsphere.db.protocol.postgresql.packet.command.query.extended.bind.protocol; import org.apache.shardingsphere.db.protocol.postgresql.packet.command.query.extended.PostgreSQLColumnType; import org.junit.Test; import static org.hamcrest.CoreMatchers.instanceOf; import static org.junit.Assert....
{ "content_hash": "5df548b72778e2e3c4f69a9bfa65ee75", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 168, "avg_line_length": 51.935064935064936, "alnum_prop": 0.8102025506376594, "repo_name": "apache/incubator-shardingsphere", "id": "bcab4ffe5488e6e966a8a4e7ca52071a29e8fdf7"...
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("Joi...
{ "content_hash": "bebcd0994c57133062506e5f27785ba9", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 84, "avg_line_length": 38.77777777777778, "alnum_prop": 0.748567335243553, "repo_name": "Microsoft/VSSDK-Extensibility-Samples", "id": "a7beaab227c482203e09e946a3117046a7f81b...
package connect.ui.activity.set; import android.os.Bundle; import android.view.KeyEvent; import android.view.View; import android.webkit.WebChromeClient; import android.webkit.WebView; import android.webkit.WebViewClient; import android.widget.ProgressBar; import butterknife.Bind; import butterknife.ButterKnife; impo...
{ "content_hash": "b0ed225ed814ec32b66d387ab5400274", "timestamp": "", "source": "github", "line_count": 103, "max_line_length": 120, "avg_line_length": 31.40776699029126, "alnum_prop": 0.6287480680061823, "repo_name": "connectim/Android", "id": "df9c6dd5c4a193480d0adf4213cf907668df025d", "size": "3...
var React = require('react'); var ReactRouter = require('react-router'); var Router = ReactRouter.Router; var Route = ReactRouter.Route; var IndexRoute = ReactRouter.IndexRoute; var hashHistory = ReactRouter.hashHistory; var Main = require('../components/Main'); var Home = require('../components/Home'); var PromptCon...
{ "content_hash": "c3e9433dd2538d83bed4d5b79c6c888c", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 90, "avg_line_length": 34.44, "alnum_prop": 0.718931475029036, "repo_name": "geordidearns/github-battle", "id": "51e10a7ef5c485b6031559c94d3e7e1d780abf11", "size": "861", ...
package com.googlecode.cqengine.index.radixinverted; import com.googlecode.concurrenttrees.radix.node.concrete.DefaultCharArrayNodeFactory; import com.googlecode.concurrenttrees.radix.node.concrete.SmartArrayBasedNodeFactory; import com.googlecode.cqengine.testutil.Car; import org.junit.Test; import static org.junit...
{ "content_hash": "7986d6b63605e2d728675a25fee28aff", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 157, "avg_line_length": 42.107142857142854, "alnum_prop": 0.8015267175572519, "repo_name": "npgall/cqengine", "id": "1f2433389323c4a546ba3b48cfae0f671ed2a573", "size": "178...
"""WSGI application initialization for Nova APIs.""" import os import sys from oslo_config import cfg from oslo_log import log as logging from oslo_reports import guru_meditation_report as gmr from oslo_reports import opts as gmr_opts from oslo_service import _options as service_opts from paste import deploy from no...
{ "content_hash": "a9bb7b47fe6f088d34075916eb9a2b33", "timestamp": "", "source": "github", "line_count": 127, "max_line_length": 79, "avg_line_length": 33.60629921259842, "alnum_prop": 0.6747891283973758, "repo_name": "mahak/nova", "id": "d60069ce844f91a3f68626e02873f7e74ce11622", "size": "4840", ...
from indico_piwik.piwik import PiwikRequest class PiwikQueryBase: """Base Piwik query""" def __init__(self, query_script): from indico_piwik.plugin import PiwikPlugin self.request = PiwikRequest(server_url=PiwikPlugin.settings.get('server_api_url'), site_id...
{ "content_hash": "c02915ce0e53008e24a82ea2e73c0560", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 96, "avg_line_length": 38.1551724137931, "alnum_prop": 0.6095797559873475, "repo_name": "indico/indico-plugins", "id": "ce00289a41adb8350b03a1ffcfacee1b4d014b5e", "size": "...
<!--- Copyright 2017 The AMP HTML Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law o...
{ "content_hash": "b3ab5986733d96cb80353ff5f91dde92", "timestamp": "", "source": "github", "line_count": 630, "max_line_length": 521, "avg_line_length": 47.0984126984127, "alnum_prop": 0.7149164195200862, "repo_name": "cvializ/amphtml", "id": "66e5b8b71dcc4f0fd386374d70ed474170feec9d", "size": "2967...
layout: post date: '2015-07-11' title: "Justin Alexander Signature 9688 Wedding Dress" category: Justin Alexander tags: [Justin Alexander] --- ### Justin Alexander Signature 9688 Wedding Dress Just **$305.99** ### Not Available In Store. Currently available for order only. . Strapless silk dupion with 3 inch bias ba...
{ "content_hash": "90f2ea9a0761f9b517ae67a6b9b00aae", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 304, "avg_line_length": 78.3, "alnum_prop": 0.7745849297573435, "repo_name": "lastgown/lastgown.github.io", "id": "e1701afb596234dc7b2000c017b8f19d05c4877f", "size": "1570"...
///////////////////////////////////////////////////////////////////////////// // Name: wx/graphics.h // Purpose: graphics context header // Author: Stefan Csomor // Modified by: // Created: // Copyright: (c) Stefan Csomor // Licence: wxWindows licence //////////////////////////////////////////////...
{ "content_hash": "af891fa240df9f19db5905f1bd77f3f7", "timestamp": "", "source": "github", "line_count": 937, "max_line_length": 234, "avg_line_length": 37.963713980789755, "alnum_prop": 0.7161531541661982, "repo_name": "satya-das/cppparser", "id": "9662cc4295a65f223fda1105b88bffedd8f14ef5", "size":...
<?php namespace AppBundle\FormType; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\EmailType; use Symfony\Component\Form\Extension\Core\Type\TextareaType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Compo...
{ "content_hash": "a79bc105baf4d3a083edded1aeb02e1b", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 102, "avg_line_length": 28.19047619047619, "alnum_prop": 0.6587837837837838, "repo_name": "czcodecamp/filtry", "id": "cab78dda152a18a445dc3edcc41d94c8b1ca9110", "size": "12...
openid_dev_pkgs = value_for_platform_family( 'debian' => %w[automake make g++ apache2-prefork-dev libopkele-dev libopkele3 libtool], %w[rhel fedora] => %w[gcc-c++ httpd-devel curl-devel libtidy libtidy-devel sqlite-devel pcre-devel openssl-devel make libtool], 'arch' => %w[libopkele], 'freebsd' ...
{ "content_hash": "1d0dd94fe6d5884aa8cc33732843cf47", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 129, "avg_line_length": 24.57777777777778, "alnum_prop": 0.6763110307414105, "repo_name": "weidongshao/compass-adapters", "id": "922f833a21ac25160d54d7d49a72a9543c62129f", ...
package raft import ( "bufio" "errors" "fmt" "io" "os" "sync" "github.com/influxdb/influxdb/_vendor/raft/protobuf" ) //------------------------------------------------------------------------------ // // Typedefs // //------------------------------------------------------------------------------ // A log is ...
{ "content_hash": "7300903fb26ccd9d8607f5e1933700f9", "timestamp": "", "source": "github", "line_count": 632, "max_line_length": 176, "avg_line_length": 27.454113924050635, "alnum_prop": 0.6210016713734079, "repo_name": "clarktrimble/influxdb", "id": "2fea2add8c94521cfd7d5135de244e44e6ac507b", "size...
package com.yakami.light.bean; import com.yakami.light.bean.base.Entity; import java.util.List; /** * Created by Yakami on 2016/6/6, enjoying it! */ public class RawTimeRankContainer extends Entity { private String name; private int id; private long time; private String title; private List<Ra...
{ "content_hash": "946756e823c14cc9b3f4cd5c260ec5dd", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 51, "avg_line_length": 17.275862068965516, "alnum_prop": 0.5898203592814372, "repo_name": "hanFengSan/light", "id": "8bb3331d5ed4e016ce34143703869b5d67fb823f", "size": "100...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width"> <title></title> <link href="lib/ionic/css/ionic.css" rel="stylesheet"> <link href="css/style.css" rel="stylesheet"> <!-- IF using Sass ...
{ "content_hash": "f51297546aae687047d11191ac01491f", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 107, "avg_line_length": 29.967741935483872, "alnum_prop": 0.6318622174381054, "repo_name": "tkssharma/Ionic-conferenceApp", "id": "c1bfef60c1b84c196487e9ca056a6ba68a49e45a", ...