repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
elanderson/ASP.NET-Core-Entity-Framework
Postgres/Postgres/Data/Migrations/Contacts/20181128122253_Concurrency.Designer.cs
1791
// <auto-generated /> using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; using Postgres.Data; namespace Postg...
mit
oydang/CS4701-pokemon-AI
Tracer-VisualboyAdvance1.7.1/Tracer-VisualboyAdvance1.7.1/source/src/win32/GBACheats.cpp
28292
/* * VisualBoyAdvanced - Nintendo Gameboy/GameboyAdvance (TM) emulator * Copyrigh(c) 1999-2003 Forgotten (vb@emuhq.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version ...
mit
kolodovskyy/joker-dmapi
lib/joker-dmapi/client.rb
3142
require "net/http" require "addressable/uri" require "#{File.dirname(__FILE__)}/version" require "#{File.dirname(__FILE__)}/result" require "#{File.dirname(__FILE__)}/contact" require "#{File.dirname(__FILE__)}/host" require "#{File.dirname(__FILE__)}/domain" module JokerDMAPI class Client include JokerDMAPI::Ve...
mit
Anastaszor/phpbbcodeparser
tests/QuoteBbcodeNodeTest.php
1460
<?php class QuoteBbcodeNodeTest extends PhpUnit_Framework_TestCase { private $_node = null; protected function setUp() { $this->_node = new QuoteBbcodeNode(); $this->_node->setAuthor("myself"); $this->_node->addChild(new TextBbcodeNode("some quoted text")); } protected function tearDown() { $this->...
mit
jwinzer/OpenSlides
server/openslides/topics/models.py
1413
from django.db import models from openslides.utils.manager import BaseManager from ..agenda.mixins import AgendaItemWithListOfSpeakersMixin from ..mediafiles.models import Mediafile from ..utils.models import RESTModelMixin from .access_permissions import TopicAccessPermissions class TopicManager(BaseManager): ...
mit
vanboom/active_merchant
test/remote/gateways/remote_pay_arc_test.rb
7412
require 'test_helper' class RemotePayArcTest < Test::Unit::TestCase def setup @gateway = PayArcGateway.new(fixtures(:pay_arc)) credit_card_options = { month: '12', year: '2022', first_name: 'Rex Joseph', last_name: '', verification_value: '999' } @credit_card = credit_ca...
mit
masa25michi/conference
fuel/app/views/layout/banner.php
523
<div class="wrapper style1 first "> <article class="container" id="top"> <div class="row"> <div class="4u 12u(mobile)"> <span class="image featured fit"><?php echo Asset::img('Hong_Kong_2017_Logo.png', array('alt'=>''));?></span> </div> <div c...
mit
TheGrandPackard/JMPPClient
src/com/jmpp/controllers/GUIController.java
236
package com.jmpp.controllers; public class GUIController { protected DefaultController defaultController; public void setDefaultController(DefaultController controller) { this.defaultController = controller; } }
mit
react-bootstrap/react-bootstrap
www/src/examples/Grid/ContainerFluid.js
71
<Container fluid> <Row> <Col>1 of 1</Col> </Row> </Container>;
mit
jenkinsci/tasks-plugin
src/main/java/hudson/plugins/tasks/TasksDescriptor.java
3665
package hudson.plugins.tasks; import java.io.IOException; import java.io.StringReader; import java.util.Collection; import org.apache.commons.lang3.StringUtils; import org.jenkinsci.Symbol; import org.kohsuke.stapler.QueryParameter; import hudson.Extension; import hudson.plugins.analysis.core.PluginDescriptor; impor...
mit
EdgedesignCZ/phpqa
tests/GetVersionsTest.php
2124
<?php namespace Edge\QA\Tools; class GetVersionsTest extends \PHPUnit_Framework_TestCase { /** @dataProvider provideComposerVersion */ public function testNormalizeVersion($version, $expectedVersion) { assertThat(GetVersions::normalizeSemver($version), is($expectedVersion)); } public func...
mit
rtaudio/ulltra
src/ulltra.cpp
2258
#include "UlltraProto.h" #ifndef _WIN32 #include <unistd.h> #endif #include <iostream> #include <signal.h> #include <rtt/rtt.h> #include "Controller.h" std::atomic<int> g_isRunning; Controller *g_controller; #ifdef _WIN32 void __CRTDECL sigintHandler(int sig) #else void sigintHandler(int sig) ...
mit
EnigmaDragons/SecurityConsultantCore
src/SecurityConsultantCore/MapGeneration/ObjectInstruction.cs
3725
using System; using System.Collections.Generic; using System.Linq; using SecurityConsultantCore.Common; using SecurityConsultantCore.Domain.Basic; namespace SecurityConsultantCore.MapGeneration { public class ObjectInstruction { public ObjectInstruction(string objectName, XYOrientation placement) ...
mit
inphomercial/Lootr
libs/rot.js
134306
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; } function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; sub...
mit
leahwong4/LeahTagLibEditor
LeahTabLibEditor/Form1.Designer.cs
8584
namespace LeahTagLibEditor { partial class Form1 { /// <summary> /// 設計工具所需的變數。 /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 清除任何使用中的資源。 /// </summary> /// <param name="disposing">如果應該處置...
mit
ritashugisha/ASUEvents
ASUEvents/managers/migrations/0006_auto_20150417_1749.py
511
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('managers', '0005_auto_20150417_1747'), ] operations = [ migrations.AlterField( model_name='managerprofile', ...
mit
listochkin/dyn4j
src/main/java/com/github/listochkin/dyn/DynamicTyping.java
3277
package com.github.listochkin.dyn; import java.lang.reflect.Array; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; public class DynamicTyping { public static boolean isOfType(final Object object, final String typeName) { try { retur...
mit
mimmi20/browscap-js
src/index.js
1457
'use strict'; /** * main class */ class Browscap { /** * @param {string} cacheDir */ constructor(cacheDir) { if (typeof cacheDir === 'undefined') { cacheDir = require('path').dirname(require.resolve('browscap-json-cache-files')) + '/sources/'; } this.cacheDir = ...
mit
sielenk/furnace
src/Config.hpp
208
// (C) 2016 Marvin Sielenkemper #pragma once #include "db/Config.hpp" class Config : boost::noncopyable { public: virtual db::Config const& dbConfig() const = 0; protected: Config(); ~Config(); };
mit
RandyyDSH/TokensSelector
src/board/board.ts
5665
import {AbstractToken} from "../token/abstract.token"; import {TokensGroup} from "../token/group/tokens.group"; import {BoardPropertys} from "./board.propertys"; import {TokensGroupType} from "../token/group/tokens.group.type"; import * as Konva from "konva"; import {Stage} from "konva"; export interface BoardElement ...
mit
achimha/ngx-datatable
release/components/body/selection.component.ngfactory.ts
7964
/** * @fileoverview This file is generated by the Angular 2 template compiler. * Do not edit. * @suppress {suspiciousCode,uselessCode,missingProperties} */ /* tslint:disable */ import * as import0 from '../../../../src/components/body/selection.component'; import * as import1 from '@angular/core/src/change_detect...
mit
HarleyKwyn/sudoku
static/src/main.js
81
window.requestAnimationFrame(function () { new GameManager(Sudoku, board); });
mit
asiertarancon/CarrerasPorLaRioja
src/App/AppBundle/Controller/OrganizacionController.php
579
<?php namespace App\AppBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Response; class OrganizacionController extends Controller { public function buscarPorSlugAction($slug) { $organizacion = $this -> get('organizacionrepository') -> Bu...
mit
willynilly/grunt-solemn
test/solemn_test.js
953
'use strict'; var grunt = require('grunt'); /* ======== A Handy Little Nodeunit Reference ======== https://github.com/caolan/nodeunit Test methods: test.expect(numAssertions) test.done() Test assertions: test.ok(value, [message]) test.equal(actual, expected, [message]) test.notEqual(actua...
mit
pex-gl/pex-renderer
shaders/chunks/shadowing.glsl.js
3983
module.exports = /* glsl */ ` #if NUM_DIRECTIONAL_LIGHTS > 0 || NUM_SPOT_LIGHTS > 0 //fron depth buf normalized z to linear (eye space) z //http://stackoverflow.com/questions/6652253/getting-the-true-z-value-from-the-depth-buffer // float ndcDepthToEyeSpaceProj(float ndcDepth, float near, float far) { // re...
mit
sharathprabhal/NBS3Sync
src/main/java/com/example/services/FileOperation.java
125
package com.example.services; /** * Different file operations */ public enum FileOperation { CREATE, MODIFY, DELETE }
mit
tusharvjoshi/nbrunwithargs
src/com/tusharjoshi/runargs/RunProjectAction.java
2913
/* The MIT License (MIT) Copyright (c) 2014 Tushar Joshi Copyright (c) 2020 DAGOPT Optimization Technologies GmbH Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, includ...
mit
mapillary/mapillary-js
test/state/StateService.test.ts
376
import { bootstrap } from "../Bootstrap"; bootstrap(); import { StateService } from "../../src/state/StateService"; import { State } from "../../src/state/State"; describe("StateService.ctor", () => { it("should be contructed", () => { let stateService: StateService = new StateService(State.Traversing); ...
mit
classmarcos/punto
application/views/back-end/modal.php
779
<div id="myModal" class="modal fade bs-example-modal-lg" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog modal-lg"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" ar...
mit
phroph/magicsim
magicsim/magicsim/objectModels/Azerite.cs
337
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace magicsim.objectModels { public class Azerite { public string Name; public string Id; public Azerite() { Name = ""; Id = ""; ...
mit
elasota/rdx2
src/rdx/rdx_arraydefprototype.hpp
316
#ifndef __RDX_ARRAYDEFPROTOTYPE_HPP__ #define __RDX_ARRAYDEFPROTOTYPE_HPP__ #include "rdx_coretypes.hpp" #include "rdx_objectguid.hpp" struct rdxSArrayDefPrototype { rdxSObjectGUID containedTypeGUID; rdxLargeUInt numDimensions; bool isConstant; rdxLargeUInt tableIndex; }; #endif
mit
sensu-plugins/sensu-plugins-kubernetes
bin/check-kube-nodes-ready.rb
2719
#! /usr/bin/env ruby # frozen_string_literal: false # check-kube-nodes-ready.rb # # DESCRIPTION: # => Check if the Kubernetes nodes are in a ready to use state # # OUTPUT: # plain text # # PLATFORMS: # Linux # # DEPENDENCIES: # gem: sensu-plugin # gem: kube-client # # USAGE: # -s, --api-server URL ...
mit
Lukasss93/telegrambot-php
src/Types/ProximityAlertTriggered.php
590
<?php namespace TelegramBot\Types; /** * This object represents the content of a service message, sent whenever a user in the chat * triggers a proximity alert set by another user. * @see https://core.telegram.org/bots/api#proximityalerttriggered */ class ProximityAlertTriggered { /** * User that trigge...
mit
ain/jquery-fieldsync
Gruntfile.js
1682
/*global module:false*/ module.exports = function(grunt) { // Enable Grunt plugins grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-contrib-uglify'); grunt.loadNpmTasks('grunt-contrib-qunit'); grunt.loadNpmTasks('grunt-contrib-watch'); // Project configuration. grunt.initConfig({ ...
mit
Azure/azure-sdk-for-java
sdk/mysqlflexibleserver/azure-resourcemanager-mysqlflexibleserver/src/main/java/com/azure/resourcemanager/mysqlflexibleserver/models/ReplicationRole.java
1333
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.mysqlflexibleserver.models; import com.azure.core.util.ExpandableStringEnum; import com.fasterxml.jackson.annotation.JsonCreator...
mit
tgroshon/buildmypcn
public/modules/diagrams/config/diagrams.client.config.js
390
'use strict'; // Configuring the Diagrams module angular.module('diagrams').run(['Menus', function(Menus) { // Set top bar menu items Menus.addMenuItem('topbar', 'Diagrams', 'diagrams', 'dropdown', '/diagrams(/create)?'); Menus.addSubMenuItem('topbar', 'diagrams', 'List Diagrams', 'diagrams'); Menus.addSubMen...
mit
lars-erik/Umbraco-CMS
src/Umbraco.Web/PublishedCache/XmlPublishedCache/DictionaryPublishedContent.cs
10396
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Xml.XPath; using Examine.LuceneEngine.Providers; using Umbraco.Core; using Umbraco.Core.Cache; using Umbraco.Core.Logging; using Umbraco.Core.Models.PublishedContent; using Umbraco.Web.Composing; using...
mit
harborn/LeetCode
src/CountAndSay.cpp
1770
#include <iostream> #include <string> #include <sstream> using namespace std; string countAndSay(int n) { string res; if (n <= 0) return res; res.push_back('1'); n--; char last = '#'; int cnt = 0; while (n) { string ns; string s = res; cnt = 0; int p = 0; char c, lc = '#'; int size = res.size...
mit
lukevers/chitchat
app/js/main.js
3054
// Store the url and websocket globally var url, ws; // Initialize the websockets (function init() { // Figure out current url with `ws` instead of http/https url = location.href.replace(location.protocol.slice(0, -1), 'ws'); // Create new websocket ws = new WebSocket(url+'ws'); // Add own class to autged user ...
mit
bermudoancio/GSR3
src/Jmbermudo/SGR3Bundle/Entity/VotoRepository.php
2322
<?php namespace Jmbermudo\SGR3Bundle\Entity; use Doctrine\ORM\EntityRepository; use Jmbermudo\SGR3Bundle\Entity\Voto; /** * VotoRepository * * This class was generated by the Doctrine ORM. Add your own custom * repository methods below. */ class VotoRepository extends EntityRepository { /** * Devuelve ...
mit
Buuz135/Industrial-Foregoing
src/main/java/com/buuz135/industrial/recipe/provider/IndustrialRecipeProvider.java
3567
package com.buuz135.industrial.recipe.provider; import com.buuz135.industrial.api.conveyor.ConveyorUpgradeFactory; import com.buuz135.industrial.item.RangeAddonItem; import com.buuz135.industrial.module.ModuleCore; import com.buuz135.industrial.module.ModuleTool; import com.buuz135.industrial.utils.Reference; import c...
mit
matej116/gymn-dacice.cz
www/nette/app/router/RouterFactory.php
2513
<?php /** * Router factory. * all mthod static <- it's PHP 5.2 */ class RouterFactory { private $captchaControl; public function __construct(LazyCaptchaControl $captchaControl) { $this->captchaControl = $captchaControl; } /** * create back compatibility router matching all URLs from old website */ pro...
mit
vulcansteel/autorest
AutoRest/Generators/NodeJS/NodeJS.Tests/Expected/AcceptanceTests/BodyComplex/models/cookiecuttershark.js
2210
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is * regenerated. */ ...
mit
phated/oviews
examples/todo/js/event-binding.js
900
define([ 'event/todo-added', 'event/todo-edit-selected', 'event/todo-edited', 'event/todo-completed', 'event/todo-destroyed', 'event/todo-destroy-completed', 'event/todo-toggle-all', 'dojo/on' ], function(todoAdded, todoEditSelected, todoEdited, todoCompleted, todoDestroyed, todoDestroyCompleted, todoTo...
mit
saip106/Algorithms-DataStructures
app/sorting/merge-sort-spec.js
1558
'use strict'; var mergeSort = require('./merge-sort'), assert = require('assert'); describe('Merge Sort', function () { describe('when sorting an empty array', function () { it('should return empty array', function () { var input = []; mergeSort.sort(input); asser...
mit
cupy/cupy
tests/cupy_tests/test_cudnn.py
16446
import sys import numpy import pytest import cupy import cupy.cuda.cudnn as libcudnn from cupy import testing cudnn_enabled = libcudnn.available if cudnn_enabled: modes = [ libcudnn.CUDNN_ACTIVATION_SIGMOID, libcudnn.CUDNN_ACTIVATION_RELU, libcudnn.CUDNN_ACTIVATION_TANH, ] coef...
mit
karim/adila
database/src/main/java/adila/db/tbltetmo_sm2dn915t3.java
253
// This file is automatically generated. package adila.db; /* * Samsung Galaxy Note Edge * * DEVICE: tbltetmo * MODEL: SM-N915T3 */ final class tbltetmo_sm2dn915t3 { public static final String DATA = "Samsung|Galaxy Note Edge|Galaxy Note"; }
mit
johnwquarles/nodetunes
public/js/album-new.js
1407
var $searchBtn = $(".artist-search button"); var $searchInput = $(".artist-search input"); $searchBtn.on('click', function(){ var artistQuery = $searchInput.val(); var searchObj = {artist: artistQuery}; $(".artist-options") && $(".artist-options").empty(); $.get('/search', searchObj).done( function(results...
mit
luxe/config-maker
src/attribute_set.cpp
28
#include "attribute_set.hpp"
mit
cuchi/payYourDebts
app/src/main/java/com/payyourdebts/view/AddDebtView.java
203
package com.payyourdebts.view; /** * @author Paulo Henrique Cuchi */ public interface AddDebtView { void onError(String message); void onSuccess(int messageResId); void toast(String s); }
mit
ringoteam/phpredmon-lib
src/Ringo/PhpRedmon/Logger/InstanceLogger.php
5934
<?php /* * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS ...
mit
nguyenvu12/react-metismenu2
dist/react-metismenu.js
120514
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react")); else if(typeof define === 'function' && define.amd) define(["react"], factory); else if(typeof exports === 'object') exports["ReactMetismenu"] = ...
mit
Saaka/WordHunt
WordHunt.WebAPI/Auth/Token/TokenUserContextProvider.cs
1387
using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; namespace WordHunt.WebAPI.Auth.Token { public interface ITokenUserContextProvider { UserInfo GetContextUserInfo(); } public class TokenUserContextProvider : ITokenUse...
mit
polygonplanet/Chiffon
tests/fixtures/parse/test-0120.js
24
do { a(); } while (0);
mit
jkowens/sinatra
sinatra-contrib/lib/sinatra/config_file.rb
5182
require 'sinatra/base' require 'yaml' require 'erb' module Sinatra # = Sinatra::ConfigFile # # <tt>Sinatra::ConfigFile</tt> is an extension that allows you to load the # application's configuration from YAML files. It automatically detects if # the files contain specific environment settings and it will us...
mit
gatkin/cDTO
src/test/scala/UnitSpec.scala
192
package dto import org.scalatest._ /** * Abstract base class used to mix in all traits used for all unit specification * tests */ abstract class UnitSpec extends FlatSpec with Matchers
mit
sirbootoo/giftplush
src/app/_services/mod.resolver.service.js
1943
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
mit
NetOfficeFw/NetOffice
Source/MSHTML/Records/_RemotableHandle.cs
729
//Generated by LateBindingApi.CodeGenerator using System; using System.Runtime.InteropServices; using NetOffice; using NetOffice.Attributes; namespace NetOffice.MSHTMLApi { /// <summary> /// SupportByVersion MSHTML 4 /// </summary> [SupportByVersion("MSHTML", 4)] [StructLayout(LayoutKind.Sequential, Pack=4), G...
mit
fahadonline/sulu
vendor/sulu/sulu/src/Sulu/Component/Webspace/Analyzer/Attributes/RequestAttributes.php
1226
<?php /* * This file is part of Sulu. * * (c) MASSIVE ART WebServices GmbH * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Sulu\Component\Webspace\Analyzer\Attributes; /** * Container for request attributes. */ class RequestAttribut...
mit
flightlog/flsserver
src/FLS.Data.WebApi/AircraftReservation/AircraftReservationOverviewSearchFilter.cs
592
using System; namespace FLS.Data.WebApi.AircraftReservation { public class AircraftReservationOverviewSearchFilter { public DateTimeFilter Start { get; set; } public DateTimeFilter End { get; set; } public bool? IsAllDayReservation { get; set; } public string Immatriculation ...
mit
icompuiz/toastycms
app/Plugin/ToastyCore/Model/ContentTypePropertySkel.php
4627
<?php App::uses('ToastyCoreAppModel', 'ToastyCore.Model'); class ContentTypePropertySkel extends ToastyCoreAppModel { public $name = "ContentTypePropertySkel"; public $_schema = array( 'id' => array( 'type' => 'integer', 'length' => 11 ), 'name...
mit
timplunkett/Routing
Tests/Routing/RouteMock.php
1074
<?php /* * This file is part of the Symfony CMF package. * * (c) 2011-2015 Symfony CMF * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Cmf\Component\Routing\Tests\Routing; use Symfony\Component\Routing\Route as...
mit
dirtyfilthy/dirtyfilthy-bouncycastle
net/dirtyfilthy/bouncycastle/crypto/engines/Grainv1Engine.java
8559
package net.dirtyfilthy.bouncycastle.crypto.engines; import net.dirtyfilthy.bouncycastle.crypto.CipherParameters; import net.dirtyfilthy.bouncycastle.crypto.DataLengthException; import net.dirtyfilthy.bouncycastle.crypto.StreamCipher; import net.dirtyfilthy.bouncycastle.crypto.params.KeyParameter; import net.dir...
mit
zxx1988328/ins
frontend/themes/basic/modules/user/views/dashboard/index.php
4806
<?php use yii\helpers\Url; use yii\helpers\Html; use yii\bootstrap\ActiveForm; use yii\bootstrap\Modal; use shiyang\infinitescroll\InfiniteScrollPager; /* @var $this yii\web\View */ $this->title=Yii::$app->user->identity->username.' - '.Yii::t('app', 'Home'); ?> <div class="item widget-container share-widget fluid-...
mit
wenhulove333/ScutServer
Sample/ClientSource/samples/Cpp/TestCpp/Classes/ExtensionsTest/CocosBuilderTest/TestHeader/TestHeaderLayer.cpp
729
#include "TestHeaderLayer.h" USING_NS_CC; USING_NS_CC_EXT; SEL_MenuHandler TestHeaderLayer::onResolveCCBCCMenuItemSelector(CCObject * pTarget, const char * pSelectorName) { CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "onBackClicked", TestHeaderLayer::onBackClicked); return NULL; } SEL_CCContro...
mit
egovernment/eregistrations
view/statistics-time-per-person.js
5897
'use strict'; var copy = require('es5-ext/object/copy') , uncapitalize = require('es5-ext/string/#/uncapitalize') , memoize = require('memoizee') , ObservableValue = require('observable-value') , location = require('mano/lib/client/location') , _ ...
mit
miltonsarria/dsp-python
images/compare.py
1422
import sys from scipy.misc import imread from scipy.linalg import norm from scipy import sum, average #Main function, read two images, convert to grayscale, compare and print results: def main(): file1, file2 = sys.argv[1:1+2] # read images as 2D arrays (convert to grayscale for simplicity) img1 = to_gray...
mit
ActiveSolution/lab-webben-vnext
src/WebbenVNext/src/calculator.spec.ts
466
import { Calculator } from './calculator'; import { expect } from 'chai'; import 'mocha'; describe('Calculator', () => { it('should add numbers', () => { const calc = new Calculator(); const result = calc.add(10, 20); expect(result).to.equal(30); }); it('should multiply numbers',...
mit
Credit-Jeeves/Heartland
src/Payum2/Heartland/Soap/Base/CapturePreAuthorizedPayment.php
1334
<?php namespace Payum2\Heartland\Soap\Base; /** * This class is generated from the following WSDL: * https://heartlandpaymentservices.net/BillingDataManagement/v3/BillingDataManagementService.svc?xsd=xsd0 */ class CapturePreAuthorizedPayment { /** * CapturePreAuthorizedPaymentRequest * * The pro...
mit
kanonirov/lanb-client
src/main/java/ru/lanbilling/webservice/wsdl/IPCalcResponse.java
2247
package ru.lanbilling.webservice.wsdl; import java.util.ArrayList; import java.util.List; import javax.annotation.Generated; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; ...
mit
ZahlGraf/IrrIMGUI
source/CBasicMemoryLeakDetection.cpp
3224
/** * The MIT License (MIT) * * Copyright (c) 2015-2016 Andre Netzeband * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
mit
prevratnic/rest-web-example
src/main/java/com/degas/bean/TaskServiceBean.java
1675
package com.degas.bean; import com.degas.model.PriorityValues; import com.degas.model.StatusValues; import com.degas.model.Task; import org.jetbrains.annotations.NotNull; import javax.ejb.LocalBean; import javax.ejb.Stateless; import javax.persistence.EntityManager; import javax.persistence.Query; import javax.persis...
mit
mstevenson/SeudoBuild
SeudoBuild.Agent/BuildQueue.cs
5484
using System.Collections.Generic; using System.Collections.Concurrent; using System.Threading; using System.Threading.Tasks; using System.IO; using SeudoBuild.Core; using SeudoBuild.Pipeline; namespace SeudoBuild.Agent { /// <summary> /// Queues projects and feeds them sequentially to a builder. /// </summ...
mit
mariomka/yi-action-camera
constant.js
2096
'use strict'; // Constants var Constants = exports; Constants.action = { REQUEST_TOKEN: 257, TAKE_PHOTO: 769, START_RECORD: 513, STOP_RECORD: 514, DELETE_FILE: 1281, GET_CONFIG: 3, SET_CONFIG: 2, START_STREAM: 259, STOP_STREAM: 260 }; Constants.config = { vide...
mit
fishkingsin/ofxRpiWS281x
src/Matrix.cpp
1720
//Matrix.cpp #include "Matrix.h" namespace ofxRpiWS281x{ Matrix::Matrix() { } void Matrix::setupMatrix(int _matrixWidth, int _matrixHeight, int _matrixColum, int _matrixRow){ matrixColum = _matrixColum; matrixRow = _matrixRow; matrixWidth = _matrixWidth; matrixHeight = _matrixHeight; totalMatrix = ...
mit
tinchopas/ferreteria2.1
src/DNT/WorkshopBundle/Tests/Controller/ClienteControllerTest.php
1766
<?php namespace DNT\WorkshopBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class ClienteControllerTest extends WebTestCase { /* public function testCompleteScenario() { // Create a new client to browse the application $client = static::createClient(); ...
mit
lvzhihao/wechat
models/user_access_token.go
1259
package models import ( "time" "github.com/lvzhihao/wechat/core" mgo "gopkg.in/mgo.v2" "gopkg.in/mgo.v2/bson" ) func UserAccessTokenEnsureIndex(s *mgo.Session) { c := s.DB("").C(UserAccessToken{}.TableName()) c.EnsureIndex(mgo.Index{ Key: []string{"appid", "openid"}, Unique: true, DropDups: ...
mit
artsy/force
src/v2/Apps/Partner/Components/PartnerArtists/PartnerArtistList/PartnerArtistListPlaceholder.tsx
1087
import { Box, Column, GridColumns, SkeletonText } from "@artsy/palette" import { PartnerArtistListContainer } from "./PartnerArtistList" const names = [ "xxxxxxxxxxxxxxx", "xxxxxxxxxx", "xxxxxxxxxxxxx", "xxxxxxxxxxxxxxx", "xxxxxxxxxxxxx", "xxxxxxxxxxxxxxxx", "xxxxxxxxxxxxxx", "xxxxxxxxxxxxxx", "xxxxx...
mit
cjerdonek/open-rcv
openrcv/test/test_contestgen.py
6390
# # Copyright (c) 2014 Chris Jerdonek. All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modi...
mit
Unobtanium-dev/Unobtanium
src/qt/locale/bitcoin_fi.ts
113257
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fi" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Unobtanium</source> <translation>Tietoa Unobtaniumista</translation>...
mit
hovsepm/AutoRest
src/generator/AutoRest.CSharp.Azure.Fluent.Tests/Expected/AcceptanceTests/AzureCompositeModelClient/ArrayOperations.cs
36000
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespac...
mit
DigitalState/Core
src/Exception/DependencyInjection/Configuration.php
523
<?php namespace Ds\Component\Exception\DependencyInjection; use Symfony\Component\Config\Definition\Builder\TreeBuilder; use Symfony\Component\Config\Definition\ConfigurationInterface; /** * Class Configuration * * @package Ds\Component\Exception */ final class Configuration implements ConfigurationInterface { ...
mit
LugosFingite/LudOS
external/libc++/__debug.hpp
8318
// -*- C++ -*- //===--------------------------- __debug ----------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===-------------------------...
mit
nathannfan/azure-sdk-for-net
src/SDKs/CognitiveServices/dataPlane/Vision/Microsoft.CognitiveServices.Vision/Generated/Face/FaceOperations.cs
56933
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. namespac...
mit
juniwalk/Dispatcher
tests/Files/MessageFactory.php
775
<?php /** * @author Martin Procházka <juniwalk@outlook.cz> * @package Dispatcher * @link https://github.com/juniwalk/Dispatcher * @copyright Martin Procházka (c) 2015 * @license MIT License */ namespace JuniWalk\Dispatcher\Tests\Files; use Nette\Application\UI\ITemplate; use Tester\Assert; final c...
mit
tscholz/knipser
lib/gps.rb
271
require_relative 'gps/exif_parser' require_relative 'gps/lat_lng' module GPS module_function def lat_lng_from_exif(exif) LatLng.from_exif exif end def lat_lng(lat:, lng:) LatLng.new lat: lat, lng: lng end def exif_parser ExifParser end end
mit
periface/NorthLionAbpZero
NorthLion.Zero.Web/Areas/AdminMpa/Scripts/dist/Layout/GlobalModal.js
3911
"use strict"; System.register([], function (_export, _context) { "use strict"; var _createClass, PeriModalManager; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } ...
mit
daltomi/oxygine-framework
tools/others/build_oxygine_with_sdl.py
4245
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import unicode_literals, print_function import os import sys import shutil import zipfile import time def recursive_zip(zipf, directory, folder=""): for item in os.listdir(directory): if os.path.isfile(os.path.join(directory, item)): ...
mit
DailyActie/Surrogate-Model
01-codes/OpenMDAO-Framework-dev/openmdao.main/src/openmdao/main/test/test_vartree.py
23994
import copy import glob import os import unittest from openmdao.main.api import Component, Assembly, VariableTree, \ set_as_top, SimulationRoot from openmdao.main.case import flatten_obj from openmdao.main.datatypes.api import Array, Bool, Enum, Float, File, \ FileRef, Int, List, Str, VarTree, \ Instance f...
mit
Kelzo/ProjetPoivre
app/cache/dev/twig/96/fd/81819480d96a62a5db0ffc98cfb8.php
875
<?php /* TwigBundle:Exception:error.xml.twig */ class __TwigTemplate_96fd81819480d96a62a5db0ffc98cfb8 extends Twig_Template { protected function doDisplay(array $context, array $blocks = array()) { // line 1 echo "<?xml version=\"1.0\" encoding=\""; echo twig_escape_filter($this->env, $...
mit
wolfgangimig/joa
java/joa-im/src-gen/com/wilutions/mslib/uccollaborationlib/_IPreviousConversationsManagerEvents.java
1381
/* ** GENEREATED FILE - DO NOT MODIFY ** */ package com.wilutions.mslib.uccollaborationlib; import com.wilutions.com.*; /** * _IPreviousConversationsManagerEvents. * _IPreviousConversationsManagerEvents Interface */ @CoInterface(guid="{D992371E-5161-453B-97E6-6E7C67BC075E}") public interface _IPreviousCon...
mit
cuckata23/wurfl-data
data/alcatel_ot_6012x_ver1_subuaachrome.php
260
<?php return array ( 'id' => 'alcatel_ot_6012x_ver1_subuaachrome', 'fallback' => 'alcatel_ot_6012x_ver1', 'capabilities' => array ( 'uaprof' => 'http://www-ccpp.tcl-ta.com/files/ONE_TOUCH_6012A.xml', 'model_name' => 'One Touch 6012A', ), );
mit
sergiubologa/travique
PublicJournal.Dal/Dao/EventDao.cs
1718
using PublicJournal.Dal.Contracts; using PublicJournal.Dal.Dao; using PublicJournal.Dal; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data.Entity.Core.Objects; namespace PublicJournal.Dal.Dao { public class EventDao : AbstractDao<...
mit
dscastillo171/morrocoi
js/index.js
1940
/* The MIT License (MIT) Copyright (c) 2013 Santiago Castillo Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modi...
mit
74th/vscode-vim
src/motion/FindCharacterMotion.ts
7977
import { GoAction } from "../action/GoAction"; import { Position } from "../VimStyle"; import { AbstractMotion } from "./AbstractMotion"; /** * fx Fx tx Tx ; , * cfx cFx ctx cTx c; c, */ export class FindCharacterMotion extends AbstractMotion implements IRequireCharacterMotion { public CharacterCode: number; ...
mit
tinafallahi/Smellscape
Gruntfile.js
1649
module.exports = function(grunt) { 'use strict'; var tests = 'test/*.js'; var tasks = ['server/*.js', 'server.js']; var client = 'www/js/*.js'; var reportDir = 'build/reports/'; grunt.initConfig({ clean : [ 'build' ], /*nodeunit : { files : [ tests ] },*/ mochaTest: { options: ...
mit
VasilStamatov/GraphicsLearning
AI_Game/World.cpp
8554
#include "World.h" #include <fstream> #include <GameEngine\ResourceManager.h> World::World() : //Terrain(cost, isWater, isWalkable, texture) m_grassTerrain(std::make_shared<Terrain>(1, false, true, GameEngine::ResourceManager::GetTexture("Textures/grass.png"))), m_redBrickTerrain(std::make...
mit
WahlbergRu/Go-In-Shadow
jsiso/main.js
12885
require([ 'jsiso/canvas/Control', 'jsiso/canvas/Input', 'jsiso/img/load', 'jsiso/json/load', 'jsiso/tile/Field', 'jsiso/pathfind/pathfind', 'jsiso/particles/EffectLoader', 'jsiso/utils', 'requirejs/domReady!' ...
mit
chumak84/dance-competition-system
dcs-api/Startup.cs
1786
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace dcs_api { ...
mit
p-org/P
Src/PCompiler/CompilerCore/TypeChecker/AST/Expressions/IVariableRef.cs
201
using Plang.Compiler.TypeChecker.AST.Declarations; namespace Plang.Compiler.TypeChecker.AST.Expressions { public interface IVariableRef : IExprTerm { Variable Variable { get; } } }
mit