text
stringlengths
2
1.04M
meta
dict
package org.pentaho.di.core.gui; /** * Classes implementing this interface have a chance to manage their internal representation states * using the options dialog in Kettle. * * Instances of this class are automatically added to the EnterOptionsDialog. * @author Alex Silva * */ public interface GUIOption<E>...
{ "content_hash": "e4953e427cffd184f121d110476a0509", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 99, "avg_line_length": 19.11111111111111, "alnum_prop": 0.7049418604651163, "repo_name": "yintaoxue/read-open-source-code", "id": "eefbcae1860c0e3340ceffea93a963c05fd0c880", ...
<?php namespace MairieVoreppe\DemandeTravauxBundle\Entity; use Doctrine\ORM\Mapping as ORM; use MairieVoreppe\DemandeTravauxBundle\Model\PersonneMorale; use Symfony\Component\Validator\Constraints as Assert; /** * Entreprise * * Classe qui représente une entreprise. * * @ORM\Table() * @ORM\Entity(repositoryCl...
{ "content_hash": "7a46b36e54c6994092f4c0a327b0269c", "timestamp": "", "source": "github", "line_count": 261, "max_line_length": 147, "avg_line_length": 23.337164750957854, "alnum_prop": 0.6191101625348875, "repo_name": "chadyred/demandeTravaux", "id": "2e00ef7f5702d722831022e76a0fb6e27e99b72e", "si...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>OpenJava : Tutorial</title> <meta http-equiv="Keywords" content="java, openjava, reflection"> </head> <body bgcolor="white" text="#000000" link="#007fff" vlink="#006fdf" alink="#ff0000"> <h2><!-----------------------------------------...
{ "content_hash": "20d0695c2b23a6eeef9e2dd93250aeb0", "timestamp": "", "source": "github", "line_count": 131, "max_line_length": 139, "avg_line_length": 29.770992366412212, "alnum_prop": 0.6441025641025641, "repo_name": "jeffoffutt/OJ", "id": "6385a6bf27b2f32bc948f17a4eadfe5fbccbb83e", "size": "3900...
<div class="doc-content"> <header class="api-profile-header" > <h2 class="md-display-1" >{{currentDoc.name}} API Documentation</h2> </header> <div layout="row" class="api-options-bar with-icon"></div> <div class="api-profile-description"> <p><code>&lt;md-chips&gt;</code> is an input component for buildin...
{ "content_hash": "c8a74286db0f39ef49f89f6b9cdc6aaf", "timestamp": "", "source": "github", "line_count": 749, "max_line_length": 134, "avg_line_length": 30.599465954606142, "alnum_prop": 0.6068763907674855, "repo_name": "angular/code.material.angularjs.org", "id": "9ee7077cdaeaa9303ca67cc78c4f8298cfb3...
<?xml version="1.0" encoding="UTF-8"?> <export><workspace name="4b-optic-mlw17"><query active="true" focus="true" mode="xquery" name="0 Intro">" This workspace provides more involved examples of the Optic API, which is new in MarkLogic 9. This API provides all of the query operators familiar to SQL or SPARQL developer...
{ "content_hash": "9404a7216b816eadbbc6c3f49ecdc3dc", "timestamp": "", "source": "github", "line_count": 169, "max_line_length": 190, "avg_line_length": 46.01183431952663, "alnum_prop": 0.6495627572016461, "repo_name": "wpaven/gsd-workspaces", "id": "db0ddc94d027e4d03487e23c2baf9867fdc7bb3d", "size"...
package com.vaadin.v7.ui.components.calendar.handler; import java.util.Date; import com.vaadin.v7.ui.components.calendar.CalendarComponentEvents.EventMoveHandler; import com.vaadin.v7.ui.components.calendar.CalendarComponentEvents.MoveEvent; import com.vaadin.v7.ui.components.calendar.event.CalendarEvent; import com...
{ "content_hash": "a4cd12d9fd65c1add3e0c2ad9a9dfc2b", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 88, "avg_line_length": 30.311475409836067, "alnum_prop": 0.6646836127636561, "repo_name": "asashour/framework", "id": "3893450c24031a7a4b80a3632aad2825d2cfb644", "size": "2...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.cuongnt.qwap.web.bean; import com.cuongnt.qwap.ejb.BaseService; import com.cuongnt.qwap.entity.BaseEntity; import com.cuon...
{ "content_hash": "71ccb0a080f787c4707ac2a0e4e2e610", "timestamp": "", "source": "github", "line_count": 231, "max_line_length": 112, "avg_line_length": 25.705627705627705, "alnum_prop": 0.5904344897271808, "repo_name": "cuongnt1987/qwap", "id": "c7e1c615e172d9ab852cbda00b54975f2d8fc582", "size": "5...
""" Copyright (c) 2004-Present Pivotal Software, Inc. This program and the accompanying materials are made available under the terms of the 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....
{ "content_hash": "d2a55d8232d8ce04e6a937c088d1a7d6", "timestamp": "", "source": "github", "line_count": 86, "max_line_length": 166, "avg_line_length": 55.348837209302324, "alnum_prop": 0.7224789915966386, "repo_name": "cjcjameson/gpdb", "id": "a1d328604252cb7388470fba2309dd50955e0f81", "size": "476...
.oo-ui-icon-arrowNext { background-image: url('themes/wikimediaui/images/icons/arrowNext-ltr.png'); background-image: linear-gradient(transparent, transparent), /* @embed */ url('themes/wikimediaui/images/icons/arrowNext-ltr.svg'); } .oo-ui-image-invert.oo-ui-icon-arrowNext { background-image: url('themes/wikime...
{ "content_hash": "e2ae2a9652742efd8ecff144d3b06a7e", "timestamp": "", "source": "github", "line_count": 145, "max_line_length": 149, "avg_line_length": 64.1448275862069, "alnum_prop": 0.7637888399096872, "repo_name": "cdnjs/cdnjs", "id": "ef8eb346253b6437dc26db9ebdb1bcf03ca4469e", "size": "9523", ...
 namespace Dealership.Models { using System; using Dealership.Contracts; using Dealership.Common; using Dealership.Common.Enums; using System.Text; public class Car : Vehicle, ICar { public const int MinSeats = 1; public const int MaxSeats = 10; private int seats; ...
{ "content_hash": "f47e34210a3a96c6ff2c5236e15c2c39", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 72, "avg_line_length": 25.177419354838708, "alnum_prop": 0.48110185778347214, "repo_name": "iliyaST/TelerikAcademy", "id": "acc399f17dc347677f74848f4e730fbc1ca5c1c3", "size...
package play.sbt import sbt._ import sbt.Keys._ import play.twirl.sbt.Import.TwirlKeys import com.typesafe.sbt.web.SbtWeb.autoImport._ import com.typesafe.sbt.packager.universal.UniversalPlugin.autoImport._ /** * Play layout plugin to switch to the traditional Play web app layout instead of the standard Maven layo...
{ "content_hash": "a6926e92a9f8ca3b20a3604a2d46faad", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 112, "avg_line_length": 41.41025641025641, "alnum_prop": 0.7380804953560371, "repo_name": "wegtam/playframework", "id": "29d3a3420ff0fe12ab8e2fb343cae14f61eb2d88", "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>org.y...
{ "content_hash": "8ceb828aaf68229383d0f412ec51b3e6", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 108, "avg_line_length": 28.829787234042552, "alnum_prop": 0.548339483394834, "repo_name": "yuribak/neuroevo", "id": "a0eba4ad2e4388ef8ce95ae61f2ae164752458b8", "size": "135...
"""Copyright 2008 Python Software Foundation, Ian Bicking, and Google.""" import cStringIO import inspect import mimetools HTTP_PORT = 80 HTTPS_PORT = 443 _UNKNOWN = 'UNKNOWN' # status codes # informational CONTINUE = 100 SWITCHING_PROTOCOLS = 101 PROCESSING = 102 # successful OK = 200 CREATED = 201 ACCEPTED = 202...
{ "content_hash": "ccc7299329fce4cfb211f306df0b0ddc", "timestamp": "", "source": "github", "line_count": 815, "max_line_length": 80, "avg_line_length": 30.80490797546012, "alnum_prop": 0.6577710507448419, "repo_name": "Kazade/NeHe-Website", "id": "1edee85707013d9b822f42e1e575875869aa8b57", "size": "...
define([ 'backbone', 'underscore', 'jquery', 'i18n!find/nls/bundle', 'text!find/templates/app/util/content-container.html' ], function (Backbone, _, $, i18n, contentContainerTemplate) { return Backbone.View.extend({ contentContainerTemplate: _.template(contentContainerTemplate, {variabl...
{ "content_hash": "57daf9ec73793d869e02376911c21097", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 91, "avg_line_length": 32.38028169014085, "alnum_prop": 0.5332753371030883, "repo_name": "ExperisIT-rav/FindExperisIT", "id": "ed2320cae67d3aae012e810e97fc1c3f71bbff4a", "s...
package org.gwtproject.gwt.worker.client; import static org.gwtproject.gwt.worker.client.EventListeners.register; import org.gwtproject.gwt.worker.shared.MessageHandler; import org.gwtproject.gwt.worker.shared.MessagePortRef; import org.gwtproject.gwt.worker.shared.Transferable; import com.google.gwt.core.client.Jav...
{ "content_hash": "a1d26171e09704a10e347eb217249d4e", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 101, "avg_line_length": 31.346666666666668, "alnum_prop": 0.7694598043385793, "repo_name": "metteo/gwt-worker", "id": "e29fbcadbe4ab6535c644a9390ab4b5518daffc9", "size": "2...
package com.linkedin.metadata.builders.search; import com.linkedin.common.DatasetUrnArray; import com.linkedin.common.FabricType; import com.linkedin.common.urn.DataPlatformUrn; import com.linkedin.common.urn.DataProcessUrn; import com.linkedin.common.urn.DatasetUrn; import com.linkedin.dataprocess.DataProcessInfo; im...
{ "content_hash": "41f7a8d9fcacfcf7e2341bcdc54e097a", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 117, "avg_line_length": 46.916666666666664, "alnum_prop": 0.8023978685612788, "repo_name": "mars-lan/WhereHows", "id": "f8ca80b9c778bb4434cb835cc15022af950049e1", "size": "...
define(['react', './mixins', './table-heading', './table-body', './pager', './edit-controls'], function (React, mixins, TableHeading, TableBody, Pager, EditControls) { var TableTab = React.createClass({ displayName: 'TableTab', getInitialState: function () { return { offset: 0, si...
{ "content_hash": "3593a587405f4e0bc8d872fe078c13a0", "timestamp": "", "source": "github", "line_count": 92, "max_line_length": 94, "avg_line_length": 28.315217391304348, "alnum_prop": 0.5366602687140115, "repo_name": "intermine-tools/show-list-tool", "id": "d28b324abbbcd741bf538062e92c4e77c2e2b0b7", ...
package com.facebook.buck.haskell; import static org.junit.Assert.assertThat; import com.facebook.buck.cxx.CxxPlatformUtils; import com.facebook.buck.cxx.CxxSourceRuleFactory; import com.facebook.buck.cxx.Linker; import com.facebook.buck.cxx.NativeLinkableInput; import com.facebook.buck.model.BuildTarget; import co...
{ "content_hash": "f36439e5d27de6979ea21a69c8224877", "timestamp": "", "source": "github", "line_count": 160, "max_line_length": 96, "avg_line_length": 38.61875, "alnum_prop": 0.7184010357663052, "repo_name": "Dominator008/buck", "id": "7ecc8bd0c9f8ffedaed461ec2e968d4c9d3ea630", "size": "6784", "b...
using std::string; using std::ifstream; using std::istringstream; using boost::algorithm::starts_with; // The fields of the "cpu" line in /proc/stat static constexpr int N_CPU_FIELDS = 10; static const std::array<std::string, N_CPU_FIELDS> procStatCpuFields = { "CPU User", "CPU Nice", "CPU System", "CPU Idle", "CP...
{ "content_hash": "c1af5e0520f9c06111be040c8793a7a6", "timestamp": "", "source": "github", "line_count": 103, "max_line_length": 122, "avg_line_length": 31.475728155339805, "alnum_prop": 0.6067242442936459, "repo_name": "tera-insights/grokit", "id": "548da85b3de22a535553ab88af062813221833f3", "size"...
$projectName = "Peddler" copy "src\${projectName}\${projectName}.csproj" "src\${projectName}\${projectName}.csproj.bak" $project = New-Object XML $project.Load("${pwd}\src\${projectName}\${projectName}.csproj") $project.Project.PropertyGroup.DebugType = "full" $project.Save("${pwd}\src\${projectName}\${projectName}.c...
{ "content_hash": "8397ef00c0acdfc1edc3d2f260f96285", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 94, "avg_line_length": 41, "alnum_prop": 0.7195121951219512, "repo_name": "invio/Peddler", "id": "2591235a2fd030eaa05a2a56311b616eacea7a8f", "size": "328", "binary": false...
<?php namespace App\Support; use League\Fractal\TransformerAbstract; use Illuminate\Contracts\Routing\ResponseFactory; use Symfony\Component\HttpFoundation\Response as HttpResponse; class Response { /** * HTTP Response. * * @var \Illuminate\Contracts\Routing\ResponseFactory */ private $re...
{ "content_hash": "4bb4304d89a68a1c23569d42092b40f2", "timestamp": "", "source": "github", "line_count": 211, "max_line_length": 90, "avg_line_length": 22.819905213270143, "alnum_prop": 0.5597092419522326, "repo_name": "codecasts/spa-starter-kit", "id": "10000788f320225823ed55269e454a567cc6c019", "s...
import unittest from atbash_cipher import ( decode, encode, ) # Tests adapted from `problem-specifications//canonical-data.json` class AtbashCipherTest(unittest.TestCase): def test_encode_yes(self): self.assertEqual(encode("yes"), "bvh") def test_encode_no(self): self.assertEqual(en...
{ "content_hash": "2505ca983cf53553c5c732bc6ce8a96d", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 88, "avg_line_length": 29.388059701492537, "alnum_prop": 0.638395124428644, "repo_name": "exercism/python", "id": "98c1072afc7b41930252b9043726d94000cf4db6", "size": "1969"...
package org.apache.ignite.internal.portable.builder; import org.apache.ignite.internal.portable.PortableWriterExImpl; import org.apache.ignite.internal.processors.cache.portable.CacheObjectPortableProcessorImpl; import org.apache.ignite.internal.util.typedef.internal.S; /** * */ class PortableValueWithType implem...
{ "content_hash": "fcd8633977116e22826bc1aa74e0eb8a", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 95, "avg_line_length": 24.616666666666667, "alnum_prop": 0.6398104265402843, "repo_name": "vsisko/incubator-ignite", "id": "2e031f06b330e963b14a525b8b1cc75319c545dc", "size...
'use strict'; //var AMQPClient = require('amqp10').Client; var AMQPClient = require('../lib').Client, Policy = require('../lib').Policy; // Set the offset for the EventHub - this is where it should start receiving from, and is typically different for each partition // Here, I'm setting a global offset, just to sh...
{ "content_hash": "599971d8d9c4baf21866728cbbe915cf", "timestamp": "", "source": "github", "line_count": 97, "max_line_length": 150, "avg_line_length": 38.48453608247423, "alnum_prop": 0.6490758103402089, "repo_name": "danlangford/node-amqp10", "id": "63a8be5b84ba27c0677f12c0f3b730a95f690527", "size...
<?php namespace MABI\Testing; include_once __DIR__ . '/middleware/MiddlewareTestCase.php'; include_once __DIR__ . '/../middleware/APIApplicationOnlyAccess.php'; include_once __DIR__ . '/../middleware/SharedSecret.php'; class ErrorResponseTest extends MiddlewareTestCase { /** * @var \mabiTesting\ModelA */ ...
{ "content_hash": "6b8de97eea33c458d8f9eb7c39c27482", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 95, "avg_line_length": 36.36923076923077, "alnum_prop": 0.6582064297800339, "repo_name": "prolificinteractive/mabi", "id": "97caf11cb9ac6491239869687ee7426dd3996c5c", "size...
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */ // {{{ Header /** * Generic date handling class for PEAR * * Handles time zones and changes from local standard to local Summer * time (daylight-saving time) through the Date_TimeZone class. * Supports several operations from ...
{ "content_hash": "a9e211bf76be7a638c40b85f5ef6fe92", "timestamp": "", "source": "github", "line_count": 5864, "max_line_length": 97, "avg_line_length": 37.497783083219645, "alnum_prop": 0.42453623906824867, "repo_name": "BigBlueHat/atmailopen", "id": "7bfad49e3d59193bde96ccb3ff250590b9d7395b", "siz...
'use strict'; const models = require('./index'); /** * @class * Initializes a new instance of the ApplicationGatewayWebApplicationFirewallConfiguration class. * @constructor * Application gateway web application firewall configuration. * * @member {boolean} enabled Whether the web application firewall is enab...
{ "content_hash": "b88c5aea7d7eae378df96441dbfdf0b1", "timestamp": "", "source": "github", "line_count": 94, "max_line_length": 97, "avg_line_length": 27.51063829787234, "alnum_prop": 0.5746326372776489, "repo_name": "AuxMon/azure-sdk-for-node", "id": "be8010229bea2b541da49e3d1ed1705d96bb9133", "siz...
package com.teamderpy.victusludus.data.resources; import com.badlogic.gdx.graphics.Color; public class StarColorTuple { private int temperature; private Color color; public StarColorTuple(final int temperature, final Color color){ this.temperature = temperature; this.color = color; } public int getTempera...
{ "content_hash": "8a8d94620b6df256b638254ac1c2183f", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 65, "avg_line_length": 18.772727272727273, "alnum_prop": 0.7530266343825666, "repo_name": "sabarjp/VictusLudus", "id": "70e8adea71d7ae3a1b69efc3747c87f83864df06", "size": "...
/* This is just a starter for 10 equivalent for the HaemoBPaudit4 audit. Lots missing for example - only do this for the last 30 days? - selecting patients with a current modality of HD - filtering out null or 0 bps - the 140 130 etc percentages */ WITH blood_pressures AS ( SELECT hd_sessions.id as session_id,...
{ "content_hash": "69d6507150a70103f347f85570b820cd", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 99, "avg_line_length": 46.425, "alnum_prop": 0.7514808831448573, "repo_name": "airslie/renalware-core", "id": "1c0ef68169341212cc7a98c44f07cd01dbe78f49", "size": "3714", ...
package org.accept.util.files; import java.io.File; import java.io.FileFilter; public class FolderActions { final FileFilter filenameFilter; final File rootDir; public FolderActions(final String rootDir, final String fileFilterRegex) { this(new File(rootDir), new FileFilter() { public boolean...
{ "content_hash": "6be9d36c65ace0ed4619e83432382562", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 79, "avg_line_length": 23.91044776119403, "alnum_prop": 0.6697877652933832, "repo_name": "erpframework/accept", "id": "2e37b1577b927fb63aefb5466ec4b63f66a436d3", "size": "1...
from unittest import main from numpy.testing import assert_array_equal import numpy as np from calour._testing import Tests from calour.filtering import _balanced_subsample import calour as ca class FTests(Tests): def setUp(self): super().setUp() self.test2 = ca.read(self.test2_biom, self.test2_...
{ "content_hash": "36dd78539930b9cd5ffc26c653e59a21", "timestamp": "", "source": "github", "line_count": 306, "max_line_length": 111, "avg_line_length": 46.31699346405229, "alnum_prop": 0.6118676356452409, "repo_name": "RNAer/Calour", "id": "2ab91da2a6fccd2c6d544f8c3bdd4516b9d49125", "size": "14524"...
/** * Given a binary tree, find its minimum depth. * Definition for a binary tree node. * function TreeNode(val) { * this.val = val; * this.left = this.right = null; * } * * @param {TreeNode} treeNode * @return {number} */ var minimumDepthOfBinaryTree = function(treeNode) { return treeNode === null...
{ "content_hash": "fa5385685c12b9afad0a1c7a4bb572ce", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 100, "avg_line_length": 25.58823529411765, "alnum_prop": 0.664367816091954, "repo_name": "Dbz/Algorithms", "id": "0a8e5cc805ebedc4614ec9c0af0b9d3242fa890e", "size": "435", ...
/* * 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 distributed under t...
{ "content_hash": "f6b06d373de81b1c38b78875b7aeaa2a", "timestamp": "", "source": "github", "line_count": 104, "max_line_length": 182, "avg_line_length": 38.42307692307692, "alnum_prop": 0.744994994994995, "repo_name": "googleapis/google-api-java-client-services", "id": "7460abe3868e74b656556a2727fff03...
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <jobs xmlns="urn:arwo:choice1"> <job jobEnabled="true" jobName="job1"> <taskA attributeA="" taskEnabled="false" taskName=""/> </job> <job jobEnabled="false" jobName="job2"> <taskB attributeB="" taskEnabled="false" taskName=""/> </job...
{ "content_hash": "162625403427772cc7a0eec18010b90b", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 62, "avg_line_length": 37.25, "alnum_prop": 0.6129753914988815, "repo_name": "greyp9/arwo", "id": "45d54332d86455be9744579002c2b8b19f4dfe34", "size": "447", "binary": fal...
import React from 'react'; var id; var name = ""; var time = ""; var pic = ""; var url = ""; var title = ""; var indexPlay; var indexName; var sourceIndex; const History = React.createClass({ render(){ return null; } , setId(id){ this.id = id; }, getId(){ return this.id;...
{ "content_hash": "36c305988b92c60a5637f55e8110a9a5", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 35, "avg_line_length": 16.767123287671232, "alnum_prop": 0.5008169934640523, "repo_name": "helengray/XiFan", "id": "a9555365793ebf4762885734cb7100ca2f7c1555", "size": "1225...
package neo.matrix.reversing.model; import java.math.BigDecimal; public interface Time { BigDecimal getPosition(); }
{ "content_hash": "20cc2b007f9ec32b14594dec423e13cf", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 35, "avg_line_length": 13.88888888888889, "alnum_prop": 0.752, "repo_name": "timtish/matrix-world-emulator", "id": "9960b158e5d5383c1feec48670e78fd284a82352", "size": "125",...
<?xml version="1.0" encoding="utf-8"?> <!-- Please enter language data in the fields below. All data should be entered in English --> <ldml xmlns:sil="urn://www.sil.org/ldml/0.1"> <identity> <version number="0.0.1"/> <!-- name.en(pbi)="Parkwa" --> <language type="pbi"/> <special> <sil:identity defaultRegio...
{ "content_hash": "ae678b7e050788c10191ac065d733f05", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 182, "avg_line_length": 39.84444444444444, "alnum_prop": 0.6614612381483547, "repo_name": "silnrsi/sldr", "id": "2fffbb9095d1cbd5c07f76d500ca070be7592751", "size": "1803", ...
import clr clr.AddReference('RevitAPI') from Autodesk.Revit.DB import * clr.AddReference("RevitNodes") import Revit clr.ImportExtensions(Revit.Elements) def GetSheetSetViews(set): if hasattr(set, 'Views'): return [x.ToDSType(True) for x in set.Views] else: return [] viewsheetsets = UnwrapElement(IN[0]) if isins...
{ "content_hash": "758a8cd289e73f62f8c2fc3655d815a3", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 78, "avg_line_length": 25.529411764705884, "alnum_prop": 0.7603686635944701, "repo_name": "CAAD-RWTH/ClockworkForDynamo", "id": "725ee11f7447ae3b71b4e5ee5af9e9c86b09a6f4", ...
package org.dashbuilder.client.gallery; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.annotation.PostConstruct; import javax.enterprise.context.ApplicationScoped; import javax.enterprise.context.Dependent; import javax.inject.Inject; import org.dashb...
{ "content_hash": "429c1a16cc2c1023240bf0cc7a5a676c", "timestamp": "", "source": "github", "line_count": 573, "max_line_length": 148, "avg_line_length": 58.64223385689354, "alnum_prop": 0.5542824831855246, "repo_name": "cristianonicolai/dashbuilder", "id": "0d98b024d9ab5499b2a97ed41ff008c286391ef9", ...
using BusinessLayer; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace JediTournamentConsole { class Program { static void Main(string[] args) { JediTournamentInterface consoleInterface = new J...
{ "content_hash": "a4cf6c0c85f5f40dd843662e4a22ad26", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 85, "avg_line_length": 22.88888888888889, "alnum_prop": 0.6553398058252428, "repo_name": "vmizoules/serviceReseau", "id": "e9710ee9c1590bffa8cb0ab01794bbc1356c2770", "size"...
#include "extensions/filters/network/mongo_proxy/codec_impl.h" #include <cstdint> #include <list> #include <memory> #include <sstream> #include <string> #include "envoy/buffer/buffer.h" #include "envoy/common/exception.h" #include "common/common/assert.h" #include "common/common/fmt.h" #include "extensions/filters/...
{ "content_hash": "354e5ed5495be962c4fa85d267e4da2e", "timestamp": "", "source": "github", "line_count": 578, "max_line_length": 109, "avg_line_length": 36.844290657439444, "alnum_prop": 0.6636457550713749, "repo_name": "jrajahalme/envoy", "id": "d56fe7ff4e319a77b8352d08ee026a70b872eb03", "size": "2...
#include "defs.h" #include "osabi.h" #include "regcache.h" #include "regset.h" #include "arm-tdep.h" /* Core file support. */ /* Sizeof `struct reg' in <machine/reg.h>. */ #define ARMBSD_SIZEOF_GREGS (17 * 4) /* Sizeof `struct fpreg' in <machine/reg.h. */ #define ARMBSD_SIZEOF_FPREGS ((1 + (8 * 3)) * 4) stati...
{ "content_hash": "f93423c136781aa892bedf09e8775d4a", "timestamp": "", "source": "github", "line_count": 103, "max_line_length": 71, "avg_line_length": 24.815533980582526, "alnum_prop": 0.6525821596244131, "repo_name": "armoredsoftware/protocol", "id": "7923cadd10109c09268449c9f1c8bae39f924b3c", "si...
.. Programmer(s): Daniel R. Reynolds @ SMU ---------------------------------------------------------------- Copyright (c) 2013, Southern Methodist University. All rights reserved. For details, see the LICENSE file. ---------------------------------------------------------------- :tocdepth: 3 .. _NVe...
{ "content_hash": "000c809943cdde9966eebb68527f1cdf", "timestamp": "", "source": "github", "line_count": 214, "max_line_length": 121, "avg_line_length": 30.911214953271028, "alnum_prop": 0.6601662887377173, "repo_name": "liuqx315/Sundials", "id": "e73214a368a1e0a41125e309958c071f336d0603", "size": "...
var EnterKey = 13; $.fn.isBound = function(type, fn) { var data = this.data('events')[type]; if (data === undefined || data.length === 0) { return false; } return (-1 !== $.inArray(fn, data)); }; $(document).ready(function() { function runBind() { $('.destroy').on('click', function...
{ "content_hash": "294c3ea670c17eb54ac20b273ee15372", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 76, "avg_line_length": 26.3, "alnum_prop": 0.4968314321926489, "repo_name": "wliontb/ictez_source", "id": "9439c6ce6ae9f37f55e9154ba155b340a8d5fc9a", "size": "1578", "bin...
import "./combine"; import { Observable, Property } from "./observable"; export declare type FlattenedObservable<O> = O extends Observable<infer I> ? I : O; export declare type DecodedValueOf<O> = FlattenedObservable<O[keyof O]>; /** @hidden */ export declare function decode<T extends Record<any, any>>(src: Observable<...
{ "content_hash": "5225f7651d1c9bd314ce47f21fc6b9e2", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 124, "avg_line_length": 56.142857142857146, "alnum_prop": 0.7430025445292621, "repo_name": "baconjs/bacon.js", "id": "e0a4c7f9ddd7fcd058c939d68a84231d41369d80", "size": "393...
import { NgModule } from '@angular/core'; import { RouterModule } from '@angular/router'; import { RegisterComponent } from './register.component'; @NgModule({ imports: [ RouterModule.forChild([ { path: '', component: RegisterComponent } ]) ], exports: [RouterModule] }) expor...
{ "content_hash": "34f6cfbcddfcea29a9ea06e841d09425", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 57, "avg_line_length": 20.823529411764707, "alnum_prop": 0.632768361581921, "repo_name": "demoiselle/generator-demoiselle", "id": "2d02bfba64abec3fcd6108079700582c6ca0d0ca", ...
#include "RulePersister.h" RulePersister::RulePersister() { } RulePersister::~RulePersister() { } void RulePersister::saveRule(Rule* rule) { } void RulePersister::loadRules() { } void RulePersister::clearRules() { }
{ "content_hash": "15c00aca1f03f2cc97d432696f8b1c90", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 40, "avg_line_length": 8.444444444444445, "alnum_prop": 0.6973684210526315, "repo_name": "ADVANTECH-Corp/node-alljoyn", "id": "c471848dd3bc77f18a5a092a52d3ff2861d025e8", "s...
title: 'Integer Break - Medium - L' date: 2021-04-06 permalink: /dsa/2021/04/blog-post-9/ tags: - Data Structures - Algorithms - Leetcode - C++ - Medium - L --- # Question - https://leetcode.com/problems/integer-break/ Given an integer n, break it into the sum of k positive integers, where k >= 2, and ma...
{ "content_hash": "ce66034aa67daffd355af196d8db59e3", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 123, "avg_line_length": 20.022727272727273, "alnum_prop": 0.5856980703745743, "repo_name": "ashwinpathak20/ashwinpathak20.github.io", "id": "bc43abc69a111dec3bf25a809b3d9b3ca...
package model // MangerInfo struct type MangerInfo struct { OID int64 `json:"id"` Uname string `json:"username"` }
{ "content_hash": "300b3fe275b2afdf1eefe7a1c5c88775", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 31, "avg_line_length": 17.285714285714285, "alnum_prop": 0.7024793388429752, "repo_name": "LQJJ/demo", "id": "2ae3b55ae2bfd99cc97944a592c1d0fd45f6349c", "size": "121", "bi...
package com.stratuscom.harvester.classloading; import java.util.logging.Logger; import org.apache.commons.vfs2.FileObject; import org.apache.commons.vfs2.FileSystemException; import com.stratuscom.harvester.MessageNames; /** * A ClassPathEntry is used by the VirtualFileSystemClassLoader, and is a combination of a...
{ "content_hash": "8077ef1b10d3206af1412b47a71685fc", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 84, "avg_line_length": 32.05, "alnum_prop": 0.7371294851794071, "repo_name": "trasukg/harvester-app-container", "id": "9ef53234a9069465204298bf0aad17d95390aa53", "size": "2...
<!DOCTYPE html> <html > <head> <meta charset="UTF-8"> <title> METADATA SCORRE HISTOGRAM</title> <link rel="stylesheet" href="css/style.css"> </head> <body> <!-- Bar chart from http://bost.ocks.org/mike/bar/ modified to not use data imported from a file, to...
{ "content_hash": "63c81f1e74af9877b3c28558d433710c", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 142, "avg_line_length": 19.06451612903226, "alnum_prop": 0.55668358714044, "repo_name": "USCDataScience/polar.usc.edu", "id": "649933c698486ed8abb54b733c95ab32f2033085", "s...
package org.apache.camel.component.servlet; import org.apache.camel.component.http.CamelServlet; import org.apache.camel.component.http.HttpConsumer; /** * Keeps track of HttpConsumers and CamelServlets and * connects them to each other. In OSGi there should * be one HttpRegistry per bundle. * * A ...
{ "content_hash": "f322a6198af64f1b47070191ffc38e30", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 61, "avg_line_length": 28.571428571428573, "alnum_prop": 0.73625, "repo_name": "cexbrayat/camel", "id": "acd4e1a8dc6542f995461c54c8e7ead8ce3b52df", "size": "1618", "binar...
<?php namespace Chamilo\Application\Calendar\Extension\Personal\Integration\Chamilo\Libraries\Calendar\Event; use Chamilo\Application\Calendar\Extension\Personal\Storage\DataClass\Publication; use Chamilo\Libraries\Architecture\Application\Application; use Chamilo\Libraries\File\Redirect; /** * * @package Chamilo\A...
{ "content_hash": "777811faf6cd30d544572748fe050fb3", "timestamp": "", "source": "github", "line_count": 173, "max_line_length": 168, "avg_line_length": 29.121387283236995, "alnum_prop": 0.6244541484716157, "repo_name": "forelo/cosnics", "id": "e941d5dae87a57ece0167ff4f4717e804773962f", "size": "503...
#pragma once #include <string> #include "envoy/server/filter_config.h" #include "common/config/well_known_names.h" #include "server/config/http/empty_http_filter_config.h" namespace Envoy { namespace Server { namespace Configuration { /** * Config registration for the grpc HTTP1 bridge filter. @see NamedHttpFilt...
{ "content_hash": "631e11536786d676398755c447d8737c", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 91, "avg_line_length": 24.962962962962962, "alnum_prop": 0.7655786350148368, "repo_name": "amalgam8/envoy", "id": "d23f8d0dcd8675a6049bb88df3cf56e0fd1321d4", "size": "674",...
<!doctype html> <html> <head> <title>Pie Chart</title> <script src="../Chart.js"></script> <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> </head> <body> <div id="canvas-holder" style="width:50%"> <canvas id="chart-area" width="300" height="300" /> ...
{ "content_hash": "ea1c3f3cec4ac616d83b5b6cae40fe07", "timestamp": "", "source": "github", "line_count": 122, "max_line_length": 155, "avg_line_length": 31.450819672131146, "alnum_prop": 0.44983059682043264, "repo_name": "metodika/Chart.js", "id": "3d05fc20c1967c2f3790fcdce8b7d426adb076e5", "size": ...
var fs = require('graceful-fs') var ncp = require('./_copy').ncp var path = require('path') var rimraf = require('rimraf') var mkdirp = require('./mkdir').mkdirs function mv(source, dest, options, callback){ if (typeof options === 'function') { callback = options options = {} } var shouldMkdirp = !!opti...
{ "content_hash": "c9655ded0c89d488c6137007f7cb4714", "timestamp": "", "source": "github", "line_count": 114, "max_line_length": 72, "avg_line_length": 22.640350877192983, "alnum_prop": 0.5869817900038745, "repo_name": "Voltir/scalacss", "id": "40ec4b4cb88ac4874cfeffd403db96277bd53324", "size": "274...
Besides parsing and evaluating expressions, the expression parser supports a number of features to customize processing and evaluation of expressions and outputting expressions. On this page: - [Function transforms](#function-transforms) - [Custom argument parsing](#custom-argument-parsing) - [Custom LaTeX handlers](...
{ "content_hash": "23aba9ebd915e3ad852637c100edf9e3", "timestamp": "", "source": "github", "line_count": 374, "max_line_length": 255, "avg_line_length": 32.63903743315508, "alnum_prop": 0.7032850004096011, "repo_name": "ocadni/citychrone", "id": "62dc1d9e8e4d5cf3cac71376f913adcf7dbae79c", "size": "1...
require "fairy/version" #TODO: fix me require 'eventmachine' require 'em-websocket' module Fairy autoload :Server, 'fairy/server' autoload :Connection, 'fairy/connection' end
{ "content_hash": "1aa707e26cf0a5d453fa727e8fbf0016", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 42, "avg_line_length": 18.1, "alnum_prop": 0.7569060773480663, "repo_name": "darkleaf/fairy", "id": "31d042c7c0022953ec69b8f2855cd239a6e8f225", "size": "181", "binary": f...
:mod:`krypy.recycling.factories` - deflation vector factories ============================================================= .. automodule:: krypy.recycling.factories :members: :undoc-members: :show-inheritance: .. autoclass:: krypy.recycling.factories._DeflationVectorFactory :members: :private-mem...
{ "content_hash": "0d3d260e88d99cfbe1eec9fc459df80c", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 64, "avg_line_length": 29.636363636363637, "alnum_prop": 0.588957055214724, "repo_name": "highlando/krypy", "id": "6cac3219d7e8ef32e88f9305a066224e2b02bfab", "size": "326",...
local arg = arg _G.arg = nil dofile '../../../info.lua' os.execute('mkdir -p ' .. Info.PackageName .. '/usr/bin') for FileIndex = 2, #arg do os.execute('cp ' .. arg[FileIndex] .. ' ' .. Info.PackageName .. '/usr/bin') end os.execute('mkdir -p ' .. Info.PackageName .. '/usr/share/' .. Info.PackageName) os.execute('cp ...
{ "content_hash": "803f50b5e4eded7ae1e7373d09b64e55", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 125, "avg_line_length": 35.5, "alnum_prop": 0.6056338028169014, "repo_name": "Rendaw/inscribist", "id": "4a895ed1fcf07bf00fa60740b854d8ac1015d59e", "size": "1435", "binar...
The sources in this directory are unit test cases. Boost includes a unit testing framework, and since bitcoin already uses boost, it makes sense to simply use this framework rather than require developers to configure some other framework (we want as few impediments to creating unit tests as possible). The buil...
{ "content_hash": "9fad317bd35f83190393f6652014b76b", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 147, "avg_line_length": 60.9, "alnum_prop": 0.7857142857142857, "repo_name": "SoyPay/soypay", "id": "2c0d54d0ff589bb6cd805c67c7404928906b4cae", "size": "1227", "binary": ...
<?xml version="1.0" encoding="utf-8"?> <com.manuelpeinado.imagelayout.ImageLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:custom="http://schemas.android.com/apk/res-auto" android:id="@+id/image_layout" android:layout_width="match_parent" android:layout_height="match_parent" ...
{ "content_hash": "132908b38ef797bd6c66db8e6b01e353", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 62, "avg_line_length": 32.25806451612903, "alnum_prop": 0.659, "repo_name": "0359xiaodong/ImageLayout", "id": "1deaead2fd6012404ec071d1962c10f3be615d6b", "size": "1000", ...
package com.baidu.rigel.biplatform.ac.util; import com.baidu.rigel.biplatform.ac.annotation.GsonIgnore; import com.baidu.rigel.biplatform.ac.model.Cube; import com.baidu.rigel.biplatform.ac.model.Dimension; import com.baidu.rigel.biplatform.ac.model.Level; import com.baidu.rigel.biplatform.ac.model.Measure; i...
{ "content_hash": "897dd3c91e4637f081aa8ec89ec5ea99", "timestamp": "", "source": "github", "line_count": 82, "max_line_length": 91, "avg_line_length": 46, "alnum_prop": 0.7309119830328739, "repo_name": "gspandy/bi-platform", "id": "b3beca7560c8934ffb77f53c3d8637832c9e72d9", "size": "4506", "binary...
package com.sqap.api.domain.audio.test.base; public interface TestGroupEntityFactory { TestGroupEntity create(TestGroupDto testGroupDto); }
{ "content_hash": "115eb82d43c88af5ddac8f8123f8074a", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 54, "avg_line_length": 21, "alnum_prop": 0.8027210884353742, "repo_name": "MarcinMilewski/sqap", "id": "ec262e6f946aef7b88e2a21c5cb453cd15945335", "size": "147", "binary":...
package cz.tomkren.kutil2.kobjects; import cz.tomkren.kutil2.core.KAtts; import cz.tomkren.kutil2.core.KObject; import cz.tomkren.kutil2.core.Kutil; import cz.tomkren.kutil2.items.Int2D; import cz.tomkren.kutil2.items.KItem; import cz.tomkren.kutil2.kobjects.frame.Frame; import java.awt.Color; import java.awt.Font;...
{ "content_hash": "4f35116caa534c3057b95bc48ed3f705", "timestamp": "", "source": "github", "line_count": 106, "max_line_length": 111, "avg_line_length": 27.18867924528302, "alnum_prop": 0.6131158917418459, "repo_name": "tomkren/pikater", "id": "798fad1ca8b0bd481b73f414ce9f78f4693d3e8a", "size": "291...
package eu.lunisolar.magma.func.supplier; import eu.lunisolar.magma.func.*; // NOSONAR import javax.annotation.Nonnull; // NOSONAR import javax.annotation.Nullable; // NOSONAR import java.util.Objects;// NOSONAR import eu.lunisolar.magma.basics.meta.*; // NOSONAR import eu.lunisolar.magma.basics.meta.functional.*; /...
{ "content_hash": "813bb3236d2719b2ac4741e9fc4e8a42", "timestamp": "", "source": "github", "line_count": 465, "max_line_length": 100, "avg_line_length": 30.150537634408604, "alnum_prop": 0.6116262482168331, "repo_name": "lunisolar/magma", "id": "10210ef2e052e322b0363bff518c63fa81c1a770", "size": "14...
/* Copyright 2015 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that the copyright noti...
{ "content_hash": "a5f219c16454466e37e0819a50b72000", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 88, "avg_line_length": 33.078947368421055, "alnum_prop": 0.7275258552108194, "repo_name": "patosai/ex2", "id": "e064fff573b8fd6ae482de5b7b9c12f620e9c8e1", "size": "2652", ...
function MemoryCache() { this.cache = {} this.size = 0 } MemoryCache.prototype.add = function(key, value, time, timeoutCallback) { var old = this.cache[key] var instance = this var entry = { value: value, expire: time + Date.now(), timeout: setTimeout(function() { instance.delete(key) ...
{ "content_hash": "a50220db2dfff1ad661d4ead81f036a5", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 100, "avg_line_length": 18.983050847457626, "alnum_prop": 0.675, "repo_name": "wfrank2509/apicache", "id": "464b6446fee770f6b6367b2c2d3c935755223c2a", "size": "1120", "bi...
Elasticsearch Query and ActiveRecord for Yii 2 ============================================== This extension provides the [elasticsearch](http://www.elasticsearch.org/) integration for the Yii2 framework. It includes basic querying/search support and also implements the `ActiveRecord` pattern that allows you to store ...
{ "content_hash": "ea167e9e6460f07bc79ba7a33313978c", "timestamp": "", "source": "github", "line_count": 207, "max_line_length": 184, "avg_line_length": 40.130434782608695, "alnum_prop": 0.6990489948236427, "repo_name": "PHPBH/Yii2", "id": "e952f0aba71f3832dd9b1760db3feac53e18ed1a", "size": "8310", ...
package event import ( "fmt" "mime" "time" ) // GetSpecVersion implements EventContextReader.GetSpecVersion func (ec EventContextV03) GetSpecVersion() string { return CloudEventsVersionV03 } // GetDataContentType implements EventContextReader.GetDataContentType func (ec EventContextV03) GetDataContentType() stri...
{ "content_hash": "cb64a99291cea9edbf10caf54e04d803", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 98, "avg_line_length": 24.172043010752688, "alnum_prop": 0.7580071174377224, "repo_name": "knative-sandbox/async-component", "id": "8e6eec5caa373d33ea8a466ee98b1dbf55633473",...
package org.elasticsearch.common.lucene.search; import org.apache.lucene.analysis.core.KeywordAnalyzer; import org.apache.lucene.document.Document; import org.apache.lucene.document.SortedDocValuesField; import org.apache.lucene.document.Field; import org.apache.lucene.document.StringField; import org.apache.lucene....
{ "content_hash": "79303ba0420937df15e1be8d67163ded", "timestamp": "", "source": "github", "line_count": 572, "max_line_length": 189, "avg_line_length": 44.93531468531469, "alnum_prop": 0.5893086410146675, "repo_name": "Asimov4/elasticsearch", "id": "bc5db66cc03d1fe12169c16a0b9d3e1a49d4f68c", "size"...
package com.alibaba.cobar.server.heartbeat; import com.alibaba.cobar.net.handler.NIOHandler; import com.alibaba.cobar.net.packet.EOFPacket; import com.alibaba.cobar.net.packet.ErrorPacket; import com.alibaba.cobar.net.packet.HandshakePacket; import com.alibaba.cobar.net.packet.OkPacket; import com.alibaba.cob...
{ "content_hash": "c01270f29d7fc9109103592cca11a775", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 84, "avg_line_length": 33.5974025974026, "alnum_prop": 0.5782759953614225, "repo_name": "lostdragon/cobar", "id": "1593800af8e9b50cb041d0c5baadc5f2ca49c1d9", "size": "3286"...
#include "sk_tool_utils.h" #include "SampleCode.h" #include "SkView.h" #include "SkCanvas.h" #include "SkPathMeasure.h" #include "SkRandom.h" #include "SkRRect.h" #include "SkColorPriv.h" #include "SkStrokerPriv.h" #include "SkSurface.h" static bool hittest(const SkPoint& target, SkScalar x, SkScalar y) { const ...
{ "content_hash": "ddcc1361186e0e92c15eceae46d9c563", "timestamp": "", "source": "github", "line_count": 632, "max_line_length": 100, "avg_line_length": 33.71835443037975, "alnum_prop": 0.5547160957297044, "repo_name": "Jichao/skia", "id": "91a6a0f5d8327a40893c13f20ec24c6b8438bf10", "size": "21453",...
INTERFACE gpiobus; # # Lock the gpio bus # METHOD void lock_bus { device_t busdev; }; # # Unlock the gpio bus # METHOD void unlock_bus { device_t busdev; }; # # Dedicate the gpio bus control for a child # METHOD void acquire_bus { device_t busdev; device_t dev; }; # # Release the bus # METHOD void release_bus {...
{ "content_hash": "7ab240f35b46b072e68c83ae43c62f4b", "timestamp": "", "source": "github", "line_count": 90, "max_line_length": 44, "avg_line_length": 12.844444444444445, "alnum_prop": 0.6747404844290658, "repo_name": "dcui/FreeBSD-9.3_kernel", "id": "17ea9437ef804d8d2b2e56d9339e78561783f0d3", "size...
package org.elasticsearch.search.internal; import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; import org.apache.lucene.search.Filter; import org.apache.lucene.search.Query; import org.apache.lucene.search.ScoreDoc; import org.apache.lucene.search.Sort; import org.apache.lucene.uti...
{ "content_hash": "f9f31801486040a0c549ec599d73a274", "timestamp": "", "source": "github", "line_count": 349, "max_line_length": 115, "avg_line_length": 25.856733524355302, "alnum_prop": 0.6881648936170213, "repo_name": "sjohnr/elasticsearch", "id": "ef7909f65601299a5afba8c42d0f2710e385c21c", "size"...
package org.drools.guvnor.client.asseteditor.drools.modeldriven.ui.templates; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Set; import java.util.jar.JarInputStream; import org.drools.guvnor.client.widgets.drools.decoratedgrid.CellValue; import org.drools.guvnor.client.wid...
{ "content_hash": "fafba38bcbb4571da6522ab0da7f54a6", "timestamp": "", "source": "github", "line_count": 493, "max_line_length": 126, "avg_line_length": 38.1764705882353, "alnum_prop": 0.5293023750066416, "repo_name": "cristianonicolai/guvnor", "id": "032bb35773c1ded1c4bf2f88058e70e07dd53349", "size...
 CKEDITOR.plugins.setLang( 'maximize', 'ko', { maximize: 'Maximize', // MISSING minimize: 'Minimize' // MISSING });
{ "content_hash": "e8b0940b66779d13eca7f79748343a76", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 45, "avg_line_length": 24.8, "alnum_prop": 0.6290322580645161, "repo_name": "webmasterETSI/web", "id": "3dead8ddbedc0a0068e03447ed2a9cdb70b58c65", "size": "273", "binary":...
package org.lwjgl.opengles; import java.nio.*; import org.lwjgl.system.*; import static org.lwjgl.system.Checks.*; import static org.lwjgl.system.JNI.*; import static org.lwjgl.system.MemoryUtil.*; /** * Native bindings to the <a target="_blank" href="https://www.khronos.org/registry/OpenGL/extensions/NV/NV_sampl...
{ "content_hash": "c05c54ac39b52a177405e104109c472d", "timestamp": "", "source": "github", "line_count": 96, "max_line_length": 180, "avg_line_length": 56.020833333333336, "alnum_prop": 0.7394942357753812, "repo_name": "code-disaster/lwjgl3", "id": "551851eeca8d791ce245f92006639801c9853cf5", "size":...
/** * Provides classes and interfaces to deal with injectable targets. */ package io.inkstand.scribble.inject;
{ "content_hash": "d0dddf54e7b29d338c8ce79c17e7a5be", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 67, "avg_line_length": 19.166666666666668, "alnum_prop": 0.7478260869565218, "repo_name": "inkstand-io/scribble", "id": "9c3c551bb00d7d29372ea91a854f6dba6a6a1610", "size": "...
require_relative '../../test_helper' describe Timeup::Base do end
{ "content_hash": "fbb60a8441d1c30d446c0e99bbd277bf", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 36, "avg_line_length": 16.75, "alnum_prop": 0.7164179104477612, "repo_name": "adamdawkins/timeup", "id": "586ba453aca0f09554256effb1aee7a7c4807e1a", "size": "67", "binary"...
package org.reveno.atp.core.api.channel; import java.util.function.Consumer; public interface Channel extends AutoCloseable { long size(); long position(); boolean isReadAvailable(); Buffer read(); void write(Consumer<Buffer> channelBuffer, boolean flush); boolean isOpen(); void clo...
{ "content_hash": "193b00417a01177ae231bec4fee3aa4b", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 62, "avg_line_length": 15.666666666666666, "alnum_prop": 0.6899696048632219, "repo_name": "dmart28/reveno", "id": "16bdb201a9f5062d289dcaecd652b29027ff9d7c", "size": "329",...
class AddProgrammmingLanguageExtension < ActiveRecord::Migration def self.up #add_column( :programming_languages, :extension, :string, :null => false ) end def self.down #remove_column( :programming_languages, :extension ) end end
{ "content_hash": "2abfdf947f4bdd0b2e90e3c380907694", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 78, "avg_line_length": 27.555555555555557, "alnum_prop": 0.7298387096774194, "repo_name": "mikehelmick/CascadeLMS", "id": "e5471879232889ef993358a2c998c15443f37183", "size":...
=========== Development =========== Tests ----- To run the test suite, do:: ./manage.py test django_easyfilters This requires that the directory containing the ``django_easyfilters`` directory is on your Python path (virtualenv recommended), and Django is installed. Alternatively, to run it on all supported pla...
{ "content_hash": "9ef8dad1ca5b5f7932e6529f3a89121d", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 119, "avg_line_length": 24.178571428571427, "alnum_prop": 0.7259970457902511, "repo_name": "ionelmc/django-easyfilters", "id": "99944016cceea7ba539ca1c6059ca4af69a59b25", "...
/* @flow */ import { warn, once, isDef, isUndef, isTrue, isObject, hasSymbol } from 'core/util/index' import { createEmptyVNode } from 'core/vdom/vnode' function ensureCtor (comp: any, base) { if ( comp.__esModule || (hasSymbol && comp[Symbol.toStringTag] === 'Module') ) { comp = comp.d...
{ "content_hash": "36a331b1b1636235fd88757c64c11512", "timestamp": "", "source": "github", "line_count": 146, "max_line_length": 84, "avg_line_length": 24.36986301369863, "alnum_prop": 0.5626756604834177, "repo_name": "Qinjianbo/blog", "id": "4dbefd91fbc9357708c0a509cd8c81e468cef60c", "size": "3558"...
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical"> <android.support.design.widget.AppBarLayout ...
{ "content_hash": "8868fd42bcadb5f31a7a03a971511c96", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 64, "avg_line_length": 33.225806451612904, "alnum_prop": 0.7378640776699029, "repo_name": "nihaocun/kirbydownload", "id": "0ca587f040934dc2e4871d4906fd15351420c73f", "size"...
<?xml version="1.0" encoding="UTF-8"?> <sem:triples uri="http://www.lds.org/vrl/specific-people/latter-day-figures/carlson-vicki-lynn-martens" xmlns:sem="http://marklogic.com/semantics"> <sem:triple> <sem:subject>http://www.lds.org/vrl/specific-people/latter-day-figures/carlson-vicki-lynn-martens</sem:subject> ...
{ "content_hash": "e64b27ce659715753ab8338766b8e446", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 147, "avg_line_length": 62.77777777777778, "alnum_prop": 0.7256637168141593, "repo_name": "freshie/ml-taxonomies", "id": "1062f61e66a86551e848571fcd1e7b7487e43351", "size":...
import { Express, Request, Response } from 'express'; import * as path from 'path'; /** * Provides a way to return mock data for URLs that would normally go to the middleware server. */ export function configureMockMiddleware(app: Express) { app.get('/api/registration/status', (req, res: Response) => { r...
{ "content_hash": "a61f8f777216ddb8617d03c3d3350448", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 103, "avg_line_length": 32.541666666666664, "alnum_prop": 0.6030729833546735, "repo_name": "MicroFocus/CX", "id": "8f07aec954614ef92dea9ee05b37f156f1602211", "size": "781",...
<?php /** * @namespace */ namespace Zend\Feed\PubSubHubbub; /** * @uses \Zend\Feed\PubSubHubbub\Callback * @uses \Zend\Feed\PubSubHubbub\Exception * @uses \Zend\Feed\PubSubHubbub\HttpResponse * @category Zend * @package Zend_Feed_Pubsubhubbub * @subpackage Callback * @copyright Copyr...
{ "content_hash": "dbd04191efe1d3b92be2e4a871e6088d", "timestamp": "", "source": "github", "line_count": 282, "max_line_length": 95, "avg_line_length": 32.145390070921984, "alnum_prop": 0.5801434087148373, "repo_name": "TrafeX/zf2", "id": "f5b8c32a16c1fec0b7e27ba3a6611957ed82a701", "size": "9772", ...
package io.enmasse.systemtest.bases; import io.enmasse.systemtest.clients.ClientUtils; import io.enmasse.systemtest.logs.CustomLogger; import io.enmasse.systemtest.manager.ResourceManager; import io.enmasse.systemtest.model.address.AddressType; import io.enmasse.systemtest.model.addressspace.AddressSpaceType; import ...
{ "content_hash": "ab8e2fca3890925b99252be83948a37a", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 65, "avg_line_length": 26.5, "alnum_prop": 0.7349056603773585, "repo_name": "jenmalloy/enmasse", "id": "b3a925f2d35c54d4d68aa411124accdc82026d14", "size": "1204", "binary...
package org.apache.tomcat.util.bcel.classfile; /** * Represents a Java class, i.e., the data structures, constant pool, * fields, methods and commands contained in a Java .class file. * See <a href="ftp://java.sun.com/docs/specs/">JVM specification</a> for details. * The intent of this class is to represent a par...
{ "content_hash": "543eeb675cfb3958e07941b1b933f864", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 118, "avg_line_length": 33.35227272727273, "alnum_prop": 0.668824531516184, "repo_name": "byronka/xenos", "id": "7e5bd778c15669b71f94bfea333c09d0a7633314", "size": "3751", ...
package channelconfig import ( "fmt" "github.com/golang/protobuf/proto" "github.com/hyperledger/fabric/msp" "github.com/hyperledger/fabric/msp/cache" mspprotos "github.com/hyperledger/fabric/protos/msp" "github.com/pkg/errors" ) type pendingMSPConfig struct { mspConfig *mspprotos.MSPConfig msp msp.MS...
{ "content_hash": "28ebe5fe6fefb5c0c4cd33d850eaa258", "timestamp": "", "source": "github", "line_count": 96, "max_line_length": 101, "avg_line_length": 25.416666666666668, "alnum_prop": 0.7135245901639344, "repo_name": "lukehuangch/fabric", "id": "90d177017042a183c247ae0a79a919d7dfdb7a92", "size": "...
// ---------------------------------------------------------------------------- // Copyright © Aleksey Nemiro, 2016. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at...
{ "content_hash": "7c3b364607ad59e55e2c3ac7823c0faa", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 91, "avg_line_length": 40.34782608695652, "alnum_prop": 0.6314655172413793, "repo_name": "alekseynemiro/nemiro.oauth.dll", "id": "f00d80c6f6aa45f30012e9d6ede9708902210eca", ...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "1b764dd06ff03a47b2f4f197a2caff72", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "bc39c8a0f688b16a7846dcb30e8a9df0acc23f7a", "size": "176...
<!DOCTYPE html> <html> <head> <title>BrickBreaker</title> <meta charset="UTF-8"> <meta name="description" content="We remake brickbreaker to see if we can do it."> <meta name="keywords" content="Justin Pallo, Daniel Randall, BrickBreaker, Brick Breaker, Brick, Breaker, Projects, Dan...
{ "content_hash": "1496384d37ae883d35f991b29a26f9a7", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 139, "avg_line_length": 31.473684210526315, "alnum_prop": 0.6153846153846154, "repo_name": "dgrandall/brickbreaker", "id": "eb108ec6edbf380f73bedeb910753849f7d07ae6", "size...
import sys import argparse import os import urllib import requests from daypicts import get_picture_url, get_picture_urls from daypicts import validate_date, gen_dates, picture_type from daypicts import NoPictureForDate from daypicts import REMOTE_PICT_BASE_URL, PICT_EXCEPTIONS FIXTURE_DOC_DIR = 'fixture/docroot/' F...
{ "content_hash": "4af1144db9c51fd8562693d0f4956e3a", "timestamp": "", "source": "github", "line_count": 97, "max_line_length": 71, "avg_line_length": 27.917525773195877, "alnum_prop": 0.5997045790251108, "repo_name": "oxfordyang2016/learnfluentpython", "id": "dece76b34bbdff2027f1f9c8104cda66fa6ed1a4"...
@interface BlackKeyView : KeyView { } - (id)initWithFrame:(CGRect)frame withKey:(int)keyNumber; @end
{ "content_hash": "abdd4cc1ab0e591412d3e36278d1dd7c", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 57, "avg_line_length": 15, "alnum_prop": 0.7238095238095238, "repo_name": "fracmode/mobilesynth-swift", "id": "f3885066c6698b9c8cf524b6bce59ecd06c950bc", "size": "284", "b...
package com.example.npc.myweather2.ui; import android.content.ClipData; import android.content.ClipboardManager; import android.content.Context; import android.content.Intent; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Color; imp...
{ "content_hash": "1181533b5062c8f06869af98e3c89b6a", "timestamp": "", "source": "github", "line_count": 159, "max_line_length": 107, "avg_line_length": 39.42138364779874, "alnum_prop": 0.5684428844926611, "repo_name": "dw12278/Raining", "id": "56a6c4c44f453d113aee99105ce4ebb280679150", "size": "635...
from numpy import loadtxt, append, array, arange; from predictors import NaiveBayes; from pickle import load, dump; from sys import argv; import os, urllib, json, time; os_brack = '/'; #directory separator for os engine is running on def loadData(datSRC, path, delim, typ): return loadtxt(path + os_brack + datSRC, de...
{ "content_hash": "1dd4a1fa239bb84a1b96c09bcaf68eaf", "timestamp": "", "source": "github", "line_count": 155, "max_line_length": 116, "avg_line_length": 34.81290322580645, "alnum_prop": 0.6643810229799851, "repo_name": "parejadan/accurp-engine", "id": "88e651a0d9357652ab9faa41968432dbc4cebcc8", "siz...
<html> <head> <title>PxObstacle Class Reference</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <LINK HREF="NVIDIA.css" REL="stylesheet" TYPE="text/css"> </head> <body bgcolor="#FFFFFF"> <div id="header"> <hr class="first"> <img alt="" src="images/PhysXlogo.png" align="...
{ "content_hash": "0913e29538492826e0e13924ba648706", "timestamp": "", "source": "github", "line_count": 218, "max_line_length": 357, "avg_line_length": 48.31651376146789, "alnum_prop": 0.684515332763695, "repo_name": "LiangYue1981816/CrossEngine", "id": "8e403e19f92f55e157451d3f12f88b4c39d33db5", "...
import * as React from 'react' import { Dialog, DialogContent, DialogFooter, DefaultDialogFooter, } from '../dialog' import { Dispatcher } from '../dispatcher' import { RepositoryWithGitHubRepository, isRepositoryWithForkedGitHubRepository, } from '../../models/repository' import { OkCancelButtonGroup } fro...
{ "content_hash": "508cc262ccc9c397564d4c9fa970ff98", "timestamp": "", "source": "github", "line_count": 176, "max_line_length": 77, "avg_line_length": 28.289772727272727, "alnum_prop": 0.6149829282988551, "repo_name": "desktop/desktop", "id": "30490ffba933764b6205575d3cfc2809b1870c33", "size": "498...