text
stringlengths
2
1.04M
meta
dict
<?php namespace PDepend\Source\AST; use PDepend\Source\ASTVisitor\ASTVisitor; use PDepend\Util\Cache\CacheDriver; /** * This class provides an interface to a single source file. * * @copyright 2008-2017 Manuel Pichler. All rights reserved. * @license http://www.opensource.org/licenses/bsd-license.php BSD Licens...
{ "content_hash": "8b46ffb1e0cf6ee72ed1796bff93719a", "timestamp": "", "source": "github", "line_count": 345, "max_line_length": 114, "avg_line_length": 23.481159420289856, "alnum_prop": 0.5495617824959882, "repo_name": "AnttiKurittu/kirjuri", "id": "81aa641cfe6a5fb978d5134301d2b016551ada46", "size"...
<div id="fixed_header" class="fixedHeaderContainer{% if include.alwayson %} visible{% endif %}"> <div class="headerWrapper wrapper"> <header> <a href="{{ '/' | absolute_url }}"> <img src="{{ '/static/logo.svg' | relative_url }}"> <h2>{{ site.title }}</h2> </a> <div class="naviga...
{ "content_hash": "34c226bd852a794eebfabaf158358b79", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 134, "avg_line_length": 38.40625, "alnum_prop": 0.49145646867371845, "repo_name": "facebook/hack-codegen", "id": "fd7d21ea85fbb717a34ca008d6734c77bec0bdd8", "size": "1229",...
from django.db.models import Q, Sum from django.db.models.deletion import ProtectedError from django.db.utils import IntegrityError from django.forms.models import modelform_factory from django.test import TestCase, skipIfDBFeature from .models import ( A, Address, B, Board, C, CharLink, Company, Contact, Content,...
{ "content_hash": "f6fec9859e88ee88252f9309a0aed015", "timestamp": "", "source": "github", "line_count": 253, "max_line_length": 92, "avg_line_length": 43.13833992094862, "alnum_prop": 0.6367051493494594, "repo_name": "tomchristie/django", "id": "9add025a46a2a926b1039394fedac62d64f40021", "size": "1...
#ifndef WCL_SERIAL_H #define WCL_SERIAL_H #include <sys/types.h> #include <termios.h> #include <string> #include <wcl/api.h> #include "IODevice.h" namespace wcl { /** * This class implements RS232 processing under unix using POSIX standards, * with support for a few non compliant posix features. If you need stri...
{ "content_hash": "ae91091b4e6e099b612848e3369ed9e7", "timestamp": "", "source": "github", "line_count": 253, "max_line_length": 104, "avg_line_length": 31.675889328063242, "alnum_prop": 0.6275268280509109, "repo_name": "WearableComputerLab/LibWCL", "id": "47c97b34509a1063fc99d9909c0015f8f6690445", ...
package com.app.tvrecyclerview; import android.graphics.Color; import java.io.IOException; import java.io.InputStream; import java.util.Random; public class Utils { public static String inputStreamToString(InputStream inputStream) { try { byte[] bytes = new byte[inputStream.available()]; ...
{ "content_hash": "5e224bb21a29819dac7c65bab3fd790c", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 94, "avg_line_length": 26.807692307692307, "alnum_prop": 0.6312769010043041, "repo_name": "henryblue/TvRecyclerView", "id": "b7081614ccd81ad139e2fabaa03a6d484c3456e5", "siz...
package nc.vo.lxt.pub.test; import junit.framework.TestCase; import nc.bs.lxt.pub.WSTool; import nc.vo.pub.BusinessException; public class WSToolTest extends TestCase { public WSToolTest(String name) { super(name); } public void testWSAuth() throws BusinessException { WSTool.callByHttpBasicAuth( ...
{ "content_hash": "bd3e0f94d7ba46fbf50576d6eb004a9e", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 159, "avg_line_length": 37.283018867924525, "alnum_prop": 0.5435222672064778, "repo_name": "isurgeli/nclxt", "id": "b0ef6e9a177dc64fc9a73eaa8e6b25efc102a62b", "size": "1976...
{% include thingmonk-header.html %} <div class="content"> <main id="mainContent" role="main" class="primary small-12 columns"> <div data-sticky-container> <div class="sticky" id="sticky-magellan" data-sticky data-margin-top="0" data-top-anchor="sections" data-sticky-on="large"> <div class=...
{ "content_hash": "8b17e107b9f775e1553541cbb4b4e85c", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 131, "avg_line_length": 37.935483870967744, "alnum_prop": 0.5340136054421769, "repo_name": "thingmonk/thingmonk.github.io", "id": "f588a5b9440da15f0c1bcccba4a5ae2e826b8066", ...
=head1 LICENSE Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute 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": "94e57b39f456a5b8f133f47f0d5f2fa7", "timestamp": "", "source": "github", "line_count": 110, "max_line_length": 149, "avg_line_length": 26.927272727272726, "alnum_prop": 0.6448345712356516, "repo_name": "ckongEbi/ensembl-compara", "id": "4fddab395b058aaa7f42d8ed6c52ff02b3153498", "s...
<?php /** * DO NOT EDIT THIS FILE! * * This file was automatically generated from external sources. * * Any manual change here will be lost the next time the SDK * is updated. You've been warned! */ namespace DTS\eBaySDK\Test\ReturnManagement\Types; use DTS\eBaySDK\ReturnManagement\Types\EnumerationDetailType;...
{ "content_hash": "95bfa664c59445e434f8ef6dd40d8332", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 105, "avg_line_length": 24.09090909090909, "alnum_prop": 0.70062893081761, "repo_name": "davidtsadler/ebay-sdk-php", "id": "dbf8194a466d39a6f8429d24e2d14cb4c093040e", "size...
import Gaffer import GafferScene GafferScene.TweakPlug = Gaffer.TweakPlug GafferScene.TweaksPlug = Gaffer.TweaksPlug
{ "content_hash": "2ba4c619af4d14731ed6e6c1d0664f23", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 42, "avg_line_length": 23.6, "alnum_prop": 0.8559322033898306, "repo_name": "johnhaddon/gaffer", "id": "34b66ad5e213727152d8a4f6160ef3aa129ca433", "size": "1914", "binary"...
const { readFileSync, writeFileSync, emptyDirSync } = require('fs-extra'); const glob = require('glob'); const { kebabCase } = require('lodash'); const DEST_DIR = 'docs'; const read = (file) => readFileSync(file, 'utf8'); const write = (file, contents) => writeFileSync(`${DEST_DIR}/${file}.md`, contents); const get...
{ "content_hash": "3b8c986384953c405662dcea2925067f", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 99, "avg_line_length": 26.672131147540984, "alnum_prop": 0.6183159188690842, "repo_name": "styleguidist/react-styleguidist", "id": "6257826efdf6f3d3a1c2b6cd1acf0cd309a08db6",...
package akka.actor import scala.collection.mutable.ListBuffer /** * Requirements are as follows: * The first thing the actor needs to do, is to subscribe to a channel of events, * Then it must replay (process) all "old" events * Then it has to wait for a GoAhead signal to begin processing the new events * It mu...
{ "content_hash": "ad83ea3956dce46f092d6fac834b8940", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 110, "avg_line_length": 41.47826086956522, "alnum_prop": 0.7017819706498952, "repo_name": "ktoso/asciidoctor-sbt-plugin", "id": "a291f34af7d678e99afafe08eabd2ce2fe73511d", ...
maintainer "Opscode, Inc." maintainer_email "cookbooks@opscode.com" license "Apache 2.0" description "Installs memcached and provides a define to set up an instance of memcache via runit" long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version "1.0.2" depends ...
{ "content_hash": "66985bdea652ff1a1da2495e9ac85125", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 104, "avg_line_length": 32.303030303030305, "alnum_prop": 0.6857410881801126, "repo_name": "glennpratt/memcached", "id": "acc21b85c3801e4cfc7dfcdfe160a1f7ccc8ec30", "size":...
package com.mongodb.internal.operation; import com.mongodb.MongoNamespace; import com.mongodb.client.model.Collation; import com.mongodb.connection.ConnectionDescription; import com.mongodb.connection.ServerDescription; import com.mongodb.internal.async.AsyncBatchCursor; import com.mongodb.internal.async.SingleResul...
{ "content_hash": "9bb590988e372749c8e2b9dd221da7fa", "timestamp": "", "source": "github", "line_count": 173, "max_line_length": 134, "avg_line_length": 42.14450867052023, "alnum_prop": 0.7370731038266356, "repo_name": "rozza/mongo-java-driver", "id": "584225cbe9363f14fd6e9624472d150f4aacdbcf", "siz...
/***************************************************************************** sc_object.h -- Abstract base class of all SystemC `simulation' objects. Original Author: Stan Y. Liao, Synopsys, Inc. CHANGE LOG AT THE END OF THE FILE ********************************************************************...
{ "content_hash": "8ff7b23f494b0c60e46e21bd2c7567cc", "timestamp": "", "source": "github", "line_count": 215, "max_line_length": 80, "avg_line_length": 30.451162790697673, "alnum_prop": 0.5776691614479914, "repo_name": "pombredanne/metamorphosys-desktop", "id": "ca80be0c35d2681622e3d99b9a95d68f521e908...
class AddColumsToOrders < ActiveRecord::Migration def change add_column :orders, :stripe_charge_id, :string add_column :orders, :stripe_customer_id, :string add_column :orders, :card_last_4_digit, :integer add_column :orders, :card_brand, :string add_column :orders, :card_exp_month, :integer a...
{ "content_hash": "b83de47253c6d52ae968d0a82400cc5a", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 52, "avg_line_length": 39, "alnum_prop": 0.6987179487179487, "repo_name": "salayhin/crowdfunding", "id": "23c304326c0dc07fd4d0bd015bfc7136b923d1ef", "size": "468", "binar...
package org.apache.camel.component.braintree; import java.util.List; import java.util.UUID; import com.braintreegateway.BraintreeGateway; import com.braintreegateway.Customer; import com.braintreegateway.CustomerRequest; import com.braintreegateway.PaymentMethod; import com.braintreegateway.PaymentMethodRequest; imp...
{ "content_hash": "6a3f08b4cba410e3c3431d4f885e4aa6", "timestamp": "", "source": "github", "line_count": 190, "max_line_length": 105, "avg_line_length": 37.51052631578948, "alnum_prop": 0.5756980496702679, "repo_name": "edigrid/camel", "id": "fec897d4312c28e4c2a666408cac4bf6e947547e", "size": "7930"...
package json import ( "gopkg.in/check.v1" "testing" ) type Suite struct{} var _ = check.Suite(new(Suite)) func Test(t *testing.T) { check.TestingT(t) } func (s *Suite) TestParse(c *check.C) { var currentTokens []Token given := func(tokens ...Token) { currentTokens = tokens } expect := func(expected Value)...
{ "content_hash": "bdde9f98c10936ad56e90e6282f46b56", "timestamp": "", "source": "github", "line_count": 123, "max_line_length": 67, "avg_line_length": 21.69918699186992, "alnum_prop": 0.6875234170101161, "repo_name": "rillig/go-yacc-examples", "id": "240ff62e2d8ddb9a8e5a9cc1860d8162335bd163", "size...
package com.google.firebase.firestore.local; import org.junit.runner.RunWith; import org.robolectric.RobolectricTestRunner; import org.robolectric.annotation.Config; @RunWith(RobolectricTestRunner.class) @Config(manifest = Config.NONE) public class MemoryBundleCacheTest extends BundleCacheTestCase { @Override Pe...
{ "content_hash": "d28bef343ac8f2fd32964c092eb87822", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 67, "avg_line_length": 28.2, "alnum_prop": 0.8226950354609929, "repo_name": "firebase/firebase-android-sdk", "id": "b015e7856c5ec05431c46f0712b7d39a4f0640c4", "size": "1012...
<?php namespace erdiko\core; use Erdiko; /** Response Class */ class Response { /** Theme object */ protected $_theme; /** Theme name */ protected $_themeName; /** Theme template */ protected $_themeTemplate = 'default'; /** Content */ protected $_content = null; /** Data */ p...
{ "content_hash": "c23a2595cb9a146f5b80cec244060a1c", "timestamp": "", "source": "github", "line_count": 187, "max_line_length": 99, "avg_line_length": 21.37433155080214, "alnum_prop": 0.511883912934701, "repo_name": "direction123/erdiko-core", "id": "9e71320702d9e7fd7de37fa7f43b72abf6f600fc", "size...
#include <linux/init.h> #include <linux/pci.h> #include <linux/range.h> #include "bus_numa.h" LIST_HEAD(pci_root_infos); static struct pci_root_info *x86_find_pci_root_info(int bus) { struct pci_root_info *info; if (list_empty(&pci_root_infos)) return NULL; list_for_each_entry(info, &pci_root_infos, list) i...
{ "content_hash": "3777c3717495beef3594136a78b8b988", "timestamp": "", "source": "github", "line_count": 147, "max_line_length": 74, "avg_line_length": 21.993197278911566, "alnum_prop": 0.6650170120630993, "repo_name": "zhengdejin/X1_Code", "id": "c2735feb2508148ec16efab887ec1aab2dcc0aec", "size": "...
const DrawCard = require('../../drawcard.js'); class PutToTheTorch extends DrawCard { setupCardAbilities(ability) { this.reaction({ max: ability.limit.perChallenge(1), when: { afterChallenge: event => event.challenge.challengeType === 'military' && event.challenge.wi...
{ "content_hash": "ada491c3b079325374233aca0790e6af", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 141, "avg_line_length": 41.73076923076923, "alnum_prop": 0.5612903225806452, "repo_name": "Antaiseito/throneteki_for_doomtown", "id": "7c12ac4022910396b93c0056975f43cc54e2b3e...
using System; using System.Threading; using System.Runtime.Serialization; namespace System.Globalization { [Serializable] [System.Runtime.InteropServices.ComVisible(true)] public class CultureNotFoundException : ArgumentException, ISerializable { private string m_invalidCultureName; // unrecogn...
{ "content_hash": "188d754f95ba9c59c1998177a72d9116", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 116, "avg_line_length": 29.25, "alnum_prop": 0.5705982905982906, "repo_name": "naamunds/coreclr", "id": "bd59efb6ea99527951f19519ac8eaade1335013a", "size": "3139", "bina...
'use strict'; describe('Pieces E2E Tests:', function () { describe('Test Pieces page', function () { it('Should report missing credentials', function () { browser.get('http://localhost:3001/pieces'); expect(element.all(by.repeater('piece in pieces')).count()).toEqual(0); }); }); });
{ "content_hash": "5d46ffb901abd0578d84b6dbb21b8669", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 77, "avg_line_length": 30.9, "alnum_prop": 0.627831715210356, "repo_name": "dpxxdp/segue4", "id": "57d7cc00c62fa3b3b2400ce77cb5f68c0f547b46", "size": "309", "binary": fal...
export default function makeChange ({price, amountGiven}) { if (!Number.isInteger(price) || !Number.isInteger(amountGiven)) { throw new Error('Please input integer amounts inside of an object, e.g. {price: 100, amountGiven: 169} to get $0.69 in change') } let change = amountGiven - price let result = { ...
{ "content_hash": "f5c2d412f0a39dbbc8cfef5a6d84becc", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 131, "avg_line_length": 28.25, "alnum_prop": 0.6430678466076696, "repo_name": "leikkisa/core-algorithms", "id": "356380c6b71309e1892aabe305b04ba9fa61c4b2", "size": "863", ...
from .sub_resource import SubResource class BackendAddressPool(SubResource): """Pool of backend IP addresses. Variables are only populated by the server, and will be ignored when sending a request. :param id: Resource ID. :type id: str :ivar backend_ip_configurations: Gets collection of refe...
{ "content_hash": "4c1313e4772773f2545d3e38aea2f71a", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 128, "avg_line_length": 42.3448275862069, "alnum_prop": 0.6640879478827362, "repo_name": "AutorestCI/azure-sdk-for-python", "id": "67f2ddd8888c2d687d2959e8b07fc5100e0c62eb", ...
package com.marco.marplex.schoolbook; import android.animation.Animator; import android.animation.ObjectAnimator; import android.animation.PropertyValuesHolder; import android.app.Dialog; import android.os.Bundle; import android.support.design.widget.Snackbar; import android.support.v4.content.ContextCompat; import an...
{ "content_hash": "30d4f756d1b5469bdcf332ff83b3243d", "timestamp": "", "source": "github", "line_count": 392, "max_line_length": 144, "avg_line_length": 41.60459183673469, "alnum_prop": 0.6459010362376602, "repo_name": "Marplex/Schoolbook", "id": "0c12d4105dc8a898d828fa29340a264a2b40ab04", "size": "...
var Api = require('./Api') var async = require('async') class List { constructor(opts, config, logger) { this.opts = opts this.logger = logger this.api = new Api(config) if (opts.json == null) { opts.json = false } this.jsonOut = opts.json } run(cb) { this.api.getDumps((err, dum...
{ "content_hash": "160353a8f0edc77b9d6ec025d39262fa", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 57, "avg_line_length": 25.72222222222222, "alnum_prop": 0.5885529157667386, "repo_name": "instructure/canvas-data-cli", "id": "fd8b7ac1f5bf6770b8938bbf1be175b675be2ed0", "s...
function cacheRestoreNavigationOrder(prefix) { return [ prefix + "onBeforeNavigate", prefix + "onCommitted", prefix + "onCompleted" ]; } onload = async function() { let tab = await promise(chrome.tabs.create, {"url": "about:blank"}); let config = await promise(chrome.test.getConfig); let ...
{ "content_hash": "22e5ac40885c8d39f02da0b5b6e03e51", "timestamp": "", "source": "github", "line_count": 122, "max_line_length": 72, "avg_line_length": 36, "alnum_prop": 0.4198542805100182, "repo_name": "ric2b/Vivaldi-browser", "id": "86aeca0c4eda02ad8e80605b85c2c7c6deb4f265", "size": "4625", "bin...
pushd "$SRC/zlib" ./configure --static --prefix="$WORK" make -j$(nproc) CFLAGS="$CFLAGS -fPIC" make install popd #build hdf5 pushd "$SRC" tar -xvf hdf5-1.12.1.tar.gz cd hdf5-1.12.1 ./configure --disable-shared --disable-deprecated-symbols --disable-hl --disable-parallel --disable-trace --disable-internal-debug --disab...
{ "content_hash": "2522a79fb6a7c771a6beb34587e8bc3f", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 228, "avg_line_length": 31.97142857142857, "alnum_prop": 0.6791778373547811, "repo_name": "tbeu/matio", "id": "30a32c34778da0ba8ea4c5ab688fe636c22e6256", "size": "1808", ...
package it.polito.ai.polibox.web.controllers.result; import it.polito.ai.polibox.persistency.model.Resource; public class SharingItemWrapper { private int id; private String name; private boolean directory; private Integer pending; public SharingItemWrapper(int id, String name,boolean directory,Integer pending)...
{ "content_hash": "26fe2ba441b7b0b550463d7a45c30931", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 83, "avg_line_length": 18, "alnum_prop": 0.7212643678160919, "repo_name": "IDepla/polibox", "id": "b6380cd9e6f0d562536bdb5d9cee32fd6cb58158", "size": "2344", "binary": fa...
package com.bitdubai.fermat_api.layer.dmp_middleware.wallet_skin.exceptions; import com.bitdubai.fermat_api.FermatException; /** * The Exception <code>com.bitdubai.fermat_api.layer.middleware.wallet_language.CantAddLanguageStringException</code> * is thrown when a we cannot add a language string. * <p/> * * Crea...
{ "content_hash": "3c03636e7cf31081115cc1afe2b8a023", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 175, "avg_line_length": 49.74074074074074, "alnum_prop": 0.742367833209233, "repo_name": "fvasquezjatar/fermat-unused", "id": "9c3c2c1a25fc6e16d94b4def7945f28d94cdcd01", "s...
<?php // No direct access to this file defined('_JEXEC') or die('Restricted access'); // import Joomla controllerform library jimport('joomla.application.component.controllerform'); /** * HelloWorld Controller */ class WebLabControllerWebLab extends JControllerForm { public function save($key=null, $urlV...
{ "content_hash": "ca69343df1468d89829a1b7b3ac52857", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 162, "avg_line_length": 28.79032258064516, "alnum_prop": 0.5411764705882353, "repo_name": "porduna/weblabdeusto", "id": "aef158bdbcaff1a67baa9973a1a2a2b4819ff286", "size": ...
namespace { constexpr char kCharset[] = ";charset="; constexpr char kDefaultCharset[] = "US-ASCII"; constexpr char kEncodingUTF8Charset[] = "UTF-8"; } // namespace namespace exo { std::string GetCharset(const std::string& mime_type) { // We special case UTF-8 to provide minimal handling of X11 apps. if (mime_t...
{ "content_hash": "19dfd5b08cfb6c03a1af292b135ce9e6", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 67, "avg_line_length": 27, "alnum_prop": 0.702020202020202, "repo_name": "scheib/chromium", "id": "dd8ebef4659aa83b795bb62321dcc6b284b29483", "size": "852", "binary": fal...
import girder_client GIRDER_URL = 'http://127.0.0.1/api/v1' GIRDER_LOGIN = 'user' GIRDER_API_KEY = 'API_KEY' gc = girder_client.GirderClient(apiUrl=GIRDER_URL) gc.authenticate(username=GIRDER_LOGIN, apiKey=GIRDER_API_KEY) def handle_item(item, bc): bc = bc + (item['name'],) print '/'.join(bc) def handle_fol...
{ "content_hash": "463a638190538a19a47e3c8978e25968", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 69, "avg_line_length": 27.954545454545453, "alnum_prop": 0.6341463414634146, "repo_name": "data-exp-lab/girder", "id": "56df5dcc218c25241120bd74b369bf09f2a97809", "size": "...
package org.assertj.core.error; import static org.assertj.core.util.DateUtil.formatTimeDifference; import java.util.Date; /** * Creates an error message indicating that an assertion that verifies that a {@link Date} is in minute window as * another one failed. * * @author Joel Costigliola */ public class Shoul...
{ "content_hash": "bb8a3d70b734a058aa85b2ea7599c4f7", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 114, "avg_line_length": 34.645161290322584, "alnum_prop": 0.7327746741154563, "repo_name": "dorzey/assertj-core", "id": "d7cbe5bff815db6a1b917d1200992061f62bec4b", "size": ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using DM.MovieApi.ApiResponse; using DM.MovieApi.MovieDb; using DM.MovieApi.MovieDb.Companies; using DM.MovieApi.MovieDb.Genres; using DM.MovieApi.MovieDb.Movies; using DM.MovieApi.MovieDb.People; using DM.MovieApi.MovieDb...
{ "content_hash": "510b523b02898920454562456e36b8e0", "timestamp": "", "source": "github", "line_count": 242, "max_line_length": 164, "avg_line_length": 38.72727272727273, "alnum_prop": 0.5689287238583013, "repo_name": "yeah-buddy/TheMovieDbWrapper", "id": "fb9e288527a845eaa4d9c4867bd7a569ed4e4bee", ...
<!-- {% comment %} Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may...
{ "content_hash": "311831aaa51c3c24a66e64e0b0cbca37", "timestamp": "", "source": "github", "line_count": 98, "max_line_length": 366, "avg_line_length": 49.63265306122449, "alnum_prop": 0.7582236842105263, "repo_name": "qingwen220/eagle", "id": "7b541b541aa3cd69a5645b42ff4746b224a655d2", "size": "486...
<?php $marketing = new WPCF_Types_Marketing_Messages(); $show_documentation_link = false; ?> <?php if ( $top = $marketing->show_top($update) ) { echo '<div class="wpcf-notif">'; echo $top; echo '</div>'; } else { $message = false; switch( $type ) { case 'post_type': ...
{ "content_hash": "4d0595eddac50d037dca343c0c23bb82", "timestamp": "", "source": "github", "line_count": 118, "max_line_length": 250, "avg_line_length": 55.19491525423729, "alnum_prop": 0.573929064947029, "repo_name": "Jezfx/rocket-theme", "id": "48fda99a53dfb060b8d5dac1a36e48e24e7d8e5a", "size": "6...
<?php namespace Zend\Http\Header; use Zend\Http\Request; /** * Allow Header * * @link http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.7 */ class Allow implements HeaderInterface { /** * List of request methods * true states that method is allowed, false - disallo...
{ "content_hash": "3b75bd0fceba9536fc4eccabe6a95b28", "timestamp": "", "source": "github", "line_count": 174, "max_line_length": 114, "avg_line_length": 23.977011494252874, "alnum_prop": 0.5292425695110259, "repo_name": "psrearick/zf1Codenvy", "id": "a015dce667f15150be2e26c38036524623e18837", "size"...
using System.Collections.Generic; using System.Text.Json; using Azure.Core; namespace Azure.Analytics.Synapse.Spark.Models { public partial class SparkSession { internal static SparkSession DeserializeSparkSession(JsonElement element) { SparkSessionState livyInfo = default; ...
{ "content_hash": "9931d20041b59041f426687af83aab63", "timestamp": "", "source": "github", "line_count": 241, "max_line_length": 215, "avg_line_length": 39.21576763485477, "alnum_prop": 0.4046132684372024, "repo_name": "stankovski/azure-sdk-for-net", "id": "de57d517f686ee65ea3dbdc320b15f9dcf09f3cc", ...
using System; using System.Collections.Generic; using System.Windows.Forms; namespace TestForTimeAnalyze { static class Program { /// <summary> /// 应用程序的主入口点。 /// </summary> [STAThread] static void Main() { Application.EnableVisualStyle...
{ "content_hash": "7d7bcf5eb1da74c059baccd454609093", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 65, "avg_line_length": 22.95, "alnum_prop": 0.5620915032679739, "repo_name": "luosz/ai-algorithmplatform", "id": "7275813b95b97d4fde1a3776850166fa49f014b4", "size": "481", ...
module RuboCop module Cop module Layout # Checks that braces used for hash literals have or don't have # surrounding space depending on configuration. # # @example EnforcedStyle: space (default) # # The `space` style enforces that hash literals have # # surrounding space. ...
{ "content_hash": "07c72b59abb5832e484c837c7c4a721a", "timestamp": "", "source": "github", "line_count": 205, "max_line_length": 78, "avg_line_length": 32.165853658536584, "alnum_prop": 0.5225962996663633, "repo_name": "smakagon/rubocop", "id": "fe7aa64fd64f0fe9b7147a3ca9e3cb42508af010", "size": "66...
 #pragma once #include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSStreamFwd.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace Elastic...
{ "content_hash": "2f1dc621eb8ebac0a16ae5df443f4706", "timestamp": "", "source": "github", "line_count": 140, "max_line_length": 118, "avg_line_length": 33.05714285714286, "alnum_prop": 0.6791270527225584, "repo_name": "cedral/aws-sdk-cpp", "id": "72a18b6b03cd82d53ee06306caf3e8893be029f3", "size": "...
#ifndef INCLUDE_SCHED_SMPCALL_H #define INCLUDE_SCHED_SMPCALL_H #include <stdbool.h> /* Calls a specific function on all other cpu's if wait is true this function will block until every cpu is finished */ void smpCallFunction(void (*func)(void* arg), void *arg, bool wait); /* Sets up the smpcall interrupt */ void sm...
{ "content_hash": "d4144a91834619858b477b59503c3fb2", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 68, "avg_line_length": 20.235294117647058, "alnum_prop": 0.747093023255814, "repo_name": "racing19th/MiraiOS", "id": "957c449c6bd224ebb9b2f01a9225f8c6407ff138", "size": "34...
""" vg_config.py: Default configuration values all here (and only here), as well as logic for reading and generating config files. """ import argparse, sys, os, os.path, errno, random, subprocess, shutil, itertools, glob, tarfile import doctest, re, json, collections, time, timeit import logging, logging.handlers, st...
{ "content_hash": "d5f304f18d3d1e4a28267e20520975df", "timestamp": "", "source": "github", "line_count": 757, "max_line_length": 127, "avg_line_length": 31.27212681638045, "alnum_prop": 0.6946310142356271, "repo_name": "vgteam/toil-vg", "id": "df0090d061a5a285d0e6a305a758bbe5c5f22c35", "size": "2369...
package org.apache.storm.starter.bolt; import org.apache.storm.topology.BasicOutputCollector; import org.apache.storm.topology.OutputFieldsDeclarer; import org.apache.storm.topology.base.BaseBasicBolt; import org.apache.storm.tuple.Tuple; public class PrinterBolt extends BaseBasicBolt { @Override public v...
{ "content_hash": "f433a4e5af8e8fba0f331204e49b84d0", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 70, "avg_line_length": 23.09090909090909, "alnum_prop": 0.7677165354330708, "repo_name": "kishorvpatil/incubator-storm", "id": "8364222a8b759cee09c0bb43c6bc0eb78e69bbf9", "...
cask 'adobe-illustrator-cc-fr' do version :latest sha256 :no_check url 'http://trials3.adobe.com/AdobeProducts/ILST/19/osx10-64/Illustrator_19_LS20.dmg', user_agent: :fake, cookies: { 'MM_TRIALS' => '1234' } name 'Adobe Illustrator CC 2015' homepage 'https://www.adobe.com/products/illustrator....
{ "content_hash": "243e384422d470604136a9d49add726f", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 223, "avg_line_length": 40, "alnum_prop": 0.6891666666666667, "repo_name": "toonetown/homebrew-cask-versions", "id": "db1ebe79b8cd2123222939b7fcd4dc39ba5b8d1b", "size": "12...
@interface KWDeviceInfoTest : XCTestCase @end @implementation KWDeviceInfoTest - (void)testItShouldDetectWhenRunningOnSimulator { #if TARGET_IPHONE_SIMULATOR BOOL isSimulator = [KWDeviceInfo isSimulator]; XCTAssertTrue(isSimulator, @"expected simulator device to be positive"); #else BOOL isSimulator = [K...
{ "content_hash": "b61f834504d7b00fc3f600525cd541ae", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 77, "avg_line_length": 30.137931034482758, "alnum_prop": 0.7654462242562929, "repo_name": "howandhao/Kiwi", "id": "3b0b451f387b1829376683594bd00c650dec3231", "size": "1052"...
import java.io.*; public class FileIOC implements FileIO { private String textInFileName; private String binaryInFileName; public FileReader openInputFile(String fname) { FileReader fr = null; this.textInFileName = fname; try { fr = new FileReader(fname); }...
{ "content_hash": "2032945c2583c495f713e75ab51961df", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 97, "avg_line_length": 22.839285714285715, "alnum_prop": 0.6082877247849883, "repo_name": "rootulp/school", "id": "67edfb6643e1d259a38c86bf66fe6ec2474c357e", "size": "2243"...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html" charset="iso-8859-1"> <title>Uses of Class org.apache.commons.net.smtp.AuthenticatingSMTPClient (Commons Net 3.3 API)</...
{ "content_hash": "21cc9be77852ccc54fd6c37794f34f3b", "timestamp": "", "source": "github", "line_count": 115, "max_line_length": 167, "avg_line_length": 40.095652173913045, "alnum_prop": 0.6068098026458469, "repo_name": "S43-Proftaakgroep/PTS4", "id": "d18434991006ca48d1b89f899a7fba2e8d5211f4", "siz...
using UnityEngine; using System.Collections; using UnityEngine.UI; public class GameOver : MonoBehaviour { public Image Background; public Text ScoreLabel; public Text ComboLabel; public Text PerfectLabel; public Text GoodLabel; public Text BadLabel; public Text MissLabel; public Text ScoreText; public Text ...
{ "content_hash": "0a95794a6b188068746ace8090e32b01", "timestamp": "", "source": "github", "line_count": 253, "max_line_length": 150, "avg_line_length": 29.90118577075099, "alnum_prop": 0.6806345009914078, "repo_name": "39M/LMix", "id": "5194effd62b43a0066edd0d7ccb36ba43393af34", "size": "7567", "...
package org.mybatis.generator.codegen.ibatis2.sqlmap.elements; import java.util.Iterator; import org.mybatis.generator.api.IntrospectedColumn; import org.mybatis.generator.api.dom.xml.Attribute; import org.mybatis.generator.api.dom.xml.TextElement; import org.mybatis.generator.api.dom.xml.XmlElement; import org.myba...
{ "content_hash": "7c8f25c9df136a66ef7847134fb83559", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 93, "avg_line_length": 26.87272727272727, "alnum_prop": 0.7368064952638701, "repo_name": "cxjava/mybatis-generator-core", "id": "c8b64bd1355c78695e9985902e794fc1bfbf67ed", ...
// Copyright (c) 2011-2015 The Bitcoin Core developers // Copyright (c) 2015-2016 The Bitcoin Unlimited developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_QT_RECEIVECOINSDIALOG_H #define BITCOIN_QT_RECEIV...
{ "content_hash": "272341dcafed4c86ce35ff33b9bc8628", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 111, "avg_line_length": 25.675, "alnum_prop": 0.7361246348588121, "repo_name": "marlengit/BitcoinUnlimited", "id": "e87ab85f3c882bb86ebf1695d102428f5a7c5892", "size": "2054...
module Mnemosyne module Probes module Grape module EndpointRun class Probe < ::Mnemosyne::Probe subscribe 'endpoint_run.grape' def call(trace, _name, start, finish, _id, payload) start = ::Mnemosyne::Clock.to_tick(start) finish = ::Mnemosyne::Clock.to_ti...
{ "content_hash": "37e0b03938dc43d0506272d8065a99fd", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 72, "avg_line_length": 24.13953488372093, "alnum_prop": 0.5317919075144508, "repo_name": "jgraichen/mnemosyne-ruby", "id": "05f46cc620688d7c006f8b03f7dd3939c9d58dff", "size...
class ResultPresenter attr_reader :title, :keys, :values def initialize(title, result_hash) @title = title if result_hash @exist = true @keys = [] @values = [] @result_hash = result_hash each_pair do |key, value| @keys << key @values << value end el...
{ "content_hash": "0e1aa158f8d010ca7bb2d58e870beb5d", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 60, "avg_line_length": 17.692307692307693, "alnum_prop": 0.5594202898550724, "repo_name": "rrusk/scoop-query-composer", "id": "70f7c9f35a4478e69142cd224b08437dcc8c138e", "s...
namespace AM.Condo { using System.Collections.Generic; using System.Linq; /// <summary> /// Represents a set of extension methods for the <see cref="string"/> class. /// </summary> public static class StringExtensions { private const char Delimiter = ';'; #region Methods ...
{ "content_hash": "38cc2db19c69a70733df835fc6c0318a", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 120, "avg_line_length": 33.38775510204081, "alnum_prop": 0.558679706601467, "repo_name": "pulsebridge/condo", "id": "921bfac9c51e6f1d90e476b351661e4e676d73ac", "size": "208...
/* * 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": "285fb3d250b0dc6c10f2de1388e60d2d", "timestamp": "", "source": "github", "line_count": 94, "max_line_length": 182, "avg_line_length": 35.01063829787234, "alnum_prop": 0.7441507140686722, "repo_name": "googleapis/google-api-java-client-services", "id": "5a1b7452512aabf1175debddcdcd0f4...
// // MHComment.h // MHDevelopExample // // Created by CoderMikeHe on 17/2/8. // Copyright © 2017年 CoderMikeHe. All rights reserved. // #import <Foundation/Foundation.h> #import "MHUser.h" @interface MHComment : NSObject /** 视频的id */ @property (nonatomic , copy) NSString *mediabase_id; /** 评论、回复id */ @property...
{ "content_hash": "caf5e91fe08d24b890e181f298a27cab", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 55, "avg_line_length": 18.555555555555557, "alnum_prop": 0.6766467065868264, "repo_name": "CoderMikeHe/MHDevelopExample_Objective_C", "id": "069f01e103db6a1593eb3166f64362b3d...
int main(int argc, char *argv[]) { return NSApplicationMain(argc, (const char **)argv); }
{ "content_hash": "99a64822bac17a49a51d25a92c9a0f70", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 54, "avg_line_length": 30.666666666666668, "alnum_prop": 0.6739130434782609, "repo_name": "google/macops", "id": "01633c735463b64c016876d5974006cab6603e0f", "size": "134", ...
package org.wso2.carbon.device.mgt.analytics.dashboard.dao.impl; import org.wso2.carbon.context.PrivilegedCarbonContext; import org.wso2.carbon.device.mgt.analytics.dashboard.bean.DeviceWithDetails; import org.wso2.carbon.device.mgt.analytics.dashboard.bean.DeviceCountByGroup; import org.wso2.carbon.device.mgt.analy...
{ "content_hash": "6031c16580a496944134dd433abbadd1", "timestamp": "", "source": "github", "line_count": 280, "max_line_length": 120, "avg_line_length": 49.49285714285714, "alnum_prop": 0.6264251695771396, "repo_name": "Shabirmean/carbon-device-mgt", "id": "4a0deb7d247c98af585235ebb46eb7346f906f52", ...
<img src="{src}" class="product-image">
{ "content_hash": "f8b3d5fd1acaa8c5663bc23ff1f7a7ef", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 39, "avg_line_length": 39, "alnum_prop": 0.6666666666666666, "repo_name": "eschltd/barbaareducatie.nl", "id": "a26928633d76669f6dfe7a2aa2cd27692745ec22", "size": "39", "bi...
'use strict'; var request = require('request'); /** * Check if the service/request have an error and try to format it. */ function formatErrorIfExists(cb) { return function(error, response, body) { // If we have an error return it. if (error) { cb(error, body, response); return; } ...
{ "content_hash": "aa58bc0a5c9b1d230f8f09b5913d17e8", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 98, "avg_line_length": 24.794117647058822, "alnum_prop": 0.6150652431791221, "repo_name": "obarrot/georges", "id": "5a6b24570d4f1c2e3942adab40ad909f74078b86", "size": "2301...
#include "MethodCall.h" #include <stdlib.h> int ProcdescMain() { MethodCall* call = [MethodCall alloc]; int n = [call plusX:1 andY:3]; int* x = malloc(sizeof(int)); return n; } int call_nslog() { MethodCall* call = [MethodCall alloc]; NSLog(@"%s", "printing"); int* x = malloc(sizeof(int)); return 0;...
{ "content_hash": "97004152e31eb15d834e3b2e0fe8448c", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 40, "avg_line_length": 17.944444444444443, "alnum_prop": 0.6253869969040248, "repo_name": "xennygrimmato/infer", "id": "7d5b091d84a09643218ccd524f19f0993d3b7362", "size": "...
ALTER TABLE ONLY lines ALTER COLUMN id DROP DEFAULT;
{ "content_hash": "491f6239a3c05e95b7febfe92d229c7d", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 52, "avg_line_length": 52, "alnum_prop": 0.8269230769230769, "repo_name": "RealImage/QLedger", "id": "34984fd51b71046cde43f503a52ce021945b8289", "size": "52", "binary": fa...
package io.crate.types; import io.crate.Streamer; import org.apache.lucene.util.BytesRef; import org.elasticsearch.common.io.stream.StreamInput; import org.elasticsearch.common.io.stream.StreamOutput; import java.io.IOException; public class DoubleType extends DataType<Double> implements FixedWidthType, Streamer<D...
{ "content_hash": "db7abdd3612b88774ccd959e67be1030", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 111, "avg_line_length": 23.73076923076923, "alnum_prop": 0.6115613182063749, "repo_name": "husky-koglhof/crate", "id": "c9dde8cdf2e755230b1bc9d163defd740a46d44a", "size": "...
/*****************************************************************************\ * WrFFrP.c: * * * * XPM library ...
{ "content_hash": "4a5d59111e31c561d90dc9594f3f0b2f", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 79, "avg_line_length": 30.944444444444443, "alnum_prop": 0.4637941352483543, "repo_name": "easion/os_sdk", "id": "87ceb8890908bcdbbc0eb1a33768aa9106b43c55", "size": "2997",...
namespace { const double kTopMarginInInch = 0.25; const double kBottomMarginInInch = 0.56; const double kLeftMarginInInch = 0.25; const double kRightMarginInInch = 0.25; } // namespace gfx::Size GetPdfPaperSizeDeviceUnitsGtk( printing::PrintingContextLinux* context) { GtkPageSetup* page_setup = gtk_page_setup...
{ "content_hash": "ac36dca69a53efc4f748a9d52e1436a5", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 80, "avg_line_length": 44.45, "alnum_prop": 0.6931946006749157, "repo_name": "ric2b/Vivaldi-browser", "id": "0ebed5603f82763f95092e3c151144843e0f2e50", "size": "4050", "b...
 import { IWeapon } from "./weapons"; export class Character { public health: number; public maxHealth: number; public name: string; public weapon: IWeapon; public attack(damage: number) { this.health -= damage; } public isDead()...
{ "content_hash": "791fca8feeb6aed9e05499c08801189e", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 76, "avg_line_length": 25.425, "alnum_prop": 0.4837758112094395, "repo_name": "DustinEwers/typescript-demos", "id": "819401a374260ab794188e47eecd5cd898c6899f", "size": "101...
// -*- C++ -*- //============================================================================= /** * @file streams.h * * $Id: streams.h 82445 2008-07-28 13:40:01Z johnnyw $ * * @author Irfan Pyarali * * This file contains the portability ugliness for the Standard C++ * Library. As implementations of t...
{ "content_hash": "07a39b0b8084da6f68963930b069397f", "timestamp": "", "source": "github", "line_count": 138, "max_line_length": 79, "avg_line_length": 26.89855072463768, "alnum_prop": 0.5700431034482759, "repo_name": "Huawei/eSDK_eLTE_SDK_Windows", "id": "396a67c712e5d4dbf9ac31688ca6056c0972e335", ...
<?php // src/Anneaux/PortailBundle/Entity/Author.php namespace Anneaux\PortailBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Gedmo\Mapping\Annotation as Gedmo; /** * @ORM\Entity(repositoryClass="Anneaux\PortailBundle\Entity\AuthorRepository") * @ORM\Table(name="author") */ class Author { /** * @ORM\Id ...
{ "content_hash": "c4153a7f264fd17de701f35e4b293d26", "timestamp": "", "source": "github", "line_count": 342, "max_line_length": 80, "avg_line_length": 15.628654970760234, "alnum_prop": 0.5560336763330215, "repo_name": "jacbac/anneaux", "id": "ea89073d17cd8284421f9d6f84532f38d8196b95", "size": "5345...
let fs = require('fs'); describe('check that start page has a title', function () { // execute before every test beforeEach(function () { browser.ignoreSynchronization = true; // Important using Protractor without AngularJS browser.get('https://www.google.de/'); }); // tests are here...
{ "content_hash": "ff34d37a33d0a9f6fb12bc7c9d96f8eb", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 95, "avg_line_length": 33.18181818181818, "alnum_prop": 0.5958904109589042, "repo_name": "rebel-l/experiment-protractor", "id": "be7aef25c17c0e1a84f9bc656e31e369e4618a5f", ...
package io.cattle.platform.servicediscovery.api.action; import io.cattle.platform.api.action.ActionHandler; import io.cattle.platform.core.addon.ComposeConfig; import io.cattle.platform.core.constants.CommonStatesConstants; import io.cattle.platform.core.constants.ServiceConstants; import io.cattle.platform.core.model...
{ "content_hash": "f46be3fdb7d31824571cca0b050de7bb", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 112, "avg_line_length": 37.1, "alnum_prop": 0.7138364779874213, "repo_name": "jimengliu/cattle", "id": "2f61764db57cb59fd47eff1939e2e279717394ff", "size": "2226", "binary...
package org.wildfly.security.sasl.digest; import java.net.URI; import java.security.spec.KeySpec; import javax.security.auth.callback.CallbackHandler; import org.wildfly.security.auth.client.AuthenticationConfiguration; import org.wildfly.security.auth.client.AuthenticationContext; import org.wildfly.security.auth....
{ "content_hash": "ea889572e12e61b807d6110d3bfe9b7d", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 172, "avg_line_length": 50.82692307692308, "alnum_prop": 0.7578509269769201, "repo_name": "sguilhen/wildfly-elytron", "id": "d86ffd4b81298d5d74b43c97e81e4fafcb676f56", "siz...
CaptchaGenerator ================ Font 'Helve Cursive' by toto (http://www.dafont.com/helve-cursive.font) A simple PHP class for the production of a captcha. Example available. This is my first attempt at a library, so go easy on me! I've tried to make this as simple as possible. I'm aware there may be a problem wi...
{ "content_hash": "4035efcf509b3261d0f6415d1860c5f5", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 71, "avg_line_length": 28.47826086956522, "alnum_prop": 0.7603053435114504, "repo_name": "Galatoni/CaptchaGenerator", "id": "c99b9b2295c5223abc334efd7e7bd71cefcd3c83", "siz...
<?php namespace Behat\SahiClient\Accessor\Form; use Behat\SahiClient\Accessor\AbstractDomAccessor; /** * Button Element Accessor. * * @author Konstantin Kudryashov <ever.zet@gmail.com> */ class ButtonAccessor extends AbstractDomAccessor { /** * {@inheritdoc} */ public function getType() {...
{ "content_hash": "dc08a216ecd3a0df8d2120379a321469", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 53, "avg_line_length": 15.391304347826088, "alnum_prop": 0.6610169491525424, "repo_name": "Behat/SahiClient", "id": "507ad57ffc23c187e05d613bfb53a09517b76e65", "size": "591...
/* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __STM32F4xx_HAL_DCMI_EX_H #define __STM32F4xx_HAL_DCMI_EX_H #ifdef __cplusplus extern "C" { #endif #if defined(STM32F407xx) || defined(STM32F417xx) || defined(STM32F427xx) || defined(STM32F437xx) ||\ defined(ST...
{ "content_hash": "d069e39ed61ffc49bc8ba9d1ed765b09", "timestamp": "", "source": "github", "line_count": 188, "max_line_length": 150, "avg_line_length": 44.15425531914894, "alnum_prop": 0.4918684495843874, "repo_name": "janhieber/HTWAA_car_32b", "id": "3131dec96dfa28cdc54b71f5967efc676ff407c6", "siz...
module HerokuLineItemBilling module API def api @heroku ||= PlatformAPI.connect_oauth(ENV['HEROKU_API_TOKEN']) end end end
{ "content_hash": "532182b290d311082fce480a05effcfb", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 68, "avg_line_length": 20, "alnum_prop": 0.6928571428571428, "repo_name": "IFTTT/heroku_line_item_billing", "id": "a734cabf33dc8291057a3d459e6f5414a66ecf9c", "size": "140", ...
({ getMessageFromSuperSuperCmp: function() { return "Message From Super Super Component Helper Method"; }, getSuperAwesomeMessage: function() { return "Super Awesome Message from Super Super Component Helper Method"; } })
{ "content_hash": "5f53fbf985da251ac64583a6ed535f22", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 80, "avg_line_length": 28.333333333333332, "alnum_prop": 0.6784313725490196, "repo_name": "forcedotcom/aura", "id": "37e088352f857fdd3dc45dd0c68c8c3abe06ca7d", "size": "255"...
var wikitree = require('./wikitree'), utils = require('./utils'); /** * Create a person from the given `user_id` */ var Person = wikitree.Person = function(data){ this._data = data; // Create person objects for any attached family members var relatives = ['Parents', 'Spouses', 'Children', 'Siblings']; ...
{ "content_hash": "aa7664866edea9748373cd8410d0e4c0", "timestamp": "", "source": "github", "line_count": 214, "max_line_length": 118, "avg_line_length": 22.901869158878505, "alnum_prop": 0.6786370128545195, "repo_name": "justincy/wikitree-javascript-sdk", "id": "b9c0d1ebecda620c527d4a08c9d933d60819e3e...
namespace gpu { namespace gles2 { // This is used to keep the source code for a shader. This is because in order // to emluate GLES2 the shaders will have to be re-written before passed to // the underlying OpenGL. But, when the user calls glGetShaderSource they // should get the source they passed in, not the re-writ...
{ "content_hash": "337c15971339dfb3062314b8c6554e5c", "timestamp": "", "source": "github", "line_count": 294, "max_line_length": 79, "avg_line_length": 26.877551020408163, "alnum_prop": 0.7014679827891673, "repo_name": "highweb-project/highweb-webcl-html5spec", "id": "31a86e8d6b12e231b0ca0501b8e625743...
import _ from "lodash"; import Stream from "mithril/stream"; import { ConfigJSON, GroupJSON, HistoryJSON, MaterialRevisionJSON, ModificationJSON, PipelineActivityJSON, StageConfigJSON, StageJSON } from "models/pipeline_activity/pipeline_activity_json"; const TimeFormatter = require("helpers/time_form...
{ "content_hash": "fa019b1ba82708bfaef11317c809a180", "timestamp": "", "source": "github", "line_count": 397, "max_line_length": 103, "avg_line_length": 29.309823677581864, "alnum_prop": 0.661911309728429, "repo_name": "marques-work/gocd", "id": "6fa747dcef280f1d4149044010b3cfcc58dbdc9c", "size": "1...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; //https://github.com/TelerikAcademy/CSharp-Part-1/tree/master/Topics/04.%20Console-In-and-Out/homework namespace _03.Circle { class Program { static void Main(string[] args) { ...
{ "content_hash": "d25e24a5afa124f1f13d9caa93dbc9eb", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 102, "avg_line_length": 26.045454545454547, "alnum_prop": 0.6282722513089005, "repo_name": "singularity0/CSharpBasics", "id": "c95de62ae37e14d49235de09bab4df692fbdb2e6", "s...
<?php namespace Plumber\Command; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; class RollbackCommand extends PlumberCommand { protected function configure...
{ "content_hash": "2ea8ffd64bc123796df84f9936e3afaa", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 102, "avg_line_length": 32.10526315789474, "alnum_prop": 0.6434426229508197, "repo_name": "fiunchinho/Plumber", "id": "2f01f7c78117cd7fd9fcaa13c3659676b2b4a422", "size": "1...
// Copyright 2016 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicabl...
{ "content_hash": "d01cd2e0b4a3811afbdcc937d38f463f", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 85, "avg_line_length": 39.31578947368421, "alnum_prop": 0.7161981258366801, "repo_name": "googlevr/media-app-template", "id": "141893aa44db6162f4ca6066b18b9716f9b6c383", "s...
.class Landroid/service/wallpaper/WallpaperService$Engine$1; .super Lcom/android/internal/view/BaseSurfaceHolder; .source "WallpaperService.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroid/service/wallpaper/WallpaperService$Engine; .end annotation .annotation system Ldal...
{ "content_hash": "52b2a4610ba2ba9c2ad4485fa3f8c370", "timestamp": "", "source": "github", "line_count": 141, "max_line_length": 137, "avg_line_length": 28.95744680851064, "alnum_prop": 0.7479794268919912, "repo_name": "baidurom/devices-g520", "id": "32dd04ca38d88756c02677f3dbd58ddfa3334680", "size"...
class MaxWinnerTree : public BinaryTree{ public: MaxWinnerTree(); ~MaxWinnerTree() {} //initialize the maxwinner tree void initialize(int objects, int capacity); //replay to rebuild the winner tree void replay(BinaryTreeNode* n); //find the bin with given objectsize, returns the binarytree node ...
{ "content_hash": "927c524f5331eda44dc67891e015a01a", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 67, "avg_line_length": 31.53846153846154, "alnum_prop": 0.7097560975609756, "repo_name": "atthehotcorner/coursework", "id": "846cd4370a0d60285c858d1733de7ab0b6397939", "siz...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>float: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
{ "content_hash": "03e8d79e9682bc2c8c1b8244b1867532", "timestamp": "", "source": "github", "line_count": 167, "max_line_length": 159, "avg_line_length": 41.35928143712575, "alnum_prop": 0.5372810192558274, "repo_name": "coq-bench/coq-bench.github.io", "id": "ad23e56756d7bb5f8e032d17214a8c6ad8631234", ...
#import "NSObject-Protocol.h" @protocol IDEBotLogEditorScopeBarDelegate <NSObject> - (void)logEditorScopeBar:(id)arg1 searchTextChanged:(id)arg2; - (void)logEditorScopeBar:(id)arg1 showAllResultsChanged:(BOOL)arg2; - (void)logEditorScopeBar:(id)arg1 stateChanged:(int)arg2; @end
{ "content_hash": "5f8df23d93689a14d13a942068b23285", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 68, "avg_line_length": 28.3, "alnum_prop": 0.7950530035335689, "repo_name": "liyong03/YLCleaner", "id": "7c5ae1f6c04e780fdf4ea1d89a5cd55cf3017fcc", "size": "423", "binary...
require 'mechanize' require 'yaml' STATIONS_FILE = File.expand_path "#{__FILE__}/../../stations.yaml" HOME_URL = 'https://www.select-a-spot.com/bart/' WAITING_LIST_URL = 'https://www.select-a-spot.com/bart/waiting_lists/' class BartWaitingList attr_reader :page def initialize(email, password) @page = get_w...
{ "content_hash": "ac6c9fa8a60619098eb952f54cda24f1", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 112, "avg_line_length": 25.540983606557376, "alnum_prop": 0.665596919127086, "repo_name": "brianokeefe/bart_waiting_list", "id": "e2fdc6d2532b5be6751eef5d012c572a85faf0c9", ...
/* Options Framework Admin Styles */ #optionsframework { max-width:840px; background:#fff; } #optionsframework h3 { cursor: default; background-color: #f1f1f1; border-bottom: 1px solid #ddd; } #optionsframework p { margin-bottom:0; padding-bottom:10px; } #optionsframework .section { padding:10px 10px 0; ...
{ "content_hash": "349ccd0b5ea6b841446d8a4e0ebb8d69", "timestamp": "", "source": "github", "line_count": 218, "max_line_length": 86, "avg_line_length": 19.69724770642202, "alnum_prop": 0.7345132743362832, "repo_name": "ramjack/rjfs-franchise-old", "id": "f62613302eb0870742da61b33fb9db155c48bf77", "s...
// Defines conversions between generic types and structs to map query strings // to struct objects. package runtime import ( "fmt" "reflect" "strconv" "strings" "k8s.io/apimachinery/pkg/conversion" ) // DefaultFieldSelectorConversion auto-accepts metav1 values for name and namespace. func DefaultMetaV1FieldSe...
{ "content_hash": "4a0c82dff49a7fe9dc7e4a3b52bbbdf4", "timestamp": "", "source": "github", "line_count": 97, "max_line_length": 122, "avg_line_length": 25.742268041237114, "alnum_prop": 0.6816179415298358, "repo_name": "kadel/kedge", "id": "d818727609c8a9b9e695a2e26e4d1a140b0b5b25", "size": "3066", ...
package com.yogee.zhebuy.modules.sys.dao; import com.yogee.zhebuy.common.persistence.TreeDao; import com.yogee.zhebuy.common.persistence.annotation.MyBatisDao; import com.yogee.zhebuy.modules.sys.entity.Area; import java.util.List; import java.util.Map; /** * 区域DAO接口 * @author ThinkGem * @version 2014-05-16 */ ...
{ "content_hash": "9842e94e5b7b6c4fdc87008d98a446f6", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 65, "avg_line_length": 19.46153846153846, "alnum_prop": 0.7509881422924901, "repo_name": "sunye520/zhebuy", "id": "ebbff618236a43fc007d371069b6359c221f1f25", "size": "626",...
import numpy as np from sklearn.metrics import cohen_kappa_score as kappa # noqa from sklearn.metrics import mean_squared_error as mse from sklearn.metrics import mean_absolute_error as mae # noqa from sklearn.metrics import r2_score as r2 # noqa from ..const import EPS def mape(y, p): """Mean Absolute Percen...
{ "content_hash": "1e2cb45ebd890b7c505c0f6701d587b3", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 62, "avg_line_length": 23.56756756756757, "alnum_prop": 0.6100917431192661, "repo_name": "jeongyoonlee/Kaggler", "id": "c049c64cdedc895ed0045cbb35a493481112cbee", "size": "...
#include "regionstyles.h" #include "tgl.h" #include "tcolorfunctions.h" #include "trandom.h" //#include "tsystem.h" //#include "tvectorrenderdata.h" #include "colorfxutils.h" //#include "tgl.h" //#include "tregionoutline.h" //#include "tpalette.h" //#include "tvectorimage.h" //#include "tstroke.h" #include "tflash.h"...
{ "content_hash": "472e448acf9501fb21cbc8d7a194939e", "timestamp": "", "source": "github", "line_count": 5012, "max_line_length": 80, "avg_line_length": 29.438946528332004, "alnum_prop": 0.5215319760349174, "repo_name": "damies13/opentoonz", "id": "9a9d472b39ec53de2228bf7fc288eedbc2d808ba", "size": ...
from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('scheduling_partitioned', '0006_unique_indexes'), ] operations = [ # (case_id, alert_schedule_id) covered by unique(case_id, alert_schedule_id, recipient_type, recipient_id) migrations.Alter...
{ "content_hash": "88619b01153a598df652e60fe57a237e", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 114, "avg_line_length": 38.904761904761905, "alnum_prop": 0.627906976744186, "repo_name": "dimagi/commcare-hq", "id": "5ef4182b59f5e30aae503e8fa1e51136b94a4b01", "size": "8...
:local .treeView{ flex: 1; background-color: var(--tree); overflow: hidden; list-style: none; color: #424243; text-align: left; font-size: 12px; font-family: 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif; font-weight: normal; } /* Scrollbar */ :local .treeView::-webkit-scrol...
{ "content_hash": "63a701f95c7f8c2b92be8f0e98c6d341", "timestamp": "", "source": "github", "line_count": 150, "max_line_length": 72, "avg_line_length": 22.026666666666667, "alnum_prop": 0.635593220338983, "repo_name": "pastahito/remus", "id": "a72843079c96b61440abcd4de0cb3323a39acef5", "size": "3304...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; namespace Microsoft.Extensions.EnvironmentAbstractions { internal interface IDirectory { bool...
{ "content_hash": "28aab370ed24bcc24138702fc06139c9", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 101, "avg_line_length": 30.357142857142858, "alnum_prop": 0.7364705882352941, "repo_name": "svick/cli", "id": "04526de37265651077366e9471400393d315752c", "size": "852", "...
<!DOCTYPE HTML> <html> <head> <style> head, style {display: block;} [contenteditable] {-webkit-user-modify: read-write-plaintext-only;} style:first-of-type {visibility:hidden;} style:last-of-type {padding: 20px; font-size: 1.5em; white-space: pre; font-family: monospace; background-color: rgba(255,255,255,0.5);} html {...
{ "content_hash": "1dd1ddafd75e0f54107ebb9ab67e0ad8", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 136, "avg_line_length": 29.16393442622951, "alnum_prop": 0.641371557054525, "repo_name": "estelle/flexbox", "id": "3c0b42f5aa0ad254a815e1298833e6b312721341", "size": "1779"...
using System; using System.IO; namespace Microsoft.Build.Logging.StructuredLogger { public class ErrorReporting { private static readonly string logFilePath = Path.Combine(GetRootPath(), "LoggerExceptions.txt"); private static string GetRootPath() { #if NETCORE ...
{ "content_hash": "e1e112062375b6a120c6ab6808ae81de", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 105, "avg_line_length": 27.347826086956523, "alnum_prop": 0.519872813990461, "repo_name": "KirillOsenkov/MSBuildStructuredLog", "id": "f83f13f46211a3a357e10dd6a0b1fb2cf00c355...