text stringlengths 2 1.04M | meta dict |
|---|---|
package org.apache.camel.component.elasticsearch;
import java.util.HashMap;
import java.util.Map;
import org.apache.camel.Component;
import org.apache.camel.component.extension.ComponentVerifierExtension;
import org.apache.camel.test.junit4.CamelTestSupport;
import org.junit.Assert;
import org.junit.Test;
public cl... | {
"content_hash": "3d426c7a32393431cf0893ee7b3b7c52",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 143,
"avg_line_length": 38.31372549019608,
"alnum_prop": 0.7082906857727738,
"repo_name": "CodeSmell/camel",
"id": "a266a31e14753117973977c483365d93da6a114e",
"size": "2756... |
// Copyright 2016 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | {
"content_hash": "2733448aff02e923b1165c46026d680d",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 104,
"avg_line_length": 39.30120481927711,
"alnum_prop": 0.7808093194359289,
"repo_name": "werkt/bazel",
"id": "275f5878ca5b9755b460607f30f7b7246419a7ff",
"size": "3262",
... |
<?php
// Exit if the file is accessed directly over web
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
$media = mpp_get_current_media();
if( ! $media ) {
return ;
}
?>
<div class="mpp-lightbox-content mpp-lightbox-content-without-comment mpp-clearfix">
<div class="mpp-lightbox-media-container">
<?php do_action( 'm... | {
"content_hash": "54990c4217760edb93afd4cc26698472",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 130,
"avg_line_length": 26.692307692307693,
"alnum_prop": 0.627281460134486,
"repo_name": "valheinz/coorve",
"id": "51987b9c9aa128a16053bbb05694e8d6aa381195",
"size": "1041... |
using namespace std;
// FILE*转fd
// int fileno(FILE* stream);
// fd 转 FILE*
// FILE* fdopen(int fd, char const* mode);
int main(){
cout << "\nfileno(stdin) = " << fileno(stdin);
cout << "\nfileno(stdout) = " << fileno(stdout);
cout << "\nfileno(stderr) = " << fileno(stderr) << endl;
return 0;
}
| {
"content_hash": "4c68b93330257a10d01c3eb05cba08c1",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 57,
"avg_line_length": 25.166666666666668,
"alnum_prop": 0.5993377483443708,
"repo_name": "feifeigd/linux",
"id": "ab92f53c70cb752bedffb17c84c3e2cda6fbaa9b",
"size": "327",... |
package org.gradle.test.performance.mediummonolithicjavaproject.p355;
import org.junit.Test;
import static org.junit.Assert.*;
public class Test7105 {
Production7105 objectUnderTest = new Production7105();
@Test
public void testProperty0() {
Production7102 value = new Production7102();
... | {
"content_hash": "9e7a0b72fc40aaa58dfba377fc1116be",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 69,
"avg_line_length": 27.518987341772153,
"alnum_prop": 0.6536338546458141,
"repo_name": "oehme/analysing-gradle-performance",
"id": "a77fb2a4156b218c8dbfcb20588892f9378e9e4... |
static ast_t* build_array_type(pass_opt_t* opt, ast_t* scope, ast_t* elem_type,
token_id cap)
{
elem_type = ast_dup(elem_type);
BUILD(typeargs, elem_type,
NODE(TK_TYPEARGS, TREE(elem_type)));
ast_t* array_type = type_builtin_args(opt, scope, "Array", typeargs);
ast_setid(ast_childidx(array_type, 3), cap... | {
"content_hash": "fadfdcd302ae3eec49117b66356ab348",
"timestamp": "",
"source": "github",
"line_count": 530,
"max_line_length": 80,
"avg_line_length": 29.184905660377357,
"alnum_prop": 0.6157227825187483,
"repo_name": "kulibali/ponyc",
"id": "e8f30e93e965f136baec3b96c66a30b4a11b4cba",
"size": "1589... |
package org.drools.workbench.screens.dtablexls.backend.server.conversion.builders;
import java.util.LinkedHashSet;
import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Utility class to convert XLS Decision Table parameters from their "$..."
* format to the "@{...}" format req... | {
"content_hash": "593ded584811afb8829be53d3caacd9c",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 110,
"avg_line_length": 41.359375,
"alnum_prop": 0.6445032111824707,
"repo_name": "sdgdsffdsfff/drools-wb",
"id": "a37fff437d59a4f4a14eb4941bb3cab7376b0943",
"size": "3238"... |
/* Includes ------------------------------------------------------------------*/
#include "stm324x9i_eval_fmc_nor.h"
/** @addtogroup Utilities
* @{
*/
/** @addtogroup STM32_EVAL
* @{
*/
/** @addtogroup STM324x9I_EVAL
* @{
*/
/** @addtogroup STM324x9I_EVAL_FMC_NOR
* @brief This file provid... | {
"content_hash": "2141c88c90f8b6414948b35bb2816539",
"timestamp": "",
"source": "github",
"line_count": 526,
"max_line_length": 111,
"avg_line_length": 34.11406844106464,
"alnum_prop": 0.6272848863129737,
"repo_name": "filipek92/STM32F4Discovery",
"id": "08c7e12082bfcdcb8a921b71f512b2e3f967eabe",
"... |
\n
static void release_device(struct device *dev)
static int __init iommu_dev_init(void)
int iommu_device_sysfs_add(struct iommu_device *iommu, struct device *parent, const struct attribute_group **groups, const char *fmt, ...)
void iommu_device_sysfs_remove(struct iommu_device *iommu)
void iommu_device_sysfs_remove(st... | {
"content_hash": "a2ee1038c23935f5ed59e425ddeb9255",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 138,
"avg_line_length": 39.38095238095238,
"alnum_prop": 0.7085852478839177,
"repo_name": "liker12134/my-kernel-dev-environment",
"id": "f3a469ca92d136a55c1eff96404c4e3e8d5e9... |
<!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": "8b67c27534e7e684f9ddd1369af87cfe",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 183,
"avg_line_length": 44.05042016806723,
"alnum_prop": 0.6457458985120184,
"repo_name": "Ashmouth/ProjetCA",
"id": "168a958782d06939d70ce0f72f5e747b62fffd00",
"size": "5... |
<?php
namespace Itslearning\Exceptions;
class IntegrityException extends ItslearningException
{
} | {
"content_hash": "c45196ea9831e40e41611f5407086491",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 53,
"avg_line_length": 10.2,
"alnum_prop": 0.8137254901960784,
"repo_name": "Label305/itslearning-SDK",
"id": "283e1f06b1140d36ee0fc41bd6b54fe1356dd318",
"size": "102",
"... |
@interface AppDelegate ()
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
NSString *testStr = @" libin test";
NSData *stringData = [test... | {
"content_hash": "70a7e771c29f7c90520ec85e02327ada",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 281,
"avg_line_length": 49.76923076923077,
"alnum_prop": 0.7483771251931994,
"repo_name": "kingly09/OpenSSLDemo",
"id": "0122c52de8ac87e34774b080645c9ac198183c31",
"size":... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Novon 12:326. 2002
#### Original name
Lesquerella ovalifolia Rydb.
### Remarks
null | {
"content_hash": "ad470f70d1ace5dd0ee41a87cfab118c",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 13.23076923076923,
"alnum_prop": 0.7209302325581395,
"repo_name": "mdoering/backbone",
"id": "5d6edb2aef9f3527f6115d1d95b6ac5e3b168ec3",
"size": "243... |
name: Bug Report
about: Create a report to help us improve
---
<!--
PLEASE HELP US PROCESS GITHUB ISSUES FASTER BY PROVIDING THE FOLLOWING INFORMATION.
ISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION.
-->
# Bug Report
**Ionic Info**
Run `ionic info` from a terminal/cmd prompt... | {
"content_hash": "79779acc3c30a4c40a6007bcd0e105a6",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 201,
"avg_line_length": 30.05263157894737,
"alnum_prop": 0.7197898423817863,
"repo_name": "TillaTheHun0/ionic",
"id": "1b24a16bc6a6061df0ed22bbedb2f5a060ed9e3d",
"size": "1... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../openssl_sys/constant.SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION.html">
</head>
<body>
<p>Redirecting to <a href="../../openssl_sys/constant.SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION.html">../../openssl_sys/constant.SSL_OP_ALLOW... | {
"content_hash": "97789193e4fd35971678e0beda32ad1b",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 188,
"avg_line_length": 52.9,
"alnum_prop": 0.7069943289224953,
"repo_name": "malept/guardhaus",
"id": "10b4be43c6a648a7223af4d5719414f02a24d9aa",
"size": "529",
"binary"... |
/*
NodeDecal.cpp
(c)2005 Palestar Inc, Richard Lyle
*/
#define RENDER3D_DLL
#include "Render3D/NodeDecal.h"
//----------------------------------------------------------------------------
IMPLEMENT_FACTORY( NodeDecal, NodeTransform );
REGISTER_FACTORY_KEY( NodeDecal, 4419192510756757150LL );
BEGIN_PROPERTY_LIST( ... | {
"content_hash": "4cb7ffd71cb23538a1ef1b3abd7ac033",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 90,
"avg_line_length": 20.878504672897197,
"alnum_prop": 0.5223813786929274,
"repo_name": "palestar/medusa",
"id": "7bd07a9c29f51bbc778d2d0968aeab8a388fe607",
"size": "223... |
{
unsafeUnwrap(this).selectAllChildren(unwrapIfNeeded(node));
}
| {
"content_hash": "be202df2594b3315ef93f6842b3155cb",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 61,
"avg_line_length": 22,
"alnum_prop": 0.7727272727272727,
"repo_name": "stas-vilchik/bdd-ml",
"id": "92ce8e1fc1553da806c7b8679364ae6925ce1c34",
"size": "66",
"binary": ... |
<!DOCTYPE html>
<meta charset="utf-8">
<title>Event handlers processing algorithm: error events</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<link rel="help" href="https://html.spec.whatwg.org/multipage/#the-event-handler-processing-algorithm">
<div ... | {
"content_hash": "70350c4f964bbdd96bceac97c63ac8d3",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 103,
"avg_line_length": 32.06896551724138,
"alnum_prop": 0.6967741935483871,
"repo_name": "nwjs/chromium.src",
"id": "9ed26384163af734f1ad46b061d9b9d1cc82ad63",
"size": "93... |
package org.olat.lms.repository.handlers;
import java.io.File;
import java.util.List;
import org.olat.data.basesecurity.Identity;
import org.olat.data.commons.fileutil.ZipUtil;
import org.olat.data.repository.RepositoryEntry;
import org.olat.lms.commons.fileresource.FileResourceManager;
import org.olat.lms.commons.... | {
"content_hash": "cfe1317372be29a16bbe420b5a5b0ec3",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 164,
"avg_line_length": 43.095238095238095,
"alnum_prop": 0.7683977900552487,
"repo_name": "huihoo/olat",
"id": "a5aaf73da47e2197bcf7141b6e42cab18fe014c2",
"size": "5321",... |
//%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | {
"content_hash": "c4e809b55bd8932e8e40a10589e34271",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 77,
"avg_line_length": 39.6605504587156,
"alnum_prop": 0.7490168864214666,
"repo_name": "brunolauze/pegasus-providers",
"id": "f348409bc592a79bd61516a5dc41746de8ea6e3b",
"... |
package com.hughes.android.dictionary.parser.wiktionary.dom;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
public class WikiTemplate extends WikiElement {
String name;
final List<WikiChunk> positionArgs = new ArrayList<WikiChunk>();
final Map... | {
"content_hash": "37d56b6c095062265043a4d196751ae9",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 84,
"avg_line_length": 29.454545454545453,
"alnum_prop": 0.6296296296296297,
"repo_name": "natowi/quickdic-dictionary.dictionarypc",
"id": "a70a36f08a53b237dbabac3c0760c8234f... |
package com.hazelcast.monitor;
/**
* Local map statistics. As everything is partitioned in Hazelcast,
* each member owns 1/N (N being the number of members in the cluster)
* entries of a distributed map. Each member also holds backup entries
* of other members. LocalMapStats tells you the count of owned and back... | {
"content_hash": "b3441b61c9722139f47b412fc1d6c962",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 111,
"avg_line_length": 25.184615384615384,
"alnum_prop": 0.6291997556505803,
"repo_name": "lmjacksoniii/hazelcast",
"id": "6384289cbe4ba6d1f9af8332d9396b4438ef84c9",
"siz... |
/// <reference path="winston.d.ts" />
import winston = require('winston');
var str: string;
var bool: boolean;
var num: number;
var metadata: any;
var obj: any = {};
winston.level = 'debug';
var queryOptions: winston.QueryOptions;
var transportOptions: winston.TransportOptions;
var loggerOptions: winston.LoggerOpti... | {
"content_hash": "7b0cdd6d1b72492b7d1455996fa90d1f",
"timestamp": "",
"source": "github",
"line_count": 268,
"max_line_length": 106,
"avg_line_length": 24.71268656716418,
"alnum_prop": 0.6776385323871358,
"repo_name": "abner/DefinitelyTyped",
"id": "60423f9fc88fbcfc98292a478b177e79e4b6f51e",
"size"... |
<?php
declare(strict_types=1);
namespace Sylius\Bundle\ApiBundle\Validator\Constraints;
use Symfony\Component\Validator\Constraint;
/** @experimental */
final class AddingEligibleProductVariantToCart extends Constraint
{
public string $productNotExistMessage = 'sylius.product.not_exist';
public string $p... | {
"content_hash": "e4e5354c6f294bfa6cd11c118939c475",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 89,
"avg_line_length": 24.379310344827587,
"alnum_prop": 0.7397454031117398,
"repo_name": "Sylius/Sylius",
"id": "0ed954e55f743e8a5077cde1c91abcb754180dbe",
"size": "918",
... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type">
<meta charset="utf-8">
<meta name="language" content="en-US">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="author" content="Ben Makusha" />
<meta name="description" content="Ben Makusha's personal website." />
<me... | {
"content_hash": "43b036f65a5a9ef70ac644a9844b2980",
"timestamp": "",
"source": "github",
"line_count": 158,
"max_line_length": 275,
"avg_line_length": 40.64556962025316,
"alnum_prop": 0.5407972594207412,
"repo_name": "benmak11/portfolio",
"id": "efbb41a86daa06945fc445fc27607e8111642853",
"size": "... |
#include "qtofflinegl.h"
#include <traster.h>
#include <tconvert.h>
//-----------------------------------------------------------------------------
#if 0 // was _WIN32, this function not used
static void swapRedBlueChannels(
void *buffer,
int bufferSize) // Flips The Red And Blue Bytes (WidthxHeight)
{
... | {
"content_hash": "1867a718d96f5ef829e8f53ae8d85554",
"timestamp": "",
"source": "github",
"line_count": 373,
"max_line_length": 80,
"avg_line_length": 28.22520107238606,
"alnum_prop": 0.5272606382978723,
"repo_name": "janisozaur/opentoonz",
"id": "b11b351aa002fe306e34e239a77e9fbd411488f9",
"size": ... |
/*
The set S originally contains numbers from 1 to n. But unfortunately, due to the data error,
one of the numbers in the set got duplicated to another number in the set,
which results in repetition of one number and loss of another number.
Given an array nums representing the data status of this set after the error... | {
"content_hash": "702c20a38548a866631a0e378727b578",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 95,
"avg_line_length": 29.463414634146343,
"alnum_prop": 0.6001655629139073,
"repo_name": "tikael1011/leetcodejava",
"id": "c4916d2fdcc00cd20f8bba35bbd5d62849916d62",
"size... |
var express = require('express');
var router = express.Router();
var filter = require('../passport.js');
var Btncom = require('../../db/btncom');
router.post('/', function (req, res, next) {
filter.authorize(req, res, function (req, res) {
req.body.user = req.session.user;
var reqtext = req.body.bt... | {
"content_hash": "76f0e500d22f96349f104d5b03620d06",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 52,
"avg_line_length": 27.057142857142857,
"alnum_prop": 0.440337909186906,
"repo_name": "wudi0431/wxms",
"id": "2695ad620a184e6dd10fca8f6d4c820d42e9173f",
"size": "963",
... |
package org.kwstudios.play.ragemode.scoreboard;
import org.bukkit.entity.Player;
import org.bukkit.scoreboard.Objective;
import org.bukkit.scoreboard.Scoreboard;
public class ScoreBoardHolder {
private Player player;
private Scoreboard scoreboard;
private Objective objective;
String oldPointsLine;
String oldKdL... | {
"content_hash": "21c08aba2df2d45d3703f6c03cbce9fd",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 85,
"avg_line_length": 19.816326530612244,
"alnum_prop": 0.7651905252317199,
"repo_name": "KWStudios/RageMode",
"id": "cadfe875852225db5e68232a4d4f1bfb47f9df98",
"size": "9... |
Sprouts is a Sprouts network-compatible, community-developed wallet client.
The project has been designed to provide people with a stable, secure, and feature-rich alternative to the Sprouts reference wallet (http://github.com/ppcoin/ppcoin).
To help faciliate broad community cooperation, a number of trusted Sprouts/... | {
"content_hash": "631f8c497de0e6d6d01193df0800c260",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 711,
"avg_line_length": 92.75,
"alnum_prop": 0.7960467205750225,
"repo_name": "sproutcoin/sprouts",
"id": "c9486065d72a8c9a15f56a8b6b7b860cc0464955",
"size": "3403",
"bin... |
<?php
namespace Cake\Database\Dialect;
use Cake\Database\Expression\IdentifierExpression;
use Cake\Database\Expression\QueryExpression;
use Cake\Database\Expression\TupleComparison;
use Cake\Database\Query;
/**
* Provides a translator method for tuple comparisons
*
* @internal
*/
trait TupleComparisonTranslatorT... | {
"content_hash": "701da3efdc78a6c6a09c554702745225",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 95,
"avg_line_length": 30.27710843373494,
"alnum_prop": 0.5622761639474732,
"repo_name": "CajuM/bestem-ms",
"id": "e57352d226972761a03e55d5eeca1cd4fce2f486",
"size": "3097"... |
#include "config.h"
#include "ShapeInfo.h"
#if ENABLE(CSS_SHAPES)
#include "RenderBlock.h"
#include "RenderBox.h"
#include "RenderRegion.h"
#include "RenderStyle.h"
#include "Shape.h"
namespace WebCore {
template<class RenderType>
const Shape* ShapeInfo<RenderType>::computedShape() const
{
if (Shape* shape = m... | {
"content_hash": "1a7afbfa2ee192eba5f3185dadcf9cde",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 113,
"avg_line_length": 27.285714285714285,
"alnum_prop": 0.6794648051192553,
"repo_name": "klim-iv/phantomjs-qt5",
"id": "2a14b8a6e8a205f0a5413dc9c0379cc8fe5b3293",
"size"... |
//
// as_memory.cpp
//
// Overload the default memory management functions so that we
// can let the application decide how to do it.
//
#include <stdlib.h>
#if !defined(__APPLE__) && !defined( __SNC__ ) && !defined( __ghs__ ) && !defined(__FreeBSD__)
#include <malloc.h>
#endif
#include "as_config.h"
#include "as... | {
"content_hash": "3fc1f0d566d7fe78d7c3cd40669506a2",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 94,
"avg_line_length": 20.374269005847953,
"alnum_prop": 0.7290470723306545,
"repo_name": "gookeryoung/GKGE",
"id": "ee65d68acf33036abb3404b62df42e1fb407e420",
"size": "45... |
require "directory_watcher"
class Writing
class Watcher
# @return [Writing] The parent +Writing+ instance.
attr_reader :instance
# @return [Hash] The options for the parent instance.
attr_reader :options
# @return [String] The root path for the parent instance.
attr_reader :root
# Init... | {
"content_hash": "b95afd9092e9e79a89dda603c9461ef3",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 88,
"avg_line_length": 26.38157894736842,
"alnum_prop": 0.6194513715710723,
"repo_name": "tristandunn/writing-js",
"id": "ec02df86f1bb5543e8015162775d3de4a235e37b",
"size":... |
import * as ts from 'typescript';
import { Type } from '../../models/types/index';
import { ConverterTypeComponent, TypeConverter } from '../components';
import { Context } from '../context';
export declare class StringLiteralConverter extends ConverterTypeComponent implements TypeConverter<ts.LiteralType, ts.StringLit... | {
"content_hash": "573c3220acc47d84de9c1fc7d5bcc309",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 135,
"avg_line_length": 59.4,
"alnum_prop": 0.7558922558922558,
"repo_name": "zakerby/kedle",
"id": "b09fe3e5e6bc6a127d536b3d047f65a7eff8c6a7",
"size": "594",
"binary": f... |
/**
* Support and FAQ: visit <a href="http://www.atmel.com/design-support/">Atmel Support</a>
*/
#ifndef _AT45DBX_MEM_H_
#define _AT45DBX_MEM_H_
#include "conf_access.h"
#if AT45DBX_MEM == DISABLE
#error at45dbx_mem.h is #included although AT45DBX_MEM is disabled
#endif
#include "ctrl_access.h"
//_____ D E... | {
"content_hash": "df5f14967a19eedae2ec167310641694",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 90,
"avg_line_length": 22.828125,
"alnum_prop": 0.6663244353182751,
"repo_name": "femtoio/femto-usb-blink-example",
"id": "dd53116f6aaa84517246182ece103783eb168fcf",
"size... |
package it.testlib.client;
import com.google.gwt.user.client.Window;
public class TestLib {
public void doSomeThing() {
Window.alert("So what?");
}
}
| {
"content_hash": "c745b30b5aa79128bb6aa017229939f1",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 41,
"avg_line_length": 16.1,
"alnum_prop": 0.6956521739130435,
"repo_name": "tbroyer/gwt-maven-plugin",
"id": "cf99de838b493db8d335fcbf6dd6290342345a04",
"size": "161",
"... |
fileshell.py -- a file based remote shell, for use where there is no direct communication
channel between the attacker and the owned target, but they can communicate
by writing and reading files to/from a remote share/file server etc, or where other forms
of communication are monitored.
Tested to work... | {
"content_hash": "a23f5ba88e2f46eb787bc40a86956641",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 128,
"avg_line_length": 57.714285714285715,
"alnum_prop": 0.744059405940594,
"repo_name": "esnesenon/fileshell",
"id": "f866fff419623caef8f2856d28054453f038f24c",
"size": "... |
using System;
using System.Threading.Tasks;
using GoodBearMongoLogger.Logging.Enum;
namespace GoodBearMongoLogger.Logging.Interfaces
{
public interface ILogger
{
Task LogAsync(LogLevel level, string message, Exception exception);
Task LogAsync(LogLevel level, string message);
Task LogE... | {
"content_hash": "9c056ce02b4a6cb9a7078a3bf8f35cce",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 75,
"avg_line_length": 28.944444444444443,
"alnum_prop": 0.7178502879078695,
"repo_name": "careyi3/GoodBearMongoLogger",
"id": "2004ff410ea83f21c200326ae5f63713922f44f6",
"... |
package org.apache.geode.internal.process;
import static java.util.concurrent.TimeUnit.SECONDS;
import static org.apache.geode.internal.process.FileProcessController.DEFAULT_STATUS_TIMEOUT_MILLIS;
import static org.apache.geode.internal.process.ProcessUtils.identifyPid;
import static org.assertj.core.api.Assertions.a... | {
"content_hash": "cd43f2989857301c6decb0163937b3f6",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 100,
"avg_line_length": 32.04054054054054,
"alnum_prop": 0.7642345002108815,
"repo_name": "davinash/geode",
"id": "adaa02db2a99d5bbcd27d843f6ed445bb666ea20",
"size": "3160"... |
+++
title = "elasticsearch2"
description = ""
weight = 10
+++
{{% processordetails elasticsearch2 %}} | {
"content_hash": "2b397b56243a44d69368f4964881f59f",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 39,
"avg_line_length": 14.571428571428571,
"alnum_prop": 0.6666666666666666,
"repo_name": "vjeantet/bitfan",
"id": "5326e7253d61547e8578c032ad40ec544b8c718b",
"size": "102",... |
This plugin provide an external config object that can be configured to obtain
a custom manipulation of the information intended to the Piano global var.
| {
"content_hash": "42aab9de24658bcd70565bed092d40f4",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 78,
"avg_line_length": 77,
"alnum_prop": 0.8311688311688312,
"repo_name": "umbobabo/react-i13n-piano",
"id": "7bc78ca2d7509fa3c3c4eff55e9ba3d106e84165",
"size": "174",
"bi... |
<ParameterList name="Neutron Diffusion">
<!-- GRID PARAMETERS -->
<Parameter name="I_BLOCKS" type="int" value="8"/>
<Parameter name="J_BLOCKS" type="int" value="8"/>
<Parameter name="X_MIN" type="double" value="0.0"/>
<Parameter name="X_MAX" type="double" value="200.0"/>
<Parameter name="Y_MIN" type="double... | {
"content_hash": "93e7e5115906c6929896639b13ffd221",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 77,
"avg_line_length": 58.729166666666664,
"alnum_prop": 0.6832210003547358,
"repo_name": "sslattery/Chimera",
"id": "53c59234bd4933e3daef662d6b0d498d148d80e7",
"size": "28... |
#include "GCVSplineSet.h"
#include "GCVSpline.h"
#include "Storage.h"
using namespace OpenSim;
GCVSplineSet::~GCVSplineSet() {
// No operation;
}
GCVSplineSet::GCVSplineSet() {
setNull();
}
GCVSplineSet::GCVSplineSet(const char *aFileName) :
FunctionSet(aFileName) {
setNull();
}
GCVSplineSet::GCV... | {
"content_hash": "89720943d91525f79b537fd3789562ff",
"timestamp": "",
"source": "github",
"line_count": 221,
"max_line_length": 80,
"avg_line_length": 25.579185520361992,
"alnum_prop": 0.5565186626569962,
"repo_name": "opensim-org/opensim-core",
"id": "b28addf5018b93c0e4f484016359656be6ef96b3",
"si... |
/**
@module ember
@submodule ember-application
*/
import DAG from 'dag-map';
import Registry from 'container/registry';
import Ember from "ember-metal"; // Ember.FEATURES, Ember.deprecate, Ember.assert, Ember.libraries, LOG_VERSION, Namespace, BOOTED
import { get } from "ember-metal/property_get";
import { set } from ... | {
"content_hash": "fb2c43e9887b1a796dd982a27a444e94",
"timestamp": "",
"source": "github",
"line_count": 1155,
"max_line_length": 227,
"avg_line_length": 31.644155844155843,
"alnum_prop": 0.6915373881638348,
"repo_name": "dgeb/ember.js",
"id": "1e59c87a7cba4e02ba0ff3103ba89cd74db7e7e1",
"size": "365... |
@interface SZPassWordChangeView : UIView
@property (weak, nonatomic) IBOutlet SZTextField *imputNewPassWordTF;
@property (weak, nonatomic) IBOutlet SZTextField *reImputNewPassWordTF;
@property(nonatomic,assign)BOOL isValidationCode;
@property(nonatomic,assign)BOOL isModol;
@property(nonatomic,copy)NSString* validat... | {
"content_hash": "17299bfc88653189cf991bdc76aaec1e",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 71,
"avg_line_length": 24.181818181818183,
"alnum_prop": 0.8007518796992481,
"repo_name": "sunzeboy/OTISPJ",
"id": "c4344f298a4bc78e2306bb54632b1ee0af8ae8ef",
"size": "739"... |
import proto # type: ignore
__protobuf__ = proto.module(
package="google.ads.googleads.v12.resources",
marshal="google.ads.googleads.v12",
manifest={"AdScheduleView",},
)
class AdScheduleView(proto.Message):
r"""An ad schedule view summarizes the performance of campaigns
by AdSchedule criteria.... | {
"content_hash": "12c28b95bcd8b334b7fc4feb9bee1f80",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 84,
"avg_line_length": 26.692307692307693,
"alnum_prop": 0.6657060518731989,
"repo_name": "googleads/google-ads-python",
"id": "3d5bd07f8ebb62526fceb70bb155338cde2d80fb",
"... |
from oslo_config import fixture
from oslotest import base
from aodh import service
class TestNotifierBase(base.BaseTestCase):
def setUp(self):
super(TestNotifierBase, self).setUp()
conf = service.prepare_service(argv=[], config_files=[])
self.conf = self.useFixture(fixture.Config(conf))... | {
"content_hash": "aa0e986ed893a6c79015426e786937a4",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 64,
"avg_line_length": 25.076923076923077,
"alnum_prop": 0.7116564417177914,
"repo_name": "openstack/aodh",
"id": "74e87e45e3d1fc96b0cfeb26ea7623496b2aba9f",
"size": "937",... |
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="cn.edu.shou.hsh.dao.EmployeeDao" >
<resultMap id="BaseResultMap" type="Employee" >
<id column="id" property="id" jdbcType="SMALLINT" />
<resul... | {
"content_hash": "147424806f715ca2a912d0c3b779a064",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 108,
"avg_line_length": 43.0625,
"alnum_prop": 0.6763425253991292,
"repo_name": "hsh075623201/springMVCMergeMybatisDemo",
"id": "4f67f0e49f2421f809bd07650c0f72862f11eaf5",
... |
/* --------------------------------------------------------------------- */
/* --- INCLUDE --------------------------------------------------------- */
/* --------------------------------------------------------------------- */
/* --- SOT --- */
#include <dynamic-graph/pool.h>
#include <sot/core/debug.hh>
#include ... | {
"content_hash": "91408f59b9faf11309073928dca95463",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 77,
"avg_line_length": 33.41509433962264,
"alnum_prop": 0.42857142857142855,
"repo_name": "stack-of-tasks/sot-core",
"id": "56842618c9f883dd9e448e832195b49cd4357d88",
"size... |
from io import (
BytesIO,
StringIO,
)
import random
import string
import numpy as np
from pandas import (
Categorical,
DataFrame,
concat,
date_range,
read_csv,
to_datetime,
)
from ..pandas_vb_common import (
BaseIO,
tm,
)
class ToCSV(BaseIO):
fname = "__test__.csv"
... | {
"content_hash": "1b022c51f946752fb474e8133f9f415b",
"timestamp": "",
"source": "github",
"line_count": 528,
"max_line_length": 88,
"avg_line_length": 29.240530303030305,
"alnum_prop": 0.5370814171902325,
"repo_name": "jorisvandenbossche/pandas",
"id": "153cad403dcc3594ae0e89585277c531ece4469d",
"s... |
/**
* Created by IlyaLitvinov on 10.04.17.
*/
import {CommentsController} from "./components/comments/comments.controller";
import './styles.styl';
/*
import { Comments } from "./components/comments/comments";
const comments1 = new Comments('.comment-container');
comments1.init();*/
const list = new CommentsContro... | {
"content_hash": "2c9df648573308fea9916aa560c1c4f0",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 77,
"avg_line_length": 26.692307692307693,
"alnum_prop": 0.729106628242075,
"repo_name": "NikolayLemehov/task-for-lesson13-comments",
"id": "c494d9f0dde01729da975cb7e445ec8c0... |
extern NSString *const KIAStockAPI;
extern NSString *const KIAStockTestAPI;
//A股分时图数据
extern NSString *const KIAStockTrendAPI;
//A股分时交易数据
extern NSString *const KIAStockPriceAPI;
//A股五日图数据
extern NSString *const KIAStockTrend5DayAPI;
//A股K线图数据
extern NSString *const KIAStockKLineAPI;
//KLine
extern NSString *const KI... | {
"content_hash": "84f2aa5cc1c300940cd1a12bbbe6ecf1",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 44,
"avg_line_length": 23.727272727272727,
"alnum_prop": 0.8154533844189017,
"repo_name": "wallstreetcn/LNStock",
"id": "a54cd5d3276d4c32a358c2c5a0f7ace1a71b2d2c",
"size": ... |
import React from 'react';
import planList from './plans';
import {paymentCountries} from './config';
class Billing extends React.Component {
constructor(props) {
super(props);
this.state = {
selectedPlan: planList[0]
};
}
billingChangeHandler(which, e) {
this.pr... | {
"content_hash": "b207193ea0783c7311e83e8a1c26ff2b",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 204,
"avg_line_length": 49.09722222222222,
"alnum_prop": 0.5227722772277228,
"repo_name": "CloudBoost/cloudboost",
"id": "43204235864eb7717d95a92ea378dc366860853d",
"size":... |
<?php
/* @var $this ContactController */
/* @var $model Contact */
/* @var $form CActiveForm */
?>
<div class="wide form">
<?php $form=$this->beginWidget('CActiveForm', array(
'action'=>Yii::app()->createUrl($this->route),
'method'=>'get',
)); ?>
<div class="row">
<?php echo $form->label($model,'id'); ?>
<?ph... | {
"content_hash": "15b75e7f4cdff56e8f6837973cec7b0e",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 86,
"avg_line_length": 27.14666666666667,
"alnum_prop": 0.5830058939096268,
"repo_name": "softdevelop/sm-yii",
"id": "317f528f92e0a8716ba18268898a0da517131bfc",
"size": "20... |
var Module = require("module"),
fs = require("fs"),
__get__ = require("./__get__.js"),
__set__ = require("./__set__.js"),
getImportGlobalsSrc = require("./getImportGlobalsSrc.js"),
detectStrictMode = require("./detectStrictMode.js"),
moduleEnv = require("./moduleEnv.js");
var __get__Src = __get... | {
"content_hash": "36050f7658f81fcfe8963ab480f38540",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 119,
"avg_line_length": 35.295081967213115,
"alnum_prop": 0.6562935438922434,
"repo_name": "JerroldLee/super-front-end-",
"id": "3daacefa719329489ec8fed6f4304c7c4d4617d3",
... |
"use strict";
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
function _asyncToGenerator(fn) { retur... | {
"content_hash": "e5ee7611a6c4d2468f04e6de70ca823c",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 389,
"avg_line_length": 32.355932203389834,
"alnum_prop": 0.6390780513357779,
"repo_name": "GoogleCloudPlatform/prometheus-engine",
"id": "af0ed92868fb9df4c13f2fcadc29e4c92fa... |
package org.codehaus.mojo.dashboard.report.plugin.utils;
/**
* @author A315941
*
*/
public class DashXStreamUtilsException extends Exception
{
/**
*
*/
private static final long serialVersionUID = 1L;
public DashXStreamUtilsException()
{
super();
}
public DashXStream... | {
"content_hash": "d9cafb4c565b7c71512229a3c59e9421",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 71,
"avg_line_length": 15.3,
"alnum_prop": 0.6127450980392157,
"repo_name": "progosch/dashboard-maven-plugin",
"id": "826293c7477a56355ef63ee99d1282f147a3383e",
"size": "12... |
===================
Building on Horizon
===================
This tutorial covers how to use the various components in Horizon to build
an example dashboard and a panel with a tab which has a table containing data
from the back end.
As an example, we'll create a new ``My Dashboard`` dashboard with a ``My Panel``
panel... | {
"content_hash": "ec08241c5ecc2dae045dfde4826ba2bc",
"timestamp": "",
"source": "github",
"line_count": 559,
"max_line_length": 83,
"avg_line_length": 30.729874776386403,
"alnum_prop": 0.6670159506345326,
"repo_name": "jumpstarter-io/horizon",
"id": "8de6d30415c6bdc509d91cf96ffdfe5586d6211e",
"size... |
require 'sinatra'
require 'sinatra/contrib'
require 'json'
require 'neography'
require 'set'
require 'pry'
class Cluster
attr_reader :nodes, :types, :url, :last_updated
def initialize(url)
@url = url
@neo = Neography::Rest.new(url)
update
end
def update
@nodes = {}
@types= @neo.execute_... | {
"content_hash": "d11b2e2ed5d089155f62ebf8ebdcaf3b",
"timestamp": "",
"source": "github",
"line_count": 200,
"max_line_length": 159,
"avg_line_length": 22.525,
"alnum_prop": 0.5766925638179801,
"repo_name": "daugeldauge/clusterviz-new",
"id": "1a946d94a379c94cc399c17fbf1848b529a19cb8",
"size": "450... |
"use strict";
//
// Style
//
//Handles things related to the style of icons.
//
let select_style = function(index){
if(active_style !== index){
active_style = index;
}
show_style(index);
set_icon_bounding_data();
};
let show_style = function(index){
if(shown_style !== index){
shown_style = index;
/... | {
"content_hash": "b73824d1ce367b8454f765744c2faa0c",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 51,
"avg_line_length": 18.842105263157894,
"alnum_prop": 0.6452513966480447,
"repo_name": "Luntke/New-Tab-Tiles",
"id": "04c58717883e4ea080ba14e29a3e92f0491d9521",
"size": ... |
insert into distribution_type (uniqueid, reference, label, sequencing_required, req_id, allowed_pref, description, abbreviation, instructor_pref, exam_pref) values
(ref_table_seq.nextval, 'NO_CONFLICT', 'Ignore Student Conflicts', 0, 49, '2R', 'All student conflicts between the given classes are to be ignored.', 'N... | {
"content_hash": "8dd83305b9c3e8622ca56dfee2408cfe",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 173,
"avg_line_length": 38.25,
"alnum_prop": 0.7407407407407407,
"repo_name": "nikeshmhr/unitime",
"id": "ee744e02b008dd1b8dfdb5ff9a39982923a3b254",
"size": "1263",
"bina... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/InfiniteScroll.iml" filepath="$PROJECT_DIR$/InfiniteScroll.iml" />
<module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml... | {
"content_hash": "92ae93bd44ad5e0bb6dcffd4cfc57339",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 110,
"avg_line_length": 40.55555555555556,
"alnum_prop": 0.6684931506849315,
"repo_name": "bnsantos/android-infinite-scrolling",
"id": "76576b641dbf1c2976d063b71dc035f80643061... |
(function() {
var DELETED_REGEXP = new RegExp(/^(.+)\.d[0-9]+$/);
/**
* Convert a file name in the format filename.d12345 to the real file name.
* This will use basename.
* The name will not be changed if it has no ".d12345" suffix.
* @param name file name
* @return converted file name
*/
function getD... | {
"content_hash": "1760ed95b2ef8411957351b33dbc247c",
"timestamp": "",
"source": "github",
"line_count": 256,
"max_line_length": 110,
"avg_line_length": 27.1953125,
"alnum_prop": 0.6174949727089917,
"repo_name": "ArcherSys/ArcherVMPeridot",
"id": "826c1bd64d51a633ec34c4fa10cbb8a3682af3fa",
"size": "... |
import os
import re
import random
import time
import threading
from concurrent.futures import ThreadPoolExecutor
from eutester.euca.euca_ops import Eucaops
from eutester.aws.ec2.euinstance import EuInstance
from eutester.utils.eutestcase import EutesterTestCase
from eutester.aws.ec2.ec2ops import EC2ops
class Instan... | {
"content_hash": "8fe8155e16dc4acd740996018178ac0a",
"timestamp": "",
"source": "github",
"line_count": 492,
"max_line_length": 128,
"avg_line_length": 54.90243902439025,
"alnum_prop": 0.6066563009033022,
"repo_name": "nephomaniac/eutester",
"id": "0cbfd8c42a41931237b77154256a6706fe1d9963",
"size":... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<artifactId>livy-main</artifactId>
<groupId>com.cloudera... | {
"content_hash": "b2f47ca4a6391ba9296e454ecd04fb5b",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 201,
"avg_line_length": 32.67901234567901,
"alnum_prop": 0.6021911598035512,
"repo_name": "yongshengwang/hue",
"id": "86859acb1e6909cefa7c21090bad1850a8f98978",
"size": "26... |
FROM centos:centos7
MAINTAINER services-engineering@vitals.com
ENV RUBY_DIR /ruby
ENV RUBY_VERSION 2.3.3
ENV RUBY_INSTALL $RUBY_DIR/$RUBY_VERSION
RUN rpm -Uvh \
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && \
yum update -y && \
yum install -y make which wget tar git \
gcc ... | {
"content_hash": "1a308dec1d3622285546ef260772a8ba",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 140,
"avg_line_length": 33.10344827586207,
"alnum_prop": 0.6864583333333333,
"repo_name": "mdx-dev/centos6-ruby-docker",
"id": "2fc1aede5f00d94a14dce8477941fc4940c92b61",
"... |
using SamSeifert.Utilities;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SamSeifert.CSCV
{
public static partial class MultipleImages
{
/// <summary>
/// Doesn't matter which input is what si... | {
"content_hash": "92695f8248445eb5005096783ef6c457",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 115,
"avg_line_length": 39.6,
"alnum_prop": 0.4207070707070707,
"repo_name": "SnowmanTackler/SamSeifert.CSCV",
"id": "babec6ef3ba9c52c4ef3663e95bd0f2067bd005e",
"size": "5... |
/*
* 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
* distribute... | {
"content_hash": "c6e096edfeea448444adf41d3563b4cc",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 75,
"avg_line_length": 33.2,
"alnum_prop": 0.7493975903614458,
"repo_name": "wvlet/airframe",
"id": "570146d2f97d52f9dc828d37545fa93997318fba",
"size": "830",
"binary": f... |
using NMFExamples.ComponentBasedSystems;
using NMFExamples.ComponentBasedSystems.SystemIndependent;
using NMF.Collections.Generic;
using NMF.Collections.ObjectModel;
using NMF.Expressions;
using NMF.Expressions.Linq;
using NMF.Models;
using NMF.Models.Collections;
using NMF.Models.Expressions;
using NMF.Models.Meta;
us... | {
"content_hash": "38b90fa7ab865444f8540e3674912eff",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 98,
"avg_line_length": 30.643835616438356,
"alnum_prop": 0.6723290120697363,
"repo_name": "NMFCode/NMF",
"id": "79fd55df0e23a40398b364380d30bc890ae8b424",
"size": "2672",
... |
<?php
/**
* Author: lf
* Blog: https://blog.feehi.com
* Email: job@feehi.com
* Created at: 2017-09-12 14:46
*/
/**
* @var $this yii\web\View
* @var $model backend\models\form\Rbac
*/
use backend\widgets\ActiveForm;
use common\widgets\JsBlock;
$this->title = "Permissions";
?>
<div class="row">
<div class... | {
"content_hash": "daec66b1292ad4a8f44eeaa708a449a2",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 409,
"avg_line_length": 47.66197183098591,
"alnum_prop": 0.514775413711584,
"repo_name": "liufee/cms-core",
"id": "e159f0d1a3521bfff47ac6887bb7d2e7eff58427",
"size": "3384"... |
IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
SET(CMAKE_INSTALL_PREFIX "/usr/local")
ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
# Set the install configuration name.
IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
IF(BUILD_TYPE)
STRING(REGEX REPLACE "^... | {
"content_hash": "cc3ef9b263a300768db70b316916ab31",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 76,
"avg_line_length": 34.354838709677416,
"alnum_prop": 0.7258215962441315,
"repo_name": "saeedghsh/SSRR13",
"id": "d68f149cf921917ab4994d9e771d39ec089fe1e4",
"size": "117... |
using UnityEngine;
using System.Collections;
public class CameraFollow : MonoBehaviour
{
public Transform target;
Vector3 offset;
Gardener gardener;
void Start()
{
gardener = GameObject.Find("Garden").GetComponent<Gardener>();
offset = transform.position - target.position;
}
... | {
"content_hash": "5238f93b6847f0477ae11f83e159356e",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 99,
"avg_line_length": 34.39393939393939,
"alnum_prop": 0.614977973568282,
"repo_name": "TeamSpatch/MowAMole",
"id": "fd290f6a9d10e4a7176677f3c8bf608dba8715ce",
"size": "11... |
package com.navercorp.pinpoint.plugin.openwhisk;
import com.navercorp.pinpoint.bootstrap.async.AsyncContextAccessor;
import com.navercorp.pinpoint.bootstrap.instrument.*;
import com.navercorp.pinpoint.bootstrap.instrument.transformer.TransformCallback;
import com.navercorp.pinpoint.bootstrap.instrument.transformer.Tr... | {
"content_hash": "395bbdf46be1eee814c68613bab913a6",
"timestamp": "",
"source": "github",
"line_count": 311,
"max_line_length": 223,
"avg_line_length": 49.98713826366559,
"alnum_prop": 0.6448604142544706,
"repo_name": "minwoo-jung/pinpoint",
"id": "7152f8be83579ebcc970d725fcb606d00ff1a56b",
"size":... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>paco: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... | {
"content_hash": "1efb98eacb893c49c1fff7cfc66a873a",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 159,
"avg_line_length": 40.05027932960894,
"alnum_prop": 0.5440089273259869,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "a32224a4f66e4ef13d2f39bf3e0520f49e123129",
... |
class GameConfig
attr_accessor :bots, :fieldRadius, :move, :startHp, :cannon, :radar, :see, :maxCount, :loopTime
def initialize(hash)
self.bots = hash[:bots]
self.fieldRadius = hash[:fieldRadius]
self.move = hash[:move]
self.startHp = hash[:startHp]
self.cannon = hash[:cannon]
self.radar = ... | {
"content_hash": "d5f0e055598769329ba54669dc7a5524",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 97,
"avg_line_length": 29.4,
"alnum_prop": 0.6575963718820862,
"repo_name": "futurice/space-tyckiting",
"id": "b6b1d5f58c100835cd7aab135fd19a737bdc8261",
"size": "441",
"... |
package org.ovirt.engine.core.bll.storage;
import static org.ovirt.engine.core.common.businessentities.NonOperationalReason.STORAGE_DOMAIN_UNREACHABLE;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.concurrent.Callable;
i... | {
"content_hash": "14ea3c6932dc58926e5bed948d347c4a",
"timestamp": "",
"source": "github",
"line_count": 185,
"max_line_length": 133,
"avg_line_length": 47.189189189189186,
"alnum_prop": 0.7087056128293242,
"repo_name": "halober/ovirt-engine",
"id": "150f633d1954a1fbc9fefa533386bbe7fe10e5b5",
"size"... |
package net.anyflow.lannister.serialization;
import com.hazelcast.nio.serialization.DataSerializableFactory;
import com.hazelcast.nio.serialization.IdentifiedDataSerializable;
import net.anyflow.lannister.cluster.SerializableIntegerSet;
import net.anyflow.lannister.cluster.SerializableStringSet;
import net.anyflow.... | {
"content_hash": "2ccf70e17ac6d59fd5c3116955c4e5de",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 87,
"avg_line_length": 27.372881355932204,
"alnum_prop": 0.7931888544891641,
"repo_name": "anyflow/lannister",
"id": "68161821302413be4fbd3db5d722bd0830089d54",
"size": "22... |
module Twig
class Node::Expression::Binary::StartsWith < Twig::Node::Expression::Binary
def compile(compiler)
left = compiler.getVarName();
right = compiler.getVarName();
compiler
.raw(sprintf('(is_string($%s = ', left))
.subcompile(get_node('left'))
.raw(sprintf(') && is... | {
"content_hash": "48c0d4bc9990ddf6d820efbac7fe323e",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 88,
"avg_line_length": 30.555555555555557,
"alnum_prop": 0.5527272727272727,
"repo_name": "page-io/ruby-twig",
"id": "53c83622ff3d623f5333028e10e5329ea1f98bba",
"size": "55... |
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Grid Layout Test: Changing the Self-Alignment properties to interfere in Baseline Alignment</title>
<link rel="author" title="Javier Fernandez Garcia-Boente" href="mailto:jfernandez@igalia.com">
<link rel="help" href="https://drafts.csswg.org/css-grid-1/#grid-align">
<l... | {
"content_hash": "3c5a0c2a5988d07910abb7e2f8c37cb3",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 243,
"avg_line_length": 35.13846153846154,
"alnum_prop": 0.6694395796847635,
"repo_name": "chromium/chromium",
"id": "84475fdbce99973e07e3659fae6707c16c2a3a03",
"size": "22... |
class Document < ActiveRecord::Base
include ActiveModel::Validations
validates_with Validator
belongs_to :shop
belongs_to :discount
attr_accessor :file_upload
include Backburner::Queue
queue "encode-jobs" # defaults to 'user'
queue_priority 500 # most urgent priority is 0
#document... | {
"content_hash": "18f354e4ffcedba3e1b182a702291ede",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 166,
"avg_line_length": 34.4625,
"alnum_prop": 0.63746826260428,
"repo_name": "luwei2012/rails-metronic",
"id": "603bcb122c347feb0f34c39f358779c3a530ab96",
"size": "5584",... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__new_array_free_int64_t_65a.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__new_array_free.label.xml
Template File: sources-sinks-65a.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Ma... | {
"content_hash": "246d71c2a094fb9f4caef1d5edb4c909",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 154,
"avg_line_length": 27.463636363636365,
"alnum_prop": 0.6504468718967229,
"repo_name": "JianpingZeng/xcc",
"id": "aaaa1f84e2b6b5f03da0824a3c2f60fc1780ab31",
"size": "3... |
/*
* Copyright 2010-2011, CloudBees Inc.
*
* 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 o... | {
"content_hash": "a5a7d2e020e52d2aaa5006d3882cde61",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 104,
"avg_line_length": 33.073170731707314,
"alnum_prop": 0.6515486725663717,
"repo_name": "SeaCloudsEU/paas-unified-library",
"id": "af6f62d4803b536a98906d362ba18388b9faef74... |
package com.antm;
import com.facebook.react.ReactPackage;
import com.facebook.react.bridge.JavaScriptModule;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.uimanager.ViewManager;
import java.util.ArrayList;
import java.util.Arrays;
imp... | {
"content_hash": "1d276bacb84eb8556d241074c156345b",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 89,
"avg_line_length": 31.59375,
"alnum_prop": 0.7418397626112759,
"repo_name": "77ircloud/yymobile2",
"id": "2fe236e180ac0da7a7ffa22592b6e94253546767",
"size": "1011",
"... |
package com.hpe.application.automation.tools.octane.tests.junit;
import hudson.FilePath;
import java.io.IOException;
import java.io.Serializable;
public interface ModuleDetection extends Serializable {
String getModule(FilePath resultFile) throws IOException, InterruptedException;
class Default implements ... | {
"content_hash": "9eb84168035223fbf0fb4842d8a5734d",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 95,
"avg_line_length": 26,
"alnum_prop": 0.7449392712550608,
"repo_name": "bamh/hpe-application-automation-tools-plugin",
"id": "fa08d95fe1c4a22d3a5fa73bfe421bcb6aec2b36",
... |
MAKEFLAGS += --no-builtin-rules
.SUFFIXES:
ifeq "$(wildcard distrib/)" ""
# We're in a bindist
.PHONY: default
default:
@echo 'Run "make install" to install'
@false
.PHONY: install show
install show:
$(MAKE) --no-print-directory -f ghc.mk $@ BINDIST=YES NO_INCLUDE_DEPS=YES
else
.PHONY: default
default : all
@... | {
"content_hash": "ce5df4deca557b2e922653d2070bd7bc",
"timestamp": "",
"source": "github",
"line_count": 151,
"max_line_length": 126,
"avg_line_length": 27.62251655629139,
"alnum_prop": 0.6935986573963079,
"repo_name": "urbanslug/ghc",
"id": "b1b1742eb31f4c1bce94011cfd3585b3c4c4169b",
"size": "4961"... |
(function($, window, document, undefined) {
'use strict';
// init cubeportfolio
$('#js-grid-mosaic').cubeportfolio({
filters: '#js-filters-mosaic',
loadMore: '#js-loadMore-mosaic',
loadMoreAction: 'click',
layoutMode: 'mosaic',
sortToPreventGaps: true,
mediaQ... | {
"content_hash": "c7e4d69df5f23de057d6957b3262636c",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 98,
"avg_line_length": 27.285714285714285,
"alnum_prop": 0.49214659685863876,
"repo_name": "achegedus/CityServe",
"id": "4f83fa711bd02e6f855b733dde671b0b83a14f36",
"size": ... |
var shell = require('shelljs');
var prompt = require('prompt');
var util = require('util');
var process = require('process');
var path = require('path');
var fs = require('fs');
var StartService = function(){};
StartService.prototype.startPB = function(method) {
var exists = fs.existsSync(path.join(pro... | {
"content_hash": "b9bac30dff95bd92d298baeed7ed8e4d",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 111,
"avg_line_length": 28.132231404958677,
"alnum_prop": 0.6736192714453584,
"repo_name": "pencilblue/pencilblue-cli",
"id": "65bb19e508bec5a41d83fdf8a09d4c1e447163da",
"... |
**MobileNetV3** is a convolutional neural network that is designed for mobile phone CPUs. The network design includes the use of a [hard swish activation](https://paperswithcode.com/method/hard-swish) and [squeeze-and-excitation](https://paperswithcode.com/method/squeeze-and-excitation-block) modules in the [MBConv blo... | {
"content_hash": "4e0eb7eb90a5bdc92f3f4af051296cf1",
"timestamp": "",
"source": "github",
"line_count": 318,
"max_line_length": 384,
"avg_line_length": 28.955974842767297,
"alnum_prop": 0.6813640312771503,
"repo_name": "rwightman/pytorch-image-models",
"id": "5e93db85860a0ee86c500bdbd1844998473478f6"... |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<MetadataEntry xmlns="http://www.vmware.com/vcloud/v1.5"
type="application/vnd.vmware.vcloud.metadata.value+xml"
href="">
<Key />
<Value />
</MetadataEntry> | {
"content_hash": "20f44a262f770ab867eb91b9ab42a2e1",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 70,
"avg_line_length": 35.142857142857146,
"alnum_prop": 0.6138211382113821,
"repo_name": "cloudfoundry-incubator/bosh-vcloud-cpi-release",
"id": "c40b32a60b6d85757a06e989a552... |
VeritasWeb::Application.config.session_store :cookie_store, key: '_veritas_web_session'
# Use the database for sessions instead of the cookie-based default,
# which shouldn't be used to store highly confidential information
# (create the session table with "rails generate session_migration")
# VeritasWeb::Application.... | {
"content_hash": "57e15a21a3e8d0363f07442ecc7aa85e",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 87,
"avg_line_length": 60.333333333333336,
"alnum_prop": 0.8011049723756906,
"repo_name": "bradyholt/veritas",
"id": "4774ba819c9f48b1193f42112feade8c8068bcd5",
"size": "423... |
using System;
namespace Uheer.Areas.HelpPage.ModelDescriptions
{
/// <summary>
/// Describes a type model.
/// </summary>
public abstract class ModelDescription
{
public string Documentation { get; set; }
public Type ModelType { get; set; }
public string Name { get; set; }... | {
"content_hash": "ca3b46854e186399b96602e0c45b43cb",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 49,
"avg_line_length": 20.5,
"alnum_prop": 0.6128048780487805,
"repo_name": "uheerme/core",
"id": "927924739494a2f59b134af34706110eec88e65e",
"size": "328",
"binary": fal... |
<?php
namespace SamiverbBundle\Entity;
use Symfony\Component\Validator\Constraints as Assert;
/**
* Verb entity
*/
class Verb
{
protected $verb;
/**
* Constructor
*
* @param string $verb
* @return Verb
*/
public function __construct($verb)
{
$this->verb = $verb;
return $this;
}
/**
* Ge... | {
"content_hash": "4ba8ccd83fb1196ad6f91e2098c5ed8c",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 80,
"avg_line_length": 17.744525547445257,
"alnum_prop": 0.5915261209378856,
"repo_name": "mikevoets/samiverb",
"id": "807e3db8de91e496e1504fb3280e8d50363e57f9",
"size": "... |
package org.apache.hadoop.hdfs.server.federation.utils;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import java.util.SortedMap;
import java.util.TreeMap;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReadWriteLock;
import java.util.concurrent.locks.ReentrantReadWr... | {
"content_hash": "beb4ae3135280e0be0d6d419e2505697",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 79,
"avg_line_length": 28.25,
"alnum_prop": 0.6523783185840708,
"repo_name": "wwjiang007/hadoop",
"id": "ab7bfb16cb8221f01237ff0ecdd70c17c76f98fc",
"size": "4422",
"bina... |
using System;
namespace DiscUtils.Internal
{
[AttributeUsage(AttributeTargets.Class)]
internal sealed class VirtualDiskFactoryAttribute : Attribute
{
public VirtualDiskFactoryAttribute(string type, string fileExtensions)
{
Type = type;
FileExtensions = fileExtensions... | {
"content_hash": "1e784f6de1bae3996420fcce60ba791a",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 82,
"avg_line_length": 25.72222222222222,
"alnum_prop": 0.6414686825053996,
"repo_name": "drebrez/DiscUtils",
"id": "3b56b03a2db7754376271ef7893e82fe42ca6a5f",
"size": "158... |
package cn.jzvd.demo;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
super(Appl... | {
"content_hash": "692069090b4af86074840b7f3ba7274a",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 93,
"avg_line_length": 26.46153846153846,
"alnum_prop": 0.7412790697674418,
"repo_name": "cowthan/Ayo2022",
"id": "85aa28c6d1b0e4c1b4f2e9f18195a02866ad74b1",
"size": "344",... |
<?php
namespace OpenCloud\Queues\Resource;
use Guzzle\Http\Url;
use OpenCloud\Common\PersistentObject;
use OpenCloud\Queues\Exception\DeleteMessageException;
/**
* A message is a task, a notification, or any meaningful data that gets posted
* to the queue. A message exists until it is deleted by a recipient or
... | {
"content_hash": "26280796af180dcead0bf72aae000ffe",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 98,
"avg_line_length": 25.762237762237763,
"alnum_prop": 0.5654180238870793,
"repo_name": "ArcherSys/ArcherVMPeridot",
"id": "0fa486dabeda002d89777fd8929ed88f824551fc",
"s... |
package fr.javatronic.blog.massive.annotation1.sub1;
import fr.javatronic.blog.processor.Annotation_001;
@Annotation_001
public class Class_3525 {
}
| {
"content_hash": "da25b3b0c5e22fc7a97c3529e33777e0",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 52,
"avg_line_length": 21.571428571428573,
"alnum_prop": 0.8079470198675497,
"repo_name": "lesaint/experimenting-annotation-processing",
"id": "6bf69d4166275c992cfd3f369aa9ee7... |
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
module SGF
describe ParseError do
it "message should return content up to the bad input" do
error = ParseError.new("(;AB]", 4)
error.message.should include("(;AB] <=== SGF parse error occurred here")
end
end
end | {
"content_hash": "c83bac398306e4691c8b6257a202ec54",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 78,
"avg_line_length": 30.5,
"alnum_prop": 0.6622950819672131,
"repo_name": "gcao/sgf_parser",
"id": "9d75812306c9a590a3528e86e303c1acaced33bb",
"size": "305",
"binary": ... |
title: Error.prototype.columnNumber
localeTitle: Error.prototype.columnNumber
---
## Error.prototype.columnNumber
هذا هو كعب. [ساعد مجتمعنا على توسيعه](https://github.com/freecodecamp/guides/tree/master/src/pages/javascript/standard-objects/error/error-prototype-columnnumber/index.md) .
[سيساعدك دليل النمط السريع هذا... | {
"content_hash": "13c3eee70e8195ece07bc89eb728ac75",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 173,
"avg_line_length": 42.9,
"alnum_prop": 0.7925407925407926,
"repo_name": "HKuz/FreeCodeCamp",
"id": "89e79e1dd348bc756eefc1f955bfda33f706be2f",
"size": "516",
"binary... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.