text
stringlengths
2
1.04M
meta
dict
//--------------------------------------------------------------------- // <copyright file="DataSourceManager.cs" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //-----------------------------------...
{ "content_hash": "eca203c709ab459c2d130077c4b87906", "timestamp": "", "source": "github", "line_count": 109, "max_line_length": 160, "avg_line_length": 41.04587155963303, "alnum_prop": 0.5708538220831471, "repo_name": "mijin2185/odata.net", "id": "eed6dbc0ea41025c946ba0b3595b6d35bee47321", "size": ...
<?php namespace Kris\LaravelFormBuilder\Fields; use Kris\LaravelFormBuilder\Form; class ChildFormType extends ParentType { /** * @var Form */ protected $form; /** * @inheritdoc */ protected function getTemplate() { return 'child_form'; } /** * @return F...
{ "content_hash": "1c54b553aa52833a01aebd4ee9ebbe8f", "timestamp": "", "source": "github", "line_count": 129, "max_line_length": 86, "avg_line_length": 23.54263565891473, "alnum_prop": 0.47942048073757, "repo_name": "kristijanhusak/laravel4-form-builder", "id": "0c6dda3f63f87b8d48c587ed62be7552762bd5b...
const Sequelize = require('sequelize'); const db = require('../_db'); const EventType = db.define('eventType', { name: { type: Sequelize.STRING } }, { } ); module.exports = EventType;
{ "content_hash": "91b0d3fa8c2e6e7baed587bffa0d5102", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 42, "avg_line_length": 13.928571428571429, "alnum_prop": 0.6256410256410256, "repo_name": "quirkycorgi/Agamari", "id": "8ae7be63dc8ff14b1e7c56048fb367d13f518e48", "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 --> <title>TextInterpreter (GWT Javadoc)</title> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> <script ty...
{ "content_hash": "ef7653e02eee54518d5d36764b1ee9c3", "timestamp": "", "source": "github", "line_count": 290, "max_line_length": 391, "avg_line_length": 39.748275862068965, "alnum_prop": 0.6646135160926521, "repo_name": "dougkoellmer/swarm", "id": "f9e43f9b18d6162e6a3a25d53ce69160cc97816d", "size": ...
#import <Foundation/Foundation.h> struct CKComponentContextPreviousState { id key; id originalValue; id newValue; }; @protocol CKComponentContextDynamicLookup <NSObject> - (id)contextValueForClass:(Class)c; @end struct CKComponentContextContents { /** The items stored in CKComponentContext. */ NSDictiona...
{ "content_hash": "f903f2f17bcc77aa3e7a29091bb44f97", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 115, "avg_line_length": 42, "alnum_prop": 0.782258064516129, "repo_name": "eczarny/componentkit", "id": "05733a8bed63994aec392960b3dcd0719ed168fe", "size": "2919", "binar...
/* nvd3 version 1.8.3-dev (https://github.com/novus/nvd3) 2016-04-26 */ (function(){ // set up main nv object var nv = {}; // the major global objects under the nv namespace nv.dev = false; //set false when in production nv.tooltip = nv.tooltip || {}; // For the tooltip system nv.utils = nv.utils || {}; // Utility su...
{ "content_hash": "e5b4230bc84c1fa4402039906421e4b9", "timestamp": "", "source": "github", "line_count": 14622, "max_line_length": 219, "avg_line_length": 41.476337026398575, "alnum_prop": 0.46845912473390966, "repo_name": "wlngai/granula", "id": "df85e71cb125f87f41cccdb2d36e1cff452258da", "size": "...
<?php // @todo write documentation for this config file // @todo allow users to create their own layout scheme as a separate plugin App::import('Vendors','Estilista.tools'); $palette = array( 'text' => new Color( 0, 0, 0), 'bg' => new Color(255,255,255) ); // @todo create tests for it to really allow same...
{ "content_hash": "143a080f29bd7829e9d3fbb66f4a91dc", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 86, "avg_line_length": 25.074074074074073, "alnum_prop": 0.6184145741014279, "repo_name": "hugomelo/ralsp", "id": "1b13ddb108b82ab410843930c74daa72d80d2d43", "size": "2485"...
<!doctype html> <html> <head> <title>{{ title }}</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> </head> <body> {% block body %} ...
{ "content_hash": "3bfd1a42e4d5972ae2cc225290a126fe", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 110, "avg_line_length": 29.666666666666668, "alnum_prop": 0.6320224719101124, "repo_name": "andrewskaggs/lunch-tools", "id": "00acdbdd053520816c3a9355c1e277ac30d63ddd", "si...
/** * Created by leo on 1/20/15. */ var should = require('should'); var request = require('superagent'); describe("serverError Response test !", function() { describe("test serverError request !", function() { it("should response serverError view !", function(done) { request.get(sails.getBaseurl()+"/ap...
{ "content_hash": "d4192258d2e19ce1ad0ff2266f061468", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 68, "avg_line_length": 24.428571428571427, "alnum_prop": 0.5925925925925926, "repo_name": "no7dw/warning-system", "id": "6194468bcfad481dee9acdac5b14da38c645eb27", "size": ...
<!-- /* --> <!doctype html> <title>resolving broken url</title> <link rel=help href="http://www.whatwg.org/html/#dom-sharedworker"> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <div id="log"></div> <script> test(function() { assert_throws("SyntaxError", fun...
{ "content_hash": "a8a80a59a731e2b9f232b2f774c1c85a", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 67, "avg_line_length": 21.94736842105263, "alnum_prop": 0.645083932853717, "repo_name": "google-ar/WebARonARCore", "id": "2ca3d93d3e8fa2a16a557370fe85bca3952e1713", "size":...
package persistentvolume import ( "reflect" "testing" "github.com/kubernetes/dashboard/src/app/backend/api" "github.com/kubernetes/dashboard/src/app/backend/resource/dataselect" v1 "k8s.io/api/core/v1" storage "k8s.io/api/storage/v1" metaV1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/kubernetes/...
{ "content_hash": "e42a7e94d02fa04bba535b57eef7aef9", "timestamp": "", "source": "github", "line_count": 95, "max_line_length": 92, "avg_line_length": 27.05263157894737, "alnum_prop": 0.6614785992217899, "repo_name": "kenan435/dashboard", "id": "9b178c6728cf5ed69e9b1c95046d1a8d24a2fec9", "size": "31...
title: Deployment Checklist sidebar_label: Checklist --- ## Set the Node.JS environment to `production` Set the `NODE_ENV` (or `FOAL_ENV`) environment variable to `production`. ```bash NODE_ENV=production npm run start ``` ## Use HTTPS You must use HTTPS to prevent [man-in-the-middle attacks](https://en.wikipedia...
{ "content_hash": "593c09c42500a6263ddb79dced7a3dd5", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 280, "avg_line_length": 26.352272727272727, "alnum_prop": 0.7524795170332039, "repo_name": "FoalTS/foal", "id": "2e86cfa5fc86cc24285a49fe5979da305c4263f0", "size": "2323", ...
// Copyright 2014 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
{ "content_hash": "cf2c9a286a0f282bab9ca6b957c1b90b", "timestamp": "", "source": "github", "line_count": 209, "max_line_length": 100, "avg_line_length": 35.49760765550239, "alnum_prop": 0.6885024935975199, "repo_name": "anupcshan/bazel", "id": "7c5e47686961e51dbcaea84727637c466f1343ef", "size": "741...
package org.teachingkidsprogramming.section03ifs; import java.awt.Color; import org.teachingextensions.approvals.lite.util.ThreadUtils; import org.teachingextensions.logo.Tortoise; import org.teachingextensions.logo.utils.ColorUtils.PenColors; import org.teachingextensions.logo.utils.EventUtils.MessageBox; public cl...
{ "content_hash": "83c9a3b54610abf4e17cee2c4858fb7d", "timestamp": "", "source": "github", "line_count": 115, "max_line_length": 119, "avg_line_length": 32.00869565217391, "alnum_prop": 0.634881825590872, "repo_name": "91096008/TeachingKidsProgramming", "id": "f89699d17360a27568b1c0866ffe6ff27272b528"...
package com.freshplanet.ane.AirAmazonMP3.functions; import android.content.pm.PackageManager; import com.adobe.fre.FREContext; import com.adobe.fre.FREObject; public class HasAmazonMP3AppFunction extends BaseFunction { @Override public FREObject call(FREContext context, FREObject[] args) { super.call(context, ...
{ "content_hash": "ceb464fc6a5d6022dcfc62224ce79846", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 82, "avg_line_length": 23.058823529411764, "alnum_prop": 0.7487244897959183, "repo_name": "freshplanet/ANE-AmazonMP3", "id": "9bd9e04b1443dcf389a90f68d964ca7c19902364", "si...
{% macro edit_link(value, endpoint) %} {% if value.can_edit() %} <a href="{{ url_for(endpoint + '.edit_view', id=value.id) }}" target="_blank"><span class="fa fa-pencil glyphicon glyphicon-pencil"></span></a> {% endif %} {% endmacro %} {% macro detail_link(value, endpoint) %} {% if value.can_view_d...
{ "content_hash": "6a6036290d0fd9923b5e67401ce81a49", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 153, "avg_line_length": 47.61290322580645, "alnum_prop": 0.5785907859078591, "repo_name": "betterlife/flask-psi", "id": "2be83a22aca21654bd753d1b6bf372ca14b4eb83", "size": ...
package de.jpaw.util; import java.io.FileInputStream; import java.io.InputStream; import java.nio.file.Paths; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public final class ConfigurationReaderFactory { private static final Logger L...
{ "content_hash": "ed0f3b477e3b9c8e3cafac02e5a258f8", "timestamp": "", "source": "github", "line_count": 92, "max_line_length": 144, "avg_line_length": 49.32608695652174, "alnum_prop": 0.6846628470691934, "repo_name": "jpaw/jpaw", "id": "63f43af39500b5a506ad7338130e1bad8c3b8e5f", "size": "4538", "...
<?php namespace Drupal\Component\Plugin\Exception; /** * Generic Plugin exception class to be thrown when no more specific class * is applicable. */ class PluginException extends \Exception implements ExceptionInterface { }
{ "content_hash": "fe9a775aed6a3e4e148cde32662fe529", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 74, "avg_line_length": 25.444444444444443, "alnum_prop": 0.777292576419214, "repo_name": "sweimer/ICFID8", "id": "49a12cabc664d3bbe37d81f627e2646b84015cdc", "size": "229", ...
using System; using System.Reflection; using System.Diagnostics; using System.Globalization; using System.Collections.Generic; using System.Reflection.Runtime.General; using System.Reflection.Runtime.TypeInfos; using System.Reflection.Runtime.ParameterInfos; using System.Runtime.InteropServices; using Internal.Reflect...
{ "content_hash": "1b52585ce0be21652a995051feef6b0a", "timestamp": "", "source": "github", "line_count": 108, "max_line_length": 179, "avg_line_length": 43.2037037037037, "alnum_prop": 0.6735962280325761, "repo_name": "krytarowski/corert", "id": "5fa00d9c2c90de9520d0d69375726c659b828180", "size": "4...
import path = require('path'); import tl = require('vsts-task-lib/task'); import sign = require('ios-signing-common/ios-signing-common'); import utils = require('./xcodeutils'); import { ToolRunner } from 'vsts-task-lib/toolrunner'; async function run() { try { tl.setResourcePath(path.join(__dirname, 'tas...
{ "content_hash": "7843ece24dee3d0828d6c6bd5186fe70", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 113, "avg_line_length": 35.87179487179487, "alnum_prop": 0.6061472480343102, "repo_name": "alexmullans/vsts-tasks", "id": "b3f183044f2acd401e6e89e7aa9778dcf2f84f51", "size"...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (t...
{ "content_hash": "c7618cde67dfb27ab2d4efe20815817d", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 90, "avg_line_length": 44.05194805194805, "alnum_prop": 0.6571344339622641, "repo_name": "cosmosgenius/brackets", "id": "6f8e516c7877e6eb0c98496d959a3a8601c9ce47", "size": ...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <title>Boo...
{ "content_hash": "6206f5b656fc82eb1b26f80f6005b026", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 117, "avg_line_length": 33.770833333333336, "alnum_prop": 0.5249845774213449, "repo_name": "ijlhjj/webclient", "id": "cc0066e34ed9ce9dda0bbcd835e269e11ec5327d", "size": "16...
from functools import partial import time import os import tensorflow.compat.v2 as tf tf.enable_v2_behavior() import bit_common import bit_hyperrule import bit_tf2.models as models import input_pipeline_tf2_or_jax as input_pipeline def reshape_for_keras(features, batch_size, crop_size): features["image"] = tf.res...
{ "content_hash": "15d26e15e05c54b9ad8948c9bb5f1c3c", "timestamp": "", "source": "github", "line_count": 136, "max_line_length": 90, "avg_line_length": 35.330882352941174, "alnum_prop": 0.6795005202913632, "repo_name": "google-research/big_transfer", "id": "5292887839d96f884e66a35882199fa15baff319", ...
![](http://g.recordit.co/H6CrT7zhmG.gif) Logs will show up immediately after you run the code. You can also access historical logs by clicking on the Logs button at the top right corner on the Code page for a service.
{ "content_hash": "965b13430ac41fed24184bd9ce05fb60", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 176, "avg_line_length": 37, "alnum_prop": 0.7612612612612613, "repo_name": "njosefbeck/clay-docs", "id": "3102a8494f4cf1504d9e9bcd2a9ea5a4a2e04120", "size": "261", "binary...
package org.apache.bookkeeper.metadata.etcd; import com.coreos.jetcd.data.ByteSequence; import com.coreos.jetcd.options.WatchOption; import com.coreos.jetcd.watch.WatchResponse; import com.coreos.jetcd.watch.WatchResponseWithError; import java.util.concurrent.CompletableFuture; import java.util.concurrent.CopyOnWrit...
{ "content_hash": "4375368772744d02cb885a52a763f2f6", "timestamp": "", "source": "github", "line_count": 99, "max_line_length": 89, "avg_line_length": 28.252525252525253, "alnum_prop": 0.628888094386843, "repo_name": "sijie/bookkeeper", "id": "ad3b6a38907a81e2c41be17f67921c3e4e884938", "size": "3602...
jQuery( document ).ready( function() { // Choose a customer in Order administration panel jQuery( document ).on( 'change', '#user_customer_id', function() { jQuery( '#wps_orders_selected_customer' ).val( jQuery( '#user_customer_id' ).chosen().val() ); refresh_customer_informations_admin(); }); // Cre...
{ "content_hash": "2dc11cef7358e9bbc15a10fa9b9282da", "timestamp": "", "source": "github", "line_count": 98, "max_line_length": 97, "avg_line_length": 38.714285714285715, "alnum_prop": 0.5561412756984713, "repo_name": "fedeB-IT-dept/fedeB_website", "id": "262f00718315e32a35b377a1c2de22e2b8dbca88", "...
""" pyexcel.plugin.parsers.django ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Export data into database datables :copyright: (c) 2015-2017 by Onni Software Ltd. :license: New BSD License """ import pyexcel_io.database.common as django from pyexcel_io import get_data, iget_data from pyexcel.parser impor...
{ "content_hash": "953dc617215e625c8b0d67f4924b2785", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 78, "avg_line_length": 33.878787878787875, "alnum_prop": 0.6082289803220036, "repo_name": "caspartse/QQ-Groups-Spider", "id": "a2bf1b155a32c1d3375b9134de4f54a683270cfa", "s...
<!DOCTYPE html> <html> <head> <script> window.onload = function() { document.getElementById("two").animate([ { baselineShift: "sub" }, { baselineShift: "super" } ], { duration: 4000, delay: 2000 }); }; window.onload = function() { document.getElementById("three").animate([ { baselineShift: "sub" }, { baselineShif...
{ "content_hash": "dc2e5271ac4aa9a8143588c411b4978b", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 165, "avg_line_length": 35.44827586206897, "alnum_prop": 0.6089494163424124, "repo_name": "translate-smil/translate-smil", "id": "dafa516463abf6ea9214eba3ded29291026f6167", ...
using rtps.messages.elements; using System.Collections.Generic; namespace rtps.messages.submessage.interpreter { /// <summary> /// This message is sent from an RTPS Reader to an RTPS Writer. It contains /// explicit information on where to send a reply to the Submessages that follow /// it within the sa...
{ "content_hash": "754629d7d7d5726f6e32e72cfec7bb5e", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 93, "avg_line_length": 33.9277108433735, "alnum_prop": 0.59375, "repo_name": "agustinsantos/DOOP.ec", "id": "c7f1bdc77d17e17f01d21326ff1830b6e2deb1ac", "size": "2817", "b...
package com.intellij.util.xml; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Annotates 'primary key' methods. Elements whose primary key methods return the same * will be merged together in coll...
{ "content_hash": "b5e59eb6bf256fc37468717f0c071be8", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 92, "avg_line_length": 27.88888888888889, "alnum_prop": 0.7868525896414342, "repo_name": "google/intellij-community", "id": "71c4508544e216c064b854afbfa71e304eec6736", "siz...
 using System; using System.Collections.Generic; using System.Threading; using ZyGames.Framework.Cache.Generic; using ZyGames.Framework.Common.Log; using ZyGames.Framework.Common.Serialization; using ZyGames.Framework.Game.Cache; using ZyGames.Framework.Collection; using ZyGames.Framework.Game.Model; using Z...
{ "content_hash": "53d086cd6db4569cb24a7da033d7c44e", "timestamp": "", "source": "github", "line_count": 316, "max_line_length": 140, "avg_line_length": 40.927215189873415, "alnum_prop": 0.4437485502203665, "repo_name": "wenhulove333/ScutServer", "id": "f1da36478436d5bdf068ff4048f0c4523330bc34", "si...
<!-- Copyright (c) 2014 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://polymer....
{ "content_hash": "928955058ad4f4a32aa1b8ab07deda47", "timestamp": "", "source": "github", "line_count": 109, "max_line_length": 195, "avg_line_length": 34.96330275229358, "alnum_prop": 0.6717397008659145, "repo_name": "dednal/chromium.src", "id": "81a71a828277924824a56f805b5c9a3afc506870", "size": ...
package org.sagebionetworks.repo.model.auth; import java.util.Objects; import java.util.function.Supplier; import org.sagebionetworks.repo.model.UnauthorizedException; /** * Holds the result of an authorization check. * If 'authorized' is false then 'message' gives the user-presentable message for denial * * @a...
{ "content_hash": "f7abe33dfcf2f484b335387e23790309", "timestamp": "", "source": "github", "line_count": 109, "max_line_length": 190, "avg_line_length": 33.04587155963303, "alnum_prop": 0.7545807884508606, "repo_name": "Sage-Bionetworks/Synapse-Repository-Services", "id": "e28d755a054589a8cbe35910befc...
<!DOCTYPE html> <html lang="en"> <title>ArtDope - Control Panel</title> <link rel="icon" href="./images/icon.png" type="image/png" /> <!-- web font--> <link href='http://fonts.googleapis.com/css?family=Audiowide' rel='stylesheet' type='text/css'/> <link href='http://fonts.googleapis.com/css?family=Orbitron' rel='styles...
{ "content_hash": "21b9d420cc2d8b2acd1c700defca6410", "timestamp": "", "source": "github", "line_count": 86, "max_line_length": 79, "avg_line_length": 34.18604651162791, "alnum_prop": 0.6561224489795918, "repo_name": "ku6ryo/artdope", "id": "ad3fddba74d01a4401294653afda119b4996314c", "size": "2940",...
#include "ecma-alloc.h" #include "ecma-builtins.h" #include "ecma-conversion.h" #include "ecma-exceptions.h" #include "ecma-gc.h" #include "ecma-globals.h" #include "ecma-helpers.h" #include "ecma-objects.h" #include "ecma-string-object.h" #include "ecma-try-catch-macro.h" #include "jrt.h" #ifndef CONFIG_DISABLE_STR...
{ "content_hash": "4bcf7d99caa0e774337c231abbf14552", "timestamp": "", "source": "github", "line_count": 141, "max_line_length": 101, "avg_line_length": 27.0354609929078, "alnum_prop": 0.6306400839454355, "repo_name": "bsdelf/jerryscript", "id": "af99107020a32a1983b756b59a2726fcb1ee934b", "size": "4...
package com.zutubi.services.mail.rest.server.spring; import static org.glassfish.hk2.utilities.BuilderHelper.createConstantDescriptor; import javax.inject.Inject; import javax.servlet.ServletContext; import javax.ws.rs.ext.Provider; import org.glassfish.hk2.api.DynamicConfiguration; import org.glassfish.hk2.api.Dyna...
{ "content_hash": "e5d7b64b84c545b22fe2d857d19a0fe8", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 117, "avg_line_length": 35.72289156626506, "alnum_prop": 0.742664418212479, "repo_name": "dostermeier/mbuddy", "id": "e00440527bcbf8848814008456ff67a89c09fff1", "size": "29...
import { Injectable } from '@angular/core'; import { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router'; import { Observable } from 'rxjs/Observable'; import { UserService } from '../_services/user.service'; import { User } from '../_models'; import 'rxjs/add/observable/of'; /**...
{ "content_hash": "60d9265b913e0dc03a837b262855860b", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 99, "avg_line_length": 31.026315789473685, "alnum_prop": 0.6225614927905004, "repo_name": "sylcastaing/Olaf-web", "id": "2db9865dd6ccc521982ec586f90e68a3db6d4101", "size": ...
import javax.swing.*; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; import java.math.BigDecimal; /** * Created by bbraun on 5/10/2014. */ public class TotalPanel extends JPanel { private ...
{ "content_hash": "be7023f0bdf30aa12018322ad163042b", "timestamp": "", "source": "github", "line_count": 111, "max_line_length": 99, "avg_line_length": 35.828828828828826, "alnum_prop": 0.5981895901433241, "repo_name": "bmb330/ACCHaaSCalculator", "id": "87b7fb13cc3e74d259bdd206889bada0377bd209", "si...
package com.example.test; public class Counter { public static int inc() { return count++; } public static int count = 0; }
{ "content_hash": "aaf9dd0da2bb71f134b71007554febca", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 32, "avg_line_length": 11, "alnum_prop": 0.577922077922078, "repo_name": "davidkarlsen/mycila", "id": "d9b8244c64c679c640334a389b6eb5bb50ec0c22", "size": "787", "binary":...
/** * Web page integration module for the mermaid framework. It uses the mermaidAPI for mermaid functionality and to render * the diagrams to svg code. */ import he from 'he' import mermaidAPI from './mermaidAPI' import { logger } from './logger' /** * ## init * Function that goes through the document to find th...
{ "content_hash": "1a187103e9b4e873839c274afeaef324", "timestamp": "", "source": "github", "line_count": 167, "max_line_length": 120, "avg_line_length": 27.730538922155688, "alnum_prop": 0.6586050529043403, "repo_name": "mojo2012/spot-framework", "id": "a8f05ffea1df32ef3a8f80bf9112b3fe30a199b8", "si...
//===--- Executor.h - ABI structures for executors --------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
{ "content_hash": "4f1dec5da457e80db057f94e7a02d647", "timestamp": "", "source": "github", "line_count": 254, "max_line_length": 84, "avg_line_length": 33.31496062992126, "alnum_prop": 0.7055069723469629, "repo_name": "benlangmuir/swift", "id": "e6e54c26016f61fc9e049c37c0a33fe2e0372070", "size": "84...
<?php namespace Symfony\Component\Translation; /* * This file is part of the Symfony framework. * * (c) Fabien Potencier <fabien.potencier@symfony-project.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ /** * TranslatorInterface. * * @...
{ "content_hash": "59668b81d82ab4c6d6d1f315ffae4011", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 100, "avg_line_length": 28.322033898305083, "alnum_prop": 0.6343506882106523, "repo_name": "popofr13/symfony2-esi-sandbox", "id": "2a349a96278b90b7b5be64fa72f3d01976e05516", ...
import gc import sys import time import unittest from django.dispatch import Signal, receiver if sys.platform.startswith('java'): def garbage_collect(): # Some JVM GCs will execute finalizers in a different thread, meaning # we need to wait for that to complete before we go on looking for the ...
{ "content_hash": "78c1d264f3c13edafd5d77100f774748", "timestamp": "", "source": "github", "line_count": 164, "max_line_length": 78, "avg_line_length": 31.48170731707317, "alnum_prop": 0.6135967460778617, "repo_name": "makinacorpus/django", "id": "5f7dca87cc5f44530123fb94bd25c2b1eb94f139", "size": "...
package com.thoughtworks.xstream.io.json; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.Reader; import java.io.Writer; import java.net.URL; import javax.xml.stream.XMLStreamException; import org.codehaus.jetti...
{ "content_hash": "2b6299787f8a04c524a63674534dfd11", "timestamp": "", "source": "github", "line_count": 166, "max_line_length": 119, "avg_line_length": 34.5722891566265, "alnum_prop": 0.6459313469245513, "repo_name": "codehaus/xstream", "id": "0fa525fca584fe4f60cf703330d9ba30b1690faf", "size": "607...
var errorHandler = require('../middleware/errorHandler'); module.exports = function(app) { // manual 500 error app.get('/500', function(req, res) { throw new Error('This is a 500 Error'); }); // wildcard route for 404 errors app.get('/*', function(req, res) { console.log...
{ "content_hash": "26f12dfd6fa40b4adbd03b03368ceb15", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 57, "avg_line_length": 25.4, "alnum_prop": 0.5853018372703412, "repo_name": "philoushka/QuickPoll", "id": "73523a3d439ef6b42a53eb50480390c80b50c3b7", "size": "381", "bina...
<?php $config['plugin_load'] = '/test_app/plugins/test_plugin/config/load.php';
{ "content_hash": "e798dec7084d16bda711c6445a6ada4c", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 73, "avg_line_length": 27, "alnum_prop": 0.691358024691358, "repo_name": "MadMikeyB/MikeyPaste", "id": "9222f0ae3a2961adf3bc858de68454fa737625fa", "size": "806", "binary":...
using System; using System.Collections.Generic; using System.Threading.Tasks; using Windows.UI.Xaml.Navigation; namespace TODOFileHandlingSample.Mvvm { public abstract class ViewModelBase : BindableBase, Services.NavigationService.INavigatable { public virtual Task OnNavigatedToAsync(string parameter,...
{ "content_hash": "03e6a1fb30039491164656ac3fe2dcdc", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 119, "avg_line_length": 29.761904761904763, "alnum_prop": 0.7072, "repo_name": "johnsonlu/WinDevCamp", "id": "d28621d0ce9df27cdabb96b315b5ac92e95032e9", "size": "627", "b...
// Copyright 2000-2018 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.openapi.vcs.changes.committed; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.diagnostic.Logger; import com.intellij...
{ "content_hash": "fef2e7f2c2c2625d7f658d72b389a549", "timestamp": "", "source": "github", "line_count": 174, "max_line_length": 140, "avg_line_length": 39.206896551724135, "alnum_prop": 0.7115215479331575, "repo_name": "paplorinc/intellij-community", "id": "04cacae0164e435a3b5c3daafffed97297abb9ae", ...
const old = { cups01: [ "Ace of Cups", "Ace of cups is the card for new love, compassion, joy and creativity. If this card shows up with Ace of Pentacles it often means moving in together in a relationship.", "Ace of Cups reversed indicates blocked creativity and blocked emotions. Access to the subconscio...
{ "content_hash": "84aa24ed434744b12ba9ab885c7d5c4b", "timestamp": "", "source": "github", "line_count": 408, "max_line_length": 365, "avg_line_length": 82.00490196078431, "alnum_prop": 0.7561719170303066, "repo_name": "mKleinCreative/acidic-duck", "id": "2bfec127a267322bb18036ade0e65729f373ea0c", "...
package org.gluewine.console.impl; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.TreeSet; import org.gluewine.console.CLICommand; import org.gluewine.console.CommandContext; import org.gluewine.console.CommandProvider; impo...
{ "content_hash": "820a36506c91406ca57c0ff0e7dea6a3", "timestamp": "", "source": "github", "line_count": 118, "max_line_length": 126, "avg_line_length": 33.016949152542374, "alnum_prop": 0.5587782340862423, "repo_name": "sergeds/Gluewine", "id": "a381836a857a5ab097103c33b839940de31c4fc7", "size": "4...
DROP TABLE IF EXISTS `cot_bbcode`;
{ "content_hash": "04002729a68e5c01f2d04183ac0c5f7a", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 34, "avg_line_length": 34, "alnum_prop": 0.7647058823529411, "repo_name": "Cotonti/valencia", "id": "9494c5b00a84ce9040f932e15c02d2619598c384", "size": "34", "binary": fal...
require 'delegate' module Cequel module Model module Collection extend ActiveSupport::Concern extend Forwardable def_delegators :@model, :loaded?, :updater, :deleter attr_reader :column_name included do private define_method( :method_missing, ...
{ "content_hash": "63f41317e42f399ddf6d3a2ce6e2d0d5", "timestamp": "", "source": "github", "line_count": 255, "max_line_length": 80, "avg_line_length": 20.976470588235294, "alnum_prop": 0.5242101327350907, "repo_name": "outoftime/cequel", "id": "fd06f183d256cf61beced363436e0ea30e3f17db", "size": "53...
/* When AHB bus frequency is 150MHz */ #define CLOCK_TICK_RATE 38000000
{ "content_hash": "4f0aca615ee9b642351ecbcf8587e5a2", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 38, "avg_line_length": 18.5, "alnum_prop": 0.7297297297297297, "repo_name": "OLIMEX/DIY-LAPTOP", "id": "dc5690ba975c04d9c5eca1f15fd859461fcb78e2", "size": "445", "binary":...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "0311cdfd8983c4566f3e4b67d5ef464c", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "a9359a04bb2963fda8b7d45f71f810416dc061cb", "size": "172...
"""Disallow seconds in durations Revision ID: 178d297eae7e Revises: cf9e1b4e2f5f Create Date: 2021-05-27 13:14:59.253773 """ from alembic import op # revision identifiers, used by Alembic. revision = '178d297eae7e' down_revision = 'cf9e1b4e2f5f' branch_labels = None depends_on = None def upgrade(): op.execute...
{ "content_hash": "e22d4e08cb1e6695edf94d89527eb8bb", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 210, "avg_line_length": 38.492537313432834, "alnum_prop": 0.6793330748352074, "repo_name": "ThiefMaster/indico", "id": "71e9328684c4b474ab09b2edfe27bda9521e0577", "size": "...
<?xml version="1.0"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (...
{ "content_hash": "601a5b4f7af459cf600002a76e0a7259", "timestamp": "", "source": "github", "line_count": 133, "max_line_length": 132, "avg_line_length": 33.69924812030075, "alnum_prop": 0.5834448906738063, "repo_name": "sekikn/ambari", "id": "aea1252e4af4f4e97a07dc25fcc5c3c798e6d07b", "size": "4482"...
require 'brazenhead/version' require 'brazenhead/device' require 'brazenhead/request' require 'brazenhead/call_accumulator' require 'brazenhead/server' require 'brazenhead/core_ext/string' require 'brazenhead/environment' module Brazenhead def method_missing(method, *args) call_method_on_driver(method.to_s.to_ja...
{ "content_hash": "60496aa1fe7858205d0c35b037e45684", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 57, "avg_line_length": 19.833333333333332, "alnum_prop": 0.7184873949579832, "repo_name": "leandog/brazenhead", "id": "58f0b3701438c9b53797c23d84a3a5aa8a985267", "size": "9...
(function(angular) { "use strict"; angular.module("WidgetApp", []) .controller("HomeCtrl", function($scope) { function doSomething() { console.dir(this); } doSomething(); var o = { id: 2, doSomething: doSomething }; o.doSomething(); console.log(doSomething === o.doSomething...
{ "content_hash": "8359a697723f651a691d1186eb341038", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 48, "avg_line_length": 12.74, "alnum_prop": 0.5667189952904239, "repo_name": "training4developers/angular_03062015", "id": "f7bd5ad88d849f580942432c03cb2a5b02041e19", "size...
#include "berryQtViewPart.h" namespace berry { void QtViewPart::CreatePartControl(QWidget* parent) { this->CreateQtPartControl(static_cast<QWidget*>(parent)); } }
{ "content_hash": "42c32a4c05c9e418f7f6c21be772e2dd", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 59, "avg_line_length": 13.076923076923077, "alnum_prop": 0.7470588235294118, "repo_name": "NifTK/MITK", "id": "ade1706091c595ed74b23280584661256d02c6aa", "size": "640", "...
title: Data Platforms Integration tags: [integrations list] permalink: dataplatforms.html summary: Learn about the Wavefront Data Platforms Integration. --- ## Data Platforms Blueprints Integration [Data Platform Blueprints available on the Bitnami catalog](https://bitnami.com/stack) provide you with fully automated d...
{ "content_hash": "68cbd0a5b33e8682f1b756a8b316bf73", "timestamp": "", "source": "github", "line_count": 534, "max_line_length": 515, "avg_line_length": 57.166666666666664, "alnum_prop": 0.8261866544370557, "repo_name": "wavefrontHQ/docs", "id": "dbd3ea6c624642c08f0aa383232b5bc8e997b70d", "size": "3...
class Helper # module HTMLEscapeHelper # def h(text) # Rack::Utils.escape_html(text) # end # end module Support def parameterize text, separator = '-' text.gsub(/[^a-z0-9\-_]+/, separator) end end end
{ "content_hash": "d0dfc384e85c32e513767fa4660a2ecf", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 43, "avg_line_length": 18.307692307692307, "alnum_prop": 0.592436974789916, "repo_name": "DmytroVasin/challenge", "id": "e95962cd35b4573ff7924f65f92731a37784ee15", "size": ...
module Print3Flipped where myGreeting :: String myGreeting = (++) "hello " "world!" hello :: String hello = "hello" world :: String world = "world!" main :: IO () main = do putStrLn myGreeting putStrLn secondGreeting where secondGreeting = (++) hello ((++) " " world)
{ "content_hash": "95a94bcc5538ba67155b5ba15b2e15d1", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 52, "avg_line_length": 17.375, "alnum_prop": 0.658273381294964, "repo_name": "rasheedja/HaskellFromFirstPrinciples", "id": "444754e0363b2843921bdf22b2b58a1aa9eff527", "size...
module Cryptoexchange::Exchanges module Koinex module Services class Market < Cryptoexchange::Services::Market class << self def supports_individual_ticker_query? false end end def fetch output = super(ticker_url) adapt_all(output[...
{ "content_hash": "7298adc8f073b1817de73326820ddf09", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 76, "avg_line_length": 33.490196078431374, "alnum_prop": 0.5275175644028103, "repo_name": "coingecko/cryptoexchange", "id": "bf44c6dc77e26dcf41944f069a695b7814d0b372", "siz...
/** \file pantheios/implicit_link/bec.file.WithCallback.h * * [C, C++] Implicitly links in the \ref page__backend__callbacks "callback" version of the * \ref group__backend__stock_backends__file "Pantheios File Back-End Common Library" * common implementation (that may be used by sole/local/remote bac...
{ "content_hash": "075edb65aa3b4bde3c3b7e98469c442c", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 91, "avg_line_length": 37.69117647058823, "alnum_prop": 0.612173234490831, "repo_name": "zvelo/pantheios", "id": "52664815946dd35df243fe6722df461cdc8063a3", "size": "4605",...
export class ItemMetrics { itemObj: any; itemName: string; itemfrom: string; itemLevel: string; itemStatus: string; itemTag: string[]; itemTime: string; constructor( itemObj: any, itemName: string, itemfrom: string, itemLevel: string, itemStatus: string, itemTag: string[], ...
{ "content_hash": "bbaf407165384b8c6ce534fd24ca1c1a", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 58, "avg_line_length": 17.837209302325583, "alnum_prop": 0.6597131681877445, "repo_name": "DXCChina/pms", "id": "f48c11b27d1ae7b9cb0755ff294ead63bf04e068", "size": "767", ...
package org.cagrid.gaards.dorian.idp; import gov.nih.nci.cagrid.common.FaultUtil; import junit.framework.TestCase; import org.cagrid.gaards.dorian.common.Lifetime; import org.cagrid.gaards.dorian.stubs.types.DorianInternalFault; import org.cagrid.gaards.dorian.test.Utils; import org.cagrid.tools.database.Dat...
{ "content_hash": "5af6f5c18a6ff2c567d0d0b3b8156649", "timestamp": "", "source": "github", "line_count": 191, "max_line_length": 72, "avg_line_length": 30.81151832460733, "alnum_prop": 0.6759558198810536, "repo_name": "NCIP/cagrid-core", "id": "a9a6e46b5e149b2e842b6b3308c4eb9843de27e0", "size": "637...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2019.07....
{ "content_hash": "dcc3de141bbd4926bde5e41b8f7bf591", "timestamp": "", "source": "github", "line_count": 277, "max_line_length": 124, "avg_line_length": 25.404332129963898, "alnum_prop": 0.5770925110132159, "repo_name": "simokhov/schemas44", "id": "cc70fc8bac24396e36c977bb638f5482a6681841", "size": ...
package org.springframework.security.web.authentication.logout; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.security.core.Authentication; import org.springframework.security....
{ "content_hash": "2bd5950bd62838f4ed3d7d4ad330f384", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 120, "avg_line_length": 35, "alnum_prop": 0.8137566137566138, "repo_name": "justinedelson/spring-security", "id": "440410f5b20b1b141d86fd212aaa0e0ad53cfa63", "size": "945",...
import {LogService} from '../log.service'; const LONGITUDE_EXTENT = 180; const LATITUDE_EXTENT = 75; const GRID_EXTENT_X = 2000; const GRID_EXTENT_Y = 1000; const GRID_DIAGONAL = 2236; // 2236 is the length of the diagonal of the 2000x1000 box const GRID_CENTRE_X = 500; const GRID_CENTRE_Y = 500; /** * A model o...
{ "content_hash": "f9d6e99bc5763564c9ecfb069fff458f", "timestamp": "", "source": "github", "line_count": 154, "max_line_length": 113, "avg_line_length": 32.53896103896104, "alnum_prop": 0.6016763121133506, "repo_name": "oplinkoms/onos", "id": "1150c39a6ade3cbaf2fc444cc13042d54deb80bc", "size": "5628...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="GameServerState.cs" company="Exit Games GmbH"> // Copyright (c) Exit Games GmbH. All rights reserved. // </copyright> // <summary> // Defines the GameServerState type. // </s...
{ "content_hash": "4d67c5973d32ecccf5be52a5b657856a", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 120, "avg_line_length": 25.895522388059703, "alnum_prop": 0.46455331412103745, "repo_name": "tienrocker/server", "id": "37a9b94f12c63cb406b236733f7cf9b5822a2e1c", "size": "...
layout: post title: Первый секс --- Мы просто разденемся, залезем в кровать, а дальше — будь что будет ## Главное правило Секс — это то, от чего **все присутствующие** получают удовольствие. «Матрица» и «пикап» ошибочно считают (даже если не любят в этом признаваться или даже утверждают обратное), что секса нужно д...
{ "content_hash": "d70214178755d93278875a1f9f5e6fa1", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 224, "avg_line_length": 44.3235294117647, "alnum_prop": 0.7883211678832117, "repo_name": "amoral-ninja/amoral-ninja.github.io", "id": "3c26e6cee094972c21c9538bd9f8f3e54dc8950...
/* globals describe, ddescribe, beforeEach, inject, it, expect, iit, module */ 'use strict'; describe('progressBar directive', function () { var $compile; var $rootScope; var directiveElement; var scope; var ProgressBarsStorage; beforeEach(module('pg.progress-bars')); beforeEach(inject(fun...
{ "content_hash": "dda904928fcf907da7cc056a20072ef5", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 175, "avg_line_length": 44.40816326530612, "alnum_prop": 0.6309742647058824, "repo_name": "PSDCoder/progress-bars", "id": "236b63727318abbd8b638472497d49de2cde8f2b", "size"...
package com.intellij.java.codeInsight.intention; import com.intellij.codeInsight.daemon.LightIntentionActionTestCase; /** * @author ven */ public class MoveInitializerToConstructorActionTest extends LightIntentionActionTestCase { public void test() throws Exception { doAllTests(); } @Override protected Stri...
{ "content_hash": "41fb65ba9c5731c2f32f0df05bbfa4b4", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 90, "avg_line_length": 26.8125, "alnum_prop": 0.7948717948717948, "repo_name": "asedunov/intellij-community", "id": "c64c1718b1399d9e39db02d1cc87cfd3b7394a04", "size": "102...
/* Cover ============================================================================= */ :root { --cover-color : ; --cover-margin : 0 auto; --cover-max-width : 40em; --cover-text-align ...
{ "content_hash": "3937ba6602db1cbadd8d3b6a9aabb5a1", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 94, "avg_line_length": 53.05263157894737, "alnum_prop": 0.42485119047619047, "repo_name": "mojo2012/spot-framework", "id": "9263a473b1842c1796780443680b9ed307a9c18a", "size...
package geek.lawsof.physics.network.proxy /** * Created by anshuman on 28-05-2014. */ class ServerProxy extends ModProxy { override def preInit(): Unit = {} override def init(): Unit = {} }
{ "content_hash": "ed7467d879eac17ba49d681e1c3d40b7", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 41, "avg_line_length": 19.8, "alnum_prop": 0.6818181818181818, "repo_name": "GeckoTheGeek42/TheLawsOfPhysics", "id": "c40546beb2dda42342d204093e4d8e6462937302", "size": "19...
Czecoin-qt: Qt5 GUI for Czecoin =============================== Build instructions =================== Debian ------- First, make sure that the required packages for Qt5 development of your distribution are installed, for Debian and Ubuntu these are: :: apt-get install qt5-default qt5-qmake qtbase5-dev-tools q...
{ "content_hash": "34800e822a483083e946c8cfef1f974e", "timestamp": "", "source": "github", "line_count": 152, "max_line_length": 216, "avg_line_length": 38.671052631578945, "alnum_prop": 0.6236815243280027, "repo_name": "Czecoin-project/Czecoin-master", "id": "1269db1da17a4b1681b3df9fbc67748fe272ac66"...
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
{ "content_hash": "21712e2ef1afa315d2d23982d50f164c", "timestamp": "", "source": "github", "line_count": 378, "max_line_length": 186, "avg_line_length": 41.85978835978836, "alnum_prop": 0.5285344119319977, "repo_name": "mufaddalq/cloudstack-datera-driver", "id": "84fa595a5f9920c92f111c4ecfd873a2884f54...
<?php /** * WPSEO plugin file. * * @package WPSEO\Internals * @since 3.6 */ /** * This class checks if the wpseo option doesn't exists. In the case it doesn't it will set a property that is * accessible via a method to check if the installation is fresh. */ class WPSEO_Installation { /** * Checks if Yoas...
{ "content_hash": "ffbf853bee90838baa45238277aacee1", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 110, "avg_line_length": 24.41304347826087, "alnum_prop": 0.6500445235975066, "repo_name": "mandino/hotelmilosantabarbara.com", "id": "f94592732af08007fd3c1b229bb2b970d5b6afee...
package com.doctor.dubbo.demo.api; import com.alibaba.dubbo.config.ApplicationConfig; import com.alibaba.dubbo.config.ProtocolConfig; import com.alibaba.dubbo.config.RegistryConfig; import com.alibaba.dubbo.config.ServiceConfig; /** * @author sdcuike * * 编程API暴露服务 * Create At 2016年4月12日 上午10:36:28...
{ "content_hash": "28a63ca2de946425866bac975be376e5", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 83, "avg_line_length": 34.104166666666664, "alnum_prop": 0.6939523518631643, "repo_name": "sdcuike/book-reading", "id": "026e8742b299fc8a86e27ba83f755e10eda4eadf", "size": ...
package com.flat502.rox.marshal; /** * An interface representing a generalized RPC method * call fault. * <p> * This interface is patterned after XML-RPC and extends * the {@link com.flat502.rox.marshal.RpcResponse} interface * by adding the idea of a fault code and fault string. */ public interface RpcFault ex...
{ "content_hash": "f4430fea4ee87bacb06600273f12559d", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 60, "avg_line_length": 26.545454545454547, "alnum_prop": 0.704337899543379, "repo_name": "cameronbraid/rox", "id": "cdc0594c7114a4d21df1488618a5a28a0a2b944f", "size": "876"...
using System.Collections; using System.Collections.Generic; using System.Linq; namespace BoardUtils { public interface IPiece { int Id { get; } int ColorId { get; } } static public class Utils { // http://www.dotnetperls.com/fisher-yates-shuffle static public void Shuffle<T>(T[] array, int target...
{ "content_hash": "bd61a19d7dfde615f3ecc4c58a10add2", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 75, "avg_line_length": 21.5, "alnum_prop": 0.6224350205198358, "repo_name": "maxtangli/ChinaChess", "id": "03978a6dab5d3756e6872cfe6b2f2a640d14353a", "size": "731", "bina...
angular.module('wedSite.links',[ 'ui.router' ]) .config(['$stateProvider',function config( $stateProvider ) { $stateProvider.state( 'links', { url: '/links', views: { "main": { controller: 'LinksCtrl', templateUrl: 'links/links.tpl.html' }...
{ "content_hash": "e4a9ae956d1215d9666d1c04e7a62d57", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 61, "avg_line_length": 19.583333333333332, "alnum_prop": 0.4702127659574468, "repo_name": "Lein-Haz/wedsite", "id": "52909a5a51674fc007daab5029354748ceab67e9", "size": "470...
typedef NS_ENUM(NSUInteger, YGPulseViewAnimationType) { YGPulseViewAnimationTypeRegularPulsing, YGPulseViewAnimationTypeRadarPulsing }; @interface UIView (YGPulseView) - (void)startPulseWithColor:(UIColor *)color; - (void)startPulseWithColor:(UIColor *)color animation:(YGPulseViewAnimationType)animationType;...
{ "content_hash": "81aebc8cecd7b40a574264e3b9892728", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 205, "avg_line_length": 34.625, "alnum_prop": 0.8194945848375451, "repo_name": "LQJJ/demo", "id": "95ed373d37c7808c903c6feca440c60a539b1854", "size": "790", "binary": fal...
require 'spec_helper' RSpec.describe OneviewSDK::API600::C7000::Scope, integration: true, type: UPDATE do include_context 'integration api600 context' subject(:item) { described_class.get_all($client_600).first } subject(:enclosure) { OneviewSDK::API600::C7000::Enclosure.get_all($client_600).first } subject(:...
{ "content_hash": "74612b3f931b1ead659d7c2f9d575ae1", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 140, "avg_line_length": 47.528301886792455, "alnum_prop": 0.7018658197697499, "repo_name": "HewlettPackard/oneview-sdk-ruby", "id": "908abc48d8848dc7215f100fad9a181289e64c33"...
"""Checker functions for filtering.""" from warnings import warn import numpy as np ################################################################################################### ################################################################################################### def check_filter_definition(pass...
{ "content_hash": "e63b33b7fe5c6162bdcc32208355898d", "timestamp": "", "source": "github", "line_count": 146, "max_line_length": 105, "avg_line_length": 40.66438356164384, "alnum_prop": 0.6090618157318511, "repo_name": "srcole/neurodsp", "id": "4140e88ce28973f969cc9a7d8610c00a4114ce74", "size": "593...
var zlib = require('zlib'); var inherits = require('util').inherits; var crc32 = require('crc').crc32; var DeflateCRC32Stream = module.exports = function (options) { zlib.DeflateRaw.call(this, options); this.checksum = new Buffer(4); this.checksum.writeInt32BE(0, 0); this.rawSize = 0; this.compressedSize...
{ "content_hash": "66f82e5ede459cce4a9f072fb25c9bc3", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 68, "avg_line_length": 23.88888888888889, "alnum_prop": 0.6857142857142857, "repo_name": "kimyou7/MyDetail", "id": "978a766fcca1d552087339bf203e4eee5e4fc3ad", "size": "1700...
function UserAndJobState(url, auth, auth_cb) { this.url = url; var _url = url; var deprecationWarningSent = false; function deprecationWarning() { if (!deprecationWarningSent) { deprecationWarningSent = true; if (!window.console) return; consol...
{ "content_hash": "0413c1ea7b41539d38500e0911718a3b", "timestamp": "", "source": "github", "line_count": 366, "max_line_length": 148, "avg_line_length": 40.58469945355191, "alnum_prop": 0.5978187693550558, "repo_name": "kbase/user_and_job_state", "id": "3e288ffbb1ac452562b7d910cf3139d20e24589b", "si...
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This file defines tests that implementations of GLImage should pass in order // to be conformant. #ifndef UI_GL_TEST_GL_IMAGE_TEST_TEMPLATE_H_ #define...
{ "content_hash": "07ecb7c23f17cd04d0f999e0f42a4397", "timestamp": "", "source": "github", "line_count": 343, "max_line_length": 80, "avg_line_length": 35.119533527696795, "alnum_prop": 0.6788975593558028, "repo_name": "wuhengzhi/chromium-crosswalk", "id": "543df8d735a7ceeed1f29b43616ca2818c8b3c86", ...
'use strict'; angular.module('participants').controller('HomepgController', ['$scope', '$location', 'Authentication', function($scope, $location, Authentication) { if(Authentication.user){ $location.path('/home'); } } ]);
{ "content_hash": "895c6284efc6323961c566b8a619d961", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 103, "avg_line_length": 26.1, "alnum_prop": 0.6053639846743295, "repo_name": "mhong777/svensicaBiggestLoser", "id": "c3287931aec685a31f6e33f22b63a4eb87609652", "size": "261...
<!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_02) on Tue Oct 20 05:53:13 CEST 2015 --> <meta http-equiv="Content-Type" content="text/html" charset="utf-8"> <title>DependentSourceSet...
{ "content_hash": "d958ae1a76ce2b76af90c64464650e12", "timestamp": "", "source": "github", "line_count": 327, "max_line_length": 571, "avg_line_length": 47.53211009174312, "alnum_prop": 0.6713633146754165, "repo_name": "FinishX/coolweather", "id": "c7a73b0613cbfb2a34486cd778c90f90f3bcec52", "size": ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width,initial-scale=1"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="lang:clipboard.copy" content...
{ "content_hash": "72469a5ad2dc8fe9d269449712f3bd11", "timestamp": "", "source": "github", "line_count": 447, "max_line_length": 999, "avg_line_length": 40.42058165548099, "alnum_prop": 0.6080363072835953, "repo_name": "statsmodels/statsmodels.github.io", "id": "b3aca3bce0ca264d4f627aecda2732ea68009e8...
using namespace std; class Triangle : public Object { public: Triangle(); ~Triangle(); // object maths pair<bool, double> intersectionCheck(Ray& ray); Vector3 surfaceNormal(Vector3& intersection); private: Vector3 v0, v1, v2; }; #endif
{ "content_hash": "3f9fc573bbbb8ed735f8eadfaeef8a59", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 61, "avg_line_length": 16.470588235294116, "alnum_prop": 0.6285714285714286, "repo_name": "wridgers/john", "id": "3fbedd236dc7788222d00e87ac6fa071bc13e5f3", "size": "407", ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_43) on Tue Aug 06 14:46:45 EDT 2013 --> <TITLE> HtmlUtils (caCORE SDK 4.5 API Documentation) </TITLE> <META NAME="date" CONTENT="2013-08-06...
{ "content_hash": "26001ace9f9ba5eaa0d2a339358cde58", "timestamp": "", "source": "github", "line_count": 2234, "max_line_length": 242, "avg_line_length": 37.384959713518356, "alnum_prop": 0.6318278694413181, "repo_name": "NCIP/cadsr-objectcart", "id": "56aa48d64ba9ca3ed4fd80d03f13937c17b00e25", "siz...
using namespace seqan; SEQAN_DEFINE_TEST(test_rsbs_iterator_get_value) { unsigned length_ = 1000; String<unsigned> controlString; resize(controlString, length_); Rng<MersenneTwister> rng(SEED); controlString[0] = pickRandomNumber(rng) % 2; for (unsigned i = 1; i < length_; ++i) { ...
{ "content_hash": "78af478a0e12114e8f16d22ee6128d79", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 77, "avg_line_length": 30.8, "alnum_prop": 0.6623376623376623, "repo_name": "cmccoy/codon-sw", "id": "db36c675b2d853c9a613075f5182acff14c6c19c", "size": "3059", "binary":...
// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html#License package com.ibm.icu.impl.data; import java.util.ListResourceBundle; public class HolidayBundle_en extends ListResourceBundle { // Normally, each HolidayBundle uses the holiday's US English na...
{ "content_hash": "915857643cc39d5879e446cc3a8764f4", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 76, "avg_line_length": 31.923076923076923, "alnum_prop": 0.6638554216867469, "repo_name": "sabi0/fitnotifications", "id": "004ec2b531c070351d16d8f97e8026612076b105", "size"...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Stashcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef STASHCOIN_ALLOCATORS_H #define STASHCOIN_ALLOCATORS_H #include <string.h...
{ "content_hash": "3fab15671466d222e85b2d8d6c623f52", "timestamp": "", "source": "github", "line_count": 258, "max_line_length": 110, "avg_line_length": 33.36434108527132, "alnum_prop": 0.6548559479553904, "repo_name": "stashdev/stashcoin", "id": "1826573916228c779a0e3bdbdf042424a3c81beb", "size": "...
<?php declare(strict_types=1); /* * This file is part of SolidInvoice project. * * (c) Pierre du Plessis <open-source@solidworx.co> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace SolidInvoice\DashboardBundle\Action; use SolidInvoic...
{ "content_hash": "484822c4ea6f3b68602c94272f59c744", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 78, "avg_line_length": 22.84, "alnum_prop": 0.7338003502626971, "repo_name": "pierredup/CSBill", "id": "61349280cd643de7043c23804a1daa39925c7cf4", "size": "571", "binary"...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel.DataAnnotations; namespace Langben.DAL { [MetadataType(typeof(SysPersonMetadata))]//使用SysPersonMetadata对SysPerson进行数据验证 public partial class SysPerson { #region 自定义属性,即由数据实体扩展的实体 ...
{ "content_hash": "eafa678e8e21929e05352058aad70099", "timestamp": "", "source": "github", "line_count": 188, "max_line_length": 104, "avg_line_length": 35.569148936170215, "alnum_prop": 0.5987737400927172, "repo_name": "Langbencom/rights", "id": "61b0cb7f2d2e1f1eb06cdcbd4c4dce2d6a1358b2", "size": "...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
{ "content_hash": "194a1c39e969e75cb71dd7f148a4567c", "timestamp": "", "source": "github", "line_count": 204, "max_line_length": 344, "avg_line_length": 87.41176470588235, "alnum_prop": 0.7278488111260655, "repo_name": "v8-dox/v8-dox.github.io", "id": "50700bd5c9102239880378351aeb31681ffc5882", "siz...
This example design targets the Alpha Data ADM-PCIE-9V3 FPGA board. The design by default listens to UDP port 1234 at IP address 192.168.1.128 and will echo back any packets received. The design will also respond correctly to ARP requests. * FPGA: xcvu3p-ffvc1517-2-i * PHY: 10G BASE-R PHY IP core and internal GT...
{ "content_hash": "fec55e951bacfa1f2bcb913dcacdf65a", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 78, "avg_line_length": 30.115384615384617, "alnum_prop": 0.7496807151979565, "repo_name": "alexforencich/verilog-ethernet", "id": "10a48174c298bb9e71dfb458897e7b8bc31494c3", ...