text stringlengths 2 1.04M | meta dict |
|---|---|
// RobotBuilder Version: 1.5
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// Java from RobotBuilder. Do not put any code or make any change in
// the ... | {
"content_hash": "2aa14986d10cdaae317b49a2eef58f3e",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 80,
"avg_line_length": 37.46938775510204,
"alnum_prop": 0.6699346405228758,
"repo_name": "sfhsfembot/RecycledRushSuperstructure",
"id": "5d2139f489c59e51c095f96b8ad5b9dcf3bd3... |
Overview
=============================
Both approaches outlined below will retrieve a minimal Ubuntu 14.04 box and provision it utilizing the bootstrap-bce.sh script. The BCE\_PROVISION environment variable serves as a hint to the bootstrap script so that different authors can create different VMs using the same build... | {
"content_hash": "219511d1aba0634ccfdcf84ddaaf395e",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 293,
"avg_line_length": 39.264150943396224,
"alnum_prop": 0.7078327727054301,
"repo_name": "rdhyee/collaboratool",
"id": "e1d9e58e8b0705f949b8f6fc5d93ce6295cf6d9b",
"size":... |
package org.apache.ambari.logsearch.web.authenticate;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.log4j.Logger;
import org.springframework.security.core.Authentication;
import org.sp... | {
"content_hash": "e9c92a86b5bedebf0990ae170c3ac9eb",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 91,
"avg_line_length": 34.041666666666664,
"alnum_prop": 0.8372093023255814,
"repo_name": "alexryndin/ambari",
"id": "cf9d2006f564870bcc4a5d364fea9dc4fbf0487c",
"size": "16... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http... | {
"content_hash": "18df569ae8ae609ef6ed7c5b0b0121e1",
"timestamp": "",
"source": "github",
"line_count": 513,
"max_line_length": 999,
"avg_line_length": 39.28849902534113,
"alnum_prop": 0.6084842470850905,
"repo_name": "statsmodels/statsmodels.github.io",
"id": "c605625877a3724fad07b46d73e37f81f0e5b12... |
""" GENERATED FILE. ALL CHANGES WILL BE OVERWRITTEN! """
from django import forms
from django.contrib.formtools.wizard.views import SessionWizardView
from cuescience_shop.models import {% for step in wizard.steps %}{%if step.form.model%}{%if not loop.first %}, {%endif%}{{step.form.model}}{%endif%}{%endfor%}
{% for step... | {
"content_hash": "4f8187cc8e98ce3afe4065688ec5e380",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 198,
"avg_line_length": 62.266666666666666,
"alnum_prop": 0.6274089935760171,
"repo_name": "cuescience/cuescience-shop",
"id": "4e179d3bd5d24521aa671468a7243b106fccdd1e",
"... |
package azuredb
import (
"context"
"crypto/x509"
"encoding/pem"
"fmt"
"io"
"io/ioutil"
"net/http"
"golang.org/x/net/context/ctxhttp"
)
const caBundleURL = "https://www.digicert.com/CACerts/BaltimoreCyberTrustRoot.crt.pem"
// A CertPoolProvider returns a certificate pool that contains the Azure CA certificat... | {
"content_hash": "1dbc1b3c29d89b76aaf847d9ae1f5c89",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 93,
"avg_line_length": 27.89873417721519,
"alnum_prop": 0.7023593466424682,
"repo_name": "google/go-cloud",
"id": "46a4cd2e265311da28d7a6c668b2e5c58a9fd41c",
"size": "2901"... |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<beans xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd" xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<bean class="com... | {
"content_hash": "8c17150c9f75b81b501daaba0f4025e6",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 243,
"avg_line_length": 84.5,
"alnum_prop": 0.7381656804733728,
"repo_name": "AlfredGerke/ZABonline",
"id": "2a6ca46100175d03e67fae21074e45cfac96539e",
"size": "676",
"bin... |
autocommit off;
create class mother ( myself mother );
create class son as subclass of mother ( myself son );
drop son, mother;
rollback;
| {
"content_hash": "bdd04b43c9712529e1b3bd6a164a0d6c",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 54,
"avg_line_length": 27.6,
"alnum_prop": 0.7536231884057971,
"repo_name": "hongwoo-nam/cubrid-testcases",
"id": "92674f0090af7ef87b9c65cff27cef422a7724d4",
"size": "138",
... |
<!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": "6b296eeb6289cd8af23a397dc4e22d73",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 303,
"avg_line_length": 60.6,
"alnum_prop": 0.6765676567656765,
"repo_name": "v8-dox/v8-dox.github.io",
"id": "16cfbfe4d83bbcecc05a1e9b6faeb3bf577b6d69",
"size": "6969",
... |
package ceph
import (
"bytes"
"encoding/json"
"fmt"
"github.com/influxdata/telegraf"
"github.com/influxdata/telegraf/plugins/inputs"
"io/ioutil"
"log"
"os/exec"
"path/filepath"
"strings"
)
const (
measurement = "ceph"
typeMon = "monitor"
typeOsd = "osd"
osdPrefix = "ceph-osd"
monPrefix = "c... | {
"content_hash": "cd42527fc2a0c5ac0d824cf562324f01",
"timestamp": "",
"source": "github",
"line_count": 249,
"max_line_length": 97,
"avg_line_length": 23.97991967871486,
"alnum_prop": 0.664545302294423,
"repo_name": "titilambert/telegraf",
"id": "d8ebf5017233916c948250bdd87d800b4f7e89e8",
"size": "... |
<?php
namespace LeagueWrap;
use LeagueWrap\Api\AbstractApi;
use LeagueWrap\Api\Staticdata;
use LeagueWrap\Limit\Limit;
use LeagueWrap\Limit\Collection;
use LeagueWrap\Limit\FileLimit;
use LeagueWrap\Exception\NoKeyException;
use LeagueWrap\Exception\ApiClassNotFoundException;
use LeagueWrap\Exception\NoValidLimitInter... | {
"content_hash": "6d6d7e3c8e68d0db94c39d284293867a",
"timestamp": "",
"source": "github",
"line_count": 225,
"max_line_length": 91,
"avg_line_length": 22.142222222222223,
"alnum_prop": 0.6413087113608993,
"repo_name": "Innovacionlechuga/leaguewrap",
"id": "800d4e172e5be2ec3ac33d3cceb482c1f5df9421",
... |
<?php
/**
* DOM SVG Glyph element class
*
* @category PAHDI
* @package PAHDI-DOM
*/
class SVGGlyphElement extends SVGElement{} | {
"content_hash": "815f19cea7ee242d18422851d524a171",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 42,
"avg_line_length": 14.3,
"alnum_prop": 0.6363636363636364,
"repo_name": "mck89/PAHDI",
"id": "388536ef6c656d3d920d02fe9ceb41360b771050",
"size": "569",
"binary": fals... |
// Copyright (c) 2013
// Nathanael Fillmore (University of Wisconsin-Madison)
// nathanae@cs.wisc.edu
//
// This file is part of REF-EVAL.
//
// REF-EVAL is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, eithe... | {
"content_hash": "8ceb416585a8be71797d5e74c9ff4270",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 140,
"avg_line_length": 33.355555555555554,
"alnum_prop": 0.6352431712191872,
"repo_name": "fmaguire/BayeHem",
"id": "12596b44c672171b60a41d51ef9ecf10fa9eb0c2",
"size": "30... |
class Api::V1::BulletinResource < JSONAPI::Resource
attributes :name, :service_order, :banner_url
attribute :published_at, format: :iso8601
has_one :group
has_one :sermon
has_many :announcements
filter :latest_for_group
filter :group
def self.apply_filter(records, filter, value, options)
case fi... | {
"content_hash": "d5293366436d48661741d611daf06b38",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 56,
"avg_line_length": 23.347826086956523,
"alnum_prop": 0.6927374301675978,
"repo_name": "openmcac/basechurch",
"id": "c744211ac08f86badfb31c3432eadefc2fa46dd8",
"size": "... |
{% extends "../admin.html" %}
<!-- page title -->
{% block page_title %}
Licence serial number {{ pData.LicenceNumber }} - GOV.UK
{% endblock %}
{% block content %}
<main id="content" role="main">
{% from "custom_inc/waterdata.html" import permits %}
{% for pNumber, pData in permits %}
{% if pNumber==chosenP... | {
"content_hash": "9aa0c4df3ff0fced0c1412d422ac284e",
"timestamp": "",
"source": "github",
"line_count": 222,
"max_line_length": 172,
"avg_line_length": 23.5,
"alnum_prop": 0.5493578685068047,
"repo_name": "christinagyles-ea/water",
"id": "e90c4204bb0ea2ffb44bb73837c8bc6c7650bef0",
"size": "5217",
... |
using BEPUphysics.Constraints.TwoEntity;
using BEPUphysics.Constraints.TwoEntity.JointLimits;
using BEPUphysics.Constraints.TwoEntity.Joints;
using BEPUphysics.Constraints.TwoEntity.Motors;
using BEPUphysics.Entities;
using BEPUutilities;
namespace BEPUphysics.Constraints.SolverGroups
{
/// <summary>
/// Re... | {
"content_hash": "da9708bbb72c3cb40acf71e3882cb25a",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 180,
"avg_line_length": 43.837606837606835,
"alnum_prop": 0.6205888087346462,
"repo_name": "karrtmomil/coms437_assignment2",
"id": "b48e3d92851f26ab986a39f6c3c45dfe54cafc7a"... |
class Unidom::Certificate::ApplicationRecord < ActiveRecord::Base
self.abstract_class = true
end
| {
"content_hash": "736dcbc97013ada6719ae9996dbd98fc",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 65,
"avg_line_length": 33,
"alnum_prop": 0.797979797979798,
"repo_name": "topbitdu/unidom-certificate",
"id": "eb1d3faecb92917b21b3d3850d2d616b535e1ca8",
"size": "167",
"b... |
package io.crate.analyze.symbol;
import io.crate.sql.tree.QualifiedName;
import io.crate.types.DataTypes;
import org.elasticsearch.common.io.stream.BytesStreamInput;
import org.elasticsearch.common.io.stream.BytesStreamOutput;
import org.junit.Test;
import static org.hamcrest.MatcherAssert.assertThat;
import static... | {
"content_hash": "15cbf3e981dc67ee9976c75969f5296b",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 96,
"avg_line_length": 31.115384615384617,
"alnum_prop": 0.7379480840543882,
"repo_name": "aslanbekirov/crate",
"id": "14a0eb846d5f9cf5c3f903e40548cda2eef2ba26",
"size": "1... |
import path from 'path';
import { parse } from '../utils/cli-tools';
import { getContent } from '../utils/file';
const configNameRegex = /^(\.nycrc(\.(json|yml|yaml))?|nyc.config.js)$/;
function getExtendsDependencies(extendConfig, deps) {
const dependencies = [];
if (Array.isArray(extendConfig)) {
extendConf... | {
"content_hash": "856fda503aaf174766977340e795bfef",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 72,
"avg_line_length": 29.372093023255815,
"alnum_prop": 0.6634996041171813,
"repo_name": "depcheck/depcheck",
"id": "c9ea86ab2cc9157d5a3630c702c7efcc5794ed03",
"size": "12... |
/*
* Copyleft 2015
* and other contributors as indicated by the @author tags.
*
* 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
*
* ... | {
"content_hash": "3303d81f631428e1a3d73feb9795453a",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 81,
"avg_line_length": 31.666666666666668,
"alnum_prop": 0.6650717703349283,
"repo_name": "panossot/jboss-automated-metrics",
"id": "509c34dc8b9c39efd445b191c7cdc1134619b0d3"... |
module.exports = {
getPeopleByOuting: (id, client) => {
return client('person_outing').where('outing_id', id).select('person_id')
.then(result => {
return result.map(r => r.person_id);
});
},
getFullPeopleByOuting: (id, client) => {
return client.from('person_outing').innerJoin('person', 'pe... | {
"content_hash": "efee7c7205458c6bdcf39daf4cc518db",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 141,
"avg_line_length": 32.333333333333336,
"alnum_prop": 0.5512431776834446,
"repo_name": "jackyzhen/coffee-tracker",
"id": "25124777c620e0247f66df3fa2f08dde26ac9d04",
"si... |
package com.appdynamics.xml;
import java.io.StringReader;
import java.io.StringWriter;
import java.util.List;
import org.exolab.castor.mapping.Mapping;
import org.exolab.castor.mapping.MappingException;
import org.exolab.castor.xml.MarshalException;
import org.exolab.castor.xml.Marshaller;
import org.exolab.castor.... | {
"content_hash": "96221c39f6560b5b53f6412fc4138ecb",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 466,
"avg_line_length": 37.530434782608694,
"alnum_prop": 0.6193234476367007,
"repo_name": "udayinfy/ECommerce-Java",
"id": "06d2aba850dab64b203d4984f72166762c7c5558",
"si... |
<?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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.sona... | {
"content_hash": "e33f9ee5ec0cb19db2dd4ce4c9b0ebf3",
"timestamp": "",
"source": "github",
"line_count": 209,
"max_line_length": 201,
"avg_line_length": 37.90909090909091,
"alnum_prop": 0.5129370188060078,
"repo_name": "moltak/pocketknife",
"id": "037373a73efc1b60f432d9c37ffaa30cd059bdc5",
"size": "... |
<?xml version="1.0" encoding="UTF-8"?>
<sem:triples uri="http://www.lds.org/vrl/specific-people/artists-and-illustrators/pixton-byron" xmlns:sem="http://marklogic.com/semantics">
<sem:triple>
<sem:subject>http://www.lds.org/vrl/specific-people/artists-and-illustrators/pixton-byron</sem:subject>
<sem:predicate... | {
"content_hash": "1fbdfc37040ee11cee0e6b83a21d3237",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 139,
"avg_line_length": 60.22222222222222,
"alnum_prop": 0.7232472324723247,
"repo_name": "freshie/ml-taxonomies",
"id": "02c3183b864edd7934881fb5b61f4fbf3d1f69af",
"size":... |
<?php
namespace Sabre\CalDAV\Schedule;
use Sabre\DAV;
use Sabre\CalDAV;
use Sabre\DAVACL;
class Outbox extends DAV\Collection implements IOutbox {
/**
* The principal Uri
*
* @var string
*/
protected $principalUri;
/**
* Constructor
*
* @param string $principalUri
... | {
"content_hash": "e935adcd0e15ed00a0cd290cca09b041",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 91,
"avg_line_length": 24.488505747126435,
"alnum_prop": 0.5034029570523352,
"repo_name": "vmire/sabre-dav",
"id": "b0a96660813676256a152046261bd3c671f8513b",
"size": "468... |
> Include only certain items in an array
## Install
```
$ npm install arr-include
```
## Usage
```js
import arrayInclude from 'arr-include';
arrayInclude(['a', 'b', 'c'], ['b', 'x']);
//=> ['b']
```
## Related
- [arr-exclude](https://github.com/sindresorhus/arr-exclude) - Exclude certain items from an array
| {
"content_hash": "07d84b3fc939004164049ac249a76de7",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 98,
"avg_line_length": 15.8,
"alnum_prop": 0.629746835443038,
"repo_name": "sindresorhus/arr-include",
"id": "d399e51c1be913666052fd614ce02aaec3cdea41",
"size": "331",
"b... |
<template>
<d-linear-layout id="main" style="width:100%; height: 100%" direction="vertical">
<!-- <d-view-stack id="content-view-stack" style="width: 100%; height: 100%; position: absolute !important">
</d-view-stack>
-->
</d-linear-layout>
</template>
| {
"content_hash": "dd18afd623ae2330cb02621df272cab3",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 109,
"avg_line_length": 32.375,
"alnum_prop": 0.6640926640926641,
"repo_name": "edchat/dappSamples",
"id": "faf0c35e4484772add2e7e20f01449173cc44a8d",
"size": "259",
"bina... |
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('semesterpage', '0027_options_last_user_modification'),
]
operations = [
migrations.AlterField(
model_name='semester',
name='... | {
"content_hash": "2cec7fa10a4a96b1dcb7349c59b804c5",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 323,
"avg_line_length": 49.285714285714285,
"alnum_prop": 0.6891304347826087,
"repo_name": "afriestad/WikiLinks",
"id": "2da07cbe1bf7c6480ca98f557013ee5fda183801",
"size": ... |
import '../amp-next-page';
import {PageState} from '../page';
import {ScrollDirection, ViewportRelativePos} from '../visibility-observer';
import {Services} from '../../../../src/services';
import {VisibilityState} from '../../../../src/visibility-state';
import {htmlFor} from '../../../../src/static-template';
import... | {
"content_hash": "6642b36fd050acc864076befad53123b",
"timestamp": "",
"source": "github",
"line_count": 785,
"max_line_length": 115,
"avg_line_length": 31.963057324840765,
"alnum_prop": 0.5574508788011637,
"repo_name": "jmadler/amphtml",
"id": "ef6ff080fd85cb7768111f436212c60486c0b26d",
"size": "25... |
package org.wso2.carbon.event.publisher.core.internal.type.xml;
import org.apache.axiom.om.OMAbstractFactory;
import org.apache.axiom.om.OMAttribute;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.OMFactory;
import org.apache.axiom.om.util.AXIOMUtil;
import org.apache.commons.logging.Log;
import org... | {
"content_hash": "c7762e3ef9580835af99678ad0ec27bf",
"timestamp": "",
"source": "github",
"line_count": 203,
"max_line_length": 242,
"avg_line_length": 51.95073891625616,
"alnum_prop": 0.6893608951261142,
"repo_name": "sacjaya/carbon-analytics-common",
"id": "eb0414f096a498fd7be3c40a17a4d9602cb7c4b3"... |
package org.apache.flink.api.connector.source;
import org.apache.flink.annotation.Public;
import java.io.IOException;
import java.util.List;
/**
* A interface of a split enumerator responsible for the followings:
* 1. discover the splits for the {@link SourceReader} to read.
* 2. assign the splits to the source... | {
"content_hash": "cc37604b8813f29085a40d59aa63a939",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 99,
"avg_line_length": 28.666666666666668,
"alnum_prop": 0.7286821705426356,
"repo_name": "kaibozhou/flink",
"id": "16b393893c06b5195af184a020d80b4205e5e1f3",
"size": "2583... |
// Copyright (C) 2009-2012 Lorenzo Caminiti
// Distributed under the Boost Software License, Version 1.0
// (see accompanying file LICENSE_1_0.txt or a copy at
// http://www.boost.org/LICENSE_1_0.txt)
// Home at http://www.boost.org/libs/local_function
#include <boost/config.hpp>
#ifdef BOOST_NO_CXX11_VARIADI... | {
"content_hash": "83030dd30bfba66de2cb3c35b1a9c64f",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 71,
"avg_line_length": 25.5,
"alnum_prop": 0.6593137254901961,
"repo_name": "zjutjsj1004/third",
"id": "6ee65e3ffc89f39597f5ad7b544164a3f3884f46",
"size": "816",
"binary"... |
from storage import *
| {
"content_hash": "a230ab26b1fb333866db58bf64f1ee9e",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 21,
"avg_line_length": 22,
"alnum_prop": 0.7727272727272727,
"repo_name": "agniveshadhikari/edx-agea",
"id": "02d16cd1fc18fa425edb62be922fe0c6852fd449",
"size": "22",
"bin... |
var request = require('request')
, cheerio = require('cheerio')
, exec = require('child_process').exec;
function copy_image_url(callback) {
request(process.argv[2], function (err, response, body) {
if (err) {
console.log(err);
return callback();
}
var $ = cheerio.load(body)
, im... | {
"content_hash": "b9f30d0b07595b68a16a3916c237303c",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 61,
"avg_line_length": 21.037037037037038,
"alnum_prop": 0.5369718309859155,
"repo_name": "irace/climg",
"id": "625832124a3bcedd97a0c832a16049e625167b7a",
"size": "568",
... |
#ifndef _HPDF_U3D_H
#define _HPDF_U3D_H
#include "hpdf_objects.h"
#ifdef __cplusplus
extern "C" {
#endif
HPDF_EXPORT(HPDF_JavaScript) HPDF_CreateJavaScript(HPDF_Doc pdf, const char *code);
HPDF_EXPORT(HPDF_U3D) HPDF_LoadU3DFromFile (HPDF_Doc pdf, const char *filename);
HPDF_EXPORT(HPDF_Dict) HPDF_Create3DView (H... | {
"content_hash": "86b909870408714a9a7c9c7b6a50d05d",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 190,
"avg_line_length": 40.2972972972973,
"alnum_prop": 0.749832327297116,
"repo_name": "lixiaolong/writepdf",
"id": "2cd58f4b3fa7afaa48e7da113e695232baa05a52",
"size": "20... |
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "file_resume_block.h"
#include "sf_types.h"
#include "file_api.h"
#include "snort_bounds.h"
#include "ipv6_port.h"
#include "sfxhash.h"
#include "util.h"
#include "decode.h"
#include "active.h"
#include "file_sha256.h"
/* The hash table of expected files */
s... | {
"content_hash": "dbf9703cb8560aa9cec6008be78a973e",
"timestamp": "",
"source": "github",
"line_count": 259,
"max_line_length": 91,
"avg_line_length": 26.37065637065637,
"alnum_prop": 0.5884333821376281,
"repo_name": "liuchuang/snort",
"id": "2f69d53d619538b23800d5396d5b4c200639b5ca",
"size": "7852... |
set -e
#----------------------------------------------------------------------
# Change this to whatever makes sense for your system
HOME=
MINICONDA=$HOME/miniconda-for-arrow
LIBRARY_INSTALL_DIR=$HOME/local-libs
CPP_BUILD_DIR=$HOME/arrow-cpp-build
ARROW_ROOT=/arrow
PYTHON=3.10
git config --global --add safe.director... | {
"content_hash": "2f341367e308d7d2662e21c72c73ddaa",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 87,
"avg_line_length": 26.870967741935484,
"alnum_prop": 0.5982392957182873,
"repo_name": "apache/arrow",
"id": "5e62f30b1561521fd6e0adfd53cc37262cdefeac",
"size": "3305",
... |
"""Add ``root_dag_id`` to ``DAG``
Revision ID: b3b105409875
Revises: d38e04c12aa2
Create Date: 2019-09-28 23:20:01.744775
"""
from __future__ import annotations
import sqlalchemy as sa
from alembic import op
from airflow.migrations.db_types import StringID
# revision identifiers, used by Alembic.
revision = 'b3b10... | {
"content_hash": "e5a4512de8917915ffe5f50420a795cf",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 77,
"avg_line_length": 25.28125,
"alnum_prop": 0.6736711990111248,
"repo_name": "cfei18/incubator-airflow",
"id": "571338cf85f2cb316c6c049a50bf5c3a9edf2353",
"size": "1596"... |
package org.openapitools.client.api
import argonaut._
import argonaut.EncodeJson._
import argonaut.DecodeJson._
import org.http4s.{EntityDecoder, EntityEncoder}
import org.http4s.argonaut._
import org.joda.time.DateTime
import ExtensionClassContainerImpl1links._
case class ExtensionClassContainerImpl1links (
sel... | {
"content_hash": "952e4e624bd178d66529ac8a3f2bd14d",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 157,
"avg_line_length": 37.5,
"alnum_prop": 0.8611111111111112,
"repo_name": "cliffano/swaggy-jenkins",
"id": "223732adc5cd4d3e66a6493889c89df84af1257b",
"size": "900",
"... |
<html>
<head>
<title>管理图片-Lolibox</title>
<script src="/static/js/jquery.min.js"></script>
<script src="/static/js/clipboard.min.js"></script>
<script src="/static/js/bootstrap.min.js"></script>
<script src="/static/js/jquery.knob.min.js"></script>
<script src="/static/js/notify.min.js"></script>
<script src="/static/j... | {
"content_hash": "da1d4fd6f853c0c534b189d5c52c52c2",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 152,
"avg_line_length": 36.63265306122449,
"alnum_prop": 0.5860724233983287,
"repo_name": "xctcc/congloli",
"id": "9b294b6f1135d1b1792e8c1a0a2e12c870abef7f",
"size": "3678"... |
picketlink-authentication-jsf: PicketLink Authentication with JSF
===============================
Author: Shane Bryzak
Level: Beginner
Technologies: CDI, PicketLink
Summary: Basic example that demonstrates simple username/password authentication using PicketLink
Target Product: EAP
Source: <https://github.com/jboss-jdf... | {
"content_hash": "e9e2b697551a3ef4cf218fc86270e8f1",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 286,
"avg_line_length": 38.65,
"alnum_prop": 0.7179818887451488,
"repo_name": "LightGuard/quickstart",
"id": "b31050bcebfc02795ff02a62ff2abf3c5fae95c4",
"size": "3092",
"... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE191_Integer_Underflow__int64_t_min_multiply_33.cpp
Label Definition File: CWE191_Integer_Underflow.label.xml
Template File: sources-sinks-33.tmpl.cpp
*/
/*
* @description
* CWE: 191 Integer Underflow
* BadSource: min Set data to the min value for int64_t
* G... | {
"content_hash": "29c7a0f6fb93420675b0d3af464788bd",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 111,
"avg_line_length": 27.448818897637796,
"alnum_prop": 0.5846242111302352,
"repo_name": "maurer/tiamat",
"id": "399b90fee2bb9a032579c9915237999bf1c0e5ca",
"size": "3486... |
"""Support for Home Assistant iOS app sensors."""
from homeassistant.components import ios
from homeassistant.helpers.entity import Entity
from homeassistant.helpers.icon import icon_for_battery_level
DEPENDENCIES = ['ios']
SENSOR_TYPES = {
'level': ['Battery Level', '%'],
'state': ['Battery State', None]
}
... | {
"content_hash": "0d0b5a45f5a22818618dfa643da06e0a",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 78,
"avg_line_length": 36.15126050420168,
"alnum_prop": 0.6059972105997211,
"repo_name": "HydrelioxGitHub/home-assistant",
"id": "404b313368cebe42b64c97f9f66c9db6152ac9e8",
... |
<?php
namespace AppBundle\Service;
use AppBundle\Entity\EventGroup;
use AppBundle\Entity\ManagerGroup;
use AppBundle\Entity\User;
use AppBundle\Form\Entity\Group as GroupForm;
use AppBundle\Entity\Group;
use AppBundle\Entity\Event;
use AppBundle\Form\Entity\Event as EventForm;
use Doctrine\ORM\EntityManager;
/**
* ... | {
"content_hash": "8d24c214a0f05eb731d2503d52394cc4",
"timestamp": "",
"source": "github",
"line_count": 214,
"max_line_length": 100,
"avg_line_length": 30.186915887850468,
"alnum_prop": 0.5597523219814241,
"repo_name": "stfalcon-studio/rock-events",
"id": "2bb8c773e05446df0c85acb09f33b74f8ae5c2fc",
... |
package de.umass.xml;
import java.util.ArrayList;
import java.util.List;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
/**
* <code>DomElement</code> wraps around an {@link Element} and provides convenience methods.
*
* @author Janni Kovacs
*/
public class DomEl... | {
"content_hash": "6863c1c16bc1dca448e6b15f6125a398",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 110,
"avg_line_length": 26.594405594405593,
"alnum_prop": 0.6413357875361557,
"repo_name": "apmyjsc/lastfm-java",
"id": "9a42cc80798ee16ed46348f3bd2d6f1c13835b6a",
"size":... |
package org.apache.harmony.jndi.tests.javax.naming.ldap;
import javax.naming.NamingException;
import javax.naming.ldap.ExtendedRequest;
import javax.naming.ldap.ExtendedResponse;
public class MockExtendedRequest implements ExtendedRequest {
/**
* <p></p>
*/
private static final long serialVersionUID... | {
"content_hash": "e4d84443fd7c23c61b5d2a83cd359f92",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 83,
"avg_line_length": 19.57777777777778,
"alnum_prop": 0.684449489216799,
"repo_name": "freeVM/freeVM",
"id": "171a7b477c5b7bb12853715f05768c1f4fe43cbe",
"size": "1685",
... |
package cmd
import (
"fmt"
"github.com/smira/aptly/query"
"github.com/smira/commander"
"github.com/smira/flag"
)
func aptlyMirrorEdit(cmd *commander.Command, args []string) error {
var err error
if len(args) != 1 {
cmd.Usage()
return commander.ErrCommandError
}
repo, err := context.CollectionFactory().R... | {
"content_hash": "9144c91b5c5ff48814a13401862fe0d1",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 110,
"avg_line_length": 25.652173913043477,
"alnum_prop": 0.6851694915254237,
"repo_name": "neolynx/aptly",
"id": "2d31d77f921ccc7613004906f3ce860925cc40b2",
"size": "2360"... |
options<WebpackConfig>
| {
"content_hash": "c65b9bc84640f13931e1becfb6293b3a",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 22,
"avg_line_length": 23,
"alnum_prop": 0.8695652173913043,
"repo_name": "kaola-fed/foxman",
"id": "65acfccf8df90aa9aa211ae7a4ac7cc0158159d9",
"size": "87",
"binary": fal... |
var expect = require('chai').expect;
var assert = require('chai').assert;
var Store = require('../../src/Store');
var store = null;
describe('Vanage', function() {
describe('Store', function() {
beforeEach(function() {
store = new Store();
});
it('should create an empty store ... | {
"content_hash": "f0d3eec4d07c3e2dafcc41d7d534b030",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 96,
"avg_line_length": 35.674418604651166,
"alnum_prop": 0.4943502824858757,
"repo_name": "janbiasi/vanage",
"id": "d8f6df074287b395c16b9065824a3049fc0206a3",
"size": "460... |
<?php
/* Prototype : array strpbrk(string haystack, string char_list)
* Description: Search a string for any of a set of characters
* Source code: ext/standard/string.c
* Alias to functions:
*/
echo "*** Testing strpbrk() : error conditions ***\n";
$haystack = 'This is a Simple text.';
$char_list = 'string_val... | {
"content_hash": "2098a01f8bb41f4293f2f91ed5e764cd",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 85,
"avg_line_length": 31.642857142857142,
"alnum_prop": 0.6580135440180587,
"repo_name": "evnix/go-php-parser",
"id": "2fa15b238048a1cfed4a04dc2e306cfbe983cc70",
"size": "... |
package org.elasticsearch.xpack.searchablesnapshots;
import org.elasticsearch.action.ActionFuture;
import org.elasticsearch.action.ActionListener;
import org.elasticsearch.action.ActionRequest;
import org.elasticsearch.action.admin.cluster.snapshots.restore.RestoreSnapshotAction;
import org.elasticsearch.action.admi... | {
"content_hash": "4922ddcd2db347097ea1f9da48b319e5",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 131,
"avg_line_length": 39.78195488721804,
"alnum_prop": 0.7340767340767341,
"repo_name": "GlenRSmith/elasticsearch",
"id": "9096ed98596000040a4da73a9ef14c02b9c3cd11",
"si... |
<?php
$url = TEST_MODE ? 'https://sandbox.paypal.com/cgi-bin/webscr' : 'https://www.paypal.com/cgi-bin/webscr';
$totalprice = $tpl['arr']['total']; // $tpl['arr']['deposit'] +
$deposit = $tpl['arr']['deposit'];
$actual_payment_amount = $tpl['arr']['payment_mod'];
?>
<form action="<?php echo $url; ?>" method="post" s... | {
"content_hash": "3122de020d214162ef515d714a3fc77d",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 165,
"avg_line_length": 62.96,
"alnum_prop": 0.6232528589580686,
"repo_name": "thirteen05/kidd",
"id": "70b044b09e301311d11de4e37cb663bc8987f7a0",
"size": "1574",
"binary... |
package compilerutil
// CancelFunction is a function that can be invoked to cancel the operation.
type CancelFunction func()
// CancelationHandle defines a handle for the cancelation of operations.
type CancelationHandle interface {
// Cancel marks the operation as canceled.
Cancel()
// WasCanceled returns whethe... | {
"content_hash": "22ff92c6457ef29f8f8726286a3ef8ab",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 83,
"avg_line_length": 23.87272727272727,
"alnum_prop": 0.7821782178217822,
"repo_name": "Serulian/compiler",
"id": "265170d3d59c4807cbc531db0e16228857259e7e",
"size": "147... |
package storage::oracle::zs::restapi::mode::pools;
use base qw(centreon::plugins::templates::counter);
use strict;
use warnings;
use centreon::plugins::templates::catalog_functions qw(catalog_status_threshold catalog_status_calc);
sub custom_status_output {
my ($self, %options) = @_;
my $msg = 'status : ' .... | {
"content_hash": "0502aa1bd40c1d5dd73fc54031f534ae",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 199,
"avg_line_length": 37.31638418079096,
"alnum_prop": 0.5191521574564724,
"repo_name": "Tpo76/centreon-plugins",
"id": "85f6e5a026d7af53343d156fcad9469f0378fc99",
"size... |
@class DBTEAMLOGSharingChangeLinkPolicyType;
NS_ASSUME_NONNULL_BEGIN
#pragma mark - API Object
///
/// The `SharingChangeLinkPolicyType` struct.
///
/// This class implements the `DBSerializable` protocol (serialize and
/// deserialize instance methods), which is required for all Obj-C SDK API route
/// objects.
///... | {
"content_hash": "338f5d963eb37288be2ec1e7553beb39",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 102,
"avg_line_length": 27.223880597014926,
"alnum_prop": 0.7609649122807017,
"repo_name": "dropbox/dropbox-sdk-obj-c",
"id": "e4a68ae5cafcb10abcfd3f0e6c2859849d6c5721",
"s... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>buchberger: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | {
"content_hash": "aa79b50c62633d2446995c80009a9bd5",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 264,
"avg_line_length": 42.0920245398773,
"alnum_prop": 0.5458387990088909,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "03574d1abc1a013127e24674f77fcf2875a3569d",
... |
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 336004 $ -->
<refentry xml:id="function.mysql-drop-db" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>mysql_drop_db</refname>
<refpurpose>Drop (delete) a MySQL database</refpurpose>
</refnamediv>
<refsynopsisdiv>
<warning>
&mysql.alternat... | {
"content_hash": "e9d32c76b031881b60906402f07ab54c",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 133,
"avg_line_length": 25.023255813953487,
"alnum_prop": 0.6840148698884758,
"repo_name": "mziyut/.vim",
"id": "de5ec3ed79827c5d020c6fed68b785047ebb8665",
"size": "3228",... |
RSpec.describe ThreeScaleToolbox::Commands::ApplicationCommand::Apply::ApplySubcommand do
let(:app_ref) { 'someapp' }
let(:arguments) { { remote: 'https://key@destination.example.com', application: app_ref } }
let(:options) { {} }
let(:service_class) { class_double(ThreeScaleToolbox::Entities::Service).as_stubb... | {
"content_hash": "0cd290fd25186962ce0eb1866b4437ee",
"timestamp": "",
"source": "github",
"line_count": 364,
"max_line_length": 120,
"avg_line_length": 36.58791208791209,
"alnum_prop": 0.5252290133653702,
"repo_name": "3scale/3scale_toolbox",
"id": "c4a1d09e00c34cb4c921320c3883903f939e624b",
"size"... |
namespace CompilerActions
{
template< typename Rule > struct actions : pegtl::nothing< Rule > {};
template<> struct actions< Grammar::Flags::push_empty_value >
{
static void apply( const pegtl::input& in, ProgramPtr& program )
{
program->save( "" );
}
};
templat... | {
"content_hash": "1932ef84106953297eb4ff6f53ba12f9",
"timestamp": "",
"source": "github",
"line_count": 401,
"max_line_length": 79,
"avg_line_length": 26.723192019950126,
"alnum_prop": 0.543766330720418,
"repo_name": "PsichiX/Jaeger",
"id": "160571f7d6603e344f016fdee8f4f31f17a622a4",
"size": "10889... |
using System;
using System.Text;
using System.Text.RegularExpressions;
namespace iSukces.Code
{
public class EndCodeEmbedder
{
public static string Append(string target, string codeToAppend, string end)
{
codeToAppend = codeToAppend?.Trim();
end = end.Trim();
... | {
"content_hash": "4ddd4caa013e9eef2251e5e0f4892f68",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 141,
"avg_line_length": 35.64150943396226,
"alnum_prop": 0.5304393859184754,
"repo_name": "isukces/isukces.code",
"id": "40c1dc01ff1cd0401d43317e843f41a7779077f9",
"size": ... |
import assert from "assert";
import fs from "fs";
import events from "events";
import zlib from "zlib";
import url from 'url';
import util from "util";
import crypto from "crypto";
import http from "http";
import net from "net";
import dgram from "dgram";
import querystring from 'querystring';
import path from "path";
... | {
"content_hash": "aefcdfe9a11d8f8cb0d4c0005099f8a3",
"timestamp": "",
"source": "github",
"line_count": 333,
"max_line_length": 99,
"avg_line_length": 28.47147147147147,
"alnum_prop": 0.5543719016981331,
"repo_name": "tarruda/DefinitelyTyped",
"id": "2c6b6fbb541d90b20e6068a8802c457311fdc4e9",
"size... |
<!doctype html>
<html style="background:#000;">
<head>
<title>$title</title>
<meta charset="utf-8">
<link rel="stylesheet" href="skin/reset-font-min.css">
<link rel="stylesheet" href="skin/clearfix.css">
<link rel="stylesheet" href="skin/style.css">
<style></style>
</head>
<body>
<div class="wrapper">
<div class="... | {
"content_hash": "199a2a75a46c86bfe1693ef6b1be5285",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 122,
"avg_line_length": 39.183673469387756,
"alnum_prop": 0.5072916666666667,
"repo_name": "cythilya/Code_Snippets",
"id": "d149f231ec5129f5bf109544764177b5387f3d9d",
"size... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of GETLOGIN</TITLE>
</HEAD><BODY>
<H1>GETLOGIN</H1>
Section: Linux Programmer's Manual (3)<BR>Updated: 2013-04-19<BR><A HREF="#index">Index</A>
<A HREF="../index.html">Return to Main Contents</A><HR>
<A NAME="lbAB"> </A>
<... | {
"content_hash": "e811a3e6d6d12dcb4bb71d0498e46ec4",
"timestamp": "",
"source": "github",
"line_count": 305,
"max_line_length": 97,
"avg_line_length": 21.367213114754097,
"alnum_prop": 0.6825226331133958,
"repo_name": "cs-education/sysassets",
"id": "7786cbef1fa287b691c7c7dafa46575b2873615d",
"size... |
//// [emitClassExpressionInDeclarationFile2.ts]
export var noPrivates = class {
static getTags() { }
tags() { }
private static ps = -1
private p = 12
}
// altered repro from #15066 to add private property
export class FooItem {
foo(): void { }
name?: string;
private property = "capitalism"... | {
"content_hash": "d0629482389b66adab019005affdde33",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 93,
"avg_line_length": 28.955555555555556,
"alnum_prop": 0.5495011511895626,
"repo_name": "minestarks/TypeScript",
"id": "fbeae9f8a4fa1b0db1ffa51d216d5ceb5e7d724c",
"size":... |
/******************************************************************************
*
* Module Name: utxface - External interfaces, miscellaneous utility functions
*
*****************************************************************************/
/*************************************************************************... | {
"content_hash": "6ee8ad62801199a43c4ce2a744d045b4",
"timestamp": "",
"source": "github",
"line_count": 715,
"max_line_length": 80,
"avg_line_length": 30.801398601398603,
"alnum_prop": 0.5892930118512464,
"repo_name": "mrtska/StarRing",
"id": "a8aeef6acc5d83d122b6fe70ab573e3f52cdebb7",
"size": "220... |
package org.wso2.carbon.core.transports.util;
import org.apache.axis2.context.ConfigurationContext;
import org.apache.axis2.description.AxisService;
import org.apache.http.HttpStatus;
import org.apache.http.protocol.HTTP;
import org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils;
import org.wso2.carbon.core.tra... | {
"content_hash": "86c4f9fa45e5527cf63b141e3663d163",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 97,
"avg_line_length": 42.59183673469388,
"alnum_prop": 0.6914230953521802,
"repo_name": "maheshika/carbon4-kernel",
"id": "c9751d08294e647ee1694159589ed859308db401",
"size... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>Description of change_shallow_bathy</title>
<meta name="keywords" content="change_shallow_bathy">
<meta name="description" content="Deepens shallow nodes by setting a mi... | {
"content_hash": "26d3e6c397c5bebfc2672094d538df92",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 197,
"avg_line_length": 48.39393939393939,
"alnum_prop": 0.6452723857232311,
"repo_name": "pwcazenave/fvcom-toolbox",
"id": "cab3b47a20fc565caff8e5d421bd83d5376f5031",
"si... |
#include "server_http.hpp"
//Added for the json-example
#define BOOST_SPIRIT_THREADSAFE
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/json_parser.hpp>
using namespace std;
//Added for the json-example:
using namespace boost::property_tree;
typedef SimpleWeb::Server<SimpleWeb::HTTP> HttpServe... | {
"content_hash": "96a4b07b3a4754490976ab6cd2f743f9",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 143,
"avg_line_length": 45.549019607843135,
"alnum_prop": 0.6123547137322428,
"repo_name": "weclaw1/aws_tsp",
"id": "7dd7738cef56a842449404d6f2e78cfd9dd3773c",
"size": "46... |
layout: redirect
title: "Google Chrome"
moved_to: blog/2008/google-chrome/
---
| {
"content_hash": "184d6f9909f9ea46e7ee9ad1e5eacbc6",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 34,
"avg_line_length": 19.75,
"alnum_prop": 0.7341772151898734,
"repo_name": "tommy-carlier/blog.tcx.be",
"id": "0442e39c50072d4fa23a3aca771806bb3eccc0ca",
"size": "83",
"... |
<@pp.dropOutputFile />
<#macro doError>
{
byte[] buf = new byte[in.end - in.start];
in.buffer.getBytes(in.start, buf, 0, in.end - in.start);
throw new NumberFormatException(new String(buf, com.google.common.base.Charsets.UTF_8));
}
</#macro>
<#list cast.types as type>
<#if type.major == "EmptyStr... | {
"content_hash": "b3119039d1b363e21d6095f8fa3fe21d",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 154,
"avg_line_length": 40,
"alnum_prop": 0.6424342105263158,
"repo_name": "sohami/drill",
"id": "e0942e9df73c0746f28d634e72b78c281cc742ad",
"size": "3841",
"binary": fal... |
/**************************************************************************//**
* @file efr32bg14p_vdac_opa.h
* @brief EFR32BG14P_VDAC_OPA register and bit field definitions
* @version 5.4.0
******************************************************************************
* # License
* <b>Copyright 2017 Silicon Labo... | {
"content_hash": "48424efa701ce3e4c82491c0ae66f6d9",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 93,
"avg_line_length": 47.3134328358209,
"alnum_prop": 0.5678233438485805,
"repo_name": "basilfx/EFM2Riot",
"id": "0416560ce10b81ddddcfb5175314a8840453b67d",
"size": "3170"... |
package ru.job4j.school;
import java.util.Objects;
/**
* class Student.
*/
public class Student {
/**
* score.
*/
private int score;
/**
* name.
*/
private String name;
/**
* getter for name.
* @return name
*/
public String getName() {
return name;... | {
"content_hash": "15b0e7bb0e4554195af3d4a8c4d3129d",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 55,
"avg_line_length": 17.57894736842105,
"alnum_prop": 0.48877245508982037,
"repo_name": "mixed2004/borisovm",
"id": "e6e2537449d6433a48f18540b8c744a32341eef7",
"size": "1... |
A single image on a spritesheet.
@class Sprite
]=]
local Sprite = {}
Sprite.ClassName = "Sprite"
Sprite.__index = Sprite
--[=[
Data used to construct a sprite.
@interface SpriteData
.Texture string
.Size Vector2
.Position Vector2
.Name string
@within Sprite
]=]
--[=[
Constructs a new sprite
@param data Sp... | {
"content_hash": "7f1dcf440c570c95dbc3aadb502db3d3",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 55,
"avg_line_length": 18.6,
"alnum_prop": 0.7237386269644334,
"repo_name": "Quenty/NevermoreEngine",
"id": "ed76c1bb69d62fa15b2358032bc42a786b04c075",
"size": "1215",
"b... |
require 'commander'
require 'fastlane/version'
require_relative 'download_screenshots'
require_relative 'options'
require_relative 'module'
require_relative 'generate_summary'
require_relative 'runner'
HighLine.track_eof = false
module Deliver
class CommandsGenerator
include Commander::Methods
def self.st... | {
"content_hash": "1829710394e6352a8ad94487d8ef1065",
"timestamp": "",
"source": "github",
"line_count": 186,
"max_line_length": 126,
"avg_line_length": 39.456989247311824,
"alnum_prop": 0.6570377435617931,
"repo_name": "luongm/fastlane",
"id": "b15c68a370ac5ae02b6a0ccc98deb418964f15ce",
"size": "73... |
define('admin/plugins/sql-auth', ['settings'], function(Settings) {
'use strict';
/* globals $, app, socket, require */
var ACP = {};
ACP.init = function() {
Settings.load('sql-auth', $('.sql-auth-settings'));
$('#save').on('click', function() {
Settings.save('sql-auth', $('.sql-auth-settings'), function(... | {
"content_hash": "91158b7a70621e72903cdb078cec5121",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 67,
"avg_line_length": 23.192307692307693,
"alnum_prop": 0.5754560530679934,
"repo_name": "zetas/nodebb-plugin-sql-auth",
"id": "090bca119014d91fad3199cae878cf14c096c145",
... |
<script src="javascripts/lib/jquery-2.0.3.min.js"></script>
<script src="javascripts/seq_page_controls.js"></script>
<script src="javascripts/seq_responsive_gallery.js"></script>
<script>
$(function(){
new SEQ.page_controls.Menu($('header .site-menu'), $('header .site-menu-control'));
});
</script>
| {
"content_hash": "a1c8a83a347be7707d13570b79ab2c26",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 87,
"avg_line_length": 34.333333333333336,
"alnum_prop": 0.6828478964401294,
"repo_name": "amster/responsive_album",
"id": "9ee788d94e8aec7bf5906484e9024db48b439f29",
"size"... |
<?php
include 'init_local.php';
loadlib('wof_repo');
$rsp = db_fetch("
SELECT repo
FROM boundaryissues_repo
");
if (! $rsp['ok']) {
echo "Could not load repos from db\n";
exit;
}
$db_repos = array();
foreach ($rsp['rows'] as $row) {
$db_repos[] = $row['repo'];
}
$dh = opendir('/usr/local/data');
while ($file ... | {
"content_hash": "d04828a747acb9ed8523a6738612ece6",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 56,
"avg_line_length": 20.75609756097561,
"alnum_prop": 0.6028202115158637,
"repo_name": "whosonfirst/whosonfirst-www-boundaryissues",
"id": "eee23fd01fc7f2593f604005bf90359a... |
package com.gemstone.gemfire.security;
import java.util.Properties;
import com.gemstone.gemfire.LogWriter;
import com.gemstone.gemfire.cache.CacheCallback;
import com.gemstone.gemfire.distributed.DistributedMember;
import com.gemstone.gemfire.distributed.DistributedSystem;
// TODO Add example usage of this interfa... | {
"content_hash": "3e8a51fd97e62bbb75da52d7775554c1",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 83,
"avg_line_length": 39.273972602739725,
"alnum_prop": 0.699337286362051,
"repo_name": "gemxd/gemfirexd-oss",
"id": "5e9a752613de63b7bb0780eaf04fb99aad6d684e",
"size": "3... |
Sequel.migration do
change do
create_table :queries do
primary_key :id
Integer :timestamp
String :query
String :ip_hash
end
end
end
| {
"content_hash": "9b6b4234241b99cea67a2aff3f2f9f83",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 28,
"avg_line_length": 16.8,
"alnum_prop": 0.625,
"repo_name": "justinj/reconstruction-database",
"id": "3aa6068d6b1e83afb2851a569f2b91c189382b34",
"size": "168",
"binary... |
package org.openqa.grid.internal;
import org.openqa.grid.common.RegistrationRequest;
import org.openqa.selenium.remote.DesiredCapabilities;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@SuppressWarnings({"JavaDoc"})
public class RemoteProxyFactory {
/**
* Create a simple proxy with 1... | {
"content_hash": "ae7be3784b3fd45ac27cba87b44a6a8f",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 99,
"avg_line_length": 32.07692307692308,
"alnum_prop": 0.6423432682425488,
"repo_name": "cisco-open-source/selenium",
"id": "c8a779ed0c25ea51f545555e7cbb2a0f344995af",
"si... |
echo "Password: root"
ssh root@localhost -p 2222
| {
"content_hash": "f0a2f07fbcc36288f1654ab6d34d3480",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 26,
"avg_line_length": 24.5,
"alnum_prop": 0.7551020408163265,
"repo_name": "FunTimeCoding/ruby-skeleton",
"id": "d54a41dedfac8ed6b68188f55fe17014a8afa90c",
"size": "63",
... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "c210b0cfbcccfcf66369e9f9f5462b07",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "2634da908d1f0a28caecddbd59d45c4054336d58",
"size": "183... |
var App;
App = function() {
var catchDom, dom, events, functions, initialize, st, subscribeEvents;
return dom = {}, st = {
body: "body",
frmParsley: ".frm-parsley"
}, catchDom = function() {
dom.body = $(st.body), dom.frmParsley = $(st.frmParsley);
}, subscribeEvents = function(... | {
"content_hash": "d23f3dfb8896307578c5aec7512ca11a",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 137,
"avg_line_length": 37.17307692307692,
"alnum_prop": 0.49405069839627525,
"repo_name": "frontend-labs/demos.frontendlabs",
"id": "c3eb60c0cbc24012c9307611c84d389ad7640cac... |
package com.wavefront.agent.histogram;
import com.squareup.tape.ObjectQueue;
import com.tdunning.math.stats.TDigest;
import java.util.Random;
import java.util.logging.Level;
import java.util.logging.Logger;
import wavefront.report.ReportPoint;
/**
* Dummy sender. Consumes TDigests from an ObjectQueue and sleeps fo... | {
"content_hash": "16f666c3ce6279e41b271f06582500a5",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 107,
"avg_line_length": 24.697674418604652,
"alnum_prop": 0.699623352165725,
"repo_name": "moribellamy/java",
"id": "6353cf84e1bf2a7c5c75d5bdfb29b464401497cf",
"size": "106... |
require 'spec_helper'
describe 'template routes' do
it 'routes get to the templates controller index' do
expect(get: '/templates').to route_to(
controller: 'templates',
action: 'index'
... | {
"content_hash": "910dd1bcc0ce0292ead7df98b32ae9f3",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 69,
"avg_line_length": 38.16,
"alnum_prop": 0.3862683438155136,
"repo_name": "xirun/panamax-api",
"id": "d00eb368d2634e5b4f17e7f71a276d5ba98cad32",
"size": "1908",
"binar... |
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ash/power/ml/adaptive_screen_brightness_manager.h"
#include <memory>
#include <vector>
#include "base/test/test_mock_time_task_runner.h"
#include "ba... | {
"content_hash": "f658a656e307212500c39389a032d4a3",
"timestamp": "",
"source": "github",
"line_count": 776,
"max_line_length": 80,
"avg_line_length": 38.045103092783506,
"alnum_prop": 0.7164244826067812,
"repo_name": "chromium/chromium",
"id": "6d291f09eaf6aa99bd91c6f6de42524704f574cc",
"size": "2... |
export * from "./helpers/optionally-displayed.component";
export * from "./inputs/text-field.component";
export * from "./inputs/text-area.component";
export * from "./validators/rules";
export * from "./validators/rule-runner";
export * from "./validators/error-messages";
| {
"content_hash": "f4a1558a25fe261e46b404aaa08fa4f0",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 57,
"avg_line_length": 45.666666666666664,
"alnum_prop": 0.7299270072992701,
"repo_name": "LeSocialCompany/Roomeos",
"id": "05f721736bcf2d14a224d8deefbf974030d23ada",
"size"... |
var title = "Picto-Pattern";
var desc = "Add and subtract until you reach 11.";
var offer = "Pop Quiz! How many Giants are there? <split butt_txt=\"Eleven!\" \/> Isn't that such a lovely prime number? Sure there are other numbers out there like 5 or 29, but nothing compares to the heavenly ring that 11 makes. <split bu... | {
"content_hash": "faeda169b4657a04240dffa1489fa08f",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 354,
"avg_line_length": 28.316831683168317,
"alnum_prop": 0.6465034965034965,
"repo_name": "Whizy/eleven-gsjs",
"id": "f1692e38b6b7026827fc362eedfc55b15b3eccd8",
"size": "... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=type.c_double.html">
</head>
<body>
<p>Redirecting to <a href="type.c_double.html">type.c_double.html</a>...</p>
<script>location.replace("type.c_double.html" + location.search + location.hash);</script>
</body>
</html> | {
"content_hash": "2b894db9b79d59147561def9b7797e64",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 94,
"avg_line_length": 31.3,
"alnum_prop": 0.65814696485623,
"repo_name": "liebharc/clFFT",
"id": "3de07823ff615ad7b77741b0a46a15e1daa32384",
"size": "313",
"binary": fal... |
package org.elfwerks.sandbox.corba;
import java.net.URL;
import java.net.URLConnection;
import java.util.Properties;
import org.omg.CORBA.ORB;
import org.omg.CORBA.Object;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.elfwerks.sandbox.servant.PingService;
... | {
"content_hash": "7e9a569205e53aeffae6c96e939f2ada",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 100,
"avg_line_length": 33.87719298245614,
"alnum_prop": 0.6069394096323149,
"repo_name": "egustafson/sandbox",
"id": "cead2194ea3ef8627af83ddf88fa5001c2ff46ea",
"size": "1... |
package com.intellij.plugins.haxe.ide.highlight;
import com.intellij.openapi.editor.colors.TextAttributesKey;
import com.intellij.openapi.fileTypes.SyntaxHighlighter;
import com.intellij.openapi.options.colors.AttributesDescriptor;
import com.intellij.openapi.options.colors.ColorDescriptor;
import com.intellij.openap... | {
"content_hash": "03731507d3dc44b85f85c84621669cc5",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 182,
"avg_line_length": 53.714285714285715,
"alnum_prop": 0.7232776089159068,
"repo_name": "HaxeFoundation/intellij-haxe",
"id": "fc97efad4a95691af5770c9f6aa06a29ec01082c",
... |
namespace Slang
{
struct DllImportContext
{
IRModule* module;
DiagnosticSink* diagnosticSink;
TargetRequest* targetReq;
SharedIRBuilder sharedBuilder;
IRFunc* loadDllFunc = nullptr;
IRFunc* loadFuncPtrFunc = nullptr;
IRFunc* stringGetBufferFunc = nullptr;
IRFunc* createBuiltinIntrins... | {
"content_hash": "4f884caed956af2840195233e8350a7b",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 132,
"avg_line_length": 34.261538461538464,
"alnum_prop": 0.6166741505762611,
"repo_name": "csyonghe/slang",
"id": "8b611feba08df3fec718111c76365664d038bf0a",
"size": "686... |
package s3api
import (
"encoding/xml"
"time"
)
// Status represents lifecycle configuration status
type ruleStatus string
// Supported status types
const (
Enabled ruleStatus = "Enabled"
Disabled ruleStatus = "Disabled"
)
// Lifecycle - Configuration for bucket lifecycle.
type Lifecycle struct {
XMLName xml.N... | {
"content_hash": "75b594506a5f7a59dba47d9a2ebeb22b",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 101,
"avg_line_length": 26.83783783783784,
"alnum_prop": 0.7245720040281974,
"repo_name": "chrislusf/seaweedfs",
"id": "6e2c8cfa2c801e4d12fa644a6d60d0bc9aee41ba",
"size": ... |
package org.slieb.throwables;
import java.lang.FunctionalInterface;
import java.lang.SuppressWarnings;
import java.lang.Throwable;
import java.util.function.Consumer;
import java.util.function.LongBinaryOperator;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Generated from LongBinaryOperator
* Exten... | {
"content_hash": "7455c3282769ffce463088b136074d44",
"timestamp": "",
"source": "github",
"line_count": 182,
"max_line_length": 183,
"avg_line_length": 36.56043956043956,
"alnum_prop": 0.6767357980162308,
"repo_name": "StefanLiebenberg/throwable-interfaces",
"id": "b1bfe3bb5391483101ba5f3b338fe311f6b... |
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;
using NMF.Models.Repository;
using NMF.Serialization;
using NMF.Utilities;
using System;
using System.... | {
"content_hash": "09e01048c0faeba4d39d016556e44d4a",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 135,
"avg_line_length": 29.55,
"alnum_prop": 0.6649746192893401,
"repo_name": "georghinkel/ttc2017smartGrids",
"id": "5bd0732ed30e54166ad125f927784822757d254a",
"size": "22... |
package org.apache.shiro.grails;
import org.codehaus.groovy.grails.commons.AbstractInjectableGrailsClass;
public class DefaultRealmGrailsClass extends AbstractInjectableGrailsClass implements RealmGrailsClass {
public DefaultRealmGrailsClass(Class<?> wrappedClass) {
super(wrappedClass, RealmArtefactHandl... | {
"content_hash": "ef167561bffd700a55085877e5abd259",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 104,
"avg_line_length": 33.8,
"alnum_prop": 0.8136094674556213,
"repo_name": "putin266/Vote",
"id": "3b2146cccb5c1187ab130cfc2b9f00f734bc595f",
"size": "1086",
"binary": ... |
package graphql.language;
import com.google.common.collect.ImmutableList;
import graphql.Internal;
import graphql.PublicApi;
import graphql.util.TraversalControl;
import graphql.util.TraverserContext;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.u... | {
"content_hash": "b1f5e21b140a40c1c2faf787f33ab3af",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 156,
"avg_line_length": 28.49700598802395,
"alnum_prop": 0.6509770960285775,
"repo_name": "graphql-java/graphql-java",
"id": "999b58712febf41d1652656c2fb9308238237ff7",
"s... |
#ifndef UTIL_RECORDIO_SINGLE_PROTO_H_
#define UTIL_RECORDIO_SINGLE_PROTO_H_
#include <string>
#include <google/protobuf/message_lite.h>
void WriteCompressedProtoToFile(
const google::protobuf::MessageLite& message,
const std::string& filename);
#endif /* UTIL_RECORDIO_SINGLE_PROTO_H_ */
| {
"content_hash": "d759eb0b70df2638b7ccd0ff0ff23bf2",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 49,
"avg_line_length": 21.571428571428573,
"alnum_prop": 0.7417218543046358,
"repo_name": "chubbymaggie/Nice2Predict",
"id": "619d61e7c0eccc94c09bd35ee826e832b18a64c4",
"si... |
<!-- HTML header for doxygen 1.8.6-->
<!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" conte... | {
"content_hash": "acb92b81d2b47b90b2e6e6d3179b3dbf",
"timestamp": "",
"source": "github",
"line_count": 220,
"max_line_length": 476,
"avg_line_length": 55.404545454545456,
"alnum_prop": 0.6372138813684469,
"repo_name": "lucasbrsa/OpenCV-3.2",
"id": "f174d8dc8aace2f059bdea31058ff0bd4488617a",
"size"... |
//
// DTBaseTableViewController.h
// 堆糖
//
// Created by ZYZ on 16/3/16.
// Copyright © 2016年 ZYZ. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface DTBaseTableViewController : UITableViewController
/** */
@property(nonatomic,strong)NSMutableArray *groups;
@end
| {
"content_hash": "8e6ca509f4a4c9781f3b79e9cf10997b",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 60,
"avg_line_length": 18.533333333333335,
"alnum_prop": 0.7158273381294964,
"repo_name": "MarkTangs/DuiTang",
"id": "fda0d95fb6ea8dab2449190f1a1963c16dd65840",
"size": "28... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.