text
stringlengths
2
1.04M
meta
dict
require 'test_helper' class RemotePaymentezTest < Test::Unit::TestCase def setup @gateway = PaymentezGateway.new(fixtures(:paymentez)) @amount = 100 @credit_card = credit_card('4111111111111111', verification_value: '555') @declined_card = credit_card('4242424242424242', verification_value: '555') ...
{ "content_hash": "331b3088fa2f0315608abf54d27f3878", "timestamp": "", "source": "github", "line_count": 134, "max_line_length": 85, "avg_line_length": 31.19402985074627, "alnum_prop": 0.7119617224880382, "repo_name": "waysact/active_merchant", "id": "c22083655ea5e55da748f24e091c741c210b4600", "size...
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2002-2004 The Apache Software Foundation 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/L...
{ "content_hash": "2ddd2acbcbda776ff509f47feda8c0a3", "timestamp": "", "source": "github", "line_count": 196, "max_line_length": 116, "avg_line_length": 43.535714285714285, "alnum_prop": 0.5264268135474042, "repo_name": "iu-uits-es/ojb", "id": "90ecd53d8cb2aef66535a487d8cd65d7921c22a6", "size": "853...
default[:cvmfs][:remote] = Mash.new default[:cvmfs][:remote_key] = String.new
{ "content_hash": "5109074b57bca5b889811ea8ea1483e1", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 41, "avg_line_length": 39, "alnum_prop": 0.7051282051282052, "repo_name": "GSI-HPC/cvmfs-chef-cookbook", "id": "b9329d4e892f1576097e54b8079b9e88773b7e8e", "size": "78", "b...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Threading; using System.Threading.Tasks; using System.Windows; using System.Windows.Input; using NHotkey; using NHotkey.Wpf; using Wox.Core.Plugin; using Wox.Core.Resource; using Wox.Helper; using Wox.Infrastructu...
{ "content_hash": "f310a07f06a4563087530758a88c47a8", "timestamp": "", "source": "github", "line_count": 655, "max_line_length": 122, "avg_line_length": 33.0793893129771, "alnum_prop": 0.4860848294641621, "repo_name": "lances101/Wox", "id": "bc8b26958653dec833c20cd406bf97362f3c9241", "size": "21669"...
/**************************************************************************/ /*! @file cmd_nfc_mifareclassic_memdump.c @author K. Townsend (microBuilder.eu) @brief Dumps the contents of a Mifare Classic card to the CLI @ingroup CLI @section LICENSE Software License Agreement (BSD Li...
{ "content_hash": "d5f93e8aabd81fd8f6a76b6106946538", "timestamp": "", "source": "github", "line_count": 194, "max_line_length": 144, "avg_line_length": 35.69072164948454, "alnum_prop": 0.6205950317735413, "repo_name": "tummychow/arm-alarm", "id": "4bbcbce4cfb4bd7baa47c9e315be6b1121cfd224", "size": ...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * @name: S15.9.5.38_A3_T1; * @section: 15.9.5.38; * @assertion: The Date.prototype.setMonth property "length" has { ReadOnly, DontDelete, DontEnum } attributes; * @descript...
{ "content_hash": "f7c54a32b44c566463ad22367093a45a", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 111, "avg_line_length": 35.375, "alnum_prop": 0.6996466431095406, "repo_name": "remobjects/script", "id": "bfab8f983c4a1687f5e11d164ca11a7b519926b9", "size": "566", "bina...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--Rendered using the Haskell Html Library v0.2--> <HTML ><HEAD ><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" ><TITLE >Yaiba.SPoly</TITLE ><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/cs...
{ "content_hash": "d32e86c523fe3ac67443b0c7eee927ba", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 102, "avg_line_length": 24.135802469135804, "alnum_prop": 0.6792838874680307, "repo_name": "jeremyong/Yaiba", "id": "1790dbdde36e4435585d7a9aa263bb36eb282c7c", "size": "195...
package org.apache.cassandra.stress; import java.io.IOException; import java.util.ArrayList; import java.util.List; import com.google.common.util.concurrent.RateLimiter; import org.apache.cassandra.stress.generate.*; import org.apache.cassandra.stress.settings.OptionRatioDistribution; import org.apache.cassandra.s...
{ "content_hash": "6d3e684733c62c3a2942cb3662b8a086", "timestamp": "", "source": "github", "line_count": 212, "max_line_length": 204, "avg_line_length": 33.344339622641506, "alnum_prop": 0.6208798981468383, "repo_name": "pcmanus/cassandra", "id": "139dd537c2cb4bc6597e5734119ed20987304943", "size": "...
There are quite a number of ways in which the wototo service can be deployed. At some point it may be available on a subscription basis (i.e. Software as a Service, SaaS). In the mean time you will need to set up and maintain your own personal wototo service, either on a desktop or laptop computer, or on a server. Yo...
{ "content_hash": "8d49333f47071d9d9a94ad17ee9b092e", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 451, "avg_line_length": 78.125, "alnum_prop": 0.762, "repo_name": "cgreenhalgh/opensharingtoolkit-mediahub", "id": "d3616391d118c793bd17f1a646d41eac101df376", "size": "5022...
using System; using System.IO; using System.Linq; using static Bullseye.Targets; using static SimpleExec.Command; namespace build { partial class Program { private const string packOutput = "./artifacts"; private const string packOutputCopy = "../../nuget"; private const st...
{ "content_hash": "12694656e261cbcd958e52b6dfe058ef", "timestamp": "", "source": "github", "line_count": 104, "max_line_length": 177, "avg_line_length": 38.61538461538461, "alnum_prop": 0.5448207171314741, "repo_name": "IdentityServer/IdentityServer4", "id": "bade30f962c49269ee3bd3226911b3176c084d54",...
#include "config.h" #include "core/css/CSSCalculationValue.h" #include "core/css/CSSPrimitiveValueMappings.h" #include "core/css/resolver/StyleResolver.h" #include "wtf/MathExtras.h" #include "wtf/OwnPtr.h" #include "wtf/text/StringBuilder.h" static const int maxExpressionDepth = 100; enum ParseState { OK, ...
{ "content_hash": "e59927c613f87653995a9d124815dff9", "timestamp": "", "source": "github", "line_count": 746, "max_line_length": 210, "avg_line_length": 37.95844504021448, "alnum_prop": 0.6640533954868101, "repo_name": "temasek/android_external_chromium_org_third_party_WebKit", "id": "cd6008d373694a9e...
import chai from 'chai'; import delayedQueueLib from '../lib/delayedQueueAmqp'; import amqp from 'amqplib'; const expect = chai.expect; const config = { url: 'amqp://guest:guest@localhost:5672', ack: true }; const delayedQueue = delayedQueueLib(config); function cleanUpRabbitMQ(done) { amqp .connect(config....
{ "content_hash": "4bbc7b0d1823bc9928dee21fe6a0a590", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 68, "avg_line_length": 26.314285714285713, "alnum_prop": 0.5439739413680782, "repo_name": "mfressdorf/master-thesis", "id": "cbe2093c79167abca08a073b536e2fe363bc8046", "siz...
using System; using System.Diagnostics; using System.Dynamic; using System.Threading; using L4p.Common.DumpToLogs; using L4p.Common.IoCs; using L4p.Common.Loggers; using L4p.Common.PubSub.utils; namespace L4p.Common.PubSub.client { interface ILocalFactory : IHaveDump { Topic make_topic(Type type); ...
{ "content_hash": "7dd8ef9962ee0e6a75e3baadb112dd95", "timestamp": "", "source": "github", "line_count": 128, "max_line_length": 150, "avg_line_length": 25.375, "alnum_prop": 0.5258620689655172, "repo_name": "Kidify/L4p", "id": "03787cd3f75b7020f82c3be002e8944e733e712f", "size": "3248", "binary": ...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "5942fbc2dc4916244b9c86ffdf38c608", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "236e1379b2e5b24b6c4fe8f073cc2525e4471595", "size": "187...
<!DOCTYPE html> <html xmlns:msxsl="urn:schemas-microsoft-com:xslt"> <head> <meta content="en-us" http-equiv="Content-Language" /> <meta content="text/html; charset=utf-16" http-equiv="Content-Type" /> <title _locid="PortabilityAnalysis0">.NET Portability Report</title> <style> ...
{ "content_hash": "a76bc6c289c6b72abada42a7dc3e4db3", "timestamp": "", "source": "github", "line_count": 723, "max_line_length": 562, "avg_line_length": 43.82572614107884, "alnum_prop": 0.41109638326074605, "repo_name": "kuhlenh/port-to-core", "id": "0eccfb0938cef0e24dafd00ba7bfdc219678f2fc", "size"...
package simpledb; import java.util.*; import java.io.*; /** * HeapPage stores pages of HeapFiles and implements the Page interface that * is used by BufferPool. * * @see HeapFile * @see BufferPool */ public class HeapPage implements Page { HeapPageId pid; TupleDesc td; byte header[]; Tuple tupl...
{ "content_hash": "4c4297d7966784ea588b4251c0f68ea0", "timestamp": "", "source": "github", "line_count": 412, "max_line_length": 129, "avg_line_length": 29.859223300970875, "alnum_prop": 0.5252804422045196, "repo_name": "tavaresdong/courses", "id": "479f5b9b2c53cf08fa6221aebfd90fe8143927ae", "size":...
<!doctype html> <!-- This file is generated by build.py. --> <title>video tall.jpg; overflow:hidden; -o-object-fit:contain; -o-object-position:30px bottom</title> <link rel="stylesheet" href="../../support/reftests.css"> <link rel='match' href='hidden_contain_30px_bottom-ref.html'> <style> #test > * { overflow:hidden;...
{ "content_hash": "808f658da6eff603c47f393afac61a2b", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 101, "avg_line_length": 41.63636363636363, "alnum_prop": 0.6855895196506551, "repo_name": "Ms2ger/presto-testo", "id": "8049bf4ad6f21303cb4f8e689871ca2a039027a0", "size": "...
<selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:drawable="@drawable/back_button_normal" android:state_pressed="false"></item> <item android:drawable="@drawable/back_button_press" android:state_pressed="true"></item> <item android:drawable="@drawable/back_button_disa...
{ "content_hash": "67cf40393e124aa9ad02903f621a984d", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 99, "avg_line_length": 54.142857142857146, "alnum_prop": 0.7229551451187335, "repo_name": "przemek29/GeoDron", "id": "6ca10842a81b77c83bf90339b84de2f35be140a0", "size": "379...
.. _index: .. esft::stor documentation master file, created by sphinx-quickstart on Wed Oct 25 16:37:54 2017. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. ***** STOR ***** .. toctree:: :maxdepth: 2 Introduction <self...
{ "content_hash": "241f568cc0f2a2cce9f13d0c4e088fab", "timestamp": "", "source": "github", "line_count": 114, "max_line_length": 131, "avg_line_length": 27.149122807017545, "alnum_prop": 0.6665589660743134, "repo_name": "ethronsoft/stor", "id": "ad3eb9d255f1dfcff119ad5a7e93af02664ec633", "size": "30...
<?php namespace PDepend\Source\AST; use PDepend\Source\ASTVisitor\ASTVisitor; /** * This ast class represents a list for formal parameters. This means the * parameters of a method, function or closure declaration. * * <code> * // -- * function foo() {} * // -- * * // -------- *...
{ "content_hash": "9377056c7db45a2695c1ed5b5368d732", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 91, "avg_line_length": 26.085106382978722, "alnum_prop": 0.5415986949429038, "repo_name": "tarikgwa/test", "id": "dec2bac81b0e97c2fbfbc3466d31c74c0be606c3", "size": "3068",...
package com.datatorrent.tutorial.fixedwidthparser; import java.util.Date; public class Ad { private int adId; private int campaignId; private String adName; private double bidPrice; private Date startDate; private Date endDate; private long securityCode; private boolean active; private boolean opti...
{ "content_hash": "ad78fb0d701caec687b4dfd46f343f97", "timestamp": "", "source": "github", "line_count": 153, "max_line_length": 110, "avg_line_length": 17.084967320261438, "alnum_prop": 0.6602907421576129, "repo_name": "DataTorrent/examples", "id": "05ae34b3a392fd94e496f442d5e07498422647da", "size"...
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Miscellaneous C functionality &#8212; MNE 0.16.1 documentation</title> <link rel="stylesheet" href="....
{ "content_hash": "2d735ca335765422533454ce9f59f9f8", "timestamp": "", "source": "github", "line_count": 284, "max_line_length": 545, "avg_line_length": 56.855633802816904, "alnum_prop": 0.6770297888152598, "repo_name": "mne-tools/mne-tools.github.io", "id": "2d137b156dd46a040244e45110fe9448dac51c2e",...
var L = require('leaflet'); var esri = require('esri-leaflet'); var geocoding = require('esri-leaflet-geocoder'); // since leaflet is bundled into the browserify package it won't be able to detect where the images // solution is to point it to where you host the the leaflet images yourself L.Icon.Default.imagePath = '...
{ "content_hash": "6ec936a0f1227f6dae580ad47d4d08b7", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 99, "avg_line_length": 33.529411764705884, "alnum_prop": 0.7026315789473684, "repo_name": "Esri/esri-leaflet-browserify-example", "id": "be9c63dab07397d9b7d04b84fcdee367d9a27...
#!/usr/bin/env python """ python %prog [options] <in_schema.xsd> <out_schema.xsd> Synopsis: Prepare schema document. Replace include and import elements. Examples: python %prog myschema.xsd python %prog myschema.xsd newschema.xsd python %prog -f myschema.xsd newschema.xsd cat infile.xsd | pyth...
{ "content_hash": "e2f2c05eb2d560966280ead93d9cde58", "timestamp": "", "source": "github", "line_count": 542, "max_line_length": 78, "avg_line_length": 31.833948339483396, "alnum_prop": 0.5740697809203663, "repo_name": "ricksladkey/generateDS", "id": "a0902de74cb6a000027b783410a6b4b3103253cd", "size...
package org.culturegraph.mf.framework; /** * Default implementation for {@link Sender}s that simply stores a reference to * the receiver and implements the correct behaviour required by the LifeCycle * interface. * * @param <T> * receiver base type of the downstream module * * @see DefaultStreamPip...
{ "content_hash": "32ea2586a32891c318d9f2fb82c7c7ef", "timestamp": "", "source": "github", "line_count": 103, "max_line_length": 79, "avg_line_length": 24.980582524271846, "alnum_prop": 0.6945200155460551, "repo_name": "zazi/metafacture-core", "id": "90411fef14f7e6efaab5eb3a864964b124db606f", "size"...
* Fixed issue with non-HTTPS Git repository was triggering an error on RHEL. ## v1.1.4 * Fixed hardcoded path to `node` within runit. * Fix reference to runit service and delay notification. ## v1.1.3 * Add `reference` attribute to specify StatsD versions. ## v1.1.2 * Changed Git repository protocol to HTTPS. ##...
{ "content_hash": "01d48539d3790f81fb0f221fc6349cc9", "timestamp": "", "source": "github", "line_count": 82, "max_line_length": 115, "avg_line_length": 19.426829268292682, "alnum_prop": 0.7219083490269931, "repo_name": "rackspace-orchestration-templates/graphite", "id": "3d8bfb4327c7af52b3b1d6a640c4e3...
using System; using System.IO; using Aspose.Email.Imap; using Aspose.Email.Mail; namespace Aspose.Email.Examples.CSharp.Email.IMAP { class ReadMessagesRecursively { // ExStart:ReadMessagesRecursively public static void Run() { // Create an instance of the ImapClient class ...
{ "content_hash": "f7f7238c184033dca5b4d26b4d03c717", "timestamp": "", "source": "github", "line_count": 96, "max_line_length": 189, "avg_line_length": 45.927083333333336, "alnum_prop": 0.580403719664323, "repo_name": "jawadaspose/Aspose.Email-for-.NET", "id": "866d855c142924d4931f81b32f6dd3908a1db7b0...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
{ "content_hash": "8d9574a0d80c1b66598198a37b33513f", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 166, "avg_line_length": 36.1875, "alnum_prop": 0.7195164075993091, "repo_name": "Yaliang/presto", "id": "83d1b7ade33f805c70f85d3c0d8fc8645aa3b3e6", "size": "2895", "binar...
package com.google.samples.apps.iosched.feed; import android.os.Bundle; import android.support.v7.widget.RecyclerView; import com.google.firebase.database.DatabaseReference; import com.google.firebase.database.FirebaseDatabase; import com.google.samples.apps.iosched.lib.R; import com.google.samples.apps.iosched.navi...
{ "content_hash": "ee6170d0ce81047fa588c585b1c2ddca", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 99, "avg_line_length": 31.746666666666666, "alnum_prop": 0.7173456530869382, "repo_name": "WeRockStar/iosched", "id": "b6ecabc04a99386b85834f701866f3b4429b1fd4", "size": "2...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="generator" content="rustdoc"> <meta name="description" content="API documentation for the Rust `S_IFSOCK` constant in crate `libc`."> <meta name="keywords...
{ "content_hash": "6ae664eac96f84ddbb5d1b42c2b7dceb", "timestamp": "", "source": "github", "line_count": 114, "max_line_length": 196, "avg_line_length": 37.40350877192982, "alnum_prop": 0.5058630393996247, "repo_name": "rxse/rust-markov-text", "id": "9fc276916a38b1171eb033e7f07084f39bb181e2", "size"...
import unittest if False: import os, sys, imp sys.path.append(os.path.realpath(os.path.dirname(__file__)+"/../../../")) imp.load_module('electroncash', *imp.find_module('lib')) imp.load_module('electroncash_gui', *imp.find_module('gui/qt')) imp.load_module('electroncash_plugins', *imp.find_module(...
{ "content_hash": "ce85164415f1c8b5f8f117b1a87029aa", "timestamp": "", "source": "github", "line_count": 97, "max_line_length": 101, "avg_line_length": 36.56701030927835, "alnum_prop": 0.6630955737242741, "repo_name": "fyookball/electrum", "id": "27031afb7a4a5b5e3a23cad231873e5a311ee667", "size": "3...
function baseselect(widget_id, url, skin, parameters) { // Will be using "self" throughout for the various flavors of "this" // so for consistency ... self = this; // Initialization self.widget_id = widget_id; // Store on brightness or fallback to a default // Parameters may come in use...
{ "content_hash": "d8876cc720b4e86e412c9f4d8dbf5eeb", "timestamp": "", "source": "github", "line_count": 106, "max_line_length": 109, "avg_line_length": 27.150943396226417, "alnum_prop": 0.5872133425990271, "repo_name": "acockburn/appdaemon", "id": "a141014253b7847e785508ff1c428e82f31fb727", "size":...
Front-end web development framework: HTML5 &amp; CSS3 by [*Zaffri*](http://www.zaffri.com/). The project is still a WIP! --------------------------------------- ## Documentation * http://jolt.zaffri.com --------------------------------------- ## Live Examples * http://jolt.zaffri.com * http://zaffri.com -------...
{ "content_hash": "4624800d14b60f43b9aab2352d8c9c96", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 137, "avg_line_length": 35.91489361702128, "alnum_prop": 0.6261848341232228, "repo_name": "Zaffri/Jolt", "id": "10fc79d8603041eddaa7e146fe012e938737a255", "size": "1695", ...
Public Class Form1 Private Sub btnBeenden_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnBeenden.Click Me.Close() End Sub Private Sub drvLaufwerk_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles drvLaufwerk.SelectedIndexChanged...
{ "content_hash": "14cfcaf0a9d42363aa16f3e3fc4c166a", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 155, "avg_line_length": 49.26315789473684, "alnum_prop": 0.7649572649572649, "repo_name": "severinkaderli/gibb", "id": "db5a9469d6583ac579ee7a7124b23c3b11621982", "size": "...
- Removed wound penalties from affecting soak rolls (reported by **Wolf**) ### Version 1.82 (2019-01-08): - Add names to all roll button, so they can be dragged to user's macro bar ### Version 1.81 (2018-09-25): - Change roll templates of different kind of rolls to have matching colors: Blue for attributes/skills,...
{ "content_hash": "33a9ef089d1941e3f4a9962343b113b5", "timestamp": "", "source": "github", "line_count": 139, "max_line_length": 192, "avg_line_length": 29.33093525179856, "alnum_prop": 0.7319107186656856, "repo_name": "neovatar/roll20-character-sheets", "id": "c42a1d8ab3c1f1d9a03230d96c9eb51f701b71bf...
using namespace web::json; static void GenStat(Stat& stat, const value& v) { switch (v.type()) { case value::value_type::Array: for (auto const& element : v.as_array()) GenStat(stat, element); stat.arrayCount++; stat.elementCount += v.size(); break; case value::value_...
{ "content_hash": "6dcc0b1b1287505a79ad1fcadd399990", "timestamp": "", "source": "github", "line_count": 133, "max_line_length": 97, "avg_line_length": 25.458646616541355, "alnum_prop": 0.5694034258712345, "repo_name": "wangfakang/nativejson-benchmark", "id": "24526d81deedbb1d6db05367ba4b21b349df902b"...
<h2>Chat</h2> <form> <input placeholder="Message..." ng-model="newMessage"> <button type="submit" ng-click="addMessage(newMessage);newMessage = null;">send</button> </form> <ul id="messages" ng-show="messages.length"> <li ng-repeat="message in messages | reverse">{{message.text}}</li> </ul> <p class="alert ale...
{ "content_hash": "04d7cfdd8b95f93da2e5f51b355d2a0b", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 90, "avg_line_length": 29.75, "alnum_prop": 0.6694677871148459, "repo_name": "briandiephuis/IP", "id": "67fd4ff48be58595ee5ecb540f4dfff627fd1704", "size": "358", "binary"...
#include "tensorflow/core/kernels/cwise_ops_common.h" namespace tensorflow { #if !defined(MLIR_GENERATED_CPU_KERNELS_ENABLED) || \ !defined(MLIR_GENERATED_EXPERIMENTAL_KERNELS_ENABLED) REGISTER8(BinaryOp, CPU, "LeftShift", functor::left_shift, int8, int16, int32, int64, uint8, uint16, uint32, uint64);...
{ "content_hash": "ce884a184204111223273f3bfad24f05", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 78, "avg_line_length": 35.42857142857143, "alnum_prop": 0.7137096774193549, "repo_name": "sarvex/tensorflow", "id": "83e9b69a3c136066d4619a9a9ed2aeca95881969", "size": "166...
.skin-blue .main-header .navbar { background-color: #1a2226; } .skin-blue .main-header .navbar .nav > li > a { color: #fff; } .skin-blue .main-header .navbar .nav > li > a:hover, .skin-blue .main-header .navbar .nav > li > a:active, .skin-blue .main-header .navbar .nav > li > a:focus, .ski...
{ "content_hash": "f712246f36fb09aa688a6be7f9e0346c", "timestamp": "", "source": "github", "line_count": 1991, "max_line_length": 443, "avg_line_length": 27.62230035158212, "alnum_prop": 0.589970179649429, "repo_name": "jmcabelloquispe/MiBlogger", "id": "cab08ad60ce10484f39ccfd3f9003d688edd9a1a", "s...
#include "propertiesdialog.h" #include "ui_propertiesdialog.h" #include "changeproperties.h" #ifndef BUILDINGED_SA #include "imagelayer.h" #include "imagelayerpropertiesdialog.h" #include "mapdocument.h" #include "objectgroup.h" #include "objectgrouppropertiesdialog.h" #endif #include "propertiesmodel.h" #include <...
{ "content_hash": "d6047447ce2aa44deb3302ee40620065", "timestamp": "", "source": "github", "line_count": 115, "max_line_length": 77, "avg_line_length": 34.582608695652176, "alnum_prop": 0.5981895901433241, "repo_name": "timbaker/buildinged", "id": "4975c61b747c90562efca69a1de88689d9cd6cf2", "size": ...
using PocDatabase; using SpentBook.Domain; using System; using System.Collections.Generic; namespace SpentBook.Web { internal class PocDatabaseUoW : IUnitOfWork { public static PocFile<Schema> _staticPocFile; private readonly Dictionary<Type, IRepository<IEntity>> repositories; publi...
{ "content_hash": "5558b90884b3602c19c463caa1a262af", "timestamp": "", "source": "github", "line_count": 103, "max_line_length": 105, "avg_line_length": 29.70873786407767, "alnum_prop": 0.5281045751633987, "repo_name": "juniorgasparotto/SpentBook", "id": "de35d415790692520ed09700caed4d9b7c0db8c8", "...
The current date/time. Use this in conjunction with other date functions. ## ago The `ago` function returns duration from time.Now in seconds resolution. ``` ago .CreatedAt" ``` returns in `time.Duration` String() format ``` 2h34m7s ``` ## date The `date` function formats a date. Format the date to YEAR-MONTH-D...
{ "content_hash": "980b30cdeb98f2938627ff4b68adad88", "timestamp": "", "source": "github", "line_count": 122, "max_line_length": 130, "avg_line_length": 18.565573770491802, "alnum_prop": 0.7156732891832229, "repo_name": "Masterminds/sprig", "id": "9f02651e868f86ea40cd736c098d7798c9f1c035", "size": "...
package com.azure.tools.apiview.processor.model.maven; public class Gav implements MavenGAV { private String groupId; private String artifactId; private String version; public Gav(final String groupId, final String artifactId, final String version) { this.groupId = groupId; this.artifa...
{ "content_hash": "5b4ff041b0179df63b00e290dd0099bc", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 85, "avg_line_length": 23.08, "alnum_prop": 0.6551126516464472, "repo_name": "tg-msft/azure-sdk-tools", "id": "a963c6a5022119b6b506472b7cdaa26dc6f8d35b", "size": "577", "...
<?php namespace TwoDojo\ModuleManager\Support; class ModuleDescriptor implements \ArrayAccess { protected $attributes = []; public function __construct(array $attributes = []) { foreach ($attributes as $key => $value) { $this->setAttribute($key, $value); } } public fu...
{ "content_hash": "75b1b75107507ec7730dab99b7151422", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 71, "avg_line_length": 19.363636363636363, "alnum_prop": 0.5553319919517102, "repo_name": "2dojo/module_manager", "id": "ce2f74b00c73011b27cd70e3e3cc80b82e604675", "size": ...
This is the code that runs on the BeagleBone Black to control the ultrabot. ## Overview Essentially this code establishes socket (UDP) connection with another device (BASE) and waits for commands. The commands are either of the form of directives or queries. An example directive is setting the PWM values of the motors...
{ "content_hash": "e7e0eb7b45d88d882cbe7483af64f0f3", "timestamp": "", "source": "github", "line_count": 131, "max_line_length": 79, "avg_line_length": 19.69465648854962, "alnum_prop": 0.637984496124031, "repo_name": "kohloderso/quickbot_bbb", "id": "e43b55ec8f2dcdc075fd233817043856ef4b1687", "size"...
/* */ var convert = require('./convert'), func = convert('isInteger', require('../isInteger'), require('./_falseOptions')); func.placeholder = require('./placeholder'); module.exports = func;
{ "content_hash": "47dba8d99eb090f5668e9e254aa49e83", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 85, "avg_line_length": 39.4, "alnum_prop": 0.6548223350253807, "repo_name": "onlabsorg/olowc", "id": "2781ff7aad7ab4adc562407133bc87bd8b85d0fe", "size": "197", "binary": f...
/* global io */ import { communicator, eventHandler } from 'lib/decorators/socket'; @communicator class DesktopApp { beforeRegister() { this.is = 'ai-app'; } attached() { this.async(() => { this.run(); }); } run() { this.socket = io(); this._lobby = this.querySelector('ai-lobby'...
{ "content_hash": "9643e1dfbcebdd913f607d5acfa57fde", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 67, "avg_line_length": 20.583333333333332, "alnum_prop": 0.6099865047233468, "repo_name": "Meesayen/all-in", "id": "7feb195b03d8459bc73eff16821d7e606063384e", "size": "741"...
export default { setChanges(source, map, change, isShallow, path, parent, parentKey) { if(!source) { source = {}; } if(!map) { map = {}; } let changedProps = {}; for(let prop in map) { const isSourceObject = typeof source[prop] === ...
{ "content_hash": "c093d9b7940ccc65db1f56aeba12b17a", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 146, "avg_line_length": 42.5, "alnum_prop": 0.47352941176470587, "repo_name": "sepcon-rnd/sepcon", "id": "64cc8c41874c271a1eae83091359bf1822d02448", "size": "2720", "bina...
package com.rhcloud.igorbotian.rsskit.rest.facebook; import com.fasterxml.jackson.databind.JsonNode; import com.rhcloud.igorbotian.rsskit.rest.EntityParser; import com.rhcloud.igorbotian.rsskit.rest.RestParseException; import java.util.Objects; /** * @author Igor Botian */ public class FacebookProfile { priva...
{ "content_hash": "f4e9b2e834047d90089bbefa94f3de40", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 92, "avg_line_length": 30.954545454545453, "alnum_prop": 0.6945668135095447, "repo_name": "igorbotian/rsskit", "id": "e0b7d44f41dd4008d36e4aea83e9638669adb856", "size": "13...
<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc"> <ogc:ClassifiedAs> <ogc:TypeName>csw:Record</ogc:TypeName> <ogc:ClassificationScheme>GetClass</ogc:ClassificationScheme> <ogc:ClassificationNode>/GeoClass/NorthAmerica/%/Ontario</ogc:ClassificationNode> </ogc:ClassifiedAs> </ogc:Filter>
{ "content_hash": "b0f8f722173af25cd7c4871052378c8e", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 87, "avg_line_length": 44.714285714285715, "alnum_prop": 0.7348242811501597, "repo_name": "highsource/ogc-schemas", "id": "9fdcaef0c63b8305ff3661f8f74206e2b0dcb7a1", "size":...
from ..constructs import Instruction class Trie(object): BUCKET_LEN = 1 BUCKET_MASK = (2**BUCKET_LEN)-1 def __init__(self): self.children = [None for _ in range(2**Trie.BUCKET_LEN)] self.value = None def __setitem__(self, key, value): assert type(value) == Instruction ...
{ "content_hash": "a3f78b9e1aa61bfdd526ac45f51bb8b6", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 84, "avg_line_length": 33.421052631578945, "alnum_prop": 0.494488188976378, "repo_name": "isislab/dispatch", "id": "e6de4d7db0a9316b047ba425c2692a42d9442369", "size": "2540...
/*! * Angular Material Design * https://github.com/angular/material * @license MIT * v0.10.0-master-dd11583 */md-toolbar.md-THEME_NAME-theme{background-color:'{{primary-color}}';color:'{{primary-contrast}}'}md-toolbar.md-THEME_NAME-theme .md-button,md-toolbar.md-THEME_NAME-theme md-icon{color:'{{primary-contrast}}...
{ "content_hash": "1eb2988eda1271bbbce875e34574b61b", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 414, "avg_line_length": 87.66666666666667, "alnum_prop": 0.7300380228136882, "repo_name": "SvitlanaShepitsena/svet-newspaper-material", "id": "53ca55dacecc06d845715b12e56768e6...
package br.com.doe.utils; import android.content.Context; import android.content.res.AssetManager; import android.content.res.Resources; import java.io.IOException; import java.io.InputStream; import java.util.Properties; /** * Created by heitornascimento on 4/11/16. */ public class PropertiesHelper { private...
{ "content_hash": "2a4555e2d08a7517678c6df6300539b3", "timestamp": "", "source": "github", "line_count": 79, "max_line_length": 87, "avg_line_length": 34.379746835443036, "alnum_prop": 0.6940353460972017, "repo_name": "heitornascimento/doe-recife", "id": "00ef500409d5f8fa1e5d827bb78ca5a3a29f9892", "...
/** * @overview A home for the odds and ends that other objects dont want. * @license Apache License, Version 2.0 * @property {utils.PublicInterface} - available public methods */ /** * ** Utilities Object ** * * @namespace utils * @property {utils.PublicInterface} - available public methods */ function ut...
{ "content_hash": "f32bf65ca41cf09d6b48ed8a15c4ca6a", "timestamp": "", "source": "github", "line_count": 375, "max_line_length": 133, "avg_line_length": 31.842666666666666, "alnum_prop": 0.5480278033665522, "repo_name": "random-parts/Team-Sports-RSVP", "id": "9ee9ca5f14f5ebf9676da4975511892cd20d1698",...
'use strict'; try { angular.module('uiPetri'); } catch (e) { angular.module('uiPetri', []); } angular.module('uiPetri').run(['$templateCache', function ($templateCache) { 'use strict'; $templateCache.put('views/activityPanel.html', "<div class=\"box\" style=\"height: 40px;width: 150px;\" >\n" + " ...
{ "content_hash": "10e6ea1a14d651357e0dbbb2402eec61", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 134, "avg_line_length": 32.42857142857143, "alnum_prop": 0.5550660792951542, "repo_name": "wix/petri", "id": "0b950527d8a66997f25e3107089f394d78ad7f86", "size": "681", "b...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; namespace Lex.Db { /// <summary> /// Pure POCO data entity /// </summary> public class MyData { public int Id { get; set; } public string Name { get; set; } public string LastName { get; set; } public int...
{ "content_hash": "12c37582cf51fe76d8ae3b328e01177a", "timestamp": "", "source": "github", "line_count": 139, "max_line_length": 66, "avg_line_length": 23.85611510791367, "alnum_prop": 0.6477683956574186, "repo_name": "churchs19/lex.db", "id": "4369536b35c69c03169dc98e3cb28aef0c3be7e0", "size": "331...
<?xml version="1.0" encoding="UTF-8"?> <!-- 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, Vers...
{ "content_hash": "0e0568c825dd92bc3bebd941d8ff88f1", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 108, "avg_line_length": 41.527272727272724, "alnum_prop": 0.6576182136602452, "repo_name": "dlukyanov/nifi", "id": "7b437bca31ec832ac8720b4bbb97570589b4bbc4", "size": "2284...
require_xpr64; require_fp; softfloat_roundingMode = RM; WRITE_RD(f32_to_i64(HFRS1, RM, true)); set_fp_exceptions;
{ "content_hash": "4e09374228197b4e05dd255049a0e336", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 38, "avg_line_length": 22.8, "alnum_prop": 0.7456140350877193, "repo_name": "HackLinux/goblin-core", "id": "1551ce2ef7fbd90deecad9e298543b8ea4a3f8c9", "size": "114", "bina...
public class JBossLogTest { private static final org.jboss.logging.Logger LOGGER1 = org.jboss.logging.Logger.getLogger(JBossLogTest.class); public void logSomething() { LOGGER1.info("Hello World!"); } public static void main(String[] args) { LOGGER1.info("Test"); new JBossLogTest().logSomething()...
{ "content_hash": "46ddc229c95c48dcad00eb7a8517d68c", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 113, "avg_line_length": 25.23076923076923, "alnum_prop": 0.7042682926829268, "repo_name": "mplushnikov/lombok-intellij-plugin", "id": "41d6334e311f6a676dbe7ba37f6ac02ba310876...
'use strict'; var Lib = require('../../lib'); var hasColumns = require('./has_columns'); var handleXYZDefaults = require('./xyz_defaults'); var colorscaleDefaults = require('../../components/colorscale/defaults'); var attributes = require('./attributes'); module.exports = function supplyDefaults(traceIn, traceOu...
{ "content_hash": "8f99e613455446ff3042d2f922392bca", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 86, "avg_line_length": 26.833333333333332, "alnum_prop": 0.6571428571428571, "repo_name": "oudalab/fajita", "id": "f0fdfb1aafd125d0a256231e1b3fe2c2b9c55cd0", "size": "996",...
<?php namespace Zend\EventManager\Test; use PHPUnit_Framework_Assert as Assert; use ReflectionProperty; use Zend\EventManager\EventManager; /** * Trait providing utility methods and assertions for use in PHPUnit tests cases. * * This trait may be composed into a tests case, and provides: * * - methods for intr...
{ "content_hash": "cb106ecc5380ec761ee9aea88e0b417d", "timestamp": "", "source": "github", "line_count": 146, "max_line_length": 95, "avg_line_length": 32.8013698630137, "alnum_prop": 0.6134892461891835, "repo_name": "geninhocell/clinica", "id": "055c7678a354090b3e7fc8ab9b5f35eafe0da539", "size": "5...
package ensemble.samples.charts.line; import ensemble.Sample; import ensemble.controls.PropertySheet; import ensemble.util.ChartActions; import java.util.ArrayList; import java.util.List; import javafx.animation.KeyFrame; import javafx.animation.Timeline; import javafx.collections.FXCollections; import javafx.collect...
{ "content_hash": "65800eddf6a4894f9a5b9d0e72446399", "timestamp": "", "source": "github", "line_count": 251, "max_line_length": 136, "avg_line_length": 53.69322709163347, "alnum_prop": 0.6036209838984937, "repo_name": "eugenkiss/kotlinfx-ensemble", "id": "dad2ac6f1117e13fc088135fa6d9928356d092d7", ...
import { NgModule } from '@angular/core'; import { IonicPageModule } from 'ionic-angular'; import { TranslateModule } from '@ngx-translate/core'; import { AddonMessagesConversationInfoPage } from './conversation-info'; import { CoreComponentsModule } from '@components/components.module'; import { CoreDirectivesModule }...
{ "content_hash": "86a86e8ced11fdbb7abb0fee96f98d3a", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 72, "avg_line_length": 36.1578947368421, "alnum_prop": 0.7379912663755459, "repo_name": "moodlehq/moodlemobile2", "id": "df49d4eedc2e5ed044273384c53845875027427f", "size": ...
using System; using System.Collections.Generic; class WorkDays { static int WorkDaysFromNow(DateTime today, DateTime inpDate) { int workdays = 0; List<DateTime> officialHolidays = new List<DateTime>() { DateTime.P...
{ "content_hash": "2bee89b1406cbb9b9449846f20b1a14c", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 113, "avg_line_length": 43.03174603174603, "alnum_prop": 0.3707119144227222, "repo_name": "studware/Ange-Git", "id": "93993b02f60c0ae1354091fe0140014ddfe27c3a", "size": "27...
require 'spec_helper' RSpec.describe 'Projects > Files > User edits files', :js do include ProjectForksHelper let(:project) { create(:project, :repository, name: 'Shop') } let(:project2) { create(:project, :repository, name: 'Another Project', path: 'another-project') } let(:project_tree_path_root_ref) { proje...
{ "content_hash": "14c5647b39cad31aefe80cd2002f400a", "timestamp": "", "source": "github", "line_count": 226, "max_line_length": 131, "avg_line_length": 30.858407079646017, "alnum_prop": 0.6377975336965873, "repo_name": "mmkassem/gitlabhq", "id": "d3e075001c8639d708e98370fb3d8dedac9ff7cb", "size": "...
Built with [Slim PHP framework](http://www.slimframework.com/) and [Foundation CSS framework](http://foundation.zurb.com/). ------------ **What does it do?** Webception is a deployable web-application that allows you to run all your Codeception tests in the browser. You can access multiple test suites and decide wh...
{ "content_hash": "0b55cba7e833ae5d65946dec23f23a77", "timestamp": "", "source": "github", "line_count": 161, "max_line_length": 401, "avg_line_length": 46.50310559006211, "alnum_prop": 0.7521036463202885, "repo_name": "Naktibalda/Webception", "id": "3b40dc5199a35c2577109975ee33f898a72e5be0", "size"...
import { Component, OnInit, ChangeDetectorRef } from '@angular/core'; import { DatePipe } from '@angular/common'; import { Router, ActivatedRoute } from '@angular/router'; import {Entreprise, Contrat, User, CommandeLogiciel} from '../authentication.service'; import {DeclarationService} from '../declaration/declaration....
{ "content_hash": "b40fb30865bd45468c3c60c31c98d293", "timestamp": "", "source": "github", "line_count": 258, "max_line_length": 178, "avg_line_length": 36.201550387596896, "alnum_prop": 0.5534261241970021, "repo_name": "RechadS/extranetpartenaire", "id": "604d717066e6b12f2dfa030f566bc4c4d0e06617", ...
<main data-title="Header navigation"> <p> In the top left of pages with hierarchy, a <code>&lt;nav></code> element can be placed containing a link to the previous page in the hierarchy. </p> <p> To allow multiple-nested hierarchies, a <code>data-back</code> attribute can be added to the <code>&lt;main></code> el...
{ "content_hash": "aaef228f1d8255500cefe3405a7288b4", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 279, "avg_line_length": 61.625, "alnum_prop": 0.7403651115618661, "repo_name": "g105b/sass-app", "id": "4fa027b8d62b2e35a554a39f51e707e04a6365d6", "size": "493", "binary":...
<?php namespace Numbers\Backend\Db\PostgreSQL\Model; class PlPgSQL extends \Object\Extension { public $db_link; public $db_link_flag; public $module_code = 'SM'; public $title = 'PL/pgSQL - SQL Procedural Language'; public $schema = 'pg_catalog'; public $name = 'plpgsql'; public $backend = 'PostgreSQL'; }
{ "content_hash": "94e87cc499a6b778e4c0d22d283285d9", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 54, "avg_line_length": 26.166666666666668, "alnum_prop": 0.7101910828025477, "repo_name": "volodymyr-volynets/backend", "id": "78ebce8ed2e68103a7a0d6fea750bf325b2e968d", "s...
EditAddressDialog::EditAddressDialog(Mode mode, QWidget *parent) : QDialog(parent), ui(new Ui::EditAddressDialog), mapper(0), mode(mode), model(0) { ui->setupUi(this); GUIUtil::setupAddressWidget(ui->addressEdit, this); switch(mode) { case NewReceivingAddress: setWindowTitle(tr("Ne...
{ "content_hash": "d09027eab1a08011853d9cfae716616f", "timestamp": "", "source": "github", "line_count": 128, "max_line_length": 115, "avg_line_length": 27.84375, "alnum_prop": 0.6111111111111112, "repo_name": "n00bsys0p/h5c", "id": "cd0178773aea6c55f783b390a8c78cb7e7104878", "size": "3736", "bina...
''' OpenShiftCLI class that wraps the oc commands in a subprocess ''' # pylint: disable=too-many-lines from __future__ import print_function import atexit import copy import json import os import re import shutil import subprocess import tempfile # pylint: disable=import-error try: import ruamel.yaml as yaml ex...
{ "content_hash": "07fefed3f875876e0d2b42e10fc169c5", "timestamp": "", "source": "github", "line_count": 2714, "max_line_length": 118, "avg_line_length": 34.16691230655859, "alnum_prop": 0.5456976781805045, "repo_name": "twiest/openshift-tools", "id": "c00eee381b696fe4611af9f9f9e8573cdee069ea", "siz...
package ru.job4j.models; import java.util.ArrayList; import java.util.List; import java.util.Objects; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import org.junit.Before; //import org.junit.Ignore; import org.junit.Test; /** * Класс CarTest тестирует класс Car. * * @auth...
{ "content_hash": "81cdc8570cd190281f01c09f3cc6f9ba", "timestamp": "", "source": "github", "line_count": 135, "max_line_length": 203, "avg_line_length": 29.192592592592593, "alnum_prop": 0.5899517888860695, "repo_name": "multiscripter/job4j", "id": "c50ee0dc62c2fb8b857e2ed9cc4ef0bb6a34dacb", "size":...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.FileProviders; namespace Microsoft.AspNetCore.Grpc.Swagger.Tests.Infrastructure; internal class TestWebHostEnvironme...
{ "content_hash": "6e5fd483cfffaadd41ccb9c60b68d82d", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 71, "avg_line_length": 38.76470588235294, "alnum_prop": 0.7663125948406677, "repo_name": "aspnet/AspNetCore", "id": "ecb8a5e089d6c86124e0006eb47a92ce31b7d3c5", "size": "661...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>ltl: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" re...
{ "content_hash": "4f2281848d4d943a862e07757a99b546", "timestamp": "", "source": "github", "line_count": 171, "max_line_length": 206, "avg_line_length": 42.187134502923975, "alnum_prop": 0.5497643471028556, "repo_name": "coq-bench/coq-bench.github.io", "id": "b158bce26f3e95a3fc062fa4943a9216c8a41839",...
// Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace Microsoft.CodeAnalysis { /// <summary> /// Represents the root node of a structured trivia tree (for example, a prep...
{ "content_hash": "62947b5dca907356bab09b46898b43f1", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 184, "avg_line_length": 45.888888888888886, "alnum_prop": 0.6912832929782082, "repo_name": "binsys/roslyn_java", "id": "3ffd60d5b1a8a883aefe1be401962ed89deb243e", "size": "...
package loon.font; import loon.LSysException; import loon.LSystem; import loon.canvas.Canvas; import loon.canvas.Image; import loon.canvas.LColor; import loon.font.Font.Style; import loon.geom.PointF; import loon.geom.PointI; import loon.geom.Vector2f; import loon.opengl.GLEx; import loon.opengl.LSTRDictionary; impor...
{ "content_hash": "3ca3cbb427b72ecc7be368684ba5edf1", "timestamp": "", "source": "github", "line_count": 404, "max_line_length": 113, "avg_line_length": 22.10891089108911, "alnum_prop": 0.6663681146439767, "repo_name": "cping/LGame", "id": "e0983400df670682e69d06c2251a9ec2fe3c5f60", "size": "9743", ...
""" ============================== Test for qplotutils.chart.view ============================== Autogenerated package stub. """ import unittest import logging import sys import os import numpy as np from qtpy.QtCore import * from qtpy.QtGui import * from qtpy.QtOpenGL import * from qtpy.QtWidgets import * from qp...
{ "content_hash": "14608cb4f3801a80a09f0dcd7577ce52", "timestamp": "", "source": "github", "line_count": 187, "max_line_length": 73, "avg_line_length": 20.705882352941178, "alnum_prop": 0.5648243801652892, "repo_name": "unrza72/qplotutils", "id": "4928957a2d20d839d131cb9540f6d2936874d3a9", "size": "...
package com.kite9.k9server; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class Kite9ServerApplication { public static void main(String[] args) { SpringApplication.run(Kite9ServerApplication.class, args); } }
{ "content_hash": "296a9cd07c4b3101b4cd0760781298c7", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 68, "avg_line_length": 26.666666666666668, "alnum_prop": 0.828125, "repo_name": "kite9-org/k9", "id": "fb3bff5084a5bbecb63842ee645f61f59c35246a", "size": "320", "binary":...
<?xml version="1.0" encoding="iso-8859-1"?> <sect1 id="options-debugging"> <title>Debugging the compiler</title> <indexterm><primary>debugging options (for GHC)</primary></indexterm> <para>HACKER TERRITORY. HACKER TERRITORY. (You were warned.)</para> <sect2 id="dumping-output"> <title>Dumping out compil...
{ "content_hash": "5a79a6064a47845d50801b880752ac58", "timestamp": "", "source": "github", "line_count": 777, "max_line_length": 116, "avg_line_length": 31.934362934362934, "alnum_prop": 0.6031112723169306, "repo_name": "christiaanb/ghc", "id": "a0fee40749f686ce52d54c51af0075fb04b2ea54", "size": "24...
namespace mojo { namespace internal { template <typename Interface> struct SharedRemoteTraits<AssociatedRemote<Interface>> { static void BindDisconnected(AssociatedRemote<Interface>& remote) { std::ignore = remote.BindNewEndpointAndPassDedicatedReceiver(); } }; } // namespace internal // SharedAssociatedRe...
{ "content_hash": "84f30ce534a6f78f8005297dde38b29d", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 79, "avg_line_length": 43.60215053763441, "alnum_prop": 0.7336621454993835, "repo_name": "chromium/chromium", "id": "914a9e27ba2bd516242fc9957ddf58f55b1bba27", "size": "459...
require "cases/helper" require "support/schema_dumping_helper" if ActiveRecord::Base.connection.supports_check_constraints? module ActiveRecord class Migration class CheckConstraintTest < ActiveRecord::TestCase include SchemaDumpingHelper class Trade < ActiveRecord::Base end ...
{ "content_hash": "24364cd074670c484acede49275d490b", "timestamp": "", "source": "github", "line_count": 277, "max_line_length": 110, "avg_line_length": 40.018050541516246, "alnum_prop": 0.6306720793865584, "repo_name": "georgeclaghorn/rails", "id": "a2eef8db874ace7f1f7cb8851f285d4c5a3a400d", "size"...
YUI.add('io-nodejs', function (Y, NAME) { /*global Y: false, Buffer: false, clearInterval: false, clearTimeout: false, console: false, exports: false, global: false, module: false, process: false, querystring: false, require: false, setInterval: false, setTimeout: false, __filename: false, __dirname: false */ /** ...
{ "content_hash": "f6012daeb89731f19bb17429f178e3e1", "timestamp": "", "source": "github", "line_count": 163, "max_line_length": 268, "avg_line_length": 36.31901840490798, "alnum_prop": 0.43158783783783783, "repo_name": "sun-teng/bcmderFireMirrorHTML", "id": "ed8a29d04f4b382798b8dff28006798cafda3c39",...
title: Maclaurin Series localeTitle: Serie maclaurin --- ## Serie maclaurin La serie Maclaurin es un caso especial de la serie Taylor, centrada en 0. Es una serie de potencia que permite calcular la aproximación de una función f (x) para valores de entrada cercanos a cero. [Referencia de la serie maclaurin](http://ma...
{ "content_hash": "8e8dfa8da2393a82a0aacb4d5c1910fe", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 197, "avg_line_length": 45.375, "alnum_prop": 0.7878787878787878, "repo_name": "HKuz/FreeCodeCamp", "id": "7582721641ba1c6486fbdb6c068cb15813111d88", "size": "369", "binar...
import NavLogin from './NavLogin' export default NavLogin
{ "content_hash": "b59a8d2a5afb3c1d8b8304dd75a59993", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 33, "avg_line_length": 19.666666666666668, "alnum_prop": 0.7966101694915254, "repo_name": "Drathal/react-playground", "id": "79ebbb211acb39b22840f0f7d912336ebdc01d8c", "size...
function loadText() { document.getElementById("txtLang").innerHTML = "Navn"; document.getElementById("btnCancel").value = "Annuller"; document.getElementById("btnInsert").value = "Inds\u00E6t"; document.getElementById("btnApply").value = "Opdater"; document.getElementById("btnOk").value = ...
{ "content_hash": "a30b4fe859daaa7cf73da2e95be9ba0e", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 63, "avg_line_length": 35, "alnum_prop": 0.6547619047619048, "repo_name": "studiodev/archives", "id": "4e3b91d2db2e61f27d7b1be4a511afb3357039f1", "size": "420", "binary":...
require 'devise/strategies/base' module Devise module Strategies class Oauth2GrantTypeStrategy < Authenticatable def store? false end def valid? params[:controller] == 'devise/oauth2_providable/tokens' && request.post? && params[:grant_type] == grant_type end # de...
{ "content_hash": "3ba686ce17d443d7272aebf83b19291e", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 124, "avg_line_length": 30.093023255813954, "alnum_prop": 0.6321483771251932, "repo_name": "brycesch/devise_oauth2_providable", "id": "eb61382c86cf9042037ec7aad9e24521e862e1e...
import React, { Component, PropTypes } from 'react'; import Box from './Box'; import Intl from '../utils/Intl'; import CSSClassnames from '../utils/CSSClassnames'; const CLASS_ROOT = CSSClassnames.TITLE; export default class Title extends Component { render () { const classes = [CLASS_ROOT]; if (this.props...
{ "content_hash": "436d61fb32b556c97917ab111ecb7265", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 61, "avg_line_length": 24.125, "alnum_prop": 0.6068652849740933, "repo_name": "davrodpin/grommet", "id": "89106eb377527ff80d6078cd9aca3c5a0152be6b", "size": "1614", "bina...
{-# LANGUAGE PackageImports #-} import "hasknowledge" Application (develMain) import Prelude (IO) main :: IO () main = develMain
{ "content_hash": "1a625791f596f9d7c853d9791bd26ce1", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 45, "avg_line_length": 21.666666666666668, "alnum_prop": 0.7230769230769231, "repo_name": "quantum-dan/HasKnowledge", "id": "6d231572f91260268525f6112c3c5fa1aedd7ff2", "size...
import sys if sys.hexversion < 0x020400f0: from sets import Set as set typos={'feature':'features','sources':'source','targets':'target','include':'includes','export_include':'export_includes','define':'defines','importpath':'includes','installpath':'install_path',} meths_typos=['__call__','program','shlib','stlib','ob...
{ "content_hash": "a59cff99fd5c46902e242a0db008351a", "timestamp": "", "source": "github", "line_count": 149, "max_line_length": 195, "avg_line_length": 34.83221476510067, "alnum_prop": 0.666281310211946, "repo_name": "dproc/trex_odp_porting_integration", "id": "be501299f9ec2d1f18e181dd4bd5abb720a24e2...
use crate::interface::{Compiler, Result}; use crate::passes::{self, BoxedResolver, QueryContext}; use rustc_ast as ast; use rustc_codegen_ssa::traits::CodegenBackend; use rustc_data_structures::svh::Svh; use rustc_data_structures::sync::{Lrc, OnceCell, WorkerLocal}; use rustc_errors::ErrorReported; use rustc_hir::def_...
{ "content_hash": "41b7246bbdbe99b351a4aa7e9291bdf0", "timestamp": "", "source": "github", "line_count": 415, "max_line_length": 100, "avg_line_length": 36.0722891566265, "alnum_prop": 0.5376085504342017, "repo_name": "graydon/rust", "id": "f188ad35605af69e6ca4e1fcf283cd891d526a4f", "size": "14970",...
set -e grunt build grunt test:unit grunt test:e2e if [ $TRAVIS_TAG ]; then grunt sauce:unit; fi
{ "content_hash": "fb34bf392c6e9e9c43cf16174fd4c77e", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 24, "avg_line_length": 14, "alnum_prop": 0.7142857142857143, "repo_name": "itxd/angularfire", "id": "f13aebd200b25cdb004758c0f9917a671fa5a4ed", "size": "110", "binary": fa...
#ifndef StringObjectThatMasqueradesAsUndefined_h #define StringObjectThatMasqueradesAsUndefined_h #include "JSGlobalObject.h" #include "StringObject.h" #include "UString.h" namespace JSC { // WebCore uses this to make style.filter undetectable class StringObjectThatMasqueradesAsUndefined : public StringObj...
{ "content_hash": "c2bdbe2eec63e7d11531056828b9d265", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 159, "avg_line_length": 33.8974358974359, "alnum_prop": 0.7193645990922845, "repo_name": "kzhong1991/Flight-AR.Drone-2", "id": "69e1939635f7ff0a85bf9b03fa8c638916f601aa", "...
using MarvelAPI.Parameters; using RestSharp; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MarvelAPI.Requests { public class EventRequest : BaseRequest { public EventRequest(string publicApiKey, string privateApiKey, IRest...
{ "content_hash": "820d8b48b4fdbd75635fc5f62765f7cc", "timestamp": "", "source": "github", "line_count": 425, "max_line_length": 161, "avg_line_length": 38.131764705882354, "alnum_prop": 0.5640503517215846, "repo_name": "foilking/MarvelAPI", "id": "133afdd1aadb2104f22e34475e3069807eff8c92", "size": ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>DocStrap Source: strings/format.js</title> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link type="text/css" rel="stylesheet" href="styles/sunlight.default.css"> <link type="text/css"...
{ "content_hash": "896b079f104d930f5d9c91c1b3a78830", "timestamp": "", "source": "github", "line_count": 210, "max_line_length": 847, "avg_line_length": 31.33809523809524, "alnum_prop": 0.6445828901382769, "repo_name": "labertasch/awesome", "id": "a8bbdd245ef4824721d35cfea9292ad2413cdf92", "size": "...
$DefaultPSRepositoryUrl = "https://www.powershellgallery.com/api/v2" $global:CurrentUserModulePath = "" function Update-PSModulePathForCI() { # Information on PSModulePath taken from docs # https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_psmodulepath # Information on Az ...
{ "content_hash": "9e479571dcc3622ad3c158c3da9f85d1", "timestamp": "", "source": "github", "line_count": 106, "max_line_length": 136, "avg_line_length": 38.79245283018868, "alnum_prop": 0.7169260700389105, "repo_name": "Azure/azure-sdk-for-go", "id": "d9a5afaab1b31023651f936609cfe6fd2be556c6", "size...
<?php /** * This is extended cache manager with additional methods to work * with cache tags. * * The most important difference from sfViewCacheManager is support to use * sepparate cache systems for data and locks (performance reasons). * * By default data and lock cache system is same. ...
{ "content_hash": "0f2ca1fc53030ed42d98b19d4e49aaa1", "timestamp": "", "source": "github", "line_count": 831, "max_line_length": 103, "avg_line_length": 25.790613718411553, "alnum_prop": 0.5475457260171706, "repo_name": "fruit/sfCacheTaggingPlugin", "id": "b8084bac84edc7e2c9ac37520a81eb1f69f471a3", ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE415_Double_Free__malloc_free_long_81_bad.cpp Label Definition File: CWE415_Double_Free__malloc_free.label.xml Template File: sources-sinks-81_bad.tmpl.cpp */ /* * @description * CWE: 415 Double Free * BadSource: Allocate data using malloc() and Deallocate dat...
{ "content_hash": "dcee9f5645306aef24a467bc71fceca6", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 101, "avg_line_length": 28.8125, "alnum_prop": 0.6973969631236443, "repo_name": "maurer/tiamat", "id": "9b1c8164fe4d9482e9bc7df0511c4c70c8914f05", "size": "922", "binary"...
<?php // No direct access defined('_HZEXEC_') or die(); header("Content-type: text/csv"); header("Content-Disposition: attachment; filename=registrations.csv"); header("Pragma: no-cache"); header("Expires: 0"); foreach ($this->rows as $row) { $section = \Components\Courses\Models\Section::getInstance($row->get('s...
{ "content_hash": "309183dabcb4f41f25b0531c74b62b24", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 127, "avg_line_length": 25.568181818181817, "alnum_prop": 0.6257777777777778, "repo_name": "zweidner/hubzero-cms", "id": "f6399dc900af812b8b3c4aa7044ec2c4de5f1ddb", "size":...
/** * @file * RV30 and RV40 decoder common data declarations */ #ifndef AVCODEC_RV34_H #define AVCODEC_RV34_H #include "avcodec.h" #include "dsputil.h" #include "mpegvideo.h" #include "h264pred.h" #define MB_TYPE_SEPARATE_DC 0x01000000 #define IS_SEPARATE_DC(a) ((a) & MB_TYPE_SEPARATE_DC) /** * RV30 and RV...
{ "content_hash": "18a7b63a66f2d8f085dfbb603029c697", "timestamp": "", "source": "github", "line_count": 111, "max_line_length": 104, "avg_line_length": 42.98198198198198, "alnum_prop": 0.6482917627331797, "repo_name": "JREkiwi/sagetv", "id": "24a27ce4824e17d608913ed316a795086b6c0cc7", "size": "5637...
""" Cloud API asynchronous "PDF To Text" job example. Allows to avoid timeout errors when processing huge or scanned PDF documents. """ import os import requests # pip install requests import time import datetime # The authentication key (API Key). # Get your own by registering at https://app.pdf.co API_KEY = "***...
{ "content_hash": "cc83d6477ecac9c0ae9c34d4ac37b182", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 110, "avg_line_length": 34.68, "alnum_prop": 0.5628604382929643, "repo_name": "bytescout/ByteScout-SDK-SourceCode", "id": "67ac1a64851f93367116969a3518bf424e0e7e51", "size...