text
stringlengths
2
1.04M
meta
dict
 using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using JsonPath; using MatterHackers.Agg; using MatterHackers.Agg.Platform; using MatterHackers.Agg.UI; using MatterHackers.DataConverters3D; using MatterHackers.ImageProcessing; using MatterHacker...
{ "content_hash": "018fa2d510907fd7cee59d545a429ae0", "timestamp": "", "source": "github", "line_count": 717, "max_line_length": 164, "avg_line_length": 33.09902370990237, "alnum_prop": 0.6336591943367605, "repo_name": "larsbrubaker/MatterControl", "id": "5edd51bf93b9fd3ba1487815a1d8adcfe5850ecb", "...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>jordan-curve-theorem: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../boot...
{ "content_hash": "9f403c9512e554a3d771981461dc3f30", "timestamp": "", "source": "github", "line_count": 166, "max_line_length": 272, "avg_line_length": 44.21084337349398, "alnum_prop": 0.5587954762229187, "repo_name": "coq-bench/coq-bench.github.io", "id": "32151df85e843fa18d9f873c147a82101fd71225", ...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "ae5942d6214f4c84b8a680ab00474c6a", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "6618d889d93c90d31fa3a65436b2dde3c3b79363", "size": "191...
package co.cask.cdap.data2.dataset2.lib.table.hbase; import co.cask.cdap.api.common.Bytes; import co.cask.cdap.api.dataset.DataSetException; import co.cask.cdap.api.dataset.DatasetContext; import co.cask.cdap.api.dataset.DatasetSpecification; import co.cask.cdap.api.dataset.table.Scanner; import co.cask.cdap.common....
{ "content_hash": "e6a25307022e0c540fb0efd34b53ce4e", "timestamp": "", "source": "github", "line_count": 242, "max_line_length": 116, "avg_line_length": 38.735537190082646, "alnum_prop": 0.6764454875186686, "repo_name": "caskdata/cdap", "id": "f1675792e80ea8be13ccb2b705ebadf1a1eda2f2", "size": "9976...
package com.limpoxe.fairy.core.proxy.systemservice; import android.view.WindowManager; import com.limpoxe.fairy.core.FairyGlobal; import com.limpoxe.fairy.core.proxy.MethodDelegate; import com.limpoxe.fairy.core.proxy.ProxyUtil; import com.limpoxe.fairy.util.LogUtil; import java.lang.reflect.Method; /** * Created ...
{ "content_hash": "16f18efac62c4beda5bf6ac7c0c8143b", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 132, "avg_line_length": 35.15909090909091, "alnum_prop": 0.6826115061409179, "repo_name": "limpoxe/Android-Plugin-Framework", "id": "8106c5ea226601714155715f162c171342f1c644"...
from treesorting import * import unittest class TestEmpty(unittest.TestCase): def setUp(self): self.lines = [] self.tree = lines_to_tree(self.lines) def test_tree(self): empty_tree = Tree() self.assertEqual(empty_tree, self.tree) def test_tree_text(self): expected...
{ "content_hash": "5c364ee6c148571ea165e4ddf88c4b86", "timestamp": "", "source": "github", "line_count": 183, "max_line_length": 107, "avg_line_length": 30.19672131147541, "alnum_prop": 0.6094824466159972, "repo_name": "robert-impey/tree-sorter", "id": "a5c6431c27ca402556f42013f9bffe218d0a5205", "si...
package net.jadecy.cmd; import java.util.Arrays; import net.jadecy.utils.MemPrintStream; public class JdcmComp_SPATH_Test extends AbstractJdcmTezt { //-------------------------------------------------------------------------- // PUBLIC METHODS //-----------------------------------------------------...
{ "content_hash": "866d72c68fed47b376ec09beb4dc89a5", "timestamp": "", "source": "github", "line_count": 214, "max_line_length": 98, "avg_line_length": 32.26635514018692, "alnum_prop": 0.498913830557567, "repo_name": "jeffhain/jadecy", "id": "ac6579518f05e42109433f7fbe85e3dbc7ab70d1", "size": "7497"...
<?php declare(strict_types=1); namespace Composer\Autoload; use Composer\ClassMapGenerator\ClassMap; use Composer\ClassMapGenerator\ClassMapGenerator; use Composer\Config; use Composer\EventDispatcher\EventDispatcher; use Composer\Filter\PlatformRequirementFilter\IgnoreAllPlatformRequirementFilter; use Composer\Fil...
{ "content_hash": "1d1f32cc7ea402df63506b6d3e7c64c9", "timestamp": "", "source": "github", "line_count": 1318, "max_line_length": 301, "avg_line_length": 36.443854324734446, "alnum_prop": 0.5539108529552599, "repo_name": "staabm/composer", "id": "921ba6b6ee15f4bfd2a43edd657036fd9e75dc1d", "size": "4...
package com.amazonaws.services.rds.model.transform; import org.w3c.dom.Node; import javax.annotation.Generated; import com.amazonaws.AmazonServiceException; import com.amazonaws.transform.StandardErrorUnmarshaller; import com.amazonaws.services.rds.model.SharedSnapshotQuotaExceededException; @Generated("com.amazo...
{ "content_hash": "af5e379216e78069f319a42c6888f815", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 111, "avg_line_length": 33.40625, "alnum_prop": 0.7680074836295603, "repo_name": "dagnir/aws-sdk-java", "id": "7d186e277742a22d08c3f5ad230e001ab9988802", "size": "1649", ...
package mesosphere.marathon import java.time.Clock import mesosphere.AkkaUnitTest import mesosphere.marathon.core.instance.TestInstanceBuilder import mesosphere.marathon.core.instance.TestInstanceBuilder._ import mesosphere.marathon.core.instance.update.{ InstanceUpdateEffect, InstanceUpdateOperation } import mesosph...
{ "content_hash": "6ca9ee5b0786c67f0531202a8c61956b", "timestamp": "", "source": "github", "line_count": 288, "max_line_length": 117, "avg_line_length": 37.232638888888886, "alnum_prop": 0.7247039074885759, "repo_name": "guenter/marathon", "id": "b7ef2f31895966c4b61e4594a0844a3201bd3001", "size": "1...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Dashboard extends CI_Controller { /** * Index Page for this controller. * * Maps to the following URL * http://example.com/index.php/welcome * - or - * http://example.com/index.php/welcome/index * - or - * Since this cont...
{ "content_hash": "a18b641ca430c7bf5ee729667e6e0d80", "timestamp": "", "source": "github", "line_count": 90, "max_line_length": 244, "avg_line_length": 42.71111111111111, "alnum_prop": 0.6719562955254943, "repo_name": "muhammadruhaizat/s2s", "id": "fbb45f1694bc006b0646f890c72d4e23be365fc4", "size": ...
package org.apache.maven.artifact.handler; import java.io.File; import java.util.List; import javax.inject.Inject; import org.codehaus.plexus.testing.PlexusTest; import org.codehaus.plexus.PlexusContainer; import org.codehaus.plexus.util.FileUtils; import org.junit.jupiter.api.Test; import static org.codehaus.ple...
{ "content_hash": "2f4271d9db6f4699360095cf7412e5fd", "timestamp": "", "source": "github", "line_count": 82, "max_line_length": 135, "avg_line_length": 35.6219512195122, "alnum_prop": 0.5669291338582677, "repo_name": "mcculls/maven", "id": "9dd5cf19d1366c96dcc62598d6b5c9c0c1480376", "size": "3727", ...
package com.intellij.dupLocator; import com.intellij.lang.LighterAST; import com.intellij.lang.LighterASTNode; import org.jetbrains.annotations.NotNull; /** * Created by Maxim.Mossienko on 10/1/2014. */ public interface LightDuplicateProfile { void process(@NotNull LighterAST ast, @NotNull Callback callback); ...
{ "content_hash": "18060f8304fdf686e68d74190c56140d", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 86, "avg_line_length": 25.58823529411765, "alnum_prop": 0.7655172413793103, "repo_name": "TangHao1987/intellij-community", "id": "ba27b5544809788f08e6ed022bb79a4fda4d9bdd", ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>containers: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min....
{ "content_hash": "a8d545a978ab62093f61728d78756bc0", "timestamp": "", "source": "github", "line_count": 164, "max_line_length": 280, "avg_line_length": 42.88414634146341, "alnum_prop": 0.5501208588084744, "repo_name": "coq-bench/coq-bench.github.io", "id": "3f0676fec73bd322dee252a9f8b58c167cd512db", ...
from fontTools.pens.basePen import BasePen from fontTools.misc.arrayTools import pointInRect def pointBoundTouche(point, bounds): found = pointInRect(point, bounds) if not found: # lazy check x values only minX, minY, maxX, maxY = bounds found = minX <= point[0] <= maxX return foun...
{ "content_hash": "651ce711d2e56ce5bcc634705cb6fa75", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 64, "avg_line_length": 29.444444444444443, "alnum_prop": 0.5949685534591195, "repo_name": "ninastoessinger/Touche", "id": "2b581a1766f5efdadb3133808676f9de844cce90", "size"...
import idx3d.*; import java.awt.*; import java.applet.*; import java.io.*; public final class idx3dMaterialLab extends Frame { idx3d_Scene objectView; idx3d_Screen textureScreen; idx3d_Screen envmapScreen; Image doubleBuffer1=null; //object View Image doubleBuffer2=null; //texture Image doubleBuffer3=null; //e...
{ "content_hash": "c9b31d1883d971dab2c4ba31ecbbf165", "timestamp": "", "source": "github", "line_count": 457, "max_line_length": 111, "avg_line_length": 29.288840262582056, "alnum_prop": 0.7095255883451626, "repo_name": "AlessandroBorges/IDX3D", "id": "a0a8c3268fb811da27e5b9c57f710a5a90ea2482", "siz...
using System.Web.Mvc; using NServiceBus; #region Controller public class DefaultController : Controller { IBus bus; public DefaultController(IBus bus) { this.bus = bus; } public ActionResult Index() { return View(); } [AllowAnonymous] public ActionResult Send() ...
{ "content_hash": "053e31e928a60a65cdfdd601fbe72fe1", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 58, "avg_line_length": 17.53846153846154, "alnum_prop": 0.6206140350877193, "repo_name": "WojcikMike/docs.particular.net", "id": "3bf0460ffc77f61840a6d68fa0269dd48375270c", ...
/*** * The goal of this file is to know about the readline functions; * * * How to run this example: * 1. node readline-3.js * 2. See the message get displayed on prompt. */ var readline = require('readline'); var rl = readline.createInterface({ input: process.stdin, output: process.stdout }); // Emitted wh...
{ "content_hash": "5d0622c7ac50bfd8ea87395454038d5c", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 106, "avg_line_length": 21.236842105263158, "alnum_prop": 0.6456009913258984, "repo_name": "hegdeashwin/Server-Side-Node.js", "id": "928ea719c31d712a1112ccd587b638d5b8deb63c"...
I was looking for a good place where to put my money. A while ago I came across Vaamo and decided to create a account and give it a try. The problem was that they don´t provide a graph about the development of the fond. The new data came in every day so i wrote down the numbers to a spreadsheet. Time passed and I got b...
{ "content_hash": "a85a909fefa3374c01708d26fa483959", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 84, "avg_line_length": 31.806451612903224, "alnum_prop": 0.7647058823529411, "repo_name": "roenschg/vaamo-parser", "id": "7d1c08d75a54bc13cdea15b6a6a42845806ac34e", "size":...
<?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> <item android:id="@+id/action_refresh" android:title="@string/action_refresh" app:showAsAction="always"/> </menu>
{ "content_hash": "7599785dd33a218e48b7c9e86d988a7b", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 64, "avg_line_length": 31.8, "alnum_prop": 0.6194968553459119, "repo_name": "inserteffect/dwx2015-android-testing", "id": "f1401a48a06c4b2d5d309d6b87847df570c63074", "size"...
<?php namespace Surfnet\StepupMiddleware\MiddlewareBundle\Console\Command; use Exception; use Rhumsaa\Uuid\Uuid; use Surfnet\Stepup\Identity\Value\Institution; use Surfnet\Stepup\Identity\Value\NameId; use Surfnet\StepupMiddleware\ApiBundle\Identity\Entity\UnverifiedSecondFactor; use Surfnet\StepupMiddleware\Comman...
{ "content_hash": "ad2aa8c1850883aaaa1f3dbb6cea2346", "timestamp": "", "source": "github", "line_count": 134, "max_line_length": 133, "avg_line_length": 46.30597014925373, "alnum_prop": 0.5834004834810637, "repo_name": "SURFnet/Stepup-Middleware", "id": "1558f54b1c6811347d292c83a2462778aa2007f3", "s...
@interface TDProfessorCell : UITableViewCell @property (nonatomic,strong) UILabel *professorLabel; @end
{ "content_hash": "abeb79d3942034671c5332356b089241", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 53, "avg_line_length": 21.2, "alnum_prop": 0.8113207547169812, "repo_name": "Ben21hao/edx-app-ios-new", "id": "69a7c590614c28de6302b6b52b812c4dbff04c3f", "size": "260", "b...
import { TestbedHarnessEnvironment } from '@angular/cdk/testing/testbed'; import { TestBed } from '@angular/core/testing'; import { SkyAutocompleteHarness } from './autocomplete-harness'; import { AutocompleteHarnessTestComponent } from './fixtures/autocomplete-harness-test.component'; import { AutocompleteHarnessTest...
{ "content_hash": "b8ea6ed8d7a17dc5f1a2b8a89da2d749", "timestamp": "", "source": "github", "line_count": 267, "max_line_length": 98, "avg_line_length": 32.42322097378277, "alnum_prop": 0.669284971699203, "repo_name": "blackbaud/skyux", "id": "8c08f57e2c0ddcf84303f000b551fc267c9ea257", "size": "8657"...
'use strict' module.exports = function(app, middlewares, routeMiddlewares) { return {} }
{ "content_hash": "e29c3c9a38f98e39c0d96bdd6cb65d31", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 63, "avg_line_length": 18.2, "alnum_prop": 0.7252747252747253, "repo_name": "lukeulrich/path-routify", "id": "02bd2943bbf354de17595e242e4ba9dbfdd99610", "size": "91", "bin...
This project have been written in QT and is licensed under MIT.
{ "content_hash": "baa9d7679b7a4b584eeb8762ab9a1e63", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 63, "avg_line_length": 64, "alnum_prop": 0.796875, "repo_name": "Ladone/2048", "id": "b617849f774c220bbfe1c82aa5f55c85d8424329", "size": "107", "binary": false, "copies"...
/* * SimpleRenderEngine (https://github.com/mortennobel/SimpleRenderEngine) * * Created by Morten Nobel-Jørgensen ( http://www.nobel-joergensen.com/ ) * License: MIT */ #pragma once #include <memory> #include <vector> #include <string> #include "glm/glm.hpp" #include "Texture.hpp" #include "impl/CPPShim.hpp" ...
{ "content_hash": "397287990aa201044d35ef738ff87c1e", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 120, "avg_line_length": 31.356164383561644, "alnum_prop": 0.6439493228484054, "repo_name": "mortennobel/SimpleRenderEngine", "id": "401a21cd202ca321f33507f435b2b6c08fdc740f",...
using System; using NoiseLab.Common.Extensions; using Xunit; namespace NoiseLab.Common.UnitTests.Extensions { public class StringExtensionsTests { [Fact] public void ThrowIfNullOrWhitespace_ArgumentIsNull_ThrowsArgumentNullException() { // Arrange var value = (st...
{ "content_hash": "bc2e87dd3c84a123b2d49482ab53b134", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 100, "avg_line_length": 28.163265306122447, "alnum_prop": 0.5927536231884057, "repo_name": "dr-noise/PolyGen", "id": "971230c71fa290928448e17447fbbbee0d3ac405", "size": "13...
package org.javarosa.core.model; import org.javarosa.core.log.WrappedException; import org.javarosa.core.model.actions.Action; import org.javarosa.core.model.actions.ActionController; import org.javarosa.core.model.condition.Condition; import org.javarosa.core.model.condition.Constraint; import org.javarosa.core.model...
{ "content_hash": "4f2b5fb0150c143c9cc24dd4f19e7fd4", "timestamp": "", "source": "github", "line_count": 1938, "max_line_length": 150, "avg_line_length": 40.154798761609904, "alnum_prop": 0.6090465176047288, "repo_name": "dimagi/javarosa", "id": "c7a72e689a67b374b562c1cb448778783031c5b8", "size": "7...
/* -*- Mode: js; js-indent-level: 2; indent-tabs-mode: nil -*- */ /* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */ 'use strict'; (function() { var _ = navigator.mozL10n.get; // Consts const STK_SCREEN_DEFAULT = 0x00; const STK_SCREEN_MAINMENU = 0x01; const STK_SCREEN_HELP = 0x02; /** ...
{ "content_hash": "0bb23f354002e5f8df3eed46d7e67f3c", "timestamp": "", "source": "github", "line_count": 362, "max_line_length": 79, "avg_line_length": 27.96685082872928, "alnum_prop": 0.6413472935598578, "repo_name": "sergecodd/FireFox-OS", "id": "75c6209771085053ee457b2d6bdcd9b240f4cfe9", "size": ...
<?php namespace Uj\Mail; use Zend\ModuleManager\Feature\AutoloaderProviderInterface; use Zend\ModuleManager\Feature\ConfigProviderInterface; use Zend\ModuleManager\Feature\ServiceProviderInterface; /** * Unjudder Mail Module * * @since 0.1 * @package Uj\Mail */ class Module implements AutoloaderProviderInte...
{ "content_hash": "ed94295b725d4713335b15f450ee143d", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 70, "avg_line_length": 22.533333333333335, "alnum_prop": 0.5698224852071005, "repo_name": "unjudder/zf2-mail", "id": "4b37ba38b5ac61a6c9ebe5d94e11a9135003cc92", "size": "19...
"""Spectral Embedding""" # Author: Gael Varoquaux <gael.varoquaux@normalesup.org> # Wei LI <kuantkid@gmail.com> # License: BSD 3 clause import warnings import numpy as np from scipy import sparse from scipy.linalg import eigh from scipy.sparse.linalg import eigsh, lobpcg from scipy.sparse.csgraph import conn...
{ "content_hash": "d4dec768728fe9cac618ec2a40f68183", "timestamp": "", "source": "github", "line_count": 522, "max_line_length": 79, "avg_line_length": 41.088122605363985, "alnum_prop": 0.615721745617307, "repo_name": "wazeerzulfikar/scikit-learn", "id": "a330b7da7f8561bb0b0e02e03d438cbd6d958b31", "...
export declare function populateClientExports(exports: any): void;
{ "content_hash": "28406843fa587bcec96e08f886289d2d", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 66, "avg_line_length": 67, "alnum_prop": 0.835820895522388, "repo_name": "rondwest/expressTemplate", "id": "2d460bb437d80af4c23f63ab098e64dca323daf2", "size": "267", "bina...
SET @preparedStatement = (SELECT IF( (SELECT COUNT(*) FROM INFORMATION_SCHEMA.COLUMNS WHERE table_name = 'jobs' AND table_schema = DATABASE() AND column_name = 'retry_count' ) > 0, "SELECT 1", "ALTER TABLE `jobs` ADD `retry_count` INT(11) NOT NULL DEFAULT '0';" )); PREP...
{ "content_hash": "c2ebeeb34475b89bf7cdbf0f035f71a8", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 86, "avg_line_length": 29.545454545454547, "alnum_prop": 0.678974358974359, "repo_name": "cloudfoundry-incubator/notifications", "id": "40407bd0b6f2ef972189318f33ed87de73e626...
**RactiveJS bindings for PureScript** Based on the original sources from <a href="https://github.com/AitorATuin/purescript-ractive" target="_blank">Aitor P. Iturri</a> This version is compatible with **psc 0.9.3**. The original Grunt mechanics were replaced by Gulp/WebPack. For quick testing a <a href="https://gith...
{ "content_hash": "8b19998a362ee67c0c84294a803d9646", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 270, "avg_line_length": 51.784946236559136, "alnum_prop": 0.7286129568106312, "repo_name": "brakmic/purescript-ractive", "id": "7cd39903256e0af7766413dc5ae7c6ab9f520010", "...
* [Utilities](#utilities) * [Base Mixin](#base-mixin) * [Listeners](#listeners) * [Margin Mixin](#margin-mixin) * [Color Mixin](#color-mixin) * [Coordinate Grid Mixin](#coordinate-grid-mixin) * [Stack Mixin](#stack-mixin) * [Cap Mixin](#cap-mixin) * [Bubble Mixin](#bubble-mixin) * [Pie Chart](#pie-c...
{ "content_hash": "ebeaa8d8ed1d9a68855805642881d12c", "timestamp": "", "source": "github", "line_count": 1544, "max_line_length": 330, "avg_line_length": 42.70531088082902, "alnum_prop": 0.7536132975415928, "repo_name": "adebali/adebali.github.io", "id": "824a5d0b2ebf9a2f7a3defa6404c69a95283eb44", "...
package pl.karol202.evolution.entity.behaviour; import pl.karol202.evolution.entity.ComponentManager; import pl.karol202.evolution.entity.Entity; import pl.karol202.evolution.ui.main.ViewInfo; import java.awt.*; import java.util.HashMap; import java.util.Map; import java.util.stream.Stream; public class BehaviourMa...
{ "content_hash": "1707e6414fa37932a781e444aa592c8e", "timestamp": "", "source": "github", "line_count": 127, "max_line_length": 112, "avg_line_length": 26.236220472440944, "alnum_prop": 0.7722088835534213, "repo_name": "karol-202/Evolution", "id": "05f762109ad3554067e28508e7c2a00b4c91e993", "size":...
using System.Composition; using Microsoft.NetCore.Analyzers.Runtime; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeFixes; namespace Microsoft.NetCore.CSharp.Analyzers.Runtime { /// <summary> /// RS0014: Do not use Enumerable methods on indexable collections. Instead use the collection directly...
{ "content_hash": "dd067db2996b54f05824510755ade408", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 192, "avg_line_length": 40.266666666666666, "alnum_prop": 0.8178807947019867, "repo_name": "heejaechang/roslyn-analyzers", "id": "6977075ce708021303fff4bb93112d8ebcdd78ca", ...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.github.wesleyegberto.jav...
{ "content_hash": "d6c688529fe69466c670baadd0ef64e4", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 104, "avg_line_length": 34.791666666666664, "alnum_prop": 0.7305389221556886, "repo_name": "wesleyegberto/courses-projects", "id": "e489b4943ba6ee6593df30c258faad7f091c7bf7",...
package common import ( "crypto/rand" "errors" "strconv" ) var ( ErrSaltPrefix = errors.New("invalid magic prefix") ErrSaltFormat = errors.New("invalid salt format") ErrSaltRounds = errors.New("invalid rounds") ) // Salt represents a salt. type Salt struct { MagicPrefix []byte SaltLenMin int SaltLenMax int...
{ "content_hash": "e6cbbf1168ba2857263d7f02cab64881", "timestamp": "", "source": "github", "line_count": 98, "max_line_length": 78, "avg_line_length": 23.051020408163264, "alnum_prop": 0.6755201416555998, "repo_name": "lucasvanhalst/identityserver", "id": "afd77d359f36f6ba9199b2b676a058582235b747", ...
{% extends "base.html" %} {% block meta_title %}OSDC Demo Registration{% endblock %} {% block header %} <header class="jumbotron subhead"> <h2>OSDC Demo Registration</h2> </header> {% endblock %} {% block main %} <div class="span12"> <form action="/demoregister/" method="post" enctype="multipart/form-data" class="...
{ "content_hash": "abd23cbb94f499cafdef7183612ce973", "timestamp": "", "source": "github", "line_count": 86, "max_line_length": 114, "avg_line_length": 32.348837209302324, "alnum_prop": 0.5927390366642703, "repo_name": "LabAdvComp/tukey_portal", "id": "1b5e4812549e2b528df7fb350e55659eb52dd8f4", "siz...
/** * This is code is released under the * Apache License Version 2.0 http://www.apache.org/licenses/. * * (c) Daniel Lemire, http://lemire.me/en/ */ #ifndef BITPACK_SIMDBINARYPACKING_H_ #define BITPACK_SIMDBINARYPACKING_H_ #include "codecs.h" #include <util/compression/int/fastpfor/simdbitpacking.h> #include "u...
{ "content_hash": "6bb26da68898b11efa703818174fb00d", "timestamp": "", "source": "github", "line_count": 172, "max_line_length": 106, "avg_line_length": 35.76162790697674, "alnum_prop": 0.5278816452609332, "repo_name": "izenecloud/izenelib", "id": "d98be957fa0baf7c20f6a08ed45b1b2d648fb7ad", "size": ...
std::vector<tensorflow::uint8> LoadImageFromFile(const char* file_name, int* out_width, int* out_height, int* out_channels); std::vector<tensorflow::uint8> LoadImageFromBase64(NSString* base64data, int* out_width, int* out_height, int* out_channels); std::vector<tensorflow::u...
{ "content_hash": "7bf72c682726758ab47068d2dfb33aec", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 72, "avg_line_length": 30.529411764705884, "alnum_prop": 0.6570327552986512, "repo_name": "heigeo/cordova-plugin-tensorflow", "id": "b8fd728e0d7f2375fbeaa7746808559cd5bd143c"...
""" Django settings for staas project. Generated by 'django-admin startproject' using Django 1.9.6. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import os # B...
{ "content_hash": "610d946796814a318834ec6de1712ab8", "timestamp": "", "source": "github", "line_count": 127, "max_line_length": 91, "avg_line_length": 26.04724409448819, "alnum_prop": 0.686819830713422, "repo_name": "sk364/staas_cloud", "id": "f6dec6dda37858fb0f6e081ca1822c2e489aedd9", "size": "330...
/* -*- C++ -*- */ /** * @file Find_Worker_T.h * * $Id: Find_Worker_T.h 14 2007-02-01 15:49:12Z mitza $ * * @author Pradeep Gore <pradeep@oomworks.com> * * */ #ifndef TAO_Notify_FIND_WORKER_T_H #define TAO_Notify_FIND_WORKER_T_H #include /**/ "ace/pre.h" #include "orbsvcs/Notify/notify_serv_export.h" #if !...
{ "content_hash": "e95a61e315ad3e1115a28e2e9dc0fefe", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 83, "avg_line_length": 24.25974025974026, "alnum_prop": 0.6937901498929336, "repo_name": "binary42/OCI", "id": "564dbc68f46875dd592cb2d3aa9824549bd390de", "size": "1868", ...
#ifndef __OPENCV_VIDEOSTAB_STABILIZER_HPP__ #define __OPENCV_VIDEOSTAB_STABILIZER_HPP__ #include <vector> #include <ctime> #include BOSS_OPENCV_U_opencv2__core_hpp //original-code:"opencv2/core.hpp" #include BOSS_OPENCV_U_opencv2__imgproc_hpp //original-code:"opencv2/imgproc.hpp" #include "opencv2/videostab/global_m...
{ "content_hash": "79289cc061d4e4ad0aed5083f803d5ca", "timestamp": "", "source": "github", "line_count": 160, "max_line_length": 90, "avg_line_length": 30.29375, "alnum_prop": 0.7159067464410976, "repo_name": "koobonil/Boss2D", "id": "de8c60cdd469b198a83adce60c7dbfd5ddf20e4c", "size": "7007", "bin...
package transport import ( "io" "math" "net" "strings" "sync" "sync/atomic" "time" "golang.org/x/net/context" "golang.org/x/net/http2" "golang.org/x/net/http2/hpack" "google.golang.org/grpc/channelz" "google.golang.org/grpc/codes" "google.golang.org/grpc/credentials" "google.golang.org/grpc/keepalive...
{ "content_hash": "baebf0c00e91498044c0620feddaa508", "timestamp": "", "source": "github", "line_count": 1275, "max_line_length": 154, "avg_line_length": 29.366274509803922, "alnum_prop": 0.6803856631590193, "repo_name": "Thib17/graphite-remote-adapter", "id": "92a3311813c7ded2f2d053e016f136646cb6c287...
using kws::cmd::Argument; TEST(ArgumentTest, IsBoolean) { int arg_int_val = -1; Argument<int> arg_int("int", "int help", &arg_int_val); EXPECT_FALSE(arg_int.IsBoolean()); bool arg_bool_val = true; Argument<bool> arg_bool("bool", "bool help", &arg_bool_val); EXPECT_TRUE(arg_bool.IsBoolean()); } TEST(Argum...
{ "content_hash": "713f4a55b55ef7478a6134376b96ff7b", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 78, "avg_line_length": 34.8125, "alnum_prop": 0.6409335727109515, "repo_name": "jpuigcerver/kws-eval", "id": "7c34ac2c64b25f1b8d1ee6da2dceaaaaf7f35d34", "size": "1724", "...
<!DOCTYPE html> <html> <head> <title>updeep perf</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <div>Running tests...</div> <div id='perf'></div> <script src='/assets/perf.js'...
{ "content_hash": "6dd21f258e710976eb980b9f693c25f1", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 74, "avg_line_length": 26.142857142857142, "alnum_prop": 0.6038251366120219, "repo_name": "frederickfogerty/updeep", "id": "b1a7bddb0fc08cbad8eeac4480e704b3fa5cd2d6", "size...
#include <cstdio> #include <cstdlib> #include <cmath> #include <ctime> #include <iostream> #include <iterator> #if defined(_MSC_VER) #include <io.h> #endif #include <boost/foreach.hpp> #include <boost/regex.hpp> #include <OpenEXR/half.h> #include <OpenEXR/ImathVec.h> #include "OpenImageIO/argparse.h" #include "Ope...
{ "content_hash": "6c2fd210e0430fc4aed51508fd9170ed", "timestamp": "", "source": "github", "line_count": 828, "max_line_length": 110, "avg_line_length": 37.22826086956522, "alnum_prop": 0.4851581508515815, "repo_name": "micler/oiio", "id": "e48978391f6c254f38ee7a67e002be5547bd8bfa", "size": "32436",...
<?php if ( ! class_exists( 'GFForms' ) ) { die(); } class GFFormSettings { public static function form_settings_page() { $subview = rgget( 'subview' ) ? rgget( 'subview' ) : 'settings'; switch ( $subview ) { case 'settings': self::form_settings_ui(); break; case 'confirmation': ...
{ "content_hash": "a837cf9f566c130054e6d0cfc0b79ef5", "timestamp": "", "source": "github", "line_count": 1888, "max_line_length": 483, "avg_line_length": 38.50264830508475, "alnum_prop": 0.5678125816791163, "repo_name": "se2/minhnguyendesign", "id": "be3a1853cbe4f7bf1a3dc22f31bcd206846b9e21", "size"...
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.michaelszymczak.speccare</groupId> <artifactId>sp...
{ "content_hash": "f385f09c2eb741548a646e97e7e19f95", "timestamp": "", "source": "github", "line_count": 440, "max_line_length": 105, "avg_line_length": 35.65681818181818, "alnum_prop": 0.4420294473835171, "repo_name": "michaelszymczak/speccare-specminer", "id": "7838eb039d41d218e9a1d3329729ad53ab153a...
class TabbedPane; class SprocketWebContents; namespace views { class Label; class LabelButton; } // The tab view shown in the tab strip. class Tab : public views::View { public: // Internal class name. static const char kViewClassName[]; static const char kEmptyTab[]; Tab(TabbedPane* tabbed_pane, Spro...
{ "content_hash": "d8237c5930c840ed4e73c7a68f91e7e4", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 87, "avg_line_length": 25.322033898305083, "alnum_prop": 0.7175368139223561, "repo_name": "szeged/sprocket", "id": "289601e711bac96832774423fed38f31dd205c10", "size": "1844...
////////////////////////////////////////////////////////////////// #ifndef H_SG_VV6DIFF__PRIVATE_TYPEDEFS_H #define H_SG_VV6DIFF__PRIVATE_TYPEDEFS_H BEGIN_EXTERN_C; ////////////////////////////////////////////////////////////////// struct _sg_vv6diff__diff_to_stream_data { SG_repo * pRepo; SG_pathname * pPat...
{ "content_hash": "a30696cb2d5db649d1adf35e8888bae8", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 89, "avg_line_length": 25.529411764705884, "alnum_prop": 0.5483870967741935, "repo_name": "glycerine/vj", "id": "b13e42771fbc4d972c9fad91366a239c8489d5a8", "size": "1430", ...
using System; using System.Web.Mvc; namespace FailTracker.Web.Infrastructure.ModelMetadata { public class RenderAttribute : Attribute, IMetadataAware { public bool ShowForEdit { get; set; } public bool ShowForDisplay { get; set; } public RenderAttribute() { ShowForEdit = true; ShowForDis...
{ "content_hash": "8df08b90bf819e4ed148f3fc9eb1fab4", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 70, "avg_line_length": 22.347826086956523, "alnum_prop": 0.708171206225681, "repo_name": "MattHoneycutt/Fail-Tracker", "id": "ba2e8e74af8d39bccb99431a9c3a920646b4c802", "si...
package net.mindengine.blogix.config; import java.util.HashMap; import java.util.Map; import java.util.Properties; import net.mindengine.blogix.utils.BlogixFileUtils; import org.apache.commons.io.FileUtils; public class BlogixConfig { private static final String BLOGIX_SERVER_PORT = "blogix.server.port"; p...
{ "content_hash": "97b5ea4304b13d14d075f82572e486a2", "timestamp": "", "source": "github", "line_count": 115, "max_line_length": 100, "avg_line_length": 33.66086956521739, "alnum_prop": 0.6677861017824851, "repo_name": "ishubin/blogix", "id": "cbf05ab8fd7633d0e280a208660e21a542f16b2f", "size": "4629...
- New APIS to support thumbnail previews in Push Notifications: `[Bit6PushNotificationCenter isIncomingMessageNotification:]`, `[Bit6 messageWithIdentifier:completion:]` and `[Bit6Message downloadThumbnailWithCompletionHandler:]`. It's necessary to define an App Group Identifier for the application and set it with `[Bi...
{ "content_hash": "fb9d474402cbaa227e9a22ec87e43ff5", "timestamp": "", "source": "github", "line_count": 116, "max_line_length": 348, "avg_line_length": 74.89655172413794, "alnum_prop": 0.8108885819521179, "repo_name": "bit6/bit6-ios-sdk", "id": "ce13be2d46b3cb33f176a117eaf940a5a58974e4", "size": "8...
namespace Azure.Graph.Rbac.Models { /// <summary> Request parameters for updating an existing work or school account user. </summary> public partial class UserUpdateParameters : UserBase { /// <summary> Initializes a new instance of UserUpdateParameters. </summary> public UserUpdateParameter...
{ "content_hash": "48d8e76e8942ccf8cba331d41691f20a", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 140, "avg_line_length": 46.916666666666664, "alnum_prop": 0.6412078152753108, "repo_name": "Azure/azure-sdk-for-net", "id": "1a8b06fa5d1c18781d7bcb758502124c9408f858", "siz...
import os import sys sys.path.insert(0, os.path.abspath('../..')) # -- General configuration ------------------------------------------------ # If your documentation needs a minimal Sphinx version, state it here. # # needs_sphinx = '1.0' # Add any Sphinx extension module names here, as strings. They can be # extens...
{ "content_hash": "5d14602da3c357e01a03e5e02579a6a6", "timestamp": "", "source": "github", "line_count": 138, "max_line_length": 78, "avg_line_length": 29.3768115942029, "alnum_prop": 0.6566354218056241, "repo_name": "byllyfish/pylibofp", "id": "382632a31df23cdda16663a95f8e9aec6e8768a8", "size": "47...
<?php declare(strict_types=1); namespace Vonage\Voice\NCCO; use InvalidArgumentException; use Vonage\Voice\Endpoint\EndpointFactory; use Vonage\Voice\NCCO\Action\ActionInterface; use Vonage\Voice\NCCO\Action\Connect; use Vonage\Voice\NCCO\Action\Conversation; use Vonage\Voice\NCCO\Action\Input; use Vonage\Voice\NC...
{ "content_hash": "1da94f9950f7eb03c6cff9e5d9d9b119", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 100, "avg_line_length": 30.39622641509434, "alnum_prop": 0.5760397268777157, "repo_name": "Nexmo/nexmo-php", "id": "27f4a530adb5ef7911ef5a4ce782be61408fa501", "size": "1826...
class <%= class_name %>Classifier < ApplicationService end
{ "content_hash": "8dbd326cbc58cef0d56e9c01dbddfd91", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 54, "avg_line_length": 20, "alnum_prop": 0.75, "repo_name": "yuma300/railsenginetest", "id": "976750b6fb233879f63535e3678adc7e2afa6bac", "size": "60", "binary": false, "...
import sys sys.path.insert(1,"../../") import h2o from tests import pyunit_utils def scale_pca_rf_pipe(): from h2o.transforms.preprocessing import H2OScaler from h2o.transforms.decomposition import H2OPCA from h2o.estimators.random_forest import H2ORandomForestEstimator from sklearn.pipeline import Pipeline ...
{ "content_hash": "10e314c7958eda19f078bf6bb0a6e710", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 144, "avg_line_length": 40.85333333333333, "alnum_prop": 0.7033289817232375, "repo_name": "michalkurka/h2o-3", "id": "111c5b1286557d763ca839da55f51c94bf2a3d62", "size": "30...
DROP FUNCTION IF EXISTS account.can_register_with_google(); CREATE FUNCTION account.can_register_with_google() RETURNS boolean AS $$ BEGIN IF EXISTS ( SELECT 1 FROM account.configuration_profiles WHERE is_active AND allow_registration AND allow_google_registration ) THEN ...
{ "content_hash": "5dd240d09f4f2b1421869972ab02adf2", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 59, "avg_line_length": 18.952380952380953, "alnum_prop": 0.6658291457286433, "repo_name": "nubiancc/frapid", "id": "5b6b8cedebc658a7d871e8c9c5d3052c308652ea", "size": "398"...
<?php use yii\apidoc\helpers\ApiMarkdown; use yii\apidoc\models\ClassDoc; use yii\apidoc\models\InterfaceDoc; use yii\apidoc\models\TraitDoc; use yii\apidoc\templates\bootstrap\ApiRenderer; use yii\web\View; /* @var ClassDoc[]|InterfaceDoc[]|TraitDoc[] $types */ /* @var string|null $readme */ /* @var View $this */ /...
{ "content_hash": "443c15b9fa7adfa0eb29d94b9b991f48", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 92, "avg_line_length": 25.09090909090909, "alnum_prop": 0.5869565217391305, "repo_name": "yiisoft/yii2-apidoc", "id": "95f91e4db3b27dbf8b8808c5303521b4c8fb153d", "size": "1...
<html dir="LTR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" /> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" /> <title>Next Method</title> <xml> </xml> <link rel="stylesheet" type="text/css" href="MSDN.css" /> ...
{ "content_hash": "ad9be5a5f6f27db6f3a0138fe4b572cd", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 161, "avg_line_length": 35.791666666666664, "alnum_prop": 0.5628637951105937, "repo_name": "Mpdreamz/lucene.net", "id": "71d0c1d5554e90a0ab237bf3ae4d243cc13e9c57", "size": ...
package io.aos.endpoint.socket.nio.fwk2; /* * @(#)RequestHandler.java 1.5 10/03/23 * * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * ...
{ "content_hash": "12e1ef0902135fd43406565f94592871", "timestamp": "", "source": "github", "line_count": 197, "max_line_length": 79, "avg_line_length": 27.482233502538072, "alnum_prop": 0.657739194680458, "repo_name": "XClouded/t4f-core", "id": "09ead75383b450ebfad1516725ff3ccbc2479353", "size": "66...
<?php /** * @author Łukasz Pior <pior.lukasz@gmail.com> */ namespace Seven\RpcBundle\Tests\Transport; class TransportCurlTest extends \PHPUnit_Framework_TestCase { /** * @expectedException \Seven\RpcBundle\Rpc\Exception\CurlTransportException * * @dataProvider providerMakeRequestWithCurlError ...
{ "content_hash": "41dc7fdaa4eefabfe44e44453355ff73", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 138, "avg_line_length": 31.714285714285715, "alnum_prop": 0.6216216216216216, "repo_name": "skolodyazhnyy/symfony-rpc-bundle", "id": "4bb4c8a029e5e2a3e0ca2cac1af8c194a27dfcd7...
package com.sap.belajar.domain; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name="role") public class Role { @Id @GeneratedValue @Column(name="id") pri...
{ "content_hash": "e0c0166c62d3303607ddedec4bb3d55c", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 49, "avg_line_length": 22.15068493150685, "alnum_prop": 0.7340754483611627, "repo_name": "adityapratama/spring-mvc-template", "id": "58431c8a3b2dd3eeea752107f2c64205a0eab635"...
'use strict'; const fs = require('fs'); const path = require('path'); const Readable = require('stream').Readable; // Parameters for safe file name parsing. const SAFE_FILE_NAME_REGEX = /[^\w-]/g; const MAX_EXTENSION_LENGTH = 3; // Parameters which used to generate unique temporary file names: const TEMP_...
{ "content_hash": "ecb20b71a48f78880a97061adf006275", "timestamp": "", "source": "github", "line_count": 273, "max_line_length": 98, "avg_line_length": 31.318681318681318, "alnum_prop": 0.643859649122807, "repo_name": "aguerny/LacquerTracker", "id": "9ff2d60783fd2a6caea156b92b6b095ac72cd586", "size"...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace WebAPIs.Controllers { public class HomeController : Controller { public ActionResult Index() { ViewBag.Title = "Home Page"; return View(); } ...
{ "content_hash": "e6fca634906e26d5faa1c2491fff6392", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 44, "avg_line_length": 18.055555555555557, "alnum_prop": 0.6184615384615385, "repo_name": "Everstar/HospitalManageSystem", "id": "13714e91c5d19e45cbcb28db13f2336322c43f09", ...
Contributions are **welcome** and will be fully **credited**. I am accepting contributions via Pull Requests on [Github](https://github.com/adrianmejias/laravel-zipbomb). ## Pull Requests - **[PSR-2 Coding Standard](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)** - The ea...
{ "content_hash": "fccbb10b09e97fee650f3ae80d3270b4", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 302, "avg_line_length": 49, "alnum_prop": 0.7407407407407407, "repo_name": "adrianmejias/laravel-zipbomb", "id": "551103f11873760352899f1dad93f996b1f6c1e2", "size": "1339",...
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="refresh" content="0;URL=../../../libc/constant.POLLWRBAND.html"> </head> <body> <p>Redirecting to <a href="../../../libc/constant.POLLWRBAND.html">../../../libc/constant.POLLWRBAND.html</a>...</p> <script>location.replace("../../../libc/constant.POLL...
{ "content_hash": "d5c0bee600b976107debbfd31272e1b6", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 120, "avg_line_length": 39.3, "alnum_prop": 0.6361323155216285, "repo_name": "IllinoisRoboticsInSpace/Arduino_Control", "id": "4724c50916ba948c249e2d489c028e8f1ddab1ac", "s...
ACCEPTED #### According to Integrated Taxonomic Information System #### Published in null #### Original name null ### Remarks null
{ "content_hash": "afc6103f0fbec83d12fbde9f5beb14a5", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.7238805970149254, "repo_name": "mdoering/backbone", "id": "5774c7c323614a1c571b98d6292604c914195511", "size": "17...
import logging import logging.config import pandas as pd import numpy as np from gmsdk import * class TurtleStrategy(StrategyBase): def __init__(self, *args, **kwargs): super(TurtleStrategy, self).__init__(*args, **kwargs) self.__get_param__() self.__init_data__() def __get_param__(se...
{ "content_hash": "606030dbff985f1120bafb82be18fc40", "timestamp": "", "source": "github", "line_count": 109, "max_line_length": 161, "avg_line_length": 33.68807339449541, "alnum_prop": 0.5343137254901961, "repo_name": "wl41089496/strategy", "id": "a434711b4af002c51570fa6ccc686f91490bdcb4", "size": ...
>- How is it handled? >- How does it work? >- Garbage collection? >- Automatic reference counting? ## Python Python handles memory management internally through the "Python Memory Manager". This manager is a private heap that contains all python objects and data structures. Because Python is not a standardized langua...
{ "content_hash": "974b866410031a530a039721d8d48a07", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 370, "avg_line_length": 68.35, "alnum_prop": 0.7856620336503292, "repo_name": "PercyODI/PythonCSharpOOComparison", "id": "803a01700c32a77adc3ecaebe250b6cf33aa8c23", "size":...
<!-- ~ Copyright 1998-2020 Linux.org.ru ~ 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 ...
{ "content_hash": "923b3a0b26b949d025746e21d9968c1c", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 79, "avg_line_length": 44.107142857142854, "alnum_prop": 0.668825910931174, "repo_name": "maxcom/lorsource", "id": "6991f0b946c79ee36a844864bab5a9279003520b", "size": "1235...
require 'spec_helper' RSpec.describe Starling::Services::TransactionsService do let(:client) { Starling::Client.new(access_token: 'dummy_access_token') } subject(:service) { client.transactions } before { stub_user_agent } describe '#list' do subject(:transactions) { service.list } let(:status) { 20...
{ "content_hash": "3b716bca5cea80e87a01a0aeeac3d925", "timestamp": "", "source": "github", "line_count": 111, "max_line_length": 88, "avg_line_length": 35.972972972972975, "alnum_prop": 0.5780115201602805, "repo_name": "timrogers/starling-ruby", "id": "b4d9c256efe10c5e855d1f801406a276b930f1b4", "siz...
<? function GetCategories() { global $pdo; $Categories = []; foreach($pdo->query('SELECT * FROM tipos_productos') as $Category) { $Categories[$Category['tipo_producto_id']] = $Category; } return $Categories; } function GetActions() { global $pdo; $Categories = []; foreach($pdo->query('SE...
{ "content_hash": "0739774a77c6640898a8568f060839ec", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 103, "avg_line_length": 23.924242424242426, "alnum_prop": 0.5870804306523116, "repo_name": "DimasAriel/Inmobi-Itla", "id": "3d85a3d1fc02e9f2cde5bf7b0d40047a0a0c3e3e", "size...
<?xml version="1.0" encoding="UTF-8"?> <configuration> <!-- Just used while running in process while developing --> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> <pattern> %d{HH:mm:ss.SSS} [%thread] %-5level %logger{5} - %msg%n </pattern> </encoder> </...
{ "content_hash": "2bac0205b3feb26926e58192fdfd6973", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 86, "avg_line_length": 30.508474576271187, "alnum_prop": 0.6544444444444445, "repo_name": "mitre/ptmatchadapter", "id": "86ac1d294a217b0fbdad3286f3b72459cd3da13e", "size": ...
#pragma once #if ENABLE(WEBGPU) #include "GPUDevice.h" #include <wtf/RefCounted.h> namespace WebCore { class WebGPURenderingContext; class WebGPUObject : public RefCounted<WebGPUObject> { public: virtual ~WebGPUObject(); void deleteObject(GPUDevice*); bool isDeleted() const { return m_deleted; } ...
{ "content_hash": "feb3544641457bbd0bab1ebeda26677f", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 65, "avg_line_length": 17.38888888888889, "alnum_prop": 0.7060702875399361, "repo_name": "gubaojian/trylearn", "id": "de2a73201be144af544048735dc97e52043736e7", "size": "19...
BASH_RC=~/.bashrc GODOT_BUILD_TOOLS_PATH=./godot-dev/build-tools mkdir -p $GODOT_BUILD_TOOLS_PATH cd $GODOT_BUILD_TOOLS_PATH ANDROID_BASE_URL=http://dl.google.com/android/repository ANDROID_SDK_RELEASE=4333796 ANDROID_SDK_DIR=android-sdk ANDROID_SDK_FILENAME=sdk-tools-linux-$ANDROID_SDK_RELEASE.zip ANDROID_SDK_URL=$A...
{ "content_hash": "15e7f0476ee49ebb4725297d83fef2f8", "timestamp": "", "source": "github", "line_count": 96, "max_line_length": 96, "avg_line_length": 31.96875, "alnum_prop": 0.7096774193548387, "repo_name": "Paulloz/godot", "id": "6114551861c17d8fbf255521dca6aa5cf640dc1f", "size": "3537", "binary...
package trivia; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Unit test for simple App. */ public class AppTest extends TestCase { /** * Create the test case * * @param testName name of the test case */ public AppTest( String t...
{ "content_hash": "37ff7c57b5d81e74dcd6e425ad9849d8", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 46, "avg_line_length": 16.68421052631579, "alnum_prop": 0.5694006309148265, "repo_name": "JoaGardiola/ProyectoTrivia", "id": "ef239acfec81e62cf8c132c4368a3f7b24e42623", "si...
 #pragma once #include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace KinesisAnalytics { namespace Model { ...
{ "content_hash": "f17d100416adec259966da79c85701ca", "timestamp": "", "source": "github", "line_count": 134, "max_line_length": 132, "avg_line_length": 32.634328358208954, "alnum_prop": 0.6761948319231649, "repo_name": "JoyIfBam5/aws-sdk-cpp", "id": "d78ca1cdfb08f3b472767d973efb1ab4b3d3f778", "size...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_16) on Mon Jun 28 12:45:09 PDT 2010 --> <TITLE> Uses of Class org.apache.hadoop.contrib.index.lucene.ShardWriter (Hadoop 0.20.2+320 API) </TITLE> <M...
{ "content_hash": "b4ea17ccb79e4199194d2df4b0b57187", "timestamp": "", "source": "github", "line_count": 144, "max_line_length": 251, "avg_line_length": 43.236111111111114, "alnum_prop": 0.6108255701895278, "repo_name": "ryanobjc/hadoop-cloudera", "id": "03f0ff29ea61e7171c2babffdd8d4210099ce857", "s...
import { moduleFor, test } from 'ember-qunit'; moduleFor('service:browser', 'Unit | Service | browser', { // Specify the other units that are required for this test. // needs: ['service:foo'] }); // Replace this with your real tests. test('it exists', function(assert) { let service = this.subject(); assert.ok...
{ "content_hash": "94c3508ba6276ed9629f38d0405655c7", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 61, "avg_line_length": 27.916666666666668, "alnum_prop": 0.6716417910447762, "repo_name": "cball/justa-table", "id": "7725c003e027a6f678b5e5ccf6e7f3cafc04606f", "size": "33...
using System; using System.Linq.Expressions; using System.Reflection; namespace SimpleFixture { /// <summary> /// Interface for customizing how a Type gets created /// </summary> /// <typeparam name="T"></typeparam> public interface ICustomizeModel<T> { /// <summary> /// Provid...
{ "content_hash": "22b5f7d8b454672f6bde34de79c79160", "timestamp": "", "source": "github", "line_count": 145, "max_line_length": 127, "avg_line_length": 48.97931034482759, "alnum_prop": 0.6302450014080541, "repo_name": "ipjohnson/SimpleFixture", "id": "bf9deaf1306a8a75640ea35f66c96d25e3c6df5a", "siz...
#include <thrift/lib/cpp2/fatal/flatten_getters.h> #include <thrift/test/gen-cpp2/reflection_fatal_types.h> #include <thrift/lib/cpp2/fatal/internal/test_helpers.h> #include <gtest/gtest.h> namespace test_cpp2 { namespace cpp_reflection { using namespace apache::thrift; TEST(flatten_getters, no_terminal_filter)...
{ "content_hash": "826a9582bc307c1ae7ac687e6fffd2aa", "timestamp": "", "source": "github", "line_count": 252, "max_line_length": 79, "avg_line_length": 30.24206349206349, "alnum_prop": 0.6140926387613174, "repo_name": "SergeyMakarenko/fbthrift", "id": "4c6157a1eaa0546f0cc38134b7bf080c93d3408e", "siz...
package io.yawp.servlet.child; import static org.junit.Assert.assertEquals; import io.yawp.repository.models.parents.Child; import java.util.List; import org.junit.Test; public class ChildCustomActionTest extends ChildServletTestCase { @Test public void testOverObject() { Child child = saveChild("...
{ "content_hash": "4dc371e590ece45d2a74dc3d78d8dd56", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 98, "avg_line_length": 32.53061224489796, "alnum_prop": 0.6461731493099122, "repo_name": "danilodeLuca/yawp", "id": "a578a309c502fbe803fe1387a38e04ed2fc510d0", "size": "159...
// Returns all possible slot candidates, sorted by "quality" export function findAllSlotCandidates(particle, slotSpec, arcInfo) { const slotConn = particle.getSlandleConnectionByName(slotSpec.name); return { // Note: during manfiest parsing, target slot is only set in slot connection, if the slot exist...
{ "content_hash": "71df808255ec19b6875d819ada7e1bba", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 193, "avg_line_length": 55.60344827586207, "alnum_prop": 0.7085271317829457, "repo_name": "PolymerLabs/arcs-live", "id": "77517bbe83b3bccecf17bc36f9cc341caf912ee0", "size":...
#ifndef LIBXAOS_CORE_POINTERS_INTERNAL_CONTROLBLOCK_H #define LIBXAOS_CORE_POINTERS_INTERNAL_CONTROLBLOCK_H namespace libxaos { namespace pointers { namespace internal { // an extra namespace.. just to deter outside use //! An enum for differentiating between owners and observers ...
{ "content_hash": "40814e6cb84d2a9ac4ee30f272bc333b", "timestamp": "", "source": "github", "line_count": 85, "max_line_length": 80, "avg_line_length": 37.68235294117647, "alnum_prop": 0.5076490789884484, "repo_name": "CorneliaXaos/libxaos", "id": "faf0460e4d22e83dc245f5dac38578f8181e39e5", "size": "...
.meanUser-example h1 { background-color: purple }
{ "content_hash": "388934ee4cdc9e32b20e139337c11955", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 25, "avg_line_length": 16.666666666666668, "alnum_prop": 0.76, "repo_name": "dianavermilya/rain", "id": "02006571487d3325357dc1dd566617f1f5c80511", "size": "50", "binary":...
from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('main', '0001_initial'), ] operations = [ migrations.CreateModel( name='Item', ...
{ "content_hash": "7b17b5fab89d03ce5401cb49575547ee", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 116, "avg_line_length": 40.27777777777778, "alnum_prop": 0.5577011494252874, "repo_name": "rit-sailing/website", "id": "20d08b798e524fa383cf8a9be9a8011ffa4135eb", "size": "...
// // OpenUpIntersitialWrapper.h // OpenUpSDK // // Created by steve on 2017/4/18. // Copyright © 2017年 liuguojun. All rights reserved. // #import <UIKit/UIKit.h> #import <Foundation/Foundation.h> @protocol OpenUpIntersitialDelegate; @protocol OpenUpIntersitialLoadDelegate; @interface OpenUpIntersitialWrapper : ...
{ "content_hash": "ad8a3db951c869619e775839c37c2571", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 79, "avg_line_length": 19.397260273972602, "alnum_prop": 0.7690677966101694, "repo_name": "guojunliu/AvidlyAdsSDK", "id": "1938f8604129a08a20771f465b17cd7b00a7dfac", "size"...
package org.opensaml.xml.signature.impl; import org.opensaml.xml.schema.impl.XSStringImpl; import org.opensaml.xml.signature.X509IssuerName; /** * Concrete implementation of {@link org.opensaml.xml.signature.X509IssuerName} */ public class X509IssuerNameImpl extends XSStringImpl implements X509IssuerNam...
{ "content_hash": "1c541df214fa603334f15e8bc42975a0", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 104, "avg_line_length": 26.958333333333332, "alnum_prop": 0.7125193199381762, "repo_name": "duck1123/java-xmltooling", "id": "9b85ca81fcad3c28c6c0f8da92e67a0a2b0b569e", "si...
<readable><title>3517362674_0f5296de19</title><content> A girl is blowing bubbles heavily . A little girl closes her eyes and blows through a bubble wand . A little girl with dark hair blowing bubbles . A small girl blows on an orange bubble stick . A young girl is blowing bubbles with an orange bubble wand . </content...
{ "content_hash": "be7efa97ec0c53f51265075a027653b8", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 63, "avg_line_length": 47.42857142857143, "alnum_prop": 0.7801204819277109, "repo_name": "kevint2u/audio-collector", "id": "f4618627e94c47fac42887451e53ba1ec4403a36", "size"...
package com.android.settings.bluetooth; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothClass; import android.bluetooth.BluetoothDevice; import android.bluetooth.BluetoothHeadset; import android.bluetooth.BluetoothProfile; import android.bluetooth.BluetoothUuid; import android.content.Co...
{ "content_hash": "2f7648f53d6d96fb0a4565b1fa2593df", "timestamp": "", "source": "github", "line_count": 204, "max_line_length": 98, "avg_line_length": 35.34313725490196, "alnum_prop": 0.6425797503467406, "repo_name": "craigacgomez/flaming_monkey_packages_apps_Settings", "id": "1caeb65422c3ffe5395cfbb...
package br.com.infowaypi.jheat.usage.servlet; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import br.com.infowaypi.jheat.usage.core.AppManager; public class AuthR...
{ "content_hash": "4443201b9accd00a994313c47e2d27b0", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 110, "avg_line_length": 31.043478260869566, "alnum_prop": 0.8151260504201681, "repo_name": "infoway-ehealth-company/jheatbased-project-usage", "id": "85798db198c2e1431b960ac6...
require 'aws-sdk' module CSI module AWS # This module provides a client for making API requests to AWS OpsWorks. module OpsWorks @@logger = CSI::Plugins::CSILogger.create # Supported Method Parameters:: # CSI::AWS::OpsWorks.connect( # region: 'required - region name to connect (eu-...
{ "content_hash": "27fa651d7fcc77735c4b4604eec6cdc4", "timestamp": "", "source": "github", "line_count": 90, "max_line_length": 190, "avg_line_length": 36.48888888888889, "alnum_prop": 0.5992691839220463, "repo_name": "ninp0/csi", "id": "0aab5b3af64584223940dba432714bda7c378a36", "size": "3315", "...
cv::Mat img_uti::CropResize(cv::Mat& input_image, int image_size){ int org_row = input_image.rows; int org_col = input_image.cols; cv::Mat croped_image; cv::Mat resized_image; cv::Rect crop_reg; if (org_row <= org_col){ int start_col = (org_col - org_row)/2; int end_col = start_col + org_row; crop_reg = c...
{ "content_hash": "230e1890bac71cb7f2f8dfd132d896eb", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 74, "avg_line_length": 26, "alnum_prop": 0.6476923076923077, "repo_name": "polltooh/FineGrainedAction", "id": "19bdc6ad600ff555486e1647d1b236d3063d8eb2", "size": "673", "...
import os from collections import defaultdict from hashlib import sha1 from pants.base.build_environment import get_buildroot from pants.base.hash_utils import CoercingEncoder, json_hash from pants.option.custom_types import UnsetBool, dict_with_files_option, dir_option, file_option class CoercingOptionEncoder(Coerc...
{ "content_hash": "965f4dbae0d85bdd04dd40cdd1da7f94", "timestamp": "", "source": "github", "line_count": 158, "max_line_length": 106, "avg_line_length": 42.962025316455694, "alnum_prop": 0.6208014142604596, "repo_name": "jsirois/pants", "id": "3b577122190f3c3bb203e31e692f37201bea818f", "size": "6920...
package LOL; import java.sql.*; import LOL.Champion.*; import LOL.Item.*; public class DB_Client { // DB variables private Connection conn; private Statement stmt; final int CHAMP_STAT_MAX = 21; final int ITEM_STAT_MAX = 21; public DB_Client(){ try{ Class.forName("com.mysql.jdbc.Dri...
{ "content_hash": "158e80d8c38576b5a3a8166bb8ce0ff6", "timestamp": "", "source": "github", "line_count": 95, "max_line_length": 57, "avg_line_length": 18.410526315789475, "alnum_prop": 0.5288736420811893, "repo_name": "Sensimuse/LoL_Simulator", "id": "497214be41553bbd6724658fb13310f607306d3a", "size...