text
stringlengths
2
1.04M
meta
dict
package org.apache.avro.hadoop.io; import org.apache.avro.Schema; import org.apache.avro.io.BinaryData; import org.apache.avro.mapred.AvroKey; import org.apache.avro.mapreduce.AvroJob; import org.apache.avro.reflect.ReflectData; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.conf.Configured; i...
{ "content_hash": "5124df6359ccf2cf8dfe7e80022bc202", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 91, "avg_line_length": 31.391304347826086, "alnum_prop": 0.7070637119113573, "repo_name": "RallySoftware/avro", "id": "1f7c5ee8490b15a670ac049547f55738669352f5", "size": "2...
<? include "session.php"; include "DB_connection.php"; include "conn.php"; include "header1.html"; $sql=conn("SELECT stu_name,stu_br,stu_roll,stu_reg,stu_sem,stu_sec,stu_yr_add,stu_cgpa FROM student WHERE stu_reg='$_SESSION[reg]'"); // find out the number of columns in result $column_count = mysql_num_fields($sql) ...
{ "content_hash": "6476f21f5dc2a735fa529858e7af5a97", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 133, "avg_line_length": 27.210526315789473, "alnum_prop": 0.5170857511283043, "repo_name": "aloktherocker/student-info-mgmt-sys", "id": "e3c1a69d9c98f895d5f6d7ffdb51c1692cd25...
import time from datetime import datetime from webgpio.constants import (REDIS_DEVICE_STATUS_KEY, REDIS_USER_TASK_KEY, REDIS_TASK_ACTIONS, REDIS_DEVICE_TASK_VALUE) async def device_status_update(redis, device): async with redis.get() as conn: await conn.set(REDIS_DEVICE_STA...
{ "content_hash": "eee662b770a85f1bcf892ae70cfe6cb4", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 76, "avg_line_length": 33.05263157894737, "alnum_prop": 0.5498938428874734, "repo_name": "dmitriyminer/webgpio", "id": "521ac519dd2d250f367c8fb012781723413cd729", "size": "...
#include <assert.h> #include <string.h> #include <errno.h> #include "qterror.h" /* * An array to contain valid error codes and corresponding descriptive * strings. The member err contains the actual error code. The member * str is a pointer to a constant string which describes the error. */ static struct { co...
{ "content_hash": "afbca2061da71c511d5629d16a54d27c", "timestamp": "", "source": "github", "line_count": 87, "max_line_length": 115, "avg_line_length": 36.02298850574713, "alnum_prop": 0.721442246330568, "repo_name": "byannoni/qthreads", "id": "927dbdee6032d4f3e098788791aaf289b0b05581", "size": "373...
layout: "azurerm" page_title: "Azure Resource Manager: azure_virtual_network" sidebar_current: "docs-azurerm-resource-network-virtual-network" description: |- Creates a new virtual network including any configured subnets. Each subnet can optionally be configured with a security group to be associated with the subnet...
{ "content_hash": "3d299fc1fef9b8837178cb5d642e5535", "timestamp": "", "source": "github", "line_count": 99, "max_line_length": 180, "avg_line_length": 30.747474747474747, "alnum_prop": 0.7072930354796321, "repo_name": "stardog-union/stardog-graviton", "id": "987cb15e1978369ad26b19537b989c5958153620",...
exports.logout = { name: 'logout', description: 'ends the user session', inputs: { 'required' : [], 'optional' : [] }, // authorisedGroups: void(0), blockedConnectionTypes: [], outputExample: { }, run: function(api, connection, next){ api.session.delete(connection, next); } };
{ "content_hash": "5154474cb0f58cd734d82608872a69ec", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 41, "avg_line_length": 20.6, "alnum_prop": 0.6084142394822006, "repo_name": "agilgur5/NeverEndingBookBackEnd", "id": "490ce443737b0143bddbee132db5b6c24a8a4511", "size": "30...
#import "ANDescriptor.h" #define kClientConfigurationDescriptorUUIDString @"2902" @interface ANClientConfigurationDescriptor : ANDescriptor @end
{ "content_hash": "6721a3a1a1ae6c48b1f3598451c10875", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 57, "avg_line_length": 15.1, "alnum_prop": 0.8211920529801324, "repo_name": "AngelSensor/angel-sdk", "id": "e23b3ece6269da8f078e23b6eb90885c2bac1e43", "size": "1741", "bi...
<?xml version="1.0" encoding="utf-8" ?> <INTERACTIONS> <INTERACTION> <SOURCE> <CLINICAL_SOURCE>ANSM</CLINICAL_SOURCE> <SOURCE_FILE>30-AMBRISENTAN.html </SOURCE_FILE> </SOURCE> <DRUG1> <DRUG name="AMBRISENTAN" rxcui="358274"> <ATC code="C02KX02" /> </DRUG> </DRUG1> <DRUG2> <DRUG name="CICLOSPORIN" rxcui="3008"> <ATC cod...
{ "content_hash": "05e144a6e090e600b0875d0bb8c0e137", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 133, "avg_line_length": 25.272727272727273, "alnum_prop": 0.7320143884892086, "repo_name": "glilly/osdi", "id": "362289ebcbf6ca549acf41378a22181b16a5f910", "size": "556", ...
<!DOCTYPE html> <!-- Copyright (c) 2015 by Rafael Angel Aznar Aparici (rafaaznar at gmail dot com) sisane: The stunning micro-library that helps you to develop easily AJAX web applications by using Angular.js 1.x & sisane-server sisane is distributed under the MIT License (MIT) Sources at https://github.co...
{ "content_hash": "78f3f9b9c81f6f56b40d80f29ae2dfae", "timestamp": "", "source": "github", "line_count": 87, "max_line_length": 128, "avg_line_length": 56.87356321839081, "alnum_prop": 0.44421988682295876, "repo_name": "Ecoivan/sisane-client", "id": "7cee2b394e414649bc21890034ec6967954fc6a7", "size"...
/* tslint:disable */ import { ReaderFragment } from "relay-runtime"; export type PriceSummary_calculatedCost = { readonly buyersPremium: { readonly display: string | null; } | null; readonly subtotal: { readonly display: string | null; } | null; readonly " $refType": "PriceSummary_c...
{ "content_hash": "338453877869fa31eec35e1cb15945fd", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 56, "avg_line_length": 21.473684210526315, "alnum_prop": 0.5637254901960784, "repo_name": "artsy/emission", "id": "622fac6c3ad616e005f340dd340a7de6823abe1d", "size": "1224"...
<CapabilityStatement xmlns="http://hl7.org/fhir"> <status value="draft"/> <date value="2017-03-21T09:00:00-05:00"/> <description value="FHIR CapabilityStatement"/> <kind value="capability"/> <fhirVersion value="3.0.0"/> <acceptUnknown value="both"/> <format value="xml"/> <format value="json"/> <rest> <mode v...
{ "content_hash": "e39eeef89ca1df04e9e409d15a51a345", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 49, "avg_line_length": 23.6046511627907, "alnum_prop": 0.6315270935960591, "repo_name": "fhir-crucible/plan_executor", "id": "9eb1d089314ff6854cbb97ab7a4e457754929f2d", "si...
Then google-cloud-trace gem provides a Rack Middleware class that integrates with Rack-based application frameworks, such as Rails and Sinatra. When installed, the middleware collects performance traces of requests and, subject to sampling constraints, submits them to the Stackdriver Trace service. Additionally, the g...
{ "content_hash": "cd6671f288be58a89bc4ad8a7dc144c4", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 299, "avg_line_length": 47.833333333333336, "alnum_prop": 0.8132404181184669, "repo_name": "swcloud/google-cloud-ruby", "id": "b00f230fcb8a260ab3eab3ab7367e98b152e609a", "s...
package com.base.modules.sys.web; import javax.annotation.Resource; import org.apache.log4j.Logger; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotat...
{ "content_hash": "1f07be9b3506f05fa6586d908d678b2e", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 71, "avg_line_length": 24.1, "alnum_prop": 0.7485477178423237, "repo_name": "zheng-zy/zssm", "id": "a4f7400ea234d1513352cce7c54404c8f6f4c235", "size": "1257", "binary": f...
{% spaceless %} {% if support_email_header %} {{support_email_header|safe}} {% endif %} {% endspaceless %} Hello {{user}}, Your resource request for {{request}} has been denied. Reason: {{reason}} If you have questions you may contact us at {{support_email}}. Thank you, {% spaceless %} {% if support_email_footer %}...
{ "content_hash": "857bcf0c805401238aa18ac9c9481036", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 62, "avg_line_length": 20.105263157894736, "alnum_prop": 0.6649214659685864, "repo_name": "CCI-MOC/GUI-Backend", "id": "24d38980d2b4ed6a75c3a9ca8579b2640435181b", "size": "...
package org.elasticsearch.example.expertscript; import org.apache.lucene.index.LeafReaderContext; import org.apache.lucene.index.PostingsEnum; import org.apache.lucene.index.Term; import org.elasticsearch.common.settings.Settings; import org.elasticsearch.plugins.Plugin; import org.elasticsearch.plugins.ScriptPlugin...
{ "content_hash": "c56a33571604dba5a8b8b4ac730e93db", "timestamp": "", "source": "github", "line_count": 179, "max_line_length": 75, "avg_line_length": 36.78212290502793, "alnum_prop": 0.5031895504252734, "repo_name": "robin13/elasticsearch", "id": "7281c6b2be0657464af45d820fa5ed5ead6b7e95", "size":...
class Time { public static currentTime(): number { // tslint:disable-next-line return Date.now() / 1000 | 0; } } export default Time; export { Time };
{ "content_hash": "89ac801c4293ab783725b4f494b114cd", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 41, "avg_line_length": 19.555555555555557, "alnum_prop": 0.5909090909090909, "repo_name": "ratatoskr/ratatoskr", "id": "d9b497ca6664f0a1bd24060bec330671d378e6f6", "size": "1...
Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **commseq_email_uuids** | **string[]** | | [optional] **commseq_step_uuids** | **string[]** | | [optional] **days** | **int** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API l...
{ "content_hash": "b20623dee535e796ef00e1724e69d220", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 161, "avg_line_length": 45.22222222222222, "alnum_prop": 0.5257985257985258, "repo_name": "UltraCart/rest_api_v2_sdk_php", "id": "9156d54d34e394e622950306199f7ed1d291f30c", ...
//Michael Doescher //October 10, 2013 //This program reports overlapping boxes //Input = an array of box coordinates. Each box is defined as an array of points. The points represent the lower left and upper right corner. //Output = A two dimensional array. Each row contains two values indicating the index value of t...
{ "content_hash": "83c5e35b43f7405fbc4a95754b243c29", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 143, "avg_line_length": 27.87, "alnum_prop": 0.6110513096519555, "repo_name": "mdoescher/BoxOverlap", "id": "b3f5f2649a828acd0b824c088b8b72d7e940c0eb", "size": "2787", "...
YUI.add("storekeeper-views-dashboard", function (Y) { Y.namespace('SK').DashboardView = Y.Base.create("dashboardView", Y.View, [], { template: Handlebars.templates['dashboard/layout'], render: function () { var container = this.get("container"); container.setContent( this.template() ); ...
{ "content_hash": "70734ac8554db4cc234821d0e9a739ff", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 80, "avg_line_length": 19.53846153846154, "alnum_prop": 0.5649606299212598, "repo_name": "hojberg/storekeeper", "id": "e385ab1d85f045ee2bc021ef1f6d0cc4bc591102", "size": "5...
package aegis //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 //distrib...
{ "content_hash": "a505abfe06cc2ab81118db782e61e352", "timestamp": "", "source": "github", "line_count": 109, "max_line_length": 150, "avg_line_length": 36.43119266055046, "alnum_prop": 0.7537144296147066, "repo_name": "xiaozhu36/terraform-provider", "id": "3fa5fb251e758306b54ca7bb0ee2eb88bdfbdd55", ...
<?xml version="1.0" encoding="UTF-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_focused="true" android:drawable="@drawable/plugin_camera_send_focused" /> <item android:state_pressed="true" android:drawable="@drawable/plugin_camera_send_pressed" /> <ite...
{ "content_hash": "c4c342045a9e5eb13288f19183d801bb", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 98, "avg_line_length": 62, "alnum_prop": 0.7237903225806451, "repo_name": "456838/usefulCode", "id": "74da09986f979e4e4d6b7f421dac956eb41f2a22", "size": "496", "binary": f...
Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
{ "content_hash": "498266b582087b192824ef991ad2fb03", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 161, "avg_line_length": 43.333333333333336, "alnum_prop": 0.5307692307692308, "repo_name": "eliksir/mailmojo-python-sdk", "id": "a2f7a97c2eeae5895760d735e26c6db0d589e114", "...
export const generalMessages = {}; export const successMessages = { // Defaults defaultForm: 'Success - Form Saved', // Member login: 'You are now logged in', signUp: 'You are now signed up. Please login to continue.', forgotPassword: 'Password reset. Please check your email.', }; export const errorMessa...
{ "content_hash": "3a24317b2ca0ada1237701f617abc69e", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 69, "avg_line_length": 30.5625, "alnum_prop": 0.7188139059304703, "repo_name": "mcnamee/react-native-starter-app", "id": "cddcfaedc18702f177b20a122e576e15f77a30a0", "size":...
module Homecoming class Find def initialize(filename, start_dir = Dir.pwd) @start_dir = start_dir @filename = filename end # Returns all found files with the given filename in the current and all # parent directories. # # # Given the following directory structure: # # ...
{ "content_hash": "c4f6e8436de0063cfafb53a79434f627", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 76, "avg_line_length": 26.8125, "alnum_prop": 0.5629370629370629, "repo_name": "rrrene/homecoming", "id": "05dba40f1ae28a393a7fa7a295e4bf69bb05ffbe", "size": "858", "bina...
from scrapy.spider import BaseSpider class JoySpider(BaseSpider): name = "joy" allowed_domains = ["dmoz.org"] start_urls = [ "http://www.dmoz.org/Computers/Programming/Languages/Python/Books/", "http://www.dmoz.org/Computers/Programming/Languages/Python/Resources/" ] def parse(self...
{ "content_hash": "e8afd89376422f2f53f526e75b07a60c", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 79, "avg_line_length": 33, "alnum_prop": 0.655011655011655, "repo_name": "jake1036/spider", "id": "dd40c6df0710954f7ec0528985c2cb7d5c3d16c7", "size": "429", "binary": fal...
var debug = require('debug'); var name = require('../package.json').name; var MAX = 220; function json(js) { // Don't json encode the string if debug is disabled. if (this.enabled) { var s = JSON.stringify(js); if (s.length < MAX) return s; return s.substring(0, MAX) + '...'; } return ''; }...
{ "content_hash": "ac13f6ab1905eb835af533b83997738f", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 55, "avg_line_length": 19.318181818181817, "alnum_prop": 0.5835294117647059, "repo_name": "tsiry95/openshift-strongloop-cartridge", "id": "0346c4038bdf60fc7bcd8abe47aface98f0...
import CustomFeatureLayer from './CustomFeatureLayer'; import ArcGISMap from "esri/Map"; import MapView from 'esri/views/MapView'; const map = new ArcGISMap({ basemap: "gray-vector" }); /** * Initialize application */ const view = new MapView({ container: 'viewDiv', map, center: [-118.2437, 34.0522], zoo...
{ "content_hash": "0274b2acf7c7bcd9a4dd00a9d6c7410f", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 54, "avg_line_length": 17.434782608695652, "alnum_prop": 0.6882793017456359, "repo_name": "ycabon/presentations", "id": "5f7ae561e63990a63545c5fef71e93157967dbf1", "size": ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>delete-network-...
{ "content_hash": "9d330c97a0233edccfc25099f856c769", "timestamp": "", "source": "github", "line_count": 207, "max_line_length": 425, "avg_line_length": 49, "alnum_prop": 0.6160899142265602, "repo_name": "Smolations/more-dash-docsets", "id": "f35adeec3a908af535ae6ff9a2b73b4c1ea98c66", "size": "10143...
package com.xinqihd.sns.gameserver.transport; import static org.junit.Assert.*; import java.io.File; import org.junit.After; import org.junit.Before; import org.junit.Test; import com.xinqihd.sns.gameserver.Stat; import com.xinqihd.sns.gameserver.bootstrap.ReloadClassLoader; import com.xinqihd.sns.gameserver.config...
{ "content_hash": "ab36d5dd42f08a5534454878b15fe8a2", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 79, "avg_line_length": 26.583333333333332, "alnum_prop": 0.7348858038513211, "repo_name": "wangqi/gameserver", "id": "09a6817804f838bdfd4598ffefa51e66b2976ebe", "size": "22...
<?php namespace VivifyIdeas\Acl; use Illuminate\Support\Facades\Config; /** * Main ACL class for managing system and user permissions. */ class Manager { private $provider; private $allPermissions = array(); private $cached = array(); public function __construct(PermissionsProviderAbstract $provid...
{ "content_hash": "913356432f93acf42fce1b4802d840dd", "timestamp": "", "source": "github", "line_count": 519, "max_line_length": 118, "avg_line_length": 28.57996146435453, "alnum_prop": 0.5282815344165037, "repo_name": "esolitos/linguistics-databases", "id": "3e7a803de5a9f91cfc4a70c1ec99b0017bc1c36b",...
CREATE TABLE IF NOT EXISTS user_metrics ( user_id integer NOT NULL, score integer NOT NULL, total_fixed integer, total_false_positive integer, total_already_fixed integer, total_too_hard integer, total_skipped integer );; CREATE TABLE IF NOT EXISTS user_metrics_history ( user_id integer NOT NULL, sco...
{ "content_hash": "66d6b3156433101d20a5a88af4b2dfa2", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 112, "avg_line_length": 34.68627450980392, "alnum_prop": 0.6721311475409836, "repo_name": "mvexel/maproulette2", "id": "ffc26cacc487b52d9ac9fb415fd0bd946fffefc6", "size": "...
package com.jpattern.core.textfiles; import java.io.Serializable; /** * * @author Francesco Cina' * * 09/giu/2010 */ public interface IFile extends Serializable { String getPath(); String getName(); IFileReader getFileReader(); IFileWriter getFileWriter(boolean append); boolea...
{ "content_hash": "323077e7d8a69d360ab08d03e7995037", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 45, "avg_line_length": 14.73913043478261, "alnum_prop": 0.6548672566371682, "repo_name": "ufoscout/jpattern", "id": "9180e08da5a21d939b89a59cdff108e6fb80ad95", "size": "339...
package com.amazonaws.services.connect.model.transform; import java.math.*; import javax.annotation.Generated; import com.amazonaws.services.connect.model.*; import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; import com.amazonaws.transform.*; import static com.fasterxml.jackson.core.JsonToken.*; /** *...
{ "content_hash": "ed65194dd594787de7994370255f238d", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 156, "avg_line_length": 36.93939393939394, "alnum_prop": 0.8162428219852338, "repo_name": "aws/aws-sdk-java", "id": "3dc4660b492f74362535cb8ac7e6e01de4b81471", "size": "179...
/* See the file "LICENSE" for the full license governing this code. */ namespace CSJSONBacklog.Model.Projects { public class Change { public string Field { get; set; } public string New_value { get; set; } public string Old_value { get; set; } public string Type { get;...
{ "content_hash": "b80ec6daf4d85fcdb159300adc98f25b", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 123, "avg_line_length": 31.235294117647058, "alnum_prop": 0.5668549905838042, "repo_name": "mtaniuchi/CSJSONBacklog", "id": "2d2f655fc8ddd9ec64423477b14ab3a2db6e9861", "siz...
// <copyright file="FileWriter.cs" company="Automate The Planet Ltd."> // Copyright 2021 Automate The Planet Ltd. // 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/licen...
{ "content_hash": "7892c3ada703abdbec678624756160c8", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 100, "avg_line_length": 42.74193548387097, "alnum_prop": 0.7033962264150944, "repo_name": "angelovstanton/AutomateThePlanet", "id": "aecc4dcac06893782f9ce90fd645e8c6a30fecd5"...
package org.apache.solr.cloud; import org.apache.commons.codec.binary.StringUtils; import org.apache.lucene.util.LuceneTestCase; import org.apache.lucene.util.TestUtil; import org.apache.solr.client.solrj.SolrServerException; import org.apache.solr.client.solrj.impl.HttpSolrClient; import org.apache.solr.client.solr...
{ "content_hash": "4b0b92c1b0f9b9c79ac9b107f19bee5b", "timestamp": "", "source": "github", "line_count": 469, "max_line_length": 119, "avg_line_length": 45.437100213219615, "alnum_prop": 0.764007508212107, "repo_name": "yida-lxw/solr-5.2.0", "id": "89a3a08f1a27f72cb1619d3dc5398e6ed1999f20", "size": ...
* Fixed bug in POS Calculator function where certain control tags were being identified as `FOR` tags. --- Notice any issues? Report them here: https://github.com/mghweb/sublime-miva-ide/issues
{ "content_hash": "bb34273cdf573e28fad0ec185b55308b", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 102, "avg_line_length": 32.5, "alnum_prop": 0.7743589743589744, "repo_name": "mghweb/sublime-miva-ide", "id": "8b9ca97a4526335de5b1b22ed73e0df6cb634466", "size": "239", "b...
import React from 'react'; import cx from 'classnames'; import { Group } from '@vx/group'; import { arc as d3Arc, pie as d3Pie } from 'd3-shape'; import additionalProps from '../util/additionalProps'; export default function Arc({ className = '', top = 0, left = 0, data, centroid, innerRadius = 0, outerR...
{ "content_hash": "d0da89f3457de3d603d05a6d71ee7bde", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 80, "avg_line_length": 25.115384615384617, "alnum_prop": 0.5819295558958653, "repo_name": "Flaque/vx", "id": "832bbcd1bd189b6fe84745604819d84a9f04ec27", "size": "1306", "...
namespace blink { TEST(NetworkUtilsTest, IsReservedIPAddress) { // Unreserved IPv4 addresses (in various forms). EXPECT_FALSE(network_utils::IsReservedIPAddress("8.8.8.8")); EXPECT_FALSE(network_utils::IsReservedIPAddress("99.64.0.0")); EXPECT_FALSE(network_utils::IsReservedIPAddress("212.15.0.0")); EXPECT_F...
{ "content_hash": "cfaf77b299f5f7845a4c06079f0e01c7", "timestamp": "", "source": "github", "line_count": 105, "max_line_length": 80, "avg_line_length": 47.75238095238095, "alnum_prop": 0.6519744714798564, "repo_name": "nwjs/chromium.src", "id": "381ab9a1f72f6a6ee855b15c78ac25ebca0ba282", "size": "54...
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. [assembly: AssemblyTitle("07...
{ "content_hash": "118bdbae80ee8cbfc82af82c0959a055", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 84, "avg_line_length": 39.19444444444444, "alnum_prop": 0.7462792345854005, "repo_name": "nellypeneva/SoftUniProjects", "id": "c21915f8ea7f6ff242975d281a815b986feab437", "s...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Runtime.I...
{ "content_hash": "49cbbeb1cf99814c034255f271f78323", "timestamp": "", "source": "github", "line_count": 188, "max_line_length": 161, "avg_line_length": 37.909574468085104, "alnum_prop": 0.5655956222814649, "repo_name": "cshung/clrmd", "id": "ff41316d51e5424b2356df3674012a975661f603", "size": "7129"...
package uk.ac.ed.ph.snuggletex.dombuilding; import org.w3c.dom.DOMException; import org.w3c.dom.Element; import uk.ac.ed.ph.snuggletex.definitions.BuiltinCommand; import uk.ac.ed.ph.snuggletex.internal.DOMBuilder; import uk.ac.ed.ph.snuggletex.internal.SnuggleParseException; import uk.ac.ed.ph.snuggletex.tokens.Comm...
{ "content_hash": "e809e969681257f7d54012040fa49589", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 85, "avg_line_length": 34.10526315789474, "alnum_prop": 0.7291666666666666, "repo_name": "kduske-n4/snuggletex", "id": "075d4d5ac790f9bd317553746133e09d67bb2a83", "size": "...
package supernovae.world.terrain; import com.fasterxml.jackson.annotation.JsonProperty; public class TerrainTexture { private final String diffuse; private final String normal; private final double scale; public TerrainTexture(@JsonProperty("diffuse")String diffuse, @JsonProperty("normal")String no...
{ "content_hash": "7886400d62aae58ecd7a6c248366e1fb", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 62, "avg_line_length": 21.137931034482758, "alnum_prop": 0.7014681892332789, "repo_name": "meltzow/supernovae", "id": "6c3944bdf209e56a72a03e520b520c8547150c2c", "size": "6...
package com.manabreak.libclicker; import java.io.Serializable; import java.util.ArrayList; import java.util.List; /** * A container for all the clicker objects * * @author Harri Pellikka */ public class World implements Serializable { /** * Active generators */ private ArrayLis...
{ "content_hash": "ef7a1aa099be353e79b28055487fcef7", "timestamp": "", "source": "github", "line_count": 211, "max_line_length": 75, "avg_line_length": 21.151658767772513, "alnum_prop": 0.5269997759354694, "repo_name": "manabreak/libclicker", "id": "9b733fadb026ec1eb256bbde5abe5f31d89a006e", "size":...
/**************************************************************************** * Included Files ****************************************************************************/ #include <nuttx/config.h> #include <stdint.h> #include "os_internal.h" #include "up_internal.h" /******************************************...
{ "content_hash": "3767f73fd13bf1ab2a2e9822297df611", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 78, "avg_line_length": 31.365384615384617, "alnum_prop": 0.2752912323727774, "repo_name": "gcds/project_xxx", "id": "cdc43a9bdb7bf6bdb09d4cf334b5ad08d0208b40", "size": "344...
<component name="libraryTable"> <library name="Maven: org.springframework:spring-test:4.3.13.RELEASE"> <CLASSES> <root url="jar://$MAVEN_REPOSITORY$/org/springframework/spring-test/4.3.13.RELEASE/spring-test-4.3.13.RELEASE.jar!/" /> </CLASSES> <JAVADOC> <root url="jar://$MAVEN_REPOSITORY$/org/...
{ "content_hash": "934a5a2136c87605663508d1c0b3f09d", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 133, "avg_line_length": 47, "alnum_prop": 0.6808510638297872, "repo_name": "Caua539/OnlineSebum", "id": "0c0fcbf15b593bf1346ed9a32955d24836d49797", "size": "611", "binary...
package clink.impl.async; import java.io.Closeable; import java.io.IOException; import java.util.Objects; import clink.core.Frame; import clink.core.IoArgs; import clink.core.SendPacket; import clink.core.ds.BytePriorityNode; import clink.frame.AbsSendPacketFrame; import clink.frame.CancelSendFrame; import clink.fram...
{ "content_hash": "ed831c0e79eaf6556217a308028c4e6e", "timestamp": "", "source": "github", "line_count": 249, "max_line_length": 111, "avg_line_length": 28.55421686746988, "alnum_prop": 0.5589310829817159, "repo_name": "Ztiany/CodeRepository", "id": "85bec5eb96910adfa061a963bd877bed759ca2ea", "size"...
#include "lapacke.h" #include "lapacke_utils.h" lapack_int LAPACKE_clauum( int matrix_order, char uplo, lapack_int n, lapack_complex_float* a, lapack_int lda ) { if( matrix_order != LAPACK_COL_MAJOR && matrix_order != LAPACK_ROW_MAJOR ) { LAPACKE_xerbla( "LAPACKE_clauum", -1 );...
{ "content_hash": "9d66478d243fddbe01619ab681bccc39", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 80, "avg_line_length": 29.75, "alnum_prop": 0.6100840336134454, "repo_name": "jmfranck/pyspecdata", "id": "030bc4036ceb5b39682e2df9945d277a38aaed3f", "size": "2498", "bin...
package org.gradle.test.performance.mediummonolithicjavaproject.p193; public class Production3868 { private String property0; public String getProperty0() { return property0; } public void setProperty0(String value) { property0 = value; } private String property1; ...
{ "content_hash": "a74171759a8eb0dfe6523f345ae25213", "timestamp": "", "source": "github", "line_count": 105, "max_line_length": 69, "avg_line_length": 18.00952380952381, "alnum_prop": 0.6171337916446324, "repo_name": "oehme/analysing-gradle-performance", "id": "cb14219d3ef55d3674e758e0a4385c50964ec16...
/** * Created by cghislai on 15/01/16. */ import {Injectable, Inject} from 'angular2/core'; import {Http} from 'angular2/http'; import {Pos, PosFactory} from './domain/pos'; import {CachedWSClient} from './utils/cachedWsClient'; import {COMPTOIR_SERVICE_URL} from '../config/service'; @Injectable() export class Pos...
{ "content_hash": "8d4d2cb681c83477b88b8139c3f0d7bf", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 91, "avg_line_length": 28.727272727272727, "alnum_prop": 0.6819620253164557, "repo_name": "cghislai/comptoir", "id": "34767a26140bb529eefd890e727e36d0a7bfdd6a", "size": "63...
class GamesController < ApplicationController before_action :set_game, only: [:show, :edit, :update, :destroy] before_action :set_user, only: [:index, :new, :create, :edit, :update] before_action :login_required, only: [:edit, :update, :new, :create, :destroy, :invite] def invite @game = Game.find(params[:...
{ "content_hash": "278d5488a9cfe71af333a9d6b694148a", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 183, "avg_line_length": 25.63768115942029, "alnum_prop": 0.6546071226681741, "repo_name": "laranicole70/park_friends", "id": "4f189626fa994a21e4f06f68e9ac6092d058d006", "si...
'use strict'; // Configuring the Articles module angular.module('orders').run(['Menus','USER_ROLES', function(Menus, USER_ROLES) { // Set top bar menu items Menus.addMenuItem('topbar', '订单', 'orders', 'dropdown', '/orders(/create)?', false, [USER_ROLES.service]); Menus.addSubMenuItem('topbar', 'orders', '订单列表',...
{ "content_hash": "a40262d2bb8a84ef07ffeb131f3fbd71", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 108, "avg_line_length": 37, "alnum_prop": 0.6683046683046683, "repo_name": "brooklynb7/nnb-mean", "id": "adca77d1831ab1cf11ffad8349d764e9780b9df1", "size": "427", "binary...
<div class="panel panel-default" > <div class="panel-heading"> <h3 class="panel-title" translate>addWorker</h3> <i class="glyphicon glyphicon-remove action action-close right" ng-click="closeThisDialog(true)"></i> </div> <div class="panel-body"> <ul> <li ng-repeat=""> </li> </ul> <label class="b...
{ "content_hash": "87fb27143c25ad34459060538afdadb0", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 137, "avg_line_length": 40.72727272727273, "alnum_prop": 0.6941964285714286, "repo_name": "kutsaniuk/hotels", "id": "cbc04bcf20b47cec08a39d6abfb8564a2bd0f3d4", "size": "896...
import React from 'react' import reactCSS from 'reactcss' export const ChromePointerCircle = () => { const styles = reactCSS({ 'default': { picker: { width: '12px', height: '12px', borderRadius: '6px', boxShadow: 'inset 0 0 0 1px #fff', transform: 'translate(-6px, -6...
{ "content_hash": "6b1188ec14053aefdce7250cf8f893e5", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 43, "avg_line_length": 19.863636363636363, "alnum_prop": 0.5652173913043478, "repo_name": "casesandberg/react-color", "id": "a5fb6a2b89fcc75dd54beea0d1b4f366e07cee8d", "siz...
<?php declare(strict_types=1); namespace Eelly\SDK\Im\Service; /** * Interface TeamMemberStatInterface. * * @author zhangyangxun */ interface TeamMemberStatInterface { /** * 初始化群成员订单数据 * @internal * @Async(route=initMemberStat) * * @param array $data * @return bool * ...
{ "content_hash": "3d166f60c1a4f77df8bfb4da88cec345", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 65, "avg_line_length": 16.830188679245282, "alnum_prop": 0.5751121076233184, "repo_name": "zydZhang/eelly-sdk-php", "id": "f9eaf519f988108b73e589e9d195d0a401d16957", "size"...
class TreeBuilderOps < TreeBuilder # common methods for OPS subclasses has_kids_for LdapRegion, [:x_get_tree_lr_kids] has_kids_for Zone, [:x_get_tree_zone_kids] private def active_node_set(_tree_nodes) # FIXME: check all below case @name when :vmdb_tree @tree_state.x_node_set("root", @name...
{ "content_hash": "9e83ed3106b7587ac12e5c79f769a25d", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 115, "avg_line_length": 28.36111111111111, "alnum_prop": 0.6660137120470128, "repo_name": "KevinLoiseau/manageiq", "id": "f72487adaac490a51c06c6ab05c5bb11f0e7436b", "size":...
module Azure::Network::Mgmt::V2019_11_01 module Models # # ExpressRouteCircuit resource. # class ExpressRouteCircuit < Resource include MsRestAzure # @return [ExpressRouteCircuitSku] The SKU. attr_accessor :sku # @return [Boolean] Allow classic operations. attr_accesso...
{ "content_hash": "aa0b1bc4df61b43ba3ba969312159fd7", "timestamp": "", "source": "github", "line_count": 291, "max_line_length": 85, "avg_line_length": 33.47766323024055, "alnum_prop": 0.46468897556969824, "repo_name": "Azure/azure-sdk-for-ruby", "id": "5c4a9d778fd63ffe3b7d83246ab78b812bf8a851", "si...
<!DOCTYPE html> <!--[if IEMobile 7 ]><html class="no-js iem7"><![endif]--> <!--[if lt IE 9]><html class="no-js lte-ie8"><![endif]--> <!--[if (gt IE 8)|(gt IEMobile 7)|!(IEMobile)|!(IE)]><!--><html class="no-js" lang="en"><!--<![endif]--> <head> <meta charset="utf-8"> <title>A Portable Hack for Parallella - RayHight...
{ "content_hash": "0898cc03519114bba5f7743489b01ce3", "timestamp": "", "source": "github", "line_count": 395, "max_line_length": 564, "avg_line_length": 50.32658227848101, "alnum_prop": 0.6832335630564917, "repo_name": "RayHightower/rayhightower.github.octo-broken", "id": "0c8a07593d9aaf118a4dce0cb5f1...
namespace _01.Person { using System; public class Child : Person { public Child(string name, int age) : base(name, age) { } public override int Age { get => base.Age; protected set { ...
{ "content_hash": "26ce3e608fec19dd3542e5ace519a32d", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 85, "avg_line_length": 19.74074074074074, "alnum_prop": 0.3771106941838649, "repo_name": "stoyanov7/SoftwareUniversity", "id": "2f0e41d81bbe6beea992388e4d39d8abf4b518fa", "...
package talecraft.network; import static net.minecraftforge.fml.relauncher.Side.CLIENT; import static net.minecraftforge.fml.relauncher.Side.SERVER; import static talecraft.TaleCraft.network; import net.minecraftforge.fml.common.network.NetworkRegistry; import net.minecraftforge.fml.common.network.simpleimpl.IMessage...
{ "content_hash": "1fc20f703f81acfd36ab6cbcaf9cef5f", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 161, "avg_line_length": 54.391891891891895, "alnum_prop": 0.84472049689441, "repo_name": "tiffit/TaleCraft", "id": "c5e6e13d6d73676b9343b1c35551879da66b3df0", "size": "4025...
{% extends "layout.html" %} {% block page_title %} Home Office - Visa and Immigration {% endblock %} {% block content %} <main id="content" role="main"> {% include "includes/phase_banner_alpha.html" %} {% include "includes/outgoing-header.html" %} <h2 class="heading-medium" style="margin-top: 20px;">Find an ...
{ "content_hash": "6e954cdcef05798b899ac235ff190a44", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 145, "avg_line_length": 35.37931034482759, "alnum_prop": 0.5750487329434698, "repo_name": "christaylor-hod/home-office-notifying-people", "id": "b69dec7ac5d11f11d31ab3ba47eee...
require 'spork' #require 'spork/ext/ruby-debug' Spork.prefork do ENV["RAILS_ENV"] ||= 'test' require File.expand_path("../../config/environment", __FILE__) require 'rspec/rails' require 'rspec/autorun' # Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdir...
{ "content_hash": "3f5ab43ff245429fe050e831aacf7096", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 81, "avg_line_length": 31.642857142857142, "alnum_prop": 0.6975169300225733, "repo_name": "cmaitchison/coming_soon", "id": "28f831530423743d3a7641b7c2849cf589eb0eec", "size...
var express = require('express'), app = express(), http = require('http').Server(app), io = require('socket.io')(http), port = process.env.PORT || 3000; app.use(express.static('client')); app.use(express.static('node_modules/d3/')); app.use(express.static('node_modules/socket.io-client/')); io.on('con...
{ "content_hash": "557771077b25a6654169f72b78677fb7", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 68, "avg_line_length": 25.62162162162162, "alnum_prop": 0.6107594936708861, "repo_name": "teodoran/d3-speedtest-tutorial", "id": "2ed6ac5ce885dfb5d58f04da483dc729bbd116fd", ...
package de.mbdevelopment.android.rbtvsendeplan; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.app.DialogFragment; import android.content.DialogInterface; import android.os.Bundle; /** * Dialog to confirm the deletion of a recurring reminder */ public class De...
{ "content_hash": "40156e522b75c5c429842bc3175026dd", "timestamp": "", "source": "github", "line_count": 85, "max_line_length": 116, "avg_line_length": 32.92941176470588, "alnum_prop": 0.6259378349410504, "repo_name": "Any1s/RBTV-Sendeplan", "id": "12122822d1d6c71d1f3624b95a45be5767aa4908", "size": ...
package manning.chapterNine; import java.util.Collection; import manning.utils.Portfolio; import manning.utils.PortfolioServiceInterface; import manning.utils.User; import com.opensymphony.xwork2.ActionSupport; /* * This action retrieves the data model for building the Struts 2 Portfolio HomePage. *...
{ "content_hash": "c99ae826f38c625d075674d909ffaabd", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 85, "avg_line_length": 22.791044776119403, "alnum_prop": 0.730844793713163, "repo_name": "myid999/struts2demo", "id": "6d16c0198e4277ef09b0ba57d05a34a0bac9137c", "size": "1...
package com.johnathangilday.autograder.cv import org.scalatest.{FlatSpec, Matchers} import com.johnathangilday.autograder.testutils.TestImgFactory class GraderSpec extends FlatSpec with Matchers with GraderComponentImpl with CropperComponentImpl with SheetProcessorComponentImpl { it should "use the sheet processor...
{ "content_hash": "e902ca0b68beb9ea5bac80dea217f26e", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 133, "avg_line_length": 33.2, "alnum_prop": 0.6523235800344234, "repo_name": "gilday/fast-grades", "id": "e237508ac55b1f71da33f8db46d74b8b166135e1", "size": "1162", "bina...
define(['jquery', 'narrativeConfig', 'kbase/js/widgets/appInfoPanel', 'testUtil'], ( $, Config, InfoPanel, TestUtil ) => { 'use strict'; function makeDummyPanel() { return InfoPanel.make({ appId: 'SomeModule/some_app', appModule: 'SomeModule', tag: 'r...
{ "content_hash": "410f06211fbb95aab5b2c4fe3239113e", "timestamp": "", "source": "github", "line_count": 132, "max_line_length": 94, "avg_line_length": 29.515151515151516, "alnum_prop": 0.43711498973305957, "repo_name": "briehl/narrative", "id": "ccf6f180ef895eb509f93a825b9f7c7d2a7f2c4c", "size": "3...
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <servico xsi:schemaLocation="http://servicos.gov.br/v3/schema.../servico.xsd" xmlns="http://servicos.gov.br/v3/schema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <id>cadastrar-empresas-que-utilizam-benzeno</id> <dbId>833</dbId> <nome>Cadast...
{ "content_hash": "86082b2c09fc08344f9453f806ec5265", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 173, "avg_line_length": 43.407407407407405, "alnum_prop": 0.5918657565415245, "repo_name": "servicosgovbr/cartas-de-homologacao", "id": "bf46f8e3c9ad658cdd7c3ba4813ac7d6cc495...
using System; using System.ComponentModel; using System.Collections.Generic; using Newtonsoft.Json; using System.Linq; using STEP; namespace IFC { /// <summary> /// <see href="http://www.buildingsmart-tech.org/ifc/IFC4/final/html/link/ifcquantitylength.htm"/> /// </summary> public partial class IfcQuantityLength...
{ "content_hash": "3b74d33895ca45c33f40d6083ebdc18b", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 153, "avg_line_length": 31.37735849056604, "alnum_prop": 0.7059530968129886, "repo_name": "ikeough/IFC-gen", "id": "af277de190397648dd3161d53e73eb3acb9d6aeb", "size": "1665...
<?php if (!defined('PHPUnit_MAIN_METHOD')) { define('PHPUnit_MAIN_METHOD', 'Zend_Form_SubFormTest::main'); } require_once dirname(__FILE__) . '/../../TestHelper.php'; require_once 'PHPUnit/Framework/TestSuite.php'; require_once 'PHPUnit/TextUI/TestRunner.php'; // error_reporting(E_ALL); require_once 'Zend/Form/S...
{ "content_hash": "bafb31ca3dbe5138be6b9ce35393ec63", "timestamp": "", "source": "github", "line_count": 118, "max_line_length": 93, "avg_line_length": 28.949152542372882, "alnum_prop": 0.6068501170960188, "repo_name": "lortnus/zf1", "id": "6d7f79ff957c50f413231deb8f391f8ca54055f2", "size": "3416", ...
package ws.leipold.felix.swingutils; /** * * * User: felix * * Date: 19.07.2005 */ public interface ActionStatus { public boolean isCanceled(); /** Appends a message*/ public void appendMessage(String message); /** @param progress value between 0-100 */ public void complete(doub...
{ "content_hash": "3f92f604b7f6f8b87ad23e6498ecac26", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 46, "avg_line_length": 21.125, "alnum_prop": 0.6331360946745562, "repo_name": "neher/jgoodies-extensions", "id": "875b785a703ddc9e15e020fed9fb7f9f6b32e1c2", "size": "338", ...
<?php namespace Mustache\Parser\Node; use Mustache\Compiler\CompilerInterface; use Mustache\Lexer\Token\TokenInterface; /** * @package Mustache * @license MIT License <LICENSE> * @link http://github.com/adlawson/mustache */ abstract class Node implements NodeInterface { /** * @var NodeInterface ...
{ "content_hash": "8fe612d3c4ef3b13bb25613b5425e8d3", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 52, "avg_line_length": 17.770491803278688, "alnum_prop": 0.5608856088560885, "repo_name": "adlawson/php-mustache", "id": "7c6cbde9c8267ca02effafaa5b8921558aa60dc5", "size":...
 using System.Globalization; namespace System.Windows.Controls.PropertyGrid.ComponentModel { public class UInt32Converter : BaseNumberConverter { internal override object FromString(string value, CultureInfo culture) { return uint.Parse(value, culture); } internal override object FromStrin...
{ "content_hash": "a5a176fd16c2aed805e2d205f4cc9b61", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 82, "avg_line_length": 23.6, "alnum_prop": 0.6937046004842615, "repo_name": "DenisVuyka/SPG", "id": "480ac7880dea4df58c48c979fb3d670c1b15dc16", "size": "1429", "binary": ...
using Core.Common.Reflect; using System; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Collections.Specialized; using System.ComponentModel.Composition; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Text; using System....
{ "content_hash": "bd13fa0fa65285602c383a50b18a4942", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 40, "avg_line_length": 20.857142857142858, "alnum_prop": 0.8127853881278538, "repo_name": "toeb/core.common", "id": "a581a4837f8cf41d984a2e6962595099e51b4aed", "size": "438...
package com.mailrest.maildal.repository; public interface BoxRef extends DomainRef { String boxId(); }
{ "content_hash": "87664c43b79e7a13127b0f13be7a3c43", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 43, "avg_line_length": 13.625, "alnum_prop": 0.7614678899082569, "repo_name": "mailrest/maildal", "id": "896a202bdd2e04cf584a4682f81bc0e85a6ab08e", "size": "729", "binary"...
import time import pygame as pg import sys from game import Game from screens.settings_screen import SettingsScreen from screens.game_screen import GameScreen from settings import * OPTION_COLOR = (128, 135, 239) SELECTED_OPTION_COLOR = (255, 255, 255) INITIAL_V_GAP = 140 V_SPACING = 5 class Menu(GameScreen): ...
{ "content_hash": "0555fb05e6d3270bbde0ebf097995212", "timestamp": "", "source": "github", "line_count": 175, "max_line_length": 81, "avg_line_length": 28.931428571428572, "alnum_prop": 0.47639739285008886, "repo_name": "kuroneko1996/cyberlab", "id": "884b2537e4770c30417301d1e6e314ddd28d36aa", "size...
<?xml version="1.0" encoding="UTF-8"?> <sem:triples uri="http://www.lds.org/vrl/specific-people/latter-day-figures/bishop-ralph" xmlns:sem="http://marklogic.com/semantics"> <sem:triple> <sem:subject>http://www.lds.org/vrl/specific-people/latter-day-figures/bishop-ralph</sem:subject> <sem:predicate>http://www....
{ "content_hash": "de9455653446bbed98e6ebbaa327a4dd", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 133, "avg_line_length": 58.888888888888886, "alnum_prop": 0.7169811320754716, "repo_name": "freshie/ml-taxonomies", "id": "dac123f4c262fe7a07dde4f8259b0261919872ce", "size"...
using System; using System.Collections.Generic; using System.Linq; namespace CatFight.Util { public static class RandomExtensions { public static T RandomEntry<T>(this Random random, IReadOnlyCollection<T> collection) { int idx = random.Next(collection.Count); return co...
{ "content_hash": "60fc827dbd5c5ae4a0d571f5e4100c20", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 93, "avg_line_length": 24.2, "alnum_prop": 0.6584022038567493, "repo_name": "Luminoth/CatFight", "id": "03a9b5a873306da1b7ed1561e7d900e63d92be7e", "size": "365", "binary"...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name Rabdosia liangshanica C.Y.Wu & H.W.Li ### Remarks null
{ "content_hash": "ecabe101f8ff04cad8b8ba208f916832", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 37, "avg_line_length": 12.23076923076923, "alnum_prop": 0.710691823899371, "repo_name": "mdoering/backbone", "id": "d68ec8bc2e502c04cea90aad5a49e26a2263ac00", "size": "228"...
import Ember from 'ember'; export default Ember.Component.extend({ actions: { nextStep() { // check is we are ready to move forward if (this.isReady()) { this.sendAction(); } else { // we're not ready, so show the modal-message this.set('showNotReadyMessage', true); ...
{ "content_hash": "661286f1fc673bff99a0441ff7a6d776", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 142, "avg_line_length": 24.903225806451612, "alnum_prop": 0.5841968911917098, "repo_name": "Br3nda/priv-o-matic", "id": "29c6c42c23050f0c2bbbc574d7279a773b3736cc", "size": ...
namespace policy { // Handler that always returns specified error code for a given request type. class FailingRequestHandler : public EmbeddedPolicyTestServer::RequestHandler { public: FailingRequestHandler(ClientStorage* client_storage, PolicyStorage* policy_storage, ...
{ "content_hash": "4a4161522228c4705bd93ed8eae1a0d7", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 79, "avg_line_length": 37.61538461538461, "alnum_prop": 0.721881390593047, "repo_name": "scheib/chromium", "id": "7b5f2842f2d1d1af37920aac8aca1134b05a8dd4", "size": "1389",...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "1c7867aa478dc2099a9ba34363694b2c", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "7427ab808dec7a20935addb1a5926c8b1edf6e74", "size": "186...
using System; using System.Net; using Amazon.Util; namespace Amazon.SimpleDB { /// <summary> /// Configuration for accessing Amazon Simple DB service /// </summary> public class AmazonSimpleDBConfig { private string serviceVersion = "2009-04-15"; private RegionEndpoint regionEnd...
{ "content_hash": "e9eff13d3f7c15807eebb594f5725dc0", "timestamp": "", "source": "github", "line_count": 455, "max_line_length": 177, "avg_line_length": 37.142857142857146, "alnum_prop": 0.582189349112426, "repo_name": "emcvipr/dataservices-sdk-dotnet", "id": "bcab661a35c4eaf25bbcc58dfa6cc59cd07299f3"...
/* eslint react/no-multi-comp: 0, react/prop-types: 0 */ import React from 'react'; import { shallow } from 'enzyme'; import { Col } from 'reactstrap'; describe('Col', () => { it('should render default .col-* markup', () => { const wrapper = shallow(<Col/>); expect(wrapper.html()).toBe('<div class="col-xs-1...
{ "content_hash": "df803e63980ca5ba5fd68482e3d72923", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 82, "avg_line_length": 32.44897959183673, "alnum_prop": 0.620125786163522, "repo_name": "cbfx/reactstrap", "id": "2726888271a208a0bbbc255902f431edd6a555a2", "size": "1590",...
const autoprefixer = require('autoprefixer'); const ExtractTextPlugin = require('extract-text-webpack-plugin'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const path = require('path'); const webpack = require('webpack'); const CopyWebpackPlugin = require('copy-webpack-plugin'); //======================...
{ "content_hash": "b634fa7ff441777ca2ae70e98e41f312", "timestamp": "", "source": "github", "line_count": 181, "max_line_length": 140, "avg_line_length": 25.447513812154696, "alnum_prop": 0.5390794615718628, "repo_name": "AntonyBaasan/startupweekend", "id": "3794bdf551339c84ebee2a40c59ed016d0db26ec", ...
WXTiles Javascript API. We have released a newer API that works with leaflet: [metocean/wxserver-api](https://github.com/metocean/wxserver-api)
{ "content_hash": "d51829a15ee8123bec9e8da933c693f6", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 65, "avg_line_length": 36.25, "alnum_prop": 0.7931034482758621, "repo_name": "metocean/wxtiles", "id": "dc85a44d3d466c96768f06036b62a0ca8812eedd", "size": "156", "binary":...
mkdir -p out rm -f out/* # Build Duktape pushd duktape python2 tools/configure.py \ --output-directory ../out \ --option-file ../config.yaml \ --omit-removed-config-options \ --omit-deprecated-config-options popd
{ "content_hash": "b70bab371cec498fa7c744f09c646e0a", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 36, "avg_line_length": 20.90909090909091, "alnum_prop": 0.6739130434782609, "repo_name": "saghul/sjs", "id": "db37cc29004c92d48d4cf88265a7d60b57b753c1", "size": "270", "b...
{-# LANGUAGE RecordWildCards #-} import Data.Foldable (for_) import Test.Hspec (Spec, describe, it, shouldBe) import Test.Hspec.Runner (configFastFail, defaultConfig, hspecWith) import RotationalCipher (rotate) main :: IO () main = hspecWith defaultConfig {configFastFail = True} specs specs :: Spec specs...
{ "content_hash": "669123aef92640e78d0a5eb507c72034", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 77, "avg_line_length": 34.23376623376623, "alnum_prop": 0.4279210925644917, "repo_name": "c19/Exercism-Haskell", "id": "63c03cb3b8558bb4aece4d25c88f0cbdc2fd48cf", "size": "...
namespace safe_browsing { namespace { constexpr char kCloudBinaryUploadServiceUrlFlag[] = "binary-upload-service-url"; absl::optional<GURL> GetUrlOverride() { // Ignore this flag on Stable and Beta to avoid abuse. if (!g_browser_process || !g_browser_process->browser_policy_connector() ...
{ "content_hash": "92f5eefe5de001a1aa85629ad0c0ec1e", "timestamp": "", "source": "github", "line_count": 290, "max_line_length": 80, "avg_line_length": 32.53793103448276, "alnum_prop": 0.7259431962696058, "repo_name": "nwjs/chromium.src", "id": "18eb521181d1ca2aa316d45bf35935c448a6e77f", "size": "10...
Fast search (sampling) technique for search-based software engineering problems ## Introduction This repo concludes experiments for paper "Sampling as a Baseline Optimizer for Search-based Software Engineering". SWAY is a sampling technique for solving search-based software engineering problems. For more information, ...
{ "content_hash": "60c210487d892bd91adf2b9cccd1a175", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 148, "avg_line_length": 45.69444444444444, "alnum_prop": 0.7762917933130699, "repo_name": "Ginfung/FSSE", "id": "608cfb48b18fcf914456b4102c49eee38f6a7acd", "size": "1652", ...
package com.atlassian.webtest.ui.keys; import java.util.Collections; import java.util.EnumSet; import java.util.Set; /** * Represent key events that occur in browsers upon typing. * */ public enum KeyEventType { KEYDOWN("keydown"), KEYPRESS("keypress"), KEYUP("keyup"); public static final Set<KeyEve...
{ "content_hash": "3bd97d86359df5b71778422232e3de87", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 111, "avg_line_length": 21.321428571428573, "alnum_prop": 0.7051926298157454, "repo_name": "adini121/atlassian", "id": "df7b15f7b46154a424b4c90c871e0e58003fb502", "size": "...
package ru.job4j.chess; /** *@author Nikita Zenkin. *@since 14.06.2017. *@version 1. */ public class OccupiedWayException extends RuntimeException { /** * Exception for unexpected move. * @param msg String. */ public OccupiedWayException(String msg) { super(msg); } }
{ "content_hash": "7672a0ce5342383e4f5484686d46bbee", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 60, "avg_line_length": 19.25, "alnum_prop": 0.6331168831168831, "repo_name": "enekein/nzenkin", "id": "85b46ef31dfb89fb005b30db08128a0bbaa14a26", "size": "308", "binary":...
<!doctype html> <html class="no-js" lang="fr"> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>PRUNIER Coussin DOUDOU</title>...
{ "content_hash": "c6d54084166a1b824fa5e4e4c001bff7", "timestamp": "", "source": "github", "line_count": 350, "max_line_length": 303, "avg_line_length": 60.097142857142856, "alnum_prop": 0.4685271465246743, "repo_name": "Simplon-Roubaix/Prunier", "id": "4da2a28700cd00afbd5d4d502ac03bb12fb4584b", "si...
""" This is a set of regression tests for vo. """ from __future__ import absolute_import, division, print_function, unicode_literals from ....extern import six from ....extern.six.moves import range, zip # STDLIB import difflib import io import sys import gzip # THIRD-PARTY from numpy.testing import assert_array_equ...
{ "content_hash": "b913dc6fab271d9a19f76b6ea5bac996", "timestamp": "", "source": "github", "line_count": 1031, "max_line_length": 108, "avg_line_length": 33.64694471387003, "alnum_prop": 0.5424041510521764, "repo_name": "joergdietrich/astropy", "id": "31acb9c9ec23d3f40fd78eb62213136f386d9624", "size...
<?php namespace Symfony\Component\Debug\Tests\FatalErrorHandler; use Composer\Autoload\ClassLoader as ComposerClassLoader; use PHPUnit\Framework\TestCase; use Symfony\Component\Debug\DebugClassLoader; use Symfony\Component\Debug\Exception\ClassNotFoundException; use Symfony\Component\Debug\Exception\FatalErrorExcep...
{ "content_hash": "b52b841a022f3c2869846410ae40c9d1", "timestamp": "", "source": "github", "line_count": 217, "max_line_length": 229, "avg_line_length": 42.16589861751152, "alnum_prop": 0.4946448087431694, "repo_name": "zerkms/symfony", "id": "7e2406dda95f067e53f7085fa746bdc9eccc4c07", "size": "9379...
// Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT // 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 requi...
{ "content_hash": "54b93e115f83ee2f02d06104dc8bdb85", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 136, "avg_line_length": 59.57142857142857, "alnum_prop": 0.7008393285371702, "repo_name": "NakedObjectsGroup/NakedObjectsFramework", "id": "a4264286841fc535b52fd140efb9ee1209...
32 bit hash versions for 4, 8, 16 byte inputs
{ "content_hash": "e40903b1e205d782adc14e1ca87e98c7", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 45, "avg_line_length": 45, "alnum_prop": 0.7555555555555555, "repo_name": "jimon/murmur3unrolled", "id": "d5617463d56e0973dbeff944644b745be0639f8a", "size": "70", "binary"...
(function() { define(['d3'], function() { var StreamGraphLayout; return StreamGraphLayout = (function() { function StreamGraphLayout(options) { this.svg = options.svg, this.xScale = options.xScale, this.yScale = options.yScale, this.symbols = options.symbols, this.generators = options.generato...
{ "content_hash": "47cf81a037a2c5ed7e3fbb85982d4377", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 355, "avg_line_length": 39.5531914893617, "alnum_prop": 0.5949435180204411, "repo_name": "mnmly/d3-show-reel-in-coffee", "id": "ef46271aa58d4631440bd531bbc3a7ffc07b3c80", "...
package com.chinamobile.bcbsp.ml.math; import java.util.Iterator; public final class NamedDoubleVector implements DoubleVector { private final String name; private final DoubleVector vector; public NamedDoubleVector(String name, DoubleVector deepCopy) { super(); this.name = name; this.vector ...
{ "content_hash": "bc44b06f15d62a84fb5e7cff2a53917c", "timestamp": "", "source": "github", "line_count": 218, "max_line_length": 64, "avg_line_length": 19.201834862385322, "alnum_prop": 0.6942188246536073, "repo_name": "LiuJianan/Graduate-Graph", "id": "51eff55bfd7ac7ea137f1ab74dece54bd8ceae5c", "si...
package org.starschema.hadoop.yarn.applications.distributedshell; import java.io.IOException; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Vector; import org.apache.commons.cli.CommandLine; import org.apache.commons.c...
{ "content_hash": "5f0921e31cb920d415e5a8bda227c0d3", "timestamp": "", "source": "github", "line_count": 903, "max_line_length": 118, "avg_line_length": 42.02768549280177, "alnum_prop": 0.6927617190587864, "repo_name": "starschema/yarn-hazelcast", "id": "eb687ec89409883aa76aafb9d3c847badadbc2fc", "s...