text stringlengths 2 1.04M | meta dict |
|---|---|
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <math.h>
#include <gst/gst.h>
#include <gtk/gtk.h>
/* global pointer for the scale widget */
static GtkWidget *elapsed;
static GtkWidget *scale;
#ifndef M_LN10
#define M_LN10 (log(10.0))
#endif
static void
value_changed_callback (GtkWidget * widget, GstEle... | {
"content_hash": "7e2865ac2bc419ce59c2781826ddb8a7",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 103,
"avg_line_length": 26.735632183908045,
"alnum_prop": 0.6642304385210662,
"repo_name": "google/aistreams",
"id": "a3ca3d758439c6a4d6543f157d9366b8a2828a0b",
"size": "5... |
// Copyright © 2021 GGG KILLER <gggkiller2@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
// and associated documentation files (the “Software”), to deal in the Software without
// restriction, including without limitation the rights to use, copy, modify,... | {
"content_hash": "9ea7b41349209452c562fa363352e72c",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 164,
"avg_line_length": 48.70238095238095,
"alnum_prop": 0.6790515766316304,
"repo_name": "GGG-KILLER/GUtils.NET",
"id": "ea33283a7c63575046537ffd80b46dd0bb2f1faf",
"size":... |
Drawing with Kinect on any surface
==================
A new degree of freedom.
-------
This project is intended to allow to everyone with a depth sensor and a projector to create interactive drawings on any surface,
expanding the idea of blackboard and creating new horizons for creativity. It offers an immersive exper... | {
"content_hash": "ecd259c33db6f1a2202267edda1bb5d5",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 383,
"avg_line_length": 57.17821782178218,
"alnum_prop": 0.7669264069264069,
"repo_name": "VasLem/KinectPainting",
"id": "8d6be55772432e14917f22e6580831362a4b3784",
"size"... |
using System;
using QUEBB.Core.Boundary;
using QUEBB.Core.Entities;
using QUEBB.Core.Infrastructure;
namespace QUEBB.Core.AddPost
{
public class AddPostHandler
{
private readonly IRepository _repository;
public AddPostHandler(IRepository repository)
{
if (repositor... | {
"content_hash": "1d2ac14635d7e26b5d974429d10027dd",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 82,
"avg_line_length": 25.47826086956522,
"alnum_prop": 0.5110921501706485,
"repo_name": "csMACnz/QUEBB",
"id": "bdc7c7985d21c1921edb841afc97da61493ce792",
"size": "1174",
... |
@implementation SampleAppCurrentSession
@synthesize issuer = _issuer;
@synthesize client_id = _client_id;
@synthesize nonce = _nonce;
@synthesize OIDCImplicitProfile = _OIDCImplicitProfile;
NSDictionary *_allAttributes;
+(SampleAppCurrentSession *)session
{
static SampleAppCurrentSession *sess;
if(sess... | {
"content_hash": "f5148a483cdc2ca6e314c4351f1e4438",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 108,
"avg_line_length": 17.18888888888889,
"alnum_prop": 0.6354234001292824,
"repo_name": "depl0y/iOSSample-OIDC-Implicit",
"id": "e061bc326a772a197e50970b484232bff04d2460",
... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media... | {
"content_hash": "2d5e135174a7ad28e899e43139082d09",
"timestamp": "",
"source": "github",
"line_count": 209,
"max_line_length": 297,
"avg_line_length": 43.91387559808612,
"alnum_prop": 0.5095881455654827,
"repo_name": "dcarda/aba.route.validator",
"id": "f2a5eb14884789d1722fe724bc3a306fb3729954",
"... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>class RubyXL::OLESize - rubyXL 3.3.15</title>
<script type="text/javascript">
var rdoc_rel_prefix = "../";
</script>
<script src="../js/jquery.js"></script>
<script src="../js/darkfish.js"></script>
<link href="../css/fonts.css" rel="stylesheet">
<link ... | {
"content_hash": "26169e19ef959c84b3589152d4a63950",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 134,
"avg_line_length": 24.18095238095238,
"alnum_prop": 0.6325324931075227,
"repo_name": "parallel588/rubyXL",
"id": "4135fe89346771423d2d71cb52ee66aa1085f28e",
"size": "... |
package com.knight.arch.events;
/**
* @author andyiac
* @date 15-10-19
* @web http://blog.andyiac.com
* @github https://github.com/andyiac
*/
public class TrendingReposTimeSpanTextMsg {
String timeSpan;
public String getTimeSpan() {
return timeSpan;
}
public void setTimeSpan(String time... | {
"content_hash": "75d6618de3477bc86842069d9662e512",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 46,
"avg_line_length": 18.45,
"alnum_prop": 0.6558265582655827,
"repo_name": "andyiac/githot",
"id": "6ec3f85d559dd7b033afe94477dd3107b87903be",
"size": "369",
"binary": ... |
<html>
<title>messaging v1 Client Library for Java</title>
<body>
<h1>Overview</h1>
<p>This is a client library bundle using Google Cloud Endpoints. In order to use this API client library in your project, you need to build the library using Gradle.</p>
<h2>How to build API client library using Gradle</h2>
<p>Under ... | {
"content_hash": "4dad874d5ecf77368969fdded8262c12",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 338,
"avg_line_length": 43.891891891891895,
"alnum_prop": 0.707820197044335,
"repo_name": "vaektor/Loqale",
"id": "bd729c730aad83dfcdccb74bc6383f4907582e34",
"size": "3248"... |
package org.vitrivr.cineast.core.features;
import org.vitrivr.cineast.core.features.abstracts.SolrTextRetriever;
public class OCRSearch extends SolrTextRetriever {
@Override
protected String getEntityName() {
return "features_ocr";
}
}
| {
"content_hash": "257b668aa3fdaaaf247e070f44e46fdf",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 69,
"avg_line_length": 19.307692307692307,
"alnum_prop": 0.7729083665338645,
"repo_name": "silvanheller/cineast",
"id": "34566dc90c972c4ada81b078d8f5881132048d59",
"size": ... |
First Timer's GameBoy Emulator
I definitely don't own SDL. | {
"content_hash": "f5b3e962a95972a6ec1a44ac98e0f5ab",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 30,
"avg_line_length": 19.666666666666668,
"alnum_prop": 0.7966101694915254,
"repo_name": "thebeardphantom/FTGBE",
"id": "6bed8e222b4320c03d8fe357710c417c33eda013",
"size": ... |
'------------------------------------------------------------------------------
' <auto-generated>
' Dieser Code wurde von einem Tool generiert.
' Laufzeitversion:4.0.30319.1
'
' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
' der Code erneut generiert wird.
... | {
"content_hash": "7a532e4d558f986e8f79dfcd2c20a09d",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 179,
"avg_line_length": 40.917808219178085,
"alnum_prop": 0.6575159022430532,
"repo_name": "NetOfficeFw/NetOffice",
"id": "773310e9f988c7fe57e6a2001508877501c39b4f",
"size"... |
import Model, { attr } from '@ember-data/model';
export default class PageModel extends Model {
@attr('string') title;
}
| {
"content_hash": "2a27438c9a5363895b6803708a0cb5ad",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 48,
"avg_line_length": 20.833333333333332,
"alnum_prop": 0.696,
"repo_name": "ef4/ember-resource-metadata",
"id": "db559f956f021fe9215697c6612e44e5ec18cdd8",
"size": "125",
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>Programmation defensive avec assert()</title>
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=ISO-8859-1">
<meta n... | {
"content_hash": "05221e2bcfebfc18c25d16e7eb0ae36f",
"timestamp": "",
"source": "github",
"line_count": 2707,
"max_line_length": 422,
"avg_line_length": 85.49021056520132,
"alnum_prop": 0.6917751985550207,
"repo_name": "yubo/program",
"id": "e992936ddba81c6eba9ad86e49a90edcb99a8f6a",
"size": "23142... |
typedef uint8_t uint8;
typedef uint16_t uint16;
typedef uint32_t uint32;
typedef uint64_t uint64;
typedef int8_t int8;
typedef int16_t int16;
typedef int32_t int32;
typedef int64_t int64;
#define MDFN_FASTCALL
#define INLINE inline
#define MDFN_COLD
#define MDFN_HOT
#define NO_INLINE
#define NO_CLONE
#define MDFN_WARN... | {
"content_hash": "1a54a9e6b965338ea43bbe8052b4a301",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 125,
"avg_line_length": 33.892857142857146,
"alnum_prop": 0.7510537407797682,
"repo_name": "ircluzar/RTC3",
"id": "16f349b2fb32fc4385ed597a7651e752cdbb9844",
"size": "3945... |
#import "AppDelegate.h"
#import <React/RCTBundleURLProvider.h>
#import <React/RCTRootView.h>
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
NSURL *jsCodeLocation;
jsCodeLocation = [[RCTBundleURLProvider sharedSettings]... | {
"content_hash": "bbdfcce6729bb79b946bf43004ca180f",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 118,
"avg_line_length": 36.2,
"alnum_prop": 0.6850828729281768,
"repo_name": "zhanglizhao/react-native-knowledge",
"id": "4bbd493c80ea336d2534f36b6328a01e076d0887",
"size":... |
package blv.util;
import java.*;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
public class Timer extends Thread {
ActionListener target;
int delay;
public Timer(ActionListener target, int delay){
this.target = target;
this.delay = delay;
}
public void run(){
while (tr... | {
"content_hash": "2fb5a466a7a5150cff153d9727e4db09",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 90,
"avg_line_length": 16.4,
"alnum_prop": 0.6428571428571429,
"repo_name": "bvarner/javashare",
"id": "481840e42531982f0b8243aeb11713802a6cdbc7",
"size": "574",
"binary"... |
from rest_framework.filters import (
FilterSet
)
from csacompendium.research.models import Diversity
class DiversityListFilter(FilterSet):
"""
Filter query list from diversity database table
"""
class Meta:
model = Diversity
fields = {
'diversity': ['iexact', 'icontains... | {
"content_hash": "795221887754f109787fbd745465d658",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 51,
"avg_line_length": 22.9375,
"alnum_prop": 0.6212534059945504,
"repo_name": "nkoech/csacompendium",
"id": "bc873a4059a65abdcb27d698675af294686707b0",
"size": "367",
"b... |
begin
require 'simplecov'
SimpleCov.start do
add_filter "/spec/"
end
rescue LoadError => e
end
# This file was generated by the `rspec --init` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# Require this file using `require "spec_helper"` to ensure... | {
"content_hash": "68f87959a9a44607d2dfa3a68c38df62",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 77,
"avg_line_length": 32.714285714285715,
"alnum_prop": 0.7194323144104804,
"repo_name": "clayton/ofcp_scoring",
"id": "e5a78c975df05e55085a7ff6e4f298579f386274",
"size": ... |
X509 *parse_b64der_cert(const char* cert_data)
{
std::vector<unsigned char> data = DecodeBase64(cert_data);
assert(data.size() > 0);
const unsigned char* dptr = &data[0];
X509 *cert = d2i_X509(NULL, &dptr, data.size());
assert(cert);
return cert;
}
//
// Test payment request handling
//
static... | {
"content_hash": "0291d43bf7d9c9f1aeb2c5b30e0b2275",
"timestamp": "",
"source": "github",
"line_count": 188,
"max_line_length": 103,
"avg_line_length": 41.58510638297872,
"alnum_prop": 0.7111793297518547,
"repo_name": "CoinAge-DAO/solari",
"id": "089c13950b1301f052cf93b7625e468224f3e7b6",
"size": "... |
<?php
namespace GoogleApi\Service;
use GoogleApi\Io\HttpRequest;
use GoogleApi\Io\REST;
use GoogleApi\Client;
use GoogleApi\Config;
/**
* Implements the actual methods/resources of the discovered Google API using magic function
* calling overloading (__call()), which on call will see if the method name (plus.activ... | {
"content_hash": "f332aaccbbdecae04fd15de3ad21093f",
"timestamp": "",
"source": "github",
"line_count": 193,
"max_line_length": 144,
"avg_line_length": 37.9119170984456,
"alnum_prop": 0.5339620062867295,
"repo_name": "Sorien/google-api",
"id": "f6d50bd8bac3ca3585ffe7beb14ea246c2240001",
"size": "79... |
package org.neo4j.ogm.domain.canonical.hierarchies;
import org.neo4j.ogm.annotation.RelationshipEntity;
/**
* @author vince
*/
@RelationshipEntity(type = "CR")
public class CR extends R {
//some stuff here ...
}
| {
"content_hash": "423daf2f3b5fc017ae423a72d26d10f8",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 51,
"avg_line_length": 18.416666666666668,
"alnum_prop": 0.7149321266968326,
"repo_name": "neo4j/neo4j-ogm",
"id": "51e1c91c30050bb60e9145d16d4f47077e283301",
"size": "893"... |
require 'google/storage/network/base'
module Google
module Storage
module Network
# A wrapper class for a Get Request
class Get < Google::Storage::Network::Base
end
end
end
end
| {
"content_hash": "6691f8457143cfc0a60fe7114f618ee6",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 48,
"avg_line_length": 18.90909090909091,
"alnum_prop": 0.6730769230769231,
"repo_name": "GoogleCloudPlatform/puppet-google-storage",
"id": "bf0da734e2b044549dce425999cf15418... |
title: "v0.28.2 - 2018-07-23"
linkTitle: "v0.28.2 - 2018-07-23"
weight: -42
---
<html>
<head>
<title>kubernetes/minikube - Leaderboard</title>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap" rel="style... | {
"content_hash": "1a709e640cf9111091e608f945d0394d",
"timestamp": "",
"source": "github",
"line_count": 422,
"max_line_length": 119,
"avg_line_length": 33.97867298578199,
"alnum_prop": 0.4132087314317595,
"repo_name": "warmchang/minikube",
"id": "705b59133045d999c758b0321b1ac18e04ac1d12",
"size": "... |
/*
* This Java source file was auto generated by running 'gradle buildInit --type java-library'
* by 'steve' at '20/11/14 21:10' with Gradle 2.1
*
* @author steve, @date 20/11/14 21:10
*/
public class Library {
public boolean someLibraryMethod() {
return true;
}
}
| {
"content_hash": "691bcb7795d6e42d138168dabab8de25",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 93,
"avg_line_length": 26,
"alnum_prop": 0.6538461538461539,
"repo_name": "WeaSeLworks/ChromeDriver",
"id": "8cc88e66f247c5e98aa4042cc4d060def69cdadb",
"size": "286",
"bi... |
class Therapeutor::Questionnaire::RecommendationLevel
include ActiveModel::Validations
attr_accessor :name, :label, :description, :color, :banning, :last, :previously_discarded_level
validates :name, presence: {allow_blank: false}
validates :label, presence: {allow_blank: false}
validates :color, presence: ... | {
"content_hash": "bac3fa6d4d8ae55c15d2c87b6983e3e8",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 112,
"avg_line_length": 33.45,
"alnum_prop": 0.6841056302939711,
"repo_name": "pbanos/therapeutor",
"id": "9388951d87db6df730847fccf4a13f0e52a3ec75",
"size": "2007",
"bin... |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Example - example-example6-production</title>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.4.2/angular.min.js"></script>
<script src="script.js"></script>
</head>
<body ng-app="drag">
<span draggable>Drag ME</span>
</... | {
"content_hash": "d6e41cbb0dd7add52650e9e943a6d46f",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 88,
"avg_line_length": 19.58823529411765,
"alnum_prop": 0.6516516516516516,
"repo_name": "luucasAlbuq/ClinicaMaisSorriso",
"id": "84d423f6daad5dd3da8338c1c768d93e8bfe4c5f",
... |
import { Util } from './util';
describe('Util => parseBoolean', () => {
it('"yes" return true', () => {
expect(Util.parseBoolean('yes')).toEqual(true);
});
it('"true" return true', () => {
expect(Util.parseBoolean('true')).toEqual(true);
});
it('"no" return false', () => {
expect(Util.parseBool... | {
"content_hash": "679f5588abf06d53de7b4619974af473",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 89,
"avg_line_length": 26.177777777777777,
"alnum_prop": 0.5764006791171478,
"repo_name": "OntimizeWeb/ontimize-web-ngx",
"id": "f6ab7e4d4db7f51c6ec9323ca94ad719477cc7f9",
... |
"""
conference.py -- Udacity conference server-side Python App Engine API;
uses Google Cloud Endpoints
$Id: conference.py,v 1.25 2014/05/24 23:42:19 wesc Exp wesc $
created by wesc on 2014 apr 21
"""
__author__ = 'wesc+api@google.com (Wesley Chun)'
from datetime import datetime
from datetime import date
from ... | {
"content_hash": "585931cef6f46368e5d2a63b65360612",
"timestamp": "",
"source": "github",
"line_count": 894,
"max_line_length": 132,
"avg_line_length": 38.4675615212528,
"alnum_prop": 0.6191334690316953,
"repo_name": "preveyj/Udacity-FSWDND-Project-4",
"id": "4a0bc23eff2dc97f638c6e4ffd1b8fd49aa94f0b"... |
package com.amazonaws.services.cloudformation.model;
/**
* Resource Status
*/
public enum ResourceStatus {
CREATE_IN_PROGRESS("CREATE_IN_PROGRESS"),
CREATE_FAILED("CREATE_FAILED"),
CREATE_COMPLETE("CREATE_COMPLETE"),
DELETE_IN_PROGRESS("DELETE_IN_PROGRESS"),
DELETE_FAILED("DELETE_FAILED"),
... | {
"content_hash": "9d300cdc5a75707aae5a3c6a2edd1372",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 95,
"avg_line_length": 30.527272727272727,
"alnum_prop": 0.6098868374032163,
"repo_name": "apetresc/aws-sdk-for-java-on-gae",
"id": "8ed106351d739a78a837c38d974a5fd2222024d5"... |
<html>
<head>
<title>Angular QuickStart</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- 1. Load libraries -->
<!-- Polyfill(s) for older browsers -->
<script src="assets/vendor/core-js/client/shim.min.js"></script>
<script src="... | {
"content_hash": "bcb6692d2de037054dd1513b8c12e2e5",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 72,
"avg_line_length": 32.92307692307692,
"alnum_prop": 0.6238317757009346,
"repo_name": "c4wrd/angular2-electron-boilerplate",
"id": "1e3ad7aaa887e9031b05acb413555a92c01604a... |
package com.intel.analytics.bigdl.dllib.nn.tf
import com.intel.analytics.bigdl.dllib.tensor.Tensor
import com.intel.analytics.bigdl.dllib.utils.T
import com.intel.analytics.bigdl.dllib.utils.serializer.ModuleSerializationTest
import org.scalatest.{FlatSpec, Matchers}
import scala.util.Random
@com.intel.analytics.bi... | {
"content_hash": "f3f41729fa8a25ddecaf72c4ac6527fa",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 79,
"avg_line_length": 38.54545454545455,
"alnum_prop": 0.6922169811320755,
"repo_name": "intel-analytics/BigDL",
"id": "f63c8dfefb8684ab9b68d651fb77c22b9cd64ec5",
"size": ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>MageParams - FAKE - F# Make</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="Steffen Forkmann, Mauricio Scheffer, Colin Bull"... | {
"content_hash": "e34083a09ffc3bd9c31356435674fb91",
"timestamp": "",
"source": "github",
"line_count": 509,
"max_line_length": 209,
"avg_line_length": 42.776031434184674,
"alnum_prop": 0.5146741376934736,
"repo_name": "kirill-gerasimenko/fseye",
"id": "2c1954324f17d6f04d4516594723be6349ef75c0",
"s... |
/**
* Subprocess library, modeled after Python's subprocess module
* (http://docs.python.org/2/library/subprocess.html)
*
* This library defines one class (Subprocess) which represents a child
* process. Subprocess has two constructors: one that takes a vector<string>
* and executes the given executable withou... | {
"content_hash": "1a01918d41d3b82c0f0e52f375d8a6e5",
"timestamp": "",
"source": "github",
"line_count": 794,
"max_line_length": 80,
"avg_line_length": 36.714105793450884,
"alnum_prop": 0.6792219820932387,
"repo_name": "bsampath/folly",
"id": "da2b560241fdf80eb9160648d6f5746487b18cc4",
"size": "2974... |
const debug = require('debug')('ali-oss');
const sendToWormhole = require('stream-wormhole');
const xml = require('xml2js');
const AgentKeepalive = require('agentkeepalive');
const HttpsAgentKeepalive = require('agentkeepalive').HttpsAgent;
const merge = require('merge-descriptors');
const platform = require('platform'... | {
"content_hash": "a20f9ff916524e5df70e54f45b3acc34",
"timestamp": "",
"source": "github",
"line_count": 387,
"max_line_length": 110,
"avg_line_length": 27.041343669250647,
"alnum_prop": 0.6394648829431439,
"repo_name": "ali-sdk/ali-oss",
"id": "5203237141a99009ae68cd60015812e8aff0a82b",
"size": "10... |
package org.apache.tapestry5.ioc.internal.services;
import org.apache.tapestry5.beaneditor.DataType;
import org.apache.tapestry5.beaneditor.Validate;
public class Bean
{
public static final Double PI = 3.14;
@DataType("fred")
@Validate("field-value-overridden")
private int value;
@Validate("gett... | {
"content_hash": "266e3c0e7fb3e14db461efee971413e7",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 51,
"avg_line_length": 17.94871794871795,
"alnum_prop": 0.6357142857142857,
"repo_name": "agileowl/tapestry-5",
"id": "3fae5a641a2dc23fb3dc530378665b2b0fdd622b",
"size": "7... |
<?php
// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
jimport('joomla.application.component.view');
class GantryViewTemplate extends GantryLegacyJView
{
protected $_version = '4.1.8';
protected $item;
protected $form;
protected $state;
protected $override = f... | {
"content_hash": "a5d04e7bcd52972d9e1ec1b7e688bf54",
"timestamp": "",
"source": "github",
"line_count": 205,
"max_line_length": 135,
"avg_line_length": 29.170731707317074,
"alnum_prop": 0.6413043478260869,
"repo_name": "creative2020/f4u",
"id": "316e0496abc0d54ee2b4ee5cfb785d679911a43f",
"size": "6... |
'''
Run ParRes dgemm with the monitor agent.
'''
import argparse
from experiment.monitor import monitor
from experiment import machine
from apps.parres import parres
if __name__ == '__main__':
parser = argparse.ArgumentParser()
monitor.setup_run_args(parser)
parres.setup_run_args(parser)
args, extra... | {
"content_hash": "382cc6ca92c3fc849033907b8f4f2ca7",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 59,
"avg_line_length": 28.3,
"alnum_prop": 0.6978798586572438,
"repo_name": "geopm/geopm",
"id": "df4927ba8d36c1b6976194afb99c75f8cfadf7db",
"size": "683",
"binary": fals... |
import * as request from 'superagent';
import * as _ from 'lodash';
export class APIClient {
constructor() {
}
get(url: string, query: {}) {
return request.get(url).query(query);
}
}
export class SlackAPIClient extends APIClient{
private url = 'https://slack.com/api/';
constructor(private token) {
super... | {
"content_hash": "342191ecbf6b916a3cce7d19f7fb4d03",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 96,
"avg_line_length": 21.4,
"alnum_prop": 0.6766355140186916,
"repo_name": "hideto0710/slack-trend-redux",
"id": "6c2860bb4e1df84dbe525b143d53b1ae7da00bbc",
"size": "650",... |
;
(function() {
window.require(["ace/snippets/xml"], function(m) {
if (typeof module == "object" && typeof exports == "object" && module) {
module.exports = m;
}
});
})(); | {
"content_hash": "88eed5c125a61e9179e8a49c041e8377",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 76,
"avg_line_length": 23.625,
"alnum_prop": 0.544973544973545,
"repo_name": "TeamSPoon/logicmoo_workspace",
"id": "2fb3aeba798d7b47b16102d0e59af1f4d1d8544f",
"size": "189",... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "b5b199e0d8e52998ee5bf4e48eaf6f6e",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "2e21ea59bb19d6a99804b7275603c8e97832d46e",
"size": "181... |
module ActionCable
module Channel
# The channel provides the basic structure of grouping behavior into logical units when communicating over the websocket connection.
# You can think of a channel like a form of controller, but one that's capable of pushing content to the subscriber in addition to simply
#... | {
"content_hash": "894ed3c1dfd5cc9086bcd5fe6d441659",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 151,
"avg_line_length": 39.17857142857143,
"alnum_prop": 0.6496505621391674,
"repo_name": "cristianbica/actioncable",
"id": "f389e360f6e42efa894b0d304927054846d17a55",
"si... |
package resources
import (
"context"
"os"
"testing"
"github.com/google/go-cmp/cmp"
"github.com/tektoncd/triggers/pkg/apis/triggers/v1beta1"
appsv1 "k8s.io/api/apps/v1"
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
reconcilersource "knative.dev/eventing/pkg/reconciler/source"
du... | {
"content_hash": "015707bd8433e30d3ce00a58067dc21a",
"timestamp": "",
"source": "github",
"line_count": 345,
"max_line_length": 114,
"avg_line_length": 27.089855072463767,
"alnum_prop": 0.619944361224053,
"repo_name": "tektoncd/triggers",
"id": "32c9a671f19411221e972e6fbaac87c8f6801184",
"size": "9... |
/**
* @Class
* Calendar entity
*
* @property {year} Ano do calendário
* @property {events} Vetor com todos os eventos
* @property {events.code}
* @property {events.name}
* @property {events.date}
*
* @since: 2014-05
* @author: Rafael Almeida Erthal Hermano
*/
var mongoose, Schema, schema;
mongoose = requir... | {
"content_hash": "8c298ca1328c8a635a79a5c851217b6a",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 54,
"avg_line_length": 19.33823529411765,
"alnum_prop": 0.5110266159695818,
"repo_name": "rodrigoeg/calendar",
"id": "020dcd4cdbaa68d3e9d1e82b11714b9870c1c1ff",
"size": "13... |
If you want to contribute please follow this instruction.
1. Fork repository.
2. Clone to your PC or Mac.
3. Navigate to repository directory
4. Run
npm install
5. Create new `fix` or `feature` branch
6. Make modifications to `calendar.es6`
Please do not build compiled version of `calendar.js`
8. Pull t... | {
"content_hash": "3e93fbb3f8deb073b2c6b01134b31460",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 57,
"avg_line_length": 25.142857142857142,
"alnum_prop": 0.7357954545454546,
"repo_name": "fluffels/calendar",
"id": "3b1e5df2cdd9fa59cce5b75ee2d9e00785865c30",
"size": "35... |
package bupt.tiantian.weibo.statuslistshow;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import com.facebook.drawee.backends.pipeline.Fresco;
import com.facebook.drawee.interfaces.DraweeController;
impor... | {
"content_hash": "9ba37cca11f89c447a7333b610ae881f",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 86,
"avg_line_length": 31.024390243902438,
"alnum_prop": 0.6717767295597484,
"repo_name": "xietiantian/Weibo",
"id": "cb5fd03bebf3e9069c41cf8f302ca8c878589cfe",
"size": "25... |
using System;
using SFA.DAS.EAS.Domain.Models.Payments;
using System.Collections.Generic;
using System.Data.Common;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using System.Threading;
using System.Threading.Tasks;
namespace SFA.DAS.EAS.Infrastructure.Data
{
[DbConfigurationT... | {
"content_hash": "faa126882ba0521cfd3fb6e0e1795b81",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 183,
"avg_line_length": 34.88,
"alnum_prop": 0.6536697247706422,
"repo_name": "SkillsFundingAgency/das-employerapprenticeshipsservice",
"id": "2246c394b7ec4794e7516d145883a6a... |
title: Heroku deployment
---
## Generating Heroku Procfile
`msgflo-procfile` can automatically generate a [Procfile](https://devcenter.heroku.com/articles/procfile)
for running as a Heroku service, based on the MsgFlo graph and component information.
This ensures that the production service runs in the same way as whe... | {
"content_hash": "87cf4d94be334a57563ea2f35421ba63",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 118,
"avg_line_length": 47.266666666666666,
"alnum_prop": 0.7785613540197461,
"repo_name": "msgflo/msgflo",
"id": "78486540536dfdabbd69d81df3fee3fa88e7834c",
"size": "713",... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Reflection;
using System.Threading;
using System.Reflection;
using System.Resources;
namespace SoukeyNetget
{
public partial class frmUpd... | {
"content_hash": "599c5909b3932c06f57e0a13998454db",
"timestamp": "",
"source": "github",
"line_count": 230,
"max_line_length": 171,
"avg_line_length": 31.308695652173913,
"alnum_prop": 0.5110401333148173,
"repo_name": "zhouweiaccp/code",
"id": "b54a0aba51772f00f0811a03a2eb230a6b8f7f3e",
"size": "7... |
<!DOCTYPE html >
<html>
<head>
<link rel="stylesheet" href="demos.css" type="text/css" media="screen" />
<script src="../libraries/RGraph.common.core.js" ></script>
<script src="../libraries/RGraph.common.csv.js" ></script>
<script src="../libraries/RGraph.bar.js" ></script>
<script src="http:/... | {
"content_hash": "ec4e32a04f23f9578c5c59e73e1b0735",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 396,
"avg_line_length": 39.306930693069305,
"alnum_prop": 0.46574307304785895,
"repo_name": "ubiss2015d/alpha",
"id": "d701a280d62fe9405af4b9f803640a6617db0bd9",
"size": "... |
inline float gl_height() {return fltk::glgetascent()+fltk::glgetdescent();}
#define gl_descent fltk::glgetdescent
#define gl_width fltk::glgetwidth
#define gl_draw fltk::gldrawtext
//void gl_measure(const char*, int& x, int& y);
#define gl_draw_image fltk::gldrawimage
#endif // !FL_gl_H
| {
"content_hash": "7e9d377c228e4487e6392c5beb8cdefd",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 75,
"avg_line_length": 36.25,
"alnum_prop": 0.7310344827586207,
"repo_name": "easion/os_sdk",
"id": "b6cba63d60fffd402e2865af019064ad73141c34",
"size": "546",
"binary": fa... |
FILE(REMOVE_RECURSE
"CMakeFiles/example_MatrixExponential.dir/MatrixExponential.cpp.o"
"example_MatrixExponential.pdb"
"example_MatrixExponential"
)
# Per-language clean rules from dependency scanning.
FOREACH(lang CXX)
INCLUDE(CMakeFiles/example_MatrixExponential.dir/cmake_clean_${lang}.cmake OPTIONAL)
ENDFOR... | {
"content_hash": "8a2d17d5c35781d9bbf205013e152fb1",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 86,
"avg_line_length": 33.1,
"alnum_prop": 0.8096676737160121,
"repo_name": "cmeon/Simplex",
"id": "b0f480f4cd74769deb75654dcc912a5cf15b07d1",
"size": "331",
"binary": fa... |
\documentclass[a4paper, 12pt, KOMAold]{scrlttr2}
\usepackage[utf8]{inputenc} % this is needed for umlauts
\usepackage[ngerman]{babel} % this is needed for umlauts
\usepackage[T1]{fontenc} % needed for right umlaut output in pdf
\usepackage[ngerman, num]{isodate} % get DD.MM.YYYY dates
\usepackage{csquotes}
% Anpass... | {
"content_hash": "4d64a87a650d7547ab743ed6e9d7b521",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 83,
"avg_line_length": 46.83076923076923,
"alnum_prop": 0.5959264126149802,
"repo_name": "MartinThoma/LaTeX-examples",
"id": "d21d00128a68fdc9c2042b6ab970e5e2192b4e06",
"si... |
package io.druid.storage.s3;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.base.Throwables;
import com.google.common.collect.ImmutableMap;
import com.google.common.io.ByteStreams;
import com.google.common.io.Files;
import com.google.inject.Inject;
import com.metamx.emitter.EmittingLogg... | {
"content_hash": "7c987b73a0cf416021948b1a70e5ce13",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 120,
"avg_line_length": 37.89430894308943,
"alnum_prop": 0.5936494314524781,
"repo_name": "minewhat/druid",
"id": "78b02e42bbb0a02cdbebe2a2b3d7812a9dd2a6c7",
"size": "5312... |
/**
* Colors
*/
/**
* Breakpoints & Media Queries
*/
/**
* SCSS Variables.
*
* Please use variables from this sheet to ensure consistency across the UI.
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
* For example, don't add rules to this sheet that affect block vi... | {
"content_hash": "8629767741ae728805dc34d6a59d015c",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 99,
"avg_line_length": 22.009174311926607,
"alnum_prop": 0.6798666110879533,
"repo_name": "electric-eloquence/fepper-wordpress",
"id": "366480c30e84660f7757748c9d6017d5ef59c... |
Those are old projects in many programming languages that I don't need any more whether I completed it or not .
## Projects list :
* c_projects (all not docced but very simple I think all are completed ): projects that are written in c language .
* cal : a calculator in terminal
* db : takes data from a file and pr... | {
"content_hash": "180ef0f619f799774ca51834b2e2b099",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 170,
"avg_line_length": 63.529411764705884,
"alnum_prop": 0.7462962962962963,
"repo_name": "Abdulla2/junkcode",
"id": "8b9250c2793843fa40b5d2388576a81b4d6a4cfb",
"size": "1... |
<?php
namespace Detail\Commanding\Command\Listing;
use Detail\Commanding\Exception;
class Filter
{
const OPERATOR_SMALLER_THAN = '<';
const OPERATOR_SMALLER_THAN_OR_EQUALS = '<=';
const OPERATOR_EQUALS = '=';
const OPERATOR_GREATER_THAN_OR_EQUALS = '>=';
const OPERATOR_G... | {
"content_hash": "b15a99e83f0a67dc58fbfd2a82a83b05",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 82,
"avg_line_length": 21.195121951219512,
"alnum_prop": 0.48504027617951667,
"repo_name": "ivan-wolf/dfw-commanding",
"id": "56ad2b1948edac059da0209a3574b46495b9c746",
"s... |
using Microsoft.Practices.ServiceLocation;
using NUnit.Framework;
using SEV.FWK.Service.Tests;
using SEV.Service.Contract;
using SEV.UI.Model;
using SEV.UI.Model.Contract;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace SEV.FWK.UI.Model.Tests
{
[TestFixt... | {
"content_hash": "1ee66270fa698ae3d3cb6ab61ece3a7a",
"timestamp": "",
"source": "github",
"line_count": 260,
"max_line_length": 160,
"avg_line_length": 35.784615384615385,
"alnum_prop": 0.6211306964746346,
"repo_name": "sev15/SEVFramework",
"id": "c375f2a6b12fe06558818e4bbd745c87fdad804c",
"size": ... |
var path = require('path'),
fs = require('fs'),
_assign = require('lodash.assign'),
_template = require('lodash.template'),
Deferred = require('deferred'),
readdir = Deferred.promisify(fs.readdir),
writeFile = Deferred.promisify(fs.writeFile),
mkdir = Deferred.promisify(fs.mkdir),
minify... | {
"content_hash": "3684835a8170d4c8c42c079c773b3607",
"timestamp": "",
"source": "github",
"line_count": 214,
"max_line_length": 136,
"avg_line_length": 35.7196261682243,
"alnum_prop": 0.49529042386185246,
"repo_name": "levenlabs/robthebuilder",
"id": "7c0bb9c3e7eb30aa05060f0295587bf0ba7c78a8",
"siz... |
package com.amazonaws.services.simplesystemsmanagement.model.transform;
import javax.annotation.Generated;
import com.amazonaws.SdkClientException;
import com.amazonaws.Request;
import com.amazonaws.http.HttpMethodName;
import com.amazonaws.services.simplesystemsmanagement.model.*;
import com.amazonaws.transform.Ma... | {
"content_hash": "fe7b3753ecf0023c6def3e8eb931a476",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 161,
"avg_line_length": 43.86538461538461,
"alnum_prop": 0.7799210872424376,
"repo_name": "jentfoo/aws-sdk-java",
"id": "28b7056e6ae02f09a226cf9f6a1a6abc7898cf4a",
"size": ... |
/**
* Editor for the js tab of a spec. Inherits from Editor.
*
* @module explorer/widgets/editorarea/JSEditor
* @requires module:explorer/widgets/editorarea/Editor
*/
define(['dojo/_base/declare', './Editor'],
function(declare, Editor, template) {
return declare('JSEditorWidget', [ Editor ], {
... | {
"content_hash": "95c9676e4e583b8fea764be4271fb248",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 57,
"avg_line_length": 25.642857142857142,
"alnum_prop": 0.649025069637883,
"repo_name": "OpenSocial/explorer",
"id": "d4a296c0c0c2b022d21100553cf893633e49916d",
"size": "1... |
#ifndef CRAS_CLIENT_H_
#define CRAS_CLIENT_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include <sys/select.h>
#include "cras_iodev_info.h"
#include "cras_types.h"
#include "cras_util.h"
struct cras_client;
struct cras_stream_params;
/* Callback for audio received or transmitted.
* Args (All p... | {
"content_hash": "f664bad73ebe130523c26a5af66302de",
"timestamp": "",
"source": "github",
"line_count": 591,
"max_line_length": 80,
"avg_line_length": 36.40270727580372,
"alnum_prop": 0.6904806172724738,
"repo_name": "drinkcat/adhd",
"id": "e7ec93a49af55b01b91fd13d74cb36aa8c98b0be",
"size": "21689"... |
using System.Linq;
using Xunit;
namespace PreMailer.Net.Tests
{
public class CssParserTests
{
[Fact]
public void AddStylesheet_ContainsAtCharsetRule_ShouldStripRuleAndParseStylesheet()
{
var stylesheet = "@charset utf-8; div { width: 100% }";
var parser = new CssParser();
parser.AddStyle... | {
"content_hash": "1c3d5da182c128e595aed1ab010473b3",
"timestamp": "",
"source": "github",
"line_count": 221,
"max_line_length": 195,
"avg_line_length": 33.959276018099544,
"alnum_prop": 0.6695536309127248,
"repo_name": "milkshakesoftware/PreMailer.Net",
"id": "377afcf9dd9a1c2fcc849bf2c4a4ad43af619761... |
package com.opengamma.strata.market;
import static com.opengamma.strata.collect.TestHelper.assertJodaConvert;
import static com.opengamma.strata.collect.TestHelper.assertSerialization;
import static com.opengamma.strata.collect.TestHelper.assertThrows;
import static com.opengamma.strata.collect.TestHelper.assertThrow... | {
"content_hash": "efae1cd58c0a3dbf0c73fda35ac4f572",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 120,
"avg_line_length": 37.38297872340426,
"alnum_prop": 0.6647694934547524,
"repo_name": "ChinaQuants/Strata",
"id": "f301e3a1a5c5e703d1842d9afb36746f8aa6717f",
"size": "1... |
package co.edu.sena.lesson07.colecciones.map;
import java.util.Arrays;
import java.util.Objects;
public class InformationLocation {
private String nombre;
private String telefono;
private String direccion;
private byte[] foto;
public String getNombre() {
return nombre;
}
public v... | {
"content_hash": "1fcfdc9fb260abca8f634840d0ee2eff",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 66,
"avg_line_length": 22.507462686567163,
"alnum_prop": 0.5656498673740054,
"repo_name": "SENA-CEET/1349397-Trimestre-4",
"id": "cf22cf59bdd93ba8342eaee48f4507c19448ee47",
... |
package org.apache.streams.twitter.provider;
import com.google.common.base.Strings;
import org.apache.streams.core.StreamsDatum;
import org.apache.streams.jackson.StreamsJacksonMapper;
import org.apache.streams.twitter.api.ThirtyDaySearchRequest;
import org.apache.streams.twitter.api.ThirtyDaySearchResponse;
import ... | {
"content_hash": "11bc35f9dc5b18ba29d38c892b9dd280",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 142,
"avg_line_length": 30.10810810810811,
"alnum_prop": 0.7336923997606224,
"repo_name": "apache/streams",
"id": "7ef0493910f942a46ce3d5e8f451e0b358c0a5b2",
"size": "4087... |
using System.ComponentModel;
namespace WIC
{
[EditorBrowsable(EditorBrowsableState.Advanced)]
public static class IWICColorContextExtensions
{
public static void InitializeFromMemory(this IWICColorContext colorContext, byte[] pbBuffer)
{
colorContext.InitializeFromMemory(pbBuff... | {
"content_hash": "d90fb39c1cb0528daa4362b9ebc0497d",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 100,
"avg_line_length": 30.36842105263158,
"alnum_prop": 0.6863084922010398,
"repo_name": "stakx/stakx.WIC",
"id": "1d9b8498ec7c5013de41d3a45a40f859175bb76a",
"size": "579"... |
package net.jeeshop.core.util;
/**
* 文件类,需要的时候,可以和数据库进行关联
*
* @author MZ
*
* @Time 2009-11-24下午04:29:31
*/
public class UploadFiles {
private String uploadFileName;// 上传的文件名称
private String uploadContentType;// 类型
private String uploadRealName;// 保存的文件真实名称,UUID
// 如果使用数据库的话,建议这三个字段都进行保存
publ... | {
"content_hash": "a6972fcc04a4c26aa63c3094dd610dcd",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 61,
"avg_line_length": 22,
"alnum_prop": 0.7249417249417249,
"repo_name": "gavin2lee/incubator",
"id": "20902ea22a77f0bcc21c2f7082dfea37989881ba",
"size": "984",
"binary"... |
@import LinkedinIOSHelper;
| {
"content_hash": "84393f000ef2b1886e03038b355eb8c3",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 26,
"avg_line_length": 27,
"alnum_prop": 0.8518518518518519,
"repo_name": "ahmetkgunay/LinkedinIOSHelper",
"id": "69eeeed851f4d2f83abf2e2805c1e27bc169dfdd",
"size": "132",
... |
// Copyright 2022 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 in ... | {
"content_hash": "4a599a1a9d50430073aa9d65d952d495",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 98,
"avg_line_length": 31.629032258064516,
"alnum_prop": 0.7113717491075982,
"repo_name": "googleapis/google-cloud-node",
"id": "6167e7e77240197ede52cc9aa1c5e68c2bae9b0c",
... |
#ifndef SkBmpStandardCodec_DEFINED
#define SkBmpStandardCodec_DEFINED
#include "include/core/SkImageInfo.h"
#include "include/core/SkTypes.h"
#include "src/codec/SkBmpBaseCodec.h"
#include "src/codec/SkColorTable.h"
#include "src/codec/SkSwizzler.h"
/*
* This class implements the decoding for bmp images that use "s... | {
"content_hash": "3cb86aeb5e8340fb3a35901776e2b2ad",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 100,
"avg_line_length": 39.50574712643678,
"alnum_prop": 0.6587139947628746,
"repo_name": "endlessm/chromium-browser",
"id": "966330ef4a9fcec17234071f6bdac398c67e103d",
"si... |
package de.hub.clickwatch.model;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.util.FeatureMap;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Handler</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link de... | {
"content_hash": "326849cb52ca38d55ae08823e85bc59b",
"timestamp": "",
"source": "github",
"line_count": 231,
"max_line_length": 113,
"avg_line_length": 34.04329004329004,
"alnum_prop": 0.6063072227873856,
"repo_name": "markus1978/clickwatch",
"id": "1e8a2863b224fbe23d04913d46eaadb06b231f9b",
"size"... |
#if !defined(FUSION_AT_IMPL_07172005_0726)
#define FUSION_AT_IMPL_07172005_0726
#include <boost/fusion/support/detail/access.hpp>
#include <boost/type_traits/is_const.hpp>
#include <boost/type_traits/add_const.hpp>
#include <boost/mpl/eval_if.hpp>
#include <boost/mpl/bool.hpp>
namespace boost { namespace f... | {
"content_hash": "e4c24ead6d9753d170c9eb3a78b414a8",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 66,
"avg_line_length": 28.60810810810811,
"alnum_prop": 0.41048653755314124,
"repo_name": "jaredhoberock/gotham",
"id": "593f01eef7a999088b8a39e6a6836ad78b1e2137",
"size": ... |
'use strict';
var roommates = [];
var loggedIn = localStorage.getItem('loggedInID');
var house = JSON.parse(localStorage.getItem(loggedIn));
roommates = house.roommates;
// if (localStorage.getItem('roommates')){
// console.log('Fetching LS...');
// roommates = JSON.parse(localStorage.getItem('roommates'));
// } e... | {
"content_hash": "f54989716668eff389fc705cae5c313c",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 132,
"avg_line_length": 35.440677966101696,
"alnum_prop": 0.6786226685796269,
"repo_name": "midfies/bill-splitter",
"id": "23a3a2406e1c9c68da0b40c33abfdb56b69854ef",
"size... |
package com.tkulpa.react.Zendrive;
import com.facebook.react.ReactPackage;
import com.facebook.react.bridge.JavaScriptModule;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.uimanager.ViewManager;
import java.util.ArrayList;
import jav... | {
"content_hash": "e5735c077a498ac01a78380fbc074ce5",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 89,
"avg_line_length": 28.885714285714286,
"alnum_prop": 0.7527200791295747,
"repo_name": "tkulpa/react-native-zendrive",
"id": "ff5f22bae79099fe577f30ef6563c3acf7900262",
... |
#pragma once
#ifndef GEODE_SERVERLOCATIONRESPONSE_H_
#define GEODE_SERVERLOCATIONRESPONSE_H_
#include <geode/Serializable.hpp>
#include "GeodeTypeIdsImpl.hpp"
namespace apache {
namespace geode {
namespace client {
class ServerLocationResponse : public Serializable {
public:
ServerLocationResponse() : Serializ... | {
"content_hash": "eb9801c754a77f828919c7a54f3e4940",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 62,
"avg_line_length": 24.757575757575758,
"alnum_prop": 0.7343941248470012,
"repo_name": "mmartell/geode-native",
"id": "10172189ea9d0fa77dff4834125b0be16da7e46d",
"size":... |
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>React App</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="height=device-height, initial-scale=1">
</head>
<body>
<div class="container">
<div id="root">Loading...</div>
</div>
</body>
... | {
"content_hash": "f13699c128b91927f0ac9caf3faa7cc9",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 72,
"avg_line_length": 23.428571428571427,
"alnum_prop": 0.649390243902439,
"repo_name": "sujkh85/react-router-webpack-babel-redux",
"id": "ff146e7b28a1280a5de23e0218a95e1a95... |
namespace HaloEzAPI.Abstraction.Enum.Halo5
{
public enum CropType
{
Full,
Portrait
}
} | {
"content_hash": "4dfaa943b6fe7aa89cfbda1d05743f44",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 43,
"avg_line_length": 14.375,
"alnum_prop": 0.591304347826087,
"repo_name": "glitch100/Halo-API",
"id": "5bc61bd915ec6abf7b07c5817d62c3e2050a8646",
"size": "117",
"binary... |
/* -------------------------------------------------------------------------- */
/* Copyright 2002-2014, OpenNebula Project (OpenNebula.org), C12G Labs */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); you may ... | {
"content_hash": "97e7b4e9747f7219fd0da380cb05b916",
"timestamp": "",
"source": "github",
"line_count": 326,
"max_line_length": 89,
"avg_line_length": 26.5,
"alnum_prop": 0.4255122120615812,
"repo_name": "dberzano/opennebula-torino",
"id": "96cb899d60a9f5937913bfc0e9da98e2ed985db5",
"size": "8639",... |
The JLTest.jl package is licensed under the MIT "Expat" License:
> Copyright (c) 2014: Sal Mangano.
>
> Permission is hereby granted, free of charge, to any person obtaining
> a copy of this software and associated documentation files (the
> "Software"), to deal in the Software without restriction, including
> without... | {
"content_hash": "ab7094ac9b3073e8eef4f8741ca5f748",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 72,
"avg_line_length": 52.72727272727273,
"alnum_prop": 0.7767241379310345,
"repo_name": "smangano/JLTest",
"id": "b944c7183604176fb86f6123ef88e3087142a95a",
"size": "1160"... |
[](https://travis-ci.org/exercism/elm)
Exercism Exercises in Elm
## Track Organization
The track is organized with the following main directories and files:
```
bin/ # executables required to manage the track
config/ # configuration ... | {
"content_hash": "5d4b9fb30b0b0c884b372ac7c04e31b7",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 128,
"avg_line_length": 47.68421052631579,
"alnum_prop": 0.7641648270787343,
"repo_name": "exercism/xelm",
"id": "f8b9eb71005e1f802692ebcd859a49d14326a1b9",
"size": "5457"... |
<!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_112-release) on Tue Nov 29 14:28:11 MST 2016 -->
<title>com.thundersquadron.thundercab.fragments.login Class Hierarchy</title>
<meta name="date... | {
"content_hash": "b8fb7f5ebcecd08a0500c2ea6bee891a",
"timestamp": "",
"source": "github",
"line_count": 146,
"max_line_length": 527,
"avg_line_length": 46.73287671232877,
"alnum_prop": 0.6680345888905174,
"repo_name": "CMPUT301F16T13/ThunderCab",
"id": "56cf541d55943606e79f56654664122d1f62734a",
"s... |
- #174 - Cache not being fully emptied if using localStorage and multiple web pages
##### 4.1.0 30 March 2015
###### Backwards compatible API changes
- #169 - Official support for ngResource
##### 4.0.2 22 March 2015
###### Backwards compatible bug fixes
- #164 - onExpire is still called when cache is empty
##### ... | {
"content_hash": "3548aa3418e798d27c12337df500bea0",
"timestamp": "",
"source": "github",
"line_count": 293,
"max_line_length": 217,
"avg_line_length": 37.01023890784983,
"alnum_prop": 0.7221504979712283,
"repo_name": "Malkiat-Singh/angular-cache",
"id": "5688309033edb67a5500f8f1cf08285b649fa206",
... |
import React from 'react';
import Login from './Login';
import { signIn } from '../firebase'
import Link from './Link';
const SignInPage = ({ assign, setUser }) => {
return (
<div>
<div id='header'>
<Link to='/'>
<h1 id='main-header'>DigiDex</h1>
</Link>
</div>
<Lo... | {
"content_hash": "8da1395ebb38e469b7d71ca06fb7c8cd",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 45,
"avg_line_length": 18.653846153846153,
"alnum_prop": 0.5216494845360825,
"repo_name": "mlimberg/Digidex",
"id": "ef9fc7a353ae0b0ded3e5042a4a51f2796cba5b7",
"size": "485... |
package org.planx.xmlstore.routing;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import java.math.BigInteger;
import java.net.InetAddress;
import java.util.Arrays;
import java.util.Collection;
import java.util.Comparator;
import org.planx.xmlstore.routing.messaging.Streamable;
/**
... | {
"content_hash": "bc04ebb7c7493af63617d22bf6235810",
"timestamp": "",
"source": "github",
"line_count": 210,
"max_line_length": 89,
"avg_line_length": 28.919047619047618,
"alnum_prop": 0.5955870245348263,
"repo_name": "lvanni/synapse",
"id": "8facc79d5f2a046b3846015e7301722534a1c178",
"size": "6073... |
"""
Telnet protocol implementation.
@author: Jean-Paul Calderone
"""
from __future__ import absolute_import, division
import struct
from zope.interface import implementer
from twisted.internet import protocol, interfaces as iinternet, defer
from twisted.python import log
from twisted.python.compat import _bytesChr... | {
"content_hash": "f28a47092b9fa1e2f15893d72109ac50",
"timestamp": "",
"source": "github",
"line_count": 1083,
"max_line_length": 117,
"avg_line_length": 35.256694367497694,
"alnum_prop": 0.5971767540528508,
"repo_name": "ArcherSys/ArcherSys",
"id": "75a2a763f1dd7a4151f5bbbd031f4631cc3e9062",
"size"... |
git://github.com/simplefocus/FlowType.JS.git
| {
"content_hash": "eb317cf0dd561c5984f9c2e6dcb0b7b4",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 44,
"avg_line_length": 45,
"alnum_prop": 0.8,
"repo_name": "silenceper/birdsnest",
"id": "9bb06f8410b9e28434903829550469dea037168b",
"size": "45",
"binary": false,
"copi... |
<readable><title>2855727603_e917ded363</title><content>
a black dog splashes in the water .
a brown dog walking in a river with trees in the background
A large brown dog plays in the water .
A large sleek brown dog is standing in the water .
The large brown dog is walking into a shallow lake .
</content></readable> | {
"content_hash": "edd5de024f578c488f4a51389e8ef420",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 59,
"avg_line_length": 45.142857142857146,
"alnum_prop": 0.7721518987341772,
"repo_name": "kevint2u/audio-collector",
"id": "114c71eaa1c8443953aa9fcfe16fe382098d95b2",
"size... |
package com.magnet.mmx.server.plugin.mmxmgmt.context;
import com.magnet.mmx.protocol.Constants;
import org.junit.Before;
import org.junit.Test;
import static junit.framework.Assert.assertEquals;
import static junit.framework.Assert.assertNotNull;
import static junit.framework.TestCase.assertTrue;
public class Conte... | {
"content_hash": "a3d2404bfa4ce88c6bc18dfe4c34a414",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 127,
"avg_line_length": 32,
"alnum_prop": 0.787109375,
"repo_name": "sanyaade-iot/message-server",
"id": "849d6e8d4e373ee3bcbe1539e0ef46b490b6ae70",
"size": "1639",
"bina... |
package finder
import (
"context"
)
// MockFinder is used for testing purposes
type MockFinder struct {
result [][]byte // from new
query string // logged from execute
}
// NewMockFinder returns new MockFinder object with given result
func NewMockFinder(result [][]byte) *MockFinder {
return &MockFinder{
res... | {
"content_hash": "3562dac137dafd8621f78d099a30b4fa",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 96,
"avg_line_length": 20.833333333333332,
"alnum_prop": 0.693,
"repo_name": "lomik/graphite-clickhouse",
"id": "131c04503a45bfbd167a91ee87c2aa97f1bd73ed",
"size": "1000",
... |
require 'test_helper'
class VeritransModuleTest < Test::Unit::TestCase
include ActiveMerchant::Billing::Integrations
def test_notification_method
assert_instance_of Veritrans::Notification, Veritrans.notification('name=cody')
end
end
| {
"content_hash": "ee4973cacf21d233b0560ec80f18c31a",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 83,
"avg_line_length": 27.333333333333332,
"alnum_prop": 0.7886178861788617,
"repo_name": "barock19/active_merchant",
"id": "ad4d06be497661484b43843ac837b1217d910917",
"size... |
using System;
using System.Collections.Generic;
using JetBrains.Annotations;
using Reusable.OmniLog.Abstractions;
namespace Reusable.OmniLog
{
public delegate string MessageFunc();
[PublicAPI]
public static class LoggerExtensions
{
#region LogLevels
public static ILogger Trace(this I... | {
"content_hash": "41336686870298b03b52f3c87f91d454",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 135,
"avg_line_length": 34.234939759036145,
"alnum_prop": 0.5908850959000528,
"repo_name": "he-dev/Reusable",
"id": "88869c38bf13376828352f241b31254f70de13fa",
"size": "56... |
export class Category {
_id: String
diaries: Object[]
name: String
publish_time: Date
}
| {
"content_hash": "d88329d3912df5744cc792edb6004c17",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 23,
"avg_line_length": 16,
"alnum_prop": 0.6770833333333334,
"repo_name": "ScenK/Dev_Blog3",
"id": "de55370f514afd172d08f82bb0f67738bb81994c",
"size": "96",
"binary": fals... |
<!doctype html>
<!-- Our uiRouterSample module defined here -->
<html lang="en" ng-app="uiRouterSample">
<head>
<meta charset="utf-8">
<!-- using twitter bootstrap, but of course -->
<link rel="stylesheet" type="text/css" href="vendor/bootstrap.min.css">
<!-- styles for ng-animate are located here --... | {
"content_hash": "5a17cf54db35980e5a29bc7d219409a8",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 112,
"avg_line_length": 45.575,
"alnum_prop": 0.6291826659352715,
"repo_name": "sskyy/ui-router",
"id": "8a13e270497070655ad9a8dae3459df2024e451c",
"size": "3646",
"binar... |
using boost::algorithm::join;
using namespace llvm;
using namespace strings;
namespace impala {
string NullIndicatorOffset::DebugString() const {
stringstream out;
out << "(offset=" << byte_offset
<< " mask=" << hex << static_cast<int>(bit_mask) << dec << ")";
return out.str();
}
ostream& operator<<(ostr... | {
"content_hash": "852605f69d8b4cd81928c6dc0b88175b",
"timestamp": "",
"source": "github",
"line_count": 629,
"max_line_length": 90,
"avg_line_length": 35.58346581875993,
"alnum_prop": 0.6540970422661067,
"repo_name": "cgvarela/Impala",
"id": "21bb82356cf318d8112fa3edc8088b6b72764141",
"size": "2343... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>htt: 3 m 20 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="sty... | {
"content_hash": "20a0246c6ecd5a78342275943fb7c4c1",
"timestamp": "",
"source": "github",
"line_count": 235,
"max_line_length": 159,
"avg_line_length": 61.22127659574468,
"alnum_prop": 0.5993605338152499,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "6379b8466f8159d438478d69de71ad4910e9ab68",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>lin-alg: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... | {
"content_hash": "d87ef80d47b2ef2eff1c4f2584649f87",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 157,
"avg_line_length": 40.41618497109827,
"alnum_prop": 0.539616704805492,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "25fe34474deb051be6697d2ae1851da16de78059",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-e... | {
"content_hash": "289f5c8f1323c7daad87b89bd1e89366",
"timestamp": "",
"source": "github",
"line_count": 457,
"max_line_length": 999,
"avg_line_length": 41.90809628008753,
"alnum_prop": 0.6147660818713451,
"repo_name": "statsmodels/statsmodels.github.io",
"id": "d7c3b571f0570f68dcc6f415a726a1e09ce00d5... |
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="@color/dark_grey" android:state_pressed="true" />
<item android:color="@color/colorAccent" />
</selector> | {
"content_hash": "d666601bd122b9874804b7501f7bcd21",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 74,
"avg_line_length": 48.6,
"alnum_prop": 0.6995884773662552,
"repo_name": "Yuanhongliang/HLOLI",
"id": "fdff96e49ff074916255cddaf6380381145f917a",
"size": "243",
"binary... |
package org.tools.hqlbuilder.service;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
public class HibernateUtils {
public static Session newSession(SessionFactory sessionFactory) {
return sessionFactory.openSession();
}
}
| {
"content_hash": "d520a3ddeb4f93e1f98f99e91a5cc21a",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 69,
"avg_line_length": 26,
"alnum_prop": 0.7769230769230769,
"repo_name": "jurgendl/hql-builder",
"id": "bde06da13bc73f2af8ef8832d8c1fc4bdfe96fe1",
"size": "260",
"binary... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.