text
stringlengths
2
1.04M
meta
dict
import sys from typing import TYPE_CHECKING if sys.version_info < (3, 7) or TYPE_CHECKING: from ._up import UpValidator from ._projection import ProjectionValidator from ._eye import EyeValidator from ._center import CenterValidator else: from _plotly_utils.importers import relative_import __a...
{ "content_hash": "b9fa3c242fee83081c705505db6fae0e", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 55, "avg_line_length": 27.476190476190474, "alnum_prop": 0.5961871750433275, "repo_name": "plotly/plotly.py", "id": "6fda571b1ed2506974b823cd4f390f9217cceb7e", "size": "577...
'use strict'; module.exports = function (grunt) { // Project configuration. grunt.initConfig({ // Metadata. pkg: grunt.file.readJSON('package.json'), banner: '\n', // Task configuration. concat: { options: { banner: '<%= banner %>...
{ "content_hash": "1c407a3c1ba3a89a2fc663fc060e94aa", "timestamp": "", "source": "github", "line_count": 137, "max_line_length": 108, "avg_line_length": 36.518248175182485, "alnum_prop": 0.43154107535478714, "repo_name": "deanius/cdnjs", "id": "7d1ded4a6142a84d543d2848749a2161be12791f", "size": "535...
/* globals PDFJS */ 'use strict'; (function (root, factory) { if (typeof define === 'function' && define.amd) { define('pdfjs/core/evaluator', ['exports', 'pdfjs/shared/util', 'pdfjs/core/primitives', 'pdfjs/core/stream', 'pdfjs/core/parser', 'pdfjs/core/image', 'pdfjs/core/colorspace', 'pdfjs/core...
{ "content_hash": "f089fb7453d16d1b73cdd80545c1a281", "timestamp": "", "source": "github", "line_count": 2976, "max_line_length": 80, "avg_line_length": 37.53595430107527, "alnum_prop": 0.5549338895503415, "repo_name": "thepulkitagarwal/pdf.js", "id": "2fa42d7b6474407b28217638544cbc89732c95f8", "siz...
<!--suppress XmlUnboundNsPrefix --> <idea-plugin version="2"> <id>com.basisjs</id> <name>Basis.js framework plugin</name> <version>0.1.5</version> <vendor email="s.melukov@gmail.com" url="http://basisjs.com">Basis.js</vendor> <description><![CDATA[ <a href="http://basisjs.com">Basis.js</a> inte...
{ "content_hash": "3e1a3fb8373e7dc6f1eaf3c13f56c0df", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 130, "avg_line_length": 53.09090909090909, "alnum_prop": 0.6686643835616438, "repo_name": "smelukov/intellij-basisjs-plugin", "id": "f3f3d61ae8e85e814a6cd765cba593ef89bae244"...
package config // ScrapeConfig : Config struct for Scraping type ScrapeConfig struct { URL string `json:"scrape_url"` Name string `json:"name"` IntervalSeconds int64 `json:"interval"` } // ScraperConfig : Config struct for Scraper type ScraperConfig struct { Addr string ...
{ "content_hash": "4a68ff965470b7be9c92293e644efb9f", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 69, "avg_line_length": 26.548387096774192, "alnum_prop": 0.6549210206561361, "repo_name": "steindornatorinn/nyaa", "id": "38b28b5c294c03492cf715733fef1a78c99f42b9", "size":...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "77230adc8f4f24e3f81dba0711ff6a0c", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "5188d2432bd405db68731e5cbfe0ae293dec1079", "size": "172...
package algolia.dsl import algolia.definitions._ import algolia.objects.Rule import algolia.responses.{SearchRuleResult, Task} import algolia.{AlgoliaClient, AlgoliaClientException, Executable} import org.json4s.Formats import scala.concurrent.{ExecutionContext, Future} trait RulesDsl { implicit val formats: Fo...
{ "content_hash": "a403d98c7cf05d01632467a168618bce", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 76, "avg_line_length": 26.53409090909091, "alnum_prop": 0.7160599571734475, "repo_name": "algolia/algoliasearch-client-scala", "id": "75c56adb19551c03a8df0da04b87d95a66980f3d...
package com.perunlabs.testinjector.bind; import java.lang.reflect.Field; import com.google.inject.Binder; import com.google.inject.Key; public class ToInstanceBinding<T> extends Binding<T> { private final T instance; public ToInstanceBinding(Key<T> key, T instance, Field field) { super(key, field); this...
{ "content_hash": "b9907bd97f57b6fb1d028de54603248f", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 65, "avg_line_length": 22.45, "alnum_prop": 0.7282850779510023, "repo_name": "mikosik/test-injector", "id": "6f16db03353812bf661db932b86e4f5156b06dc5", "size": "449", "bi...
package it.quartara.boser.worker; import java.util.Date; import javax.ejb.ActivationConfigProperty; import javax.ejb.MessageDriven; import javax.ejb.TransactionManagement; import javax.ejb.TransactionManagementType; import javax.jms.JMSException; import javax.jms.MapMessage; import javax.jms.Message; import javax.jms...
{ "content_hash": "ec81757c02be0e761851dc35b8b1d1ef", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 103, "avg_line_length": 32.765625, "alnum_prop": 0.748688602765856, "repo_name": "vernyquartara/boser", "id": "e48f110e54a8b1ce2420315040754c6d55c0c589", "size": "2097", ...
package live //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 //distribu...
{ "content_hash": "410d21858773dc3411c90fc4a5d5d2c8", "timestamp": "", "source": "github", "line_count": 102, "max_line_length": 195, "avg_line_length": 40.48039215686274, "alnum_prop": 0.7849358198110923, "repo_name": "aliyun/alibaba-cloud-sdk-go", "id": "4444a20d8cc52fbe9bc1e269f605618fafc90f29", ...
<?php namespace Welldom; /** * Xml Serializer. * * @author Jérôme Tamarelle <jerome@tamarelle.net> */ class XmlSerializer { /** * Serialize an array into an XML * * @param array $array * @return string */ static public function arrayToXml(array $array) { $xml = ''; ...
{ "content_hash": "87e56d2fabe9e475f36ce9bc60aa9bc9", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 68, "avg_line_length": 20.29824561403509, "alnum_prop": 0.4675885911840968, "repo_name": "LExpress/Welldom", "id": "999ab2dd168b5f2f246b73c87ff2851b579441fc", "size": "1374...
.class public Lcom/samsung/android/contextaware/utilbundle/CaBootStatus; .super Ljava/lang/Object; .source "CaBootStatus.java" # interfaces .implements Lcom/samsung/android/contextaware/utilbundle/IUtilManager; # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/samsung/andr...
{ "content_hash": "32078d00eeacdacc53660aea90f17602", "timestamp": "", "source": "github", "line_count": 280, "max_line_length": 167, "avg_line_length": 32.121428571428574, "alnum_prop": 0.7630642650655993, "repo_name": "BatMan-Rom/ModdedFiles", "id": "ffe0c99832a513af9cf934cfe3f0c6711e014a25", "siz...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/container/v1/cluster_service.proto package com.google.container.v1; public interface AutoUpgradeOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.container.v1.AutoUpgradeOptions) com.google.protobuf.Messa...
{ "content_hash": "66a1e7ce2f76fe1144e8d8784ad6ebc1", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 89, "avg_line_length": 30.705882352941178, "alnum_prop": 0.6787994891443168, "repo_name": "speedycontrol/googleapis", "id": "123f435c127aa6d40fe46baeaf94ee7d594c5ce6", "siz...
<?xml version="1.0" encoding="UTF-8"?> <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-2.0.xsd"> ...
{ "content_hash": "f05997764a919493805a5db6f2d3da6e", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 156, "avg_line_length": 82.5, "alnum_prop": 0.7454545454545455, "repo_name": "socrata-platform/soql-postgres-adapter", "id": "fda8a352b86d96764f7a35dc03bb1d5a896400f1", "si...
package com.jonathancolt.nicity.view.threeD; /* * #%L * nicity-view * %% * Copyright (C) 2013 Jonathan Colt * %% * 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...
{ "content_hash": "311190ccd89795c819bbb7cc50098e74", "timestamp": "", "source": "github", "line_count": 135, "max_line_length": 75, "avg_line_length": 20.022222222222222, "alnum_prop": 0.4583795782463929, "repo_name": "jnthnclt/nicity", "id": "2797e0fe70ae50abd76d392dfca2c37ff6c71787", "size": "336...
Title: Commands Slug: docs/commands/index # XXX Commands (CLI) XXX is controlled via a very easy to use command-line interface (CLI). XXX is only a single command-line application: `XXX`. This application then takes a subcommand such as "agent" or "members". The complete list of subcommands is in the navigation to t...
{ "content_hash": "e0cf3a46cf0ccd96dfe138a29025fb11", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 85, "avg_line_length": 34.96153846153846, "alnum_prop": 0.6974697469746974, "repo_name": "naparuba/kunai", "id": "9ab1be1da4f2ff2bf79df9083d8663c496dd47eb", "size": "1818",...
package multierr import "bytes" // Multierr struct allows to have multiple errors together type Multierr struct { errors []error } // NewMultierr creates a new pointer to Multierr func NewMultierr(errs ...error) *Multierr { m := Multierr{} m.errors = append(m.errors, errs...) return &m } // Add adds error to ...
{ "content_hash": "09501eee4efa3c9580fcea8303dfdf7a", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 58, "avg_line_length": 19.710526315789473, "alnum_prop": 0.7022696929238985, "repo_name": "cristaloleg/funf", "id": "019db50e5e4349d6f10ec1423d6c47c6c37fc8e9", "size": "749...
import re from django.conf import settings from django.contrib.syndication.views import Feed from django.utils.feedgenerator import Atom1Feed from django.utils.translation import ugettext_lazy as _ from django.core.urlresolvers import reverse from django.shortcuts import get_object_or_404 from .models import FoiReque...
{ "content_hash": "ec140324de4971662b84ac7d9554af92", "timestamp": "", "source": "github", "line_count": 146, "max_line_length": 102, "avg_line_length": 31.938356164383563, "alnum_prop": 0.5933948102080205, "repo_name": "CodeforHawaii/froide", "id": "0ec0a91dd556c670ab48eeb54e22c7fc3ef0e314", "size"...
<?php namespace fieldwork\tests\sanitizers; use fieldwork\sanitizers\NumberSanitizer; class NumberSanitizerTest extends FieldSanitizer_TestCase { public function testSanitization () { $this->setSanitizer(new NumberSanitizer()); $this->assertOutcome('0.a1', '0.1'); $this->assertOutc...
{ "content_hash": "bcd5967c538c965bb109a3e6354fb46c", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 60, "avg_line_length": 24.70967741935484, "alnum_prop": 0.587467362924282, "repo_name": "jmversteeg/fieldwork", "id": "c18846c5eaa8f4e81bc0471b638acf14cdfbbcb2", "size": "9...
/* Declare two string variables and assign them with following value: The "use" of quotations causes difficulties. Do the above in two different ways - with and without using quoted strings. Print the variables to ensure that their value was correctly defined. */ using System; class QuotesInStrings { ...
{ "content_hash": "3432deaa8e31e57c9bd203f00f09eb72", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 80, "avg_line_length": 35.05263157894737, "alnum_prop": 0.6816816816816816, "repo_name": "Andro0/TelerikAcademy", "id": "5aa7ffb57920bab6f649bd4780e2d874754f869d", "size": ...
namespace content { RtcVideoCapturer::RtcVideoCapturer( const media::VideoCaptureSessionId id, VideoCaptureImplManager* vc_manager, bool is_screencast) : is_screencast_(is_screencast), delegate_(new RtcVideoCaptureDelegate(id, vc_manager)), state_(VIDEO_CAPTURE_STATE_STOPPED) { } RtcVideoC...
{ "content_hash": "0467b6b482afc21cd4b8375e2f379917", "timestamp": "", "source": "github", "line_count": 121, "max_line_length": 80, "avg_line_length": 31.024793388429753, "alnum_prop": 0.7048481619605754, "repo_name": "leighpauls/k2cro4", "id": "950640fedc2618691a3da1d966bbeee778059111", "size": "4...
#ifndef MICROPY_INCLUDED_SHARED_MODULE_AUDIOIO_WAVEFILE_H #define MICROPY_INCLUDED_SHARED_MODULE_AUDIOIO_WAVEFILE_H #include "extmod/vfs_fat.h" #include "py/obj.h" #include "shared-module/audiocore/__init__.h" typedef struct { mp_obj_base_t base; uint8_t *buffer; uint32_t buffer_length; uint8_t *se...
{ "content_hash": "742b8cbae509609c39b378f0b5ebcbd7", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 100, "avg_line_length": 31.574468085106382, "alnum_prop": 0.6893530997304582, "repo_name": "adafruit/circuitpython", "id": "986359e16ecdd0fe9abeddcd5bff565716d9ec5a", "size...
SBEP = SBEP or {} -- This function basically deals with stuff that happens when a player hops out of a vehicle function SetExPoint(player, vehicle) if vehicle.ExitPoint and vehicle.ExitPoint:IsValid() then local EPP = vehicle.ExitPoint:GetPos() local VP = vehicle:GetPos() local Dist = EPP:Distance(VP) if Dist...
{ "content_hash": "653075834c47fdbcf8034c0dfc1f9e48", "timestamp": "", "source": "github", "line_count": 163, "max_line_length": 126, "avg_line_length": 32.74233128834356, "alnum_prop": 0.6874648679033165, "repo_name": "X-Coder/SBEP-Weapons", "id": "633e25a245b0c05886d9b37754df7cd808098ef1", "size":...
package org.apache.activemq.apollo.util; import java.util.ArrayList; /** * @author <a href="http://www.christianposta.com/blog">Christian Posta</a> */ public class CircularBuffer<E> extends ArrayList<E>{ private int maxSize; private int pos = 0; public CircularBuffer(int maxSize) { super(maxSi...
{ "content_hash": "0b972456f0c30c7a950ec842cf9e74c0", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 75, "avg_line_length": 19.523809523809526, "alnum_prop": 0.524390243902439, "repo_name": "christian-posta/activemq-apollo-java-port", "id": "75c0c69e948b49cd2ed5d671b90f10423...
from ...utils import * def bubble_sort(values, comp_function, visual = False): """ Use Bubble Sort for sorting a list of n values given a comparison function Args: values: The list to be sorted comp_function: A binary function indicating order for sorting visual: Set to True for additional screen output R...
{ "content_hash": "58596fcdd2cd4b4cf5102e6dd0685a4a", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 101, "avg_line_length": 25.209302325581394, "alnum_prop": 0.6439114391143912, "repo_name": "aryrobocode/apothecary", "id": "86d6065e842bfb503d414da5957bd811727cd7c8", "size...
import { isString, isError, isObject } from 'lodash'; import { CustomError } from '../errors/custom.error'; import { Utilities, PlatformType } from '../helpers/utilities'; export class UI { /** Shows a basic notification at the top of the page * @param message - Message, either single-string or multiline (p...
{ "content_hash": "463a4b947799bb92f901d54ece8ae628", "timestamp": "", "source": "github", "line_count": 295, "max_line_length": 120, "avg_line_length": 37.49491525423729, "alnum_prop": 0.49769460265798754, "repo_name": "nujhong/office-js-helpers", "id": "23922b8080e293275fdf3d1d7757c2750c235ce2", "...
import Menu from 'ant-design-vue/es/menu' import Icon from 'ant-design-vue/es/icon' const { Item, SubMenu } = Menu export default { name: 'SMenu', props: { menu: { type: Array, required: true }, theme: { type: String, required: false, default: 'dark' }, mode: { ...
{ "content_hash": "938b937c9f1a0a7671b2b81acd9dbe68", "timestamp": "", "source": "github", "line_count": 190, "max_line_length": 111, "avg_line_length": 23.652631578947368, "alnum_prop": 0.5113484646194927, "repo_name": "GabrielBrascher/cloudstack", "id": "7cb1a0133552a4e2d5bfb329115eeef71549a6c1", ...
/** * Given metadata on a tile source, a GeoJS tileLayer, and a set of options, * add a function to the layer `setFrameQuad(<frame>)` that will, if possible, * set the baseQuad to a cropped section of an image that contains excerpts of * all frames. * * @param {object} tileinfo The metadata of the source image. ...
{ "content_hash": "492cda5c8298c2b3bef6d3e77a67580f", "timestamp": "", "source": "github", "line_count": 158, "max_line_length": 214, "avg_line_length": 50.063291139240505, "alnum_prop": 0.6032869785082174, "repo_name": "girder/large_image", "id": "0e5d318cecf9582c5086958f74db4218a1c9e711", "size": ...
from RPi import GPIO GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) num_pins = 28 pins = range(num_pins) for pin in pins: GPIO.setup(pin, GPIO.IN, GPIO.PUD_UP) pin_states = {pin: GPIO.input(pin) for pin in pins} print() for pin, state in pin_states.items(): print("%2d: %s" % (pin, state)) active = [pin f...
{ "content_hash": "a6268e032c5eab02e585a690c4f05d62", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 64, "avg_line_length": 22.035714285714285, "alnum_prop": 0.6709886547811994, "repo_name": "RPi-Distro/python-rpi-dots", "id": "f0b8b66f8ad2f0b69aff7ea8d70ea58946ff907f", "s...
using GeckoUBL.Ubl21.Udt; namespace GeckoUBL.Ubl21.Cac { /// <remarks/> [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.33440")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serializati...
{ "content_hash": "2ac2e6caf12cd4a33060319a870db91f", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 164, "avg_line_length": 47.96, "alnum_prop": 0.7873227689741451, "repo_name": "JohnGrekso/GeckoUBL", "id": "8b07b1e3d12f5a11f234bb3bef95ab79d8dedb4a", "size": "1199", "bi...
#pragma once #include "Animation/AnimationTrack.h" #include "Base/BaseTypes.h" #include "Base/BaseMath.h" #include "Debug/DVAssert.h" #include "Entity/Component.h" #include "Math/AABBox3.h" #include "Reflection/Reflection.h" #include "Scene3D/Entity.h" #include "Scene3D/SceneFile/SerializationContext.h" #in...
{ "content_hash": "95261ab887cf35d8fcbe7115be145dbb", "timestamp": "", "source": "github", "line_count": 170, "max_line_length": 123, "avg_line_length": 31.58235294117647, "alnum_prop": 0.7316073756751723, "repo_name": "dava/dava.engine", "id": "37664fe16e31bfcf8b3dc9ad89b09f898c6759fe", "size": "53...
module DiabloApi module Data module Follower end end end
{ "content_hash": "69b97e644108824bea3082c21670dde1", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 19, "avg_line_length": 11.5, "alnum_prop": 0.6956521739130435, "repo_name": "SwamiRama/diablo_api", "id": "a10f87a90249aadbb6b39e489f0561080931029c", "size": "69", "binary...
<!-- saved from url=(0022)http://internet.e-mail --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1250"> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> <title>Main page - ECM ECO Monitoring</title> </head> <body bgcolor="#FFFFFF"> <p align="center"><b><font color="#000...
{ "content_hash": "885b01140f6aab349e54519b59db0be5", "timestamp": "", "source": "github", "line_count": 229, "max_line_length": 185, "avg_line_length": 37.8296943231441, "alnum_prop": 0.6749393974373773, "repo_name": "RadoBuransky/ancient-code-of-mine", "id": "1e77c94dd354306c30c3e048e9d123354a808efc...
'use strict'; var _ = require('underscore'), // test dependencies mocha = require('mocha'), expect = require('chai').expect, sinon = require('sinon'), requireHelper = require('test/_util/require_helper'), // other ExpandsURLMap = require('src/modules/api...
{ "content_hash": "4188b8fdc177892907cee061844b58e6", "timestamp": "", "source": "github", "line_count": 124, "max_line_length": 105, "avg_line_length": 24.991935483870968, "alnum_prop": 0.6018070345272669, "repo_name": "mosaiqo/frontend-devServer", "id": "37f9acb7cf3606c6bde9b4d9a38adfed7b2a313f", ...
package com.facebook.litho.specmodels.processor; import static com.facebook.litho.specmodels.internal.ImmutableList.copyOf; import static com.facebook.litho.specmodels.processor.DelegateMethodExtractor.getPermittedMethodParamAnnotations; import static com.facebook.litho.specmodels.processor.PsiMethodExtractorUtils.g...
{ "content_hash": "83053fa1cb75ea693760eac40f2a4baa", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 113, "avg_line_length": 45.707692307692305, "alnum_prop": 0.7367889599461461, "repo_name": "facebook/litho", "id": "aba6d98ced7680691f624c51c430e911a75cd6b8", "size": "3589...
<!-- Copyright 2017 Next Century Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writin...
{ "content_hash": "3979407421510b65689d02da76fa7b89", "timestamp": "", "source": "github", "line_count": 221, "max_line_length": 118, "avg_line_length": 36.23981900452489, "alnum_prop": 0.6635035584966912, "repo_name": "NextCenturyCorporation/digapp-ht", "id": "0fa234738023991ec1e225d8b77b6aee8a0c2872...
package api import ( "net/http" "github.com/keydotcat/keycatd/managers" "github.com/keydotcat/keycatd/models" "github.com/keydotcat/keycatd/util" ) // /team/:tid/secret func (ah apiHandler) teamSecretRoot(w http.ResponseWriter, r *http.Request, t *models.Team) error { var head string head, r.URL.Path = shiftPa...
{ "content_hash": "c7f57f8fe44e2324aa956b51a4e61315", "timestamp": "", "source": "github", "line_count": 170, "max_line_length": 131, "avg_line_length": 28.323529411764707, "alnum_prop": 0.6747663551401869, "repo_name": "keydotcat/backend", "id": "0e2b029e62c924db005a2058ba57de789fa8d8c7", "size": "...
#ifndef Magnum_Shaders_Implementation_CreateCompatibilityShader_h #define Magnum_Shaders_Implementation_CreateCompatibilityShader_h #include <Corrade/Utility/Resource.h> #include "Magnum/Context.h" #include "Magnum/Extensions.h" #include "Magnum/Shader.h" /* Enable only when compiling Shaders library and thus work ...
{ "content_hash": "dcc8e88b57b8cc2579ac6803947faf1b", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 106, "avg_line_length": 38.47826086956522, "alnum_prop": 0.7451977401129943, "repo_name": "MiUishadow/magnum", "id": "5c7f08fbb0ef9e06f475f79bcdf6645c41e17c88", "size": "30...
To contribute your custom controls to UI5lab you need to transform it into a UI5Lab library. A simple example set up according to our best practices can be found in project [UI5Lab-library-simple](https://github.com/UI5Lab/UI5Lab-library-simple). **Note:** Please use the new [OpenUI5 npm modules](https://www.npmjs.co...
{ "content_hash": "3dcb15973e9783c43a9ed3e5b524211d", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 431, "avg_line_length": 63.5, "alnum_prop": 0.6523502743975185, "repo_name": "UI5Lab/UI5Lab", "id": "eb5277167aee3c2671b93ab70228d8b2412ecce6", "size": "4258", "binary": ...
require "spec_helper" describe CategoriesController do describe "routing" do it "routes to #show" do get("/categories/1/page/1").should \ route_to("categories#show", id: "1", page: "1") end end end
{ "content_hash": "d3bb3a200b6d3861cffde009c1c7545a", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 55, "avg_line_length": 19.25, "alnum_prop": 0.6190476190476191, "repo_name": "cihad/ilan", "id": "6df3146c497ab2a80803ed5505dcd8c01d80bac4", "size": "231", "binary": fals...
namespace MusicStore.Models { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using Common.Constants; public class Album { private ICollection<Artist> artists; private ICollection<Song> songs; public Album() { this.artist...
{ "content_hash": "3182f42c4fe4d6c3e98e678b4c80f642", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 62, "avg_line_length": 22.491803278688526, "alnum_prop": 0.5116618075801749, "repo_name": "DimitarSD/Telerik-Academy", "id": "f9e7f149beadd6229d56a5eaeb3e211951846ec7", "si...
<?php use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; class AccessTableSeeder extends Seeder { public function run() { if (env('DB_CONNECTION') == 'mysql') { DB::statement('SET FOREIGN_KEY_CHECKS=0;'); } $this->call(UserTableSeeder::class); $this...
{ "content_hash": "51e9ed4a9fb84cb75754a35471aa2543", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 60, "avg_line_length": 25.444444444444443, "alnum_prop": 0.6069868995633187, "repo_name": "tyb917/Lshop", "id": "2676a55729e450a5ce5e380f8fcb88882bc3dc76", "size": "687", ...
<?php require('cbsd.php'); ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>CBSD Project</title> <style> body { font-size:14px; } </style> </head> <body> <form action="addnode-fromargs.php" method="post"> <div class="main"> <div class="field"> <label for...
{ "content_hash": "a708d039a394460647befc9424cb92dd", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 76, "avg_line_length": 21.61111111111111, "alnum_prop": 0.6169665809768637, "repo_name": "olevole/cbsd-websample", "id": "ab0deb1955fe268fe4bfbe00909a98871f4bbac8", "size":...
require 'spec_helper' RSpec.describe Duralex::User do class FakeUser def self.before_create(*args) end def self.validates(*args) end include Duralex::Model end before do allow(Duralex).to receive(:definitions).and_return({ documents: Proc.new do |user| if user.admin? ...
{ "content_hash": "7d6306a88ddd7bcfc1487318c0cef419", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 76, "avg_line_length": 23.511904761904763, "alnum_prop": 0.5594936708860759, "repo_name": "demental/duralex", "id": "f2d5d903f42005d4f5f8829fda166557e64d623b", "size": "197...
require 'forwardable' require 'rubygems' gem 'oauth', '~> 0.4.1' require 'oauth' gem 'hashie' require 'hashie' gem 'httparty', '>= 0.5.2' require 'httparty' module Weibo class WeiboError < StandardError attr_reader :data def initialize(data) @data = data super end end class RepeatedW...
{ "content_hash": "95b8b08cc2405b21e612e89f0782e10c", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 73, "avg_line_length": 24.203125, "alnum_prop": 0.6655907036797934, "repo_name": "encoreshao/weibo", "id": "fcc4da1a7efbc71921481190623e7f806df66d30", "size": "1557", "bi...
- Initial scaffolding and objects - Adding dice rolling base process. JPG - hold selected dice. JPG
{ "content_hash": "97fed912f3966652f87215293f0098d0", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 39, "avg_line_length": 33.333333333333336, "alnum_prop": 0.78, "repo_name": "YachtZoes/yachtzoe_project", "id": "893151118e1d4cdd5c032e1c4eba916f17db03ee", "size": "140", ...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "94c5ab7a9166b08c33a970b28137f541", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "8f6c74277ffd1c12c641618b824172a151bd3509", "size": "175...
==ArrayList== - ArrayList#new - O(1). Technically, the process is is really O(n), since I have to create the array itself, and that would require initializing each 'index' in this array. - ArrayList#add - O(1), amortized constant time. The worst-case scenario is O(n), when we call ArrayList#resize_array. - ArrayList#g...
{ "content_hash": "88c4c9419afd0db9cb85695412f1d542", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 265, "avg_line_length": 51.645161290322584, "alnum_prop": 0.7435977514053717, "repo_name": "tra38/algorithms-phase4", "id": "5b99757d68143daf79155d42b0526a2bef61df72", "siz...
""" Mercurial ========= This module provides high-level tools for managing `Mercurial`_ repositories. .. _Mercurial: http://mercurial.selenic.com/ """ from fabric.api import run from fabtools import mercurial from fabtools.files import is_dir from fabtools.system import UnsupportedFamily, distrib_family def comm...
{ "content_hash": "2d8cbc646ac83ffe7b4480144e63245a", "timestamp": "", "source": "github", "line_count": 111, "max_line_length": 80, "avg_line_length": 34.24324324324324, "alnum_prop": 0.6224677716390423, "repo_name": "n0n0x/fabtools-python", "id": "a863473c24ec63c946cf46545ef2d39a49f33429", "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 * distribut...
{ "content_hash": "cc8159869c3d4765fad6e4c952a31648", "timestamp": "", "source": "github", "line_count": 149, "max_line_length": 210, "avg_line_length": 47.59060402684564, "alnum_prop": 0.5257368495275702, "repo_name": "Teradata/presto", "id": "e33be839934db70e243bdf5573aff32ea45fe306", "size": "709...
using System; using System.Globalization; using System.Linq; using System.Reflection; using System.Web.Http.Controllers; using System.Web.Http.Description; using System.Xml.XPath; using DataStoreService.Areas.HelpPage.ModelDescriptions; namespace DataStoreService.Areas.HelpPage { /// <summary> /// A custom <se...
{ "content_hash": "f753e317ea9b84a22a9402f92d745076", "timestamp": "", "source": "github", "line_count": 161, "max_line_length": 160, "avg_line_length": 43.701863354037265, "alnum_prop": 0.6323194997157476, "repo_name": "akhleshg/datastore-service", "id": "d055b0bdd36b0bd6fbfc86bb40a29404e576f47e", ...
sh demo/gbdt/multiclass_classification/libsvm_convert_2_ytklearn.sh sh demo/gbdt/multiclass_classification/local_optimizer.sh sh demo/gbdt/multiclass_classification/predict.sh
{ "content_hash": "24b7c7fe0841141338812852dc7d0fe9", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 67, "avg_line_length": 58.666666666666664, "alnum_prop": 0.8579545454545454, "repo_name": "yuantiku/ytk-learn", "id": "99a27aab9c2dd17a20151402f3d95426494597c8", "size": "24...
[![CI Status](http://img.shields.io/travis/mswiden36@gmail.com/PieChartLib.svg?style=flat)](https://travis-ci.org/mswiden36@gmail.com/PieChartLib) [![Version](https://img.shields.io/cocoapods/v/PieChartLib.svg?style=flat)](http://cocoapods.org/pods/PieChartLib) [![License](https://img.shields.io/cocoapods/l/PieChartLib...
{ "content_hash": "820234af9bab67877290ebc0a2a32b03", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 146, "avg_line_length": 35.370370370370374, "alnum_prop": 0.7612565445026178, "repo_name": "swimoAmin/PieChart", "id": "badf6da67de1c16fccd27513497ee09e18c67e6f", "size": "...
layout: page title: Massey Family Reunion date: 2016-05-24 author: Sara Black tags: weekly links, java status: published summary: Nullam sit amet orci sed enim. banner: images/banner/leisure-01.jpg booking: startDate: 01/27/2018 endDate: 01/31/2018 ctyhocn: NYCSIHX groupCode: MFR published: true --- Aliquam vul...
{ "content_hash": "6eeed2b90c003924519b0280a65e2089", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 649, "avg_line_length": 73.85, "alnum_prop": 0.8009478672985783, "repo_name": "KlishGroup/prose-pogs", "id": "acabb94dddc53200e6c742ba9e6146ec07c53443", "size": "1481", "...
using System.Collections.Generic; using System.Linq; using GraphLib.EdgeKeeping; using GraphLib.VertexCreation; using GraphLib.Vertices; using GraphLib.Visiting; namespace GraphLib { public class Graph { private readonly IVertexTagFactory _vertexTagFactory; private readonly Dictionary<string,...
{ "content_hash": "d227b3dab821cb563102e10d43612ed6", "timestamp": "", "source": "github", "line_count": 251, "max_line_length": 209, "avg_line_length": 34.30677290836653, "alnum_prop": 0.5594007664615027, "repo_name": "tihilv/GraphLib", "id": "b0e6c4f653b81233e1c52fa0c08747d485f11b15", "size": "861...
#pragma once #ifndef __H__OCULAR_EDITOR_EVENTS_SCENE_OBJECT_SELECTED__H__ #define __H__OCULAR_EDITOR_EVENTS_SCENE_OBJECT_SELECTED__H__ #include "Events/AEvent.hpp" #include "Scene/SceneObject.hpp" //------------------------------------------------------------------------------------------ /** * \addtogroup Ocular...
{ "content_hash": "2501c23c74b806d7f2b86d1a001e34c2", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 125, "avg_line_length": 25.323076923076922, "alnum_prop": 0.5078979343863913, "repo_name": "ssell/OcularEngine", "id": "f9e5574aa6b3159e5bb31b625124569dd3ae7563", "size": "...
package ru.job4j.strategy; /** * This class generate string as figure triangle. * * @author Kucykh Vasily (mailto:basil135@mail.ru) * @version $Id$ * @since 14.04.2017 */ public class Triangle implements IShape { /** * method generate string as figure triangle. * * @return generated string ...
{ "content_hash": "2684fe9ffce4cf6ef1a99a5296f2b397", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 50, "avg_line_length": 20.393939393939394, "alnum_prop": 0.5007429420505201, "repo_name": "Basil135/vkucyh", "id": "10ab3323e51190a566ac621e52487a6aa29c60c6", "size": "673"...
extern int omp_default_mem_alloc; namespace X { int x; }; struct B { static int ib; // expected-note {{'B::ib' declared here}} static int bfoo() { return 8; } }; int bfoo() { return 4; } int z; const int C1 = 1; const int C2 = 2; void test_linear_colons() { int B = 0; // expected-error@+2 {{only loop iterat...
{ "content_hash": "75218c3dbeaed70a0bb9cb56a891752c", "timestamp": "", "source": "github", "line_count": 268, "max_line_length": 493, "avg_line_length": 41.115671641791046, "alnum_prop": 0.6827298302931301, "repo_name": "apple/swift-clang", "id": "798aa565596717c74e30b1804278572c1cdde062", "size": "...
module Azure::ServiceFabric::V6_5_0_36 module Models # # Load Information about a Service Fabric application. # class ApplicationLoadInfo include MsRestAzure # @return [String] The identity of the application. This is an encoded # representation of the application name. This is use...
{ "content_hash": "947ed682bcd7076323a50861d9ee9859", "timestamp": "", "source": "github", "line_count": 114, "max_line_length": 81, "avg_line_length": 34.62280701754386, "alnum_prop": 0.5348365847479098, "repo_name": "Azure/azure-sdk-for-ruby", "id": "0bd9569209767e1e7b417ba831e487b088123d5a", "siz...
#include <linux/kernel.h> #include <linux/fs.h> #include <linux/jffs2.h> #include <linux/xattr.h> #include <linux/mtd/mtd.h> #include "nodelist.h" static int jffs2_trusted_getxattr(const struct xattr_handler *handler, struct dentry *dentry, const char *name, void *buffer, size_t size) { return do_jffs2_...
{ "content_hash": "2da290f48f68b52b35fd125136d3cb1e", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 70, "avg_line_length": 26.61111111111111, "alnum_prop": 0.7181628392484343, "repo_name": "mikedlowis-prototypes/albase", "id": "b2555ef07a12b1f969f63cac461e0f06f7517533", "...
package com.mathutil.sigmaTests; import static org.junit.Assert.*; import org.junit.Test; import com.mathutil.operations.Sigma; /** * Test case 11, test -x * @author danielxu * */ public class TestSigma11 { @Test public void test() { double expect = -1+Math.pow(2, -1) + -2+Math.pow(2, -2) + -3+Math.pow(2, ...
{ "content_hash": "7a10d354186749f56ebd986e9d4ba373", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 79, "avg_line_length": 17.4, "alnum_prop": 0.6275862068965518, "repo_name": "NielXu/MathUtil", "id": "9de2c733ed5a8006ce8bf4793bfab3d1a093847e", "size": "435", "binary": ...
@interface EventGetTalks : APICaller { EventDetailModel *event; } @property (nonatomic, strong) EventDetailModel *event; - (void)call:(EventDetailModel *)event; - (void)gotData:(NSObject *)obj; - (void)gotError:(NSObject *)error; @end @interface APICaller (APICaller_EventGetTalks) + (EventGetTalks *)EventGetTalks:...
{ "content_hash": "5421e4013342e809ea452860dbac636f", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 68, "avg_line_length": 23.526315789473685, "alnum_prop": 0.756152125279642, "repo_name": "joindin/joind.in-iphone", "id": "e0db2056f248553b9b02f82192ec57a22f926f6e", "size"...
import {Component, OnInit, TemplateRef, ViewEncapsulation} from '@angular/core'; import {ToastService} from "@app/services/toast.service"; import {AppNotification} from "@app/model/app-notification"; @Component({ selector: 'app-toasts', template: ` <ngb-toast *ngFor="let toast of toastService.toasts"...
{ "content_hash": "d6f3a57fc2173da8370941374237e7ec", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 114, "avg_line_length": 32.255319148936174, "alnum_prop": 0.6543535620052771, "repo_name": "sadlil/archiva", "id": "def16b0d2a8b828cdd7dad9192660a2c7605aed6", "size": "2318...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <!-- This file documents the GNU Assembler "as". Copyright (C) 1991-2013 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Do...
{ "content_hash": "7f3338b4fed35ec9d820447810c0080f", "timestamp": "", "source": "github", "line_count": 79, "max_line_length": 372, "avg_line_length": 42.278481012658226, "alnum_prop": 0.7398203592814371, "repo_name": "AlbandeCrevoisier/ldd-athens", "id": "80cfdb317e06386a468c2a3fa158ce1ddf9526d4", ...
using namespace std; int main() { Solution s; }
{ "content_hash": "eafa37aea4a20df9606b76acb7d2c9cf", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 20, "avg_line_length": 10.6, "alnum_prop": 0.6226415094339622, "repo_name": "leetcode-practice/leetcode", "id": "dbffa88294f0d5471afa9183b6e92fdfd67b6344", "size": "96", "...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE191_Integer_Underflow__int_listen_socket_sub_83a.cpp Label Definition File: CWE191_Integer_Underflow__int.label.xml Template File: sources-sinks-83a.tmpl.cpp */ /* * @description * CWE: 191 Integer Underflow * BadSource: listen_socket Read data using a listen ...
{ "content_hash": "622c04c2f5c1f22f75e566c6cac43619", "timestamp": "", "source": "github", "line_count": 92, "max_line_length": 121, "avg_line_length": 26.706521739130434, "alnum_prop": 0.6703296703296703, "repo_name": "JianpingZeng/xcc", "id": "4fae8a7157accba56337c6a9046296566bd62b98", "size": "24...
// Copyright 2020 The Oppia 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 required by ap...
{ "content_hash": "814faa1a9443ac6da8cd36f05b045013", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 79, "avg_line_length": 36.306666666666665, "alnum_prop": 0.7124495042232831, "repo_name": "brianrodri/oppia", "id": "cb0b7752e81ffc9f247fb533b0297b42b0b91057", "size": "272...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Game.Beatmaps; using osu.Game.Rulesets.Objects.Drawables; using osu.Game.Rulesets.Objects...
{ "content_hash": "858fe288aff996200378b57d78670825", "timestamp": "", "source": "github", "line_count": 139, "max_line_length": 137, "avg_line_length": 34.94244604316547, "alnum_prop": 0.5818406423718344, "repo_name": "RedNesto/osu", "id": "db15193ce56f7a026df0db28930d5fcb532e5c7b", "size": "4859",...
/** * A script for GCC-dehydra to analyze the Mozilla codebase and catch * patterns that are incorrect, but which cannot be detected by a compiler. */ /** * Activate Treehydra outparams analysis if running in Treehydra. */ function treehydra_enabled() { return this.hasOwnProperty('TREE_CODE'); } include('unsta...
{ "content_hash": "b019edc37c8bc72283fbd62bfc26ba1c", "timestamp": "", "source": "github", "line_count": 108, "max_line_length": 78, "avg_line_length": 19.86111111111111, "alnum_prop": 0.6494172494172494, "repo_name": "jubos/meguro", "id": "7a64eeadb1ba819d4051ad40d80923f2a6af0954", "size": "2145", ...
export { default, initialize } from 'ember-es-adapter/initializers/index';
{ "content_hash": "f96241a2f77ea73bce9a881d31ef345d", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 74, "avg_line_length": 75, "alnum_prop": 0.7733333333333333, "repo_name": "seanstar12/ember-es-adapter", "id": "8af782316c1d8a01f1cf66e69f3a153e9bdc4e38", "size": "75", "b...
// Thanks to Jacob Munkberg (jacob@cs.lth.se) for the shortcut of using SVD to do the equivalent of principal components analysis // x10000000 5555.1x4 64p 2bi (30b) #include "bits.h" #include "tile.h" #include "avpcl.h" #include "nvcore/Debug.h" #include "nvmath/Vector.inl" #include "nvmath/Matrix.inl" ...
{ "content_hash": "55df8d24a4f07e66e6a85a3eb1210fdc", "timestamp": "", "source": "github", "line_count": 1077, "max_line_length": 170, "avg_line_length": 30.202414113277623, "alnum_prop": 0.6302877520905067, "repo_name": "salamanderrake/nvidia-texture-tools", "id": "fe72d51c354e50bbdb11149c0e5da9d971c...
<?xml version="1.0" encoding="utf-8"?> <ProgressBar xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/bt_loading_progress_bar" android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminateDuration="512" /> <!-- From: file:/Users/vidsouza/Documen...
{ "content_hash": "77c4a754cad8b4fb9494c7bdb53be1b8", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 159, "avg_line_length": 62.857142857142854, "alnum_prop": 0.7454545454545455, "repo_name": "vinucondev/BTBeckAndroidDemo", "id": "fcec2826814b9baafa7272d7491935aa65bdba48", ...
#ifndef __EXIF_H #define __EXIF_H #include <string> #include <stdio.h> #include <algorithm> using std::string; // // Class responsible for storing and parsing EXIF information from a JPEG blob // class EXIFInfo { public: // Parsing function for an entire JPEG image buffer. // // PARAM 'data': A pointer to a ...
{ "content_hash": "c0d4818810e71f9fbe2770d71c1a34e3", "timestamp": "", "source": "github", "line_count": 635, "max_line_length": 173, "avg_line_length": 34.8251968503937, "alnum_prop": 0.5826625666998282, "repo_name": "cmgladding/aslam-project", "id": "123753f4115696418a80edf672d211eeb5996918", "siz...
const express = require('express'); const app = express(); const server = require('http').createServer(app); const io = require('socket.io')(server); const bodyParser = require('body-parser'); // configure app to use bodyParser() // this will let us get the data from a POST app.use(bodyParser.urlencoded({ extended: tr...
{ "content_hash": "2cd6470a64bee11fc6506b20a6f546f8", "timestamp": "", "source": "github", "line_count": 116, "max_line_length": 107, "avg_line_length": 25.913793103448278, "alnum_prop": 0.58416500332668, "repo_name": "strontium5/airogateway", "id": "e636d78bdfbe1896e2ddd39caf62690a61c6c27a", "size"...
<?php /** * @file * Contains \Drupal\Tests\Core\Routing\ContentTypeHeaderMatcherTest. */ namespace Drupal\Tests\Core\Routing; use Drupal\Core\Routing\ContentTypeHeaderMatcher; use Drupal\Tests\Core\Routing\RoutingFixtures; use Drupal\Tests\UnitTestCase; use Symfony\Component\HttpFoundation\Request; /** * Confir...
{ "content_hash": "cb652a9891b3746d940fa776a1b5dc2a", "timestamp": "", "source": "github", "line_count": 110, "max_line_length": 98, "avg_line_length": 33.03636363636364, "alnum_prop": 0.6832691249312053, "repo_name": "komejo/d8demo-dev", "id": "02775850fda337ac58a781a484a419287c0f1c1a", "size": "36...
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'; import { RouterModule } from '@angular/router'; import { ManagementPortalSharedModule } from '../shared'; import { adminState, AuditsComponent, AuditsService, JhiConfigurationComponent, JhiConfigurationService, JhiDocsComponent,...
{ "content_hash": "66c361bc929dc1c4d514c383808bcec2", "timestamp": "", "source": "github", "line_count": 79, "max_line_length": 65, "avg_line_length": 27.911392405063292, "alnum_prop": 0.7097505668934241, "repo_name": "RADAR-CNS/ManagementPortal", "id": "d31fbf9643fbfd8e6913f2402f053667af3863d4", "s...
@interface DZYQuickLoginButton : UIButton @end
{ "content_hash": "b2e8b3854646543402e31b6e29b0ccd9", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 41, "avg_line_length": 12.25, "alnum_prop": 0.7959183673469388, "repo_name": "dongzhenyu/BS", "id": "250d7ce00d2dabe3dd9c8df7ab9cc8e0fa339e05", "size": "205", "binary": fa...
package javax.mail.internet; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.UnsupportedEncodingException; import java.util.HashMap; import java.util.Map; import ...
{ "content_hash": "d8aae2a3fe84eb5606b9a25fb9cef97f", "timestamp": "", "source": "github", "line_count": 1376, "max_line_length": 226, "avg_line_length": 40.40406976744186, "alnum_prop": 0.5406324195985323, "repo_name": "apache/geronimo-specs", "id": "32d2b6363f879a74240f7c57303e7492c69543e3", "size...
module MiniAppStudy class AnswerModel < ActiveRecord::Base attr_accessible :answer, :question_id, :result, :index belongs_to :question, :class_name => "QuestionModel", :foreign_key => "question_id" has_many :answer_users, :foreign_key => "answer_id" has_many :users, :through => :answer_users, :source ...
{ "content_hash": "844d73d97b7722623bbd74a0dc24d321", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 87, "avg_line_length": 33.9, "alnum_prop": 0.6843657817109144, "repo_name": "jimrok/mini_app_study", "id": "9731b453fc917169d4675f96227b97184e25f080", "size": "339", "bin...
ZTRESTConnection ================ A lightweight block based REST library for OBJ-C
{ "content_hash": "f811a820d141d1fce212ae756c8f2cac", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 48, "avg_line_length": 20.75, "alnum_prop": 0.6746987951807228, "repo_name": "Nub/ZTRESTConnection", "id": "23d042fe498db467d7a60e7e91f224d520c141f4", "size": "83", "binar...
How to install Simple Chat? 1. Copy Web dir to your "document root" directory. 2. Set up the database params in the app/Configurations/database.json 3. Set up the standard language and include rewrite if installed mod_rewrite to "beautiful routes". 4. Import the structure of the tables in the database.
{ "content_hash": "2275490ca356f106ae053c6a204cde5e", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 99, "avg_line_length": 50.833333333333336, "alnum_prop": 0.7868852459016393, "repo_name": "HiNeX/SimpleChat", "id": "79a04f7c9a8028cbe34694eb60c6d55083c2c7be", "size": "320"...
'use strict'; Meteor.methods({ payment: function (doc, id) { check(doc.$set || doc, app.paymentSchema); check(id, Match.Optional(String)); if(!Meteor.userId()) { throw new Meteor.Error('not-authorized'); } _.extend(doc.$set || doc, { user: Meteor.userId() }); if(id) { db.transactions.update(id, d...
{ "content_hash": "2ed2c8a063cc32935fca9a6ba5e7dff5", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 92, "avg_line_length": 21.363636363636363, "alnum_prop": 0.5971631205673759, "repo_name": "ja-mes/experiments", "id": "8589b206f7951d4efceb3361b2da56325a8f225b", "size": "7...
// Copyright 2022 Google LLC // // 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 writi...
{ "content_hash": "9120e476bc078da17ee335309cecd902", "timestamp": "", "source": "github", "line_count": 85, "max_line_length": 108, "avg_line_length": 28.68235294117647, "alnum_prop": 0.6369975389663659, "repo_name": "googleads/googleads-java-lib", "id": "93d509a5e95efe5198a1e6c325db78ceaf61bba6", ...
// Copyright 2012 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_HEAP_HEAP_H_ #define V8_HEAP_HEAP_H_ #include <cmath> #include <map> // Clients of this interface shouldn't depend on lots of heap internal...
{ "content_hash": "1fab6d338a6ae4c2a43bff271f9b2c41", "timestamp": "", "source": "github", "line_count": 2666, "max_line_length": 80, "avg_line_length": 39.0648912228057, "alnum_prop": 0.641497114655247, "repo_name": "zero-rp/miniblink49", "id": "bbe1f05e4f265954190e2f3cb4e7dcd5821cadb0", "size": "1...
#ifndef __DUMMYSTMGR_H_ #define __DUMMYSTMGR_H_ #include <string> #include <vector> #include "network/network_error.h" #include "proto/messages.h" #include "basics/basics.h" #include "errors/errors.h" #include "threads/threads.h" #include "network/network.h" namespace heron { namespace testing { class DummyStMgr :...
{ "content_hash": "9df63cc4be12eba40ee61b583a7c8838", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 95, "avg_line_length": 33.854838709677416, "alnum_prop": 0.7298713673177704, "repo_name": "srkukarni/heron", "id": "0c6a25c290abedc5ad37976261ece1074fdd5813", "size": "2693...
import { expect } from 'chai'; import { iif, of } from 'rxjs'; import { expectObservable } from '../helpers/marble-testing'; describe('iif', () => { it('should subscribe to thenSource when the conditional returns true', () => { const e1 = iif(() => true, of('a'), of()); const expected = '(a|)'; expectOb...
{ "content_hash": "adedbcdef85f1baa61f9553d62ef72fc", "timestamp": "", "source": "github", "line_count": 94, "max_line_length": 104, "avg_line_length": 27.159574468085108, "alnum_prop": 0.5393654524089306, "repo_name": "ReactiveX/RxJS", "id": "85a2b6eeda227d6a38e64fe94225024be35146e9", "size": "2553...
(function(){ $A.Toggle = function(trigger, config){ var config = config || {}, t = typeof trigger === 'string' ? $A.getEl(trigger) : trigger, that = this, isCheckbox = $A.getAttr(t, 'role') == 'checkbox' ? true : false, sraText = $A.createEl('span', null, $A.sraCSS); if (!config.noToggle && config.noARIA){ ...
{ "content_hash": "937188b7056f34ef67f4c6b63ec9ec48", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 115, "avg_line_length": 27.96875, "alnum_prop": 0.5541899441340782, "repo_name": "ngashutosh/tsg", "id": "bcfe26434b6cefbc087f3b63736319cddd2e15c3", "size": "2425", "bina...
package com.yaochen.boss; import java.net.ServerSocket; import org.springframework.context.support.ClassPathXmlApplicationContext; /** * * 声明式启动任务 * * @author hh * @version 1.0, Jun 16, 2011 */ public class Bootstrap { public static void main(String[] args) throws Exception { //证书相关设置...
{ "content_hash": "752b85db07cc21b935755dab7e1c4556", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 81, "avg_line_length": 26.03846153846154, "alnum_prop": 0.6336779911373708, "repo_name": "leopardoooo/cambodia", "id": "8a8d7137813ee009d962a27abaf46160e0fda39f", "size": "...
(experimental...) Jres ==== A Java ElasticSearch client library which does not have a code dependency on the entire ElasticSearch library. All communication is JSON over HTTP. <img src="https://travis-ci.org/blacklocus/jres.svg?branch=master"/> ### Dependency ### gradle repositories { // ... ma...
{ "content_hash": "13be2ad563185819f7397f1572ca2152", "timestamp": "", "source": "github", "line_count": 223, "max_line_length": 153, "avg_line_length": 39.18834080717489, "alnum_prop": 0.6718159972536903, "repo_name": "blacklocus/jres", "id": "f7d65b0b9ffec263a4eaf5a1c1d8492dd8aa74d1", "size": "873...
# ChatLite2 A GUI Edition of "MicroChat" Intuitive message transfer. Distributed under MIT Licence. ## Message Encryption Encryption available now! Note that it's not a guarantee of information security. ## Copyright Information Copyright (C) 2015 Yuxuan Chen Released under MIT Licence. Permission is hereb...
{ "content_hash": "eb5492229f9aadfeef79c54f04f993d7", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 460, "avg_line_length": 83.625, "alnum_prop": 0.7907324364723468, "repo_name": "yuxuanchen1997/ChatLite2", "id": "840136d619523425da7d2ccf6e5b458f1bb55dbb", "size": "1344",...
'use strict'; /** * @ngdoc function * @name simpleSurveyUi.controller:HomeController * @description * # HomeController * Controller of the simpleSurveyUi */ angular .module('simpleSurveyUi') .controller('HomeController', [ '$scope', '$location', 'AuthenticationService', 'Page', function ($scope, $location, A...
{ "content_hash": "12e9ef3613deab7ddcc132de62a3176b", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 80, "avg_line_length": 21.75, "alnum_prop": 0.6538952745849298, "repo_name": "bveiga/simple-survey", "id": "e5e8152c3e9034189b9da21e3aa41e200372ed44", "size": "783", "bin...
package org.springframework.showcase.carplant.dao; import java.util.List; /** * A DAO capable of retrieving parts for building a car. * Implementing using {@link JdbcCarPartsInventoryImpl JDBC}, * using {@link PlainHibernateInventoryImpl Hibernate using the plain Session API} * and {@link TemplateHibernateInvento...
{ "content_hash": "58b61945a7714b0cae78f7603311a06f", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 85, "avg_line_length": 34.310344827586206, "alnum_prop": 0.7587939698492462, "repo_name": "mattxia/spring-2.5-analysis", "id": "ff8e92c634e9a7f47f38e2dd2733c85ae623adca", "...
namespace Google.Cloud.SecurityCenter.V1.Snippets { // [START securitycenter_v1_generated_SecurityCenter_CreateBigQueryExport_sync] using Google.Api.Gax.ResourceNames; using Google.Cloud.SecurityCenter.V1; public sealed partial class GeneratedSecurityCenterClientSnippets { /// <summary>Snip...
{ "content_hash": "2c260868e10aa9b4eab9790bb4683576", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 95, "avg_line_length": 43.833333333333336, "alnum_prop": 0.6714828897338403, "repo_name": "jskeet/gcloud-dotnet", "id": "943abb7088f42f377ea8c2f7a0de99ab33c89363", "size": ...
<!DOCTYPE html> <html> <head> <script src="https://use.fontawesome.com/14b1f7f7de.js"></script> <meta charset="utf-8"> <link rel= "stylesheet" href="../style.css"> <link rel="icon" type="tab icon" href="../icons/paw.jpeg"/> <link href="https://fonts.googleapis.com/css?family=Lobster+Two|Quicksand" rel="styles...
{ "content_hash": "238459ee518a92e8546f5a8c95804a5b", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 432, "avg_line_length": 64.87096774193549, "alnum_prop": 0.662357036300348, "repo_name": "chelseadole/barks-and-rec", "id": "2c4bc059a3891e037b9ae9effd96270cee0d3e67", "siz...
using DataCloner.Universal.Menu; using DataCloner.Universal.Menu.Left; using DataCloner.Universal.Menu.Top; using System.Collections.Generic; namespace DataCloner.Universal.ViewModels.Design { /// <summary> /// The design-time ViewModel for the AppShell. /// </summary> public class AppShellDesignViewM...
{ "content_hash": "c38d592d484092f072d8303a201125b1", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 84, "avg_line_length": 32.19512195121951, "alnum_prop": 0.6143939393939394, "repo_name": "naster01/DataCloner", "id": "53d36a97896e7ede9c4befa65f6417465c15c52b", "size": "1...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_75) on Tue May 19 17:13:23 PDT 2015 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>Uses of Package org...
{ "content_hash": "95388e41ec9fe0d6825bff49d65f46fa", "timestamp": "", "source": "github", "line_count": 160, "max_line_length": 322, "avg_line_length": 38.81875, "alnum_prop": 0.6362904524231203, "repo_name": "ZhangXFeng/hadoop", "id": "8f10bb16258236126f781aa249f9609a3809d3c0", "size": "6211", "...
<?xml version='1.0' encoding='UTF-8'?> <Document> <Header> <SchemaName>Location</SchemaName> <Identifier>location_geonames_6957661</Identifier> <DocumentState>public</DocumentState> <TimeStamp>1390753462594</TimeStamp> <SummaryFields> <Title>NL &gt; North Brabant &gt; Stichting Volksabdij O....
{ "content_hash": "85e41503f23c326d48db3d7f2e101aab", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 112, "avg_line_length": 33.96551724137931, "alnum_prop": 0.6741116751269035, "repo_name": "delving/oscr-data", "id": "961957560afb63bb17aff62732be4bdbf9ddd05b", "size": "98...
// // AppDelegate.m // FJUtils // // Created by Jianjun Wu on 2/17/12. // Copyright (c) 2012 Fourj. All rights reserved. // #import "AppDelegate.h" #import "ViewController.h" @implementation AppDelegate @synthesize window = _window; @synthesize viewController = _viewController; - (void)dealloc { [_window rel...
{ "content_hash": "358aeec743799d9781c0fba0ae4959e1", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 277, "avg_line_length": 33.8974358974359, "alnum_prop": 0.7632375189107413, "repo_name": "tonycn/FJIOSUtil", "id": "a9488c674165789ae0b6e7c80ece5e7cc38f860d", "size": "2644...
package org.javarosa.core.model.data; import org.javarosa.core.util.externalizable.Externalizable; /** * An IAnswerData object represents an answer to a question * posed to a user. * * IAnswerData objects should never in any circumstances contain * a null data value. In cases of empty or non-existent response...
{ "content_hash": "20b27a4d94ce8ebe3bdd2332a11a5687", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 68, "avg_line_length": 27.76271186440678, "alnum_prop": 0.7087912087912088, "repo_name": "Jonathan727/javarosa", "id": "6ea0f10eb9c4a46752f9f6f553f04c961bf690c5", "size": "...
package org.apache.flink.runtime.executiongraph; import org.apache.flink.api.common.time.Time; import org.apache.flink.configuration.Configuration; import org.apache.flink.metrics.MetricGroup; import org.apache.flink.metrics.groups.UnregisteredMetricsGroup; import org.apache.flink.runtime.JobException; import org.ap...
{ "content_hash": "f3ca2d0d7f5fe0ad6369045593e3eb72", "timestamp": "", "source": "github", "line_count": 178, "max_line_length": 173, "avg_line_length": 37.19101123595506, "alnum_prop": 0.8350453172205438, "repo_name": "greghogan/flink", "id": "3d9667ba011b07a57cfd6d189a841f900ed69d2a", "size": "742...