text stringlengths 2 1.04M | meta dict |
|---|---|
Phoenix controllers act as intermediary modules. Their functions - called actions - are invoked from the router in response to HTTP requests. The actions, in turn, gather all the necessary data and perform all the necessary steps before invoking the view layer to render a template or returning a JSON response.
Phoenix... | {
"content_hash": "dbf67eff6e5cf730c68a3f936f82afed",
"timestamp": "",
"source": "github",
"line_count": 538,
"max_line_length": 469,
"avg_line_length": 46.5910780669145,
"alnum_prop": 0.7411633288119365,
"repo_name": "phoenixframework-Brazil/phoenix_guides",
"id": "6f0e0d7daeac14870b2b0425d787b620b45... |
SELECT * FROM t1 ORDER BY log; | {
"content_hash": "bfe5d768aa1c54c6cc2af774745491df",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 30,
"avg_line_length": 30,
"alnum_prop": 0.7333333333333333,
"repo_name": "bkiers/sqlite-parser",
"id": "0cfe1420911bd5e355acf786d1cbb4b7546c2a9b",
"size": "106",
"binary"... |
<bill session="115" type="s" number="1325" updated="2017-09-11T03:06:32Z">
<state datetime="2017-06-08">REFERRED</state>
<status>
<introduced datetime="2017-06-08"/>
</status>
<introduced datetime="2017-06-08"/>
<titles>
<title type="short" as="introduced">Better Workforce for Veterans Act of 2017</ti... | {
"content_hash": "bf4dc3046837d7ccc634e06a64a85231",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 261,
"avg_line_length": 43.88636363636363,
"alnum_prop": 0.6887622993267737,
"repo_name": "peter765/power-polls",
"id": "a09b263583afb8750b9f3e47ee0d4252af5c7d26",
"size": ... |
namespace invalidation {
using INVALIDATION_STL_NAMESPACE::string;
using ::ipc::invalidation::ProtocolVersion;
using ::google::protobuf::Message;
using ::google::protobuf::RepeatedPtrField;
using ::google::protobuf::TextFormat;
// Functor to compare various protocol messages.
struct ProtoCompareLess {
bool operator... | {
"content_hash": "d045ad814d9cd04732be2d7a0969b69f",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 80,
"avg_line_length": 35.91525423728814,
"alnum_prop": 0.6880604058518169,
"repo_name": "leighpauls/k2cro4",
"id": "3858877fe395827ddb50255a42ada0c4aa9ff4e3",
"size": "54... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
Senecio fortunatus Cuatrec.
### Remarks
null | {
"content_hash": "e9b3e918d1d94036086355fe7657ca56",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 11.461538461538462,
"alnum_prop": 0.7315436241610739,
"repo_name": "mdoering/backbone",
"id": "b8cfc2a23e01576181e8d56f08173e023b2eca9f",
"size": "21... |
using System.Collections.Generic;
namespace PullRequestsViewer.WebApp.Models
{
public class OrganisationModel
{
public string Name { get; set; }
public IReadOnlyList<RepositoryModel> Repositories { get; set; }
}
}
| {
"content_hash": "7f7111fb0299a86189276691ec9a2c0a",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 72,
"avg_line_length": 22.272727272727273,
"alnum_prop": 0.6938775510204082,
"repo_name": "joaoasrosa/pullrequests-viewer",
"id": "9111b7c0411007e6cae4d4f14e4fc8715ea50728",
... |
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<!-- build:css styles/popup-vendor.css -->
<!-- bower:css -->
<!-- endbower -->
<!-- endbuild -->
<!-- build:css styles/main.css -->
<link href="styles/main.css" rel="stylesheet">
<!-- endbuild -->
</head>
<body>
<div class="... | {
"content_hash": "a113c2bc2b6131f8b7b5ae3df1db1e16",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 107,
"avg_line_length": 26.742857142857144,
"alnum_prop": 0.5448717948717948,
"repo_name": "HemantPawar/hasjob-extension",
"id": "1b981d1ab788ddefa4b5100f4e83d97b1fd4ee07",
... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.murillo.sdp.impl;
import org.murillo.sdp.SSRCAttribute;
import org.murillo.abnf.Rule$ssrc_attr;
import org.murillo.abnf.Rule$ssrc_id;
import org.murillo.abnf.Rule$att_field;
import org.murillo.abnf.Rule$att... | {
"content_hash": "794776e09c33796eacba67ce8f3b3e16",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 54,
"avg_line_length": 22.166666666666668,
"alnum_prop": 0.5992481203007519,
"repo_name": "medooze/sdp",
"id": "a0e23c0bc917d50f143f4cc30370109d3abead4e",
"size": "1330",
... |
package com.siyeh.ig.performance;
import com.intellij.codeInspection.CleanupLocalInspectionTool;
import com.intellij.codeInspection.CommonQuickFixBundle;
import com.intellij.codeInspection.ProblemDescriptor;
import com.intellij.codeInspection.dataFlow.DfaUtil;
import com.intellij.openapi.project.Project;
import com.i... | {
"content_hash": "faf99f5520c4aaad48944827c7b3182e",
"timestamp": "",
"source": "github",
"line_count": 469,
"max_line_length": 147,
"avg_line_length": 42.22814498933902,
"alnum_prop": 0.6849785407725322,
"repo_name": "dahlstrom-g/intellij-community",
"id": "5b21feb56974b83b3d53afa6cc4d1a678325b5c1",... |
class Adjust_dialog : public Javelin::Dialog
{
public :
Adjust_dialog() ;
void Set_position( POINT& point ) ;
void Set_target(HWND target);
protected :
virtual INT_PTR Dialog_proc( UINT message, WPARAM wparam, LPARAM lparam ) ;
void On_initdialog() ;
void On_command( WPARAM wparam ) ;
void On_cancel() ;
void... | {
"content_hash": "5a8d4c245f84031baab157cc9962e107",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 76,
"avg_line_length": 21.677419354838708,
"alnum_prop": 0.6711309523809523,
"repo_name": "sanadan/Window_adjuster",
"id": "9c7c401c84c6a26077b3e8ad4425cae29cf9458c",
"size... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>shuffled property - ShuffleLinkedList class - torrent_util library - Dart API</title>
<!-- required because... | {
"content_hash": "99c7e298725b19eb439f96ef2f2234a6",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 143,
"avg_line_length": 37.22222222222222,
"alnum_prop": 0.6092868988391377,
"repo_name": "kyorohiro/dart_hetimatorrent",
"id": "9efa99fbf2c7b64d2b0c444600a9dedd4690ccff",
... |
<?php
use Mockery as m;
class FilesystemCleanerTest extends PHPUnit_Framework_TestCase {
public function tearDown()
{
m::close();
}
public function setUp()
{
$this->environment = m::mock('Basset\Environment');
$this->manifest = m::mock('Basset\Manifest\Manifest');
... | {
"content_hash": "9b307069fb82a1c7cfe2caa0dc9bc338",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 179,
"avg_line_length": 45.1625,
"alnum_prop": 0.6548574591752007,
"repo_name": "coreywagehoft/laravel-4-base",
"id": "5deece93739028ecb211a5fa0d57a16e0ed82e74",
"size": "3... |
package org.apache.tez.runtime.library.common.task.impl;
import java.io.IOException;
import java.util.Iterator;
import java.util.NoSuchElementException;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.io.DataInputBuffer;
import org.apache.hadoop.io.RawComparator;
import org.apache.hadoop.io.se... | {
"content_hash": "cfccaf239ed2355f97d5cabb193cb803",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 102,
"avg_line_length": 30.67669172932331,
"alnum_prop": 0.6754901960784314,
"repo_name": "sungsoo/tez-0.4.0",
"id": "88cb7506306afccf467a2e683fed187c1e8d1b87",
"size": "4... |
layout: page
title: All about Luke.
excerpt: "All about Luke."
modified: 2014-08-08T19:44:38.564948-04:00
image:
feature: photo-1454540723233-f0b9ff08b132.jpg
credit: unsplash
creditlink: https://hd.unsplash.com
---
Luke is a passionate and highly focused individual, dedicated to learning about technology and ... | {
"content_hash": "8464e8db17b83c1b62ed8d9ee487a4ad",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 499,
"avg_line_length": 33.527272727272724,
"alnum_prop": 0.7998915401301518,
"repo_name": "lukemgriffith/JekyllBlog_Config",
"id": "a44031189dd34466a50ddb4aa4002b300444347b"... |
"""The Vilfo Router integration."""
from datetime import timedelta
import logging
from vilfo import Client as VilfoClient
from vilfo.exceptions import VilfoException
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import CONF_ACCESS_TOKEN, CONF_HOST, Platform
from homeassistant.core impo... | {
"content_hash": "e21f675c9cc12058f2e30bde7be24907",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 82,
"avg_line_length": 30.935185185185187,
"alnum_prop": 0.6477102663873092,
"repo_name": "GenericStudent/home-assistant",
"id": "ac3b8b87f3ff78f9dfe1bd4bb7e702fcc5799c72",
... |
<?php
namespace Blogger\BlogBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Blogger\BlogBundle\Entity\Comment;
use Blogger\BlogBundle\Form\CommentType;
class CommentController extends Controller
{
public function newAction($blog_id)
{
$blog = $this->getBlog($blog_id);
$comme... | {
"content_hash": "f745d7cc001bc8657afc3c99c659b4cc",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 88,
"avg_line_length": 23.742857142857144,
"alnum_prop": 0.6269554753309265,
"repo_name": "carbamide/symblog.dev",
"id": "d54bc3e0f9752ec7beaefc2ac4b2010f974c66bb",
"size":... |
var mldb = require('mldb')
var unittest = require('mldb/unittest')
var functionConfig = {
type: 'sql.expression',
params: {
expression: 'horizontal_sum(input) AS result',
prepared: true,
raw: true,
autoInput: true
}
};
var fn = mldb.put('/v1/functions/score_one', functionCo... | {
"content_hash": "0698b6bd368b33ba5a1f3786e462292f",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 92,
"avg_line_length": 22.47008547008547,
"alnum_prop": 0.5983263598326359,
"repo_name": "mldbai/mldb",
"id": "6e21f9c0134b96f8f9ed0db086c65f9535d99501",
"size": "2709",
... |
package net.dirtydeeds.discordsoundboard.utils;
import java.awt.*;
import java.text.BreakIterator;
import java.text.SimpleDateFormat;
import java.util.List;
import java.util.*;
public class StringUtils {
private static final int MAX_NUMBER_OF_CACHED_WORDS = 32;
private static final int MIN_WORD_SIZE = 3;
priva... | {
"content_hash": "fd747c082e7cbb2e4e6e2bc332590b35",
"timestamp": "",
"source": "github",
"line_count": 154,
"max_line_length": 80,
"avg_line_length": 29.863636363636363,
"alnum_prop": 0.6162209175907806,
"repo_name": "AlexSafatli/NootBot",
"id": "c7a60c52d00a0b5ee8065b82e95b85a95547bac6",
"size": ... |
require 'hpricot'
require 'pathname'
require "set"
require "uri"
module TaliaCore
module ActiveSourceParts
module Xml
# Superclass for importers/readers of generic xml files. The idea is that the
# user can very easily create subclasses of this that can import almost any XML
# format imaginabl... | {
"content_hash": "e4a89d59881e3a27f19b88b6db6966fd",
"timestamp": "",
"source": "github",
"line_count": 337,
"max_line_length": 219,
"avg_line_length": 43.3026706231454,
"alnum_prop": 0.6091961899540875,
"repo_name": "net7/talia_core",
"id": "3b2cc82e29be97592b68c66e6b3c0863df5c9a85",
"size": "1476... |
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:context="com.avc.avcinstaller.activity.MainActivity" >
<item
android:id="@+id/clear_cache"
android:icon="@android:drawable/ic_menu_delete"
android:showAs... | {
"content_hash": "2aab08307ec0867c63180589a30cf061",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 64,
"avg_line_length": 32.80769230769231,
"alnum_prop": 0.6014067995310668,
"repo_name": "NikhilVijayakumar/Installer",
"id": "ce229e4938dcbc706ffc9692ea6ef70d06776d9f",
"s... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
C. S. Sargent, Pl. wilson. 1:373. 1913
#### Original name
null
### Remarks
null | {
"content_hash": "e55625795e8fdff8ef373d3537b8ca03",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 38,
"avg_line_length": 12.307692307692308,
"alnum_prop": 0.6875,
"repo_name": "mdoering/backbone",
"id": "1832754cecff69fba75ff6682daf9508f84c8e42",
"size": "214",
"binar... |
package net.meisen.general.sbconfigurator.factories;
import java.util.ArrayList;
import java.util.Collection;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.FactoryBean;
import org.springframework.beans.factory.config.AbstractFactoryBean;
/**
* Implementation of a {@code Factor... | {
"content_hash": "c69b97f984345562edcd4836a79d106a",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 74,
"avg_line_length": 25.791666666666668,
"alnum_prop": 0.715670436187399,
"repo_name": "pmeisen/gen-sbconfigurator",
"id": "502ba1be5ec6d88a8bde4336e30b3aea01171374",
"si... |
'use strict';
var raveLogo = 'https://res.cloudinary.com/dkbfehjxf/image/upload/v1511542310/Pasted_image_at_2017_11_09_04_50_PM_vc75kz.png'
var amount = flw_payment_args.amount,
cbUrl = flw_payment_args.cb_url,
country = flw_payment_args.country,
curr = flw_payment_args.currency,
desc = flw_paymen... | {
"content_hash": "0c4111ae297ec773c116ffcca3aa0567",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 125,
"avg_line_length": 24.515625,
"alnum_prop": 0.6309751434034416,
"repo_name": "bosunolanrewaju/WooCommerce-Rave-Payment-Gateway",
"id": "d14dd60a35575b145b442b49b985e079b... |
<!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": "fc8220426db77648ceead232e2f8b18e",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 514,
"avg_line_length": 45.911764705882355,
"alnum_prop": 0.6601537475976937,
"repo_name": "DweebsUnited/CodeMonkey",
"id": "22c52d621d7ce948790c05e8ddeea455e79014ab",
"si... |
/**
*
*/
package org.javarosa.core.services.locale;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import org.javarosa.core.util.OrderedHashtable;
import org.javarosa.core.util.externalizable.Deserializati... | {
"content_hash": "1d2e053a0113a14294e6f31ab6384e82",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 162,
"avg_line_length": 28.680473372781066,
"alnum_prop": 0.6682484010728286,
"repo_name": "wpride/javarosa",
"id": "fd7c1064c5b286c24e5048a7db6ff67f7bbb58ec",
"size": "54... |
'''
A program with bugs. Try to fix them all!
-----------------------------------------------------------
(c) 2013 Allegra Via and Kristian Rother
Licensed under the conditions of the Python License
This code appears in section 12.2.2 of the book
"Managing Biological Data with Python".
------------------... | {
"content_hash": "c2200dbc054a71a490d16f8e86dbfbd3",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 61,
"avg_line_length": 30.350877192982455,
"alnum_prop": 0.5630057803468208,
"repo_name": "raymonwu/Managing_Your_Biological_Data_with_Python_3",
"id": "19964a4d8d9da39ef3d29... |
package com.equalinformation.fpps
/**
* Created by bpupadhyaya on 9/8/15.
*
* Implement logical and without using &&
*/
object LogicalAndWithMain {
def infiniteLoop: Boolean = infiniteLoop
def and(x: Boolean, y: => Boolean): Boolean = {
if(x) y else false
}
def main(args: Array[String]): Unit = {
... | {
"content_hash": "f9f57869fc5c7fcaa059ba6fb81f269c",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 97,
"avg_line_length": 26.26923076923077,
"alnum_prop": 0.6632503660322109,
"repo_name": "EqualInformation/fpps",
"id": "3277e57e86e4d5eae2f045eb81afd8507c92bf54",
"size": ... |
package edu.gemini.spModel.gemini.nifs.blueprint;
import edu.gemini.pot.sp.SPComponentType;
import edu.gemini.spModel.core.Site;
import edu.gemini.spModel.gemini.nifs.InstNIFS;
import edu.gemini.spModel.gemini.nifs.NIFSParams.Disperser;
import edu.gemini.spModel.pio.ParamSet;
import edu.gemini.spModel.pio.Pio;
import ... | {
"content_hash": "908e02b1cbd905cc8cd23635a7ee5ebf",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 93,
"avg_line_length": 31.102040816326532,
"alnum_prop": 0.7152230971128609,
"repo_name": "spakzad/ocs",
"id": "a7a94817f54af2381c9268f1dfdd47d57f04e8aa",
"size": "1524",
... |
#ifndef ScrollAnimatorMac_h
#define ScrollAnimatorMac_h
#include "platform/Timer.h"
#include "platform/geometry/FloatPoint.h"
#include "platform/geometry/FloatSize.h"
#include "platform/geometry/IntRect.h"
#include "platform/mac/ScrollElasticityController.h"
#include "platform/scroll/ScrollAnimator.h"
#include "wtf/... | {
"content_hash": "3c4bf98a571bd13b9c9de73b17c9a63b",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 121,
"avg_line_length": 37.36231884057971,
"alnum_prop": 0.8068269976726145,
"repo_name": "CTSRD-SOAAP/chromium-42.0.2311.135",
"id": "e2503b1bdfc4f8857797c3f82958dfa77446d9... |
<div class="body">
<!-- first use -->
<div ng-show="completedRoutines.length < 1">
<div class="welcome-container">
<div class="welcome-user">
</div>
<h2>Welcome to PPL!</h2>
<div class="animated fadeIn question-container">
<div class="question-title">What are your fitness goals?</div>
<div clas... | {
"content_hash": "92d7804ce58e630eb4ec867c8ce0a1c5",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 87,
"avg_line_length": 27.467391304347824,
"alnum_prop": 0.6264345073209339,
"repo_name": "samjhill/ppl",
"id": "90bf116258056f52ba1b95bb5b3b22fd74cce707",
"size": "2528",
... |
namespace blink {
class DedicatedWorkerThreadForTest;
class DedicatedWorkerMessagingProxyForTest;
class DedicatedWorkerTest : public PageTestBase {
public:
DedicatedWorkerTest() = default;
void SetUp() override;
void TearDown() override;
void DispatchMessageEvent();
DedicatedWorkerMessagingProxyForTest... | {
"content_hash": "50c17c395a060f65af27e3133f2b780e",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 75,
"avg_line_length": 23.433333333333334,
"alnum_prop": 0.7923186344238976,
"repo_name": "scheib/chromium",
"id": "80e86127f547b3c3342f4e500bd89e94ad3be8d4",
"size": "1150... |
<form model="template">
<field name="name"/>
<field name="theme_id"/>
<field name="module_id"/>
<newline/>
<field name="template" width="800" height="500" view="field_code" mode="handlebars"/>
</form>
| {
"content_hash": "e5cf0bae10e2026e7d74f33e6228aed8",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 89,
"avg_line_length": 31.571428571428573,
"alnum_prop": 0.6108597285067874,
"repo_name": "anastue/netforce",
"id": "035e562344d044bcf9113e623df1a34d8ead0794",
"size": "221"... |
#include <aws/dms/model/OrderableReplicationInstance.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespace DatabaseMigrationService
{
namespace Model
{
OrderableReplicationInstance::OrderableReplicationInstanc... | {
"content_hash": "e3e8822d5ca701e3d3d82f31f9d5656a",
"timestamp": "",
"source": "github",
"line_count": 193,
"max_line_length": 134,
"avg_line_length": 27.020725388601036,
"alnum_prop": 0.7675934803451582,
"repo_name": "aws/aws-sdk-cpp",
"id": "8a556b40420c9208c5cea9165cbe461c0ad3d493",
"size": "53... |
title: Telerik.Web.UI.FileFilterCollection
page_title: Telerik.Web.UI.FileFilterCollection
description: Telerik.Web.UI.FileFilterCollection
---
# Telerik.Web.UI.FileFilterCollection
This class implements a strongly typed state managed collection.
## Inheritance Hierarchy
* System.Object
* System.Web.UI.StateManaged... | {
"content_hash": "8e90906418c964d331e12480bcebc3c8",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 104,
"avg_line_length": 15.23611111111111,
"alnum_prop": 0.7160437556973565,
"repo_name": "telerik/ajax-docs",
"id": "5160e70de2a12afcff74c1b1f2ee0253a90535b4",
"size": "2... |
"""This module offers methods and user interaction widgets/windows for handling
the table-like step functions of elementary cellular automatons.
* A bit of functionality to generate a rule number from arbitrary step
functions by running them on a pre-generated target and finding out how it
behaved.
* ...
.. ... | {
"content_hash": "2a79f41f9678461a1868cf5c6b3041b9",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 89,
"avg_line_length": 38.93877551020408,
"alnum_prop": 0.6865828092243187,
"repo_name": "timo/zasim",
"id": "f0743713349db2dc282c936c9167a66546cda8c1",
"size": "5724",
... |
package org.sufficientlysecure.rootcommands;
import java.io.File;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
public class Mount {
protected final File mDevice;
protected final File mMountPoint;
protected final String mType;
protected final Set<String> mFlag... | {
"content_hash": "6e3281414493df8126d4cd07751a4169",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 89,
"avg_line_length": 22.674418604651162,
"alnum_prop": 0.6061538461538462,
"repo_name": "toiosdeveloper/root-commands",
"id": "6f5ef78733260e44b29ee0262a5066ee59781e67",
... |
Option Infer On
Imports System
Imports System.Collections.Generic
Imports System.Runtime.InteropServices
Namespace Examples
Friend Class Program
<STAThread>
Shared Sub Main(ByVal args() As String)
Dim application As SolidEdgeFramework.Application = Nothing
Dim partDocument... | {
"content_hash": "1cfcb00be29c93420cb39c55215385a5",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 122,
"avg_line_length": 36.486486486486484,
"alnum_prop": 0.62,
"repo_name": "SolidEdgeCommunity/docs",
"id": "7fc3c3e72305ad3ff77bcec4fa2a01f990bff454",
"size": "1352",
... |
package org.vertexium.accumulo;
import org.vertexium.accumulo.models.AccumuloEdgeInfo;
import org.vertexium.util.LookAheadIterable;
import java.util.Iterator;
class GetVertexIdsIterable extends LookAheadIterable<AccumuloEdgeInfo, String> {
private final Iterable<AccumuloEdgeInfo> edgeInfos;
private final Str... | {
"content_hash": "d3e5648fc3396a93c3e712bbf5838fed",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 88,
"avg_line_length": 27.871794871794872,
"alnum_prop": 0.6614535418583257,
"repo_name": "visallo/vertexium",
"id": "ac90a773d08bdc2cfb7e939b201157326c7ad6f2",
"size": "10... |
<?php
/**
* @author @jenschude <jens.schulze@commercetools.de>
*/
namespace Commercetools\Core\Request\Channels;
use Commercetools\Core\Model\Common\Context;
use Commercetools\Core\Request\AbstractUpdateRequest;
use Commercetools\Core\Model\Channel\Channel;
use Commercetools\Core\Response\ApiResponseInterface;
use ... | {
"content_hash": "7ab55699ed4f601ec794be79bd499eb9",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 98,
"avg_line_length": 30.533333333333335,
"alnum_prop": 0.7008733624454149,
"repo_name": "sphereio/sphere-php-sdk",
"id": "00879694d932c1d777625f56aa62c535f0a28488",
"size... |
package org.jetbrains.jps.incremental.storage;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.util.Pair;
import com.intellij.openapi.util.io.FileUtil;
import com.intellij.util.io.IOUtil;
import org.jetbrains.jps.builders.BuildTarget;
import org.jetbrains.jps.builders.BuildTargetLoader;
imp... | {
"content_hash": "79abc926c5207a086254333ff11a5a4e",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 131,
"avg_line_length": 35.83458646616541,
"alnum_prop": 0.7085606378514477,
"repo_name": "msebire/intellij-community",
"id": "8497805103bd855dd2e193d8403999b140209aaf",
"... |
<?php
namespace Oro\Bundle\FilterBundle\Tests\Unit\Provider;
use Oro\Bundle\FilterBundle\Provider\DateModifierProvider;
class DateModifierProviderTest extends \PHPUnit_Framework_TestCase
{
/** @var DateModifierProvider */
protected $dateModifierProvider;
protected function setUp()
{
$this->d... | {
"content_hash": "56b962f6c577b4092c0bb8b947cb905a",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 66,
"avg_line_length": 25.366666666666667,
"alnum_prop": 0.6727989487516426,
"repo_name": "hugeval/platform",
"id": "160023e93907e8789c50d833ca73f87145bee054",
"size": "761... |
package org.apache.felix.ipojo.manipulator;
import org.apache.felix.ipojo.manipulator.util.Strings;
import org.apache.felix.ipojo.metadata.Element;
/**
* Component Info.
* Represent a component type to be manipulated or already manipulated.
* @author <a href="mailto:felix-dev@incubator.apache.org">Felix Project ... | {
"content_hash": "baa1a66be1943d55e318da4e0cf75be8",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 81,
"avg_line_length": 22.49056603773585,
"alnum_prop": 0.6585570469798657,
"repo_name": "apache/felix-dev",
"id": "c5558b6e8b862add165fd9ee73c3d61b4b57ee92",
"size": "1999... |
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.parts;
import java.util.Collections;
import java.util.List;
import org.eclipse.draw2d.IFigure;
import org.eclipse.draw2d.Label;
import org.eclipse.draw2d.geometry.Point;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EObjec... | {
"content_hash": "bac155070a37c289bdc1ad12e01d7f88",
"timestamp": "",
"source": "github",
"line_count": 630,
"max_line_length": 124,
"avg_line_length": 25.55873015873016,
"alnum_prop": 0.7038877158117004,
"repo_name": "rajeevanv89/developer-studio",
"id": "e92fd897c837f12db78925b675b3c978df1bf4bb",
... |
package edu.cmu.lti.oaqa.ecd.example;
import org.apache.uima.UimaContext;
import org.apache.uima.analysis_component.JCasAnnotator_ImplBase;
import org.apache.uima.analysis_engine.AnalysisEngineProcessException;
import org.apache.uima.jcas.JCas;
import org.apache.uima.resource.ResourceInitializationException;... | {
"content_hash": "79a0f75d46116806bae1ddb1e3e0c5dc",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 86,
"avg_line_length": 36.43396226415094,
"alnum_prop": 0.6763335059554635,
"repo_name": "oaqa/uima-ecd",
"id": "31f727cf2a1c850055dac7eac65e899bd8fee354",
"size": "2564",
... |
import os
import sys
import random
from os import path
from termcolor import colored
from people import Staff, Fellow
from rooms import Office, LivingSpace
from database.schema import People, DataBaseConnection, Rooms, Unallocated
sys.path.append(path.dirname(path.dirname(path.abspath(__file__))))
white_line = colored... | {
"content_hash": "b816f6710d252bd37b4284fa37a21924",
"timestamp": "",
"source": "github",
"line_count": 627,
"max_line_length": 94,
"avg_line_length": 48.75438596491228,
"alnum_prop": 0.47374791455395987,
"repo_name": "Alweezy/alvin-mutisya-dojo-project",
"id": "9f2cf5a4c99bdea4ec561cf64ca5beeaf60e35... |
Package.describe({
name: 'zweizeichen:accounts-eve',
summary: 'Authentication for EVE Online\'s SSO service. Works like e.g. \'accounts-github\'.',
version: '1.0.0',
git: 'https://github.com/zweizeichen/accounts-eve.git'
});
Package.onUse(function(api) {
api.versionsFrom('1.0');
api.use('accounts-base', [... | {
"content_hash": "fde5bcc76493632e5336c6e42a50d901",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 96,
"avg_line_length": 29.710526315789473,
"alnum_prop": 0.6155890168290522,
"repo_name": "zweizeichen/accounts-eve",
"id": "b7ffa15019f651b08b3ed005dbcb8cb5f6bc34bc",
"siz... |
namespace Anycmd.Xacml.Consts
{
public partial class Schema1
{
/// <summary>指示者。The name of the element/attribute in the XSD schema.</summary>
public class ActionAttributeDesignatorElement
{
/// <summary>指示者。The name of the element/attribute in the XSD schema.</summary>
... | {
"content_hash": "fc8a124ac37e5e7cf64abe532adaa7e4",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 91,
"avg_line_length": 32.53846153846154,
"alnum_prop": 0.6595744680851063,
"repo_name": "anycmd/anycmd",
"id": "0bf9add792cf45b4ca7236f1a538028b045b14d5",
"size": "441",
... |
import express = require('express');
import path = require('path');
import {Routes} from "./routes/routes";
import { json, urlencoded } from "body-parser";
import * as http from "http";
var port = process.env.PORT || 3000;
var app = express();
app.use(json());
app.use(urlencoded({
extended: true
}));
app.use('/a... | {
"content_hash": "1ca153cd2827b68b9e6cf345f09ced30",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 68,
"avg_line_length": 29.64864864864865,
"alnum_prop": 0.6690975387420237,
"repo_name": "amitrke/courtres2",
"id": "b62ead5ebac0a15eebd35a2e37e45f4047e009a6",
"size": "109... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
// 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: 201... | {
"content_hash": "e525efd142c5c2dd3bbd5b9247678159",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 351,
"avg_line_length": 35.04938271604938,
"alnum_prop": 0.7020077492074674,
"repo_name": "inbloom/secure-data-service",
"id": "572dea24d4b802772731bbdf98e6b015851a3e7f",
"... |
package mount
import (
"path/filepath"
"sync"
"github.com/golang/glog"
)
// FakeMounter implements mount.Interface for tests.
type FakeMounter struct {
MountPoints []MountPoint
Log []FakeAction
// Some tests run things in parallel, make sure the mounter does not produce
// any golang's DATA RACE war... | {
"content_hash": "ac61880b6c8cb5f860a8c9fd79853adb",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 110,
"avg_line_length": 25.335195530726256,
"alnum_prop": 0.6912899669239251,
"repo_name": "jcbsmpsn/kubernetes",
"id": "d34510ae2a87e08d84810469bd212395b212b5c7",
"size":... |
#include "UI/Common/StaticEx.h"
#include "UI/Common/CommonCtrl.h"
#include "WeatherBasedSimulationUI.h"
namespace WBSF
{
class CGridInterpolParam;
/////////////////////////////////////////////////////////////////////////////
// CMappingAdvancedDlg dialog
class CMappingAdvancedDlg : public CDialo... | {
"content_hash": "274996856e47eaacc97ea01ae161780a",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 78,
"avg_line_length": 22.135416666666668,
"alnum_prop": 0.6978823529411765,
"repo_name": "RNCan/WeatherBasedSimulationFramework",
"id": "4e41e2a08f8d02808b21858d85a4d361b17c... |
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'schema'
require 'rspec' | {
"content_hash": "7cfc48c2732dfef1919842a4d386af0a",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 66,
"avg_line_length": 35.5,
"alnum_prop": 0.676056338028169,
"repo_name": "kirel/schema",
"id": "c5ad20ee037e798c32b500eb2382b7c5e1e66dae",
"size": "142",
"binary": false... |
namespace ppx {
namespace string_util {
void TrimLeft(std::string& s)
{
s.erase(s.begin(), std::find_if(s.begin(), s.end(), [](unsigned char ch) {
return !std::isspace(ch);
}));
}
void TrimRight(std::string& s)
{
s.erase(std::find_if(s.rbegin(), s.rend(), [](unsigned char ch) {
... | {
"content_hash": "40891f704f48210e30757301986d5b61",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 78,
"avg_line_length": 20.571428571428573,
"alnum_prop": 0.5381944444444444,
"repo_name": "google/bigwheels",
"id": "e1da5f6145c02df343ed77da9409b8db9b8afe7d",
"size": "123... |
package org.apache.camel.component.atomix.client;
import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import io.atomix.resource.Resource;
import org.apache.camel.AsyncCallback;
import org.apache.cam... | {
"content_hash": "9ab7a3fb7b03d35e44ddd5a59f3da4f3",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 110,
"avg_line_length": 36.55072463768116,
"alnum_prop": 0.6362014274385408,
"repo_name": "mcollovati/camel",
"id": "f11ada9bf09857b91a248f057523399a1a876930",
"size": "58... |
import React from 'react'
import PropTypes from 'prop-types'
import { graphql } from 'gatsby'
import Layout from '../components/Layout'
import Features from '../components/Features'
import Testimonials from '../components/Testimonials'
import Pricing from '../components/Pricing'
export const ProductPageTemplate = ({
... | {
"content_hash": "de888e18b6e54642c2f82807d5fba0e8",
"timestamp": "",
"source": "github",
"line_count": 214,
"max_line_length": 69,
"avg_line_length": 27.672897196261683,
"alnum_prop": 0.46335697399527187,
"repo_name": "sfoubert/cdsbf75",
"id": "547ac1e02e884a41b3a461e2192fe7547bee677a",
"size": "5... |
package org.optaplanner.examples.cloudbalancing.optional.move;
import java.util.Arrays;
import java.util.Collection;
import java.util.Objects;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.optaplanner.core.impl.heuristic.move.AbstractMove;... | {
"content_hash": "4cb20923ba14c0c6c080bb551a0fee5d",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 96,
"avg_line_length": 37.49438202247191,
"alnum_prop": 0.7168115073419239,
"repo_name": "oskopek/optaplanner",
"id": "4a7c65e322ad114605d182531850df8162a53a95",
"size": "3... |
Delo.PartsLayer = function(config) {
this._initPartsLayer(config);
};
Delo.PartsLayer.prototype = {
_initPartsLayer : function(config) {
this.partMap = {};
config.id = 'parts_layer';
// call super constructor
Kinetic.Layer.call(this, config);
/* set event handlers */
var document... | {
"content_hash": "14fafedaa869eaef15a7417805a7a7f9",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 61,
"avg_line_length": 20.128205128205128,
"alnum_prop": 0.6152866242038216,
"repo_name": "heartyoh/infogra",
"id": "966d32b2df7f1139f2b9c5bcd1747de313e89b90",
"size": "168... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Meta, title, CSS, favicons, etc. -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
... | {
"content_hash": "291144824c9c87928f81a29f72d6890f",
"timestamp": "",
"source": "github",
"line_count": 320,
"max_line_length": 133,
"avg_line_length": 40.596875,
"alnum_prop": 0.47425140481872063,
"repo_name": "mizangh/inventory",
"id": "ff4211b61fa08fb9f717dedc1c5dea64712bbe5d",
"size": "12991",
... |
// Description: Entity Framework Bulk Operations & Utilities (EF Bulk SaveChanges, Insert, Update, Delete, Merge | LINQ Query Cache, Deferred, Filter, IncludeFilter, IncludeOptimize | Audit)
// Website & Documentation: https://github.com/zzzprojects/Entity-Framework-Plus
// Forum & Issues: https://github.com/zzzprojec... | {
"content_hash": "802a3f7e2c8dac8f932855c341a46d36",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 191,
"avg_line_length": 41.96511627906977,
"alnum_prop": 0.5394846217788861,
"repo_name": "zzzprojects/EntityFramework-Plus",
"id": "0455be0c6b48a8a3ed7b08f6b01b8e4e5262e354"... |
def add_native_methods(clazz):
def sin__double__(a0):
raise NotImplementedError()
def cos__double__(a0):
raise NotImplementedError()
def tan__double__(a0):
raise NotImplementedError()
def asin__double__(a0):
raise NotImplementedError()
def acos__double__(a0):
... | {
"content_hash": "8e354451b559a0aaebfdb49dd928fc9f",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 89,
"avg_line_length": 31.5609756097561,
"alnum_prop": 0.6367851622874807,
"repo_name": "laffra/pava",
"id": "d7073997d1871a68e38d0ee04f2a37d907505e2b",
"size": "2588",
"... |
package org.apache.spark.executor
import java.lang.Long.{MAX_VALUE => LONG_MAX_VALUE}
import java.util.concurrent.{ConcurrentHashMap, TimeUnit}
import java.util.concurrent.atomic.{AtomicLong, AtomicLongArray}
import scala.collection.mutable.HashMap
import org.apache.spark.internal.Logging
import org.apache.spark.me... | {
"content_hash": "402c215ea378456bd9a59818ec91b4cf",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 95,
"avg_line_length": 38.51162790697674,
"alnum_prop": 0.7169384057971014,
"repo_name": "kiszk/spark",
"id": "805b0f729b122a0a2d6476896e123138d7a7f7ff",
"size": "7424",
... |
"""
Convolution layer tests
"""
import itertools as itt
import numpy as np
from neon import NervanaObject
from neon.layers.layer import Convolution
from neon.initializers.initializer import Uniform
from tests.utils import allclose_with_out
def pytest_generate_tests(metafunc):
np.random.seed(1)
if metafunc.con... | {
"content_hash": "e8185e7542629e8482245684809f05a4",
"timestamp": "",
"source": "github",
"line_count": 442,
"max_line_length": 86,
"avg_line_length": 36.463800904977376,
"alnum_prop": 0.5561829124526897,
"repo_name": "coufon/neon-distributed",
"id": "599b10b5e9132760783cd3bf3cfe3fa16b350940",
"siz... |
package com.opengamma.financial.security;
import com.opengamma.financial.security.future.AgricultureFutureSecurity;
import com.opengamma.financial.security.future.BondFutureSecurity;
import com.opengamma.financial.security.future.DeliverableSwapFutureSecurity;
import com.opengamma.financial.security.future.EnergyFut... | {
"content_hash": "8a3d50ec53e02b77954ee37206c7cd5c",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 87,
"avg_line_length": 39.58695652173913,
"alnum_prop": 0.8643602416254805,
"repo_name": "ChinaQuants/OG-Platform",
"id": "81fac851e70fbc7f8fc62123a47ea12f2e160ccd",
"size"... |
<?php
/**
* The contents of this file was generated using the WSDLs as provided by eBay.
*
* DO NOT EDIT THIS FILE!
*/
namespace DTS\eBaySDK\MerchantData\Types;
/**
*
* @property string[] $eBayPictureURL
* @property string $ExternalPictureURL
*/
class PictureURLsType extends \DTS\eBaySDK\Types\BaseType
{
... | {
"content_hash": "4354b34a078c40b37eb7142c49679cbe",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 116,
"avg_line_length": 28.574074074074073,
"alnum_prop": 0.5748541801685029,
"repo_name": "chain24/ebayprocess-lumen",
"id": "c25b0b488f210eec7e5634cfe5b995c226a14f56",
"s... |
package eu.modaclouds.sla.mediator.model.constraints;
public enum TargetClass {
NONE(Names.NONE),
METHOD(Names.METHOD),
INTERNAL_COMPONENT(Names.INTERNAL_COMPONENT),
VM(Names.VM);
private static class Names {
static String NONE = "";
static String METHOD = "Method... | {
"content_hash": "ce41fd22b348f58676998608dcd4b8bc",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 63,
"avg_line_length": 23.945945945945947,
"alnum_prop": 0.5507900677200903,
"repo_name": "modaclouds/modaclouds-sla-mediator",
"id": "f89ed8a25ecd69c0a8d114b19774018d9cc6154... |
// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
#include "unicode/bytestream.h"
#include "unicode/utypes.h"
#include "unicode/locid.h"
#include "unicode/putil.h"
#include "unicode/uchar.h"
#include "unicode/uloc.h"
#include "unicode/ures.h"
#include "uni... | {
"content_hash": "0018340f72c6afe0d7758596ce7c2d5a",
"timestamp": "",
"source": "github",
"line_count": 1341,
"max_line_length": 98,
"avg_line_length": 28.653989560029828,
"alnum_prop": 0.5148210800260247,
"repo_name": "graetzer/arangodb",
"id": "843cd8f391b50a5931bb380e6bbb048a4e78f9d3",
"size": "... |
package slack
// Group contains all the information for a group
type Group struct {
GroupConversation
IsGroup bool `json:"is_group"`
}
| {
"content_hash": "b82f5d233f86754e98d8af0d69b222b4",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 49,
"avg_line_length": 19.714285714285715,
"alnum_prop": 0.7608695652173914,
"repo_name": "jirwin/quadlek",
"id": "b77f909dbd6ff9a5fd7897ea6cbe17dbbb52286a",
"size": "138",
... |
package ch.uzh.ifi.pdeboer.pplib.examples.optimizationSimulation
import ch.uzh.ifi.pdeboer.pplib.hcomp.HCompPortalAdapter
import ch.uzh.ifi.pdeboer.pplib.process.entities._
import ch.uzh.ifi.pdeboer.pplib.process.recombination._
import ch.uzh.ifi.pdeboer.pplib.process.stdlib.{ContestWithStatisticalReductionProcess, Co... | {
"content_hash": "c8ef07b1b042af64851c8fa0389012d1",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 158,
"avg_line_length": 51.0377358490566,
"alnum_prop": 0.7837338262476895,
"repo_name": "uzh/PPLib",
"id": "e2287a5336298737639d659cfc1985ac9e00c7fb",
"size": "2705",
"b... |
/* Layout helpers
----------------------------------*/
.ui-helper-hidden {
display: none;
}
.ui-helper-hidden-accessible {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
.ui-helper-reset {
margin: 0;
padding: 0;
border: 0;
outlin... | {
"content_hash": "d1585fc0072e168bd6b8a98176caac2a",
"timestamp": "",
"source": "github",
"line_count": 492,
"max_line_length": 94,
"avg_line_length": 34.8760162601626,
"alnum_prop": 0.6896672300250597,
"repo_name": "cvetter34/entership-engine",
"id": "1ba6c2b437bc232f5265e72c843a9ea09d870d31",
"si... |
package org.springframework.osgi.service.importer.support;
import org.springframework.core.enums.StaticLabeledEnum;
import org.springframework.core.enums.StaticLabeledEnumResolver;
/**
* Enum-like class containing the OSGi service importer thread context class loader (TCCL) management options.
*
* @au... | {
"content_hash": "dcd6661f609318b1f9930cfaebcfda22",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 117,
"avg_line_length": 34.27450980392157,
"alnum_prop": 0.7597254004576659,
"repo_name": "kurtharriger/spring-osgi",
"id": "92e5ff4189c4b67cc66c1888a846bdcaeff98195",
"siz... |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2009-2011, WSO2 Inc. (http://www.wso2.org) 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
~
~ htt... | {
"content_hash": "c1940e03adb3ce3faf040bd20f2c0ba5",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 201,
"avg_line_length": 37.39473684210526,
"alnum_prop": 0.6917663617171006,
"repo_name": "thushara35/carbon-registry",
"id": "d60b03c2cf84a972b1ac70e2013637dc7b65aae2",
"s... |
package org.assertj.core.api.path;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import java.nio.file.Path;
import org.assertj.core.api.PathAssert;
import org.assertj.core.api.PathAssertBaseTest;
class PathAssert_hasParent_Test extends PathAssertBaseTest {
private final Path ... | {
"content_hash": "348baa54ecddfab52f51feacbdd593e5",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 88,
"avg_line_length": 24.28,
"alnum_prop": 0.771004942339374,
"repo_name": "assertj/assertj-core",
"id": "255514a5e9c8175349397312789d5f85f1bd3289",
"size": "1213",
"bin... |
using Castle.Core;
using Castle.MicroKernel;
namespace Rhino.Testing.AutoMocking
{
class NonPropertyResolvingComponentActivator : AutoMockingComponentActivator
{
public NonPropertyResolvingComponentActivator(ComponentModel model, IKernel kernel, ComponentInstanceDelegate onCreation, ComponentIns... | {
"content_hash": "8fe451b76eff0c5187d9a9128dcd920c",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 170,
"avg_line_length": 34.388888888888886,
"alnum_prop": 0.7027463651050081,
"repo_name": "codechip/rhino-tools",
"id": "111ec56c04feb14b7198699bc0b981b1431e7d1e",
"size":... |
.. _new-labware:
########
Labware
########
When writing a protocol, you must inform the Protocol API about the labware you will be placing on the OT-2's deck.
When you load labware, you specify the name of the labware (e.g. ``'corning_96_wellplate_360ul_flat'``), and the slot on the OT-2's deck in which it will be ... | {
"content_hash": "632d6b41604c45689173adf81230de3c",
"timestamp": "",
"source": "github",
"line_count": 327,
"max_line_length": 747,
"avg_line_length": 43.77064220183486,
"alnum_prop": 0.6236288688604765,
"repo_name": "Opentrons/labware",
"id": "e77ef763fd44bf2b1bf2703949239a13be3dcf2c",
"size": "1... |
package com.intellij.openapi.fileTypes.impl;
import com.intellij.ide.highlighter.ArchiveFileType;
import com.intellij.ide.highlighter.ModuleFileType;
import com.intellij.ide.highlighter.ProjectFileType;
import com.intellij.ide.highlighter.WorkspaceFileType;
import com.intellij.ide.highlighter.custom.SyntaxTable;
impor... | {
"content_hash": "9dd8d7c8478b537772dc8442784f95b7",
"timestamp": "",
"source": "github",
"line_count": 1466,
"max_line_length": 166,
"avg_line_length": 46.53547066848567,
"alnum_prop": 0.7252752085135076,
"repo_name": "smmribeiro/intellij-community",
"id": "c86b476d152102fbc96a6de42ff2b3518d555571",... |
package com.bytebeats.codelab.generator;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.Writer;
import java.util.Map;
import freemarker.template.Configuration;
import freemarker.template.Template;
import ... | {
"content_hash": "d318b1de62fb858b7069bc8d5b399267",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 153,
"avg_line_length": 32.73684210526316,
"alnum_prop": 0.77491961414791,
"repo_name": "FBing/cglib-demo",
"id": "fcc6c62b27976ce4847ade226f97ff779f16d4cf",
"size": "1258"... |
const versionMixin = {
data () {
return {
clientVersionName: '',
apiVersionName: ''
}
},
methods: {
refreshVersionNames () {
const capabilities = this.$store.get('capabilities')
if (capabilities) {
if (capabilities.client) {
this.clientVersionName = capabiliti... | {
"content_hash": "f3aebf7520886d0bdeb983919a7c7fc8",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 82,
"avg_line_length": 27.86111111111111,
"alnum_prop": 0.5962113659022931,
"repo_name": "kalisio/kCore",
"id": "afaaf46773ddbbcc5f7e45b1bb783b5ad9dde590",
"size": "1003",
... |
<div class="leaflet-control-timeline leaflet-control-timeline-collapsed leaflet-control">
<a class="leaflet-control-timeline-toggle" href="#" title="Timeline"></a>
</div> | {
"content_hash": "018c2d3ac033765a455a44697d31ec59",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 89,
"avg_line_length": 58,
"alnum_prop": 0.7471264367816092,
"repo_name": "kirschbombe/boulevardier",
"id": "409ecd80542320716a3cc772e3ad036d93ac06e2",
"size": "174",
"bin... |
#include "rawdataset.h"
#include "ogr_spatialref.h"
#include "cpl_string.h"
#include "ershdrnode.h"
CPL_CVSID("$Id: ersdataset.cpp 24927 2012-09-16 12:14:44Z rouault $");
/************************************************************************/
/* ===================================================================... | {
"content_hash": "105b8097e38036e81cb0431458c2d652",
"timestamp": "",
"source": "github",
"line_count": 1412,
"max_line_length": 149,
"avg_line_length": 37.39589235127479,
"alnum_prop": 0.4208662386606822,
"repo_name": "TUW-GEO/OGRSpatialRef3D",
"id": "ac30ae3af5a68e8466c3675cbc66b48e75c3daa9",
"si... |
namespace Nz
{
bool TaskSchedulerImpl::Initialize(std::size_t workerCount)
{
if (IsInitialized())
return true; // Déjà initialisé
#if NAZARA_CORE_SAFE
if (workerCount == 0)
{
NazaraError("Invalid worker count ! (0)");
return false;
}
#endif
s_workerCount = static_cast<DWORD>(workerCount);
s... | {
"content_hash": "336d943532dd15b5079f610b9547337c",
"timestamp": "",
"source": "github",
"line_count": 239,
"max_line_length": 133,
"avg_line_length": 29.259414225941423,
"alnum_prop": 0.6796796796796797,
"repo_name": "DigitalPulseSoftware/NazaraEngine",
"id": "87742ba3033ab475100704655fec9674b0d91b... |
package ssdp
import (
"fmt"
"log"
"net/http"
"net/url"
"regexp"
"strconv"
"sync"
"time"
"gx/ipfs/QmQtBcHtRy9BxjawZjWJBn8aSKbqraBnQiVsc3wt9w9TTn/goupnp/httpu"
)
const (
maxExpiryTimeSeconds = 24 * 60 * 60
)
var (
maxAgeRx = regexp.MustCompile("max-age=([0-9]+)")
)
const (
EventAlive = EventType(iota)
E... | {
"content_hash": "7ed0fb6bbe5577df6585185772ff9043",
"timestamp": "",
"source": "github",
"line_count": 312,
"max_line_length": 92,
"avg_line_length": 23.92628205128205,
"alnum_prop": 0.6951105157401206,
"repo_name": "cpacia/openbazaar-go",
"id": "fd240c9df17d534c4ecd5c6b881fff0e7e0c2638",
"size": ... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "99cc6c6d529219450bed9a0f1650a285",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "cb434f6622939f25dfce01032c21954ec6ee5c00",
"size": "189... |
package city.tests.roles;
import junit.framework.TestCase;
public class RestaurantTimmsCookTest extends TestCase {
public void setUp() throws Exception {
super.setUp();
}
public void testNormativeScenario() throws InterruptedException {
System.out.println(Thread.currentThread().getStackTrace()[1].getMethodN... | {
"content_hash": "c5dd8a01f943935ac7397bba4d9ff415",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 80,
"avg_line_length": 21.235294117647058,
"alnum_prop": 0.7506925207756233,
"repo_name": "zhangtdavid/SimCity",
"id": "ed5600c3b2e2da97722d9ec90542d757425eba86",
"size": "... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>City-R-US API</title>
<link href="{{ asset('swagger/css/typography.css') }}" media='screen' rel='stylesheet' type='text/css'/>
<link href="{{ asset('swagger/css/reset.css') }}" media='screen' rel='stylesheet' type='text/css'/>
<link href="{... | {
"content_hash": "49ee9fdede1905ba400a35182c0354f8",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 129,
"avg_line_length": 45.03333333333333,
"alnum_prop": 0.5227609178386381,
"repo_name": "scify/city-r-us-service",
"id": "bc77776fb0a4143054dbe993247782e157f13d53",
"siz... |
package org.elsys.postfix;
public class Multiply extends BinaryOperation {
public Multiply() {
super("*");
}
@Override
public double calculate(double firstOperand, double secondOperand) {
return firstOperand * secondOperand;
}
}
| {
"content_hash": "9aca820263bd6cb2420ae2fc19954f79",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 69,
"avg_line_length": 20.083333333333332,
"alnum_prop": 0.7427385892116183,
"repo_name": "arnaudoff/elsys",
"id": "cd01d5a70289c7748554b386496ccfcd376ca047",
"size": "241"... |
require "decent_exposure"
require "haml-rails"
require "jquery-rails"
require "simple_form"
require "spreadsheet_on_rails"
require 'aasm'
require "surveillance/engine"
module Surveillance
extend ActiveSupport::Autoload
autoload :Field, "surveillance/field"
autoload :PartialsCollection, "surveillance/partials_c... | {
"content_hash": "489d6cba4d1fa5cec437b8b60cd7f064",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 71,
"avg_line_length": 24.721311475409838,
"alnum_prop": 0.7049071618037135,
"repo_name": "glyph-fr/surveillance",
"id": "5b53453f835d82e6dd07701d1503ce6b0146ae9b",
"size":... |
import os
import sys
import getopt
import traceback
import pprint
import time
import subprocess
import shlex
import re
import operator
calls = dict() # dict of dicts: {'name', 'bcet', 'wcet', 'lastcall', 'running'}
list_calls = False
pretty = False
coverage = False
covdata = {}
full_stats = False
filter_func = None
s... | {
"content_hash": "014d486065b7d9e729a720433c9a8ef0",
"timestamp": "",
"source": "github",
"line_count": 476,
"max_line_length": 147,
"avg_line_length": 34.220588235294116,
"alnum_prop": 0.5555282706120694,
"repo_name": "TRDDC-TUM/wcet-benchmarks",
"id": "0b7474e2fd7246a0055986f0c3037c6c7ff7d3be",
"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_72-internal) on Mon Mar 14 13:22:19 GMT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.a... | {
"content_hash": "db90dd8ba12e335adbca55177f35b272",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 179,
"avg_line_length": 39.992063492063494,
"alnum_prop": 0.6189720182575907,
"repo_name": "apache/incubator-taverna-site",
"id": "fd5213eb598e26947b19222bd4cdaa6878df314d",... |
FROM balenalib/imx8mm-var-dart-ubuntu:cosmic-build
ENV GO_VERSION 1.14.13
RUN mkdir -p /usr/local/go \
&& curl -SLO "https://storage.googleapis.com/golang/go$GO_VERSION.linux-arm64.tar.gz" \
&& echo "445b719ebf46d8825360dabad65226db154ca8053de60609bc20f80a17452cbb go$GO_VERSION.linux-arm64.tar.gz" | sha256sum -c -... | {
"content_hash": "24fe9e3a314a5337bbb7e516199c1230",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 675,
"avg_line_length": 64.03225806451613,
"alnum_prop": 0.726448362720403,
"repo_name": "nghiant2710/base-images",
"id": "471eea8755b565735852a67e2eff407f3d98bb58",
"size"... |
<!doctype html>
<html>
<head>
<title>Angular Cron Gen</title>
<!-- angular -->
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.5.0/angular.min.js"></script>
<!-- lib -->
<script src="../build/cron-gen.min.js"></script>
<!--<script src="../build/cron-gen.module.js"></script>-->
... | {
"content_hash": "89b5edd2ab9f90fac5405f39c7182fb4",
"timestamp": "",
"source": "github",
"line_count": 217,
"max_line_length": 115,
"avg_line_length": 35.244239631336406,
"alnum_prop": 0.44939853556485354,
"repo_name": "vincentjames501/angular-cron-gen",
"id": "a34c103236089e336626e2161ec7a0b4494ef2... |
package mll.beans;
import java.io.Serializable;
public class Artist implements Serializable
{
private static final long serialVersionUID = -152269388788828458L;
private Integer id;
private Integer songId;
private String name;
private String skills;
public Integer getId() {
return id;
}
public void setId... | {
"content_hash": "1dd5c4978b82699ccbacf2fa6f5eb762",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 67,
"avg_line_length": 18.263157894736842,
"alnum_prop": 0.7132564841498559,
"repo_name": "akhil0/MLL",
"id": "0d525e9fa26bb701ccdba95478e89039deeebc79",
"size": "694",
"... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>rockym... | {
"content_hash": "459750d7bbce146f942bc2d4fc3bf2d4",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 104,
"avg_line_length": 26.46153846153846,
"alnum_prop": 0.6411498708010336,
"repo_name": "genedelisa/rockymusic",
"id": "458a9e5b348042c3a92eea3c1502df7b28c63a9c",
"size"... |
<?php
namespace Codeception\Subscriber;
use Codeception\Event\FailEvent;
use Codeception\Event\PrintResultEvent;
use Codeception\Event\StepEvent;
use Codeception\Event\SuiteEvent;
use Codeception\Event\TestEvent;
use Codeception\Events;
use Codeception\Lib\Console\Message;
use Codeception\Lib\Console\MessageFactory;
u... | {
"content_hash": "59eea25b6d4edda50e23c77b0537e106",
"timestamp": "",
"source": "github",
"line_count": 632,
"max_line_length": 144,
"avg_line_length": 30.223101265822784,
"alnum_prop": 0.5089262342285744,
"repo_name": "dwisuseno/tiket",
"id": "abc2ba5a292bc8af01792275c12cf9e35a4fae07",
"size": "19... |
require 'omniauth/oauth'
require 'multi_json'
module OmniAuth
module Strategies
#
# Authenticate to Bitly utilizing OAuth 2.0 and retrieve
# basic user information.
#
# @example Basic Usage
# use OmniAuth::Strategies::Bitly, 'API Key', 'Secret Key'
class Bitly < OAuth2
# @param ... | {
"content_hash": "cb0b327c7bec172f20a219b72bf73f30",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 107,
"avg_line_length": 29.804347826086957,
"alnum_prop": 0.5827862873814734,
"repo_name": "josegrad/omniauth",
"id": "a6761365f0cb12c2f2917303e86ad56a993b14e7",
"size": "1... |
pipenv run python ./score_matchup.py --first="villanova" --second="gonzaga" --neutral --verbose
| {
"content_hash": "e10cd3dd7b1a695361e8b49b4b89a65d",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 95,
"avg_line_length": 96,
"alnum_prop": 0.7291666666666666,
"repo_name": "meprogrammerguy/pyMadness",
"id": "3c957b12f77825cbedb12a0d09dfc26a9f05c9a3",
"size": "150",
"bi... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="./bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="./bootstrap-theme.min.css">
<link rel="stylesheet" type="text/css" href=".... | {
"content_hash": "cd5bb8b057e6fff1db78431fd3026b69",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 87,
"avg_line_length": 44.601694915254235,
"alnum_prop": 0.44632338970169105,
"repo_name": "asakusarb/hayaoshi",
"id": "886736723032b18aafe0db2b0a52da8829d505e4",
"size": ... |
<?php
namespace DuctionPro\MainBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* This is the class that validates and merges configuration from your app/config files
*
* To learn more see {@link http://sym... | {
"content_hash": "cf6681ce8f30a6886fe340ed1a57337c",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 131,
"avg_line_length": 30.551724137931036,
"alnum_prop": 0.7178329571106095,
"repo_name": "mwd410/DuctionPro",
"id": "28e8de41fea7e876522f3c2ed68dd21124d6982f",
"size": "8... |
<?php
/**
* CDbConnection represents a connection to a database.
*
* CDbConnection works together with {@link CDbCommand}, {@link CDbDataReader}
* and {@link CDbTransaction} to provide data access to various DBMS
* in a common set of APIs. They are a thin wrapper of the {@link http://www.php.net/manual/e... | {
"content_hash": "50f4916eea4066ddfd6fa566d703007e",
"timestamp": "",
"source": "github",
"line_count": 804,
"max_line_length": 124,
"avg_line_length": 33.983830845771145,
"alnum_prop": 0.6834900999158219,
"repo_name": "hisuley/Durian",
"id": "14bde1508e755a3f8f89129fe41b7ba33e0bb56d",
"size": "275... |
package net.alphadev.usbstorage.test;
import net.alphadev.usbstorage.api.device.BulkDevice;
import net.alphadev.usbstorage.api.scsi.Transmittable;
import net.alphadev.usbstorage.bbb.BulkBlockDevice;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Matchers;
import org.mocki... | {
"content_hash": "699173b26e4de98b74af4980270e1cb8",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 89,
"avg_line_length": 30.714285714285715,
"alnum_prop": 0.6188372093023256,
"repo_name": "alphadev-net/drive-mount",
"id": "92ceb205c358749977e372a6cfbedaf99bc6116f",
"si... |
@interface SNPSearchUsersOperation : SNPBaseStreamOperation
<SNPUserParameters, SNPPaginationParameters>
// -- Properties --
@property (nonatomic, nonnull, copy) NSString* queryString;
// -- Initialization --
- (nonnull instancetype)initWithQueryString:(nonnull NSString*)queryString
... | {
"content_hash": "8190dabb05c9e53127868d7a69082bf9",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 106,
"avg_line_length": 39.333333333333336,
"alnum_prop": 0.6864406779661016,
"repo_name": "exsortis/Snapper",
"id": "64cd55ff1edd7b149d20c6c7b21431149ae193bf",
"size": "73... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.