text stringlengths 2 1.04M | meta dict |
|---|---|
/* Global Container */
.liquidDesign #globalContainer {
width: 80% !important;
}
.liquidDesign.sidebarDisplay.sidebarMode #globalContainer {
width: calc(90% - 206px) !important;
}
.liquidDesign:not(.sidebarDisplay) #globalContainer {
padding-right: 0 !important;
}
/* Header */
#fbCoverImageContainer {
... | {
"content_hash": "934f0d5900dc8f2c91bee5125264d82d",
"timestamp": "",
"source": "github",
"line_count": 337,
"max_line_length": 104,
"avg_line_length": 20.729970326409497,
"alnum_prop": 0.6699112510735757,
"repo_name": "rockwillj/Workplace-Readable",
"id": "c62a600d88c0a01063aaaec651e934947183bbd8",
... |
package ecommerce
import org.json4s.FullTypeHints
import org.json4s.ext.EnumSerializer
import pl.newicom.dddd.messaging.event.AggregateSnapshotId
import pl.newicom.dddd.office.OfficeInfo
import pl.newicom.dddd.serialization.JsonSerializationHints
package object sales {
implicit val salesOffice: OfficeInfo[SalesOff... | {
"content_hash": "27dc85ba04ca2fc9699394deb70b0059",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 108,
"avg_line_length": 29.476190476190474,
"alnum_prop": 0.721324717285945,
"repo_name": "dominhtung/ddd-leaven-akka-v2",
"id": "9b563880f21501de26e26502602e66d7600c6587",
... |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.1//EN"
"http://www.puppycrawl.com/dtds/configuration_1_1.dtd">
<module name="Checker">
<module name="TreeWalker">
<module name="TypeName">
<property name="format" value="^[... | {
"content_hash": "9b5d7e9cdaa946742278c66d03d1f0da",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 63,
"avg_line_length": 30.642857142857142,
"alnum_prop": 0.5827505827505828,
"repo_name": "mkordas/checkstyle",
"id": "74f625fd3d3761b1f7adbff06ac6af91426779a9",
"size": "4... |
cinema.views.StaticSearchOptionsWidget = Backbone.View.extend({
events: {
'change input': function (e) {
var el = $(e.target),
option = el.closest('.c-options-option').attr('option_id'),
value = el.val();
this.updateIndex(option, value);
},
... | {
"content_hash": "1e50249e19f47ab086ac61bf07f56723",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 123,
"avg_line_length": 35.78169014084507,
"alnum_prop": 0.5264711670930919,
"repo_name": "Kitware/cinema",
"id": "9a0583e7310263c8c3af267f231bd3f7df84665b",
"size": "5081... |
package model
import "google.golang.org/appengine/datastore"
//go:generate generator
// Template contains data about a code template assigned to a Task
type Template struct {
Language string `datastore:",index"`
Path string `datastore:",noindex"`
Challenge *datastore.Key `datastore:",index"`... | {
"content_hash": "3fddb97dacbc0af01aab930b8190159c",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 66,
"avg_line_length": 26.916666666666668,
"alnum_prop": 0.7120743034055728,
"repo_name": "coduno/api",
"id": "1e05931d5ec2b9b25d76b9bd0d5eb2c4a7687c5b",
"size": "323",
"... |
declare function stringify(data: any): string;
export default stringify;
| {
"content_hash": "cd3036fd3a912e3937c61b2ecfbf4ea9",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 46,
"avg_line_length": 24.666666666666668,
"alnum_prop": 0.7972972972972973,
"repo_name": "chaitanyaT99/irRemoteServer",
"id": "1d6d1ac4b9b1b1c99f2d545df9e61f9fb0a7899b",
"s... |
package io.ttl.sys.math;
import io.ttl.val.Frame;
import io.ttl.val.Nil;
import io.ttl.val.SysFun;
import io.ttl.val.Val;
public class Round extends SysFun {
@Override
protected Val syscall(Frame frame) {
// TODO
return Nil.NIL;
}
}
| {
"content_hash": "58307ddfb6956765de5ec2ad2f451309",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 40,
"avg_line_length": 17.6,
"alnum_prop": 0.6590909090909091,
"repo_name": "invider/ttl",
"id": "6c179349e27276ded45e455b9a2d3071bc241383",
"size": "264",
"binary": fals... |
$(document).ready(function () {
// Feeds comunistes.cat
$('#feed-bloc').rssfeed('http://bloc.comunistes.cat/feeds/posts/default',{
snippet: false,
limit: 1
});
$('#feed-imatges').rssfeed('http://imatges.comunistes.cat/feeds/posts/default',{
snippet: false,
limit: 1
});
$('#feed-videos').rssfeed('http://... | {
"content_hash": "5287b740c55cd867976214e56d77fa33",
"timestamp": "",
"source": "github",
"line_count": 288,
"max_line_length": 113,
"avg_line_length": 29.979166666666668,
"alnum_prop": 0.6696780171415335,
"repo_name": "ComunistesdeCatalunya/comunistesdecatalunya.github.io",
"id": "ed1b54dd97873c9dda... |
package com.google.common.primitives;
import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkElementIndex;
import static com.google.common.base.Preconditions.checkNotNull;
import static com.google.common.base.Preconditions.checkPositionIndexes;
impo... | {
"content_hash": "c99bf3c2abee0be4f4973d7f82ae02cb",
"timestamp": "",
"source": "github",
"line_count": 592,
"max_line_length": 90,
"avg_line_length": 32.380067567567565,
"alnum_prop": 0.6302363190568104,
"repo_name": "privatemousse/guava",
"id": "eb62d9f0a2171c5b965c1ec9dceb1ce3752400e9",
"size": ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.IO;
using MSR.Data.VersionControl;
using MSR.Data.Entities.DSL.Mapping;
using MSR.Data.Entities.DSL.Selection;
namespace MSR.Data.Entities.Mapping
{
public class ProjectFileMapper : EntityMapper<ProjectFile,CommitMappingEx... | {
"content_hash": "6f734fd8e23ba05eab80d89ec23b0bb3",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 112,
"avg_line_length": 26.9873417721519,
"alnum_prop": 0.6894934333958724,
"repo_name": "kirnosenko/msr-tools",
"id": "8aad5ec03fb460c9340854d946ee9a742f4b9659",
"size": "... |
package org.robolectric.shadows;
import android.os.Build;
import android.os.SharedMemory;
import android.system.ErrnoException;
import android.system.OsConstants;
import java.io.File;
import java.io.FileDescriptor;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.nio.ByteBuffer;
import java.nio... | {
"content_hash": "e175bda1978211f90e26ec5975607418",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 100,
"avg_line_length": 36,
"alnum_prop": 0.7331111111111112,
"repo_name": "spotify/robolectric",
"id": "735baf981c4eb40a198b656febdd51d19b3b6d41",
"size": "4500",
"bina... |
using System;
using System.Collections.Generic;
namespace ClosedXML.Excel
{
public interface IXLRangeColumns : IEnumerable<IXLRangeColumn>
{
/// <summary>
/// Adds a column range to this group.
/// </summary>
/// <param name="columRange">The column range to add.</param>
... | {
"content_hash": "c3c87fa8bcccd276052b32e2d2b07198",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 144,
"avg_line_length": 31.64,
"alnum_prop": 0.6049304677623262,
"repo_name": "ClosedXML/ClosedXML",
"id": "ad9711850d8d32b94f5e2cc5c03534f12fb4f32e",
"size": "1582",
"bi... |
package ninja.bodyparser;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.databind.JsonMappingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import ninja.ContentTypes;
import ninja.Context;
import ... | {
"content_hash": "57835bf504d44f32ef57c17329f739b3",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 77,
"avg_line_length": 28.041666666666668,
"alnum_prop": 0.7310549777117384,
"repo_name": "tom1120/ninja",
"id": "7371926a487fb6ecedbf2ea237cf80414b7952dc",
"size": "1970",... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "8b98aa4c58e95d71c52214fe48909585",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "bac5c8d82eba9960984e1541bbcaeaf68b22dcf2",
"size": "172... |
This directory contains the default CLI build, used by the majority of services who don't add custom commands to their service CLIs. As of Jan 2018, default CLI builds are uploaded with every SDK release, along with a SHA256SUMS file in the same directory.
Dependencies:
- Go 1.8+
- `../../cli` which contains the servi... | {
"content_hash": "c3b2aeff98f25a792620216bfced97e7",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 256,
"avg_line_length": 72.5,
"alnum_prop": 0.7620689655172413,
"repo_name": "vishnu2kmohan/dcos-commons",
"id": "62b6496435052215fe66819b7f94a6ecbfe9331e",
"size": "595",
... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "b452f9a10ccb25e38c1219b217a19abb",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "28153f4cba72476f18e38eceab7194e30051ad3a",
"size": "17... |
Check out the [API Reference](http://alt.js.org/docs/) for full in-depth docs. For a high-level walk-through on flux, take a look at the [Getting Started](http://alt.js.org/guide/) guide. What follows below applies only to the master branch of `alt` and not the latest distribution. Any questions? ask in the gitter room... | {
"content_hash": "ca4e925968eba31e6cb27cb04def96c1",
"timestamp": "",
"source": "github",
"line_count": 882,
"max_line_length": 557,
"avg_line_length": 33.81972789115646,
"alnum_prop": 0.7384759797512488,
"repo_name": "BenjamH/post-it-react",
"id": "de7ed33a45f9c2a7dc3ad1b1c9f7a8ff105bc1f8",
"size"... |
<?php
namespace Bowhead\Http\Controllers;
use Bowhead\Traits\Mapper;
use Illuminate\Http\Request;
use Dingo\Api\Routing\Helpers;
use Illuminate\Routing\Controller;
/**
* Class Accounts
* @package Bowhead\Http\Controllers
*/
class Accounts extends Controller
{
/**
* @var
*/
protected $dataArray... | {
"content_hash": "bfe2111c3cbfd5d17fe4709bf1737431",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 89,
"avg_line_length": 19.061855670103093,
"alnum_prop": 0.5392103839913467,
"repo_name": "maximerchrd/bowhead",
"id": "b98ebcb558230040b698b27f1c253829dbe10faa",
"size": "... |
$:.unshift "#{File.dirname(__FILE__)}/lib"
require 'amqp_listener' | {
"content_hash": "8af451701264a29a4353482d01a3f2a8",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 42,
"avg_line_length": 33,
"alnum_prop": 0.6666666666666666,
"repo_name": "brontes3d/amqp_listener",
"id": "8463bc18c3a1cfb22551064c4e82c162655a67d9",
"size": "66",
"binar... |
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.2">
<compounddef id="df/da0/struct_label_map" kind="struct" prot="public">
<compoundname>LabelMap</compoundname>
<sectiondef kind="p... | {
"content_hash": "115da265b7fb57ab532989888512155a",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 213,
"avg_line_length": 59.44186046511628,
"alnum_prop": 0.6948356807511737,
"repo_name": "seguijoaquin/taller2-appserver",
"id": "8515855aa3b308bfe9725e6bf99832aade2030f6",
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_151) on Wed Jul 17 13:50:50 MST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wildf... | {
"content_hash": "45f6152fc50ab7d55514cab4916ff7eb",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 488,
"avg_line_length": 44.92397660818713,
"alnum_prop": 0.6528247852121843,
"repo_name": "wildfly-swarm/wildfly-swarm-javadocs",
"id": "4299f73f1db11cb39c155c816523f331b4b5... |
from django.conf.urls import url
from api import views
urlpatterns = [
url(r'^search/$', views.package_search, name='package_search'),
url(r'^info/$', views.package_info, name='package_info'),
url(r'^register/$', views.package_register, name='package_register'),
url(r'^remove/$', views.package_remove,... | {
"content_hash": "1e1887fb0a854903621dca6b64870071",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 76,
"avg_line_length": 48.529411764705884,
"alnum_prop": 0.6654545454545454,
"repo_name": "colajam93/aurpackager",
"id": "741d45cb7412725b9f06bd0839f9ac31bb10a5ed",
"size":... |
package org.apereo.cas.adaptors.gauth;
import org.apereo.cas.config.CasCoreAuthenticationConfiguration;
import org.apereo.cas.config.CasCoreAuthenticationHandlersConfiguration;
import org.apereo.cas.config.CasCoreAuthenticationMetadataConfiguration;
import org.apereo.cas.config.CasCoreAuthenticationPolicyConfiguration... | {
"content_hash": "358c9cf6bdf9987ee731a5b13b087cf8",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 117,
"avg_line_length": 47.39047619047619,
"alnum_prop": 0.8263665594855305,
"repo_name": "Unicon/cas",
"id": "07294db1e1562b8daea64b78a70181a9af711444",
"size": "4976",
... |
// Copyright 2020, Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | {
"content_hash": "1022b9fb60ab2eb53820536b48f8e7df",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 106,
"avg_line_length": 35.25,
"alnum_prop": 0.7330293819655522,
"repo_name": "GoogleCloudPlatform/functions-framework-dotnet",
"id": "a28bf15deb273539342e992f85ec5a30b1180dc... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/flask_tdd.iml" filepath="$PROJECT_DIR$/.idea/flask_tdd.iml" />
</modules>
</component>
</project> | {
"content_hash": "547ada038de3a502f97e15dab3c77612",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 112,
"avg_line_length": 33.75,
"alnum_prop": 0.6555555555555556,
"repo_name": "UrangUrang/flask-tdd-with-testing-goat",
"id": "74a60251811a7b63c8f444ac64a251c21dded897",
"si... |
package com.google.thirdparty.publicsuffix;
import com.google.common.annotations.GwtCompatible;
/**
* Specifies the type of a top-level domain definition.
*/
@GwtCompatible
enum PublicSuffixType {
/** private definition of a top-level domain */
PRIVATE(':', ','),
/** ICANN definition of a top-level domain ... | {
"content_hash": "7f9bc33e1ce096cf8c0a3135d4a5843e",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 87,
"avg_line_length": 26.16,
"alnum_prop": 0.6964831804281345,
"repo_name": "jakubmalek/guava",
"id": "ab6fd1a0132732bb9b787c7c2cb4c9936f575203",
"size": "1902",
"binary... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0) on Mon Jan 13 19:53:38 EST 2014 -->
<title>Uses of Class org.drip.service.env.CDSManager</title>
<meta name="date" content="2014... | {
"content_hash": "a672e5b9eff2562f21733c7d8f65a94e",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 125,
"avg_line_length": 36.504347826086956,
"alnum_prop": 0.5898046688899476,
"repo_name": "tectronics/creditsuite",
"id": "9760cd362bc609aca502039b59579a4a6fcbc7cd",
"siz... |
package io.mandrel.requests.http;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.experimental.Accessors;
@Data
@Accessors(chain = true, fluent = true)
public class Cookie implements Serializable {
private static final long serialVersionUID = -... | {
"content_hash": "4b4cd7eebd6eab12d78aea0d1ac6a356",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 131,
"avg_line_length": 20.28301886792453,
"alnum_prop": 0.7423255813953489,
"repo_name": "Treydone/mandrel",
"id": "e97e4a4064ceefdfd412c660ea0bdd32dfa290fb",
"size": "185... |
create table ACT_RU_TIMER_JOB (
ID_ NVARCHAR2(64) NOT NULL,
REV_ INTEGER,
TYPE_ NVARCHAR2(255) NOT NULL,
LOCK_EXP_TIME_ TIMESTAMP(6),
LOCK_OWNER_ NVARCHAR2(255),
EXCLUSIVE_ NUMBER(1,0) CHECK (EXCLUSIVE_ IN (1,0)),
EXECUTION_ID_ NVARCHAR2(64),
PROCESS_INSTANCE_ID_ NVARCHAR2(64),
PROC_... | {
"content_hash": "7c2f6d771017434a69e3b4d61c3242e2",
"timestamp": "",
"source": "github",
"line_count": 213,
"max_line_length": 168,
"avg_line_length": 41.93427230046948,
"alnum_prop": 0.7083519928347515,
"repo_name": "yvoswillens/flowable-engine",
"id": "84d674a574af8d0f9c9d9fcc4fc2da152ee82ddb",
... |
import * as React from "react";
import { CarbonIconProps } from "../../";
declare const Person16: React.ForwardRefExoticComponent<
CarbonIconProps & React.RefAttributes<SVGSVGElement>
>;
export default Person16;
| {
"content_hash": "ee2a1738ceacf5cc04d89c365c790e35",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 56,
"avg_line_length": 35.666666666666664,
"alnum_prop": 0.7663551401869159,
"repo_name": "mcliment/DefinitelyTyped",
"id": "e13a2b958217e34582fd462486be3e497dd36c42",
"size... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_111) on Wed Jan 04 22:31:35 EST 2017 -->
<title>Uses of Package org.drip.measure.continuousjoint</title>
<meta name="date" content="2017-01-04"... | {
"content_hash": "e6385e1c0f2836efef091642050efcbc",
"timestamp": "",
"source": "github",
"line_count": 288,
"max_line_length": 318,
"avg_line_length": 42.15277777777778,
"alnum_prop": 0.6754530477759473,
"repo_name": "lakshmiDRIP/DRIP",
"id": "f928247564a3e9ab73cf63d3bced040c969e8a69",
"size": "12... |
import React, {Component, PropTypes} from 'react';
import Drawer from 'material-ui/Drawer';
import {List, ListItem, MakeSelectable} from 'material-ui/List';
import Divider from 'material-ui/Divider';
import Subheader from 'material-ui/Subheader';
import DropDownMenu from 'material-ui/DropDownMenu';
import MenuItem from... | {
"content_hash": "91030dd44105c4f367ccbc934582e970",
"timestamp": "",
"source": "github",
"line_count": 425,
"max_line_length": 98,
"avg_line_length": 33.31294117647059,
"alnum_prop": 0.48742760276875263,
"repo_name": "andrejunges/material-ui",
"id": "967b11bf37c4d8e30b6d6434ed554171be37402a",
"siz... |
'''
pb_statsfofn_ucd.py
generate read stats from pacbio fofn file
fofn format input, one line per fasta file
/share/dnat/rs2/161028_448/D02_1/Analysis_Results/m161031_221844_42145_c101058752550000001823247401061784_s1_p0.2.subreads.fasta
/share/dnat/rs2/161028_448/D02_1/Analysis_Results/m161031_221844_42145_c10105875... | {
"content_hash": "1c0064fd3e30507751b645f6f047a8c3",
"timestamp": "",
"source": "github",
"line_count": 187,
"max_line_length": 141,
"avg_line_length": 32.844919786096256,
"alnum_prop": 0.5695213285574732,
"repo_name": "ucdavis-bioinformatics-training/Bioinformatics-Genome-Assembly-and-Analysis-Worksho... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>fermat4: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | {
"content_hash": "73007f150643bbf95b275d766dba9d3e",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 159,
"avg_line_length": 41.31791907514451,
"alnum_prop": 0.5488248461108002,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "4476df7c45d6ef173952bd107cd9c0307d75dd94",
... |
namespace GafferScene
{
/// The SceneNode class is the base class for all Nodes which are capable of generating
/// or processing scene graphs.
class GAFFERSCENE_API SceneNode : public Gaffer::ComputeNode
{
public :
SceneNode( const std::string &name=defaultName<SceneNode>() );
~SceneNode() override;
IE_CORE... | {
"content_hash": "e6c313b27dce1c017856efea99892d1f",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 165,
"avg_line_length": 63.541666666666664,
"alnum_prop": 0.7585245901639345,
"repo_name": "ivanimanishi/gaffer",
"id": "f30858614869f36c4080803d940870f6c82daa01",
"size": ... |
<h3><strong>Referrals</strong></h3>
<div class="inner-addon left-addon filterInput">
<i class="fa fa-filter"></i>
<input type="text" class="form-control" placeholder="Filter..." ng-model="query" />
</div>
<table class="table table-bordered table-striped table-hover">
<thead>
<tr>
<th>Date of Referral<... | {
"content_hash": "61342420e1f43a5b634e5966dc479b0f",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 216,
"avg_line_length": 34.25,
"alnum_prop": 0.6277372262773723,
"repo_name": "RippleOSI/NE-HSCIE-Core",
"id": "df7896d396b8d5e691cdf558a7f600f4356feec6",
"size": "1233",
... |
package org.xbill.DNS;
import static org.junit.jupiter.api.Assertions.assertEquals;
import java.io.IOException;
import org.junit.jupiter.api.Test;
class ISDNRecordTest {
Name n = Name.fromConstantString("my.name.");
@Test
void ctor_5arg() {
ISDNRecord record = new ISDNRecord(n, DClass.IN, 0, "foo", "bar"... | {
"content_hash": "e60e023a51ba73701b077db5f52b1725",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 70,
"avg_line_length": 26.85185185185185,
"alnum_prop": 0.7048275862068966,
"repo_name": "dnsjava/dnsjava",
"id": "f5c3e2131a5b8b9013beaa2333f8f10638a07e87",
"size": "766",... |
package io.luna.game.model.mob.inter;
/**
* An enumerated type whose elements represent all possible states for an interface to be in.
*
* @author lare96 <http://github.com/lare96>
*/
public enum InterfaceState {
/**
* The idle state. Idle is the default state for all interface instances when they are fi... | {
"content_hash": "0369e83ac7c730d1b3a9a2a643dd5f25",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 96,
"avg_line_length": 23.52,
"alnum_prop": 0.6496598639455783,
"repo_name": "lare96/luna",
"id": "74f818ebc573ed6fec9d9742465e81cb30c9fb3c",
"size": "588",
"binary": fal... |
redis-server /etc/redis.conf | {
"content_hash": "2f3a3061e7ec9bb805ec71b2a3201340",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 28,
"avg_line_length": 28,
"alnum_prop": 0.8214285714285714,
"repo_name": "24HOURSMEDIA/docker-dxstack1-synced",
"id": "84dc6162812841d50acf3e9d0d088d35cab72bcd",
"size": "4... |
require 'test_helper'
class ReadTest < Test::Unit::TestCase
context "Read mode on standard connection: " do
setup do
@read = :secondary
@client = MongoClient.new('localhost', 27017, :read => @read, :connect => false)
end
end
context "Read preferences on replica set connection: " do
set... | {
"content_hash": "5d757ce8a1878a20f9caa7ffe69669aa",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 110,
"avg_line_length": 32.51063829787234,
"alnum_prop": 0.5962041884816754,
"repo_name": "pcarrier-packaging/deb-ruby-mongo",
"id": "a6818dd10c9466440abda0ec1aa233d9bb86eac... |
require "gds_api/content_store"
require "gds_api/publishing_api"
module Services
def self.content_store
@content_store ||= GdsApi::ContentStore.new(
Plek.new.find("content-store"),
)
end
def self.publishing_api
@publishing_api ||= GdsApi::PublishingApi.new(
Plek.new.find("publishing-api"... | {
"content_hash": "dee80ca6ff30b23ae74f194fcc8fc5b9",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 68,
"avg_line_length": 24,
"alnum_prop": 0.6691176470588235,
"repo_name": "alphagov/calendars",
"id": "b33b3c1fe090206ab71cab9fe246a5528aefb8dc",
"size": "408",
"binary":... |
package org.nibiru.ui.core.api;
import org.nibiru.model.core.api.Value;
public interface CheckBox
extends ValueWidget<Boolean>, HasEnabled, Focusable {
Value<String> getTextLabel();
}
| {
"content_hash": "270326508238cd685c87f705a854fa68",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 61,
"avg_line_length": 22.11111111111111,
"alnum_prop": 0.7386934673366834,
"repo_name": "AAJTechnologies/ui",
"id": "c0843246d8af881c77ffe8e971e713a98798531e",
"size": "199... |
/**
* @fileoverview Utility methods to deal with CSS3 transitions
* programmatically.
*/
goog.provide('goog.style.transition');
goog.provide('goog.style.transition.Css3Property');
goog.require('goog.array');
goog.require('goog.asserts');
goog.require('goog.dom');
goog.require('goog.dom.TagName');
goog.require('g... | {
"content_hash": "92ecf8af64295b63fe70b1da2e0e57f9",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 80,
"avg_line_length": 31.46031746031746,
"alnum_prop": 0.6904641775983855,
"repo_name": "googlechromelabs/chromeos_smart_card_connector",
"id": "666a052414f5b21db8e79cba767... |
package logic
import (
"github.com/outbrain/golib/log"
"github.com/outbrain/orchestrator/go/agent"
"github.com/outbrain/orchestrator/go/config"
"github.com/outbrain/orchestrator/go/inst"
"time"
)
const (
maxConcurrency = 5
)
// discoveryInstanceKeys is a channel of instanceKey-s that were requested for disco... | {
"content_hash": "b23217e564877648e93c8316aa12475a",
"timestamp": "",
"source": "github",
"line_count": 222,
"max_line_length": 114,
"avg_line_length": 31.24774774774775,
"alnum_prop": 0.748306184229494,
"repo_name": "ruo91/orchestrator",
"id": "10cc851ede1ab6c4ea88db539ff2489fc2287378",
"size": "7... |
package com.hortonworks.streamline.common;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.hortonworks.streamline.common.exception.WrappedWebApplicationException;
import javax.ws.rs.WebApplicationException;
import javax.ws.rs.client.Entity;
import javax.... | {
"content_hash": "8462887bfca7ad4c52008f1e027e9404",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 126,
"avg_line_length": 40.28971962616822,
"alnum_prop": 0.6527487821851079,
"repo_name": "hmcl/Streams",
"id": "213d4c2ca2c5cc935b61e8e4d6a8117a20b30d5a",
"size": "4913",... |
package vitessdriver
import (
"database/sql/driver"
"fmt"
"time"
"github.com/youtube/vitess/go/sqltypes"
querypb "github.com/youtube/vitess/go/vt/proto/query"
)
type converter struct {
location *time.Location
}
func (cv *converter) ToNative(v sqltypes.Value) (interface{}, error) {
switch v.Type() {
case s... | {
"content_hash": "27282146f5401382b9a4f62b06410d17",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 114,
"avg_line_length": 24.865384615384617,
"alnum_prop": 0.6655065738592421,
"repo_name": "sougou/vitess",
"id": "792c02a4bfbc851cb4e77ea2e0757eea904e8140",
"size": "3142... |
package com.intellij.openapi.externalSystem.model.project;
import com.intellij.openapi.externalSystem.model.ProjectSystemId;
import org.jetbrains.annotations.NotNull;
/**
* @author Denis Zhdanov
*/
public abstract class AbstractExternalEntityData implements ExternalEntityData {
private static final long serialVe... | {
"content_hash": "1bc5faf790055beb81c9cdcae062a241",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 80,
"avg_line_length": 22.658536585365855,
"alnum_prop": 0.7179763186221744,
"repo_name": "mdanielwork/intellij-community",
"id": "9e53f4706b41094a28d406102ceaf7098484db76",
... |
set -e -u -x
## Vars ----------------------------------------------------------------------
export ANSIBLE_GIT_RELEASE=${ANSIBLE_GIT_RELEASE:-"v1.9.3-1"}
export ANSIBLE_GIT_REPO=${ANSIBLE_GIT_REPO:-"https://github.com/ansible/ansible"}
export ANSIBLE_ROLE_FILE=${ANSIBLE_ROLE_FILE:-"ansible-role-requirements.yml"}
exp... | {
"content_hash": "5c58a5b4787216394e7ad0149c46c655",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 103,
"avg_line_length": 34.611111111111114,
"alnum_prop": 0.6629213483146067,
"repo_name": "manuelfelipe/openstack-ansible",
"id": "a62e2abc25f761009560c663afd873a974117a10"... |
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private:
Ui::MainWindow *ui;
};
#endif // MAINWINDOW_H
| {
"content_hash": "f138215f5425dba4495890fdb0feea00",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 45,
"avg_line_length": 15.916666666666666,
"alnum_prop": 0.6492146596858639,
"repo_name": "przemir/EnvelopeCollide",
"id": "2478d6a8cbb3fbd8def6b82d7db9ab394afa9f36",
"size... |
<body>
The water package contains the implementation of H2O's core.
</body>
| {
"content_hash": "b3021b5528ac6e924c4a53a50a70efe0",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 60,
"avg_line_length": 15.6,
"alnum_prop": 0.7435897435897436,
"repo_name": "eg-zhang/h2o-2",
"id": "2da2b3092989ba79923f61b728cb0e0ce579f5d4",
"size": "78",
"binary": fal... |
package org.apache.tika.batch.fs;
import static java.nio.charset.StandardCharsets.UTF_8;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.io.IOException;
import java.nio.file.Files;
im... | {
"content_hash": "f7c6d0b6546c91b2cf48a79e7af5142e",
"timestamp": "",
"source": "github",
"line_count": 398,
"max_line_length": 126,
"avg_line_length": 43.163316582914575,
"alnum_prop": 0.6512020490133302,
"repo_name": "icirellik/tika",
"id": "d623afb9f748554986969dab6aedc9176bf7ad5b",
"size": "179... |
"""Metrics to assess performance on regression task.
Functions named as ``*_score`` return a scalar value to maximize: the higher
the better.
Function named as ``*_error`` or ``*_loss`` return a scalar value to minimize:
the lower the better.
"""
# Authors: Alexandre Gramfort <alexandre.gramfort@inria.fr>
# ... | {
"content_hash": "a055faad58d6e3bd381010e4bd1e6764",
"timestamp": "",
"source": "github",
"line_count": 1108,
"max_line_length": 88,
"avg_line_length": 34.66335740072202,
"alnum_prop": 0.6139766188455229,
"repo_name": "sergeyf/scikit-learn",
"id": "ffa2b0b8218aaa0821d9fe1979f180295abd4f69",
"size":... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives... | {
"content_hash": "042d051f393a69c9bb7bb2de5d5392e8",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 99,
"avg_line_length": 39.18888888888889,
"alnum_prop": 0.6200737170399773,
"repo_name": "bbowyersmyth/WMF2WPF",
"id": "26fa2305129e62750ca8a01c25c965d54c1bd390",
"size": "... |
#ifndef LEPTONICA_ENVIRON_H
#define LEPTONICA_ENVIRON_H
/*------------------------------------------------------------------------*
* Defines and includes differ for Unix and Windows. Also for Windows, *
* differentiate between conditionals based on platform and compiler. *
* For platforms: ... | {
"content_hash": "e8c588c21e60a1d8aed9ecad702b9547",
"timestamp": "",
"source": "github",
"line_count": 268,
"max_line_length": 80,
"avg_line_length": 36.0634328358209,
"alnum_prop": 0.4595964821520952,
"repo_name": "0359xiaodong/tess-two",
"id": "7961f4ac6c116312ab38cf4cdbd9bc60847a5ccf",
"size": ... |
extern crate ffigen;
extern crate msbuild_util;
use std::process::Command;
use std::fs;
use std::env;
fn main() {
let mut context = ffigen::Context::new();
context.set_root("../../scaffold".to_string());
context.add_lang(ffigen::Lang::Cpp, &[ffigen::Config::Output(".".to_string()), ffigen::Config::Static... | {
"content_hash": "e1cab4ad9bbd669d8382a2b63d44b7bf",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 138,
"avg_line_length": 30.43243243243243,
"alnum_prop": 0.577708703374778,
"repo_name": "vvanders/ffigen",
"id": "52000d8b0723a1a7b14cf8739792686a4432c8bb",
"size": "2252"... |
import six
from sahara.api import acl
from sahara.service.api import v10 as api
from sahara.service import validation as v
from sahara.service.validations import cluster_template_schema as ct_schema
from sahara.service.validations import cluster_templates as v_ct
from sahara.service.validations import clusters as v_c
... | {
"content_hash": "d9a08d0eed5b240b71b99a020fb43ab6",
"timestamp": "",
"source": "github",
"line_count": 265,
"max_line_length": 79,
"avg_line_length": 37.033962264150944,
"alnum_prop": 0.7381292031791319,
"repo_name": "tellesnobrega/sahara",
"id": "e4e5730c45489bcfdd3059089b44ca7d0bec638b",
"size":... |
// Type definitions for Incremetal DOM
// Project: https://github.com/google/incremental-dom
// Definitions by: Basarat Ali Syed <https://github.com/basarat>, Markus Lanthaler <https://github.com/lanthaler>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module "incremental-dom" {
/**
... | {
"content_hash": "79b3fda1054fd59d09f78645915de9b6",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 113,
"avg_line_length": 49.3780487804878,
"alnum_prop": 0.6557174611015065,
"repo_name": "slavomirvojacek/DefinitelyTyped",
"id": "5a80e82d70443e7ebd221ad174d0b9085188e80f",
... |
void SLAP_init(
UBYTE *bitmap,
SLONG bitmap_size); // Power of 2 max of SLAP_MAX_BITMAP_SIZE
//
// Adds an outline edge given in 8-bit fixed point.
//
void SLAP_add_edge(
SLONG x1, SLONG y1,
SLONG x2, SLONG y2);
//
// Renders the bitmap. The image is clipped to the bitmap.
//
void SLAP_render(void);
... | {
"content_hash": "f5bfadecb8bb8202b26cb872b17e62ad",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 64,
"avg_line_length": 13.625,
"alnum_prop": 0.6605504587155964,
"repo_name": "kstuedem/MuckyFoot-UrbanChaos",
"id": "ed5828c06d14bb3a00b01787f45c6e41f1d2706f",
"size": "61... |
In here are code snippets, examples, and other ways to help teach some of the concepts and tricks in Python.
##Suggested Learning Progression
If you're new to Python you may wonder what you should learn and when you should learn it. I recommend this order seen below. **Each section below has its own folder above; e... | {
"content_hash": "da0ace8ba683fe099c769503acf51f57",
"timestamp": "",
"source": "github",
"line_count": 151,
"max_line_length": 231,
"avg_line_length": 29.072847682119207,
"alnum_prop": 0.721867881548975,
"repo_name": "keum/python-lessons",
"id": "c59ba99e8f13fa1537752da216007c915c649380",
"size": ... |
<html>
<head>
<link type="text/css" rel="stylesheet" href="../../../build/logger/assets/logger.css" />
<link type="text/css" rel="stylesheet" href="../../../build/yuitest/assets/testlogger.css" />
<style>
.everything { position:relative; height:420px; }
.everything div { border:1px solid #888; }
.topmain { ... | {
"content_hash": "0f32db9bef15545fcfa6b5fc1197ff06",
"timestamp": "",
"source": "github",
"line_count": 310,
"max_line_length": 182,
"avg_line_length": 39.31612903225806,
"alnum_prop": 0.7333442730554643,
"repo_name": "sashakames/COG",
"id": "18b90f23d32c93398a2d8cbae3bb51083af2605c",
"size": "1218... |
Shine is a blog engine for `rails` apps that uses contentful.com as a CMS.
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'shine'
```
And then execute:
$ bundle
Or install it yourself as:
$ gem install shine
## Setup
Shine uses `figaro` to set environment variables, and it use... | {
"content_hash": "7f5a3d69e3f21880ae9236f55a6aa9b0",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 324,
"avg_line_length": 33.02173913043478,
"alnum_prop": 0.7511520737327189,
"repo_name": "jonstokes/shine",
"id": "1c068ca97a2e26d45923f7365f285e95dcd33b16",
"size": "1528... |
package script
const ScriptExt = ""
| {
"content_hash": "7a47ccbfe0d7e7bddc80ec28d5da7311",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 20,
"avg_line_length": 12.333333333333334,
"alnum_prop": 0.7297297297297297,
"repo_name": "cloudfoundry/bosh-agent",
"id": "f088c0957358af34586b02b7b0640ba6671eeb04",
"size"... |
FROM maven:3.5.3-jdk-10-slim as maven
WORKDIR /servlet
COPY src src
COPY pom.xml pom.xml
RUN mvn compile war:war -q -P mysql
FROM openjdk:10-jdk
WORKDIR /resin
RUN curl -sL http://caucho.com/download/resin-4.0.56.tar.gz | tar xz --strip-components=1
RUN rm -rf webapps/*
COPY --from=maven /servlet/target/servlet.war we... | {
"content_hash": "4d3803dc2eead9dfc65e198ebefa9115",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 89,
"avg_line_length": 31.846153846153847,
"alnum_prop": 0.7318840579710145,
"repo_name": "nbrady-techempower/FrameworkBenchmarks",
"id": "d84d6f04c347b4d9a74904c76afa1c2092a... |
var assert = require("assert");
var Class = require("cls");
var Node = require("./types").namedTypes.Node;
var slice = Array.prototype.slice;
var removeRequests = [];
var Visitor = exports.Visitor = Class.extend({
visit: function(node) {
var self = this;
if (!node) {
// pass
}... | {
"content_hash": "b73b0be6e6812dda91a76d7393473aa2",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 73,
"avg_line_length": 27.076271186440678,
"alnum_prop": 0.46071987480438187,
"repo_name": "M3kH/tire-bouchon",
"id": "2942187a8f2feb7a6898d6d8c2dd4b8591dc0f16",
"size": "... |
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on Keep Moving</title>
<link>https://sanghunka.github.io/categories/</link>
<description>Recent content in Categories on Keep Moving</description>
<generato... | {
"content_hash": "85f8e71d56029eabbeaeb8f9ad51dae6",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 108,
"avg_line_length": 34.56666666666667,
"alnum_prop": 0.6388621022179364,
"repo_name": "sanghkaang/sanghkaang.github.io",
"id": "5037d5ee651832c980776f95c30be67a4472acf6",... |
using FredrikScript.Core;
using FredrikScript.Core.Expressions;
using FredrikScript.Core.Types;
using FredrikScript.ParserFS;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FredrikScript.Parser
{
public class ParseExpressionVisitor : C... | {
"content_hash": "01bea5ece3beae54ea69329d08121f1f",
"timestamp": "",
"source": "github",
"line_count": 340,
"max_line_length": 188,
"avg_line_length": 55.93235294117647,
"alnum_prop": 0.5793237629489404,
"repo_name": "FredrikAleksander/FredrikScript",
"id": "e98c14347e6a49e6f7751b5914dbb870e4420eac"... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/devtools/clouddebugger/v2/data.proto
package com.google.devtools.clouddebugger.v2;
/**
*
*
* <pre>
* Represents the debugged application. The application may include one or more
* replicated processes executing the same code. Each of ... | {
"content_hash": "63d9cb6c9d23a3b313b3226d187b7ff5",
"timestamp": "",
"source": "github",
"line_count": 3317,
"max_line_length": 110,
"avg_line_length": 31.35725052758517,
"alnum_prop": 0.62637003422682,
"repo_name": "googleapis/google-cloud-java",
"id": "b965cb26816cb41935aaa2b88ec0a892c90677bd",
... |
package org.elasticsearch.client.transport;
import org.elasticsearch.Version;
import org.elasticsearch.action.ActionListener;
import org.elasticsearch.action.admin.cluster.node.liveness.LivenessResponse;
import org.elasticsearch.action.admin.cluster.node.liveness.TransportLivenessAction;
import org.elasticsearch.act... | {
"content_hash": "c9a224ea521f24bc66fd15b39e5d3901",
"timestamp": "",
"source": "github",
"line_count": 435,
"max_line_length": 139,
"avg_line_length": 49.94942528735632,
"alnum_prop": 0.6123895434462445,
"repo_name": "vroyer/elassandra",
"id": "ecdf56d0d8b9298ec86f14a6f284fae3a50ac45f",
"size": "2... |
package org.apache.jmeter.protocol.java.config.gui;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Font;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.swing.ImageIcon;
import javax.... | {
"content_hash": "bd5323087679b00ebcd2833e6a73dfbe",
"timestamp": "",
"source": "github",
"line_count": 303,
"max_line_length": 174,
"avg_line_length": 35.7986798679868,
"alnum_prop": 0.6420208352539872,
"repo_name": "max3163/jmeter",
"id": "d2372da530bc2480516c0f4a8f6f0e496299d85a",
"size": "11649... |
require 'faraday'
require 'json'
module PanamaxAgent
module Response
class ListifyJson < Faraday::Response::Middleware
def on_complete(env)
body = env[:body]
return if valid_json?(body)
body = body.chomp.gsub("\n", ',')
env[:body] = "[#{body}]"
end
private
... | {
"content_hash": "33af779e5f45be82b00a7a55ba1b83ac",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 75,
"avg_line_length": 17.866666666666667,
"alnum_prop": 0.5839552238805971,
"repo_name": "xirun/panamax-api",
"id": "3217e8749bc41f49139c750658fcf7733bd14854",
"size": "53... |
<h4>Basic Information</h4>
<hr>
<form action="add.php" method="post">
<label>Name</label><span>*</span>
<input type="text" name="name" /></br>
<button type="submit" align="right">Submit</button>
</form> | {
"content_hash": "ed1e1b0555672f083ebe3f4d84a19062",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 55,
"avg_line_length": 19.818181818181817,
"alnum_prop": 0.6192660550458715,
"repo_name": "WakilaFarzan/CRUD01",
"id": "df64919608b98c846e2835b4da95963de0709935",
"size": "... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE805_char_loop_74a.cpp
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE805.string.label.xml
Template File: sources-sink-74a.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: ... | {
"content_hash": "29537d992e9ac04c0f0faf97520a2ef0",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 131,
"avg_line_length": 26.641509433962263,
"alnum_prop": 0.6430594900849859,
"repo_name": "JianpingZeng/xcc",
"id": "a4b66f474ec979c0e8c66858c2bb699132bedee0",
"size": "2... |
// ASM: a very small and fast Java bytecode manipulation framework
// Copyright (c) 2000-2011 INRIA, France Telecom
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// 1. Redistributions of ... | {
"content_hash": "f99309e26d73f1519cf22157c80741bb",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 99,
"avg_line_length": 40.26086956521739,
"alnum_prop": 0.740280777537797,
"repo_name": "JReFrameworker/JReFrameworker",
"id": "8bb87124bd628f32c408420601e7cbccec139ba6",
"... |
package pgm;
// Intended for use alongside the VariableCollectionType. Thus things are stored
// as variable IDs and values from domains only!
public interface EvidenceCollectionType {
public String toString();
public boolean contains(VariableType v);
public boolean contains(Integer vID);
public Integer ... | {
"content_hash": "cb93d2a4cfc1cb6759cb5e726e056c7b",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 80,
"avg_line_length": 27.346153846153847,
"alnum_prop": 0.7412095639943741,
"repo_name": "gsteelman/utd",
"id": "5fe211918671d9f8a1f74d147524529cb63dc467",
"size": "711",
... |
<!DOCTYPE html>
<html>
<head>
<title>Welcome to the Open Weather Map</title>
<!-- <link rel="stylesheet" href="style.css"> -->
</head>
<body>
<center>
<h1>Welcome to the Open Weather Maps API</h1>
<hr>
<div>
<h2>Current Weather in New York City</h2>
<div id="nyc-weather"></div>
</div>
<hr>
... | {
"content_hash": "39d93d86adc74af58b4d639b2df80f4c",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 91,
"avg_line_length": 26.431818181818183,
"alnum_prop": 0.6061908856405847,
"repo_name": "streetrader/streetrader.github.io",
"id": "8e03f08f392fcf550b2bd73f3019c1bb3640ad78... |
package hudson.model;
import hudson.Extension;
import hudson.ExtensionList;
import hudson.ExtensionPoint;
import java.util.Collection;
import java.util.Collections;
/**
* Extension point for inserting transient {@link Action}s into {@link User}s.
*
* To register your implementation, put {@link Extension} on your... | {
"content_hash": "ff05e6de9636fbc1c62702f05a7eb9b7",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 78,
"avg_line_length": 26.605263157894736,
"alnum_prop": 0.7091988130563798,
"repo_name": "Vlatombe/jenkins",
"id": "d042afb490879bf1ac088840c0923b558444a30f",
"size": "215... |
This project implements a very simple frequency generator for testing CNC, stepper motor or stepper driver when putting in charge.
It is written in C using the arduino IDE and applies the Arduino Nano platform.
The implementation provides a potentiometer and six push buttons for reading the requested signal to be gener... | {
"content_hash": "f041961072bc0c81e0d34be549a9e7b1",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 142,
"avg_line_length": 63.8125,
"alnum_prop": 0.801175318315377,
"repo_name": "rubienr/yafg",
"id": "b122c027015c04532bd078f679bb376fc4687e16",
"size": "1062",
"binary":... |
package androidx.appcompat.demo.receivecontent;
import android.annotation.SuppressLint;
import android.net.Uri;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import androidx.annotation.NonNull;
import androidx.annotation.... | {
"content_hash": "0b42334b010220566cd3edc0b8558264",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 96,
"avg_line_length": 38.24444444444445,
"alnum_prop": 0.7187681580476467,
"repo_name": "androidx/androidx",
"id": "9ea18923d50ce815fc3300a8693faf6f7438fcf9",
"size": "405... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Query extends MY_Controller
{
private $user_id;
public function __construct()
{
parent::__construct();
if ($this->session_check() != 1) {
echo '认证失败, 请重新登录';
sleep(0.3);
redirect('/user/login', 'location', 301);
}
... | {
"content_hash": "8bba63019547155913f72cda0eb2283f",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 83,
"avg_line_length": 28.9375,
"alnum_prop": 0.576193904487641,
"repo_name": "a1exlism/7wadata",
"id": "67d253a684c79bb59f9766cd8551cd810461af3e",
"size": "4207",
"bina... |
(function ()
{
'use strict';
angular
.module('app.core')
.controller('MsWidgetController', MsWidgetController)
.directive('msWidget', msWidgetDirective)
.directive('msWidgetFront', msWidgetFrontDirective)
.directive('msWidgetBack', msWidgetBackDirective);
/** @ngInj... | {
"content_hash": "afe0429db9fe6630b39c3d5ff7e754b4",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 93,
"avg_line_length": 25.433823529411764,
"alnum_prop": 0.4200636021971668,
"repo_name": "UCSC-LK/CV-APP",
"id": "3727bbc645f5c3f7b6c2dc34f0d132f3151addcb",
"size": "3459... |
package org.postgresql.test.jdbc2;
import java.sql.*;
import java.util.Arrays;
import junit.framework.TestCase;
import java.io.InputStream;
import java.io.ByteArrayInputStream;
import java.io.Reader;
import java.io.StringReader;
import java.io.UnsupportedEncodingException;
import java.util.TimeZone;
import org.pos... | {
"content_hash": "1a0627cb4fed754e773bec2164aaa1e0",
"timestamp": "",
"source": "github",
"line_count": 533,
"max_line_length": 148,
"avg_line_length": 32.43339587242026,
"alnum_prop": 0.5771967374327529,
"repo_name": "alexismeneses/pgjdbc",
"id": "4651910c13862f5bfe663d569e81630dd54e2738",
"size":... |
require 'rails_helper'
describe PhoneImporter do
let(:invalid_content) { Rails.root.join('spec/support/fixtures/invalid_phone.csv') }
let(:valid_content) { Rails.root.join('spec/support/fixtures/valid_location_phone.csv') }
let(:valid_service_phone) { Rails.root.join('spec/support/fixtures/valid_service_phone.cs... | {
"content_hash": "6d2d8c478090a5c02dcb8d169f7dec72",
"timestamp": "",
"source": "github",
"line_count": 187,
"max_line_length": 96,
"avg_line_length": 28.299465240641712,
"alnum_prop": 0.6290627362055934,
"repo_name": "tannerj/ohana-api",
"id": "d42d37b0665afcba2d96b95299461d1bb2bfa4a1",
"size": "5... |
/**
* A client to Bare Metal Solution API
*
* <p>The interfaces provided are listed below, along with usage samples.
*
* <p>======================= BareMetalSolutionClient =======================
*
* <p>Service Description: Performs management operations on Bare Metal Solution servers.
*
* <p>The `baremetals... | {
"content_hash": "3736e4b68b6bc468a10e5af7e065fd4b",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 100,
"avg_line_length": 45.2,
"alnum_prop": 0.7338811630847029,
"repo_name": "googleapis/java-bare-metal-solution",
"id": "b02c05c2cf8e1e5577a6c4c1b9b3a7a35292d5b0",
"size"... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OpskinsDll.TO
{
public class DepositFilter
{
public string appid { get; set; }
public string contextid { get; set; }
public string assetid { get; set; }
}
}... | {
"content_hash": "09cdbc7970934b678d92a4e4cea3763f",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 45,
"avg_line_length": 21.4,
"alnum_prop": 0.6697819314641744,
"repo_name": "AndradePT/Opskins",
"id": "eeaac4a669bb4d8c5bec7c5484706a432fc1ddfe",
"size": "323",
"binary"... |
/**
* @file
* @brief
*/
#ifndef COMPRESS_CRC_H
#define COMPRESS_CRC_H
#include "typedefs.h"
#include "compress_service_library.h"
#ifdef __cplusplus
extern "C"
{
#endif
/*
Update a running crc with the bytes buf[0..len-1] and return
the updated crc. The crc should be initialized to zero. Pre- and
post-con... | {
"content_hash": "bb9da716d883c4adb2984667967189b2",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 88,
"avg_line_length": 20.6046511627907,
"alnum_prop": 0.6839729119638827,
"repo_name": "TGAC/grassroots-api",
"id": "619719e53ba383ba913ba627cf2726eee3433709",
"size": "14... |
@interface FZEasyFileTests : XCTestCase
@end
static NSString *file = @"Documents/a/b.txt";
static NSString *folder = @"Documents/aFolder";
@implementation FZEasyFileTests
- (void)setUp
{
[super setUp];
// Put setup code here. This method is called before the invocation of each test method in the class.
}
-... | {
"content_hash": "275c202819c3a0df840cabe3f887a7c6",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 112,
"avg_line_length": 40.743589743589745,
"alnum_prop": 0.723725613593455,
"repo_name": "jiecao-fm/FZEasyFile",
"id": "b2cef0198ec06f8561634437a679233707c36bee",
"size": ... |
Rez manages packages. You request a list of packages from rez, and it resolves this request, if
possible. If the resolution is not possible, the system supplies you with the relevant information
to determine why this is so. You typically want to resolve a list of packages because you want to
create an environment in wh... | {
"content_hash": "9978f52a066abbf2c36f5574da9169ce",
"timestamp": "",
"source": "github",
"line_count": 367,
"max_line_length": 102,
"avg_line_length": 43.94822888283379,
"alnum_prop": 0.7187054374108748,
"repo_name": "instinct-vfx/rez",
"id": "1168a7dbcb588fdac43b427f23cae695c3228cf8",
"size": "16... |
using bv.common.Core;
using bv.model.BLToolkit;
using eidss.model.Reports.Common;
using EIDSS.Reports.Factory;
namespace EIDSS.Reports.BaseControls.Report
{
public partial class BaseIntervalReport : BaseReport
{
public BaseIntervalReport()
{
InitializeComponent();
... | {
"content_hash": "850f2fadf1ad32f8423bd3d63a01c9d1",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 121,
"avg_line_length": 32.57575757575758,
"alnum_prop": 0.6613953488372093,
"repo_name": "EIDSS/EIDSS-Legacy",
"id": "8d2014ec0dcb7f468f2c2b70b68f935c0ff2f46c",
"size": "1... |
#include <modules/opengl/openglutils.h>
#include <algorithm>
namespace inviwo {
namespace utilgl {
std::array<GLint, 4> convertSwizzleMaskToGL(const SwizzleMask& mask) {
auto convertToGL = [](ImageChannel channel) {
switch (channel) {
case ImageChannel::Red:
return GL_RED;
... | {
"content_hash": "6f00f839d9f51e4fd8124099a7b721d8",
"timestamp": "",
"source": "github",
"line_count": 562,
"max_line_length": 100,
"avg_line_length": 27.848754448398576,
"alnum_prop": 0.5822631141780078,
"repo_name": "Sparkier/inviwo",
"id": "f3e37233349dccf09d2ac84d6693ce4c4c1be000",
"size": "17... |
package in.twizmwaz.cardinal.module.modules.armorKeep;
import in.twizmwaz.cardinal.event.CardinalSpawnEvent;
import in.twizmwaz.cardinal.module.Module;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Handl... | {
"content_hash": "4017165bc777201bc8c5dafcb48c0c3a",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 127,
"avg_line_length": 35.295918367346935,
"alnum_prop": 0.6169413125180688,
"repo_name": "TeamDDG/AvicusScrimmage",
"id": "8b93f0bf499d80490e1e5ee451279379a1cc0149",
"siz... |
namespace Proto.Persistence.RavenDB
{
class Event
{
public Event(string actorName, long index, object data)
{
ActorName = actorName;
Index = index;
Data = data;
Id = $"{actorName}-event-{index}";
}
public string ActorName { get; }... | {
"content_hash": "6291b88959bcbca7124fc81366cad311",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 63,
"avg_line_length": 24.055555555555557,
"alnum_prop": 0.5127020785219399,
"repo_name": "AsynkronIT/protoactor-dotnet",
"id": "44d5217b1b0564d3073f9cfe3380a0f342c7b78f",
... |
<?php
namespace PSX\Framework\Config;
use ArrayIterator;
/**
* Simple config class which uses a simple array to store all values. Here an
* example howto use the class
* <code>
* $config = Config::fromFile('configuration.php');
*
* echo $config['psx_url'];
* </code>
*
* @author Christoph Kappestein <chris... | {
"content_hash": "3670862181c433d96c4b95ccd4d47250",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 87,
"avg_line_length": 22.59090909090909,
"alnum_prop": 0.6056338028169014,
"repo_name": "apioo/psx-framework",
"id": "7ebf78c00106cdf2d35ed9abe63dccbd86587c09",
"size": "2... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>AMZNRegion Constants Reference</title>
<link rel="stylesheet" href="../css/style.css">
<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
<meta name="generator" content="appledoc 2.2.1 (build 1333)">
</head>
<body class="appledoc">
<he... | {
"content_hash": "30fd4ad87b9238d9b4a30d8bfa2f2055",
"timestamp": "",
"source": "github",
"line_count": 219,
"max_line_length": 193,
"avg_line_length": 25.589041095890412,
"alnum_prop": 0.4853675945753034,
"repo_name": "gcmcnutt/Sensor2",
"id": "6d80a8c76dda74b890453d7617a843ec6a3c7ff1",
"size": "5... |
package org.apache.flex.compiler.tree.properties;
import org.apache.flex.compiler.internal.tree.as.ExpressionNodeBase;
import org.apache.flex.compiler.internal.tree.as.LiteralNode;
import org.apache.flex.compiler.tree.as.IASNode;
/**
* Node that represents a key-value pair in a properties file
*/
public interface... | {
"content_hash": "b532e282f670d9cfeff95d7b11107c0e",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 68,
"avg_line_length": 21.925925925925927,
"alnum_prop": 0.6908783783783784,
"repo_name": "greg-dove/flex-falcon",
"id": "e50de68cdf006530022130401b567d8bc0ad5b83",
"size":... |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>com.itranswarp.recurring</groupId>
<artifactId>project</artifactId>
<version>PROJECT-SNAP... | {
"content_hash": "55c44f9409f8f256763cc6951e190f58",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 104,
"avg_line_length": 33.22727272727273,
"alnum_prop": 0.7291381668946648,
"repo_name": "changsure/recurring",
"id": "f5b16992b556f621546b7f38ab30724c78d6403d",
"size": "... |
<?php
declare(strict_types=1);
namespace Sphp\Tests\DateTime\Constraints;
use PHPUnit\Framework\TestCase;
use Sphp\DateTime\Constraints\{
ConstraintsAggregate
};
use Sphp\DateTime\ImmutableDate;
/**
* Class ConstraintsAggregate
*
* @author Sami Holck <sami.holck@gmail.com>
* @license https://opensource.org... | {
"content_hash": "92bd74a8895b7ce769b07dd255fa99ac",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 73,
"avg_line_length": 28.907692307692308,
"alnum_prop": 0.613092070250133,
"repo_name": "samhol/SPHP-framework",
"id": "6299adb9853e4e43a27ac7e4eb6be685a69277db",
"size": ... |
namespace media {
namespace vaapi_test {
// This class manages the lifetime of a VADisplay in a RAII fashion from
// vaGetDisplayDRM() to vaTerminate(). Decoders may use the display() method to
// access the VADisplay and issue direct libva calls.
class VaapiDevice {
public:
// Initializes the VADisplay. Success is... | {
"content_hash": "277eb5945e3e057a3ed558f666d70a89",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 79,
"avg_line_length": 26.115384615384617,
"alnum_prop": 0.7231222385861561,
"repo_name": "nwjs/chromium.src",
"id": "2b0e1ad1d5cf29f68ddcf5c8d488613f82bc44d8",
"size": "96... |
<?php
/**
* 评论
*/
class FeedbackViewModel extends BaseViewModel {
protected $pk = 'feedback_id';
protected $viewFields = array(
'Feedback' => array(
'feedback_id',
'feedback_aid',
'feedback_uid',
'feedback_username',
'feedback_moblie_model',
'feedback_moblie_imei',
'feedback_arctitle',
'... | {
"content_hash": "c2eea68f87f10748773329ffae8bbc15",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 84,
"avg_line_length": 22.615384615384617,
"alnum_prop": 0.5942662779397473,
"repo_name": "UDBIAWDIF/5ihzp",
"id": "0609a80501f2b4c3aef8665eed0483c641b4bfce",
"size": "2090... |
import piglow
from multiprocessing import Process, Queue
from Queue import Full, Empty
from time import sleep
#
# Piglow UI utils for piglow-sys library.
#
def start(clear=True):
""" Start PiGlow UI updates """
if _enabled:
return
if clear:
_change_task("_clear_all")
_change_task("_e... | {
"content_hash": "6c0ac8c81eba9d786ea880b44d94dbfa",
"timestamp": "",
"source": "github",
"line_count": 216,
"max_line_length": 73,
"avg_line_length": 24.48611111111111,
"alnum_prop": 0.5802609188882587,
"repo_name": "deanydean/py-piglow-sys",
"id": "37a1f41b8202995a02a239b975ab1754c6252166",
"size... |
using EndlessClient.Controllers;
using EndlessClient.GameExecution;
using EOLib.Domain.Map;
using Microsoft.Xna.Framework.Input;
using Optional;
namespace EndlessClient.Input
{
public class ArrowKeyHandler : InputHandlerBase
{
private readonly IArrowKeyController _arrowKeyController;
public A... | {
"content_hash": "d0a4660e6c19172b32e241ba5a3b7ffd",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 110,
"avg_line_length": 39.5945945945946,
"alnum_prop": 0.6341296928327645,
"repo_name": "ethanmoffat/EndlessClient",
"id": "18dd4c06d3af2b497f844821b8c4302d5324118f",
"siz... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.