text
stringlengths
2
1.04M
meta
dict
/* doc in vfprintf.c */ /* This code created by modifying vsprintf.c so copyright inherited. */ /* * Copyright (c) 1990 The Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms are permitted * provided that the above copyright notice and this parag...
{ "content_hash": "c5a5ab2c4ffdcf6e77273bb5710a9ecb", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 71, "avg_line_length": 25.88, "alnum_prop": 0.6470891293147862, "repo_name": "shaotuanchen/sunflower_exp", "id": "5ca0ff27b5d2a5e23c892427157652e5a50e7908", "size": "1941",...
<?php namespace PhpBinaryReader; use PhpBinaryReader\Exception\InvalidDataException; use PhpBinaryReader\Type\Bit; use PhpBinaryReader\Type\Byte; use PhpBinaryReader\Type\Int8; use PhpBinaryReader\Type\Int16; use PhpBinaryReader\Type\Int32; use PhpBinaryReader\Type\String; class BinaryReader { /** * @var in...
{ "content_hash": "e604cd47b1293cf54cb6e112cca96d43", "timestamp": "", "source": "github", "line_count": 442, "max_line_length": 82, "avg_line_length": 18.78054298642534, "alnum_prop": 0.5225876400433682, "repo_name": "JanTvrdik/php-binary-reader", "id": "8045b25c00d9ff42a76bbb434e92458dfdbe203e", "...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>posix::basic_stream_descriptor::native</title> <link rel="stylesheet" href="../../../boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> <link rel="home" href="../../../index.html" t...
{ "content_hash": "ee8ed04616a64172667771fbff35c555", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 369, "avg_line_length": 63.372549019607845, "alnum_prop": 0.6531559405940595, "repo_name": "otgaard/zap", "id": "d25398a3ec9d72d63184fdfab1e412ee7b222b32", "size": "3232", ...
#ifndef AliAnalysisTaskEmcalJetHMEC_H #define AliAnalysisTaskEmcalJetHMEC_H /** * @class AliAnalysisTaskEmcalJetHMEC * @brief Jet-hadron correlations analysis task for central Pb-Pb and pp * * %Analysis task for jet-hadron correlations in central Pb-Pb and pp. * Includes the ability to weight entries by the effic...
{ "content_hash": "34ca5ec1cb325368d163943a2a6a690b", "timestamp": "", "source": "github", "line_count": 212, "max_line_length": 231, "avg_line_length": 54.424528301886795, "alnum_prop": 0.6244583116658, "repo_name": "aaniin/AliPhysics", "id": "2e7bce316f7f6ba78b0d70194c09697b25b69379", "size": "115...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_02) on Tue Apr 29 11:29:41 CEST 2014 --> <meta http-equiv="Content-Type" content="text/html" charset="utf-8"> <title>ResolutionResult (...
{ "content_hash": "96e3b705becf6641a186acdf7599f2fb", "timestamp": "", "source": "github", "line_count": 326, "max_line_length": 477, "avg_line_length": 52.06748466257669, "alnum_prop": 0.6802757158006363, "repo_name": "Pushjet/Pushjet-Android", "id": "ed3bcffb16417e3dbce32bf7ef9c1a11c8019fc6", "siz...
var _callBack; function locate(pCallBack) { _callBack = pCallBack; var geolocator = navigator.geolocation; if (geolocator) { var geoOptions = { maximumAge: 600000 }; // Request a position whose age is not greater than 10 minutes old. geolocator.getCurrentPosition(_success, _error, geoOptio...
{ "content_hash": "98c8122fe07e6bfbb6b33cdb359db3cc", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 71, "avg_line_length": 22.770833333333332, "alnum_prop": 0.6806953339432754, "repo_name": "smcgov/SMC-Connect", "id": "74c9716931e122a6384a1033ee5855e15740a005", "size": "1...
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.components.permissions; import org.chromium.components.omnibox.AutocompleteSchemeClassifier; /** * Provides embedder-level inform...
{ "content_hash": "05005856e1c337b1d98b3765c4021350", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 97, "avg_line_length": 38.333333333333336, "alnum_prop": 0.7782608695652173, "repo_name": "ric2b/Vivaldi-browser", "id": "3e7397f1642cfa987425f4c450499e0f5692acb7", "size":...
// ---------------------------------------------------------------------------------- // <copyright file="IKeyInfoHelperProvider.cs" company="NMemory Team"> // Copyright (C) 2012-2014 NMemory Team // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software an...
{ "content_hash": "43ef39b264305a9c7fc8760c4ec615b6", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 86, "avg_line_length": 51.70967741935484, "alnum_prop": 0.6294447910168434, "repo_name": "wertzui/nmemory", "id": "84539d596bce4cbd980043845a9f7817da21333e", "size": "1605"...
Orwell::Application.config.session_store :cookie_store, key: '_orwell_session'
{ "content_hash": "63868ce717d09a33877d8a11ebbee120", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 78, "avg_line_length": 79, "alnum_prop": 0.7848101265822784, "repo_name": "dchilot/server-proxy-web", "id": "2e0c34fdcc70963c79e5dfadcc4c53e25d4501c2", "size": "140", "bin...
const gulp = require('gulp'), sass = require('gulp-sass'), rename = require('gulp-rename'), webpackStream = require('webpack-stream'), webpack = require('webpack') gulp.task('sass', () => gulp.src('./src/styles/global.scss') .pipe(sass({outputStyle: 'compressed'}).on('error', sass.logEr...
{ "content_hash": "9b677aa675a739fe31e26f378ada82f7", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 73, "avg_line_length": 29.678571428571427, "alnum_prop": 0.5691937424789411, "repo_name": "cesargdm/bcrud", "id": "762a6eff7701225fc6cb62171c7370ab9f6ecd71", "size": "831",...
namespace NQuery.Tests { public class ConversionTests { private static Conversion ClassifyConversion(Type sourceType, Type targetType) { var semanticModel = Compilation.Empty.GetSemanticModel(); var conversion = semanticModel.ClassifyConversion(sourceType, targetType); ...
{ "content_hash": "d87b3b6aa8b1851a458ce6c81a63c054", "timestamp": "", "source": "github", "line_count": 329, "max_line_length": 108, "avg_line_length": 51.7112462006079, "alnum_prop": 0.6887674131546464, "repo_name": "terrajobst/nquery-vnext", "id": "98bfcdc3ed4ccff8292d3a3b37d1019e1fd34bcd", "size...
using System.Linq; using System.Runtime.Remoting.Channels; using Capsicum.Exceptions; using NUnit.Framework; namespace Capsicum.Test { [TestFixture] public class EntityTests { /* Initial State Tests */ [TestFixture] public class InitialState { private Entity e; ...
{ "content_hash": "85f7db2f1c61dbd14a040cff3f7055f9", "timestamp": "", "source": "github", "line_count": 118, "max_line_length": 110, "avg_line_length": 33.059322033898304, "alnum_prop": 0.4991027941553448, "repo_name": "LambdaSix/Capsicum", "id": "60d4414aa10040b0269ea7a9ae02d8d57ebd719b", "size": ...
/** * My solution to problem 9 of Project Euler. * * @author Joe Carnahan (joseph.carnahan@gmail.com) */ object _009 { /** * Tests if the given triple of numbers is a * Pythagorean triple. * * @param a * first number to test * @param b * second number to test * @param...
{ "content_hash": "e871fda31819ef5dab31cfda98c5cfc7", "timestamp": "", "source": "github", "line_count": 123, "max_line_length": 82, "avg_line_length": 28.910569105691057, "alnum_prop": 0.5359955005624297, "repo_name": "joecarnahan/projecteuler", "id": "6d7e7adf2722db50a357d2437b31ff942f379727", "si...
package com.amazonaws.services.config.model.transform; import java.math.*; import javax.annotation.Generated; import com.amazonaws.services.config.model.*; import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; import com.amazonaws.transform.*; import static com.fasterxml.jackson.core.JsonToken.*; /** * D...
{ "content_hash": "0051eb0bbd3614eb34ae6e9f5a594b48", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 136, "avg_line_length": 33.54545454545455, "alnum_prop": 0.7976513098464318, "repo_name": "jentfoo/aws-sdk-java", "id": "fed04e939345cc6e3236bd4c184f6432206b9a6f", "size": ...
require_relative '../../spec_helper' describe 'git::server' do platform 'ubuntu' step_into :git_service it do is_expected.to create_git_service('default').with( service_base_path: '/srv/git' ) end it do expect(chef_run).to create_directory('/srv/git').with( owner: 'root', gro...
{ "content_hash": "06ba8e74cc2f77282bfbdac6c30df607", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 66, "avg_line_length": 19.970588235294116, "alnum_prop": 0.5876288659793815, "repo_name": "chef-cookbooks/git", "id": "aaa8a06dd154005f560275da8ae646be7ed991bc", "size": "6...
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'dreamhost')) require 'fog/dns' module Fog module DNS class Dreamhost < Fog::Service requires :dreamhost_api_key model_path 'fog/dreamhost/models/dns' model :record model :zone collection :records ...
{ "content_hash": "86ad2cf6a70e7f6753c72a6868837070", "timestamp": "", "source": "github", "line_count": 86, "max_line_length": 90, "avg_line_length": 25.127906976744185, "alnum_prop": 0.5118000925497455, "repo_name": "remotesyssupport/stupidexample", "id": "2dc8b4f07e4726e3439a61af9ae4c3422e639a1a", ...
package io.hawtjms.jms; import static org.junit.Assert.assertNotNull; import io.hawtjms.test.support.AmqpTestSupport; import javax.jms.JMSException; import javax.jms.JMSSecurityException; import javax.jms.TopicConnection; import org.junit.Test; /** * */ public class JmsTopicConnectionTest extends AmqpTestSupport...
{ "content_hash": "5e7a1f2a38e343cc7e005738c7189ee1", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 94, "avg_line_length": 36.184615384615384, "alnum_prop": 0.7249149659863946, "repo_name": "fusesource/hawtjms", "id": "ac1beea5bf56d16568da2ebb3258bd954746270e", "size": "3...
from windmill.authoring import WindmillTestClient def test_foreign_open(): client = WindmillTestClient(__name__) client.open(url=u'http://www.asdf.com') client.waits.forPageLoad(timeout=u'2000') client.asserts.assertJS(js=u"windmill.testWin().document.title == 'asdf'")
{ "content_hash": "844f1c5f5a71899a1defa7325818c6af", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 78, "avg_line_length": 32.44444444444444, "alnum_prop": 0.7157534246575342, "repo_name": "ept/windmill", "id": "d6798cdf6821457c027a6757ec43559e0c59dd17", "size": "341", "...
const StepBase = require( "../../src/step-definitions/step-base" ); const fs = require( "fs" ); const js = fs.readFileSync( __dirname + "/scripts/login-as-needed.js" ).toString(); const loginToFakeLoginPage = fs.readFileSync( __dirname + "/scripts/remote/login-to-fake-login-page.js" ).toString(); const detectFakeLogi...
{ "content_hash": "832d6c60424aeb46f747dae23a99e32d", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 117, "avg_line_length": 28.029411764705884, "alnum_prop": 0.6505771248688352, "repo_name": "goofballLogic/formicido", "id": "305ed55f9ac966f7cebc354e85f7159fb8885495", "siz...
package main import ( "fmt" "strings" "github.com/spf13/cobra" ) func printDNSSuffixList(cmd *cobra.Command, args []string) { dnsSuffixList := getDNSSuffixList() fmt.Println(strings.Join(dnsSuffixList, ",")) }
{ "content_hash": "a5f71c8b461c5aeaeab475eaab930fbd", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 60, "avg_line_length": 14.666666666666666, "alnum_prop": 0.7090909090909091, "repo_name": "juju-solutions/kubernetes", "id": "e0df5e7a018b2ee47a2edd4eeeda0531eadc0cac", "si...
<?php require_once dirname(__FILE__).'/../Client.php'; require_once dirname(__FILE__).'/../Cluster.php'; require_once dirname(__FILE__).'/../Sentinel.php'; class CredisSentinelTest extends PHPUnit_Framework_TestCase { /** @var Credis_Sentinel */ protected $sentinel; protected $sentinelConfig; protected $red...
{ "content_hash": "514867cd4a897dce91029f7fa8219b01", "timestamp": "", "source": "github", "line_count": 188, "max_line_length": 98, "avg_line_length": 38.62234042553192, "alnum_prop": 0.6449524858834871, "repo_name": "MrGekko/credis", "id": "d7e8d832eea38b463847c1c4e4c4039122a1108f", "size": "7261"...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "a8a7abca36c4ed2d03b15d58c4d811a9", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "a3b9d5b4aeaaf0fea5976a1e8305867340c9b574", "size": "172...
<?php if (!defined('_PS_VERSION_')) exit; class StatsRegistrations extends ModuleGraph { private $_html = ''; private $_query = ''; function __construct() { $this->name = 'statsregistrations'; $this->tab = 'analytics_stats'; $this->version = 1.0; $this->author = 'PrestaShop'; $this->...
{ "content_hash": "6068c7c0a8fd12cb16d70db248ceda3f", "timestamp": "", "source": "github", "line_count": 162, "max_line_length": 355, "avg_line_length": 44.70987654320987, "alnum_prop": 0.6484881954991025, "repo_name": "rafaeljuzo/makeuptown", "id": "70dbbe19b401f24de1a6839d166037e2bc086af4", "size"...
""" Created on Fri Apr 17 10:16:21 2015 @author: anderson """ # importing modules from __future__ import division import numpy as np import matplotlib.pyplot as plt import scipy.signal as sig from . import adjust_spines import math def plot_eeg(Data,start_sec = 0, window_size = 10, amp = 200, figure_size = (15,8), ...
{ "content_hash": "aba6dfd66fe5d88496bb63de1d846a01", "timestamp": "", "source": "github", "line_count": 167, "max_line_length": 151, "avg_line_length": 38.449101796407184, "alnum_prop": 0.5882261330010902, "repo_name": "britodasilva/pyhfo", "id": "0016e813117640efb6e607a013c761a9285878ad", "size": ...
package org.sagebionetworks.bridge.sdk.integration; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import st...
{ "content_hash": "8850630a00fb2a2edefdb08469ae142d", "timestamp": "", "source": "github", "line_count": 335, "max_line_length": 128, "avg_line_length": 44.17313432835821, "alnum_prop": 0.6684687119881065, "repo_name": "alxdarksage/BridgeIntegrationTests", "id": "a51bdb904ae6556bae8375d7880ba96518ebf3...
package io.gatling.http.client.impl; import io.netty.handler.codec.http.HttpContent; public class Http2Content { private final HttpContent httpContent; private final int streamId; public Http2Content(HttpContent httpContent, int streamId) { this.httpContent = httpContent; this.streamId = streamId; ...
{ "content_hash": "4f4c1eb1e0056f06fce741562eb1fb94", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 62, "avg_line_length": 19.47826086956522, "alnum_prop": 0.734375, "repo_name": "gatling/gatling", "id": "4abc0e83c87be1aa782036301cdcb6d3f9b0acaa", "size": "1065", "binar...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "init.h" #include "util.h" #include "sync.h" #include "ui_interface.h" #includ...
{ "content_hash": "79bbe2cc5aeeee948dc45b93a97a9a83", "timestamp": "", "source": "github", "line_count": 1305, "max_line_length": 159, "avg_line_length": 37.216858237547896, "alnum_prop": 0.5770054356778126, "repo_name": "ottolevin/testcoin", "id": "7e1975bde8af815e35959202b86c3009691cb55d", "size":...
import './slidePanel.less'; import React, { Component, PropTypes } from 'react'; import LeftNav from 'material-ui/lib/left-nav'; import SelectField from 'material-ui/lib/select-field'; import MenuItem from 'material-ui/lib/menus/menu-item'; import Checkbox from 'material-ui/lib/checkbox'; import TextField from 'materi...
{ "content_hash": "654c530ff0a2918350b29010a4a79da1", "timestamp": "", "source": "github", "line_count": 157, "max_line_length": 82, "avg_line_length": 31.159235668789808, "alnum_prop": 0.5204415372035978, "repo_name": "JaredHawkins/TweetGeoViz", "id": "2e999930c4a2766365fa94da27115c55ebeb9ef7", "si...
/* OpenGL loader generated by glad 0.1.33 on Thu Feb 13 13:20:31 2020. Language/Generator: C/C++ Specification: gl APIs: gl=3.3 Profile: core Extensions: Loader: True Local files: True Omit khrplatform: False Reproducible: False Commandline: --profile="cor...
{ "content_hash": "5182b3c91bc21dc182bc215af517e862", "timestamp": "", "source": "github", "line_count": 1140, "max_line_length": 138, "avg_line_length": 52.86929824561403, "alnum_prop": 0.8070548024754858, "repo_name": "PearCoding/PearRay", "id": "f21e13e650a027b2eef7c59f45046f17243cf60f", "size": ...
""" Downloads Amazon AWS IP Address Ranges and converts them to CSV Documentation: http://docs.aws.amazon.com/general/latest/gr/aws-ip-ranges.html """ import cidr import json import subprocess import sys URL = 'https://ip-ranges.amazonaws.com/ip-ranges.json' def get_json(url): p = subprocess.Popen(['curl', URL]...
{ "content_hash": "2331aaa34e9068cf164fbf3f2a0579f4", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 87, "avg_line_length": 21.452830188679247, "alnum_prop": 0.6182937554969217, "repo_name": "rafeco/ip_range_tools", "id": "736d10d9f7d6106122d132da9040fdbfc4ebf9cb", "size":...
{exp:channel:entries channel="articles" limit="1" entry_id="{embed:entry_id}" status="open"} {exp:playa:parents channel="issues" status="open"}{exp:stash:set name="total-children"}{exp:playa:total_children}{/exp:stash:set}{/exp:playa:parents} <aside id="related" class="sidebar var1"> <i class="widget-brandi...
{ "content_hash": "f22371119e337ee4eec6c9d58eab4c00", "timestamp": "", "source": "github", "line_count": 96, "max_line_length": 485, "avg_line_length": 58.916666666666664, "alnum_prop": 0.6603606789250354, "repo_name": "alistapart/AListApart", "id": "d321268160874c8148de4b0289d663bd4df8da34", "size"...
package umiker9.stardust2d.graphics.lwjgl2; import org.lwjgl.opengl.*; import umiker9.stardust2d.systems.error.Error; import umiker9.stardust2d.systems.error.ErrorBuilder; import umiker9.stardust2d.systems.error.ErrorStack; import umiker9.stardust2d.systems.io.Resource; import javax.imageio.ImageIO; import java.awt.i...
{ "content_hash": "e35ff85968a96cdc7ab5d7ed38fb9cac", "timestamp": "", "source": "github", "line_count": 165, "max_line_length": 124, "avg_line_length": 42.2060606060606, "alnum_prop": 0.6434520390580126, "repo_name": "slimon0/Stardust", "id": "71ab5d6fc9d320c2eb115875fe53497006c2a911", "size": "696...
<!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" /> <style> .ng-hide { display: none !important; } </style> <title ng-bind="title">Proverb</title> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, ...
{ "content_hash": "b9bd89c0173ecfd29d2730f8126a38a8", "timestamp": "", "source": "github", "line_count": 140, "max_line_length": 138, "avg_line_length": 38.77142857142857, "alnum_prop": 0.48231392778187177, "repo_name": "johnnyreilly/proverb-node", "id": "7a2b54c728643e6e4625ad34dc1102c569f69b86", "...
<?php require('require/class.Connection.php'); require('require/class.Spotter.php'); $spotter_array = Spotter::getSpotterDataByIdent($_GET['ident'],"0,1", $_GET['sort']); if (!empty($spotter_array)) { $title = 'Most Common Time of Day of '.$spotter_array[0]['ident']; require('header.php'); date_default_...
{ "content_hash": "2574b4fdeab70d33ea38b0750efa9234", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 208, "avg_line_length": 34.11538461538461, "alnum_prop": 0.5580608793686584, "repo_name": "Ysurac/Web_App", "id": "7061124cdb447a35f0c8fd235e2dfcbbf43832ff", "size": "2661"...
#include "ogrgeomediageometry.h" #include "cpl_string.h" CPL_CVSID("$Id: ogrgeomediageometry.cpp 27959 2014-11-14 18:29:21Z rouault $"); #define GEOMEDIA_POINT 0xC0 #define GEOMEDIA_ORIENTED_POINT 0xC8 #define GEOMEDIA_POLYLINE 0xC2 #define GEOMEDIA_POLYGON 0xC3 #define GEOMEDIA_BOUNDARY ...
{ "content_hash": "8354b122d57ad2077fe007c0b52b35e3", "timestamp": "", "source": "github", "line_count": 388, "max_line_length": 102, "avg_line_length": 29.649484536082475, "alnum_prop": 0.5000869262865091, "repo_name": "Uli1/node-gdal", "id": "6b6c962c42b076edeb1c6e5b0b008887f3eb9db9", "size": "131...
package org.jboss.hal.client.accesscontrol; import org.jboss.hal.ballroom.Alert; import org.jboss.hal.config.AccessControlProvider; import org.jboss.hal.config.Environment; import org.jboss.hal.core.finder.PreviewContent; import org.jboss.hal.resources.Icons; import org.jboss.hal.resources.Names; import org.jboss.hal...
{ "content_hash": "0c43b106245dce69005ca99a2ab05666", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 101, "avg_line_length": 36.46808510638298, "alnum_prop": 0.7287047841306884, "repo_name": "michpetrov/hal.next", "id": "ce06d074a6a4dd85b91c2058b45d3f93898bd135", "size": "...
import { ICustomNode } from '../../../interfaces/custom-nodes/ICustomNode'; import { StringArrayCustomNode } from '../../../enums/custom-nodes/StringArrayCustomNode'; export type TStringArrayCustomNodeFactory = < TInitialData extends unknown[] = unknown[] > (stringArrayCustomNodeName: StringArrayCustomNode) => IC...
{ "content_hash": "e5252577703d5bbfe3db3597d2997085", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 90, "avg_line_length": 49.42857142857143, "alnum_prop": 0.7572254335260116, "repo_name": "javascript-obfuscator/javascript-obfuscator", "id": "b118f2e3c6239ed607ceab2e74f756cd...
<?php namespace spec\PSB\Core\Pipeline\Outgoing\StageContext; use PhpSpec\ObjectBehavior; use PSB\Core\Pipeline\Outgoing\StageContext\SubscribeContext; use PSB\Core\Pipeline\PipelineStageContext; use PSB\Core\SubscribeOptions; /** * @mixin SubscribeContext */ class SubscribeContextSpec extends ObjectBehavior { ...
{ "content_hash": "cb6c3ddfd426a96ea5865da9f686ba93", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 120, "avg_line_length": 33.36363636363637, "alnum_prop": 0.7302452316076294, "repo_name": "phpservicebus/core", "id": "b04a35907d92c49348798b3fa19743e87b37b667", "size": "1...
cask "mirrorop" do version "2.5.3.78" sha256 "59279a53f344ec0b6edb36015164497107a3fea1d55d337d2bf7185ee3bb5b01" url "https://www.barco.com/services/website/en/TdeFiles/Download?FileNumber=R33050100&TdeType=3&MajorVersion=#{version.major}&MinorVersion=#{version.minor}&PatchVersion=#{version.patch}&BuildVersion=#{...
{ "content_hash": "b713432392ca55cdc766a72ba497deb9", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 227, "avg_line_length": 40, "alnum_prop": 0.7411764705882353, "repo_name": "bric3/homebrew-cask", "id": "6386a9133d19e707552e0ebebf3a58c3b32a6bfb", "size": "680", "binary...
package com.newrelic.metrics.publish; import com.doodle.spam.SpamAgent; import com.newrelic.metrics.publish.configuration.ConfigurationException; import java.util.Map; public class SpamAgentFactory extends AgentFactory { @Override public Agent createConfiguredAgent(Map<String, Object> properties) throws Conf...
{ "content_hash": "d1d8b604f9902ffbec147b10182ee4f2", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 166, "avg_line_length": 50.125, "alnum_prop": 0.7107231920199502, "repo_name": "DoodleScheduling/newrelic-spam", "id": "cf350aecb5bfad2f04b0eeaa626d5e048ad710c3", "size": "...
package br.com.anne; import static org.junit.Assert.assertEquals; import org.junit.Test; import br.com.anne.Imposto; import br.com.anne.Carro; public class ImpostoTest { @Test public void testImposto() { Carro carro = new Carro(100.0); Imposto imposto = new Imposto(); assertEquals(10.0, imposto.calcula(car...
{ "content_hash": "4a0177a2c21e4b32ddd3d59ae85413bf", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 63, "avg_line_length": 19.38888888888889, "alnum_prop": 0.7306590257879656, "repo_name": "annelorayne/jenkins-exemplo", "id": "c530a3b8f40b1e1f8d6eda34f7c2ebb6b065d3c8", "s...
module("wrapper", package.seeall) local json = require("cjson.safe") -- by default, only call json lib for encoding and decoding function encode(object) return json.encode(object) end function decode(object) return json.decode(object) end
{ "content_hash": "6d1add8d6dda455f84ea07da89b59215", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 59, "avg_line_length": 20.333333333333332, "alnum_prop": 0.7663934426229508, "repo_name": "paintsnow/luainsight", "id": "f86b6d3bf4614a4ab51e44ded69b59c88789d27c", "size": ...
package org.eclipse.jnosql.artemis.column; import jakarta.nosql.mapping.Page; import jakarta.nosql.mapping.Pagination; import jakarta.nosql.mapping.column.ColumnQueryPagination; import jakarta.nosql.mapping.column.ColumnTemplate; import java.util.Collection; import java.util.List; import java.util.Objects; import ja...
{ "content_hash": "e7ad9ec7819d2f5b49b4d923bc94468a", "timestamp": "", "source": "github", "line_count": 98, "max_line_length": 90, "avg_line_length": 25.040816326530614, "alnum_prop": 0.6234718826405868, "repo_name": "JNOSQL/diana", "id": "01e75573ddcfac7243f8315de4ec290ca6ed62cf", "size": "3035", ...
<?php namespace Youshido\GraphQLBundle\Tests\DependencyInjection; use Symfony\Component\Config\FileLocator; use Symfony\Component\DependencyInjection\Compiler\ResolveDefinitionTemplatesPass; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Loader\PhpFileLoader; us...
{ "content_hash": "7243881ce47b8816337a4ac0ebcd5c14", "timestamp": "", "source": "github", "line_count": 102, "max_line_length": 129, "avg_line_length": 41.03921568627451, "alnum_prop": 0.6311514572384138, "repo_name": "Youshido/GraphQLBundle", "id": "7f882f1ea94192b8df330cdc0e4f68650a9c130e", "size...
@interface CHFirstViewController : UIViewController @end
{ "content_hash": "2ea2981bbf9100bf6947bf0c69e5cdd0", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 51, "avg_line_length": 19.333333333333332, "alnum_prop": 0.8448275862068966, "repo_name": "chetem/CHTransitionAnimationController", "id": "37f091b2ffc2511e979f9835d82fe6043737...
// // FMDatabasePool.h // fmdb // // Created by August Mueller on 6/22/11. // Copyright 2011 Flying Meat Inc. All rights reserved. // #import <Foundation/Foundation.h> #import <sqlite3.h> @class LCDatabase; /** Pool of `<FMDatabase>` objects. ### See also - `<FMDatabaseQueue>` - `<FMDatabase>` @warning B...
{ "content_hash": "f784147d9ba5a8b605fe8ddea9a29acf", "timestamp": "", "source": "github", "line_count": 204, "max_line_length": 201, "avg_line_length": 24.96078431372549, "alnum_prop": 0.6883346425765907, "repo_name": "leancloud/objc-sdk", "id": "08dbabbec8abbd545d2c46219e709e85882bb444", "size": "...
package com.adviser.hibernate.tryouts.helpers.models; /** * @author Hendrik Nunner */ public interface Bar { public long getId(); public void setId(long id); public String getName(); public void setName(String name); }
{ "content_hash": "e75923ac4dd3d0978421b681c1106dd8", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 53, "avg_line_length": 18.46153846153846, "alnum_prop": 0.6875, "repo_name": "hnunner/hibernate-tryouts", "id": "346becb6c6e0a7322785a61376a83c3de62f44bf", "size": "240", ...
/* * * ToolsSortOptions * */ import React, { PropTypes } from 'react'; import { connect } from 'react-redux'; import { injectIntl } from 'react-intl'; import { createStructuredSelector } from 'reselect'; import styled from 'styled-components'; import makeSelectToolsSortOptions from './selectors'; import { change...
{ "content_hash": "5c7bfb23dc3249afabe3583daa18636a", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 114, "avg_line_length": 31.098591549295776, "alnum_prop": 0.6997282608695652, "repo_name": "BeautifulTrouble/beautifulrising-client", "id": "c1297c9d2fdcda34fecfe7cce328064cc...
/* ### * IP: GHIDRA * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writin...
{ "content_hash": "2aaea1a61aa1f6e01d5694673987024f", "timestamp": "", "source": "github", "line_count": 1892, "max_line_length": 100, "avg_line_length": 30.81183932346723, "alnum_prop": 0.7065664882667765, "repo_name": "NationalSecurityAgency/ghidra", "id": "e98dcb79e9d87bda18c008e8a3ae5ef56d8618d6",...
<?php /** * Off Amazon Payments Service Exception provides details of errors * returned by Off Amazon Payments Service service * */ class OffAmazonPaymentsService_Exception extends Exception { /** @var string */ private $_message = null; /** @var int */ private $_statusCode = -1; /** @v...
{ "content_hash": "eee23053020a397cf082a28f41001284", "timestamp": "", "source": "github", "line_count": 131, "max_line_length": 146, "avg_line_length": 33.213740458015266, "alnum_prop": 0.5984831073316479, "repo_name": "yaelduckwen/libriastore", "id": "c4dfe04a653f34513458f2fc3f3209929f152818", "si...
<?php /** * @see Zend_Service_Yahoo_ResultSet */ // require_once 'Zend/Service/Yahoo/ResultSet.php'; /** * @see Zend_Service_Yahoo_WebResult */ // require_once 'Zend/Service/Yahoo/WebResult.php'; /** * @category Zend * @package Zend_Service * @subpackage Yahoo * @copyright Copyright (c) 2005-2012 ...
{ "content_hash": "93798921d1009f1b054cb0891e874886", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 93, "avg_line_length": 20.704545454545453, "alnum_prop": 0.6377607025246982, "repo_name": "vastpromedia/zf1", "id": "d7a6a6668d65437e87e06688758e6fce59c74c90", "size": "167...
namespace first_party_sets { // Add Profile prefs below. extern const char kFirstPartySetsOverrides[]; } // namespace first_party_sets #endif // CHROME_BROWSER_FIRST_PARTY_SETS_FIRST_PARTY_SETS_PREF_NAMES_H_
{ "content_hash": "392626aa2119169b142bc07234b2051d", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 73, "avg_line_length": 26.625, "alnum_prop": 0.755868544600939, "repo_name": "chromium/chromium", "id": "cfaea87b845840e310e19754bae690eee5a9fc07", "size": "500", "binary"...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "3897ba368801a7020c9d276cee7e4dd4", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "b08b77ac4a569aed01d5b63069428b6944bbcaf0", "size": "18...
title: "AzureAD Authentication with AWS API Gateway v2 JWT Authorizers" tags: [aws, azuread] --- AWS' API Gateway v2 (aka HTTP APIs) launched in December 2019, and came with a built-in ability to add JWT authorizers to endpoints. We use AzureAD as our Auth vendor, so I've been waiting for a chance to try this out. Fi...
{ "content_hash": "af2662c9c34f69c59b46ed4ef4518a6e", "timestamp": "", "source": "github", "line_count": 95, "max_line_length": 636, "avg_line_length": 65.02105263157895, "alnum_prop": 0.7720576331552533, "repo_name": "rayterrill/rayterrill.github.io", "id": "746224fa330b23a658841692960e912b2cb2a943",...
package net.ernstsson.sqlbuilder; import static net.ernstsson.sqlbuilder.ArrayStatement.array; import static net.ernstsson.sqlbuilder.StringStatement.string; import static org.apache.commons.lang3.builder.EqualsBuilder.reflectionEquals; import static org.apache.commons.lang3.builder.HashCodeBuilder.reflectionHashCode;...
{ "content_hash": "6955ffad7f8962d3eca3834a72428ef4", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 82, "avg_line_length": 28.270833333333332, "alnum_prop": 0.7155490051584378, "repo_name": "ernstsson/sqlbuilder", "id": "5233095051d0783cd541ed31f4d86ba742c9ef0a", "size": ...
TEST(LaunchDriver, defaultConstructor) { LaunchDriver s; std::string actual = (std::string)s.getTag(); std::string expected = "undefined"; ASSERT_EQ(expected, actual); } // Run all the tests that were declared with TEST() int main(int argc, char **argv) { testing::InitGoogleTest(&argc, argv); return RUN_ALL_TEST...
{ "content_hash": "c07bfb4373ad0e46b0e8cdfe4ecae6dd", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 51, "avg_line_length": 23.285714285714285, "alnum_prop": 0.7116564417177914, "repo_name": "thijser/robotica-minor-5", "id": "7dca308cd81b958eee278c5aaa24f804b5844d1c", "siz...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>plouffe: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css...
{ "content_hash": "6ee5b044b73000b47403e0fb41269980", "timestamp": "", "source": "github", "line_count": 171, "max_line_length": 159, "avg_line_length": 40.07017543859649, "alnum_prop": 0.5303561004086398, "repo_name": "coq-bench/coq-bench.github.io", "id": "0b13ab303aa51ceca7ea1327380e4978451597f4", ...
#region License // Copyright (c) 2007 James Newton-King // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, // copy...
{ "content_hash": "b59399a646a9d32a50b284924aea1885", "timestamp": "", "source": "github", "line_count": 122, "max_line_length": 97, "avg_line_length": 28.262295081967213, "alnum_prop": 0.6841647331786543, "repo_name": "uWebshop/uWebshop-Releases", "id": "8c6bfb1823ed736f623866bcb049255403cfef8b", "...
package wkbcommon import ( "io" "github.com/paulmach/orb" ) func readCollection(r io.Reader, order byteOrder, buf []byte) (orb.Collection, error) { num, err := readUint32(r, order, buf[:4]) if err != nil { return nil, err } alloc := num if alloc > MaxMultiAlloc { // invalid data can come in here and allo...
{ "content_hash": "43aed310ab211ddf551768a688f660dd", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 87, "avg_line_length": 17.73469387755102, "alnum_prop": 0.6294591484464902, "repo_name": "paulmach/orb", "id": "d926a0b4e10041afb1b284ba39300c0478dc842b", "size": "869", ...
var app = { // Application Constructor initialize: function() { this.bindEvents(); }, // Bind Event Listeners // // Bind any events that are required on startup. Common events are: // 'load', 'deviceready', 'offline', and 'online'. bindEvents: function() { document.addE...
{ "content_hash": "2e063ddfe3e6881e7829780640111d76", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 77, "avg_line_length": 33.666666666666664, "alnum_prop": 0.63996399639964, "repo_name": "EloStef/RockPaperScisors", "id": "e3da5ce8d43cd3d2a5536670f163c5befc8ffbf6", "size"...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_25) on Sat Apr 05 17:39:10 EEST 2014 --> <title>All Classes</title> <meta name="date" content="2014-04-05"> <link rel="stylesheet" type...
{ "content_hash": "0c2c65c4ae688878087c033e27a86b81", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 144, "avg_line_length": 34.72222222222222, "alnum_prop": 0.6864, "repo_name": "machadolucas/dataConverter", "id": "55b4d6caeb4cdbd15970503816a37704f5819906", "size": "625",...
// This is a generated file. Not intended for manual editing. package org.intellij.xquery.psi; import java.util.List; import org.jetbrains.annotations.*; import com.intellij.psi.PsiElement; public interface XQueryNamespaceNodeTest extends XQueryPsiElement { }
{ "content_hash": "52d585af54b66f229ddb06e46e0dbf0f", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 67, "avg_line_length": 22.083333333333332, "alnum_prop": 0.8, "repo_name": "ligasgr/intellij-xquery", "id": "2613db5a3d3c6588594defcd7756f5eb6b5cfd11", "size": "938", "bi...
namespace bp = boost::python; struct ConstValueVisitor_wrapper : osg::ConstValueVisitor, bp::wrapper< osg::ConstValueVisitor > { ConstValueVisitor_wrapper(osg::ConstValueVisitor const & arg ) : osg::ConstValueVisitor( arg ) , bp::wrapper< osg::ConstValueVisitor >(){ // copy constructor ...
{ "content_hash": "5aa1b0c11c95c5f41c5b2ee5ac10fc8f", "timestamp": "", "source": "github", "line_count": 603, "max_line_length": 122, "avg_line_length": 39.81923714759536, "alnum_prop": 0.5264253883636667, "repo_name": "JaneliaSciComp/osgpyplusplus", "id": "9a9620a8d0b8b51b8b813f0f587f9406971521c3", ...
<?xml version="1.0"?> <package> <name>mobility_base_gazebo</name> <version>0.0.1</version> <description> Example launch files for working with the Mobility Base Simulator </description> <license>BSD</license> <author>Dataspeed Inc.</author> <maintainer email="khallenbeck@dataspeedinc.com">Dataspeed I...
{ "content_hash": "fb69f24ba2a963fc4d9a8b7b7e3f8ac5", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 96, "avg_line_length": 35.82608695652174, "alnum_prop": 0.741504854368932, "repo_name": "cmsc421/mobility_base_simulator", "id": "c8f8cff3c2af207f5a7e6f39681fbf2245440c37", ...
<?php namespace conquer\i18n\models; /** * This is the model class for table "{{%i18n_translator}}". * * @property integer $translator_id * @property string $class_name * @property integer $created_at * @property integer $updated_at * * @property I18nTranslation[] $i18nTranslations * * @aut...
{ "content_hash": "4fbf855b20723da9bb0c016935ce5ea0", "timestamp": "", "source": "github", "line_count": 128, "max_line_length": 98, "avg_line_length": 26.65625, "alnum_prop": 0.49208675263774915, "repo_name": "borodulin/yii2-i18n-google", "id": "0bbe56735fa618184b2ec660b19ec34911896d76", "size": "3...
package com.github.dozermapper.core.vo.deepindex; public class C { private int id; public int getId() { return id; } public void setId(int id) { this.id = id; } }
{ "content_hash": "595d9f70bf4a366dbfe2c00494fba35a", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 49, "avg_line_length": 13.6, "alnum_prop": 0.5686274509803921, "repo_name": "orange-buffalo/dozer", "id": "9a0a78e9febc80ded8b6e0dd6e891f5006454d15", "size": "806", "bina...
import getpass import sys import shelve import time import logging import os from urlparse import urljoin import json import requests import Tkinter as tk import tkFileDialog as tfile from watchdog.observers import Observer from watchdog.events import LoggingEventHandler from sqlalchemy import create_engine from sq...
{ "content_hash": "81445ff189d08ba7e8476f1057f647bf", "timestamp": "", "source": "github", "line_count": 215, "max_line_length": 119, "avg_line_length": 31.813953488372093, "alnum_prop": 0.5940058479532164, "repo_name": "endthestart/tinsparrow", "id": "5a5a19a0079f9c285ab00b2f5ce21aa1b4f751e3", "siz...
namespace Lekarite.Mvc.Models.Comments { using System; using System.Collections.Generic; using System.Linq; using System.Web; using Lekarite.Models; using Lekarite.Mvc.Infrastructure.Mapping; using System.ComponentModel.DataAnnotations; public class CommentViewModel : IMapFrom<Comment...
{ "content_hash": "6a1150ae371c4db3c9feec15ee38639b", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 53, "avg_line_length": 23.37037037037037, "alnum_prop": 0.6418383518225039, "repo_name": "timenov/lekarite.bg", "id": "8d74eee2ee9f3159a11c04d3731c1da23be82e01", "size": "6...
int main(int argc, char * argv[]) { @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([PXAppDelegate class])); } }
{ "content_hash": "0a2fec500c4c4246a87059d75ae298a3", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 92, "avg_line_length": 26.666666666666668, "alnum_prop": 0.6625, "repo_name": "pixio/PXBlockAlertView", "id": "0a9c3c37b14e7c16519de2917d028bb14e4ea21c", "size": "363", "b...
require 'spec_helper' describe 'input' do before(:all) do GetsSome::STRICT = nil if defined?(GetsSome::STRICT) GetsSome::LOOSE = nil if defined?(GetsSome::LOOSE) end describe "gets_integer" do it "should convert the input to an integer" do stub_input("2\n") expect(Kernel.gets_integer).to...
{ "content_hash": "3047a2bd524c532f6dc75f0c4e2a52b9", "timestamp": "", "source": "github", "line_count": 109, "max_line_length": 85, "avg_line_length": 31.03669724770642, "alnum_prop": 0.6157256872598286, "repo_name": "wannabefro/gets_some", "id": "c7dd72cf63acaaa9e23bd166918263401cddfba9", "size": ...
require 'linguist/repository' require 'linguist/lazy_blob' require 'test/unit' class TestRepository < Test::Unit::TestCase def rugged_repository @rugged ||= Rugged::Repository.new(File.expand_path("../../.git", __FILE__)) end def master_oid 'd40b4a33deba710e2f494db357c654fbe5d4b419' end def linguis...
{ "content_hash": "4ef4c00e0ecbd033f832bcaf19380825", "timestamp": "", "source": "github", "line_count": 104, "max_line_length": 107, "avg_line_length": 32.14423076923077, "alnum_prop": 0.7295842058031708, "repo_name": "blakeembrey/linguist", "id": "1fba9b5764db5be7d5d1bf3c185166113ae1c035", "size":...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE36_Absolute_Path_Traversal__char_file_open_67b.cpp Label Definition File: CWE36_Absolute_Path_Traversal.label.xml Template File: sources-sink-67b.tmpl.cpp */ /* * @description * CWE: 36 Absolute Path Traversal * BadSource: file Read input from a file * GoodS...
{ "content_hash": "0abe0f414d3e390b03ef4526bb6e8c97", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 109, "avg_line_length": 22.89156626506024, "alnum_prop": 0.6357894736842106, "repo_name": "JianpingZeng/xcc", "id": "f178c4232de1155be8d6758f2885bf52a9a52daa", "size": "190...
#import "ccMacros.h" #if __CC_PLATFORM_IOS #import <UIKit/UIView.h> #import <OpenGLES/EAGL.h> #import <OpenGLES/EAGLDrawable.h> #import <OpenGLES/ES2/gl.h> #import <OpenGLES/ES2/glext.h> #import "CCView.h" //CLASSES: @class CCGLView; //CLASS INTERFACE: /** CCGLView Class. This class wraps the CAEAGLLayer from...
{ "content_hash": "066761b2cc3ea8d51ce7f9797028bcc9", "timestamp": "", "source": "github", "line_count": 109, "max_line_length": 236, "avg_line_length": 60.84403669724771, "alnum_prop": 0.767490952955368, "repo_name": "TukekeSoft/cocos2d-spritebuilder", "id": "1c57d0b7d4da0d23a038c4379c25b6d89ec1bcae"...
{-# LANGUAGE DeriveDataTypeable #-} {-# LANGUAGE DeriveGeneric #-} -- Type definitions to avoid circular imports. module Language.K3.Codegen.CPP.Materialization.Hints where import Control.DeepSeq import Data.Typeable import GHC.Generics (Generic) data Method = ConstReferenced | Referenced | Moved | Copied d...
{ "content_hash": "28a2a55359e8d0a718b9d30654c0337d", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 99, "avg_line_length": 34.12903225806452, "alnum_prop": 0.7457466918714556, "repo_name": "yliu120/K3", "id": "245d0b4c8f0996d88d24fed11de8d6807863872c", "size": "1058", "...
import hashlib import json import os import random import re from nova import exception from nova import flags from nova import log as logging from nova import utils from nova.openstack.common import cfg from nova.virt import images LOG = logging.getLogger(__name__) util_opts = [ cfg.StrOpt('image_info_filenam...
{ "content_hash": "243f3a8fd2f5358a76c4e5bf2b71eb1e", "timestamp": "", "source": "github", "line_count": 377, "max_line_length": 79, "avg_line_length": 29.514588859416445, "alnum_prop": 0.592073335130763, "repo_name": "psiwczak/openstack", "id": "edde15e001f70631e1629c12a2e8047437d8de9c", "size": "1...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>cats-in-zfc: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min...
{ "content_hash": "fb96a8e23fe2e7c7bc5645126d4d87bd", "timestamp": "", "source": "github", "line_count": 179, "max_line_length": 159, "avg_line_length": 41.14525139664804, "alnum_prop": 0.5556008146639512, "repo_name": "coq-bench/coq-bench.github.io", "id": "ce2f915972a3610ddd674e57dd683c44d388eb0b", ...
VMan::Application.routes.draw do devise_for :users, path: '/' resources :users resources :templates root :to => 'home#index' # The priority is based upon order of creation: # first created -> highest priority. # Sample of regular route: # match 'products/:id' => 'catalog#view' # Keep in mind you...
{ "content_hash": "abcbde6328899e175a78f6579a882510", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 91, "avg_line_length": 29.076923076923077, "alnum_prop": 0.6550264550264551, "repo_name": "OpenVDI/V-Man", "id": "ae173b29d5465691f036d4dbb3dc89d3d233622e", "size": "1890",...
package volume import ( // loads the volume drivers _ "github.com/emccode/rexray/drivers/volume/docker" )
{ "content_hash": "226f032f1dbf511ea247a5a274f03286", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 52, "avg_line_length": 18.166666666666668, "alnum_prop": 0.7431192660550459, "repo_name": "ltouati/rexray", "id": "1265c7ba70f0b4fc7f9e058a7a40bce064dda6c0", "size": "109", ...
<menu xmlns:android="http://schemas.android.com/apk/res/android" > <item android:id="@+id/action_settings" android:icon="@drawable/ic_action_settings" android:title="@string/action_settings" android:showAsAction="ifRoom" /> <!-- Settings, should always be in the overflow --> <i...
{ "content_hash": "d45c3ee70638891b1f219bb73766c5cd", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 66, "avg_line_length": 45.61538461538461, "alnum_prop": 0.6306913996627319, "repo_name": "benjaminthorent/ProxSensorReset", "id": "b6bf0eb96a685a5058c2a2b391943f2ca2a50b46", ...
using System.Text.Json; using Azure.Core; namespace Azure.ResourceManager.SecurityInsights.Models { internal partial class Office365ProjectConnectorDataTypesLogs : IUtf8JsonSerializable { void IUtf8JsonSerializable.Write(Utf8JsonWriter writer) { writer.WriteStartObject(); ...
{ "content_hash": "2572ff7f02c3487c68723205c1a19e7e", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 133, "avg_line_length": 33.93333333333333, "alnum_prop": 0.6208251473477406, "repo_name": "Azure/azure-sdk-for-net", "id": "0141dea4b5fb8457cb86612f4cd25a436284827d", "size...
/* * This file is dual-licensed and is also available under the following * terms: * * Copyright (c) 2004, Richard Levitte <richard@levitte.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions *...
{ "content_hash": "ded8e22c5681cf3412be297f05771a56", "timestamp": "", "source": "github", "line_count": 200, "max_line_length": 78, "avg_line_length": 29.995, "alnum_prop": 0.5819303217202867, "repo_name": "kipid/blog", "id": "51043263ae6708e64e6a77987d5e97b3e211750d", "size": "6334", "binary": f...
/* Author: Ioan Sucan */ #include "ompl/base/goals/GoalStates.h" #include "ompl/base/SpaceInformation.h" #include "ompl/util/Exception.h" #include <limits> ompl::base::GoalStates::~GoalStates() { freeMemory(); } void ompl::base::GoalStates::clear() { freeMemory(); states_.clear(); } void ompl::base::G...
{ "content_hash": "e714579e4438c43ae7f73b1379fef148", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 118, "avg_line_length": 24.193548387096776, "alnum_prop": 0.6288888888888889, "repo_name": "davetcoleman/ompl", "id": "9cb4a3aecee908f390cfa9beeaae736af0658f50", "size": "4...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
{ "content_hash": "9c239459aa33ce60f2023eef4112839b", "timestamp": "", "source": "github", "line_count": 131, "max_line_length": 361, "avg_line_length": 47.465648854961835, "alnum_prop": 0.6629141202959151, "repo_name": "XLabs/xlabs.github.io", "id": "ff350d66d241b21da63379bcfaafe11d80348dea", "size...
# <p align="center"> Lists - Exercises <p> ## Array Manipulator Write a program that r**eads an array of integers** from the console and **set of commands** and **executes them over the array**. The commands are as follows: - **add <index> <element>** – adds element at the specified index (elements right from this ...
{ "content_hash": "a210bef38c6e4f58c25df50da5202114", "timestamp": "", "source": "github", "line_count": 162, "max_line_length": 394, "avg_line_length": 54.39506172839506, "alnum_prop": 0.6603495233772129, "repo_name": "BoykoNeov/SoftUni---Programming-fundamentals-May-2017", "id": "6edf5c51ee5e0ca375d...
namespace chrono { namespace fem { /// Basic geometry for a beam section in 3D, along with basic material /// properties. /// This material can be shared between multiple beams. class ChApiFem ChBeamSection : public ChShared { public: double Area; double Iyy; double Izz; double J; double G; double E; double...
{ "content_hash": "131fdc4b69ccd28f4f17a2e82d688615", "timestamp": "", "source": "github", "line_count": 216, "max_line_length": 95, "avg_line_length": 32.004629629629626, "alnum_prop": 0.6513814552292782, "repo_name": "scpeters/chrono", "id": "45f9d8b96b29aeb9d0344ed93162502acc0cda29", "size": "737...
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Timer : MonoBehaviour { public int secs = 10; private void OnTriggerEnter2D(Collider2D collision) { if (collision.tag == "Player") { GameObject.FindGameObjectWithTag("MainCamera").GetCo...
{ "content_hash": "9a3e57e882029ba2a0f7358aee25201a", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 104, "avg_line_length": 22.944444444444443, "alnum_prop": 0.6585956416464891, "repo_name": "ArthurBOliveira/Supah-Towah", "id": "175b4cd2241074246ab0bcbada209a35a0493827", ...
using System; using System.Linq; using Google.Apis.Plus.v1; using Core; using Logger; using System.Collections.Generic; using Google.Apis.Plus.v1.Data; using System.Text.RegularExpressions; using System.IO; namespace LoggenCSG { internal class Generator : Core.Generator, IDisposable { protected e...
{ "content_hash": "6842020971c5bd48d6ffe9fb32bd136a", "timestamp": "", "source": "github", "line_count": 876, "max_line_length": 188, "avg_line_length": 27.628995433789953, "alnum_prop": 0.59058794364335, "repo_name": "artzub/LoggenCSG", "id": "3e9ba67e3ddeea09500628869417fcacfa1791f7", "size": "242...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "22bf8fd7de7e526e2c3b8d23e1182bb9", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "297c30a955c4be09e0130e71e169f311b274a7d8", "size": "199...
<?php // Start a session feed session_start(); // Kick us out if we don't have a Tag Code given. if (!isset($_POST["TagCode"])) { header("Location: tagpage.php"); die(); } // Set Database Connection include 'dbconnector.php'; // Get User's Name and ID $MyId = $_SESSION["userId"]; // Current Date $date = date('Y...
{ "content_hash": "d3ac689cd3cecd464da46841ba61011e", "timestamp": "", "source": "github", "line_count": 217, "max_line_length": 167, "avg_line_length": 30.4147465437788, "alnum_prop": 0.6683333333333333, "repo_name": "dmitbor/althvz", "id": "61b37d5c5592377699d5fd0e8ab3beb286102730", "size": "6600"...
using System.Data.Entity.ModelConfiguration; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace NOF2.Demo.Model { public static partial class Mapper { public static void Map(this EntityTypeBuilder<SalesReason> builder) { builder.Has...
{ "content_hash": "e87b2a8f2d9b1a66183645327c2814e2", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 112, "avg_line_length": 36, "alnum_prop": 0.6157407407407407, "repo_name": "NakedObjectsGroup/NakedObjectsFramework", "id": "fb30675d550d6f4539a2f07cc4a6f10c2650f6a2", "siz...
//:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: /** @author Matthew Saltz * @version 1.3 * @date Thu Jul 25 11:28:31 EDT 2013 * @see LICENSE (MIT style license file). */ package scalation.graphalytics import scala.collection.immutable.{Set => SET} import scala.collection...
{ "content_hash": "d54388ce5149e99408caf145749301f5", "timestamp": "", "source": "github", "line_count": 400, "max_line_length": 111, "avg_line_length": 43.6175, "alnum_prop": 0.5195162492118989, "repo_name": "scalation/fda", "id": "d4d2531032809323050066eb2c20b6c281dc658c", "size": "17447", "bina...
package com.cyc.webservice.client; //// Internal Imports //// External Imports /** * <P>WSRequestParams is designed to... * * <P>Copyright (c) 2010 Cycorp, Inc. All rights reserved. * <BR>This software is the proprietary information of Cycorp, Inc. * <P>Use is subject to license terms. * * Created on : Apr 1...
{ "content_hash": "ced6f98c7cb6715b2430a6f6eaba1cce", "timestamp": "", "source": "github", "line_count": 104, "max_line_length": 82, "avg_line_length": 21.798076923076923, "alnum_prop": 0.6021173356859285, "repo_name": "cycorp/common-libraries", "id": "083bf717ab8762b61183fbf21c35826a3273201f", "siz...
class VerificateDecorator < Draper::Decorator delegate_all def posting_date return l(object.posting_date, format: "%Y-%m-%d") if object.posting_date "" end def parent return object.vat_period.name if object.vat_period return object.wage_period_wage.name if object.wage_period_wage return obj...
{ "content_hash": "6a5fce1f4db0870c5bf0f870a40f4417", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 76, "avg_line_length": 25.125, "alnum_prop": 0.6554726368159204, "repo_name": "dulvie/kinna", "id": "f26f649c011a8779a3ff41286b6b93789758cbd3", "size": "804", "binary": f...
namespace sf { class RenderTarget; } namespace Game { class Statistics : public Kunlaboro::Component { public: Statistics(); void addedToEntity(); void newFrame(const Util::Timespan& dt); void drawUI(sf::RenderTarget& target); private: std::list<int> mFramerates; Util::Timespan mCurTime; int m...
{ "content_hash": "b900156bbb39e0c3b200fafdb16ae7a9", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 47, "avg_line_length": 14.695652173913043, "alnum_prop": 0.6952662721893491, "repo_name": "ace13/LD32", "id": "eb4a0360df0aa67f574767e4fd7b164f573564a3", "size": "434", "...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; using RefactorThis.GraphDiff; using DertInfo.WEB.Models.Contexts; using System.ComponentModel.DataAnnotations.Schema; using DertInfo.WEB.Models.Base; namespace DertInfo.WEB.Models { pu...
{ "content_hash": "6e5f1540c0a46ed6ff1ef40998ef1f2f", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 86, "avg_line_length": 29.790697674418606, "alnum_prop": 0.663544106167057, "repo_name": "dertinfo-david/dertinfo-web", "id": "528e925e0509b7391d8e2443239b395f8a376c7e", "s...
<?xml version="1.0"?> <?dlps id="AndRuss"?> <?dlps page-images="none" figure-images="no"?> <?dlps transcription="other"?> <!DOCTYPE TEI.2 SYSTEM "http://text.lib.virginia.edu/dtd/tei/tei-p4/tei2.dtd" [ <!ENTITY % POSTKB "INCLUDE"> <!ENTITY % TEI.extensions.ent SYSTEM "http://text.lib.virginia.edu/dtd/tei/uva-dl-tei/u...
{ "content_hash": "59ebae0cf5ee6a7ec6b026c2a912d1e3", "timestamp": "", "source": "github", "line_count": 279, "max_line_length": 133, "avg_line_length": 39.96774193548387, "alnum_prop": 0.7488117657609183, "repo_name": "JohannGillium/modern_english_ed", "id": "9212ed39e9fd708d7dd014fdd388b6782c8cc013"...
package org.webrtc; import android.support.annotation.Nullable; import org.webrtc.MediaStreamTrack; /** Java wrapper for a C++ RtpReceiverInterface. */ public class RtpReceiver { /** Java wrapper for a C++ RtpReceiverObserverInterface*/ public static interface Observer { // Called when the first audio or vi...
{ "content_hash": "929b44d566e1dd918f25515d67c8e093", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 98, "avg_line_length": 31.773809523809526, "alnum_prop": 0.7579617834394905, "repo_name": "endlessm/chromium-browser", "id": "015d35a6a0e6f7ef621ccf309ed15fa2a54c3479", "si...
// // ZKJAddTagToolbar.m // 百思不得姐 // // Created by ZKJ on 2017/4/12. // Copyright © 2017年 ZKJ. All rights reserved. // #import "ZKJAddTagToolbar.h" #import "ZKJAddTagViewController.h" @interface ZKJAddTagToolbar () /** 顶部的view */ @property (weak, nonatomic) IBOutlet UIView *topView; /** 添加按钮 */ @property (nonato...
{ "content_hash": "e471fa49414e7963e49dff81d416e9da", "timestamp": "", "source": "github", "line_count": 149, "max_line_length": 97, "avg_line_length": 28.798657718120804, "alnum_prop": 0.6122116056863202, "repo_name": "jungeios111/BaiSiBuDeJie", "id": "5b2d995d090601c69b3f047981277df1159e63af", "si...
<?php namespace Predis\Configuration; /** * Manages Predis options with filtering, conversion and lazy initialization of * values using a mini-DI container approach. * * @author Daniele Alessandri <suppakilla@gmail.com> */ class Options implements OptionsInterface { protected $input; protected $options...
{ "content_hash": "8e3bd640dc24c98db19f51879f0a1ff9", "timestamp": "", "source": "github", "line_count": 111, "max_line_length": 90, "avg_line_length": 26.2972972972973, "alnum_prop": 0.5299760191846523, "repo_name": "cola1129/devtool", "id": "ba527cf0ac41ccfc63a4ba0049f0952132639d7f", "size": "3151...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>qarith: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css"...
{ "content_hash": "099cd9254260fcb63572668211c15021", "timestamp": "", "source": "github", "line_count": 172, "max_line_length": 159, "avg_line_length": 40.395348837209305, "alnum_prop": 0.540587219343696, "repo_name": "coq-bench/coq-bench.github.io", "id": "70f98b0eb77d50dc4a564756da71faf2cf3f9fbc", ...