text
stringlengths
2
1.04M
meta
dict
""" RBAC related utility functions. """ from oslo_config import cfg from st2common.constants.rbac import SystemRole __all__ = [ 'request_user_is_admin', 'request_user_has_role', 'user_is_admin', 'user_has_role' ] def request_user_is_admin(request): """ Check if the logged-in request user h...
{ "content_hash": "2f107661c080f4a30fbdcd8e6bbabfc5", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 88, "avg_line_length": 20.948051948051948, "alnum_prop": 0.6323620582765034, "repo_name": "grengojbo/st2", "id": "388968aa33fcdfe3f463e338f670f42d10b4b732", "size": "2393",...
using System; using System.Collections.Generic; using QuantConnect.Configuration; using QuantConnect.Data; using QuantConnect.Logging; using QuantConnect.Util; namespace QuantConnect.ToolBox.YahooDownloader { public static class YahooDownloaderProgram { /// <summary> /// Yahoo Downloader Toolb...
{ "content_hash": "141e194074886780d92300b8d30fdf24", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 122, "avg_line_length": 37.127272727272725, "alnum_prop": 0.5656219392752204, "repo_name": "StefanoRaggi/Lean", "id": "59467b7e5626870ac4d19c47375c075e293e89e5", "size": "2...
@interface NIMGroupUser() @property (nonatomic,copy) NSString *userId; @property (nonatomic,strong) NIMKitInfo *info; @end @implementation NIMGroupUser - (instancetype)initWithUserId:(NSString *)userId{ self = [super init]; if (self) { _userId = userId; _info = [[NIMKit sharedKit] infoByUs...
{ "content_hash": "313ebb177e6527794726ab2ac414a362", "timestamp": "", "source": "github", "line_count": 161, "max_line_length": 106, "avg_line_length": 21.795031055900623, "alnum_prop": 0.658592191507552, "repo_name": "netease-im/NIM_iOS_UIKit", "id": "0c9612ebda21faf3a4b6be499e18cd84fc3f5366", "si...
/** * Base interfaces and annotations defining Joda-Beans. * <p> * Joda-Beans is a library that can be used to provide enhanced Java Beans. * These extensions provide the tools for framework writers to access bean and property * information in a consistent and fast manner, typically without reflection. * <p> *...
{ "content_hash": "cafb8560d251b5acb38137e80f74dc9c", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 87, "avg_line_length": 43.11764705882353, "alnum_prop": 0.7544338335607094, "repo_name": "fengshao0907/joda-beans", "id": "a93df5706bb30ff0d8a0aa48db885439da4455e4", "size"...
require 'rails_helper' RSpec.describe User, type: :model do it { should have_many :projects } it { should respond_to :email } describe 'Create User' do it 'with valid parameters' do User.create( email: "test@test.test", password: "test12333") expect(User.count).to eq(1) end it 'with no...
{ "content_hash": "340ba12b168448f64fac7ed053748219", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 73, "avg_line_length": 25.541666666666668, "alnum_prop": 0.634584013050571, "repo_name": "venarius/adoptMyGit", "id": "57009292aec830cffa4d16a0237109539ea669f3", "size": "6...
package com.yundroid.kokpit.commands; public enum ControlLevel { MAX, ACE, BEGINNER; }
{ "content_hash": "de9fa38a2d2716c66ffac13a37803e8b", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 37, "avg_line_length": 13, "alnum_prop": 0.7472527472527473, "repo_name": "syagbasan/Kokpit", "id": "7356e8800037e25721b21e219a70902c9f9a1b9e", "size": "91", "binary": fal...
import color from 'color'; import { Platform, Dimensions, PixelRatio } from 'react-native'; const deviceHeight = Dimensions.get('window').height; const deviceWidth = Dimensions.get('window').width; const platform = Platform.OS; const platformStyle = undefined; const isIphoneX = platform === 'ios' && deviceHeight ==...
{ "content_hash": "5fd7de1464644954b1d03b4360dea7b3", "timestamp": "", "source": "github", "line_count": 249, "max_line_length": 80, "avg_line_length": 26.333333333333332, "alnum_prop": 0.6464846728686899, "repo_name": "kapone89/MonteOfficeExpo", "id": "4b93eb39fbc35f14f74543a187b489082a23947c", "si...
require "rprompt/version" require "rprompt/deco" require "rprompt/termcolor" module Rprompt class PromptItem include Deco attr_reader :symbol, :color # @param config [Hash] Prompt item configuration: # - :cmd => shell command # - :symbol => character # - :color => color name def initialize(config) ...
{ "content_hash": "cc6357b5cc897e6d8af81f28d82a3d45", "timestamp": "", "source": "github", "line_count": 119, "max_line_length": 102, "avg_line_length": 23.361344537815125, "alnum_prop": 0.6550359712230216, "repo_name": "olibob/rprompt", "id": "24ff7ef5327a3aceb3b1ef3156aee976032e0bc4", "size": "278...
package net.ontopia.topicmaps.query.core; /** * PUBLIC: Represents a set of parsed query declarations. There is no * support at present for seeing what these declarations are, but the * context containing these declarations can be passed in to a query * processor. * * @since 2.1 */ public interface Declarati...
{ "content_hash": "f5a4ce2d3c75d01bd541392a50dc8160", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 69, "avg_line_length": 21.1875, "alnum_prop": 0.7374631268436578, "repo_name": "ontopia/ontopia", "id": "a1bcc989b957e953ed8f289808bc08999ef1bcfd", "size": "994", "binary...
#include "py/runtime.h" #include "py/mphal.h" #include "py/mpthread.h" #include <sys/time.h> #include <windows.h> #include <unistd.h> HANDLE std_in = NULL; HANDLE con_out = NULL; DWORD orig_mode = 0; STATIC void assure_stdin_handle() { if (!std_in) { std_in = GetStdHandle(STD_INPUT_HANDLE); as...
{ "content_hash": "b2ea7e68d753f44c581e3a7000dc23f1", "timestamp": "", "source": "github", "line_count": 245, "max_line_length": 109, "avg_line_length": 29.37142857142857, "alnum_prop": 0.622568093385214, "repo_name": "bvernoux/micropython", "id": "7a3d881a34430f99c6de8bf67ec097c9573b3023", "size": ...
const fs = require('fs'); const path = require('path'); const Sequelize = require('sequelize'); const basename = path.basename(module.filename); const env = process.env.NODE_ENV || 'development'; // eslint-disable-line const config = require(`${__dirname}/../config/config.js`)[env]; const db = {}; let sequelize; if (c...
{ "content_hash": "5435ed39071db0be4fffe2f4d1fc15fa", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 90, "avg_line_length": 26.105263157894736, "alnum_prop": 0.6512096774193549, "repo_name": "andela-ieyo/docify", "id": "db5ca242411b2239f53a3ef28f9d66dd6983a5a7", "size": "9...
import openmc import pytest @pytest.fixture def th232_model(): # URR boundaries for Th232 e_min, e_max = 4000.0, 100000.0 model = openmc.model.Model() th232 = openmc.Material() th232.add_nuclide('Th232', 1.0) surf = openmc.Sphere(r=100.0, boundary_type='reflective') cell = openmc.Cell(fi...
{ "content_hash": "03a811c6ba049b346604fc2f0c977717", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 72, "avg_line_length": 30, "alnum_prop": 0.6682539682539682, "repo_name": "walshjon/openmc", "id": "745d62cef0fc7c6d42f4e84d75e21b96da7028de", "size": "1260", "binary": f...
{% extends 'templates/nhs_transaction_layout.html' %} {% import 'includes/form_macros.html' as form_macros %} {% import 'includes/ui_element_macros.html' as ui_element_macros %} {% block content %} <main id="content" role="main"> <h1 class="heading-large" style="padding-top:0px;padding-bottom:10px;">Booking Confirma...
{ "content_hash": "ee3140681c59be70ac6c808f612b60f1", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 135, "avg_line_length": 40.25757575757576, "alnum_prop": 0.5912683477606323, "repo_name": "st3v3nhunt/prototype-ers", "id": "b06a5720b04615908b91b27e84212190bee7874b", "siz...
def do_something (name, address, phone_num) end
{ "content_hash": "cacbce0aed05962f79382dee7062a83c", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 43, "avg_line_length": 23.5, "alnum_prop": 0.7659574468085106, "repo_name": "FrizzBolt/phase-0", "id": "300d6758100a21581744bdf8e5779b5aee670bf3", "size": "139", "binary":...
title: Slides permalink: /slides/ layout: page profile: false --- <ul class="archive-list"> {% for slide in site.data.slides %} <li> <a href="/slides/{{ slide.path }}/">{{ slide.name }}</a> <div class="iframe-wrapper"><iframe src="/slides/{{ slide.path }}/"></iframe></div> </li> {% endfor %} </ul>
{ "content_hash": "83589258653ead1d2c9d91c95809b91b", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 88, "avg_line_length": 20, "alnum_prop": 0.58125, "repo_name": "aqafiam/aqafiam.github.io", "id": "a16771f718ea6bbe7eacd4f43eb2ddab88ac606b", "size": "324", "binary": fal...
#ifndef MC_SPID_H_ #define MC_SPID_H_ /** Service provider Identifier type. */ typedef uint32_t mcSpid_t; /** SPID value used as free marker in root containers. */ static const mcSpid_t MC_SPID_FREE = 0xFFFFFFFF; /** Reserved SPID value. */ static const mcSpid_t MC_SPID_RESERVED = 0; /** SPID for system applicati...
{ "content_hash": "25152d8e9e157301d0ae28eba9041773", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 57, "avg_line_length": 18.043478260869566, "alnum_prop": 0.6795180722891566, "repo_name": "indashnet/InDashNet.Open.UN2000", "id": "2e8f80c7457b02968e51f619d0b6954813a89185",...
import pygame as pg from ext import evthandler as eh import conf from level import Level class Title: def __init__ (self, game, event_handler, ID = 0): self.game = game self.event_handler = event_handler self.level_ID = ID self.frame = conf.FRAME event_handler.add_event_han...
{ "content_hash": "b708d522612f879379da32bc0e60b239", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 76, "avg_line_length": 29.209302325581394, "alnum_prop": 0.5294585987261147, "repo_name": "ikn/sequence", "id": "5c9d642a67059873ea4b40722f6ff3eca55fae02", "size": "1256", ...
#ifndef COUNTER_H_ #define COUNTER_H_ #include "OS_Types.h" #include "OS_cfg.h" #include "common.h" /************************************************************************************ * COUNTER TYPES * ***********************************************...
{ "content_hash": "8468ce43f28fe1031e7b6c6bdd91f81e", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 100, "avg_line_length": 44.542857142857144, "alnum_prop": 0.43553559974342526, "repo_name": "janiex/OSEK_GEN", "id": "0020606c1d76a53e9fc0e11787509ae75671b91f", "size": "15...
/* * Description : All wrapper functions related to performing hashing. */ #ifndef _QUARK_HASH_H_ #define _QUARK_HASH_H_ #ifdef __cplusplus extern "C" { #endif #include <stddef.h> #include <stdint.h> #include "endian_utils.h" #include "sha256.h" /*---------------------------------------------------------------...
{ "content_hash": "8b54f350adaf591407fe9111ca24ef1c", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 104, "avg_line_length": 27.285714285714285, "alnum_prop": 0.4158563949139865, "repo_name": "google/quark", "id": "26d0461d851ea691f288a326ae2c443ab6379948", "size": "1931",...
using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Text; using System.Windows.Forms; namespace AvatarTest { public partial class AvatarForm : Form { public AvatarForm() { InitializeComponent(); avatarControl = new AvatarAX.AvatarControl(); avatarC...
{ "content_hash": "da66b1a24b76558cdabfbef7b3b6a4d3", "timestamp": "", "source": "github", "line_count": 96, "max_line_length": 103, "avg_line_length": 26.239583333333332, "alnum_prop": 0.6994839221913458, "repo_name": "Caprica666/vixen", "id": "accaef7645fc88a8c9744cdacfb29f8ab9489ca1", "size": "25...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="pl"> <head> <!-- Generated by javadoc (1.8.0_60) on Wed Mar 30 11:39:23 CEST 2016 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Class play.libs.F.N...
{ "content_hash": "48a88b2579e0d086550ffeb4d997c641", "timestamp": "", "source": "github", "line_count": 179, "max_line_length": 267, "avg_line_length": 39.04469273743017, "alnum_prop": 0.6295607383030476, "repo_name": "play1-maven-plugin/play1-maven-plugin.github.io", "id": "822420a9423f8cab22357ab5f...
<?php namespace Smalot\PdfParser; use Smalot\PdfParser\Element\ElementArray; use Smalot\PdfParser\Element\ElementMissing; use Smalot\PdfParser\Element\ElementStruct; use Smalot\PdfParser\Element\ElementXRef; /** * Class Header * * @package Smalot\PdfParser */ class Header { /** * @var Document */...
{ "content_hash": "7cc4901c41aea3f3d4c0dc2526d0e790", "timestamp": "", "source": "github", "line_count": 179, "max_line_length": 98, "avg_line_length": 23.87150837988827, "alnum_prop": 0.5076058974959046, "repo_name": "fweber1/Annies-Ancestors", "id": "3c4fcac3769957f98d6f5695d27685f1d393bb8b", "siz...
package OSMPBF import proto "github.com/golang/protobuf/proto" import json "encoding/json" import math "math" // Reference proto, json, and math imports to suppress error if they are not otherwise used. var _ = proto.Marshal var _ = &json.SyntaxError{} var _ = math.Inf type Relation_MemberType int32 const ( Relati...
{ "content_hash": "d102725ca206b565a56063bd476077f0", "timestamp": "", "source": "github", "line_count": 674, "max_line_length": 161, "avg_line_length": 27.632047477744806, "alnum_prop": 0.6740764604810997, "repo_name": "buckhx/diglet", "id": "d96605a22004556d1a3d10c8d97c0924e10ead32", "size": "1870...
interface FlexibleStat { /** A localized name for the data point, suitable for display to users. The text is title cased. */ name: string; /** The type of stat this represents, it is one of the following options: - Count - Duration */ type: string; ...
{ "content_hash": "f8b1abc6d5181f845cbf5e6174c7169c", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 84, "avg_line_length": 20.322580645161292, "alnum_prop": 0.5920634920634921, "repo_name": "DerFlatulator/haloapi.js", "id": "d6b27153b28b064a284e1fe2445f0834a4e8393c", "siz...
package com.interopbridges.scx.mbeans; import java.io.StringWriter; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.Hashtable; import java.util.List; import java.util.Set; import javax.management.MalformedObjectNameException; import javax.management.Ob...
{ "content_hash": "6c3a95be643b99d777340ad469a9f8a0", "timestamp": "", "source": "github", "line_count": 350, "max_line_length": 138, "avg_line_length": 32.87428571428571, "alnum_prop": 0.5366765166000348, "repo_name": "Microsoft/BeanSpy", "id": "3902f3f90a6d553ff17077b82e67a6b0289fa9de", "size": "1...
package org.ensor.robots.simulator; import java.util.logging.Level; import java.util.logging.Logger; import org.ensor.robots.motors.IEncoder; import org.ensor.algorithms.control.pid.IServo; import org.junit.Test; /** * * @author jona */ public class SimulateMotorTest { @Test public void testSimulator() ...
{ "content_hash": "fba18f97eb1ea88d48f446f7b0ee4f63", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 96, "avg_line_length": 22.547619047619047, "alnum_prop": 0.5469904963041182, "repo_name": "jarney/snackbot", "id": "1fe6e0803f285a0b9ecdd378831902ae12bea012", "size": "2095...
/** * Seed. * * @type {Object} */ var seed = require('seed'); /** * Memory Storage. * * @type {Object} */ var store = new seed.MemoryStore(); /** * Example user model. * * @type {Function} */ module.exports.User = seed.Model.extend('User', { store: store, schema: new seed.Schema({ name: String,...
{ "content_hash": "e86e194822eb590e8b2511de3bce3fd1", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 58, "avg_line_length": 13.391304347826088, "alnum_prop": 0.5616883116883117, "repo_name": "vesln/seed-forge", "id": "9f1ffd46b53f6f5e1d472f48e528c29b73ad0eaf", "size": "616...
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" android:background="#fff"> <RelativeLayout android:layout_width="match_paren...
{ "content_hash": "82598a873f5ac769b16f1d2b9af6384d", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 72, "avg_line_length": 37.39393939393939, "alnum_prop": 0.6223662884927067, "repo_name": "IAmSeanWang/CoolWeather", "id": "a3eda00b98c0a6b13646a2d38362307bdd93f330", "size"...
#ifndef CONF_H #define CONF_H struct conf { char *ip; short port; char *log_file; int client_timeout; int max_connections; }; struct conf * conf_read(const char *filename); void conf_free(struct conf *conf); #endif /* CONF_H */
{ "content_hash": "2e60122bd6d6a0fd4f26a6ee7ddfbc15", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 32, "avg_line_length": 10.521739130434783, "alnum_prop": 0.6694214876033058, "repo_name": "nicolasff/river", "id": "e307981953972d2540ee07bc4e1841112e5c93d8", "size": "242"...
FOUNDATION_EXPORT double Pods_Homework_14VersionNumber; FOUNDATION_EXPORT const unsigned char Pods_Homework_14VersionString[];
{ "content_hash": "69fc5b91fb45563c1a9c84048f80af86", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 70, "avg_line_length": 42.666666666666664, "alnum_prop": 0.8515625, "repo_name": "BanyaKrylov/Learn-Swift", "id": "7d43cc87e2b1a35002f56d41339bc9c1c1ae4fb9", "size": "324", ...
from Utils.WAAgentUtil import waagent import Utils.HandlerUtil as Util import commands import os import re import json waagent.LoggerInit('/var/log/waagent.log','/dev/stdout') hutil = Util.HandlerUtility(waagent.Log, waagent.Error, "bosh-deploy-script") hutil.do_parse_context("enable") settings= hutil.get_public_setti...
{ "content_hash": "caf0f6ed295598400cc14eb3f7a719a7", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 138, "avg_line_length": 39.48780487804878, "alnum_prop": 0.6849907350216183, "repo_name": "AlanSt/azure-quickstart-templates", "id": "38e81cedce4290aabdce963fab0361ea2fc888a6...
namespace base { namespace android { // Returns a new Java byte array converted from the given bytes array. BASE_EXPORT ScopedJavaLocalRef<jbyteArray> ToJavaByteArray( JNIEnv* env, const uint8* bytes, size_t len); // Returns a array of Java byte array converted from |v|. BASE_EXPORT ScopedJavaLocalRef<jobjectArra...
{ "content_hash": "5641e8dff0ba51daca3bae24136a72a4", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 70, "avg_line_length": 31.98, "alnum_prop": 0.7323327079424641, "repo_name": "leighpauls/k2cro4", "id": "86433a358c55a6509e7ae490521da8612d349bd4", "size": "1991", "binar...
<!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": "effedcbd2222d0c7fc7e11a57f76a6ab", "timestamp": "", "source": "github", "line_count": 118, "max_line_length": 201, "avg_line_length": 43.516949152542374, "alnum_prop": 0.6751703992210322, "repo_name": "stweil/tesseract-ocr.github.io", "id": "deced3a3791194d410f6fd6ea7b7a655adefa0dd"...
import os import re from app import db, config, socketio, app from app.library.formatters import formatted_file_data from app.models.file import File from app.models.package import Package from app.modules.mod_process.file_repository import FileRepository from app.modules.mod_process.status_map import StatusMap clas...
{ "content_hash": "4b19831dc9d36a982c4f24b04f09ceb2", "timestamp": "", "source": "github", "line_count": 225, "max_line_length": 114, "avg_line_length": 33.30222222222222, "alnum_prop": 0.6093687441612171, "repo_name": "dhardtke/pyEncode", "id": "e48d10236b7f90c5a7135510773d06073cb41fa0", "size": "7...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Op...
{ "content_hash": "ffd00570b954a4ad7626ec6503745eaa", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 84, "avg_line_length": 39.583333333333336, "alnum_prop": 0.7459649122807017, "repo_name": "Beaker73/OpenCube", "id": "e1b0c2784a67803026c77a72a20ae2643322163b", "size": "14...
var assert = require('assert'), metalsmith = require('metalsmith'), convert = require('..'); fs = require('fs'), sizeOf = require('image-size'); function convert_test(options, fn) { // build callback can be called multiple times if an error condition occurs var once = false; metalsmith('test/fix...
{ "content_hash": "4e0f9ab61ba74a766f73522ca837905e", "timestamp": "", "source": "github", "line_count": 141, "max_line_length": 134, "avg_line_length": 32.673758865248224, "alnum_prop": 0.551334925113957, "repo_name": "gchallen/metalsmith-convert", "id": "e1ac000553ea988fa7b5dc0f00499196d3c4b981", ...
package controller import ( "context" "encoding/json" "errors" "fmt" "io/ioutil" "net/http" "os" "strings" "time" "github.com/container-storage-interface/spec/lib/go/csi" "google.golang.org/grpc" "google.golang.org/grpc/codes" "google.golang.org/grpc/status" v1 "k8s.io/api/core/v1" storagev1 "k8s.io/...
{ "content_hash": "9d241615733f3d58b796d80665b78a0c", "timestamp": "", "source": "github", "line_count": 1791, "max_line_length": 234, "avg_line_length": 40.103294249022895, "alnum_prop": 0.7374591019839889, "repo_name": "opensds/nbp", "id": "cacdf16c04db614bd84bfe8d62dee53766efdfd3", "size": "72394...
package cloud.tools.mysql.jpa.entity; import javax.persistence.*; @Entity @Table(name = "COLUMNS") public class Columns { @Id private int id; private String TABLE_CATALOG; private String TABLE_SCHEMA; private String TABLE_NAME; private String COLUMN_NAME; private long ORDINAL_POSITION; private String COLUMN...
{ "content_hash": "20b3afeff94c3d3d35a3c21485e41e0b", "timestamp": "", "source": "github", "line_count": 201, "max_line_length": 73, "avg_line_length": 19.935323383084576, "alnum_prop": 0.7332168704766658, "repo_name": "hardimplistic/myflow", "id": "b9bbd2bf9166581d716dcb55c3214149a59c4da5", "size":...
package nl.javadude.scannit.metadata; import javassist.bytecode.ClassFile; import javassist.bytecode.Descriptor; import javassist.bytecode.FieldInfo; import javassist.bytecode.MethodInfo; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.util.Arrays; /** * Helper that converts Java Clas...
{ "content_hash": "0d9ae8c0f34447201fbd02f3b10d1cbe", "timestamp": "", "source": "github", "line_count": 160, "max_line_length": 163, "avg_line_length": 41.33125, "alnum_prop": 0.6428247391501588, "repo_name": "hierynomus/scannit", "id": "a49cefd4e40425825653c78916142ec926a34d05", "size": "7307", ...
package io.georocket.output.geojson; import org.apache.commons.lang3.tuple.Pair; import org.junit.Rule; import org.junit.Test; import org.junit.runner.RunWith; import io.georocket.storage.ChunkReadStream; import io.georocket.storage.GeoJsonChunkMeta; import io.georocket.util.io.BufferWriteStream; import io.georocket....
{ "content_hash": "d2273f4ededaa712e7dc49ab7b05544f", "timestamp": "", "source": "github", "line_count": 288, "max_line_length": 110, "avg_line_length": 43.03819444444444, "alnum_prop": 0.6560709963695038, "repo_name": "andrej-sajenko/georocket", "id": "d9884580ecce963b14d5efa8e7e04a81952039ef", "si...
<!doctype html> <html> <title>prune</title> <meta http-equiv="content-type" value="text/html;utf-8"> <link rel="stylesheet" type="text/css" href="./style.css"> <body> <div id="wrapper"> <h1><a href="../api/prune.html">prune</a></h1> <p>Remove extraneous packages</p> <h2 id="SYNOPSIS">SYNOPSIS</h2> <pre><...
{ "content_hash": "6cca5352e582270a75b661fe86a75457", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 80, "avg_line_length": 25.67241379310345, "alnum_prop": 0.6212222968435192, "repo_name": "carlosbeatortega/sociedades", "id": "c178d521668740a8e2cf6fd5187f09e0fca87f11", "s...
#include <common.h> #include <malloc.h> #include <errno.h> #include <dfu.h> int dfu_tftp_write(char *dfu_entity_name, unsigned int addr, unsigned int len, char *interface, char *devstring) { char *s, *sb; int alt_setting_num, ret; struct dfu_entity *dfu; debug("%s: name: %s addr: 0x%x len: %d device: %s:%s...
{ "content_hash": "ba59294cfaddbfa253c6441e7b150720", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 78, "avg_line_length": 22.05, "alnum_prop": 0.6273620559334845, "repo_name": "guileschool/beagleboard", "id": "62bf797dac9f11d26f5c325b457e03ce96565a8f", "size": "1433", ...
namespace ppapi { namespace thunk { namespace { typedef EnterResource<PPB_Graphics3D_API> EnterGraphics3D; PP_Graphics3DTrustedState GetErrorState() { PP_Graphics3DTrustedState error_state = { 0 }; error_state.error = PPB_GRAPHICS3D_TRUSTED_ERROR_GENERICERROR; return error_state; } PP_Resource CreateRaw(PP_In...
{ "content_hash": "a6b1464310887f27a8cc0c92fa2bb0ba", "timestamp": "", "source": "github", "line_count": 112, "max_line_length": 78, "avg_line_length": 28.044642857142858, "alnum_prop": 0.6876790830945558, "repo_name": "paul99/clank", "id": "8933d12e2c10705640b1534e08ea3ac40fe2b481", "size": "3466",...
package fr.hmil.roshttp.body import java.nio.ByteBuffer import fr.hmil.roshttp.CrossPlatformUtils /** An urlencoded HTTP body. * * <b>Usage:</b> urlencoded bodies are best suited for simple key/value maps of strings. For more * structured data, use [[JSONBody]]. For binary data, use [[ByteBufferBody]] or [[Mul...
{ "content_hash": "c0a0701aaa469e78b2539ed097eac3e4", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 100, "avg_line_length": 34.71875, "alnum_prop": 0.7191719171917191, "repo_name": "hmil/RosHTTP", "id": "b5d950bdb80545fda38f9ae39a8469b1a88e598d", "size": "1111", "binary...
package Maximus::Role::Form::Account::Username; use HTML::FormHandler::Moose::Role; has_field 'username' => ( type => '+Maximus::FormField::AlNum', label => 'Username', required => 1, required_message => 'You must enter a username', minlength => 3, maxlengt...
{ "content_hash": "83f9002c5816e96eae6337c64dec057f", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 78, "avg_line_length": 33.113207547169814, "alnum_prop": 0.7407407407407407, "repo_name": "maximos/maximus-web", "id": "f216065de7e2b57783bc9a282b32bd75941bcb00", "size": "...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Statistics; using System; using System.Collections.Generic; using osu.Framework.Development; using osu.Framework.Graphics.OpenGL; using osu.Framework...
{ "content_hash": "7c501a989f53791db2fb10af3610ecea", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 96, "avg_line_length": 30.555555555555557, "alnum_prop": 0.6281818181818182, "repo_name": "EVAST9919/osu-framework", "id": "0f3bd9afe49fbdb72c1ef736ff91746a94557443", "size...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = undefined; var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { ...
{ "content_hash": "8a4e7af66222ab68d09788f0b5e26e18", "timestamp": "", "source": "github", "line_count": 144, "max_line_length": 494, "avg_line_length": 38.895833333333336, "alnum_prop": 0.654168898410998, "repo_name": "geng890518/editor-ui", "id": "b98fac46e568b9652a95bd90ac15d580e40d3787", "size":...
/* eslint-disable no-console */ "use strict" import { StoreUsingServer } from "./StoreUsingServer.js" import { HashUtils } from "./HashUtils.js" import { FileUtils } from "./FileUtils.js" // defines m import "./vendor/mithril.js" let streamName = "{\"chatRoom\": \"test\"}" let userID = localStorage.getItem("userID"...
{ "content_hash": "0fdf441f7b1884e5adfe407841257fc7", "timestamp": "", "source": "github", "line_count": 281, "max_line_length": 222, "avg_line_length": 33.76512455516014, "alnum_prop": 0.6011804384485666, "repo_name": "pdfernhout/Twirlip7", "id": "e242708a303570f1b65fc2f473655a1014f162bf", "size": ...
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <!-- Meta, title, CSS, favicons, etc. --> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> ...
{ "content_hash": "e8667dd3325b4df0426fac28d475241a", "timestamp": "", "source": "github", "line_count": 410, "max_line_length": 259, "avg_line_length": 41.12682926829268, "alnum_prop": 0.44170323805005335, "repo_name": "cicilestaris/PLA_project", "id": "41f9b5f918d07a86a2c5d7fb50f8e1963d274b4b", "s...
layout: post title: "April 11, 2017 dplyr Pre-Class" data: "04/11/2017" tags: [R, dplyr] --- ## Reading For your Reading: - [The Split Apply Combine Method](https://www.jstatsoft.org/article/view/v040i01) - [Tidy Data](http://statseducation.com/Introduction-to-R/modules/tidy%20data/tidy-data/) ## Videos 1. Comp...
{ "content_hash": "68ae3d105e0154cf208cb4776f498ade", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 169, "avg_line_length": 31.84375, "alnum_prop": 0.7428851815505397, "repo_name": "php2560/preclass", "id": "f1f0d41b4b092840d1f7f0082c53779184e80e01", "size": "1023", "bi...
(function() { 'use strict'; angular .module('webHipsterApp') .directive('hasAuthority', hasAuthority); hasAuthority.$inject = ['Principal']; function hasAuthority(Principal) { var directive = { restrict: 'A', link: linkFunc }; return di...
{ "content_hash": "ca879e8ce8d912b453a669722ebb3778", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 67, "avg_line_length": 27.48148148148148, "alnum_prop": 0.3861185983827493, "repo_name": "rafaelmss/WebHipster", "id": "9ab9835a4966d7cd58a8e637c05dd066e19b72aa", "size": "...
package renderer.scene.actors; import renderer.infrastructure.math.Vector3; import renderer.infrastructure.pipeline.model.BuilderInterface; /** * A data structure to store WaveFront .mtl file data. This class is not an original work, but is instead a * derivative work from a parser written by * <a href="https://g...
{ "content_hash": "9e677895448ee0ecc7e9c639b39276ce", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 107, "avg_line_length": 30.26829268292683, "alnum_prop": 0.7518130539887188, "repo_name": "DonIsaac/Accelerated-Raytracer", "id": "aad2c5e11bb5f9cd7eb64fcaa1f90676e6d31897", ...
// Copyright 2020 The Outline Authors // // 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 agre...
{ "content_hash": "cb787f7361f5f3a385e44a4d55ec9213", "timestamp": "", "source": "github", "line_count": 539, "max_line_length": 117, "avg_line_length": 34.79777365491651, "alnum_prop": 0.6780763489016848, "repo_name": "Jigsaw-Code/outline-client", "id": "1c9af56af12a0140f8626cc542e3f1e63f8c9434", "...
<html> <head> <title>User agent detail - Mozilla/5.0 (Linux; U; Android 2.2.1; Es-es; Bq Darwin Build/MASTER) AppleWebKit/533.1 (KHTML, Like Gecko) Version/4.0 Mobile Safari/533.1</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css"> ...
{ "content_hash": "ca20d5eb79f9d73e8a81d0c1ef15cb2b", "timestamp": "", "source": "github", "line_count": 1121, "max_line_length": 743, "avg_line_length": 41.30508474576271, "alnum_prop": 0.5373949852061422, "repo_name": "ThaDafinser/UserAgentParserComparison", "id": "12e3e651d0d1cb196639abd665344ff001...
body { padding-top: 70px; } @-moz-document url-prefix() { fieldset { display: table-cell; } }
{ "content_hash": "b18e3f94996fb9fe0530366c2a61109c", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 35, "avg_line_length": 16.166666666666668, "alnum_prop": 0.6391752577319587, "repo_name": "iMunshi/backbonejs-contact-manager", "id": "4c332999d6d8f3d90fe9b9d4c34a1205a98cfd37...
import { CommonModule } from '@angular/common' import { NgModule } from '@angular/core' import { IonicModule } from 'ionic-angular' import { PipesModule } from '../../shared/pipes/pipes.module' import { SplashPageComponent } from './containers/splash-page.component' import { SplashService } from './services/splash.ser...
{ "content_hash": "133eb2583270292ace3e9ef239e8f0d4", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 72, "avg_line_length": 29.833333333333332, "alnum_prop": 0.7318435754189944, "repo_name": "RADAR-CNS/RADAR-Questionnaire", "id": "1fd26e67105bc681f9fb281232ae94af2fa1c998", ...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "051e0f5deff90e21d14026fee8909ca3", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "f1f06b379fcb2c3344434a00902bfa33fe0d7e97", "size": "179...
package com.famaridon.maven.scoped.properties.exceptions; /** * Created by famaridon on 10/07/2014. */ public class BuildPropertiesFilesException extends Exception { public BuildPropertiesFilesException() { super(); } public BuildPropertiesFilesException(String s) { super(s); } public BuildPropertiesFiles...
{ "content_hash": "5d5ad9b98e7dbcb55002009fb13f3786", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 96, "avg_line_length": 23.346153846153847, "alnum_prop": 0.7611202635914333, "repo_name": "famaridon/scoped-properties-maven-plugin", "id": "6930eed3916fc32075f49f5a055c2b33d...
class CreateUserRequests < ActiveRecord::Migration def change create_table :chat_requests do |t| t.string :type t.string :payload t.timestamps end add_reference :chat_requests, :chat end end
{ "content_hash": "531b825908e92b8d6d3a388a23d55a53", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 50, "avg_line_length": 18.916666666666668, "alnum_prop": 0.6696035242290749, "repo_name": "chyrta/TUTBYBot", "id": "101b2a45d7f4b44baddb71721c5e876103ed6ac1", "size": "227"...
package net.sourceforge.marathon.fxdocking; import java.util.logging.Logger; public class DockingUtilities { public static final Logger LOGGER = Logger.getLogger(DockingUtilities.class.getName()); public static TabbedDockableContainer findTabbedDockableContainer(Dockable dockable) { // TODO Auto-ge...
{ "content_hash": "0e1b5757a92774de08e71ec8feaca739", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 91, "avg_line_length": 29.210526315789473, "alnum_prop": 0.7261261261261261, "repo_name": "jalian-systems/marathonv5", "id": "d0c58cb705ce06324f416b85119eb16631a68080", "si...
using GameFramework.Event; using GameFramework.Procedure; using UnityEngine; using UnityGameFramework.Runtime; using ProcedureOwner = GameFramework.Fsm.IFsm<GameFramework.Procedure.IProcedureManager>; namespace Game { public class ProcedureLaunch : ProcedureBase { private bool m_HasStartedInitRes = fa...
{ "content_hash": "c58f11995d373e15489e9826d1c046b2", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 123, "avg_line_length": 33.38461538461539, "alnum_prop": 0.6414746543778802, "repo_name": "GarfieldJiang/UGFWithToLua", "id": "1ff8dda65966360a3cd524235ba2d42137f16d61", "s...
require 'uri' require 'openssl' require 'time' require 'securerandom' require 'set' require 'savon' if Puppet.features.savon? module Transip SOAP_ARRAY_KEYS ||= [:item, :'@soap_enc:array_type', :'@xsi:type'].to_set.freeze refine Array do def to_soap if empty? {} else type = first.c...
{ "content_hash": "2c3532284d9e03a95ef7f9039e4741a3", "timestamp": "", "source": "github", "line_count": 154, "max_line_length": 142, "avg_line_length": 31.928571428571427, "alnum_prop": 0.5865365059995933, "repo_name": "gerardkok/puppet-transip", "id": "b84da653f7b9f96ff5cd4cf81a111f57fbf1b2f5", "s...
import cPickle as pickle import urllib import flask import numpy as np from waitress import serve from grpc.beta import implementations import tensorflow as tf from tensorflow_serving.apis import predict_pb2 from tensorflow_serving.apis import prediction_service_pb2 from google.protobuf.json_format import MessageT...
{ "content_hash": "86f904a69cdde2889d351b2254ae3eae", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 77, "avg_line_length": 27.17391304347826, "alnum_prop": 0.7056, "repo_name": "avloss/serving", "id": "01364ea53956433451fc817c08c33005c84c4ce1", "size": "1250", "binary":...
/* * 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": "8e2255656c607a17de087fdad0293c24", "timestamp": "", "source": "github", "line_count": 464, "max_line_length": 89, "avg_line_length": 22.20689655172414, "alnum_prop": 0.624417701863354, "repo_name": "wrmsr/wava", "id": "51041b5f5c40ed9f1bf0525e2783b953eee9b1bf", "size": "10304", ...
import logging from datetime import timedelta from django.db import DEFAULT_DB_ALIAS from django.utils import timezone from django.db.models.deletion import Collector from django.core.management.base import BaseCommand from chatbot.models import ChatHistory logger = logging.getLogger(__name__) class Command(BaseCo...
{ "content_hash": "36437238909d86d3d188506aea67a800", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 91, "avg_line_length": 34.55769230769231, "alnum_prop": 0.6349471341124096, "repo_name": "dchaplinsky/declarations.com.ua", "id": "a7734dbb2041c88383baf6bc22d5419146cdeccf", ...
// Copyright (c) 2012 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. #include <string.h> #include "base/stringprintf.h" #include "chrome/browser/extensions/api/bluetooth/bluetooth_api.h" #include "chrome/browser/extens...
{ "content_hash": "5c232e7ca85b81616d7e22312045731f", "timestamp": "", "source": "github", "line_count": 460, "max_line_length": 80, "avg_line_length": 37.73478260869565, "alnum_prop": 0.7209932019817952, "repo_name": "junmin-zhu/chromium-rivertrail", "id": "50452e7a7dba92197f398d8a2cb9ab45d8109bff", ...
var ws = require('websocket-stream'); var stream = ws('ws://localhost:8000'); stream.end('hello\n');
{ "content_hash": "cf6aaf3a8c2bf02682390f0103f233c9", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 39, "avg_line_length": 20.6, "alnum_prop": 0.6601941747572816, "repo_name": "Gurylev/nodeschool-solutions", "id": "b46ec4884352b1a4064bfd92036d53dbab31f608", "size": "103", ...
package zhou.demo.spannable; import android.graphics.Color; import android.text.Spannable; import android.text.style.ForegroundColorSpan; /** * Created by Administrator on 2017/2/16 0016. */ public class DemoForegroundColorSpan extends BaseSpannablePage { @Override protected String getTitle() { ret...
{ "content_hash": "9d0caab275f690ec1bbc2daa281cf9d5", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 64, "avg_line_length": 25.096774193548388, "alnum_prop": 0.6503856041131105, "repo_name": "cowthan/Ayo2022", "id": "a21e06fac3d01ae2af998d1eb0e86afdeb4920fe", "size": "836"...
package com.cezarykluczynski.stapi.etl.template.species.processor; import com.cezarykluczynski.stapi.etl.common.dto.EnrichablePair; import com.cezarykluczynski.stapi.etl.common.processor.ItemEnrichingProcessor; import com.cezarykluczynski.stapi.etl.common.service.EntityLookupByNameService; import com.cezarykluczynski....
{ "content_hash": "9f5a1cbce502689bf679e0ce713fa60a", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 141, "avg_line_length": 53.86538461538461, "alnum_prop": 0.8639771510174937, "repo_name": "cezarykluczynski/stapi", "id": "cf368cff769bc06f2c59b147b3f3bfce832e1c61", "size"...
package pl.hycom.pip.messanger.controller; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.delete; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.view; import stati...
{ "content_hash": "1c945881ddc118993e2b5f370e1cb3f8", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 92, "avg_line_length": 35.56603773584906, "alnum_prop": 0.7915119363395225, "repo_name": "Hycom-PIP/pip2017", "id": "867c50fde76a37a5b33d0f7843c2059db51501a8", "size": "188...
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>CodeRay output</title> <style type="text/css"> .CodeRay .line-numbers a { text-decoration: inherit; color: inherit; } body { background-color: white; padding: 0; margin: 0; } .CodeRay { backgroun...
{ "content_hash": "b9019f744cb5aea81e306a45caaac107", "timestamp": "", "source": "github", "line_count": 630, "max_line_length": 837, "avg_line_length": 53.01587301587302, "alnum_prop": 0.6470059880239521, "repo_name": "teem2/dreem2", "id": "61b0f024fdf0ca02459886fb2416226b4e6edb7b", "size": "33400"...
function bulletinEditor(collectionId, data) { var newChart = [], newTable = [], newEquation = [], newImage = [], newLinks = [], newFiles = []; var setActiveTab, getActiveTab; var renameUri = false; $(".edit-accordion").on('accordionactivate', function (event, ui) { setActiveTab = $(".edit-acco...
{ "content_hash": "4faccf45f8237d42867f51cc39e3b9bf", "timestamp": "", "source": "github", "line_count": 201, "max_line_length": 121, "avg_line_length": 40.54726368159204, "alnum_prop": 0.5828220858895705, "repo_name": "ONSdigital/florence", "id": "841eba410d639886d7657eede102087ef9ea1660", "size": ...
package thaumicenergistics.integration.appeng.cell; import javax.annotation.Nullable; import net.minecraft.item.ItemStack; import appeng.api.config.AccessRestriction; import appeng.api.config.Actionable; import appeng.api.config.IncludeExclude; import appeng.api.networking.security.IActionSource; import ap...
{ "content_hash": "c748e01d291ae24720d0e44fcd9fb76d", "timestamp": "", "source": "github", "line_count": 110, "max_line_length": 108, "avg_line_length": 26.963636363636365, "alnum_prop": 0.6992582602832097, "repo_name": "Nividica/ThaumicEnergistics", "id": "f67b6b1c103936b3364d8d9c250d97a741dd7bfb", ...
import org.scalatestplus.play._ class IntegrationSpec extends PlaySpec with OneServerPerTest with OneBrowserPerTest with HtmlUnitFactory { // TODO: Write integration spec }
{ "content_hash": "77db0184d892a9a74f6fb9c66a89ebb7", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 106, "avg_line_length": 22.375, "alnum_prop": 0.8100558659217877, "repo_name": "builtamont-oss/play2-scala-pdf", "id": "1f3e1df589ed1c3b3ffcaa49048a4d03521f92a7", "size": "1...
package gui.javafx; import javafx.application.*; import javafx.stage.Stage; import javafx.scene.*; @SuppressWarnings("restriction") public class ClockPaneTest extends Application { ClockPane pane = new ClockPane(); @Override public void start(Stage stage) throws Exception { Scene scene = new Scene(pane, 250...
{ "content_hash": "478bfeb619a6d000d8ab648bdaf41631", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 50, "avg_line_length": 18.956521739130434, "alnum_prop": 0.7224770642201835, "repo_name": "jppreti/GUI", "id": "d3abcd4585bbf122dfa16a8908a9f393ace35e98", "size": "436", ...
@implementation NSTimer (BlockSupport) + (NSTimer *)CY_scheduledTimerWithTimeInterval:(NSTimeInterval)interval block:(void (^)())block repeats:(BOOL)repeats { return [self scheduledTimerWithTimeInterval: interval target: self selector: @selector(CY_blockInvoke:) userInfo: block repeats: repeats]; } + (void) CY_blo...
{ "content_hash": "980d0dab1631b08fc1bec9d98c68e2ec", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 142, "avg_line_length": 31.142857142857142, "alnum_prop": 0.7018348623853211, "repo_name": "CookieYang/CYmusicPlayer", "id": "3c4a6d067416005c927f9e45460b87488d10f11a", "si...
#ifndef JSPLAY_TEXTURECOLLECTION_H #define JSPLAY_TEXTURECOLLECTION_H #include <script/script-object-wrap.h> #include <array> class GraphicsDevice; class Texture2D; class TextureCollection : public ScriptObjectWrap<TextureCollection> { public: TextureCollection(v8::Isolate *isolate, GraphicsDevice *graphicsDe...
{ "content_hash": "5c021e0e5ae5b01d9ad1207421968faa", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 77, "avg_line_length": 23.852941176470587, "alnum_prop": 0.7065351418002466, "repo_name": "jnsmalm/jsplay", "id": "5e54b4a9d320cfbea0d2b67c8d910c77332a2f2a", "size": "1901"...
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.plugins.groovy.lang.psi.impl.statements.expressions; import com.intellij.lang.ASTNode; import com.intellij.openapi.diagnostic.Logger; import com.intellij.op...
{ "content_hash": "5ad2d2c63b2ca03e7f770d5cffb8049e", "timestamp": "", "source": "github", "line_count": 644, "max_line_length": 147, "avg_line_length": 36.86801242236025, "alnum_prop": 0.7134734448047846, "repo_name": "mglukhikh/intellij-community", "id": "82b38cd2ad2d4e3b10527ce3256e2899a3c23417", ...
<?php namespace app\models; use Yii; /** * This is the model class for table "groups". * * @property integer $id * @property string $name */ class Groups extends \yii\db\ActiveRecord { /** * @inheritdoc */ public static function tableName() { return 'groups'; } /** * ...
{ "content_hash": "3db129d5b80af462ec38aef44da905b4", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 76, "avg_line_length": 16.304347826086957, "alnum_prop": 0.4826666666666667, "repo_name": "inamjung/Yiiproject", "id": "67e36d9954e555701327ae0b551edb0a323e389b", "size": "...
using namespace foundation; using namespace std; namespace renderer { // // DirectLightingIntegrator class implementation. // // Call graph: // // compute_outgoing_radiance_bsdf_sampling // take_single_bsdf_sample // // compute_outgoing_radiance_light_sampling // add_emitting_triangle_sample_contribut...
{ "content_hash": "b21e7c2040881bc9a50cec5fbaa9ec5a", "timestamp": "", "source": "github", "line_count": 694, "max_line_length": 113, "avg_line_length": 33.29250720461095, "alnum_prop": 0.604631032244103, "repo_name": "aiivashchenko/appleseed", "id": "9bfc6f23032dac044f4f34e2298e21dc90b6bf3e", "size...
package voogasalad_GucciGames.gameplayer.controller.dummy; public enum MapObjectBasicType { TILE, STRUCTURE, UNIT }
{ "content_hash": "257124a37afef0b9ad453ce34630dbed", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 58, "avg_line_length": 17, "alnum_prop": 0.8151260504201681, "repo_name": "mym987/CPS308_Game_Final", "id": "91a5535061ad35e6a65e7a116b174693e91af8ea", "size": "119", "bin...
'use strict'; /** * @ngdoc directive * @name izzyposWebApp.directive:adminPosHeader * @description * # adminPosHeader */ angular.module('sbAdminApp') .directive('sidebar',['$location',function() { return { templateUrl:'scripts/directives/sidebar/sidebar.html', restrict: 'E', replace: true...
{ "content_hash": "314711e945defc9a241a401b9df88cbf", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 60, "avg_line_length": 22.934782608695652, "alnum_prop": 0.5222748815165876, "repo_name": "sjbgit/sb_admin_test", "id": "b9994e03ccee13f6dbb3b836135a694f56c5e7fc", "size": ...
#include "libxml.h" #include <string.h> #include <stdarg.h> #include <assert.h> #if defined (_WIN32) && !defined(__CYGWIN__) #if defined (_MSC_VER) || defined(__BORLANDC__) #include <winsock2.h> #pragma comment(lib, "ws2_32.lib") #define gettimeofday(p1,p2) #endif /* _MSC_VER */ #endif /* _WIN32 */ #ifdef HAVE_SYS...
{ "content_hash": "fa6f6a4a7c105ed245f41df4ab75b885", "timestamp": "", "source": "github", "line_count": 3590, "max_line_length": 96, "avg_line_length": 26.01309192200557, "alnum_prop": 0.5989805861629564, "repo_name": "icunning/fcvtc", "id": "25c6fb98ab0c65f98cff1d50e4e1b26d04498436", "size": "9352...
![Sumo NodeBot](assets/sumo.jpg)
{ "content_hash": "ca1d5f50009a1dbf60144b6a175f73cd", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 32, "avg_line_length": 33, "alnum_prop": 0.7272727272727273, "repo_name": "BrianGenisio/codemash-nodebots-docs", "id": "4e016307b4ff7b6d16a64a055142d3eaef886f1f", "size": "6...
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" > </RelativeLayout>
{ "content_hash": "31de38939c5b90ed4528481739bb3a41", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 74, "avg_line_length": 35.833333333333336, "alnum_prop": 0.7302325581395349, "repo_name": "mapia/android", "id": "25162e2b443cff6c0034ce09a2273d0be75e8e50", "size": "215", ...
package gw.lang.reflect.java.asm; import gw.internal.ext.org.objectweb.asm.signature.SignatureVisitor; /** */ public class FieldSignatureVisitor implements SignatureVisitor { private AsmField _asmField; private AsmType _currentType; private AsmType _typeArg; private boolean _bArray; private Boolean _vari...
{ "content_hash": "d00a35f99f99c6f5b83a3b3ca1884bd1", "timestamp": "", "source": "github", "line_count": 157, "max_line_length": 106, "avg_line_length": 25.56050955414013, "alnum_prop": 0.6523797657612759, "repo_name": "gosu-lang/old-gosu-repo", "id": "520bca7aeda09ab9b730582c1fd53e20b34a1cdc", "siz...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_13) on Tue Sep 21 16:20:46 PDT 2010 --> <TITLE> NetworkServerMBean (Apache Derby 10.6 API Documentation) </TITLE> <META NAME="date" CONTENT...
{ "content_hash": "b9396e0432ffd2c5533cafd710d3939e", "timestamp": "", "source": "github", "line_count": 990, "max_line_length": 241, "avg_line_length": 39.30808080808081, "alnum_prop": 0.6698445329564435, "repo_name": "armoredsoftware/protocol", "id": "19124b33db981951c1db6b3e38f5a5d544847085", "si...
using System.Collections.Generic; namespace Light.Data { /// <summary> /// Order expression. /// </summary> internal class OrderExpression : LightExpression { private List<OrderExpression> _orderExpressions; internal OrderExpression(DataEntityMapping tableMapping) { ...
{ "content_hash": "e4648e7dd2a25f5d888ae140a4351d58", "timestamp": "", "source": "github", "line_count": 117, "max_line_length": 110, "avg_line_length": 32.23076923076923, "alnum_prop": 0.5502519225669583, "repo_name": "aquilahkj/Light.Data2", "id": "aaa313918a74194bf704533cb18321a691275262", "size"...
namespace Signum.Engine.Maps; public class FluentInclude<T> where T : Entity { public SchemaBuilder SchemaBuilder { get; private set; } public Table Table { get; private set; } public FluentInclude(Table table, SchemaBuilder schemaBuilder) { Table = table; SchemaBuilder = s...
{ "content_hash": "34e764c71b2b3504ca00c602a8d3f08c", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 173, "avg_line_length": 37.08771929824562, "alnum_prop": 0.6385998107852412, "repo_name": "signumsoftware/framework", "id": "57396a5e5f58123bae432f189c156b9da42b539f", "siz...
""" WSGI config for simi project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/ """ import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "simi.settings") from django.core.wsgi im...
{ "content_hash": "a1fa09f68a62e849c83898adca683133", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 78, "avg_line_length": 27.357142857142858, "alnum_prop": 0.7702349869451697, "repo_name": "elkingtowa/simi", "id": "0c9758758060b23f02f23036bf3177c7d07cb510", "size": "383"...
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright 2014 Open Networking Laboratory ~ ~ 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/LI...
{ "content_hash": "85578b83d2d357ed5dc939705e571370", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 105, "avg_line_length": 32.45205479452055, "alnum_prop": 0.6200928661882651, "repo_name": "SmartInfrastructures/dreamer", "id": "31c13d853699bc474a2e71a67012ecefface6ce4", ...
Cake Gallery ========= [![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/hugodias/cakegallery?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) CakeGallery is a cakephp plugin to manage galleries, albums and pictures [![Album page](http://i.imgur.com/rRaubYw.png)](https://...
{ "content_hash": "ffc49c35a2721efc10f2f13399221718", "timestamp": "", "source": "github", "line_count": 225, "max_line_length": 259, "avg_line_length": 29.462222222222223, "alnum_prop": 0.6964851410469151, "repo_name": "chiranjib7io/sjsm", "id": "0af629799745357c7fa3873678d58d76b51e2f2c", "size": "...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> <html> <head> <title>STUI:Scripts:Built In Scripts</title> </head> <body> <h2><a href="../../index.html">STUI</a>:<a href="../index.html">Scripts</a>:Built In Scripts</h2> <p>Documentation for the scripts included with STUI. <ul> <li><a href="RunCommands.html">Ru...
{ "content_hash": "ea30418068dfb40483e28247aa70d485", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 119, "avg_line_length": 34.0735294117647, "alnum_prop": 0.6965904186447993, "repo_name": "r-owen/stui", "id": "7f309555b14f6a1ce5f9672fb59230102cbc2e20", "size": "2317", ...
#include "DunoButton.h" #include "TypeLib.h" #include "DunoGUI.h" #include <iostream> using namespace DunoGUI; using namespace std; DunoButton::DunoButton(DunoLayout* layout, string text, unsigned int width, unsigned int height): DunoWidget("button") { m_text = strToWinStr(text); m_has_on_click = false; ...
{ "content_hash": "30b5e4265182bd7e30a26df370ba1f51", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 97, "avg_line_length": 26.066666666666666, "alnum_prop": 0.6764705882352942, "repo_name": "EdwinRybarczyk/Duno", "id": "9c3de851c5b91c395b48f26181672f0e9a097360", "size": "...
template <typename _Object\ > #define CStateChimeraHuntingAbstract CStateChimeraHunting<_Object> TEMPLATE_SPECIALIZATION CStateChimeraHuntingAbstract::CStateChimeraHunting(_Object* obj) : inherited(obj) { add_state(eStateMoveToCover, xr_new<CStateChimeraHuntingMoveToCover<_Object>>(obj)); add_state(eState...
{ "content_hash": "eb0e92e85de8fd3aa5d3767b0dae4380", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 88, "avg_line_length": 32.48275862068966, "alnum_prop": 0.778131634819533, "repo_name": "Im-dex/xray-162", "id": "47aaba43f4c54dd795bc70b638077c0aee92ca33", "size": "1084",...
import crcjam from './calculators/crcjam.js'; import defineCrc from './define_crc.js'; export default defineCrc('jam', crcjam);
{ "content_hash": "9aa955c6b54c0a256fe44d2912951fbb", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 45, "avg_line_length": 32.25, "alnum_prop": 0.7441860465116279, "repo_name": "alexgorbatchev/node-crc", "id": "5f3e2fae3e1ba0cea0e966b289529fa6bf2e74ac", "size": "129", "b...
namespace boost{ namespace math{ typedef policies::policy<policies::overflow_error<policies::throw_on_error> > overflow_policy; // Beta functions. template tools::promote_args<BOOST_MATH_TEST_TYPE, BOOST_MATH_TEST_TYPE>::type beta(BOOST_MATH_TEST_TYPE a, BOOST_MATH_TEST_TYPE b); // Beta f...
{ "content_hash": "810a8d700a92efaca1a045e4799ca42c", "timestamp": "", "source": "github", "line_count": 403, "max_line_length": 218, "avg_line_length": 76.20347394540943, "alnum_prop": 0.7194073591663953, "repo_name": "cpascal/af-cpp", "id": "60cf003d2dd7480db686131e2c3a04ee4fff7a60", "size": "3093...
namespace tensor { template<class T> using enable_if_integer_t = typename std::enable_if<std::is_integral<T>::value>::type; template<class T> using enable_if_float_t = typename std::enable_if<std::is_floating_point<T>::value>::type; } #endif // TENSOR_TRAITS_H
{ "content_hash": "83a0e920b6e7d5788e4cc0afb6c2ec25", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 90, "avg_line_length": 22.083333333333332, "alnum_prop": 0.7169811320754716, "repo_name": "allebacco/tensorlib", "id": "fa2dc1bab26da3b50b84e7ab780457fe9a669f0e", "size": "...
package org.apache.calcite.rel.rules; import org.apache.calcite.plan.RelOptRule; import org.apache.calcite.plan.RelOptRuleCall; import org.apache.calcite.plan.RelOptRuleOperand; import org.apache.calcite.plan.RelOptUtil; import org.apache.calcite.plan.SubstitutionVisitor; import org.apache.calcite.rel.RelNode; import...
{ "content_hash": "d324f6d623407889c2c671036986a50b", "timestamp": "", "source": "github", "line_count": 144, "max_line_length": 79, "avg_line_length": 42.166666666666664, "alnum_prop": 0.7061923583662714, "repo_name": "xhoong/incubator-calcite", "id": "52d994f7b5f35bc1aa0826809f45adfb8d39d2d9", "si...
require 'spec_helper' require_relative 'shared' module RichCitationsProcessor RSpec.describe Serializers::JSON do let(:paper) { Models::CitingPaper.new } subject { Serializers::JSON.new(paper) } let(:json) { MultiJson.load( subject.serialize ) } it_should_behave_like 'a serializer' describe "...
{ "content_hash": "4a066b7706c9994064b2adcd17b4569f", "timestamp": "", "source": "github", "line_count": 218, "max_line_length": 135, "avg_line_length": 34.94954128440367, "alnum_prop": 0.5353720960756004, "repo_name": "PLOS/rich_citations_processor", "id": "23352720288690500d7c86bdfb99cb342b930cb0", ...