text
stringlengths
2
1.04M
meta
dict
from __future__ import print_function import subprocess import os import os.path import re import warnings import textwrap import types import sys import stat # Use the c version of ElementTree, which is faster, if possible: try: from xml.etree import cElementTree as ElementTree except ImportError: from xml.etree impo...
{ "content_hash": "908365eed4dea61793b2102fe2859d28", "timestamp": "", "source": "github", "line_count": 856, "max_line_length": 93, "avg_line_length": 38.48364485981308, "alnum_prop": 0.560135996600085, "repo_name": "jjhuff/fcc-comments", "id": "ed8a6b621c0b7dd79c0b1e26fc051cf0504bb2e8", "size": "3...
<?php namespace AppBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\CheckboxType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\FormBuilderInterface; class RegistrationType extends AbstractType { public function buildForm(F...
{ "content_hash": "588854aa42a7f3da88da5deecee4633b", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 147, "avg_line_length": 29.63888888888889, "alnum_prop": 0.6710402999062793, "repo_name": "teamP5OCCPM/observons_nao", "id": "238cf4e5fd5d128dcc390f0afd052802931f513d", "si...
package org.chromium.distiller; import org.chromium.distiller.proto.DomDistillerProtos; public class MarkupParserProtoTest extends DomDistillerJsTestCase { public void testCompleteInfoWithMultipleImages() { // Create the required properties for OpenGraphProtocol except for "image". createDefaultOG...
{ "content_hash": "b9811d108046e96cc6601410e23a87bc", "timestamp": "", "source": "github", "line_count": 106, "max_line_length": 83, "avg_line_length": 45.320754716981135, "alnum_prop": 0.6852622814321399, "repo_name": "dalmirdasilva/dom-distiller", "id": "582c275467a7afe954b009a755896b732be5042a", ...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.UI.Xaml; using Wind...
{ "content_hash": "f5a231f780a969f9fb206dcf63ad6fd3", "timestamp": "", "source": "github", "line_count": 108, "max_line_length": 99, "avg_line_length": 40.092592592592595, "alnum_prop": 0.6129330254041571, "repo_name": "Myfreedom614/UWP-Samples", "id": "dfbd88dd4fea34a24cc66ab8b93da8ddbc190077", "si...
package org.apache.camel.component.wal; import java.io.File; import org.apache.camel.resume.ResumeStrategy; import org.apache.camel.resume.ResumeStrategyConfiguration; public class WriteAheadResumeStrategyConfiguration extends ResumeStrategyConfiguration { public static final long DEFAULT_SUPERVISOR_INTERVAL =...
{ "content_hash": "e385656683565d83341ddf06534a9d44", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 88, "avg_line_length": 25.355555555555554, "alnum_prop": 0.7344434706397897, "repo_name": "apache/camel", "id": "2ec93102d23c12c06a79b48b0e42410c37308b3d", "size": "1943", ...
<beans:beans xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns="http://www.springframework.org/schema/security" xsi:schemaLocation="http:/...
{ "content_hash": "c255a133b9ce9fcf2030f659536f97fc", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 84, "avg_line_length": 51.53333333333333, "alnum_prop": 0.6916774471755067, "repo_name": "JuniorsJava/itevents", "id": "b2561c4c12f2b5d3d40de077de7b1f8435abb4c1", "size": "...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mathcomp-fingroup: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstr...
{ "content_hash": "5a3936c4dfd42f1b29a3631814bac3e7", "timestamp": "", "source": "github", "line_count": 166, "max_line_length": 554, "avg_line_length": 47.3855421686747, "alnum_prop": 0.5568268497330282, "repo_name": "coq-bench/coq-bench.github.io", "id": "d8b6d29563cbdaa4ea25b30f4419b3d4594d01ca", ...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.0 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------...
{ "content_hash": "2dd5cfa15f707f6b21f5527cbc3825e0", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 178, "avg_line_length": 44.17460317460318, "alnum_prop": 0.61300754581387, "repo_name": "mluparu/PasteToTarget", "id": "d1e7f8500fc475b035502ca7e3223af23e0b4f81", "size": "...
<h1>Accessing Hardware Devices</h1> <p> This doc shows you how packaged apps can connect to USB devices and read from and write to a user's serial ports. See also the reference docs for the <a href="usb.html">USB API</a> and the <a href="serial.html">Serial API</a>. The <a href="bluetooth.html">Bluetooth API</a> is al...
{ "content_hash": "fc4019f2d0c60be1292d3d3b4e99ff4f", "timestamp": "", "source": "github", "line_count": 691, "max_line_length": 761, "avg_line_length": 28.748191027496382, "alnum_prop": 0.6800906116284923, "repo_name": "loopCM/chromium", "id": "10db5ca2f686bcc5b2139023fa9dbe4eefd81e9f", "size": "19...
(function (angular) { var app = angular.module('matting-ly', [ 'matting-ly.routing', // matting-ly Angular UI Router and config 'matting-ly.selectionTable', // selectionTable 'ngResource', // $sce 'ui.bootstrap', // Angular UI Bootstrap 'ui....
{ "content_hash": "80784f32bebbb4a5ef92fe635e497877", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 85, "avg_line_length": 36.354838709677416, "alnum_prop": 0.4889086069210293, "repo_name": "zmattingly/matting-ly", "id": "f1cf2d20e69f7a21e592043ec9574dbe41745141", "size":...
namespace IECoreImage { /// Display driver that creates an ImagePrimitive object held /// in memory. /// \ingroup renderingGroup class IECOREIMAGE_API ImageDisplayDriver : public DisplayDriver { public: IE_CORE_DECLARERUNTIMETYPEDEXTENSION( ImageDisplayDriver, ImageDisplayDriverTypeId, DisplayDriver ); /// Init...
{ "content_hash": "a46d318d35b82e082a3b60def7759411", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 177, "avg_line_length": 37.78181818181818, "alnum_prop": 0.7295476419634264, "repo_name": "appleseedhq/cortex", "id": "a3692df521d01e6a35ad19a048e419f59107c136", "size": "4...
.. _getting_started: Getting Started =============== Basic usage ----------- .. _cross_validate_example: Automatic cross-validation ~~~~~~~~~~~~~~~~~~~~~~~~~~ `Surprise <https://nicolashug.github.io/Surprise/>`_ has a set of built-in :ref:`algorithms<prediction_algorithms>` and :ref:`datasets <dataset>` for you t...
{ "content_hash": "d0c49a83015e5772e36de01ea994653c", "timestamp": "", "source": "github", "line_count": 390, "max_line_length": 428, "avg_line_length": 48.48717948717949, "alnum_prop": 0.565309360126917, "repo_name": "NicolasHug/Surprise", "id": "8ec8d470743e5ae020f7e95591514f1152007e4b", "size": "...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>User agent detail - Mozilla/5.0 (compatible; MSIE 10.0; Windows Phone 8.0; Trident/6.0; IEMobile/10.0; ARM; Touch; NOKIA; id300)</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materiali...
{ "content_hash": "7e084cddb3d55d47299b44fec989aaea", "timestamp": "", "source": "github", "line_count": 1381, "max_line_length": 958, "avg_line_length": 40.92179580014482, "alnum_prop": 0.5463344717144728, "repo_name": "ThaDafinser/UserAgentParserComparison", "id": "3e14b75ebe1bcdeabf8ed0ab656a471027...
<form class="form-popup"> <fieldset> <legend> <span>Add Question to Question Group</span> </legend> <div> <p> <label> <span>Question</span> <span class="description uneditable-field"></span> <input type="hidden" class="question"> </label> </p...
{ "content_hash": "4f78668bee7d6b6d6077d90983764577", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 68, "avg_line_length": 23.806451612903224, "alnum_prop": 0.48509485094850946, "repo_name": "andela-angene/coursebuilder-core", "id": "e0f5290fc8ccde5afe55ae2a05c3a09ed6571d6b...
<!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"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
{ "content_hash": "9317d6e305e961afa7c547c2c567beee", "timestamp": "", "source": "github", "line_count": 115, "max_line_length": 277, "avg_line_length": 53.25217391304348, "alnum_prop": 0.6974199869366428, "repo_name": "SuperNEMO-DBD/SuperNEMO-DBD.github.io", "id": "a1298f6061f69930ea530b9a56aa5089362...
/* Problem 13. Check a Bit at Given Position Write a Boolean expression that returns if the bit at position p (counting from 0, starting from the right) in given integer number n, has value of 1. */ using System; class CheckABitOfGivenPosition { static void Main() { int number; bool parseSuc...
{ "content_hash": "bab9cd9c3783dc8c14adcd5c8239a3e4", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 116, "avg_line_length": 27.166666666666668, "alnum_prop": 0.5650988411724608, "repo_name": "tddold/Telerik-Academy-Homeworks", "id": "a7b62832a434223bed89bfb6a106c6923aafedd9...
import { Component } from '@angular/core'; @Component({ selector: 'client-root', templateUrl: './app.component.html', styleUrls: ['./app.component.less'] }) export class AppComponent { title = 'annotation'; }
{ "content_hash": "04973d0903593de085ead65556b3203e", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 42, "avg_line_length": 21.8, "alnum_prop": 0.6743119266055045, "repo_name": "groupdocs-annotation/GroupDocs.Annotation-for-.NET", "id": "e6fb2136b8ce8d73c839cc3eaffb42c90c0e4...
/* * 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": "87cd631d83a343bf5778089fae921b15", "timestamp": "", "source": "github", "line_count": 507, "max_line_length": 258, "avg_line_length": 41.87771203155818, "alnum_prop": 0.6450169555388093, "repo_name": "haitaoyao/presto", "id": "9e2b7e4e6b1bc3d07902e1d98923235c8ffb18bb", "size": "21...
class Game < ActiveRecord::Base has_many :game_boards, -> { order :step }, dependent: :destroy def self.create_and_load_board(options) game = new game.game_boards = [GameBoard.duplicate_random_board(options)] game.save! game end def self.create_debug(board_type = :starting) game = new ...
{ "content_hash": "975fc144a405af30291f3d656c146849", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 70, "avg_line_length": 23.507246376811594, "alnum_prop": 0.6639950678175093, "repo_name": "srhmgn/kendrino", "id": "362c0aba632ffdb569749454816f46d4ad04dcea", "size": "1622...
const { expect } = require('chai'); const updateRelationSettings = require('api/mutations/updateRelationSettings'); const { getToken } = require('core/profile'); const { defineEntryAs } = require('core/permission'); const { PRIVATE } = require('constants/permissions/pieces'); const { relationModel, profileModel } = req...
{ "content_hash": "ea3dd9b81157b4c7c9f5f6e8dd3ed76b", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 146, "avg_line_length": 38.148148148148145, "alnum_prop": 0.6116504854368932, "repo_name": "Apozhidaev/get-sso", "id": "ce1273d389303f5c98e05fcfb0716585c2c94326", "size": "...
require "open-uri" require "hnb_exchange_rates/parser" require "hnb_exchange_rates/data" module HnbExchangeRates class Rates CURRENCY_CODES = %w(AUD CAD CZK DKK HUF JPY NOK SEK CHF GBP USD EUR PLN) RATE_TYPES = [:middle, :buying, :selling] class InvalidCurrencyError < StandardError; end; class Inval...
{ "content_hash": "b56bd7f9e70136841705912bd9cba483", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 97, "avg_line_length": 22.539473684210527, "alnum_prop": 0.6287215411558669, "repo_name": "vlado/hnb_exchange_rates", "id": "0d2549f1381ba79f8520a85b20608fef0e7dbfe4", "siz...
return Def.ActorFrame { --note graphic NOTESKIN:LoadActor(Var "Button", "Tap Note") .. { InitCommand=cmd(blend,"BlendMode_Add";playcommand,"Glow"); W1Command=cmd(playcommand,"Glow"); W2Command=cmd(playcommand,"Glow"); W3Command=cmd(playcommand,"Glow"); W4Command=cmd(); W5Command=cmd(); HitMineCommand...
{ "content_hash": "ffc95803e3cb232c60da627927adac7b", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 148, "avg_line_length": 36.81395348837209, "alnum_prop": 0.7220467466835123, "repo_name": "Brenin/PJ-3100", "id": "a6e9d779ee10eda822dd3746b0204e3249d3e12a", "size": "1583"...
import Model from 'ember-data/model'; import attr from 'ember-data/attr'; import { belongsTo } from 'ember-data/relationships'; export default Model.extend({ slug: attr('string'), organization: belongsTo('organization', { async: true }), user: belongsTo('user', { async: true }) });
{ "content_hash": "d86ef347f8f51361d4d55824f17c463a", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 59, "avg_line_length": 29.1, "alnum_prop": 0.697594501718213, "repo_name": "jderr-mx/code-corps-ember", "id": "c8bc2ccedad904160021486b64b4b79c5b3a22c2", "size": "291", "...
<?xml version="1.0" encoding="UTF-8"?> <!-- You may freely edit this file. See commented blocks below for --> <!-- some examples of how to customize the build. --> <!-- (If you delete it and reopen the project it will be recreated.) --> <!-- By default, only the Clean and Build commands use this build script. --> <!-- ...
{ "content_hash": "668a5057b796c351b613061d74bfe2b3", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 88, "avg_line_length": 48.59154929577465, "alnum_prop": 0.6553623188405797, "repo_name": "guiuva/shadow-api", "id": "430579e1400877bf78429dc03868a236391055c0", "size": "345...
const webpack = require('webpack'); const fs = require('fs'); const path = require('path'); const banner = fs.readFileSync(path.resolve(__dirname, 'LICENSE'), 'utf8'); module.exports = { mode: 'production', entry: './src/api.js', output: { path: path.join(__dirname, 'dist'), filename: 'xduce.min.js', ...
{ "content_hash": "f75b3a235962f8807a23ff303bdb8dd9", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 75, "avg_line_length": 21.642857142857142, "alnum_prop": 0.5511551155115512, "repo_name": "Barandis/xduce", "id": "f0a1e74fe2011a222f243c4abac3d931cbff3ebe", "size": "606",...
<?php namespace MHlavac\Gearman\Job; use MHlavac\Gearman\Exception; /** * Exception class for Gearman jobs. * * Your Gearman jobs should throw this from their run() method if they run * into any kind of error. * * @category Net * * @author Joe Stump <joe@joestump.net> * @copyright 2007-2008 Digg.com, I...
{ "content_hash": "255fc659f44f5b1526bf313766d068b9", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 80, "avg_line_length": 22.14814814814815, "alnum_prop": 0.68561872909699, "repo_name": "mhlavac/gearman", "id": "3185c539eca7f265e70478a733a05ce5a4440f42", "size": "1373", ...
IN_PROC_BROWSER_TEST_F(OmniboxApiTest, PopupStaysClosed) { ASSERT_TRUE(RunExtensionTest("omnibox")) << message_; // The results depend on the TemplateURLService being loaded. Make sure it is // loaded so that the autocomplete results are consistent. ui_test_utils::WaitForTemplateURLServiceToLoad( Templat...
{ "content_hash": "205d766f32490e5e9dce024dcc056b55", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 79, "avg_line_length": 48.285714285714285, "alnum_prop": 0.73767258382643, "repo_name": "plxaye/chromium", "id": "7f0df5b72ed5a3c7d297311a92252c7e1922a901", "size": "2510",...
.. _dojox/mobile/EdgeToEdgeDataList: =============================== dojox/mobile/EdgeToEdgeDataList =============================== :Authors: Yoshiroh Kamiyama :Developers: Yoshiroh Kamiyama :since: V1.7 .. contents :: :depth: 2 Introduction ============ *Deprecated*. Since V1.8, use :ref:`dojox/mobile/EdgeTo...
{ "content_hash": "3ac8e3d897f6bb4367e9d46fe497c355", "timestamp": "", "source": "github", "line_count": 241, "max_line_length": 193, "avg_line_length": 54.09958506224066, "alnum_prop": 0.4078846448841847, "repo_name": "aguadev/aguadev", "id": "b5e131014cb515c7d672d8258be68b720e935f34", "size": "130...
import Ember from 'ember'; import Converter from 'yarn-ui/utils/converter'; import RESTAbstractAdapter from './restabstract'; /** * REST URL's response when fetching container logs will be * in plain text format and not JSON. */ export default RESTAbstractAdapter.extend({ headers: { Accept: 'text/plain' }...
{ "content_hash": "5309b6a0fba29f249566bae3d6f9f68d", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 65, "avg_line_length": 24.813953488372093, "alnum_prop": 0.633552014995314, "repo_name": "nandakumar131/hadoop", "id": "0f7e47d649632ca3adecb7c38f3cf10e4d09fcef", "size": "...
using System; using System.Reflection; interface IA { string this[int idx] { get; set; } } [DefaultMember ("Main")] public class Foo : IA { string bar; public static void Main () { Console.WriteLine ("foo"); } string IA.this[int idx] { get { return "foo"; } set { bar = value; } } }
{ "content_hash": "391bbf049f62a40a09d6c41b4563dcb3", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 35, "avg_line_length": 11.178571428571429, "alnum_prop": 0.597444089456869, "repo_name": "afrogeek/SharpNative", "id": "80bc3148e5db394072777ed881b82886e4ac6112", "size": "...
define( ({ common: { ok: 'Aceptar', cancel: 'Cancelar', next: 'Siguiente', back: 'Atrás' }, errorCode: "Código", errorMessage: "Mensaje", errorDetail: "Detalle", widgetPlaceholderTooltip: "Para configurarlo, ve a Widgets y haz clic en el marcador de posició...
{ "content_hash": "779a3d0d99dffbf561351b6bc54162b9", "timestamp": "", "source": "github", "line_count": 259, "max_line_length": 225, "avg_line_length": 37.43629343629344, "alnum_prop": 0.6259282178217822, "repo_name": "nickperez1285/truck-hunt-hackathon", "id": "303a43fa90c9e56d915b0901e2b56ef65e9e4b...
/* $Id$ */ /** @file * kLdr - The Dynamic Loader, OS/2 Specifics. */ /* * Copyright (c) 2006-2007 Knut St. Osmundsen <bird-kStuff-spamix@anduin.net> * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal ...
{ "content_hash": "e1c6b9001110bb0b50442da9b2dac727", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 80, "avg_line_length": 30.348484848484848, "alnum_prop": 0.5921118322516226, "repo_name": "OS2World/DEV-UTIL-kstuff", "id": "e0ddaf825c5feeed3a7a89fb43a3dbbf42d01aa7", "siz...
describe('pixi/primitives/Graphics', function () { 'use strict'; var expect = chai.expect; var Graphics = PIXI.Graphics; it('Module exists', function () { expect(Graphics).to.be.a('function'); expect(Graphics).itself.to.have.property('POLY', 0); expect(Graphics).itself.to.have...
{ "content_hash": "95b276a272043027e2f34a05ab626ed4", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 76, "avg_line_length": 39.13636363636363, "alnum_prop": 0.6178861788617886, "repo_name": "Arduinology/Pixi-Pan-and-Zoom", "id": "f3849eb36849a5f9f2483ee7ff4ed8aea7cbcd78", ...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "44dc39ce6b0efefe7a70921fd79761f2", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "bfc556aa70f9cf3f5a2eee50db393f77268dbb2a", "size": "174...
test -z "${PYTHON_HOME}" && { echo "no PYTHON_HOME found"; exit 1; } "$PYTHON_HOME/bin/python" -m venv venv/ source venv/bin/activate pip install -U pip pip install . # This deactivate is needed, otherwise we get errors from # /etc/hadoop/conf.cloudera.yarn/topology.py deactivate # Package up an isolated environmen...
{ "content_hash": "b6acb5f8a6304a80a435c102c60acf17", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 68, "avg_line_length": 28.097560975609756, "alnum_prop": 0.7083333333333334, "repo_name": "rschwager-mm/polymr", "id": "ca0558a7b9c537c6952e27605e457b08629f5b98", "size": "...
<!DOCTYPE html> <html> <head> <title>Logan: Log your life, uselessly!</title> <link rel="stylesheet" href="/static/base.css"> </head> <body> <div class="page" id="header"> <h1 class="CL-dark-blue">Logan</h1> <h2 class="CL-dark-blue italic">For the merciless broadcasters</h2> </div> ...
{ "content_hash": "3e132fed29addefd461ddf7338171603", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 73, "avg_line_length": 30.896551724137932, "alnum_prop": 0.5613839285714286, "repo_name": "schatten/logan", "id": "2feac6aad8f7dbb11a2ac9d12e13223691e5d41a", "size": "896",...
"""The match_hostname() function from Python 3.3.3, essential when using SSL.""" import re import sys # ipaddress has been backported to 2.6+ in pypi. If it is installed on the # system, use it to handle IPAddress ServerAltnames (this was added in # python-3.5) otherwise only do DNS matching. This allows # backport...
{ "content_hash": "9930aa710a5ca8a5d7ad1525d03a9d3e", "timestamp": "", "source": "github", "line_count": 154, "max_line_length": 80, "avg_line_length": 36.1948051948052, "alnum_prop": 0.6194833153928956, "repo_name": "amisrs/one-eighty", "id": "06538ec6899adc761df2952cf9f2a01c3fe73aca", "size": "557...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "8fd78f84462eb2a60521ba4ccae5ebf8", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "31b0790bc595b2fb11b826d1c1ab6ee5c4e37ef1", "size": "188...
module.exports = { 'resulting promise should be argument if it is promise' : function(test) { var promise = Vow.promise(), isFulfilled = promise.isFulfilled(), resPromise = Vow.resolve(promise); test.strictEqual(resPromise, promise); test.strictEqual(resPromise.isFul...
{ "content_hash": "526fca9bc2298d2457288669db8f8374", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 89, "avg_line_length": 31.5, "alnum_prop": 0.5936507936507937, "repo_name": "vladrudych/realvnz", "id": "24a313e30673c71678067f9ca45b1aa070c96f4a", "size": "630", "binary...
#include "tensorflow/lite/toco/tensorflow_graph_matching/resolve_svdf.h" #include <ctype.h> #include <stddef.h> #include <algorithm> #include <memory> #include <string> #include <vector> #include "google/protobuf/map.h" #include "tensorflow/lite/toco/model.h" #include "tensorflow/lite/toco/tensorflow_graph_matching/...
{ "content_hash": "d57361ec2207a2c1e73a2c767f3cfe9d", "timestamp": "", "source": "github", "line_count": 272, "max_line_length": 80, "avg_line_length": 39.3125, "alnum_prop": 0.6495838398952586, "repo_name": "gautam1858/tensorflow", "id": "15484be998f88ebf43dd579d6ab8c8a63c52ae4a", "size": "11361", ...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <link rel="apple-touch-icon" sizes="76x76" href="../assets/img/apple-icon.png"> <link rel="icon" type="image/png" sizes="96x96" href="../assets/img/favicon.png"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <title>Ecommerce - Ge...
{ "content_hash": "cb4b4c282ab827a76d5954a8e684648e", "timestamp": "", "source": "github", "line_count": 920, "max_line_length": 211, "avg_line_length": 53.346739130434784, "alnum_prop": 0.3043053036940443, "repo_name": "jspkm/huupe", "id": "ec404dbd8a50a85cbd37c1c25ad8ec28d5cc5746", "size": "49144"...
<?php namespace gospelcenter\ArticleBundle; use Symfony\Component\HttpKernel\Bundle\Bundle; class gospelcenterArticleBundle extends Bundle { }
{ "content_hash": "358ab64dd485baffb28ea4322ba50349", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 47, "avg_line_length": 16.22222222222222, "alnum_prop": 0.8287671232876712, "repo_name": "yoanngern/gospelcenter", "id": "9ee068a9dcc7ea5ef01a076583f89c54b1909ca9", "size": ...
/* * Promose built-in description */ #include "ecma-builtin-helpers-macro-defines.inc.h" #if ENABLED (JERRY_BUILTIN_PROMISE) /* Number properties: * (property name, number value, writable, enumerable, configurable) */ NUMBER_VALUE (LIT_MAGIC_STRING_LENGTH, 1, ECMA_PROPERTY_FLAG_CON...
{ "content_hash": "3b1fc791ef6ca6c0f3f3d29c18985683", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 109, "avg_line_length": 30.976744186046513, "alnum_prop": 0.6816816816816816, "repo_name": "akosthekiss/jerryscript", "id": "baa2954389558b8fa0d40bbbb19a3d3de39eebeb", "siz...
package com.vonage.client.account; import com.vonage.client.HttpWrapper; class VoicePricingMethod extends PricingMethod { private static final String PATH = "/account/get-pricing/outbound/voice"; VoicePricingMethod(HttpWrapper httpWrapper) { super(httpWrapper); } @Override String getUri...
{ "content_hash": "75eadd622e8db7bfd230f1e9353c3d8b", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 77, "avg_line_length": 23.58823529411765, "alnum_prop": 0.713216957605985, "repo_name": "Nexmo/nexmo-java-sdk", "id": "d9e248a161080edf7db9ee845f4f075397b39645", "size": "1...
import {NgModule} from '@angular/core'; import {ReactiveFormsModule} from '@angular/forms'; import {BrowserModule} from '@angular/platform-browser'; import {NestedFormGroupComp} from './nested_form_group_example'; @NgModule({ imports: [BrowserModule, ReactiveFormsModule], declarations: [NestedFormGroupComp], b...
{ "content_hash": "90bbdff5fb8a59fcc520d258b9fbcd37", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 64, "avg_line_length": 26.8125, "alnum_prop": 0.7715617715617715, "repo_name": "matsko/angular", "id": "851450eb5eb3bfedd48c34e7dab5750e1db41f30", "size": "631", "binary"...
import java.io.*; public class Finally { public void foo(Object o) { try { if (o == null) return; } finally { System.out.println(o.<warning descr="Method invocation 'hashCode' may produce 'NullPointerException'">hashCode</warning>()); // Error here. } System.out.println(o.hash...
{ "content_hash": "095894000e0668431cf67035af5a9148", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 149, "avg_line_length": 27.62162162162162, "alnum_prop": 0.6135029354207436, "repo_name": "smmribeiro/intellij-community", "id": "fbe578350df0cd7a527e1c76f932cad28c819fcd", ...
 using System; using System.Collections; using System.IO; using System.Linq; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Google.Apis.Http; using Google.Apis.Logging; using Google.Apis.Requests; using Google.Apis.Services; using Google.Apis.Testi...
{ "content_hash": "573cde166376ccdf97b1e702c551e8a9", "timestamp": "", "source": "github", "line_count": 841, "max_line_length": 120, "avg_line_length": 44.07728894173603, "alnum_prop": 0.5812943429820066, "repo_name": "headinthebox/google-api-dotnet-client", "id": "d33f1c8f6358bcfe48203667c8cbd3354ec...
using namespace seqan; // Program entry point int main(int argc, char const ** argv) { // Setup command line parser. CommandLineParser parser; Options options; setupCommandLineParser(parser, options); // Then, parse the command line and handle the cases where help display // is requested o...
{ "content_hash": "ec0cdefc0a2d27bf5da4c442efdb3b11", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 75, "avg_line_length": 28.318181818181817, "alnum_prop": 0.6725521669341894, "repo_name": "bkahlert/seqan-research", "id": "fdb3efc9bdc12c7a43c5768b63db6794b3e5dcdd", "size...
@interface NSObject (MZFoundation) + (NSString*)mz_className; @end
{ "content_hash": "454dabcea07120c49c14d3aceb4963f7", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 34, "avg_line_length": 22.333333333333332, "alnum_prop": 0.7611940298507462, "repo_name": "Matzo/MZFoundation", "id": "8601b413f84b0174d8f3b948a0f99b4c55cfc465", "size": "25...
import { isContained } from './is-contained'; describe('client/src isContained', () => { it('returns true if `arr1` values are contained in `arr2`', () => { const arr1 = ['dog', 'cat']; const arr2 = ['cat', 'dog']; expect(isContained(arr1, arr2)).toEqual(true); }); it('returns true if `arr1` values ...
{ "content_hash": "d7dcc51dfbea9ca0ddcec43d1edb5c6a", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 73, "avg_line_length": 33.13333333333333, "alnum_prop": 0.5814889336016097, "repo_name": "raisedadead/FreeCodeCamp", "id": "14fd0d1905c28c6ec8b8be83d631ec1f010e8bf1", "size...
#nullable disable namespace Amazon.CodeBuild; public sealed class StopBuildResponse { public Build Build { get; init; } }
{ "content_hash": "38ac3e20d595dbda3dca08f9eaefde56", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 37, "avg_line_length": 17.125, "alnum_prop": 0.7007299270072993, "repo_name": "carbon/Amazon", "id": "d4e31579feba4bcaa723fb7071c713260d284996", "size": "139", "binary": f...
/* Jits.h - Library to connect with JSON IoT Server. Created by Luis Gomes Released into the public domain. https://github.com/luisfog/jits */ #ifndef Jits_h #define Jits_h #include "Arduino.h" #include "Ethernet.h" class Jits { public: Jits(String server, int port, String connectionKey, String aesKey); S...
{ "content_hash": "9f94c1041ce3acdbc23bc54f6da9560c", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 69, "avg_line_length": 23.12121212121212, "alnum_prop": 0.7431192660550459, "repo_name": "luisfog/jits", "id": "920ff5691330ee46eaf032c7603ae3098207c425", "size": "763", ...
// Modified or written by Lambdascale SRL for inclusion with lambdaj. // Copyright (c) 2009-2010 Mario Fusco. // Licensed under the Apache License, Version 2.0 (the "License") package ch.lambdaj.function.closure; import java.util.*; /** * A generic (not strongly typed) lambdaj closure * @author Mario Fus...
{ "content_hash": "1bb1d1f98b75f4fc912e2a318dea3394", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 118, "avg_line_length": 49.346666666666664, "alnum_prop": 0.6968386922453391, "repo_name": "svn2github/lambdaj-trunk", "id": "7b17bf9f37b25ddeff3c3c29ac9729e88b33dbed", "si...
.class Lcom/android/server/AppWidgetServiceImpl$3; .super Ljava/lang/Object; .source "AppWidgetServiceImpl.java" # interfaces .implements Landroid/content/ServiceConnection; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lcom/android/server/AppWidgetServiceImpl;->notifyAppWidgetView...
{ "content_hash": "8832c2a33bbe2258f1675d9be3c80adc", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 162, "avg_line_length": 29.950617283950617, "alnum_prop": 0.7555647155812036, "repo_name": "mateor/auto-patcher", "id": "aa975195b0c624f98caaca6ff65e03d462b71af4", "size": ...
<?php namespace Zikula\Module\CoreManagerModule\Block; use Zikula\BlocksModule\AbstractBlockHandler; use Zikula\Module\CoreManagerModule\Block\Form\Type\ButtonBlockType; use Zikula\Module\CoreManagerModule\Entity\CoreReleaseEntity; class LatestReleaseBlock extends AbstractBlockHandler { /** * {@inheritdoc}...
{ "content_hash": "cbee9f850e921bb156415de9c2d16090", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 124, "avg_line_length": 30.857142857142858, "alnum_prop": 0.6520061728395061, "repo_name": "zikula/CoreManagerModule", "id": "8ac405fe51d5f3f9a6d998485db66f35bdb5eaf8", "si...
(function(_path, _fs, _less) { /*jshint latedef: false */ 'use strict'; var _ugly; var Cleancss; try { _ugly = require('uglify-js'); } catch ( e ) {} try { Cleancss = require('clean-css'); } catch ( e ) {} // TODO: Find a better way to handle windows paths var ISWIN = /^win/.test(proce...
{ "content_hash": "cbc35fea97bdd6605b08b111d70eaca6", "timestamp": "", "source": "github", "line_count": 1794, "max_line_length": 133, "avg_line_length": 28.49052396878484, "alnum_prop": 0.5296994834872437, "repo_name": "arduino-org/OS.js-v2", "id": "11cfce1ef567c3fd135a1701c38295ae8aab8679", "size"...
'text file write or read' import os #current path file fname='' ls=os.linesep while True: print '$$$$$ please select file operation\n'+'(1)read a text file' print '(2)write to a text file\n'+'(x)exit the op' op=raw_input('select op=') if op=='x': print 'closed' break #read a text file elif op=='1': pr...
{ "content_hash": "ea8dca40ae9abb707592d3bdfc74e1d5", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 67, "avg_line_length": 18.96551724137931, "alnum_prop": 0.6181818181818182, "repo_name": "shenhzou654321/TDDDemo", "id": "33f19de0fea79da9239b13a7be8d661bf2754a04", "size":...
package com.lightbend.lagom.scaladsl.testkit import akka.Done import akka.persistence.query.Offset import akka.stream.Materializer import akka.stream.scaladsl.Flow import akka.stream.scaladsl.Sink import akka.stream.scaladsl.Source import com.lightbend.internal.broker.TaggedOffsetTopicProducer import com.lightbend.l...
{ "content_hash": "f7b7221af5de15c939872e8f4a9a2915", "timestamp": "", "source": "github", "line_count": 113, "max_line_length": 157, "avg_line_length": 37.663716814159294, "alnum_prop": 0.7337875939849624, "repo_name": "TimMoore/lagom", "id": "0a99a408922d879410e3c221d1560da74fa1f565", "size": "433...
#ifndef SMGR_H #define SMGR_H #include "access/xlog.h" #include "fmgr.h" #include "storage/block.h" #include "storage/relfilenode.h" /* * smgr.c maintains a table of SMgrRelation objects, which are essentially * cached file handles. An SMgrRelation is created (if not already present) * by smgropen(), and destro...
{ "content_hash": "8cb0b109ca7c33fc07518a22df8af9f8", "timestamp": "", "source": "github", "line_count": 111, "max_line_length": 77, "avg_line_length": 36.927927927927925, "alnum_prop": 0.7736033178824103, "repo_name": "KMU-embedded/mosbench-ext", "id": "9e9c6c023b90c0d2f2d0a68475b06faf723e9d7b", "s...
set(_CATKIN_CURRENT_PACKAGE "hector_nav_msgs") set(hector_nav_msgs_MAINTAINER "Johannes Meyer <meyer@fsr.tu-darmstadt.de>") set(hector_nav_msgs_DEPRECATED "") set(hector_nav_msgs_VERSION "0.3.3") set(hector_nav_msgs_BUILD_DEPENDS "nav_msgs" "geometry_msgs" "message_generation") set(hector_nav_msgs_RUN_DEPENDS "nav_msgs...
{ "content_hash": "dcc2e865549dccbb413756a7adf272d6", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 82, "avg_line_length": 57.714285714285715, "alnum_prop": 0.7648514851485149, "repo_name": "siketh/ASR", "id": "9925cd20055432332693461c20a41a99c8384b5a", "size": "404", "b...
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/> <title>Social Share Privacy: Dynamic Layout</title> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script type="text/javascript" src="http://panzi.git...
{ "content_hash": "e15f2b84586f2bd85e9b7d65418348bc", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 119, "avg_line_length": 34.02040816326531, "alnum_prop": 0.6934613077384523, "repo_name": "lodsb/tipster", "id": "6a4d79104655143744db85d532cc16bff450c327", "size": "1667",...
<div ng-include="'partials/widgetList.html'" id="widgetList"></div> <div id="content"> <pui-panel header="puiDatatable"> <div ng-include="'partials/widgetSubPages.html'" id="widgetSubPages"></div> <section> <header>Programmatic changing the current page</header> <pui-datatable binding="pro...
{ "content_hash": "6df9d10d3906faadf01406ea7f085114", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 194, "avg_line_length": 41.56923076923077, "alnum_prop": 0.5866025166543302, "repo_name": "rdebusscher/AngularWidgets", "id": "4921aa1805bb447980c6bfb389c3a1ca18115e5e", "s...
namespace soundtouch { /// Soundtouch library version string #define SOUNDTOUCH_VERSION "1.7.1" /// SoundTouch library version id #define SOUNDTOUCH_VERSION_ID (10701) // // Available setting IDs for the 'setSetting' & 'get_setting' functions: /// Enable/disable anti-alias filter in pitch transposer ...
{ "content_hash": "c214db426cae6ae16793a5b3da2430cc", "timestamp": "", "source": "github", "line_count": 200, "max_line_length": 101, "avg_line_length": 40.205, "alnum_prop": 0.6851137918169382, "repo_name": "pipsiscool/audacity", "id": "c6af895811da41bf877f6d4a5e4a78ac37249ba0", "size": "11617", ...
'use strict'; /** * Module dependencies. */ var passport = require('passport'); module.exports = function(app) { // User Routes var users = require('../../app/controllers/users.server.controller'); // Setting up the users profile api app.route('/users/me').get(users.me); app.route('/users').put(users.update);...
{ "content_hash": "9adfad4699bdc1d3568856f4958f5602", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 70, "avg_line_length": 31.129032258064516, "alnum_prop": 0.7067357512953368, "repo_name": "Dathor/jobsplatform", "id": "09b836d4f94d7bcd2663fc89f6001cbc4a7a5428", "size": "...
/* * IP Virtual Server * data structure and functionality definitions */ #ifndef _NET_IP_VS_H #define _NET_IP_VS_H #include <linux/ip_vs.h> /* definitions shared with userland */ #include <asm/types.h> /* for __uXX types */ #include <linux/list.h> /* for ...
{ "content_hash": "9d84ca07693e32022426fbfd91322ea3", "timestamp": "", "source": "github", "line_count": 1628, "max_line_length": 80, "avg_line_length": 28.25859950859951, "alnum_prop": 0.6537985001630258, "repo_name": "lokeshjindal15/pd-gem5", "id": "5679d927562be7b0225c68468a498ded903bd36a", "size...
<ol class="breadcrumb"> <li><a ui-sref="home">L&K Buddy</a> </li> <li><a ui-sref="admin">Admin</a> </li> <li><a ui-sref="admin.users">Users</a> </li> <li class="active">Add</li> </ol> <h3>New User</h3> <form name="userForm" class="form-horizontal" role="form" ng-submit="addUser()"> ...
{ "content_hash": "f8e32d8d83e6fe6f3f3bd4ee724bf1e1", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 148, "avg_line_length": 39.97959183673469, "alnum_prop": 0.5630423685553854, "repo_name": "TotalMace/lk-buddy", "id": "2f0feb8b2eb3c8196427fb5282133f59ae92a56d", "size": "1...
#ifndef _SCSI_DISK_H #define _SCSI_DISK_H /* * More than enough for everybody ;) The huge number of majors * is a leftover from 16bit dev_t days, we don't really need that * much numberspace. */ #define SD_MAJORS 16 /* * This is limited by the naming scheme enforced in sd_probe, * add another character to it i...
{ "content_hash": "7488a662aa3428506a24ed42d8abd4d5", "timestamp": "", "source": "github", "line_count": 128, "max_line_length": 80, "avg_line_length": 26.7265625, "alnum_prop": 0.6805027769657995, "repo_name": "lunaczp/learning", "id": "e374804d26fbdb11cf17987b35c1db73386568ee", "size": "3421", "...
<!DOCTYPE html> <html> <head> <!-- Attempt to make the game fit onto a phone screen --> <meta content='width=device-width, initial-scale=0.6, maximum-scale=0.8, user-scalable=0.8' name='viewport' /> <script src='https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js'></script> <script src='js...
{ "content_hash": "8d1195f556436691709ab83b0f4034e5", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 114, "avg_line_length": 32.333333333333336, "alnum_prop": 0.5582870737509913, "repo_name": "VictorLoren/squareup-game-js", "id": "1bbc25b7675225ccbd9d614072900fab47f9d2e5", ...
> Checks if the property exists in a nested object or a nested array using an array path `bubble-gum-has` is part of **bubble-gum-tools**, check this [here](https://github.com/nquicenob/bubble-gum-tools) # Install You can install bubble-gum-has using npm. ``` npm install --save bubble-gum-has ``` # API Reference ...
{ "content_hash": "b2cb10e557f81e7b7c9f0e8d83cc6d06", "timestamp": "", "source": "github", "line_count": 115, "max_line_length": 114, "avg_line_length": 23.591304347826085, "alnum_prop": 0.6273497972723922, "repo_name": "nquicenob/bubble-gum-tools", "id": "9e6128a31839038808a2aeda00fbb4dafcb7535d", ...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using Android.App; // 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...
{ "content_hash": "9cbeb93907a8b1c8db0da2e0db6d896f", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 84, "avg_line_length": 35.53333333333333, "alnum_prop": 0.7401500938086304, "repo_name": "discosultan/VulkanCore", "id": "53911dc7c8710dff51bd441d2d5b583b18101e25", "size":...
''' he3.db.tools.mappers contains mappers written to work with App Engine MapReduce http://code.google.com/p/appengine-mapreduce/ Created on Jun 27, 2010 @author: Ben Davies, Helium 3 IT Solutions ''' import google.appengine.ext.db as db import mapreduce.operation as op class Mapper (object): '''A stan...
{ "content_hash": "d4909670dd91b6828e36d6eda7603fa4", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 71, "avg_line_length": 26.5, "alnum_prop": 0.6777358490566038, "repo_name": "chartjes/liesitoldmykids", "id": "643436caea6e48bd2debb31e402a8239addacd08", "size": "1325", ...
import chai from 'chai' import sinon from 'sinon' import sinonChai from 'sinon-chai' const expect = chai.expect chai.use(sinonChai) import * as domHelper from '../dom-helper.js' import {Document, destroyDocument} from '../../app/dom.js' describe('help create body', () => { var vm beforeEach(() => { vm = { ...
{ "content_hash": "f08d95f9ea78296c449fc1792b14f665", "timestamp": "", "source": "github", "line_count": 368, "max_line_length": 73, "avg_line_length": 25.483695652173914, "alnum_prop": 0.6177223288547665, "repo_name": "sospartan/weex", "id": "ec962c54568be65a87c91589d707d61978aa556c", "size": "9378...
module YARD module Mongoid VERSION = '0.1.0'.freeze end end
{ "content_hash": "d8368368487c2a92b4614d3cacfd2dac", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 28, "avg_line_length": 13.6, "alnum_prop": 0.6617647058823529, "repo_name": "alsemyonov/yard-mongoid", "id": "9c46f4584bbaeefc7c3ae086cc26d3d187ace3ae", "size": "68", "bin...
@interface DemoCollectionViewCell : UICollectionViewCell @property (nonatomic) UILabel *label; @end
{ "content_hash": "9d2aea7d45f18c195168110092d15803", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 56, "avg_line_length": 33.333333333333336, "alnum_prop": 0.83, "repo_name": "itheima-developer/HMRefresh", "id": "2eeefebeb265f042da635be5c892a4ff497d825a", "size": "267", ...
package org.switchyard; /** * The list of supported exchange patterns within SwitchYard. */ public enum ExchangePattern { /** * A message exchange consisting of a single request message. */ IN_ONLY ("http://www.w3.org/ns/wsdl/in-only"), /** * A message exchange consisting of a single re...
{ "content_hash": "39cbf8b0e6030941acd724a95d750952", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 77, "avg_line_length": 26.553571428571427, "alnum_prop": 0.6180228648285138, "repo_name": "tadayosi/switchyard", "id": "d1f8254a9649933ad5377bf564b3896d2481c060", "size": "...
using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography.X509Certificates; using Kerberos.NET.Crypto; using Kerberos.NET.Entities; using Kerberos.NET.Server; namespace Kerberos.NET { public class TransitedKerberosPrincipal : IKerberosPrincipal { private read...
{ "content_hash": "630a1f0474286eb4f150ab301200ef96", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 105, "avg_line_length": 28.893617021276597, "alnum_prop": 0.7032400589101621, "repo_name": "SteveSyfuhs/Kerberos.NET", "id": "8db470941ae6e1402201683a0e5487bcb640581d", "si...
const fs = require('fs'), path = require('path'), Canvas = require('canvas'), { sendImageMsgBuffer } = require('../../../cq/sendImage.js') // const gm = require('gm') // let imageMagick = gm.subClass({ imageMagick : true }); const checkMaxWidth = (ctx, str, maxWidth) => { let start = 0, splitArr = [] for(let...
{ "content_hash": "305a8f4f51cac38313b6a14b21430968", "timestamp": "", "source": "github", "line_count": 141, "max_line_length": 112, "avg_line_length": 32.5531914893617, "alnum_prop": 0.6261437908496732, "repo_name": "a26214311/baibaibot", "id": "bae357e5e705ee249c692ef51945b0405b147328", "size": "...
package ru.stqa.pft.mantis.tests; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; /** * Created by anastasia.papko on 05.05.2017. */ public class RegistrationTests extends TestBase{ @BeforeMethod public void startMailServer() { app....
{ "content_hash": "eceb80abcb7999d08c8f1c23398bbe7e", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 69, "avg_line_length": 21.962962962962962, "alnum_prop": 0.7099494097807757, "repo_name": "anastasiazzz/java_pft", "id": "08637d296acc811dc5118f36be0ad2abed9575de", "size":...
<?php /** Interface for Controller action handlers */ require_once 'HTML/QuickForm2/Controller/Action.php'; /** * This handler performs an HTTP redirect to a specific page * * @category HTML * @package HTML_QuickForm2 * @author Alexey Borzov <avb@php.net> * @author Bertrand Mansion <golgote@ma...
{ "content_hash": "f32214a65b9878f7e47e2f86b46f7be3", "timestamp": "", "source": "github", "line_count": 204, "max_line_length": 89, "avg_line_length": 34.56372549019608, "alnum_prop": 0.4728407318110906, "repo_name": "owen-kellie-smith/mediawiki", "id": "83daaaafee66d62d47fcf301c963c5a7205962c3", "...
ACCEPTED #### According to Index Fungorum #### Published in Anal. Mus. nac. Hist. nat. B. Aires 6: 246 (1899) #### Original name Eutypa erythrinae Speg. ### Remarks null
{ "content_hash": "6bbb1a3960a60a60bc2a931f2e248e23", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 49, "avg_line_length": 13.307692307692308, "alnum_prop": 0.6763005780346821, "repo_name": "mdoering/backbone", "id": "3d428b5abfacae702a76d8576e814b1d3851b619", "size": "22...
<?php class Google_Service_Safebrowsing_ThreatHit extends Google_Collection { protected $collection_key = 'resources'; protected $clientInfoType = 'Google_Service_Safebrowsing_ClientInfo'; protected $clientInfoDataType = ''; protected $entryType = 'Google_Service_Safebrowsing_ThreatEntry'; protected $entryD...
{ "content_hash": "bce52a67157b2c0990fbb5172d9a4095", "timestamp": "", "source": "github", "line_count": 90, "max_line_length": 83, "avg_line_length": 24.08888888888889, "alnum_prop": 0.6928044280442804, "repo_name": "bshaffer/google-api-php-client-services", "id": "330d31764fbe8984e543c0acd88f7040533...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "73d2a204f971b7bbc1c8b461b5f0b6de", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "a1701064b78a32187f5dd4809095c75f9cdbd578", "size": "18...
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands; import org.eclipse.core.commands.ExecutionException; import org.eclipse.core.runtime.IAdaptable; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.emf.ecore.EObject; import org.eclipse.gmf.runtime.common.core.command.CommandResu...
{ "content_hash": "5592c9b195429051f1a6dafcfe452e50", "timestamp": "", "source": "github", "line_count": 82, "max_line_length": 94, "avg_line_length": 33.01219512195122, "alnum_prop": 0.782785371259697, "repo_name": "thiliniish/developer-studio", "id": "a4e5912d379b1f643b0d1423776619d1ee063091", "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 under t...
{ "content_hash": "f706f03ca220b0e410e15c6d70ad500f", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 182, "avg_line_length": 43.395348837209305, "alnum_prop": 0.777599142550911, "repo_name": "googleapis/google-api-java-client-services", "id": "a4736d794f5c1949eccbf1354033274...
// Generated Source import DeliveryModeResource from "./DeliveryModeResource"; interface ConversationResource { /** * */ id?: string; /** * */ typingNotifications?: DeliveryModeResource; /** * */ uri?: string; } export default ConversationResource;
{ "content_hash": "18f9a7520ec8b0db99ee64c05695e2d6", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 58, "avg_line_length": 14.136363636363637, "alnum_prop": 0.5884244372990354, "repo_name": "zengfenfei/ringcentral-js-client", "id": "1279d75cc4b83baa446ce7e49b4e18a8bd458b45"...
package org.apache.hadoop.hdfs.client; import java.util.Optional; import org.apache.hadoop.fs.CommonPathCapabilities; import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; import static org.apache.hadoop.fs.impl.PathCapabilitiesSupport.validatePathCapabilityArgs; public final class DfsPathCapa...
{ "content_hash": "a737b0652653e3ed4963d260e6666e63", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 91, "avg_line_length": 32.08510638297872, "alnum_prop": 0.7606100795755968, "repo_name": "apache/hadoop", "id": "30e7e00653bccadafbbae985c16f06e3568df0b1", "size": "2313", ...
<?php class GoodsType extends BaseModel { /** * @return string 相关的数据库表的名称 */ public function tableName() { return '{{b2c_goods_type}}'; } /** * @return string 相关的数据库表的名称 */ public function rules() { // NOTE: you should only define rules for those attributes that // will receive...
{ "content_hash": "f063056e82ffc1fb6a4a93e3d42b8958", "timestamp": "", "source": "github", "line_count": 141, "max_line_length": 187, "avg_line_length": 25.80851063829787, "alnum_prop": 0.5597691673536686, "repo_name": "li-iii/yiishop", "id": "bb219d810bbd6de418a55ad8298f2392ac991758", "size": "4118...
set -e echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" install_framework() { if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then local source="${BUILT_PRODUCTS_DIR}...
{ "content_hash": "a100e18fb860ec0db29afaedab7c89a5", "timestamp": "", "source": "github", "line_count": 90, "max_line_length": 209, "avg_line_length": 39.53333333333333, "alnum_prop": 0.6374367622259697, "repo_name": "nRewik/CardScrollView", "id": "c179f98b2df51abba5dd8511d1d680d792be66bc", "size":...
<?php namespace Spider\Commands\Languages; use Spider\Commands\Bag; /** * Command Processor Contract * To be implemented by processors */ interface ProcessorInterface { /** * Command Processor * * Receives a Commands\Bag instance and returns a valid * Commands\CommandInterface instance with...
{ "content_hash": "d9524be6955678a17377bdebc1c5b090", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 63, "avg_line_length": 21.91304347826087, "alnum_prop": 0.6785714285714286, "repo_name": "spider/spider", "id": "62dc313760177a0e2d3d045fb42f90088337624f", "size": "504", ...
package gaming import ( "context" "fmt" "math" "net/url" "time" gamingpb "cloud.google.com/go/gaming/apiv1/gamingpb" "cloud.google.com/go/longrunning" lroauto "cloud.google.com/go/longrunning/autogen" gax "github.com/googleapis/gax-go/v2" "google.golang.org/api/iterator" "google.golang.org/api/option" "go...
{ "content_hash": "00cb2131092f4279568d62b362a15ae1", "timestamp": "", "source": "github", "line_count": 695, "max_line_length": 179, "avg_line_length": 38.815827338129495, "alnum_prop": 0.7440782889127775, "repo_name": "googleapis/google-cloud-go", "id": "2d459629641274e68f43bd4fab19071f3d947353", ...
function CheckinWindow() { var _ = require('/lib/underscore'), theme = require('/ui/theme'), ui = require('/ui/components'), ActionBarView = require('/ui/ActionBarView'); var self = new ui.Window({ navBarHidden:true, backgroundImage:theme.windowBackground }); var actionBar = new ActionBarView({ title...
{ "content_hash": "5d4aaac5ad3d06eb7b44d5b1a80516b8", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 55, "avg_line_length": 19.586206896551722, "alnum_prop": 0.6602112676056338, "repo_name": "rickycheers/rayapp", "id": "c3099522d2719c31538dfc93bbc02004cc7b20d4", "size": "5...
<?php namespace Demofony2\AppBundle\Controller\Api; use Demofony2\AppBundle\Entity\Proposal; use FOS\RestBundle\Controller\FOSRestController; use FOS\RestBundle\Request\ParamFetcher; use FOS\RestBundle\Controller\Annotations as Rest; use Nelmio\ApiDocBundle\Annotation\ApiDoc; use Symfony\Component\HttpFoundation\Requ...
{ "content_hash": "6b0385fde1043e7d00db14641f4f968d", "timestamp": "", "source": "github", "line_count": 469, "max_line_length": 136, "avg_line_length": 43.67590618336887, "alnum_prop": 0.3920132786565124, "repo_name": "teclliure/demofony2", "id": "8f4c75171cc901458984b5a7d2ccf0f1c8faa6fe", "size": ...
package org.apache.mxnet.javaapi import collection.JavaConverters._ import scala.language.implicitConversions /** * Constructing a context which is used to specify the device and device type that will * be utilized by the engine. * * @param deviceTypeName {'cpu', 'gpu'} String representing the device type ...
{ "content_hash": "7e6c0ade7adac6f869dfb6a71a1d1114", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 93, "avg_line_length": 33.81818181818182, "alnum_prop": 0.7446236559139785, "repo_name": "dmlc/mxnet", "id": "3d397e3fc49609ff2323087ab2f9c35ebe95ee4b", "size": "2288", "...
#include "tensorflow/compiler/xla/service/tuple_points_to_analysis.h" #include <ostream> #include <utility> #include <vector> #include "absl/memory/memory.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_format.h" #include "absl/strings/str_join.h" #include "tensorflow/compiler/xla/map_util.h" #inclu...
{ "content_hash": "a7fa89b41a3092f0f5aba70f3c5b58d1", "timestamp": "", "source": "github", "line_count": 814, "max_line_length": 80, "avg_line_length": 41.08845208845209, "alnum_prop": 0.6626203432398493, "repo_name": "AnishShah/tensorflow", "id": "6fed7c76d04ad5d8236fecd07aa27f1eda221ea7", "size": ...
namespace Inforigami.Regalo.Messaging { public interface ICommandProcessor { void Process<TCommand>(TCommand command); } }
{ "content_hash": "35b69d67a847e7042345dff17f263ab5", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 49, "avg_line_length": 20.428571428571427, "alnum_prop": 0.6993006993006993, "repo_name": "nbarnwell/Inforigami.Regalo", "id": "dc9b81f9bd5c268815c8870d86a01931197f15df", "s...
package org.tallison.lucene.queryparser.spans; class SQPNearClause extends SQPClause { public static final Boolean UNSPECIFIED_IN_ORDER = null; private final TYPE type; private final Boolean inOrder; private final Integer slop; //a b "the quick" brown //charStartOffset=5 //charEndOffset=13 public...
{ "content_hash": "1c45b45fefa67f282541b76c04652298", "timestamp": "", "source": "github", "line_count": 82, "max_line_length": 75, "avg_line_length": 21.682926829268293, "alnum_prop": 0.5967379077615298, "repo_name": "tballison/lucene-addons", "id": "838268ee5003c61853b04dfbc51721ea5a82fc49", "size...
'use strict'; /* eslint-disable max-len */ let babel = require('babel-core'); let devExpression = require('../dev-expression'); function transform(input) { return babel.transform(input, { plugins: [devExpression], }).code; } function compare(input, output) { var compiled = transform(input); expect(com...
{ "content_hash": "c58d23e3ac3de5fa2a951118148c4b37", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 121, "avg_line_length": 20.25423728813559, "alnum_prop": 0.5715481171548117, "repo_name": "chicoxyzzy/fbjs", "id": "2d62752a54aeba4493380132105ee7f428628e16", "size": "1503...
jberet-support module contains `jsonItemReader` and `jsonItemWriter` batch artifacts for reading and writing JSON data. `jsonItemReader` reads JSON data and binds them to `java.util.Map`, `com.fasterxml.jackson.databind.JsonNode`, or any custom POJO bean provided by the batch application. `jsonItemReader` and `jsonIte...
{ "content_hash": "3babe4c4bbc3e2fcaac9a34812d80a94", "timestamp": "", "source": "github", "line_count": 209, "max_line_length": 573, "avg_line_length": 65.28708133971291, "alnum_prop": 0.7769879076584829, "repo_name": "jberet/jberet-user-guide", "id": "98a8005fa7e85aec01e5e9e01034b7978e85ace4", "si...
var reporter_1 = require('./reporter'); function isTS14(typescript) { return !('findConfigFile' in typescript); } exports.isTS14 = isTS14; function isTS16OrNewer(typescript) { return !('ModuleResolution' in typescript); } exports.isTS16OrNewer = isTS16OrNewer; function getFileName(thing) { if (thing.filenam...
{ "content_hash": "d8f590fa1bde7670bd87bf3c20540904", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 122, "avg_line_length": 39.365591397849464, "alnum_prop": 0.6694892105981972, "repo_name": "hilts-vaughan/webrtc-components", "id": "8174c14daf36deab323e587852fec4c49bf80a6a"...
require 'br_invoices_pdf/nfce/parser' require 'br_invoices_pdf/nfce/renderer/base_renderer' require 'br_invoices_pdf/nfce/renderer' module BrInvoicesPdf module Nfce BrInvoicesPdf.register(:nfce, Nfce::Renderer, Nfce::Parser) end end
{ "content_hash": "a2093841e274f05ea9d1b2ee0f1ffc1b", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 63, "avg_line_length": 26.88888888888889, "alnum_prop": 0.7768595041322314, "repo_name": "pdvend/br_invoices_pdf", "id": "ce41868a08b19a291390e764c851623012cfd391", "size": ...