text
stringlengths
2
1.04M
meta
dict
.class public Landroid/net/wifi/WifiScanner$ParcelableScanData; .super Ljava/lang/Object; .source "WifiScanner.java" # interfaces .implements Landroid/os/Parcelable; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroid/net/wifi/WifiScanner; .end annotation .annotation system Ldal...
{ "content_hash": "143830804040288e175959ffbc985a2d", "timestamp": "", "source": "github", "line_count": 123, "max_line_length": 124, "avg_line_length": 25.40650406504065, "alnum_prop": 0.72096, "repo_name": "BatMan-Rom/ModdedFiles", "id": "bf02aa9139acb36170e9dacd45abf9799ca3cef4", "size": "3125", ...
@implementation UIView (myExtension) -(void)setSize:(CGSize)size { CGRect frame = self.frame; frame.size = size; self.frame = frame; } -(CGSize)size { return self.frame.size; } -(void)setX:(CGFloat)X { CGRect frame = self.frame; frame.origin.x = X; self.frame = frame; } -(CGFloat)X { ...
{ "content_hash": "3455d5580eb8661842f1c0c7218bac71", "timestamp": "", "source": "github", "line_count": 132, "max_line_length": 89, "avg_line_length": 13.803030303030303, "alnum_prop": 0.6531284302963776, "repo_name": "lizihe/creatGitHub", "id": "1d4faa6c6fce2ade91df85e36085c13752d13b1b", "size": "...
class User{ private name: string; constructor(fullname:string) { this.name = fullname; } Hi(msg: string): string { return msg + " " + this.name; } } var user = new User("kataras"); var hi = user.Hi("Hello"); window.alert(hi);
{ "content_hash": "6f78ab849555caa5f214e495940dcd73", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 33, "avg_line_length": 15.75, "alnum_prop": 0.5992063492063492, "repo_name": "iris-framework/iris", "id": "cc750583a20e25927dd98e06a3df8ace7aa03be5", "size": "252", "bina...
package tpl.nutz.web; import java.io.IOException; import java.util.Map; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public interface HtmlRunnable { public abstract String run(String path, Map<String, Object> context, HttpServ...
{ "content_hash": "7ecc5edc1cb72be2a14bcef6298324fb", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 69, "avg_line_length": 29.357142857142858, "alnum_prop": 0.8248175182481752, "repo_name": "weiht/nutz-tpl", "id": "0b1dfb2a4953a097065c190cfac64532e0338b4c", "size": "411",...
import os import sys sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))) import unittest from systemverilog2verilog.src.sv2v import * import filecmp class TestSequenceFunctions(unittest.TestCase): def setUp(self): pass def test_normal(self): mod...
{ "content_hash": "1b74f7997b136b37b11a11050f0e7d65", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 107, "avg_line_length": 38.375, "alnum_prop": 0.5846905537459284, "repo_name": "fukatani/systemverilog2verilog", "id": "e30522212ee80967cbfe17e92021b3219f12c053", "size": "...
package com.amd.aparapi.sample.mandel; import java.awt.Color; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Point; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import java.awt.image.Buf...
{ "content_hash": "62fb1ba681f8f4e35c5a24ff6cb8c40d", "timestamp": "", "source": "github", "line_count": 243, "max_line_length": 132, "avg_line_length": 35.90534979423868, "alnum_prop": 0.5798280802292264, "repo_name": "sadikovi/spark-gpu", "id": "fc03bc10f421b5ad6eaeae39cce225b9bb684206", "size": "...
/* $Id: rsa-sanity.cpp $ */ /** @file * IPRT - Crypto - RSA, Sanity Checkers. */ /* * Copyright (C) 2006-2015 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it and/or modify it un...
{ "content_hash": "9cb5791637669f3d1bd7ee6316c10731", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 80, "avg_line_length": 35.51162790697674, "alnum_prop": 0.6162409954158481, "repo_name": "egraba/vbox_openbsd", "id": "2c099cebb09b0a10b26514a1a0998a97cb2aab6a", "size": "1...
**[Map2gpx](../README.md)** > [Globals](../README.md) / ["Map2gpx"](../modules/_map2gpx_.md) / [Controls](../modules/_map2gpx_.controls.md) / ZoomOptions # Interface: ZoomOptions ## Hierarchy * any ↳ **ZoomOptions** ## Index ### Properties * [zoomInTitle](_map2gpx_.controls.zoomoptions.md#zoomintitle) * [zoom...
{ "content_hash": "a25e4134c2b9ac9b5b5f7341d073cd24", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 125, "avg_line_length": 17, "alnum_prop": 0.6666666666666666, "repo_name": "tmuguet/map2gpx", "id": "7e3a8b3cf9acdb3071266510e9848f17cf9807f7", "size": "516", "binary": f...
<?php namespace BL\SGIBundle\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration...
{ "content_hash": "c4fb165efeb3dac1618f51fccb30d5f8", "timestamp": "", "source": "github", "line_count": 601, "max_line_length": 170, "avg_line_length": 36.96672212978369, "alnum_prop": 0.4894450195796012, "repo_name": "mwveliz/bl", "id": "63f0a59c0a6ca04ea9eb8ca712decee5fde8f656", "size": "22223", ...
int main(int argc, char * argv[]) { @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([CHBAppDelegate class])); } }
{ "content_hash": "6a6dcbcff39fd24f9e9bbfea629d8a1f", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 93, "avg_line_length": 26.833333333333332, "alnum_prop": 0.6645962732919255, "repo_name": "followben/uicollectionview-awesome", "id": "b2f5db5e037ba0054ee70e16cdf6be1288390dc8...
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>DebugHand &mdash; Leap Motion Objective-C SDK v2.3 documentation</title> <link rel="stylesheet" href="../../cpp/_static/bootstrap-3....
{ "content_hash": "a5f5dc3f243165f4aecd4d2ce63f6e01", "timestamp": "", "source": "github", "line_count": 368, "max_line_length": 243, "avg_line_length": 37.442934782608695, "alnum_prop": 0.5967051309964438, "repo_name": "joelbandi/Be-ethoven", "id": "678e461d9f7976ca2f19a1f7657a355737e4f2f6", "size"...
from unittest import TestCase from yaml_rulz.validator import YAMLValidator SCHEMA_CONTENT = r""" --- root: key_a: "~ exactly this" key_b: "@ num | > 15" key_c: "> root:key_b" """ RESOURCE_WITH_ISSUES = r""" --- root: key_a: exactly that key_b: 6 key_c: 2 """ RESOURCE_ALL_OK = r""" --- root: key_a: e...
{ "content_hash": "b022ca71a18e3ea8c2f70d9ba8debf06", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 101, "avg_line_length": 23.75, "alnum_prop": 0.6042105263157894, "repo_name": "milonoir/yaml_rulz", "id": "ce5e2ae2f257acc53af8a43825124401166fd4ec", "size": "1900", "bin...
<?php namespace Sbts\Bundle\UserBundle\Form\Type; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; class UserProfileType extends AbstractType { /** * @param FormBuilderInterface $builder * @param array $options */ public function buildFor...
{ "content_hash": "403d1dcd2b4b2be6fe6b3a2915a11efb", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 83, "avg_line_length": 31.15909090909091, "alnum_prop": 0.5171407731582787, "repo_name": "teslitsky/sbts", "id": "04ee4f58bd1822925d82b54b095056fb4dc30c9f", "size": "1371",...
Some random projects to play with... For Mac user, please build and install https://github.com/conormcd/osx-keychain-java to local Maven repo git clone git@github.com:conormcd/osx-keychain-java.git ant jar mvn install:install-file -Dfile=dist/osxkeychain.jar -DgroupId=com.mcdermottroe.apple -DartifactId=osxkeychain -...
{ "content_hash": "e70eabaa70fcec45541339ef11e529ae", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 140, "avg_line_length": 28.11111111111111, "alnum_prop": 0.7885375494071146, "repo_name": "rmcv/play", "id": "f8d32076606edab65e754b58ef9418e0d378127f", "size": "522", "b...
GhettoPrefs =========== A truly ghetto almost-drop-in replacement for Unity3D's PlayerPrefs class. Use at your own peril.
{ "content_hash": "79a296e0d8b5ed8c7ecd3becaa374678", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 74, "avg_line_length": 20.666666666666668, "alnum_prop": 0.7258064516129032, "repo_name": "aayars/GhettoPrefs", "id": "2a28968a158e8e8c6abb0d0ea517ad479b12d65f", "size": "12...
<?php namespace common\models; use Yii; /** * This is the model class for table "comment". * * @property integer $id * @property string $content * @property integer $status * @property integer $create_time * @property integer $userid * @property string $email * @property string $url * @property integer $po...
{ "content_hash": "fb571091083f8e7d8ef48209d76d09bf", "timestamp": "", "source": "github", "line_count": 138, "max_line_length": 143, "avg_line_length": 23.115942028985508, "alnum_prop": 0.5040752351097179, "repo_name": "zhouyunjin1234/yii2", "id": "1c286ad0a0f513828d0ededca8cfdf07268ff1d1", "size":...
<!-- Copyright (c) 1999, 2007, Oracle and/or its affiliates. All rights reserved. DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. This code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 only, as published by the Free Software Founda...
{ "content_hash": "fd85764e667bfc9a7cf228da7e5ca218", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 79, "avg_line_length": 37.88461538461539, "alnum_prop": 0.7573604060913706, "repo_name": "groschovskiy/j2objc", "id": "b8fd80724dea3bddeb98356becc97fed69fd8ee6", "size": "2...
A_OK_HTTP_CODES = [ 200, 207 ] A_ERROR_HTTP_CODES = { 400: "Request was invalid", 401: "Invalid API key", 403: "Bad OAuth scope", 404: "Selector did not match any lights", 422: "Missing or malformed parameters", 426: "HTTP is required to perform transaction", # see http://api.develo...
{ "content_hash": "2523b257e22405da4e754fdbdec4d86d", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 59, "avg_line_length": 28.31578947368421, "alnum_prop": 0.6505576208178439, "repo_name": "cydrobolt/pifx", "id": "b214d604963e9576b755e4b200d9e821e8431152", "size": "1163",...
<div class="page-header"> <h1>{{ page.title }} {% if page.tagline %}<small>{{page.tagline}}</small>{% endif %}</h1> </div> <div class="row post-full"> <div class="col-xs-12"> <div class="date"> <span>{{ page.date | date_to_long_string }}</span> </div> <div class="content"> {{ content }} ...
{ "content_hash": "240fe830eb4db4c9330c2722bcdb5040", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 131, "avg_line_length": 30.551020408163264, "alnum_prop": 0.5357381429525718, "repo_name": "obromios/obromios.github.com", "id": "dbfad051c3ae62884744df099b5f179dfe79c7ec", ...
<?xml version="1.0" encoding="UTF-8"?> <sem:triples uri="http://www.lds.org/vrl/people/specific-people/people-from-scriptures/old-testament/hosea" xmlns:sem="http://marklogic.com/semantics"> <sem:triple> <sem:subject>http://www.lds.org/vrl/people/specific-people/people-from-scriptures/old-testament/hosea</sem:sub...
{ "content_hash": "d49f033b5cbcbf456ac612c456da9dbd", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 151, "avg_line_length": 62.44444444444444, "alnum_prop": 0.7277580071174378, "repo_name": "freshie/ml-taxonomies", "id": "645707feb157093ed3a45e4107c4ab7b60c850d8", "size":...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dialogflow/cx/v3/changelog.proto package com.google.cloud.dialogflow.cx.v3; public interface ListChangelogsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3.ListChangelogsRe...
{ "content_hash": "3a6cdaafe9addc8817ffa64b90cfc0ff", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 103, "avg_line_length": 29.08, "alnum_prop": 0.6678129298486932, "repo_name": "googleapis/java-dialogflow-cx", "id": "d4ea06a6e9212cf57de4124ba9b93079ed8ca072", "size": "3...
use inkwell::context::Context; use inkwell::values::InstructionOpcode; #[test] fn test_basic_block_ordering() { let context = Context::create(); let module = context.create_module("test"); let builder = context.create_builder(); assert!(builder.get_insert_block().is_none()); let i128_type = conte...
{ "content_hash": "ea711bf7dde5f5f845a8f1a8f744b87c", "timestamp": "", "source": "github", "line_count": 221, "max_line_length": 86, "avg_line_length": 35.04977375565611, "alnum_prop": 0.6488510198812291, "repo_name": "TheDan64/inkwell", "id": "9d906be9c96a5bbcab45031b4e84bbcb940bacc7", "size": "774...
<!DOCTYPE html> <html> <head> <title>BootstrapValidator demo</title> <link rel="stylesheet" href="../vendor/bootstrap/css/bootstrap.css"/> <link rel="stylesheet" href="../dist/css/bootstrapValidator.css"/> <script type="text/javascript" src="../vendor/jquery/jquery-1.10.2.min.js"></script> <script...
{ "content_hash": "a87263cc85122324e46214985ba4f801", "timestamp": "", "source": "github", "line_count": 128, "max_line_length": 121, "avg_line_length": 45.2578125, "alnum_prop": 0.3550837217331262, "repo_name": "BUKMAR/Mart24", "id": "27d10aecc31f9bb21282bb6536e4b0e8ccd4ef3c", "size": "5793", "bi...
package me.tikitoo.androiddemo.utils; public class FileUtils { }
{ "content_hash": "1df2ee3e7ebdb9a2e007418ab596b71c", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 37, "avg_line_length": 16.5, "alnum_prop": 0.7878787878787878, "repo_name": "Tikitoo/androidsamples", "id": "4424e6b2dce4de6c5ca83bfc0dd054ecc784eb3e", "size": "66", "bina...
package jast import ( "go/ast" "go/types" ) // New creates a new jast cache. func New(imports map[string]string, uses map[*ast.Ident]types.Object) *Cache { if (imports == nil && uses == nil) || (imports != nil && uses != nil) { panic("must specify either imports or uses but not both") } return &Cache{ import...
{ "content_hash": "48566fdfa2a4788211eeb10d07e13b4d", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 78, "avg_line_length": 20.045454545454547, "alnum_prop": 0.655328798185941, "repo_name": "frizz/frizz", "id": "6e8f726a76f7d18ab822f76147da09a84ac62913", "size": "577", "...
@interface NaturvielfaltAppDelegate : NSObject <UIApplicationDelegate, UITabBarControllerDelegate> { UIWindow *window; UITabBarController *tabBarController; } @property (nonatomic) IBOutlet UIWindow *window; @property (nonatomic) IBOutlet UITabBarController *tabBarController; @end
{ "content_hash": "615e59f4baa270efec7c9ef22b9480e6", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 100, "avg_line_length": 32.44444444444444, "alnum_prop": 0.8116438356164384, "repo_name": "naturwerk/naturvielfalt_iphone", "id": "1f2e66a60a90bccbc5d21393580394004cf404d4", ...
#ifndef __itkHoughTransform2DCirclesImageFilter_h #define __itkHoughTransform2DCirclesImageFilter_h #include "itkImageToImageFilter.h" #include "itkEllipseSpatialObject.h" namespace itk { /** * \class HoughTransform2DCirclesImageFilter * \brief Performs the Hough Transform to find circles in a 2D imag...
{ "content_hash": "c263bfb8f757fd27a3bbce7cb22f7415", "timestamp": "", "source": "github", "line_count": 198, "max_line_length": 98, "avg_line_length": 34.535353535353536, "alnum_prop": 0.7209710441649605, "repo_name": "3324fr/spinalcordtoolbox", "id": "6e5e390c883cb9e46eb1c754a11f92ad58ec1eca", "si...
MICROSERVICES = { # Map specific device types to a list of microservices "DEVICE_MICROSERVICES": { # Gateways 10031: [ {"module": "intelligence.daylight.device_daylight_microservice", "class": "DaylightMicroservice"}, ], # Gateways 31: [ {"mod...
{ "content_hash": "6447fcc9002bae3863df4229b99eb060", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 110, "avg_line_length": 29.952380952380953, "alnum_prop": 0.5739268680445151, "repo_name": "peoplepower/composer-sdk-python", "id": "81ce01987b54b1a936e8fb9e0ad9b7bf3ac0e7de"...
/* * 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 u...
{ "content_hash": "e1920069d175bdfbc82eb8e8746b7d04", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 75, "avg_line_length": 31.23076923076923, "alnum_prop": 0.7376847290640394, "repo_name": "benhardy/lilrest", "id": "b255381c3daa9acc94de49fdcd6ff0af505d9e3f", "size": "812"...
SimpleWebDocumentViewer ======================= Simple web document viewer that is used to easily show a document(pdf,swf,doc etc) on a web page. This is a simple control built using C# and .NET. Features ----------------------- 1. The document viewer is built using WebControl and C#. 2. The document viewer has a F...
{ "content_hash": "852a5b33ca17ea82aebb17fa947992e4", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 147, "avg_line_length": 36.90909090909091, "alnum_prop": 0.6921182266009852, "repo_name": "ambremandar/SimpleWebDocumentViewer", "id": "b8a0a557f023100b44a5301ee61ac9f9c37b9c...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "9aca548bea9f4530c5e9a3f8e559657c", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "e19c343dc1e2d63073d855158e4a140cc0ce3bc3", "size": "19...
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'vendor/state_pattern/lib')) require 'state_pattern'
{ "content_hash": "8ed1b35f4dfdd59dd5327642dd024237", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 81, "avg_line_length": 35.666666666666664, "alnum_prop": 0.7289719626168224, "repo_name": "dcadenas/active_record_state_pattern", "id": "61919186fd0b7d576f87eea0d2311c9a85700c...
<?php declare(strict_types=1); namespace StructType; use InvalidArgumentException; use WsdlToPhp\PackageBase\AbstractStructBase; /** * This class stands for ClientAccessTokenType StructType * @package Ews * @subpackage Structs * @author WsdlToPhp <contact@wsdltophp.com> */ class EwsClientAccessTokenType extend...
{ "content_hash": "036227d1d9a048ab1ca57201e474843f", "timestamp": "", "source": "github", "line_count": 152, "max_line_length": 328, "avg_line_length": 29.625, "alnum_prop": 0.5969353764157228, "repo_name": "WsdlToPhp/PackageEws365", "id": "ddc599c605b6d8f0b6c2c01f45546f07fe4007f2", "size": "4503",...
/*global history*/ jQuery.sap.require("StationTimetable/util/Configuration"); jQuery.sap.require("sap.m.MessageBox"); sap.ui.define([ 'StationTimetable/view/BaseController' ], function( BaseController) { "use strict"; return BaseController.extend("StationTimetable.view.admin.ModifyTrainM", { onInit : function...
{ "content_hash": "bcf7e82b80bb63583ad7b253b30c487b", "timestamp": "", "source": "github", "line_count": 210, "max_line_length": 183, "avg_line_length": 34.333333333333336, "alnum_prop": 0.6765603328710125, "repo_name": "awolfish/timetableservices", "id": "18e2ee04a10b1c7ae3115d4a61ac6fa5c0bc0cd6", ...
package org.apache.sqoop.json; import org.apache.sqoop.classification.InterfaceAudience; import org.apache.sqoop.classification.InterfaceStability; import org.json.simple.JSONObject; @InterfaceAudience.Private @InterfaceStability.Unstable public interface JsonBean { // common JSON constants for the rest-api respo...
{ "content_hash": "d3e0b34eae66f2456a595c7cf1f6bc85", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 60, "avg_line_length": 29.30952380952381, "alnum_prop": 0.7416734362307067, "repo_name": "vybs/sqoop-on-spark", "id": "1dd275e80df25b3521bb20dd31e4e2221db50ff8", "size": "2...
package example.service; import example.repo.Customer577Repository; import org.springframework.stereotype.Service; @Service public class Customer577Service { public Customer577Service(Customer577Repository repo) {} }
{ "content_hash": "64603f6478d9d6e18f3c68a6ba62fab8", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 57, "avg_line_length": 22.1, "alnum_prop": 0.8371040723981901, "repo_name": "spring-projects/spring-data-examples", "id": "3b50566cbfabf5ae117ecf827cc7b28b27856e2f", "size"...
{% extends "lifestream_base.html" %} {% load hyperbola_lifestream_tags %} {% block title %} {{ block.super }} {% if posts.number != 1 %} :: page {{ posts.number|escape }} {% endif %} {% endblock title %} {% block lifestream_content %} {% for post in posts %} <div class="card mb-3 rounded"> {% if post.lifestreampict...
{ "content_hash": "470af2a62bcc2af080d85e3fdf2242ff", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 316, "avg_line_length": 42.111111111111114, "alnum_prop": 0.6286279683377308, "repo_name": "lopopolo/hyperbola", "id": "75c49f4a342bb7b665b740a0ec14e02a71a0a3c7", "size": "...
class UploadsController < ApplicationController http_basic_authenticate_with name: 'user', password: 'password' def create head 201 end end
{ "content_hash": "34ab2bbd4b22d724384173025f9c384a", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 65, "avg_line_length": 21.571428571428573, "alnum_prop": 0.7549668874172185, "repo_name": "zipmark/rspec_api_documentation", "id": "8855a415a114b5d90448769422253bcb7879ca20", ...
from unittest import expectedFailure from .. utils import TranspileTestCase, BuiltinFunctionTestCase class TypeTests(TranspileTestCase): @expectedFailure def test_dynamic_class_definitions_leak_state(self): self.assertCodeExecution(""" my_class_obj = type("MyClass", (object,), {}) ...
{ "content_hash": "2107172af3046aca1acaca828d718c27", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 75, "avg_line_length": 26.366666666666667, "alnum_prop": 0.5967130214917825, "repo_name": "freakboy3742/voc", "id": "1803e4cb44ac9c5b6f2b77887ff43c94f793d20f", "size": "791...
import { connect } from 'react-redux'; import { selectRecentHistory } from 'redux/selectors/content'; import RecentUserHistory from './view'; const select = (state, props) => ({ history: selectRecentHistory(state), }); export default connect( select, null )(RecentUserHistory);
{ "content_hash": "438408ccf4e20cab37eb10455609bb0d", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 62, "avg_line_length": 23.833333333333332, "alnum_prop": 0.7237762237762237, "repo_name": "lbryio/lbry-app", "id": "5d43822f6bd9f6ef665853f579fb35b504238485", "size": "286"...
namespace { using converter::Metadata; converter::ETWConsumer consumer; converter::CTFProducer producer; void WINAPI ProcessEvent(PEVENT_RECORD pevent) { assert(pevent != NULL); consumer.ProcessEvent(pevent); while (consumer.IsFullPacketReady()) { // Write the full packet into the current stream. M...
{ "content_hash": "454604072a84c43f36761fdf45d16bb8", "timestamp": "", "source": "github", "line_count": 250, "max_line_length": 79, "avg_line_length": 25.656, "alnum_prop": 0.5991580916744621, "repo_name": "fwininger/ETW2CTF", "id": "4d660dc31b51a7e5d0aa7404f9e94a8e1516fe75", "size": "9012", "bin...
/* * 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": "500fb57ae599e1b1d2037efd2d739009", "timestamp": "", "source": "github", "line_count": 673, "max_line_length": 143, "avg_line_length": 43.10698365527489, "alnum_prop": 0.5790906897383751, "repo_name": "ptkool/presto", "id": "08d8ac1bb2e25334c609695538a57ecb74aadde3", "size": "29011...
<?php return [ /* |-------------------------------------------------------------------------- | Default Authentication Driver |-------------------------------------------------------------------------- | | This option controls the authentication driver that will be utilized. | This driver ...
{ "content_hash": "fc843c42bb18abd985c0a0837d8dbb52", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 79, "avg_line_length": 33.92537313432836, "alnum_prop": 0.45974483062032556, "repo_name": "neyko5/mtgslo", "id": "873027554512731176bae4fb865ecb888051f26c", "size": "2273",...
#include <errno.h> #include <stddef.h> #include <unistd.h> #include <sys/types.h> #include <limits.h> /* If SIZE is zero, return the number of supplementary groups the calling process is in. Otherwise, fill in the group IDs of its supplementary groups in LIST and return the number written. */ int __getgroup...
{ "content_hash": "20de2cb0ac250a041f7195cf45e36035", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 73, "avg_line_length": 20.8125, "alnum_prop": 0.6741741741741741, "repo_name": "andrewjylee/omniplay", "id": "d5868cc1b8806aa30a03539253a87646b6cc82c5", "size": "1540", "...
// Load theme according to localStorage if(localStorage.getItem("theme") == "dark"){ $("#switchTheme").html("White theme"); $("#switchTheme").val("white"); loadTheme("dark"); }else{ $("#switchTheme").val("dark"); loadTheme("white"); } $(function(){ $("#switchTheme").on("click", function(){ if($(this).va...
{ "content_hash": "f6781bc1f130253c7fde06b5dfdff94a", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 44, "avg_line_length": 20.027027027027028, "alnum_prop": 0.5978407557354926, "repo_name": "sbthegreat/turskain.github.io", "id": "b2b368e7007a756366e9afd1d8c7f9edbdcbcc7d", ...
{% extends "_layouts/dashboard.html" %} {% set active_page = "projects" %} {% import "_helpers/_card.html" as card_helpers %} {% import "_helpers/_general.html" as general_helpers %} {% block content %} {{ general_helpers.render_title(project.name, 'Delete Tasks') }} <div class="card"> {{ card_helpers.render_title...
{ "content_hash": "3b195e95b5769fd0488cb9ec5eaa9e38", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 167, "avg_line_length": 49.95652173913044, "alnum_prop": 0.608355091383812, "repo_name": "LibCrowds/libcrowds-bs4-pybossa-theme", "id": "65e7c7382408db2c942720a455681bd8c8a3a...
package com.indeed.imhotep.service; import com.google.common.base.Throwables; import com.indeed.util.core.io.Closeables2; import org.apache.log4j.Logger; import java.io.File; import java.io.IOException; import java.io.RandomAccessFile; import java.nio.channels.FileChannel; import java.nio.channels.FileLockInterrupt...
{ "content_hash": "24c43221035e9c926758f3c5d8837269", "timestamp": "", "source": "github", "line_count": 104, "max_line_length": 128, "avg_line_length": 35.01923076923077, "alnum_prop": 0.5752333882482152, "repo_name": "indeedeng/imhotep", "id": "2d7241fbd23006ca85e514881ebc6efa616dfd5d", "size": "4...
package com.hribol.bromium.common.replay.actions; import com.hribol.bromium.common.replay.InstanceBasedAutomationResultBuilder; import com.hribol.bromium.common.synchronization.JSPrecondition; import com.hribol.bromium.core.config.SearchContextFunction; import com.hribol.bromium.core.synchronization.EventSynchronizer;...
{ "content_hash": "5b1cd5098c22108b5d8d9f2b0f118d24", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 173, "avg_line_length": 45.75806451612903, "alnum_prop": 0.788861473387381, "repo_name": "hristo-vrigazov/bromium", "id": "bc399e1f0c6547ffd7ceb83c41dd3aaa02668330", "size"...
require 'active_support/core_ext' require 'aws/s3' require 'data_mapper' require 'net/http' require 'json' class APINotOkError < StandardError end class Character class << self def bucket bucket_name = ENV["AWS_S3_BUCKET"] bucket_name += "-development" if ENV["RACK_ENV"] == "development" @@bu...
{ "content_hash": "80a889a221036bff3f71ad12598cfec0", "timestamp": "", "source": "github", "line_count": 105, "max_line_length": 102, "avg_line_length": 22.39047619047619, "alnum_prop": 0.6214376860910251, "repo_name": "jbhannah/bestsigs-wow-cacher", "id": "321686e77a92001ede248902f5006f222219f299", ...
kloudbook ========= KB Source to move to Heroku
{ "content_hash": "308bf189ec49a7f1cd3ce9d8d2c10f5b", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 27, "avg_line_length": 12.25, "alnum_prop": 0.6326530612244898, "repo_name": "dburgess560/kloudbook", "id": "d28c408e4398cca1f6be3d3bbe49e16edbd8f166", "size": "49", "bina...
require "rails_helper" describe Course::Compiler do let(:course) { Course.create(:name => "nodejs") } let(:compiler) { course.compiler } describe "#list_of_pages" do it "list directories that has an index document" do expect(compiler.list_of_pages.sort).to eql( ["api-driven-develo...
{ "content_hash": "736229378c60276c086ce9c4bc08e7d2", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 73, "avg_line_length": 24.633333333333333, "alnum_prop": 0.5703653585926928, "repo_name": "hayeah/sike", "id": "f00d6c54a467e0d7d42eeb95116726abaa233723", "size": "1479", ...
**NOTE**: Check out [**Project Details**](Project-Details) before running it locally! To add changes and improvements or resolve issues, these are the usual steps: 1. Fork the project on Github then clone it to your machine: ```bash git clone https://github.com/<your-username>/AlgorithmVisualizer # clone your ...
{ "content_hash": "ad137c6f199e8d53139c3d7f276ab28b", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 204, "avg_line_length": 43.58, "alnum_prop": 0.6998623221661312, "repo_name": "nem035/AlgorithmVisualizer", "id": "5510e41c4c232ae1b2f044e327b1e50355ac832b", "size": "2179"...
FROM node:8 WORKDIR /usr/src/app COPY package*.json ./ RUN yarn install COPY . . EXPOSE 3000 CMD [ "yarn", "start" ]
{ "content_hash": "a880866802215264cc26f1e27e8d451f", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 23, "avg_line_length": 16.714285714285715, "alnum_prop": 0.6837606837606838, "repo_name": "JasonSteck/JS-Nexus", "id": "247cdc55dc558f7f550e72d6adc7b33d88121c74", "size": "1...
<!-- Copyright (c) 2015 Intel Corporation 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 a...
{ "content_hash": "b6499ae401ed3f9aab82c1bc591f321d", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 133, "avg_line_length": 40.457142857142856, "alnum_prop": 0.6440677966101694, "repo_name": "trustedanalytics/dataset-reader-sample", "id": "aae298e1d7aaebf061739e0a4e1d41d82c...
SYNONYM #### According to Index Fungorum #### Published in null #### Original name Erioderma physcioides Vain. ### Remarks null
{ "content_hash": "59363599af5d20f7402a18a3e1ca2390", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 27, "avg_line_length": 10.076923076923077, "alnum_prop": 0.7099236641221374, "repo_name": "mdoering/backbone", "id": "8ded5b8ea4c3149b0c8a27569cb426e040f97109", "size": "19...
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 2.0.8 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
{ "content_hash": "29a99d4350cf6df4e017511d027d3c3a", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 83, "avg_line_length": 29.0625, "alnum_prop": 0.44731182795698926, "repo_name": "CoolProp/CoolProp-museum", "id": "f960a60749f94b600378743daf2692371e2a89a1", "size": "465",...
class AddRatingsCountToEpisodes < ActiveRecord::Migration[5.1] def change add_column :episodes, :ratings_count, :integer, null: false, default: 0 add_index :episodes, :ratings_count add_column :episodes, :satisfaction_rate, :float add_index :episodes, :satisfaction_rate add_index :episodes, %i(sa...
{ "content_hash": "1fd00eabc26340638ab11d56d7e1c8b4", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 75, "avg_line_length": 36.1, "alnum_prop": 0.7313019390581718, "repo_name": "elzzup/annict", "id": "c8a8d9376337515fe932a074e3c01f3c60243005", "size": "392", "binary": fa...
package cmd import ( "fmt" "github.com/spf13/cobra" ) // helpCmd represents the help command var helpCmd = &cobra.Command{ Use: "help [command]", Short: "Help about any command", Long: `Help provides help for any command in the application. Simply type ` + RootCmd.Name() + ` help [path to command] for full det...
{ "content_hash": "b03d8872d46ad85f8c2aca7449ea2fd9", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 77, "avg_line_length": 22.09090909090909, "alnum_prop": 0.676954732510288, "repo_name": "davidewatson/careen", "id": "a4fa3bbd068e62cffa8d28b6bebec5884fc0bfe8", "size": "10...
{-# LANGUAGE Rank2Types #-} -- from base import Control.Applicative ((<$>)) import Control.Monad.ST (runST) import Data.Word (Word8) -- from bytestring import qualified Data.ByteString as B import qualified Data.ByteString.Lazy as L -- from crypto-api import Crypto.Classes ((.::.)) import qualified Crypto.Classes as...
{ "content_hash": "b295dde2cf654a1295e2184aab14222e", "timestamp": "", "source": "github", "line_count": 203, "max_line_length": 91, "avg_line_length": 35.21182266009852, "alnum_prop": 0.6509513150531617, "repo_name": "prowdsponsor/crypto-conduit", "id": "311a078be8d9238ec56a7d761d96aeff83920671", "...
package org.springframework.social.salesforce.client; import org.springframework.social.salesforce.api.Salesforce; import java.util.HashMap; import java.util.Map; /** * Simple caching wrapper for SalesforceFactory. * * @author Umut Utkan */ public class SimpleCachingSalesforceFactory implements SalesforceFactory...
{ "content_hash": "929dcb134b17641e0d098824f722ce2b", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 98, "avg_line_length": 26.97222222222222, "alnum_prop": 0.6951596292481977, "repo_name": "silanis/spring-social-salesforce", "id": "4c7db9ae21fc345ef0376eba01acd3f695a9d7d0",...
<?xml version="1.0" ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <!-- saved from url=(0017)http://localhost/ --> <script language="JavaScript" src="../../displayToc.js"></script> <script language="JavaScript" src="../../tocParas.js"></script> <script language="JavaScript" src="../../t...
{ "content_hash": "302b36254709831c58d57ef6e9e765ad", "timestamp": "", "source": "github", "line_count": 290, "max_line_length": 283, "avg_line_length": 46.1, "alnum_prop": 0.7281771261874486, "repo_name": "amidoimidazol/bio_info", "id": "b0d39084eafece7895b4e14664046cd67157ddda", "size": "13369", ...
ACCEPTED #### According to NUB Generator [autonym] #### Published in null #### Original name null ### Remarks null
{ "content_hash": "16507b294b040713e9637dfb93e5d56e", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 23, "avg_line_length": 9.076923076923077, "alnum_prop": 0.6779661016949152, "repo_name": "mdoering/backbone", "id": "abeffc3787bf760e7e35444c73af1d5edc02c9e1", "size": "181...
package com.opensoc.topology; import org.apache.commons.configuration.ConfigurationException; import backtype.storm.generated.InvalidTopologyException; import com.opensoc.topology.runner.LancopeRunner; import com.opensoc.topology.runner.TopologyRunner; /** * Topology for processing Lancope messages * */ public...
{ "content_hash": "933e03dc86a58cb306dab11fc97e204c", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 108, "avg_line_length": 22.666666666666668, "alnum_prop": 0.7922794117647058, "repo_name": "OpenSOC/opensoc-streaming", "id": "c3ecc54beb6ecce6d39d5109a6f3181175dba512", "s...
package org.axonframework.springboot; import org.axonframework.config.ProcessingGroup; import org.axonframework.eventhandling.EventHandler; import org.axonframework.messaging.annotation.HandlerEnhancerDefinition; import org.axonframework.messaging.annotation.MessageHandlingMember; import org.junit.jupiter.api.Before...
{ "content_hash": "8a9da15ff786292cc5182e68b205d151", "timestamp": "", "source": "github", "line_count": 110, "max_line_length": 102, "avg_line_length": 34.74545454545454, "alnum_prop": 0.7210884353741497, "repo_name": "AxonFramework/AxonFramework", "id": "8d57e80c49b451b7017c29c46278e6b6965a9f87", ...
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2012 EMC Corp. // // @filename: // CLogicalSequence.cpp // // @doc: // Implementation of logical sequence operator //--------------------------------------------------------------------------- #includ...
{ "content_hash": "5612aab18ce924f08291ece0c7a5a674", "timestamp": "", "source": "github", "line_count": 140, "max_line_length": 77, "avg_line_length": 25.542857142857144, "alnum_prop": 0.45805369127516776, "repo_name": "greenplum-db/gporca", "id": "e45318466f60e4a9facd0f327e413d78aed4d4e3", "size":...
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2014 The Android Open Source Project 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/license...
{ "content_hash": "86f938b5f2a2784842229e6884fd44df", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 393, "avg_line_length": 54.666666666666664, "alnum_prop": 0.6864837398373984, "repo_name": "zacck/AndroidUberCloneDemo", "id": "061aec9b70dc0f5df2ff82b6642383f2b12fc280", "...
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,...
{ "content_hash": "8bd98496214ef56f745d61dc42a48625", "timestamp": "", "source": "github", "line_count": 127, "max_line_length": 762, "avg_line_length": 24.62992125984252, "alnum_prop": 0.7164322250639387, "repo_name": "craigstroman/better-symblog", "id": "76a6277c708cdea78f2642edb01c57241a52c01d", ...
# bash/zsh completion support for core Git. # # Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org> # Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/). # Distributed under the GNU General Public License, version 2.0. # # The contained completion routines provide support for completing: # # ...
{ "content_hash": "42e5caaf1aaba8436c2ba180f6cfa1c7", "timestamp": "", "source": "github", "line_count": 3317, "max_line_length": 89, "avg_line_length": 21.37835393427796, "alnum_prop": 0.6060610333935018, "repo_name": "1dose/devTools", "id": "0564060109fadf7b4f14e7c38fc76d5cff718e72", "size": "7091...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/devtools/clouddebugger/v2/data.proto namespace Google\Cloud\Debugger\V2; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Represents the breakpoint specifica...
{ "content_hash": "a0f5ec12b655aff7b8c5d9991ee580ea", "timestamp": "", "source": "github", "line_count": 781, "max_line_length": 138, "avg_line_length": 38.070422535211264, "alnum_prop": 0.6447381697104227, "repo_name": "googleapis/google-cloud-php-debugger", "id": "c87ef42765d4e31828036e07ed2f40d112c...
import { mount, createLocalVue } from '@vue/test-utils' import Cryflow from '../Cryflow.vue' const localVue = createLocalVue() describe('Cryflow', () => { function generateCryflow(options) { const el = { components: { Cryflow }, template: ` <cryflow :phrases="phrases" /> ...
{ "content_hash": "dd5b8217d896182ac6c2efd5b7551d7c", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 55, "avg_line_length": 19.452380952380953, "alnum_prop": 0.5263157894736842, "repo_name": "mugetsu/cryflow", "id": "f11691768a5dc78735b49cb09f5f5d3cee564c8c", "size": "817"...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isImportTypeNode = void 0; const tslib_1 = require("tslib"); tslib_1.__exportStar(require("../2.8/node"), exports); const ts = require("typescript"); function isImportTypeNode(node) { return node.kind === ts.SyntaxKind.ImportType; ...
{ "content_hash": "e698f26e3e6ec379edb1369e43c7edb7", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 62, "avg_line_length": 36.27272727272727, "alnum_prop": 0.731829573934837, "repo_name": "ChromeDevTools/devtools-frontend", "id": "3c4178396f8a6f8c85c7d584b9d5e6c7e0ee6383", ...
// Search script generated by doxygen // Copyright (C) 2009 by Dimitri van Heesch. // The code in this file is loosly based on main.js, part of Natural Docs, // which is Copyright (C) 2003-2008 Greg Valure // Natural Docs is licensed under the GPL. var indexSectionsWithContent = { 0: "abcdgimnsw", 1: "abmnw", 2...
{ "content_hash": "d30f9b0ff2ccc38161866fa48c0a903e", "timestamp": "", "source": "github", "line_count": 799, "max_line_length": 108, "avg_line_length": 27.683354192740925, "alnum_prop": 0.5761562457615624, "repo_name": "zzjkf2009/Acme-Robotics-Project", "id": "0c7278b0cc5f89c1e946d6ab63908462fcaa0da2...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <link rel="stylesheet" href="main.css"/> </head> <body> <div id="main"></div> <script src="organise.js"></script> <script> var node = document.getElementById('main'); var app = Elm.Main.embed(node); </script> </body> </html...
{ "content_hash": "7d0fdcca50752b607631ed0dd7197db8", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 48, "avg_line_length": 21.466666666666665, "alnum_prop": 0.5652173913043478, "repo_name": "maxf/waterfall", "id": "893841d10d3e5602136234d1d73a3d100c2122c2", "size": "322",...
namespace csci5570 { SimpleIdMapper::SimpleIdMapper(Node node, const std::vector<Node>& nodes) { // TODO } uint32_t SimpleIdMapper::GetNodeIdForThread(uint32_t tid) { // TODO } void SimpleIdMapper::Init(int num_server_threads_per_node) { // TODO } uint32_t SimpleIdMapper::AllocateWorkerThread(uint32_t node_id...
{ "content_hash": "c3dc2575f357e60dc508e6c973088486", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 85, "avg_line_length": 25.275, "alnum_prop": 0.7546983184965381, "repo_name": "TatianaJin/csci5570", "id": "ac03bd0229e1ce1f736407db17dad731fd70187e", "size": "1117", "bi...
package com.ee.midas.dsl.expressions; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface FunctionExpression { }
{ "content_hash": "fe93b9516d2579464144d91d3acd1a1a", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 44, "avg_line_length": 23.53846153846154, "alnum_prop": 0.826797385620915, "repo_name": "EqualExperts/Midas", "id": "9c80c6415c5f927df0c60bbf43e7acc9259dbef2", "size": "206...
/** * webserver-db-app.js * * @version 1.0 * * DESCRIPTION: * a "HELLO WORLD" server-side application to demonstrate running a node * Webserver and a mongo DB on separate instances on AWS EC2. * Uses the Express and Mongoose node packages. * * * @throws none * @see nodejs.org * @see expr...
{ "content_hash": "d8326571c6fa3f34f635730e556a9bcf", "timestamp": "", "source": "github", "line_count": 150, "max_line_length": 120, "avg_line_length": 31.466666666666665, "alnum_prop": 0.5828389830508475, "repo_name": "apattath/aws_node_server", "id": "f51494f6518462b3c7857ec6167d61d87371125e", "s...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE762_Mismatched_Memory_Management_Routines__delete_long_malloc_84a.cpp Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete.label.xml Template File: sources-sinks-84a.tmpl.cpp */ /* * @description * CWE: 762 Mismatched Memory Management Rou...
{ "content_hash": "6a361394955b7fecf061fcacef4cf46d", "timestamp": "", "source": "github", "line_count": 95, "max_line_length": 184, "avg_line_length": 30.16842105263158, "alnum_prop": 0.6950453593859037, "repo_name": "JianpingZeng/xcc", "id": "3616cd5d818ab264c4c91bd13152beb35be2295f", "size": "286...
namespace Nancy { using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Diagnostics; using System.IO; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.Text.RegularExpressions; using Nancy.Ext...
{ "content_hash": "41de4ef67e0556d32003b9a0300510f3", "timestamp": "", "source": "github", "line_count": 328, "max_line_length": 180, "avg_line_length": 36.08841463414634, "alnum_prop": 0.5274140407197769, "repo_name": "wtilton/Nancy", "id": "699a6f5846070e5e1474b3b26480b9b1e4aaa3d6", "size": "11837...
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" /> <link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media...
{ "content_hash": "3573931f5ec9934ff7fccf987b4a2c28", "timestamp": "", "source": "github", "line_count": 209, "max_line_length": 297, "avg_line_length": 43.92822966507177, "alnum_prop": 0.5097483934211959, "repo_name": "dcarda/aba.route.validator", "id": "f19c1fa47b78a7ebb08d56c57e00fbfc81a54438", "...
<?xml version="1.0" encoding="UTF-8"?> <project name="name-of-project" default="build"> <target name="build" depends="prepare,vendors,parameters,lint,phploc,pdepend,phpmd-ci,phpcs-ci,phpcpd,phpdox,phpunit,phpcb"/> <target name="build-parallel" depends="prepare,lint,tools-parallel,phpunit,phpcb"/> <target ...
{ "content_hash": "5cdbe7702090eaf384bb37a43e5582d4", "timestamp": "", "source": "github", "line_count": 150, "max_line_length": 184, "avg_line_length": 40.06666666666667, "alnum_prop": 0.5742096505823627, "repo_name": "Sylfrid/lunchy", "id": "aae73402a2c6dda7c400dbe237a48a9408822e9d", "size": "6010...
<!DOCTYPE frameset SYSTEM "frameset.dtd"> <frameset> <predicate lemma="indemnify"> <note> Frames file for 'indemnify' based on sentences in wsj. No Verbnet entry. </note> <roleset id="indemnify.01" name="protect from damage" vncls="-"> <roles> ...
{ "content_hash": "a4a174fae640304c1f036b81ddef6c9c", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 93, "avg_line_length": 34.88235294117647, "alnum_prop": 0.45868465430016864, "repo_name": "keenon/jamr", "id": "28ddf46fc4e7de50cc93435894837f8d07e930a2", "size": "1186", ...
package com.blazebit.persistence.deltaspike.data.impl.builder; import com.blazebit.persistence.CriteriaBuilder; import com.blazebit.persistence.FullQueryBuilder; import com.blazebit.persistence.criteria.BlazeCriteriaBuilder; import com.blazebit.persistence.criteria.BlazeCriteriaQuery; import com.blazebit.persistence...
{ "content_hash": "9acc10866c29e60557ae2b3977959b04", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 159, "avg_line_length": 46.946666666666665, "alnum_prop": 0.7404146549275774, "repo_name": "Blazebit/blaze-persistence", "id": "e378e92505c08cc2fda8612b68de73f5e29ecc40", "...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "d6d12ec64bdec7f051da609084cb7c26", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "2c50d1a668487ad59687a4f7137bcec0de98dd27", "size": "19...
export const selectActivePanel = state => state.activePanel;
{ "content_hash": "8fbd85deb0aee55ce117f62a0a882227", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 60, "avg_line_length": 61, "alnum_prop": 0.8032786885245902, "repo_name": "nicksergeant/leather", "id": "fcd69acccde01414dcec4b180b82f36932645fa5", "size": "61", "binary":...
"use strict"; const namedExports = new Map([ ["FileSystem", "./lib/filesystem.js"], ["EntityType", "./lib/entity-type.js"], ["System", "./lib/system.js"], // TODO: Rename ["Resource", "./lib/resource.js"], ["File", "./lib/file.js"], ["Directory", "./lib/directory.js"] ]); for(const [key, value] of ...
{ "content_hash": "038ed49d8ea0a37e9cc0ec9d159ff8df", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 51, "avg_line_length": 26.15, "alnum_prop": 0.6290630975143403, "repo_name": "noahlvb/dotfiles", "id": "fee79728067545345d1c70a7773643e1d0c176b0", "size": "523", "binary"...
var SendGrid = require('sendgrid').SendGrid ,Email = require('sendgrid').Email; var sendgrid, from; exports.load = function(app) { sendgrid = new SendGrid(app.settings.sendgrid_user, app.settings.sendgrid_key); from = app.settings.system_email; }; var sendMail = exports.sendMail = function(to,body,subjec...
{ "content_hash": "afe9e5cb2b7236aa4b4d998946e5bb12", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 117, "avg_line_length": 28.64516129032258, "alnum_prop": 0.5709459459459459, "repo_name": "Aharon-Porath/Democrasee", "id": "fdf2d866cd6d97072913edc191adf15be7e9154b", "siz...
ACCEPTED #### According to World Register of Marine Species #### Published in null #### Original name null ### Remarks null
{ "content_hash": "190db413e0cd4cdbede6d327625427f3", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 32, "avg_line_length": 9.76923076923077, "alnum_prop": 0.7007874015748031, "repo_name": "mdoering/backbone", "id": "736c707f2fbbd46b309a9932ed6ffff72d6d955b", "size": "188"...
package com.aldoborrero.tinder.api.entities; public class AuthData { private String facebookToken; private String locale; public AuthData(String facebookToken, String locale) { this.facebookToken = facebookToken; this.locale = locale; } public String getFacebookToken() { ...
{ "content_hash": "8d34bdf261b92a536fe07e3fd72331e2", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 58, "avg_line_length": 20.724137931034484, "alnum_prop": 0.6572379367720466, "repo_name": "aldoborrero/tinder-java-api", "id": "449449441d488fe9a627c8f475b2a6b630a7846c", "...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Box } from 'axs'; import { Image } from '../base'; import { StyledViewPager, StyledFrame, StyledTrack } from './hocs'; import ProgressPage from './progress-page'; import ProgressView from './progress-view'; import ProgressBar from '....
{ "content_hash": "e43ff5cc28750e1c8ae1c2a5ee741485", "timestamp": "", "source": "github", "line_count": 109, "max_line_length": 75, "avg_line_length": 24.972477064220183, "alnum_prop": 0.5440852314474651, "repo_name": "dwest-teo/wattos-spaceship-emporium", "id": "5a0318aa3595915637d33a9e3c1e3830c0535...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" /> <meta name="viewport" content="width=device-width,initial-scale=1"> <meta ht...
{ "content_hash": "31cd1ed13cfce2deab4497821cc5f132", "timestamp": "", "source": "github", "line_count": 1035, "max_line_length": 999, "avg_line_length": 39.65217391304348, "alnum_prop": 0.6068957115009747, "repo_name": "statsmodels/statsmodels.github.io", "id": "8c276f7c49cebef3b907015f558a08458ea3f9...
(function () { if (!window.localStorage) { document.body.textContent = "Upgrade to a better browser which includes localStorage" } })() // Model for all the favorite gifs in using browser's localStorage API // favorite Gifs will be stored by their id in the localStorage var favoriteGifsModel = { init: function ...
{ "content_hash": "d59bf04e883ad443de0491e0f90c0839", "timestamp": "", "source": "github", "line_count": 155, "max_line_length": 87, "avg_line_length": 20.174193548387098, "alnum_prop": 0.6514230892228974, "repo_name": "abdulhannanali/theGifTime", "id": "2702b16605bd789159e77e523fdb655d9fe46585", "s...
namespace mash.Gui.Forms { partial class MasterWindow { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed...
{ "content_hash": "a68419d36cea3bd3095851c850161d68", "timestamp": "", "source": "github", "line_count": 188, "max_line_length": 164, "avg_line_length": 42.537234042553195, "alnum_prop": 0.7260222583468801, "repo_name": "Manuzor/mash", "id": "0f47e9d0de5b78315ff8142125bdbd39cda2e391", "size": "7999"...
from random import randint import pytest from lcs.agents.acs2 import Configuration from lcs.agents.acs2 import Classifier, ClassifiersList from lcs.agents.racs.action_selection import exploit, choose_random_action, \ choose_latest_action, choose_action_from_knowledge_array, choose_action class TestActionSelecti...
{ "content_hash": "b2aa3e6881970ef39f36741dd0249cc9", "timestamp": "", "source": "github", "line_count": 146, "max_line_length": 79, "avg_line_length": 34.321917808219176, "alnum_prop": 0.6038714827379764, "repo_name": "ParrotPrediction/pyalcs", "id": "7065fb62e99654692604f3fc42b07daeb8a05a93", "siz...
from flask import request from werkzeug.exceptions import NotFound from indico.core.db import db from indico.modules.events.models.series import EventSeries from indico.modules.events.series.schemas import EventSeriesSchema, EventSeriesUpdateSchema from indico.util.i18n import _ from indico.web.args import use_rh_args...
{ "content_hash": "54161e8a798b8edcc6d2605aa28cca59", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 91, "avg_line_length": 32.72222222222222, "alnum_prop": 0.6842105263157895, "repo_name": "indico/indico", "id": "9dacdb79d8297224e20444f90f9241b21d77af24", "size": "1392", ...
#if defined(USE_TI_UITEXTWIDGET) || defined(USE_TI_UITEXTAREA) || defined(USE_TI_UITEXTFIELD) #import "TiUITextWidgetProxy.h" #import "TiUITextWidget.h" #import "TiUtils.h" @implementation TiUITextWidgetProxy @synthesize suppressFocusEvents; DEFINE_DEF_BOOL_PROP(suppressReturn,YES); - (void)windowWillClose { if([...
{ "content_hash": "e34fc6f58f5a8f05acbac11e2bce80fb", "timestamp": "", "source": "github", "line_count": 295, "max_line_length": 124, "avg_line_length": 27.938983050847458, "alnum_prop": 0.7034700315457413, "repo_name": "jgirisha/RBS", "id": "bdf78ff742c8118fc8410b6f8bcc83b32e140a7d", "size": "8564"...
""" Sponge Knowledge Base Used for testing a Remote API server and clients. """ from java.util.concurrent.atomic import AtomicBoolean from org.apache.commons.io import IOUtils from java.time import LocalDateTime from java.nio.charset import StandardCharsets def onInit(): # Variables for assertions only. spong...
{ "content_hash": "09984ee839f19b2ba1e75c6b27677274", "timestamp": "", "source": "github", "line_count": 471, "max_line_length": 164, "avg_line_length": 47.388535031847134, "alnum_prop": 0.665905017921147, "repo_name": "softelnet/sponge", "id": "6521c33fbe1f4c80c58e15ee705ce7e589c998e8", "size": "22...
package com.mb3364.twitch.api.resources; import com.mb3364.http.RequestParams; import com.mb3364.twitch.api.auth.Scopes; import com.mb3364.twitch.api.handlers.VideoResponseHandler; import com.mb3364.twitch.api.handlers.VideosResponseHandler; import com.mb3364.twitch.api.models.Video; import com.mb3364.twitch.api.model...
{ "content_hash": "dc9033870426439222a77d286844dc17", "timestamp": "", "source": "github", "line_count": 130, "max_line_length": 118, "avg_line_length": 39.36153846153846, "alnum_prop": 0.5952706664060973, "repo_name": "urgrue/Java-Twitch-Api-Wrapper", "id": "57cd36ebc3dd7b0220e164d1bc5594dde8c784a8",...
/* * SubSonic - http://subsonicproject.com * * The contents of this file are subject to the Mozilla Public * License Version 1.1 (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.mozilla.org/MPL/ * * Software distributed un...
{ "content_hash": "ae2c6fa16dfd8df16500247ceaeff9a1", "timestamp": "", "source": "github", "line_count": 189, "max_line_length": 106, "avg_line_length": 34.51322751322751, "alnum_prop": 0.5042158516020236, "repo_name": "SAEONData/SAEON-Observations-Database", "id": "f1c111b810c77154188ceedcf705c7bdd6e...
package org.apache.lucene.store; import java.io.IOException; import java.io.File; import java.io.RandomAccessFile; import java.nio.ByteBuffer; import java.nio.BufferUnderflowException; import java.nio.channels.ClosedChannelException; // javadoc import java.nio.channels.FileChannel; import java.nio.channels.FileChan...
{ "content_hash": "4bf5faf7c9a11a9c753fdb02458153d7", "timestamp": "", "source": "github", "line_count": 384, "max_line_length": 148, "avg_line_length": 35.856770833333336, "alnum_prop": 0.65371486672961, "repo_name": "fnp/pylucene", "id": "ad007410c45412f6c876834cbefd79574f9fa322", "size": "14571",...
/* This file contains the DatabaseContext class. * This database context is the entry point to the Entity Framework and provides access to the users table. * * Datei: DatabaseContext.cs Autor: Ramandeep Singh * Datum: 23.12.2015 Version: 1.0 */ using System.Data.Entity; namespace Webserver.Models { /// <summary>...
{ "content_hash": "09a8dbfd8bd0574a8395856d8a29b47f", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 131, "avg_line_length": 31.0625, "alnum_prop": 0.6498993963782697, "repo_name": "marbo86/androidApplication", "id": "4b9538c33daf42099cd06c7366dc7a00762c9876", "size": "996...