text
stringlengths
2
1.04M
meta
dict
<?php use utilities\Stopwatch as Stopwatch; /** * Class Database * Creates a PDO database connection. This connection will be passed into the models (so we use * the same connection for all models and prevent to open multiple connections at once) */ class Database extends PDO { const CONTENTA_DB_VERSION = 1; ...
{ "content_hash": "6764e1840206b56513fd604530bf05b7", "timestamp": "", "source": "github", "line_count": 358, "max_line_length": 131, "avg_line_length": 26.594972067039105, "alnum_prop": 0.5914294716941497, "repo_name": "vitolibrarius/contenta", "id": "2e9eab05fa73e7e75696443524fb29d70b9efabd", "siz...
simplenavi ============== Template for a simple Vaadin application that only requires a Servlet 3.0 container to run. Workflow ======== To compile the entire project, run "mvn install". To run the application, run "mvn jetty:run" and open http://localhost:8080/ . To develop the theme, simply update the relevant th...
{ "content_hash": "0a484ec3eb92a1c177b77bc2fbd3905e", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 101, "avg_line_length": 40.55263157894737, "alnum_prop": 0.7624918883841661, "repo_name": "johannesh2/designer-tutorials", "id": "8f1cf950c0e382ee402137015fc9c579c94c8e95", ...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "ea85fb4cc45a0ba87f56a4e026123380", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "838570d0328605c13674cb0a7c235b332a970183", "size": "196...
require 'helper' class FakedModel attr_reader :id def self.slug_scope_key; "faked_models"; end def initialize(id); @id = id; end end class SlugHistoryTest < Test::Unit::TestCase with_tables :slugs, :users do context 'for arbitrary models' do setup do @record_a = FakedModel.new(12) ...
{ "content_hash": "464f2d22b3279b749b61420319286596", "timestamp": "", "source": "github", "line_count": 86, "max_line_length": 76, "avg_line_length": 33.81395348837209, "alnum_prop": 0.5969738651994498, "repo_name": "Sutto/slugged", "id": "068685ba2853ecc282a2b922d28f467b867bb650", "size": "2908", ...
package org.apache.ignite.testsuites; import java.util.ArrayList; import java.util.Collection; import java.util.List; import org.apache.ignite.internal.metric.CacheMetricsAddRemoveTest; import org.apache.ignite.internal.metric.IoStatisticsCachePersistenceSelfTest; import org.apache.ignite.internal.metric.IoStatistic...
{ "content_hash": "1d43cc3cfda4de4fb57dc13044776d6d", "timestamp": "", "source": "github", "line_count": 131, "max_line_length": 137, "avg_line_length": 68.7557251908397, "alnum_prop": 0.8406794715221494, "repo_name": "nizhikov/ignite", "id": "3a7dc5b6b259c03dae145136b36239d106c3c9cb", "size": "9809...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>extensible-records: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootst...
{ "content_hash": "40f93d612c5b177b03cbcd691297344f", "timestamp": "", "source": "github", "line_count": 163, "max_line_length": 159, "avg_line_length": 40.104294478527606, "alnum_prop": 0.5343429707817041, "repo_name": "coq-bench/coq-bench.github.io", "id": "b0ebde0b6acb7d15c9e7080116de00c04a123250",...
/** * Discard over TCP and UDP */ package org.apache.commons.net.discard;
{ "content_hash": "5957f3f2ae876abd13740821484e99a1", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 39, "avg_line_length": 12.833333333333334, "alnum_prop": 0.6883116883116883, "repo_name": "codolutions/commons-net", "id": "52c115265a1817b5bcc9c8092233d0baccdc138b", "size"...
"use strict"; var fs = require('fs'), path = require('path'), shell = require('shelljs/global'), util = require('util'), git = require('simple-git'); module.exports = class NunjucksPublisher { constructor(version) { this.gitUrl = util.format("https://%s@github.com/lccgov/l...
{ "content_hash": "4a7a7c491d49e1bf03d5f907aed5ce33", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 116, "avg_line_length": 46.42, "alnum_prop": 0.5540715208961654, "repo_name": "lccgov/lcc_templates", "id": "d42a7e022023a26071380011a70659c2529d04ce", "size": "2321", "b...
var Promise = require('bluebird'); var bcrypt = require('bcrypt'); var db = require('../../db'); var contract = require('../../utils/contract'); var utils = require('../../utils/utils'); function findAll(params, limit, offset){ // get list of tasks as per limit, offset and params var ref = { id: 'tasks.id', ...
{ "content_hash": "aebe87931a3d5f98a6e5120ac3e9cf52", "timestamp": "", "source": "github", "line_count": 141, "max_line_length": 892, "avg_line_length": 32.361702127659576, "alnum_prop": 0.6789392943239098, "repo_name": "sgaurav/runner", "id": "2cf410198b12b88e3036183bdeaed49be2fe7663", "size": "456...
""" Module for performing checks on a Kibana logging deployment """ import json import ssl try: from urllib2 import HTTPError, URLError import urllib2 except ImportError: from urllib.error import HTTPError, URLError import urllib.request as urllib2 from openshift_checks.logging.logging import Logging...
{ "content_hash": "68cf8b728a550d5292238d1af3b18ad2", "timestamp": "", "source": "github", "line_count": 220, "max_line_length": 102, "avg_line_length": 39.86363636363637, "alnum_prop": 0.5689851767388826, "repo_name": "rhdedgar/openshift-tools", "id": "efb14ab423dafc431ce546d0a75525817e2b45af", "si...
<?php class A_tags extends CI_Model { function __construct() { parent::__construct(); $this->load->database(); } // show list tagss where function show_list_tags_where($where = array(), $limit, $offset, $lang = 'vn', $page = 1) { $this->db->select("tagsdetail.tags_name as name...
{ "content_hash": "ea7bf86502caafe0c693265368c0cc74", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 97, "avg_line_length": 41.254901960784316, "alnum_prop": 0.5636882129277566, "repo_name": "itphamphong/viettoc", "id": "9afb9c473bc218c7c848fee4907913054cf636a7", "size": "...
require 'active_record' module Delayed module Backend module ActiveRecord # A job object that is persisted to the database. # Contains the work object as a YAML field. class Job < ::ActiveRecord::Base include Delayed::Backend::Base set_table_name :delayed_jobs before_sa...
{ "content_hash": "8f6956bc249c957e209efd185ae2c649", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 144, "avg_line_length": 29.431818181818183, "alnum_prop": 0.5992277992277992, "repo_name": "medhelpintl/delayed_job_mh", "id": "bb760986c9dad7a3ee4224d3fc7fd7398b0b6b5d", "...
<?php namespace N98\Magento\Command\Indexer; use N98\Magento\Command\AbstractMagentoCommand; use N98\Util\DateTime as DateTimeUtils; class AbstractIndexerCommand extends AbstractMagentoCommand { /** * @return array */ protected function getIndexerList() { $list = array(); $index...
{ "content_hash": "9284c52fbf0d138825fca5938e09ee98", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 102, "avg_line_length": 31.015625, "alnum_prop": 0.5793450881612091, "repo_name": "p-makowski/n98-magerun2", "id": "7d8c5a793300eae703c977c4ddee37eb5335b9b2", "size": "1985...
using System.Windows; namespace EraFileCreator { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { } }
{ "content_hash": "792bb983dfcf78b2e1cbff9c621c3d27", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 42, "avg_line_length": 17, "alnum_prop": 0.6042780748663101, "repo_name": "kball66816/ERAFileCreator2", "id": "5a70e126344565d13d4f0e16488aa394847c389d", "size": "189", "...
require 'sanitize_attributes' SanitizeAttributes.hook!
{ "content_hash": "10f47669eaf8bbe29005486a4665dd30", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 29, "avg_line_length": 27.5, "alnum_prop": 0.8545454545454545, "repo_name": "devp/sanitize_attributes", "id": "a4460fdcf920045f2c6cdc1c455fa9c9d611bfe5", "size": "55", "bi...
package java.nio; import libcore.io.SizeOf; /** * This class wraps a byte buffer to be a short buffer. * <p> * Implementation notice: * <ul> * <li>After a byte buffer instance is wrapped, it becomes privately owned by * the adapter. It must NOT be accessed outside the adapter any more.</li> * <li>The byte bu...
{ "content_hash": "3b188074f28f18a7d52b589ef8d19efb", "timestamp": "", "source": "github", "line_count": 164, "max_line_length": 97, "avg_line_length": 28.6890243902439, "alnum_prop": 0.6295430393198724, "repo_name": "indashnet/InDashNet.Open.UN2000", "id": "ff81409608be72b614ce19930cbd13b9203a4466", ...
ACCEPTED #### According to Index Fungorum #### Published in Annls mycol. 25: 453 (1927) #### Original name Meliola solanicola Gaillard ### Remarks null
{ "content_hash": "8f946cd5dfbbab2e62d1b031fc8565b0", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 27, "avg_line_length": 11.923076923076923, "alnum_prop": 0.7096774193548387, "repo_name": "mdoering/backbone", "id": "92512c1f4402773c0babc0a873cf4ecf2ff8af70", "size": "21...
RELEASE HISTORY =============== 0.0.50 (9/25/2015) ------------------ Release Notes ~~~~~~~~~~~~~ This release removes the 'global' jvm compile strategy in favor of the 'isolated' strategy and switches the default java incremental compilation frontend from jmake to zinc. If you were using 'global' and/or jmake you'...
{ "content_hash": "76e1e97734d3d5425d568683480934b7", "timestamp": "", "source": "github", "line_count": 4249, "max_line_length": 215, "avg_line_length": 36.477524123323136, "alnum_prop": 0.6965411341157343, "repo_name": "sameerparekh/pants", "id": "e0db6030341efc7c390a33dc6624f5f4842c6470", "size":...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>area-method: 16 m 15 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
{ "content_hash": "ffca4bb1e80b6b62a102f34b08101957", "timestamp": "", "source": "github", "line_count": 293, "max_line_length": 202, "avg_line_length": 80.86006825938567, "alnum_prop": 0.6262029377004896, "repo_name": "coq-bench/coq-bench.github.io", "id": "dfc1fe04a3d4f8a238e5cde029afaa917b6b1e9f", ...
using System.Reflection; using System.Runtime.CompilerServices; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle ("DynamicSample")] [assembly: AssemblyDescription ("")] [assembly: AssemblyConfiguration ("")] [as...
{ "content_hash": "b3be539b4e128f2ff53e92ed447bfef5", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 81, "avg_line_length": 37.111111111111114, "alnum_prop": 0.7385229540918163, "repo_name": "anaselhajjaji/csharp-samples", "id": "e9e2fc6bed796f664a9b7882963ae59d0e1e4631", ...
import {TorusBufferGeometry, TorusGeometry, BufferGeometry} from "three"; import {Locale} from "../../../../locale/LocaleManager.js"; import {ChangeAction} from "../../../../history/action/ChangeAction.js"; import {Editor} from "../../../../Editor.js"; import {NumberBox} from "../../../../components/input/NumberBox.js"...
{ "content_hash": "f0b4f9267e4c8cd76360db48b93eb037", "timestamp": "", "source": "github", "line_count": 96, "max_line_length": 218, "avg_line_length": 32.291666666666664, "alnum_prop": 0.74, "repo_name": "tentone/nunuStudio", "id": "b614b8a190130e3986f86cd914a4e2a6eb713157", "size": "3100", "bina...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>ctltctl: 17 s 🏆</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" rel="sty...
{ "content_hash": "3a8ff7ff2caefd97628c182848df6176", "timestamp": "", "source": "github", "line_count": 186, "max_line_length": 159, "avg_line_length": 45.6505376344086, "alnum_prop": 0.5591803085620068, "repo_name": "coq-bench/coq-bench.github.io", "id": "62ea78bcc7709fe0958e5bd7079a0633deeb26da", ...
#ifndef EVENT_GROUPS_H #define EVENT_GROUPS_H #ifndef INC_FREERTOS_H #error "include FreeRTOS.h" must appear in source files before "include event_groups.h" #endif #include "timers.h" #ifdef __cplusplus extern "C" { #endif /** * An event group is a collection of bits to which an application can ...
{ "content_hash": "2a9df8baf0ce1d76df42d49dee0905c8", "timestamp": "", "source": "github", "line_count": 617, "max_line_length": 226, "avg_line_length": 38.13452188006483, "alnum_prop": 0.7068723702664796, "repo_name": "james54068/stm32f429_learning", "id": "41e91276f66cb03f9ae549c6e9fa1dd9c8fee8de", ...
package com.github.benmanes.caffeine.cache.simulator.policy; import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.base.Preconditions.checkState; import static com.google.common.collect.ImmutableSet.toImmutableSet; import static java.util.Locale.US; import static org.apache....
{ "content_hash": "fd44c972466aa79bf37f30954b5d68dc", "timestamp": "", "source": "github", "line_count": 235, "max_line_length": 108, "avg_line_length": 48.327659574468086, "alnum_prop": 0.7892048956590649, "repo_name": "ben-manes/caffeine", "id": "359336d193cbfee274532cfbd55fd2029911c6c3", "size": ...
.list .list-item { list-style: none; } #app { margin-left: auto; margin-right: auto; width: 70%; } #add-bus { margin-right: 15px; margin-left: 45px; margin-top: 7px; margin-bottom: 10px; } #advanced-options-toggle { margin-left: 15px; } /* list styles that didn't make it into the compiled thing ...
{ "content_hash": "5463939067b1017c3df6bfb42f412cd0", "timestamp": "", "source": "github", "line_count": 266, "max_line_length": 84, "avg_line_length": 24.928571428571427, "alnum_prop": 0.6827024581511084, "repo_name": "jeremybmerrill/bigappleserialbus", "id": "d01d1e5f60bf8135d035f8c395a726cdfa2fb1eb...
/*===-- semispace.c - Simple semi-space copying garbage collector ---------===*\ |* |* The LLVM Compiler Infrastructure |* |* This file was developed by the LLVM research group and is distributed under |* the University of Illinois Open Source License. See LICENSE.TXT for details. |* |*===---------...
{ "content_hash": "93d1017aefe2d6432418c2adc6008790", "timestamp": "", "source": "github", "line_count": 142, "max_line_length": 100, "avg_line_length": 30.704225352112676, "alnum_prop": 0.648394495412844, "repo_name": "nojb/llvm-tiger", "id": "66d3c5e0ee74643096660afa22c26c78eccc9210", "size": "436...
package org.apereo.cas.memcached.kryo.serial; import com.esotericsoftware.kryo.Kryo; import com.esotericsoftware.kryo.Serializer; import com.esotericsoftware.kryo.io.Input; import com.esotericsoftware.kryo.io.Output; import lombok.extern.slf4j.Slf4j; import lombok.val; import org.apache.commons.lang3.StringUtils; /**...
{ "content_hash": "5e691b34f60197f687194fc2d7c55621", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 101, "avg_line_length": 32.1025641025641, "alnum_prop": 0.694888178913738, "repo_name": "tduehr/cas", "id": "1be1fc2dc55848b448d0b63cd9e8081e00aad730", "size": "1252", "b...
package fr.javatronic.blog.massive.annotation1.sub1; import fr.javatronic.blog.processor.Annotation_001; @Annotation_001 public class Class_2643 { }
{ "content_hash": "a5222a6f7436daea4a58b0a17905d7f2", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 52, "avg_line_length": 21.571428571428573, "alnum_prop": 0.8079470198675497, "repo_name": "lesaint/experimenting-annotation-processing", "id": "46e85ddf27af77251d508589a73da40...
<?php /** * The following variables are available in this template: * - $this: the CrudCode object */ ?> <?php echo "<?php\n"; $nameColumn=$this->guessNameColumn($this->tableSchema->columns); $label=$this->pluralize($this->class2name($this->modelClass)); echo "\$this->breadcrumbs=array( '$label'=>array('index'), \...
{ "content_hash": "9c8fa564dbfbf9e37e8cf694bf0abcad", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 205, "avg_line_length": 29.65714285714286, "alnum_prop": 0.6290944123314065, "repo_name": "pasitive/zapad", "id": "3375ddf36138764cf738a3fa8972d497dd4c695c", "size": "1111"...
using System; using System.Text; using System.Data; using System.Collections.Generic; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using DTcms.Common; namespace DTcms.Web.admin.business { public partial class storeout_cost_list : Web.UI.ManagePage { protected int totalCount;...
{ "content_hash": "b9c792f70cbb9c43b82315c821d19a07", "timestamp": "", "source": "github", "line_count": 180, "max_line_length": 172, "avg_line_length": 42.46666666666667, "alnum_prop": 0.5644950287807431, "repo_name": "LutherW/MWMS", "id": "d5c0e97b8bd6a721ed73bbc7f5edca161141864f", "size": "7748",...
#pragma once //std #include <string> #include <vector> namespace core { namespace utils { std::vector<std::string> tokenize(const std::string& a_data, const std::vector<char>& a_white_spaces, const std::vector<char>& a_separators); ...
{ "content_hash": "c55bd2c92e74bcef4819144a18718ed4", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 74, "avg_line_length": 21.294117647058822, "alnum_prop": 0.5441988950276243, "repo_name": "dynamicreflectance/core", "id": "d51dcd0f4b0ab5b10c4fe96ab76a97ec7539ab6d", "size...
require 'socket' module Guard class Spork class SporkInstance attr_reader :type, :env, :port, :options, :pid, :process def initialize(type, port, env, options) @type = type @port = port @env = env @options = options end def to_s case type ...
{ "content_hash": "01b5c6ff0e6850721234280fba372ea0", "timestamp": "", "source": "github", "line_count": 109, "max_line_length": 102, "avg_line_length": 19.660550458715598, "alnum_prop": 0.49883341110592627, "repo_name": "viktor-kolosek/sample_app_rails_4", "id": "5692433b846cfccadb7b62f8bf493850f9a4a...
<h1>Lawrence Ma</h1> <h3>Full Stack Web Developer</h3> - Ruby - Javascript - JQuery - Ajax - React JS/Flux - Sinatra - Ruby on Rails - RSpec - Jasmine - Capybara
{ "content_hash": "5ac5583f90cb3bca43c131e8196bd23a", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 33, "avg_line_length": 12.538461538461538, "alnum_prop": 0.6871165644171779, "repo_name": "lawrencetma/lawrencetma.github.io", "id": "afec8ff82d9bd5a029ec27f9781d67b4b5137b83...
package com.bingobinbin.activity; import android.app.Activity; import android.graphics.BitmapFactory; import android.os.Bundle; import android.os.Looper; import android.view.View; import android.view.View.OnClickListener; import android.widget.ImageView; import com.bingobinbin.utils.R; import com.umeng.bitmap.thread...
{ "content_hash": "7369035d391eb233bb62ebc8d910b10c", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 223, "avg_line_length": 47.295081967213115, "alnum_prop": 0.5948006932409012, "repo_name": "yooranchen/BitmapUtils", "id": "d1f6a1e8896a78c6e917822599556fbf5190450c", "size...
/* Theme Name: NEW THEME Theme URI: Author: Martin Sanne Kristiansen / Heydays Author URI: http://heydays.no Description: MY NEW THEME Version: 1.0 License: © Heydays 2014 */
{ "content_hash": "baacd0425423439fc9b2157677422974", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 42, "avg_line_length": 19.333333333333332, "alnum_prop": 0.7471264367816092, "repo_name": "martinsanne/msk-wpbp", "id": "bff7c2f144253f6ca7fbba61dd8f49c69bf1fb2e", "size": "...
package bitswap import ( bsnet "github.com/ipfs/go-ipfs/exchange/bitswap/network" mockrouting "github.com/ipfs/go-ipfs/routing/mock" testutil "github.com/ipfs/go-ipfs/thirdparty/testutil" peer "gx/ipfs/QmRBqJF7hb8ZSpRcMwUt8hNhydWcxGEhtk81HKq6oUwKvs/go-libp2p-peer" mockpeernet "gx/ipfs/QmZ8bCZpMWDbFSh6h2zgTYwrhnjr...
{ "content_hash": "0dd3c540728d6a2bcc07de92c3c0489f", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 102, "avg_line_length": 30.725, "alnum_prop": 0.7656631407648494, "repo_name": "kpcyrd/go-ipfs", "id": "1d491a9a45b77040e1cb58dbe37e568243b4d798", "size": "1229", "binary...
import React from 'react' import PropTypes from 'prop-types' import { Container, Grid, GridCol, Marger, Title, Text, HorizontalStroke, Button, Carousel, ScreenConfig, SCREEN_SIZE_M, CONTAINER_PADDING, CONTAINER_PADDING_THIN, ArrowIcon, CrowdfundingCard, withMediaQueries, pxToRem, } fro...
{ "content_hash": "8eb2ed047ef09726f0a82d36fe96d27c", "timestamp": "", "source": "github", "line_count": 230, "max_line_length": 75, "avg_line_length": 24.91304347826087, "alnum_prop": 0.5244328097731239, "repo_name": "KissKissBankBank/kitten", "id": "4c7ecd25bcd34298d4fb1e2bead73b6bd11af86a", "size...
require 'test_helper' class AttachmentsHelperTest < ActionView::TestCase end
{ "content_hash": "a64d9a5424ffa06c4583abf08892f4f0", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 50, "avg_line_length": 19.5, "alnum_prop": 0.8205128205128205, "repo_name": "akinsgre/test-remotipart", "id": "99d12a7b66b5c092c68deadd7e78f75d4a6225e0", "size": "78", "bi...
<?xml version='1.0' encoding='utf-8'?> <resources> <string name="fb_app_id">374294469387208</string> <string name="fb_app_name">Babylon Bridge</string> </resources>
{ "content_hash": "0f715df00eca192d337125ddbb9e31a1", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 54, "avg_line_length": 34.6, "alnum_prop": 0.6820809248554913, "repo_name": "bss-taiphung/babylon-ios", "id": "24a9c9d2b44d17ec88963a12e6ebde97b2b77e01", "size": "173", "b...
package com.koch.ambeth.xml.pending; public interface ICommandCreator { IObjectCommand createCommand(ICommandTypeRegistry commandTypeRegistry, IObjectFuture objectFuture, Object parent, Object[] optionals); }
{ "content_hash": "38999855180f6e8528744ffa9a7b4b58", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 99, "avg_line_length": 35.666666666666664, "alnum_prop": 0.8317757009345794, "repo_name": "Dennis-Koch/ambeth", "id": "fb0db43d6a84daf0e4c646989bd2e3485021da78", "size": "21...
#include <string> namespace luxrays { namespace ocl { std::string KernelSource_triangle_types = "#line 2 \"triangle_types.cl\"\n" "\n" "\n" "\n" "typedef struct {\n" " unsigned int v[3];\n" "} Triangle;\n" ; } }
{ "content_hash": "e1da6e85fc41429e911644a8b7f50fb5", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 42, "avg_line_length": 19.363636363636363, "alnum_prop": 0.6384976525821596, "repo_name": "DavidBluecame/LuxRays", "id": "a69c43a9cdf7bd1f927dcaab08132053956eac40", "size":...
//id canal musica = 375842517566095360 module.exports = (client, message, args) => { let channel = client.channels.get('375842517566095360'); //if (message.member.voiceChannel) { if (channel) { channel.join() .then(connection => { message.reply('Eu conectei no canal com ...
{ "content_hash": "6959ff9b10f5b8834ae2ce2c6a38e2e9", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 133, "avg_line_length": 37.05, "alnum_prop": 0.6059379217273954, "repo_name": "GiuliannoO/Giulianno", "id": "9b05e8a904ce9939634e79cb0226ddeb94032088", "size": "743", "bi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows.Media; using System.Windows.Media.Media3D; namespace HitTestDemo { public class CompositeGeometryModelVisual3D : ModelVisual3D { GeometryModel3D bigCubeModel; GeometryModel3D ...
{ "content_hash": "89f7400e6cc4bd04d3c1748ee6fec9ae", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 98, "avg_line_length": 31.452380952380953, "alnum_prop": 0.6305828917486752, "repo_name": "luosz/ai-algorithmplatform", "id": "46229272daffdfe4bdc5e803586008162831d080", "s...
@class DVTStackBacktrace, IDEGeniusResultsGraphNode, IDENavigableItem, NSString; @interface _IDEGeniusResultsContext : NSObject <DVTInvalidation> { NSString *_geniusCategory; IDENavigableItem *_geniusRootNavigableItem; IDEGeniusResultsGraphNode *_geniusResultsGraphNode; } + (void)initialize; @property(ret...
{ "content_hash": "af14f0c0b421810f022424958fe83b21", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 136, "avg_line_length": 37.69230769230769, "alnum_prop": 0.813265306122449, "repo_name": "wczekalski/Distraction-Free-Xcode-plugin", "id": "2f291e239dbf0cfaa1a07fb0c9dc940f52...
package org.apache.camel.model; import java.util.ArrayList; import java.util.List; import java.util.concurrent.ExecutorService; import java.util.concurrent.TimeUnit; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import ...
{ "content_hash": "51e378dc741fc3935ceb5a1b48a9853f", "timestamp": "", "source": "github", "line_count": 377, "max_line_length": 155, "avg_line_length": 33.51458885941645, "alnum_prop": 0.66798575385833, "repo_name": "dmvolod/camel", "id": "d8a739af7acc76767333005f73120a9a190b988c", "size": "13438",...
{{{ "title": "Using CenturyLink MySQL Relational DB with AppFog Applications", "date": "02-08-2016", "author": "Chris Sterling", "attachments": [], "related-products" : [], "contentIsHTML": false }}} ### Audience Application developers ### Overview This article will provide an overview of our [MySQL-com...
{ "content_hash": "e7673c11e908e7a1fef6f61ce5594eeb", "timestamp": "", "source": "github", "line_count": 324, "max_line_length": 239, "avg_line_length": 34.48765432098765, "alnum_prop": 0.7098621800608556, "repo_name": "justinwithington/PublicKB", "id": "559782867818e0fe4b3fb2d07bc62df65f80d619", "s...
int main(int argc, char * argv[]) { @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); } }
{ "content_hash": "0a39d2af2d203d875f12a0a932f9e7af", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 90, "avg_line_length": 31.6, "alnum_prop": 0.6582278481012658, "repo_name": "autresphere/ASBPlayerScrubbing", "id": "413294c5e763e9ff23f40fba185208c1c2b8eb30", "size": "357"...
static inline CGVector CGVectorAdd(const CGVector a, const CGVector b) { return CGVectorMake(a.dx + b.dx, a.dy + b.dy); } static inline CGVector CGVectorSubtract(const CGVector a, const CGVector b) { return CGVectorMake(a.dx - b.dx, a.dy - b.dy); } static inline CGVector CGVectorMultiplyScalar(const CGVector ...
{ "content_hash": "0969d0b057962af8a7738dd0d13561e1", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 80, "avg_line_length": 23.09090909090909, "alnum_prop": 0.6981627296587927, "repo_name": "mightybits/rocketfish", "id": "85b2eb8c5ef9f41f41a4ca581c3ab1c026731ae4", "size": ...
<p> You have been logged out successfully </p>
{ "content_hash": "66fea6d7d10c40f631a6e949e376c328", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 37, "avg_line_length": 15.333333333333334, "alnum_prop": 0.7391304347826086, "repo_name": "charle-k/regsystem", "id": "112b68600ddc8f7459562be724e88d5c64a23272", "size": "46...
// let 语句相关 !function(ClosureVariableTag, localVariableTag, letDeclarationSeparatorTag){ this.LetTag = function(VarTag){ /** * let 关键字标签 * @param {Number} _type - 标签类型 */ function LetTag(_type){ VarTag.call(this, _type); }; LetTag = new Rexjs(LetTag, VarTag); LetTag.props({ /** * 获取绑定的标签,该标签一般是用于语句的...
{ "content_hash": "99de805cf758c836179be57b8fe32e05", "timestamp": "", "source": "github", "line_count": 128, "max_line_length": 96, "avg_line_length": 21.4140625, "alnum_prop": 0.6942721634439986, "repo_name": "china-liji/Rexjs", "id": "21190097427f909abb0ddfbe441de19bbbd75e36", "size": "3149", "...
<html> <head> <script src="inspector-test.js"></script> <script src="debugger-test.js"></script> <script src="workspace-test.js"></script> <script src="breakpoint-manager-test.js"></script> <script> function test() { function createWorkspaceWithTarget(userCallback) { InspectorTest.createWorkspace(); ...
{ "content_hash": "42e952aa8cd0d1191524d98f95f9bb4d", "timestamp": "", "source": "github", "line_count": 472, "max_line_length": 160, "avg_line_length": 45.983050847457626, "alnum_prop": 0.5652875046074456, "repo_name": "vadimtk/chrome4sdp", "id": "9dc06410dac482697f37b6b0d124958a359078dd", "size": ...
package org.ebaloo.itkeeps.core.domain.vertex; import org.apache.commons.lang3.StringUtils; import org.ebaloo.itkeeps.api.enumeration.enAuthenticationType; import org.ebaloo.itkeeps.api.model.jBaseLight; import org.ebaloo.itkeeps.api.model.jCredential; import org.ebaloo.itkeeps.core.database.annotation.Databas...
{ "content_hash": "49098309866c9fa315fce8c3916ae257", "timestamp": "", "source": "github", "line_count": 149, "max_line_length": 135, "avg_line_length": 23.83221476510067, "alnum_prop": 0.6854407209236835, "repo_name": "e-baloo/it-keeps", "id": "3a97c72e81481a0c20a977216a23141bf1d8de85", "size": "35...
var mongodb = require('../models/mongodb'); var Schema = mongodb.mongoose.Schema; var callSchema = new Schema({ user: { type: Schema.Types.ObjectId, ref: 'users', index: true }, time: { type: Date, index: true, default: Date.now() }, order: { ...
{ "content_hash": "fc4007576296c48db9812b3583682a31", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 55, "avg_line_length": 20.636363636363637, "alnum_prop": 0.5594713656387665, "repo_name": "Kagamine/Firmus", "id": "ed2db26be652867d48b66917632dcbbf1fdad532", "size": "681"...
#ifndef QUICKSTEP_STORAGE_TUPLE_REFERENCE_HPP_ #define QUICKSTEP_STORAGE_TUPLE_REFERENCE_HPP_ #include "storage/StorageBlockInfo.hpp" namespace quickstep { class TupleStorageSubBlock; /** \addtogroup Storage * @{ */ /** * @brief A reference to a particular tuple in a StorageBlock. **/ struct TupleReference ...
{ "content_hash": "2d476e1833822d84a4bbee473fc21425", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 62, "avg_line_length": 16.86111111111111, "alnum_prop": 0.6771004942339374, "repo_name": "cramja/incubator-quickstep", "id": "d53d85202aca7b1347073ef069e8274d402b3e3b", "si...
using System; namespace Orleans { /// <summary> /// Client interface for interacting with an Orleans cluster. /// </summary> public interface IClusterClient : IGrainFactory { /// <summary> /// Gets the service provider used by this client. /// </summary> IServiceProv...
{ "content_hash": "721c19de4615ed3ada3aeb8b18c86a8e", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 65, "avg_line_length": 23.8, "alnum_prop": 0.6106442577030813, "repo_name": "galvesribeiro/orleans", "id": "74aa99e8d7e8beaee7ef4a056c6057b135304d00", "size": "357", "bin...
using namespace std; class Order : public QObject //order class stores total and items added to order(called immediately on program startup) { Q_OBJECT const double tax = 0.06; //total, tax, and subtotal calculated after item is added each time double subtotal; double total; public: vector<Item*> ...
{ "content_hash": "6a5c08543df3b9bbfe732c4a00dae86e", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 122, "avg_line_length": 29.555555555555557, "alnum_prop": 0.7293233082706767, "repo_name": "keithbarker/3503_group_project", "id": "bb1fdb55c2e451c9fb1004acacec2be754dc8d73",...
title: "WebElement #15 Prešov: František Trusa - Je Drupal predpotopný moloch alebo moderné CMS? Niečo medzi tým; Milan Kurečko - Návrh webu od myšlienky po úspešný výsledok" layout: event noContent: true facebookId: 1635069816765993 ---
{ "content_hash": "9ee0a50cf596a7f849970253a016be79", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 174, "avg_line_length": 47.6, "alnum_prop": 0.7941176470588235, "repo_name": "webelement/webelement.github.io", "id": "c66b06ee47e3c708bbb2a29ffb133be452c2a177", "size": "25...
import sys sys.path.insert(1, "../../") import h2o def runif_check(ip, port): # Connect to a pre-existing cluster uploaded_frame = h2o.upload_file(h2o.locate("bigdata/laptop/mnist/train.csv.gz")) r_u = uploaded_frame[0].runif(1234) imported_frame = h2o.import_file(h2o.locate("bigdata/laptop/mnis...
{ "content_hash": "3a85717732a1d81ca91e6921dafbac91", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 115, "avg_line_length": 34.8421052631579, "alnum_prop": 0.6676737160120846, "repo_name": "PawarPawan/h2o-v3", "id": "e8bdc9c80053d009e53171d94b8b51a68a7577e5", "size": "662...
import React from 'react'; import {createRoot} from 'react-dom/client'; import './index.css'; import App from './App'; import * as serviceWorker from './serviceWorker'; const rootElement = document.getElementById('root'); const root = createRoot(rootElement); root.render( <React.StrictMode> <App /> </React.St...
{ "content_hash": "9b244516705adcc95fddee28bdac7e52", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 72, "avg_line_length": 29.842105263157894, "alnum_prop": 0.7266313932980599, "repo_name": "DevUtils/jQuerySimpleMask", "id": "f8339c8395ecaab488d63a3c41e6c4f064ba1bb9", "si...
package br.senac.tads4.piiv.service.event.historico; import java.util.Set; import br.senac.tads4.piiv.model.ItemPedido; import br.senac.tads4.piiv.model.Produto; import br.senac.tads4.piiv.model.enumerated.TipoMovimentacao; public class HistoricoEvent { private Produto produto; private Set<ItemPedido> itensPedid...
{ "content_hash": "3e47d925f925f32749efda205a570044", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 88, "avg_line_length": 23.229508196721312, "alnum_prop": 0.7833450952717008, "repo_name": "eltonsalles/lojagames", "id": "a8b54a2d835f4c9fad1f37baa35126cfba6dce02", "size":...
package net.sf.plugfy.sample; /** * a sample invoked class * * @author hendrik * @param <T> parameter */ public interface SampleInvokedInterface<T> { /** * Test method * * @param param param * @return return */ public SampleUnusedReturn<String> instanceMethod(SampleInvokedMethod...
{ "content_hash": "6d7966c3d2b51abf312094e2348ce38c", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 123, "avg_line_length": 19.68421052631579, "alnum_prop": 0.6818181818181818, "repo_name": "his-eg/plugfy", "id": "b99c905e21cddd86a78f8479d93168ca09573467", "size": "877", ...
/* This is a default definition of a bootstrap exception handler function. * It does nothing and just goes into an infinite loop. If the user * application supplies a handler function, this function will not be * referenced and thus not pulled in from the library. */ void __attribute__((weak, nomips16)) _bootstr...
{ "content_hash": "5e546a71974b8a58366f89e4e936acfa", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 74, "avg_line_length": 28.5, "alnum_prop": 0.7167919799498746, "repo_name": "MicrochipTech/stage1", "id": "ee4852619ef2efb9e92c6a191e09cbc1c93a9ca1", "size": "1138", "bin...
package com.gs.obevo.api.platform; import com.gs.obevo.api.appdata.Change; import com.gs.obevo.api.appdata.Environment; import org.eclipse.collections.api.list.ImmutableList; /** * Represents a unit of work that will be invoked against an {@link Environment}. * * This will encapsulate a {@link Change}; ...
{ "content_hash": "84353cf5974544d1e6b249373bfdb961", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 97, "avg_line_length": 30.791666666666668, "alnum_prop": 0.6941813261163735, "repo_name": "shantstepanian/obevo", "id": "bb4d745c617c11c7b8f235de7824391693f19ffe", "size": ...
package de.cosmocode.palava.core.inject.csv; import java.util.List; import com.google.common.collect.LinkedListMultimap; import com.google.common.collect.ListMultimap; import com.google.common.collect.Multimap; import com.google.inject.TypeLiteral; import com.google.inject.spi.TypeConverter; /** * A {@link TypeC...
{ "content_hash": "6c0f088b6518c367d7d0be81dba43dfc", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 110, "avg_line_length": 30.90566037735849, "alnum_prop": 0.6575091575091575, "repo_name": "palava/palava-core", "id": "cc51d0d9893a55598590aa1122405878bdb7ea2f", "size": "2...
package com.appcutt.demo.constants; public class Constants { public static final String JSON_DATE_FORMAT = "yyyy-MM-dd HH:mm:ss"; public static final String FLICKR_ENDPOINT = "https://api.flickr.com"; public static final String FLICKR_API_KEY = "d76da24c477f8abe1101f92aff339fe6"; // public static final...
{ "content_hash": "7ee4f97e35738a18346a2030e4c973a3", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 83, "avg_line_length": 37.7, "alnum_prop": 0.7453580901856764, "repo_name": "huangfude/appcutt", "id": "9497061c66cc98385c39f2fde98d1af5530fe68d", "size": "377", "binary"...
///////////////////////////////////////////////////////////////////////////////////////////// // Copyright 2017 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // ...
{ "content_hash": "7b22fc1db0a920b093ee846bfa3fd3d6", "timestamp": "", "source": "github", "line_count": 136, "max_line_length": 159, "avg_line_length": 37.55882352941177, "alnum_prop": 0.6388018794048551, "repo_name": "GameTechDev/ClusteredShadingAndroid", "id": "ba31ab8434d396c1dc7a09b39b2048dfb9ca9...
package config import ( "flag" "fmt" ) type Tiller struct { // Tiller image repo to use when deploying ImageRepo string // Tiller image tag to use when deploying ImageTag string } func (n *Tiller) AddFlags(fs *flag.FlagSet) { fs.StringVar(&n.ImageRepo, "tiller-image-repo", "gcr.io/kubernetes-helm/tiller", ...
{ "content_hash": "17018d435ba8cd2270caac0b1c987cb4", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 120, "avg_line_length": 22.78125, "alnum_prop": 0.6872427983539094, "repo_name": "jetstack-experimental/cert-manager", "id": "49243017559393c03b6be81bac104384f84e0a1a", "si...
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef __CAMERASTREAMIMPL_H__ #define __CAMERASTREAMIMPL_H__ #include "nsString.h" #include "AndroidBridge.h" /...
{ "content_hash": "99d36ab189c913860b05cdf603e041d2", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 140, "avg_line_length": 25.073529411764707, "alnum_prop": 0.669208211143695, "repo_name": "wilebeast/FireFox-OS", "id": "1ce1b37ebeded3e083ca78f63072b0685442852e", "size": ...
package com.elmakers.mine.bukkit.api.block; import java.util.Map; import javax.annotation.Nonnull; import javax.annotation.Nullable; import org.bukkit.Material; import org.bukkit.block.Block; import org.bukkit.inventory.ItemStack; import com.elmakers.mine.bukkit.api.item.ItemUpdatedCallback; import com.elmakers.mine...
{ "content_hash": "28f7b40d3ed7f869024d613937886d5e", "timestamp": "", "source": "github", "line_count": 89, "max_line_length": 128, "avg_line_length": 36.96629213483146, "alnum_prop": 0.737386018237082, "repo_name": "elBukkit/MagicPlugin", "id": "16a911c1d47f7221f764f044c7411a0b6e6fa687", "size": "...
<?php namespace Chamilo\Libraries\Test\Unit\File\PackagesContentFinder; use Chamilo\Libraries\Architecture\Test\Test; use Chamilo\Libraries\File\PathBuilder; use Chamilo\Libraries\File\PackagesContentFinder\PackagesFilesFinder; /** * Tests the packages files finder * * @package Chamilo\Libraries * * @author Sve...
{ "content_hash": "368986b962bdba94b67d14e02903f410", "timestamp": "", "source": "github", "line_count": 128, "max_line_length": 113, "avg_line_length": 31.4140625, "alnum_prop": 0.656055707535439, "repo_name": "cosnicsTHLU/cosnics", "id": "fb9ce3f541602127c1ca4318aaf751c73d156283", "size": "4021", ...
package redis import ( "errors" "fmt" "sync" "time" "github.com/fzzy/radix/redis" datastore "github.com/djbarber/ipfs-hack/Godeps/_workspace/src/github.com/jbenet/go-datastore" query "github.com/djbarber/ipfs-hack/Godeps/_workspace/src/github.com/jbenet/go-datastore/query" ) var _ datastore.Datastore = &Datas...
{ "content_hash": "de63a18f32acf999ed4148be26a39311", "timestamp": "", "source": "github", "line_count": 92, "max_line_length": 114, "avg_line_length": 24.206521739130434, "alnum_prop": 0.6892680736416704, "repo_name": "djbarber/ipfs-hack", "id": "6af57dd7c96e7dc656f56b4638ac1ebe5ffda35f", "size": "...
/*---------------------------- Include ---------------------------------------*/ #include <coocox.h> #if CFG_TASK_WAITTING_EN > 0 /*---------------------------- Variable Define -------------------------------*/ P_OSTCB DlyList = Co_NULL; /*!< Header pointer to the DELAY list.*/ /** **********...
{ "content_hash": "71f5d7dfe99417ca83889cf19734b249", "timestamp": "", "source": "github", "line_count": 363, "max_line_length": 86, "avg_line_length": 36.56198347107438, "alnum_prop": 0.4342224231464738, "repo_name": "apkbox/lpc_testbed", "id": "483976c818c66bff6211d5e7cc4898a792aad822", "size": "1...
package com.cisco.axl.api._8; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for LDateTimeGroupNtpReference complex type. * * <p>The following schema fr...
{ "content_hash": "00f6bd85ed2543d8352a2c6f825d0e78", "timestamp": "", "source": "github", "line_count": 115, "max_line_length": 110, "avg_line_length": 23.904347826086955, "alnum_prop": 0.5871225900327391, "repo_name": "ox-it/cucm-http-api", "id": "878f8ab2bdd985efc8930314c7335e6e124aeafe", "size":...
package black.alias.pixelpie.graphics; import black.alias.pixelpie.PixelPie; import processing.core.PApplet; import processing.core.PGraphics; import processing.opengl.PGraphicsOpenGL; public class Graphics { public int x, y, depth, index; public PGraphics graphic; final PixelPie pie; public Graphics(int PosX, i...
{ "content_hash": "2e9993f9b6fa6d506a16cc4584a2085d", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 114, "avg_line_length": 28.17105263157895, "alnum_prop": 0.6501634750116768, "repo_name": "AliasBlack/pixelpie", "id": "953e5325b728b89b35bb02ea33ca656d846a47c7", "size": "...
package org.apache.hadoop.io; import java.io.*; import java.util.Random; import junit.framework.TestCase; /** Unit tests for Writable. */ public class TestWritable extends TestCase { public TestWritable(String name) { super(name); } /** Example class used in test cases below. */ public static class SimpleWri...
{ "content_hash": "46550f02f4f53a07083f1602def0d77c", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 72, "avg_line_length": 26.901639344262296, "alnum_prop": 0.6776355880560634, "repo_name": "moreus/hadoop", "id": "9abee975b4db2310c08179d12499f5c2b782be12", "size": "2447",...
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context="${packageName}.${activityClass}" > <me.angeldevil.pairscrollview.PairScrollView a...
{ "content_hash": "4e3fe94ab71b0c23c5e7f54692658d86", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 74, "avg_line_length": 35.5, "alnum_prop": 0.6468039003250271, "repo_name": "0359xiaodong/PairScrollView", "id": "e3036726417cac710a5b3ba241b224535ea2dce9", "size": "923", ...
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ JBoss, Home of Professional Open Source. ~ Copyright 2014, Red Hat, Inc., and individual contributors ~ as indicated by the @author tags. See the copyright.txt file in the ~ distribution for a full listing of individual contributors. ~ ~ This is free software; ...
{ "content_hash": "12545be4e049ff9ebee180ee8b8d73ad", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 105, "avg_line_length": 46.77777777777778, "alnum_prop": 0.7220902612826603, "repo_name": "Iranox/mapbench-clients", "id": "f328af1b838d32bd533f91decdb628dc8aec8447", "size...
using System.Collections.Generic; using System.Linq; namespace Nop.Services.Customers { /// <summary> /// Customerregistration result /// </summary> public class CustomerRegistrationResult { /// <summary> /// Ctor /// </summary> public CustomerRegistrationResult()...
{ "content_hash": "c15387e3206018043e43b4711ce1af0b", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 83, "avg_line_length": 23.195121951219512, "alnum_prop": 0.5047318611987381, "repo_name": "Anovative/Nop39", "id": "1e5218413029b508c257ca9f017bc6b5e38f8d6b", "size": "953"...
from PIL import Image, ImageDraw DirectionNames = [ 'North', 'West', 'South', 'East' ] SpriteDir = "sprites" def CreateAtlas( sheetName, default, sprite_size, atlas_size, directionalAnimations, manualAnimations ): print( "Building: " + sheetName ) maxWidth = atlas_size[0] maxHeight = atlas_size[1] spriteWidth = ...
{ "content_hash": "debaac6f3dfdb3b10c282bbeaf97fe7c", "timestamp": "", "source": "github", "line_count": 131, "max_line_length": 104, "avg_line_length": 31.786259541984734, "alnum_prop": 0.627281460134486, "repo_name": "smacdo/Dungeon-Crawler", "id": "93f94897b82216c4750b8a49c94d8b427ff9c91f", "size...
require "formula" require "compilers" module SharedEnvExtension include CompilerConstants CC_FLAG_VARS = %w[CFLAGS CXXFLAGS OBJCFLAGS OBJCXXFLAGS] FC_FLAG_VARS = %w[FCFLAGS FFLAGS] SANITIZED_VARS = %w[ CDPATH GREP_OPTIONS CLICOLOR_FORCE CPATH C_INCLUDE_PATH CPLUS_INCLUDE_PATH OBJC_INCLUDE_PATH CC...
{ "content_hash": "641258499b908481564a76895a20097d", "timestamp": "", "source": "github", "line_count": 292, "max_line_length": 107, "avg_line_length": 23.623287671232877, "alnum_prop": 0.6310524789794143, "repo_name": "adamliter/linuxbrew", "id": "d3a5c8955f41640303f6ac604a7fee217c569b9d", "size":...
<!DOCTYPE html> <html> <head> <!-- BEGIN META SECTION --> <meta charset="utf-8"> <title>Themes Lab - Creative Laborator</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta content="" name="description" /> <meta content="themes-lab" name=...
{ "content_hash": "38904b1f0d85093d1dc95173e7751f50", "timestamp": "", "source": "github", "line_count": 96, "max_line_length": 379, "avg_line_length": 55.229166666666664, "alnum_prop": 0.509430403621275, "repo_name": "shumanth/Admin-Template-Make", "id": "4b9c0b3ff55986f317843555f268c143f7e54f32", ...
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>scrap_content (Feedzirra::FeedEntryUtilities)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso...
{ "content_hash": "9c6a157c6e4553c2b9c3ff7fad0ac64e", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 399, "avg_line_length": 73.05555555555556, "alnum_prop": 0.6958174904942965, "repo_name": "fifigyuri/newscrapi", "id": "7bb78cc1cc46b6805a397beeb492619547253462", "size": "...
package controller; import entity.Presentation; import entity.Promotor; import entity.Student; import exceptions.InvalidJuryMemberException; import java.util.List; import javafx.beans.value.ChangeListener; import javafx.beans.value.ObservableValue; import javafx.collections.FXCollections; import javafx.collections.Obs...
{ "content_hash": "dacc7f33a1c462cbb4708dc54ad9b85a", "timestamp": "", "source": "github", "line_count": 155, "max_line_length": 142, "avg_line_length": 38.535483870967745, "alnum_prop": 0.6442323790390089, "repo_name": "c4d3r/p2groep04", "id": "9403ea6013ed9bfe4df8cde9695ec256b728d8d8", "size": "59...
package org.terasology.physics.events; import org.terasology.entitySystem.event.Event; import org.terasology.math.geom.Vector3f; import org.terasology.network.BroadcastEvent; /** * @author Adeon */ @BroadcastEvent public class ForceEvent implements Event { private Vector3f force; protected ForceEvent() {...
{ "content_hash": "b12c297efcfb0bfdc8e6211cabe90a06", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 47, "avg_line_length": 17.923076923076923, "alnum_prop": 0.6974248927038627, "repo_name": "dimamo5/Terasology", "id": "8a2efccc18f24fd51cf688c54623469ed47ea778", "size": "1...
import { Component, Input, Output, OnInit, EventEmitter } from '@angular/core'; import { AngularComplexAction } from '../types'; /** * Component to display a Shopify layout */ @Component({ selector: 'plrsButton', templateUrl: 'button.component.html', host: { '[class.Polaris-ButtonGroup__Item]': '...
{ "content_hash": "0c4f000237e6a4f2889cb101973f11a5", "timestamp": "", "source": "github", "line_count": 111, "max_line_length": 79, "avg_line_length": 24.25225225225225, "alnum_prop": 0.575780089153046, "repo_name": "syrp-nz/angular-polaris", "id": "205a3bf60f4055c0dbc87f507d5ef0c08e6362bc", "size"...
import React, { Component } from 'react'; import { StyleSheet, Text, View, Image } from 'react-native'; var Message = React.createClass({ render(){ return ( <Text>message</Text> ) }, }); const styles = StyleSheet.create({ }); module.exports = Message
{ "content_hash": "8ee5c0bafd8f3f9ef087a0935d1ec38b", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 41, "avg_line_length": 13.636363636363637, "alnum_prop": 0.5766666666666667, "repo_name": "coderZsq/coderZsq.target.swift", "id": "0ae453060e9d8a6dfc55991b6b1d019db65329d3", ...
Cake addin that extends Cake with support for fastlane tools. [![License](http://img.shields.io/:license-mit-blue.svg)](https://raw.githubusercontent.com/cake-contrib/Cake.Fastlane/master/LICENSE) | Build server | Platform | Dev | Master | |-----------------------------|-------------...
{ "content_hash": "b038baa904bfc1650342e362a7378d33", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 399, "avg_line_length": 79.72222222222223, "alnum_prop": 0.6118466898954704, "repo_name": "RLittlesII/Cake.Fastlane", "id": "6e56e2b8872109c7a25c46f112d89474c726dbb1", "siz...
""" Lädt die Favoriten eines Users @author Markus Tacker <m@coderbyheart.de> """ import vertx import mutex import time from com.xhaus.jyson import JysonCodec as json from oauth import Consumer from core.event_bus import EventBus from util import parse_date from datetime import datetime, timedelta config = vertx.confi...
{ "content_hash": "705ddba3a5923096b01a445b3e3123b6", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 228, "avg_line_length": 35.39473684210526, "alnum_prop": 0.6877323420074349, "repo_name": "Gruenderhub/twitter-autocurator", "id": "e4afe5569213796864584f2909392f11c057e54f",...
/* Include declarations. */ #include "magick/studio.h" #include "magick/blob.h" #include "magick/blob-private.h" #include "magick/constitute.h" #include "magick/delegate.h" #include "magick/exception.h" #include "magick/exception-private.h" #include "magick/geometry.h" #include "magick/image.h" #include "magick/imag...
{ "content_hash": "22b3db9d6019f413218393e70a399743", "timestamp": "", "source": "github", "line_count": 385, "max_line_length": 80, "avg_line_length": 37.54025974025974, "alnum_prop": 0.5974538158167855, "repo_name": "x13945/Android-ImageMagick", "id": "8937a367880e46a323f3648608de512b4f83f3f0", "s...
<?xml version="1.0" encoding="utf-8"?> <extension version="2.5" type="plugin" group="community"> <params> <param name="count" type="text" default="5" size="3" label="PLG_MYTAGGEDVIDEOS_TOTAL_VIDEO" description="PLG_MYTAGGEDVIDEOS_XML_DESCRIPTION" /> </params> </extension>
{ "content_hash": "522b70fac6e903b4aec849914d3dd98d", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 147, "avg_line_length": 47.166666666666664, "alnum_prop": 0.6925795053003534, "repo_name": "deywibkiss/jooinworld", "id": "c70881e003c2616b602367c81d27bc879dcef8a5", "size":...
"""Tests for soft sorting tensorflow layers.""" import tensorflow.compat.v2 as tf from soft_sort.matrix_factorization import data class DataTest(tf.test.TestCase): def setUp(self): super().setUp() tf.random.set_seed(0) self._data = data.SyntheticData( num_features=50, num_individuals=200, low_...
{ "content_hash": "4ca98cf90a9536918d2a92cb7fc854f0", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 58, "avg_line_length": 21.869565217391305, "alnum_prop": 0.6660039761431411, "repo_name": "google-research/google-research", "id": "52f354944ced07bd04e12c0d9723a1cf6c1b81d3",...
<a href='https://github.com/angular/angular.js/edit/v1.4.x/docs/content/error/index.ngdoc?message=docs(error%2FError Reference)%3A%20describe%20your%20change...' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit">&nbsp;</i>Improve this Doc</a> <h1 id="error-reference">Error Reference</h1> <p>Use...
{ "content_hash": "0d2fbf20f1def5dd2735fe9ea1141606", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 265, "avg_line_length": 53.666666666666664, "alnum_prop": 0.7565217391304347, "repo_name": "greatdreams/sails-demo", "id": "600d60fe64be1a93cc9f198151562a40a61dce38", "size...
<!-- Unsafe sample input : get the field userData from the variable $_GET via an object, which store it in a array sanitize : use of the function addslashes File : unsafe, use of untrusted data in a quoted property value (CSS) --> <!--Copyright 2015 Bertrand STIVALET Permission is hereby granted, without written ag...
{ "content_hash": "40c595538c5892502c2df04557bb4a42", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 95, "avg_line_length": 22.39189189189189, "alnum_prop": 0.7157513578756789, "repo_name": "stivalet/PHP-Vulnerability-test-suite", "id": "3c783c89bc099103fb95de0534a1897ca0c26...
/* * generated by Xtext */ package person.zhoujg.parser.antlr; import java.io.InputStream; import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; public class FeatureAntlrTokenFileProvider implements IAntlrTokenFileProvider { @Override public InputStream getAntlrTokenFile() { ClassLoader classLoader =...
{ "content_hash": "b8566effecd2b7aec82c5b27f0b1980a", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 106, "avg_line_length": 28.875, "alnum_prop": 0.803030303030303, "repo_name": "xiaomayimana/test1", "id": "6ca87fb81edebb643209b9808a061e7868825ddb", "size": "462", "bina...
<!doctype html> <html> <head> <title>Network | Random nodes</title> <style type="text/css"> body { font: 10pt sans; } #mynetwork { width: 600px; height: 600px; border: 1px solid lightgray; } </style> <script type="text/javascript" src="../../dist/vis.js"></script> <li...
{ "content_hash": "6c0e5104aa5419b4d885c3e65dce2be6", "timestamp": "", "source": "github", "line_count": 147, "max_line_length": 120, "avg_line_length": 26.360544217687075, "alnum_prop": 0.5594838709677419, "repo_name": "tjpeden/baby-countdown", "id": "51f226f40f857a451ece769bc9bd2b236ead3ccb", "siz...
package org.apache.flink.table.expressions import org.apache.calcite.rex.RexNode import org.apache.calcite.tools.RelBuilder import org.apache.flink.api.common.typeinfo.TypeInformation import org.apache.flink.api.common.typeutils.CompositeType import org.apache.flink.table.api.UnresolvedException import org.apache.fl...
{ "content_hash": "00b7cba6c757bc4b7f1a746e1295947a", "timestamp": "", "source": "github", "line_count": 92, "max_line_length": 99, "avg_line_length": 33.02173913043478, "alnum_prop": 0.6869651086240948, "repo_name": "shaoxuan-wang/flink", "id": "1f858a10eb315b5000f031264e7d66b7b5de63b4", "size": "3...
<?php return [ /* |-------------------------------------------------------------------------- | Application Environment |-------------------------------------------------------------------------- | | This value determines the "environment" your application is currently | running in. This m...
{ "content_hash": "6ff97e6d4e528bb0ae9cab7fd72ca05c", "timestamp": "", "source": "github", "line_count": 209, "max_line_length": 79, "avg_line_length": 40.301435406698566, "alnum_prop": 0.5385254659859907, "repo_name": "05K4R1N/Fabrica-de-Software", "id": "c1d444c66bc52cdb923ca4ece9dc31c25db22717", ...
package android.text; import android.view.View; import java.nio.CharBuffer; /** * Some objects that implement {@link TextDirectionHeuristic}. Use these with * the {@link BidiFormatter#unicodeWrap unicodeWrap()} methods in {@link BidiFormatter}. * Also notice that these direction heuristics correspond to the sa...
{ "content_hash": "d54ffb1b4c057f28e301724b502d96e6", "timestamp": "", "source": "github", "line_count": 289, "max_line_length": 99, "avg_line_length": 40.529411764705884, "alnum_prop": 0.5801246478272005, "repo_name": "daiqiquan/framework-base", "id": "354c15fae66ff02c9a7b389e6cb274287f38175d", "si...
package org.unitils.database.core; import org.junit.Before; import org.junit.Test; import org.springframework.jdbc.core.simple.SimpleJdbcTemplate; import org.unitils.UnitilsJUnit4; import org.unitils.core.UnitilsException; import org.unitils.mock.Mock; import org.unitils.mock.PartialMock; import static ...
{ "content_hash": "a70fcf69773d63192aeb1ec68fb4e085", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 103, "avg_line_length": 30.216666666666665, "alnum_prop": 0.670711527854385, "repo_name": "Silvermedia/unitils", "id": "4490c0897e816c5801abb6cc11c0357460a5c29b", "size": "...
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ //--------------------------------...
{ "content_hash": "0b3111b371095e6ef3d867e7b99c48be", "timestamp": "", "source": "github", "line_count": 97, "max_line_length": 79, "avg_line_length": 30.030927835051546, "alnum_prop": 0.6007552351527635, "repo_name": "wilebeast/FireFox-OS", "id": "93a5eb99844d44ea33d7cad75273a6b51151078c", "size": ...