text
stringlengths
2
1.04M
meta
dict
<?php namespace App\Test\TestCase\Model\Table; use App\Model\Table\SystemInfoTable; use Cake\ORM\TableRegistry; use Cake\TestSuite\TestCase; /** * App\Model\Table\SystemInfoTable Test Case */ class SystemInfoTableTest extends TestCase { /** * Fixtures * * @var array */ public $fixtures ...
{ "content_hash": "e1d07af4924012dea04c047f4d43a6ec", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 112, "avg_line_length": 18.53030303030303, "alnum_prop": 0.5633687653311529, "repo_name": "Shahlal47/testcake", "id": "2d02080c502cbf7f0941f965c37c1407ca6fc224", "size": "1...
.class public final Landroid/provider/Telephony$GprsInfo; .super Ljava/lang/Object; .source "Telephony.java" # interfaces .implements Landroid/provider/BaseColumns; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroid/provider/Telephony; .end annotation .annotation system Ldalvik...
{ "content_hash": "7cc441fa310ae23e1a62b0f86d59a553", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 88, "avg_line_length": 22.545454545454547, "alnum_prop": 0.728225806451613, "repo_name": "baidurom/devices-g520", "id": "f06541d1eeb2c86aaffc7b7c2f6d80ff4c6906d1", "size": ...
const uuid = require('src/typeStrategies/uuid') describe('type:uuid', () => { describe('default', () => { it('calls context.fail if type is not a valid UUID', () => { const context = { value: 'foo', fail: jest.fn() } uuid.default(context) expect(context.fail).toHaveBeenCal...
{ "content_hash": "fbaca8d04a27ba6331314a169cde3558", "timestamp": "", "source": "github", "line_count": 106, "max_line_length": 104, "avg_line_length": 32.70754716981132, "alnum_prop": 0.5863859244303432, "repo_name": "TechnologyAdvice/obey", "id": "887dd1a6db0ab868126d06eebaf65f2242e03884", "size"...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. namespace Microsoft.R.LanguageServer.Logging { internal interface IOutput { void Write(string text); void WriteError(string text); } }
{ "content_hash": "e63bdfad8b99a03dbe91702be7836b32", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 91, "avg_line_length": 34.888888888888886, "alnum_prop": 0.7229299363057324, "repo_name": "AlexanderSher/RTVS", "id": "9a1229d32d9085ac6f629cb0744cf53149ef9844", "size": "31...
<!DOCTYPE html> <html lang="en"> <head> <title>CRSTemporalDatum Class Reference</title> <link rel="stylesheet" type="text/css" href="../css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="../css/highlight.css" /> <meta charset='utf-8'> <script src="../js/jquery.min.js" defer></script> ...
{ "content_hash": "db927563201fca04fa32201ad2049b37", "timestamp": "", "source": "github", "line_count": 5315, "max_line_length": 504, "avg_line_length": 52.25079962370649, "alnum_prop": 0.4942008476376691, "repo_name": "ngageoint/geopackage-ios", "id": "5fdec451a24889e7a0d6a7960ed6afead6a9ae38", "s...
int main(int argc, char *argv[]) { @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); } }
{ "content_hash": "8038482fac2582408b0f05aecded83d1", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 90, "avg_line_length": 26.166666666666668, "alnum_prop": 0.6624203821656051, "repo_name": "songwut/colorOfImages", "id": "c6dad14ab1d59c8d09e5f1d619c727557d878d84", "size": ...
package com.sksamuel.elastic4s.searches.aggs.pipeline import org.elasticsearch.search.aggregations.pipeline.PipelineAggregatorBuilders import org.elasticsearch.search.aggregations.pipeline.bucketmetrics.stats.StatsBucketPipelineAggregationBuilder import scala.collection.JavaConverters._ object StatsBucketPipelineBuil...
{ "content_hash": "aaff2ef87998b6f970d8f7e09d605cf5", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 111, "avg_line_length": 40.875, "alnum_prop": 0.827217125382263, "repo_name": "FabienPennequin/elastic4s", "id": "7ed62ad97ee0fdf199a99d82ff4832d0db841f7c", "size": "654", ...
<?php namespace Dialog\Log; /** * Holds a log message handler */ interface HandlerInterface { /** * Handles the log message * * @param string $level the log level * @param string $message the message */ public function handle($level, $message); }
{ "content_hash": "6d23ba43b68002c05a2964f11cb532e3", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 45, "avg_line_length": 17.6875, "alnum_prop": 0.6219081272084805, "repo_name": "m1lt0n/dialog", "id": "3ec333981bd05b9a8c97d99f9ef456ae9a4d9150", "size": "283", "binary":...
<!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.4.2_11) on Mon Jul 12 21:36:35 CEST 2010 --> <TITLE> Uses of Class org.apache.fop.render.java2d.SystemFontMetricsMapper (Apache FOP 1.0 API) </TITLE> <...
{ "content_hash": "427f3f4d02803995b435ccadad8061b9", "timestamp": "", "source": "github", "line_count": 136, "max_line_length": 240, "avg_line_length": 43.74264705882353, "alnum_prop": 0.6148932593713229, "repo_name": "lewismc/yax", "id": "6dcbeb1d0ed33d91630344b2f71fb4c257b7593f", "size": "5949", ...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef __cplusplus # error This header can only be compiled as C++. #endif #ifnd...
{ "content_hash": "ab162601c2470f562d289386406d069f", "timestamp": "", "source": "github", "line_count": 154, "max_line_length": 87, "avg_line_length": 25.207792207792206, "alnum_prop": 0.6058732612055642, "repo_name": "peerdb/cors", "id": "9aa84ca5b8bd624c101da6f4513e5ffdcee07eba", "size": "3882", ...
package de.decoit.simu.cbor.ifmap.deserializer.metadata; import co.nstant.in.cbor.model.Array; import co.nstant.in.cbor.model.DataItem; import co.nstant.in.cbor.model.MajorType; import de.decoit.simu.cbor.ifmap.deserializer.MetadataDeserializerManager; import de.decoit.simu.cbor.ifmap.deserializer.vendor.VendorMetada...
{ "content_hash": "c2a83ef5d8a09ad1a81fbaca85abf579", "timestamp": "", "source": "github", "line_count": 163, "max_line_length": 149, "avg_line_length": 38.0920245398773, "alnum_prop": 0.768078595587051, "repo_name": "decoit/cbor-if-map-tnc-base", "id": "10d452f070c1e12c846067a452abf78be10fa012", "s...
namespace safe_browsing { class ClientPhishingRequest; class ClientSideDetectionService; // This class is used to receive the IPC from the renderer which // notifies the browser that a URL was classified as phishing. This // class relays this information to the client-side detection service // class which sends a pin...
{ "content_hash": "6fa3a4e03458b1fd184446aa174fee57", "timestamp": "", "source": "github", "line_count": 160, "max_line_length": 80, "avg_line_length": 43.05, "alnum_prop": 0.7453542392566783, "repo_name": "Bysmyyr/chromium-crosswalk", "id": "49566743c19c28ecd686ff0cec43dfe8ff68f250", "size": "7654"...
'use strict'; module.exports = grunt => { // load all grunt tasks matching the ['grunt-*', '@*/grunt-*'] patterns require('load-grunt-tasks')(grunt); // Project configuration. grunt.initConfig({ // Configuration to be run (and then tested). apexdoc: { development: { config: { ...
{ "content_hash": "7e8502218e6b4817f9bc177977d346aa", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 73, "avg_line_length": 24.553846153846155, "alnum_prop": 0.5375939849624061, "repo_name": "dsharrison/grunt-apex-doc", "id": "f7103bf967acddad1765ec6feec5b2776e6309ef", "si...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8" name="design-properties" content="{&quot;RULERS_VISIBLE&quot;:true,&quot;GUIDELINES_VISIBLE&quot;:false,&quot;SNAP_TO_OBJECTS&quot;:true,&quot;SNAP_TO_GRID&quot;:true,&quot;SNAPPING_DISTANCE&quot;:10,&quot;PAPER_WIDTH&quot;:914,&quot;PAPER_HEIGHT&quot;:535,&quot;PA...
{ "content_hash": "a327203e1e7661bb1801b01806e2cf94", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 433, "avg_line_length": 47, "alnum_prop": 0.6808510638297872, "repo_name": "vaadin-kim/declarative-vaadin-hello-world", "id": "bc06d630f6fe4b295bb2d012888445c5dad0a033", "s...
""" Very basic functionality for a Reactor implementation. """ from __future__ import division, absolute_import import socket # needed only for sync-dns from zope.interface import implementer, classImplements import sys import warnings from heapq import heappush, heappop, heapify import traceback from twisted.inte...
{ "content_hash": "4aab653bd536e2f6fad2765a25a342b4", "timestamp": "", "source": "github", "line_count": 1260, "max_line_length": 117, "avg_line_length": 34.467460317460315, "alnum_prop": 0.5992769808192683, "repo_name": "EricMuller/mynotes-backend", "id": "3e1c63cbf61fde8ff756daf70f946921ac3ccd35", ...
angular.module('BookmarksCtrl', []) .controller('BookmarksController', ['$scope', '$location', '$state', 'BookmarksService', function($scope, $location, $state, BookmarksService) { $scope.service = BookmarksService; $scope.canDelete = false; $scope.data = { name: null }; $scope.toggleShowDelete ...
{ "content_hash": "6156b8b8f3ef6b0c087dfafe82dd4a13", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 79, "avg_line_length": 26.814814814814813, "alnum_prop": 0.6284530386740331, "repo_name": "leoz/blogga", "id": "6eb2e6916622d20a97b92dcd8a43f900ffafa211", "size": "725", ...
class SecretAgent(val name:String) { def shoot(n:Int) { import SecretAgent._ decrementBullets(n) } } object SecretAgent { private var b:Int = 3000 private def decrementBullets(count:Int) { if (b - count <= 0) b = 0 else b = b - count } def bullets = b } object SecretAg...
{ "content_hash": "19f12fd5f27242b186348b5b950e1c57", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 47, "avg_line_length": 22.419354838709676, "alnum_prop": 0.6330935251798561, "repo_name": "chrisheckler/Scala_scripts", "id": "ec40de0bb22af30eb337e04babcd25ee85ca0d1b", "s...
![](/docs/img/logo.png) Machine lets you create Docker hosts on your computer, on cloud providers, and inside your own data center. It creates servers, installs Docker on them, then configures the Docker client to talk to them. It works a bit like this: ```console $ docker-machine create -d virtualbox dev Creating C...
{ "content_hash": "3a03648e893f80d220bc6ed60156ab1e", "timestamp": "", "source": "github", "line_count": 126, "max_line_length": 154, "avg_line_length": 46.91269841269841, "alnum_prop": 0.7648452038572153, "repo_name": "wlan0/machine", "id": "adee962024808072a1b655c934da23d0a9eeee09", "size": "5929"...
<?php namespace JYmusic\Assets; /** * Handles HTTP digest authentication * * <p>HTTP digest authentication can be used with the URI router. * HTTP digest is much more recommended over the use of HTTP Basic auth which doesn't provide any encryption. * If you are running PHP on Apache in CGI/FastCGI mode, you wou...
{ "content_hash": "b7e66de074d135bff9587ec9e01bb71e", "timestamp": "", "source": "github", "line_count": 117, "max_line_length": 128, "avg_line_length": 42.41880341880342, "alnum_prop": 0.5555107797703002, "repo_name": "jymusic/assets", "id": "49488fedd2f47ab8201326e8b5f0a73285757109", "size": "5176...
TOOLS=../../build/tools GLOG_logtostderr=1 $TOOLS/caffe.bin train \ --solver_proto_file=imagenet_solver.prototxt echo "Done."
{ "content_hash": "6cdc3fa2529e951f20c9c79c4073ae7d", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 46, "avg_line_length": 21.666666666666668, "alnum_prop": 0.7230769230769231, "repo_name": "orentadmor/caffe", "id": "90dcdfaddb88e620f010de99eeac8e02f65a8edd", "size": "149"...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Optimization; using System.Web.Routing; using System.Web.Security; using System.Web.SessionState; namespace SumNumbersWebForms { public class Global : HttpApplication { void Application_Start(object s...
{ "content_hash": "4b98d800f4aa33a4d31fd023cc673727", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 62, "avg_line_length": 25.80952380952381, "alnum_prop": 0.7066420664206642, "repo_name": "adzhazhev/ASP.NET-Web-Forms", "id": "0eb7985afc212709c9cd54a0120c2bb1b96f1312", "s...
package swagger type Sector struct { Sector string `json:"sector,omitempty"` Group string `json:"group,omitempty"` Name string `json:"name,omitempty"` }
{ "content_hash": "6d9dd840525416ad45a6bfb7299b4834", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 40, "avg_line_length": 22.857142857142858, "alnum_prop": 0.73125, "repo_name": "Forau/yanngo", "id": "38f20024dd63d0283889d972201c0c6ff4593930", "size": "160", "binary": f...
/** * This code was auto-generated by a Codezu. * * Changes to this file may cause incorrect behavior and will be lost if * the code is regenerated. */ package com.mozu.api.resources.commerce.customer; import com.mozu.api.ApiContext; import java.util.List; import java.util.ArrayList; i...
{ "content_hash": "482e5e1d1255f504ba7ccd623da7f528", "timestamp": "", "source": "github", "line_count": 448, "max_line_length": 389, "avg_line_length": 51.69419642857143, "alnum_prop": 0.7399715013601623, "repo_name": "johngatti/mozu-java", "id": "6e4942a059c7b6c78c3feb36e3872842a9021800", "size": ...
<?php /** * INIT - includes all the required files adepending on the current section. * * @author Pexeto */ //styles and scripts require_once 'scripts-and-styles.php'; //portfolio functionality require_once 'portfolio.php'; //general theme functions require_once 'functions-general.php'; //meta f...
{ "content_hash": "7a348cbae761575ad9749187af601806", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 76, "avg_line_length": 20.063492063492063, "alnum_prop": 0.692246835443038, "repo_name": "dnjuguna/wepesi-theme", "id": "3379cf4e62f501c6e2d77871dd4fd0d8be8312fa", "size": ...
using NBitcoin; using Stratis.Bitcoin.Utilities; namespace Stratis.Bitcoin.Base.Deployments { public class NodeDeployments { /// <summary>Specification of the network the node runs on - regtest/testnet/mainnet.</summary> private readonly Network network; public ThresholdConditionCache...
{ "content_hash": "0e69134c63ae79dc4e457186570688b2", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 126, "avg_line_length": 34.28947368421053, "alnum_prop": 0.6354566385264774, "repo_name": "stratisproject/StratisBitcoinFullNode", "id": "119085482614c20de587ac8c497a24e7858c...
const _require = require('./_initLoader')(module) _require('./index.js')
{ "content_hash": "f1a2c75bef48c22034d979d4d93dc152", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 49, "avg_line_length": 36.5, "alnum_prop": 0.6712328767123288, "repo_name": "substance/substance", "id": "ee2818fd47bfeedb5cfd0bbbfe982506f23f3af7", "size": "73", "binary"...
layout: doc_de title: Anleitung - Einen Blogeintrag schreiben previous: Benchmarks schreiben previous_url: how-to/write-benchmarks next: Dokumentation schreiben next_url: how-to/write-documentation --- Der Rubinius Blog benutzt Jekyll und ist in die Webseite sowie die Dokumentationsseiten integriert. Wir unterstützen ...
{ "content_hash": "21e39a85a618afc639d501a8b47da1c5", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 78, "avg_line_length": 42.2, "alnum_prop": 0.80173775671406, "repo_name": "slawosz/rubinius", "id": "ae4491cdac871bf92465ab5f847750d553bd62c1", "size": "1282", "binary": ...
from __future__ import division, print_function, absolute_import import sys import numpy as np from heapq import heappush, heappop import scipy.sparse __all__ = ['minkowski_distance_p', 'minkowski_distance', 'distance_matrix', 'Rectangle', 'KDTree'] def minkowski_distance_p(x, y, p=2): """...
{ "content_hash": "97379c164c244fb6a2d145ef7432eeae", "timestamp": "", "source": "github", "line_count": 994, "max_line_length": 137, "avg_line_length": 38.627766599597585, "alnum_prop": 0.5262787790394833, "repo_name": "jor-/scipy", "id": "239438686bdc20778e9811db48cdb8ada57652b6", "size": "38466",...
@interface UICollectionView (DraggableCardLayout) @end
{ "content_hash": "7017574c6b5a0aa4289e9add0b97b42b", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 49, "avg_line_length": 18.666666666666668, "alnum_prop": 0.8392857142857143, "repo_name": "minhntran/MTCardLayout", "id": "af8f86f5a5c3b5c16d52eebde4aab355b49f738a", "size":...
package q.rorbin.fastimagesize; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public void...
{ "content_hash": "2f318001defec29a7b0bb1edffd9b0fb", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 81, "avg_line_length": 23.529411764705884, "alnum_prop": 0.6925, "repo_name": "qstumn/FastImageSize", "id": "8dad5f1c6c0f355f9a02fe4655c5fdd683da74ba", "size": "400", "bi...
import os import sys sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'libs')) import logging import datetime import json from functools import partial from operator import itemgetter from decimal import Decimal as D, InvalidOperation from collections import defaultdict, namedtuple import jinja2 import weba...
{ "content_hash": "a2f378410302d9b2e43f2b5028e5dd11", "timestamp": "", "source": "github", "line_count": 153, "max_line_length": 128, "avg_line_length": 30.11764705882353, "alnum_prop": 0.6078559027777778, "repo_name": "gledi/amortsched", "id": "7a070016c5520bef3b08d1a392437f654be24012", "size": "46...
package blogger // import "google.golang.org/api/blogger/v2" import ( "bytes" "context" "encoding/json" "errors" "fmt" "io" "net/http" "net/url" "strconv" "strings" gensupport "google.golang.org/api/gensupport" googleapi "google.golang.org/api/googleapi" ) // Always reference these packages, just in case...
{ "content_hash": "642c97c82fb7378b2895c6c1f86f874a", "timestamp": "", "source": "github", "line_count": 2584, "max_line_length": 149, "avg_line_length": 33.171826625387, "alnum_prop": 0.6963460730785385, "repo_name": "cloudfoundry-community/stackdriver-tools", "id": "e5794fa769371caa185e33f5f021c994d...
package opts import ( "testing" "github.com/dcbw/go-dockerclient-dcbw/external/github.com/docker/docker/pkg/ulimit" ) func TestUlimitOpt(t *testing.T) { ulimitMap := map[string]*ulimit.Ulimit{ "nofile": {"nofile", 1024, 512}, } ulimitOpt := NewUlimitOpt(&ulimitMap) expected := "[nofile=512:1024]" if ulimi...
{ "content_hash": "61b2b7bc01cc3cb5f9e66a45b6104272", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 84, "avg_line_length": 26.047619047619047, "alnum_prop": 0.676416819012797, "repo_name": "dcbw/go-dockerclient-dcbw", "id": "8fdea310356706fe9277a23e63a5c174166b4932", "siz...
#pragma once #include "CoreMinimal.h" #include "VoxelQueuedWork.h" class VOXEL_API FVoxelAsyncWork : public IVoxelQueuedWork { public: FORCEINLINE FVoxelAsyncWork(FName Name, EVoxelTaskType TaskType, EPriority Priority, bool bAutoDelete = false) : IVoxelQueuedWork(Name, TaskType, Priority) , bAutodel...
{ "content_hash": "dfa126fb3926e425efbbca581d1758f2", "timestamp": "", "source": "github", "line_count": 132, "max_line_length": 111, "avg_line_length": 22.606060606060606, "alnum_prop": 0.7084450402144772, "repo_name": "Phyronnaz/MarchingCubes", "id": "96a174c30ed0a2db5b706c2011873b0a825120cb", "si...
/* * 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 distributed under t...
{ "content_hash": "b4a8046cd577af713d62c7d6b62d3639", "timestamp": "", "source": "github", "line_count": 141, "max_line_length": 182, "avg_line_length": 32.829787234042556, "alnum_prop": 0.7269388636854612, "repo_name": "googleapis/google-api-java-client-services", "id": "059a3190653e97ff2a7ce1c537244...
package management.operations.ops.jmx; import static management.util.HydraUtil.logInfo; import java.io.IOException; import java.net.MalformedURLException; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import javax.management.AttributeList; import javax.management.ObjectName;...
{ "content_hash": "8b742b5c001fa7d5070fcd3179ddc5c9", "timestamp": "", "source": "github", "line_count": 268, "max_line_length": 139, "avg_line_length": 39.23134328358209, "alnum_prop": 0.685657218946167, "repo_name": "gemxd/gemfirexd-oss", "id": "d2f7714f63f7c451ec89c3e240725ea8d2b19706", "size": "...
package ebuero.aatasiei.tracker.api.model; import com.google.common.collect.Lists; import ebuero.aatasiei.tracker.model.entities.WeeklyPlan; import java.util.List; import java.util.stream.Collectors; /** * @author aatasiei * @version 1.0 * @since 26-iul.-2015 */ public class WeeklyPlanResponse { ...
{ "content_hash": "ae430f38cfa917bec31dcfb47744a628", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 109, "avg_line_length": 25.692307692307693, "alnum_prop": 0.688622754491018, "repo_name": "PinguinAG/issue_tracker", "id": "b6117b5acbe74b42fa1b1010d808129f76d09e82", "size...
#include "llvm/ADT/STLExtras.h" #include "llvm/ADT/SmallSet.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/StringRef.h" #include "llvm/Support/FormatVariadic.h" #include "mlir/IR/Attributes.h" // from @llvm-project #include "mlir/IR/Operation.h" // from @llvm-project #include "mlir/IR/Types.h" // from @ll...
{ "content_hash": "d23ff7e55d0af0fc481d933eb1be187f", "timestamp": "", "source": "github", "line_count": 136, "max_line_length": 79, "avg_line_length": 37.49264705882353, "alnum_prop": 0.6930770739360659, "repo_name": "davidzchen/tensorflow", "id": "900bdf6f519e81eedb63030fab307f3f7f9d15b6", "size":...
package freemind.modes.mindmapmode.actions; import java.util.Iterator; import javax.swing.Action; import javax.swing.ImageIcon; import javax.swing.KeyStroke; import freemind.controller.actions.generated.instance.CompoundAction; import freemind.controller.actions.generated.instance.RemoveAllIconsXmlAction; import ...
{ "content_hash": "2bc701730504bf857426478717d1e363", "timestamp": "", "source": "github", "line_count": 96, "max_line_length": 78, "avg_line_length": 28.427083333333332, "alnum_prop": 0.7757420300476365, "repo_name": "jmflorezff/cs-6301", "id": "a13602966d4dad490e5b2ec8429706c742021525", "size": "3...
Stellar aims for the stars. And the nearest star system to us is Alpha Centauri! The next step to get there is a functional app for sending and receiving payments. The app is built using AngularJS, Cordova and the Ionic Framework. We first focus on android, but as Ionic is a platform agnostic tool, feel free to try it...
{ "content_hash": "5de86e0ef7cf9d7adc000888dd1c8bfd", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 193, "avg_line_length": 44.125, "alnum_prop": 0.7588526912181303, "repo_name": "raymens/Centaurus", "id": "4cf23ec6801a3c961153a66ec1160c67f0cf0fd9", "size": "2878", "bin...
..\PortableApps\SahanaFoundation.org\usr\local\php\php.exe build_vesuvius.php zip pause
{ "content_hash": "e4d425c9969c85f88e45ca075c836beb", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 81, "avg_line_length": 44, "alnum_prop": 0.8181818181818182, "repo_name": "ravihansa3000/vesuvius-portable-windows", "id": "c4902fa1a35d8f4e0bef8bdebf5e61878c04feb4", "size"...
<?php namespace CertifiedWebNinja\Talia; use Exception; use Pimple\Container; use Symfony\Component\HttpFoundation\Response; use CertifiedWebNinja\Talia\Providers\TaliaServiceProvider; class Application extends Container { /** * Construct application and register Talia Service Provider */ public fun...
{ "content_hash": "34ff69996bb3931a23388157fb5dc7b7", "timestamp": "", "source": "github", "line_count": 112, "max_line_length": 114, "avg_line_length": 27.785714285714285, "alnum_prop": 0.5880462724935732, "repo_name": "oojacoboo/talia", "id": "cb5c76c4ab2be31b21695e66b2714538b7f8bfde", "size": "31...
#include "config.h" #include "core/svg/SVGMaskElement.h" #include "core/layout/svg/LayoutSVGResourceMasker.h" namespace blink { inline SVGMaskElement::SVGMaskElement(Document& document) : SVGElement(SVGNames::maskTag, document) , SVGTests(this) , m_x(SVGAnimatedLength::create(this, SVGNames::xAttr, SV...
{ "content_hash": "8f743bb30010ba810853aad45ffdb1c6", "timestamp": "", "source": "github", "line_count": 145, "max_line_length": 165, "avg_line_length": 39.213793103448275, "alnum_prop": 0.735138937741822, "repo_name": "kurli/blink-crosswalk", "id": "f634cfa5638983e7a666363eaec19262c55d7b6f", "size"...
""" Some fancy helper functions. """ import os import ctypes from ctypes import POINTER import operator import numpy from numpy import linalg import logging;logger = logging.getLogger("pyassimp") from .errors import AssimpError additional_dirs, ext_whitelist = [],[] # populate search directories and lists of allow...
{ "content_hash": "7d8f27a979955fe4688c2c08aa62b011", "timestamp": "", "source": "github", "line_count": 170, "max_line_length": 111, "avg_line_length": 30.729411764705883, "alnum_prop": 0.6196401225114855, "repo_name": "ivansoban/ILEngine", "id": "4e9f8ec69d909f115702da7ea86bebcf78a00cd6", "size": ...
/** * IndexedList * 类似联系人应用中的联系人列表,可以按首字母分组 * 右侧的字母定位工具条,可以快速定位列表位置 * varstion 1.0.0 * by Houfeng * Houfeng@DCloud.io **/ (function($, window, document) { var classSelector = function(name) { return '.' + $.className(name); } var IndexedList = $.IndexedList = $.Class.extend({ /** * 通过 element 和 opti...
{ "content_hash": "7398c0b3c50f0e3c251ba68994fe0cee", "timestamp": "", "source": "github", "line_count": 187, "max_line_length": 122, "avg_line_length": 33.967914438502675, "alnum_prop": 0.6520780856423174, "repo_name": "phillyx/mui", "id": "0e734903878649e8c71d22af6265faca5e38b923", "size": "6530",...
var clone = require('safe-clone-deep'); var Tools = {}; Tools.serialize = clone;
{ "content_hash": "c59b757d16458378a31e1d4f479b5880", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 43, "avg_line_length": 17.4, "alnum_prop": 0.632183908045977, "repo_name": "glemarchand/photobooth", "id": "2bd3d3ceff84c4765ba64030fa7cdc0ba9aa1246", "size": "88", "binar...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * gradle plugin from the resource data it found. It * should not be modified by hand. */ package com.qq.mid; public final class R { public static final class string { public static final int app_name = 0x7f080034...
{ "content_hash": "af6e21ed88d329627d76ca3546fa6965", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 54, "avg_line_length": 25.384615384615383, "alnum_prop": 0.693939393939394, "repo_name": "lx0708/DailyPush", "id": "a97edef1165d590e5e19b36078a82b3ffd0cbdcc", "size": "330"...
class FluidListDelegate : public QAbstractItemDelegate { public: FluidListDelegate(QObject *parent = 0); void paint(QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index) const; QSize sizeHint(const QStyleOptionViewItem & option, const QModelIndex & index) const; virtual ~Fl...
{ "content_hash": "a6ea3983ed6d139043e3a51f63b35025", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 105, "avg_line_length": 26.348837209302324, "alnum_prop": 0.7378640776699029, "repo_name": "IPUdk/CoolPlot", "id": "46f9aa599726cc7c643e0042f7f34b81d91f3347", "size": "1456...
test_description='object name disambiguation Create blobs, trees, commits and a tag that all share the same prefix, and make sure "git rev-parse" can take advantage of type information to disambiguate short object names that are not necessarily unique. The final history used in the test has five commits, with the bot...
{ "content_hash": "55cd7d23262695085bbe10a364008967", "timestamp": "", "source": "github", "line_count": 262, "max_line_length": 83, "avg_line_length": 27.900763358778626, "alnum_prop": 0.6872777017783858, "repo_name": "htanya/Symfo", "id": "6b3d797ceabad069aefd1337ffe366b86b523412", "size": "7321",...
module.exports = function(app) { /*app.models.User.destroyAll();*/ /*app.models.Host.destroyAll(); app.models.Data.destroyAll(); app.models.ComplexStat.destroyAll();*/ app.models.ComplexStat.find(function(error, instances){ var n=instances.length; if(n>0){ for(var i=0; i<n; ++i){ app.models.Host.c...
{ "content_hash": "3d0f81e628f88c65a1e7ba3dbd158327", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 65, "avg_line_length": 22.68421052631579, "alnum_prop": 0.654292343387471, "repo_name": "monitool/monitool-backend", "id": "28f5a5235159641dc805bbab072546f472c542ca", "size...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>raw_socket_service::async_receive_from</title> <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="../../.....
{ "content_hash": "2ddbfac781fbada54837f1eaf5f5c589", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 439, "avg_line_length": 80.57627118644068, "alnum_prop": 0.6600757257046698, "repo_name": "zjutjsj1004/third", "id": "17b95f88eeaf69c316f0e0b369fad17c2691e330", "size": "47...
<?php namespace AppBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; use Symfony\Bridge\Doctrine\Form\Type\EntityType; use Symfony\Component\Form\Extension\Core\Type\HiddenType; use Symfony\Component\Form\Exten...
{ "content_hash": "fe0d74b71f86da30e07d744cc4174bdd", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 76, "avg_line_length": 27.22, "alnum_prop": 0.5929463629684056, "repo_name": "ezgatrabajo/sf_prueba1", "id": "7475f0466bef943317fa074f5fa306cfd55c3d6c", "size": "1361", "...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Not Found Error</title> <style> html, body, h1 { margin: 0; padding: 0; borde...
{ "content_hash": "385157378f393bb08b1da680f04e470b", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 74, "avg_line_length": 23.321428571428573, "alnum_prop": 0.557427258805513, "repo_name": "boseji/golang-appengine-examples", "id": "b23dd818ce043f836ee72c0e8abc7ebf14fe826c",...
var Aria = require("ariatemplates/Aria"); require("ariatemplates/widgets/errorlist/ErrorListTemplate.tpl"); // just to be sure the template is loaded when the test is run, since it depends on its (DOM) content module.exports = Aria.classDefinition({ $classpath : "test.aria.widgets.wai.errorlist.titleTag.ErrorLi...
{ "content_hash": "80a336ac6e64edcba85d3b67339c1c4c", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 200, "avg_line_length": 45.666666666666664, "alnum_prop": 0.570670205706702, "repo_name": "ariatemplates/ariatemplates", "id": "3cd2e857c39bc62d66b9ab9da4f326a6e090c4a1", "...
<?php // Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. // For licensing, see LICENSE.html or http://ckfinder.com/license // Defines the object for the Norwegian Nynorsk language. $GLOBALS['CKFLang'] = array ( 'ErrorUnknown' => 'Det var ikke mulig å utføre forespørselen. (Feil %1...
{ "content_hash": "d4a907754a545a79415b352fd85a7c9b", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 136, "avg_line_length": 51.31428571428572, "alnum_prop": 0.6675946547884187, "repo_name": "choufun/Lab-Petri-1.0", "id": "1726c5aa7ad9b74a4715db1a7909c9b6eccde422", "size":...
cask "remnote" do arch arm: "-arm64", intel: "" version "1.8.35" sha256 arm: "3f842b647d77556a152485419674623acc899cb1603a209411d728c770e8397f", intel: "19dfc069688f4299dc6bf951ebbcac152079b6126121d5dbc1fd2a309d91b878" url "https://download.remnote.io/RemNote-#{version}#{arch}.dmg", verified:...
{ "content_hash": "1b7a247728dcebf62329da4f7b1ded69", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 83, "avg_line_length": 29.346153846153847, "alnum_prop": 0.7169069462647444, "repo_name": "BenjaminHCCarr/homebrew-cask", "id": "fd2e2aa66c2f0c29e86e8dc23f215f767ecbdd72", ...
<?php header("Content-type: text/javascript");?> (function(a){a.fn.superfish=function(c){var b=a.fn.superfish,h=b.c,n=a(['<span class="',h.arrowClass,'"> &#187;</span>'].join("")),i=function(){var d=a(this),e=j(d);clearTimeout(e.sfTimer);d.showSuperfishUl().siblings().hideSuperfishUl()},k=function(){var d=a(this),e=j...
{ "content_hash": "1bf6ada418c95c709384110894816549", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 540, "avg_line_length": 70, "alnum_prop": 0.6503512880562061, "repo_name": "wangjingfei/now-code", "id": "b5268d641a3ffa759907865a1a2179de4506df74", "size": "4579", "bina...
- Split configuration into two files
{ "content_hash": "55bdf8a9a4073ea34d65bf10302aa16d", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 36, "avg_line_length": 36, "alnum_prop": 0.8333333333333334, "repo_name": "lwdgit/gitbook-plugin-search-plus", "id": "f4b12058d5baab0bdacacee7345923412c04c04d", "size": "36"...
/* * car.cc * class Car. */ #include <iostream> using namespace std; class Car { private: string make; string model; int prodYear; double price; public: Car() {} Car( const string &m ) { make = m; } Car( const string &m, const string &mod ) { make = m; model = mod; } Car( const stri...
{ "content_hash": "7b7834241f9093603cf7f3e58b627884", "timestamp": "", "source": "github", "line_count": 126, "max_line_length": 77, "avg_line_length": 20.73015873015873, "alnum_prop": 0.5777182235834609, "repo_name": "alexhilton/miscellaneous", "id": "d2e9cac02b243813d7935f3a4d8a8a915373897d", "siz...
import json import os from .. import base from girder.api.rest import endpoint from girder.utility import config def setUpModule(): pluginRoot = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'test_plugins') conf = config.getConfig() conf['plugins'] = {'plugin_dire...
{ "content_hash": "6d296e3dcc1fbd49161915c3e1f106a4", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 76, "avg_line_length": 31.58108108108108, "alnum_prop": 0.6469833119383825, "repo_name": "msmolens/girder", "id": "78fcd6d0585ee7103297f822d1418179ae0803b3", "size": "3126"...
// TR1 functional -*- C++ -*- // Copyright (C) 2005 Free Software Foundation, Inc. // Written by Douglas Gregor <doug.gregor -at- gmail.com> // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Publi...
{ "content_hash": "7b42f0f2441a420c6d02a6de22f655ba", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 96, "avg_line_length": 37.333333333333336, "alnum_prop": 0.728021978021978, "repo_name": "yogasuhas/espCoap", "id": "fe6fceae4971ee50fd1f5a4bc98c08f3091dd315", "size": "291...
from datetime import datetime from tracker import db from tracker.util import issue_to_numeric from .enum import Remote from .enum import Severity cve_id_regex = r'^(CVE\-\d{4}\-\d{4,})$' issue_types = [ 'unknown', 'access restriction bypass', 'arbitrary code execution', 'arbitrary command execution'...
{ "content_hash": "64dd8a937f911aae8a88ecf6b651283e", "timestamp": "", "source": "github", "line_count": 85, "max_line_length": 89, "avg_line_length": 29.36470588235294, "alnum_prop": 0.6394230769230769, "repo_name": "jelly/arch-security-tracker", "id": "0adcdbed434ec385adc7940709d7330d60c2e821", "s...
package controlP5; import java.util.Arrays; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import processing.core.PApplet; import processing.core.PFont; import processing.core.PGraphics; import processing.event.Event; import processing.event.KeyEvent; /** * contr...
{ "content_hash": "e865d3d37cac37ceebfa60de92acc1f5", "timestamp": "", "source": "github", "line_count": 475, "max_line_length": 248, "avg_line_length": 29.869473684210526, "alnum_prop": 0.6549196504087962, "repo_name": "oroca/SkyRoverNano2_Processing", "id": "6c7cfc2f7021e9e70103b7107dd3214646315c1c"...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mathcomp-word: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.m...
{ "content_hash": "9e7be71a205fd431c34827c67c170e2a", "timestamp": "", "source": "github", "line_count": 165, "max_line_length": 159, "avg_line_length": 42.266666666666666, "alnum_prop": 0.546314883854316, "repo_name": "coq-bench/coq-bench.github.io", "id": "be40063ea5a440f7cd99b5bcba5afe813acaa0dd", ...
/* * 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 Beans; /** * * @author Phuong */ public class GioHangBean implements java.io.Serializable { private String TenMonAn = ...
{ "content_hash": "cc8bc1891f2f3d718cae141839e17acd", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 79, "avg_line_length": 18.232142857142858, "alnum_prop": 0.5563173359451518, "repo_name": "duyphuong5126/Web", "id": "7867be9ee6ad5d70abf802109ccb475e8da1a179", "size": "10...
using Aspose.BarCode.Generation; namespace Aspose.BarCode.Examples.CSharp.BarcodeGeneration { internal class GenerateBarcodeViewPadding : GenerateBarcodeViewBase { public static void Run() { string path = GetFolder(); System.Console.WriteLine("GenerateBarcodeViewPaddin...
{ "content_hash": "8dc531d4e48242c6ce5473a380b31af7", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 87, "avg_line_length": 44.70967741935484, "alnum_prop": 0.6457431457431457, "repo_name": "aspose-barcode/Aspose.BarCode-for-.NET", "id": "96ebbb1bc59be7fcbb92eea1c7707eb47220...
<?php /** * Example of the campaignClickDetailAIM() API call * @link http://apidocs.mailchimp.com/api/1.3/campaignclickdetailaim.func.php * @author Ben Tadiar <ben@handcraftedbyben.co.uk> */ // Require the bootstrap require_once(dirname(__FILE__) . '/../bootstrap.php'); // Retrieve the report manager object $rep...
{ "content_hash": "f7a93a7e9b3d0d4ff5b1d04708434762", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 77, "avg_line_length": 27.181818181818183, "alnum_prop": 0.7073578595317725, "repo_name": "BenExile/MailChimp", "id": "5bd3d6f9625aab1a6a69a2e834ab5bccc5b2e90a", "size": "5...
from django.test import TestCase from django.test.utils import override_settings from rapidsms.contrib.echo.handlers.echo import EchoHandler from rapidsms.contrib.echo.handlers.ping import PingHandler from rapidsms.contrib.handlers.utils import get_handlers import mock __all__ = ['TestGetHandlers'] class TestGetH...
{ "content_hash": "2ab0e233217fbef09f8c1cbba5f76437", "timestamp": "", "source": "github", "line_count": 118, "max_line_length": 79, "avg_line_length": 42.16101694915254, "alnum_prop": 0.652462311557789, "repo_name": "eHealthAfrica/rapidsms", "id": "d9c1d2666b2beebb1ed3c1d64e8c3b8a411362d9", "size":...
Browser Sync ============== gulp is a toolkit for automating painful or time-consuming tasks in your development workflow, so you can stop messing around and build something. https://www.browsersync.io/ https://github.com/Browsersync/browser-sync
{ "content_hash": "187d2fea604e086b17ff924e66dd3d4d", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 146, "avg_line_length": 31.25, "alnum_prop": 0.756, "repo_name": "CodeLaunchUK/vvv-codelaunch-utilities", "id": "a09236ccda36a8a39efbaf7d875508c224f57ffb", "size": "250", ...
<?php /* Load Solero modules */ add_theme_support('solero-jquery-cdn'); add_theme_support('solero-clean-up'); add_theme_support('solero-nav-walker'); // add_theme_support('solero-relative-urls'); add_theme_support('solero-js-to-footer'); add_theme_support('solero-disable-trackbacks'); add_theme_support('solero-disabl...
{ "content_hash": "c065e5c58cfcecfe3f768611ab7c849b", "timestamp": "", "source": "github", "line_count": 99, "max_line_length": 107, "avg_line_length": 27.2020202020202, "alnum_prop": 0.6520608986260675, "repo_name": "starise/starsailor", "id": "093fce22317790946a6428aa572a7335422df2c8", "size": "28...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Edument.CQRS; using NUnit.Framework; using Cafe.Tab; using Events.Cafe; namespace CafeTests { [TestFixture] public class TabTests : BDDTest<TabAggregate> { private Guid testId; private int testTable...
{ "content_hash": "643dc2e422afafea8f9762e88689ed3c", "timestamp": "", "source": "github", "line_count": 636, "max_line_length": 96, "avg_line_length": 30.562893081761008, "alnum_prop": 0.37910278835271116, "repo_name": "edumentab/cqrs-starter-kit", "id": "eb6dda7eb62f8ce22ed21d38ce44a9368ec7f727", ...
namespace JexusManager.Features.Certificates { using System.ComponentModel; using System.Windows.Forms; partial class CompleteRequestDialog { /// <summary> /// Required designer variable. /// </summary> private IContainer components = null; /// <summary> ...
{ "content_hash": "ac51e6f05ddbc4f17e9dc22da19c3686", "timestamp": "", "source": "github", "line_count": 220, "max_line_length": 171, "avg_line_length": 43.095454545454544, "alnum_prop": 0.5685054319164645, "repo_name": "jexuswebserver/JexusManager", "id": "5c8f502f6c5bc6163df5c364598f48b96c4a25ce", ...
<div style="background-color: white" class="_main-content _middle-content md-whiteframe-z1 my-profile-body" ng-class="{'_sm': $mdMedia('sm'), '_gt-sm': $mdMedia('gt-sm')}"> <md-toolbar class="my-profile-toolbar _content-nav" ng-class="{'_sm': $mdMedia('sm'), '_gt-sm': $mdMedia('gt-sm')}"> ...
{ "content_hash": "063a6d778cb122d22b099ac7bafe7f4a", "timestamp": "", "source": "github", "line_count": 287, "max_line_length": 159, "avg_line_length": 59.65853658536585, "alnum_prop": 0.4226141805863801, "repo_name": "shirishgoyal/crowdsource-platform", "id": "ed6549a56e8ef1ebad3cd5f793e233e20cce5dd...
// Copyright 2016 Google 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...
{ "content_hash": "5bfd95756d28183aa68e6aa34d851b1f", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 93, "avg_line_length": 35.44444444444444, "alnum_prop": 0.7439916405433646, "repo_name": "googlecodelabs/android-n-quick-settings", "id": "42cbbe5dc5ecef2d814ffa895c6d456f94d...
@implementation ExternalBaseSegue - (id)initWithIdentifier:(NSString *)identifier source:(UIViewController *)source destination:(UIViewController *)destination { if ([destination isKindOfClass:[ExternalViewController class]]) { self = [super initWithIdentifier:identifier source:sour...
{ "content_hash": "c3dd17e1563aba33a20f3a7a58a6ad32", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 127, "avg_line_length": 34.611111111111114, "alnum_prop": 0.7046548956661316, "repo_name": "cristianbica/CBExternalStoryboard", "id": "f010b021f3f4894637648e8d9fa02e9ac66b163...
package com.clemble.casino.server.hibernate; import java.io.Serializable; import org.hibernate.HibernateException; import org.hibernate.usertype.UserType; abstract public class ImmutableHibernateType<T extends Serializable> implements UserType { @Override final public boolean equals(Object x, Object y) thro...
{ "content_hash": "44abac1c6b9b4aa86014fd0751f7d0ed", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 105, "avg_line_length": 25.391304347826086, "alnum_prop": 0.6977739726027398, "repo_name": "clemble/backend-common", "id": "b8b61e86484614fe0dfc75ecec173aebaf2f7a76", "size...
'use strict'; /*eslint-env browser*/ /*global $, _*/ var mdurl = require('mdurl'); var mdHtml, mdSrc, permalink, scrollMap; var defaults = { html: false, // Enable HTML tags in source xhtmlOut: false, // Use '/' to close single tags (<br />) breaks: false, // Convert '\n...
{ "content_hash": "b8f2744406ce035453e18a06eef7a9d8", "timestamp": "", "source": "github", "line_count": 421, "max_line_length": 96, "avg_line_length": 26.717339667458432, "alnum_prop": 0.5770803698435277, "repo_name": "Thynix/markdown-it", "id": "39f40ea1afb3525c57d1a1d2a4c71836b7ba802a", "size": "...
import 'babel-polyfill' import * as assert from 'assert' import blizzardForum from '../lib/index.js' let blizForum = new blizzardForum() blizForum.set('general.debug', false) describe('set', () => { it('should set region to en', () => { blizForum.set('server.region', 'en') }) })
{ "content_hash": "e46dd3d1cac983957ccb18409ac48631", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 44, "avg_line_length": 22.923076923076923, "alnum_prop": 0.6409395973154363, "repo_name": "BirkhoffLee/blizzard_forum.js", "id": "4d58aca53fac11f0e65bb63d245cefea3506fb40", ...
namespace boost { namespace compute { // forward declaration for counting_iterator<T> template<class T> class counting_iterator; namespace detail { // helper class which defines the iterator_facade super-class // type for counting_iterator<T> template<class T> class counting_iterator_base { public: typedef ::boo...
{ "content_hash": "5c9adcdae428cf9ec851613a5593b60a", "timestamp": "", "source": "github", "line_count": 162, "max_line_length": 86, "avg_line_length": 23.537037037037038, "alnum_prop": 0.6472593758195646, "repo_name": "LedgerHQ/lib-ledger-core", "id": "384486bcb3d2bd1eec577ec81298d55dd5809f39", "si...
@interface QHPModel : NSObject @end
{ "content_hash": "5a8d74c0e415f0aa58b6ca8904618cc3", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 30, "avg_line_length": 12.333333333333334, "alnum_prop": 0.7567567567567568, "repo_name": "QinHuPo/weibo", "id": "7f624e55a443e20b4a13f397ab45193eb550b9a2", "size": "200", ...
namespace PyCuDNN { typedef cudnnDirectionMode_t DirectionMode; } // PyCuDNN #endif // PYCUDNN_DIRECTION_MODE_HPP
{ "content_hash": "3b1b0d2224852b0c8710e3a29d170cf1", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 44, "avg_line_length": 23, "alnum_prop": 0.782608695652174, "repo_name": "komarov-k/pycudnn", "id": "17568535f74fca1139c8dd8aae8a6ba6d5605f86", "size": "206", "binary": fa...
import React from 'react' import ReactDOM from 'react-dom' import { renderIntoDocument, scryRenderedDOMComponentsWithTag, findRenderedDOMComponentWithTag, Simulate } from 'react-addons-test-utils' import VerifyRegistrationInfo from './VerifyRegistrationInfo' describe('When rendering VerifyRegistrationInfo ', ...
{ "content_hash": "d6c051cd45e036ab6bf369fb1dade54b", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 73, "avg_line_length": 29.977272727272727, "alnum_prop": 0.7278241091736164, "repo_name": "jack-hoang/registration", "id": "a663892feb8b308490abb54756d235d34adfdd1f", "size...
#define CallbackTemplate(name, rettype, template_, template__, _template, _tsep_, classdef, \ classlist, paramdef, paramlist, return_, extension) \ \ template_ classdef _template \ struct name##Action { \ int count; \ virtual rettype Execute(paramdef) = 0; \ virtual bool IsEqu...
{ "content_hash": "d3125f70ca98c4014f058edb924cfc9d", "timestamp": "", "source": "github", "line_count": 180, "max_line_length": 118, "avg_line_length": 36.09444444444444, "alnum_prop": 0.6070494074188086, "repo_name": "dreamsxin/ultimatepp", "id": "cfda9f5aa31430b961c7146321a9312c71e44b3d", "size":...
<component name="libraryTable"> <library name="Solr example library"> <CLASSES> <root url="file://$PROJECT_DIR$/solr/server/lib" /> </CLASSES> <JAVADOC /> <SOURCES /> <jarDirectory url="file://$PROJECT_DIR$/solr/server/lib" recursive="true" /> </library> </component>
{ "content_hash": "6523f5ec89c1d03aa445955a60726794", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 80, "avg_line_length": 29.7, "alnum_prop": 0.6296296296296297, "repo_name": "yida-lxw/solr-5.2.0", "id": "4003bf7e11d1bf8ec8ce16ba3ebcc05d2820dc74", "size": "297", "binar...
puzzle.c ======== There is a typo in this programme. Source: https://news.ycombinator.com/item?id=12921755
{ "content_hash": "ea7442835324edf54cc818f7de925df4", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 45, "avg_line_length": 18.166666666666668, "alnum_prop": 0.7064220183486238, "repo_name": "jloughry/experiments", "id": "0200fc18b20e9c71eae1ed8451cb05daa3e4d091", "size": "...
<?php /** * @file * Contains \Drupal\Tests\Core\Entity\EntityFieldManagerTest. */ namespace Drupal\Tests\Core\Entity; use Drupal\Component\Plugin\Exception\PluginNotFoundException; use Drupal\Core\Cache\Cache; use Drupal\Core\Cache\CacheBackendInterface; use Drupal\Core\Cache\CacheTagsInvalidatorInterface; use Dr...
{ "content_hash": "e0dc669d0df4c14ef2929aacb01a7e50", "timestamp": "", "source": "github", "line_count": 822, "max_line_length": 342, "avg_line_length": 39.289537712895374, "alnum_prop": 0.6952873420857072, "repo_name": "kgatjens/d8_vm_vagrant", "id": "4985470de0aadf5cf7b5c5f48fd69dddc02c976d", "siz...
cwd=$(pwd) source base.sh run . cabal update # Install the codeworld-base and codeworld-api packages run . cabal_install --ghcjs ./codeworld-prediction \ ./codeworld-error-sanitizer \ ./codeworld-api \ ./codeworld-base \ ...
{ "content_hash": "956fc90d45b417d5eb6bddf010ba0615", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 69, "avg_line_length": 33.75, "alnum_prop": 0.577037037037037, "repo_name": "parvmor/codeworld", "id": "d4289f068f05409de77da258e6949a13b958a04e", "size": "1971", "binary...
package org.vaadin.patrik.events; import java.util.ArrayList; import java.util.List; import java.io.Serializable; public class EventListenerList<LISTENER extends Listener<EVENT>, EVENT> implements Serializable { private final List<LISTENER> listeners; public EventListenerList() { listeners = new ...
{ "content_hash": "c38da1c717a59c7bca13b476c68f7040", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 97, "avg_line_length": 23.096774193548388, "alnum_prop": 0.63268156424581, "repo_name": "thinwire/GridFastNavigation", "id": "a89350b1985a02f6c3439806684618e890294a53", "si...
'use strict'; var tripExchange = angular.module('tripExchange', ['ngRoute', 'ngResource', 'ngCookies', 'kendo.directives']). config(['$routeProvider', function($routeProvider) { $routeProvider .when('/home', { templateUrl: 'templates/home/home.html', controller: ...
{ "content_hash": "b0e1970fa81da1536f6f6c8ccc1d4fe9", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 110, "avg_line_length": 39.680851063829785, "alnum_prop": 0.5040214477211796, "repo_name": "AdrianApostolov/TelerikAcademy", "id": "90be6d681ad9097c22b0ffc2c390e8968f992c18",...
hljs.registerLanguage("haskell",function(){"use strict";return function(e){ var n={variants:[e.COMMENT("--","$"),e.COMMENT("{-","-}",{contains:["self"]})] },i={className:"meta",begin:"{-#",end:"#-}"},a={className:"meta",begin:"^#", end:"$"},s={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},l={ begin:"\\(",end:"\...
{ "content_hash": "0548b88fe4c1e9638ffc42ad7afd8445", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 241, "avg_line_length": 74.6086956521739, "alnum_prop": 0.6468531468531469, "repo_name": "cdnjs/cdnjs", "id": "4ed39ba4746e3652f6db225bc64666a2124d14ff", "size": "1716", ...
from django.core.management.base import BaseCommand, CommandError from stalku.core.management.commands._lectures import crawl_institutes, \ crawl_lectures_grad, crawl_lecture_grad from stalku.core.models import Lecture, LectureInstance, Institute class Command(BaseCommand): help = 'Crawls DAC website' de...
{ "content_hash": "68632e58de4585e9e1a0239376395150", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 96, "avg_line_length": 43.77777777777778, "alnum_prop": 0.5516074450084603, "repo_name": "henriquenogueira/stalku", "id": "46cfc128388cc7bff839d3e37ecf3d36614721cd", "size"...
from azure.cli.core.help_files import helps # pylint: disable=line-too-long, too-many-lines helps['storage entity insert'] = """ type: command short-summary: Insert an entity into a table. parameters: - name: --table-name -t type: string short-summary: The name of the table to ...
{ "content_hash": "189e18ed49587989933b5245d65e182f", "timestamp": "", "source": "github", "line_count": 584, "max_line_length": 172, "avg_line_length": 36.08390410958904, "alnum_prop": 0.6585678356190385, "repo_name": "QingChenmsft/azure-cli", "id": "7b560c4d4ad18c0a5cc51a8a504eb8797084b008", "size...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title> Class: Alfred::Log &mdash; D...
{ "content_hash": "d155cae0c1fb15d2fb83ee92f1124b58", "timestamp": "", "source": "github", "line_count": 1049, "max_line_length": 988, "avg_line_length": 32.80552907530982, "alnum_prop": 0.614477087147299, "repo_name": "shawnrice/alfred-bundler", "id": "9dcf87ee45a42dd3428cad6443bedad6fae6bf27", "si...
layout: post title: "Android Malware Datasets" category: [resource ] tags: [Android,Dataset] description: 安卓恶意软件数据集 header-img: "img/pages/template.jpg" --- ---- **新搭建了个人博客,文章全部转到[http://blog.datarepo.cn](http://blog.datarepo.cn)上更新。** > Android malware datasets. > ## 1. [Android Malware Genome ...
{ "content_hash": "60befe515cadc7e79e4e94b4be20cebf", "timestamp": "", "source": "github", "line_count": 121, "max_line_length": 772, "avg_line_length": 71.61157024793388, "alnum_prop": 0.7721869590305828, "repo_name": "traceflight/traceflight.github.io", "id": "02f61adec5170d051dec52e526c4e68b2623ab5...
package cucumber.runtime.javascript; import cucumber.runtime.snippets.SnippetGenerator; import gherkin.formatter.model.Comment; import gherkin.formatter.model.Step; import org.junit.Test; import java.util.Collections; import static org.junit.Assert.assertEquals; public class JavaScriptSnippetTest { @Test p...
{ "content_hash": "04c103adf5b54c1cff7bc61913db10d0", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 100, "avg_line_length": 35.42857142857143, "alnum_prop": 0.6512096774193549, "repo_name": "mbellani/cucumber-jvm", "id": "dc9e935f6c8b4a8e36f32f862e0f10ede36792ce", "size":...
#ifndef ZORBA_CSV_H #define ZORBA_CSV_H #include <zorba/internal/cxx_util.h> #include "zorbatypes/zstring.h" namespace zorba { /////////////////////////////////////////////////////////////////////////////// /** * Parses a CSV (Comma-Separated Values) stream. * See RFC 4180: "Common Format and MIME Type for Com...
{ "content_hash": "49d712e02c624fc6f6d5d642d893686a", "timestamp": "", "source": "github", "line_count": 140, "max_line_length": 79, "avg_line_length": 24.257142857142856, "alnum_prop": 0.5780329799764429, "repo_name": "bgarrels/zorba", "id": "50971bb8a621514445b4897bbb981c2edcbf2f20", "size": "4004...
/****************************************************************************** * * Module Name: exstoren - AML Interpreter object store support, * Store to Node (namespace object) * *****************************************************************************/ /****************************...
{ "content_hash": "07e812e371c77055ccd647e143e6078d", "timestamp": "", "source": "github", "line_count": 375, "max_line_length": 80, "avg_line_length": 38.672, "alnum_prop": 0.6361881119845538, "repo_name": "cmsd2/ChrisOS", "id": "82944c5a56e4675fb4ec3dbbe0abfe834448a5fc", "size": "14502", "binary...
'use strict'; let cli = require('heroku-cli-util'); let co = require('co'); let extend = require('util')._extend; function* run(context, heroku) { let appName = context.app; let request = heroku.delete(`/apps/${appName}/collaborators/${context.args.email}`); yield cli.action(`Removin...
{ "content_hash": "bdccf2c5b73789ed634282f730afcf02", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 128, "avg_line_length": 32.766666666666666, "alnum_prop": 0.6673448626653102, "repo_name": "Confkins/CloudComputing", "id": "05f2c7a186372bc81d1dda9e0abed82883e03139", "siz...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Runtime.InteropServices; namespace System.Data.SqlClient.SNI { /// <summary> /// Managed SNI proxy implementation. Contains many SNI entry points...
{ "content_hash": "ecd3e67c0ea5be0a703af163c14648b0", "timestamp": "", "source": "github", "line_count": 343, "max_line_length": 225, "avg_line_length": 36.49562682215743, "alnum_prop": 0.5627895830004793, "repo_name": "comdiv/corefx", "id": "1a44d22afb2ba7460d0871dfb3ac29afd4900900", "size": "12520...
package com.picas.util; import java.util.Collection; import java.util.regex.Matcher; import java.util.regex.Pattern; public class StringUtil extends org.springframework.util.StringUtils { // SQL防注入过滤字符,多个过滤字符用#分隔 public static final String FILTER_SQL_INJECT = "'#and#exec#insert#select#delete# #update#count#*#%#chr...
{ "content_hash": "8638eca5251c660d48f4304017126859", "timestamp": "", "source": "github", "line_count": 197, "max_line_length": 149, "avg_line_length": 24.258883248730964, "alnum_prop": 0.6229336681314083, "repo_name": "Rocky-Hu/picas", "id": "61a94b1dcc624d688098930059badf992bba33e4", "size": "517...