text stringlengths 2 1.04M | meta dict |
|---|---|
import datetime
import dateutil.parser
from pixiv_pixie.utils import LazyProperty
from .constants import IllustType, IllustAgeLimit
def _lazy(attr_name):
def get_func(self):
self.update()
return getattr(self, attr_name)
return LazyProperty(get_func, property_name=attr_name)
class PixivIll... | {
"content_hash": "33c697243031aa1ca75022db26e341e6",
"timestamp": "",
"source": "github",
"line_count": 250,
"max_line_length": 80,
"avg_line_length": 31.6,
"alnum_prop": 0.5625316455696202,
"repo_name": "Xdynix/PixivPixie",
"id": "2ad9119460e9e8bcccaeb2805a0a3990f49566ba",
"size": "7900",
"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/html; charset=utf-8" />
<title>Backend servers — Varnish version 3.0.3 docum... | {
"content_hash": "fd28e441f1db9540fb7aa8b9ebe13bbb",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 153,
"avg_line_length": 41.16197183098591,
"alnum_prop": 0.6145423438836612,
"repo_name": "QES/varnish-3.0.3",
"id": "ddbb1b0dd6ca10b95aaba1aea7134634cf5f5e6b",
"size": "5... |
package com.google.security.zynamics.zylib.yfileswrap.gui.zygraph;
import com.google.security.zynamics.zylib.yfileswrap.gui.zygraph.proximity.ZyProximityNode;
import y.view.EdgeLabel;
import java.awt.event.MouseEvent;
public interface IZyGraphListener<NodeType, EdgeType> {
void edgeClicked(EdgeType node, MouseEv... | {
"content_hash": "8d94bc004c03aaa0da9d73d38d54718b",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 96,
"avg_line_length": 29.22222222222222,
"alnum_prop": 0.7870722433460076,
"repo_name": "AmesianX/binnavi",
"id": "3fa2b969a740db82904a1054c58f30edcdd38286",
"size": "1372... |
module PageTestHelper
module_function # Ensure that all subsequent methods are available as Module Functions
def create_page(title: "Page", content: "Page content.", show_to_non_users: true)
Page.create title: title, content: content, show_to_non_users: show_to_non_users
end
end
| {
"content_hash": "3d17b0f430d22c47c1c0da8ec2efcb47",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 88,
"avg_line_length": 36.75,
"alnum_prop": 0.7448979591836735,
"repo_name": "dantarian/bladesdb",
"id": "400ec386ba2e48038ccc7cba08d7713244a7f172",
"size": "294",
"binary... |
package aQute.bnd.deployer.repository;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintStream;
import java.io.UnsupportedEncodingException;
import java.net.URI;
import... | {
"content_hash": "29a202fbc9745b9331ac7029d59f8559",
"timestamp": "",
"source": "github",
"line_count": 353,
"max_line_length": 126,
"avg_line_length": 29.056657223796034,
"alnum_prop": 0.7000097494394072,
"repo_name": "xtracoder/bnd",
"id": "cea79c23763a957fb90a2258f936b592eb618be5",
"size": "1025... |
import { IEditorService } from 'vs/workbench/services/editor/common/editorService';
import { WalkThroughPart, WALK_THROUGH_FOCUS } from 'vs/workbench/contrib/welcome/walkThrough/electron-browser/walkThroughPart';
import { ICommandAndKeybindingRule, KeybindingWeight } from 'vs/platform/keybinding/common/keybindingsReg... | {
"content_hash": "5ce1e0c5083949fefc0caa8c81dc4f82",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 128,
"avg_line_length": 39.765625,
"alnum_prop": 0.7960707269155206,
"repo_name": "cleidigh/vscode",
"id": "95ba85eb93557e65b4c0362940928e745e10a0ce",
"size": "2896",
"bi... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "00d290e2e8ec06accc9f194ee69484f7",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "373218304f1ebab725d474ba165d6bfc828b5301",
"size": "183... |
//Write a method GetMax() with two parameters that returns the larger of two integers.
//Write a program that reads 3 integers from the console and prints the largest of them using the method GetMax().
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
... | {
"content_hash": "a49dd6b4f9a05761921d0ca5897599ff",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 114,
"avg_line_length": 28.375,
"alnum_prop": 0.6024229074889867,
"repo_name": "NikolaLyutsov/TelerikAcademy",
"id": "3f0b1e7841e5641bf2a8d07a6624a2fc4575a752",
"size": "91... |
<footer role="contentinfo" id="site-footer">
<nav role="navigation" class="menu bottom-menu">
<ul class="menu-item">
{% for link in site.data.footer %}
{% if link.url contains 'http' %}
{% assign domain = '' %}
{% else %}
{% assign domain = site.url %}
{% endif %}
<li><a href... | {
"content_hash": "6f420c5ce261744796973c9758ae1a44",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 281,
"avg_line_length": 52.06666666666667,
"alnum_prop": 0.5672215108834827,
"repo_name": "feijoaandacuppatea/feijoaandacuppatea.github.io",
"id": "70aba011aa4bec17ee652ea5bf... |
//---------------------------------------------------------------------------//
//---------------------------------------------------------------------------//
/*!
* \brief DTK_MoabEntityImpl.cpp
* \author Stuart R. Slattery
* \brief Moab entity implementation.
*/
//------------------------------------------------... | {
"content_hash": "949725bf5abb44d9341431fe78acc75e",
"timestamp": "",
"source": "github",
"line_count": 184,
"max_line_length": 80,
"avg_line_length": 33.91847826086956,
"alnum_prop": 0.47428296747316134,
"repo_name": "amccaskey/DataTransferKit",
"id": "a8af4fb14b101952105a6b3900c46cdd76bc1eef",
"s... |
package com.seaglasslookandfeel;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.JTe... | {
"content_hash": "d4a49af0e10347385defc73fc5a1a45e",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 107,
"avg_line_length": 35.07826086956522,
"alnum_prop": 0.5495785820525533,
"repo_name": "anhtu1995ok/seaglass",
"id": "c138c52ca5996e7f346c6717fb1bbc655bce9a2b",
"size":... |
package io.netty.channel.sctp.oio;
import com.sun.nio.sctp.SctpChannel;
import com.sun.nio.sctp.SctpServerChannel;
import io.netty.channel.ChannelException;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelMetadata;
import io.netty.channel.ChannelOutboundBuffer;
import io.netty.channel.ChannelPro... | {
"content_hash": "56597e6e4e4478e68b32d26d70a114e1",
"timestamp": "",
"source": "github",
"line_count": 289,
"max_line_length": 117,
"avg_line_length": 30.92387543252595,
"alnum_prop": 0.594159113796576,
"repo_name": "afredlyj/learn-netty",
"id": "47af27adc4301b340539e222bfbc828c77b39fcc",
"size": ... |
using ::testing::_;
using ::testing::AtLeast;
using ::testing::Mock;
using ::testing::Return;
using ::testing::Sequence;
using ::testing::StrictMock;
using ::testing::Truly;
// This test uses actual threads since mutator logic requires it. This means we
// have dependency on Blink platform to create threads.
namespac... | {
"content_hash": "b6ed949f2b1664a632ef35511f0eaba9",
"timestamp": "",
"source": "github",
"line_count": 795,
"max_line_length": 81,
"avg_line_length": 39.384905660377356,
"alnum_prop": 0.7387818977356201,
"repo_name": "ric2b/Vivaldi-browser",
"id": "9e21c7db1bcb0115e205ee2a277be31194cbcc38",
"size"... |
class MakeCriterionWeightNotNullAgain < ActiveRecord::Migration
def self.up
change_column :rubric_criteria, :weight, :float, {:null => false}
end
def self.down
change_column :rubric_criteria, :weight, :float
end
end
| {
"content_hash": "20c4566f2faf171617d2b1eae5c7d8c6",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 69,
"avg_line_length": 25.88888888888889,
"alnum_prop": 0.7253218884120172,
"repo_name": "reidka/Markus",
"id": "d4f1e776334ea7e231b03ac888efad2196fd36c1",
"size": "233",
... |
package com.ibatis.common.beans;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Field;
public class SetFieldInvoker implements Invoker {
private Field field;
private String name;
public SetFieldInvoker(Field field) {
this.field = field;
this.name = "(" + fiel... | {
"content_hash": "c3c872708e638c288e84223837112c1c",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 113,
"avg_line_length": 25.347826086956523,
"alnum_prop": 0.6723842195540308,
"repo_name": "fengshao0907/Open-Source-Research",
"id": "bf5fb11b3fcbaa7169a3407c8144f78bd639eac... |
package burlap.behavior.singleagent.learnfromdemo.mlirl.commonrfs;
import burlap.behavior.singleagent.learnfromdemo.mlirl.support.DifferentiableRF;
import burlap.behavior.singleagent.vfa.StateToFeatureVectorGenerator;
import burlap.oomdp.core.states.State;
import burlap.oomdp.singleagent.GroundedAction;
/**
* A clas... | {
"content_hash": "aac728286d1e8b8e123a7b4ca4dbf8ed",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 164,
"avg_line_length": 38.371134020618555,
"alnum_prop": 0.7587318645889307,
"repo_name": "f-leno/DOO-Q_BRACIS2016",
"id": "bef7db018c642e127a9d5e4a9665ced158dcc00b",
"siz... |
c
c
c =====================================================
subroutine limiter(maxm,meqn,mwaves,mbc,mx,wave,s,mthlim)
c =====================================================
c
c # Apply a limiter to the waves.
c # The limiter is computed by comparing the 2-norm of each wave with
c # the projec... | {
"content_hash": "bd52d477fcf346515b7c9143b36e0e79",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 78,
"avg_line_length": 36.61666666666667,
"alnum_prop": 0.5621301775147929,
"repo_name": "ForestClaw/forestclaw",
"id": "2cd63f45add57359c9214316cc2a3fa13ac0234e",
"size": ... |
package com.innovaee.eorder.module.dao;
import com.innovaee.eorder.module.entity.UserLevel;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.List;
/**
* @Title: UserLevelDao
* @Description: 用户等级数据访问对象
*
* @version V1.0
*/
public class UserLevelDao exten... | {
"content_hash": "ebac14031ca4b3cfeb8fff3d88b468b5",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 81,
"avg_line_length": 23.96153846153846,
"alnum_prop": 0.5798555377207063,
"repo_name": "aaronluo/cuoxiazi",
"id": "759ebde7a65f06ffe5446387422a6a2ade85ebdb",
"size": "29... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="nb">
<head>
<!-- Generated by javadoc (1.8.0_66) on Wed Feb 10 17:54:15 CET 2016 -->
<title>A-Index</title>
<meta name="date" content="2016-02-10">
<link rel="stylesheet" type="text/css" h... | {
"content_hash": "83761f13b30b8bb7d24d5b275cb84e81",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 350,
"avg_line_length": 37.31386861313869,
"alnum_prop": 0.6214788732394366,
"repo_name": "JohanneRadford/KD405A_Johanne_R",
"id": "c700b13534c55478e1d5f546df70b9cd8b6be3e9"... |
var GeoJSON = require('geojson');
exports.parse = function (results, callback) {
var editedResults = [];
if (results.length) {
for (var i = 0; i < results.length; i = i + 1) {
var result = {};
result.name = results[i].name;
result.alias = results[i].alias;
result.dataset = results[i].... | {
"content_hash": "6b68c42ee85ebb35bc09bb2a33f40eb3",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 73,
"avg_line_length": 28.821428571428573,
"alnum_prop": 0.6344485749690211,
"repo_name": "pjleonard37/philly-hoods",
"id": "c7278bbad5cfc463cffbb4f751665b8c8f508c4b",
"siz... |
package org.springframework.security.oauth2.client.userinfo;
import java.time.Instant;
import java.util.Arrays;
import java.util.HashMap;
import java.util.LinkedHashSet;
import java.util.Map;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.springframework.security.oauth2.clie... | {
"content_hash": "aaf8a2f9537bf7fafd6c2cc17c562b2b",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 114,
"avg_line_length": 37.473684210526315,
"alnum_prop": 0.7966994382022472,
"repo_name": "spring-projects/spring-security",
"id": "4c8c1c3ebc4dbf6152b303d6289a2e3a194dc519"... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "4bc9aa45e46d12f86a788ac60f7a305d",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "29c5a84bf6a46b42caa4e0485af16b59c10d959f",
"size": "194... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.... | {
"content_hash": "d5768760f386575799079771cf21149c",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 99,
"avg_line_length": 29.625,
"alnum_prop": 0.6888888888888889,
"repo_name": "bowenli86/flink",
"id": "79f4e426e54b01f2c0be54e55325f102f5499b81",
"size": "3555",
"binar... |
import {
Add,
Convolution,
ILayerJSON,
RecurrentZeros,
Sigmoid,
Target,
} from '../layer';
import { layerFromJSON } from './layer-from-json';
import { mockLayer } from '../test-utils';
describe('layerFromJSON', () => {
it('should return null when type is specified in a wrong way', () => {
const jsonL... | {
"content_hash": "202583b4c0e76cb7a940f30c033031f0",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 78,
"avg_line_length": 28.016,
"alnum_prop": 0.5762421473443746,
"repo_name": "harthur-org/brain",
"id": "49af129be13c32bbef2ef56338d797512134cee1",
"size": "3502",
"bin... |
#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_TIMING_MEMORY_INFO_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_TIMING_MEMORY_INFO_H_
#include "third_party/blink/renderer/core/core_export.h"
#include "third_party/blink/renderer/platform/bindings/script_wrappable.h"
#include "third_party/blink/renderer/platform/heap/handle.h"
... | {
"content_hash": "4d7a44adfc716dad0ca871474042dff1",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 80,
"avg_line_length": 31.714285714285715,
"alnum_prop": 0.7505630630630631,
"repo_name": "endlessm/chromium-browser",
"id": "63cb4024343344307364f130a6d75db03acbaa81",
"si... |
#pragma once
#include <aws/ec2/EC2_EXPORTS.h>
#include <aws/ec2/EC2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/ec2/model/PurchaseRequest.h>
#include <utility>
#include <aws/core/utils/UUID.h>
namespace Aws
{
namespace EC2
{
namespace Mod... | {
"content_hash": "8110959bc1a0c920f31e8887941b76a8",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 193,
"avg_line_length": 40.95897435897436,
"alnum_prop": 0.6996369099787154,
"repo_name": "aws/aws-sdk-cpp",
"id": "8d7e45b262019a302b1268749b129cd756ec9683",
"size": "810... |
/**
* @file
* Sockets BSD-Like API module
*
*/
/*
* Copyright (c) 2001-2004 Swedish Institute of Computer Science.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistribution... | {
"content_hash": "206564eab90a856f79639fc87d32b22f",
"timestamp": "",
"source": "github",
"line_count": 2378,
"max_line_length": 115,
"avg_line_length": 29.40075693860387,
"alnum_prop": 0.5873417721518988,
"repo_name": "ohilab/libohiboard",
"id": "089310b08b15f9d21145d739f873fbccce6492e8",
"size": ... |
var expect = require('chai').expect
, async = require('async')
, signal = require('../')
, support = require('./support')
, client = support.client
, port = 8888;
function times(n, callback) {
return function(err) {
if (err) return callback(err);
--n || callback();
}
}
describe('signal.io', fun... | {
"content_hash": "7061252fe910c9e097242fc8db516675",
"timestamp": "",
"source": "github",
"line_count": 186,
"max_line_length": 79,
"avg_line_length": 26.919354838709676,
"alnum_prop": 0.5244657479528659,
"repo_name": "nkzawa/signal.io",
"id": "c8cdb19694401ff00c8cb8489ce97e8c200941b1",
"size": "50... |
// Copyright 2006-2008 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this lis... | {
"content_hash": "aa0d7c4af1cd6b76759dd27dbfa0d5db",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 87,
"avg_line_length": 33.32846715328467,
"alnum_prop": 0.6929478756022777,
"repo_name": "glycerine/vj",
"id": "97ec6b997b0f38d7078428f9ca5535d4124dd3dd",
"size": "4566",
... |
package org.apache.yoko.orb.OCI;
//
// IDL:orb.yoko.apache.org/OCI/AccFactory:1.0
//
final public class AccFactoryHelper
{
public static void
insert(org.omg.CORBA.Any any, AccFactory val)
{
any.insert_Object(val, type());
}
public static AccFactory
extract(org.omg.CORBA.Any any)
... | {
"content_hash": "2dbb35b9ba94e8db8b005ad2b06b1833",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 110,
"avg_line_length": 29.88235294117647,
"alnum_prop": 0.6208661417322835,
"repo_name": "apache/geronimo-yoko",
"id": "935ea678dc42d69238ad0380e9533273a0eb4ebe",
"size": ... |
/*!
* V4Fire Client Core
* https://github.com/V4Fire/Client
*
* Released under the MIT license
* https://github.com/V4Fire/Client/blob/master/LICENSE
*/
import type { WatchPath as RawWatchPath, WatchOptions, WatchHandlerParams } from 'core/object/watch';
import type { Group, Label, Join } from 'core/async';
imp... | {
"content_hash": "a23146b1a8a032fa8d5d540bde6ba40b",
"timestamp": "",
"source": "github",
"line_count": 211,
"max_line_length": 107,
"avg_line_length": 21.407582938388625,
"alnum_prop": 0.6506530883329643,
"repo_name": "V4Fire/Client",
"id": "533947da664b3f57e415009fe50ec9189e55fbb9",
"size": "4517... |
// Copyright 2013 The Changkong Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package jipiao
const VersionNo = "20140725"
/* 机票订单的详情 */
type TripOrder struct {
BaseInfo *TripBaseInfo `json:"base_info"`
CorpInfo *CorpInfo ... | {
"content_hash": "ad1c91cb4f57207889e8260f39f95e24",
"timestamp": "",
"source": "github",
"line_count": 220,
"max_line_length": 75,
"avg_line_length": 38.84090909090909,
"alnum_prop": 0.6088940901111761,
"repo_name": "cnphpbb/open-taobo",
"id": "47a18a789186b5d82fd00587465a708c19345242",
"size": "8... |
set -e
. ./config.sh
mkdir -p sysroot
for PROJECT in $SYSTEM_HEADER_PROJECTS; do
DESTDIR="$PWD/sysroot" $MAKE -C $PROJECT install-headers
done
| {
"content_hash": "f79effb980d8d7474216387d5bfde68e",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 58,
"avg_line_length": 18.375,
"alnum_prop": 0.7210884353741497,
"repo_name": "vezril/hiroOS",
"id": "61eae6a686195fcb165766ef54494631cda0bb84",
"size": "157",
"binary": f... |
id: resolve-redux
title: '@resolve-js/redux'
description: The reSolve framework includes the client @resolve-js/redux library used to connect a client React + Redux app to a reSolve-powered backend.
---
The reSolve framework includes the client **@resolve-js/redux** library used to connect a client React + Redux app t... | {
"content_hash": "bcec1ad165a8b1635267fff7900ff7ba",
"timestamp": "",
"source": "github",
"line_count": 213,
"max_line_length": 219,
"avg_line_length": 27.854460093896712,
"alnum_prop": 0.6217765042979942,
"repo_name": "reimagined/resolve",
"id": "25c7f1af00e9ca682c4ea427d1fba8eb8d6ddae2",
"size": ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>simple-io: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.c... | {
"content_hash": "39a21ca05399f11173095cbffd6e646f",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 159,
"avg_line_length": 41.87709497206704,
"alnum_prop": 0.5526947705442903,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "093887294a5ccd83a0154bbde1e81383c24562a2",
... |
#pragma once
namespace vfs {
//----------------------------------------------------------------------------------------------
using virtual_allocator_impl = struct win_virtual_allocator;
//----------------------------------------------------------------------------------------------
struct win_virtu... | {
"content_hash": "df82d857882e2cf141173b78fb0d55c3",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 100,
"avg_line_length": 37.6551724137931,
"alnum_prop": 0.31227106227106227,
"repo_name": "H-EAL/vfs",
"id": "87d325b6d8a8c77d34af2887c0909e8a8eda7eb5",
"size": "1092",
"... |
#import <XCTest/XCTest.h>
@class OIDTVAuthorizationResponse;
NS_ASSUME_NONNULL_BEGIN
/*! @brief Unit tests for @c OIDTVAuthorizationResponse.
*/
@interface OIDTVAuthorizationResponseTests : XCTestCase
/*! @brief Tests the initializer using the standard key for @c verificationURI.
*/
- (void)testInitializer;
/*... | {
"content_hash": "d309dd94e1f775ee92b4b604d813f9dc",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 98,
"avg_line_length": 27.74418604651163,
"alnum_prop": 0.7661357921207042,
"repo_name": "WilliamDenniss/AppAuth-iOS",
"id": "32497c8547c79eb0e81b4caa874b2e58ed84a79d",
"si... |
package org.pentaho.hadoop.mapreduce.converter.converters;
import org.apache.hadoop.io.BytesWritable;
import org.junit.Test;
import org.pentaho.di.core.row.ValueMeta;
import org.pentaho.di.core.row.ValueMetaInterface;
import org.pentaho.hadoop.mapreduce.converter.TypeConversionException;
import static org.junit.Ass... | {
"content_hash": "f09963d90087a24aec027cca336b2377",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 109,
"avg_line_length": 38.93650793650794,
"alnum_prop": 0.7207501019160212,
"repo_name": "stepanovdg/pentaho-hadoop-shims",
"id": "267859289f1baa2ad4990fb748d51432725e06e3",... |
<!-- Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. -->
<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">
... | {
"content_hash": "4fc427527116034a76d4fbf13767e9b0",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 181,
"avg_line_length": 43.31764705882353,
"alnum_prop": 0.6648560564910375,
"repo_name": "Azure/azure-sdk-for-java",
"id": "4015fcc51ce03bab1dd0b80fd62fcc8916294fea",
"siz... |
package org.apache.spark.sql.catalyst.optimizer
import scala.collection.immutable.HashSet
import org.apache.spark.sql.catalyst.CatalystConf
import org.apache.spark.sql.catalyst.analysis._
import org.apache.spark.sql.catalyst.expressions._
import org.apache.spark.sql.catalyst.expressions.aggregate._
import org.apach... | {
"content_hash": "1f40ff93b3d33d87e605ebf29588841c",
"timestamp": "",
"source": "github",
"line_count": 541,
"max_line_length": 99,
"avg_line_length": 40.49722735674676,
"alnum_prop": 0.6380939339997261,
"repo_name": "Panos-Bletsos/spark-cost-model-optimizer",
"id": "6958398e03f7072539b78dce57256017e... |
"use strict";
var _Object$assign = require("babel-runtime/core-js/object/assign")["default"];
var _interopRequireDefault = require("babel-runtime/helpers/interop-require-default")["default"];
Object.defineProperty(exports, "__esModule", {
value: true
});
var _clor = require("clor");
var _clor2 = _interopRequireD... | {
"content_hash": "d0dbae73251529ff98bb9322c5d38e6c",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 97,
"avg_line_length": 32.89655172413793,
"alnum_prop": 0.6530398322851153,
"repo_name": "kidaa/fly",
"id": "0be6f87bd84935882f954803116bd7397b2f4603",
"size": "954",
"bi... |
require 'sidekiq/web'
Catarse::Application.routes.draw do
mount JasmineRails::Engine => '/specs' if defined?(JasmineRails)
devise_for :users, path: '',
path_names: { sign_in: :login, sign_out: :logout, sign_up: :sign_up },
controllers: { omniauth_callbacks: :omniauth_callbacks, passwords: :passwords }
... | {
"content_hash": "96fda6e591bcf78b319ddf97524b3469",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 114,
"avg_line_length": 26.73202614379085,
"alnum_prop": 0.6061124694376528,
"repo_name": "diatmpravin/moneyfunder",
"id": "53f68a71e48ccb5b8f6c4319875a9300ee14a7a7",
"siz... |
// Copyright 2015 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 "base/strings/utf_string_conversions.h"
#include "chrome/browser/password_manager/save_password_infobar_delegate.h"
#include "chrome/test/base/ch... | {
"content_hash": "d0e2f1e00ed8f6084bba3560b68309a1",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 82,
"avg_line_length": 38.36507936507937,
"alnum_prop": 0.7308647083160943,
"repo_name": "CapOM/ChromiumGStreamerBackend",
"id": "148d1d846e3fe41cbbf6a69546779dce2a1e390f",
... |
package org.knowm.xchange.mercadobitcoin.service.marketdata;
import static org.assertj.core.api.Assertions.assertThat;
import org.junit.Test;
import org.knowm.xchange.Exchange;
import org.knowm.xchange.ExchangeFactory;
import org.knowm.xchange.currency.CurrencyPair;
import org.knowm.xchange.dto.marketdata.Trades;
imp... | {
"content_hash": "41351e268bfe422231e68c35e4fe6b3e",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 94,
"avg_line_length": 33.7,
"alnum_prop": 0.8001978239366964,
"repo_name": "douggie/XChange",
"id": "b9de9da86631b17699216502ed6f751954963801",
"size": "1011",
"binary":... |
package command
import (
"bufio"
"os"
"errors"
"github.com/webdevops/go-stubfilegenerator"
"strings"
)
type FileStubs struct {
Positional struct {
SourceFile string `description:"Source file"`
} `positional-args:"true"`
RootPath string `long:"path" description:"Prefix path for stub file... | {
"content_hash": "45beaa56b22b2ed91021cfb1f17e331c",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 96,
"avg_line_length": 21.48314606741573,
"alnum_prop": 0.6438284518828452,
"repo_name": "webdevops/go-devtool",
"id": "8c46c5f5eafaeaca57d49dbbdd94d827f8fd55dc",
"size": "... |
import os.path
import sys
sys.path = [os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', 'lib')] + sys.path
from amqpsfw import amqp_spec, ioloop
from amqpsfw.client.client import Client
from amqpsfw.client.configuration import ClientConfiguration
class TestClientConsumer:
def test_client_consumer(s... | {
"content_hash": "d66e8c3317353b1df0843c1cf9dee844",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 219,
"avg_line_length": 53.433734939759034,
"alnum_prop": 0.5812852311161217,
"repo_name": "akayunov/amqpsfw",
"id": "548e1664c00e21c4bb0a10b3ba0ce4c241e73d00",
"size": "44... |
package org.apache.hadoop.hbase.util;
import java.io.IOException;
import java.io.OutputStream;
import java.util.ArrayList;
import java.util.Collection;
import org.apache.hadoop.classification.InterfaceAudience;
import org.apache.hadoop.classification.InterfaceStability;
import com.google.common.collect.Lists;
/**... | {
"content_hash": "25f5ff7d5a5d755d6bd7818b0bad16d7",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 96,
"avg_line_length": 31.666666666666668,
"alnum_prop": 0.7086124401913876,
"repo_name": "lilonglai/hbase-0.96.2",
"id": "d0c387349413b7c66191d0a4c6220427e01a9963",
"size"... |
/*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* FFmpeg is distributed... | {
"content_hash": "6de73ed891311bb619287630eb9f9707",
"timestamp": "",
"source": "github",
"line_count": 223,
"max_line_length": 114,
"avg_line_length": 23.96412556053812,
"alnum_prop": 0.6916167664670658,
"repo_name": "endlessm/chromium-browser",
"id": "6bdf4741fa087848fdd7aab0b4740ccc78d47169",
"s... |
/*
* 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": "72f22fe5e5fb67fd350197fa578b3b65",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 98,
"avg_line_length": 32.83870967741935,
"alnum_prop": 0.6944990176817288,
"repo_name": "dain/presto",
"id": "e916539cf045d429504d1ee1d1cfd7e9e57e4e38",
"size": "2036",
... |
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:id="@+id/item_locate"
android:showAsAction="always"
android:title="@string/locate" android:icon="@drawable/ic_location">
</item>
<item android:id="@+id/item_list" android:icon="@drawable/ic_action_servi... | {
"content_hash": "ad6ef751ebd0c2cd8be2d6f1448ddae4",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 158,
"avg_line_length": 37.666666666666664,
"alnum_prop": 0.6424778761061947,
"repo_name": "aniediudo/forte-locator",
"id": "0b5ea788f178bd6b0c257dcb6e8bfdcfaa068bb4",
"siz... |
<!DOCTYPE html>
<html class="no-js" lang="ko">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="p5.js a JS client-side library for creating graphic and interactive ... | {
"content_hash": "d9dd43c3c789e0c54ee9df5f3873241b",
"timestamp": "",
"source": "github",
"line_count": 199,
"max_line_length": 245,
"avg_line_length": 42.391959798994975,
"alnum_prop": 0.5945945945945946,
"repo_name": "mayaman/p5js-website",
"id": "3a3b7dfd08fb16dc407a2ff0f0967c6e36f5250b",
"size"... |
namespace Google.Cloud.AutoML.V1.Snippets
{
// [START automl_v1_generated_AutoMl_ListModelEvaluations_async_flattened_resourceNames]
using Google.Api.Gax;
using Google.Cloud.AutoML.V1;
using System;
using System.Linq;
using System.Threading.Tasks;
public sealed partial class GeneratedAutoMl... | {
"content_hash": "4caf37c5b2c04809bafe10383aea4696",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 146,
"avg_line_length": 44.967213114754095,
"alnum_prop": 0.6157491797302224,
"repo_name": "jskeet/google-cloud-dotnet",
"id": "bb88f75386f9b3de2077ce6e774d232637d2ae3d",
"... |
package com.breeze.query;
import com.breeze.metadata.IEntityType;
import com.breeze.metadata.INavigationProperty;
import com.breeze.metadata.IProperty;
public class AnyAllPredicate extends Predicate {
private Operator _op;
private Object _exprSource;
private PropExpression _expr; // calculated as a result of valid... | {
"content_hash": "8f68596d19e08b2c96a2e6feb8b582b2",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 118,
"avg_line_length": 27.80392156862745,
"alnum_prop": 0.7531734837799718,
"repo_name": "Breeze/breeze.server.java",
"id": "ea8c61e5c74a59075c904a665d9fb0a891bcd137",
"si... |
/**
* Created by Tim Osadchiy on 10/09/2016.
*/
'use strict';
module.exports = function (app) {
app.controller('ContextController', ['$scope', '$timeout', 'appConstants', controllerFn]);
};
function controllerFn($scope, $timeout, appConstants) {
var testImg = new Image(),
testImgTimeout;
$scop... | {
"content_hash": "48796d618baaa3b5a2e3a476443cde3f",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 97,
"avg_line_length": 30.54,
"alnum_prop": 0.5841519318925998,
"repo_name": "timosadchiy/confebeacon",
"id": "2261a76b31d953e48be1816bdfabeed21860fc79",
"size": "1527",
... |
<?php
namespace Vich\UploaderBundle\Tests\Mapping\Annotation;
use Vich\UploaderBundle\Mapping\Annotation\UploadableField;
/**
* UploadableFieldTest.
*
* @author Dustin Dobervich <ddobervich@gmail.com>
*/
class UploadableFieldTest extends \PHPUnit_Framework_TestCase
{
/**
* @expectedException \InvalidArg... | {
"content_hash": "17775046e25d5ad3382d04e7a1f53214",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 72,
"avg_line_length": 22.606060606060606,
"alnum_prop": 0.6702412868632708,
"repo_name": "jbouhier/2SN",
"id": "9acfa8402bb1a58009592940915565b9fc50e997",
"size": "746",
... |
package org.apache.geode.internal.cache;
public enum DiskDirSizesUnit {
BYTES,
MEGABYTES
}
| {
"content_hash": "c7ed3eacee3e7c93ced8452c85f67ebb",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 40,
"avg_line_length": 13.857142857142858,
"alnum_prop": 0.7628865979381443,
"repo_name": "smgoller/geode",
"id": "3814815bc4421d3e833814993a512a617ce58b0e",
"size": "886",
... |
// @flow
export { default as File } from "./transformation/file/file";
export {
default as buildExternalHelpers,
} from "./tools/build-external-helpers";
export { resolvePlugin, resolvePreset } from "./config/files";
export { version } from "../package.json";
export { getEnv } from "./config/helpers/environment";
... | {
"content_hash": "9b7869e94bbf279246588277c0727cfd",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 91,
"avg_line_length": 28.551724137931036,
"alnum_prop": 0.6998792270531401,
"repo_name": "PolymerLabs/babel",
"id": "7b30f15dbbd07561e24597459a06e5ffd2fbaab5",
"size": "16... |
package com.schubergphilis.utils;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
import java.util.TreeSet;
import org.hamcrest.Matcher;
import difflib.Delta;
import difflib.DiffUtils;
import difflib.Patch;
public ... | {
"content_hash": "46e0e26aee7dc638d37853dd34941790",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 119,
"avg_line_length": 34.70676691729323,
"alnum_prop": 0.6449306759098787,
"repo_name": "schubergphilis/javautils",
"id": "b191f16753b296697f4542dc8789abf58a35978e",
"si... |
#region Copyright
#endregion
using System;
namespace Kodestruct.Concrete.ACI
{
public interface IStrainCompatibilityAnalysisResult
{
double Moment { get; set; }
LinearStrainDistribution StrainDistribution { get; set; }
RebarPointResult ControllingTensionBar { get; set; }
}
}
| {
"content_hash": "be68542d67cde092ae518b04f2c0c4c6",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 65,
"avg_line_length": 22.714285714285715,
"alnum_prop": 0.7012578616352201,
"repo_name": "Kodestruct/Kodestruct.Design",
"id": "a68215999c95e67fe1cc576f5f34120bfee89887",
... |
#include "third_party/blink/renderer/core/svg/svg_string_list_tear_off.h"
namespace blink {
SVGStringListTearOff::SVGStringListTearOff(SVGStringListBase* target,
SVGAnimatedPropertyBase* binding)
: SVGPropertyTearOffBase(binding, kPropertyIsNotAnimVal), list_(target) {... | {
"content_hash": "bb53cec05432e31e3adf58abccfc0de5",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 78,
"avg_line_length": 31.363636363636363,
"alnum_prop": 0.6927536231884058,
"repo_name": "nwjs/chromium.src",
"id": "6620cad552a834fbc83f6711aa071e58d71c334a",
"size": "19... |
package de.stefanhoth.android.got2048.logic.model;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
* Container to carry over changes a movement caused to the playing field
*
* @author Stefan Hoth <sh@jnamic.com>
* dat... | {
"content_hash": "34c6ad5298c718dffc50835610ad2b81",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 102,
"avg_line_length": 28.423529411764704,
"alnum_prop": 0.6494205298013245,
"repo_name": "stefanhoth/got2048",
"id": "7c3d7834224fb05aef9d4be854c86b32ee9cfe92",
"size": "... |
/*
D3D9Primitives.h
Written by Matthew Fisher
*/
#ifdef USE_D3D9
class D3D9Primitives
{
public:
void Init(D3D9GraphicsDevice &graphics, D3D9VertexShader &vs, D3D9PixelShader &ps, int sphereRefinement, int stacks, int slices);
void RenderSphere(const Matrix4 &viewPerspective, float radius, const Vec3f &p, RGB... | {
"content_hash": "7ff7953c34c87dadfa37b4fcc54dc544",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 133,
"avg_line_length": 27.5,
"alnum_prop": 0.7510489510489511,
"repo_name": "jonnynt/tonberry",
"id": "1bd9359352b286c2d57e8b68266ae50a0b95c8e5",
"size": "715",
"binary"... |
<!DOCTYPE html>
<html lang="{{ config('app.locale') }}">
<head>
<meta charset="UTF-8" />
<title>{{ trans('app.name') }}</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport" />
<link rel="author" href="humans.txt" />
<... | {
"content_hash": "06785309edb6870b950cc066464d83e9",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 113,
"avg_line_length": 37.76,
"alnum_prop": 0.5222457627118644,
"repo_name": "REBELinBLUE/deployer",
"id": "44dc4ad0d6930a30e84f93c69f49e06124bca6d8",
"size": "944",
"bi... |
/*
* 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": "c279f756d3999baff066625598352ec1",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 178,
"avg_line_length": 47,
"alnum_prop": 0.7047370533922119,
"repo_name": "erichwang/presto",
"id": "952fa5f944ddedb74d9ee0b50fdc066c384b6f91",
"size": "4982",
"binary"... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Struct base_unit_info<angle::arcsecond_base_unit></title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.cs... | {
"content_hash": "20a57b1b8635651abd100d1c0302afe7",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 500,
"avg_line_length": 92.22058823529412,
"alnum_prop": 0.6809121352256419,
"repo_name": "calvinfarias/IC2015-2",
"id": "d9803f57fa4940d953998766ab8ac64c6bffd928",
"size":... |
{% include "head.html" %}
{% if result['result'] == 'success' %}
<div class="alert alert-success" role="alert">
Plan {{ plan }} created!
</div>
{% elif 'error' in result %}
<div class="alert alert-danger" role="alert">
Plan {{ plan }} not created because of {{ result['error'] }}:<p>
</div>
{% else %}
<div class="alert... | {
"content_hash": "2f95e2a5d3983b4e9202e427e953ec6c",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 71,
"avg_line_length": 26.227272727272727,
"alnum_prop": 0.5979202772963604,
"repo_name": "karmab/kcli",
"id": "bf9354054473d63bc8aa0b3e71addc702d437072",
"size": "577",
... |
var _ = require('lodash');
var arr = _.range(1000);
suite('sample_from_array', function () {
bench('Math.random % arr.length', function () {
var index = ~~(Math.random() * arr.length);
var sample = arr[index]
})
bench('lodash.sample', function () {
var sample = _.sample(arr);
})
}) | {
"content_hash": "1c227d683f225d2da241da927351a899",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 49,
"avg_line_length": 21.785714285714285,
"alnum_prop": 0.5836065573770491,
"repo_name": "baidubaike/fast-js",
"id": "1923aa136ef003d0dd3a3a1942f12b9f3df106b8",
"size": "3... |
from Code.Projects.Tracking.Tracking3 import read_redshift
from Code.config import get_pwd
def extract():
raw = read_redshift(get_pwd(), query)
query = "SELECT DISTINCT 'tablename' FROM 'pg_table_def' WHERE 'schemaname' = 'public' ORDER BY 'tablename'"
data = read_redshift(get_pwd(), query)
print data | {
"content_hash": "9b3905a86336f8301bd05c3cc489ee01",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 108,
"avg_line_length": 25.916666666666668,
"alnum_prop": 0.7331189710610932,
"repo_name": "ShipJ/Code",
"id": "6514db1f938b228c7684df4a35dd109022938967",
"size": "311",
... |
window.onload = function () {
var elements = $('[name^=form-][name$=-status]');
$.each(elements, function (index, element) {
element = $(element);
switch (element.children('option[selected=selected]').val()) {
case 'approved':
element.parent().addClass('approved');
break;
case 'denied':
element.... | {
"content_hash": "8cfedaf953086e33696a7c37b77873f3",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 64,
"avg_line_length": 26.058823529411764,
"alnum_prop": 0.6162528216704289,
"repo_name": "aspc/mainsite",
"id": "2aa9760a05376b3f91fe8b695b8e6fb6c44cf6bf",
"size": "539",
... |
import base64
import json
from cattle import ApiError, ClientApiError
from common_fixtures import * # NOQA
from datetime import timedelta
import time
def test_container_create_count(client, context):
cs = client.create_container(imageUuid=context.image_uuid,
count=3)
assert... | {
"content_hash": "78c36d766c00c8fae3d38f2777b38673",
"timestamp": "",
"source": "github",
"line_count": 639,
"max_line_length": 78,
"avg_line_length": 29.322378716744915,
"alnum_prop": 0.6307840102471046,
"repo_name": "Cerfoglg/cattle",
"id": "c144326e5b9b2f895695e387a87fab858b5384e3",
"size": "187... |
package eu.schulteweb.wicket.datatables.markup.html.repeater.data.table;
import java.util.ArrayList;
import java.util.List;
import org.apache.wicket.WicketRuntimeException;
import org.apache.wicket.ajax.json.JSONException;
import org.apache.wicket.ajax.json.JSONObject;
public class Configuration {
private List<Par... | {
"content_hash": "b28920e2eda9ef5462b72d84f3a7c82b",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 72,
"avg_line_length": 20.974358974358974,
"alnum_prop": 0.7200488997555012,
"repo_name": "schulte-web/wicket-datatables",
"id": "ccb7360b24b5ab8c263417294139e3c03b9936fd",
... |
typedef struct fsPibAttribute {
bool destroyable;
uint8_t pibAttribute;
uint8_t pibAttributeValue[1];
} fsPibAttribute_t;
// The fsSdu consists of a pointer to the actual payload,
// and a pointer to the buffer containing it, typically a confirm/indication primitive.
typedef struct {
uint8_t payloadLen;
uint8_t... | {
"content_hash": "9567d56597f0764fe35f54414486cbc1",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 87,
"avg_line_length": 25.950413223140497,
"alnum_prop": 0.806687898089172,
"repo_name": "ekiwi/tinyos-1.x",
"id": "cd6ae45ae2e5472b2463facfb4448bcf8b712098",
"size": "322... |
#==============================================================================
#
# ▼ Yanfly Engine Ace - JP Manager v1.00
# -- Last Updated: 2012.01.07
# -- Level: Normal, Hard
# -- Requires: n/a
#
#==============================================================================
$imported = {} if $imported.nil?
$imp... | {
"content_hash": "7e03ba6a20dfd3bb567464bdc9d88337",
"timestamp": "",
"source": "github",
"line_count": 592,
"max_line_length": 80,
"avg_line_length": 37.814189189189186,
"alnum_prop": 0.35852765121057806,
"repo_name": "Archeia/YEARepo",
"id": "4fa7677bffe5fd90b64b8168e4008ce29b409b27",
"size": "22... |
#ifndef SEACATIO__PROTO_SPDY_H_
#define SEACATIO__PROTO_SPDY_H_
#define FT_FRAME_TYPE_SPDY (0xFFFFFE01)
struct sc_proto_spdy;
///
struct sc_proto_spdy_cntl_header
{
uint16_t version;
uint16_t type;
uint8_t flags;
uint32_t length;
};
struct sc_proto_spdy_data_header
{
uint32_t stream_id;
uint8_t flags;
ui... | {
"content_hash": "f0361e50223850d71f5590dd4f138492",
"timestamp": "",
"source": "github",
"line_count": 224,
"max_line_length": 164,
"avg_line_length": 25.611607142857142,
"alnum_prop": 0.728080878507931,
"repo_name": "TeskaLabs/SeaCat.io-Agent",
"id": "efc4407c876203e6b4b8d1f0d22597603995e7bd",
"s... |
<?php
/**
* PayPal Website Payments Pro implementation for payment method instances
*
* @category Mage
* @package Mage_XmlConnect
* @author Magento Core Team <core@magentocommerce.com>
*/
class Mage_XmlConnect_Model_Payment_Method_Paypal_Pro extends Mage_Paypal_Model_Pro
{
/**
* Config mode... | {
"content_hash": "547aa0ec1658d3ed58012e511f54f3f8",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 83,
"avg_line_length": 22.842105263157894,
"alnum_prop": 0.6682027649769585,
"repo_name": "hansbonini/cloud9-magento",
"id": "649c39a6a3f39b10a35e4bdaea0aa989f4480f96",
"si... |
using Abp.Domain.Entities.Auditing;
namespace Abp.NHibernate.Tests.Entities
{
public class Book : FullAuditedEntity
{
public virtual string Name { get; set; }
}
} | {
"content_hash": "e58113798241de165bdc5e61bc3f93c2",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 48,
"avg_line_length": 20.333333333333332,
"alnum_prop": 0.6885245901639344,
"repo_name": "andmattia/aspnetboilerplate",
"id": "f05de3d513838783f5c326f5395c1ec5dabe43d0",
"s... |
@implementation MX3HttpObjc
- (void) get:(NSString *)urlString callback:(id <MX3HttpCallback>)callback {
NSURL *URL = [NSURL URLWithString:urlString];
NSURLRequest *request = [NSURLRequest requestWithURL:URL];
[NSURLConnection sendAsynchronousRequest:request
... | {
"content_hash": "5282c9dca3f29fc8b441ed39de44774a",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 103,
"avg_line_length": 39.9,
"alnum_prop": 0.6177944862155389,
"repo_name": "wesselj1/mx3playground",
"id": "a9bcd61cf24464bf1358a1f0f52249f8956e8077",
"size": "859",
"b... |
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var ServiceLocalException_1 = require("./S... | {
"content_hash": "c4d01f6effe4263ea7f70d4c225a4ae2",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 96,
"avg_line_length": 53.2,
"alnum_prop": 0.7142857142857143,
"repo_name": "guderkar/MExInt",
"id": "dd06d509584a26b9f005cd1d4142a5425106cc0b",
"size": "798",
"binary": ... |
<?php
/**
* Sendfriend module Setup Model
*
* @category Mage
* @package Mage_Sendfriend
* @author Magento Core Team <core@magentocommerce.com>
*/
class Mage_Sendfriend_Model_Resource_Setup extends Mage_Core_Model_Resource_Setup
{
}
| {
"content_hash": "383dcd85cc092214027e759fc33a0140",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 81,
"avg_line_length": 18.071428571428573,
"alnum_prop": 0.691699604743083,
"repo_name": "StudioBOZ/thirdClass",
"id": "2af7e78424506dc21ba0319ac2c2ac2c8f6bd4c4",
"size": "... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Transactions;
using Frontenac.Blueprints;
using Frontenac.Blueprints.Contracts;
using Frontenac.Grave.Esent;
using Frontenac.Infrastructure;
using Frontenac.Infrastructure.Indexing;
namespace Frontenac.Grave
{
... | {
"content_hash": "edeefeb407da0287e5a7a01a442d0adb",
"timestamp": "",
"source": "github",
"line_count": 553,
"max_line_length": 157,
"avg_line_length": 31.802893309222423,
"alnum_prop": 0.5277761983283107,
"repo_name": "Loupi/Frontenac",
"id": "6aae5c669c8dc8148579748d0b5aab64addafd90",
"size": "17... |
if (typeof(phantom) !== "undefined") {
var page = require('webpage').create();
// Route "console.log()" calls from within the Page context to the main Phantom context (i.e. current "this")
page.onConsoleMessage = function(msg) {
console.log(msg);
};
page.onAlert = function(msg) {
console.log(msg);
... | {
"content_hash": "089a01f39025a1def7123ab0c199b1bf",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 129,
"avg_line_length": 32.56,
"alnum_prop": 0.6351351351351351,
"repo_name": "li-xinyang/FE_Phantom",
"id": "44cd35cb042a4fa4107ed6471762e9c589a96782",
"size": "886",
"b... |
package org.apache.cloudstack.framework.jobs;
import java.util.Random;
import javax.inject.Inject;
import org.apache.log4j.Logger;
import org.apache.cloudstack.jobs.JobInfo.Status;
import com.cloud.utils.component.AdapterBase;
public class AsyncJobTestDispatcher extends AdapterBase implements AsyncJobDispatcher {... | {
"content_hash": "c2deaf480a24175daae07a7ec0d7a7f2",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 118,
"avg_line_length": 25.53191489361702,
"alnum_prop": 0.6841666666666667,
"repo_name": "GabrielBrascher/cloudstack",
"id": "eb30a804978ae3143c214366564474672e6c51af",
"s... |
<!DOCTYPE html>
<html>
<head>
<title>EndlessEarth</title>
<script src="https://matthewwhitaker.me/api/mhtml.js"></script>
<mhtml type="accentColor" color="#FFD900"></mhtml>
<mhtml type="primaryColor" color="#001E8D"></mhtml>
</head>
<body>
<toolbar title="EndlessEarth... | {
"content_hash": "84e6bee8eb176532a38ce67982dc25d1",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 96,
"avg_line_length": 30.85185185185185,
"alnum_prop": 0.49939975990396157,
"repo_name": "EndlessEarth/EndlessEarth.github.io",
"id": "6e45c1dbdaf2494387dfefb54211c3282fdadb... |
package com.amazon.cordova.plugin;
import org.apache.cordova.CallbackContext;
import org.apache.cordova.CordovaInterface;
import org.apache.cordova.CordovaPlugin;
import org.apache.cordova.CordovaWebView;
import org.apache.cordova.CordovaActivity;
import org.apache.cordova.LOG;
import org.json.JSONArray;
import org.... | {
"content_hash": "d880e4e4681970887fffff15fc84f70a",
"timestamp": "",
"source": "github",
"line_count": 415,
"max_line_length": 182,
"avg_line_length": 35.68674698795181,
"alnum_prop": 0.5703578663065496,
"repo_name": "PluginCordova/pushplugin",
"id": "52a4aea9e9eabd7e1e6aac9409d270737d0881fa",
"si... |
layout: ee
title: Introduction
prev_section: home
next_section: installation
permalink: /ee/security-introduction/
---
CCT
Lorem Ipsum... | {
"content_hash": "b17f9b134770c81d2124224b9c56d35f",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 37,
"avg_line_length": 12.727272727272727,
"alnum_prop": 0.7642857142857142,
"repo_name": "astallaert/astallaert.github.io",
"id": "83258aab5da999f8cd93a93c044daa585e40dafc",... |
package io.netty.channel.epoll;
import io.netty.channel.Channel;
import io.netty.channel.EventLoop;
import io.netty.channel.socket.ServerSocketChannel;
import java.io.IOException;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.net.SocketAddress;
import java.util.Collection;
import java.u... | {
"content_hash": "1c03687ddc46aedb7a9eb37f4a813c38",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 111,
"avg_line_length": 31.52747252747253,
"alnum_prop": 0.7204600906239108,
"repo_name": "ejona86/netty",
"id": "301bbb396ee834cb5fea27a6c32078a534804e29",
"size": "3504",... |
set -e
#
#
#
/usr/local/bin/docker-entrypoint.sh rabbitmq-server -detached
# Do the cluster dance here
rabbitmqctl stop_app
rabbitmqctl join_cluster rabbit@rabbitmq1
#
#
#
rabbitmqctl stop
# Wait for rabbitmq service to actually stop
sleep 2s
# Start RabbitMQ service
rabbitmq-server
| {
"content_hash": "d6774d4f643c56655222a43397d12115",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 61,
"avg_line_length": 13.761904761904763,
"alnum_prop": 0.7716262975778547,
"repo_name": "MikhailMS/Final_Project",
"id": "f45bb1462e42744bae1c51b734b0f770f72fb877",
"size... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (version 1.7.0_17) on Tue May 14 03:45:04 CEST 2013 -->
<title>Uses of Class com.badlogic.gdx.graphics.g2d.ParticleEmitter.Particle (libgdx API)</titl... | {
"content_hash": "108aa69bce4486172746d287ecfa29e0",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 400,
"avg_line_length": 46.67955801104972,
"alnum_prop": 0.6475322523375547,
"repo_name": "leszekuchacz/Leszek-Uchacz",
"id": "333de804b08e595ff7a5fea99973b08dedbf8b9c",
"... |
package xfp.synthesis
import xfp.trees._
import xfp.fixedpoint._
import xfp.utils.{BigRational => Rational}
import Rational._
import collection.mutable.Queue
//import collection.mutable.{HashMap => HMap, Map => MMap}
import xfp.fixedpoint.{FixedPointFormat => FPFormat}
object FixedPointCodeGenerator {
var count =... | {
"content_hash": "b01df423f076360bbae3a54a59768618",
"timestamp": "",
"source": "github",
"line_count": 274,
"max_line_length": 125,
"avg_line_length": 36.496350364963504,
"alnum_prop": 0.602,
"repo_name": "malyzajko/xfp",
"id": "5a31a33285cacbc64b025b22972b1710b33489d3",
"size": "10000",
"binary... |
"""
Communicates with RabbitMQ.
"""
import sys
from copy import copy
import logging
from traceback import format_exc
from twisted.internet import task
from txamqp.client import Closed
from txamqp.client import TwistedDelegate
from txamqp.protocol import AMQClient
from txamqp.content import Content
import txamqp.spec
f... | {
"content_hash": "d44e6109ac6affe458bee55643336e78",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 77,
"avg_line_length": 32.04255319148936,
"alnum_prop": 0.5965028773793714,
"repo_name": "hiidef/hiispider",
"id": "e17bdba52cf2b8e9323b820cbd69bbed0fdb35ca",
"size": "456... |
package com.bsu.sed.controller;
import com.bsu.sed.handler.AuthenticationSuccessHandler;
import com.bsu.sed.model.Role;
import com.bsu.sed.model.Tiles;
import com.bsu.sed.service.MailService;
import com.bsu.sed.service.NotificationService;
import com.bsu.sed.service.UserService;
import com.bsu.sed.service.buil... | {
"content_hash": "1cf443402c90ca5e3b9addc8528da009",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 121,
"avg_line_length": 41.42857142857143,
"alnum_prop": 0.7183908045977011,
"repo_name": "GlebBondarchuk/SED",
"id": "e0b9f6f353f275cc5ba5ea081bc3e5f30f88e4bc",
"size": "3... |
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schem... | {
"content_hash": "dd89e8237c416c3b2b61544c3c72e3ef",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 106,
"avg_line_length": 50.30769230769231,
"alnum_prop": 0.7614678899082569,
"repo_name": "hanqiangrx/test",
"id": "e5c30da4c159a0f160c06802e762c0f1d0741d46",
"size": "654"... |
import ShapesConfig from '../core/shapes.config';
import SceneUtility from '../utilities/scene-utility.class';
import GuidelinesUtility from '../utilities/guidelines-utility.class';
/**
* Handle the mouse up event on canvas element for scene
* @param {event}, the object of mouse up event
* @param {scene}, the insta... | {
"content_hash": "df234ea4d420e33cc1988f1ebd6b50e1",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 118,
"avg_line_length": 42.38095238095238,
"alnum_prop": 0.7921348314606742,
"repo_name": "thinking-trees/explorer",
"id": "fbcbfa9d8b39d5b4f27af6e199a1ccd38f2d46ff",
"size... |
<#
.SYNOPSIS
Backup the local Certificates to given path.
.DESCRIPTION
Certs are important. ...let´s backup all at once.
.PARAMETER Path
Specifies the backup path.
.EXAMPLE
Backup-LocalCertStore -Path "c:\temp"
Creates a directory named CertBackup_localhostn... | {
"content_hash": "40930601972ba9a865f6807cf593de14",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 133,
"avg_line_length": 28.254545454545454,
"alnum_prop": 0.6377091377091377,
"repo_name": "derdoktor667/TheLastModule",
"id": "beb34fd99800a83fdf97a967382e1a2c218a20ab",
"... |
package org.apache.tamaya;
import org.apache.tamaya.spi.ConfigurationContext;
import org.apache.tamaya.spi.ConfigurationContextBuilder;
import org.apache.tamaya.spi.ConfigurationProviderSpi;
/**
* Test Configuration class, that is used to testdata the default methods provided by the API.
*/
public class TestConfig... | {
"content_hash": "bacf3bb6db0ed55c964ccfa7ef12cbb5",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 94,
"avg_line_length": 25.615384615384617,
"alnum_prop": 0.7377377377377378,
"repo_name": "marschall/incubator-tamaya",
"id": "1a02903125e8188799e43d257560f60c84017240",
"s... |
package com.amazonaws.services.apigateway.model.transform;
import javax.annotation.Generated;
import com.amazonaws.SdkClientException;
import com.amazonaws.services.apigateway.model.*;
import com.amazonaws.protocol.*;
import com.amazonaws.annotation.SdkInternalApi;
/**
* DocumentationPartMarshaller
*/
@Generated... | {
"content_hash": "6899464c9e41882338386d008ab71ac5",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 152,
"avg_line_length": 40.08,
"alnum_prop": 0.7435129740518962,
"repo_name": "jentfoo/aws-sdk-java",
"id": "af530907aed5558bea7d553f020183702cc6cf2e",
"size": "2584",
"b... |
[](http://cocoapods.org/pods/BestRouter)
[](http://cocoapods.org/pods/BestRouter)
[](http://cocoapods.o... | {
"content_hash": "235d6ac217a03dd6f73450c87d0c98e6",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 113,
"avg_line_length": 30.53846153846154,
"alnum_prop": 0.7544080604534005,
"repo_name": "adamcumiskey/BestRouter",
"id": "1cee651dbe8784d7c268293f07ab9c2c17f40b61",
"size... |
using GPS::Track;
Track::Track()
{
}
size_t Track::NumPoints() const
{
return m_trackPoints.size();
}
DateTime Track::StartTime() const
{
return m_trackPoints.empty() ? DateTime(DateTime::invalid) : m_trackPoints.front().m_timeStamp;
}
DateTime Track::EndTime() const
{
return m_trackPoints.empty() ? DateTi... | {
"content_hash": "2bcf26acb61d5e58b5567242db3420e0",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 98,
"avg_line_length": 25.717391304347824,
"alnum_prop": 0.6897717666948436,
"repo_name": "vividos/RemotePhotoTool",
"id": "6a81d5c4e0c4783bd91d804c977bcabd7ab28599",
"size... |
import os
import sys
import numpy as np
sys.path.append(os.getcwd())
def noise_sampler(bs):
return np.random.normal(0.0, 1.0, [bs, 2])
if __name__ == '__main__':
from a_nice_mc.objectives.expression.ring2d import Ring2d
from a_nice_mc.models.discriminator import MLPDiscriminator
from a_nice_mc.mode... | {
"content_hash": "7319835ffb0b3416f4079fef1acec0f9",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 83,
"avg_line_length": 25.9375,
"alnum_prop": 0.6180722891566265,
"repo_name": "ermongroup/a-nice-mc",
"id": "f122ea3c5f53cb98cf1341703e9eb2d007415f9b",
"size": "830",
"b... |
/**
* Created by sunNode on 16/12/17.
*/
const should = require('should');
const mail = require('../lib/node-cluster-email')
const http = require('http')
const cluster = require('cluster')
const cpu = require('os').cpus().length
let email = new mail({'emails': 'sunjser@gmail.com'})
describe('cluster email test', fu... | {
"content_hash": "2faea22701fae45d388a73f9883cac90",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 109,
"avg_line_length": 30.973684210526315,
"alnum_prop": 0.5446049277824979,
"repo_name": "sunNode/node-cluster-email",
"id": "1b19ca7b1d2f533ae418b237028c34cda01c4e91",
"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.