text
stringlengths
2
1.04M
meta
dict
package fr.afcepf.al29.groupem.dao.impl; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.transaction.Transactional; import org.springframework.stereotype.Component; import fr.afcepf.al29.groupem.dao.api.CartLineDaoApi; import fr.afcepf.al29.gr...
{ "content_hash": "716ea26890074ba3ba003ae3879630fd", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 170, "avg_line_length": 26.346938775510203, "alnum_prop": 0.796281951975213, "repo_name": "Afcepf-GroupeM/ProjetCesium", "id": "b268e0834fd17e0b33cee0453ea0a8281f09567d", "...
import { Command } from "./Command"; import { LineResults } from "./LineResults"; import { Parameter } from "./Parameters/Parameter"; import { RepeatingParameters } from "./Parameters/RepeatingParameters"; import { SingleParameter } from "./Parameters/SingleParameter"; /** * A command for declaring methods within an ...
{ "content_hash": "3d5926caef09deaa3a1a293b2f4e92e9", "timestamp": "", "source": "github", "line_count": 85, "max_line_length": 114, "avg_line_length": 33.858823529411765, "alnum_prop": 0.5361362056984017, "repo_name": "chris-j-tang/GLS", "id": "69185b631756be5d356697e4d88349b30b825e39", "size": "28...
from rdopkg.action import Action, Arg ACTIONS = [ Action('review_patch', help="send patch(es) for review", optional_args=[ Arg('local_patches_branch', metavar='PATCHES_BRANCH', positional=True, nargs='?', help="local patches branch with ch...
{ "content_hash": "03b22137bfa7d160eba5009f672f7fee", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 71, "avg_line_length": 34.43478260869565, "alnum_prop": 0.5050505050505051, "repo_name": "redhat-openstack/rdopkg", "id": "ec8e6f5947855cffa570c9939e876e1a24f0d033", "size"...
<?php namespace backend\modules\user\models\forms; use Yii; use yii\base\Model; /** * Forgot password form */ class ResendForm extends Model { /** * @var string Username and/or email */ public $email; /** * @var \backend\modules\user\models\User */ protected $_user = false; ...
{ "content_hash": "c5b253571d8b9e8be2941f9f0a8cbf5f", "timestamp": "", "source": "github", "line_count": 114, "max_line_length": 83, "avg_line_length": 24.30701754385965, "alnum_prop": 0.4832190544929628, "repo_name": "AleksandrChernyavenko/hintbox", "id": "b63e9b7c19fe4d532d19cc0769e909b7fff0572c", ...
<?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. ~ ~ WSO2 Inc. licenses this file to you 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 co...
{ "content_hash": "12c3e9720d194a01416998bdb4bdde62", "timestamp": "", "source": "github", "line_count": 92, "max_line_length": 201, "avg_line_length": 45.01086956521739, "alnum_prop": 0.5525235450374306, "repo_name": "isharak/carbon-identity", "id": "85b79331eaa7f8030fee36d4856dd6e801fb7a8c", "size...
"""Utilities to build a pycolab game from ASCII art diagrams.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import itertools import numpy as np from pycolab import engine from pycolab import things import six def ascii_art_to_game(art, ...
{ "content_hash": "1cfcea8cba239b3368d061a105be2995", "timestamp": "", "source": "github", "line_count": 350, "max_line_length": 107, "avg_line_length": 45.47428571428571, "alnum_prop": 0.67636340789143, "repo_name": "deepmind/pycolab", "id": "8cd32933b752086bb0928be5b0871e1941ccf74f", "size": "1650...
<?php use Carbon\Carbon; use AcceptanceTester as A; // codecept run acceptance CronCest --steps -f class CronCest { public function _before(A $I) { // if run manually, don't forget to first run // codecept run acceptance HelperTestsCest:resetDatabase $I->amOnPage('/'); $I->se...
{ "content_hash": "8ec7758923c242d1a8d82d73e4eb84a9", "timestamp": "", "source": "github", "line_count": 370, "max_line_length": 111, "avg_line_length": 34.064864864864866, "alnum_prop": 0.5364963503649635, "repo_name": "fridde/naturskolan_database", "id": "e4ad42a33d12c4053eb984d009498728e40b840a", ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.mariadb.fluent; import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceMethod; import com.azure.co...
{ "content_hash": "fb447c8f87daa1bfcad5009a388f412c", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 119, "avg_line_length": 54.611111111111114, "alnum_prop": 0.7558494404883012, "repo_name": "Azure/azure-sdk-for-java", "id": "bd47e7fd131d8d410e599b110427f69124f81ae3", "si...
package com.google.android.exoplayer2.upstream; import static com.google.android.exoplayer2.util.Util.castNonNull; import android.content.ContentResolver; import android.content.Context; import android.content.res.AssetFileDescriptor; import android.net.Uri; import androidx.annotation.Nullable; import com.google.and...
{ "content_hash": "14847d725ff5c89aef348c8410771db1", "timestamp": "", "source": "github", "line_count": 169, "max_line_length": 97, "avg_line_length": 30.331360946745562, "alnum_prop": 0.6595786188060866, "repo_name": "stari4ek/ExoPlayer", "id": "40fba3767105b3bc890994940f56d31fd9aee751", "size": "...
// // Copyright (C) INRIA 1999-2008 // // This program is free software; you can redistribute it and/or modify it // under the terms of the GNU General Public License version 2 as published // by the Free Software Foundation. // // This program is distributed in the hope that it will be useful, but // WITHOUT ANY WARRA...
{ "content_hash": "c6f3d6d950008dcc8f683eaab8d0a226", "timestamp": "", "source": "github", "line_count": 115, "max_line_length": 99, "avg_line_length": 28.026086956521738, "alnum_prop": 0.6850760161340366, "repo_name": "siconos/siconos-deb", "id": "a7b085ad1722d487a77636639336e48d8703e735", "size": ...
package com.personlife.personinfo.carema; import com.example.personlifep.R; import android.view.KeyEvent; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.AdapterView; import android.widget.BaseAdapter; import android.widget.GridView; public class Gri...
{ "content_hash": "552ed226b74322f1a688746e50b60891", "timestamp": "", "source": "github", "line_count": 123, "max_line_length": 75, "avg_line_length": 23.365853658536587, "alnum_prop": 0.7466945024356297, "repo_name": "feishuai/PersonLife", "id": "503383af51c0be5ca9d7457df9c9cca292ddfc65", "size": ...
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" style="@style/layout_bg" > <include layout="@layout/top_bar" /> <RelativeLayout style="@style/layout_body" > <TextView android:id="@+id/lable" android:layout_wid...
{ "content_hash": "56c2c2c14505c67522a5f4a3ecc15bdf", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 78, "avg_line_length": 34.32, "alnum_prop": 0.6107226107226107, "repo_name": "ShawnDongAi/AEASSISTANT", "id": "5d9c56b2fb8a22e749f92d31c9978f9ba5906520", "size": "858", "...
<!DOCTYPE html> <html> <!-- File: build-cordova-install-osx.html Description: How to install Cordova on OSX Author: Mikael Kindborg Copyright (c) 2013-2016 Evothings AB --> <head> <meta charset="utf-8"> <script src="../js/include-head.js"></script> <title>Install Cordova on OS X</title> </head> <body> <div class="evo...
{ "content_hash": "927ce0f74f7e39a2f8993cc9fd51602a", "timestamp": "", "source": "github", "line_count": 152, "max_line_length": 471, "avg_line_length": 63.23026315789474, "alnum_prop": 0.7099157215690355, "repo_name": "evothings/evothings-doc", "id": "308eb2c8433012293d962a05300a8c5afadc2807", "siz...
########################################################################## #Aqueduct - Compliance Remediation Content #Copyright (C) 2011,2012 # Vincent C. Passaro (vincent.passaro@gmail.com) # Shannon Mitchell (shannon.mitchell@fusiontechnology-llc.com) # #This program is free software; you can redistribut...
{ "content_hash": "9714b14562cde2dc307a02077f6fc223", "timestamp": "", "source": "github", "line_count": 86, "max_line_length": 76, "avg_line_length": 41, "alnum_prop": 0.5266591038003403, "repo_name": "tomhurd/clip", "id": "533b5c85cf6130a8ad1841843898e03b54197467", "size": "3539", "binary": fals...
package org.jte.constant; public final class Constants { /** * 请求参数:起始索引 */ public final static String REQUEST_PARAM_START = "start"; /** * 请求参数:每页大小 */ public final static String REQUEST_PARAM_PAGE_SIZE = "pageSize"; /** * 请求参数:id */ public final static String REQUEST_PARAM_ID ...
{ "content_hash": "4e8fbc23f78f00587059bcbc6d69268e", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 65, "avg_line_length": 16.28125, "alnum_prop": 0.6065259117082533, "repo_name": "chenzuopeng/jte", "id": "9b59b26bf523cbf2399d65bdfa7293add727a753", "size": "808", "binar...
import {Component, ElementRef, ViewChild} from '@angular/core'; import {LoadingService, PopupInfo, JigsawBubbleLoading} from "jigsaw/public_api"; @Component({ templateUrl: './demo.component.html', styleUrls: ['./demo.component.css'] }) export class BubbleLoadingDemoComponent { @ViewChild('block') block: El...
{ "content_hash": "1155ffaf7b6171430137494cd82d623f", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 90, "avg_line_length": 27.88888888888889, "alnum_prop": 0.5389869095048377, "repo_name": "rdkmaster/jigsaw", "id": "19872125551d21cd477dd91b6051f9225f76cff2", "size": "1757...
(function(root, factory) { if (typeof define === 'function' && define.amd) { define(['exports'], function(exports) {root.WebK = factory(root, exports);}); } else if (typeof exports !== 'undefined') { factory(root, exports); } else { root.WebK = factory(root, root.WebK || {}); } }(this, function(...
{ "content_hash": "42a6bb2aa36baf876f8e51d8545893eb", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 91, "avg_line_length": 26.650793650793652, "alnum_prop": 0.6515783204288267, "repo_name": "coronadofactory/webkitecture", "id": "0a38e08a02ce53aea88bbf2f1a1556cc870a173c", ...
using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; using System.Threading.Tasks; using PhotoArchive.Activities; namespace PhotoArchive.FileSystem.Analyzers { /// <summary> /// Checks the directory structure according to a the structure /// - container...
{ "content_hash": "771fbc409f046c7eb103beb89a1ca817", "timestamp": "", "source": "github", "line_count": 110, "max_line_length": 133, "avg_line_length": 35.872727272727275, "alnum_prop": 0.6150532184490624, "repo_name": "PhotoArchive/core", "id": "acac9d270bd1e42b16203fcae8cf48d1186b27ba", "size": "...
package org.apache.olingo.client.core.edm.xml; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; import org.apache.commons.lang3.BooleanUtils; import org.apache.olingo.commons.api.edm.provider.CsdlComplexType; impo...
{ "content_hash": "d04ef6a5cf2d9eba3df000df545e2343", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 106, "avg_line_length": 41.27272727272727, "alnum_prop": 0.7030837004405286, "repo_name": "mtaal/olingo-odata4-jpa", "id": "0b59e999b24b5223f333dc84a9b551ef34848a56", "size...
title: Certificate Authority aliases: - /certauth/ --- # Certificate Authority Services are generally configured to trust a specific certificate authority. These CAs may be backed by different providers and take responsibility for signing standard x.509 and OpenSSH certificates. ## Supported Providers * [In-Memor...
{ "content_hash": "0c00ad99c38f85c8252cf17ee65e23f6", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 200, "avg_line_length": 27.928571428571427, "alnum_prop": 0.7442455242966752, "repo_name": "dpb587/ssoca", "id": "f52c3609cc55b719fa1cecc417be7a1540eb6335", "size": "395", ...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
{ "content_hash": "d5e9b742f16f02f6cafb81211b92f7a4", "timestamp": "", "source": "github", "line_count": 633, "max_line_length": 267, "avg_line_length": 47.985781990521325, "alnum_prop": 0.6301234567901235, "repo_name": "smartnews/presto", "id": "eed80afd240ce7c78199103d924471d01ec719b1", "size": "3...
export const button: string; export const disabled: string; export const active: string; export const alert: string;
{ "content_hash": "007b8198fc3a8c555cd3a89c8b380090", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 30, "avg_line_length": 29.25, "alnum_prop": 0.7948717948717948, "repo_name": "uppsaladatavetare/foobar-kiosk", "id": "5bab570c067656fb649a9864f622553617685d72", "size": "117...
import os from util import * import argparse def main(): parser = argparse.ArgumentParser() parser.add_argument("--lang", type=str, help="language/dir containing files", default="EN") parser.add_argument("--min_sup", type=int, help="minimum support for considering entity", default=100) parser.add_ar...
{ "content_hash": "2df1000f0aa6413da4f9aa9e29f47431", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 163, "avg_line_length": 48.53658536585366, "alnum_prop": 0.7035175879396985, "repo_name": "shangjingbo1226/AutoPhrase", "id": "6705a7dc7dbaa59e9528e0a90c5b0d6b00281ce8", "s...
namespace Santase.AI.ConsoleWebPlayer.Common { public class WebPlayerConstants { public const string BotName = "Console Web Player"; public const int MinimumPointsForClosingGame = 61; public const int HasEnoughTrumpCards = 5; public const int PointsCloseToVictory = 55; }...
{ "content_hash": "12f74b618fb74897ab9c7d736be94a40", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 59, "avg_line_length": 23.071428571428573, "alnum_prop": 0.6873065015479877, "repo_name": "tovaneedsa/Dr.-Radeva-mrazi-voda", "id": "ca921408591f4185500d2d28f92f74c41c5c20fe"...
BEGIN; DROP INDEX recipe_note_recipe_id_idx; DROP INDEX recipe_tag_recipe_id_idx; DROP INDEX recipe_rating_recipe_id_idx; DROP INDEX recipe_image_recipe_id_idx; COMMIT;
{ "content_hash": "f977ade3c47e8f87729370a8c815b24f", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 39, "avg_line_length": 21.25, "alnum_prop": 0.7823529411764706, "repo_name": "chadweimer/gomp", "id": "7adb20be39b43068c9fa0a25cd30cd724a2cc25d", "size": "170", "binary": ...
import time from datetime import datetime, timedelta, timezone import jwt from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives import serialization def main(): with open('/home/run/priv.pem', 'rb') as f: private_key = serialization.load_pem_private_key(f.read(), pa...
{ "content_hash": "160316af9d37430e562c61bc32495746", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 108, "avg_line_length": 27.58823529411765, "alnum_prop": 0.6567164179104478, "repo_name": "DataDog/integrations-core", "id": "187952ff7ebb93f2cc850b449f50b153c7038124", "si...
import { or } from "@entity-space/criteria"; import { EntitySelection } from "./entity-selection"; import { EntityQuery } from "./entity-query"; import { QueryPaging } from "./query-paging"; // [todo] clean up this method, it is really hard to read and hacked together. export function mergeQuery(a: EntityQuery, ...
{ "content_hash": "4224c5d417dd7dca9ab6e0a9333c4efc", "timestamp": "", "source": "github", "line_count": 117, "max_line_length": 118, "avg_line_length": 37.572649572649574, "alnum_prop": 0.4335759781619654, "repo_name": "kukeiko/entity-space", "id": "bcf990dbea4f240e484a6feef6c76a2a24cc5f18", "size"...
// Copyright (C) 2013 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
{ "content_hash": "89f76fa4b45a4bf2b4e2f529613f042f", "timestamp": "", "source": "github", "line_count": 312, "max_line_length": 95, "avg_line_length": 33.00320512820513, "alnum_prop": 0.662425949305623, "repo_name": "midnightradio/gerrit", "id": "10a140dc173986c7e635fefab664e508fe089af1", "size": "...
import { Template } from 'meteor/templating'; import { Beaches } from '/imports/api/items/beach/beach-item.js'; import { Comments, CommentsSchema } from '/imports/api/comments/CommentsCollection.js'; import { Meteor } from 'meteor/meteor'; import { FlowRouter } from 'meteor/kadira:flow-router'; import { _ } from 'meteo...
{ "content_hash": "cbfafa94790c154a6770820e25d792ed", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 87, "avg_line_length": 34.54054054054054, "alnum_prop": 0.6764475743348983, "repo_name": "chasehawaii/chasehawaii", "id": "a1c6ed00193ab35f03bfa56258459e1c004dc452", "size"...
Blackfriday =========== Blackfriday is a [Markdown][1] processor implemented in [Go][2]. It is paranoid about its input (so you can safely feed it user-supplied data), it is fast, it supports common extensions (tables, smart punctuation substitutions, etc.), and it is safe for all utf-8 (unicode) input. HTML output i...
{ "content_hash": "4f81ea2040f3f38bc3a56dc5f0577314", "timestamp": "", "source": "github", "line_count": 231, "max_line_length": 74, "avg_line_length": 35.96536796536797, "alnum_prop": 0.7350746268656716, "repo_name": "UserStack/ustackweb", "id": "914d930d0b3ba6e3eb953a47a4927d403c8fd3f5", "size": "...
package org.apache.activemq.artemis.core.protocol.mqtt; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.concurrent.atomic.AtomicBoolean; import org.apache.activemq.artemis.api.core.ActiveMQBuffer; import org.apache.activemq.artemis.api.core.ActiveMQException; import...
{ "content_hash": "6cf2134a726b3a013773424bed9dccad", "timestamp": "", "source": "github", "line_count": 191, "max_line_length": 121, "avg_line_length": 26.413612565445025, "alnum_prop": 0.7137760158572845, "repo_name": "waysact/activemq-artemis", "id": "7bb12c6e6556aa958df1b228fa8a08648b8dab84", "s...
#define PWIZ_SOURCE #include "Reader.hpp" #include "pwiz/utility/misc/Filesystem.hpp" #include "pwiz/utility/misc/Std.hpp" namespace pwiz { namespace proteome { using namespace pwiz::util; using boost::shared_ptr; PWIZ_API_DECL void Reader::read(const string& uri, ProteomeData& result) const ...
{ "content_hash": "0172026840de67c1da0b18e0ce7eee22", "timestamp": "", "source": "github", "line_count": 106, "max_line_length": 116, "avg_line_length": 22.528301886792452, "alnum_prop": 0.6465661641541038, "repo_name": "romanzenka/myrimatch", "id": "45f3983fa593ce407a72d95d4452c0383275a6b1", "size"...
<?php /** * Get key type * * @author Ivan Shumkov * @package Rediska * @subpackage Commands * @version @package_version@ * @link http://rediska.geometria-lab.net * @license http://www.opensource.org/licenses/bsd-license.php */ class Rediska_Command_GetType extends Rediska_Command_Abstract { /** * Cr...
{ "content_hash": "491c88449ba4c86b31e5e2febe2426e9", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 73, "avg_line_length": 23.766666666666666, "alnum_prop": 0.6185133239831697, "repo_name": "Shumkov/Rediska", "id": "fe90cd241b84e253c63101e9b4c904fa2811ca32", "size": "713"...
ACCEPTED #### According to Index Fungorum #### Published in Karstenia 26(2): 47 (1986) #### Original name Peziza perparva Harmaja ### Remarks null
{ "content_hash": "a3d5737bc323b9736087c91d6aba60fe", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 26, "avg_line_length": 11.538461538461538, "alnum_prop": 0.7, "repo_name": "mdoering/backbone", "id": "4d746cad1646517056977c61c0ac925254f6c225", "size": "197", "binary":...
/* global jQuery */ var timelineEditor = (function($) { 'use strict'; /** * Zero-initialize array. * @param {Number} length Number of elements to initialize. * @return {Array} */ function makeArray(length) { var a = new Array(length); for (var i = 0; i < length; i++) { a[i] = 0; } return a; } ...
{ "content_hash": "bbe2ed7b24aa1d3f995c607a3c4d5ef9", "timestamp": "", "source": "github", "line_count": 402, "max_line_length": 295, "avg_line_length": 29.48507462686567, "alnum_prop": 0.6428752214629208, "repo_name": "phamd/Timeline-Editor", "id": "5c303acf64159464617a56211dd6f830dc46167f", "size"...
package com.scaffold.commons.async.config; import java.util.concurrent.Callable; import java.util.concurrent.Future; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.DisposableBean; import org.springframework.beans.factory.InitializingBean; import org.springframework.c...
{ "content_hash": "b073882990f2f0dda6a4265e803a50ef", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 97, "avg_line_length": 27.50602409638554, "alnum_prop": 0.6360052562417872, "repo_name": "mjedrasz/micro-scaffolding", "id": "530874c7a9b1bcc5fc755338ec036a3ee32c83ab", "si...
import { Injectable } from '@angular/core'; import { Http, Response, Headers } from "@angular/http"; import { User } from "./user.interface"; // rxjs import {Observable} from "rxjs/Observable"; import "rxjs/Rx"; // used for .map @Injectable() export class AppointmentService { private strPostUrl: string = "https:/...
{ "content_hash": "59b132515bbdf9e1e492f9869fc9bb6b", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 129, "avg_line_length": 34.916666666666664, "alnum_prop": 0.6670644391408115, "repo_name": "leemtek/TMJSleepTherapyCentre.com-Angular-2", "id": "0552ca1dab648a690b374ec112977...
package org.apache.hadoop.hbase.io.encoding; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.nio.ByteBuffer; import org.apache.hadoop.hbase.Cell; import org.apache.hadoop.hbase.CellComparator; import org.apache.hadoop.hbase.CellUtil; import org.apache.hadoop.h...
{ "content_hash": "c1039dc30d1a08936802775c4da06351", "timestamp": "", "source": "github", "line_count": 214, "max_line_length": 98, "avg_line_length": 37.71028037383178, "alnum_prop": 0.7038413878562577, "repo_name": "gustavoanatoly/hbase", "id": "842894f73529e7fc9942761694688f2c06023b7c", "size": ...
''' Created on May 22, 2015 @author: MP ''' import amo.core.polylog as polylog import numpy as np import amo.core.physicalconstants from amo.core.physicalconstants import LithiumSixSI as li import scipy.optimize import unittest import mpmath from liexperiment.traps.calibrations import TrapCalibrationsDipole as cal pc ...
{ "content_hash": "a6242ca948c66488f6a1a729864d746f", "timestamp": "", "source": "github", "line_count": 95, "max_line_length": 127, "avg_line_length": 39.50526315789474, "alnum_prop": 0.6373567812416733, "repo_name": "MaxParsons/amo-physics", "id": "dcd84d1fca1265b8c0b353381d766b5f51c17231", "size"...
#include "DaemonServerParameters.h" #include "IO/Core/Log.h" #include "Core/StringModifier.h" #include "Plugins/cpplibext/range_iterator.hpp" #include <functional> #include <map> namespace Fork { namespace Daemon { /* * Internal members */ static Configuration appConfig; static void ShowInfo() { IO::Lo...
{ "content_hash": "b1457bee7d59f040e20b3276225ebe1b", "timestamp": "", "source": "github", "line_count": 152, "max_line_length": 134, "avg_line_length": 30.585526315789473, "alnum_prop": 0.4805334480533448, "repo_name": "LukasBanana/ForkENGINE", "id": "3c099502541964295a8034ae5aa811780a86a4b5", "siz...
package com.alexbbb.uploadservice.demo; import java.io.File; import java.net.URL; import java.util.UUID; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.Pro...
{ "content_hash": "9c0b4fde10dc5b9eabec7d19c75ec08f", "timestamp": "", "source": "github", "line_count": 161, "max_line_length": 118, "avg_line_length": 35.13664596273292, "alnum_prop": 0.6515821106593601, "repo_name": "MarsVard/android-upload-service", "id": "617db61963f44078fb9486f88b9dba54479f661a"...
namespace Yahoo.Yui.Compressor.Web.Optimization { public class CssCompressorConfig : CompressorConfig { public CssCompressorConfig() { RemoveComments = true; } public bool RemoveComments { get; set; } } }
{ "content_hash": "8d2284beaea50edf356259bb4fd59354", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 55, "avg_line_length": 22.75, "alnum_prop": 0.5897435897435898, "repo_name": "VAllens/Yahoo.YUI.Compressor.NET.Modified", "id": "accf1d8dc19a9364fde512403ef0285e8a8dd942", ...
<ns0:eml xmlns:ns0="eml://ecoinformatics.org/eml-2.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" packageId="judithk.341.11" scope="system" system="knb" xsi:schemaLocation="eml://ecoinformatics.org/eml-2.1.0 eml.xsd"> <access authSystem="knb" order="denyFirst" scope="document"> <allow> <principal>public</pr...
{ "content_hash": "6fc8570c44821ef9f965a4d80c9e2ce4", "timestamp": "", "source": "github", "line_count": 879, "max_line_length": 349, "avg_line_length": 42.10125142207053, "alnum_prop": 0.7842570324533197, "repo_name": "NCEAS/metadig", "id": "79ac0916834d2de4730c397593d469d49bffc8e7", "size": "37007...
<?php namespace Contagric\BackendBundle\Admin; use Sonata\AdminBundle\Admin\Admin; use Sonata\AdminBundle\Admin\AdminInterface; use Sonata\AdminBundle\Form\FormMapper; use Sonata\AdminBundle\Datagrid\DatagridMapper; use Sonata\AdminBundle\Datagrid\ListMapper; use Sonata\AdminBundle\Show\ShowMapper; use Sonata\AdminBun...
{ "content_hash": "00fbb820815f40bd0cccee882ade16e9", "timestamp": "", "source": "github", "line_count": 109, "max_line_length": 143, "avg_line_length": 30.541284403669724, "alnum_prop": 0.542805647341544, "repo_name": "AlexAznar/ContabilidadAgricola", "id": "0d778abef7b208c609a041617a41ba092884b1d5",...
"use strict" // A custom Tool for shifting the end point of a Link to be anywhere along the edges of the port. /** * This constructor produces a tool for shifting the end of a link; * use it in a diagram.toolManager.mouseDownTools list: * <pre>myDiagram.toolManager.mouseDownTools.add(new LinkShiftingTool());</pre> *...
{ "content_hash": "a2438f3c8db5ab944fdc711b58b07631", "timestamp": "", "source": "github", "line_count": 281, "max_line_length": 97, "avg_line_length": 26.82918149466192, "alnum_prop": 0.6222310651280011, "repo_name": "dads-software-brotherhood/sekc", "id": "14701c8a61a8d8549bf6b57e5f0b1a0916e61ca6", ...
@interface APHDashboardGraphTableViewCell : APCDashboardGraphTableViewCell @property (strong, nonatomic) IBOutletCollection(UIView) NSArray *tintViews; @property (nonatomic) BOOL showMedicationLegend; + (CGFloat)medicationLegendContainerHeight; @end
{ "content_hash": "6e2945a1ca21eca87b23feb32ba7b312", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 76, "avg_line_length": 28.11111111111111, "alnum_prop": 0.8458498023715415, "repo_name": "Erin-Mounts/mPowerSDK", "id": "e74d5b26a4c7d47d79a4f13c98862817b6fdafdd", "size": "...
<?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> <groupId>com.m...
{ "content_hash": "a11406ea6e76246bf2b1103d03b08c59", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 108, "avg_line_length": 34.12903225806452, "alnum_prop": 0.5431632010081916, "repo_name": "maxdemarzi/neo_roots", "id": "7c8a1df9a4b3827cac5722ceddeec1c771e8c64a", "size": ...
package pgx_test import ( "bytes" "github.com/flynn/flynn-discovery/Godeps/_workspace/src/github.com/jackc/pgx" "strings" "testing" "time" ) func TestConnQueryScan(t *testing.T) { t.Parallel() conn := mustConnect(t, *defaultConnConfig) defer closeConn(t, conn) var sum, rowCount int32 rows, err := conn.Qu...
{ "content_hash": "140175f974403b914ad30b120986ab2a", "timestamp": "", "source": "github", "line_count": 848, "max_line_length": 175, "avg_line_length": 25.08254716981132, "alnum_prop": 0.6250587682181477, "repo_name": "imjorge/flynn-discovery", "id": "4c4df8a718ac8132d789de0ef92c52e9dd3ca779", "siz...
namespace ExampleApp { namespace DoubleTapIndoorInteraction { namespace SdkModel { class IDoubleTapIndoorInteractionController; class DoubleTapIndoorInteractionController; } } }
{ "content_hash": "8708573932f7f767778b8a70e547528d", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 56, "avg_line_length": 21.545454545454547, "alnum_prop": 0.6497890295358649, "repo_name": "wrld3d/wrld-example-app", "id": "933e4498f37933e5911103d4e9562b2fd045c9b3", "size...
import sys, getopt import serial import time try: from progressbar import * usepbar = 1 except: usepbar = 0 # Verbose level QUIET = 20 def mdebug(level, message): if(QUIET >= level): print >> sys.stderr , message class CmdException(Exception): pass class CommandInterface: def open(...
{ "content_hash": "9126c3f7497a30fe0c0fac5a590389c1", "timestamp": "", "source": "github", "line_count": 407, "max_line_length": 96, "avg_line_length": 31.398034398034397, "alnum_prop": 0.4981610454652164, "repo_name": "uvc-ingenieure/cordi", "id": "6cd5d1241c3daee382d5095247509980df8740eb", "size":...
CREATE TABLE [employer_financial].[LevyOverride] ( [Id] BIGINT NOT NULL PRIMARY KEY IDENTITY, [AccountId] BIGINT NOT NULL, [IsLevyPayer] TINYINT NOT NULL DEFAULT 0, [DateAdded] DATETIME NOT NULL, [ChangedBy] VARCHAR(500) NOT NULL ) GO CREATE INDEX [IX_LevyOverride_AccountId_IsLevyPayer] ON [employer_financial].[...
{ "content_hash": "9684cb5b75bf32ce3349b55af4e642b9", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 141, "avg_line_length": 35.18181818181818, "alnum_prop": 0.7700258397932817, "repo_name": "SkillsFundingAgency/das-employerapprenticeshipsservice", "id": "297f8096bbe506981e2...
<?php class SuperNews_Posts_Varian3_Builder extends WP_Widget { /** * Sets up the widgets. * * @since 1.0.0 */ function __construct() { // Set up the widget options. $widget_options = array( 'classname' => 'builder-supernews-posts-varian-3', 'description' => __( 'Display posts...
{ "content_hash": "43cbd226d47eba89db7f4620089da287", "timestamp": "", "source": "github", "line_count": 184, "max_line_length": 211, "avg_line_length": 35.02173913043478, "alnum_prop": 0.521260086902545, "repo_name": "cornelous/theprayingcoupleau", "id": "a6144e096e9b309f11706bc837a21b7b4efc4485", ...
import shutil import pytest from mock import call from scanpointgenerator import CompoundGenerator, LineGenerator, StaticPointGenerator from malcolm.core import Context, Process from malcolm.modules.builtin.defines import tmp_dir from malcolm.modules.pmac.parts import BeamSelectorPart from malcolm.modules.pmac.util i...
{ "content_hash": "e84c1dcfbf6899de1014530187a50e08", "timestamp": "", "source": "github", "line_count": 990, "max_line_length": 88, "avg_line_length": 34.06060606060606, "alnum_prop": 0.5266014234875445, "repo_name": "dls-controls/pymalcolm", "id": "e11a41ba924c8b8ab8b15c33ee88ee95423e64b9", "size"...
package com.utils.andres; import java.util.ArrayList; import java.util.Map; import android.content.SharedPreferences; public class ConflictChecker { ArrayList<Dependency> list = new ArrayList<Dependency>(); SharedPreferences mPreferences; /** * Detector de conflicto en base a las dependencias * @param mSh...
{ "content_hash": "8606fa23a008f6cb56b8eae7bc362e11", "timestamp": "", "source": "github", "line_count": 89, "max_line_length": 130, "avg_line_length": 35.92134831460674, "alnum_prop": 0.6787613387550829, "repo_name": "dragondgold/MultiWork", "id": "e24ac58b12ef9ed2434f219a595c4cf7abf287af", "size":...
import chai = require('chai'); import fs = require('fs'); var expect = chai.expect; var tsc = require('..'); describe('CompositeCompilerHost', () => { it('Should accept custom lib.d.ts locations', () => { var cch = new tsc.CompositeCompilerHost({ defaultLibFilename: 'some/random/lib.d.ts' }); expect(cch.ge...
{ "content_hash": "cbd615ab463bc93183e7d7b776da1782", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 92, "avg_line_length": 25.866666666666667, "alnum_prop": 0.654639175257732, "repo_name": "theblacksmith/typescript-compiler", "id": "d82420616a545b9e4987dccac7ee04df01f98a9b"...
.leaflet-toolbar .leaflet-control-draw-polygon { background-position: -31px -2px; } .leaflet-control-draw-polygon { font-size: 16px; font-weight: bold; line-height: 21px; } .leaflet-control-draw-polygon a { display: block; text-align: center; text-decoration: none; width: 22px; height: 22px; displ...
{ "content_hash": "1d390a93f215f0e1f14105061c27bd1e", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 50, "avg_line_length": 20.75, "alnum_prop": 0.6967871485943775, "repo_name": "julianray/leaflet_gem", "id": "3075793de4c3611c14def3fb3c22c21079efc05d", "size": "498", "bi...
package gov.va.escreening.dto.ae; import java.io.Serializable; import java.util.List; import com.fasterxml.jackson.annotation.JsonRootName; @JsonRootName("page") public class Page implements Serializable { private static final long serialVersionUID = 1L; private String pageTitle; private L...
{ "content_hash": "b66f8e5d664398178eec74748bced7a7", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 79, "avg_line_length": 21.58823529411765, "alnum_prop": 0.6655313351498637, "repo_name": "efloto/Mental-Health-eScreening", "id": "b2ac7dd375b0115cbd0d630e9d5bbd17b382fc98", ...
module BackboneEditable module Rails require 'backbone_editable/rails/engine' if defined?(Rails) end end
{ "content_hash": "5f7273fa5326589c636cec68fdddde53", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 63, "avg_line_length": 22.4, "alnum_prop": 0.7767857142857143, "repo_name": "geoffharcourt/backbone_editable-rails", "id": "4600aef3f3be774c191cb1e107284dbcd447ed22", "size"...
package com.example.administrator.criminalintent_github; import android.content.Context; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumentation test, which...
{ "content_hash": "ce95a678be73c99cefa23c22f7c97360", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 101, "avg_line_length": 30.692307692307693, "alnum_prop": 0.7593984962406015, "repo_name": "SoSoMaMaHuHu/CriminalIntent", "id": "049785827246396f4d2693c9a076c439ba28b8bb", ...
<div class="bg">  <div class="container contact"> <h1 class="text-center">Contact us</h1> <br /> <?php if (validation_errors() != '') { ?> <div class="row"> <div class="alert alert-danger alert-dismissible" role="alert"> <strong>Error !</strong><br/><br/><?php echo valid...
{ "content_hash": "784155e73ddfa908ed7673fbf743c6ca", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 151, "avg_line_length": 38.486486486486484, "alnum_prop": 0.5294943820224719, "repo_name": "ahmed-faresse/blitz", "id": "cd4d50f6c54a1057e07d5966588740f6fcee830c", "size": ...
rootpath=$SURVEY_DATA codepath=$SURVEY_CODE if [ "$#" -ne 3 ]; then echo "Usage: $0 trainCollection testCollection feature" exit fi trainCollection=$1 testCollection=$2 feature=$3 k=1000 tagger=tagvote if [ "$feature" = "color64+dsift" ]; then distance=l1 elif [ "$feature" = "vgg-verydeep-16-fc7relu" ];...
{ "content_hash": "e7493a69ef262e140ee7efc5b365b246", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 150, "avg_line_length": 28.693877551020407, "alnum_prop": 0.7467994310099573, "repo_name": "li-xirong/jingwei", "id": "ff71a017dd2138206be8346cdeb3c526e2d6ed22", "size": "1...
<!DOCTYPE html> <!-- webpage built using Twitter Bootstrap, an open source web framework --> <html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta charset="utf-8"> <title>SharedHere</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <...
{ "content_hash": "1fb7688647bfc00cc53865c082296572", "timestamp": "", "source": "github", "line_count": 141, "max_line_length": 423, "avg_line_length": 46.9645390070922, "alnum_prop": 0.5795832074901842, "repo_name": "Mohammad-Khan/sharedhere", "id": "1426ecc12d9059f37486181e0b2380c14fb8de17", "siz...
const pathModule = require('path'); const expect = require('../unexpected-with-plugins'); const AssetGraph = require('../../lib/AssetGraph'); // These tests require a bunch of different plugins, find the // right place for them when the core transforms have been split out describe.skip('transforms/inlineHtmlTemplates'...
{ "content_hash": "7f2fc28b8ece69ce19e5a115ae526781", "timestamp": "", "source": "github", "line_count": 202, "max_line_length": 335, "avg_line_length": 41.603960396039604, "alnum_prop": 0.6135173726796763, "repo_name": "assetgraph/assetgraph", "id": "220f50c8cb15caa0a94257e7afeca60bbf8ce166", "size...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/pubsub/v1/pubsub.proto namespace Google\Pubsub\V1; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Request for the UpdateTopic method. * * Generated from ...
{ "content_hash": "16de63e208c4dcb9c35cf546c49bf3cb", "timestamp": "", "source": "github", "line_count": 92, "max_line_length": 93, "avg_line_length": 26.565217391304348, "alnum_prop": 0.6284779050736498, "repo_name": "shinfan/api-client-staging", "id": "aec28a6754e4abe5deb4204b51fd970447215501", "s...
'use strict' var cantonService = require('services/provincia.canton.service'); function queryCanton(req, res) { var q = req.query.q; var fields = req.query.fields; var sort = req.query.sort; var page = req.query.page; var perPage = req.query.per_page; cantonService.query(req.p...
{ "content_hash": "0d0acccea187554750d1af9b81ff43b7", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 79, "avg_line_length": 27.22077922077922, "alnum_prop": 0.5539122137404581, "repo_name": "ntrujillo/elecciones", "id": "556c5ecb07d6a3eefd02d35e64ab9c341ceab094", "size": "...
package org.apache.skywalking.oap.server.core.management.ui.template; import java.util.HashMap; import java.util.Map; import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.Setter; import org.apache.skywalking.oap.server.core.analysis.Stream; import org.apache.skywalking.oap.server.core.analysis.manage...
{ "content_hash": "e0da6d27a2642de6db68add6be2f42a0", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 141, "avg_line_length": 39.71052631578947, "alnum_prop": 0.7060967528164347, "repo_name": "ascrutae/sky-walking", "id": "f4544fd746d60f67019c2165cb46f675c705c764", "size": ...
<?php namespace Sylius\Bundle\CurrencyBundle; use Doctrine\Bundle\DoctrineBundle\DependencyInjection\Compiler\DoctrineOrmMappingsPass; use Sylius\Bundle\ResourceBundle\DependencyInjection\Compiler\ResolveDoctrineTargetEntitiesPass; use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; use Symfony\Component\Depende...
{ "content_hash": "193b5f34b4599ab74699a6d56647556a", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 173, "avg_line_length": 29.551020408163264, "alnum_prop": 0.7064917127071824, "repo_name": "fatihi-achraf/weshop", "id": "fa9d6b58811a526b409caffe6ac1579b36fcb17b", "size":...
static const char* ppszTypeName[] = { "ERROR", "tx", "block", "filtered block", "tx lock request", "tx lock vote", "spork", "sn winner", "sn scan error", "sn budget vote", "sn budget proposal", "sn budget finalized", "sn budget finalized vote", "sn quorum", "s...
{ "content_hash": "0c679b4616276b59718c4394cde15c20", "timestamp": "", "source": "github", "line_count": 150, "max_line_length": 118, "avg_line_length": 21.80666666666667, "alnum_prop": 0.5894221950473861, "repo_name": "GregoryBetz/DarkSilk", "id": "ab8fce6fc6c31c488d7e6de3a934c8cfd01dc90d", "size":...
<?php use Illuminate\Foundation\Testing\WithoutMiddleware; use Illuminate\Foundation\Testing\DatabaseMigrations; use Illuminate\Foundation\Testing\DatabaseTransactions; class ExampleTest extends TestCase { /** * A basic functional test example. * * @return void */ public function testBasic...
{ "content_hash": "24b20a63cfcc990cbb96ad84141f4bab", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 56, "avg_line_length": 22.473684210526315, "alnum_prop": 0.6627634660421545, "repo_name": "fdiep/laravel5_semantic", "id": "0f10a0a66a39bbb10c16a283b1720c02e66b1797", "size...
======= Credits ======= Development Lead ---------------- * Adam Doyle <adamldoyle@gmail.com> Contributors ------------ None yet. Why not be the first?
{ "content_hash": "7ae6087db9b2911d921417e19fa21dde", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 35, "avg_line_length": 11.923076923076923, "alnum_prop": 0.5419354838709678, "repo_name": "adamldoyle/python-keybase-client", "id": "c5dcb6670f561739e39a0d35322ae9a52a00b180"...
package org.assertj.core.internal.doubles; import static org.assertj.core.api.Assertions.assertThatExceptionOfType; import static org.assertj.core.error.ShouldBeLess.shouldBeLess; import static org.assertj.core.test.TestData.someInfo; import static org.assertj.core.test.TestFailures.failBecauseExpectedAssertionErrorW...
{ "content_hash": "5baa61e0fc5e1d6e4ddfa1956537dee5", "timestamp": "", "source": "github", "line_count": 94, "max_line_length": 144, "avg_line_length": 34.54255319148936, "alnum_prop": 0.7145056975669849, "repo_name": "xasx/assertj-core", "id": "a973cce8739d9aae1115197b06f42763f73dd882", "size": "38...
namespace Bio.Web.Blast { /// <summary> /// Container for the Statistics segment of the XML BLAST format. /// </summary> public class BlastStatistics { /// <summary> /// The number of sequences in the iteration /// </summary> public int SequenceCount { get; set; } ...
{ "content_hash": "60ebd493598c1d226f170fe92895a860", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 69, "avg_line_length": 25.953488372093023, "alnum_prop": 0.5161290322580645, "repo_name": "dotnetbio/bio", "id": "d23538829b97418ed3d73bcc86d39c4a416953a8", "size": "1118",...
:mod:`apscheduler.schedulers.background` ======================================== .. automodule:: apscheduler.schedulers.background API --- .. autoclass:: BackgroundScheduler :show-inheritance: Introduction ------------ BackgroundScheduler runs in a thread **inside** your existing application. Calling :meth:`...
{ "content_hash": "3a96778c93f8d33f9c58952d3ebd0b7c", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 120, "avg_line_length": 27.17241379310345, "alnum_prop": 0.6852791878172588, "repo_name": "srault95/apscheduler", "id": "b12cd205724376af98618a4c5ce4e6b578aafeff", "size": ...
<div class="row"> <?php $modules = Modules::get(); foreach( $modules as $_module ) { if( isset( $_module[ 'application' ][ 'details' ][ 'namespace' ] ) ) { $module_namespace = $_module[ 'application' ][ 'details' ][ 'namespace' ]; ?> <div class="col-lg-3"> <div class="box" id="#module-"> <div c...
{ "content_hash": "155ff08a5f11a41821bbf38bf1e5271a", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 254, "avg_line_length": 48.116279069767444, "alnum_prop": 0.5408409859835669, "repo_name": "gopalindians/tendoo-cms", "id": "ec1415431ad85670edc57ff9e31f96103a44717b", "siz...
<?php /* * GENERATED CODE WARNING * Generated by gapic-generator-php from the file * https://github.com/googleapis/googleapis/blob/master/google/ads/googleads/v11/services/ad_group_service.proto * Updates to the above are reflected here through a refresh process. */ namespace Google\Ads\GoogleAds\V11\Services; ...
{ "content_hash": "04696f470464eadf22606469adeb3801", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 112, "avg_line_length": 28.7, "alnum_prop": 0.794425087108014, "repo_name": "googleads/google-ads-php", "id": "be095b04b22551caace79c344c49341f13c0a842", "size": "1168", ...
""" This demonstrates how to use model fom pytest side """ import pytest import pyosmo from examples.pytest.calculator_test_model import CalculatorTestModel @pytest.fixture(scope='function') def osmo() -> pyosmo.Osmo: """ You can use common parts in fixtures as normally with pytest """ return pyosmo.Osmo(Cal...
{ "content_hash": "e89273e879da370be002b492b2dcd01e", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 75, "avg_line_length": 34.675, "alnum_prop": 0.726027397260274, "repo_name": "OPpuolitaival/pyosmo", "id": "54f54692da991dc3d6a3f65f674b956cf3c2ba2c", "size": "1427", "bi...
<?php declare(strict_types=1); namespace Documents; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\NotifyPropertyChanged; use Doctrine\Common\PropertyChangedListener; use Doctrine\ODM\MongoDB\Mapping\Annotations as ODM; /** @ODM\Document @ODM\ChangeTrackingPolicy("NOTIFY") */ class ProfileNoti...
{ "content_hash": "e8494ced29fd750261b84b65953ebf6c", "timestamp": "", "source": "github", "line_count": 102, "max_line_length": 128, "avg_line_length": 23.19607843137255, "alnum_prop": 0.6255283178360102, "repo_name": "alcaeus/mongodb-odm", "id": "022fae73dc15fe7b86d399c9a75bb01176e3eb3f", "size": ...
<?php interface iFigura { public function getSuperficie(); public function getDiametro(); public function getBase(); public function getAltura(); public function getTipo(); }
{ "content_hash": "c59ee9fee8bf0c6f028eeb638ff71c04", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 36, "avg_line_length": 21.2, "alnum_prop": 0.6415094339622641, "repo_name": "NightZpy/test-geopagos", "id": "c6d5310e959ee6c08464840c5d6aa9f77dcc5700", "size": "212", "bi...
/** * @fileoverview Elements cannot use an invalid ARIA attribute. * @author passle */ //------------------------------------------------------------------------------ // Requirements //------------------------------------------------------------------------------ const { RuleTester } = require('eslint'); const ru...
{ "content_hash": "c33cc3f905e952b84eff47d3e9de6103", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 80, "avg_line_length": 24.46511627906977, "alnum_prop": 0.38688212927756654, "repo_name": "ChromeDevTools/devtools-frontend", "id": "6e4bcf70ed5fc68ad302ecafee078fd1c06afaa8"...
MINI_YOU.Compiler = function () { }; MINI_YOU.Compiler.prototype.constructor = MINI_YOU.Compiler; /** * @param {string} code */ MINI_YOU.Compiler.prototype.compileCode = function (code) { let json = JSON.parse(code); return json; };
{ "content_hash": "e125c378ac201b21ee6876f424cecd86", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 60, "avg_line_length": 18.692307692307693, "alnum_prop": 0.6790123456790124, "repo_name": "mini-you/avatar-creator", "id": "df97b6a74bbc3baf76cfe3eb00814e55b8707748", "size...
package com.sequenceiq.environment.experience.common; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.ArgumentMatchers.anyString; import static org.mockito.M...
{ "content_hash": "bb37c85287edb86a47a211280ccc77b7", "timestamp": "", "source": "github", "line_count": 92, "max_line_length": 159, "avg_line_length": 40.84782608695652, "alnum_prop": 0.7716870675891432, "repo_name": "hortonworks/cloudbreak", "id": "6a8e6d1e54774172c70ba2cd5484b55d6f6e027b", "size"...
The List View ============= .. note:: This document is a stub representing a new work in progress. If you're reading this you can help contribute, **no matter what your experience level with Sonata is**. Check out the `issues on GitHub`_ for more information about how to get involved. This document will ...
{ "content_hash": "f8eb399c1c2d27dfe72b25a5b647ccf3", "timestamp": "", "source": "github", "line_count": 231, "max_line_length": 246, "avg_line_length": 48.995670995671, "alnum_prop": 0.42640042410319845, "repo_name": "mysterio85/portfolio", "id": "424362c8dbe4bae28cbdfe9a58b3fb955bc2a5db", "size": ...
BRANCH_NAME=$1 COMMENT=$2 if [ $# -ne 2 ]; then echo "$0 : Provide two arguments: branchName and a quoted comment." exit 1 fi APACHEDS_SVN=https://svn.apache.org/repos/asf/directory/apacheds SHARED_SVN=https://svn.apache.org/repos/asf/directory/shared PROJECT_SVN=https://svn.apache.org/repos/asf/directory/pro...
{ "content_hash": "be687592a775b6549cd1bac955d36621", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 99, "avg_line_length": 50.25714285714286, "alnum_prop": 0.7362137578169414, "repo_name": "apache/directory-project", "id": "8f11c38601231b7ee937b026786042abfe23f53a", "size...
package org.ibase4j.web; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.apache.shiro.authz.annotation.RequiresPermissions; import org.ibase4j.model.SysEmailTemplate; import org.ibase4j.service.SysEmailTemplateService; import org.springframework.web.bind.annotation.GetMapping;...
{ "content_hash": "970c9d7ed25be49d46c277bd42168b63", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 107, "avg_line_length": 33.35, "alnum_prop": 0.7276361819090454, "repo_name": "iBase4J/iBase4J", "id": "ff2dcd52bec546193a56be896711ec6e7850f2a7", "size": "2101", "binary...
#include <iostream> #include <tins/tins.h> #include "netwhere.hpp" using namespace std; using namespace Tins; #include <unistd.h> int main(int argc, char **argv) { if (argc != 4) { cerr << "usage: " << argv[0] << " interface ip netmask" << endl; return 1; } NetWhere netwhere(argv[1], IPv4Range::fro...
{ "content_hash": "3b7e6995295029bcbfc33a146db6a1ea", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 69, "avg_line_length": 17.571428571428573, "alnum_prop": 0.6260162601626016, "repo_name": "benhsmith/netwhere", "id": "273b1b2d11967478682e8517b4ece447c241f9cc", "size": "4...
const electron = require('electron') const path = require('path') const url = require('url') const autoUpdater = require('./auto-updater') if (require('electron-squirrel-startup')) electron.app.quit() const app = electron.app const BrowserWindow = electron.BrowserWindow let mainWindow function createWindow () { ma...
{ "content_hash": "97809a43d41bb5d049ae4c6716ae5d3a", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 61, "avg_line_length": 20.03846153846154, "alnum_prop": 0.6372360844529751, "repo_name": "matiastucci/electron-auto-updater-example", "id": "dd58d24fdf1b77302266639efa029e54c...
using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [ass...
{ "content_hash": "60a787eb9ca55e97c138ccbe7e6bb433", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 84, "avg_line_length": 36.3, "alnum_prop": 0.7428833792470156, "repo_name": "bryanbcook/xf.cm.starterkit", "id": "0d46680633d7d54535013ff58d29756b274bac00", "size": "1092",...
layout: news_item title: Example of call another program in expect author: XiaohuiJiang version: 0.1 categories: [expect] --- {% highlight tcl %} {% include code/expect/call_another.exp %} {% endhighlight %}
{ "content_hash": "bf6bea0e064f63122a3a906dcef16001", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 48, "avg_line_length": 20.9, "alnum_prop": 0.7272727272727273, "repo_name": "XiaohuiJiang/XiaohuiJiang.github.io", "id": "9ba002b1f02b39a35593186cc7157e0eeab88f26", "size":...
package me.realmoriss.prog3.nagyhf.entities; import me.realmoriss.prog3.nagyhf.entities.primitives.Vec2D; /** * Created on 11/30/16. */ public class CyanBrick extends Brick { private static final String DEF_CLASSNAME = "prop_brick_cyan"; public CyanBrick(Vec2D pos, String name) { super(pos, name, "cyan"); cla...
{ "content_hash": "02cedc4da008191022c5e4aaf69f8d6b", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 63, "avg_line_length": 24.928571428571427, "alnum_prop": 0.7335243553008596, "repo_name": "realmoriss/prog3", "id": "3b788531801e43527f3bd955844107a67fce599a", "size": "349...
Entries ============ ### Version 0.9.0 - 20121210 #### By Justin Kimbrell / Objective HTML ### *Public Beta* This software is in public beta. It reuses the native exp:channel:entries loop, so it's already really stable. Still, don't use it on any projects that have looming deadlines and expect me to immediately fi...
{ "content_hash": "783f3ef81fdcb0fb0f3c1e1f9f9e22ad", "timestamp": "", "source": "github", "line_count": 235, "max_line_length": 319, "avg_line_length": 32.361702127659576, "alnum_prop": 0.7430637738330046, "repo_name": "objectivehtml/Entries", "id": "a15a487f7fb89989380d740a0a09d4261e028919", "size...
'use strict'; var fs = require('fs'); var path = require('path'); var https = require('https'); var mime = require('mime'); module.exports = function (port, callback) { var server = https.createServer({ key: fs.readFileSync(path.join(__dirname, '..', 'fixture', 'key.pem')), cert: fs.readFileSync(path.join(_...
{ "content_hash": "cea93bce13c27f53bbbe62f967191002", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 77, "avg_line_length": 24.203703703703702, "alnum_prop": 0.5531752104055088, "repo_name": "mantoni/mochify.js", "id": "d9851eb55e76c90de527a35ff6fdda0b8ce998a3", "size": "1...
package com.amazonaws.services.kinesisanalyticsv2.model.transform; import javax.annotation.Generated; import com.amazonaws.SdkClientException; import com.amazonaws.services.kinesisanalyticsv2.model.*; import com.amazonaws.protocol.*; import com.amazonaws.annotation.SdkInternalApi; /** * InputProcessingConfigurati...
{ "content_hash": "42355bebdd214396dbed2441fffba539", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 159, "avg_line_length": 38.95454545454545, "alnum_prop": 0.779463243873979, "repo_name": "aws/aws-sdk-java", "id": "d8bfb356ca979619ad11dba06d7b9f813bd26f98", "size": "2294...
using extensions::AppWindow; using extensions::AppWindowRegistry; namespace { std::string GetAppShelfId(AppWindow* app_window) { if (app_window->window_type_is_panel()) return base::StringPrintf("panel:%d", app_window->session_id().id()); return app_window->extension_id(); } } // namespace AppWindowLaunche...
{ "content_hash": "8799d31c4a2cf6c2509474e988483cfa", "timestamp": "", "source": "github", "line_count": 208, "max_line_length": 80, "avg_line_length": 38.74038461538461, "alnum_prop": 0.6959543310995284, "repo_name": "highweb-project/highweb-webcl-html5spec", "id": "4e46569bc33dfccd2ac56a7ba41eeb480e...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // This program uses code hyperlinks available as part of the HyperAddin Visual Studio plug-in. // It is available from http://www.codeplex.com/hyperAddin #if !PLATFO...
{ "content_hash": "4e37316dc3f4b75761f52c419997cb77", "timestamp": "", "source": "github", "line_count": 6924, "max_line_length": 222, "avg_line_length": 47.61712882726748, "alnum_prop": 0.5499861996172289, "repo_name": "geertdoornbos/coreclr", "id": "2eb7c38e3c8b864001e3e02fff9833ebcc3e71df", "size...
using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [ass...
{ "content_hash": "a91fa43431b93eabd59755a3d7b7e39c", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 84, "avg_line_length": 36.1, "alnum_prop": 0.7451523545706371, "repo_name": "marwac-9/HomeAutomation", "id": "54deeab4c29e90b9f35a3cae56fa15e67c06e15d", "size": "1086", "...
require 'spec_helper' klass = OneviewSDK::API500::C7000::PowerDevice RSpec.describe klass, integration: true, type: UPDATE do let(:current_client) { $client_500 } let(:current_secrets) { $secrets } include_examples 'PowerDeviceUpdateExample', 'integration api500 context' end
{ "content_hash": "3dec0dfaa8ca33320c679b3cc3eb0035", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 75, "avg_line_length": 35.375, "alnum_prop": 0.7561837455830389, "repo_name": "HewlettPackard/oneview-sdk-ruby", "id": "145d9688d5329815bd70df17653c15b93e050d58", "size": "8...
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.mybatis.dao.ViewServerMapper"> <resultMap id="BaseResultMap" type="com.mybatis.model.ViewServer"> <result column="id" jdbcType="INTEGER" propert...
{ "content_hash": "d0f60036c089b10c8bd3918cc2a56a81", "timestamp": "", "source": "github", "line_count": 141, "max_line_length": 123, "avg_line_length": 56.191489361702125, "alnum_prop": 0.6826959485043544, "repo_name": "chenyiming/learn", "id": "b8b69bc08b28903289f2018b04a069eba9560a79", "size": "7...
import os import json import sqlite3 from ..common import consts, error_message, file_read, file_write from ..server_classes import AdminTask, Group from .builder import on_created, init_task_attr from jam.db.db_modules import SQLITE, get_db_module import jam.langs as langs def create_items(task): info = file_rea...
{ "content_hash": "f193c1c52820973c9978c2a50b92a10c", "timestamp": "", "source": "github", "line_count": 214, "max_line_length": 128, "avg_line_length": 34.71495327102804, "alnum_prop": 0.5703324808184144, "repo_name": "jam-py/jam-py", "id": "7ee784880d8d1bc57eca7d95d35dbcd0c7d17e46", "size": "7429"...
""" Description =========== Index calculation operations Functions ========= """ import xarray as xr import pandas as pd from cate.core.op import op, op_input from cate.ops.select import select_var from cate.ops.subset import subset_spatial from cate.ops.anomaly import anomaly_external from cate.core.types import Po...
{ "content_hash": "a85974f265e4c5edf6537043fe03086b", "timestamp": "", "source": "github", "line_count": 173, "max_line_length": 110, "avg_line_length": 43.202312138728324, "alnum_prop": 0.6549371153331549, "repo_name": "CCI-Tools/cate-core", "id": "9ae190242b85d436f1e471979b8b1048445ecdfe", "size":...
ActiveRecord::Schema.define(version: 20170929051444) do create_table "adapter_snapshots", force: :cascade do |t| t.integer "assignment_snapshot_id" t.integer "subtask_id" t.text "description" t.text "description_url" t.text "details_json" t.boolean "fulfilled", def...
{ "content_hash": "8ca59c573f07de122d0be1632ff190f0", "timestamp": "", "source": "github", "line_count": 350, "max_line_length": 96, "avg_line_length": 27.67142857142857, "alnum_prop": 0.6151781104801239, "repo_name": "oraclekit/smart_oracle", "id": "91ec1af949710078b405cfba962282cde7ed0a41", "size"...