text
stringlengths
2
1.04M
meta
dict
package org.springframework.boot.web.embedded.jetty; import java.io.IOException; import java.net.InetSocketAddress; import java.net.URL; import org.eclipse.jetty.alpn.server.ALPNServerConnectionFactory; import org.eclipse.jetty.http.HttpVersion; import org.eclipse.jetty.http2.HTTP2Cipher; import org.eclipse.jetty.h...
{ "content_hash": "0e43ca2202f46fcbb805c99efea86b7d", "timestamp": "", "source": "github", "line_count": 276, "max_line_length": 114, "avg_line_length": 36.43115942028985, "alnum_prop": 0.7754351069119841, "repo_name": "vpavic/spring-boot", "id": "4c6015d5f3000d9c1a922debbd49234cf9695434", "size": "...
Bitcoin version 0.7.1 is now available from: http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.7.1/ This is a bug-fix minor release. Please report bugs using the issue tracker at github: https://github.com/bitcoin/bitcoin/issues Project source code is hosted at github; you can get source-only tarba...
{ "content_hash": "a6db48d1376d3bf550a780f1a40f9c60", "timestamp": "", "source": "github", "line_count": 110, "max_line_length": 78, "avg_line_length": 34.64545454545455, "alnum_prop": 0.7546575701915508, "repo_name": "grumpydevelop/singularity", "id": "a3e88f9d21e9d45ed63a40ff9ae1d37d10c5e10e", "si...
require 'identification_number/helpers/date_helper' module IdentificationNumber module Helpers describe DateHelper do subject { DateHelper } describe "#century" do it "returns the century of a given date" do subject.century(Date.new(1987, 07, 06)).should eq(19) en...
{ "content_hash": "12437648d7b9ebe94abcc2f1530e6eaa", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 76, "avg_line_length": 21.666666666666668, "alnum_prop": 0.6175824175824176, "repo_name": "minmb/identification_number", "id": "a67229d79622e483f09b8d9619fc724db05f1c0a", "...
Thumbs.History = (function () { var History = Backbone.History.extend(Thumbs._super).extend({ notFoundRedirect: null, notFoundCallback: null, checkPreRouteHandler: function (handlers, path, fragment) { var result = true; var routeHandler = _.find(handlers, function (...
{ "content_hash": "99fc96f75cfa4592dc6e433fd3776a73", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 94, "avg_line_length": 35.266666666666666, "alnum_prop": 0.5286704473850031, "repo_name": "doug-martin/thumbs-old", "id": "c9ccaa64591966de9ac821499908265c5f776fc4", "size"...
#include "editor.h" extern EFI_HANDLE ImageHandleBackup; EFI_EDITOR_FILE_BUFFER FileBuffer; EFI_EDITOR_FILE_BUFFER FileBufferBackupVar; // // for basic initialization of FileBuffer // EFI_EDITOR_FILE_BUFFER FileBufferConst = { NULL, UNICODE_FILE, NULL, NULL, 0, { 0, 0 }, { 0, ...
{ "content_hash": "773d881b44ec2514208c797e8208988d", "timestamp": "", "source": "github", "line_count": 3519, "max_line_length": 127, "avg_line_length": 21.29809605001421, "alnum_prop": 0.5690478731920798, "repo_name": "kontais/EFI-MIPS", "id": "19d4babd7ee92b52433e681de7e2b377e969a23e", "size": "7...
package org.apache.jena.propertytable; import java.util.List; import org.apache.jena.graph.Node ; /** * Each Column of the PropertyTable has an unique columnKey Node of the predicate (or p for short). * */ public interface Column { /** * @return the PropertyTable it belongs to */ Property...
{ "content_hash": "015ea1c820cc474981c51e85026f92c8", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 99, "avg_line_length": 17.75862068965517, "alnum_prop": 0.6427184466019418, "repo_name": "m-nakagawa/sample", "id": "5650d070ee5d3a7edc80165586ca0069e17b39b8", "size": "133...
Results ======= .. autoclass:: scine_utilities.Results
{ "content_hash": "d979b0d6578cd4aad6eaed18a9c0d6b4", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 38, "avg_line_length": 14, "alnum_prop": 0.6607142857142857, "repo_name": "qcscine/utilities", "id": "7a1d41e1df560bbffc47a6ec59da1e58f7097e51", "size": "56", "binary": fa...
#include "qrsMetamodelLoader.h" #include <QtXml/QDomDocument> #include <qrutils/scalableItem.h> #include <qrrepo/repoApi.h> #include <metaMetaModel/metamodel.h> #include <metaMetaModel/nodeElementType.h> #include <metaMetaModel/edgeElementType.h> #include <metaMetaModel/patternType.h> using namespace qReal; const...
{ "content_hash": "f0122ed21a5e3024886be6793586cdb7", "timestamp": "", "source": "github", "line_count": 706, "max_line_length": 116, "avg_line_length": 36.436260623229465, "alnum_prop": 0.7326621054268387, "repo_name": "danilaml/qreal", "id": "ab2807f520af7f7e4f2f1ada8b814e3885737fc5", "size": "263...
package org.kie.workbench.common.stunner.bpmn.client.editor; import org.junit.Test; import org.kie.workbench.common.stunner.bpmn.project.client.editor.BPMNProjectSessionDiagramSavedHandler; import org.kie.workbench.common.stunner.core.client.session.impl.ViewerSession; import static org.mockito.Mockito.mock; publi...
{ "content_hash": "9a212f1c38c9e697ce4a2725d014bded", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 144, "avg_line_length": 37.15384615384615, "alnum_prop": 0.6645962732919255, "repo_name": "romartin/kie-wb-common", "id": "40dd54fe815a2b5c2e5011933158681317a68814", "size"...
package org.springframework.boot.actuate.autoconfigure.metrics.export.prometheus; import io.micrometer.core.instrument.Clock; import io.micrometer.prometheus.PrometheusConfig; import io.micrometer.prometheus.PrometheusMeterRegistry; import io.prometheus.client.CollectorRegistry; import org.springframework.boot.actu...
{ "content_hash": "ded0dc5f9fef588dc2bc8a90dd6b32d8", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 102, "avg_line_length": 33.60294117647059, "alnum_prop": 0.8415754923413566, "repo_name": "ihoneymon/spring-boot", "id": "42fbd2b934730216ea89fc569f7ec4d12591742c", "size":...
package org.vaadin.spring.samples.sidebar; import com.vaadin.server.FontAwesome; import com.vaadin.spring.annotation.UIScope; import com.vaadin.ui.Notification; import org.springframework.stereotype.Component; import org.vaadin.spring.sidebar.annotation.FontAwesomeIcon; import org.vaadin.spring.sidebar.annotation.Si...
{ "content_hash": "bfede3439765f5c74f06a8c50147ad29", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 78, "avg_line_length": 26.87878787878788, "alnum_prop": 0.7632468996617813, "repo_name": "zkendall/vaadin4spring", "id": "4d174d0c45687f188d830d67ade85240c178057c", "size":...
package org.apache.commons.dbcp2; import java.sql.Connection; import org.junit.Test; public class TestUtils { @Test public void testClassLoads() { Utils.closeQuietly((Connection) null); } }
{ "content_hash": "5e629a6d1ec6b33519291802aaec07a5", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 47, "avg_line_length": 14.466666666666667, "alnum_prop": 0.6820276497695853, "repo_name": "kmiku7/apache-commons-dbcp-annotated", "id": "4954b49838fc0e2cff59433ae0be492aa8b43...
<?php defined('BASE') or exit('No direct script access allowed!'); require_once BASE.'/app/model/base/BaseBO.php'; /** * Auto generated Model Class represents table 'user' * @author: Thin PHP Framework * @date: 2011-08-02 01:56 */ class User extends BaseBO { private $fields; private $userId; private $email;...
{ "content_hash": "f7675e7216d67a141fe002915f967dac", "timestamp": "", "source": "github", "line_count": 187, "max_line_length": 307, "avg_line_length": 28.55614973262032, "alnum_prop": 0.6443820224719101, "repo_name": "irtusb/sacft_v0", "id": "67184c2917df5fa3e0b75de8c5df483e8957d7f9", "size": "534...
ActiveRecord::Schema.define(:version => 20090604054128) do create_table "devfiles", :force => true do |t| t.integer "device_id" t.string "name" t.integer "size" t.string "path" t.string "description" t.string "filetype" t.datetime "created_at" t.datetime "updated_at" end ...
{ "content_hash": "dfd092326e0340b336a97dfb7c86ddff", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 67, "avg_line_length": 23.6, "alnum_prop": 0.608286252354049, "repo_name": "hpeltola/VisualREST", "id": "2fc25f17c87c0e9912eaaa073e807e7b4600c8fb", "size": "1777", "binar...
function addDog() { var dogObj = {}; dogObj.name = document.getElementById("name").value; dogObj.breed = document.getElementById("breed").value; dogObj.weight = document.getElementById("weight").value; dogObj.age = document.getElementById("age").value; if (document.getElementById("male").check...
{ "content_hash": "d211c475f0d5fad3aa5266324ae1d7c7", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 78, "avg_line_length": 34.645161290322584, "alnum_prop": 0.6508379888268156, "repo_name": "shaunriversagile/dog-tracker-web", "id": "2aaf7ff223e19a7db1f7143e0fca335be45fd891"...
using Signum.Entities.Authorization; using Signum.React.Facades; using Microsoft.AspNetCore.Mvc; using Signum.Utilities.Reflection; using Signum.Services; using Signum.Engine.Authorization; using Signum.React.Maps; using Microsoft.AspNetCore.Builder; using Signum.React.ApiControllers; using System.Text.Json; ...
{ "content_hash": "fe2182b6361b830268a7b06e1e2707ac", "timestamp": "", "source": "github", "line_count": 330, "max_line_length": 246, "avg_line_length": 37.912121212121214, "alnum_prop": 0.5553512908640397, "repo_name": "signumsoftware/framework", "id": "b251655ac3d032fae4eefddc0f663d9e4c2da11a", "s...
package com.amazonaws.services.cognitoidentity.model.transform; import static com.amazonaws.util.StringUtils.UTF8; import static com.amazonaws.util.StringUtils.COMMA_SEPARATOR; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.OutputStreamWriter; import java.io.StringWriter; i...
{ "content_hash": "3d61393c086b3fcdbe0c9e1b473ab5b9", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 103, "avg_line_length": 34.4625, "alnum_prop": 0.6982227058396808, "repo_name": "trasa/aws-sdk-java", "id": "a4c747b6b49404399c48c38a9cf52e493bb2b52a", "size": "3341", "b...
__author__ = 'SmileyBarry' import requests import sys import time from .consts import API_CALL_DOCSTRING_TEMPLATE, API_CALL_PARAMETER_TEMPLATE, IPYTHON_PEEVES, IPYTHON_MODE from .decorators import Singleton, cached_property, INFINITE from .errors import APIException, APIUnauthorized, APIKeyRequired, APIPrivate, APICo...
{ "content_hash": "731e3f03077bf1db9b399aca02931031", "timestamp": "", "source": "github", "line_count": 685, "max_line_length": 120, "avg_line_length": 39.465693430656934, "alnum_prop": 0.5747207220537102, "repo_name": "smiley/steamapi", "id": "3653b32f0991d35061c1b0a2457a6d7c453baa97", "size": "27...
FROM beevelop/java MAINTAINER Maik Hummel <m@ikhummel.com> ENV DIST_MIRROR="https://archive.apache.org/dist/nifi/" \ NIFI_HOME="/opt/nifi"\ NIFI_VERSION=0.4.1 WORKDIR /opt COPY init.sh /opt/init.sh RUN apt-get -qq update && apt-get -qq install -y curl && \ mkdir -p /opt/nifi && \ chmod +x init.sh &...
{ "content_hash": "41edb45c0e2633a22361a1e8c79703b1", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 166, "avg_line_length": 33.69565217391305, "alnum_prop": 0.6606451612903226, "repo_name": "beevelop/docker-nifi", "id": "4363aad14b30db3402bf40e1793aa319a6a3a51a", "size": ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_07) on Thu Sep 10 14:11:06 CST 2015 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>X-Index</title> <me...
{ "content_hash": "5f0efb19f87c6e5ea07902d932790349", "timestamp": "", "source": "github", "line_count": 279, "max_line_length": 700, "avg_line_length": 63.121863799283155, "alnum_prop": 0.6921810232241213, "repo_name": "yswheye/XCL-Charts", "id": "514ffb7ecca31075283b66cc9745e656e779b9bd", "size": ...
var App = require('app'); require('models/finished_upgrade_entity'); function getModel() { return App.finishedUpgradeEntity.create(); } describe('App.finishedUpgradeEntity', function () { var model; beforeEach(function () { model = getModel(); }); App.TestAliases.testAsComputedNotEqual(getModel(), '...
{ "content_hash": "338e20bc89d5c8a827441c8ce403ab2c", "timestamp": "", "source": "github", "line_count": 181, "max_line_length": 87, "avg_line_length": 24.795580110497237, "alnum_prop": 0.5412210338680927, "repo_name": "alexryndin/ambari", "id": "a2a9527db16cbdaf0cf83ffb037a51aceea5f0c7", "size": "5...
<?php namespace app\models; use Yii; //use yii\base\NotSupportedException; use yii\db\ActiveRecord; //use yii\helpers\Security; use yii\web\IdentityInterface; /** * This is the model class for table "user". * * @property integer $user_id * @property string $username * @property string $first_name * @property s...
{ "content_hash": "59cf662de0d875cc48bdcd71b36222a3", "timestamp": "", "source": "github", "line_count": 392, "max_line_length": 141, "avg_line_length": 26.757653061224488, "alnum_prop": 0.5413290113452188, "repo_name": "knichel/AIT2Yii2", "id": "561d7c23c8be0b87f22ee81b1f4a6b7f8565c71e", "size": "1...
import React, {Component, PropTypes} from 'react'; import {connect} from 'react-redux'; import Helmet from 'react-helmet'; import * as authActions from 'redux/modules/auth'; // import Select from 'react-select'; @connect( state => ({user: state.auth.user}), authActions) export default class Register extends Compon...
{ "content_hash": "090e5eaba22071495b5ad9b3840cf39c", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 130, "avg_line_length": 31.08974358974359, "alnum_prop": 0.551340206185567, "repo_name": "ercangursoy/react-dev", "id": "4dfb2cb1a4c291b385318ebf3d0a8c1028a2a8fa", "size": ...
.. _returners: ========= Returners ========= By default the return values of the commands sent to the Salt minions are returned to the Salt master, however anything at all can be done with the results data. By using a Salt returner, results data can be redirected to external data-stores for analysis and archival. R...
{ "content_hash": "3ccd29293d8fc72ee691785ec046e00c", "timestamp": "", "source": "github", "line_count": 392, "max_line_length": 108, "avg_line_length": 30.206632653061224, "alnum_prop": 0.6398952791149396, "repo_name": "saltstack/salt", "id": "16dd595683e04fbfcc58cbf57d3c2d133c3a1e42", "size": "118...
class Rzd module Commands; end class << self def get_trains( from, to, date ) require 'rzd/commands/get_trains' Rzd::Commands::GetTrains.new.execute( from, to, date ) end def get_coaches( from, to, date, train ) require 'rzd/commands/get_coaches' Rzd::Commands::GetCoaches.n...
{ "content_hash": "9fe0a0aa34d5442ae86eeef7e846e6c7", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 68, "avg_line_length": 18.08695652173913, "alnum_prop": 0.6418269230769231, "repo_name": "alno/rzd", "id": "9527cfe597a3d5429b38595b744f2830d27380a8", "size": "416", "bin...
<?php declare(strict_types=1); namespace IPFS\Console; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; class ApiBuildCommand extends Command { /** * @var \Closure */ private $builder; pu...
{ "content_hash": "c5ea7340144035120f353741b8cfe075", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 83, "avg_line_length": 21.225, "alnum_prop": 0.6348645465253239, "repo_name": "digitalkaoz/php-ipfs", "id": "1aa994f69662b669f3aa3a8c1e1cdc3199243d63", "size": "1091", "b...
package org.jboss.marshalling.util; import org.jboss.marshalling.Marshaller; import java.io.IOException; /** * A field putter for int-type fields. */ public class IntFieldPutter extends FieldPutter { private int value; /** {@inheritDoc} */ public void write(final Marshaller marshaller) throws IOExcep...
{ "content_hash": "609815e555e26ad51c0d09fa962d3dce", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 71, "avg_line_length": 19.303030303030305, "alnum_prop": 0.6169544740973313, "repo_name": "dongjiaqiang/jboss-marshalling", "id": "8985c2dbdcaf5ac44a33368bec8c1d4bb477c4b3", ...
module Zuora::Objects class InvoiceItem < Base belongs_to :invoice belongs_to :product belongs_to :rate_plan_charge belongs_to :subscription validates_presence_of :charge_amount, :charge_date, :charge_number, :invoice_id, :product_id, :product_name, :rate_plan_charge_id, :service_start_date...
{ "content_hash": "4802754ae00c0a01673576bb14b2225c", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 97, "avg_line_length": 46.2, "alnum_prop": 0.6907854050711194, "repo_name": "engineyard/zuora", "id": "4a6187fa14ac0a74eda2a11831dfdb0530f46658", "size": "1617", "binary"...
namespace extensions { // A TestExtensionsBrowserClient for AppShell tests. class ShellTestExtensionsBrowserClient : public TestExtensionsBrowserClient { public: // If provided, |main_context| must not be an incognito context. explicit ShellTestExtensionsBrowserClient( content::BrowserContext* main_context)...
{ "content_hash": "db220a00a9737c3cf1152508199c12e4", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 77, "avg_line_length": 37.69565217391305, "alnum_prop": 0.7993079584775087, "repo_name": "chromium/chromium", "id": "ef774569512fd8d63ad9226e49cec32f36bdf4af", "size": "121...
#ifndef BASE_LOGGING_H_ #define BASE_LOGGING_H_ #include <string> #include <cstring> #include <ios> #include <sstream> #include "base/basictypes.h" #include "base/log_severity.h" #include "base/scoped_ptr.h" #include "base/vlog_is_on.h" #if defined(_WINDOWS) && !defined(OS_WINDOWS) #define OS_WINDOWS #endif // Th...
{ "content_hash": "e1a21334a709a71f6212ee6de131cc6c", "timestamp": "", "source": "github", "line_count": 593, "max_line_length": 80, "avg_line_length": 41.21247892074199, "alnum_prop": 0.7010515978558861, "repo_name": "runt18/google-input-tools", "id": "78e1ddb64970ac00871e89f1e5c790da223b1f19", "si...
"use strict"; function parseFeature(feature) { return { properties: feature.properties, type: feature.geometry.type }; } function anyFeatures(geoJson) { return (geoJson.features && geoJson.features.length); } function validGeoJson(geoJson) { return (geoJson && geoJson.geometry); } function parseGeoJ...
{ "content_hash": "4d915db1301ba1510872123f3e57d2c2", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 56, "avg_line_length": 19.125, "alnum_prop": 0.6683006535947712, "repo_name": "rob-murray/gb-geojson", "id": "235879df60fd4d8ec6cc0b0b835b30f4997f406f", "size": "612", "b...
(function(){ JenScript.SymbolPointLayer = function(config) { this._init(config); }; JenScript.Model.inheritPrototype(JenScript.SymbolPointLayer, JenScript.SymbolLayer); JenScript.Model.addMethods(JenScript.SymbolPointLayer,{ _init : function(config){ config=config||{}; JenScript.SymbolLayer.call(this...
{ "content_hash": "fa52b4bd24900b7e1d5dc81ee7f753e8", "timestamp": "", "source": "github", "line_count": 238, "max_line_length": 164, "avg_line_length": 35.470588235294116, "alnum_prop": 0.5543710021321961, "repo_name": "sjanaud/jenscript", "id": "2024ff55befe14d57f30c97e4e6f41918021eafc", "size": "...
FROM alpine:3.6 MAINTAINER spxtr@google.com RUN apk add --no-cache git ca-certificates && update-ca-certificates COPY hook /hook ENTRYPOINT ["/hook"]
{ "content_hash": "90a9db52162b7869eea38dc1d4ada005", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 68, "avg_line_length": 21.714285714285715, "alnum_prop": 0.756578947368421, "repo_name": "rmmh/kubernetes-test-infra", "id": "06c7e538dd9e72754089e9dbd197273b9f87540b", "siz...
const winston = require('../logger'); module.exports = () => (args) => { // winston.info('getExtendedMetadata', args.id); winston.I.increment('sonos.wsdl.getExtendedMetadata'); return { getExtendedMetadataResult: { id: args.id, type: 'artist', }, }; };
{ "content_hash": "07c2a938a62e2ae498e15856f72aaed2", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 56, "avg_line_length": 21.76923076923077, "alnum_prop": 0.607773851590106, "repo_name": "switz/relisten_sonos", "id": "1630f36254103687968d448c07ed6c76f5b746ed", "size": "2...
 #pragma once #include <aws/servicecatalog/ServiceCatalog_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> namespace Aws { namespace ServiceCatalog { namespace Model { enum class RecordStatus { NOT_SET, CREATED, IN_PROGRESS, IN_PROGRESS_IN_ERROR, SUCCEEDED, FAILED }; namespa...
{ "content_hash": "4344d7399f3ccf451befdfe1903883a7", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 84, "avg_line_length": 19.774193548387096, "alnum_prop": 0.7536704730831973, "repo_name": "jt70471/aws-sdk-cpp", "id": "94f3d245fc594416414bb336976810099adc2348", "size": "...
<?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright 2014-2015 Daniel Pedraza-Arcega ~ ~ 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/L...
{ "content_hash": "7c8f379bf80273ec3f7aa41e6d0fcc99", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 76, "avg_line_length": 36.827586206896555, "alnum_prop": 0.6376404494382022, "repo_name": "Dreezydraig/rox-android", "id": "7592ef8ca8b894c14f5ef0bd244f292dccf70391", "size...
require File.expand_path('../application', __FILE__) # Initialize the Rails application. ToDoList::Application.initialize!
{ "content_hash": "552cbac8bd8a332846a0052caadcdb2f", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 52, "avg_line_length": 31, "alnum_prop": 0.7580645161290323, "repo_name": "Bedrock02/ToDoApp", "id": "80141e8e70344c7c7bd94d4bdd1acf1130d1775c", "size": "154", "binary": f...
__author__ = 'Georgios Rizos (georgerizos@iti.gr)' import itertools from itertools import islice, zip_longest import numpy as np def grouper(iterable, n, pad_value=None): """ Returns a generator of n-length chunks of an input iterable, with appropriate padding at the end. Example: grouper(3, 'abcdefg',...
{ "content_hash": "6336a41923afb49efd1d975e48f3856f", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 101, "avg_line_length": 29.086206896551722, "alnum_prop": 0.6271487848251334, "repo_name": "MKLab-ITI/reveal-user-annotation", "id": "079834fba7cd7698952619a941be14233716ea4d...
<?xml version="1.0" encoding="utf-8"?> <carbon.widget.LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height=...
{ "content_hash": "36e9749d091fb5cd2019faf786335ce1", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 86, "avg_line_length": 46.76470588235294, "alnum_prop": 0.5981132075471698, "repo_name": "Sai-Teja/Carbon", "id": "337a37c8d231e04a50bfb6ede8a28807e941ff92", "size": "1590"...
package com.alibaba.dubbo.common.serialize.support.java; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import com.alibaba.dubbo.common.URL; import com.alibaba.dubbo.common.serialize.ObjectInput; import com.alibaba.dubbo.common.serialize.ObjectOutput; import com.alibaba.dubbo.co...
{ "content_hash": "51165a6abb524dd739da671e283beb68", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 81, "avg_line_length": 25.61764705882353, "alnum_prop": 0.7416762342135477, "repo_name": "kaven12/dubboo", "id": "f0a0f0a249f804c6984b2925e343fb0702f0600c", "size": "1480",...
require 'spec_helper' describe Webpagetest do # Local variables let(:key){ "your_api_key" } let(:test_url){ "http://todomvc.com/architecture-examples/emberjs/" } let(:script){ "some_encoded_script" } let(:test_id) { "131004_GT_3A0" } let(:wpt) { Webpagetest.new(k: key) } # Test case when establishing a ...
{ "content_hash": "f292a6b80c233e931b40a09ef0daa2a0", "timestamp": "", "source": "github", "line_count": 155, "max_line_length": 87, "avg_line_length": 31.18064516129032, "alnum_prop": 0.6941858059176494, "repo_name": "sivicencio/webpagetest-ruby", "id": "9db31228d7b9a56c2175c3a78667344de4c8f724", "...
#pragma once // Dependencies #include "../ext/scalar_constants.hpp" #include "../geometric.hpp" #include "../trigonometric.hpp" #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED) # pragma message("GLM: GLM_EXT_matrix_clip_space extension included") #endif namespace glm { /// @addtogroup ext...
{ "content_hash": "c6a778dd1dd57d8892c04d1d3884c05b", "timestamp": "", "source": "github", "line_count": 504, "max_line_length": 182, "avg_line_length": 58.448412698412696, "alnum_prop": 0.7196007875619526, "repo_name": "kosua20/GL_Template", "id": "803b5a25cbe42905fa782b076e292f12818f0a64", "size":...
Rails.application.routes.draw do ################################################################################ # Root root :to => 'home#index' ################################################################################ # API v1 namespace :api do namespace :v1 do resource :api_key, :only...
{ "content_hash": "6268df452c4df75f598ff6cbcf54f8e1", "timestamp": "", "source": "github", "line_count": 124, "max_line_length": 144, "avg_line_length": 30.975806451612904, "alnum_prop": 0.5089820359281437, "repo_name": "Ch4s3/rubygems.org", "id": "5777f8e5a1a6c184f45daf71894563af6e42cbe1", "size": ...
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Example - example-example20-production</title> <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.7/angular.min.js"></script> <script src="script.js"></script> </head> <body ng-app="docsIsoFnBindExample"> <div ng-controll...
{ "content_hash": "e50dfe03056474d4457f8472ad36ca40", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 88, "avg_line_length": 22.61904761904762, "alnum_prop": 0.6631578947368421, "repo_name": "dlmitchell/angular_template", "id": "556f92760e600de317304f0ccb65e3b77f796382", "s...
This section is for developers who want to create a new aggregator plugin. ### Aggregator Plugin Guidelines * A aggregator must conform to the [telegraf.Aggregator][] interface. * Aggregators should call `aggregators.Add` in their `init` function to register themselves. See below for a quick example. * To be avail...
{ "content_hash": "bf25377284ff4b4202f8ef10285b2e40", "timestamp": "", "source": "github", "line_count": 130, "max_line_length": 82, "avg_line_length": 26.876923076923077, "alnum_prop": 0.6877504293073841, "repo_name": "sebito91/telegraf", "id": "a5930a3e0df6d3949436a1f646ed0045cfd18d7f", "size": "3...
wxDECLARE_EVENT(wxEVT_COMMAND_UPDATE_COMPARISON_PROGRESSBAR, wxThreadEvent); wxDECLARE_EVENT(wxEVT_COMMAND_UPDATE_COMPARISON_TEXT, wxThreadEvent); wxDECLARE_EVENT(wxEVT_COMMAND_UPDATE_PATCH_PROCCESS_PROGRESSBAR, wxThreadEvent); wxDECLARE_EVENT(wxEVT_COMMAND_UPDATE_PATCH_PROCCESS_COMPARISON_TEXT, wxThreadEvent); wxDEC...
{ "content_hash": "d606a00ed8d9070a13e60a9ceabe19a2", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 84, "avg_line_length": 31.548387096774192, "alnum_prop": 0.7413087934560327, "repo_name": "TheZoc/ZPatcher", "id": "62ab28cfc599f3fe98523d40d92455dd04c7f2e8", "size": "1711...
<?php namespace DTS\eBaySDK\Trading\Types; /** * * @property string $ExternalUserData * @property \DTS\eBaySDK\Trading\Types\SMSSubscriptionType $SMSSubscription * @property \DTS\eBaySDK\Trading\Types\SummaryEventScheduleType[] $SummarySchedule */ class NotificationUserDataType extends \DTS\eBaySDK\Types\BaseTy...
{ "content_hash": "f3496115e40e8c25a787c19dd29d11f4", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 116, "avg_line_length": 32.12280701754386, "alnum_prop": 0.5892954669579464, "repo_name": "spoilie/ebay-sdk-trading", "id": "445c1c99272c0bf504ffcedb3907947866561ff0", "siz...
using Terraria.ModLoader; using Terraria; using Microsoft.Xna.Framework; namespace ServerSideCharacter.ServerCommand { public class TPHereCommand : ModCommand { public override string Command { get { return "tphere"; } } public override CommandType Type { get { return CommandType.Chat; } } pub...
{ "content_hash": "8bbc80c899b2ef64f75af713fbe29a9a", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 80, "avg_line_length": 21.068181818181817, "alnum_prop": 0.6839266450916937, "repo_name": "bdfzchen2015/ServerSideCharacter", "id": "bb2994669b5886794b90988fad273e192e59368a"...
/* Primary color */ .home-message:hover {background-color:#2d5c88; background-color: rgba(45, 92, 136, 0.6);} nav.woocommerce-pagination ul li a:hover, .wp-pagenavi a:hover, .panel-heading .accordion-toggle, .variations .kad_radio_variations label:hover, .variations .kad_radio_variations label.selectedValue {border-col...
{ "content_hash": "0cd31bfd4ab9a53a976f4275c7c35452", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 299, "avg_line_length": 69.18518518518519, "alnum_prop": 0.734475374732334, "repo_name": "pmprete/brandt", "id": "50179b1f36bcf2b0d64bddd6e4e2cf37481fa7d0", "size": "3736",...
<head> <meta charset="utf-8"> <!-- Viewport and stylesheet at the top for better performance --> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> <link href='https://fonts.googleapis.co...
{ "content_hash": "a9d5f0a3e1fb3d98c1a928d9f39ca3c9", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 173, "avg_line_length": 45.34782608695652, "alnum_prop": 0.7200383509108341, "repo_name": "HunterLarco/venom-website", "id": "c5ce5c99423ce69ff04b14340a4cea1f1d84a446", "si...
FROM balenalib/solidrun-imx6-ubuntu:eoan-run ENV NODE_VERSION 15.7.0 ENV YARN_VERSION 1.22.4 RUN buildDeps='curl libatomic1' \ && set -x \ && for key in \ 6A010C5166006599AA17F08146C2130DFD2497F5 \ ; do \ gpg --keyserver pgp.mit.edu --recv-keys "$key" || \ gpg --keyserver keyserver.pgp.com --recv-keys "$key" ...
{ "content_hash": "af2b9d40e62ecbc8c85d565ad2299c0a", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 689, "avg_line_length": 64.31111111111112, "alnum_prop": 0.7045611610228059, "repo_name": "nghiant2710/base-images", "id": "d84c79d00e9361db2efaa068ca6fcc72334156d6", "size...
package io.debezium.connector.postgresql; import org.apache.kafka.connect.source.SourceRecord; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import io.debezium.connector.base.ChangeEventQueue; import io.debezium.connector.postgresql.connection.LogicalDecodingMessage; import io.debezium.connector.postgres...
{ "content_hash": "a4c6dce9b50d3ee7ebd6ed2fdcadb35a", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 155, "avg_line_length": 52.720588235294116, "alnum_prop": 0.7377963737796374, "repo_name": "debezium/debezium", "id": "aded9bb25abd7a53f2713364135812fe81c96e04", "size": "3...
January 15, 2018 15:22:13 Library.fmp12 - useSubsectionAndCurrentTimeStamp -1- test: test: useSubsectionAndCurrentTimeStamp # #Set up new test result information with this #result's information. Set Field [ TEMP::testSubsectionNameForSubject; tagReportTestSubjectSectionNAME::name ] Set Field [ TEMP::ktestSection; testl...
{ "content_hash": "17cc0236aed90268c11842073cbc0ac7", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 88, "avg_line_length": 58.6, "alnum_prop": 0.825938566552901, "repo_name": "HelpGiveThanks/Library", "id": "53b973a4eae5fb5b759d208e02316028668ec637", "size": "586", "bin...
<?php namespace ZendTest\Mvc\ResponseSender\TestAsset; use Zend\Console\Response; use Zend\Mvc\ResponseSender\ConsoleResponseSender as BaseConsoleResponseSender; use Zend\Mvc\ResponseSender\SendResponseEvent; class ConsoleResponseSender extends BaseConsoleResponseSender { /** * Send the response * ...
{ "content_hash": "454278c56ecdfa7b27e8fb5c7b3ff998", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 86, "avg_line_length": 28.483870967741936, "alnum_prop": 0.665911664779162, "repo_name": "mjaceSolutions/zf2", "id": "8804d45d8d90041c613acae87f41b8b8df2879eb", "size": "11...
// MonoGame - Copyright (C) The MonoGame Team // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. using System; using Microsoft.Xna.Framework.Graphics; using System.Drawing; namespace Microsoft.Xna.Framework.Content.Pipeline.Graphics { ...
{ "content_hash": "d03ab1e38adcac086a6b9d3dabf26a40", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 176, "avg_line_length": 36.263888888888886, "alnum_prop": 0.6177709689774032, "repo_name": "jonathanpeppers/MonoGameOrientation", "id": "bd54ef9f49e6acfc933086281cd9d174abd87...
import {Injectable} from "@angular/core" import {User} from "../_models/user"; @Injectable() export class SessionService { create(user: User) { sessionStorage.user = JSON.stringify(user); } destory() { delete sessionStorage.user; } isAuthenticated() { return sessionStorage.user && true; } ...
{ "content_hash": "a22a73fcb145a45bde5ccca61c885a19", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 53, "avg_line_length": 18, "alnum_prop": 0.6095679012345679, "repo_name": "CraigLee17/mockeryData", "id": "f0e223bd96e45dcf8643182df9ded860c83f60ba", "size": "648", "bina...
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <script src="resources/SVGTestCase.js"></script> <script src="../../resources/js-test.js"></script> <script src="../../paint/invalidation/resources/text-based-repaint.js"></script> </head> <body onload="runRepaintTest()"> <h1>SVG 1.1 dynamic update tests</h1>...
{ "content_hash": "c32fc0813d4b4aede207bfe599e84bfd", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 80, "avg_line_length": 32.857142857142854, "alnum_prop": 0.6869565217391305, "repo_name": "Samsung/ChromiumGStreamerBackend", "id": "29e4f239c3f6518e566f0f9c707d26afc2b93200"...
/* * This source code is provided to illustrate the usage of a given feature * or technique and has been deliberately simplified. Additional steps * required for a production-quality application, such as security checks, * input validation and proper error handling, might not be present in * this sample code. *...
{ "content_hash": "5d59b6a38a0eddfa84161357b19769bd", "timestamp": "", "source": "github", "line_count": 1357, "max_line_length": 112, "avg_line_length": 38.974944731024316, "alnum_prop": 0.5323413186106752, "repo_name": "rokn/Count_Words_2015", "id": "01a956e2968e65c5cff89b79b3c0afd535d2c5d4", "siz...
{ "title": "Developing a free statistics for undergrads in psychology textbook this summer. https://t.co/uQppEHK6eh Will update this tweet as we progress. Textbook written in #Rmarkdown, using #bookdown. Will publish as a web-book, with integrated #shiny apps. #ATextbookIsEatingMySummerBreak", "date": "2018-06-28" ...
{ "content_hash": "f357af4c4502d52fe6e6bfe1fbc3b540", "timestamp": "", "source": "github", "line_count": 123, "max_line_length": 437, "avg_line_length": 55.764227642276424, "alnum_prop": 0.7228458959031929, "repo_name": "yihui/twitter-blogdown", "id": "2d45b5326fb9160e95798769cb20329cc61fa784", "siz...
package vm import ea.{PhantomReferenceNode, _} import org.apache.bcel.generic.ConstantPoolGen import sai.bytecode.Method import sai.vm.{LocalVars, OpStack, Reference} case class Frame(method: Method, cpg: ConstantPoolGen, stack: OpStack, localVars: LocalVars, ...
{ "content_hash": "85145e3896d4cb5b319e02cf2d60ec66", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 100, "avg_line_length": 29.392857142857142, "alnum_prop": 0.6306196840826246, "repo_name": "oliverhaase/sai", "id": "31f0663d820f5080604451cfe17e854a0b517918", "size": "164...
package javas.lang; import org.junit.Test; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Map; /** * ProcessBuilder类用于创建操作系统进程。 * * @author sunny * @version 1.0.0 * @since 2015-04-16 */ public class ProcessBuilderTest { @Test public void t...
{ "content_hash": "dff86249d6c6a6b7993b3d88a534d5e8", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 118, "avg_line_length": 28.627450980392158, "alnum_prop": 0.6541095890410958, "repo_name": "sunlin901203/example-java", "id": "7a155361e3005e15ec99205e02735887a8180808", "s...
Web App Builder Widget To Add Feature Layers to the Map ======================================================== ## Description 1. Shows how to use getLayersVisibleAtScale 2. Shows how to use displayFieldsTable which is a part of jimu/dijit/SimpleTable
{ "content_hash": "10e5ad97c6bad32aae8dedb2fd9864c3", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 80, "avg_line_length": 32.125, "alnum_prop": 0.6186770428015564, "repo_name": "jgravois/developer-support", "id": "964bd4ba31ba188e204864c301926a29ac4f7473", "size": "257", ...
module Language.PureScript.Sugar (desugar, module S) where import Control.Monad import Control.Category ((>>>)) import Control.Monad.Trans.Class import Language.PureScript.Declarations import Language.PureScript.Errors import Language.PureScript.Supply import Language.PureScript.Sugar.Operators as S import Language....
{ "content_hash": "f046ba4886bf05c3e50675dc08d888a3", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 86, "avg_line_length": 34.38636363636363, "alnum_prop": 0.7382683410442828, "repo_name": "bergmark/purescript", "id": "5296f6e0b65ff0591a7ed882cdc1e67cccc7645c", "size": "1...
@interface ShopLastTableViewController : UITableViewController @end
{ "content_hash": "348075fb8c0d3c878b50113cd6ed7bef", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 62, "avg_line_length": 23, "alnum_prop": 0.8695652173913043, "repo_name": "watermeion/ColorCloudZone", "id": "3bc034066ee96efc9b384c20bc6a1e8ceed643a1", "size": "261", "bi...
<html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Test Document</title> </head> <body> </body> </html>
{ "content_hash": "18a0d47ba6b8c8015b81940fb4d50bc6", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 72, "avg_line_length": 21, "alnum_prop": 0.6623376623376623, "repo_name": "jayzamazing/react-trello", "id": "2da5fa448f1e97b274e6774163959f443be01608", "size": "231", "bi...
/* Copyright 2013 Google Inc. 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 d...
{ "content_hash": "dad55e51638c433925f4c468d6df3596", "timestamp": "", "source": "github", "line_count": 101, "max_line_length": 81, "avg_line_length": 23.217821782178216, "alnum_prop": 0.6567164179104478, "repo_name": "kubernetes/utils", "id": "25b824bcea4bc54fbb7179f9dbb6d815ff893c20", "size": "29...
// This is an internal header file intended to only be included as the // front-matter in the implementation files of various reduction ops. It // is a header file because we split the various reduction ops into their // own compilation units to get more parallelism in compilation. #ifndef TENSORFLOW_CORE_KERNELS_R...
{ "content_hash": "8792da3e83a2908c390dd71558b3693f", "timestamp": "", "source": "github", "line_count": 267, "max_line_length": 80, "avg_line_length": 38.02621722846442, "alnum_prop": 0.6644341573919039, "repo_name": "xodus7/tensorflow", "id": "d83e1c7d15d22f069318fcff603b133ac305813e", "size": "10...
using testing::_; using testing::Between; using testing::Invoke; using testing::Return; namespace base { namespace trace_event { // Testing MemoryDumpManagerDelegate which short-circuits dump requests locally // instead of performing IPC dances. class MemoryDumpManagerDelegateForTesting : public MemoryDumpManagerDele...
{ "content_hash": "e6fadc4a12461c5cd71483917c750ea5", "timestamp": "", "source": "github", "line_count": 343, "max_line_length": 80, "avg_line_length": 34.291545189504376, "alnum_prop": 0.7142492773337867, "repo_name": "chuan9/chromium-crosswalk", "id": "53c7d9250dab441711846adb0585bc2c0ed72819", "s...
package org.postgresql.jdbc3; import java.util.Map; import java.util.Properties; import java.sql.SQLException; /** * This class implements the java.sql.Connection interface for JDBC3. * However most of the implementation is really done in * org.postgresql.jdbc3.AbstractJdbc3Connection or one of it's parents */ p...
{ "content_hash": "61dda1ffe3e86c3bc5c65450d74e62f7", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 157, "avg_line_length": 36.75438596491228, "alnum_prop": 0.7336515513126491, "repo_name": "tivv/davepgjdbc", "id": "8d023e56be9ce4e749fdca19cad29eb6b5e8f02a", "size": "2439...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>jordan-curve-theorem: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstr...
{ "content_hash": "3ffda8dec7f20ba4f890fcba05c07e71", "timestamp": "", "source": "github", "line_count": 175, "max_line_length": 186, "avg_line_length": 42.18857142857143, "alnum_prop": 0.5574969524583503, "repo_name": "coq-bench/coq-bench.github.io", "id": "3a73fcbf7289b656987861bf0819866b02db951b", ...
URI parsing and manipulation for node.js and the browser. [![Build Status](https://travis-ci.org/derek-watson/jsUri.png)](https://travis-ci.org/derek-watson/jsUri) [![NPM](https://nodei.co/npm/jsuri.png)](https://nodei.co/npm/jsuri/) Pass any URL into the constructor: ```js var uri = new Uri('http://user:pass@www.t...
{ "content_hash": "f11e22657d528fd96449a06732d4a953", "timestamp": "", "source": "github", "line_count": 130, "max_line_length": 129, "avg_line_length": 27.184615384615384, "alnum_prop": 0.6013016411997736, "repo_name": "tambora-org/dockerCRE", "id": "d4a14d9eccd2fbe2e71934efc9ce1ba60eb4211a", "size...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Linq; using System.Reflection; using System.Windows.Forms; namespace NetOffice.DeveloperToolbox.ToolboxControls.RegistryEditor { /// <summary> /// Name edit host dialog /// </summary> [Resso...
{ "content_hash": "f89263acfe37f6a3b694f80c17e87ff1", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 197, "avg_line_length": 30.011363636363637, "alnum_prop": 0.5622870124952669, "repo_name": "NetOfficeFw/NetOffice", "id": "9046e38e942c78b1f7e15f5f372de85df76ce8c4", "size"...
from __future__ import unicode_literals, print_function, absolute_import default_app_config = "reviewers.apps.ReviewersConfig" review_group_name = "reviewers"
{ "content_hash": "e355aa163ecfe9eb909376e7068c7e6b", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 72, "avg_line_length": 27, "alnum_prop": 0.7777777777777778, "repo_name": "olea/PyConES-2016", "id": "94a81b72a5bcc33fc693f32a5dc59410c6be8c15", "size": "186", "binary": f...
> Play is a high-productivity Java and Scala web application framework that integrates the components and APIs you need for modern web application development. > > Play is based on a lightweight, stateless, web-friendly architecture and features predictable and minimal resource consumption (CPU, memory, threads) for h...
{ "content_hash": "1a466d3ef9b30fe9d493470d3ca70a11", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 236, "avg_line_length": 44.04545454545455, "alnum_prop": 0.760577915376677, "repo_name": "garbagetown/playdocja_issues", "id": "b352aa47f74c8a0267c425ccbe5d33725a7b004e", "...
require('proof')(1, prove) async function prove (okay) { const HashZero = new require('..'), sanity = require('../../sanity') const hash = await sanity.check(HashZero) okay(hash, '00000000', 'hashed correctly') }
{ "content_hash": "6209a4c90dce827168ff822fc7865403", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 72, "avg_line_length": 32.285714285714285, "alnum_prop": 0.6460176991150443, "repo_name": "bigeasy/hash", "id": "6fd2433c001247b4124740408929f9313dc19bac", "size": "226", ...
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.lang.jvm.annotation; /** * Represents a <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.7.16.1">value</a> * of a name-value ...
{ "content_hash": "4ca2fab11b008e316fcfa0f910be2f76", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 140, "avg_line_length": 44, "alnum_prop": 0.7449494949494949, "repo_name": "leafclick/intellij-community", "id": "ed00edd78e81576bde833b59e51cc5bac2069cba", "size": "396", ...
package com.khorn.terraincontrol.generator.resource; import com.khorn.terraincontrol.util.minecraftTypes.TreeType; import java.util.HashMap; import java.util.Map; /** * Represents all sapling types, including mushrooms. Note that not every * {@link TreeType} in Minecraft has its own sapling. * */ public enum Sap...
{ "content_hash": "524a337f18450c025ecc400d43ab22f2", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 89, "avg_line_length": 23.866666666666667, "alnum_prop": 0.6150837988826816, "repo_name": "LinkBR/TerrainControl", "id": "187ac11e514c1da238d67f8a4ec20eaaba2889fb", "size":...
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE QuasiQuotes #-} {-# LANGUAGE TemplateHaskell #-} {-# LANGUAGE DeriveDataTypeable #-} {- Runtime-independent formulation of the TodoMVC app. -} module Blaze.React.Examples.Todo ( app ) where import Prelude hiding (div) import Blaze.React ...
{ "content_hash": "e1e3d6b34a7890556e8033a868a23fdf", "timestamp": "", "source": "github", "line_count": 275, "max_line_length": 84, "avg_line_length": 33.694545454545455, "alnum_prop": 0.5391754802503778, "repo_name": "MoixaEnergy/blaze-react", "id": "c73f087054c3c17831a992eb4b7365e307f3e0e2", "siz...
/** * Created by donghyunkim on 2017. 5. 15.. */ import utility from '../utility/utility'; import config from '../utility/config'; import playControllerEvents from './playControllerEvents'; import privatePlayList from "../privateMethod/playList" import privatePlayController from "../privateMethod/playController" ...
{ "content_hash": "fec0f9cc97c7a689b8e586be79748c78", "timestamp": "", "source": "github", "line_count": 184, "max_line_length": 155, "avg_line_length": 29.70108695652174, "alnum_prop": 0.5399817017383348, "repo_name": "DongHyunKims/jinniecast", "id": "0c2695f2c6536756223d5cf530445b70908f3e3a", "siz...
`status-reconciler` ensures that changes to blocking presubmits in Prow configuration while PRs are in flight do not cause those PRs to get stuck. When the set of blocking presubmits changes for a repository, one of three cases occurs: - a new blocking presubmit exists and should be triggered for every trusted pull ...
{ "content_hash": "1700a0310323805b393bf34208e23c5b", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 100, "avg_line_length": 57.8, "alnum_prop": 0.8027681660899654, "repo_name": "ixdy/kubernetes-test-infra", "id": "740a6f0adbf6b1bcd0de04006b4f817c1170d614", "size": "890", ...
using System; using Xamarin.Forms; namespace FormsGallery { class ProgressBarDemoPage : ContentPage { ProgressBar progressBar; bool isActiveWindow; public ProgressBarDemoPage() { Label header = new Label { Text = "ProgressBar", FontS...
{ "content_hash": "5aff3efe147f5ac0dac5debf34db34ef", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 72, "avg_line_length": 23.767857142857142, "alnum_prop": 0.49361382419233657, "repo_name": "haithemaraissia/xamarin-forms-windows-preview", "id": "d72963206f750564b03dc5bad77...
import * as React from 'react'; import * as ReactDom from 'react-dom'; import { Version } from '@microsoft/sp-core-library'; import { BaseClientSideWebPart, IPropertyPaneConfiguration, PropertyPaneTextField } from '@microsoft/sp-webpart-base'; import * as strings from 'organisationChartStrings'; import Organisat...
{ "content_hash": "4a3b829ee2dfad702da7fb0321f3d4d8", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 109, "avg_line_length": 29.39622641509434, "alnum_prop": 0.6636713735558408, "repo_name": "rgarita/sp-dev-fx-webparts", "id": "0e6661c8d84f98d196d190fce9d95b2ace57ca70", "s...
<? require __DIR__.'/../php/cars_settings.php'; ?> <div id="cardetail"></div> <div id="searchcontainer"> <form id="controls" autocomplete="off"> <input type="hidden" name="curr" value="page" /> <input type="hidden" name="prev" /> <input type="hidden" name="section" value="<?= $_GET[section] ?>" /> <input type...
{ "content_hash": "283567569575de4e4c0268225ba6792d", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 71, "avg_line_length": 22.613636363636363, "alnum_prop": 0.549748743718593, "repo_name": "merqwaardig/autototaalhaarlem", "id": "cba1d14ab9c85cdbbbf88baa5fa706fc166206fe", ...
 #include <aws/panorama/model/NodeInterface.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace Panorama { namespace Model { NodeInterface::NodeInterface() : m_inputsHasBeenSet(false), m_outputsHasBe...
{ "content_hash": "a1b037f8d526080e72fefc8ccfa5f958", "timestamp": "", "source": "github", "line_count": 87, "max_line_length": 94, "avg_line_length": 23.632183908045977, "alnum_prop": 0.7096303501945526, "repo_name": "aws/aws-sdk-cpp", "id": "66ca2b534d88c5d6e744920769af3747079c8284", "size": "2175...
@interface NavigationController : UINavigationController <UIGestureRecognizerDelegate> @end
{ "content_hash": "d690bf64c37898b34dc277a335d4eb25", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 86, "avg_line_length": 31, "alnum_prop": 0.8709677419354839, "repo_name": "spromicky/iOSTransitionWorkshop", "id": "9a87f350139094dc166011093f612f36a2bfd68f", "size": "269",...
<?php /** * enumerations for the class names * * @author Josh Clark */ class Types { const Process = "Process"; const DataStore = "DataStore"; const Multiprocess = "Multiprocess"; const ExternalInteractor = "ExternalInteractor"; const DataFlow = "DataFlow"; const DataFlowDiagram = "DataFlo...
{ "content_hash": "0caabd01940fc93645f5d4b9c7c3d0e4", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 52, "avg_line_length": 14.464285714285714, "alnum_prop": 0.6469135802469136, "repo_name": "IndustrialDragonfly/DEdC", "id": "43e1ef187b011e8ab871bd8787bd49da11887aee", "siz...
package com.questionnaire.ssm.module.resultAnalysis.pojo; /** * Created by 郑晓辉 on 2017/5/30. * Description: 原始调查问卷全部选项信息 */ public class QuestionOptionAnalyzeDTO { //选项顺序 private int optionOrder; //选项内容 private String optionContent; //选项在答卷中选中的次数 private int selectedCount; @Override ...
{ "content_hash": "404217c2b96294acd04cfa4a3e35c2b0", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 60, "avg_line_length": 23.638297872340427, "alnum_prop": 0.6228622862286228, "repo_name": "Harveychn/questionnaire", "id": "0b58cdd0aa493d84a48ceb5e9289a17df1fe3d57", "size...
from swgpy.object import * def create(kernel): result = Intangible() result.template = "object/draft_schematic/structure/city/shared_garden_small.iff" result.attribute_template_id = -1 result.stfName("string_id_table","") #### BEGIN MODIFICATIONS #### #### END MODIFICATIONS #### return result
{ "content_hash": "e930d082fd0089b0541f27bbd95885c5", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 82, "avg_line_length": 23.923076923076923, "alnum_prop": 0.6977491961414791, "repo_name": "anhstudios/swganh", "id": "c117786085a1e00d99a8b3d78e8313ffd5021be9", "size": "45...
<?xml version="1.0" encoding="utf-8"?><!-- ~ Copyright (C) 2016 dest16 ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~...
{ "content_hash": "84b956305884e0048cb3d30b3ba33274", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 76, "avg_line_length": 40.76744186046512, "alnum_prop": 0.688533941814033, "repo_name": "dest16/MoeViewer", "id": "3b7c9f2b1e8dab7ee83cd2ea53cb20650482b0d1", "size": "1753"...
package io.confluent.kafka.schemaregistry.client.rest.entities; import com.fasterxml.jackson.annotation.JsonProperty; public class Schema implements Comparable<Schema> { private String subject; private Integer version; private Integer id; private String schema; public Schema(@JsonProperty("subject") Strin...
{ "content_hash": "fa2672840258820df71ba39086b817a7", "timestamp": "", "source": "github", "line_count": 117, "max_line_length": 63, "avg_line_length": 21.905982905982906, "alnum_prop": 0.6168552477565353, "repo_name": "hkropp/schema-registry", "id": "d4365e667af98c9c4142627f5f7728f5ae4ce0ac", "size...
@interface Expression : NSObject - (instancetype)initWithExpression:(NSString*)expression; - (void)setExpression:(NSString*)expression; - (NSNumber*)operation; @end
{ "content_hash": "b838f8bfcc3528540a9c13e1e7aa8fcf", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 57, "avg_line_length": 23.857142857142858, "alnum_prop": 0.7784431137724551, "repo_name": "Everyb0dyLies/University-Programming-Exercise", "id": "6076e3c34c27ed5499e6f0c6af119...
const handleError = function(e){ socket.logger.error(e.message); }; const refreshShare = async function(activeTasks){ if(activeTasks.filter(task => task.type=='refresh_all').length == 0){ socket.post('share/refresh',{ priority_type: 'normal' }); }else{ socket.post('event...
{ "content_hash": "c7d194510870ddcf63f8d4fc0250b11c", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 73, "avg_line_length": 28.6, "alnum_prop": 0.6031468531468531, "repo_name": "zersetz-end/airdcpp-runscript-extension", "id": "90569c1cb4b75885dffc7c5d1a18e724ea9ede36", "si...
/* * JBox2D - A Java Port of Erin Catto's Box2D * * JBox2D homepage: http://jbox2d.sourceforge.net/ * Box2D homepage: http://www.box2d.org * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of t...
{ "content_hash": "7741d3b8fe3b8e8bdd4db264d1850d8f", "timestamp": "", "source": "github", "line_count": 334, "max_line_length": 96, "avg_line_length": 28.122754491017965, "alnum_prop": 0.6339827531140211, "repo_name": "scan/Nicol", "id": "37e25461f6b7de9b378dd8d46dfc1c971e4ad0e2", "size": "10916", ...
import sys import os # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. sys.path.insert(0, os.path.abspath('../../')) # -- General ...
{ "content_hash": "5dced5f1a515b1ea4224ab40357c32e2", "timestamp": "", "source": "github", "line_count": 277, "max_line_length": 79, "avg_line_length": 32.64259927797834, "alnum_prop": 0.7039371820393718, "repo_name": "bepetersn/gmail_client", "id": "f53b65772e7010f25a5c3a8074106b53c10f09c6", "size"...
function [D_map,seedIndex]=patchMarchDistMap(F,V,indStart,options) try [D_map,~,seedIndex] = perform_fast_marching_mesh(V',F',indStart,options); % See: www.numerical-tours.com catch warning('Missing external functions using experimental code instead!') numPoints=size(V,1); [~...
{ "content_hash": "e6acb6cda63aebd198ec4377cc55f0c1", "timestamp": "", "source": "github", "line_count": 96, "max_line_length": 112, "avg_line_length": 32.333333333333336, "alnum_prop": 0.5844072164948454, "repo_name": "dverschuren/GIBBON", "id": "e5e11af58467e5eb2c373ca645a5dfa0aec47a6d", "size": "...
package com.olvind.crud package server import com.olvind.stringifiers.Stringifier import slick.lifted.CanBeQueryCondition trait tableRefs extends tableMetadata with executionContexts { import driver.api._ /** * A reference to a slick table * The names of type parameters of this table abstraction are reu...
{ "content_hash": "a96b481efa66d3a12af280b02034ba36", "timestamp": "", "source": "github", "line_count": 115, "max_line_length": 134, "avg_line_length": 43.81739130434783, "alnum_prop": 0.548719984123834, "repo_name": "elacin/slick-crud", "id": "21663c40d5e8a0ae3f5e57aefcc0e008783a257b", "size": "50...
# Developer guide for Usage of MPU Regions in TizenRT ## CONTENTS - [Overview](#overview) - [How to enable MPU](#how-to-enable-mpu) - [How to control MPU](#how-to-control-mpu) - [MPU Usages of platform](#mpu-usages-of-platform) - [Sample memory layout of MPU regions](#sample-memory-layout-of-mpu-regions) - [Appendix](...
{ "content_hash": "9bafeedc512fe66f6a55b18d20b6d653", "timestamp": "", "source": "github", "line_count": 280, "max_line_length": 262, "avg_line_length": 48.68928571428572, "alnum_prop": 0.5857111420817135, "repo_name": "pillip8282/TizenRT", "id": "d4e4c63482363c2ea77a788d7d0ac5ad866c8784", "size": "...
package moe.minori.pgpclipper; import android.app.Notification; import android.app.NotificationChannel; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.content.ClipDescription; import android.content.ClipboardManager; import android.content.Intent; i...
{ "content_hash": "8264cc4dd2586dfb05ed97c2c0f5e945", "timestamp": "", "source": "github", "line_count": 164, "max_line_length": 217, "avg_line_length": 40.31707317073171, "alnum_prop": 0.5978523895946763, "repo_name": "Mnkai/PGPClipper", "id": "2fdd2a5afce28dd59b5e23c136f25f2241566839", "size": "66...
require 'open-uri' class PagesController < ApplicationController def home end def api zip = params[:zip] uri = 'http://api.wunderground.com/api/' + Rails.application.secrets.wunder_key_d + '/hourly/q/' + zip + '.json' j = JSON.parse(open(uri).read) render json: j end end
{ "content_hash": "765066c8bc0e7335eb3779cc681f62ed", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 116, "avg_line_length": 22.923076923076923, "alnum_prop": 0.6577181208053692, "repo_name": "mathyoumore/BringAnUmbrella", "id": "628a6020d7f8a25834fde490138af551ad609a71", ...
require 'test_helper' class StatusSettingTest < ActiveSupport::TestCase should_have_one :status should_validate_presence_of :code, :message, :title should_validate_uniqueness_of :code should_validate_numericality_of :code, :permissions end
{ "content_hash": "de7dbccbb9d5e0713229d4e21e265c5c", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 53, "avg_line_length": 22.90909090909091, "alnum_prop": 0.7738095238095238, "repo_name": "cpjobling/Proman2", "id": "0841be1ee63feeb58db7536b2e221c6c32de9a99", "size": "872...