text
stringlengths
2
1.04M
meta
dict
package edu.cmu.cs.stage3.image.codec; /* * The contents of this file are subject to the JAVA ADVANCED IMAGING * SAMPLE INPUT-OUTPUT CODECS AND WIDGET HANDLING SOURCE CODE License * Version 1.0 (the "License"); You may not use this file except in * compliance with the License. You may obtain a copy of ...
{ "content_hash": "f8bb1c0da0fd8a654e9a72e74fc25e56", "timestamp": "", "source": "github", "line_count": 99, "max_line_length": 73, "avg_line_length": 36.39393939393939, "alnum_prop": 0.665556480710519, "repo_name": "ai-ku/langvis", "id": "768db05b50253866c421f97275ddc7e745c823ac", "size": "4624", ...
/** */ package kieker.model.analysismodel.statistics.impl; import kieker.model.analysismodel.statistics.EPrefix; import kieker.model.analysismodel.statistics.SimpleUnit; import kieker.model.analysismodel.statistics.StatisticsPackage; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.ecore.EC...
{ "content_hash": "9a3880df4f33e39931b0b6e97efff8fa", "timestamp": "", "source": "github", "line_count": 165, "max_line_length": 116, "avg_line_length": 21.939393939393938, "alnum_prop": 0.6375690607734806, "repo_name": "kieker-monitoring/kieker", "id": "8d260d176310ffa344b2bd0ecfbbe89a9afb336e", "s...
class OctreePoint { public: Vec3 position; int m_frameIdx; OctreePoint() { } OctreePoint(const Vec3& position) : position(position) { } inline const Vec3& getPosition() const { return position; } inline void setPosition(const Vec3& p) { position = p; } }; #endif
{ "content_hash": "71723c91bb03abb344281b1f52e18292", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 60, "avg_line_length": 21.076923076923077, "alnum_prop": 0.6970802919708029, "repo_name": "billhj/Etoile2015", "id": "f602800603df18f1736c5914d742533763e6ea61", "size": "50...
/* * This is a basic func test for a UseCase application. */ YUI.add('usecases-testi18n-de-tests', function (Y) { var suite = new Y.Test.Suite("UseCases: i18n-de"); suite.add(new Y.Test.Case({ "test i18n-de": function() { var title = Y.one('h2').get('innerHTML'); Y.Assert.areE...
{ "content_hash": "e3d125fbd1ff6b8f65a67e3002c7f3ea", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 104, "avg_line_length": 42.06666666666667, "alnum_prop": 0.554675118858954, "repo_name": "jeffblack360/mojito", "id": "166f020655ad1c787bdd004f7c51c4cae8cb1e9c", "size": "1...
#ifndef StyleElement_h #define StyleElement_h #include "CSSStyleSheet.h" namespace WebCore { class Document; class Element; class StyleElement { public: StyleElement(Document*, bool createdByParser); virtual ~StyleElement(); protected: virtual const AtomicString& type() const = 0; virtual const A...
{ "content_hash": "db092fb75f6d57af0dd55ed3e1f9ffca", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 83, "avg_line_length": 20.022222222222222, "alnum_prop": 0.7069922308546059, "repo_name": "mogoweb/webkit_for_android5.1", "id": "4356c1729a427a74607fcb791fff022d4d3a08fe", ...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="es_DO" version="2.0"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Horuscoin Core</source> <translation>Acerca del Núcleo de Horuscoin</translation> </message> ...
{ "content_hash": "7fbb30fbb83f6c0797d706bf3b97c34b", "timestamp": "", "source": "github", "line_count": 4073, "max_line_length": 419, "avg_line_length": 38.674195924380065, "alnum_prop": 0.6280408836973083, "repo_name": "horuscoin/horuscoin", "id": "08796f76c5c23b2c5ffeca73345fb578a40f0205", "size"...
.class public Lcom/android/internal/telephony/CellBroadcastFwkExt; .super Ljava/lang/Object; .source "CellBroadcastFwkExt.java" # interfaces .implements Lcom/android/internal/telephony/ICellBroadcastFwkExt; # static fields .field public static final CB_SET_TYPE_CLOSE_ETWS_CHANNEL:I = 0x2 .field public static final ...
{ "content_hash": "bcf18f5bdb330295c4d5ca0b778a6bd5", "timestamp": "", "source": "github", "line_count": 2092, "max_line_length": 195, "avg_line_length": 25.106118546845124, "alnum_prop": 0.6760595559955828, "repo_name": "baidurom/devices-g520", "id": "3fc3258ee557d1c23f70daf4dc868344d525edb5", "siz...
#include <gtest/gtest.h> int main(int argc, char *argv[]) { ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); }
{ "content_hash": "244108c69e9595f3a7b58e597b863351", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 43, "avg_line_length": 17, "alnum_prop": 0.6323529411764706, "repo_name": "OldFrostDragon/GcovParserLibrary", "id": "57a3c190d3270b111b2f646e4a597e74f55a99aa", "size": "1328...
import glob import os import shutil def move(): filenames = glob.glob('*.grp') for i in filenames: prefix = '.'.join(i.split('.')[0:3]) shutil.copyfile(i, prefix + '.amiga.grp')
{ "content_hash": "50c2ae29affa9b9b40f1b57e3986e87d", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 49, "avg_line_length": 21.2, "alnum_prop": 0.5613207547169812, "repo_name": "salomanders/NbodyPythonTools", "id": "aae215fcafe4b24db73ee92f2f4c4a45208882d3", "size": "212",...
class Checkbashisms < Formula desc "Checks for bashisms in shell scripts" homepage "https://launchpad.net/ubuntu/+source/devscripts/" url "https://deb.debian.org/debian/pool/main/d/devscripts/devscripts_2.18.9.tar.xz" sha256 "75027f6fbbbc9a9ab1b2bb7b8651622fbd9d3d691e8f4a21639865c9efe4b0e4" bottle :unneeded ...
{ "content_hash": "443094923538415f70e6eaecbeba7820", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 91, "avg_line_length": 29.0625, "alnum_prop": 0.6505376344086021, "repo_name": "git-lfs/homebrew-core", "id": "ba5758abd48740be2cf665270e52c0a07397c58d", "size": "930", "...
<?php declare(strict_types=1); namespace Valkyrja\Client\Managers; use Valkyrja\Client\Client as Contract; use Valkyrja\Client\Config\Config; use Valkyrja\Client\Driver; use Valkyrja\Client\Factory; use Valkyrja\Http\Request; use Valkyrja\Http\Response; use Valkyrja\Support\Manager\Managers\Manager; /** * Class ...
{ "content_hash": "efdc87531cc60981cb8e470bce03c18b", "timestamp": "", "source": "github", "line_count": 102, "max_line_length": 71, "avg_line_length": 19.058823529411764, "alnum_prop": 0.5787037037037037, "repo_name": "valkyrjaio/valkyrja", "id": "dc033ae01dc148717d97c9b63b8e757e25c2f132", "size": ...
<?php require_once 'class.field.php'; require_once 'class.layout.php'; class SectionException extends Exception { } class SectionFilterIterator extends FilterIterator { public function __construct($path) { parent::__construct(new DirectoryIterator(realpath($path))); } public function accept(...
{ "content_hash": "850778edb602a11efcd74041de6643ba", "timestamp": "", "source": "github", "line_count": 966, "max_line_length": 146, "avg_line_length": 31.15734989648033, "alnum_prop": 0.4594989700312313, "repo_name": "embarknow/journey-cms", "id": "21aaa12baadcaea463cc5a04c40d6c3e6e049a02", "size"...
<?xml version="1.0" encoding="UTF-8"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.jkiss.d...
{ "content_hash": "523885c8cbb3f8766891cd0bf16ce714", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 149, "avg_line_length": 36.26315789473684, "alnum_prop": 0.6894049346879536, "repo_name": "Sargul/dbeaver", "id": "7124a832ee2126b619bb2f01397ac4db10120c76", "size": "689",...
The MIT License (MIT) ===================== Copyright © `Emilis Bliudzius` `2016` 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 ...
{ "content_hash": "5127ee0de29ba14b623af79166a641c4", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 65, "avg_line_length": 44.28, "alnum_prop": 0.7859078590785907, "repo_name": "wallnutkraken/unitusk_cs", "id": "a9f445940351e3c91d3278dd5c37e2933998d972", "size": "1118", ...
# State Machine A dead simple State Machine PHP package. ## Installation To install, just add this to your composer.json: ````json "require": { "esampaio/state-machine":"master" } ```` ## Usage ### PHP version 5.3 If you are running PHP 5.3 you need to inherit the StateMachine class: ````php <?php use Esam...
{ "content_hash": "502277965eb0891331b54479e530421a", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 88, "avg_line_length": 23, "alnum_prop": 0.7198067632850241, "repo_name": "esampaio/state-machine", "id": "eb1becefbbc48f4f98ed5f43442e8da03c3ba1ae", "size": "1863", "bin...
package ru.job4j.cinema.model; public class Site { private int id; private int row; private int place; private boolean isFree; private int cost; public Site(int id, int row, int place, boolean isFree, int cost) { this.id = id; this.row = row; this.place = place; ...
{ "content_hash": "a8179cadefbb2cd193772cebdee07372", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 71, "avg_line_length": 22.11111111111111, "alnum_prop": 0.48743718592964824, "repo_name": "Mrsananabos/ashveytser", "id": "31efaa53278dc34e62fb76a7af541ee4761a3ab9", "size"...
/** * Source : https://leetcode.com/problems/reverse-linked-list/ * Author : Zhuang Ma * Email : chumpma(at)gmail.com * Date : 2015-11-30 * */ /** * Problem: * Reverse a singly linked list. */ class Solution { public: ListNode* reverseList(ListNode* head) { ListNode* pPre = NULL; ListNo...
{ "content_hash": "3004a06efdd8830c57e55556b8007815", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 62, "avg_line_length": 21.11904761904762, "alnum_prop": 0.49492671927846676, "repo_name": "mzlogin/LeetCode", "id": "317ec25aebaa311cd0b922a8df67980e69b37a07", "size": "887...
class XmlParser { public: XmlParser(XmlContentHandler& handler); ~XmlParser(); void parse(wxString filename); void start_element(wxString name, std::map<std::string, wxString> attrs); void end_element(wxString name); void char_data(wxString data); XML_Parser get_parser(); void set_error_...
{ "content_hash": "1066bc2e7de7a8e1392d557502dfbd42", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 77, "avg_line_length": 24.833333333333332, "alnum_prop": 0.6845637583892618, "repo_name": "tatsuhiro-t/metalink-editor", "id": "b7ae5dae3a59f05153bb8290e2a527bbbbb65e3d", "...
"use strict"; var express = require('express'); var user = require('../facade/user'); var homePageApi = require('./homePageApi'); var weeklyMovieApi = require('./weeklyMovieApi'); var bookmarkApi = require('./bookmarkApi'); var movieUtilApi = require('./movieUtilApi'); var debug = require('debug')('watchitlater:server:...
{ "content_hash": "bff0d4f333770b1b5f4c09a3ed4a55c3", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 81, "avg_line_length": 42.6, "alnum_prop": 0.7270288397048961, "repo_name": "tekdungtralala/watchitlater", "id": "169e5eb8a5b456d381118bb79e928e3a23b50475", "size": "1491",...
$(document).ready(function() { $('#UserDetailsDialog').dialog({ autoOpen : false, position : 'center', modal : true, resizable : false, width : 800, buttons : { "Save" : function() { $('#userDetailsForm').submit(); }, "Cancel" : function() { $(this).dialog('close'); } ...
{ "content_hash": "9dbaf7305aec61906c05d964898b4ee4", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 73, "avg_line_length": 17.721311475409838, "alnum_prop": 0.572617946345976, "repo_name": "rsubra13/ss", "id": "6903d4daecc41524c62212b1863902d181333ba0", "size": "1081", ...
module OpenTracing class << self # Text format for #inject and #extract FORMAT_TEXT_MAP = 1 # Binary format for #inject and #extract FORMAT_BINARY = 2 # Ruby Specific format to handle how Rack changes environment variables. FORMAT_RACK = 3 attr_accessor :global_tracer def method_mi...
{ "content_hash": "c5442273200c7e03da789ffb70c19fd8", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 76, "avg_line_length": 23.666666666666668, "alnum_prop": 0.6737089201877934, "repo_name": "nguyenquangminh0711/ruby-sensor", "id": "1e7edf7d82d739019f80847a5ee0f3a2436e6d94",...
package expansion import ( "context" "github.com/open-policy-agent/gatekeeper/pkg/metrics" "go.opencensus.io/stats" "go.opencensus.io/stats/view" "k8s.io/apimachinery/pkg/types" ) const ( etMetricName = "expansion_templates" etDesc = "Number of observed expansion templates" ) var ( etM = stats.Int64(e...
{ "content_hash": "24ffecfc6795ac2ab968aa7752031040", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 72, "avg_line_length": 17.428571428571427, "alnum_prop": 0.6778688524590164, "repo_name": "open-policy-agent/gatekeeper", "id": "91bf1c4507683a93b896b76af703fb46f5275bb5", ...
<?php define("URL_PREFIX", "/m/"); define("NM_URL_PREFIX", "/v4/"); // Non-mobile URL prefix define("VIEW_PREFIX", "mobile/"); require(IXG_PATH_PREFIX . "libraries/prefixes.php");
{ "content_hash": "6ede11ed9500926d268d15131799136c", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 57, "avg_line_length": 26, "alnum_prop": 0.6483516483516484, "repo_name": "mattbasta/Tinytape", "id": "b4dc1b4becb20d6a72111ea0b5bb6ee28ba4c23c", "size": "182", "binary": ...
var CK_INVOICE = (function () { var my = {}; // These are overriden on startup. my.max_time = 15 * 60; my.time_left = my.max_time; my.ck_refnum = 'none'; function set_expired() { $('#js-expired').height($('#js-most-stuff').height()); $('#js-most-stuff').hide() $('#js-ex...
{ "content_hash": "1a5e91b4f85c72ee5cdde2aafa505d54", "timestamp": "", "source": "github", "line_count": 104, "max_line_length": 87, "avg_line_length": 25.46153846153846, "alnum_prop": 0.5064199395770392, "repo_name": "coinkite/coinkite-real-time-invoice", "id": "68a1f641f0d83e16240102952e3d5f6c6634a1...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "1924cf77af75264da7ab659f715b0950", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "71dec7cb9690b98053d26feb7c16eb7d980437d3", "size": "177...
CREATE TABLE country (id VARCHAR(2) NOT NULL, name VARCHAR(64) NOT NULL, PRIMARY KEY(id)); INSERT INTO "country" ("id", "name") VALUES ('ab', 'abkaziu'); INSERT INTO "country" ("id", "name") VALUES ('af', 'afrikaner'); INSERT INTO "country" ("id", "name") VALUES ('ay', 'aimara'); INSERT INTO "country" ("id", "name") V...
{ "content_hash": "dc8aff34341c34a6e05bdde4a5ad3eb0", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 90, "avg_line_length": 64.97260273972603, "alnum_prop": 0.6137465738983765, "repo_name": "JumpLink/country-list", "id": "bdb02cd14c14bc3824c8483efbb64ebd56e41a98", "size": ...
package main import ( "flag" "log" "net/http" "os" "path/filepath" "github.com/austinkelmore/catarang/catarang" "github.com/austinkelmore/catarang/web" ) func main() { log.Println("Running Catarang!") // if len(os.Args) >= 2 && os.Args[1] != "" { // greeter.ClientPluginStart() // return // } log.SetF...
{ "content_hash": "5befc43a34f459f5718b6e7207a17c61", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 153, "avg_line_length": 22.089285714285715, "alnum_prop": 0.6628940986257074, "repo_name": "austinkelmore/catarang", "id": "dd1bc5f282b455527c59629c7054ff8b13ddd92b", "size...
#pragma once #include <zk/config.hpp> #include <initializer_list> #include <iosfwd> #include <string> #include <variant> #include <vector> #include "acl.hpp" #include "buffer.hpp" #include "forwards.hpp" #include "results.hpp" #include "types.hpp" namespace zk { /// \addtogroup Client /// \{ /// Describes the typ...
{ "content_hash": "ae6ded775b38db91279c8207da119859", "timestamp": "", "source": "github", "line_count": 363, "max_line_length": 112, "avg_line_length": 28.446280991735538, "alnum_prop": 0.5940344760797985, "repo_name": "tgockel/zookeeper-cpp", "id": "595a1b74cbbe0063454dfc6748e6b9523c6b2d11", "size...
using JetBrains.ReSharper.UnitTestFramework; namespace XunitContrib.Runner.ReSharper.UnitTestProvider { public static class UnitTestElementIdExtensions { public static string GetPersistentProjectId(this UnitTestElementId id) { return id.PersistentProjectId.Id; } } }
{ "content_hash": "397740a806e0e3fae8a30324da5ec2d5", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 78, "avg_line_length": 26.333333333333332, "alnum_prop": 0.7215189873417721, "repo_name": "derigel23/resharper-xunit", "id": "309dbd7c171b19795017031839e9736780534e21", "si...
Configuration File ------------------ After installation, you will need to create a configuration file. By default, ``jenkins-jobs`` looks in ``/etc/jenkins_jobs/jenkins_jobs.ini`` but you may specify an alternative location when running ``jenkins-jobs``. The file should have the following format: .. literalinclude...
{ "content_hash": "2cc9930a30a0cfe76e37c502914078c2", "timestamp": "", "source": "github", "line_count": 283, "max_line_length": 80, "avg_line_length": 33.56537102473498, "alnum_prop": 0.726286977576587, "repo_name": "GoodgameStudios/jenkins-job-builder", "id": "6ca7330f5705537513f44d63a44fa833c677731...
package com.google.ddex.convertercli; import com.google.common.collect.ImmutableSet; import java.io.File; import java.util.ArrayList; import java.util.List; import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.CommandLineParser; import org.apache.commons.cli.DefaultParser; import org.apache.commons...
{ "content_hash": "57f0d02078789d19c6c5aea1043cd554", "timestamp": "", "source": "github", "line_count": 132, "max_line_length": 98, "avg_line_length": 31.893939393939394, "alnum_prop": 0.6572446555819478, "repo_name": "googleinterns/ddex-mead-parser", "id": "3c18e3fc8252b2a0dff8d10c7911c72f0f52ae11",...
from scp.ethyl_alcohol import EthylAlcohol from scp.ethylene_glycol import EthyleneGlycol from scp.methyl_alcohol import MethylAlcohol from scp.propylene_glycol import PropyleneGlycol from scp.water import Water class Fluid: """ An object for handling the fluid properties Parameters -----...
{ "content_hash": "8774810cc511b6a65126d434abc50351", "timestamp": "", "source": "github", "line_count": 192, "max_line_length": 74, "avg_line_length": 29.755208333333332, "alnum_prop": 0.5251181515841065, "repo_name": "MassimoCimmino/pygfunction", "id": "52bce819e86e3211df3046a5f6c468cb7c535c32", "...
static void help() { printf("Usage: buildmon [options]\n" "\n" "-h Show help\n" "-v Show version\n"); exit(0); } struct Process_TypeGroup1 { int UniqueProcessKey; int ProcessId; int ParentId; int SessionId; int ExitStatus; int DirectoryTableBase; int UserSID[13]; char I...
{ "content_hash": "5678a11e97dc49a3a69461e1204279bd", "timestamp": "", "source": "github", "line_count": 128, "max_line_length": 80, "avg_line_length": 26.609375, "alnum_prop": 0.6438637698179683, "repo_name": "russellw/buildmon", "id": "62257c2f6355b97404d5b89bb0a0ee1dbb37520c", "size": "3571", "...
package fi.lbd.mobile.mapobjects.events; import android.support.annotation.Nullable; import java.util.List; import fi.lbd.mobile.authorization.AuthorizedEvent; import fi.lbd.mobile.events.AbstractEvent; import fi.lbd.mobile.mapobjects.MapObject; /** * Event for OTTO-bus. Returns a set of map objects as a result fr...
{ "content_hash": "75c7698ea7363bebee736d87c69bb699", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 79, "avg_line_length": 26.423076923076923, "alnum_prop": 0.7467248908296943, "repo_name": "tttro/projektityokurssi", "id": "0695912d50b0f6cbff2481feaed842dc82905238", "size...
package org.lockss.util.urlconn; import java.io.*; import java.util.*; import org.apache.commons.httpclient.*; import org.apache.commons.httpclient.auth.*; import org.apache.commons.httpclient.cookie.CookiePolicy; import org.apache.commons.httpclient.methods.GetMethod; import org.apache.commons.httpclient.methods.P...
{ "content_hash": "0d352d7d6068c5e05d2649b07f77c1de", "timestamp": "", "source": "github", "line_count": 620, "max_line_length": 96, "avg_line_length": 33.91451612903226, "alnum_prop": 0.6971988395871974, "repo_name": "edina/lockss-daemon", "id": "b0a29c66f2851ad1ab19d703fa0449fef117e886", "size": "...
package com.robertozagni.algoritmi.binaryheap; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; import org.junit.Test; public class B...
{ "content_hash": "fce5c5020e026669da3dd1c6104acc78", "timestamp": "", "source": "github", "line_count": 359, "max_line_length": 120, "avg_line_length": 32.590529247910865, "alnum_prop": 0.6846153846153846, "repo_name": "RobMcZag/Algorithms", "id": "53fc26d05556748fa3cf11b674e27b0982a4d818", "size":...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width,initial-scale=1"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="lang:clipboard.copy" content...
{ "content_hash": "964bd702a563616122100b46bac908ca", "timestamp": "", "source": "github", "line_count": 497, "max_line_length": 999, "avg_line_length": 37.30583501006036, "alnum_prop": 0.5918235262391457, "repo_name": "statsmodels/statsmodels.github.io", "id": "5fa730b021722357b1e7dbc36844f1c78066f2d...
import pygst import gst import time import random class AudioEngine: """The class that controls playing the media from Ampache.""" def __init__(self, ampache_conn): """To construct an AudioEngine object you need to pass it an AmpacheSession object.""" ################################## ...
{ "content_hash": "f4891c421919bb5dbc3984c0040ea5e5", "timestamp": "", "source": "github", "line_count": 294, "max_line_length": 135, "avg_line_length": 37.19387755102041, "alnum_prop": 0.5601280292638318, "repo_name": "bahamas10/Viridian", "id": "399340ca55b186104874b58d257c0245930499d3", "size": "...
{% extends current_module.base_template %} {% load i18n material_form material_frontend %} {% block content %} {% block left-panel %} <div class="left-panel"> <div class="card"> <div class="card-content"> <div class="card-title">不具合・工事追加</div> <form> <div class="row ...
{ "content_hash": "7029696993bfd0891e3d9530dd6bde38", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 143, "avg_line_length": 47.39772727272727, "alnum_prop": 0.5005993766482858, "repo_name": "YangWanjun/areaparking", "id": "76ce85b7a8a26018c3253e6bc38e02eab673dd62", "size"...
using UnityEngine; namespace GPUTools.Physics.Scripts.Joints { public struct GPPointJoint { public int BodyId; public int MatrixId; public Vector3 Point; public float Elasticity; public GPPointJoint(int bodyId, int matrixId, Vector3 point, float elasticity) { ...
{ "content_hash": "c51defe7f639426e100dcb2d128859b3", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 87, "avg_line_length": 23.44, "alnum_prop": 0.5614334470989761, "repo_name": "devgl/cg", "id": "73336e3910636cf225de3dd1fe4f5001c18781a8", "size": "588", "binary": false,...
@class NSString; @interface XCElementSnapshot (XCUIElementAttributes) <XCUIElementAttributes> // Remaining properties @property(readonly) unsigned long long elementType; @property(readonly, getter=isEnabled) _Bool enabled; @property(readonly) struct CGRect frame; @property(readonly) long long horizontalSizeClass; @pr...
{ "content_hash": "ccf67a0bf793c037b08292b2a7409385", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 76, "avg_line_length": 35.166666666666664, "alnum_prop": 0.8088467614533965, "repo_name": "bayareabear/bluepill", "id": "0b536a2b96f3efb60a55813068d4bca328edc465", "size": ...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "c0a26312458c838d912c7ffa684c7ba2", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "388d8a01cf7b413f539c7f63a8a97e46c809e156", "size": "203...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "a40515246d1e1f591e1956ddec2c3856", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "dca237377ee04202e87de700dc0e13fc051582c6", "size": "188...
#ifndef HEADER_CURL_HUGEHELP_H #define HEADER_CURL_HUGEHELP_H #include "setup.h" void hugehelp(void); #endif /* HEADER_CURL_HUGEHELP_H */
{ "content_hash": "8eeced336b1fc8639837c823f99792ef", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 35, "avg_line_length": 17.625, "alnum_prop": 0.7304964539007093, "repo_name": "Maher4Ever/libcoderwall", "id": "842836dda06c1f2afcdd272ff19ad358eef75ff6", "size": "1165", ...
{% load i18n cms_admin admin_urls %} {# INFO: columns are defined in base.html options #} {% spaceless %} <li class="cms-tree-node {{ css_class }} {% if page.pk in open_nodes %} jstree-open{% elif children %} jstree-closed{% endif %} {% if page.reverse_id == 'page_types' %} cms-tree-node-pagetype{% endif %} ...
{ "content_hash": "1f4b3763e22b370c400425fd133e4115", "timestamp": "", "source": "github", "line_count": 263, "max_line_length": 271, "avg_line_length": 64.0532319391635, "alnum_prop": 0.4290632791167043, "repo_name": "bittner/django-cms", "id": "62150cdf85f11bc281f67db7956d7be23fba1e03", "size": "1...
<?php defined('BASEPATH') or exit('No direct script access allowed'); /* * 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. */ /** * Description of Rx_giat * * @author Selamet Subu - Del...
{ "content_hash": "c1113fbed812c98c113e23810d11eaf1", "timestamp": "", "source": "github", "line_count": 186, "max_line_length": 113, "avg_line_length": 30.983870967741936, "alnum_prop": 0.4709352767655735, "repo_name": "selametsubu/newmpo", "id": "9134a48d130805ee8279ea9b81cf4037169f0dbb", "size": ...
<html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <link rel="icon" href="i...
{ "content_hash": "da27af0b3b9e857208a2023c85d5c380", "timestamp": "", "source": "github", "line_count": 179, "max_line_length": 196, "avg_line_length": 50.90502793296089, "alnum_prop": 0.5888937664618086, "repo_name": "prova-unibas/prova-unibas.github.io", "id": "88b6b43c2b9be409ccff800a2233ad2ede819...
import zmarkdown from zmarkdown.inlinepatterns import Pattern PING_RE = (r'(?<![^\s])' # Check that there isn't any space before the ping r'@(?:' r'([-_\d\w]+)' # For @ping r'|' r'\[' # For @[ping long] r'([^\[\]\n]+)' # Match everything excepted [, ] and \n ...
{ "content_hash": "8deb7b1964a6ccd176e69bbdec6d3ca1", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 105, "avg_line_length": 32.24528301886792, "alnum_prop": 0.5488589818607372, "repo_name": "zestedesavoir/Python-ZMarkdown", "id": "88de1e054e3e712ce319b797c07279b0737b8ef8", ...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Sirius2d游戏引擎API</title> <meta name="description" content="Sirius2d是一款使用JavaScript编写的HTML5开源免费游戏框架,其核心定位是开放,高效,优雅。 基于它,你可以快速轻松地构建属于自己的HTML5移动游戏。" /> <meta name="keywords" content="Sirius2d,游戏引擎,HTML5,2d,物理引擎,网页游戏,开源框架,手机游戏,开发文档,开发手册" /> <met...
{ "content_hash": "27b2562e4450a3801369870b95ac586d", "timestamp": "", "source": "github", "line_count": 3122, "max_line_length": 446, "avg_line_length": 32.68577834721332, "alnum_prop": 0.5043069234161399, "repo_name": "kukuzhang/sirius2d", "id": "bd84a23191963d7a69d66e9ed3eeba22fb269b88", "size": ...
using System; using System.Data; using System.Data.SQLite; using System.Globalization; using System.IO; using System.Reflection; using SST.Enums; using SST.Model; using SST.Model.QlRanks; using SST.Util; namespace SST.Database { /// <summary> /// Database class responsible for QLRanks elo data for players. ...
{ "content_hash": "14c70345ee4e54bffb12fb6947dcd56d", "timestamp": "", "source": "github", "line_count": 341, "max_line_length": 124, "avg_line_length": 41.20234604105572, "alnum_prop": 0.4499644128113879, "repo_name": "syncore/SST", "id": "444e30be7e2a15668520ff91f1c41ba79576e3d7", "size": "14052",...
title: Grouping collections in Java date: 2012-08-15 comments: true categories: [java, functional_programming, tdd] keywords: "java, functional programming, guava, tdd, test driven development, grouping, enumerable" aliases: - /blog/2012/08/15/grouping-collections-in-java/ - /2012/08/15/grouping-collections-in-ja...
{ "content_hash": "cdf337cfa67d05bf4842d308c35cacd8", "timestamp": "", "source": "github", "line_count": 151, "max_line_length": 356, "avg_line_length": 36.76158940397351, "alnum_prop": 0.7189695550351288, "repo_name": "tonyklawrence/tonyklawrence.github.io", "id": "c4d3e997418096989c07bbc994063ed337c...
@ECHO OFF REM Command file for Sphinx documentation if "%SPHINXBUILD%" == "" ( set SPHINXBUILD=sphinx-build ) set BUILDDIR=build set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% source set I18NSPHINXOPTS=%SPHINXOPTS% source if NOT "%PAPER%" == "" ( set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS% ...
{ "content_hash": "aa9baa24c7a62a5c9031272ef7f0f20c", "timestamp": "", "source": "github", "line_count": 242, "max_line_length": 79, "avg_line_length": 26.71900826446281, "alnum_prop": 0.7008969996906897, "repo_name": "ZrtLab/Yoson", "id": "d052d6cdc976aaf929824ba4a1e3b41fb8164431", "size": "6466", ...
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Navigation; using Microsoft.Phone.Controls; using Microsoft.Phone.Shell; using Xamarin.Forms; namespace TimesheetXF.WinPhone { public partial class MainP...
{ "content_hash": "c58524252cb9c244e2914368421f9e4a", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 76, "avg_line_length": 21, "alnum_prop": 0.6959706959706959, "repo_name": "teamtam/xamarin-forms-timesheet", "id": "c722549d1832b5ae3823544c652a093d0fc83429", "size": "548"...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content="Sergey Pozhilov (GetTemplate.com)"> <title>Sign in - Progressus Bootstrap template</title> <link rel="s...
{ "content_hash": "d41d28c05793006aa21665f09f7d3559", "timestamp": "", "source": "github", "line_count": 195, "max_line_length": 324, "avg_line_length": 34.46153846153846, "alnum_prop": 0.6047619047619047, "repo_name": "FeR-S/judlit", "id": "2e73748dfcc8e556383a5f672c1df787aa35a414", "size": "6720",...
import { BehaviorSubject } from 'rxjs/BehaviorSubject'; import { convertToParamMap, ParamMap } from '@angular/router'; import { Injectable } from '@angular/core'; @Injectable() export class ActivatedRouteStub { // ActivatedRoute.paramMap is Observable private subject = new BehaviorSubject(convertToParamMap(this.t...
{ "content_hash": "433ba9b11431d742b85247fff1bff30f", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 78, "avg_line_length": 30.25, "alnum_prop": 0.7327823691460055, "repo_name": "MehlboxKonsole/mk2-ng-app", "id": "182f52cc90ffcbb7305de81ef4af6e57ea972f20", "size": "726", ...
import React from 'react'; class OfferOtherWords extends React.Component{ render(){ let word = this.props.dictionary[this.props.showKey]; return( <div> <h3>Zvol správnou variantu</h3> {word.meaningCZ} </div> ) } } export default OfferO...
{ "content_hash": "22d4aa47639c0d74e2968c4be96447c6", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 61, "avg_line_length": 18.333333333333332, "alnum_prop": 0.5636363636363636, "repo_name": "pufinek/learn-Spanish", "id": "82c77469bb2b617d816514a7702f3c131c0967ae", "size":...
//-----------------------------------NOTICE----------------------------------// // Some of this file is automatically filled in by a Python script. Only // // add custom code in the designated areas or it will be overwritten during // // the next update. /...
{ "content_hash": "0a09a0e001823c2a26b3c529bb746c17", "timestamp": "", "source": "github", "line_count": 142, "max_line_length": 183, "avg_line_length": 25.274647887323944, "alnum_prop": 0.6441905823349122, "repo_name": "BlazesRus/niflib", "id": "bf664005511e262ea928400e9bbfa4076244a2a8", "size": "3...
using System; using System.IO; using System.Reflection; using Xwt.Drawing; using System.Collections.Generic; namespace Xwt.Backends { public abstract class ImageBackendHandler: DisposableResourceBackendHandler { public virtual object CreateBackend () { throw new NotSupportedException (); } public virtu...
{ "content_hash": "29b3991a50932eb06ad6b265f93b2e2c", "timestamp": "", "source": "github", "line_count": 138, "max_line_length": 148, "avg_line_length": 32.77536231884058, "alnum_prop": 0.7083793942073845, "repo_name": "antmicro/xwt", "id": "48ccf2b7e91f74a5d46713b15dddb088cead5984", "size": "5729",...
tinyMCE.addI18n('fi.style_dlg',{ title:"Muokkaa CSS tyyli\u00E4", apply:"K\u00E4yt\u00E4", text_tab:"Teksti", background_tab:"Tausta", block_tab:"Palkki", box_tab:"Laatikko", border_tab:"Kehys", list_tab:"Lista", positioning_tab:"Sijainti", text_props:"Text", text_font:"Font", text_size:"Size", text_weight:"Weight", te...
{ "content_hash": "1f50d1d40c04a4bc67de7d29c1b5468d", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 46, "avg_line_length": 23.650793650793652, "alnum_prop": 0.7456375838926175, "repo_name": "SunboX/fotocommunity", "id": "dbcb0e8f53f0fd05ca38e7f891e5a0b7e83c078d", "size": ...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fr" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About MP3Coin</source> <translation>À propos de MP3Coin</translation> ...
{ "content_hash": "ed968d1084abe26bb043cc474fad033d", "timestamp": "", "source": "github", "line_count": 2938, "max_line_length": 448, "avg_line_length": 41.389380530973455, "alnum_prop": 0.6379582572655055, "repo_name": "mp3-coin/master", "id": "4ed3a9647e2a61260fda3a13bfb2ecd32454a1b3", "size": "1...
typedef enum { KSVeneerViewAnimationFade, KSVeneerViewAnimationSwap, KSVeneerViewAnimationNone } KSVeneerViewAnimation; typedef enum { KSVeneerViewAxisY, KSVeneerViewAxisX, KSVeneerViewAxisNone } KSVeneerViewAxis; @interface KSVeneerView : UIView <UIScrollViewDelegate> @property (nonatomic, w...
{ "content_hash": "81c6d74c1cede8c9a94cc16349ba1856", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 97, "avg_line_length": 38.73809523809524, "alnum_prop": 0.8149969268592502, "repo_name": "ksylvest/veneer", "id": "a1d51688225bece9b92138ef3b2d64e7a093d9d8", "size": "1854"...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "a7d4a97fcb93a1fecd189703202dceb6", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "18010500803e45c58ddab98bc9393c3fb132c68c", "size": "181...
#ifndef __MEMCHECK_H #define __MEMCHECK_H /* This file is for inclusion into client (your!) code. You can use these macros to manipulate and query memory permissions inside your own programs. See comment near the top of valgrind.h on how to use them. */ #include "valgrind.h" /* !! ABIWARNING !! ABIWA...
{ "content_hash": "2221dea2c45c236c791fbba9fcb2c0b7", "timestamp": "", "source": "github", "line_count": 228, "max_line_length": 83, "avg_line_length": 46.60087719298246, "alnum_prop": 0.5093647058823529, "repo_name": "brabander/olsr", "id": "5282fa575c3c7ac2d08ba45b0a8c5b43b8bba635", "size": "13205...
package com.mxgraph.view; import com.mxgraph.canvas.mxGraphics2DCanvas; import com.mxgraph.canvas.mxICanvas; import com.mxgraph.canvas.mxImageCanvas; import com.mxgraph.model.*; import com.mxgraph.model.mxGraphModel.*; import com.mxgraph.util.*; import com.mxgraph.util.mxUndoableEdit.mxUndoableChange; import consulo....
{ "content_hash": "f6a51a8b3680f508bce8881bca1933be", "timestamp": "", "source": "github", "line_count": 6746, "max_line_length": 140, "avg_line_length": 31.362288763711827, "alnum_prop": 0.6387436782152479, "repo_name": "consulo/consulo", "id": "54904fcb6decd460c0bf0f65307bec417291e7c8", "size": "2...
package com.sohu.cache.util; /** * Integer 工具类 * * @author 银时:yinshi.nc / yinshi.nc@taobao.com * @Date Jan 13, 2012 */ public class IntegerUtil { /** * 如果为0,则返回默认值 * * @param originalInt * @param defaultInt * 默认Integer * @return */ public static Integer defaultIfZer...
{ "content_hash": "32339f3b8e7888ee6d41da5d0b6ad1c1", "timestamp": "", "source": "github", "line_count": 114, "max_line_length": 93, "avg_line_length": 21.13157894736842, "alnum_prop": 0.6081361560813615, "repo_name": "sohutv/cachecloud", "id": "a6ca663efd9d69529b7ad452fb86995683616804", "size": "25...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace DotNetty.Transport.Bootstrapping { using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnost...
{ "content_hash": "c8190bf2f04d55275604d2311503f054", "timestamp": "", "source": "github", "line_count": 442, "max_line_length": 124, "avg_line_length": 34.40950226244344, "alnum_prop": 0.5189690314945098, "repo_name": "iwate/DotNetty", "id": "2368badc1d3a25154fc7fb79c9815dd8138cc435", "size": "1521...
using System.Collections.Generic; using Mobile.Core.Interfaces.Entities; using Mobile.Core.Models; namespace Mobile.Core.Interfaces.Services.Database { public interface IUserService { void Delete(string id, bool isSoft = true); void DeleteAll(bool isSoft = true); List<User> ...
{ "content_hash": "941f057fa0b33981bc264873837ce9ef", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 60, "avg_line_length": 30.2, "alnum_prop": 0.6445916114790287, "repo_name": "andCulture/xamarin-architecture", "id": "02171ababe958fe95abe3c84b00a00e12ad1de67", "size": "45...
<?php namespace JGM\AgpBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\Validator\Constraints as Assert; /** * JGM\AgpBundle\Entity\ProductoEntregaReference * * @ORM\Table() * @ORM\Entity(repositoryClass="JGM\AgpBundle\Entity\ProductoEntregaReferenceRepository") */ class ProductoEntregaRe...
{ "content_hash": "f9fde9df7b985c5ef09a1158a3a8749d", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 90, "avg_line_length": 18.74025974025974, "alnum_prop": 0.613998613998614, "repo_name": "alegperea/apparrecifes", "id": "3386863ef6d94cb3b6f142dcf4573d49cc9c80a5", "size": ...
package org.sep4j.support; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import org.junit.Test; public class SepStringHelperTest { @Test public void camelCaseToCapitalizedWordsTest() { assertNull(SepStringHelper.camelCaseToCapitalizedWords(null)); assertEquals("", Sep...
{ "content_hash": "efeadac40e3f293aa06eefc4de24fa40", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 92, "avg_line_length": 44.61702127659574, "alnum_prop": 0.7992370052455889, "repo_name": "chenjianjx/sep4j", "id": "cfa6a65d9ff274ddbd8ea82db4729957d589bca5", "size": "2097...
StaffPlan::Application.configure do # Settings specified here will take precedence over those in config/application.rb # Code is not reloaded between requests config.cache_classes = true # Full error reports are disabled and caching is turned on config.consider_all_requests_local = false config.acti...
{ "content_hash": "1182edc356ac3993bd3f7479781596d0", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 104, "avg_line_length": 36.13846153846154, "alnum_prop": 0.7505321413367391, "repo_name": "rescuedcode/StaffPlan", "id": "844f0674306064562866be2bc5c37172b480c659", "size":...
package org.usfirst.frc.team2928.commands; import edu.wpi.first.wpilibj.command.Command; import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; import org.usfirst.frc.team2928.Robot; public class VisionDebug extends Command{ public VisionDebug(){ super(); requires(Robot.visiontracking); ...
{ "content_hash": "24ec2479598dbe4a2bf5a075cfc4bae6", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 96, "avg_line_length": 27.52173913043478, "alnum_prop": 0.717219589257504, "repo_name": "FRC-2928/VikingRobot", "id": "d7246516cdd773f4050f78fee927c2b4812b52c4", "size": "6...
<?php $installer = $this; /* @var $installer Mage_Core_Model_Resource_Setup */ $installer->startSetup(); $installer->run(" CREATE TABLE {$this->getTable('core_flag')} ( `flag_id` smallint(5) unsigned NOT NULL auto_increment, `flag_code` varchar(255) NOT NULL, `state` smallint(5) unsigned NOT NULL default '0',...
{ "content_hash": "b7f8e3fa5d94dcf0715e83b6ad5ab5d5", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 57, "avg_line_length": 23.476190476190474, "alnum_prop": 0.6774847870182555, "repo_name": "mikrotikAhmet/mbe-cpdev", "id": "7148b9374c60c8b384b8384488c903706accf054", "size...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-----------------------------------------...
{ "content_hash": "98b4cc289500cb47665089cced787f9a", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 81, "avg_line_length": 25.470588235294116, "alnum_prop": 0.4226327944572748, "repo_name": "siuccwd/IOER", "id": "8d14958886d6104f1ff368d92f7876867cb898c1", "size": "435", ...
package org.elasticsearch.index.mapper.geo; import org.apache.lucene.spatial.prefix.PrefixTreeStrategy; import org.apache.lucene.spatial.prefix.RecursivePrefixTreeStrategy; import org.apache.lucene.spatial.prefix.tree.GeohashPrefixTree; import org.apache.lucene.spatial.prefix.tree.QuadPrefixTree; import org.elasticse...
{ "content_hash": "30c6884a3c807303eccc1decc3099e6a", "timestamp": "", "source": "github", "line_count": 367, "max_line_length": 136, "avg_line_length": 53.50681198910082, "alnum_prop": 0.6485715740693588, "repo_name": "jw0201/elastic", "id": "d31e2a1b01bc1cbee63ad73fd29a04fb1f3bee2d", "size": "2042...
{% extends "modal.html" %} {% load i18n %} {% block header %} {% blocktrans with id=order.code %}Reserve all products in order {{ id }}?{% endblocktrans %} {% endblock header %} {% block footer %} <form action="{{ action }}" method="post" accept-charset="utf-8"> {% csrf_token %} <button class="btn btn-pri...
{ "content_hash": "10ed6553bb7585164afd367bf43868c4", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 97, "avg_line_length": 30.846153846153847, "alnum_prop": 0.6159600997506235, "repo_name": "filipp/Servo", "id": "318a28d12895c6da0fcb714792d77d0e2d1c2e59", "size": "401", ...
// Based on Eclipse Paho. /******************************************************************************* * Copyright (c) 2014 IBM Corp. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Eclipse Distribution License...
{ "content_hash": "28f79ff7b36a8928fdfe68902c3b34fa", "timestamp": "", "source": "github", "line_count": 707, "max_line_length": 144, "avg_line_length": 27.342291371994342, "alnum_prop": 0.654027210180539, "repo_name": "bouffalolab/bl_iot_sdk_matter", "id": "6251dcfcd27bb819b26ca3bf448bf47d74017d94", ...
<!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_45) on Thu Aug 20 14:30:52 BST 2015 --> <TITLE> Uses of Class org.openntf.osgiworlds.model.GenericDatabaseUtils </TITLE> <META NAME="date" ...
{ "content_hash": "c673ab78d98dbdc9d0b299830a63f599", "timestamp": "", "source": "github", "line_count": 144, "max_line_length": 234, "avg_line_length": 42.99305555555556, "alnum_prop": 0.6083023744144727, "repo_name": "paulswithers/Key-Dates", "id": "e7b682506095e72d7b0cd311edb5a3e20e7b3a4b", "size...
<resources> <string name="app_name">ModernArtUI</string> <string name="hello_world">Hello world!</string> <string name="action_settings">Settings</string> <string name="menu_item_text">More Information</string> <string name="button_text_not_now">Not Now</string> <string name="button_text_view_...
{ "content_hash": "10be305e2841e2f4089e990103712ee0", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 93, "avg_line_length": 39.30769230769231, "alnum_prop": 0.700587084148728, "repo_name": "jamescfli/GitRepository", "id": "105e4d977ae61dcea4ebfc1fac82949df4b8c966", "size":...
package au.id.aj.efbp.schedule; import java.util.TimerTask; import java.util.concurrent.Callable; import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import au.id.aj.efbp.node.Node; /** * Exposes the ability to periodically schedule Nodes for execution. Scheduling * of nodes is primarily use...
{ "content_hash": "04c7c154140cd38e753bab98a39fb20e", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 79, "avg_line_length": 31.765625, "alnum_prop": 0.675356615838662, "repo_name": "amboar/efbp", "id": "28b78d1187fe77d50c49308086c626e836d1c18a", "size": "2627", "binary":...
Just some ideas for game
{ "content_hash": "fe5a9688b307e0e77b72d10f24a39109", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 24, "avg_line_length": 25, "alnum_prop": 0.8, "repo_name": "hasharahha/Cityscapegame", "id": "4436af67717f81272025e9d7e3148d45b6ea42fa", "size": "41", "binary": false, "...
<?php /** * Created by PhpStorm. * User: Vishva * Date: 11/18/2016 * Time: 2:40 PM */?> <div class="jumbotron suggestbox" style="background-image: url('<?php echo base_url("media/home/suggestions1.jpg"); ?>')"> <div class="container"> <h2>Give us your Suggestions.</h2> <p>Let's add and build...
{ "content_hash": "8e1c5e0de235cd0579b7165f8ed50413", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 122, "avg_line_length": 20, "alnum_prop": 0.585, "repo_name": "v1shva/MPlay", "id": "e813d2d5642bb78a8667ffeb62635e266bb9ba04", "size": "400", "binary": false, "copies"...
describe 'Conversation' do it 'sends a message' do conversation_client = double(MessageBird::ConversationClient) client = MessageBird::Client.new('', nil, conversation_client) expect(conversation_client) .to receive(:request) .with(:post, 'send', { from: 'MBTest', to: 31_612_345_678, type: 't...
{ "content_hash": "b3348638c70b98772682d1dc12c9db6f", "timestamp": "", "source": "github", "line_count": 233, "max_line_length": 198, "avg_line_length": 40.81115879828326, "alnum_prop": 0.6981806709433168, "repo_name": "messagebird/ruby-rest-api", "id": "463c069e677aa9902104e9d80f9fa233a6f820cc", "s...
class CreateNewsletters < ActiveRecord::Migration def change create_table :newsletters do |t| t.datetime :date, null: false t.attachment :file, null: false t.timestamps end end end
{ "content_hash": "a07376504f5d077d4cd3b13ba7e3df30", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 49, "avg_line_length": 23.666666666666668, "alnum_prop": 0.6713615023474179, "repo_name": "AbbyJonesDev/PreschoolOnRails", "id": "5ee690f5da745c12fa837976a60234f38fd24ead", ...
use std::{ collections::hash_map::Entry, sync::{ atomic::{AtomicUsize, Ordering}, Arc, }, }; use collections::HashMap; use crossbeam::atomic::AtomicCell; use futures::{ future::{self, TryFutureExt}, sink::SinkExt, stream::TryStreamExt, }; use grpcio::{DuplexSink, Error as GrpcEr...
{ "content_hash": "fa67c4f3ee32981eee95fe070da62811", "timestamp": "", "source": "github", "line_count": 409, "max_line_length": 108, "avg_line_length": 33.32029339853301, "alnum_prop": 0.5257557968887584, "repo_name": "BusyJay/tikv", "id": "80d0f8c47a47ceddd5f9b929d37bbda40a7a8e70", "size": "13696"...
namespace WpfControlsLib.Controls.Scene.EventArguments { using System; /// <summary> /// Arguments for removed element event. /// </summary> public class ElementRemovedEventArgs : EventArgs { public Repo.IElement Element { get; set; } } }
{ "content_hash": "f2a5c8ef6e3de9ff8d9da81e88bb8acf", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 55, "avg_line_length": 23, "alnum_prop": 0.6521739130434783, "repo_name": "yurii-litvinov/REAL.NET", "id": "4c950fdd6964f749d47bd6bb65c45c3b6563612d", "size": "278", "bin...
package com.bdc.ociney.fragment; import android.app.ActivityOptions; import android.content.Intent; import android.graphics.Rect; import android.os.AsyncTask; import android.os.Build; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.w...
{ "content_hash": "0b7b2d1467a9cd48ac9a4f9a2d9d1bf0", "timestamp": "", "source": "github", "line_count": 332, "max_line_length": 301, "avg_line_length": 30.30421686746988, "alnum_prop": 0.5869197892853593, "repo_name": "tamzi/sophia", "id": "5d38494638dc40b9bd7533f256a044f03f6eb34e", "size": "10061"...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
{ "content_hash": "d6324ad1b7d700cb825080a0c6b25adf", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 75, "avg_line_length": 34.57692307692308, "alnum_prop": 0.7708565072302559, "repo_name": "gbif/gbif-api", "id": "af03f2925ae832b7d292a92495783151c91a347d", "size": "899", ...
package it.cnr.isti.vir.similarity; import java.util.Arrays; import it.cnr.isti.vir.features.AbstractFeaturesCollector; import it.cnr.isti.vir.features.FeatureClassCollector; import it.cnr.isti.vir.features.Permutation; import it.cnr.isti.vir.similarity.metric.IMetric; /** * @author Fabrizio Falchi * ...
{ "content_hash": "065a1a9dbfeef960eb529383113dd27e", "timestamp": "", "source": "github", "line_count": 254, "max_line_length": 119, "avg_line_length": 25.141732283464567, "alnum_prop": 0.6035076730347635, "repo_name": "ffalchi/it.cnr.isti.vir", "id": "82d67f1c27f17e8bbd54bb0fa070e4cc5ea2e84c", "si...
'use strict' /* Index Index contains the state of a datastore, ie. what data we currently have. Index receives a call from a Store when the operations log for the Store was updated, ie. new operations were added. In updateIndex, the Index implements its CRDT logic: add, remove or update items in the data ...
{ "content_hash": "f655c6db3a6d86a096c9b1b20cda4117", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 75, "avg_line_length": 27.254545454545454, "alnum_prop": 0.7031354236157439, "repo_name": "orbitdb/orbit-db-store", "id": "8a27e10798c66038008d687c24f9eafcb70a08cc", "size"...
struct java::nio::channels::WritableByteChannel : public virtual Channel { virtual int32_t write(::java::nio::ByteBuffer* src) = 0; // Generated static ::java::lang::Class *class_(); };
{ "content_hash": "1a06b4b10d32c7a5a1a64aabc124961a", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 60, "avg_line_length": 22.666666666666668, "alnum_prop": 0.6470588235294118, "repo_name": "pebble2015/cpoi", "id": "4f30efc89ca95327851e721d04152d5bc716c292", "size": "455",...
permalink: "/github/" --- <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>baarbe.ca/github</title> <meta http-equiv="refresh" content="0; URL=https://gi...
{ "content_hash": "2847ca07cebaad5d6cbf4543ad672c93", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 94, "avg_line_length": 34.65217391304348, "alnum_prop": 0.6398996235884568, "repo_name": "baarbeh/baarbeh.github.io", "id": "508b46006180d2b2a4b39a563aaf12b67e772d62", "siz...
"""Functional test for learning rate decay.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function from tensorflow.python.framework import dtypes from tensorflow.python.framework import test_util from tensorflow.python.ops import state_ops from tensorflow.python...
{ "content_hash": "7522bd9b47328d4c1534e946efb4752a", "timestamp": "", "source": "github", "line_count": 97, "max_line_length": 78, "avg_line_length": 38.18556701030928, "alnum_prop": 0.6169006479481641, "repo_name": "ivano666/tensorflow", "id": "6fabd58fe31b9484e613daa917319bf7c65ce5ee", "size": "4...
from django.db import models from sorl.thumbnail import get_thumbnail class Image(models.Model): name = models.CharField(null=True,blank=True,max_length=500) src = models.ImageField(upload_to='uploads/photos/%Y-%m', null=True,max_length=200) upload_dt = models.DateTimeField(auto_now_add=True) rejected = models...
{ "content_hash": "dbc5f7abd8ff9f17ee5e7ee05f9b3949", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 85, "avg_line_length": 31.458333333333332, "alnum_prop": 0.6834437086092715, "repo_name": "pizzapanther/Localvore", "id": "228abfdd52d9a43cef03ef2fc52d2ccec077a773", "size"...
AimpPlaylistQueue::AimpPlaylistQueue(IAIMPPlaylistQueue* queue, IAIMPPlaylistQueue2* queue2) : AimpObject(queue) { _listner = new AimpPlaylistQueueListener(this); queue2->ListenerAdd(_listner); } bool AimpPlaylistQueue::IsSuspended::get() { IAIMPPropertyList* properties = nullptr; try { Interna...
{ "content_hash": "8904299786005b6ed7a1ef98d5d3a860", "timestamp": "", "source": "github", "line_count": 133, "max_line_length": 118, "avg_line_length": 36.62406015037594, "alnum_prop": 0.7092999384110039, "repo_name": "martin211/aimp_dotnet", "id": "19faf80ef0d40fa8010de4050434ad7b9c87f8ec", "size"...
#include <seqan/basic.h> #include <seqan/sequence.h> #include <seqan/arg_parse.h> #include <string> #include <sstream> #include <iostream> #include <fstream> #include <map> #include "output.h" #include "read_stats.h" /* * Text constants for output */ // output filenames static const char * SEQC_READLENGTH_FILE ...
{ "content_hash": "96c1f9bf27c39ea72e25bc3fdb08ce18", "timestamp": "", "source": "github", "line_count": 308, "max_line_length": 113, "avg_line_length": 32.30194805194805, "alnum_prop": 0.5419640164840688, "repo_name": "bkahlert/seqan-research", "id": "a0df2ceaacc98daabb0d63fb2a950bb3ec187853", "siz...
var PendingStepResult = function() { var self = { isSuccessful: function isSuccessful() { return false; }, isPending: function isPending() { return true; }, isFailed: function isFailed() { return false; } }; return self; }; module.exports = PendingStepResult;
{ "content_hash": "801d6bc0856385f84031220e5f080e07", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 60, "avg_line_length": 32.44444444444444, "alnum_prop": 0.6472602739726028, "repo_name": "rhok-pta/drm", "id": "2537478adfaee059a4d1b238ebe20974db54b854", "size": "292", "...
MongoDB\Driver\ReadPreference::getModeString() --FILE-- <?php $tests = [ MongoDB\Driver\ReadPreference::RP_PRIMARY, MongoDB\Driver\ReadPreference::RP_PRIMARY_PREFERRED, MongoDB\Driver\ReadPreference::RP_SECONDARY, MongoDB\Driver\ReadPreference::RP_SECONDARY_PREFERRED, MongoDB\Driver\ReadPreference:...
{ "content_hash": "8114a801f07aafd9330c9143bb02672a", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 58, "avg_line_length": 23.48148148148148, "alnum_prop": 0.7034700315457413, "repo_name": "jmikola/mongo-php-driver-prototype", "id": "b9e23d094e79ee2021141cdc42073e77106bfc7d...
using System.Collections.Generic; using System.Linq; using Typewriter.CodeModel.Collections; using Typewriter.Metadata.Interfaces; using static Typewriter.CodeModel.Helpers; namespace Typewriter.CodeModel.Implementation { public sealed class MethodImpl : Method { private readonly IMethodMetadata _metad...
{ "content_hash": "a75cb2f5ff541a1af280f80706e96129", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 168, "avg_line_length": 40.34615384615385, "alnum_prop": 0.6963775023832222, "repo_name": "frhagn/Typewriter", "id": "52f1e54d13b9b2c4225c68563c8f0ad525cbf06e", "size": "20...
package de.jangruenewald.samples.android.daggertwoeleven.cases.provideinterface; /** * Created by Jan-2 on 27.10.2017. */ public interface FunProvider { String provideTheFun(); }
{ "content_hash": "40d7102588e5e154248ee63f1d8b7760", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 80, "avg_line_length": 17.181818181818183, "alnum_prop": 0.7407407407407407, "repo_name": "bl1b/daggertwoeleven", "id": "148dc9b1c2e77b7b9086c026df39c41295fc32a0", "size": ...
<?php /* @var $installer Mage_Sales_Model_Entity_Setup */ $installer = $this; $installer->getConnection()->addKey($installer->getTable('sales_flat_order'), 'IDX_UPDATED_AT', 'updated_at'); $installer->getConnection()->addKey($installer->getTable('sales_flat_shipment'), 'IDX_CREATED_AT', 'created_at'); $installer->g...
{ "content_hash": "f5f7fc52633f5e9f6cf6962550446f55", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 113, "avg_line_length": 42.1, "alnum_prop": 0.7102137767220903, "repo_name": "roemerdlr/kyojin", "id": "dd20ba475c057e55f9c2fae690ac1da124821b0b", "size": "1358", "binary...