text
stringlengths
2
1.04M
meta
dict
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using Internal.Text; using Internal.TypeSystem; using Debug = System.Diagnostics.Debug; namespace ILCompiler.Depe...
{ "content_hash": "bb853cb5d0443b9f3d54147168f592ff", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 108, "avg_line_length": 32.96, "alnum_prop": 0.6705097087378641, "repo_name": "yizhang82/corert", "id": "e63087f885e1354aab3beab24e4c60cbb2b6b8f9", "size": "1650", "binar...
#include "string_copy.h" #include "csnan.h" #include <cstring> using namespace v8; namespace node_libxl { StringCopy::StringCopy(String::Utf8Value& utf8Value) { str = new char[strlen(*utf8Value) + 1]; strcpy(str, *utf8Value); } StringCopy::StringCopy(Local<Value> value) { String::Utf8Value utf8Value(...
{ "content_hash": "c729c38577c831c55c46e83177d6b9fe", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 66, "avg_line_length": 15.342857142857143, "alnum_prop": 0.659217877094972, "repo_name": "DirtyHairy/node-libxl", "id": "34d906441ec29b0a4f7a91d48a64ba266eed4059", "size": ...
<?php //---------------------------------------------------------------------- // Copyright (c) 2011-2015 Raytheon BBN Technologies // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and/or hardware specification (the "Work") to // deal in the Work without restriction...
{ "content_hash": "bc6a83b15920dd5a9182adc8176fde8c", "timestamp": "", "source": "github", "line_count": 588, "max_line_length": 259, "avg_line_length": 39.39115646258504, "alnum_prop": 0.6129436145410586, "repo_name": "charliemeyer/geni-portal", "id": "209deb9815ac8af73afa97dc4c965278ffb5de2c", "si...
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width" /> <link rel="shortcut icon" type="image/x-icon" href="../../../../favicon.ico" /> <title>...
{ "content_hash": "7911f7f0b1dbf2c6678c1d449aeefecb", "timestamp": "", "source": "github", "line_count": 1842, "max_line_length": 258, "avg_line_length": 37.84419109663409, "alnum_prop": 0.5680184768107418, "repo_name": "terrytowne/android-developer-cn", "id": "bf8481941a811b37082ad5264e2a6f6635341b63...
`Setting<T>` is the base class for all global setting `ScriptableObject`. All the `ScriptableObject` will be stored in a single folder that can be configured for each project. `PathSetting` is the `ScriptableObject` that contains the path of the folder that all other setting objects will be stored in. The `PathSetting...
{ "content_hash": "d0475b04afae1aa4d236e7f956c11508", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 342, "avg_line_length": 49.48148148148148, "alnum_prop": 0.7919161676646707, "repo_name": "minhhh/UBootstrap.Core", "id": "ca29cd709e0c60c6569017d837712e32243092e9", "size"...
<?php namespace Page; use Behat\Mink\Session; use Behat\Mink\Element\NodeElement; use SensioLabs\Behat\PageObjectExtension\PageObject\Exception\ElementNotFoundException; /** * PageObject for a single notification */ class Notification extends OwncloudPage { /** * * @var NodeElement */ private $notificati...
{ "content_hash": "257ca9d0c900ab966310914cbbbed0c0", "timestamp": "", "source": "github", "line_count": 90, "max_line_length": 87, "avg_line_length": 24.27777777777778, "alnum_prop": 0.6823798627002289, "repo_name": "phil-davis/core", "id": "f903e9bdc24261257718cccabf55a38b1c9a2e8c", "size": "2976"...
/* $Id: APISanityIT.java 1493838 2013-06-17 16:31:02Z piergiorgio $ */ /** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to Yo...
{ "content_hash": "1e42797fac231dc108cc6612a500f7dc", "timestamp": "", "source": "github", "line_count": 662, "max_line_length": 162, "avg_line_length": 37.94259818731118, "alnum_prop": 0.6951190381399793, "repo_name": "Zamrath/Sample", "id": "c6c074c11c3009743a29a959bc0be72ddbd5eccb", "size": "2511...
package com.facebook.buck.jvm.java.intellij; import static com.facebook.buck.jvm.java.intellij.SerializableAndroidAar.createSerializableAndroidAar; import static com.facebook.buck.jvm.java.intellij.SerializableIntellijSettings.createSerializableIntellijSettings; import static com.facebook.buck.rules.BuildablePropert...
{ "content_hash": "53c79f9b930f0d75323bec5aa6ced2f9", "timestamp": "", "source": "github", "line_count": 1162, "max_line_length": 114, "avg_line_length": 40.66006884681583, "alnum_prop": 0.6972506190869262, "repo_name": "liuyang-li/buck", "id": "d0ab53b4bb27170c5e02c518a7dc7ff74bbed820", "size": "47...
package com.wthfeng.learn.pattern.singleton; /** * 饿汉模式变种 * 都是在类被加载时创建的对象,由jvm保证其线程安全 * 缺点:如果这个类被多次加载的话也会造成多次实例化,即该方法类不能被加载多次 */ public class SimpleSingleton { private static SimpleSingleton simpleSingleton; private SimpleSingleton() { } static { simpleSingleton = new SimpleSingleton(); ...
{ "content_hash": "549917f3493d95add21e730bea065297", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 51, "avg_line_length": 17.869565217391305, "alnum_prop": 0.6958637469586375, "repo_name": "wangtonghe/learn-sample", "id": "4d52da660547bfe7adf7c6aa271dd1f0da071be7", "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.4.2_11) on Mon Jul 12 21:36:56 CEST 2010 --> <TITLE> org.apache.fop.render.pdf (Apache FOP 1.0 API) </TITLE> <META NAME="keywords" CONTENT="org.apache.f...
{ "content_hash": "c2d022d54a6da0700e077c3633d1c3c6", "timestamp": "", "source": "github", "line_count": 292, "max_line_length": 250, "avg_line_length": 54.24315068493151, "alnum_prop": 0.6688553570301156, "repo_name": "kezhong/XML", "id": "3a096a9ce882e701041385a93c9f877dadc7f4bf", "size": "15839",...
package oauthorize.grants import oauthorize.utils._ import oauthorize.model._ import oauthorize.service._ import oauth2.spec.Req._ import oauth2.spec.AccessTokenErrors._ import oauth2.spec._ import oauth2.spec.model._ import scala.concurrent.Future import scala.concurrent.ExecutionContext class RefreshTokenEndpoint( ...
{ "content_hash": "ad85d8c34dc52eb4cf38f48cb26ba974", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 165, "avg_line_length": 41.15384615384615, "alnum_prop": 0.6930841121495327, "repo_name": "adaptorel/oauthorize", "id": "f3713157b51dc4bb13b207a55672e363c5fcbe5c", "size": ...
using HFEA.Connector.Contracts.UserFeedback; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HFEA.Connector.Contracts.Clients { public interface IPortalUserFeedbackClient { List<ExperienceSubmissionQuestion> GetExperienceSub...
{ "content_hash": "72d0d8feb00a063432c4fab9092e69c6", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 73, "avg_line_length": 24.5, "alnum_prop": 0.7900874635568513, "repo_name": "hfea/Website-Public", "id": "5d88f12bd8554348ba66c32883aae444157eb1a6", "size": "345", "binar...
# JS / Algo ## Regular Expressions *Pre-requisites: lesson 8* *ECV Digital - 7/01/2016* This course is just a sumup in slides of this [very interesting course](http://eloquentjavascript.net/09_regexp.html) <!-- .element: target="_blank" --> --- ## Creating RegExp In javascript, you can write a regexp in two differen...
{ "content_hash": "ea6cccb1e54636e536e349e436a666f2", "timestamp": "", "source": "github", "line_count": 219, "max_line_length": 174, "avg_line_length": 31.013698630136986, "alnum_prop": 0.6793286219081273, "repo_name": "morgangiraud/ecvd-js", "id": "07fb6712090b80ff2d3b02d03b3d26e5f51c9fd3", "size"...
package e2e import ( "fmt" "sort" "time" "github.com/GoogleCloudPlatform/kubernetes/pkg/api" "github.com/GoogleCloudPlatform/kubernetes/pkg/client" "github.com/GoogleCloudPlatform/kubernetes/pkg/util" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" ) var _ = Describe("Services", func() { var c *cli...
{ "content_hash": "4e3263c1d3923b89ce356c1c17b4b0f6", "timestamp": "", "source": "github", "line_count": 346, "max_line_length": 145, "avg_line_length": 27.196531791907514, "alnum_prop": 0.6363443145589798, "repo_name": "nvoron23/kubernetes", "id": "af003e51376aedc72087fc740f9264dbfd3916de", "size":...
.class Lcom/android/server/LockSettingsStorage$DatabaseHelper; .super Landroid/database/sqlite/SQLiteOpenHelper; .source "LockSettingsStorage.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/android/server/LockSettingsStorage; .end annotation .annotation system Ldalvik/annot...
{ "content_hash": "4d6657ee14deda7961630388f1082078", "timestamp": "", "source": "github", "line_count": 118, "max_line_length": 191, "avg_line_length": 28.60169491525424, "alnum_prop": 0.7576296296296297, "repo_name": "BatMan-Rom/ModdedFiles", "id": "d9fca784d7c3d72b4217d248e41333d9471dd4ab", "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_22) on Sun Aug 26 15:13:09 EDT 2012 --> <TITLE> SlickXMLException (Slick - The 2D Library) </TITLE> <META NAME="date" CONTENT="2012-08-26">...
{ "content_hash": "d09a950d70f2c62b1cf8c99fe9f173bd", "timestamp": "", "source": "github", "line_count": 272, "max_line_length": 211, "avg_line_length": 44.24264705882353, "alnum_prop": 0.6224862888482633, "repo_name": "dxiao/PPBunnies", "id": "a7936419c305fa3b8777bcaad5c416b19c4cbb0f", "size": "120...
var mongoose = require('mongoose'), Schema = mongoose.Schema, ObjectId = Schema.ObjectId; var messureSchema = Schema({ volume: Number, cityid: String, created: { type: Date, default: Date.now }, city: String }, { collection: 'messures' }); module.exports = mongoose.model('Messure', messureSchema);
{ "content_hash": "8e10ad309d964f52b4a8110ca5aeb270", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 58, "avg_line_length": 22.857142857142858, "alnum_prop": 0.678125, "repo_name": "BuenosAiresIOT-CBA/NoiseMatch", "id": "2da34dfc9682fc73823a32bead00c65b2de5dbac", "size": "...
project_path: /web/fundamentals/_project.yaml book_path: /web/fundamentals/_book.yaml description: Thanks to mobile device and network proliferation, more people are using the web than ever before. As this user base grows, performance is more important than ever. In this article, find out why performance matters, and l...
{ "content_hash": "8f812e8a4127ca901c5b82bad3dfc078", "timestamp": "", "source": "github", "line_count": 340, "max_line_length": 291, "avg_line_length": 56.92941176470588, "alnum_prop": 0.7952056209960736, "repo_name": "lucab85/WebFundamentals", "id": "19cc99f579a287d6b47dee358bba7821aaa54180", "siz...
package org.cryptoworkshop.ximix.node.mixnet.service; import org.bouncycastle.asn1.ASN1Encodable; import org.cryptoworkshop.ximix.common.asn1.message.BoardCapabilities; import org.cryptoworkshop.ximix.common.asn1.message.CapabilityMessage; /** * Simple class for providing lookup of board presence based on caoabilit...
{ "content_hash": "d24dcf645f44d1e2df3ca1a62d2eba54", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 84, "avg_line_length": 25.8, "alnum_prop": 0.6932447397563677, "repo_name": "cwgit/ximix", "id": "378d7ff8d9c4e5517fdb3cffdade8b277eba9b01", "size": "1512", "binary": fal...
package io.fabric8.api; import org.junit.Assert; import org.junit.Test; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; public class DynamicReferenceTest { @Test public void testWithReference() { DynamicReference<String> dyn...
{ "content_hash": "9bd8fd6001e8c6bb7ce6c9735e96c25e", "timestamp": "", "source": "github", "line_count": 97, "max_line_length": 110, "avg_line_length": 31.422680412371133, "alnum_prop": 0.5462598425196851, "repo_name": "alexeev/jboss-fuse-mirror", "id": "5c909fa767b9ed2156edd6e6c1ab82996fd46246", "s...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/bigquery/datatransfer/v1/datatransfer.proto package com.google.cloud.bigquery.datatransfer.v1; /** * * * <pre> * A request to start manual transfer runs. * </pre> * * Protobuf type {@code google.cloud.bigquery.datatransfer.v1....
{ "content_hash": "9cb62e664d8548fa7af72ecff5db0b80", "timestamp": "", "source": "github", "line_count": 2528, "max_line_length": 134, "avg_line_length": 33.94897151898734, "alnum_prop": 0.6297496009228295, "repo_name": "googleapis/java-bigquerydatatransfer", "id": "9ac68ad626e12111e62645949e1567b9a0b...
layout: global displayTitle: One Hot Encoder title: One Hot Encoder description: One Hot Encoder usesMathJax: true includeOperationsMenu: true --- Maps a column of category indices to a column of binary vectors. This operation is ported from Spark ML. For a comprehensive introduction, see <a target="_blank" href="ht...
{ "content_hash": "7938a7e5e444092a0669afecd6996af4", "timestamp": "", "source": "github", "line_count": 85, "max_line_length": 408, "avg_line_length": 26.388235294117646, "alnum_prop": 0.6879179670084707, "repo_name": "deepsense-io/seahorse-workflow-executor", "id": "739258022bdfbe806a0fde174a7de5989...
<?php namespace Invoker\ParameterResolver\Container; use Interop\Container\ContainerInterface; use Invoker\ParameterResolver\ParameterResolver; use ReflectionFunctionAbstract; /** * Inject entries from a DI container using the type-hints. * * @author Matthieu Napoli <matthieu@mnapoli.fr> */ class TypeHintContain...
{ "content_hash": "d535f0145bdf7d310f42842d0a72bd84", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 91, "avg_line_length": 27.19607843137255, "alnum_prop": 0.6524873828406633, "repo_name": "christophbuehler/onyx", "id": "65a407949759f425ef140cdc5587bd0ebf3eeda1", "size": ...
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 3.0.12 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * -----------------------------...
{ "content_hash": "7803e91e8089837b5955decba0e3bc3c", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 89, "avg_line_length": 29.545454545454547, "alnum_prop": 0.6502564102564102, "repo_name": "symeonmattes/pjsip", "id": "e3155c45b7e122b252967b2a6fd29d6e224c4b4e", "size": "1...
<h1>Angular 2 skeleton !!!</h1> <hello name="Matthias"></hello>
{ "content_hash": "14073846d3e657dee2f4695fd55e34d8", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 31, "avg_line_length": 21.333333333333332, "alnum_prop": 0.65625, "repo_name": "mattjmattj/ng2-skeleton", "id": "707b318dd5c6cbe37b7622b2f9c7a7ae8106a410", "size": "64", "...
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="ProjectModuleManager"> <modules> <module fileurl="file://$PROJECT_DIR$/.idea/Gulp-with-foundation-and-sass.iml" filepath="$PROJECT_DIR$/.idea/Gulp-with-foundation-and-sass.iml" /> </modules> </component> </project>
{ "content_hash": "4ce1cc60edd18eb1deaf94998fb4a48a", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 152, "avg_line_length": 38.75, "alnum_prop": 0.6806451612903226, "repo_name": "CharlieGreenman/react-demo1", "id": "3e36c5f48f23ecf3e6a3df0fa43fabff99e2d3ad", "size": "310",...
<!doctype html> <html> <head> <title>Screenshotter test</title> <script src="/katex.js" type="text/javascript"></script> <link href="/katex.css" rel="stylesheet" type="text/css"> <style type="text/css"> #math, #pre, #post { font-size: 4em; } body { font-family: "DejaV...
{ "content_hash": "d5b5a41867fa08dea1f4670aadf41b30", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 70, "avg_line_length": 28.547619047619047, "alnum_prop": 0.5379482902418682, "repo_name": "gavin66/blog", "id": "4da2a8b8f98ae1bffc4e2285e73c19fc4d96073f", "size": "1199", ...
/* * 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": "133a5739ff119d54cd66e80fab1ff066", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 85, "avg_line_length": 26.94871794871795, "alnum_prop": 0.7145575642245481, "repo_name": "stewartpark/presto", "id": "e28e982953257eec37a2dc3b950082683b87fc72", "size": "10...
package com.google.security.zynamics.reil.translators.mips; import com.google.security.zynamics.reil.OperandSize; import com.google.security.zynamics.reil.ReilHelpers; import com.google.security.zynamics.reil.ReilInstruction; import com.google.security.zynamics.reil.translators.IInstructionTranslator; import com.googl...
{ "content_hash": "c3395eb4735d751e8daa73ab1b769f0b", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 98, "avg_line_length": 46.7906976744186, "alnum_prop": 0.7664015904572564, "repo_name": "google/binnavi", "id": "c41026fa39f0560eaba665a9cd771817fb470f40", "size": "2601", ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd"> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Y</title> <link rel="stylesheet" href="doc.css" type="text/css"> </head> <body> <h1>Y</h1> <dl> <...
{ "content_hash": "403cfef508fd244b192d90ddb4715200", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 120, "avg_line_length": 36.054545454545455, "alnum_prop": 0.626828038325769, "repo_name": "tangentstorm/picolisp", "id": "a15140ec4defd54ba648feaab6978386e6a16262", "size":...
namespace Slot { partial class MainForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name...
{ "content_hash": "18eea8739c094769a9bc1e87f6a51b7f", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 140, "avg_line_length": 42.12, "alnum_prop": 0.6141183918961697, "repo_name": "vorov2/slot", "id": "8c8029a5a43e697fa66356293a219e9079a80585", "size": "3161", "binary": f...
#include <sys/cdefs.h> __FBSDID("$FreeBSD$"); /* * Authors: * Christian König <deathsimple@vodafone.de> */ #include <dev/drm2/drmP.h> #include "radeon.h" int radeon_semaphore_create(struct radeon_device *rdev, struct radeon_semaphore **semaphore) { int r; *semaphore = malloc(sizeof(struct radeon_se...
{ "content_hash": "463cab1dc281a1e045164d887f220302", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 77, "avg_line_length": 26.11, "alnum_prop": 0.6729222520107239, "repo_name": "jhbsz/OSI-OS", "id": "717a94a482db5c57d3899acb059bcadd7248ac49", "size": "3814", "binary": ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using ProjectTracker.DAL.Entity.ProjectEntity; namespace ProjectTracker.DAL.Entity.ResourceEntity { public class Resource : BaseEntity { public string FirstName { get; set; } public string Name { g...
{ "content_hash": "7c43a0941c636d3e1f2fe98bfdb46f5e", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 77, "avg_line_length": 28.529411764705884, "alnum_prop": 0.7175257731958763, "repo_name": "cedricjacobs/extant-cringe", "id": "a6e872d068788b618c1b79dc04c9d6e892d3e41a", "s...
<?php namespace Doctrine\Common\DataFixtures\Purger; use Doctrine\ORM\EntityManager; use Doctrine\ORM\Internal\CommitOrderCalculator; use Doctrine\ORM\Mapping\ClassMetadata; /** * Class responsible for purging databases of data before reloading data fixtures. * * @author Jonathan H. Wage <jonwage@gmail.com> */ ...
{ "content_hash": "dc2402a11df2e90f7b03d39abb26e026", "timestamp": "", "source": "github", "line_count": 113, "max_line_length": 98, "avg_line_length": 28.58407079646018, "alnum_prop": 0.5603715170278638, "repo_name": "BEmmanuel/BlogBundle4Symfony", "id": "a580c1f7f07644d8a59a0e56cdde7ef0c0fcee89", ...
<?php namespace Hubzero\Form; use Exception; use Lang; // Detect if we have full UTF-8 and unicode PCRE support. if (!defined('JCOMPAT_UNICODE_PROPERTIES')) { define('JCOMPAT_UNICODE_PROPERTIES', (bool) @preg_match('/\pL/u', 'a')); } /** * Form Rule class. * * Inspired by Joomla's JFormRule class * * @todo ...
{ "content_hash": "d1009d8c3e381dfc1024cffeca7f8fa4", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 122, "avg_line_length": 28.54794520547945, "alnum_prop": 0.6396353166986565, "repo_name": "zweidner/framework", "id": "369907a41197ff1da8ea012dee4a1a2249afb48d", "size": "2...
ACCEPTED #### According to Index Fungorum #### Published in Biblthca Mycol. 133: 182 (1990) #### Original name Phaeosphaeria glebosoverrucosa Nograsek ### Remarks null
{ "content_hash": "1a9a9bfb3be55e21297161578d8bec0f", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 13.153846153846153, "alnum_prop": 0.7368421052631579, "repo_name": "mdoering/backbone", "id": "14acd5ea288d5bd931776adfb9658d76368a35a5", "size": "23...
/* runtime.hpp provides C++ runtime support functions when building a pure C * version of yaSSL, user must define YASSL_PURE_C */ #ifndef yaSSL_NEW_HPP #define yaSSL_NEW_HPP #ifdef HAVE_CONFIG_H #include "config.h" #endif #ifdef __sun // Handler for pure virtual functions namespace __Crun { void pure_err...
{ "content_hash": "3e0607367b9837cbb450f06cc77a9174", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 76, "avg_line_length": 16.829268292682926, "alnum_prop": 0.644927536231884, "repo_name": "billwiliams/Yui", "id": "328c8e9e978cd7d1eb8c49eac9f5fd7489001e69", "size": "1441"...
package com.sop4j.base.google.common.util.concurrent; import com.sop4j.base.google.common.annotations.Beta; import java.util.concurrent.ExecutionException; import java.util.concurrent.Executor; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; /** * An object with an operational ...
{ "content_hash": "fa261b81a9e1eeb3a8c7085c3198b519", "timestamp": "", "source": "github", "line_count": 348, "max_line_length": 100, "avg_line_length": 40.37356321839081, "alnum_prop": 0.6874021352313168, "repo_name": "wspeirs/sop4j-base", "id": "a478f757c6d15b8c765e340e3b8916cd2d42a26b", "size": "...
package main import ( "os" "time" "github.com/cloudfoundry/binary-buildpack/src/binary/supply" "github.com/cloudfoundry/libbuildpack" ) func main() { logger := libbuildpack.NewLogger(os.Stdout) buildpackDir, err := libbuildpack.GetBuildpackDir() if err != nil { logger.Error("Unable to determine buildpack ...
{ "content_hash": "9c62f02a8bd498d53c29ae88ec5581da", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 76, "avg_line_length": 22.387755102040817, "alnum_prop": 0.6818596171376481, "repo_name": "cloudfoundry/binary-buildpack", "id": "d87e8a8c3d06481a0dfccf7166202e9a11537175", ...
import importlib import pianette.config import sys from pianette.Pianette import Pianette from pianette.PianetteArgumentParser import PianetteArgumentParser from pianette.utils import Debug Debug.println("INFO", " ") Debug.println("INFO", " ################################## ") Debug.println("INFO", " | PI...
{ "content_hash": "e1c22ae416ad140a9d607d04d11e935a", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 76, "avg_line_length": 33.648648648648646, "alnum_prop": 0.7132530120481928, "repo_name": "tchapi/pianette", "id": "3dc86c2ec6e724ee83aaa26e05e8506e067dbd26", "size": "1524...
class Project < ActiveRecord::Base belongs_to :user has_many :tasks, -> { order(position: :asc) }, dependent: :destroy validates :name, presence: true, length: { maximum: 250 } end
{ "content_hash": "fae3b8ba0638daff3c8ad9bc1337efed", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 68, "avg_line_length": 31.333333333333332, "alnum_prop": 0.6861702127659575, "repo_name": "fanantoxa/todo-app", "id": "81f8adb3c97576f06c8d2377d2a684e877b4c331", "size": "18...
package org.apache.beam.runners.dataflow.worker.fn; import java.util.concurrent.SynchronousQueue; import java.util.function.Function; import java.util.function.Supplier; import org.apache.beam.model.fnexecution.v1.BeamFnApi; import org.apache.beam.model.fnexecution.v1.BeamFnControlGrpc; import org.apache.beam.model.p...
{ "content_hash": "8c9663e2cbe51fb6de28cdfcac852769", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 97, "avg_line_length": 39.12048192771084, "alnum_prop": 0.7631659993840468, "repo_name": "markflyhigh/incubator-beam", "id": "d701083977721c152e3c364d4a8ffbdc33246595", "si...
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under t...
{ "content_hash": "53af1f71f78afd4917f8a26d0a4b371e", "timestamp": "", "source": "github", "line_count": 90, "max_line_length": 182, "avg_line_length": 37.8, "alnum_prop": 0.7657260435038212, "repo_name": "googleapis/google-api-java-client-services", "id": "7a4cb7ca821a81e9d74b856db014eea4c1226ba7", ...
<?php namespace SEIDS\Arrays; //============================================================================== // PHP SEIDS: Supplementary, Easily Interchangeable Data Structures // // Copyright 2015, Daniel A.C. Martin // Distributed under the MIT License. // (See LICENSE file for details.) //========================...
{ "content_hash": "ab7614bbcbbd90d5b9dde3ea3c80fde6", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 83, "avg_line_length": 38.666666666666664, "alnum_prop": 0.5086206896551724, "repo_name": "daniel-ac-martin/php-seids", "id": "c47f336d7ea29e98b4adb16b21e15f437696cc8f", "s...
var R = require('ramda'); var path = require('path'); var lutils = require('loader-utils'); var svgToReact = require('./index'); var titleCase = require('./util/title-case'); function titleCaseBasename (filepath, delim) { var ext = path.extname(filepath); var base = path.basename(filepath, ...
{ "content_hash": "29e44dd75b1467e4295ba0597fb73f39", "timestamp": "", "source": "github", "line_count": 96, "max_line_length": 96, "avg_line_length": 29.25, "alnum_prop": 0.5541310541310541, "repo_name": "jhamlet/svg-react-loader", "id": "1333e5e9e287e51ad7def5d97576d5458dfd1e45", "size": "2808", ...
get_filename_component( CMAKE_CURRENT_LIST_FILENAME ${CMAKE_CURRENT_LIST_FILE} NAME_WE ) if( ${CMAKE_CURRENT_LIST_FILENAME}_FILE_INCLUDED ) return() endif( ${CMAKE_CURRENT_LIST_FILENAME}_FILE_INCLUDED ) set( ${CMAKE_CURRENT_LIST_FILENAME}_FILE_INCLUDED 1 ) set( proj ITK ) # Sanity checks. if( DEFINED ${proj}_DIR ...
{ "content_hash": "f937b299ad6ea9b9ee2f848d46cc35a6", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 118, "avg_line_length": 35.54794520547945, "alnum_prop": 0.6655105973025048, "repo_name": "matthieuheitz/TubeTK", "id": "b7fd93d3a9b880d6c88508d46551928d60b47428", "size": ...
<?php namespace Drupal\views\Plugin\Derivative; use Drupal\Component\Plugin\Derivative\DeriverBase; use Drupal\Core\Plugin\Discovery\ContainerDeriverInterface; use Drupal\views\Plugin\views\display\DisplayMenuInterface; use Drupal\views\Views; use Drupal\Core\Entity\EntityStorageInterface; use Symfony\Component\Depen...
{ "content_hash": "80e9a6fd979af05523e70e8091e0bae2", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 95, "avg_line_length": 27.565217391304348, "alnum_prop": 0.6798107255520505, "repo_name": "electric-eloquence/fepper-drupal", "id": "7ddca09b3e8195cc270ebff15b5039a361d4c766"...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("02...
{ "content_hash": "da41754958d9c0ceb5275e594644e759", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 84, "avg_line_length": 39.083333333333336, "alnum_prop": 0.744136460554371, "repo_name": "dushka-dragoeva/Telerik", "id": "e14185a4ce5335f8bd8d620523821cc4f0c70564", "size"...
<?php namespace Drupal\views\Tests\Wizard; /** * Tests the ability of the views wizard to specify the number of items per * page. * * @group views */ class ItemsPerPageTest extends WizardTestBase { protected function setUp() { parent::setUp(); $this->drupalPlaceBlock('page_title_block'); } /** ...
{ "content_hash": "0d16ca0e1f9ffc16f9cf5941b5df95b9", "timestamp": "", "source": "github", "line_count": 96, "max_line_length": 134, "avg_line_length": 41.104166666666664, "alnum_prop": 0.6267105930055753, "repo_name": "sukottokun/jenkins-001-001", "id": "58f22a8424686aecfefda2f404b1d2b3a1ced020", "...
const Stream = require('mithril/stream'); const s = require('string-plus'); const Mixins = require('models/mixins/model_mixins'); const PluginConfigurations = require('models/shared/plugin_configurations'); const Routes = require('gen/js-routes'); const Val...
{ "content_hash": "67e9842a870e7f290f484f2132bc1b5c", "timestamp": "", "source": "github", "line_count": 131, "max_line_length": 121, "avg_line_length": 32.37404580152672, "alnum_prop": 0.6547983966045744, "repo_name": "stevem999/gocd", "id": "ae10fb79ac258236753e787cba757d93a876e728", "size": "4842...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Group extends CI_Controller { public function __construct(){ parent::__construct(); $this->load->database(); $this->load->helper('url'); $this->load->model('M_group'); $this->load->model('m_category'); ...
{ "content_hash": "eed9d76beb612bc881f5a74c9ef7e568", "timestamp": "", "source": "github", "line_count": 155, "max_line_length": 98, "avg_line_length": 33.84516129032258, "alnum_prop": 0.5745329775066718, "repo_name": "kokowijanarko/just-for-fun", "id": "0485ce03783d145256a208d01cd95631b272a77f", "s...
package org.apache.ignite.internal.processors.cache.persistence.metastorage; import org.apache.ignite.IgniteCheckedException; import org.apache.ignite.internal.pagemem.PageIdAllocator; import org.apache.ignite.internal.processors.cache.persistence.Storable; /** * */ public class MetastorageDataRow implements Meta...
{ "content_hash": "a208a8df4d0d1a67ae4091cc06b8db41", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 147, "avg_line_length": 20.397727272727273, "alnum_prop": 0.5788300835654596, "repo_name": "BiryukovVA/ignite", "id": "2d7b0a66e47a41282b08f620d49fd93c8ced41ea", "size": "2...
START_ATF_NAMESPACE struct _open_world_success_acwr { char byWorldCode; char szDBName[32]; char szDBIP[17]; char m_byWorldType; }; END_ATF_NAMESPACE
{ "content_hash": "aaf00356797164c7ee7fa718730cf081", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 35, "avg_line_length": 21.444444444444443, "alnum_prop": 0.5958549222797928, "repo_name": "goodwinxp/Yorozuya", "id": "8122b9382fdbd23cb55fe13481e973c18bb14e2b", "size": "34...
<h3>Search <small>Search and filter results</small> </h3> <div class="row"> <div class="col-lg-9"> <div class="form-group mb-xl"> <input type="text" placeholder="Search products, people, apps, etc." class="form-control mb" /> <div class="clearfix"> <button type="button" class="...
{ "content_hash": "8a57c6fd4d875f60f052a437a3f03d8c", "timestamp": "", "source": "github", "line_count": 275, "max_line_length": 259, "avg_line_length": 48.95272727272727, "alnum_prop": 0.43477937899272023, "repo_name": "Bedbug/sportimo_dashboard", "id": "e632c4fccdc47469c361503c90ecf3eab8dfdad3", "...
/** * @fileoverview English strings. * @author fraser@google.com (Neil Fraser) * * After modifying this file, either run "build.py" from the parent directory, * or run (from this directory): * ../i18n/js_to_json.py * to regenerate json/{en,qqq,synonyms}.json. * * To convert all of the json files to .js files...
{ "content_hash": "990d8e0b2086dc3eea9ccefbe320370f", "timestamp": "", "source": "github", "line_count": 1109, "max_line_length": 423, "avg_line_length": 84.2560865644725, "alnum_prop": 0.7473137842465754, "repo_name": "ingegno/Blockly4Arduino", "id": "597e445c686a6b131888aead17f1a86ff912c8b0", "siz...
#include "GLMesh.hpp" RomOpenGL::Mesh::Mesh() { this->_textureID = 0; this->_normalID = 0; this->_materialID = 0; this->_isCgVProgramSet = false; } RomOpenGL::Mesh::~Mesh() { } RomOpenGL::Mesh::MeshEntry::MeshEntry() { this->_indexCount = 0; this->IB = INVALID_OGL_VALUE; this->VB = INVALID_OGL_VALUE; //this...
{ "content_hash": "4ef8021673f3333d86379e80aaa812e4", "timestamp": "", "source": "github", "line_count": 459, "max_line_length": 205, "avg_line_length": 25.363834422657952, "alnum_prop": 0.6899158220237073, "repo_name": "karmalis/Romuva", "id": "359402554171dc17c3cf7feda0c489c69a10be53", "size": "11...
namespace base { class DictionaryValue; } namespace extensions { namespace chrome_manifest_urls { const GURL& GetDevToolsPage(const Extension* extension); } // Stores Chrome URL overrides specified in extensions manifests. struct URLOverrides : public Extension::ManifestData { typedef std::map<const std::string, G...
{ "content_hash": "0bffcaca732107e5f191e613c71f4294", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 77, "avg_line_length": 27.83050847457627, "alnum_prop": 0.743605359317905, "repo_name": "axinging/chromium-crosswalk", "id": "a698c4504194ad8947c33b90f1e879c817d12f7a", "si...
using System; using System.Collections.Generic; using System.Linq; using Microsoft.CodeAnalysis.CSharp; namespace SME.AST.Transform { /// <summary> /// Rebuilds switch statements that are decomposed into GOTO statements. /// </summary> public class RecontructSwitchStatement : IASTTransform { ...
{ "content_hash": "a1f86f0ffe1a8a1797a4366b53ac2d20", "timestamp": "", "source": "github", "line_count": 201, "max_line_length": 144, "avg_line_length": 40.57213930348259, "alnum_prop": 0.5242182709993869, "repo_name": "kenkendk/sme", "id": "001f954a36acf48234cf1b9ee3c0757c1adc73d6", "size": "8157",...
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2015-2016 Rick Wargo. All Rights Reserved. // // Licensed under the MIT License (the "License"). You may not use this file // except in compliance with the License. A copy of the License is located at // http://opensource....
{ "content_hash": "d1a2a855472d691e94aeed09dee543e2", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 107, "avg_line_length": 43.483870967741936, "alnum_prop": 0.6313056379821959, "repo_name": "rickwargo/alexa-skill-template", "id": "7475a817ce73f5cd65c45b05deb111abe4be7ec2",...
#ifndef __PLATFORM_SECURE_LIB_H__ #define __PLATFORM_SECURE_LIB_H__ /** This function provides a platform-specific method to detect whether the platform is operating by a physically present user. Programmatic changing of platform security policy (such as disable Secure Boot, or switch between ...
{ "content_hash": "97c22358270b61a4696cc0f2b766520e", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 83, "avg_line_length": 30.266666666666666, "alnum_prop": 0.7389867841409692, "repo_name": "google/google-ctf", "id": "d645376917cbdc6986b7f4a904b08827d79abde9", "size": "14...
using base::DictionaryValue; using content::BrowserThread; namespace content { struct LoadCommittedDetails; struct FrameNavigateParams; } namespace { static const char kFrontendHostId[] = "id"; static const char kFrontendHostMethod[] = "method"; static const char kFrontendHostParams[] = "params"; static const char k...
{ "content_hash": "bcac659723b510c96559851652ad6a9b", "timestamp": "", "source": "github", "line_count": 1140, "max_line_length": 80, "avg_line_length": 35.507894736842104, "alnum_prop": 0.6818844339039996, "repo_name": "Workday/OpenFrame", "id": "acd7397bd037ed93d328383b7d014fea6ab04cda", "size": "...
@interface ABI43_0_0EXForegroundPermissionRequester : ABI43_0_0EXBaseLocationRequester @end
{ "content_hash": "7241acf0e65228bcae99f4b5bc2b4039", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 86, "avg_line_length": 23.5, "alnum_prop": 0.851063829787234, "repo_name": "exponent/exponent", "id": "8ad1123cd99a10b3162ee01c7dadf233ae12c949", "size": "224", "binary": ...
import { InertiaOptions, PlaybackControls, AnimationOptions, SpringOptions, } from "./types" import { animate } from "." import { velocityPerSecond } from "../utils/velocity-per-second" import { getFrameData } from "framesync" export function inertia({ from = 0, velocity = 0, min, max, ...
{ "content_hash": "467ce0627d8fe30dffd5ee41c6231911", "timestamp": "", "source": "github", "line_count": 110, "max_line_length": 79, "avg_line_length": 27.21818181818182, "alnum_prop": 0.5344021376085505, "repo_name": "InventingWithMonster/redshift", "id": "b4894ef7cadbef561f958d254c45ed0dacc2e58f", ...
package fruit.sim; public class UniformFruitGenerator implements FruitGenerator { public int[] generate(int nplayers, int bowlsize) { int nfruits = nplayers * bowlsize; int[] dist = new int[12]; int unit = nfruits / 12; dist[0] = nfruits - unit * 11; for (int i = 1...
{ "content_hash": "ce0274e61304b8e77c72077ec3b92763", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 60, "avg_line_length": 23.58823529411765, "alnum_prop": 0.5386533665835411, "repo_name": "rymo4/fruitsalad", "id": "5ae4cc588e1e2e08894226512e72c92c136a0ffc", "size": "401"...
var config = new function() { NUM_LEDS = 120, DEFAULT_LAYOUT = 'german' } module.exports.config = config;
{ "content_hash": "a081de9d211f945a297c7633fd15aba6", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 31, "avg_line_length": 14.625, "alnum_prop": 0.6324786324786325, "repo_name": "romanwoessner/rpi_node_wordclock", "id": "a917e4d0cfe2f6e059475133c096386e571fb704", "size": "...
<?php class House_model extends CI_Model { public function __construct() { $this->load->database(); } public function get_house($house_number) { $query = $this->db->get_where('Houses', array('house_id' => $house_number)); return $query->row_array(); } public function get_house_rooms($house_number) { $que...
{ "content_hash": "b1f6866cdbe12c0d5dd47e2952c2f2ed", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 78, "avg_line_length": 25.576923076923077, "alnum_prop": 0.6270676691729323, "repo_name": "tylerbenzing/Chatterbox", "id": "cbc31ea18fc886700a40800145100939835ced1a", "size...
default[:wpcli][:config_path] = '/home/vagrant/.wp-cli/config.yml' default[:wpcli][:user] = 'vagrant' default[:wpcli][:group] = 'vagrant' default[:wpcli][:dir] = '/usr/share/wp-cli' default[:wpcli][:link] = '/usr/local/bin/wp' default[:wpcli][:locale] = "" default[:wpcli][:wp_version] = "latest" default[:wpcli][:wp_...
{ "content_hash": "930aac0344cfac82db5d262fced38333", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 116, "avg_line_length": 36.130434782608695, "alnum_prop": 0.6937424789410349, "repo_name": "daikichi339/ATL_wp", "id": "2f3a847387f122bd5a2e6d5a67ce29aebeeae081", "size": "...
from aquilon.exceptions_ import NotFoundException, ArgumentError from aquilon.worker.broker import BrokerCommand from aquilon.worker.dbwrappers.host import hostname_to_host from aquilon.worker.dbwrappers.resources import get_resource_holder from aquilon.worker.dbwrappers.change_management import ChangeManagement clas...
{ "content_hash": "387d07235784659c9641b3d58f69ba63", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 99, "avg_line_length": 38.05882352941177, "alnum_prop": 0.639361154044307, "repo_name": "quattor/aquilon", "id": "1ebbfe1ccd3ac4d57f4260e92fa06616bf712b5a", "size": "2635",...
import DS from 'ember-data'; import Ember from 'ember'; import PartialModelRESTSerializer from 'ember-data-partial-model/mixins/rest-serializer'; import RESTSerializer from 'ember-data/serializers/rest'; const { EmbeddedRecordsMixin } = DS; const { Mixin } = Ember; export default RESTSerializer.extend(PartialModelRES...
{ "content_hash": "9d7d2c5c6573a4b4fffbe5637de949a7", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 89, "avg_line_length": 27.904761904761905, "alnum_prop": 0.71160409556314, "repo_name": "BookingSync/ember-data-partial-model", "id": "bc2949e31e508e1ad44f576645dcc3858a8ae5e...
package org.codemucker.jfind.e; @TstAnnotation public class TstAnnotationBean { }
{ "content_hash": "31c5c9c5433bcb82bf5fa1dfee4280ec", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 32, "avg_line_length": 13.142857142857142, "alnum_prop": 0.7282608695652174, "repo_name": "codemucker/codemucker-jfind", "id": "81c13c7fc225db529df6b3db45fac163a05cec37", "s...
import cvxpy from .solver import Solver from sklearn.utils import check_array class NuclearNormMinimization(Solver): """ Simple implementation of "Exact Matrix Completion via Convex Optimization" by Emmanuel Candes and Benjamin Recht using cvxpy. """ def __init__( self, ...
{ "content_hash": "7bca3112742a1e07adc64de86269ab0c", "timestamp": "", "source": "github", "line_count": 116, "max_line_length": 78, "avg_line_length": 29.775862068965516, "alnum_prop": 0.569195136074117, "repo_name": "iskandr/fancyimpute", "id": "30c66b635561d3582cf392f27edad74131afb2b0", "size": "...
module RT { var rayTracer = new RayTracer(); onmessage = (e: MessageEvent) => { var message = e.data; if (message.command == 'load scene') { RT.Scene.loadFromFile(message.data, (scene: Scene) => { rayTracer.scene = scene; (<any>postMessage)({ ...
{ "content_hash": "c3c0368904ba35c730842f6535af4f7f", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 92, "avg_line_length": 39.375, "alnum_prop": 0.5028571428571429, "repo_name": "sbnietert/TypeScript-Ray-Tracer", "id": "875db1782af20c5d446351ae93d143d9e7a050ec", "size": "...
namespace arc { class ArcBridgeService; // This class is responsible for forwarding incoming call to remote android // AccessibilityService process via mojo. class AccessibilityHelperInstanceRemoteProxy { public: explicit AccessibilityHelperInstanceRemoteProxy( ArcBridgeService* arc_bridge_service) : a...
{ "content_hash": "6aab64a14fb1aca9dd250fac606408fe", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 93, "avg_line_length": 34.6875, "alnum_prop": 0.7903903903903904, "repo_name": "chromium/chromium", "id": "663dc77ea32db897d3d7997958661fb9f208e076", "size": "2058", "bin...
package com.farmerbb.taskbar.util; import android.content.Context; import org.json.JSONException; import org.json.JSONObject; import java.io.Serializable; public class DesktopIconInfo implements Serializable { public int column; public int row; public AppEntry entry; static final long serialVersi...
{ "content_hash": "07517627783ecd38ed99bd4cb6262400", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 90, "avg_line_length": 29.035087719298247, "alnum_prop": 0.6078549848942598, "repo_name": "farmerbb/Taskbar", "id": "f18c5397c0fa9fc0e65f8dc31075b2dd1a24b5bb", "size": "224...
import os import sys import time import getpass sys.path.append("./library") import argparse import ConfigParser from utils import * from na_funcs import * from cisco_funcs import * def check_on_switch(mds, zoneset, pwwns, zones, vsan, fabric, switch): non_existent_zones = [] alias_exists = {} zoneset_exi...
{ "content_hash": "007e1ea35eadd31e26506978eb73d0c1", "timestamp": "", "source": "github", "line_count": 198, "max_line_length": 161, "avg_line_length": 39.7979797979798, "alnum_prop": 0.6138324873096447, "repo_name": "scottharney/python-mdszoning", "id": "21495b33ee4516f2639ddb1bcaec64f13b7da72d", ...
<?php defined('C5_EXECUTE') or die("Access Denied."); Loader::model('attribute/categories/user'); Loader::model('user_list'); class DashboardUsersSearchController extends Controller { public function view() { $html = Loader::helper('html'); $form = Loader::helper('form'); $this->set('form', $form); $this->ad...
{ "content_hash": "d88d6384497ba91d6deb029785bd7815", "timestamp": "", "source": "github", "line_count": 181, "max_line_length": 120, "avg_line_length": 26.61878453038674, "alnum_prop": 0.5772104607721046, "repo_name": "homer6/concrete5", "id": "77acd4c03d56b94d4baf94dc7cda896d7562bbd0", "size": "48...
package eca.exercises.PROD.answers; import java.util.List; public class InvoicePrinter { public static void printInvoice(List<Product> products) { // Create 2 variables to accumulate the total price while looping through all the products var totalWithoutTax = 0.0; // The tax-exclusive total ...
{ "content_hash": "e6b50fdc9e8e921be7b239d60e5f2f1c", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 180, "avg_line_length": 40.37735849056604, "alnum_prop": 0.5957943925233645, "repo_name": "Ben-Woolley/java-for-beginners", "id": "9d3e2e5e60d70f984ed3277ee1ee7266555a7cf9", ...
package janala.logger.inst; public class GETSTATIC extends Instruction { public int cIdx; public int fIdx; public String desc; public GETSTATIC(int iid, int mid, int cIdx, int fIdx, String desc) { super(iid, mid); this.cIdx = cIdx; this.fIdx = fIdx; this.desc = desc; } public void visit(I...
{ "content_hash": "69dcf5c6aae4edc1c63ebc1b5ca6dc67", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 71, "avg_line_length": 18.8125, "alnum_prop": 0.5564784053156147, "repo_name": "ksen007/janala2", "id": "fee615b529c1c9984b6e29c974bc0f94086f6871", "size": "602", "binary...
<?php /** * Stores the Twig configuration. * * @author Fabien Potencier <fabien@symfony.com> */ class Twig_Environment { const VERSION = '1.33.2'; const VERSION_ID = 13302; const MAJOR_VERSION = 1; const MINOR_VERSION = 33; const RELEASE_VERSION = 1; const EXTRA_VERSION = 'DEV'; prot...
{ "content_hash": "4aeb1651ab90c8383e8b257206f3e1e6", "timestamp": "", "source": "github", "line_count": 1554, "max_line_length": 357, "avg_line_length": 32.58301158301158, "alnum_prop": 0.573962159813564, "repo_name": "ljepojevic/Phactory-PHP-framework", "id": "8c7783c79eaf94b2d103c466d3c85266489fc6e...
<?xml version="1.0" encoding="UTF-8"?> <package xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" packagerversion="1.9.0" version="2.0" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-...
{ "content_hash": "8b536a1a2e0ecbcc99491e4bee0db324", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 246, "avg_line_length": 36, "alnum_prop": 0.6602254428341385, "repo_name": "exhibia/exhibia", "id": "79d44f8c259c30f48a90d0b06c0a9ca3f8200ebc", "size": "2484", "binary": ...
require('babel-register'); require('./server.js');
{ "content_hash": "6569f97307244b08ce2150b291c7b107", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 26, "avg_line_length": 25, "alnum_prop": 0.7, "repo_name": "garrettgraber/galaxy-map", "id": "d04e2a6ab16c5a2018d4a3ab7b7c190b71e1676e", "size": "50", "binary": false, "...
<?php return [ /* |-------------------------------------------------------------------------- | Password Reset Language Lines |-------------------------------------------------------------------------- | | The following language lines are the default lines which match reasons | that are giv...
{ "content_hash": "bd691c24b1a5e42e2c7fef1799358fd7", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 79, "avg_line_length": 37.1, "alnum_prop": 0.5094339622641509, "repo_name": "laravelio/portal", "id": "b56e2067c4b4d6f6223ab14c24024cb8f05aa793", "size": "742", "binary":...
/** @file VersionInfo.h @author Lime Microsystems @brief API for querying version and build information. */ #ifndef LIMESUITE_VERSION_INFO_H #define LIMESUITE_VERSION_INFO_H #include "LimeSuiteConfig.h" #include <string> /*! * API version number which can be used as a preprocessor check. * The format of the versio...
{ "content_hash": "c387279b6783ca4f94818ed88911c062", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 80, "avg_line_length": 27.660714285714285, "alnum_prop": 0.6785022595222724, "repo_name": "limemicro/lms7suite", "id": "e0a8337d4f6a95e872a468c7ffa19c8d133558b3", "size": "...
@protocol JavaLangIterable; @protocol JavaUtilList; @protocol JavaUtilMap; #define ComGoogleCommonCollectMultimap_RESTRICT 1 #define ComGoogleCommonCollectMultimap_INCLUDE 1 #include "com/google/common/collect/Multimap.h" @protocol ComGoogleCommonCollectListMultimap < ComGoogleCommonCollectMultimap, NSObject, JavaOb...
{ "content_hash": "705564006d8996221b5c3afc5bc1df54", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 101, "avg_line_length": 26.925925925925927, "alnum_prop": 0.8005502063273727, "repo_name": "hambroperks/pollexor", "id": "a9c5f51d85aea8b7d3c8c63f06b1ea1e00c0fac9", "size":...
.. 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 ...
{ "content_hash": "31622284c4cbb649e59c7bb9ecad86a2", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 166, "avg_line_length": 50.05128205128205, "alnum_prop": 0.7300204918032787, "repo_name": "rickerc/heat_audit", "id": "f768ec48b6084ce191d5b13304ad15f3eb5e0350", "size": "1...
// ---------------------------------------------------------------------------- #include "dcmtk/config/osconfig.h" // specific configuration for operating system #include "dcmtk/dcmnet/dicom.h" // for DIC_NODENAME etc. used in "wltypdef.h" #include "dcmtk/dcmwlm/wltypdef.h" // for type definitions #include...
{ "content_hash": "016767f262e269bb87814c1de0231431", "timestamp": "", "source": "github", "line_count": 1420, "max_line_length": 251, "avg_line_length": 51.40845070422535, "alnum_prop": 0.5736849315068493, "repo_name": "NCIP/annotation-and-image-markup", "id": "eeb4c8df474f608d2f0c8b4676aee46dcf4a6c4...
// type definitions on DefinitelyTyped are missing the w3cwebsocket definitions declare module 'websocket' { export class w3cwebsocket { // tslint:disable-line constructor(url: string); onopen(): void; onclose: (() => void) | null; onmessage(event: {data: string}): void; send(message: string): ...
{ "content_hash": "38e7dc9106e94132d018c4e0b1a9d33b", "timestamp": "", "source": "github", "line_count": 383, "max_line_length": 129, "avg_line_length": 33.87467362924282, "alnum_prop": 0.6428241097579775, "repo_name": "svenkreiss/databench", "id": "9dde867afad0c93ca193896ae2426dceebfb52e5", "size":...
using System; using System.Linq; using Hudl.FFmpeg.Attributes; using Hudl.FFmpeg.Enums; using Hudl.FFmpeg.Settings.Interfaces; using Hudl.FFmpeg.Settings.Utility; namespace Hudl.FFmpeg.Common { /// <summary> /// helper class that helps with validation of objects in a ffmpeg project /// </summary> publ...
{ "content_hash": "909d5fddc8865bfe1d70fe32686fed8d", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 117, "avg_line_length": 34.44736842105263, "alnum_prop": 0.6172650878533231, "repo_name": "hudl/HudlFfmpeg", "id": "007f075fb2af0ed7ea2d53976f66d36bbe6e8709", "size": "1311...
namespace umath { vector3::vector3() : x(0), y(0),z(0) {} vector3::vector3(const vector3& vec3) : x(vec3.x), y(vec3.y), z(vec3.z) {} vector3::vector3(float X, float Y, float Z) : x(X), y(Y), z(Z) {} vector3::~vector3(){} float vector3::getLengthSquared() const { return pow(x,2) + pow(y,2) + pow(z,2);...
{ "content_hash": "ac0a3175b3cded41d739ad53ffa9928e", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 84, "avg_line_length": 24.76, "alnum_prop": 0.678513731825525, "repo_name": "RafaOP/CastleOfValhalla", "id": "9049d3ce53f75c5f7bb09d353b14d2be82d62b88", "size": "2523", ...
define("dojox/widget/nls/da/FilePicker",{name:"Navn",path:"Sti",size:"St\u00f8rrelse (i byte)"}); //# sourceMappingURL=FilePicker.js.map
{ "content_hash": "d703a254372dfc14f17868ed459e26d6", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 97, "avg_line_length": 68, "alnum_prop": 0.7352941176470589, "repo_name": "Caspar12/zh.sw", "id": "fd7d3989bf176871f6d3c543d410326b17e6d502", "size": "146", "binary": fals...
import unittest from SevenStories import game from SevenStories import parse class TestGame(unittest.TestCase): def setUp(self): """Set up for all the tests Creates a sample character and stores the GameMap object. Creates a sample load with 'health name' as sample input. """ ...
{ "content_hash": "aebd4565f5c7324a426369b2fe0d6443", "timestamp": "", "source": "github", "line_count": 130, "max_line_length": 84, "avg_line_length": 37.61538461538461, "alnum_prop": 0.62719836400818, "repo_name": "huntermalm/SevenStories", "id": "bfc9bc0c07c1ee8bc888c273d2f18b5bd9ec4b1b", "size":...
package com.google.step.coffee.servlets; import com.google.api.client.auth.oauth2.AuthorizationCodeFlow; import com.google.api.client.auth.oauth2.AuthorizationCodeResponseUrl; import com.google.api.client.auth.oauth2.Credential; import com.google.api.client.extensions.appengine.auth.oauth2.AbstractAppEngineAuthorizati...
{ "content_hash": "6997c22bdb55acf3e8649024756c0b96", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 112, "avg_line_length": 37.95454545454545, "alnum_prop": 0.8131736526946107, "repo_name": "googleinterns/step250-2020", "id": "faa9164191c172f18cb7dcb6238db629b6cd0a63", "s...
# # # Set environment variables here. # The java implementation to use. Java 1.6 required. # export JAVA_HOME=/usr/java/jdk1.6.0/ # Extra Java CLASSPATH elements. Optional. # export HBASE_CLASSPATH= # The maximum amount of heap to use, in MB. Default is 1000. # export HBASE_HEAPSIZE=1000 # Extra Java runtime opt...
{ "content_hash": "677f6945c2456bf04fe5b12942534f9f", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 129, "avg_line_length": 48.30769230769231, "alnum_prop": 0.7733545647558386, "repo_name": "Lingcc/hadoop-lingccfs", "id": "097812adf31f5d40dfb0e6d5b9934fe254ad3aa3", "size"...
from pyquery import PyQuery as pq import calendar import urllib2 import codecs import time import re import os, os.path def shouldRetrieve(pseudoToCheck): try: if os.stat("datafiles/tweets_party_generales.csv").st_size == 0: print "return because file empty" return True except: ...
{ "content_hash": "e0ddda0daec61d9139184a94d2501780", "timestamp": "", "source": "github", "line_count": 176, "max_line_length": 192, "avg_line_length": 38.75568181818182, "alnum_prop": 0.6091482187362557, "repo_name": "florence-nocca/spanish-elections", "id": "eeec1317c53b072c7df0686189f526ac20275af7...
SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/bijanadmin/git/eye-tracker-offline") SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/bijanadmin/git/eye-tracker-offline") # Force unix paths in dependencies. SET(CMAKE_FORCE_UNIX_PATHS 1) # The C and CXX include file search paths: SET(CMAKE_C_INCLUDE_PATH "/usr/local/include/open...
{ "content_hash": "fbb9d39941047a8052b2887ecbd054fe", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 78, "avg_line_length": 39.85, "alnum_prop": 0.7540777917189461, "repo_name": "justanotherbrain/eye-tracker-offline", "id": "2c874d936bf7a03a5402f3b8fdb8a460fd0ec013", "size...
#ifndef MK_EXTRACT_PROC_H_ #define MK_EXTRACT_PROC_H_ #include"ast.h" #include"bv_decl_plugin.h" class mk_extract_proc { bv_util & m_util; unsigned m_high; unsigned m_low; sort * m_domain; func_decl * m_f_cached; public: mk_extract_proc(bv_util & u); ~mk_extract_proc...
{ "content_hash": "342560d1abb54bffd6f4d0239d6aef33", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 62, "avg_line_length": 27.31578947368421, "alnum_prop": 0.5895953757225434, "repo_name": "kyledewey/z3", "id": "2b242d0f535e71da36a8165b1f2844074c508a9e", "size": "683", ...
casper.test.begin('Background-image test', 55, function suite(test) { var currentURL = params.url + '/background-image.html'; casper.start(currentURL, function() { test.assertTitle('background-image test', "page title is okay"); }); casper.then(function() { casper.checkImage(test, 319, ...
{ "content_hash": "353d465077e5f6735a79ecc762e5b9e6", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 72, "avg_line_length": 48.24242424242424, "alnum_prop": 0.6180904522613065, "repo_name": "joeyvandijk/rimg", "id": "8ba8e61e1f7e66a88359f31c7558151cdbdfedd9", "size": "1592...
package br.edu.ifrn.helppet.dominio; import java.io.Serializable; import java.util.Set; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.OneToMany; import javax.persistence.OneToOne; import javax.pe...
{ "content_hash": "63f686e03649b93dc2696e4e36342255", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 95, "avg_line_length": 24.254901960784313, "alnum_prop": 0.7720291026677445, "repo_name": "AnneGoncalo/helppettest", "id": "670866964d5c10aac7c11852b29cbb4c699a4294", "size...
/******************************** *** Multiplexer for Go *** *** Bone is under MIT license *** *** Code by CodingFerret *** *** github.com/go-zoo *** *********************************/ package bone import ( "net/http" "net/url" "strings" ) func (m *Mux) parse(rw http.ResponseWriter, req *http....
{ "content_hash": "7c71fffc6cb9a80e62000bb0530e5cb9", "timestamp": "", "source": "github", "line_count": 154, "max_line_length": 76, "avg_line_length": 22.058441558441558, "alnum_prop": 0.608772446276126, "repo_name": "go-box/brochure", "id": "c42800409b0b320381ab42372ea81860b5b29a48", "size": "3397...
// ****************************************************************** // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THE CODE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, // INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILI...
{ "content_hash": "fe600fb9e044b728d4cb02981f708095", "timestamp": "", "source": "github", "line_count": 547, "max_line_length": 185, "avg_line_length": 42.79890310786106, "alnum_prop": 0.567681858955192, "repo_name": "bkaankose/UWPCommunityToolkit", "id": "4691b2406b1337f12f6b6349da917685bbc0ec24", ...