text
stringlengths
2
1.04M
meta
dict
package org.ofbiz.common.status; import static org.ofbiz.base.util.UtilGenerics.checkList; import java.util.LinkedHashMap; import java.util.LinkedList; import java.util.List; import java.util.Locale; import java.util.Map; import org.ofbiz.base.util.Debug; import org.ofbiz.base.util.UtilProperties; import org.ofbiz....
{ "content_hash": "090b8e5faef2d1bccf46d742d985343d", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 128, "avg_line_length": 43.077922077922075, "alnum_prop": 0.5752185709978896, "repo_name": "ilscipio/scipio-erp", "id": "661ebd76f3d96778ab93c0f0598df802c9b65034", "size": ...
package org.apache.cassandra.utils.concurrent; import java.util.Iterator; import java.util.concurrent.ConcurrentLinkedQueue; import java.util.concurrent.atomic.AtomicIntegerFieldUpdater; import java.util.concurrent.locks.LockSupport; import java.util.function.BooleanSupplier; import java.util.function.Consumer; impo...
{ "content_hash": "c17fd52ffb4ea3f758687f15b9d52097", "timestamp": "", "source": "github", "line_count": 420, "max_line_length": 162, "avg_line_length": 37.17857142857143, "alnum_prop": 0.5811719500480308, "repo_name": "blambov/cassandra", "id": "e9dcdf86e9f99629208b38de332733c6687ea5c1", "size": "1...
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import * as React from 'react'; import PropTypes from 'prop-types'; import KeyboardArrowLeft from '../internal/svg-icons/KeyboardArrowLeft'; import KeyboardArro...
{ "content_hash": "614fead1b778ea0659f72bfdcb2caca4", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 149, "avg_line_length": 31.977272727272727, "alnum_prop": 0.6865671641791045, "repo_name": "cdnjs/cdnjs", "id": "898c6c538b5a0b5335d6b9459a660929329f1ed0", "size": "2814", ...
A set of directives to simplify your workflow with [BEM](https://bem.info)-markup in [Angular](https://angularjs.org) (v2+) applications. [ANGULAR 1.X VERSION IS HERE](https://github.com/tenphi/angular-bem/tree/v1) ## Changelog ### 2.1.0 * Support for Angular v6+ * Refactoring ### 2.0.0 * Initial release for Angula...
{ "content_hash": "08d4dc707d543d1d7788d3b13b385af7", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 146, "avg_line_length": 28.120481927710845, "alnum_prop": 0.6996572407883462, "repo_name": "tenphi/angular-bem", "id": "2e4bed9f5afe5be305c9048e3e686f3e34f8a212", "size": "...
#pragma once #include <memory> #include <string> #include "cyber/cyber.h" #include "modules/perception/lidar/common/lidar_frame.h" #include "modules/perception/onboard/inner_component_messages/inner_component_messages.h" #include "modules/perception/proto/perception_obstacle.pb.h" namespace apollo { namespace perce...
{ "content_hash": "21661cc4a5f6da263a7f7c5002373ff3", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 89, "avg_line_length": 25.28205128205128, "alnum_prop": 0.72920892494929, "repo_name": "wanglei828/apollo", "id": "bec6d3f1906759934c20b25a5fd25e16e88f146d", "size": "1758"...
define( [ "util/xhr", "localized", "jquery" ], function( XHR, Localized, $ ) { var __plugins = {}; function EditorHelper( butter ) { var _this = this; function _updateFunction( e ) { var trackEvent = e.target; if ( trackEvent.popcornTrackEvent && __plugins[ trackEvent.type ] ) { __p...
{ "content_hash": "d7fe7c14b14e6ce0897e5bcdc812986a", "timestamp": "", "source": "github", "line_count": 453, "max_line_length": 133, "avg_line_length": 33.75275938189846, "alnum_prop": 0.5833224329627207, "repo_name": "kaltura/popcorn.webmaker.org", "id": "55660ef9b91d5cc6a53c557b561277a7f8b6a398", ...
from __future__ import absolute_import __doc__ = """ Binary Tree Package =================== Python Trees ------------ Balanced and unbalanced binary trees written in pure Python with a dict-like API. Classes ~~~~~~~ * BinaryTree -- unbalanced binary tree * AVLTree -- balanced AVL-Tree * RBTree -- ...
{ "content_hash": "2fe348d5a2fd88e1be9c39711baf3adf", "timestamp": "", "source": "github", "line_count": 162, "max_line_length": 127, "avg_line_length": 36.68518518518518, "alnum_prop": 0.6168601716304897, "repo_name": "emptyewer/DEEPN", "id": "07a68c04bfff264d1d4580c4a584cfa09cc60424", "size": "612...
""" Tests remarks elements parsing """ # pylint: disable=protected-access # library import unittest # module from avwx import static, structs from avwx.parsing import core, remarks class TestRemarks(unittest.TestCase): """ Tests remarks elements parsing """ def test_tdec(self): """ ...
{ "content_hash": "44fc4e142e2570ae10cccb3d16032b2b", "timestamp": "", "source": "github", "line_count": 124, "max_line_length": 96, "avg_line_length": 35.943548387096776, "alnum_prop": 0.5054969710567646, "repo_name": "flyinactor91/AVWX-Engine", "id": "bbfcd53c85ffa826ee49157c2e34e83a8e5fb925", "si...
package com.twitter.finagle.memcachedx import _root_.java.lang.{Boolean => JBoolean} import com.twitter.finagle.memcachedx.protocol._ import com.twitter.finagle.memcachedx.protocol.Stored import com.twitter.finagle.memcachedx.protocol.Exists import com.twitter.finagle.Service import com.twitter.io.Buf import com.twitt...
{ "content_hash": "eac8fd23be6652f02e695a3ddaa2e43e", "timestamp": "", "source": "github", "line_count": 120, "max_line_length": 121, "avg_line_length": 35.28333333333333, "alnum_prop": 0.6908360888049127, "repo_name": "olix0r/finagle", "id": "1c4db8b474085a293692f872ffee61ff6942b0bc", "size": "4234...
--- layout: 02-project name: infocus title: InFocus categories: - portfolio tags: [Coding, Content Management, CSS, Design, Graphic design, HTML] website: infocus.com project: InFocus excerpt: This job marked my beginning as a web designer. color-dark: 0D1C45 --- InFocus was my first official job in the web industry....
{ "content_hash": "2b0be5d7606a61f66a78dc0d42e5f25b", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 312, "avg_line_length": 41.357142857142854, "alnum_prop": 0.7841105354058722, "repo_name": "mapleandpine/nicmarson-website", "id": "49b3e3742dab9482590c578433d498a3aeedf659",...
package main import ( "fmt" "testing" "github.com/jyggen/advent-of-go/internal/solver" ) var testCases = []*solver.TestCase{ { Input: "Step C must be finished before step A can begin.\nStep C must be finished before step F can begin.\nStep A must be finished before step B can begin.\nStep A must be finished be...
{ "content_hash": "68178ae317f0456e402b20b99a8e44eb", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 360, "avg_line_length": 23.3, "alnum_prop": 0.6686695278969957, "repo_name": "jyggen/advent-of-go", "id": "2a9c761a2a0fe8f03a7d77f279198a2d46315d90", "size": "1165", "bin...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
{ "content_hash": "2da98038e9dff0323554b54b4e958d71", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 94, "avg_line_length": 31.548387096774192, "alnum_prop": 0.7474437627811861, "repo_name": "dain/presto", "id": "7b1aa5129356008b2ca324a3e8d3d4c168c9a429", "size": "978", ...
export { SurveyModel as Model }; export enum DragTypeOverMeEnum { InsideEmptyPanel = 1, MultilineRight, MultilineLeft } export interface HashTable<T = any> { } export interface ILocalizableOwner { getLocale(): string; getMarkdownHtml(text: string, name: string): string; getProcessedText(text: string): str...
{ "content_hash": "c6b596a7829a985f5c9fa5077aa93b0f", "timestamp": "", "source": "github", "line_count": 10910, "max_line_length": 440, "avg_line_length": 36.699450045829515, "alnum_prop": 0.7315274319352832, "repo_name": "cdnjs/cdnjs", "id": "3534a1fadb687ff8bb176228d21d688d490e18b6", "size": "4006...
package org.apache.camel.spring; import org.apache.camel.spring.JettyDefinition.FromJettyDefinition; import org.apache.camel.spring.JettyDefinition.ToJettyDefinition; import static org.apache.camel.spring.XmlUtil.unmarshal; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.is; i...
{ "content_hash": "d74f3e05d1fefcf7ad01a094804dc6e4", "timestamp": "", "source": "github", "line_count": 110, "max_line_length": 95, "avg_line_length": 44.06363636363636, "alnum_prop": 0.5263049308850836, "repo_name": "yihtserns/camel-spring-components", "id": "d9873a83fbf6813fec485182a50fdeaf8d4d7338...
from application import application as app import settings import request import database if __name__ == "__main__": database.init_db() app.run()
{ "content_hash": "9854b3d52837a5b1e787c549f99816fa", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 42, "avg_line_length": 19.375, "alnum_prop": 0.6967741935483871, "repo_name": "peixinchen/TravisCITest", "id": "5d5da0500230fe95d6b72b6e5ac9fa9caf8330c6", "size": "155", "...
package tag import ( "github.com/MerinEREN/iiPackages/datastore/tag" "github.com/MerinEREN/iiPackages/session" "log" "net/http" "strings" ) // Handler handles delete request to delete a tag by the given id as encoded datastore key. func Handler(s *session.Session) { ID := strings.Split(s.R.URL.Path, "/")[2] if...
{ "content_hash": "e29320cc6f0ba61209492ba99c91b2fe", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 91, "avg_line_length": 24.580645161290324, "alnum_prop": 0.6666666666666666, "repo_name": "MerinEREN/iiPackages", "id": "880391fd6ed63d8377d4f022ee92875332835a86", "size": ...
module PastaSpecHelper def how_many_include(target_str, included_str) original_size = target_str.size target_str.delete(included_str) return (original_size - target_str.size) end def how_many_include_in_string(target_str, included_str) how_many_include(target_str.split(''), included_str) end ...
{ "content_hash": "6c52bdbb33407dac86c40fcd7129f3de", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 58, "avg_line_length": 25.1875, "alnum_prop": 0.71712158808933, "repo_name": "ShinSemiya/pasta_detective", "id": "2985f4f4e8257b5790de6a8b8188289ddbc3da52", "size": "435", ...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> ...
{ "content_hash": "c84025fa07da4eab740615ea2a2834ac", "timestamp": "", "source": "github", "line_count": 120, "max_line_length": 108, "avg_line_length": 32.69166666666667, "alnum_prop": 0.5806780525108336, "repo_name": "strongbox/strongbox", "id": "06a8ecc0f22fbbe8486da7c80d503e6e3a8a2336", "size": ...
// Copyright 2014 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
{ "content_hash": "97aa3fb5f20cdb932eb44411156e8f85", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 95, "avg_line_length": 33.84444444444444, "alnum_prop": 0.7321076822061721, "repo_name": "damienmg/bazel", "id": "337af77f740754b4c16918d34e45c7bbbb2c1cf9", "size": "1523",...
// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.content.browser.picker; import android.os.Build; import android.widget.DatePicker; import android.widget.DatePicker.OnDateChangedListener; import java.ut...
{ "content_hash": "5cdf7e6105640aedcee538c3365449f4", "timestamp": "", "source": "github", "line_count": 128, "max_line_length": 99, "avg_line_length": 46.625, "alnum_prop": 0.6630361930294906, "repo_name": "chromium/chromium", "id": "9159106b3c354da2f622f943dcb8334bdabb548a", "size": "5968", "bin...
<!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": "f1e129cb211d8becbd432cc7d2438225", "timestamp": "", "source": "github", "line_count": 108, "max_line_length": 923, "avg_line_length": 57.592592592592595, "alnum_prop": 0.6696141479099679, "repo_name": "YGameFrame/YGameFrame.github.io", "id": "3334930054030f729098d8d6564e6de18b431068...
import * as React from 'react'; import { Constants, Sensor, Sensors } from 'model'; import { Graph } from '@greycat/greycat'; const logo = require('./logo.svg'); import './App.css'; import IndexViewer from './IndexViewer'; import { bind } from 'decko'; class App extends React.Component<{ graph: Graph }, {}> { re...
{ "content_hash": "f31db07957079f3f749460eb64e3c3db", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 76, "avg_line_length": 28.657894736842106, "alnum_prop": 0.5224977043158862, "repo_name": "datathings/greycat-stack", "id": "b806969cac6b9efc22387867ffc197611c1d379a", "siz...
namespace xxaml { namespace ui { namespace xaml { namespace controls { const wchar_t xxaml__ui__xaml__controls__content_control[] = L"XXaml.UI.Xaml.Controls.ContentControl"; class content_control : public control { protected: XXAML_IMPORT content_control(); public: XXAML_IMPORT virtual foundation::type_nam...
{ "content_hash": "64266e0207ecf2d1c241c47f6d97d11a", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 103, "avg_line_length": 25.5, "alnum_prop": 0.7226890756302521, "repo_name": "mntone/XXaml", "id": "88ea325c32ea5c6b56c587c954c17ad1c25e8f92", "size": "394", "binary": fa...
Create cross platform desktop applications with server side scripting languages. Desktop Rhino instantly converts NW.js applications into server side desktop applications. By utilizing NW.js' ability to call Node.js scripts from the DOM, Desktop Rhino's core functionality is written purely in javascript! GETTING ...
{ "content_hash": "c08dfd601765a8b5c29b80032ee186b6", "timestamp": "", "source": "github", "line_count": 114, "max_line_length": 505, "avg_line_length": 37.3421052631579, "alnum_prop": 0.7451256753582335, "repo_name": "joshualondono/desktop-rhino", "id": "00e7cdf864d3cedfb18b7f42531e52bb440b4eb5", "...
<!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_91) on Tue Dec 29 12:44:16 AEDT 2015 --> <title>GF2nONBField (Bouncy Castle Library 1.54 API Specification)</title> <meta name="date" c...
{ "content_hash": "872a537f20218db2f29278d3aa24d575", "timestamp": "", "source": "github", "line_count": 354, "max_line_length": 845, "avg_line_length": 49.60734463276836, "alnum_prop": 0.6768976709754569, "repo_name": "GaloisInc/hacrypto", "id": "6829420398da81edf52ae0804c1a129eecbd6450", "size": "...
import Ember from 'ember'; import anime from 'ember-animejs'; const { computed, get } = Ember; const { RSVP: { Promise } } = Ember; export default Ember.Object.extend({ animations: computed(() => []), animate($element, effect, duration) { if (!effect.opacity) { effect.opacity = 1; } if (!effect.easi...
{ "content_hash": "091472464f570cdb3bfaaad3fda57e9f", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 59, "avg_line_length": 20.37142857142857, "alnum_prop": 0.6100981767180925, "repo_name": "null-null-null/ember-letter-by-letter", "id": "37a6b54f9759da166aeea398be87db6c50f34...
layout: data_model title: NetworkConnectionObjectType this_version: 1.1.1 --- <div class="alert alert-danger bs-alert-old-docs"> <strong>Heads up!</strong> These docs are for STIX 1.1.1, which is not the latest version (1.2). <a href="/data-model/1.2/NetworkConnectionObj/NetworkConnectionObjectType">View the latest...
{ "content_hash": "6fc4ad6313ae31136a62494aef0e30e5", "timestamp": "", "source": "github", "line_count": 226, "max_line_length": 391, "avg_line_length": 28.597345132743364, "alnum_prop": 0.574965186445923, "repo_name": "STIXProject/stixproject.github.io", "id": "e8755a370980913cb06635ad2f12ebb5be16b14...
package ecsbackend import ( "fmt" "strconv" "github.com/Sirupsen/logrus" "github.com/quintilesims/layer0/api/backend/ecs/id" "github.com/quintilesims/layer0/api/scheduler/resource" "github.com/quintilesims/layer0/common/aws/autoscaling" "github.com/quintilesims/layer0/common/aws/ec2" "github.com/quintilesims/...
{ "content_hash": "36c92b7bccdb29353bcd1b56f0d98e3a", "timestamp": "", "source": "github", "line_count": 210, "max_line_length": 172, "avg_line_length": 32.19047619047619, "alnum_prop": 0.7397928994082841, "repo_name": "quintilesims/layer0", "id": "b0a262f8a2b028874d7dab5fdbab607561538569", "size": ...
package passtlsclientcert import ( "context" "crypto/x509" "crypto/x509/pkix" "encoding/pem" "fmt" "io" "net/http" "net/url" "strings" "github.com/opentracing/opentracing-go/ext" "github.com/traefik/traefik/v2/pkg/config/dynamic" "github.com/traefik/traefik/v2/pkg/log" "github.com/traefik/traefik/v2/pkg/...
{ "content_hash": "34f6e2c5924662093f742382a7463ea8", "timestamp": "", "source": "github", "line_count": 299, "max_line_length": 119, "avg_line_length": 28.207357859531772, "alnum_prop": 0.7108133744368034, "repo_name": "dtomcej/traefik", "id": "682836d567b0f4968768522bb4ffa0b745a3866a", "size": "84...
.. _example-fitting-model-sets: Fitting Model Sets ================== Astropy model sets let you fit the same (linear) model to lots of independent data sets. It solves the linear equations simultaneously, so can avoid looping. But getting the data into the right shape can be a bit tricky. The time savings could be ...
{ "content_hash": "cc311964b7c93dcf599b493ccf747fe6", "timestamp": "", "source": "github", "line_count": 173, "max_line_length": 123, "avg_line_length": 42.797687861271676, "alnum_prop": 0.6534305780659103, "repo_name": "mhvk/astropy", "id": "a9acd3d85eef651cb7906697207e198f3e7ee26e", "size": "7404"...
#include "config.h" #include "ginotifyfilemonitor.h" #include <gio/giomodule.h> #define USE_INOTIFY 1 #include "inotify-helper.h" #include "gioalias.h" struct _GInotifyFileMonitor { GLocalFileMonitor parent_instance; gchar *filename; gchar *dirname; inotify_sub *sub; gboolean pair_moves; }; static gboo...
{ "content_hash": "20063435a112a5e6d933f07d7e6b7818", "timestamp": "", "source": "github", "line_count": 158, "max_line_length": 96, "avg_line_length": 28.265822784810126, "alnum_prop": 0.6735333631885356, "repo_name": "Multi2Sim/m2s-bench-parsec-3.0-src", "id": "f87f07943b2ba91239197e9f5f2ad8a29db0d0...
module.exports = { 'url' : 'mongodb://localhost:27017/Student' };
{ "content_hash": "de327c7d42a3227ebcb6fd30f303638d", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 44, "avg_line_length": 22.333333333333332, "alnum_prop": 0.6567164179104478, "repo_name": "ajay1001smart/topgear-nodejsproject-studentregistration", "id": "755e3a42c91de399e98...
#include "khttpd_webapi.h" #include <sys/param.h> #include <sys/kernel.h> #include <sys/systm.h> #include <sys/hash.h> #include <sys/mbuf.h> #include <sys/sbuf.h> #include <sys/socket.h> #include <sys/un.h> #include <sys/sysproto.h> #include <sys/syscallsubr.h> #include <netinet/in.h> #include "khttpd_json.h" #inc...
{ "content_hash": "e908329a276bf59c830c32a18067aeab", "timestamp": "", "source": "github", "line_count": 294, "max_line_length": 79, "avg_line_length": 28.976190476190474, "alnum_prop": 0.6874046249559808, "repo_name": "Taketsuru/khttpd", "id": "c2e2eb9db9f1a9da7b0651c7cb94b9e8fae8ba5e", "size": "98...
test{content:"\f102";content:"xf102"}
{ "content_hash": "57501d0c3485532f946ab6aa8e646454", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 37, "avg_line_length": 38, "alnum_prop": 0.7105263157894737, "repo_name": "am11/sass-spec", "id": "f46c23e61a9828f05d868f31c82040aa36e7fb64", "size": "38", "binary": false...
require 'spec_helper' RSpec.describe "HotDate form field label", :type => :request do describe "Accepts same arguments as label_tag method" do it "allows user to specify text of label tag" do visit new_schedule_path page.should have_content("Time for beer yet?") end end end
{ "content_hash": "e2c9379a466977ebb18eb71379849e66", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 63, "avg_line_length": 29.1, "alnum_prop": 0.7250859106529209, "repo_name": "jomalley2112/hot_date_rails", "id": "09a6a8342d2c1323b8e1b0f997f299d786e7aa41", "size": "291", ...
<?php date_default_timezone_set('Asia/Kuala_Lumpur'); /* *--------------------------------------------------------------- * APPLICATION ENVIRONMENT *--------------------------------------------------------------- * * You can load different configurations depending on your * current environment. Setting the envi...
{ "content_hash": "44a34e6cfd6cb18de11fbb5486377b25", "timestamp": "", "source": "github", "line_count": 281, "max_line_length": 158, "avg_line_length": 30.750889679715304, "alnum_prop": 0.5674111792616595, "repo_name": "HabibAsyraf/efutebol", "id": "f11d45dc17dc6f509adad7a98bd256b292916cde", "size"...
import {Directive, DoCheck, Host, Input, TemplateRef, ViewContainerRef} from '@angular/core'; export class SwitchView { private _created = false; constructor( private _viewContainerRef: ViewContainerRef, private _templateRef: TemplateRef<Object>) {} create(): void { this._created = true; this._...
{ "content_hash": "28e46bcbf010893cb482b8483c2f6a20", "timestamp": "", "source": "github", "line_count": 228, "max_line_length": 100, "avg_line_length": 30.385964912280702, "alnum_prop": 0.6729214780600462, "repo_name": "wKoza/angular", "id": "5847340383978f371401c11ecdb804f8bdb6d8e6", "size": "7129...
package com.ack.adventureandconquer.game.proficiency; import com.ack.adventureandconquer.game.Proficiency; /** * Created by saskyrar on 02/03/15. */ public class QuietMagic extends Proficiency { @Override public String getName() { return QUIET_MAGIC; } @Override public String getDescrip...
{ "content_hash": "55fa4f8b8bbc4e8615b1ddd84599833f", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 99, "avg_line_length": 30.666666666666668, "alnum_prop": 0.6630434782608695, "repo_name": "FlorianHuebner/Adventurer-Conqueror-King-Mobile", "id": "56004c570d00f6267438034975...
require 'test/unit' require_relative 'tc_InvalidToken' require_relative 'tc_BreakToken' require_relative 'tc_WhitespaceToken' require_relative 'tc_KeywordToken' require_relative 'tc_OperatorToken' require_relative 'tc_GroupStartToken' require_relative 'tc_GroupEndToken' require_relative 'tc_ParamSeparatorToken' requir...
{ "content_hash": "96dff3e3a9befea5c9b5542c313878cb", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 45, "avg_line_length": 35.1764705882353, "alnum_prop": 0.8394648829431438, "repo_name": "jfitz/BASIC-1973", "id": "3aad6cc7ab72bd4901906ded073b3b011b84a2d4", "size": "626",...
package com.intellij.util.fmap; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import java.util.*; final class ArrayBackedFMap<K, V> implements FMap<K, V> { static final int ARRAY_THRESHOLD = 8; private final @NotNull Object @NotNull [] myData; ArrayBackedFMap(@NotNull ...
{ "content_hash": "fbf03dd78c7d5b60c630ffd94c3bcbfe", "timestamp": "", "source": "github", "line_count": 164, "max_line_length": 93, "avg_line_length": 26.6890243902439, "alnum_prop": 0.5574594471098926, "repo_name": "GunoH/intellij-community", "id": "0114c961c144902ffc6d725cdbfb4054c4d362a1", "size...
<?php namespace Kassner\FinancesBundle\Twig; class PriceExtension extends \Twig_Extension { public function getName() { return 'price'; } public function getFilters() { return array( 'price' => new \Twig_Filter_Method($this, 'priceFormat', array('is_safe' => array('ht...
{ "content_hash": "4ee91f42406bdd9364e39816e1ce1c43", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 103, "avg_line_length": 19.612903225806452, "alnum_prop": 0.5197368421052632, "repo_name": "kassner/finances", "id": "3a929ff44a854889900db405a65bb3faef9c381c", "size": "60...
package com.ckcks12.idiotmusicplayer; import android.content.Context; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumentation test, which will execute on an...
{ "content_hash": "560c3031680b87b7d5be1088dcb60e1f", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 82, "avg_line_length": 29.23076923076923, "alnum_prop": 0.7526315789473684, "repo_name": "ckcks12/Homework", "id": "d4b222690f33ddceff312ebe0327a0001b4750dd", "size": "760"...
TEST(MathFunctions, lgamma) { EXPECT_TRUE(stan::math::is_inf(lgamma(0.0))); } TEST(MathFunctions, lgammaStanMathUsing) { using stan::math::lgamma; } TEST(MathFunctions, lgamma_nan) { double nan = std::numeric_limits<double>::quiet_NaN(); EXPECT_TRUE(std::isnan(stan::math::lgamma(nan))); EXPECT_TRUE(std::isinf(s...
{ "content_hash": "ae133bc2dbb91a2cb3da56f7336170f6", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 77, "avg_line_length": 50.86363636363637, "alnum_prop": 0.709562109025916, "repo_name": "stan-dev/math", "id": "625e3fcf80c08a45e7e446ed286a64fb012c44c9", "size": "1260", ...
package jalse.entities.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import jalse.entities.Entity; import jalse.entities.functions.UnmarkAsTypeFunction; import jalse.entities.methods.UnmarkA...
{ "content_hash": "7d581e2b6eb73898c93234235cac67e7", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 80, "avg_line_length": 24.28125, "alnum_prop": 0.7413127413127413, "repo_name": "Ellzord/JALSE", "id": "47d61cf05d52dacb893515ddcaebeb77050769ea", "size": "777", "binary"...
require_relative 'spec_helper' ['jenkins', 'clamav', 'openjdk-7-jdk', 'ruby', 'ruby-dev', 'sloccount'].each do |value| describe package(value) do it { should be_installed } end end ['brakeman', 'zapr', 'bundler-audit', 'gemrat'].each do |value| describe package(value) do it { should be_installed.by('gem...
{ "content_hash": "58eae18f5b89c0a06a9fd0639e972acc", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 87, "avg_line_length": 24, "alnum_prop": 0.6547619047619048, "repo_name": "secure-pipeline/jenkins-example", "id": "453f8ae5055758bd1218365f596bdfed630c3fce", "size": "336"...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. /****************************************************************************** * This file is auto-generated from ...
{ "content_hash": "7a99b275ce7b8297138acc527a207bdf", "timestamp": "", "source": "github", "line_count": 412, "max_line_length": 187, "avg_line_length": 43.62864077669903, "alnum_prop": 0.5905424200278164, "repo_name": "mmitche/coreclr", "id": "2c7eeaf3332be11266d2cabc50e741bd3cdfe191", "size": "179...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribu...
{ "content_hash": "5546da79a939a1e0526240c76c4ce8b1", "timestamp": "", "source": "github", "line_count": 150, "max_line_length": 83, "avg_line_length": 19.546666666666667, "alnum_prop": 0.6200545702592087, "repo_name": "metatron-app/metatron-discovery", "id": "e335289108503296e0db1d80a842b8fd68489aca"...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "c473b9a6855206614609a9a4f26c13d1", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "aa85a4e92362b02bc50d5ff6db673931ef99d4d4", "size": "193...
#include <ecstasy/utils/ComponentFactory.hpp> #include <ecstasy/utils/EntityFactory.hpp> #include <ecstasy/utils/Blueprint.hpp> namespace ecstasy { EntityFactory::EntityFactory() {} bool EntityFactory::assemble(Entity* entity, const std::string& blueprintname) { auto it = entities.find(blueprintname); bool suc...
{ "content_hash": "f6daa067f7845ca53e4ba9ab88ebb7a0", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 81, "avg_line_length": 28.72, "alnum_prop": 0.7089136490250696, "repo_name": "Lusito/ecstasy", "id": "9f4a378634091004cad3e442acaa685999fc2f7e", "size": "1471", "binary":...
package org.drools.testcoverage.common.util; import org.drools.core.impl.KnowledgeBaseFactory; import org.kie.api.KieBaseConfiguration; import org.kie.api.builder.model.KieBaseModel; import org.kie.api.builder.model.KieModuleModel; import org.kie.api.conf.EqualityBehaviorOption; import org.kie.api.conf.EventProcessi...
{ "content_hash": "bed205a3da7c1e5f5d6d05832a326356", "timestamp": "", "source": "github", "line_count": 112, "max_line_length": 115, "avg_line_length": 40.857142857142854, "alnum_prop": 0.7113199300699301, "repo_name": "sotty/drools", "id": "a798d1684a1895a29eb477681b0507fd7b6adb04", "size": "5196"...
import RAIN.Core; import RAIN.Action; @RAINAction class ActionTemplate_JS extends RAIN.Action.RAINAction { function newclass() { actionName = "ActionTemplate_JS"; } function Start(ai:AI):void { super.Start(ai); } function Execute(ai:AI):ActionResult { return ActionResult...
{ "content_hash": "333e96b32814536badd7a5e86f25c181", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 54, "avg_line_length": 15.461538461538462, "alnum_prop": 0.6218905472636815, "repo_name": "stevetranby/labs-tilemaps", "id": "efdcf91b72fa1c0d8c0285e9e5b75b944ac175c6", "si...
import hashlib import importlib import os import requests GRAMMAR_FILE_NAME = "__init__.py" GRAMMAR_FOLDER_NAME = "gen" GRAMMAR_ID = "5a0bc90e734d1d08bf70e0ff" GRAMMAR_URL = "http://localhost:2666/grammar/{}".format(GRAMMAR_ID) class GrammarRule: def __init__(self, text, data_hash): self.text = text ...
{ "content_hash": "9d760e67f29befef4d3d24a54974759a", "timestamp": "", "source": "github", "line_count": 116, "max_line_length": 126, "avg_line_length": 31.896551724137932, "alnum_prop": 0.6040540540540541, "repo_name": "Zubdano/zql", "id": "a8ee5d32c2c70e06fe3de0c42022348f4c5af8c0", "size": "3700",...
package demo; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.util.Arrays; import java.util.Collection; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.Map; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors...
{ "content_hash": "899cd175dd8396d66a21f16e994eeb14", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 132, "avg_line_length": 33.12162162162162, "alnum_prop": 0.7458180334557324, "repo_name": "jgrandja/spring-security-oauth", "id": "a244b89d84c3d9ede3cbe98714d38d124771bd13", ...
// +build linux package ipmi import ( "fmt" "os/exec" "strconv" "strings" log "github.com/sirupsen/logrus" ) // ExecIpmiToolLocal method runs ipmitool command on a local system func ExecIpmiToolLocal(request []byte, strct *LinuxInBandIpmitool) []byte { c, err := exec.LookPath("ipmitool") if err != nil { ...
{ "content_hash": "2655f290fb5b27a8401838c75b19fa9a", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 126, "avg_line_length": 23.98611111111111, "alnum_prop": 0.6572090330052114, "repo_name": "intelsdi-x/snap-plugin-collector-node-manager", "id": "09342a62991dce7009ffa373ffeb...
package com.github.dockerjava.netty.handler; import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.SimpleChannelInboundHandler; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import com.github.dockerjava.api.as...
{ "content_hash": "39124efa95ec7f7293f09617d72055d9", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 113, "avg_line_length": 30.46153846153846, "alnum_prop": 0.7121212121212122, "repo_name": "llamahunter/docker-java", "id": "db20d6216964aa1976782cfbeb993ad1a6e38f5e", "size...
#include <sys/cdefs.h> __FBSDID("$FreeBSD: releng/9.3/sys/kern/vfs_extattr.c 250248 2013-05-04 18:44:14Z mdf $"); #include <sys/param.h> #include <sys/systm.h> #include <sys/capability.h> #include <sys/lock.h> #include <sys/mount.h> #include <sys/mutex.h> #include <sys/sysproto.h> #include <sys/fcntl.h> #include <sy...
{ "content_hash": "7970bd3a8ad1f6afe6cb42782045abd2", "timestamp": "", "source": "github", "line_count": 769, "max_line_length": 90, "avg_line_length": 22.81664499349805, "alnum_prop": 0.6686424256240738, "repo_name": "dcui/FreeBSD-9.3_kernel", "id": "df053889ce7448b4fc4ce9658d2ca82b9a7a06be", "size...
MixerAudioSource::MixerAudioSource() : currentSampleRate (0.0), bufferSizeExpected (0) { } MixerAudioSource::~MixerAudioSource() { removeAllInputs(); } //============================================================================== void MixerAudioSource::addInputSource (AudioSource* input, const bool delete...
{ "content_hash": "d3300ed89e751671f51c1b24772adbdf", "timestamp": "", "source": "github", "line_count": 133, "max_line_length": 104, "avg_line_length": 24.69172932330827, "alnum_prop": 0.5782582216808769, "repo_name": "waateam/ScoringTable", "id": "261fff7494a43ebf7d34ee0b7e8efc860fecd5ec", "size":...
import React, {PropTypes, Component} from 'react'; import Immutable from 'immutable'; import transform from 'svg-transform'; import document from 'global/document'; import config from '../config'; import ViewportMercator from 'viewport-mercator-project'; function noop() {} function mouse(container, event) { const...
{ "content_hash": "19f665e7634363d835ce86f42f251f33", "timestamp": "", "source": "github", "line_count": 126, "max_line_length": 79, "avg_line_length": 30.523809523809526, "alnum_prop": 0.6305252210088403, "repo_name": "RanaRunning/rana", "id": "d8acfc85d0010a83725191979653482945173d82", "size": "49...
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: AssemblyTit...
{ "content_hash": "693f107dd647ba26efdd358edd6ac3e5", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 84, "avg_line_length": 39.285714285714285, "alnum_prop": 0.7301818181818182, "repo_name": "ecleveland/IoTHackathon", "id": "0e9711f97ac420d5bc2c55929379489a3938f8ee", "size...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>basic_raw_socket::basic_raw_socket (3 of 6 overloads)</title> <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="ho...
{ "content_hash": "17133fd7d61d6e0bda354d1013a67796", "timestamp": "", "source": "github", "line_count": 90, "max_line_length": 447, "avg_line_length": 65.53333333333333, "alnum_prop": 0.6320786707358427, "repo_name": "ryancoleman/autodock-vina", "id": "c2f93397d765e97600ca34584e458ae8bb8ea2e7", "si...
package com.izforge.izpack.compiler; import junit.framework.TestCase; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; public class ByteCountingOutputStreamTest extends TestCase { public void testWriting() throws IOException { File temp = File.createTempFile("foo",...
{ "content_hash": "30d7a6410482a1ccc19de7e2760312de", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 74, "avg_line_length": 23.689655172413794, "alnum_prop": 0.6593886462882096, "repo_name": "Sage-ERP-X3/izpack", "id": "00e9b3fbc0afe27bc0cb347a194e8074b4c6fd62", "size": "1...
// // NNOAuth2Client.h // NNNetwork // // Copyright (c) 2012 Tomaz Nedeljko (http://nedeljko.com) // // 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 wi...
{ "content_hash": "a54d31130cc8c3ea3800632cb2462bea", "timestamp": "", "source": "github", "line_count": 89, "max_line_length": 475, "avg_line_length": 71.17977528089888, "alnum_prop": 0.7528018942383583, "repo_name": "tomazsh/NNNetwork", "id": "5a64cd4a1387b5dbcc116f5a3316d0f53ff3fa7e", "size": "63...
""" Demonstration of the asyncio module in Python 3.5 This simulation is composed of three layers, each of which will split up the data into some different subsets, pass the subsets off to the next layer, wait for results, and then do some non-trivial processing to return to the previous layer (in this case, sleeping ...
{ "content_hash": "3506e5f89d26e4adaffc7b3618f52b36", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 88, "avg_line_length": 39.72222222222222, "alnum_prop": 0.7115384615384616, "repo_name": "dmeklund/asyncdemo", "id": "6831711c626bab222298b8b4c9f5c2d8b098409b", "size": "28...
goog.provide('shaka.util.IBandwidthEstimator'); /** * @event shaka.util.IBandwidthEstimator.BandwidthEvent * @description Fired when a new bandwidth estimate is available. * @property {string} type 'bandwidth' * @property {boolean} bubbles false */ /** * Tracks bandwidth samples and estimates available ban...
{ "content_hash": "4d8c6c3c565886e770d9e969d235de37", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 78, "avg_line_length": 25.070422535211268, "alnum_prop": 0.7337078651685394, "repo_name": "viniciusferreira/shaka-player", "id": "3182fef57cb5da17b317c40782118ae46b661425", ...
package eu.hyvar.feature.expression.resource.hyexpression.ui; import java.io.ByteArrayInputStream; import java.util.ArrayList; import java.util.Collection; import java.util.List; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IMarker; import org.eclipse.core.resources.IResource; import org...
{ "content_hash": "082c677767a5085a66de0aa41e633acd", "timestamp": "", "source": "github", "line_count": 112, "max_line_length": 209, "avg_line_length": 43.285714285714285, "alnum_prop": 0.7475247524752475, "repo_name": "HyVar/DarwinSPL", "id": "21ba12c21c6b8201f3d3882ca4c89c0827c10e2f", "size": "48...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "1a9aa38f22c2f875d8332e0ba21c0632", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "329084cf5deeafa7a7f2ff85cd8fb8bc52878a87", "size": "19...
package ml.dmlc.xgboost4j.java; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.util.Arrays; import java.util.HashMap; import java.util.Map; import junit.framework.TestCase; import org...
{ "content_hash": "c895bbec86cf5339661c7a6fcb93ba66", "timestamp": "", "source": "github", "line_count": 291, "max_line_length": 106, "avg_line_length": 32.76288659793814, "alnum_prop": 0.6233480176211453, "repo_name": "RPGOne/Skynet", "id": "c60b2406aa1c4890d637c32fcdc42aaff7a5fa0e", "size": "10111...
namespace Core { using System.Diagnostics.CodeAnalysis; using UnityEngine; /// <summary> /// Updates the Renderer in this GameObject with a specific color. /// </summary> public class TargetColorPicker : MonoBehaviour { /// <summary> /// The color to serverUpdate the Rendere...
{ "content_hash": "73db406dcafd4d76b077a79d2da0b36c", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 129, "avg_line_length": 31, "alnum_prop": 0.6104218362282878, "repo_name": "thijser/ARGAME", "id": "8aa5e5f70686a2c05d0be94da3e058e8ff980777", "size": "1340", "binary": f...
package krasa.svn.frontend.pages.mergeinfo; import krasa.core.frontend.pages.BasePage; import krasa.svn.backend.dto.MergeInfoResult; import krasa.svn.frontend.component.BranchAutocompleteFormPanel; import krasa.svn.frontend.component.table.SelectedBranchesTablePanel; import org.apache.wicket.ajax.AjaxRequestTarget; i...
{ "content_hash": "42c75d4e9d6bc831ddc3cdf41d851be8", "timestamp": "", "source": "github", "line_count": 143, "max_line_length": 91, "avg_line_length": 27.055944055944057, "alnum_prop": 0.7720341173429827, "repo_name": "krasa/DevSupportApp", "id": "75fa136810821b7e3b69e442e2787d00b926afd4", "size": ...
using NUnit.Framework; using Umbraco.Core.Services; using Umbraco.Tests.TestHelpers; using System; using System.Linq; using Umbraco.Core.Models.Membership; namespace Umbraco.Tests.Services { /// <summary> /// Tests covering the SectionService /// </summary> [DatabaseTestBehavior(DatabaseBehavior.NewDb...
{ "content_hash": "6d27bb888ba982c808ef600b2dee4044", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 94, "avg_line_length": 31.26923076923077, "alnum_prop": 0.5699056990569906, "repo_name": "jchurchley/Umbraco-CMS", "id": "0d95cfc56dc086a486ea3edb2bb09b1307ad6862", "size":...
package ch.poole.openinghoursparser; public class Nth extends Element { public static final int INVALID_NTH = Integer.MIN_VALUE; int startNth = INVALID_NTH; int endNth = INVALID_NTH; /** * Default constructor */ public Nth() { ...
{ "content_hash": "3cbd1c9e8221c8e6b6b6a8cfabd4fdc7", "timestamp": "", "source": "github", "line_count": 94, "max_line_length": 67, "avg_line_length": 21.74468085106383, "alnum_prop": 0.47211350293542076, "repo_name": "simonpoole/OpeningHoursParser", "id": "2621aecdc397882529816032291b80f9806fd526", ...
package testing import ( "math/rand" "strconv" "testing" "github.com/GoogleCloudPlatform/kubernetes/pkg/api" "github.com/GoogleCloudPlatform/kubernetes/pkg/api/resource" "github.com/GoogleCloudPlatform/kubernetes/pkg/fields" "github.com/GoogleCloudPlatform/kubernetes/pkg/labels" "github.com/GoogleCloudPlatf...
{ "content_hash": "954e29d2d7d99a7d3f03516f882de53c", "timestamp": "", "source": "github", "line_count": 225, "max_line_length": 126, "avg_line_length": 36.315555555555555, "alnum_prop": 0.6758046750703708, "repo_name": "mjisyang/origin", "id": "04a4bec3f548037d33c91bfabc244eefb961cd1e", "size": "87...
@implementation PuzzleCollectionViewCell @end
{ "content_hash": "96a1caf6a3b3a06a32fb30b3f41bac90", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 40, "avg_line_length": 15.666666666666666, "alnum_prop": 0.8723404255319149, "repo_name": "steryokhin/iOS-Puzzle-Game", "id": "d767b989d4e723a9378a51ee9fa897861af2eb2a", "si...
<?xml version="1.0" encoding="utf-8"?> <resources> <!-- From: file:/Users/bjol7457/Documents/AdMobBanner/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.0.1/res/values-large/values-large.xml --> <eat-comment/> <bool name="abc_action_bar_embed_tabs_pre_jb">true</bool> <bool name=...
{ "content_hash": "c4f5bd4d47f1a4b56fa8bf2f0380746f", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 172, "avg_line_length": 65.8125, "alnum_prop": 0.7207977207977208, "repo_name": "brandonjolley97/AdMobBanner", "id": "20aec5f1a136399247f4d3c5958f5bf144d7c9fe", "size": "10...
package generator import ( "bytes" "fmt" "testing" "github.com/go-openapi/spec" "github.com/stretchr/testify/assert" ) func TestSimpleResponseRender(t *testing.T) { b, err := opBuilder("updateTask", "../fixtures/codegen/todolist.responses.yml") if assert.NoError(t, err) { op, err := b.MakeOperation() if a...
{ "content_hash": "7a076bb5d416ae73b7671058106246f3", "timestamp": "", "source": "github", "line_count": 251, "max_line_length": 118, "avg_line_length": 26, "alnum_prop": 0.6369904995403003, "repo_name": "kayla90/go-swagger", "id": "4c5c7962fd10be6105bef84c7fb7fe05093b679a", "size": "7125", "binar...
package grails.plugin.console.charts.client.application.connection; import com.gwtplatform.mvp.client.UiHandlers; /** * @author <a href='mailto:donbeave@gmail.com'>Alexey Zhokhov</a> */ public interface ConnectionUiHandlers extends UiHandlers { void onSendClicked(); }
{ "content_hash": "3c8dfd8e8b81dfbee06847d15f86be5f", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 67, "avg_line_length": 23.25, "alnum_prop": 0.7670250896057348, "repo_name": "donbeave/grails-console-charts", "id": "308a9a5e7bfade9bcfc52615772bd5c6daadc438", "size": "27...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.jedi.oracle; import com.jedi.common.StoredProcedure; /** * @author umitgunduz */ public abstract class OracleProcedur...
{ "content_hash": "628265ce2dd787ba4849d4ac1ecac821", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 95, "avg_line_length": 25, "alnum_prop": 0.6322222222222222, "repo_name": "umitgunduz/jedi", "id": "2b1f89209eb2ec5247866887ec6a998887d8937f", "size": "1560", "binary": f...
var _; // globals describe("About Applying What We Have Learnt", function() { var products; beforeEach(function () { products = [ { name: "Sonoma", ingredients: ["artichoke", "sundried tomatoes", "mushrooms"], containsNuts: false }, { name: "Pizza Primavera", ingredients: ["roma", "sundried tom...
{ "content_hash": "118323d5968ece95c4aa63a081b5ee84", "timestamp": "", "source": "github", "line_count": 120, "max_line_length": 147, "avg_line_length": 36, "alnum_prop": 0.5231481481481481, "repo_name": "dmoser49/javascript-koans", "id": "11ec06c2de1ecb1fee5bb20305ae084d7abe5404", "size": "4320", ...
/* * Copyright 2001-2006 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
{ "content_hash": "fe75b560882e7617bfe2fa734f6f8f48", "timestamp": "", "source": "github", "line_count": 235, "max_line_length": 79, "avg_line_length": 39.685106382978724, "alnum_prop": 0.6171992279648295, "repo_name": "wangsongpeng/jdk-src", "id": "530ca6b693bde227e6db219c63519da8fd2e4ced", "size":...
// LICENSE : MIT "use strict"; import { TextLintFixCommand } from "../textlint-kernel-interface"; export interface RuleErrorPadding { line?: number; column?: number; index?: number; fix?: TextLintFixCommand; } export default class RuleError { public message: string; private line?: number; ...
{ "content_hash": "ae4ef239982b65067274554abbc7284f", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 122, "avg_line_length": 28.9375, "alnum_prop": 0.5415766738660908, "repo_name": "t-ashula/textlint", "id": "d8e02e809c8a4aba89187ab8e356f69fddbc0703", "size": "1852", "bi...
<?php namespace OzairP\PayBud; use PayPal\Auth\OAuthTokenCredential; use PayPal\Rest\ApiContext; /** * Class Context * @package OzairP\PayBud */ class Context extends ApiContext { const MODE_SANDBOX = 'sandbox'; const MODE_LIVE = 'live'; /** * Context constructor. * * @param string $...
{ "content_hash": "2e63fccc0968914e0f49cc6f73abe2bc", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 113, "avg_line_length": 23.555555555555557, "alnum_prop": 0.5754716981132075, "repo_name": "OzairP/PayBud", "id": "6e6f368652c52dd5d3337593a7428c3ec8f93c28", "size": "1060"...
package origin import ( "crypto/tls" "fmt" "net" "net/http" "net/url" "os" "regexp" "time" etcdclient "github.com/coreos/go-etcd/etcd" "github.com/elazarl/go-bindata-assetfs" restful "github.com/emicklei/go-restful" "github.com/emicklei/go-restful/swagger" "github.com/golang/glog" "github.com/GoogleClo...
{ "content_hash": "34008809ef9470d78664411ce50b0740", "timestamp": "", "source": "github", "line_count": 852, "max_line_length": 199, "avg_line_length": 38.806338028169016, "alnum_prop": 0.7671717629979131, "repo_name": "sdodson/origin", "id": "d884dc31628c9e691246f7ff5dce875aae025cc8", "size": "330...
<?php include_once(TOOLKIT . '/class.manager.php'); include_once(TOOLKIT . '/class.extension.php'); define_safe('EXTENSION_ENABLED', 10); define_safe('EXTENSION_DISABLED', 11); define_safe('EXTENSION_NOT_INSTALLED', 12); define_safe('EXTENSION_REQUIRES_UPDATE', 13); Class ExtensionManager ext...
{ "content_hash": "565c52f33251f71e1c3beff5ef120ce8", "timestamp": "", "source": "github", "line_count": 366, "max_line_length": 169, "avg_line_length": 31.653005464480874, "alnum_prop": 0.5603798014674147, "repo_name": "bauhouse/sym-fluid960gs", "id": "0d41d1fb5e5d8c5cede291b28e5b37856a556060", "si...
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('hoist-non-inferno-statics'), require('inferno'), require('redux')) : typeof define === 'function' && define.amd ? define(['exports', 'hoist-non-inferno-statics', 'inferno', 'redux'], factory) :...
{ "content_hash": "2e451e98e7090a2c02d7c01924220c04", "timestamp": "", "source": "github", "line_count": 703, "max_line_length": 239, "avg_line_length": 51.09103840682788, "alnum_prop": 0.5967647632040538, "repo_name": "cdnjs/cdnjs", "id": "5102ffbe393b057ea6c1323d4fd28e77e7199583", "size": "35917",...
/** *Copyright [2009-2010] [dennis zhuang(killme2008@gmail.com)] *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 requ...
{ "content_hash": "2ea78c16eed64f769d1f3779ad153b1f", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 126, "avg_line_length": 31.76, "alnum_prop": 0.6442065491183879, "repo_name": "killme2008/hs4j", "id": "d8d49bbdeabebe5f0bfe97d66c8a065e97928978", "size": "3807", "binar...
package cmd import ( "github.com/spf13/cobra" "log" ) var exec = &cobra.Command{ Use: "exec", Short: "Executes bunch of commands", Long: `Executes bunch of commands`, Run: func(cmd *cobra.Command, args []string) { commands := make(map[string]struct{}, len(RootCommand.Commands())) for _, c := range RootCo...
{ "content_hash": "32e17c5b09b34882c6ec802e5c77b7bd", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 68, "avg_line_length": 20.137931034482758, "alnum_prop": 0.6061643835616438, "repo_name": "avarabyeu/releaser", "id": "7a3b29aea71f099d13781dc733ab380ac046489e", "size": "5...
def foo(): return
{ "content_hash": "654ff048c99c42003de447473d81bee5", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 10, "avg_line_length": 11, "alnum_prop": 0.5454545454545454, "repo_name": "doboy/Underscore", "id": "a4a7def833c4da7503c1f61d81ec3c632f21efe1", "size": "22", "binary": fal...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="zh"> <head> <!-- Generated by javadoc (version 1.7.0_07) on Tue Jun 04 15:59:36 CST 2019 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>Shelf</title> <meta...
{ "content_hash": "9c980b42c4def5f83221ffba02f95f6d", "timestamp": "", "source": "github", "line_count": 348, "max_line_length": 223, "avg_line_length": 32.4367816091954, "alnum_prop": 0.6141920623671155, "repo_name": "zhangdaiscott/jeewx-api", "id": "6f208da4f87c8709ae3d4b21cc8c9617a1f0f2a9", "size...
try: import gdb except ImportError as e: raise ImportError("This script must be run in GDB: ", str(e)) import sys import os sys.path.append(os.getcwd()) import stl_containers import simple_class_obj SIZE_OF_INT = 4 SIZE_OF_BOOL = 1 SIZE_OF_INT64 = 8 SIZE_OF_UINT256 = 32 def get_special_type_obj(gobj): ob...
{ "content_hash": "bbbce8e580b2f007b754fe90c47f2cbf", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 65, "avg_line_length": 30.166666666666668, "alnum_prop": 0.6899938612645795, "repo_name": "ivansib/sibcoin", "id": "7dcc6c021db60e95e5f0b8416a21ad3958676f90", "size": "1650...
""" dotfiles ~~~~~~~~ Dotfiles is a tool to make managing your dotfile symlinks in $HOME easy, allowing you to keep all your dotfiles in a single directory. Hosting is up to you. You can use a VCS like git, Dropbox, or even rsync to distribute your dotfiles repository across multiple hosts. ...
{ "content_hash": "1f71d3ed003867d76c7df00e08e1aafa", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 79, "avg_line_length": 31.785714285714285, "alnum_prop": 0.6741573033707865, "repo_name": "jawilson/dotfiles", "id": "226c06e2586bf2f5ec1e16f28f1c84cfb7561c91", "size": "44...
package org.drools.modelcompiler.util.lambdareplace; public class NotLambdaException extends RuntimeException { }
{ "content_hash": "8b6311be9ee2059bb9526a89767ed02c", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 58, "avg_line_length": 16.857142857142858, "alnum_prop": 0.8305084745762712, "repo_name": "jomarko/drools", "id": "d8ddf85e55c971663755d878e17dfa073d6080c5", "size": "741", ...
<!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 (1.8.0_151) on Thu Mar 08 14:17:44 MST 2018 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Package org.wildfly...
{ "content_hash": "7246a3342e1bc76e9a08c08cb9a38295", "timestamp": "", "source": "github", "line_count": 588, "max_line_length": 422, "avg_line_length": 62.314625850340136, "alnum_prop": 0.7220326956142027, "repo_name": "wildfly-swarm/wildfly-swarm-javadocs", "id": "0c39a5a835f993a075586a944822b9eae3f...
package org.oasis_open.docs.wsn.b_2; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAnyElement; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; import javax.xml.ws.wsaddressing.W3CEndpointRefe...
{ "content_hash": "d866211f6a923114af58bd50d2df3a2c", "timestamp": "", "source": "github", "line_count": 238, "max_line_length": 105, "avg_line_length": 27.80672268907563, "alnum_prop": 0.5871864611665155, "repo_name": "fpompermaier/onvif", "id": "8df6bc7967fb790d99bb815603a2ee2e74ef3adc", "size": "...
package storage import ( "github.com/theupdateframework/notary/storage/rethinkdb" ) // These consts are the index names we've defined for RethinkDB const ( rdbSHA256Idx = "sha256" rdbGunRoleIdx = "gun_role" rdbGunRoleSHA256Idx = "gun_role_sha256" rdbGunRoleVersionIdx = "gun_role_version" ) var (...
{ "content_hash": "d8204c1a6affd6b673b72cec8bd06f5f", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 106, "avg_line_length": 29.617021276595743, "alnum_prop": 0.6817528735632183, "repo_name": "jfrazelle/notary", "id": "611d960db6e4367ff5f103aa86163dfc47037b44", "size": "13...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package src; import com.MumbaiPointsInfo; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletExcepti...
{ "content_hash": "5bfecd03126a57d12a5b2a3de785edfa", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 123, "avg_line_length": 33.39772727272727, "alnum_prop": 0.6743790404899626, "repo_name": "kireet-13/TrafficUpdate", "id": "c27db17f62954c3669fcb504c5fc0f885d40c2d5", "size...
package org.apache.hadoop.hbase.regionserver; import java.io.IOException; import java.util.Collection; import java.util.List; import java.util.Map; import org.apache.hadoop.fs.Path; import org.apache.hadoop.hbase.Cell; import org.apache.hadoop.hbase.CellComparator; import org.apache.hadoop.hbase.HBaseInterfaceAudien...
{ "content_hash": "b2a86e4826f666cb9ddc17821485c168", "timestamp": "", "source": "github", "line_count": 744, "max_line_length": 107, "avg_line_length": 37.196236559139784, "alnum_prop": 0.7069812820698128, "repo_name": "gustavoanatoly/hbase", "id": "48672a30a5be5ed44dbc729acb1dc925c4e8b403", "size"...
const {createTestContext} = require('./__fixtues__/create-test-context'); const propertiesReader = require('../'); describe('prototype-pollution', () => { let context; beforeEach(async () => { context = await createTestContext(); }); it('does not pollute global Object.prototype', async () => { ...
{ "content_hash": "3a09a5271268c8e9a267e7f64f2b8101", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 76, "avg_line_length": 31.178571428571427, "alnum_prop": 0.588774341351661, "repo_name": "steveukx/properties", "id": "19f0e21067ea596cb4818b04fb113590260adf9a", "size": "8...
using UnrealBuildTool; public class ScreenShotTool : ModuleRules { public ScreenShotTool(TargetInfo Target) { PublicIncludePaths.AddRange(new string[] { "ScreenShotTool/Public" }); PrivateIncludePaths.AddRange(new string[] { "ScreenShotTool/Private", }); PublicDependencyModuleNames....
{ "content_hash": "391589914aceb03edfbed4ae80684217", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 66, "avg_line_length": 26.08695652173913, "alnum_prop": 0.6866666666666666, "repo_name": "xtygah14three/UE4ScreenShotLib", "id": "12b62c5845f3ca2d154c40a22e95fcf0b2681508", ...
package org.dbmaintain.script.repository; import org.dbmaintain.config.PropertyUtils; import org.dbmaintain.script.Script; import org.dbmaintain.script.ScriptContentHandle; import org.dbmaintain.script.ScriptFactory; import org.dbmaintain.script.executedscriptinfo.ScriptIndexes; import org.dbmaintain.script.qualifier...
{ "content_hash": "649652959b41472844606eb978d6b92c", "timestamp": "", "source": "github", "line_count": 253, "max_line_length": 177, "avg_line_length": 45.426877470355734, "alnum_prop": 0.7169581484381797, "repo_name": "hemau23/dbmaintain", "id": "18b84d66557287309e511165b0bf00f9df041b22", "size": ...
bootimg-tools ============= Android boot.img creation and extraction tools (also MinGW compatible) Based on the original Android bootimg tools from: https://android.googlesource.com/platform/system/core
{ "content_hash": "12c54b80212c7506b1884702efc88a7c", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 70, "avg_line_length": 29.571428571428573, "alnum_prop": 0.7584541062801933, "repo_name": "Alex237/bootimg-tools", "id": "4620070fbd53b3bd844ab78ed9d17c391ec70093", "size": ...