text
stringlengths
2
1.04M
meta
dict
import Ember from 'ember-metal/core'; import { testBoth } from 'ember-metal/tests/props_helper'; import { addListener } from 'ember-metal/events'; import { watch, unwatch, destroy } from 'ember-metal/watching'; var willCount, didCount, willKeys, didKeys, originalLookup, lookup, Global; QUnit.module('wat...
{ "content_hash": "abb3ad48439bc41e75fd6a6d1d85d79b", "timestamp": "", "source": "github", "line_count": 274, "max_line_length": 117, "avg_line_length": 30.145985401459853, "alnum_prop": 0.6549636803874092, "repo_name": "marcioj/ember.js", "id": "c6aea444f39ed87e79ec39b00b0cf6fa4364da63", "size": "8...
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2013 The Android Open Source Project 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/license...
{ "content_hash": "f9a2fc7a834c4529d90654458a35063d", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 224, "avg_line_length": 57.63157894736842, "alnum_prop": 0.7223744292237443, "repo_name": "Danmarjim/SDOS", "id": "d74ed0808499022d47cb48c3f47ee6422bb7a247", "size": "1095"...
package com.google.common.testing; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull; import static org.truth0.Truth.ASSERT; import com.google.common.base.Function; import com.google.common.base.Supplier; import com.google.common.collec...
{ "content_hash": "4d0659f86ed1aeec162416eb443cbaf4", "timestamp": "", "source": "github", "line_count": 1236, "max_line_length": 84, "avg_line_length": 32.050970873786405, "alnum_prop": 0.7042029534267323, "repo_name": "sensui/guava-libraries", "id": "b051b1758538a4bdf8e3692759b84f8fc8778964", "siz...
import os import sys from utdirect.utils import setup_extra # If you use an 'extra' folder with svn externals, uncomment the following lines: #CURRENT_DIR = os.path.dirname(os.path.abspath(__file__)) #setup_extra(os.path.join(CURRENT_DIR, 'extra')) import settings if __name__ == "__main__": os.environ.setdefault...
{ "content_hash": "6b862ccd433a08086e10063394ddb7db", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 81, "avg_line_length": 32.10526315789474, "alnum_prop": 0.7016393442622951, "repo_name": "jeffles/LI", "id": "276060fd6e6f04dc1e3f2a462089afca05621c54", "size": "632", "b...
using System.Reflection; using System.Resources; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Cirrious.Plugins.MethodBinding")] [assembly: AssemblyDes...
{ "content_hash": "90d1753899c0e0ebf614c4e3bef9b957", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 83, "avg_line_length": 37.17857142857143, "alnum_prop": 0.7454370797310279, "repo_name": "martijn00/MvvmCross-Plugins", "id": "3229e459cc47414164dabe048ad4c6addbc6af0f", "s...
// fCraft is Copyright 2009-2012 Matvei Stefarov <me@matvei.org> // original TorusDrawOperation written and contributed by M1_Abrams using System; using System.Collections.Generic; namespace fCraft.Drawing { public sealed class TorusDrawOperation : DrawOperation { const float Bias = 0.5f; Vector3...
{ "content_hash": "32a1b38f63b2c227e6e53c46e6a71a52", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 102, "avg_line_length": 35.81818181818182, "alnum_prop": 0.5206218274111675, "repo_name": "DingusBungus/LegendCraft-RPG", "id": "7f31ec92cc6cd02091e7c4d5d0a0c3d4fee4bef6", ...
<?php final class PhutilAWSException extends Exception { private $httpStatus; private $requestID; public function __construct($http_status, array $params) { $this->httpStatus = $http_status; $this->requestID = idx($params, 'RequestID'); $this->params = $params; $desc = array(); $desc[] = ...
{ "content_hash": "d4dbee04157bdf4e79d139794e8f8ca4", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 63, "avg_line_length": 23.11111111111111, "alnum_prop": 0.55, "repo_name": "memsql/libphutil", "id": "d48abf2080bf6f9038bc3b93f61e871f54d165a3", "size": "1040", "binary":...
<?php namespace Chamilo\Core\Repository\ContentObject\Blog\Display\Component; use Chamilo\Core\Repository\ContentObject\Blog\Display\Manager; use Chamilo\Libraries\Architecture\Application\ApplicationConfiguration; use Chamilo\Libraries\Architecture\Interfaces\DelegateComponent; /** * * @package repository.lib.comp...
{ "content_hash": "65ce8cf07c202389567f6bc65eaec773", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 96, "avg_line_length": 33.04761904761905, "alnum_prop": 0.7536023054755043, "repo_name": "forelo/cosnics", "id": "cea44f4e34301bbbbca7dc51cc055b4a49914ded", "size": "694", ...
''' File: statistics.py Author: Oliver Zscheyge Description: Collection of statistics functions. ''' import math def mean(values, ndigits=None): """ Return: Mean of values, rounded to ndigits. """ n = len(values) if n == 0: raise ValueError(u"Can't compute mean over empty lis...
{ "content_hash": "03266651e910dd3fc4d519ec74214fb6", "timestamp": "", "source": "github", "line_count": 112, "max_line_length": 95, "avg_line_length": 29.4375, "alnum_prop": 0.6060054595086443, "repo_name": "ooz/Confopy", "id": "1bcf618b8baf446984bfce0d820c06c28cde07e5", "size": "3313", "binary":...
package com.planet_ink.coffee_mud.Abilities.Prayers; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com....
{ "content_hash": "6a7b709165656084fc8c118f9bcf5b35", "timestamp": "", "source": "github", "line_count": 159, "max_line_length": 196, "avg_line_length": 34.56603773584906, "alnum_prop": 0.7045123726346434, "repo_name": "vjanmey/EpicMudfia", "id": "84d47accaa7888cc236da8804eb6eb7e075055c5", "size": "...
using namespace std; using namespace cv; using namespace cv::gpu; static Mat loadImage(const string& name) { Mat image = imread(name, IMREAD_GRAYSCALE); if (image.empty()) { cerr << "Can't load image - " << name << endl; exit(-1); } return image; } int main(int argc, const char* ar...
{ "content_hash": "5476b5d19ff2867fb48f56dcded46148", "timestamp": "", "source": "github", "line_count": 193, "max_line_length": 181, "avg_line_length": 34.35751295336787, "alnum_prop": 0.5383803347911326, "repo_name": "i4Ds/IRE", "id": "6f12ad75dfbe0c3ab87dd47b054475dac04d2482", "size": "6870", "...
using RestSharp.Deserializers; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace CodyQuiz.Web.Model { public class Message { [DeserializeAs(Name = "message_id")] public int Id { get; set; } public DateTime Date { get; set; } ...
{ "content_hash": "4142cd26373336d4aa393ae5475de5d7", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 44, "avg_line_length": 18.35, "alnum_prop": 0.6512261580381471, "repo_name": "CodeMOOC/CodyQuiz", "id": "9e88b22efee5f1a87159bed637e75f05c80f00a8", "size": "369", "binary...
using System; using System.Linq; using System.Web.Mvc; using System.Web.UI; using BLToolkit.EditableObjects; using Kendo.Mvc.UI; using bv.common.Core; using eidss.model.Reports; using eidss.model.Reports.Common; using eidss.model.Resources; using eidss.model.Schema; using bv.model.BLToolkit; using eidss.mo...
{ "content_hash": "25d1cf4a3793472bb215cb6a04963be3", "timestamp": "", "source": "github", "line_count": 776, "max_line_length": 237, "avg_line_length": 49.128865979381445, "alnum_prop": 0.5529063057391669, "repo_name": "EIDSS/EIDSS-Legacy", "id": "82afaa38bbe2b48a9d854fedc11d44242d0adb28", "size": ...
package floschlo.smokingspots.views; import android.content.Context; import android.util.AttributeSet; import android.widget.RelativeLayout; /** * This is a relative layout where its width is same as its height. */ public class RectRelativeLayout extends RelativeLayout { public static int MATCH_WIDTH = 0; ...
{ "content_hash": "386579ea81b04095dcda75a4e157d5d7", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 75, "avg_line_length": 20.732142857142858, "alnum_prop": 0.6494401378122309, "repo_name": "Floschlo/SmokingSpots", "id": "64bc5d877bbdd23b0e162e33f33640b9dbb9d99e", "size":...
datafolder: engine-cli datafile: docker_cp title: docker cp --- <!-- Sorry, but the contents of this page are automatically generated from Docker's source code. If you want to suggest a change to the text that appears here, you'll need to find the string by searching this repo: https://www.github.com/docker/docker -->...
{ "content_hash": "fa0b20d38ff0b60d76def43ea2e905e9", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 78, "avg_line_length": 32.8, "alnum_prop": 0.7378048780487805, "repo_name": "docker-zh/docker.github.io", "id": "b8d4c3ffc594aaff83bd347287cd682206b46e57", "size": "496", ...
package jrds.starter; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.TimerTask; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.RejectedExecutionException; import java.util.concurrent.Semapho...
{ "content_hash": "a3604baeab8063839b0f232091d4c3dd", "timestamp": "", "source": "github", "line_count": 217, "max_line_length": 119, "avg_line_length": 34.50230414746544, "alnum_prop": 0.5227728061974088, "repo_name": "snow-listen/Mycat-Web", "id": "be376fdf8b25af58a78ac2b160d6427209e88cfa", "size"...
#include <aws/core/client/AWSError.h> #include <aws/core/client/CoreErrors.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <aws/core/utils/HashingUtils.h> using namespace Aws::Client; using namespace Aws::Utils; using namespace Aws::Http; #ifdef _MSC_VER #pragma warning(push) // VS2015 compiler's bug, war...
{ "content_hash": "1b3aab576e0eaa9875d6c277e93d5c49", "timestamp": "", "source": "github", "line_count": 148, "max_line_length": 144, "avg_line_length": 65.6891891891892, "alnum_prop": 0.7603373791400946, "repo_name": "awslabs/aws-sdk-cpp", "id": "8c2c288dcd4f08a548e36538054a0cca17af2809", "size": "...
// Copyright 2013, Google Inc. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package zktopo import ( "encoding/json" "fmt" "path" "sort" "github.com/youtube/vitess/go/event" "github.com/youtube/vitess/go/vt/topo" "github.com/youtub...
{ "content_hash": "c400f4a4dc28773f651f3704f570ee6a", "timestamp": "", "source": "github", "line_count": 157, "max_line_length": 118, "avg_line_length": 27.261146496815286, "alnum_prop": 0.7046728971962617, "repo_name": "kmiku7/vitess-annotated", "id": "75ce431110af3f8d5e94acc96d6ad96848e31b3e", "si...
{% extends "notifications/_alerts/emails/base.html" %} {% block content %} <table cellspacing="0" cellpadding="0" align="left"> <tbody> <tr> <h3>Alert details</h3> <strong>Period: </strong> {{ trigger.from|day_local:timezone }} - between {{ trigger.from|time_local:timezone }} and {{ ...
{ "content_hash": "e9ece7f13f38759c16d2ed3dbd88391c", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 187, "avg_line_length": 46.205128205128204, "alnum_prop": 0.5660377358490566, "repo_name": "martinrusev/amonone", "id": "df537ec07347e966cc634fa53e3d67f3cfbdbe7e", "size": ...
r"""Train Onsets and Frames piano transcription model.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import os from magenta.common import tf_utils from magenta.models.onsets_frames_transcription import constants from magenta.models.onsets_frames_trans...
{ "content_hash": "fe2aa84fed487aa46c4ad517bb81711f", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 79, "avg_line_length": 31.410958904109588, "alnum_prop": 0.6916703009158308, "repo_name": "adarob/magenta", "id": "9422fb329157f94caacef498e23e2cd70cc983bd", "size": "2878"...
require "spec_helper" RSpec.describe "SP Product Ad Requests" do before(:all) do blurb = Blurb.new() @resource = blurb.active_profile.product_ads @resource_name = 'ad' @create_hash = { sku: Faker::Lorem.word, state: ["enabled", "paused"].sample, campaign_id: blurb.active_profile.cam...
{ "content_hash": "e83bba5f3fa963dfe8bfff068e77b238", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 105, "avg_line_length": 28.285714285714285, "alnum_prop": 0.6481481481481481, "repo_name": "iserve-products/blurb", "id": "d8836358ad0e03a13e9986092fd58559d5c7716c", "size"...
<?php namespace Symfony\Component\HttpKernel\Tests\Profiler; use Symfony\Component\HttpKernel\Profiler\MemcachedProfilerStorage; use Symfony\Component\HttpKernel\Tests\Profiler\Mock\MemcachedMock; /** * @group legacy */ class MemcachedProfilerStorageTest extends AbstractProfilerStorageTest { pr...
{ "content_hash": "8d60bc69104ddb6cb6e3ed90a2fb5792", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 100, "avg_line_length": 24.266666666666666, "alnum_prop": 0.6053113553113553, "repo_name": "Condors/TunisiaMall", "id": "f035f774f03bcf2dea8d7cd8e6fb2ea68683dcc4", "size": ...
package com.appeaser.sublimepickerlibrary.datepicker; import android.content.Context; import android.graphics.drawable.Drawable; import android.os.Parcelable; import android.support.v4.view.PagerAdapter; import android.support.v4.view.ViewPager; import android.util.AttributeSet; import android.util.Log; import andro...
{ "content_hash": "1b80a446106b22b4927f181efe2c9630", "timestamp": "", "source": "github", "line_count": 551, "max_line_length": 104, "avg_line_length": 35.740471869328495, "alnum_prop": 0.5556796831361397, "repo_name": "andela-kogunde/CheckSmarter", "id": "b88529162aa11d679fd2e75b0d8047636c6504bc", ...
package docker import ( "fmt" "net" "net/url" "strconv" "sync" "time" "github.com/fsouza/go-dockerclient/testing" "github.com/tsuru/config" "github.com/tsuru/docker-cluster/cluster" "github.com/tsuru/tsuru/app" "github.com/tsuru/tsuru/db" "github.com/tsuru/tsuru/iaas" "github.com/tsuru/tsuru/provision/pr...
{ "content_hash": "92851ce8e2ee78085f938e6d80b0fc9d", "timestamp": "", "source": "github", "line_count": 624, "max_line_length": 113, "avg_line_length": 32.8349358974359, "alnum_prop": 0.6876860754551223, "repo_name": "RichardKnop/tsuru", "id": "6fa5986d1573d357d4af3974b4ef7c8e6c470080", "size": "20...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using umbraco.NodeFactory; using Umbraco.Web; namespace InfoCaster.Umbraco.UrlTracker.Models { public class UrlTrackerDomain { public int Id { get; set; } public int NodeId { get; set; } public string ...
{ "content_hash": "2e5be00a73e3f2d695f641dede8e100c", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 260, "avg_line_length": 34.014925373134325, "alnum_prop": 0.46643264589732336, "repo_name": "GertyEngrie/UrlTracker", "id": "79b2e1f4c4799fca54e646588dcc53764484ac64", "siz...
var express = require('express'); var router = express.Router(); var User = require('../models/user'); router.get('/', function(req, res, next) { res.render('index'); }); module.exports = router;
{ "content_hash": "f007a32114e0f8e68b8bf3f7fde8b62b", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 42, "avg_line_length": 22.22222222222222, "alnum_prop": 0.65, "repo_name": "IrmantasLiepis/logo-design", "id": "056cd1170b64ef9795b2e8a7c25ae548cc26db66", "size": "200", "...
package org.apache.geronimo.kernel.config; import java.net.URI; import javax.management.ObjectName; import org.apache.geronimo.gbean.GBeanData; import org.apache.geronimo.kernel.GBeanNotFoundException; /** * A specialized ConfigurationManager that can change the set of GBeans * included in the configuration at run...
{ "content_hash": "edb2898f1d720a7093215058ee337ed5", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 124, "avg_line_length": 40.375, "alnum_prop": 0.7368421052631579, "repo_name": "vibe13/geronimo", "id": "2723c55b25208661afba9760439c00b56379c455", "size": "1922", "binar...
emacsclient -create-frame --nw --alternate-editor="" "$@"
{ "content_hash": "36cfe6f32c5239a7a48cdaa21d43c7a1", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 57, "avg_line_length": 58, "alnum_prop": 0.6724137931034483, "repo_name": "KyleOndy/dotfiles", "id": "d6c46726462fe315d1879c4c5a2c546c78c514ba", "size": "201", "binary": f...
namespace EliotJones.DataTable.Types { using System.Reflection; public class ExtendedPropertyInfo { public string FieldName { get; set; } public PropertyInfo PropertyInfo { get; set; } public int ColumnIndex { get; set; } public ExtendedPropertyInfo(string fieldName, Pro...
{ "content_hash": "cb2b1b7d1aa0c4a94bd55d628cd72f1d", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 97, "avg_line_length": 25.95, "alnum_prop": 0.6339113680154143, "repo_name": "EliotJones/DataTable", "id": "1e753bf2dc9d1c881eefcb10e286d4f093f70248", "size": "521", "bin...
import json import os import random import unittest import warnings from copy import deepcopy import numpy as np from scipy.misc import central_diff_weights from pymatgen.analysis.elasticity.elastic import ( ComplianceTensor, ElasticTensor, ElasticTensorExpansion, NthOrderElasticTensor, diff_fit, ...
{ "content_hash": "bed3b84c9bfdfab6ae0e3ef6915496f9", "timestamp": "", "source": "github", "line_count": 478, "max_line_length": 118, "avg_line_length": 44.44979079497908, "alnum_prop": 0.5946251235468537, "repo_name": "davidwaroquiers/pymatgen", "id": "db305bdaf5d12e6a82e74e43c49cc61d6e8494f2", "si...
set +e # Case insensitive string comparison shopt -s nocaseglob #shopt -s nocasematch ECHO=echo OS= ARCH= WORD= NO_UI=${NO_UI-} GIT_PROTOCOL=${GIT_PROTOCOL:="git"} GIT_URL=${GIT_URL:=$GIT_PROTOCOL"://factorcode.org/git/factor.git"} SCRIPT_ARGS="$*" # return 1 on found test_program_installed() { if ! [[ -n `type ...
{ "content_hash": "5bed874c8d02833c46b93435549f6dab", "timestamp": "", "source": "github", "line_count": 720, "max_line_length": 193, "avg_line_length": 25.304166666666667, "alnum_prop": 0.587408749108074, "repo_name": "bjourne/factor", "id": "3424ba1a79962a626c7c5f451472f0253f96908a", "size": "1829...
SuperCamera = function (player, game) { this.camera = game.camera; this.player = player; this.worldWidth = game.world.width; this.camera.follow(this.player); this.camera.deadzone = new Phaser.Rectangle(50, 0, game.width - 200, 0); // if the player is on the left side... this.isScrollingLeft = function () { if...
{ "content_hash": "24d68881ff051664f4ec00eadfb13d17", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 118, "avg_line_length": 28.060606060606062, "alnum_prop": 0.6900647948164147, "repo_name": "TransNeptunianStudios/VikingRobotRampage", "id": "3414389ae8058152db320ececc245ffa...
/** * Contains logic for deleting and adding tags. * * For deleting tags it makes a request to the server to delete the tag. * For adding tags it makes a request to the server to add the tag. * * @output wp-admin/js/tags.js */ /* global ajaxurl, wpAjax, tagsl10n, showNotice, validateForm */ jQuery(document).r...
{ "content_hash": "58a57f957959b2418cc05b8df844f546", "timestamp": "", "source": "github", "line_count": 147, "max_line_length": 149, "avg_line_length": 29.564625850340136, "alnum_prop": 0.5964104924068109, "repo_name": "shampine/patrickshampine.com", "id": "0f195c777e529acc742945571862803c88763c9c", ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE126_Buffer_Overread__wchar_t_alloca_memcpy_81a.cpp Label Definition File: CWE126_Buffer_Overread.stack.label.xml Template File: sources-sink-81a.tmpl.cpp */ /* * @description * CWE: 126 Buffer Over-read * BadSource: Set data pointer to a small buffer * Good...
{ "content_hash": "c22dc0ccaf5cb74b3f2ce0ad21a8d6e8", "timestamp": "", "source": "github", "line_count": 96, "max_line_length": 137, "avg_line_length": 31.90625, "alnum_prop": 0.653934051583415, "repo_name": "maurer/tiamat", "id": "e396d05ba735a7129a375b080c1dc43be73215b9", "size": "3063", "binary...
QRCodeDialog::QRCodeDialog(const QString &addr, const QString &label, bool enableReq, QWidget *parent) : QDialog(parent), ui(new Ui::QRCodeDialog), model(0), address(addr) { ui->setupUi(this); setWindowTitle(QString("%1").arg(address)); ui->chkReqPayment->setVisible(enableReq); ui->lbl...
{ "content_hash": "08c526742adc21074be97839d51a1123", "timestamp": "", "source": "github", "line_count": 158, "max_line_length": 127, "avg_line_length": 25.930379746835442, "alnum_prop": 0.5862826458384184, "repo_name": "CCPorg/PARTY-PartyCoin-Ver-631-Original", "id": "441d5e560ff49cae74ff6080296be1a5...
u8R""__RAW_STRING__( local U = require "togo.utility" local M = U.module(...) M.LogLevel = { silent = 0, error = 1, info = 2, debug = 3, } M.log_level = M.LogLevel.info local BYTE_LF = string.byte('\n', 1) local function boundary(text, s, e, byte) local step = s > e and -1 or 1 for i = s, e, step do if str...
{ "content_hash": "c2f9d8486561173234df28ef796d38fb", "timestamp": "", "source": "github", "line_count": 375, "max_line_length": 94, "avg_line_length": 21.237333333333332, "alnum_prop": 0.6621044701155199, "repo_name": "komiga/togo", "id": "da5afb1d3d8d066d700afa5456eb85c9d519814d", "size": "7964", ...
// // RKParamsAttachment.m // RestKit // // Created by Blake Watters on 8/6/09. // Copyright (c) 2009-2012 RestKit. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the Licens...
{ "content_hash": "4f92a7f14f86e2a45a7893cd35d2b84c", "timestamp": "", "source": "github", "line_count": 222, "max_line_length": 135, "avg_line_length": 31.36036036036036, "alnum_prop": 0.6093076702097099, "repo_name": "bendyworks/TravisCI.app", "id": "e62413f623756d9baa2373d44f976b40f45f9537", "siz...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE78_OS_Command_Injection__wchar_t_listen_socket_w32_execvp_63b.c Label Definition File: CWE78_OS_Command_Injection.strings.label.xml Template File: sources-sink-63b.tmpl.c */ /* * @description * CWE: 78 OS Command Injection * BadSource: listen_socket Read data ...
{ "content_hash": "ef8991c7bb39a5875a0af4e697a21863", "timestamp": "", "source": "github", "line_count": 90, "max_line_length": 108, "avg_line_length": 30.42222222222222, "alnum_prop": 0.6869978086194303, "repo_name": "maurer/tiamat", "id": "176a536199e164c56b050252d00ada4c954349ab", "size": "2738",...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>founify: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css...
{ "content_hash": "6ab5044fc1b3a92772721c4ab112c827", "timestamp": "", "source": "github", "line_count": 175, "max_line_length": 159, "avg_line_length": 41.794285714285714, "alnum_prop": 0.5542794640415641, "repo_name": "coq-bench/coq-bench.github.io", "id": "e63dc9202c1f37152cf26e8bf2aab1747ae4ad35",...
<?php /** Zend_Controller_Router_Abstract */ require_once 'Zend/Controller/Router/Abstract.php'; /** Zend_Controller_Router_Route */ require_once 'Zend/Controller/Router/Route.php'; /** * Ruby routing based Router. * * @package Zend_Controller * @subpackage Router * @copyright Copyright (c) 2005-2010 Zend ...
{ "content_hash": "2c12d829578296ee655bcb33538a8e68", "timestamp": "", "source": "github", "line_count": 510, "max_line_length": 150, "avg_line_length": 30.978431372549018, "alnum_prop": 0.5623140705107919, "repo_name": "esteit/ZendFramework-1.11.1-minimal", "id": "4687ff370fcfb9d09c7600f5ef59b179ce72...
import React, {PropTypes} from 'react'; const CallRep = (props) => { const styles = require('./CallRep.scss'); const largeClass = props.large ? 'btn-lg' : ''; return ( <div> {props.phones && props.phones[0] && <button className={styles.btn + ' ' + largeClass + ' btn btn-primary'}>Call {props.name...
{ "content_hash": "86fb57554422086851ca7dd599c0310c", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 124, "avg_line_length": 24.19047619047619, "alnum_prop": 0.6161417322834646, "repo_name": "NetEffective/net-effective", "id": "c4837a625cefbae1a146600275ca2f5ad495e34b", "s...
package com.feilong.manager; public interface MemberManager{ }
{ "content_hash": "2b9a551fa05caf0695b755909b6d483d", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 31, "avg_line_length": 11, "alnum_prop": 0.7878787878787878, "repo_name": "venusdrogon/feilong-spring", "id": "84fb0c3055068c3a09a3e441fc07be67d35721bd", "size": "664", "b...
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="ProjectModuleManager"> <modules> <module fileurl="file://$PROJECT_DIR$/SimpleAudio.iml" filepath="$PROJECT_DIR$/SimpleAudio.iml" /> <module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" /> ...
{ "content_hash": "4426903cfc1f576567873ba44f9f9573", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 112, "avg_line_length": 47.2, "alnum_prop": 0.6716101694915254, "repo_name": "lrannn/SimpleRecorder", "id": "aa22dd8ba75f3fe44b682a8ee1a6b9f6d6c30a68", "size": "472", "bi...
/* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __STM32L0xx_HAL_FIREWALL_H #define __STM32L0xx_HAL_FIREWALL_H #ifdef __cplusplus extern "C" { #endif #if !defined (STM32L011xx) && !defined (STM32L021xx) && !defined (STM32L031xx) && !defined (STM32L041xx) /* Includes -------...
{ "content_hash": "b771e1b455928f038d74f6ec91f22c07", "timestamp": "", "source": "github", "line_count": 351, "max_line_length": 189, "avg_line_length": 50.56410256410256, "alnum_prop": 0.5349335136353391, "repo_name": "LordOfDorks/miniDICE", "id": "393195a8351261b5e7c1b15b95a898a01f6f6770", "size":...
import re import six from cassandra.util import OrderedDict from cassandra.cqlengine import CQLEngineException from cassandra.cqlengine import columns from cassandra.cqlengine import connection from cassandra.cqlengine import models class UserTypeException(CQLEngineException): pass class UserTypeDefinitionExce...
{ "content_hash": "8a17b9a0683b679c2a51bc979cc6e056", "timestamp": "", "source": "github", "line_count": 204, "max_line_length": 124, "avg_line_length": 30.524509803921568, "alnum_prop": 0.5829452384775976, "repo_name": "jregovic/python-driver", "id": "88ec033ba8e26600349f385cebd97b04e3e96eec", "siz...
/* eslint-disable */ var path = require("path"); var express = require("express"); var webpack = require("webpack"); var config = require("./webpack.config"); var app = express(); var compiler = webpack(config); var serverPort = process.env.PORT || 3000; app.use(require("webpack-dev-middleware")(compiler, { noInf...
{ "content_hash": "ae4fb712773a2cc9d7ac3f3396331e37", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 61, "avg_line_length": 21.41176470588235, "alnum_prop": 0.6689560439560439, "repo_name": "mathieulesniak/presentation-reactjs", "id": "9617aafa9d83451e250e9795bc8fac523597511...
package org.apache.syncope.core.provisioning.api.data; import org.apache.commons.lang3.tuple.Pair; import org.apache.syncope.common.lib.request.UserCR; import org.apache.syncope.common.lib.request.UserUR; import org.apache.syncope.common.lib.to.LinkedAccountTO; import org.apache.syncope.common.lib.to.UserTO; import o...
{ "content_hash": "480ef50c3a03b74a54df69159d8fdcaa", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 92, "avg_line_length": 33.74285714285714, "alnum_prop": 0.7569856054191363, "repo_name": "apache/syncope", "id": "05987f4b8d14a9e6d94edf4ad9e3f445f29bfaf1", "size": "1988",...
package org.apache.fop.afp.goca; import java.io.ByteArrayOutputStream; import java.io.IOException; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.assertEquals; import org.apache.fop.afp.fonts.CharacterSet; import org.apache.fop.afp.fonts.CharacterSetBuilder; import org.apache.fop.fo...
{ "content_hash": "ec5e711ccc8132b5735c914c500fc07f", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 97, "avg_line_length": 43.37931034482759, "alnum_prop": 0.6784578696343402, "repo_name": "chunlinyao/fop", "id": "edd777a1ce4d31a5a2fdd5ed2240d5f334495ff1", "size": "3318",...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Us...
{ "content_hash": "92f57dbf3b0321a61b3d454823cfb00b", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 84, "avg_line_length": 41.138888888888886, "alnum_prop": 0.7542201215395004, "repo_name": "isanych/usbdummyprotect", "id": "1587a4de3e8de6948e70bfb2ff05c0a57c4af6bd", "size...
/** * */ package org.apache.cassandra.service; /* * * 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...
{ "content_hash": "80f99e68f70b107f6ebe218a5f156441", "timestamp": "", "source": "github", "line_count": 118, "max_line_length": 189, "avg_line_length": 37.00847457627118, "alnum_prop": 0.7068926036180444, "repo_name": "stuhood/cassandra-old", "id": "86278f4d25b8d5428d1871852038fef89d5c6d26", "size"...
from rest_framework import viewsets from rest_framework import pagination from django_filters.rest_framework import DjangoFilterBackend from .models import SkosConcept, SkosConceptScheme, SkosLabel, SkosNamespace from .serializers import ( SkosLabelSerializer, SkosNamespaceSerializer, SkosConceptSchemeSerializer, S...
{ "content_hash": "94a4eb0c27ad0674318b6c9202e94632", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 100, "avg_line_length": 31.333333333333332, "alnum_prop": 0.8028368794326242, "repo_name": "acdh-oeaw/vhioe", "id": "6264881fd6db04c6b802fd4a6f639f65fadac7f1", "size": "141...
title: Prime pair connection localeTitle: Соединение с главной парой --- ## Проблема 134: Соединение с главной парой Это заглушка. [Помогите нашему сообществу расширить его](https://github.com/freecodecamp/guides/tree/master/src/pages/certifications/coding-interview-prep/project-euler/problem-134-prime-pair-connection...
{ "content_hash": "b0df0e36721b2b43b45c0c0e24699333", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 214, "avg_line_length": 59, "alnum_prop": 0.8072033898305084, "repo_name": "HKuz/FreeCodeCamp", "id": "5d86323b27cff1e4f450124d2929a46ddb202644", "size": "638", "binary": ...
using System.Collections.Generic; using Webshop.Infrastructure.Data.Entities; namespace Webshop.Models { public class ArticleModel { public IEnumerable<Category> Categories { get; set; } public int SelectedCategoryId { get; set; } public Product Product { get; set; } } }
{ "content_hash": "bd98fc976d3931aff883f56c17cf3dd7", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 61, "avg_line_length": 25.75, "alnum_prop": 0.686084142394822, "repo_name": "JuergenGutsch/dotnetpro-node-vs-net", "id": "805a61d18b57c7971006149e2e290fb9d46f05c3", "size":...
class AddCountryCodeToPickup < ActiveRecord::Migration def change add_column :pickups, :country_code, :string, :default => "+1" end end
{ "content_hash": "fabfe3844dc70a3a575346a64810b2e9", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 65, "avg_line_length": 28.8, "alnum_prop": 0.7222222222222222, "repo_name": "teamhacksmiths/food-drivr", "id": "6c4dce40c7dd0d2b58d40bf828da699acfd36f9b", "size": "144", "...
<?php namespace Helper; /** * Class DebugUtils * * @package Helper */ class DebugUtils { /** * Print information about class that called this method * * @param int $index */ public static function printCallClassInfo($index = null) { $backtrace = debug_backtrace(DEBUG_BACKTR...
{ "content_hash": "c0ad19f00552057dbf9cf8dbc7b30324", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 103, "avg_line_length": 21.556818181818183, "alnum_prop": 0.4765419082762256, "repo_name": "fluxuator/dune_plugin_menu_manager", "id": "6c295f515bbd978fbe09248ba2e2cef0f1ce51...
from ..helpers.search_helpers import get_filters_from_request def sections_for_lot(lot, builder): if lot is None or lot == 'all': sections = builder.filter( {'lot': 'iaas'}).filter( {'lot': 'paas'}).filter( {'lot': 'saas'}).filter( {'lot': 'scs'}).sections ...
{ "content_hash": "f758565c69eac4184a48278cb434e56e", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 63, "avg_line_length": 29.256756756756758, "alnum_prop": 0.5108545034642032, "repo_name": "AusDTO/dto-digitalmarketplace-buyer-frontend", "id": "56c82725fb620d1c30758d485f196...
<?php namespace AppBundle\Legacy\Util\Validation\Validator; use AppBundle\Entity\Community; use AppBundle\Entity\Participant; use AppBundle\Entity\Player; use AppBundle\Legacy\Util\General\ErrorCodes; use AppBundle\Repository\CommunityRepository; use AppBundle\Repository\ParticipantRepository; use AppBundle\Repositor...
{ "content_hash": "875aaa50faa19a5be0a350e1a5e21b14", "timestamp": "", "source": "github", "line_count": 179, "max_line_length": 97, "avg_line_length": 29.29608938547486, "alnum_prop": 0.5501525553012967, "repo_name": "rjcorflo/pronosticapp-backend", "id": "ae76f73f2cb95f0862008b3f77482b83d2bed617", ...
<!DOCTYPE html> <html> <head> <title>Reset src after setMediaKeys()</title> <script src="encrypted-media-utils.js"></script> <script src="../../resources/testharness.js"></script> <script src="../../resources/testharnessreport.js"></script> </head> <body> <video></vid...
{ "content_hash": "d5b42cac0c6f329ae2e43638a0c3283b", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 106, "avg_line_length": 43.225806451612904, "alnum_prop": 0.5014925373134328, "repo_name": "ric2b/Vivaldi-browser", "id": "6361926cb913b254b8cd58001dccf109c2f7c56c", "size"...
 #pragma once #include <aws/ec2/EC2_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> namespace Aws { namespace EC2 { namespace Model { enum class ReservedInstanceState { NOT_SET, payment_pending, active, payment_failed, retired, queued, queued_deleted }; namespace Reserv...
{ "content_hash": "dd56eca6a828e9f54ee6ed88620c12f0", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 91, "avg_line_length": 19.53125, "alnum_prop": 0.7504, "repo_name": "jt70471/aws-sdk-cpp", "id": "590d013185b72a739208b1175588024c067affa8", "size": "744", "binary": fals...
package org.springframework.social.showcase.signin; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; @Controller public class SigninController { @RequestMapping(value="/signin", method=Requ...
{ "content_hash": "2c1006bd9946c1363358db616b4f030a", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 62, "avg_line_length": 26, "alnum_prop": 0.8186813186813187, "repo_name": "tanvirshuvo/spring-social-samples", "id": "c443b362178d079ae0838347471ed4f2f22a910b", "size": "97...
using FclEx.Extensions; namespace FclEx.Http.Core { /// <summary> /// Contains the standard set of headers applicable to an HTTP request. /// </summary> public static class HttpKnownHeaderNames { public const string Accept = "Accept"; public const string AcceptCharset = "Accept-Cha...
{ "content_hash": "cab8429874c6a7948599a5ba4c8f62bf", "timestamp": "", "source": "github", "line_count": 111, "max_line_length": 163, "avg_line_length": 56.34234234234234, "alnum_prop": 0.68324272465622, "repo_name": "huoshan12345/FclEx", "id": "9653b34fc7169a472a6a8b8a6c948b0dbe116682", "size": "62...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link rel="shortcut icon" type="image/ico" href="http://www.datatables.net/favicon.ico"> <meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0"> <title>TableTools example - Ajax loaded data</title> <link rel="stylesheet" type="text/css" href="../....
{ "content_hash": "69768bef6550a962b80246a8ebfbe2ef", "timestamp": "", "source": "github", "line_count": 190, "max_line_length": 163, "avg_line_length": 38.92631578947368, "alnum_prop": 0.6258788534342888, "repo_name": "hashcv/ZendSkeletonApplication", "id": "81fe8089f46dacdde0380a677dceeb1c87def4c4",...
<?xml version="1.0" encoding="UTF-8"?> <doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping http://doctri...
{ "content_hash": "be8110d525d9bf47d19a35ab2fa0ab02", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 94, "avg_line_length": 47.48148148148148, "alnum_prop": 0.6209048361934477, "repo_name": "mogilvie/CalendarBundle", "id": "2e477658da979ca7e7659612ea59f3162e79294a", "size"...
package org.newdawn.noodles.chat; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.IOException; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JScrollPane; import javax.swing.JTextArea; import javax.swing.JTextField; import org.newdawn.nood...
{ "content_hash": "7720c61ea8a70b1e9fc23642ace5bcb6", "timestamp": "", "source": "github", "line_count": 121, "max_line_length": 85, "avg_line_length": 25.950413223140497, "alnum_prop": 0.6582802547770701, "repo_name": "SenshiSentou/SourceFight", "id": "44cacd0dd15b4bbf162e0da9ee76e7ebd78df833", "si...
<?xml version="1.0" encoding="UTF-8"?> <T3locallangExt> <data type="array"> <languageKey index="de" type="array"> <label index="mlang_labels_tablabel">Dateiverwaltung auf dem Server</label> <label index="mlang_tabs_tab">Datei</label> <label index="sys_file_storage.isOffline">offline</label> ...
{ "content_hash": "0544833ed34e4c22e64e8c4389ac0a0e", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 81, "avg_line_length": 36.3, "alnum_prop": 0.6749311294765841, "repo_name": "georgringer/TYPO3.base", "id": "a7181d1fdb89b1f9122ea2f0b23f652884e6d664", "size": "363", "bi...
try: from collections import OrderedDict except ImportError: from ordereddict import OrderedDict from mse.constants import * from mse.charset import fix_charset_collation class EqualityMixin: def __eq__(self, other): return (type(other) is type(self)) and self.__dict__ == other.__dict__ def _...
{ "content_hash": "f46c42d4316cf2e01d0094e931ac9498", "timestamp": "", "source": "github", "line_count": 119, "max_line_length": 114, "avg_line_length": 34.42857142857143, "alnum_prop": 0.5887234561874543, "repo_name": "frail/mysql-size-estimator", "id": "11d51ce66d2d64bca35238a2556a5648331cc6b1", "...
<!DOCTYPE html> <html> <link href="resources/flexbox.css" rel="stylesheet"> <style> body { margin: 0; } .flexbox { background-color: #aaa; position: relative; } .flexbox div { border: 0; } .flexbox > :nth-child(1) { background-color: blue; } .flexbox > :nth-child(2) { background-color: green; }...
{ "content_hash": "2656c14eef09977353e6b5066937f8dd", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 102, "avg_line_length": 32.876543209876544, "alnum_prop": 0.6609087495306046, "repo_name": "Bysmyyr/chromium-crosswalk", "id": "9c1fe29954ac4ad578ed0f2ee7b190eb1f8c1dd4", "...
<?php declare(strict_types = 1); namespace Templado\Engine; use DOMNode; use DOMNodeList; /** * Iterating over a DOMNodeList in PHP does not work when the list * changes during the iteration process. This Wrapper around NodeList * takes a snapshot of the list first and then allows iterating over it. */ class Snap...
{ "content_hash": "0863b913ed1f72e58ccbcdf28e76335b", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 80, "avg_line_length": 24.36144578313253, "alnum_prop": 0.5346191889218596, "repo_name": "templado/engine", "id": "4717c20843cd35f3a45a7413412df787f2875d17", "size": "2022"...
package com.google.android.exoplayer2.transformer; import static com.google.android.exoplayer2.util.Assertions.checkArgument; import static com.google.common.truth.Truth.assertThat; import androidx.test.ext.junit.runners.AndroidJUnit4; import com.google.android.exoplayer2.C; import com.google.android.exoplayer2.audi...
{ "content_hash": "8b9ea7a645e59f5d23f9a24a37f9ce98", "timestamp": "", "source": "github", "line_count": 436, "max_line_length": 98, "avg_line_length": 42.169724770642205, "alnum_prop": 0.7381703470031545, "repo_name": "google/ExoPlayer", "id": "4039906692536cf36b13107083bd717b7a18cc8f", "size": "19...
package com.raizlabs.android.dbflow.test.structure; import com.raizlabs.android.dbflow.config.FlowManager; import com.raizlabs.android.dbflow.test.FlowTestCase; import com.raizlabs.android.dbflow.test.TestDatabase; /** * Description: */ public class ModelAutoIncrementTest extends FlowTestCase { public void te...
{ "content_hash": "1c15c25ef39c0767e76d567d6580af19", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 58, "avg_line_length": 25.25, "alnum_prop": 0.682068206820682, "repo_name": "omegasoft7/DBFlow", "id": "ff79e804abd19acce0927dc48ee0f376fc575b83", "size": "909", "binary"...
class ReferrersController < ApplicationController def set_referrer cookies[:reflink] = reflink redirect_to root_path end private def reflink params[:code] end end
{ "content_hash": "608673e3d05b2b0ba42bc700efdbd4c5", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 49, "avg_line_length": 15.583333333333334, "alnum_prop": 0.7165775401069518, "repo_name": "smartvpnbiz/smartvpn-billing", "id": "b022140413e308eaa85b47fc5f2179ebfc7a1dc5", ...
struct ptrace_lwpinfo; unsigned char* ptrace_get_xsave(int tid, size_t *len); int ptrace_get_lwp_list(int pid, int *tids, size_t len); int ptrace_get_num_lwps(int pid);
{ "content_hash": "6f88e76b2d8aa2b9fc0bf12b0b303ef0", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 56, "avg_line_length": 34, "alnum_prop": 0.7294117647058823, "repo_name": "alexbrainman/delve", "id": "8d06d2d0c92afbd0dbfd9e7fbb0e1c2390527802", "size": "191", "binary": ...
<html> <head></head> <body> An HTML page with mock X-Frame-Options headers which are misconfigured with an invalid value (foo). </body> </html>
{ "content_hash": "6d5d2a74bdd4e32ccd6bb0dd7d245849", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 79, "avg_line_length": 22.571428571428573, "alnum_prop": 0.6582278481012658, "repo_name": "chromium/chromium", "id": "077e6ea3892ee90b3520d0d6828359cda384a4a4", "size": "158...
package com.asakusafw.compiler.bulkloader.testing.model; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; import org.apache.hadoop.io.Text; import org.apache.hadoop.io.Writable; import com.asakusafw.compiler.bulkloader.testing.io.Ex1Input; import com.asakusafw.compiler.bulkloader.test...
{ "content_hash": "0f61f690af29d4a94fdeeef769516fe5", "timestamp": "", "source": "github", "line_count": 197, "max_line_length": 116, "avg_line_length": 31.218274111675125, "alnum_prop": 0.6256910569105691, "repo_name": "asakusafw/asakusafw-legacy", "id": "c76bec6fa6018fe4e6c80fef74ab65422be20f8d", ...
package com.planet_ink.coffee_mud.MOBS; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.planet_ink.coffee_mud.Behaviors.interfaces.*; import com.pla...
{ "content_hash": "89a2cf0e59390e9536319934ff316e02", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 94, "avg_line_length": 34.293103448275865, "alnum_prop": 0.7300150829562594, "repo_name": "robjcaskey/Unofficial-Coffee-Mud-Upstream", "id": "681a7f3f406f2fc05508f2b0cd36564b...
module FbGraph module Connections module Posts def posts(options = {}) posts = self.connection :posts, options posts.map! do |post| Post.new post[:id], post.merge( :access_token => options[:access_token] || self.access_token ) end end end e...
{ "content_hash": "67adb794d6fe6c1b36a9406e4aedca11", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 72, "avg_line_length": 23.285714285714285, "alnum_prop": 0.558282208588957, "repo_name": "nov/fb_graph", "id": "9afcb922bd537c670ad143bcc5bfd12a73026d64", "size": "326", ...
<h1><code ng:non-bindable="">changeTitleForm</code> <div><span class="hint"></span> </div> </h1> <div><h2 id="description">Description</h2> <div class="description"><div class="changetitleform-page"><p>asd</p> </div></div> <h2 id="usage">Usage</h2> <div class="usage"><pre class="prettyprint linenums">changeTitleForm();...
{ "content_hash": "f1f582bbf67e4825e28a1698c16ce6fc", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 77, "avg_line_length": 31, "alnum_prop": 0.6774193548387096, "repo_name": "davidsonalencar/pagarme-challenge", "id": "df9b9199d2d168f492d656753f6b288155500a43", "size": "34...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="sr" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Tricoin</source> <translation>О Tricoin-у</translation> </messag...
{ "content_hash": "f2ba032453dd69cc4c431e25369da45d", "timestamp": "", "source": "github", "line_count": 2919, "max_line_length": 395, "avg_line_length": 34.64028776978417, "alnum_prop": 0.5987835632695446, "repo_name": "tricoin/tricoin", "id": "dbb08569712c62b68fddbffc69ade15a0466ce6b", "size": "10...
◦ [FilteredRequest](FilteredRequest.md) ◦ [PaginatedRequest](PaginatedRequest.md) ◦ [RequestOptions](RequestOptions.md)
{ "content_hash": "37e063dfaee7a633219623d083b58fe7", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 43, "avg_line_length": 31.75, "alnum_prop": 0.7559055118110236, "repo_name": "auth0/auth0-PHP", "id": "2dd984bc2b690e6aa019c7b4a2d1bb79f4dc87bb", "size": "167", "binary": ...
#import "cocos2d.h" #import "Box2D.h" #import "GLES-Render.h" #import "GameObject.h" #import "GameItem.h" #import "GameDecoration.h" #import "GameTank.h" #import "GameStartCoordsManager.h" #import "GameStartCoords.h" /* sprite index aus menu_levels.png */ static const int LEVEL_FRAGTEMPLE_IMAGE_INDEX = 0; static cons...
{ "content_hash": "e41dfa39fe919693f6d4af754c079d7a", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 84, "avg_line_length": 26.488372093023255, "alnum_prop": 0.7594381035996488, "repo_name": "johndpope/FinalFighter-mac", "id": "22eebed9c30d5294e7a37e378f8154a705e15d27", "s...
set(costmap_2d_MSG_INCLUDE_DIRS "/home/trevor/ROS/catkin_ws/src/navigation/costmap_2d/msg") set(costmap_2d_MSG_DEPENDENCIES std_msgs;geometry_msgs;map_msgs)
{ "content_hash": "5bce42a0e3a7618f15963c05c7a65198", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 91, "avg_line_length": 78.5, "alnum_prop": 0.7961783439490446, "repo_name": "siketh/ASR", "id": "851360082a9d924e554990ddeddef4de662c6aa1", "size": "222", "binary": false,...
/*jshint globalstrict:false, strict:false */ /* global assertEqual */ //////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2022 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache Lic...
{ "content_hash": "8eb9fbfdaa7e03588192b194ec289df6", "timestamp": "", "source": "github", "line_count": 94, "max_line_length": 89, "avg_line_length": 29.97872340425532, "alnum_prop": 0.627750177430802, "repo_name": "wiltonlazary/arangodb", "id": "182a291a99f61158f1255e986ee50bad042d3782", "size": "...
package uk.co.littlemike.bitshadow.web.appinstances; import uk.co.littlemike.bitshadow.appinstances.AppInstance; import uk.co.littlemike.bitshadow.appinstances.RegisterAppInstance; import uk.co.littlemike.bitshadow.apps.App; import uk.co.littlemike.bitshadow.apps.AppUpdate; import uk.co.littlemike.bitshadow.hosts.Host...
{ "content_hash": "29e6549c7a3baa270344d5c0ba38c4df", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 102, "avg_line_length": 23.629032258064516, "alnum_prop": 0.7030716723549488, "repo_name": "LittleMikeDev/bitshadow", "id": "387435f96fc47b9f8e1009c19483bb3f8d6f5122", "siz...
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Text; using System.Web.Configuration; using System.Web.Mvc; using Sdl.Web.Common; using Sdl.Web.Common.Configuration; using Sdl.Web.Common.Logging; using Sdl.Web.Common.Models; using Sdl.Web.Mvc...
{ "content_hash": "ea338eea17103374098f4f605e674179", "timestamp": "", "source": "github", "line_count": 229, "max_line_length": 167, "avg_line_length": 45.8646288209607, "alnum_prop": 0.5984004570122822, "repo_name": "sdl/dxa-web-application-dotnet", "id": "6827c9663e5bb45999c46ffa84ed009ad66ef58f", ...
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd"> <!-- Copyright © 1991-2013 Unicode, Inc. CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/) For terms of use, see http://www.unicode.org/copyright.html --> <ldml> <identity> ...
{ "content_hash": "2dddb9490a01741ab44b3c3c8164a923", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 102, "avg_line_length": 46.55882352941177, "alnum_prop": 0.7353126974099811, "repo_name": "reznikmm/matreshka", "id": "48626433cf4ae3d4057a4e06b1ae87828f99ea97", "size": "1...
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- 上述3个meta标签*必须*放在最前面,任何其他内容都*必须*跟随其后! --> <title>Prototype</title> <!-- Bootstrap --> <link href...
{ "content_hash": "c833289cca3d88c57f67d495ca55d323", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 133, "avg_line_length": 41.53333333333333, "alnum_prop": 0.5831995719636169, "repo_name": "zalath/PHP_CI_trial", "id": "25c6cca07319016b4cb85524ce2d1959d26703b2", "size": "...
package com.haskforce.parsing.jsonParser; import com.google.gson.JsonArray; import com.google.gson.JsonDeserializationContext; import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParseException; import com.haskforce.parsing.srcExtsD...
{ "content_hash": "cc5448422296e85d4855e23528e3bdab", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 119, "avg_line_length": 45.294117647058826, "alnum_prop": 0.75, "repo_name": "charleso/intellij-haskforce", "id": "ec2132f0193a2d64d8bf5782657d77d87ad451a7", "size": "1540"...
import java.io.FileOutputStream; import java.io.FileWriter; import java.io.FilterWriter; import java.io.IOException; import java.io.PrintWriter; import java.util.Vector; import java.util.zip.ZipEntry; import java.util.zip.ZipOutputStream; import org.apache.xerces.parsers.DOMParser; import org.w3c.dom.Attr; import o...
{ "content_hash": "bd70285c528ea38948cdec82f9e136a8", "timestamp": "", "source": "github", "line_count": 1172, "max_line_length": 126, "avg_line_length": 36.2542662116041, "alnum_prop": 0.52833607907743, "repo_name": "ronsigal/xerces", "id": "1c2b068a7d4287b17ec276a483198f50777829db", "size": "43294...
ACCEPTED #### According to Index Fungorum #### Published in Monogr. Discom. Bohem. (Prague) 382 (1934) #### Original name Vibrissea crenulata Velen. ### Remarks null
{ "content_hash": "ca5d3f8293edebd9c737b16d7d5a7d49", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 42, "avg_line_length": 13, "alnum_prop": 0.7041420118343196, "repo_name": "mdoering/backbone", "id": "5c4292ff3ba28f4ffe6b68f8d5055bc33133ab19", "size": "219", "binary": ...
package org.apache.hadoop.hive.metastore; import java.lang.reflect.InvocationHandler; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.lang.reflect.UndeclaredThrowableException; import java.util.concurrent.TimeUnit; import org.apache.co...
{ "content_hash": "ece3bea9b99e9b93e94db91cad8a2c4a", "timestamp": "", "source": "github", "line_count": 219, "max_line_length": 137, "avg_line_length": 41.178082191780824, "alnum_prop": 0.6831891772011532, "repo_name": "vergilchiu/hive", "id": "f19ff6c312a9f4bc8fd436e2ae29cd523ee0fe3b", "size": "98...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE762_Mismatched_Memory_Management_Routines__delete_int64_t_malloc_74a.cpp Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete.label.xml Template File: sources-sinks-74a.tmpl.cpp */ /* * @description * CWE: 762 Mismatched Memory Management ...
{ "content_hash": "2e83a31c3199f484bd7f17554c8a1afb", "timestamp": "", "source": "github", "line_count": 121, "max_line_length": 132, "avg_line_length": 26.388429752066116, "alnum_prop": 0.643282179768243, "repo_name": "maurer/tiamat", "id": "ecdc8f886b14dd494bd54ae5d905f59a4d6ff3ad", "size": "3193"...
<?php namespace Hummelflug\Result\Storage\Factory; use Hummelflug\Result\Storage\StorageInterface; /** * Class StorageFactory * @package Hummelflug\Result\Storage\Factory */ class StorageFactory { /** * @param array $options * * @return StorageInterface */ public static function create...
{ "content_hash": "4d171ab08b4c748c913315cca62179ae", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 59, "avg_line_length": 21.216216216216218, "alnum_prop": 0.4929936305732484, "repo_name": "scheddel/hummelflug", "id": "c872b986aa6c83740549497d38fbce3201253112", "size": "...
<h3>Add some possible useful attributes</h3> Choose the attributes you want to add to your mailinglist system:
{ "content_hash": "c53927ad1819a18c2a2c52014f1ff283", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 65, "avg_line_length": 55, "alnum_prop": 0.8090909090909091, "repo_name": "jeromio/motr", "id": "debc6619c9f9a0581677b74300c9a3654de681ed", "size": "110", "binary": false,...
# HashMark [![Build Status](https://travis-ci.org/keithamus/hashmark.svg)](https://travis-ci.org/keithamus/hashmark) <a target='_blank' rel='nofollow' href='https://app.codesponsor.io/link/ygkcNhfZ9nTDeVM6P8LSGn1C/keithamus/hashmark'> <img alt='Sponsor' width='888' height='68' src='https://app.codesponsor.io/embed/y...
{ "content_hash": "db50ce1f9f04078845bbfebba317241d", "timestamp": "", "source": "github", "line_count": 138, "max_line_length": 341, "avg_line_length": 40.69565217391305, "alnum_prop": 0.7127849002849003, "repo_name": "keithamus/hashmark", "id": "677a5d4dce3ce582a4d54b09e1040f7666df294e", "size": "...
import json import httpretty import pytest import pypuppetdb def stub_request(url, data=None, method=httpretty.GET, status=200, **kwargs): if data is None: body = '[]' else: with open(data, 'r') as d: body = json.load(d.read()) return httpretty.register_uri(method, url, body=...
{ "content_hash": "f5ffe2efaa564ea8200f2923c23d7c2a", "timestamp": "", "source": "github", "line_count": 125, "max_line_length": 78, "avg_line_length": 32.488, "alnum_prop": 0.5685791676926866, "repo_name": "puppet-community/pypuppetdb", "id": "7c38c2fccbad5a8596bb1c392730c1528503e293", "size": "406...
package org.apache.activemq.artemis.tests.unit.core.journal.impl; import java.util.LinkedList; import java.util.concurrent.BlockingDeque; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.LinkedBlockingDeque; import java.util.concurrent.atomic.AtomicBoole...
{ "content_hash": "58807eefe394c1b879efa70324254430", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 169, "avg_line_length": 39.166666666666664, "alnum_prop": 0.6438625204582651, "repo_name": "orpiske/activemq-artemis", "id": "e223f0906f412463142ca6a8ab11c26f3ff800af", "si...
<?xml version="1.0"?> <phpunit colors="true" backupGlobals="false" bootstrap="vendor/autoload.php"> <testsuites> <testsuite name="wp-queue"> <directory prefix="Test" suffix=".php">./tests</directory> </testsuite> </testsuites> <filter> <whitelist addUncoveredFilesFromWhit...
{ "content_hash": "60540876a94da18258ed3c58df818d46", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 77, "avg_line_length": 33.8125, "alnum_prop": 0.5767097966728281, "repo_name": "A5hleyRich/wp-queue", "id": "af6f6175e07fc2c58a6fabe531b97420ff2fa34a", "size": "541", "bi...
package org.apache.nutch.util; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.Map; import org.apache.hadoop.mapreduce.Counter; import org.apache.hadoop.mapreduce.CounterGroup; import org.apache.hadoop.mapreduce.Counters; import org.apache.hadoop.mapreduce.Job; import org.apache.nutch.meta...
{ "content_hash": "ed3915599c356aab9cfdfba70e561895", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 71, "avg_line_length": 30.439393939393938, "alnum_prop": 0.6187157789945247, "repo_name": "acailic/uns-search-elastic-nutch", "id": "a01aef2cd234a8364e244872dada2fabc7766ace"...
///////////////////////////////////////////////////////////////////////////// // Name: wx/unix/private/fswatcher_kqueue.h // Purpose: File system watcher impl classes // Author: Bartosz Bekier // Created: 2009-05-26 // Copyright: (c) 2009 Bartosz Bekier <bartosz.bekier@gmail.com> // Licence: w...
{ "content_hash": "6a437a73e871c1c3c7dd6c34552d4fac", "timestamp": "", "source": "github", "line_count": 108, "max_line_length": 80, "avg_line_length": 23.65740740740741, "alnum_prop": 0.47906066536203523, "repo_name": "chartly/portfolio", "id": "de3d489a382a6b73d4ce85866347edb0eee053fe", "size": "2...
from gnuradio import blocks from gnuradio import eng_notation from gnuradio import fft from gnuradio import gr from gnuradio import uhd from gnuradio.eng_option import eng_option from gnuradio.fft import window from gnuradio.filter import firdes from optparse import OptionParser import time class SALSA_eceiver(gr.top_...
{ "content_hash": "300a5fcf2c588a64c2b94bd2b537911d", "timestamp": "", "source": "github", "line_count": 107, "max_line_length": 100, "avg_line_length": 35.09345794392523, "alnum_prop": 0.5736351531291611, "repo_name": "varenius/salsa", "id": "4ebe7333ca04f08fbc730656e2f2def3514b7a7a", "size": "3970...