text stringlengths 2 1.04M | meta dict |
|---|---|
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package com.example.view;
public final class R {
public static final class anim {
public static final int abc_fade_in=0x7f040... | {
"content_hash": "585fe9a1be251479c432af898c0691ee",
"timestamp": "",
"source": "github",
"line_count": 6204,
"max_line_length": 250,
"avg_line_length": 55.864119922630564,
"alnum_prop": 0.6402370585808224,
"repo_name": "weijianfeng/Android_Structure",
"id": "53a575c74a6c7f4bc95e4e07aec1d19267a090e2"... |
<div class="coffee-list">
<!-- coffee-type start -->
<div class="coffee-type container" ng-repeat="coffeeList in coffeelist.coffees">
<div class="row">
<h3>{{coffeeList.type}}</h3>
</div>
<div class="row">
<!-- coffee-module start-->
<div class="col-xs-12 col-sm-6 coffee-module" ng-r... | {
"content_hash": "449070d773858298abb091a952979934",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 122,
"avg_line_length": 32.26086956521739,
"alnum_prop": 0.5714285714285714,
"repo_name": "Fifth-Patient/TG-website",
"id": "815256d5c7786f49d7240b77a85abee2b2dc9f90",
"siz... |
<!DOCTYPE html>
<html class="no-js">
<head>
<!--<base href="http://kudesnik.name/portfolio/altanetica/calendar.html">-->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
<meta n... | {
"content_hash": "34912e76009004cfb9e9c9b381b0ff36",
"timestamp": "",
"source": "github",
"line_count": 295,
"max_line_length": 306,
"avg_line_length": 59.48135593220339,
"alnum_prop": 0.3961930814384225,
"repo_name": "dilawar/ncbs-minion",
"id": "bd5c81ea5ad59825359c0d52c926d749ae6594c1",
"size": ... |
@class DBFILESSearchMatchFieldOptions;
@class DBFILESSearchOptions;
@class DBFILESSearchV2Arg;
NS_ASSUME_NONNULL_BEGIN
#pragma mark - API Object
///
/// The `SearchV2Arg` struct.
///
/// This class implements the `DBSerializable` protocol (serialize and
/// deserialize instance methods), which is required for all Ob... | {
"content_hash": "4a3e4eeeb33dc4da8e8862e1cde243bd",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 92,
"avg_line_length": 30.71875,
"alnum_prop": 0.7480501865038997,
"repo_name": "dropbox/dropbox-sdk-obj-c",
"id": "f23a0f1fe929dc6254acb848a7dcdbaa224c9d9d",
"size": "3135... |
package com.example.plugintest.manymethods.b.d;
public class A1 {
public static void a0(String msg) { System.out.println("msg=" + msg + 0); }
public static void a1(String msg) { System.out.println("msg=" + msg + 1); }
public static void a2(String msg) { System.out.println("msg=" + msg + 2); }
public st... | {
"content_hash": "4292b5403ef2ae2d8bff4d45d6a28b5c",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 81,
"avg_line_length": 79.3173076923077,
"alnum_prop": 0.6343799248393744,
"repo_name": "limpoxe/Android-Plugin-Framework",
"id": "bb5b5216a08a4b17dea5fd5c49047f2e9d2e9dc6",... |
namespace test {
class TestFramework {
public:
TestFramework();
void RunTests();
};
} // namespace test
| {
"content_hash": "4d5a251eecd5646e9e698171566e14be",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 21,
"avg_line_length": 12.666666666666666,
"alnum_prop": 0.6578947368421053,
"repo_name": "dawangjiaowolaixunshan/runtime",
"id": "9b7732b10d8a4c86e5d4d3ce22004fdc8bb143eb",
... |
package com.ov3rk1ll.kinocast.ui.helper.layout;
import android.content.Context;
import android.graphics.PointF;
import android.os.Parcel;
import android.os.Parcelable;
import android.support.v4.view.ViewCompat;
import android.support.v7.widget.LinearSmoothScroller;
import android.support.v7.widget.RecyclerView;
impo... | {
"content_hash": "073fd659776965f37b6f1ea359dfdf22",
"timestamp": "",
"source": "github",
"line_count": 1588,
"max_line_length": 135,
"avg_line_length": 39.585642317380355,
"alnum_prop": 0.5973402055295727,
"repo_name": "vincent-t/KinoCast",
"id": "4608b7677e891a9af946c9b091c97729d32810b2",
"size":... |
Rails.application.routes.draw do
get '/oturum_ac', to: 'sessions#new', as: :login
delete '/oturumu_kapat', to: 'sessions#destroy', as: :logout
resource :session, only: :create
resources :forums, only: [:index, :show], path: 'forumlar' do
resources :uruns, only: [:new, :create],
path:... | {
"content_hash": "e6fb55fb0c05d47280acc33d0f4a964a",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 84,
"avg_line_length": 28.4,
"alnum_prop": 0.6115641215715345,
"repo_name": "gdzkursad/Project",
"id": "7a5a4104dbee12c7a845badc7ded86cda59748b0",
"size": "2699",
"binary... |
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/bg_swipe_todo_item_left"/>
<corners android:radius="2dp"/>
</shape> | {
"content_hash": "072b36171a7afb4d0a6c9f3acab5a11a",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 66,
"avg_line_length": 42,
"alnum_prop": 0.6857142857142857,
"repo_name": "cempo/SimpleTodoList",
"id": "c352dcd21a208480c1c858ac89285bfa76304c69",
"size": "210",
"binary"... |
package com.intellij.psi.formatter;
import com.intellij.formatting.Block;
import com.intellij.formatting.FormattingDocumentModel;
import com.intellij.formatting.FormattingModel;
import com.intellij.openapi.editor.Document;
import com.intellij.openapi.fileTypes.FileType;
import com.intellij.openapi.project.Project;
i... | {
"content_hash": "581680fddec39db39b18a7d8b36cf328",
"timestamp": "",
"source": "github",
"line_count": 205,
"max_line_length": 139,
"avg_line_length": 37.951219512195124,
"alnum_prop": 0.6703084832904884,
"repo_name": "jexp/idea2",
"id": "45c7f3f0b94de478357904fc50b7b2db1b103f27",
"size": "8380",
... |
package pl.java.scalatech.file;
import org.apache.camel.builder.RouteBuilder;
import org.junit.Test;
import pl.java.scalatech.CommonCreateCamelContext;
public class FileXmlReader extends CommonCreateCamelContext {
@Test
public void shouldReadAndXmlFile() throws Exception {
createContextWithGivenRoute... | {
"content_hash": "999709dd8897ba0d14be0147e70cced0",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 112,
"avg_line_length": 30.875,
"alnum_prop": 0.6882591093117408,
"repo_name": "przodownikR1/camelRest",
"id": "1b85320c297bf3a5fc92640bf7c79c7918a3b0a6",
"size": "741",
... |
<?php
require_once 'Sitengine/View.php';
abstract class Sitengine_Blog_Frontend_Blogs_Posts_QuoteView extends Sitengine_View {
protected $_controller = null;
protected $_queries = array();
protected $_settings = array();
protected $_sections = array();
protected $_inputMode = null;
... | {
"content_hash": "381a75a6a3744069c24f45cf8c549ad6",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 120,
"avg_line_length": 31.07377049180328,
"alnum_prop": 0.5816407280400949,
"repo_name": "sitengine/sitengine",
"id": "db94b0f5b94e1db6c5b58767a05c24ccb1c11a25",
"size": ... |
/**
* LineItemCreativeAssociationStats.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.axis.v201403;
/**
* Contains statistics such as impressions, clicks delivered and cost
* for {@link LineItemCreativeA... | {
"content_hash": "63378e02b7ae23bde7a1575aa3a5c34f",
"timestamp": "",
"source": "github",
"line_count": 240,
"max_line_length": 148,
"avg_line_length": 38.75833333333333,
"alnum_prop": 0.6408299290475167,
"repo_name": "nafae/developer",
"id": "c325576d81c02927a59f64efdc925941df5ae500",
"size": "930... |
// TODO: InputComponentControl shouldn't inherit from ComponentControl (in its
// form) - there's functionality in ComponentControl that we don't need
// here. ComponentControl needs to decomposed into an abstract control
// and a concrete 'general' component class (which would contain the
// f... | {
"content_hash": "32ddba336fd033298f490a978fdd1dac",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 79,
"avg_line_length": 24.21167883211679,
"alnum_prop": 0.4564365390413024,
"repo_name": "grae22/Beaufort",
"id": "ecc45f7d6a79db9334dd5cc1a7af1d387746e519",
"size": "3319... |
<?php
namespace garethp\ews\API\Type;
/**
* Class representing SearchExpression
*/
class SearchExpression extends SearchExpressionType
{
}
| {
"content_hash": "177af272591098156497389819fe1ff1",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 51,
"avg_line_length": 12.083333333333334,
"alnum_prop": 0.7586206896551724,
"repo_name": "Garethp/php-ews",
"id": "5f08d0989c59857c7c164d2fdd3293cb675669f7",
"size": "145"... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "b99db3d857f1088d13f44a37835aede6",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "e497c094935e8b5ba76b7c461edec198024bb1e5",
"size": "176... |
package org.elasticsearch.index;
import org.apache.logging.log4j.Logger;
import org.apache.lucene.index.MergePolicy;
import org.elasticsearch.Version;
import org.elasticsearch.cluster.metadata.IndexMetaData;
import org.elasticsearch.common.logging.Loggers;
import org.elasticsearch.common.settings.IndexScopedSettings;... | {
"content_hash": "ce674248fa94a4d1235e3e7bf793922d",
"timestamp": "",
"source": "github",
"line_count": 782,
"max_line_length": 169,
"avg_line_length": 46.28772378516624,
"alnum_prop": 0.7182363179269,
"repo_name": "wenpos/elasticsearch",
"id": "286bc4490f725710367b656ef050aadf30f2cf09",
"size": "3... |
package alec_wam.CrystalMod.tiles.pipes.estorage.security;
import alec_wam.CrystalMod.util.ItemStackTools;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.Container;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
import net.minecraftforge.items.SlotItem... | {
"content_hash": "ce9879ade448076a7069ff0267ece6d5",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 103,
"avg_line_length": 31.924242424242426,
"alnum_prop": 0.5728523967726625,
"repo_name": "Alec-WAM/CrystalMod",
"id": "934d8c0c0e435fb0dc84d045e605ddcc0a2534da",
"size": ... |
<div id="body">
<div class="wrapper">
<div class="row-fluid">
<div class="span3">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Blanditiis cumque distinctio esse labore maxime sequi voluptatibus. Aut delectus eum ex excepturi in, nemo quae quisquam reiciendis sol... | {
"content_hash": "c788777a6c16d1b808f783c71cae46da",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 253,
"avg_line_length": 37.736363636363635,
"alnum_prop": 0.4839797639123103,
"repo_name": "juju921/pizza-anna",
"id": "682f2200102046a48594ffc179c196ec0c3b58e2",
"size": ... |
namespace Dropbox.Api.TeamLog
{
using sys = System;
using col = System.Collections.Generic;
using re = System.Text.RegularExpressions;
using enc = Dropbox.Api.Stone;
/// <summary>
/// <para>Added users and/or groups to shared file/folder.</para>
/// </summary>
public class SharedConten... | {
"content_hash": "cd130f4e16879588976c904932f93b31",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 150,
"avg_line_length": 37.82905982905983,
"alnum_prop": 0.5840488025305016,
"repo_name": "dropbox/dropbox-sdk-dotnet",
"id": "15c9797aec2365d8534b51bee5913895b6d9d151",
"... |
describe("Ext.tree.plugin.TreeViewDragDrop", function() {
var TreeItem = Ext.define(null, {
extend: 'Ext.data.TreeModel',
fields: ['id', 'text', 'secondaryId'],
proxy: {
type: 'memory'
}
}),
testNodes = [{
id: 'A',
text: 'A',
secondaryId: '... | {
"content_hash": "32846b3215cfb3deae84da58df0a50b6",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 82,
"avg_line_length": 28.22289156626506,
"alnum_prop": 0.39573105656350055,
"repo_name": "carto-tragsatec/visorCatastroColombia",
"id": "d4e131453da4ede165f1f4336594bbc6ecc... |
package com.bdqn.qqmusic.pojo;
import java.util.HashSet;
import java.util.Set;
/**
* User entity. @author MyEclipse Persistence Tools
*/
public class User implements java.io.Serializable {
// Fields
private Integer uid;
private String uname;
private Integer upwd;
private String uemail;
private Set songList... | {
"content_hash": "ee1caaf6db1daf43e9985d75d4b586ff",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 78,
"avg_line_length": 17.373493975903614,
"alnum_prop": 0.7011095700416089,
"repo_name": "k4kentchow/qqmusic",
"id": "7aba908e2c3dbe6de139a6200f3d91de99df79bd",
"size": "1... |
This tutorial covers how to use es6 modules in the browser.
### Intro
Although browsers like Chrome and Webkit are almost 100% percent compatible with es6, the one little bit that has not been implemented yet is es6 modules (aka import and export). One of the easiest tools for dealing with this problem is browserify, ... | {
"content_hash": "ceb8a42900012b43175560185c28c5b3",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 504,
"avg_line_length": 38.38461538461539,
"alnum_prop": 0.7306613226452906,
"repo_name": "nestoralonso/basic-babel-setup",
"id": "e34b3be447971e58105912aa643d5af29c39cbc2",
... |
package com.jd.risktest.beanannotation;
import org.junit.Assert;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
public class TestAnnotation {
private static ApplicationContext ctx = new ClassPathXmlApplicationC... | {
"content_hash": "c777547a4978db504dd3e17e3476acfa",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 102,
"avg_line_length": 30.54054054054054,
"alnum_prop": 0.7628318584070797,
"repo_name": "haorui658/SpringDrill",
"id": "d098ecfd37e9e2245715112ff932ee79250abb18",
"size":... |
@interface ViewController ()
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
PhotosView *photosView = [[PhotosView alloc] initWithFrame:CGRectMake(20, 20, 200, 200)];
[self.view addSubview:photosView];
}
- (void)didReceiveMemoryWarning {
[super didReceiv... | {
"content_hash": "24f2706d58314d65bcf7909b63829a0f",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 93,
"avg_line_length": 19.047619047619047,
"alnum_prop": 0.695,
"repo_name": "tangguoan/code",
"id": "619e770be329b59049aedebffee222b77552626e",
"size": "581",
"binary": ... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.tavakkolian.wtfwsf"
android:versionCode="2"
android:versionName="1.1" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="18" />
<uses-permission andr... | {
"content_hash": "3c59dee40943bc22f990dad6ed691399",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 76,
"avg_line_length": 35.06666666666667,
"alnum_prop": 0.629277566539924,
"repo_name": "9nut/wtfwsf",
"id": "af0e62b3b9f5ea493e15424555cbcfe9b37918c6",
"size": "1052",
"... |
import re
from reportlab import platypus
from facturapdf import flowables, helper
def element(item):
elements = {
'framebreak': {'class': platypus.FrameBreak},
'simpleline': {'class': flowables.SimpleLine, 'cast': {0: float, 1: float}},
'paragraph': {'class': flowables.Paragraph},
... | {
"content_hash": "5d5ad535ca159687f98c9e05c5c66302",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 84,
"avg_line_length": 32.53125,
"alnum_prop": 0.56388088376561,
"repo_name": "initios/factura-pdf",
"id": "fe7889e7ca8545bc28c5f41c3a73643d2fc70a2c",
"size": "1041",
"bi... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE190_Integer_Overflow__int64_t_rand_multiply_81a.cpp
Label Definition File: CWE190_Integer_Overflow.label.xml
Template File: sources-sinks-81a.tmpl.cpp
*/
/*
* @description
* CWE: 190 Integer Overflow
* BadSource: rand Set data to result of rand()
* GoodSourc... | {
"content_hash": "b1f51b096af72d0782e9186fd8ba3085",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 139,
"avg_line_length": 29.214285714285715,
"alnum_prop": 0.6692280824310164,
"repo_name": "JianpingZeng/xcc",
"id": "a2377b4c9e1cc3ea9693455cd2979d985a7a0ad7",
"size": "28... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | {
"content_hash": "7fe4005ad548395d0e4a320cdf0aa3f1",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 84,
"avg_line_length": 39,
"alnum_prop": 0.7350427350427351,
"repo_name": "johanlantz/headsetpresenter",
"id": "28551ba96ce173acbdb543d164742025a09758ba",
"size": "1290",
... |
package org.apache.commons.imaging.formats.tiff;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.imaging.formats.tiff.constants.AdobePageMaker6TagConstants;
import org.apache.commons.imaging.formats.tiff.consta... | {
"content_hash": "57ef036330e34d600a697da0fdf3c136",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 97,
"avg_line_length": 41.810457516339866,
"alnum_prop": 0.6873534469282476,
"repo_name": "mohanaraosv/commons-imaging",
"id": "6034878c7e7b3cfab0e79823c9103ea4a181e97a",
... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "0d7c5dc84a718e94d6c6f4084574d189",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "c646fadfb1491449474b92f309217deb9a922407",
"size": "191... |
export { default } from 'ember-bootstrap/components/bs-accordion/item';
| {
"content_hash": "d445a592e85d88d1779c68a588705bf8",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 71,
"avg_line_length": 36.5,
"alnum_prop": 0.7671232876712328,
"repo_name": "jelhan/ember-bootstrap",
"id": "06d3857d08436937f0f7580fabb3f51ee952753f",
"size": "73",
"bina... |
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<title>StringMustWrapperForVerb - ScalaTest 2.1.0 - org.scalatest.words.MustVerb.StringMustWrapperForVerb</title>
<meta name="description" co... | {
"content_hash": "71b4b23867a06e735870dd82784d9282",
"timestamp": "",
"source": "github",
"line_count": 554,
"max_line_length": 800,
"avg_line_length": 59.131768953068594,
"alnum_prop": 0.6244696114044995,
"repo_name": "scalatest/scalatest-website",
"id": "76190332a68e8ac97b44639d30979e2b6703248b",
... |
LIBS=ffmpeg-$FFMPEG_VERSION-win32-shared/bin/*.dll
7z x ffmpeg-$FFMPEG_VERSION-win32-shared.7z $LIBS
mkdir -p com/googlecode/javacv/cpp/windows-x86/
cp $LIBS com/googlecode/javacv/cpp/windows-x86/
jar cvf ffmpeg-$FFMPEG_VERSION-windows-x86.jar com/
rm -Rf com/
| {
"content_hash": "2d907df0595f1f66f71c914c62475793",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 51,
"avg_line_length": 43.5,
"alnum_prop": 0.7777777777777778,
"repo_name": "nragot/super-lama-video-editor",
"id": "1e7240b173505945169429982a4c6cfef84b62e8",
"size": "261"... |
<div class="row">
<div class="col-sm-22 col-sm-offset-1">
<h1>Categorias <span ng-bind="filteredCategories.length"></span></h1>
<form class="form-inline text-right">
<div class="form-group">
<label for="categoryQuery">Buscar categorias</label>
<input class... | {
"content_hash": "25c40f92f8f33e221ce9960c2318a2af",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 156,
"avg_line_length": 42.53846153846154,
"alnum_prop": 0.5003013863773358,
"repo_name": "organicos/organicos.github.io",
"id": "7143dcfdb23890140c0891a07207b2e194d6e33d",
... |
<a class="anchor" name="temporal">
<h2 class="section-header">
<span class="glyphicon glyphicon-time"></span>
Temporal Extents
</h2>
</a>
<div class="subform">
<div ng-include="partialsPrefix + 'partials/form/temporalExtent.html'"></div>
<div ng-include="partialsPrefix + 'partials/form/update.ht... | {
"content_hash": "0d5323445dbdaadf1187165a4f4c4bda",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 79,
"avg_line_length": 28.25,
"alnum_prop": 0.6637168141592921,
"repo_name": "northwest-knowledge-network/mdedit",
"id": "d9ea506e658a6728c36c52a12adf5095abe13d6c",
"size":... |
package ca.uhn.fhir.testmodel;
import java.util.List;
import ca.uhn.fhir.model.api.BaseIdentifiableElement;
import ca.uhn.fhir.model.api.ICompositeDatatype;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.IQueryParameterType;
import ca.uhn.fhir.model.api.annotation.Child;
import ca... | {
"content_hash": "d2f79723e3f06a99c5acf055a14965c3",
"timestamp": "",
"source": "github",
"line_count": 406,
"max_line_length": 137,
"avg_line_length": 25.864532019704434,
"alnum_prop": 0.665269974288163,
"repo_name": "gajen0981/FHIR-Server",
"id": "766fe8141e3e9fa1bff6bb27be89aed39d0d3e20",
"size"... |
DLL_EXPORT void *VoidFnPtrLookup_Tier0(const char *libname, const char *fn, void *fallback);
template < class FunctionType >
class CDynamicFunction
{
public:
// Construct with a NULL function pointer. You must manually call
// Lookup() before you can call a dynamic function through this interface.
CDynamicFunction... | {
"content_hash": "b56e611889153ad5ded23d60c2154039",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 108,
"avg_line_length": 38.93518518518518,
"alnum_prop": 0.7129607609988109,
"repo_name": "BerntA/tfo-code",
"id": "bd976b7353c2b2e32500f0d0e2c716a23060b863",
"size": "508... |
<?php
global $themeple_config;
$themeple_config['multi_entry_page'] = true;
$themeple_config['current_sidebar'] = themeple_get_option('blog_sidebar_position');
$spancontent = 12;
if($themeple_config['current_sidebar'] == 'fullsize')
$spancontent = 12;
else
$spancontent = 9;
$themeple_config['cu... | {
"content_hash": "afce04a78d9139ecae04c78273eff3cd",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 243,
"avg_line_length": 34.91428571428571,
"alnum_prop": 0.4795417348608838,
"repo_name": "brianmontecillo/wordpress",
"id": "a3660f819385131573d7a800d7f7da96348672b6",
"s... |
* **orgpolicy:** rewrite signatures in terms of new location ([3c4b2b3](https://github.com/googleapis/google-cloud-go/commit/3c4b2b34565795537aac1661e6af2442437e34ad))
## [1.4.0](https://github.com/googleapis/google-cloud-go/compare/orgpolicy/v1.3.0...orgpolicy/v1.4.0) (2022-10-25)
### Features
* **orgpolicy:** sta... | {
"content_hash": "9f013d60b7b4e6cbf4dfda85968796ee",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 167,
"avg_line_length": 41.55263157894737,
"alnum_prop": 0.7542748575047499,
"repo_name": "googleapis/google-cloud-go",
"id": "b43c2feca46bbb343e4a046b55fb5b3d52a72526",
"s... |
'use strict';
const processor = require('./legacy-processors/foo');
const harness = require('../index')();
harness.runProcessorSpecs(processor);
| {
"content_hash": "df54c118a713244ac05d3a5ddaf2021c",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 53,
"avg_line_length": 24.5,
"alnum_prop": 0.7210884353741497,
"repo_name": "jsnoble/teraslice",
"id": "8d182ad4d4a90657a289101d1e92c076997cfc36",
"size": "147",
"binary":... |
(function(streetsweeper) {
streetsweeper.version = '0.0.5';
var functions = {};
// Basic cleaning functions
functions.removeExtraSpaces = function(address) {
return address.replace(/ +/g, ' ');
};
functions.removeCommas = function(address) {
return address.replace(',','');
};
functions.remov... | {
"content_hash": "ce95862cfbfbaa6367a4e6248ed347e5",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 110,
"avg_line_length": 27.994285714285713,
"alnum_prop": 0.6364564196774852,
"repo_name": "caseypt/streetsweeper",
"id": "f0131ce43ccfd57646a54c965310ef04d0839f0d",
"size... |
package UI::Parameter;
#
# Copyright 2015 Comcast Cable Communications Management, 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# U... | {
"content_hash": "4596903d0edbae6521c3831e6a69ed41",
"timestamp": "",
"source": "github",
"line_count": 256,
"max_line_length": 147,
"avg_line_length": 30.125,
"alnum_prop": 0.608661825726141,
"repo_name": "PSUdaemon/traffic_control",
"id": "7bbfbdea40a4dc18d2adb70d31f6133df6eda0a0",
"size": "7712"... |
/*! Built with http://stenciljs.com */
const { h } = window.trustyle;
const classMap = {};
export { classMap };
| {
"content_hash": "5adb1c98f1616b83cd0e41aca90e333e",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 38,
"avg_line_length": 19,
"alnum_prop": 0.631578947368421,
"repo_name": "tabki/tabki",
"id": "efcdd05e0842ded57680907925367101652be3c8",
"size": "114",
"binary": false,
... |
Ganeti customisation using hooks
================================
Documents Ganeti version 2.17
.. contents::
Introduction
------------
In order to allow customisation of operations, Ganeti runs scripts in
sub-directories of ``@SYSCONFDIR@/ganeti/hooks`` (that is usually
``/etc/ganeti/hooks``). These sub-directorie... | {
"content_hash": "56819d0bfee3f20ae2325070d3df3b89",
"timestamp": "",
"source": "github",
"line_count": 832,
"max_line_length": 112,
"avg_line_length": 27.219951923076923,
"alnum_prop": 0.7329447608954829,
"repo_name": "leshchevds/ganeti",
"id": "6d2b0718995ee5deab15e7b58930c24bb98096be",
"size": "... |
'use strict';
function main(filename, endpointId, project, location = 'us-central1') {
// [START aiplatform_predict_image_classification_sample]
/**
* TODO(developer): Uncomment these variables before running the sample.\
* (Not necessary if passing values as arguments)
*/
// const filename = "YOUR_P... | {
"content_hash": "3bc095a48f6d204e338ba88da03bd415",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 89,
"avg_line_length": 33.39506172839506,
"alnum_prop": 0.7020332717190388,
"repo_name": "googleapis/nodejs-ai-platform",
"id": "6be6685757e8f62b2815dc115762d9b2b193d9ff",
... |
<section class="bg-primary" id="about">
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 text-center">
<h1 class="section-heading">Why China?</h1>
<p class="text-faded">Because brands not addressing China are quite possibly foregoing ... | {
"content_hash": "95549265d2f642c0d4e43469b89ad82a",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 148,
"avg_line_length": 43.25,
"alnum_prop": 0.5857418111753372,
"repo_name": "Jlaventall/Jlaventall.github.io",
"id": "665b8d338f4193b4b971d6facdd475f4d2679472",
"size": "... |
body,html{
background-color:#fff;
color:000;
font-size:12px;
font-family:Arial,serif;
} | {
"content_hash": "ab73991b1865d106302203f83e1e2e26",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 26,
"avg_line_length": 15.833333333333334,
"alnum_prop": 0.6947368421052632,
"repo_name": "Techtribe/grunt-static-handlebars",
"id": "37c156f1a6a12ba28767d217c779bb5f9c0b978c"... |
package com.vmware.vim25;
/**
* @author Steve Jin (http://www.doublecloud.org)
* @version 5.1
*/
public class ArrayOfGuestProcessInfo {
public GuestProcessInfo[] GuestProcessInfo;
public GuestProcessInfo[] getGuestProcessInfo() {
return this.GuestProcessInfo;
}
public GuestProcessInfo getGuestProcessI... | {
"content_hash": "a1d66e849ca08325527abea1b672d53d",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 72,
"avg_line_length": 20.708333333333332,
"alnum_prop": 0.7505030181086519,
"repo_name": "stephenc/vijava",
"id": "55486ed15065630da3e8602effb2d3cc2698572b",
"size": "2148... |
function foo(bar:{a:number;}):string;
function foo(bar:{a:boolean;}):number;
function foo(bar:{a:any;}):any{ return bar }
var x = foo();
//// [functionOverloads34.js]
function foo(bar) {
return bar;
}
var x = foo();
| {
"content_hash": "e4237592357acf6bc87712c3eafb670b",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 44,
"avg_line_length": 20.818181818181817,
"alnum_prop": 0.6244541484716157,
"repo_name": "DickvdBrink/TypeScript",
"id": "48ac2b5fc59c43dc5183ca53eec24d796961b5da",
"size"... |
package ca.evanjones.cache;
import java.util.Objects;
import java.util.concurrent.ConcurrentLinkedDeque;
import java.util.function.Supplier;
/** Only useful to estimate the cost of counting calls to get() in a ThreadLocal. */
public class PooledCache<T> implements Cache<T> {
private final Supplier<T> supplier;
... | {
"content_hash": "bcc78f91d0b74b29291dc917dbde0099",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 84,
"avg_line_length": 25.75862068965517,
"alnum_prop": 0.6532797858099063,
"repo_name": "evanj/expire-threadlocal",
"id": "9edd14f079b55d106525e3f7f3927459cc0360a3",
"size... |
import angular from 'angular';
describe('authors service', () => {
let authorsService, filterService, $httpBackend;
beforeEach(() => {
angular.mock.module('app.common');
angular.mock.inject((_$httpBackend_, _AuthorsService_, _FilterService_) => {
authorsService = _AuthorsService_;
$httpBackend... | {
"content_hash": "3d213a094011e2c89121784914943244",
"timestamp": "",
"source": "github",
"line_count": 146,
"max_line_length": 124,
"avg_line_length": 29.835616438356166,
"alnum_prop": 0.6076675849403123,
"repo_name": "jsperts/workshop_unterlagen",
"id": "73854be256e6bf4ded1b1da73b9c7aa4b370a0dc",
... |
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:aop="http://www.sp... | {
"content_hash": "2f36a28aea17b7c61086d7443ed232a3",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 118,
"avg_line_length": 50.14074074074074,
"alnum_prop": 0.6207711626532723,
"repo_name": "cugskyline/fitment",
"id": "a83795e9d9e235583325f88cb5223e96002aa6ca",
"size": "... |
"""Support for IP Cameras."""
from __future__ import annotations
import asyncio
from contextlib import closing
import logging
import aiohttp
import async_timeout
import requests
from requests.auth import HTTPBasicAuth, HTTPDigestAuth
import voluptuous as vol
from homeassistant.components.camera import PLATFORM_SCHEM... | {
"content_hash": "d6b0b959090c428044f55c88e20694fa",
"timestamp": "",
"source": "github",
"line_count": 186,
"max_line_length": 88,
"avg_line_length": 33.38172043010753,
"alnum_prop": 0.6329521662103398,
"repo_name": "aronsky/home-assistant",
"id": "d486f78d334f55255b06093de6cb2263b3b6ebd6",
"size"... |
using AspectInjector.Broker;
using Microsoft.Extensions.Caching.Distributed;
using Microsoft.Extensions.Caching.Memory;
using System;
using System.Text.Json;
namespace Aspects.Cache
{
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = true)]
[Injection(typeof(CacheAspect), Inh... | {
"content_hash": "920fc00edcbe9ecdb274659788f8a688",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 97,
"avg_line_length": 34.02884615384615,
"alnum_prop": 0.5964961853630969,
"repo_name": "pamidur/aspect-injector",
"id": "45c56475658f5d5badcaf86704fd779b5b44fa3c",
"size... |
package org.apache.geode.internal.admin.remote;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import org.apache.logging.log4j.Logger;
import org.apache.geode.DataSerializer;
import org.apache.geode.cache.ExpirationAction;
import org.apache.geode.cache.Region;
import org.apache.ge... | {
"content_hash": "650204d371f1741c88eef0847b162710",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 99,
"avg_line_length": 29.952380952380953,
"alnum_prop": 0.7090620031796503,
"repo_name": "smgoller/geode",
"id": "7c8b53ddff13a032b6018ba8f7160536a3e43729",
"size": "3305"... |
/* tslint:disable */
import { ReaderFragment } from "relay-runtime";
export type CommerceOrderModeEnum = "BUY" | "OFFER" | "%future added value";
export type CommerceOrderParticipantEnum = "BUYER" | "SELLER" | "%future added value";
import { FragmentRefs } from "relay-runtime";
export type TransactionDetailsSummaryIte... | {
"content_hash": "f8bf7e7e87c6737bdee9708b2c4aa29c",
"timestamp": "",
"source": "github",
"line_count": 215,
"max_line_length": 91,
"avg_line_length": 25.325581395348838,
"alnum_prop": 0.571900826446281,
"repo_name": "anandaroop/force",
"id": "8e047c4145b12fcbfa879b7d4edd24ef61787cb0",
"size": "544... |
package org.apache.hadoop.yarn.client.cli;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.mockito.Matchers.any;
import static org.mockito.Matchers.anyInt;
import static... | {
"content_hash": "b2f965315756b929184f6dd5e715deec",
"timestamp": "",
"source": "github",
"line_count": 1059,
"max_line_length": 103,
"avg_line_length": 40.73465533522191,
"alnum_prop": 0.6867726830172933,
"repo_name": "szegedim/hadoop",
"id": "1f4b493f45714308cf6c55eefc9dbd318c76817e",
"size": "43... |
<?php
use Illuminate\Database\Migrations\Migration;
class CreateSteamidsTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('steamids', function ($table)
{
$table->increments('id');
$table->string('steamid', 32)
->unique();
$table... | {
"content_hash": "6051533701d40bacc97aadceb5dba8c3",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 46,
"avg_line_length": 14.175,
"alnum_prop": 0.5961199294532628,
"repo_name": "Supericy/steam-website",
"id": "05e65420683c9e0195e419112368c4ac0345da84",
"size": "567",
"... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Text;
using Microsoft.CodeAnalysis.Editor.UnitTests;
using Microsoft.CodeAnalysis.Editor.UnitTests.Workspaces;
using Microsoft.VisualStudio.Comp... | {
"content_hash": "f50be50ee536902a2ae40407a35fa08f",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 161,
"avg_line_length": 35.44444444444444,
"alnum_prop": 0.6332288401253918,
"repo_name": "paulvanbrenk/roslyn",
"id": "1ded042709113ac25e1557f6e02878239a6cddef",
"size": "... |
#include "precompiled.hpp"
#include "decoder_allocators.hpp"
#include <cmath>
#include "msg.hpp"
zmq::shared_message_memory_allocator::shared_message_memory_allocator (std::size_t bufsize_) :
buf(NULL),
bufsize(0),
max_size(bufsize_),
msg_content(NULL),
maxCounters (static_cast <size_t> (std::c... | {
"content_hash": "2c8153cf26ed3a316f2a8478b23de33e",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 129,
"avg_line_length": 28.23931623931624,
"alnum_prop": 0.6243946731234867,
"repo_name": "Nep-gear/nep-bio",
"id": "c49e2696e18d4a78871bc884cc1402648deaa04b",
"size": "47... |
let DescriptorFormatType = require('../../descriptor/widgets/descriptorformattype');
let Marionette = require('backbone.marionette');
let MediaCollection = function() {
DescriptorFormatType.call(this);
this.name = "media_collection";
this.group = "media";
};
_.extend(MediaCollection.prototype, Descript... | {
"content_hash": "9db3781e89491d41778424c88211f244",
"timestamp": "",
"source": "github",
"line_count": 217,
"max_line_length": 100,
"avg_line_length": 26.774193548387096,
"alnum_prop": 0.48984509466437176,
"repo_name": "coll-gate/collgate",
"id": "33fbad339f9d85f25e41f7011fbedd6fb0e7c8f6",
"size":... |
package dm
import (
"crypto/x509"
"encoding/pem"
"fmt"
"io/ioutil"
"os"
"path/filepath"
"strings"
"sync/atomic"
"github.com/docker/machine/libmachine/cert"
"github.com/docker/machine/libmachine/mcnutils"
"github.com/tsuru/tsuru/cmd"
"github.com/tsuru/tsuru/iaas/dockermachine"
)
var storeBasePath = cmd.Jo... | {
"content_hash": "9e810c96c40c2d7cc8e108538b47e1a3",
"timestamp": "",
"source": "github",
"line_count": 203,
"max_line_length": 149,
"avg_line_length": 32.72906403940887,
"alnum_prop": 0.6894942805538832,
"repo_name": "ArxdSilva/tsuru-client",
"id": "4a4e6b2f945fa218a0232e34d5db8d65afb65c03",
"size... |
URI Signing Plugin
==================
This remap plugin implements the draft URI Signing protocol documented here:
https://tools.ietf.org/html/draft-ietf-cdni-uri-signing-12 .
It takes a single argument: the name of a config file that contains key information.
**Nota bene:** Take care in ordering the plugins. In gen... | {
"content_hash": "cb4358da4c571f3598f3f127582eb3ca",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 85,
"avg_line_length": 36.031007751937985,
"alnum_prop": 0.7183734939759037,
"repo_name": "reveller/trafficserver",
"id": "7a90bfd765b7c57178deb18522025ad2e13a2006",
"size... |
package rx.lang.scala
import scala.collection.mutable
import scala.collection.mutable.ListBuffer
import scala.concurrent.{Future, Await}
import scala.concurrent.duration.Duration
import scala.concurrent.ExecutionContext.Implicits.global
import org.junit.Assert._
import org.junit.{ Ignore, Test }
import org.scalatestp... | {
"content_hash": "0b6166b39b88018ba056b0ddee76a4b8",
"timestamp": "",
"source": "github",
"line_count": 397,
"max_line_length": 107,
"avg_line_length": 29.7808564231738,
"alnum_prop": 0.6472976401928444,
"repo_name": "ReactiveX/RxScala",
"id": "f4132c64c803935530e675010a28b3ec9e618ff4",
"size": "12... |
[](https://github.com/bigeasy/locket/actions)
[](https://codecov.io/gh/bigeasy/locket)
[](ht... | {
"content_hash": "8f789aae6b71aaef6dce5ec3ce5c2054",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 265,
"avg_line_length": 35.885714285714286,
"alnum_prop": 0.6353503184713376,
"repo_name": "bigeasy/locket",
"id": "44e510891ef13a149a4e7ee2a1620107aa12f585",
"size": "2522... |
package io.scepta.generator.characteristics;
import java.util.Set;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import org.w3c.dom.Text;
import io.scepta.generator.CharacteristicProcessor;
import io.scepta.model.Characteristic;
import io.scepta.model... | {
"content_hash": "580650b3ff59bddbf0dc8476469b9a0d",
"timestamp": "",
"source": "github",
"line_count": 278,
"max_line_length": 106,
"avg_line_length": 37.485611510791365,
"alnum_prop": 0.6291142884560023,
"repo_name": "scepta/scepta",
"id": "c0ef013a89b9d805c9d05f891b46f51cfa720b48",
"size": "1109... |
from django.contrib.contenttypes.fields import GenericForeignKey
from django.contrib.contenttypes.models import ContentType
from django.db import models
from jsonfield import JSONField
from openslides.utils.models import RESTModelMixin
from .access_permissions import (
ObjectProtocolAccessPermissions,
Protocol... | {
"content_hash": "7ecc7fb9771d5910c8c8e3b4064b36b3",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 83,
"avg_line_length": 27.883333333333333,
"alnum_prop": 0.6999402271368799,
"repo_name": "OpenSlides/openslides-protocol",
"id": "3c35357bd518007a47eff7eb74af47245a4d9749",
... |
require 'spec_helper'
describe AliasLine do
before(:each) do
@al = AliasLine.new("gap='git add -p'")
end
it "is created with a string" do
AliasLine.new("gap='git add -p'")
end
it "can tell if it is valid" do
al = AliasLine.new("gap='git add -p'")
al.should be_valid
al = AliasLine.new("... | {
"content_hash": "f89d3d0faa4aa84a89d1b2c0adab6c64",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 43,
"avg_line_length": 19.48148148148148,
"alnum_prop": 0.6254752851711026,
"repo_name": "paulmars/huffshell",
"id": "287a9d83f35afad7a6cfa59dfc4a689062a1cdf8",
"size": "52... |
<h1><a href="cli/npm.html">npm</a></h1> <p>a JavaScript package manager</p>
<p><a href="https://travis-ci.org/npm/npm"><img src="https://img.shields.io/travis/npm/npm/master.svg" alt="Build Status"></a></p>
<h2 id="synopsis">SYNOPSIS</h2>
<p>This is just enough info to get you up and running.</p>
<p>Much more info avai... | {
"content_hash": "9243fcf356bef9ab49a6289454d40e8a",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 288,
"avg_line_length": 61.50306748466258,
"alnum_prop": 0.7197007481296758,
"repo_name": "chirilo/ephace12345",
"id": "7aeadc7d5612ca6c01c4218642acbb1da48bd710",
"size": ... |
<?php
namespace OrganisationApi\Controller;
use DvsaCommonApi\Controller\AbstractDvsaRestfulController;
use DvsaCommonApi\Model\ApiResponse;
use OrganisationApi\Service\AuthorisedExaminerService;
class AuthorisedExaminerNameController extends AbstractDvsaRestfulController
{
/**
* @var AuthorisedExaminerServ... | {
"content_hash": "9161f09ee9bc8b43c05008e0c186f0de",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 83,
"avg_line_length": 27.11111111111111,
"alnum_prop": 0.75,
"repo_name": "dvsa/mot",
"id": "60f1c6e387d92f8be1a33118c47598778a54e21e",
"size": "732",
"binary": false,
... |
package com.nortal.jroad.client.test;
import java.lang.reflect.Method;
import org.junit.Assert;
import org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests;
import org.springframework.test.context.ContextConfiguration;
import com.nortal.jroad.model.XRoadElement;
/**
* Base class for all X-road ... | {
"content_hash": "c871157d19dd082999c9bad99c03807b",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 163,
"avg_line_length": 38.94871794871795,
"alnum_prop": 0.7432521395655036,
"repo_name": "nortal/j-road",
"id": "43fe1f7c432e0d5e7721ccb97d6428e94285a3fa",
"size": "1519",... |
// Based on:
// of some code of 3Dlabs Inc. Ltd.
// and http://stackoverflow.com/questions/11365399/opengl-shader-a-spotlight-and-a-directional-light?answertab=active#tab-top
#version 100
#define FALSE 0
#define MAX_LIGHTS 8
struct Material {
vec4 ambient;
vec4 diffuse;
vec4 specular;
vec4 emission;
float shi... | {
"content_hash": "aaac7f575011001b1ccf8cb8ca183cd3",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 159,
"avg_line_length": 27.081967213114755,
"alnum_prop": 0.7406174334140436,
"repo_name": "andreasdr/tdme",
"id": "587a114a38b5bf2e5fbe7a59a6e774de55c4a479",
"size": "611... |
HackerRank
This repository holds solutions in various languages for miscellaneous problems from HackerRank.
It's mostly used for practicing random things and learning new languages, but I'll happily accept any pull requests if you want to add a valid solution in your favorite language.
If you find any issues with th... | {
"content_hash": "301f3646a129aacd142280c70689f3cc",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 178,
"avg_line_length": 62.57142857142857,
"alnum_prop": 0.817351598173516,
"repo_name": "Sammy-39/HackerRank",
"id": "9d69cb165abdd636fcb22edc18d53cf6631ac3da",
"size": "43... |
package org.rundeck.core.auth.app.type;
import org.rundeck.core.auth.access.AuthorizingIdResource;
import org.rundeck.core.auth.access.ProjectIdentifier;
import org.rundeck.core.auth.access.Singleton;
/**
* Authorizing interface to singleton Adhoc type within a project
*/
public interface AuthorizingProjectAdhoc
... | {
"content_hash": "0a1a525f9eb62ae28d68dff69a11ad7e",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 67,
"avg_line_length": 30,
"alnum_prop": 0.8076923076923077,
"repo_name": "rundeck/rundeck",
"id": "e8e19f05b7b13978e36628485a8e1a5aa4287e37",
"size": "390",
"binary": fa... |
/* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | {
"content_hash": "92dbf3edf19c5fd97dc7e90ffb75557a",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 82,
"avg_line_length": 29.375,
"alnum_prop": 0.7367021276595744,
"repo_name": "springvelocity/xbpm5",
"id": "b5483cc3848cfae2a980b1c496fe46f2d41d0bf8",
"size": "1880",
"b... |
/*!
* \file
* \brief Texture format utilities.
*//*--------------------------------------------------------------------*/
#include "gluTextureUtil.hpp"
#include "gluRenderContext.hpp"
#include "gluContextInfo.hpp"
#include "tcuTextureUtil.hpp"
#include "tcuFormatUtil.hpp"
#include "glwEnums.hpp"
namespace glu
{
u... | {
"content_hash": "7747eb6a5ac5d3005780e96d6dc64444",
"timestamp": "",
"source": "github",
"line_count": 995,
"max_line_length": 164,
"avg_line_length": 41.893467336683415,
"alnum_prop": 0.6731359754342193,
"repo_name": "Omegaphora/external_deqp",
"id": "41056c02b3878ebc03110da8bf854573c02c29ca",
"s... |
package ru.stqa.pft.addressbook.appmanager;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
/**
* Created by Sai on 18.09.2016.
*/
public class NavigationHelper extends HelperBase{
public NavigationHelper(WebDriver wd) {
super(wd);
}
... | {
"content_hash": "4b38e58870844dc8d9a7adb0c7e3aa5b",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 74,
"avg_line_length": 20.823529411764707,
"alnum_prop": 0.6497175141242938,
"repo_name": "shb2304/java_pft",
"id": "aea3e3fb6f461cf1ef9a25c1bbe4050c0725d594",
"size": "708... |
var addRippleEffect = function (e) {
var target = e.target;
if (target.tagName.toLowerCase() !== 'button') return false;
var rect = target.getBoundingClientRect();
var ripple = target.querySelector('.ripple');
if (!ripple) {
ripple = document.createElement('span');
ripple.className =... | {
"content_hash": "801d079da156d1b79bd6f13e995a4232",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 92,
"avg_line_length": 39.130434782608695,
"alnum_prop": 0.6577777777777778,
"repo_name": "nttcom/skyway",
"id": "7f37384a6b019cf7041058d9d7e196e4dede0bde",
"size": "900",
... |
class SlotMachine
include DataMapper::Resource
property :id, Serial
property :power_on, Boolean, :default => false
is :state_machine, :initial => :off, :column => :mode do
state :off,
:enter => :power_down,
:exit => :power_up
state :idle
state :spinning
state :report_loss
stat... | {
"content_hash": "c3b5721b8dd100b31519585e49fc3607",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 58,
"avg_line_length": 18.02127659574468,
"alnum_prop": 0.5844155844155844,
"repo_name": "merbjedi/dm-more-hacked",
"id": "7a16dab4540b273f00cadd03e00a11e0e70d0c5b",
"size"... |
UPGRADE FROM 3.x to 4.0
=======================
ClassLoader
-----------
* The component has been removed. Use Composer instead.
Console
-------
* Setting unknown style options is not supported anymore and throws an
exception.
* The `QuestionHelper::setInputStream()` method is removed. Use
`StreamableInput... | {
"content_hash": "3028ababca604ebbd59c0d016a9f6f8a",
"timestamp": "",
"source": "github",
"line_count": 1017,
"max_line_length": 211,
"avg_line_length": 30.997050147492626,
"alnum_prop": 0.709237406420505,
"repo_name": "backbone87/symfony",
"id": "a1284740a6a7fe3ec8fea1a0b7183150d954cf11",
"size": ... |
(function() {
/*globals tiki ENV ARGV ARGS */
"use modules false";
"use loader false";
/**
Implements a very simple handler for the loader registration API so that
additional scripts can load without throwing exceptions. This loader can
also return module instances for modules registered with an actual fact... | {
"content_hash": "8634523297dae5276fe92f314e4a44d1",
"timestamp": "",
"source": "github",
"line_count": 3221,
"max_line_length": 99,
"avg_line_length": 29.21980751319466,
"alnum_prop": 0.6490963375373205,
"repo_name": "liamoc/opardum-server",
"id": "acf1743aea054cbe30e73bd19205b024cfe25469",
"size"... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "f9fa421df91f200d9a03706831d96586",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "6aa13f3c1ee57c131cd566609f52c8ad9212c6c9",
"size": "191... |
<!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"/>
<title>M-Kernel: event</ti... | {
"content_hash": "a8b9c71a8843e02b138efd78917e134b",
"timestamp": "",
"source": "github",
"line_count": 415,
"max_line_length": 964,
"avg_line_length": 43.0144578313253,
"alnum_prop": 0.6362108565346479,
"repo_name": "alexeyk13/mkernel",
"id": "e1a322048c6e2cfd2f1d97d1da10ffcdf4f5010f",
"size": "17... |
SET(CMAKE_DEPENDS_LANGUAGES
"CXX"
)
# The set of files for implicit dependencies of each language:
SET(CMAKE_DEPENDS_CHECK_CXX
"/home/jeff/dev/dev_apps/sand/ogre/ogre_src_v1-8-1/Samples/Grass/src/Grass.cpp" "/home/jeff/dev/dev_apps/sand/ogre/ogre_src_v1-8-1/build/Samples/Grass/CMakeFiles/Sample_Grass.dir/src/Gras... | {
"content_hash": "71cd135c13912e1cd13d07f76fb80a10",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 197,
"avg_line_length": 36.02777777777778,
"alnum_prop": 0.7440246723207402,
"repo_name": "jjenki11/blaze-chem-rendering",
"id": "04e7c557494fca12fac16097341d264225626c14",
... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="center_vertical|center_horizontal">
<!--
<TextView
andr... | {
"content_hash": "7639822ea8ed130a5b9809dfd554f38d",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 72,
"avg_line_length": 31.391304347826086,
"alnum_prop": 0.6509695290858726,
"repo_name": "tina0430/leejihee-",
"id": "8ac62cec3f53bd8102a12dcca5f0d289b19b77bd",
"size": "7... |
/*!
\file ExtractedDeviceState.h
\author Andrew Kerr <arkerr@gatech.edu>
\date 31 Jan 2011
\brief Data structure describing device state with serialization and deserialization procedures
*/
// C++ includes
#include <iomanip>
#include <sstream>
#include <cassert>
#include <iostream>
#include <cstring>
// Boost inc... | {
"content_hash": "07151949c94ec1b12e9547f5b913ef2d",
"timestamp": "",
"source": "github",
"line_count": 634,
"max_line_length": 96,
"avg_line_length": 28.329652996845425,
"alnum_prop": 0.6241857357608152,
"repo_name": "gtcasl/gpuocelot",
"id": "0cb5755dbdc8a6c9a3d876aee08b269a47f277e7",
"size": "17... |
<!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 Wed Aug 14 21:12:41 EDT 2013 -->
<title>Uses of Class org.drip.analytics.daycount.DCAct_365L</title>
<meta name="date" conten... | {
"content_hash": "ada966b35bd7e57d33ace4a5d2c65a48",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 139,
"avg_line_length": 37.17391304347826,
"alnum_prop": 0.5946198830409357,
"repo_name": "tectronics/rootfinder",
"id": "24b7322403c53467872875a234d2bb911dba5560",
"size"... |
{-# LANGUAGE CPP #-}
{-# LANGUAGE Trustworthy #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE PolyKinds, DataKinds, TypeFamilies, TypeOperators, UndecidableInstances #-}
-----------------------------------------------------------------------------
-- |
-- Module : Data.Eit... | {
"content_hash": "fdcf88bd5e64b560a7787d297710384a",
"timestamp": "",
"source": "github",
"line_count": 346,
"max_line_length": 88,
"avg_line_length": 26.54335260115607,
"alnum_prop": 0.5939677700348432,
"repo_name": "rahulmutt/ghcvm",
"id": "a08dbc5d41ae626a8c96862b634fe83aa0cbf8ca",
"size": "9184... |
from __future__ import print_function
from __future__ import division
import ftplib
from fnmatch import fnmatch
from StringIO import StringIO
import pkgutil
import importlib
from path import path
from fuzzywuzzy import process
import resources
from magicmethods import load_class
from yml import ConfigReader, HistoryR... | {
"content_hash": "f6c73d88a98507d1cff52517897042ca",
"timestamp": "",
"source": "github",
"line_count": 361,
"max_line_length": 114,
"avg_line_length": 30.20498614958449,
"alnum_prop": 0.6507703595011005,
"repo_name": "robinandeer/cosmid",
"id": "79419658bd13cb07a9349c61ca36427fd98c2b89",
"size": "... |
<?php
namespace SilverStripe\Comments\Forms;
use SilverStripe\Forms\CompositeField;
use SilverStripe\Forms\EmailField;
use SilverStripe\Forms\FieldList;
use SilverStripe\Forms\Form;
use SilverStripe\Forms\FormAction;
use SilverStripe\Forms\HiddenField;
use SilverStripe\Forms\ReadonlyField;
use SilverStripe\Forms\Requ... | {
"content_hash": "27c37c056c9f97c2de4b8e5e5f684397",
"timestamp": "",
"source": "github",
"line_count": 278,
"max_line_length": 142,
"avg_line_length": 39.64028776978417,
"alnum_prop": 0.5655172413793104,
"repo_name": "gordonbanderson/silverstripe-comments",
"id": "977eb03050e5096d940b25b613130b2299e... |
<!--
This template loads for the 'tab.about' state (app.js)
-->
<ion-view title="About oto">
<ion-content has-header="true" has-tabs="true" padding="true">
<img src="img/ionic.png" class="ionic-logo">
<p>
oto
</p>
<p>
github:
<a href="http://forum.ionicframework.com/" target="_blank">link<... | {
"content_hash": "cce0920045a080f5fe8a93c6e53b1d81",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 69,
"avg_line_length": 20.842105263157894,
"alnum_prop": 0.5732323232323232,
"repo_name": "ronnpang1/otocopy",
"id": "ef07bb9e206a7cf70483cf956099b9ae8e02cdea",
"size": "39... |
/* eslint-disable */
'use strict';
/*::
import type { Fragment, ReaderFragment } from 'relay-runtime';
import type { FragmentType } from "relay-runtime";
declare export opaque type RelayModernEnvironmentExecuteWithDeferAndModuleTestQuery_user$fragmentType: FragmentType;
export type RelayModernEnvironmentExecuteWith... | {
"content_hash": "0822f300a553970c5dd2c4615ba051b1",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 116,
"avg_line_length": 28.072727272727274,
"alnum_prop": 0.711139896373057,
"repo_name": "wincent/relay",
"id": "5d5967eba3efee9389f6c73295492b0fe0b31e55",
"size": "1845",... |
from login.permissions import cache_clear
def mqtt_cache_clear():
# call cache_clear locally
cache_clear()
# and signal through mqtt
from mqtt.publish import SingletonPublishClient
SingletonPublishClient().publish_message('cache_clear')
| {
"content_hash": "ac9de1aa2cd7747e5a0543f72cf3bc9f",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 59,
"avg_line_length": 23.727272727272727,
"alnum_prop": 0.7394636015325671,
"repo_name": "EMSTrack/WebServerAndClient",
"id": "5b0134d3dfc2be04506d7c623d016a14796ddf41",
"... |
// Copyright 2014 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | {
"content_hash": "83cc8148c9d64efcc78191d997c3c2d8",
"timestamp": "",
"source": "github",
"line_count": 155,
"max_line_length": 93,
"avg_line_length": 32.65806451612903,
"alnum_prop": 0.6689055709205848,
"repo_name": "spxtr/bazel",
"id": "e1dd5e5ec32cea81643c6cd9cbc60447a4fa046c",
"size": "5062",
... |
A master project to improve the UF VIVO ingests and support tools. In particular:
1. Upgrade the person ingest
1. Upgrade the grant ingest
1. Upgrade the publication ingest
1. Upgrade the courses ingest
1. Upgrade vivotools
The development of new vivotools will improve our ability to support all aspects of VIVO, in ... | {
"content_hash": "aee76c3a23f08b4d9535299243f39ed5",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 105,
"avg_line_length": 39.6,
"alnum_prop": 0.8005050505050505,
"repo_name": "mconlon17/vivo-1.5-improvement",
"id": "65d75c1c8b239e66e16e2d13a6d438260e1065f9",
"size": "42... |
<?php
//require_once 'PHPUnit/Framework.php';
class AllTests extends Test_SuiteBase {
public static function suite() {
$suite = new AllTests('Models');
$suite->addTest(TestSuite_Basics_AllTests::suite());
$suite->addTest(TestSuite_Datatypes_AllTests::suite());
$suite->ad... | {
"content_hash": "5f41a3e17c518e6aadf9863ede19f0de",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 65,
"avg_line_length": 29.1875,
"alnum_prop": 0.6209850107066381,
"repo_name": "PatidarWeb/pimcore",
"id": "ff1cf5e8d80c030f93dbef5cb9c9813f1f12ca2e",
"size": "467",
"bin... |
namespace rec {
namespace util {
namespace thread {
// Callbacks for functions or methods which return null.
template <typename Type>
Callback* makeCallback(Type o) {
return new callback::Pointer<Type>(o);
}
template <typename Type, typename Method>
Callback* methodCallback(Type* o, Method m) {
return new callba... | {
"content_hash": "76390f291cf40e2dea5bf681431a108b",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 93,
"avg_line_length": 32.53658536585366,
"alnum_prop": 0.7091454272863568,
"repo_name": "rec/echomesh",
"id": "5eee1eb8088903b68e413824cb4ddff311002bc8",
"size": "1650",
... |
package brooklyn.util.file;
import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkNotNull;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.util.Map;
import java.util.jar.Attr... | {
"content_hash": "3be00f519ea1f884460fdfdc761a6b88",
"timestamp": "",
"source": "github",
"line_count": 352,
"max_line_length": 142,
"avg_line_length": 32.96590909090909,
"alnum_prop": 0.6107376766632195,
"repo_name": "merrickjyoungibm/brooklyn",
"id": "fae8a8c5412f6e34477b3896463d15fa446446c8",
"s... |
<?php
// OpmTestBundle:Default:index.html.twig
return array (
);
| {
"content_hash": "69f8217a3925f7059e31b62d037f0c69",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 40,
"avg_line_length": 13.2,
"alnum_prop": 0.7121212121212122,
"repo_name": "oxia-Opm/opm_dev",
"id": "d843967df893a94e26c5f79f7e12a4ed05bde68c",
"size": "66",
"binary": f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.