text
stringlengths
2
1.04M
meta
dict
package org.araqne.webconsole.impl; import org.apache.felix.ipojo.annotations.Component; import org.apache.felix.ipojo.annotations.Provides; import org.apache.felix.ipojo.annotations.Requires; import org.apache.felix.ipojo.annotations.ServiceProperty; import org.araqne.api.Script; import org.araqne.api.ScriptFactory;...
{ "content_hash": "309b1a8a7345078aebed1af0402e0450", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 74, "avg_line_length": 26.026315789473685, "alnum_prop": 0.8109201213346815, "repo_name": "araqne/webfx", "id": "9d011ee17d208ff66c5b4118639d194d27bd6072", "size": "1585", ...
SET ROLE zalando_nakadi_data_owner; ALTER TABLE zn_data.timeline ADD COLUMN tl_deleted BOOLEAN DEFAULT FALSE;
{ "content_hash": "884a5060adf071dcea19494d1ff158d5", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 46, "avg_line_length": 28, "alnum_prop": 0.8035714285714286, "repo_name": "zalando/nakadi", "id": "d5bb71e19de57cd6593507ccdb6091290f520f5a", "size": "112", "binary": fals...
![](http://vignette4.wikia.nocookie.net/twinpeaks/images/4/4b/NadineNew.jpg/revision/latest/scale-to-width-down/270?cb=20161026023639) Easy patching for python unittests. The plan is to make it so that you just add a list of functions you want to patch to `self` during `setUp()` and then the library will patch them a...
{ "content_hash": "e3012f08e95a68634191137a1df2390f", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 252, "avg_line_length": 72, "alnum_prop": 0.7837301587301587, "repo_name": "nicksamps/nadine", "id": "2b70e8595109c5be2dc1da73e303a9d1c06671dd", "size": "514", "binary": f...
<!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_45) on Mon Mar 03 10:44:38 EST 2014 --> <title>Uses of Class org.hibernate.dialect.function.SQLFunctionTemplate (Hibernate JavaDocs)</t...
{ "content_hash": "9432865560b7aa4e87a028e75609446d", "timestamp": "", "source": "github", "line_count": 116, "max_line_length": 163, "avg_line_length": 38.60344827586207, "alnum_prop": 0.6250558284948637, "repo_name": "serious6/HibernateSimpleProject", "id": "496f3b729d26e35dfbe76b6a5e01cf6792a95be5"...
<?php /** * WPSEO plugin file. * * @package WPSEO\Internals\Options */ /** * Overal Option Management class. * * Instantiates all the options and offers a number of utility methods to work with the options. */ class WPSEO_Options { /** * Options this class uses. * * @var array Array format: (string) op...
{ "content_hash": "f27b0ffc3c01518a3f60b0ae45b927b5", "timestamp": "", "source": "github", "line_count": 545, "max_line_length": 153, "avg_line_length": 27.710091743119268, "alnum_prop": 0.6178651834194147, "repo_name": "agencja-acclaim/gulp-bower-webapp", "id": "877fb5198098570c667720e40858d26f2948a3...
'use strict'; module.exports = {}; [ require("./lib/walk.js"), require("./lib/tokens.js"), require("./lib/io.js"), require("./lib/query.js"), require("./lib/manipulations.js"), require("./lib/transformations.js"), require("./lib/array.js") ].forEach(function (sub_module) { Object.keys(sub_module).forEa...
{ "content_hash": "4bf2b956da26d7cd0ac0f5a353d22258", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 48, "avg_line_length": 24.1875, "alnum_prop": 0.6175710594315246, "repo_name": "RomulusAndRemus/romejs-app", "id": "29baa9939ce3be5fa77a5232c0b0795ea9abbfbe", "size": "387"...
using System; namespace GSoft.Dynamite.Binding.Converters { /// <summary> /// A base class for SharePoint list item value conversions. /// </summary> public abstract class DataRowValueConverter : IConverter { /// <summary> /// Converts the specified value. /// </summary> ...
{ "content_hash": "cc9701190aee75b0ca659e0124cab3fd", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 120, "avg_line_length": 35.1764705882353, "alnum_prop": 0.5760869565217391, "repo_name": "GSoft-SharePoint/Dynamite-2010", "id": "4cdb59443a5da372249dffcdfbb16534883dc961", ...
from flask_app.flask_app import db class Quality(db.Model): __tablename__ = 'quality' id = db.Column(db.Integer, primary_key=True, autoincrement=True) name = db.Column(db.String(50), unique=True) definition = db.Column(db.String(500)) def __init__(self, name=None, definition=None): self.n...
{ "content_hash": "1beb0a331a6d7664cc37e669b61b58b8", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 88, "avg_line_length": 32.13333333333333, "alnum_prop": 0.6410788381742739, "repo_name": "MaximeGir/StarTrekCorpora", "id": "33f727c48a4359eba96c421294fdf478fcc9a1e8", "siz...
namespace mcts { ostream& operator<<(ostream & ostr, const GameMove & move) { return move.ToString(ostr); } GameMove::~GameMove() { } }
{ "content_hash": "fc72c4d08b72bb9b8183f098b26049a0", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 59, "avg_line_length": 13.181818181818182, "alnum_prop": 0.6482758620689655, "repo_name": "steve3003/mcts-cpp", "id": "6194eff868b2efb1adb4911edfda7dc4025f3209", "size": "1...
package jadx.tests.integration.variables; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import org.junit.jupiter.api.Test; import jadx.core.dex.nodes.ClassNode; import jadx.tests.api.IntegrationTest; import static org.hamcrest.CoreMatchers.containsString; import static org.ham...
{ "content_hash": "c56024eda8f1819d643b48a9b57e4caa", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 99, "avg_line_length": 27.142857142857142, "alnum_prop": 0.6559808612440191, "repo_name": "jpstotz/jadx", "id": "6c37c09be1f65fbbf2f805f9a8924fb66c003cf6", "size": "2090", ...
SCRIPTPATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" # Find the right hidraw device HIDDEVICE=$(dmesg | grep Apple | grep Keyboard | grep input0 | tail -1 | sed -e 's/.*hidraw\([[:digit:]]\+\).*/\/dev\/hidraw\1/') # Send a "Report Feature" to the device $SCRIPTPATH/disable-capslock-delay $HIDDEVICE
{ "content_hash": "4703fd6123ead6eb67b0e66f5e61492c", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 129, "avg_line_length": 44, "alnum_prop": 0.6525974025974026, "repo_name": "OmeGak/dotfiles", "id": "9bc645c2daab5b005288ef01ce0b60e12ebe7393", "size": "666", "binary": fa...
.class public final Landroid/print/PrintAttributes$MediaSize; .super Ljava/lang/Object; .source "PrintAttributes.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroid/print/PrintAttributes; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x...
{ "content_hash": "e2fd9ecd3cfa057deb8cc1e0bbcd0833", "timestamp": "", "source": "github", "line_count": 2660, "max_line_length": 145, "avg_line_length": 26.988345864661653, "alnum_prop": 0.7143712825084623, "repo_name": "ddki/my_study_project", "id": "101db75aec6a77d4c1ceac61bc901a33bd7455dd", "siz...
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache Lic...
{ "content_hash": "6d29f37c42e4f0f89ad487f9f47c2755", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 201, "avg_line_length": 36.52542372881356, "alnum_prop": 0.691415313225058, "repo_name": "everttigchelaar/camel-svn", "id": "c0782984d6b54a9f871e5cbf37f695d814358e5d", "siz...
package alluxio.security.authentication; import alluxio.Configuration; import alluxio.ConfigurationTestUtils; import alluxio.PropertyKey; import alluxio.util.network.NetworkAddressUtils; import org.apache.thrift.protocol.TBinaryProtocol; import org.apache.thrift.server.TThreadPoolServer; import org.apache.thrift.tr...
{ "content_hash": "69301cc441d67119841a79ef4a398d6a", "timestamp": "", "source": "github", "line_count": 384, "max_line_length": 100, "avg_line_length": 36.466145833333336, "alnum_prop": 0.7346997072055989, "repo_name": "yuluo-ding/alluxio", "id": "c7b93ab277da548bd6dcb6cbd61bb038778ba3c3", "size": ...
a minimalistic chat webapp written in go
{ "content_hash": "511707dddab733f2297e6c55261a30fa", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 40, "avg_line_length": 41, "alnum_prop": 0.8292682926829268, "repo_name": "jcuga/micro-chat", "id": "93d04b166df821db0d2085a03fa044dde24b9f0f", "size": "54", "binary": fal...
'use strict'; let requestAuthKey = null; function request(body, timeout = 5000) { let xhr = new XMLHttpRequest(); xhr.open('POST', `http://${location.hostname}:8774/socket`); return new Promise(function (resolve, reject) { xhr.onload = function (e) { if (xhr.status === 200) { resolve(xhr.responseText); ...
{ "content_hash": "1e83a21f3f2c6ea1f3b821c2a2aff5bc", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 85, "avg_line_length": 25.555555555555557, "alnum_prop": 0.6478260869565218, "repo_name": "mafredri/openbttn", "id": "c0f54d3e1262c3f4aa0a988de5c10b2e78dcdf21", "size": "92...
<?php namespace DavidBarratt\CustomInstaller\Tests; use DavidBarratt\CustomInstaller\CustomInstaller; use Composer\Config; use Composer\Composer; use Composer\Package\Package; use Composer\Package\RootPackage; use PHPUnit_Framework_TestCase; class CustomInstallerTest extends PHPUnit_Framework_TestCase { /** ...
{ "content_hash": "23eb92b28e31a3e7d34e170b483de28f", "timestamp": "", "source": "github", "line_count": 110, "max_line_length": 89, "avg_line_length": 30.545454545454547, "alnum_prop": 0.5267857142857143, "repo_name": "davidbarratt/custom-installer", "id": "df0c3d7b05810df144d0496c690118785e3c8b3c", ...
#ifndef ZEPHIR_KERNEL_OBJECT_H #define ZEPHIR_KERNEL_OBJECT_H /** Class Retrieving/Checking */ int zephir_class_exists(const zval *class_name, int autoload TSRMLS_DC); int zephir_interface_exists(const zval *interface_name, int autoload TSRMLS_DC); void zephir_get_class(zval *result, zval *object, int lower TSRMLS_...
{ "content_hash": "abba1760624b4fa4373de76c8367ee47", "timestamp": "", "source": "github", "line_count": 174, "max_line_length": 203, "avg_line_length": 58.95977011494253, "alnum_prop": 0.7540695974266498, "repo_name": "karakurihiden/zephir", "id": "0582d7a52c53c25def7d22e1b227b3d6f5a04967", "size":...
package gphoto // #cgo LDFLAGS: -L/usr/lib/x86_64-linux-gnu -lgphoto2 -lgphoto2_port // #cgo CFLAGS: -I/usr/include // #include <gphoto2/gphoto2.h> // #include <stdlib.h> import "C" import ( "fmt" "io" "reflect" "unsafe" ) type cameraFilePathInternal struct { Name [128]uint8 Folder [1024]uint8 } //DownloadIm...
{ "content_hash": "de1cfa5f65c08e56a6787f55010e9e12", "timestamp": "", "source": "github", "line_count": 212, "max_line_length": 165, "avg_line_length": 32.45283018867924, "alnum_prop": 0.7190406976744186, "repo_name": "szank/gphoto", "id": "44a69d5f21b7efd945c0298f2305d31ff589eb73", "size": "6880",...
from datetime import datetime, timedelta import subprocess import sys from threading import Thread import time try: from Queue import Queue, Empty except ImportError: from queue import Queue, Empty # python 3.x from .logger import logger from .utils import time_duration_pretty, format_with_colors class CIRu...
{ "content_hash": "6dc58d75ca843b4796668542a18cec4b", "timestamp": "", "source": "github", "line_count": 287, "max_line_length": 120, "avg_line_length": 40.41463414634146, "alnum_prop": 0.5963445124579705, "repo_name": "dcosson/parallel-ci-runner", "id": "ca2efba52e33131c7f226c15818c707c9c6df996", "...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>paradoxes: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.c...
{ "content_hash": "c0b128b21cb6bd301c3ae8adee9e8e50", "timestamp": "", "source": "github", "line_count": 168, "max_line_length": 307, "avg_line_length": 44.01190476190476, "alnum_prop": 0.5576142818501487, "repo_name": "coq-bench/coq-bench.github.io", "id": "da6583bf828194b3067512e5293fc01ebe59f2e7", ...
#ifndef _CCSIP_PUBLISH_H_ #define _CCSIP_PUBLISH_H_ #include "publish_int.h" #include "ccsip_common_cb.h" #include "ccsip_subsmanager.h" /* the following is to take advantage of SUB/NOT periodic timer */ #define TMR_PERIODIC_PUBLISH_INTERVAL TMR_PERIODIC_SUBNOT_INTERVAL #define PUBLISH_FAILED_START (1000) #...
{ "content_hash": "3c015fc59254d8cf56645588ccc35da2", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 77, "avg_line_length": 40.95238095238095, "alnum_prop": 0.6529069767441861, "repo_name": "wilebeast/FireFox-OS", "id": "e138fd3328906dd58d28911eaa85058c098a5916", "size": "...
package com.google.devtools.moe.client.codebase; import com.google.devtools.moe.client.Ui; import com.google.devtools.moe.client.Ui.Task; import com.google.devtools.moe.client.codebase.expressions.EditExpression; import com.google.devtools.moe.client.project.ProjectContext; import com.google.devtools.moe.client.transl...
{ "content_hash": "2b88342b4bcfc9ffc35b5619eb7d821d", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 99, "avg_line_length": 37.214285714285715, "alnum_prop": 0.7485604606525912, "repo_name": "google/MOE", "id": "a831984427f8fc555952f9d6cd234261d4014a75", "size": "1563", ...
package exception; public class FechaSistemaException extends Exception { private static final long serialVersionUID = -1827444736093755471L; public FechaSistemaException() { super("Nao foi possivel fechar o sistema. Um usuarix ainda esta logadx."); } }
{ "content_hash": "17b20d6d87a15be2772f7d022ec3695e", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 76, "avg_line_length": 27.2, "alnum_prop": 0.7573529411764706, "repo_name": "erijonhson/pluspop", "id": "518d0c524d41d521972720c39d0a75d284820119", "size": "272", "binary...
package com.glezo.timeMeasuring; public class TimeMeasuringEventExecution { private TimeMeasuringEvent event; private long time_elapsed; public TimeMeasuringEventExecution(TimeMeasuringEvent event,long time_elapsed) { this.event =event; this.time_elapsed =time_elapsed; } public TimeMeasuringEvent get...
{ "content_hash": "91d3795cab382e4a90ec2ca47854a636", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 79, "avg_line_length": 30.6875, "alnum_prop": 0.745417515274949, "repo_name": "glezo1/commonlibs", "id": "be3aab7e02103760037531367a60ab76372babd9", "size": "491", "binar...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_06) on Fri Dec 12 14:01:54 MST 2008 --> <TITLE> Uses of Class cellularAutomata.rules.PistonPrime </TITLE> <META NAME="date" CONTENT="2008-1...
{ "content_hash": "502dfef21d6ad7db51a6e328c57e2674", "timestamp": "", "source": "github", "line_count": 144, "max_line_length": 207, "avg_line_length": 41.15277777777778, "alnum_prop": 0.6113736078299021, "repo_name": "KEOpenSource/CAExplorer", "id": "9b8bf6dc0d9eb4c081d06141372519af3201f8f9", "siz...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "7387e919b99c85d3aa3c2a9067eba9a1", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "0a9175d3d8061c1f3b75169c921f1b46c5558cb3", "size": "182...
/* * STEPReader.hpp * * Created on: Oct 6, 2015 * Author: saumitra */ #ifndef _VOXELIZER_ #define _VOXELIZER_ #include <stdlib.h> #include <TopoDS_Shape.hxx> #include "VoxelShape.hpp" #include "VoxelIndexCalculator.hpp" #include "../DataWrappers/ListOfShape.hpp" /** * class Voxelizer, voxelizes a given...
{ "content_hash": "2a2f88c5fc67d65f9f88d76bafb0b953", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 132, "avg_line_length": 27.83823529411765, "alnum_prop": 0.6999471737982039, "repo_name": "BGCECSE2015/CADO", "id": "0b66c9363adee3dbae7c1b7eafe14d81ca0614e4", "size": "189...
package storage import ( "github.com/coreos/etcd/Godeps/_workspace/src/github.com/prometheus/client_golang/prometheus" ) var ( rangeCounter = prometheus.NewCounter( prometheus.CounterOpts{ Namespace: "etcd", Subsystem: "storage", Name: "range_total", Help: "Total number of ranges seen by thi...
{ "content_hash": "e6c98ebd3571efdef6a71bc39e4fce1c", "timestamp": "", "source": "github", "line_count": 149, "max_line_length": 94, "avg_line_length": 28.691275167785236, "alnum_prop": 0.7073684210526315, "repo_name": "cchamplin/etcd", "id": "8f01a732feef6a946ce7ade2cd716016879beec5", "size": "4865...
/* * eXist Open Source Native XML Database * Copyright (C) 2001-07 The eXist Project * http://exist-db.org * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version ...
{ "content_hash": "9f43bd35d227b10f193138ba5bc09c82", "timestamp": "", "source": "github", "line_count": 350, "max_line_length": 166, "avg_line_length": 44.45142857142857, "alnum_prop": 0.5721815143334619, "repo_name": "NCIP/cadsr-cgmdr-nci-uk", "id": "8c104b0304e169c9116ac50b11ea488a6b4ffe13", "siz...
<div class="password_form"> <div class="form_row"> <label>Password</label> <input type="password" name="password" value=""> </div> <div class="form_row"> <label>Confirm Password</label> <input type="password" name="password_confirmation"> </div> </div>
{ "content_hash": "6c074ffa248a01e1fcb97d16d1d5a5e5", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 54, "avg_line_length": 24.181818181818183, "alnum_prop": 0.6654135338345865, "repo_name": "codeforkansascity/Safe-Assist", "id": "1e1f4d2fe70193fb2aee5ee45794ab7621c76b8f", ...
require 'test_helper' class Chelsy::TranslatorTest < Minitest::Test include Chelsy attr_reader :translator def setup @translator = Translator.new end def test_indent b = Block.new << EmptyStmt.new translator.indent_string = ' ' translator.indent_level = 1 assert_equal <<PROG, translat...
{ "content_hash": "f6d95b79e93e63e4b1ec114fe76b0fb8", "timestamp": "", "source": "github", "line_count": 820, "max_line_length": 97, "avg_line_length": 27.548780487804876, "alnum_prop": 0.619743249225321, "repo_name": "ishikawa/chelsy", "id": "6ce93fc9abae832a0f55974b2220783d2243716d", "size": "2259...
class Game{ Game(int i){ System.out.println("Game Constructor"); } } class BroadGame extends Game{ public BroadGame(int i) { // TODO Auto-generated constructor stub //Implicit super constructor Game() is undefined. Must explicitly invoke another constructor System.out.println("BroadGame constructo...
{ "content_hash": "c0f7f6bba3dfd1797136ebb09caac47d", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 94, "avg_line_length": 23.636363636363637, "alnum_prop": 0.6942307692307692, "repo_name": "WuSicheng54321/Thinking-in-Java-4th", "id": "15c906639dcf2a1c674aa1f9d527e22533c307...
package api import ( "fmt" "koding/db/mongodb/modelhelper" "socialapi/config" "socialapi/workers/common/mux" "socialapi/workers/common/tests" "socialapi/workers/payment" "testing" "github.com/koding/runner" "github.com/stripe/stripe-go" ) // TODO(cihangir): make generalized "withTestServer" func withTestSer...
{ "content_hash": "c2b9020597355b301c766bec07515670", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 55, "avg_line_length": 18.727272727272727, "alnum_prop": 0.6805825242718446, "repo_name": "andrewjcasal/koding", "id": "f0d572bf7ffbe2ccae18916ae9487be810110117", "size": "...
""" SQLAlchemy models for heat data. """ import uuid from oslo_db.sqlalchemy import models from oslo_utils import timeutils import six import sqlalchemy from sqlalchemy.ext import declarative from sqlalchemy.orm import backref from sqlalchemy.orm import relationship from sqlalchemy.orm import session as orm_session ...
{ "content_hash": "0c5b201f11ee6ef8e5035d948a6edae9", "timestamp": "", "source": "github", "line_count": 425, "max_line_length": 78, "avg_line_length": 39.385882352941174, "alnum_prop": 0.6200489873947069, "repo_name": "takeshineshiro/heat", "id": "287bf4b2b2e4c428c9b00b4cab60e6c53d535f87", "size": ...
import React from 'react'; import ReactDom from 'react-dom'; import { Provider } from 'react-redux'; import { createStore, applyMiddleware } from 'redux'; import { Router, browserHistory } from 'react-router'; import promise from 'redux-promise'; import reducers from 'reducers'; import routes from 'routes'; import 'scs...
{ "content_hash": "8d238c604d8ab40c71e8355619988130", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 72, "avg_line_length": 33.388888888888886, "alnum_prop": 0.740432612312812, "repo_name": "iredjee/react-redux-starter", "id": "14c16e283a0031a97ca226e76afc09a85c822b8f", "s...
<?xml version="1.0" ?> <container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"> <services> <!-- image Format InMemory Loader ...
{ "content_hash": "7e12a0d111c35964f1cb7f202a56d7ae", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 120, "avg_line_length": 42.15, "alnum_prop": 0.6773428232502966, "repo_name": "Synapse-Cmf/synapse-cmf", "id": "8e85e98a397536ed119046dc5df641359ca70c8f", "size": "843", ...
module Modis module Finder def self.included(base) base.extend ClassMethods end module ClassMethods def find(*ids) models = find_all(ids) ids.count == 1 ? models.first : models end def all records = Modis.with_connection do |redis| ids = redis.sm...
{ "content_hash": "ab34f93b3ae6ab416d370c5d75699455", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 81, "avg_line_length": 24.644736842105264, "alnum_prop": 0.5718099305926322, "repo_name": "gdeglin/modis", "id": "16221329188b62b435d7765e12d800a8b2ae713c", "size": "1873",...
<?php require_once(get_template_directory() . '/libraries/setup.php'); require_once(get_template_directory() . '/libraries/customizer.php'); require_once(get_template_directory() . '/libraries/tags.php'); require_once(get_template_directory() . '/libraries/filters.php'); require_once(get_template_directory() . '/libr...
{ "content_hash": "3d688dff980a780b95a778842f3f1f39", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 69, "avg_line_length": 34.2, "alnum_prop": 0.7251461988304093, "repo_name": "giacomomarciani/mr-lite", "id": "70862f2eed1dfd0164eeaad32aadb4642124dd11", "size": "342", "b...
package org.peekmoon.database.walker; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; import java.util.stream.Collectors; import org.peekmoon.database.walker.schema.Table; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class DatabaseTaskDelete ...
{ "content_hash": "4bd4b1aa4ecf70c8a1ee4094ba530738", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 134, "avg_line_length": 29.361702127659573, "alnum_prop": 0.6855072463768116, "repo_name": "arsou33/database-walker", "id": "c10c7b2e88f7c1105f540f417b73b83b58bf0ee6", "siz...
''' Copyright 2013 Zynga Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distrib...
{ "content_hash": "59c31970f159a8c5c46f59060db410f7", "timestamp": "", "source": "github", "line_count": 124, "max_line_length": 79, "avg_line_length": 31.43548387096774, "alnum_prop": 0.6444330425859415, "repo_name": "zbase/zruntime", "id": "4d727a1b41f1e0136e0c3a5e44ebcd32bb078381", "size": "3899"...
layout: master title: "O Jardim" categories: winter author: António Ramos Rosa contributor: Filipa imgs: 2 year: 1986 --- Consideremos o jardim, mundo de pequenas coisas,  calhaus, pétalas, folhas, dedos, línguas, sementes.   Sequências de convergências e divergências,  ordem e dispersões, transparência de estru...
{ "content_hash": "8ab6ee916a2bfa5bd383713982b62717", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 54, "avg_line_length": 31, "alnum_prop": 0.7419354838709677, "repo_name": "mentes-desertas/mentes-desertas.github.io", "id": "b7b93d7608886fabe0f5d835a8f112815b6d7f9a", "si...
using System; namespace Elmah.Io.QuickFixes.Fixes { public class ImATeapotDocumentationQuickFix : QuickFixBase { public ImATeapotDocumentationQuickFix() { Icon = "fa-coffee"; Url = new Uri("https://en.wikipedia.org/wiki/Hyper_Text_Coffee_Pot_Control_Protocol"); ...
{ "content_hash": "424f9faaf5018977b796a43aef72a78e", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 98, "avg_line_length": 28.736842105263158, "alnum_prop": 0.6135531135531136, "repo_name": "elmahio/Elmah.Io.QuickFixes", "id": "7110f592fa4e2a1a162b92ebd84893cf5d7d15cc", "...
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: AssemblyTitle("Stu...
{ "content_hash": "61057b9bee21fb4184dfde6be014387e", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 84, "avg_line_length": 39.08571428571429, "alnum_prop": 0.7529239766081871, "repo_name": "g-yonchev/TelerikAcademy", "id": "247018626d817df2c16184380f109d9374efad3e", "size...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "9a2c2c656d95fa596f42ea45ba37c716", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "0b56dee9dd13c00f8e04a58554c3916975d1d2c8", "size": "206...
// The Open Trading Project - open-trading.org // // Copyright (c) 2011 Martin Tapia - martin.tapia@open-trading.org // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributio...
{ "content_hash": "283f5031217d62a48a10fc0aaeb35f33", "timestamp": "", "source": "github", "line_count": 122, "max_line_length": 116, "avg_line_length": 34.01639344262295, "alnum_prop": 0.6079518072289156, "repo_name": "paps/Open-Trading", "id": "2c02a21521c7b1c46f503f029ec00e12a57b3473", "size": "4...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Base Site URL |-------------------------------------------------------------------------- | | URL to your CodeIgniter root. Typically this will be your base URL, | WITH...
{ "content_hash": "d803212ce9277838eabcf25adfc85cce", "timestamp": "", "source": "github", "line_count": 500, "max_line_length": 83, "avg_line_length": 34.954, "alnum_prop": 0.54053899410654, "repo_name": "BensonDu/New-Homepage", "id": "f2bd27c0eed856cc19a6ac2de2451a1cc80dc374", "size": "17477", "...
<?php namespace Sheadawson\Linkable\Models; use Embed\Adapters\Adapter; use Embed\Embed; use SilverStripe\ORM\DataObject; /** * Class EmbeddedObject * @license BSD License http://www.silverstripe.org/bsd-license * @author <marcus@silverstripe.com.au> * @property string Title * @property string Type * @property...
{ "content_hash": "8991eba817e72af93aa55dcd46f44e19", "timestamp": "", "source": "github", "line_count": 124, "max_line_length": 126, "avg_line_length": 25.830645161290324, "alnum_prop": 0.522947236965345, "repo_name": "sheadawson/silverstripe-linkable", "id": "73c6cbf3b2789ea96dcdcd7cf6864e99360967aa...
require_relative 'boot' require 'rails/all' Bundler.require(*Rails.groups) require 'listable_collections' module Dummy class Application < Rails::Application # Initialize configuration defaults for originally generated Rails version. config.load_defaults 5.1 # Settings in config/environments/* take pr...
{ "content_hash": "99886007da649042cfd651b201583fa4", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 82, "avg_line_length": 29.941176470588236, "alnum_prop": 0.768172888015717, "repo_name": "mmontossi/listable_collections", "id": "f095162976c1e55c0ec2a0062dbb7fb795248261", ...
namespace Tests { using System; using Microsoft.VisualStudio.TestTools.UnitTesting; [TestClass] public class Match { [TestMethod] public void Some() { var maybe = Maybe.Some(42); var result = maybe.Match( withSome: v => "yes", ...
{ "content_hash": "b945749f7ddc30ff9cb0ab54ac638327", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 63, "avg_line_length": 26.51923076923077, "alnum_prop": 0.47788252356780275, "repo_name": "danielrbradley/yam", "id": "58da8e473c3dacd4e78346a8c91c5cc1f8ae7925", "size": "1...
Rails.application.configure do GA.tracker = Rails.application.secrets.google_analytics_code config.action_mailer.default_url_options = { host: Rails.application.secrets.host } # Settings specified here will take precedence over those in config/application.rb. # Code is not reloaded between requests. config.c...
{ "content_hash": "4d761809bc0951640effd1c5e6ed5f7b", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 102, "avg_line_length": 42.617283950617285, "alnum_prop": 0.753476245654693, "repo_name": "nigelfloe/our-checkered-past", "id": "2b4c6a967811f736715fef2bd36734ac35522ba7", ...
using Microsoft.CodeAnalysis; using Rocks.Builders.Shim; using Rocks.Extensions; using System.CodeDom.Compiler; using System.Collections.Immutable; namespace Rocks.Builders.Create; internal static class MockConstructorBuilder { internal static void Build(IndentedTextWriter writer, MockedType typeToMock, Compilation...
{ "content_hash": "a8b264700264e3fd1bb69d31f13d3df7", "timestamp": "", "source": "github", "line_count": 153, "max_line_length": 209, "avg_line_length": 40.42483660130719, "alnum_prop": 0.6976556184316896, "repo_name": "JasonBock/Rocks", "id": "69ce243a9cb585ccbbe3d76c3d57a5754ef8e4e9", "size": "618...
register "Announce away status when away users are highlighted." @@pending = {} # Chop up an incoming message and see if it contains a nick that is # in the channel. If it does, check for away status. event :PRIVMSG do next if query? or not get_data([@connection.name, @msg.destination], false) # TODO: This is go...
{ "content_hash": "5b987e2569708343bdc110ffdba21395", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 108, "avg_line_length": 26.051948051948052, "alnum_prop": 0.6520438683948155, "repo_name": "Terminus-Project/Terminus-Bot", "id": "57e0c44b131e3df3f8d09f1f4684f6bcda128f20", ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>monae: Black list 🏴‍☠️</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" r...
{ "content_hash": "79b76ef8351719b7b9514bac856ff12f", "timestamp": "", "source": "github", "line_count": 203, "max_line_length": 433, "avg_line_length": 45.70935960591133, "alnum_prop": 0.5664403491755577, "repo_name": "coq-bench/coq-bench.github.io", "id": "72bb07aabbf66f0c71020427c0a0d364eeaeecec", ...
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "tools/gn/c_include_iterator.h" #include "base/logging.h" #include "base/strings/string_util.h" #include "tools/gn/input_file.h" #include "tools...
{ "content_hash": "cac87d3fc5d1c48f2da013d3693b2e1e", "timestamp": "", "source": "github", "line_count": 178, "max_line_length": 80, "avg_line_length": 34.42696629213483, "alnum_prop": 0.6613903394255874, "repo_name": "Bysmyyr/chromium-crosswalk", "id": "120295ea41650c04fe7edef6363bebc4f74b771a", "s...
<?php ?><?php $this->template('header'); ?> <p><a href="./?a=sendtoaddress">sendtoaddress</a></p> <table> <form> <input type="hidden" name="a" value="sendtoaddress"> <tr> <td>to Address</td> <td><input type="text" name="address" value="<?php print $this->address; ?>" size="45"></td> </tr> <tr> <td>Amount<...
{ "content_hash": "80b072bd9c7485872956100043996c7e", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 96, "avg_line_length": 23.3, "alnum_prop": 0.5493562231759657, "repo_name": "habibmasuro/bitcoin-webskin", "id": "9d6db777a5d4bd1f09ad7019a6bc7b8c76ed295e", "size": "1522",...
package com.jborchardt.imagefeed.domain.feed; import java.io.IOException; import java.util.List; /** * Created by johannesborchardt on 21.03.17. */ public interface FeedRepository { List<? extends FeedItemModel> fetchFeed(int page) throws IOException; boolean isFetching(); }
{ "content_hash": "729e0413af54f9107d8d17ffcbeae8df", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 73, "avg_line_length": 20.714285714285715, "alnum_prop": 0.7482758620689656, "repo_name": "jborchardt/imagefeed", "id": "cbd58e07c3ecfe86562c9f50a91029117f930d27", "size": ...
package org.lambda4j.function.tri.conversion; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; class ThrowableTriShortToIntFunctionTest { @Test void of_givenExpression_returnsFunctionalInterface() { ThrowableTriShortToIntFunction<Throwable> function = Thro...
{ "content_hash": "f4127a01e427a1fe57f01b36f78778a0", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 101, "avg_line_length": 28.727272727272727, "alnum_prop": 0.7294303797468354, "repo_name": "Gridtec/lambda4j", "id": "5804563d39dc9b5b447208893613d9906c968b3f", "size": "12...
function printMetricsExt(metrics, metricsInfo, dispHeader,dispMetrics,padChar) % print metrics % % ... % % default names if nargin==1 metricsInfo.names.long = {'IDF1', 'IDP', 'IDR', 'Recall','Precision','False Alarm Rate', ... 'GT Tracks','Mostly Tracked','Partially Tracked','Mostly Lost', ... ...
{ "content_hash": "05e5d6d344963c7bd68a3d384cca7510", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 121, "avg_line_length": 29.58730158730159, "alnum_prop": 0.592274678111588, "repo_name": "abhineet123/MDP_Tracking", "id": "cce24f5866807c3accf75bdb71009ae13c069391", "size...
using JetBrains.Annotations; using JetBrains.ReSharper.Psi; using JetBrains.ReSharper.Psi.CSharp.Tree; using JetBrains.ReSharper.Psi.Tree; namespace JetBrains.ReSharper.PostfixTemplates.Contexts.CSharp { public sealed class CSharpPostfixExpressionContext : PostfixExpressionContext { public CSharpPostfixExpres...
{ "content_hash": "abff8b55255adffc2550ac5827b33b2c", "timestamp": "", "source": "github", "line_count": 149, "max_line_length": 136, "avg_line_length": 36.08724832214765, "alnum_prop": 0.7041100985679747, "repo_name": "controlflow/resharper-postfix", "id": "ca3b19a6961188586d4ccf1dae7abb32a5b99d7f", ...
package org.adligo.i.ldap.models; public class AdligoOrgAttributes { public static final I_LdapAttribute BINARY = new LdapAttribute((new byte [0]).getClass(), "bn", "binary"); public static final I_LdapAttribute CHECKED_ON_SERVER = new LdapAttribute("ck", "checkedOnServer"); public static final I_LdapAttribute DEL...
{ "content_hash": "bffa79b4f808b5a2a312b3c03c4906af", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 115, "avg_line_length": 58.84615384615385, "alnum_prop": 0.7633986928104575, "repo_name": "adligo/i_ldap.adligo.org", "id": "b6763e778a82d422f3dacae088dc905d4ece71b9", "siz...
<div class="attributesKit"> <div style="padding-bottom:10px;" data-radium="true"> <h1 style="font-family:-apple-system, BlinkMacSystemFont, &#x27;Segoe UI&#x27;, Helvetica, Arial, sans-serif, &#x27;Apple Color Emoji&#x27;, &#x27;Segoe UI Emoji&#x27;, &#x27;Segoe UI Symbol&#x27;;font-size:18px;color:#5D6470;...
{ "content_hash": "8f43e69a1a042722a32ed7f4b36459b5", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 615, "avg_line_length": 88.44444444444444, "alnum_prop": 0.666038525963149, "repo_name": "apiaryio/attributes-kit", "id": "5801d66a7f6d948a0aeef66a911dfe85d275d3af", "size"...
layout: microblog date: 2020-03-31 22:25:01 -0500 link: collection: microblog --- I updated my [Reading Now page](https://brianlundin.com/reading.html) on my site with several recently completed books.
{ "content_hash": "fda45d1855653d77f60b1cd9bf344d6a", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 119, "avg_line_length": 33.666666666666664, "alnum_prop": 0.7673267326732673, "repo_name": "blundin/brianlundin.com", "id": "9bb49f31ebdcf716eea3df9131aba7669526c97d", "size...
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.android.camera.example" android:versionCode="1" android:versionName="1.0.0" > <uses-sdk android:minSdkVersion="15" android:targetSdkVersion="19" /> <application ...
{ "content_hash": "b52e97ec092b2c496b64e59c456bd7bd", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 79, "avg_line_length": 36.22222222222222, "alnum_prop": 0.6288343558282209, "repo_name": "danielfred1129/android-cropping-two-finger", "id": "a7700d9c9ad1d9bf4f55b5cf592bc21e...
<!DOCTYPE html> <html xmlns:msxsl="urn:schemas-microsoft-com:xslt"> <head> <meta content="en-us" http-equiv="Content-Language" /> <meta content="text/html; charset=utf-16" http-equiv="Content-Type" /> <title _locid="PortabilityAnalysis0">.NET Portability Report</title> <style> ...
{ "content_hash": "8ab542545deb0ae59cb3b87828d03a3f", "timestamp": "", "source": "github", "line_count": 285, "max_line_length": 562, "avg_line_length": 40.88070175438597, "alnum_prop": 0.525190970732126, "repo_name": "kuhlenh/port-to-core", "id": "c39d80c840e4343055af05b579ef60f98e93bd2a", "size": ...
<?php namespace Etu\Module\ArgentiqueBundle\Twig; use Etu\Module\ArgentiqueBundle\Glide\UrlBuilder; /** * Twig extension to compare privacies and to fetch them. */ class UrlBuilderExtension extends \Twig_Extension { /** * @var UrlBuilder */ protected $builder; public function __construct(Url...
{ "content_hash": "9efdd206ecd46be6f82a472dff166f47", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 96, "avg_line_length": 21.11320754716981, "alnum_prop": 0.5862377122430742, "repo_name": "ungdev/EtuUTT", "id": "499c8a30170330cf7c92fc6ffc5bcc12a1c9d4c2", "size": "1119", ...
ModuleInput::ModuleInput(Application* app, bool start_enabled) : Module(app,"Input", start_enabled) { keyboard = new KEY_STATE[MAX_KEYS]; memset(keyboard, KEY_IDLE, sizeof(KEY_STATE) * MAX_KEYS); memset(mouse_buttons, KEY_IDLE, sizeof(KEY_STATE) * MAX_MOUSE_BUTTONS); } // Destructor ModuleInput::~ModuleInput() { d...
{ "content_hash": "c6cf5602d375b156a98e692f83841d7e", "timestamp": "", "source": "github", "line_count": 146, "max_line_length": 99, "avg_line_length": 20.30821917808219, "alnum_prop": 0.6384485666104553, "repo_name": "PatatesIDracs/3DGameEngine", "id": "7c275e5c4918a2c1aa5d55d39ea625689609b747", "s...
package sc_zap import ( "crypto/sha256" "encoding/base32" "errors" "github.com/watermint/toolbox/essentials/log/esl" "github.com/watermint/toolbox/infra/app" "github.com/watermint/toolbox/infra/control/app_control" "github.com/watermint/toolbox/infra/control/app_resource" "github.com/watermint/toolbox/infra/se...
{ "content_hash": "9fa72e6eeabf740ce165e6fdfdf12ab8", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 78, "avg_line_length": 24.053333333333335, "alnum_prop": 0.6790465631929047, "repo_name": "watermint/toolbox", "id": "f1e536334d3677fc5a1bb51ea92c929ba864483d", "size": "18...
package types import ( "fmt" "reflect" pb "go.chromium.org/luci/common/tsmon/ts_mon_proto" ) // A Target knows how to put information about itself in a MetricsData message. type Target interface { // TODO(1026140): the hash and proto of a Target object should be created // at the time of the object creation. P...
{ "content_hash": "37931a32895589e4017d5f515475acee", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 79, "avg_line_length": 25.764705882352942, "alnum_prop": 0.726027397260274, "repo_name": "luci/luci-go", "id": "a8cc0257c949a59563493e642f8cb285243fd83f", "size": "1472", ...
using DragonSpark.Commands; using DragonSpark.Diagnostics.Configurations; using DragonSpark.Sources; using Serilog.Events; namespace DragonSpark.Testing.Framework.Application.Setup { public class MinimumLevel : CommandAttributeBase { public MinimumLevel( LogEventLevel level ) : base( MinimumLevelConfiguration.Defa...
{ "content_hash": "645f6365ab2f5bea458f98bb90fa8ca6", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 167, "avg_line_length": 34.083333333333336, "alnum_prop": 0.8141809290953546, "repo_name": "DevelopersWin/VoteReporter", "id": "3461b8abb7d99d55bb5a011cb25692a214c3a890", "...
package info.cmlubinski.newslearning.classify import scala.collection.JavaConverters._ import unfiltered.filter.Plan import unfiltered.request._ import unfiltered.response._ import info.cmlubinski.newslearning.models.{DB, TrainingSet} import info.cmlubinski.newslearning.web.Jade object Classify extends Plan { im...
{ "content_hash": "790a5ef541b5c61d48ccc18d8b521901", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 75, "avg_line_length": 32.5, "alnum_prop": 0.5672064777327935, "repo_name": "cmc333333/news-learning", "id": "0ff58790e5e294fd0ae385f75274086f568540c2", "size": "2470", "...
package bp.model.text; import bp.text.model.BasicTextBlock; public class LineComment extends BasicTextBlock { private final String startSign = "//"; private final String endSign = "\n"; }
{ "content_hash": "a9818f3d3efc77b61a89f58da36a6cb6", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 49, "avg_line_length": 22.11111111111111, "alnum_prop": 0.7286432160804021, "repo_name": "VladimirRadojcic/Master", "id": "d0a82ff50fcf1291d57c90443fedddc16eda0a74", "size":...
\hypertarget{namespacegft_1_1RegionCloud3}{\section{gft\-:\-:Region\-Cloud3 Namespace Reference} \label{namespacegft_1_1RegionCloud3}\index{gft\-::\-Region\-Cloud3@{gft\-::\-Region\-Cloud3}} } \subsection*{Classes} \begin{DoxyCompactItemize} \item struct \hyperlink{structgft_1_1RegionCloud3_1_1__regionCloud3}{\-\_\-re...
{ "content_hash": "45065b3ef3b9de04571de1a76860518f", "timestamp": "", "source": "github", "line_count": 125, "max_line_length": 328, "avg_line_length": 78.072, "alnum_prop": 0.763705297673942, "repo_name": "ademirtc/bandeirantes", "id": "e9cf96da92cc41f1ebac8cbc8b8ed049c86a38bb", "size": "9759", ...
package org.apache.commons.pool2.impl; import java.text.SimpleDateFormat; import java.util.Set; import org.apache.commons.pool2.impl.DefaultPooledObject.AbandonedObjectCreatedException; import org.apache.commons.pool2.impl.TestGenericObjectPool.SimpleFactory; import org.junit.Assert; import org.junit.Test; public c...
{ "content_hash": "d0a6fda97c19e2ab067cde36276aba00", "timestamp": "", "source": "github", "line_count": 121, "max_line_length": 103, "avg_line_length": 33.66115702479339, "alnum_prop": 0.6700220967345937, "repo_name": "kmiku7/apache-commons-pool-annotated", "id": "66d224af9b18c7668e86c3f334f84a40ddbb...
module Scalar def self.included(base) base.extend(ClassMethods) base.class_eval do attr_reader :amount, :units cattr_reader :conversion_table cattr_reader :formats end end module ClassMethods def units conversion_table.keys end end def initialize(amount, ...
{ "content_hash": "7a2a2a6d62b58217aee65ab97712fb2f", "timestamp": "", "source": "github", "line_count": 186, "max_line_length": 105, "avg_line_length": 29.50537634408602, "alnum_prop": 0.6384839650145773, "repo_name": "pixeltrix/scalar_types", "id": "b391460ba90ae02a0adb2628e432c48e0b34f7ab", "size...
package com.bkav.training.week2.session8; import java.math.BigInteger; public class TestBigInteger { public static void main(String[] args) { BigInteger num1 = new BigInteger("111111111111111111111111111111111111111111111111111111111111"); BigInteger num2 = new BigInteger("511111111111222222222222222222222222222...
{ "content_hash": "94c9e7b8bfa7c890889f6ec613fe4913", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 108, "avg_line_length": 37, "alnum_prop": 0.8024948024948025, "repo_name": "anhtrungbk55/JavaTraining", "id": "ac54434d54de8a8e05ddfdabac0c09e70bda6847", "size": "481", "...
#pragma once #include "type.hpp" namespace processwarp { /** Buffer size of working for stack. */ static const int STACK_BUFFER_SIZE = 2; /** Value of nullptr in virtual-machine. */ static const vaddr_t VADDR_NULL = 0x0; /** Value of true in virtual-machine. */ static const uint8_t I8_TRUE = 0x1; /** Value of f...
{ "content_hash": "ceb9f42ce9bc4e8ca87caba71e3aad09", "timestamp": "", "source": "github", "line_count": 190, "max_line_length": 97, "avg_line_length": 40.752631578947366, "alnum_prop": 0.6793232597184554, "repo_name": "processwarp/processwarp", "id": "6a7c7a569e05ee96451174f903d90e872ed993bc", "siz...
namespace download { // The parameters describing when to run a download. This allows the caller to // specify restrictions on what impact this download will have on the device // (battery, network conditions, priority, etc.). On iOS, the network and // battery requirements are mapped to NSURLSessionConfiguration.dis...
{ "content_hash": "fe1b515ee7bf7c035a683835de28b737", "timestamp": "", "source": "github", "line_count": 186, "max_line_length": 80, "avg_line_length": 33.03225806451613, "alnum_prop": 0.7234700520833334, "repo_name": "chromium/chromium", "id": "b5de2b4040f1dc8e77ceb0b7d60c1c5b453c8110", "size": "68...
Libraries are hard. Libraries can be needed for user code, but also to run compilers. For CE we use a lot of different compilers and environments that need to be separated from the OS's installation, and that makes things more complicated than just building with your standard OS's compiler. Including header files or ...
{ "content_hash": "1c15d2657d8b1cea6c6bb223e78a8f70", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 300, "avg_line_length": 59.6578947368421, "alnum_prop": 0.7412880458756065, "repo_name": "mattgodbolt/compiler-explorer", "id": "4e3d076348bdabb76fc0862d13ca80de9ef115f4", ...
class Foo { private final Object objectToSet; private Foo(Foo.Builder builder) { objectToSet = builder.getObjectToSet(); } public static class Builder { private Object objectToSet; public Builder() { } private Object getObjectToSet() { return objectToSe...
{ "content_hash": "19351dd915986b12b3da8db69d4ddcac", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 57, "avg_line_length": 21.346153846153847, "alnum_prop": 0.554954954954955, "repo_name": "jdphenix/MyCode", "id": "0a5276c1b1fb627de34a4ef015591cf99e4f3d9d", "size": "599",...
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.widget.bottomsheet; import android.content.Context; import android.util.AttributeSet; import android.view.MotionEvent...
{ "content_hash": "ba21ab867af9b77cbf98c30fab44cd61", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 94, "avg_line_length": 29, "alnum_prop": 0.696551724137931, "repo_name": "endlessm/chromium-browser", "id": "154e04429831110b52679620cd5b61f8bf88cfe8", "size": "1450", "b...
<query id="getSiteInfoByDomain" action="select"> <tables> <table name="sites" /> <table name="modules" /> </tables> <columns> <column name="sites.site_srl" alias="site_srl" /> <column name="sites.domain" alias="domain" /> <column name="sites.index_module_srl" alias="i...
{ "content_hash": "1a9451d86776dfa53438212ce6e4cb7a", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 129, "avg_line_length": 43.05882352941177, "alnum_prop": 0.6215846994535519, "repo_name": "talkwithraon/XE4KAIST", "id": "9b3a3332e0e2fd06b1a704dd0993a6bc75ddd610", "size":...
class QueueMultiActions { public: QueueMultiActions(const char* name, int count); virtual ~QueueMultiActions(); void AddAction(Action* ); //BEFORE CALLING CurrentAction, you MUST Lock() the Queue! Action* CurrentAction(int index); int32 CountActions(); int CountT...
{ "content_hash": "3fe9c8f43141c577fb19169ce1c1575b", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 64, "avg_line_length": 21.327272727272728, "alnum_prop": 0.597612958226769, "repo_name": "HaikuArchives/BePodder", "id": "399b95a71541633b53bd766ef744432cffce34ad", "size":...
// ---------------------------------------------------------------------------- // Copyright 2006-2010, GeoTelematic Solutions, Inc. // All rights reserved // ---------------------------------------------------------------------------- // // Licensed under the Apache License, Version 2.0 (the "License"); // you m...
{ "content_hash": "a259fd377767cf987a72423a3731ea3a", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 79, "avg_line_length": 31.92156862745098, "alnum_prop": 0.5264127764127764, "repo_name": "neeph/OpenGTSFull", "id": "0e46945a14919bdadbba32503b8e3139997dd9a3", "size": "162...
import {Tensor} from './tensor'; import {NamedTensorMap} from './tensor_types'; import * as util from './util'; export interface TapeNode { id: number; name: string; outputs: Tensor[]; inputs: NamedTensorMap; // Optional params, defined only for ops with gradient impl. gradient?: (dy: Tensor|Tensor[]) =>...
{ "content_hash": "d31558c9d31aa83f0500a9f806bde3b4", "timestamp": "", "source": "github", "line_count": 180, "max_line_length": 80, "avg_line_length": 33, "alnum_prop": 0.6138047138047138, "repo_name": "tensorflow/tfjs-core", "id": "2195aada5d77eb3599ef58c5b37c704912dbb305", "size": "6642", "bina...
package io.fundrequest.core.request.claim.domain; public enum ClaimRequestStatus { PENDING, APPROVED, TRANSACTION_FAILED, DECLINED, PROCESSED }
{ "content_hash": "078c4cd99b872bea302f62d176d1dd62", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 49, "avg_line_length": 18.333333333333332, "alnum_prop": 0.7212121212121212, "repo_name": "FundRequest/platform", "id": "1ca8fdb873d32c0f21d0fdea21f2bf73f954db2f", "size": "...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; namespace CJia.PIVAS.Models.Label { /// <summary> /// 瓶贴预览Model层 /// </summary> public class LabelScenningModel : CJia.PIVAS.Tools.Model { /// <summary> /// 查询瓶贴的扣费次数 /...
{ "content_hash": "1d6a6a425575b30ca69247fdbcc96c4b", "timestamp": "", "source": "github", "line_count": 225, "max_line_length": 191, "avg_line_length": 37.742222222222225, "alnum_prop": 0.5231983042863871, "repo_name": "leborety/CJia", "id": "1fa3f755bd56d519aa10b7933f216655a6c78e69", "size": "8652...
<?php namespace App\Http\Controllers; use App\Job; use Illuminate\Http\Request; use Response; use App\Http\Requests; use App\Http\Controllers\Controller; class JobController extends Controller { public function __construct() { $this->middleware('auth', [ 'except' => [ 'index...
{ "content_hash": "57ec5c4b2e05e161b8216a723351a887", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 56, "avg_line_length": 17.881720430107528, "alnum_prop": 0.5051112447384245, "repo_name": "soywod/MAD", "id": "c805ea8947c09043f6d490df41d96e2a31afd0cf", "size": "1663", ...
import React from 'react'; import PrismFormatted from './prism-formatted'; import './challenge-description.css'; type Challenge = { block?: string; description?: string; instructions?: string; }; function ChallengeDescription(challenge: Challenge): JSX.Element { return ( <div className={`challenge-...
{ "content_hash": "2993bb07b2eea260c0cfc15a369a7443", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 80, "avg_line_length": 22.939393939393938, "alnum_prop": 0.631439894319683, "repo_name": "FreeCodeCamp/FreeCodeCamp", "id": "6f07d7f5668045a6c78878884e1a6bc01e1df2dc", "siz...
using System.Text; using global::NLog.Targets; using global::NLog.Layouts; using global::NLog.Common; using global::NLog; using System.Net; using System.Net.Sockets; using global::NLog.LayoutRenderers; namespace Tact.NLog.Targets { [Target("Log4JUdp")] public class Log4JUdpTarget : TargetWithLayout { ...
{ "content_hash": "e775002db49ff6fe102426c5f269dc4d", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 97, "avg_line_length": 28.3, "alnum_prop": 0.5840484603735487, "repo_name": "tdupont750/tact.net", "id": "15f6e5fcc66145b2649bd56390536a700ce51d20", "size": "1983", "bina...
namespace Google.Apis.Storagetransfer.v1 { /// <summary>The Storagetransfer Service.</summary> public class StoragetransferService : Google.Apis.Services.BaseClientService { /// <summary>The API version.</summary> public const string Version = "v1"; /// <summary>The discovery versio...
{ "content_hash": "9346373724f3187d9f7a1e0cc78cf5ad", "timestamp": "", "source": "github", "line_count": 2548, "max_line_length": 179, "avg_line_length": 50.98822605965463, "alnum_prop": 0.6253790852691697, "repo_name": "jskeet/google-api-dotnet-client", "id": "19336840263b90487a515d1ef5a9a8dd486011d4...
#if defined(USE_TI_UIIOSTOOLBAR) || defined(USE_TI_UITOOLBAR) #import "TiUIiOSToolbar.h" #import "TiViewProxy.h" #import "TiUtils.h" #import "TiColor.h" #import "TiToolbarButton.h" #import "TiToolbar.h" #if __IPHONE_OS_VERSION_MAX_ALLOWED < __IPHONE_4_0 @interface TiUIiOSToolbar (laterMethods) @property(nonatomic) ...
{ "content_hash": "97e538829c9e5cd21f05d54bdbb65e36", "timestamp": "", "source": "github", "line_count": 187, "max_line_length": 103, "avg_line_length": 23.518716577540108, "alnum_prop": 0.7164620281946339, "repo_name": "QGao/toolbarStyle", "id": "f3f92db4a7a52bb40e5f1d6ae97849e186c147f5", "size": "...
import logging import random from base64 import b64encode from typing import Dict, Union import src.messages.messages_pb2 as pb from src.utils import Replay, Handled, dictionary_hash from .bracha import Bracha from .mo14 import Mo14 class ACS(object): def __init__(self, factory): self._factory = factory...
{ "content_hash": "8b766e45a23e3f801d30f434747cd5c0", "timestamp": "", "source": "github", "line_count": 193, "max_line_length": 131, "avg_line_length": 40.47150259067357, "alnum_prop": 0.5467929842529766, "repo_name": "kc1212/consensus-thesis-code", "id": "4bf19629642ea626086e876907ff8377492f9040", ...
'use strict'; angular.module('elen7046ServerAndAdminApp') .controller('AdminCtrl', function ($scope, $http, Auth, User) { // Use the User $resource to fetch all users $scope.users = User.query(); $scope.delete = function(user) { User.remove({ id: user._id }); angular.forEach($scope.users, f...
{ "content_hash": "92549002f256fe21a50b55ddb80c2c36", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 65, "avg_line_length": 25.41176470588235, "alnum_prop": 0.5625, "repo_name": "ReddragonLR/ELEN7046ServerAndAdmin", "id": "ab5cb4911d975fdf0a9455eef473e1031aff7c05", "size":...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package poyectoredsocial0.pkg1; import java.io.Serializable; import javax.swing.Icon; /** * * @author jeansoto */ public class Post...
{ "content_hash": "c0530e10890aadd0ab431632b7eb4386", "timestamp": "", "source": "github", "line_count": 85, "max_line_length": 79, "avg_line_length": 18.376470588235293, "alnum_prop": 0.6024327784891165, "repo_name": "Jeancasoto/ProyectoRedSocial", "id": "1ed364589f74975012e0ab8b5b9413439f84388b", ...
from django import forms from django.contrib.auth.models import User class UserForm(forms.ModelForm): POSITIONS = ( ('student', 'Студент'), ('professor', 'Преподаватель'), ('cooperator', 'Сотрудник'), ('scientific_director', 'Научный руководитель'), ) username = ...
{ "content_hash": "ecd0742f38ecb88ace6be032f1c0f46f", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 113, "avg_line_length": 45.95454545454545, "alnum_prop": 0.6795252225519288, "repo_name": "Roomanidzee/DistribSystem", "id": "b7c91de832b502e2a451e35c62ce4d5d02bd430d", "si...
Sphere::Sphere() : Sphere(glm::vec3(0,0,0), 1) { // stub } Sphere::Sphere(glm::vec3 center, double radius) : m_center(center), m_radius(radius){ // stub } bool Sphere::getIntersection(const glm::vec3 &rayStart, const glm::vec3 &rayDir, HitRecord &record) { auto near_t = 0; // TODO from slide 56 of the...
{ "content_hash": "af2ede6a35aba093be357d23acb75d1c", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 101, "avg_line_length": 22.869565217391305, "alnum_prop": 0.6121673003802282, "repo_name": "tmiller1996/cs450", "id": "ab6aa269ce9c2e0d7d688741c52d132c2a1dc77a", "size": "1...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package it.av.fac.webserver; /** * TODO: Change this into configuration files. * @author Diogo Regateiro <diogoregateiro@ua.pt> */ ...
{ "content_hash": "5fa1da84654ef314aa02b7471b8680a2", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 79, "avg_line_length": 29.285714285714285, "alnum_prop": 0.7341463414634146, "repo_name": "Regateiro/FuzzyAC", "id": "90febb77a38bafb1f2fb98579c4a644568299dd3", "size": "41...
package androidx.media3.exoplayer.source.mediaparser; import android.media.MediaFormat; import android.media.MediaParser; import android.media.metrics.LogSessionId; import androidx.annotation.DoNotInline; import androidx.annotation.RequiresApi; import androidx.media3.common.Format; import androidx.media3.common.util....
{ "content_hash": "9dad1d82add678212b304f9238f7c7fb", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 98, "avg_line_length": 40.078947368421055, "alnum_prop": 0.7669074195666448, "repo_name": "androidx/media", "id": "6f1db58141d4b7de5f0c2225bbf32c1fbead5259", "size": "3661"...
* Infected Wars, an open source Garry's Mod game-mode. * * Infected Wars is the work of multiple authors, * a full list can be found in CONTRIBUTORS.md. * For more information, visit https://github.com/JarnoVgr/InfectedWars * * Infected Wars is free software: you can redistribute it and/or modify * it under the...
{ "content_hash": "cd8df3e027daee04cae36252fbce30a6", "timestamp": "", "source": "github", "line_count": 98, "max_line_length": 103, "avg_line_length": 30.397959183673468, "alnum_prop": 0.7203759650889561, "repo_name": "JarnoVgr/InfectedWars", "id": "ac36823fe4608c34ba190da72d6e6e15d7023fb2", "size"...