text
stringlengths
2
1.04M
meta
dict
from django.contrib import admin from .models import Coach, Participant, Sport, Team, Discipline, Performance from import_export import resources from import_export.admin import ImportExportModelAdmin class ParticipantResource(resources.ModelResource): """ Class used for the export of a list of registered pa...
{ "content_hash": "c61e303d4c1f7c68460228ba12831d18", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 101, "avg_line_length": 30.26086956521739, "alnum_prop": 0.6719348659003831, "repo_name": "wearespindle/subscriptionform", "id": "a3c56da466a851272b732f70e5c7c04f362a22af", ...
package org.fcrepo.server.types.mtom.gen; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for anonymous compl...
{ "content_hash": "8f1f2f9222ae72a960b517eb4b80dbf7", "timestamp": "", "source": "github", "line_count": 92, "max_line_length": 95, "avg_line_length": 22.25, "alnum_prop": 0.5798729848558867, "repo_name": "hbarnard/fcrepo-phaidra", "id": "0596ea8bd4b452ecf4accd6dc8df16d4a9ab646c", "size": "2047", ...
package com.qianxuefeng.mountain.domain.model; /** * @desc 文章图片 * @author ljt * @time 2015-8-28 下午4:28:43 */ public class ArticleImage { private Integer id; private String imageUrl; private Integer articleId; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } ...
{ "content_hash": "e02e32580982b3c71d77cb4a63b92228", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 46, "avg_line_length": 15.102564102564102, "alnum_prop": 0.6926994906621392, "repo_name": "QianXF/mountain-blog", "id": "b7df7c82611493a06219fc4875e77bcce3330d36", "size": ...
.imported-by-pure { overflow: hidden auto; }
{ "content_hash": "7b53d8a1e90a8251ab74fa57d3906f73", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 24, "avg_line_length": 15.666666666666666, "alnum_prop": 0.6808510638297872, "repo_name": "webpack-contrib/css-loader", "id": "2f7c8d882eea99ad9c456f271b2cc99bd4d509a6", "si...
package cmd import ( "fmt" "os" "github.com/golang/glog" homedir "github.com/mitchellh/go-homedir" "github.com/spf13/cobra" "github.com/spf13/viper" ) var ( cfgFile string vmregistryGrpcURL string vmregistryGrpcCA string credStoreAddress string credStoreCA string ) // RootCmd represents the bas...
{ "content_hash": "d55d81fcce9ad0147a663800eeade62f", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 122, "avg_line_length": 30.35, "alnum_prop": 0.7252059308072487, "repo_name": "google/vmregistry", "id": "b49c6ea6f51d3d56658e83968c2ad1e3d6895890", "size": "3594", "bin...
/* * ExOutputRoutineTE.cpp * * Created on: 03 февр. 2016 г. * Author: aleksandr */ #include "ExOutputRoutineTE.h" #include <fstream> #include <cmath> void ExOutputRoutineTE::print() { std::ofstream file; std::string currentFileName = fileName+"_"+std::to_string(currentTime) + ".txt"; file.open(currentF...
{ "content_hash": "66d4f5621084392a3a8381a236bb4922", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 81, "avg_line_length": 23.1, "alnum_prop": 0.6201298701298701, "repo_name": "AlexHatesUnicorns/FDTD_Solver", "id": "6a30b3d28eab963aae025d57e55fb995a26cfa0e", "size": "929"...
<?php namespace AppBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolver; class UserType extends AbstractType { /** * @param OptionsResolver $resolver */ public function configureOptions(OptionsR...
{ "content_hash": "d322de48345b85290a01117d32ce5421", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 63, "avg_line_length": 21.666666666666668, "alnum_prop": 0.6967032967032967, "repo_name": "MilesGithub/tor_ibin", "id": "cf839178a5e9b25909a8b34fd7cc60d5eb19bef3", "size": ...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "8412d19ba463aeeb46ddac76e5f79afb", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "4f0950cec73f00500e73c2987940fdbf9c3d47a2", "size": "19...
% y = bwdpr1(Lden, b) % BWDPR1 Solves "PROD_k L(pk,betak)' * y = b", where % L(p,beta) = eye(n) + tril(p*beta',-1). % % ********** INTERNAL FUNCTION OF SEDUMI ********** % % See also sedumi, dpr1fact, fwdpr1 function y = bwdpr1(Lden, b) % % Thi...
{ "content_hash": "cb69691e8826f9a16bde0d47405b98f7", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 82, "avg_line_length": 42.65909090909091, "alnum_prop": 0.6846030900372936, "repo_name": "wgchoi/indoorunderstanding_3dgp", "id": "4c55508edd0f3a6a99c0525234261ea281a7e2e0", ...
package runtime var Fadd64 = fadd64 var Fsub64 = fsub64 var Fmul64 = fmul64 var Fdiv64 = fdiv64 var F64to32 = f64to32 var F32to64 = f32to64 var Fcmp64 = fcmp64 var Fintto64 = fintto64 var F64toint = f64toint func entersyscall() func exitsyscall() var Entersyscall = entersyscall var Exitsyscall = exitsyscall
{ "content_hash": "0af335822dc43fbedb909f953132ca4a", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 31, "avg_line_length": 18.352941176470587, "alnum_prop": 0.782051282051282, "repo_name": "eternalNight/ucore_app_go", "id": "53c5fcba4734320e5b971e732e42fae335c7a10f", "siz...
from django.db import models from django.contrib.contenttypes.models import ContentType from django.contrib.contenttypes.fields import GenericForeignKey class DirtyInstance(models.Model): """ Holds a reference to a model instance that may contain inconsistent data that needs to be recalculated. DirtyI...
{ "content_hash": "7c82c0c93480192188b64429746a4396", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 77, "avg_line_length": 35.5, "alnum_prop": 0.715962441314554, "repo_name": "initcrash/django-denorm", "id": "a2f50dd8c41e7d712f4f2e83cee21b90cf0767ce", "size": "876", "bi...
<!-- Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. --> <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....
{ "content_hash": "bcd2c374699f7ada5487cf276269d5b5", "timestamp": "", "source": "github", "line_count": 137, "max_line_length": 204, "avg_line_length": 33.160583941605836, "alnum_prop": 0.648910411622276, "repo_name": "martinsawicki/azure-sdk-for-java", "id": "5ac09d714a70e53d9d5cc1858d20e86bdaca0a34...
module AlleApi class AuctionEvent class Update < AuctionEvent def alter_auction_state auction.touch end end end end
{ "content_hash": "61f9cfb890e2c04b3171c902f41fb8d2", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 31, "avg_line_length": 16.444444444444443, "alnum_prop": 0.6554054054054054, "repo_name": "jumski/alle_api", "id": "70e56e68185072430e993f88fb78ea074994eb4f", "size": "149",...
Pattern: Malformed qouted symbol Issue: - ## Description Checks if the quotes used for quoted symbols match the configured defaults. By default uses the same configuration as `Style/StringLiterals`. String interpolation is always kept in double quotes. ## Examples EnforcedStyle: same_as_string_literal...
{ "content_hash": "ec9e92c816e2051c87b23b16a77e6727", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 141, "avg_line_length": 16.94871794871795, "alnum_prop": 0.670196671709531, "repo_name": "Adroiti/docs-for-code-review-tools", "id": "c4407e672875aa88fc4547e6a5b20054e6a6d63f...
<# .Synopsis Gets all collected items in a user's collection. .DESCRIPTION Gets all collected items in a user's collection. .EXAMPLE PS C:\> Get-TraktCollection -Type movies Description ----------- This example shows how to get all collected movies from your Trakt.TV collection. .EXAMPLE PS...
{ "content_hash": "a71e116e582968d15c5bfb28605fc333", "timestamp": "", "source": "github", "line_count": 96, "max_line_length": 117, "avg_line_length": 30.25, "alnum_prop": 0.5878099173553719, "repo_name": "juniinacio/Trakt-PowerShell", "id": "92e4059e09552bc023fa6e169d11a776ad30da53", "size": "2904...
@import redeclarations_left; @import weird_objc; int test(id x) { return x->wibble; } // RUN: rm -rf %t // RUN: %clang_cc1 -fmodules -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=redeclarations_left %S/Inputs/module.map // RUN: %clang_cc1 -fmodules -x objective-c -fmodules-cache-path=%t -emit-mo...
{ "content_hash": "16bb7da84a9e1fc530d48045a4721500", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 135, "avg_line_length": 36.61538461538461, "alnum_prop": 0.7142857142857143, "repo_name": "HackLinux/goblin-core", "id": "28e47665f24f5fa46c9b6b0b9eb4a4276735f9c2", "size":...
The cost of the pod infrastructure is highly coupled with the Mach number at which the vehicle travels. In order to obey the choking constraint, higher Mach numbers will necessitate a larger tube to prevent the flow around the pod from accelerating to the speed of sound. This increases the material cost of the tube and...
{ "content_hash": "3c0719d847759483e0bf188c8c46a864", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 93, "avg_line_length": 66.66666666666667, "alnum_prop": 0.797, "repo_name": "andipeng/MagnePlane", "id": "816684a028c5610d60ef8858e23b7ca947549586", "size": "2000", "bina...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE121_Stack_Based_Buffer_Overflow__CWE806_char_declare_loop_64b.c Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE806.label.xml Template File: sources-sink-64b.tmpl.c */ /* * @description * CWE: 121 Stack Based Buffer Overflow * BadSource: Initial...
{ "content_hash": "407ceb111397062597d4a7f6973840f9", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 113, "avg_line_length": 31.602941176470587, "alnum_prop": 0.6105165193113076, "repo_name": "JianpingZeng/xcc", "id": "785963f3c42c3a6850e4c91fe86d3e6969fba545", "size": "21...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "bc7aed868836d2329d674a0496a12e26", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "80e28c224bbbfc872be36737b4034332c2771c9c", "size": "21...
// // JLScrollView.h // JLPhotoBrowser // // Created by liao on 15/12/24. // Copyright © 2015年 BangGu. All rights reserved. // 展示放大图片的滑动视图 #import <UIKit/UIKit.h> #import "JLPhoto.h" #import "StorePhotoModel.h" @interface JLPhotoBrowser : UIView @property (nonatomic,copy)void (^showBlock)(); /** * 存放图片的数组 *...
{ "content_hash": "7a6169e593c2fe80ffb9b1203779efe9", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 91, "avg_line_length": 17.80952380952381, "alnum_prop": 0.7192513368983957, "repo_name": "daidi-double/new_yuWaShop", "id": "31168c6c140ba42ca98f2ccf375fac252f2c7e0e", "siz...
from distutils.core import setup setup( name='SQLiteMaker', author='calebhailey', url='https://github.com/calebhailey/sqlitemaker', packages=['main'], py_modules=['sqlitemaker'], data_files=[('', ['settings.json',]),], requires=['SQLAlchemy'], )
{ "content_hash": "fc020d5ade49884d0620c4048d0cea90", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 55, "avg_line_length": 26.818181818181817, "alnum_prop": 0.5932203389830508, "repo_name": "calebhailey/sqlitemaker", "id": "adb67d4816dd209f48fbf2c66f304a0d648db58a", "size...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using DotVVM.CommandLine.Metadata; namespace DotVVM.CommandLine.Commands { public abstract class CommandBase { public abstract string Name { get; } public abstract string...
{ "content_hash": "87cde9de755c199d98ca97423984b255", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 100, "avg_line_length": 24.79310344827586, "alnum_prop": 0.6856745479833102, "repo_name": "kiraacorsac/dotvvm", "id": "700bc055017a7b47df43b709b936071d98b2362f", "size": "7...
__all__ = ["bls_fast", "bls_slow"] from functools import partial import numpy as np from ._impl import bls_impl def bls_slow(t, y, ivar, period, duration, oversample, use_likelihood): """Compute the periodogram using a brute force reference method t : array-like Sequence of observation times. ...
{ "content_hash": "8a02a9aaf773164a07c0bbc735ee9728", "timestamp": "", "source": "github", "line_count": 148, "max_line_length": 80, "avg_line_length": 35.45945945945946, "alnum_prop": 0.5889862804878049, "repo_name": "pllim/astropy", "id": "9686999e735be406b58390b159451c896d250bd0", "size": "5313",...
/** * Copyright (c) 2009 Carnegie Mellon University. * All rights reserved. * * 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-...
{ "content_hash": "159630cd37c5e6281c5cebd97b91a49f", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 68, "avg_line_length": 21.64814814814815, "alnum_prop": 0.6834901625320787, "repo_name": "ylow/SFrame", "id": "1072dc4c37c1da9cb2ba347a662fbc15a8e56c0d", "size": "1352", ...
@interface TYTomightyTests : XCTestCase @end @implementation TYTomightyTests { __strong id <TYTomighty> tomighty; __strong id <TYTimer> timer; __strong id <TYPreferences> preferences; __strong TYMockEventBus *eventBus; __strong MKTArgumentCaptor *timerContextArgument; } - (void)setUp { [super...
{ "content_hash": "58c263704bb063ce0a76f0ae5c79a729", "timestamp": "", "source": "github", "line_count": 154, "max_line_length": 160, "avg_line_length": 38.74025974025974, "alnum_prop": 0.7391887361716393, "repo_name": "eduardonunesp/tomighty-osx", "id": "adb15d54b45739bb8f9e71c5dd4f6dcab060e41c", "...
vivekzhere.github.io ==================== My Home Page
{ "content_hash": "c4e5acae35b18302ebe3b7f6c5d99abd", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 20, "avg_line_length": 14, "alnum_prop": 0.5, "repo_name": "vivekzhere/vivekzhere.github.io", "id": "0d6300c0bf6ac4315e071db08987acf5a2f94d19", "size": "56", "binary": fal...
<!DOCTYPE html> <meta charset="utf-8"> <style> .axis--x path { display: none; } .plot_line { fill: none; stroke: steelblue; stroke-width: 1.5px; } </style> <svg width="800" height="600"></svg> <script src="http://d3js.org/d3.v4.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/...
{ "content_hash": "f548b1d82be3c5ab5434c99da5101e8b", "timestamp": "", "source": "github", "line_count": 116, "max_line_length": 100, "avg_line_length": 22.17241379310345, "alnum_prop": 0.5217729393468118, "repo_name": "mcdeoliveira/ctrl", "id": "57a006723bff8896cc75ce7be2c845e1e91261c9", "size": "2...
DataBindingDemo (Session03) ========================== Demo theo toàn bộ hướng dẫn trên trang chủ của Google. <br/>http://developer.android.com/tools/data-binding/guide.html <br/> ![](https://raw.githubusercontent.com/9xkun/102-androiM-whathot/master/Tutor01Day03_DataBindingDemo/apk/DataBinding_Demo03.gif) Thư mục apk...
{ "content_hash": "8b0a137377185b4df3476281c6069a01", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 227, "avg_line_length": 61.07142857142857, "alnum_prop": 0.7596491228070176, "repo_name": "hoangpt/102-androiM-whathot", "id": "858c49a957bf2104c6d5a5ebe56b92114f1885bf", "...
using System; using System.Collections.Generic; using Archon.SwissArmyLib.Collections; using Archon.SwissArmyLib.Pooling; using UnityEngine; namespace Archon.SwissArmyLib.Partitioning { /// <summary> /// A simple GC-friendly two-dimensional <see href="https://en.wikipedia.org/wiki/Bin_(computational_geometry)...
{ "content_hash": "0eca109b5f92723678dd68dcfd09449a", "timestamp": "", "source": "github", "line_count": 274, "max_line_length": 193, "avg_line_length": 35.06934306569343, "alnum_prop": 0.5031741076074513, "repo_name": "ArchonInteractive/SwissArmyLib", "id": "2e6246151d18929696eb5552fedb9c078258ab36",...
module ApiResource VERSION = "0.6.25" end
{ "content_hash": "ddee96ca6021d4c4a9e3607075693f1f", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 20, "avg_line_length": 14.666666666666666, "alnum_prop": 0.7045454545454546, "repo_name": "LifebookerInc/api_resource", "id": "7e0cfcd60cbab8aa68f6727842f93bb40dea7d25", "si...
<?php /** * URIAssetBundle.php * @author Revin Roman http://phptime.ru */ namespace common\_assets; /** * Class URIAssetBundle * @package common\_assets */ class URIAssetBundle extends \yii\web\AssetBundle { public $sourcePath = '@bower'; public $js = [ 'URIjs/src/URI.js', ]; }
{ "content_hash": "640c347503d620f49d16312f62002988", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 49, "avg_line_length": 14.666666666666666, "alnum_prop": 0.6266233766233766, "repo_name": "rmrevin/yii2-application", "id": "2fa9c1afb7c3e023edff9551f7eda66b8078fb46", "siz...
// Copyright 2014 The Closure Library Authors. All Rights Reserved. // // 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 requ...
{ "content_hash": "bba41258291dc0bd5fb04b7fdf064828", "timestamp": "", "source": "github", "line_count": 273, "max_line_length": 80, "avg_line_length": 30.09157509157509, "alnum_prop": 0.662568472306756, "repo_name": "carto-tragsatec/visorCatastroColombia", "id": "7686d9be9c4e14ba268624cff67603c20c09a...
package pl.surreal.finance.transaction.api; import com.fasterxml.jackson.annotation.JsonProperty; public class AccountApi { @JsonProperty private long id; @JsonProperty private String number; @JsonProperty private String name; public AccountApi() {} public AccountApi(String number,String name) { this....
{ "content_hash": "8d3a3144f27bbb22be0fed29184d0733", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 53, "avg_line_length": 14.782608695652174, "alnum_prop": 0.6941176470588235, "repo_name": "mikouaj/finsight", "id": "0ccfbca998e25cf4ecbe020f4557529cd4de1d34", "size": "123...
if [[ $# -eq 0 ]] ; then echo 'Missing argument: directory with ndjson input files' exit 1 fi echo "converting FHIR files in $1" bazel run //java/com/google/fhir/examples:ConvertNdJsonForBigQuery -- --output_directory $1 $1/*.ndjson gzip $1/*.prototxt
{ "content_hash": "762039e1c1364fb8a4c43ada25dbe96b", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 103, "avg_line_length": 29.11111111111111, "alnum_prop": 0.6984732824427481, "repo_name": "google/fhir", "id": "c73b510144afaf18d34d86838c424da8c1db0998", "size": "851", "...
ACCEPTED #### According to NUB Generator [autonym] #### Published in null #### Original name null ### Remarks null
{ "content_hash": "ce999a09c2460daf2dd9d2681b6ee86c", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 23, "avg_line_length": 9.076923076923077, "alnum_prop": 0.6779661016949152, "repo_name": "mdoering/backbone", "id": "d96a9baba5779e64e584d9f6be512c301be4136c", "size": "183...
/** * Test the request function */ import request from '../request'; import sinon from 'sinon'; import expect from 'expect'; describe('request', () => { // Before each test, stub the fetch function beforeEach(() => { sinon.stub(window, 'fetch'); }); // After each test, restore the fetch function afte...
{ "content_hash": "a84fa3dcb53e1ddce4c95e29abbf7b16", "timestamp": "", "source": "github", "line_count": 87, "max_line_length": 76, "avg_line_length": 25.39080459770115, "alnum_prop": 0.5427795382526029, "repo_name": "matusmarcin/special-disco", "id": "094c0305d1454e5c3e86feeaf59ea638eeba8b0e", "siz...
angular-barcode, an Angular barcode generator based on barcode-jquery https://github.com/artdomg/barcode-jquery
{ "content_hash": "c0d8ee175f7fef4bce0a4aac37945700", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 69, "avg_line_length": 37.666666666666664, "alnum_prop": 0.8230088495575221, "repo_name": "DennisJaamann/angular-barcode", "id": "07424db30bb6070cad8e51c901e679c2f7a80ff1", ...
using System; namespace Xwt.Backends { /// <summary> /// A backend for a scrollbar /// </summary> /// <remarks> /// XWT supports creating standalone ScrollAdjustment instances, but toolkits don't need to provide /// a backend for those cases, since XWT uses a default platform-agnostic implementation. /// </rem...
{ "content_hash": "bca24f2f6a4ca6f95aeff9267ecc922d", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 141, "avg_line_length": 34.40983606557377, "alnum_prop": 0.6922343973320629, "repo_name": "hwthomas/xwt", "id": "c12c4b0cbee06e89e56a85d96a2e3c6985d4cf8d", "size": "3309", ...
<?php /** * PipelineImpllinksTest * * PHP version 8.1.1 * * @category Class * @package OpenAPI\Server\Tests\Model * @author openapi-generator contributors * @link https://github.com/openapitools/openapi-generator */ /** * Swaggy Jenkins * * Jenkins API clients generated from Swagger / Open API speci...
{ "content_hash": "50849d0aa527b80ce8dcf06af24b6d8f", "timestamp": "", "source": "github", "line_count": 117, "max_line_length": 71, "avg_line_length": 18.794871794871796, "alnum_prop": 0.6189176898590268, "repo_name": "cliffano/swaggy-jenkins", "id": "ba058585f4e6da6d2eb1f60469700017dcfaef2d", "siz...
using base::TimeTicks; using base::TimeDelta; namespace views { // Default menu offset. static const int kDefaultMenuOffsetX = -2; static const int kDefaultMenuOffsetY = -4; // static const char MenuButton::kViewClassName[] = "MenuButton"; const int MenuButton::kMenuMarkerPaddingLeft = 3; const int MenuButton::kMenu...
{ "content_hash": "3af15e94da76bce52e8ed291534a516c", "timestamp": "", "source": "github", "line_count": 333, "max_line_length": 80, "avg_line_length": 32.96396396396396, "alnum_prop": 0.6241231666211169, "repo_name": "ltilve/ChromiumGStreamerBackend", "id": "dd7e489b661ddd6de86c0439f376ef024f39a441",...
namespace formulate.app.Forms.Handlers.Email { // Namespaces. using System; using System.Collections.Generic; /// <summary> /// The portion of the email configuration used for the email sender and the email /// recipients. /// </summary> public interface IEmailSenderRecipientConfigura...
{ "content_hash": "ba386fe301c244e3363b809a9e329947", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 86, "avg_line_length": 25.68421052631579, "alnum_prop": 0.5676229508196722, "repo_name": "rhythmagency/formulate", "id": "b47bde8d1ecf29173a23f24515183abbccf71551", "size":...
''' Created on 28 janv. 2014 @author: Alexandre Bonhomme ''' from core.agents.AgentMovable import AgentMovable class PacmanAgent(AgentMovable): def __init__(self, x, y, sma): AgentMovable.__init__(self, x, y, sma) def action(self): self.randomMoveInNeighborhood() self.sma._computeDij...
{ "content_hash": "1bd2a135ad3bf94c47deedec3936f42f", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 53, "avg_line_length": 23.066666666666666, "alnum_prop": 0.6705202312138728, "repo_name": "blckshrk/DummySMA", "id": "80ab76811242eb5fb7f1f6011827ecaa7693fd17", "size": "34...
#ifndef _SINPUT_H #define _SINPUT_H #ifndef _WINDOWS_ #include <windows.h> #endif #include <tchar.h> // OW FIXME: this had to be added after installing the DX8 Beta 1 SDK #define USE_DINPUT_8 #ifndef USE_DINPUT_8 // Retro 15Jan2004 #define DIRECTINPUT_VERSION 0x0700 #else #define DIRECTINPUT_VERSION 0x0800 #endif #i...
{ "content_hash": "6f5f47374b25e5e9330a98b158e4221f", "timestamp": "", "source": "github", "line_count": 171, "max_line_length": 99, "avg_line_length": 28.719298245614034, "alnum_prop": 0.7914884952148239, "repo_name": "GPUWorks/freefalcon-central", "id": "ab7f47a0ab83e26a6d95d6e7ffdf902aec644ac4", ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using _3.FactoryMethod.Product; namespace _3.FactoryMethod.Manufacturer { class LG : Manufacturer { public override GSM ManufactureGSM() { var phone = new G5 { Batter...
{ "content_hash": "117404d1075064bf0aa34d70c29c3718", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 65, "avg_line_length": 21.72222222222222, "alnum_prop": 0.6419437340153452, "repo_name": "VVoev/Telerik-Academy", "id": "6336a508cf3b69489a21d2d85909465298bcb276", "size": ...
namespace falconn { namespace core { class LSHFunctionError : public FalconnError { public: LSHFunctionError(const char* msg) : FalconnError(msg) {} }; // Helper class that contains the actual per-query state of an LSH function // object (the transformed input point, the temporary datat of the // transformation, a...
{ "content_hash": "091511ccb882214de7153a5a71fdb99e", "timestamp": "", "source": "github", "line_count": 128, "max_line_length": 77, "avg_line_length": 32.40625, "alnum_prop": 0.6345226615236258, "repo_name": "besser82/shogun", "id": "d2e6780f948dc20174aa451c346bc268d734fe83", "size": "4251", "bin...
from flask_wtf import FlaskForm from wtforms import StringField, BooleanField, PasswordField, TextAreaField from wtforms.validators import DataRequired, EqualTo, Length class LoginForm(FlaskForm): username = StringField('Username', validators=[DataRequired()]) password = PasswordField('Password', validators=[D...
{ "content_hash": "97423f13ee45afa49f92e71bfd1583bf", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 113, "avg_line_length": 46.27777777777778, "alnum_prop": 0.7430972388955582, "repo_name": "thebigbadlonewolf/friendconnect", "id": "070ed6033be5a2ff7b357cab84ee0bb91f1a0dd9",...
import Modal from 'flarum/components/Modal'; import Button from 'flarum/components/Button'; export default class FlagPostModal extends Modal { init() { super.init(); this.success = false; this.reason = m.prop(''); this.reasonDetail = m.prop(''); } className() { return 'FlagPostModal Modal-...
{ "content_hash": "f642d58421bb8ca7c760c61879d78ef1", "timestamp": "", "source": "github", "line_count": 106, "max_line_length": 160, "avg_line_length": 37.45283018867924, "alnum_prop": 0.5639798488664988, "repo_name": "azarro/flarum", "id": "9921a54a26239984fcca3a45c14d156068fac432", "size": "3970"...
package iso20022 // Specifies whether the status is provided with a reason or not. type RejectionStatus8Choice struct { // Indicates that there is no reason available or to report. NoSpecifiedReason *NoReasonCode `xml:"NoSpcfdRsn"` // Specifies the reason of the RejectionStatus. Reason []*RejectionReason11 `xml:...
{ "content_hash": "5d0f352319302b4770fa2f0adaff3e86", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 69, "avg_line_length": 29.047619047619047, "alnum_prop": 0.7704918032786885, "repo_name": "fgrid/iso20022", "id": "f81e89f52a1bae909a37e4e7cd6edf65a3b57688", "size": "610",...
if (ej.Autocomplete) ej.Autocomplete.Locale["ru-RU"] = { addNewText: "Добавить новый", emptyResultText: "Нет предложений", actionFailure: "Указанное поле не существует в данном источнике данных", watermarkText: " " }; if (ej.ColorPicker) ej.ColorPicker.Locale["ru-RU"] = { buttonText: { app...
{ "content_hash": "fd66f2e257771236a804ef46bcf076f2", "timestamp": "", "source": "github", "line_count": 2178, "max_line_length": 402, "avg_line_length": 41.304866850321396, "alnum_prop": 0.6738289500011115, "repo_name": "Asaf-S/jsdelivr", "id": "fb2c437ef09d76c693a3d4d21c825cfd402ba0e9", "size": "1...
/* * Copyright 2007-2010 Joern Huxhorn * * 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 applicab...
{ "content_hash": "3601bbb6845d0df8763bcb252485d09c", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 75, "avg_line_length": 28.79310344827586, "alnum_prop": 0.7245508982035929, "repo_name": "166MMX/sulky", "id": "6a8970ab1561368ea2026605e3409f9184048368", "size": "1623", ...
from __future__ import annotations import subprocess from typing import TYPE_CHECKING, Any from airflow.exceptions import AirflowException, AirflowNotFoundException from airflow.hooks.base import BaseHook if TYPE_CHECKING: from airflow.models.connection import Connection class SparkSqlHook(BaseHook): """ ...
{ "content_hash": "5888fd69349a58da3799c568a36af1e6", "timestamp": "", "source": "github", "line_count": 174, "max_line_length": 110, "avg_line_length": 36.00574712643678, "alnum_prop": 0.5771747805267359, "repo_name": "nathanielvarona/airflow", "id": "d6f8f56c277321f776ebc36715c9636632fc3e0d", "siz...
package fr.neamar.kiss.result; import android.annotation.TargetApi; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Color; import android.graphics.drawable.Drawable; import android.os.Build; import android.preference.PreferenceManager; import android.support.annotation.Me...
{ "content_hash": "513597bd54086e1ba1647fbfdcfc44f6", "timestamp": "", "source": "github", "line_count": 230, "max_line_length": 122, "avg_line_length": 33.11739130434783, "alnum_prop": 0.662202967047394, "repo_name": "bdube/KISS", "id": "40fe7c5bb49cb45db36141319550d1ca2e705e32", "size": "7617", ...
package org.netbeans.modeler.properties.util; import java.beans.PropertyVetoException; import java.util.Map; import org.netbeans.modeler.component.IModelerPanel; import org.netbeans.modeler.properties.view.manager.BasePropertyViewManager; import org.netbeans.modeler.widget.properties.handler.PropertyVisibility...
{ "content_hash": "5eb9efe83d73dbe6209db0ac6ac3f85a", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 162, "avg_line_length": 46.91836734693877, "alnum_prop": 0.724227925184863, "repo_name": "jGauravGupta/nbmodeler", "id": "4d5ca1f2de3c58a5aa4108870e5737f404b41975", "size":...
#if !defined(AL_ALUT_H) #define AL_ALUT_H #if defined(_MSC_VER) #include <OpenAL/alc.h> #include <OpenAL/al.h> #elif defined(__APPLE__) #include <OpenAL/alc.h> #include <OpenAL/al.h> #else #include <AL/al.h> #include <AL/alc.h> #endif #if defined(__cplusplus) extern "C" { #endif #if defined(_WIN32) && !defined(_XBOX...
{ "content_hash": "2ec2042beba402ee0bd53abd9c05e1da", "timestamp": "", "source": "github", "line_count": 126, "max_line_length": 171, "avg_line_length": 41.20634920634921, "alnum_prop": 0.7120570107858244, "repo_name": "flayneorange/DontBlink", "id": "ad5b337d177153c07a009986f84e1b1af05f1e56", "size...
/** * \file * Device drivers header file for MTS300 sensor board. * \author * Kasun Hewage <kasun.ch@gmail.com> */ #ifndef MTS300_H_ #define MTS300_H_ #include <avr/io.h> #include "contiki-conf.h" #define SOUNDER_PORT PORTC #define SOUNDER_MASK _BV(2) #define SOUNDER_DDR DDRC /* MTS300CA and ...
{ "content_hash": "33b4b9949d3a2fa44aed6c1bd70d8967", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 69, "avg_line_length": 21.59259259259259, "alnum_prop": 0.7169811320754716, "repo_name": "Mfrielink/Project-Domotica-PowerModule", "id": "0e07af0344fb3273d1eaee1c57a690b58ebe...
@implementation ZHTableResultCell - (instancetype) initWithTableView :(UITableView *)tableView { static NSString *MatchesTableResult = @"resultCell"; ZHTableResultCell *cell = [tableView dequeueReusableCellWithIdentifier:MatchesTableResult]; if (cell == nil) { cell = [[[NSBundle mainBundle...
{ "content_hash": "b19ebb2a8b757658551d90906de45762", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 151, "avg_line_length": 37.18, "alnum_prop": 0.708445400753093, "repo_name": "AppriaTT/zuqiukong", "id": "b98c17d22dcf79036f887a7b8cfbe00068424390", "size": "2139", "bina...
namespace FarmersCreed.Units { using System; public abstract class GameObject { private string id; public GameObject(string id) { this.Id = id; } public string Id { get { return this.id; } set { ...
{ "content_hash": "4e164669286357aa7712d7e2debfd9f5", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 81, "avg_line_length": 20.606060606060606, "alnum_prop": 0.4411764705882353, "repo_name": "g-yonchev/TelerikAcademy", "id": "7463c7984302ffc1c7fc89843875ec3deb2574af", "siz...
package org.zaproxy.zap.extension.spider; import java.util.ArrayList; import java.util.List; import org.parosproxy.paros.Constant; import org.zaproxy.zap.spider.DomainAlwaysInScopeMatcher; import org.zaproxy.zap.view.AbstractMultipleOptionsTableModel; class DomainsAlwaysInScopeTableModel extends AbstractMultipleOpt...
{ "content_hash": "93d3f3b74070f88a1059d0eff4b5b7dc", "timestamp": "", "source": "github", "line_count": 95, "max_line_length": 108, "avg_line_length": 30.042105263157893, "alnum_prop": 0.6748423265592152, "repo_name": "GillesMoris/OSS", "id": "2b4c0ff93b43f1dbe041d8967e885242340840e4", "size": "359...
module GeoConcerns module Discovery class DocumentBuilder class SpatialBuilder attr_reader :geo_concern def initialize(geo_concern) @geo_concern = geo_concern end # Builds spatial fields such as bounding box and solr geometry. # @param [AbstractDocument] d...
{ "content_hash": "afa223eaa6df7717ce5bbfcc6ecd33f1", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 83, "avg_line_length": 30.45945945945946, "alnum_prop": 0.5962732919254659, "repo_name": "projecthydra-labs/pcdm-geo-models", "id": "20a6d182fc78f2e188621cf52b20dd96dea8faf3"...
/* * Copyright (c) 2012, LiteStack, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
{ "content_hash": "c261c87ca73469c5f424c09a4626e9d1", "timestamp": "", "source": "github", "line_count": 271, "max_line_length": 85, "avg_line_length": 34.25092250922509, "alnum_prop": 0.6889678948502478, "repo_name": "painterjd/zerovm-2.0", "id": "09b71a7381ce7e342ab868fc9f42e1dbf004cae4", "size": ...
#include <numeric> #include <cstdlib> #include <iostream> #include <fstream> #include <string> #include <vector> #include <map> #include <iomanip> #include <cmath> #include <algorithm> #include "sdd/sdd.hh" #include "sdd/tools/size.hh" using namespace std; struct conf : public sdd::flat_set_default_configuration {...
{ "content_hash": "f62a4767812f0a5bce63163b15562503", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 77, "avg_line_length": 21.044776119402986, "alnum_prop": 0.6106382978723405, "repo_name": "saucisson/dd-words", "id": "a8bdc95993c77d73d63eaf509f43cef94ced4638", "size": "1...
package vars import "github.com/codegangsta/cli" var Cli *cli.App func init() { Cli = cli.NewApp() Cli.Name = NAME Cli.Usage = DESCRIPTION Cli.Version = VERSION Cli.Author = AUTHOR + " " + AUTHOR_EMAIL }
{ "content_hash": "033aa8708684c4c0107426b66ccbdc79", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 41, "avg_line_length": 16.307692307692307, "alnum_prop": 0.6839622641509434, "repo_name": "insionng/purine", "id": "869ac733b8332869c07b02bd5ca63fc6481c6de3", "size": "212"...
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("DE...
{ "content_hash": "71fd507322daeebd1d09da60b0b49002", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 84, "avg_line_length": 38.361111111111114, "alnum_prop": 0.7422157856625634, "repo_name": "kalinmarkov/SoftUni", "id": "0ccddbcff717d39a8c35ca376ef49ce9e95448b6", "size": "...
require 'remit/common' module Remit module GetAccountBalance class Request < Remit::Request action :GetAccountBalance end class Response < Remit::Response class GetAccountBalanceResult < Remit::BaseResponse class AccountBalance < Remit::BaseResponse class AvailableBalances ...
{ "content_hash": "2902a61da7eac4a94270164adfa3df66", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 77, "avg_line_length": 32.25, "alnum_prop": 0.6637596899224806, "repo_name": "tylerhunt/remit", "id": "0e5983578577f99dab64fd115bf034cfff3870fc", "size": "1032", "binary"...
package catan.client.graphics.ui; /** * Created by greg on 6/4/16. * Interface for objects that have structure that needs an update following an external change. */ @FunctionalInterface public interface Updatable { void update(); }
{ "content_hash": "f3a3d58609acce1be7fa2dbb963c3f8a", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 95, "avg_line_length": 21.90909090909091, "alnum_prop": 0.7385892116182573, "repo_name": "gharris1727/Catan", "id": "b7bbecc3768f1d008985aa227d76b7edfa265328", "size": "241...
package com.microsoft.azure.management.network.v2018_12_01.implementation; import java.util.List; import com.microsoft.azure.management.network.v2018_12_01.ExpressRouteCircuitRoutesTableSummary; import com.fasterxml.jackson.annotation.JsonProperty; /** * Response for ListRoutesTable associated with the Express Rou...
{ "content_hash": "cbead60c3b51fcabf7c44bed7ee28cc3", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 127, "avg_line_length": 27.815384615384616, "alnum_prop": 0.6858407079646017, "repo_name": "navalev/azure-sdk-for-java", "id": "2f9f9e08e2693d7feba64c388b2273abd4890a49", "...
#pragma once #include "../Core/Object.h" namespace Urho3D { /// Physics world is about to be stepped. URHO3D_EVENT(E_PHYSICSPRESTEP, PhysicsPreStep) { URHO3D_PARAM(P_WORLD, World); // PhysicsWorld pointer URHO3D_PARAM(P_TIMESTEP, TimeStep); // float } /// Physics ...
{ "content_hash": "dc24eb0ab7ff9d5479a9c3645dbd28e2", "timestamp": "", "source": "github", "line_count": 87, "max_line_length": 160, "avg_line_length": 47.32183908045977, "alnum_prop": 0.6113675006072383, "repo_name": "henu/Urho3D", "id": "36cb690980c60011a380873b932da980e8008705", "size": "5266", ...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "7f4bf761815458b5451fe106b4822bda", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "c198b788d0177697e7e22beee9401024bf3e246a", "size": "179...
#undef __NO_VERSION__ #include <linux/file.h> #include "device.h" #include "card.h" #include "channel.h" #include "baseband.h" #include "mac.h" #include "power.h" #include "rxtx.h" #include "dpc.h" #include "rf.h" #include <linux/delay.h> #include <linux/kthread.h> #include <linux/slab.h> /*--------------------- St...
{ "content_hash": "f8705f109f78e31c12a76784d9ada671", "timestamp": "", "source": "github", "line_count": 1682, "max_line_length": 80, "avg_line_length": 25.333531510107015, "alnum_prop": 0.6582807256342259, "repo_name": "mikedlowis-prototypes/albase", "id": "fefbf826c622380380e47fd7d55e3cfc812e924b", ...
<?php namespace Tableless\CoreBundle\Controller; use Tableless\ModelBundle\Entity\Author; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Symfony\Component\HttpFoundation\Request; /*...
{ "content_hash": "05b7e1e16ae1d09b73dad20ca227e929", "timestamp": "", "source": "github", "line_count": 137, "max_line_length": 93, "avg_line_length": 28.83211678832117, "alnum_prop": 0.5675949367088607, "repo_name": "uirapeixoto/tableless", "id": "7e0a7148bae4b51f33e1da419a8f2f62c7aba3df", "size":...
<?php abstract class model_methods_Abstract extends base { public $code; public $title; public $description; public $enabled; private $_check; private $_currentCharge; public function getEnabled() { return defined('MODULE_PAYMENT_CHECKOUTAPIPAYMENT_STATUS') && (MODULE_PAYMENT_CHECKOUTAP...
{ "content_hash": "314d51dc226175e0d61fb9f81c487c18", "timestamp": "", "source": "github", "line_count": 278, "max_line_length": 475, "avg_line_length": 60.35971223021583, "alnum_prop": 0.6733611442193087, "repo_name": "jason-footing-cko/checkout-zencart-plugin", "id": "06d51d4ad1cdc15affc181afd76869c...
<html> <head> <title>OgreMaterialSerializer.h File Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link type="text/css" rel="stylesheet" href="doxygen.css"> <link type="text/css" rel="stylesheet" href="tabs.css"> </head> <body> <!-- Generated by Doxygen...
{ "content_hash": "963e7fc80311269c537fa303b493ced5", "timestamp": "", "source": "github", "line_count": 103, "max_line_length": 481, "avg_line_length": 82.83495145631068, "alnum_prop": 0.7117909048288795, "repo_name": "jjenki11/blaze-chem-rendering", "id": "0a705ab0568aee488cbeb2c6a7ed0721d8cc5c14", ...
/* 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": "87e40392f0bbf02c0386a8aa9e1a3ecd", "timestamp": "", "source": "github", "line_count": 121, "max_line_length": 120, "avg_line_length": 36.87603305785124, "alnum_prop": 0.7698341550874047, "repo_name": "iotsap/FiWare-Template-Handler", "id": "ccb1a5c1f537ee4feb33ad421ccef73f418cc8e4",...
@interface SFToolInformation : SFODataObject { } @property (nonatomic, strong) NSString *ToolName; @property (nonatomic, strong) NSString *Version; @end
{ "content_hash": "9952b803479a0a742f1240e926f39076", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 49, "avg_line_length": 17.333333333333332, "alnum_prop": 0.7628205128205128, "repo_name": "citrix/ShareFile-ObjectiveC", "id": "15dc9f1132dd5085e58548cb10beee2af8fbd79e", "s...
package io.reactivex.internal.util; import static org.junit.Assert.assertEquals; import java.util.List; import java.util.concurrent.atomic.AtomicLong; import org.junit.*; import io.reactivex.TestHelper; import io.reactivex.plugins.RxJavaPlugins; public class BackpressureHelperTest { @Ignore("BackpressureHelpe...
{ "content_hash": "49aa7e747e38b970cf3b07d2d43b14e4", "timestamp": "", "source": "github", "line_count": 151, "max_line_length": 109, "avg_line_length": 32.12582781456954, "alnum_prop": 0.6229643372500515, "repo_name": "akarnokd/RxJava", "id": "fbcff0ab958e15e0748bc3de9b167eec81ba8c6a", "size": "546...
namespace SuperheroesUniverse.Importer { using Data.Common; public interface IImporter { void ImportData(ISuperheroesDataProvider db); } }
{ "content_hash": "57ebac31ee40d7282a8599dbd0ee0282", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 53, "avg_line_length": 18.22222222222222, "alnum_prop": 0.7012195121951219, "repo_name": "RuzmanovDev/Telerik-Academy-Season-2016-2017", "id": "7d8e049d1a343e392bcf570bca44a23...
namespace Certify.Models { public enum DeploymentOption { /// <summary> /// Use defaults/best guess for deployment /// </summary> Auto = 5, /// <summary> /// Apply certificate to single site /// </summary> SingleSite = 10, /// <summary...
{ "content_hash": "3911475945878ee8e038c99fd0eeb29e", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 62, "avg_line_length": 22.209302325581394, "alnum_prop": 0.48900523560209425, "repo_name": "ndouthit/Certify", "id": "547deb0a1803124cfe5b043bdcdcff91566874da", "size": "95...
ldap_dir = case os.family when 'debian' '/etc/ldap' when 'redhat', 'amazon', 'fedora', 'suse' '/etc/openldap' when 'bsd' '/usr/local/etc/openldap' end control 'type_consumer' do describe file "#{ldap_dir}/slapd.conf" do its('content') { should match %r{syncrepl rid=102\n\s+provider=ldap://l...
{ "content_hash": "8d5309e9888d1ba0e6d8fb7e08bfce15", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 355, "avg_line_length": 40.733333333333334, "alnum_prop": 0.6808510638297872, "repo_name": "chef-cookbooks/openldap", "id": "bddcb312265d16a7c6f54c12a8a799bc9776ff0b", "siz...
/** * @file chsem.h * @brief Semaphores macros and structures. * * @addtogroup semaphores * @{ */ #ifndef _CHSEM_H_ #define _CHSEM_H_ #if CH_USE_SEMAPHORES || defined(__DOXYGEN__) /** * @brief Semaphore structure. */ typedef struct Semaphore { ThreadsQueue s_queue; /**< @brief Queue of...
{ "content_hash": "509e81891987730d0473868932fbe4bb", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 78, "avg_line_length": 25.84, "alnum_prop": 0.6261609907120743, "repo_name": "silentsight/cansat", "id": "d8de2c8cd817e1cf355012ad0acdfaf893daa989", "size": "3733", "bin...
package com.suscipio_solutions.consecro_mud.Commands; import java.util.List; import java.util.Vector; import com.suscipio_solutions.consecro_mud.Common.interfaces.CMMsg; import com.suscipio_solutions.consecro_mud.Items.interfaces.Food; import com.suscipio_solutions.consecro_mud.Items.interfaces.Item; import com.suscip...
{ "content_hash": "39858a44b6193f148492814d658064d6", "timestamp": "", "source": "github", "line_count": 110, "max_line_length": 132, "avg_line_length": 34.75454545454546, "alnum_prop": 0.6989275438137589, "repo_name": "ConsecroMUD/ConsecroMUD", "id": "0808610b7218785fff66dc377dd4d547e8a1575b", "siz...
This program displays the well-known Sierpinski triangle. This is done by computing Pascal's triangle modulo 2. See [Wikipedia] (https://en.wikipedia.org/wiki/Sierpinski_triangle). I know there are smaller versions out there but they look different. :) ruelle, 2010
{ "content_hash": "3c76486a534e0965faabf1a79b36f894", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 73, "avg_line_length": 38.285714285714285, "alnum_prop": 0.7873134328358209, "repo_name": "volleyballschlaeger/sierp", "id": "fa7a4c456a60f4e7dd7873878ad617aed5161ef4", "siz...
<?php /** * The contents of this file was generated using the WSDLs as provided by eBay. * * DO NOT EDIT THIS FILE! */ namespace DTS\eBaySDK\MerchantData\Types; /** * * @property \DTS\eBaySDK\MerchantData\Enums\UserIdentityCodeType $type */ class UserIdentityType extends \DTS\eBaySDK\Types\StringType { /**...
{ "content_hash": "0b65ab287c2a06c605b767b0b4cb9678", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 116, "avg_line_length": 28.21276595744681, "alnum_prop": 0.5920060331825038, "repo_name": "chain24/ebayprocess-lumen", "id": "8b834581cc6689ef0c2e86d60f6cffb92bccaa12", "si...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Exploring Destinasia discount rules</title> <meta name="description" content="Exploring discount travel rules project"> <meta name="author" content="Eric D. Schabell"> <meta name="apple-mobile-web-app-capable" content="yes" />...
{ "content_hash": "5aa05ecff88793c60b61f9d2d538b534", "timestamp": "", "source": "github", "line_count": 277, "max_line_length": 144, "avg_line_length": 36.59205776173285, "alnum_prop": 0.5158839779005525, "repo_name": "appdevcloudworkshop/appdevcloudworkshop.github.io", "id": "6d01f2a3b41237f5f695e58...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework.Graphics; using System.Collections; using Microsoft.Xna.Framework; using RenderingLibrary.Graphics; namespace RenderingLibrary.Math.Geometry { public class LinePrimitive { #region Fields...
{ "content_hash": "45cdd60657f302380f4f4006cbcffbe4", "timestamp": "", "source": "github", "line_count": 246, "max_line_length": 134, "avg_line_length": 31.40650406504065, "alnum_prop": 0.5172146000517732, "repo_name": "kainazzzo/FRBInput", "id": "2200bf034bdfc6c7612a73ba4d73c07204949dc4", "size": "...
<?php namespace AppBundle\Repository; /** * The country repository. */ class CountryRepository extends AbstractRepository implements CountryRepositoryInterface { /** * {@inheritdoc} */ public function findAll() { return parent::findAll(); } }
{ "content_hash": "9c44cafca9ad52aeab2809440b141378", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 88, "avg_line_length": 15.61111111111111, "alnum_prop": 0.6548042704626335, "repo_name": "thomasnisole/nfcave-api", "id": "cd3eaec461b3c2432c2f43e53e550ce74aab35cc", "size"...
<div class="support-info-wrap"> <div class="support-info-block"> <h3>Need help? Get in touch!</h3> <p>Email, call, text, or visit us. We've got support teams in the USA and Europe to make sure we're there when you need us.<br/>We'd love to hear from you.</p> <div class="btn-wrap"> <a href="<?php echo esc_url...
{ "content_hash": "4376444b46783530f3e0fe2aabcc8c34", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 179, "avg_line_length": 48.55555555555556, "alnum_prop": 0.6964149504195271, "repo_name": "smpetrey/leahconstantine.com", "id": "c3637bcf99fab80baacd66956dff5fa807313113", ...
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #pragma once #define TEXTURE_COMPRESSOR_MODULENAME "TextureCompressor" /** * Compressed image data. */ struct FCompressedImage2D { TArray<uint8> RawData; int32 SizeX; int32 SizeY; uint8 PixelFormat; // EPixelFormat, opaque to avoid dependencies on En...
{ "content_hash": "471eb874ec1cca8a0ef13babfc4fd512", "timestamp": "", "source": "github", "line_count": 192, "max_line_length": 177, "avg_line_length": 36.770833333333336, "alnum_prop": 0.738243626062323, "repo_name": "PopCap/GameIdea", "id": "a2c09e8927b1979318bf3da4afb164d6c879c28d", "size": "706...
#ifndef __FORK_XA2_CORE_H__ #define __FORK_XA2_CORE_H__ namespace Fork { namespace Audio { //! Releases the specified DirectX object. template <class T> void DXSafeRelease(T*& object) { if (object) { object->Release(); object = nullptr; } } //! Releases the specified list of DirectX ...
{ "content_hash": "fe562b2d574bdfa4d05a8bcc92933ceb", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 51, "avg_line_length": 13.047619047619047, "alnum_prop": 0.593065693430657, "repo_name": "LukasBanana/ForkENGINE", "id": "774adcbe2d38a4cff40bbb877fdaca0f5c243b92", "size":...
namespace cc { class DisplayItemList; } namespace gfx { class Canvas; } class SkPictureRecorder; namespace ui { class ClipTransformRecorder; class CompositingRecorder; class PaintRecorder; class COMPOSITOR_EXPORT PaintContext { public: // Construct a PaintContext that may only re-paint the area in the // |inva...
{ "content_hash": "2cb4f89215c6748d1f0a9ed5ada10bb2", "timestamp": "", "source": "github", "line_count": 103, "max_line_length": 80, "avg_line_length": 32.932038834951456, "alnum_prop": 0.7211084905660378, "repo_name": "SaschaMester/delicium", "id": "8a27a1bee3b47a1a2ffc042869ba0dbeb6f4a742", "size"...
/** * This very basic implementation of a priority queue is used to select the * next node of the graph to walk to. * * The queue is always sorted to have the least expensive node on top. * Some helper methods are also implemented. * * You should **never** modify the queue directly, but only using the methods *...
{ "content_hash": "d22705c9f5a6ee282f600aeb6722f8b8", "timestamp": "", "source": "github", "line_count": 107, "max_line_length": 77, "avg_line_length": 23.570093457943926, "alnum_prop": 0.6003172085646312, "repo_name": "albertorestifo/node-dijkstra", "id": "3cb9aa8354284b982376de82c6bbfa993de853b5", ...
package com.beastbikes.restful.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Indicates the annotated method using HTTP PUT to access the RESTful service * * @author johnsonlee * @si...
{ "content_hash": "d1f6ad5c00dd48e72aeb322ed6f596b2", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 78, "avg_line_length": 22.5, "alnum_prop": 0.7755555555555556, "repo_name": "beastbikes/sphere", "id": "75cc371192820e7399c4559d93d7d21b1ef274cf", "size": "450", "binary"...
package com.resmed.refresh.utils; public class MeasureManager { public static float convertCelsiusToFahrenheit(float paramFloat) { return 9.0F * paramFloat / 5.0F + 32.0F; } public static float convertFahrenheitToCelsius(float paramFloat) { return (paramFloat - 32.0F) * 5.0F / 9.0F; } publi...
{ "content_hash": "e856f59c2357454b673b924e61cce490", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 66, "avg_line_length": 21.65, "alnum_prop": 0.6674364896073903, "repo_name": "Venryx/LucidLink", "id": "b7ec7441bba641f5af04d589766f31e59f24d7ff", "size": "866", "binary"...
FROM balenalib/kitra520-alpine:edge-run ENV NODE_VERSION 16.14.0 ENV YARN_VERSION 1.22.4 # Install dependencies RUN apk add --no-cache libgcc libstdc++ libuv \ && apk add --no-cache libssl1.0 || apk add --no-cache libssl1.1 RUN buildDeps='curl' \ && set -x \ && for key in \ 6A010C5166006599AA17F08146C2130DFD2497...
{ "content_hash": "0dd3741218a97357a2cdc61e47652ca7", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 697, "avg_line_length": 62.416666666666664, "alnum_prop": 0.7076101468624834, "repo_name": "resin-io-library/base-images", "id": "7245884d90aaec39e2726cd48b3b8d026d6592b5", ...
from pprint import pprint from diffengine.difference import hierarchical_matcher from diffengine.tokenization import wikitext_split tokens1 = wikitext_split.tokenize("Foo bar derp.") print(tokens1) for i, op in enumerate(hierarchical_matcher.diff([], tokens1)): print("#{0}: {1}".format(i+1, repr(op))) print("---...
{ "content_hash": "856943e9041363f65c6666cb9ce9844a", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 74, "avg_line_length": 32.416666666666664, "alnum_prop": 0.6696658097686375, "repo_name": "halfak/Difference-Engine", "id": "77491ef51101e6b62653946807c3e44388f15a25", "siz...
/** * @created Lei)Leo) SHI <foxshee@gmail.com> * @date 1/23/16 */ 'use strict'; /* *************************************************************************** * ### Angular Module - Chats ### * */ // Define your `project module` var angular = require('angular'); var chatsModule = angular.module('app.chats', ...
{ "content_hash": "0c3d69fbfbfcba49d6eed27b97ab947a", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 118, "avg_line_length": 28.903225806451612, "alnum_prop": 0.6205357142857143, "repo_name": "cowfox/ionic-boilerplate", "id": "afdb7d941968ad460000cb83fb9876148d831229", "si...
<!-- ~ Copyright (c) 2010-2014 Evolveum ~ ~ 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 ...
{ "content_hash": "ad661eb8a9950f7e03f15d09350ecfd5", "timestamp": "", "source": "github", "line_count": 114, "max_line_length": 104, "avg_line_length": 39.3859649122807, "alnum_prop": 0.7532293986636971, "repo_name": "gureronder/midpoint", "id": "91554a88bccae51f8f2675d7abb67ce4106a93f8", "size": "...
#include <common.h> #include <command.h> #include <rtc.h> #if defined(CONFIG_CMD_DATE) #include <asm/blackfin.h> #include <asm/mach-common/bits/rtc.h> #define pr_stamp() debug("%s:%s:%i: here i am\n", __FILE__, __func__, __LINE__) #define MIN_TO_SECS(x) (60 * (x)) #define HRS_TO_SECS(x) (60 * MIN_TO_SECS(x)...
{ "content_hash": "a99569cdf335f355d48dcff8a8c356c7", "timestamp": "", "source": "github", "line_count": 115, "max_line_length": 109, "avg_line_length": 24.304347826086957, "alnum_prop": 0.6457960644007156, "repo_name": "EleVenPerfect/S3C2440", "id": "21a2189e2753b8d2fffceecc41a5e3c2b4c780e6", "size...
package org.elasticsearch.search.suggest.term; import org.elasticsearch.ElasticsearchException; import org.elasticsearch.common.io.stream.StreamInput; import org.elasticsearch.common.io.stream.StreamOutput; import org.elasticsearch.common.text.Text; import org.elasticsearch.common.xcontent.XContentBuilder; import org...
{ "content_hash": "9ca3d454257e7c60b9a72c4f5eebc8a7", "timestamp": "", "source": "github", "line_count": 187, "max_line_length": 121, "avg_line_length": 30.689839572192515, "alnum_prop": 0.6032409827496079, "repo_name": "mapr/elasticsearch", "id": "bc4006469ad1a2f12a88aa08a75e021cc5d14062", "size": ...
<?php namespace Vardius\Bundle\ListBundle\Action; /** * Action * * @author Rafał Lorenz <vardius@gmail.com> */ class Action implements ActionInterface { /** @var string */ protected $name; /** @var string */ protected $path; /** @var string */ protected $icon; /** @var array */ ...
{ "content_hash": "87ab1d22cca3759db102d915831c5353", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 104, "avg_line_length": 16.98, "alnum_prop": 0.502944640753828, "repo_name": "Vardius/list-bundle", "id": "dc075f6c7bffaa2a04fd31949049dbacd11e3670", "size": "1937", "bi...
require 'date' module Sequel module Plugins module TimeMachine def self.configure(model, opts={}) model.period_start_date_column = opts[:period_start_column] model.period_end_date_column = opts[:period_end_column] model.delegate :point_in_time, to: model end module Cla...
{ "content_hash": "9e48281aca776ed7f9d98f6f33472323", "timestamp": "", "source": "github", "line_count": 107, "max_line_length": 258, "avg_line_length": 37.83177570093458, "alnum_prop": 0.5983201581027668, "repo_name": "alphagov/trade-tariff-backend", "id": "a2528b7d31c21c80f15714cbaf8c934fc4013cff", ...