code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
var secrets = require('../config/secrets'); var querystring = require('querystring'); var validator = require('validator'); var async = require('async'); var cheerio = require('cheerio'); var request = require('request'); var graph = require('fbgraph'); var LastFmNode = require('lastfm').LastFmNode; var tumblr = requir...
patcullen/hsuehshan
controllers/api.js
JavaScript
mit
23,909
/** * @author Titus Wormer * @copyright 2015 Titus Wormer * @license MIT * @module remark:toc * @fileoverview Generate a Table of Contents (TOC) for Markdown files. */ 'use strict'; /* Dependencies. */ var slug = require('remark-slug'); var toc = require('mdast-util-toc'); /* Expose. */ module.exports = attach...
Nrupesh29/Web-Traffic-Visualizer
vizceral/node_modules/remark-toc/index.js
JavaScript
mit
1,360
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2zM18 11c0-3.07-1.64-5.64-4.5-6.32V2.5h-3v2.18c-.24.06-.47.15-.69.23L18 13.1V11z" /><path d="M5.41 3.35...
Kagami/material-ui
packages/material-ui-icons/src/NotificationsOffSharp.js
JavaScript
mit
459
<?php /* * This file is part of the PHPExifTool package. * * (c) Alchemy <support@alchemy.fr> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\CanonVRD; use JMS\Serializer\Annotation\ExclusionPoli...
bburnichon/PHPExiftool
lib/PHPExiftool/Driver/Tag/CanonVRD/RawBrightnessAdj.php
PHP
mit
806
package com.xeiam.xchange.jubi.service.polling; import java.io.IOException; import com.xeiam.xchange.Exchange; import com.xeiam.xchange.currency.CurrencyPair; import com.xeiam.xchange.jubi.Jubi; import com.xeiam.xchange.jubi.dto.marketdata.JubiTicker; /** * Created by Yingzhe on 3/17/2015. */ public class JubiMark...
jennieolsson/XChange
xchange-jubi/src/main/java/com/xeiam/xchange/jubi/service/polling/JubiMarketDataServiceRaw.java
Java
mit
1,231
<?php /* * This file is part of the Acme PHP project. * * (c) Titouan Galopin <galopintitouan@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace AcmePhp\Core\Challenge\Http; use AcmePhp\Core\Protocol\Authorizat...
acmephp/acmephp
src/Core/Challenge/Http/HttpDataExtractor.php
PHP
mit
1,355
<?php /* * This file is part of the PHPExifTool package. * * (c) Alchemy <support@alchemy.fr> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\DICOM; use JMS\Serializer\Annotation\ExclusionPolicy;...
bburnichon/PHPExiftool
lib/PHPExiftool/Driver/Tag/DICOM/SlabThickness.php
PHP
mit
791
var gulp = require('gulp'), plumber = require('gulp-plumber'), browserSync = require('browser-sync'), stylus = require('gulp-stylus'), uglify = require('gulp-uglify'), concat = require('gulp-concat'), jeet = require('jeet'), rupture = require('rupture'), koutoSwiss = requir...
matheus-vieira/blog
gulpfile.js
JavaScript
mit
2,478
"""A dummy module for testing purposes.""" import logging import os import uuid import lambdautils.state as state logger = logging.getLogger() logger.setLevel(logging.INFO) def partition_key(event): return event.get("client_id", str(uuid.uuid4())) def input_filter(event, *args, **kwargs): if os.environ.g...
humilis/humilis-kinesis-mapper
tests/integration/mycode/mypkg/__init__.py
Python
mit
1,346
using OpenQA.Selenium; using OpenQA.Selenium.Support.PageObjects; using OpenQA.Selenium.Support.UI; using System; using System.Collections.Generic; using System.Dynamic; namespace AppDi { public class AppDriver : DynamicObject { public Uri BaseUrl { get; } public Lazy<IWebDriver> WebDriver { g...
mxa0079/Selenium
AppDi/AppDi/AppDriver.cs
C#
mit
3,435
using FluentValidation.Attributes; using AnnuaireCertifies.BackOffice.Web.ViewModels.Validators.Intervenant.Formation.Details; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AnnuaireCertifies.BackOffice.Web.ViewModels.Pages.Interve...
apo-j/Projects_Working
Bivi/src/Bivi.BackOffice/Bivi.BackOffice.Web.ViewModels/Pages/Intervenant/Formation/Details/InformationsGenerales/InformationsGeneralesViewModel.cs
C#
mit
802
// Copyright 2016 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package httptest import ( "crypto/tls" "io" "io/ioutil" "net/url" "reflect" "strings" "testing" "github.com/isucon/isucon6-final/bench/http" ) func T...
isucon/isucon6-final
bench/http/httptest/httptest_test.go
GO
mit
4,134
/* Copyright (c) <2003-2016> <Julio Jerez, Newton Game Dynamics> * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpo...
AntonSynytsia/MSPhysics
C++Extension/ThirdParty/NewtonDynamics/dgPhysics/dgCollisionNull.cpp
C++
mit
3,235
""" Test constrained energy of a male_low_poly's texture. Written by Zachary Ferguson """ from PIL import Image import scipy.sparse import scipy.sparse.linalg import numpy import includes import obj_reader from seam_minimizer import compute_energies ########################### # Values for the problem. # ##########...
zfergus2/Wrapping-Textures
tests/test_constraints.py
Python
mit
1,354
'use strict'; /*angular.module('mean.dealdeck').factory('Dealdeck', [ function() { return { name: 'dealdeck' }; } ]);*/ angular.module('mean.dealdeck') .factory('Dealdeck', ['$http', function($http) { var urlBase = '/'; var dataFactory = {}; dataFacto...
PankajMean/Dealdeck
packages/dealdeck/public/services/dealdeck.js
JavaScript
mit
1,305
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace SharpCompress.Compressors.Deflate64 { internal enum BlockType { Uncompressed = 0, ...
adamhathcock/sharpcompress
src/SharpCompress/Compressors/Deflate64/BlockType.cs
C#
mit
360
"""ldif3 - generate and parse LDIF data (see RFC 2849).""" from __future__ import unicode_literals import base64 import re import logging from collections import OrderedDict try: # pragma: nocover from urlparse import urlparse from urllib import urlopen except ImportError: # pragma: nocover from urllib...
GluuFederation/community-edition-setup
pylib/ldif3/ldif3.py
Python
mit
13,061
const { colls, getDb, start } = require(`../index`) describe(`db`, () => { start() it(`should create system collections`, () => { const db = getDb() const nodeMetaColl = db.getCollection(colls.nodeMeta.name) const nodeTypesColl = db.getCollection(colls.nodeTypes.name) expect(nodeMetaColl).toBeDefin...
ChristopherBiscardi/gatsby
packages/gatsby/src/db/loki/__tests__/index.js
JavaScript
mit
373
var quoteList = [ { quote: "I have just three things to teach: simplicity, patience, compassion. These three are your greatest treasures.", source: "Lao Tzu" }, { quote: "In character, in manner, in style, in all things, the supreme excellence is simplicity.", source: "Henry Wadsworth Longfellow" }, { q...
rajiteh/news-feed-eradicator
eradicate.js
JavaScript
mit
6,329
define(['jquery','ajax'], function ($, ajax) { var project = $('#project').val(); var branch = $('#branch').val(); $('#branch-clone-form').submit(function () { // Collects the branch properties var branchProperties = []; $('.branch-property').each (function (index, el) { ...
joansmith/ontrack
ontrack-web/src/main/webapp/static/js/app/branch-clone.js
JavaScript
mit
3,008
'use strict'; import Effect from '../../core/Effect'; class WahWah extends Effect { constructor (audioContext, props, name) { super(audioContext, props, name); this.setMainEffect('WahWah', 'filterBp'); this.setMainProperties({ automode: (this.automode > 0) ? true : false, ...
civa86/web-synth
lib/src/modules/Effects/WahWah.js
JavaScript
mit
606
<?php namespace Knp\Snappy; /** * Interface for the media generators * * @package Snappy * * @author Matthieu Bontemps <matthieu.bontemps@knplabs.com> * @author Antoine Hérault <antoine.herault@knplabs.com>* */ interface GeneratorInterface { /** * Generates the output media file from the specified i...
Dpezz/tucv
vendor/Knp/Snappy/src/Knp/Snappy/GeneratorInterface.php
PHP
mit
1,872
//Copyright (C) 2014 Tom Deseyn //This library is free software; you can redistribute it and/or //modify it under the terms of the GNU Lesser General Public //License as published by the Free Software Foundation; either //version 2.1 of the License, or (at your option) any later version. //This library is distribut...
bbc/sdp-test
src/Tmds.Sdp/Tmds/Sdp/SessionChange.cs
C#
mit
990
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AllReady.Areas.Admin.Features.Tasks; using AllReady.Areas.Admin.Models; using AllReady.Areas.Admin.Models.Validators; using AllReady.Features.Event; using AllReady.Models; using AllReady.Security; using MediatR; using Mi...
auroraocciduusadmin/allReady
AllReadyApp/Web-App/AllReady/Areas/Admin/Controllers/TaskController.cs
C#
mit
7,678
import { GraphQLObjectType, GraphQLInt, GraphQLString, GraphQLList, GraphQLNonNull, GraphQLBoolean } from 'graphql' import R from 'ramda' import { connectionFromArray, connectionFromPromisedArray } from 'graphql-relay' import {toMongoId} from './serverUtils' export const DEFAULT_LIM...
igorsvee/react-relay-isomorphic-example
server/paginatedMongodbConnection.js
JavaScript
mit
6,285
namespace GitVersion; [Serializable] public class GitVersionException : GitToolsException { public GitVersionException(string message) : base(message) { } public GitVersionException(string message, Exception innerException) : base(message, innerException) { } }
asbjornu/GitVersion
src/GitVersion.Core/Model/Exceptions/GitVersionException.cs
C#
mit
305
'use strict'; exports.pumpArchiveExistsInArray = function (arr, pumpArchiveId) { for (var i = 0; i < arr.length; ++i) { if (arr[i].pumpArchiveId === pumpArchiveId) { return true; } } return false; }; exports.removePumpArchiveInArray = function (arr, pumpArchiveId) { for (var i = 0; i < arr.leng...
ivere27/secc
lib/utils.js
JavaScript
mit
1,974
module.exports = function(grunt) { 'use strict'; grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), handlebars: { compile: { options: { namespace: 'JST', amd: false, processName: function(filename) ...
adamyork/tech-news-aggregator
Gruntfile.js
JavaScript
mit
4,576
#include "levelviewwidget.h" LevelViewWidget::LevelViewWidget(QWidget *parent) : QOpenGLWidget(parent) { QSurfaceFormat format; format.setDepthBufferSize(24); setFormat(format); map = new tilemap(128, 128); } void LevelViewWidget::initializeGL() { initializeOpenGLFunctions(); glMatrixMode(GL_...
Luigifan/psp-game
LevelEditorQt/levelviewwidget.cpp
C++
mit
1,806
import { Component, ChangeDetectionStrategy } from '@angular/core'; const EXAMPLE_TAGS = [ 'generate-column-check', 'Column generation based on data source' ]; @Component({ selector: 'example-generate-column-check', templateUrl: 'example-generate-column-check.component.html', styleUrls: ['example-generate-column...
azkurban/ng2
src/examples/generate-column-check/example-generate-column-check.component.ts
TypeScript
mit
987
<?php namespace Ens\JobeetBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class CategoryControllerTest extends WebTestCase { public function testShow() { $client = static::createClient(); $crawler = $client->request('GET', '/category/index'); $this->assertEquals('Ens\J...
kjanczyk/praktyka
src/Ens/JobeetBundle/Tests/Controller/CategoryControllerTest.php
PHP
mit
509
<?php /* search.twig */ class __TwigTemplate_a3393f6558cd32a44b6b8f13c9fa6d11b6784f80436713aa4908e4c738f09889 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 1 $this->parent = $this->loadTemplate("layout/layout.twig", "sea...
Edujugon/laravel-google-ads
docs/cache/master/twig/9f/9f4b0869ce98185e97e8bfa811800711adf685fcb4a98186d75d777c5d599ee9.php
PHP
mit
8,530
# # thread.rb - thread support classes # by Yukihiro Matsumoto <matz@netlab.co.jp> # # Copyright (C) 2001 Yukihiro Matsumoto # Copyright (C) 2000 Network Applied Communication Laboratory, Inc. # Copyright (C) 2000 Information-technology Promotion Agency, Japan # unless defined? Thread raise "Thread not availab...
kayhide/motive_support
motion/thread.rb
Ruby
mit
6,361
<?php /** * @author Noah Goodrich * @date 9/8/11 * @brief * */ class Controller { public $template; public $title; protected function _redirect($url) { header("Location: $url"); exit; } public function render() { ob_start(); require('views/'.$this->template.'.php'); $content = ob_get_cont...
energylab/gacela
samples/controllers/Controller.php
PHP
mit
393
<?php require_once ROOT_PATH . 'lib/utils/themes.php'; class DatawrapperPlugin_AdminThemes extends DatawrapperPlugin { public function init() { $plugin = $this; // register plugin controller DatawrapperHooks::register( DatawrapperHooks::GET_ADMIN_PAGES, function() ...
washingtonpost/datawrapper
plugins/admin-themes/plugin.php
PHP
mit
985
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.DocAsCode.Metadata.ManagedReference { using System.Collections.Generic; using Microsoft.DocAsCode.Common; public class ProjectFileInpu...
dotnet/docfx
src/Microsoft.DocAsCode.Metadata.ManagedReference.Common/ExtractMetadata/InputParameters/ProjectFileInputParameters.cs
C#
mit
1,348
#region License /* The MIT License Copyright (c) 2008 Sky Morey 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,...
BclEx/AdamsyncEx
src/Contoso.CoreEx/Compression/ICoder.cs
C#
mit
2,359
import {DocCollection, Document, Processor} from 'dgeni'; import {ClassLikeExportDoc} from 'dgeni-packages/typescript/api-doc-types/ClassLikeExportDoc'; import ts from 'typescript'; import {getInheritedDocsOfClass, isInheritanceCreatedDoc} from '../common/class-inheritance'; import {ClassExportDoc} from 'dgeni-packages...
angular/components
tools/dgeni/processors/resolve-inherited-docs.ts
TypeScript
mit
3,209
module Hari class Entity class Property autoload :Builder, 'hari/entity/property/builder' attr_accessor :entity, :name, :serializer, :options def initialize(entity, name, options = {}) @entity, @name, @options = entity, name.to_s, options @serializer = options.delete(:type) || ...
Clubjudge/hari
lib/hari/entity/property.rb
Ruby
mit
1,330
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function ...
ashrafulratul/officeshare
database/migrations/2014_10_12_000000_create_users_table.php
PHP
mit
750
#ifndef DISPLAYRESOURCE_HPP #define DISPLAYRESOURCE_HPP #include "cosmic_protector.hpp" class DisplayResource : public Resource { public: void destroy(void); bool load(void); void* get(void); ALLEGRO_EVENT_QUEUE *getEventQueue(void); DisplayResource(void); private: ALLEGRO_DISPLAY *display; ALLEG...
tsteinholz/SR-Gaming
Libraries/allegro5-5.1/demos/cosmic_protector/include/DisplayResource.hpp
C++
mit
411
# -*- coding: utf-8 -*- """Heroku specific settings. These are used to deploy opencomparison to Heroku's platform. """ from os import environ from memcacheify import memcacheify from postgresify import postgresify from S3 import CallingFormat from .base import * ########## CACHE CACHE_TIMEOUT = 60 * 60 * 24 * 30 ...
QLGu/djangopackages
settings/heroku.py
Python
mit
4,843
//! moment.js locale configuration //! locale : great britain scottish gealic (gd) //! author : Jon Ashdown : https://github.com/jonashdown import moment from '../moment'; var months = [ 'Am Faoilleach', 'An Gearran', 'Am Màrt', 'An Giblean', 'An Cèitean', 'An t-Ògmhios', 'An t-Iuchar', ...
bbc/moment
src/locale/gd.js
JavaScript
mit
2,174
<?php namespace Project\LineOfWorkBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * Article */ class Article { /** * @var integer */ private $id; /** * @var string */ private $article_type; /** * @var string */ private $content; /** * Get id ...
BanBart/Symfony2-Project
src/Project/LineOfWorkBundle/Entity/Article.php
PHP
mit
1,550
// -*- mode: C++; c-indent-level: 4; c-basic-offset: 4; indent-tabs-mode: nil; -*- // we only include RcppEigen.h which pulls Rcpp.h in for us #include <RcppEigen.h> // via the depends attribute we tell Rcpp to create hooks for // RcppEigen so that the build process will know what to do // // [[Rcpp::depends(RcppEige...
UCL-BLIC/legion-buildscripts
cytofpipe/v1.3/Rlibs/RcppEigen/skeleton/rcppeigen_hello_world.cpp
C++
mit
1,497
// Webpack configuration types type Entry = Array<string> | Object; //type aliasing type Output = { path: string, publicPath: string, filename: string, sourceMapFilename: string, chunkFilename: string, hotUpdateMainFilename: string, hotUpdateChunkFilename: string }; //type ali...
tapy-lappy/Evo
ClientWeb/Webpack/typings/webpack.d.ts
TypeScript
mit
1,133
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // 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 restrictio...
John3/T3D_GMK_BULLET
Engine/source/collision/convex.cpp
C++
mit
20,051
var Suckle = require('../'); var vows = require('vows') var assert = require('assert') var ReadStream = require('./readstream') var WriteStream = require('./writestream') var createMulticast = function(num, cb) { var suckle = new Suckle() var completed = [] var writeCallback = function(err, data) { if (...
rcgray/geometryzen
node_modules/lactate/node_modules/suckle/test/test.js
JavaScript
mit
5,166
var roles = []; var users_authorized = []; var user_role_count = {}; var application = {}; // Handle authorize users to the application $(document).ready(function() { var application_name = $('#detailApplication') .find('h4.name') .contents() .get(0) .nodeValue.trim(); function htmlEntities(str) {...
Fiware/security.Idm
public/javascripts/applications/handle_authorize_users.js
JavaScript
mit
13,598
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var infiniteRowModelModule_1 = require("./infiniteRowModelModule"); exports.InfiniteRowModelModule = infiniteRowModelModule_1.InfiniteRowModelModule; //# sourceMappingURL=main.js.map
ceolter/angular-grid
community-modules/infinite-row-model/dist/cjs/main.js
JavaScript
mit
259
'use strict'; var MACROUTILS = require( 'osg/Utils' ); var Object = require( 'osg/Object' ); var Matrix = require( 'osg/Matrix' ); var Quat = require( 'osg/Quat' ); var Target = require( 'osgAnimation/Target' ); var StackedQuaternion = function ( name, quat ) { Object.call( this ); this._target = Target.creat...
gideonmay/osgjs
sources/osgAnimation/StackedQuaternion.js
JavaScript
mit
1,179
namespace Serenity { import Option = Serenity.Decorators.option @Decorators.registerEditor('Serenity.DateEditor', [IStringValue, IReadOnly]) @Decorators.element('<input type="text"/>') export class DateEditor extends Widget<any> implements IStringValue, IReadOnly { private minValue: ...
rolembergfilho/Serenity
Serenity.Scripts/CoreLib/UI/Editors/DateEditor.ts
TypeScript
mit
12,899
@extends('layouts.admin') @section('content') {{-- URL-route: generate url berdasarkan daftar route supaya urlnya gak di-hardcode --}} <div class='col-md-6'> <div class='form-header'>Ubah Jenis Izin Baru</div> <form action='{{URL::route("izin.jenis.update.submit",["id"=>$jenis_izin->id])}}...
yafithekid/tugas-2-ppl
resources/views/izin/jenis/update.blade.php
PHP
mit
1,730
/*! * frontendboilerplate - v0.1.1 - MIT LICENSE 2015-06-22. * @author */ /** * Sample content to test the concat and minify grunt plugins. */ function sampleA() { 'use strict'; window.console.log("Sample A"); } sampleA(); /** * Sample content to test the concat and minify grunt plugins. */ function sampleB...
mcoy37/frontend-boilerplate
assets/js/scripts.js
JavaScript
mit
629
# -*- coding: utf-8 -*- from __future__ import print_function, division, absolute_import, unicode_literals import os import tests.fixtures.mock_data as mock_data class MockStdout(): def __init__(self): self.stdout = {} class PipeMock(object): def __init__(self): self.stdout = MockStdout() ...
pombredanne/swidGenerator
tests/fixtures/command_manager_mock.py
Python
mit
3,142
# coding=utf-8 # -------------------------------------------------------------------------- # 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 ...
SUSE/azure-sdk-for-python
azure-mgmt-resource/azure/mgmt/resource/managedapplications/version.py
Python
mit
506
/* * * * Highcharts funnel3d series module * * (c) 2010-2020 Highsoft AS * * Author: Kacper Madej * * License: www.highcharts.com/license * * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!! * * */ 'use strict'; import H from '../Core/Globals.js'; import Math3D from '../Extensio...
cdnjs/cdnjs
ajax/libs/highcharts/8.2.0/es-modules/Series/Funnel3DSeries.js
JavaScript
mit
26,697
/** @jsx React.DOM */ var React = require('react'); var CartSummary = require('./app-cartsummary.js'); var Header = React.createClass({ render:function(){ return ( <div className="row"> <div className="col-sm-6"><h1>Lets Shop</h1></div> <div className="col-sm-2 col-sm-push-3"> ...
wandarkaf/React-Bible
ReactFlux/src/js/components/header/app-header.js
JavaScript
cc0-1.0
450
package cc.mallet.cluster.tui; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.util.logging.Logger; import cc.mallet.cluster.Clustering; import cc.mallet.cluster.Clusterings; import cc.mallet.cluster...
iamxiatian/wikit
src/main/java/cc/mallet/cluster/tui/Clusterings2Clusterings.java
Java
epl-1.0
7,222
/** */ package org.eclipse.epsilon.evl.metamodel.impl; import java.util.Collection; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject;...
epsilonlabs/epsilon-static-analysis
org.eclipse.epsilon.haetae.evl.metamodel/src/org/eclipse/epsilon/evl/metamodel/impl/InvariantImpl.java
Java
epl-1.0
10,994
/******************************************************************************* * Copyright (c) 2019 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is a...
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxrs.2.0_fat/test-applications/annotationscan/src/com/ibm/ws/jaxrs/fat/annotation/multipleapp/App1.java
Java
epl-1.0
731
/** * Copyright (c) 2010-2021 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
paulianttila/openhab2
bundles/org.openhab.binding.velux/src/main/java/org/openhab/binding/velux/internal/things/VeluxKLFAPI.java
Java
epl-1.0
20,539
package xinxing.boss.admin.boss.customer.domain; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; import org.hibernate.annotations...
zzzzgc/ZGC4Obj
Admin/src/main/java/xinxing/boss/admin/boss/customer/domain/CustomerCallbackRecord.java
Java
epl-1.0
2,363
/******************************************************************************* * Copyright (c) 2012 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is a...
OpenLiberty/open-liberty
dev/com.ibm.ws.messaging.runtime/src/com/ibm/ws/sib/processor/impl/indexes/statemodel/DeleteDefered.java
Java
epl-1.0
1,486
/******************************************************************************* * Copyright (c) 1997, 2018 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
OpenLiberty/open-liberty
dev/com.ibm.ws.session.store/src/com/ibm/ws/session/store/common/BackedStore.java
Java
epl-1.0
14,657
/******************************************************************************* * Copyright (c) 2017 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is a...
OpenLiberty/open-liberty
dev/com.ibm.ws.microprofile.openapi/src/com/ibm/ws/microprofile/openapi/impl/parser/processors/HeaderProcessor.java
Java
epl-1.0
3,354
/* * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org....
522986491/yangtools
code-generator/binding-generator-util/src/test/java/org/opendaylight/yangtools/binding/generator/util/generated/type/builder/MethodParameterImplTest.java
Java
epl-1.0
2,133
/******************************************************************************* * Copyright (c) 2012-2017 Codenvy, S.A. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available ...
snjeza/che
ide/che-core-ide-api/src/main/java/org/eclipse/che/ide/api/app/AppContext.java
Java
epl-1.0
6,891
/* * Copyright (C) 2013 Nagoya University All rights reserved. */ package net.dependableos.dcase.diagram.edit.parts; import net.dependableos.dcase.diagram.edit.parts.custom.DcaseNodeResponsibilityEditPart; import net.dependableos.dcase.diagram.part.DcaseVisualIDRegistry; import net.dependableos.dcase.diagram...
kuriking/testdc2
net.dependableos.dcase.diagram/src/net/dependableos/dcase/diagram/edit/parts/MonitorResponsibilityEditPart.java
Java
epl-1.0
1,135
/** * Copyright (c) 2014-2017 by the respective copyright holders. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ pa...
philomatic/smarthome
bundles/core/org.eclipse.smarthome.core.voice/src/main/java/org/eclipse/smarthome/core/voice/internal/DialogProcessor.java
Java
epl-1.0
6,616
/* * Copyright (c) 2009, Red Hat Middleware LLC or third-party contributors as * indicated by the @author tags or express copyright attribution * statements applied by the authors. All third-party contributions are * distributed under license by Red Hat Middleware LLC. * * This copyrighted material is made avail...
ControlSystemStudio/cs-studio
thirdparty/plugins/org.csstudio.platform.libs.hibernate/project/entitymanager/src/main/java/org/hibernate/ejb/event/EJB3MergeEventListener.java
Java
epl-1.0
2,364
package org.apache.cxf.transport.http; import java.io.OutputStream; import org.apache.cxf.io.AbstractWrappedOutputStream; public class ProxyOutputStream extends AbstractWrappedOutputStream { public void setWrappedOutputStream(OutputStream os) { this.wrappedStream = os; } }
OpenLiberty/open-liberty
dev/com.ibm.ws.jaxrs.2.0.common/src/org/apache/cxf/transport/http/ProxyOutputStream.java
Java
epl-1.0
293
package PublicInfo; /** * µØÍ¼ÏÖÔÚµÄ״̬ * */ public class MapCondition { public static MapCondition getMap(){ return null; } }
DengrongGuan12/LilyCrush
LilyCrush_Client_Refactor/src/PublicInfo/MapCondition.java
Java
epl-1.0
135
<?php function getTabs() { global $tabs; $s = ""; for ($t = 0; $t < $tabs; $t++) { $s = $s . "\t"; } return $s; } $pixi = Array(); $raw = 'Paste GLSL Sandbox code in here'; $output = "var fragmentSrc = [\n"; $output .= "...
boniatillo-com/PhaserEditor
source/phasereditor/phasereditor.resources.phaser.examples/phaser-examples-master/examples/wip/misc/glslsandbox.php
PHP
epl-1.0
3,806
/******************************************************************************* * Copyright 2009 Google Inc. All Rights Reserved. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and ...
briandealwis/gwt-eclipse-plugin
plugins/com.gwtplugins.gdt.eclipse.suite.update/src/com/google/gdt/eclipse/suite/update/DownloadJobCreator.java
Java
epl-1.0
1,163
/******************************************************************************* * Copyright (c) 2020, 2021 Eurotech and/or its affiliates and others * * This program and the accompanying materials are made * available under the terms of the Eclipse Public License 2.0 * which is available at https://www.eclipse.or...
stzilli/kapua
rest-api/core/src/main/java/org/eclipse/kapua/app/api/core/exception/InternalUserOnlyExceptionMapper.java
Java
epl-1.0
1,517
/* Copyright (C) SYSTAP, LLC DBA Blazegraph 2006-2016. All rights reserved. Contact: SYSTAP, LLC DBA Blazegraph 2501 Calvert ST NW #106 Washington, DC 20008 licenses@blazegraph.com This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public L...
blazegraph/database
bigdata-core-test/bigdata/src/test/com/bigdata/relation/rule/TestProgram.java
Java
gpl-2.0
3,683
<?php /* Copyright [2011, 2012, 2013] da Universidade Federal de Juiz de Fora * Este arquivo é parte do programa Framework Maestro. * O Framework Maestro é um software livre; você pode redistribuí-lo e/ou * modificá-lo dentro dos termos da Licença Pública Geral GNU como publicada * pela Fundação do Software ...
HexSource/maestro2
Maestro/Persistence/Criteria/DeleteCriteria.php
PHP
gpl-2.0
1,655
import Clipboard from 'clipboard'; function init(ractive, selector, isCopied) { if (!Clipboard.isSupported()) return; const clipboard = new Clipboard(ractive.find(selector)); let isRunning = false; clipboard.on('success', () => { if (isRunning) return; isRunning = true; ractive.set(isCopied, true);...
skyjam/CoinSpace
app/lib/clipboard/index.js
JavaScript
gpl-2.0
469
/* * Copyright (C) 2016-2016 52°North Initiative for Geospatial Open Source * Software GmbH * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published * by the Free Software Foundation. * * If the program is linked with ...
matthesrieke/subverse
service/src/main/java/org/n52/subverse/request/UnsubscribeRequest.java
Java
gpl-2.0
2,598
#include <getopt.h> #include <iostream> #include <storage/StorageInterface.h> using namespace storage; using namespace std; int main( int argc_iv, char** argv_ppcv ) { int ret; StorageInterface* s = createStorageInterface(Environment(false)); string dev; ret = s->destroyPartitionTable("/dev/hdb", s-...
gabi2/libstorage
examples/TestDiskLog.cc
C++
gpl-2.0
890
#!/usr/bin/env python # ex:ts=4:sw=4:sts=4:et # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- """ class for handling .bb files Reads a .bb file and obtains its metadata """ # Copyright (C) 2003, 2004 Chris Larson # Copyright (C) 2003, 2004 Phil Blundell # # This program is free software; ...
schleichdi2/OPENNFR-6.0-CORE
bitbake/lib/bb/parse/parse_py/BBHandler.py
Python
gpl-2.0
8,492
<?php if ( get_option( 'page_comments' ) && 1 < get_comment_pages_count() ) { ?> <div class="comments-nav"> <?php previous_comments_link( __( '&larr; Previous', 'celebrate' ) ); ?> <span class="page-numbers"><?php printf( __( 'Page %1$s of %2$s', 'celebrate' ), ( get_query_var( 'cpage' ) ? absint( get_query_var( ...
jubjunior/Wordpress
wp-content/themes/celebrate/comments-loop-nav.php
PHP
gpl-2.0
486
""" Gather F5 LTM Virtual Server Information @author: David Petzel @contact: david.petzel@disney.com @date: 05/06/2011 """ from Products.DataCollector.plugins.CollectorPlugin import SnmpPlugin, GetTableMap, GetMap from Products.DataCollector.plugins.DataMaps import ObjectMap import re import binascii import string i...
anksp21/Community-Zenpacks
ZenPacks.community.f5/ZenPacks/community/f5/modeler/plugins/BigipLtmVirtualServerMap.py
Python
gpl-2.0
4,833
<?php /** * @package Simpli * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; $helper = require (__DIR__ . '/helper.php'); $helper->init($this); ?> <!DOCTYPE html> <html x...
korgogro/Masinisa_j351
templates/ja_simpli/index.php
PHP
gpl-2.0
7,325
/* Copyright 2003-2007 Joaquín M López Muñoz. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) * * See http://www.boost.org/libs/multi_index for library home page. */ #ifndef BOOST_MULTI_INDEX_SEQUENCED_INDEX_...
HiT-Hi-FiT-Hai/dcplusplus
boost/boost/multi_index/sequenced_index.hpp
C++
gpl-2.0
23,782
<div id="comments-wrap"> <?php // Do not delete these lines if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) die ('Please do not load this page directly. Thanks!'); if ( post_password_required() ) { ?> <p class="nocomments">This post is password protected. Enter...
elongton/meandmygirls
wp-content/themes/YAMINTH/comments.php
PHP
gpl-2.0
3,341
<?php defined('SYSTEM_STARTED') or die('You are not permitted to access this resource.'); class CacheManager { const CONTENT_TYPE_GRAPHICS = "GRAPHIC"; const CONTENT_TYPE_SCRIPT = "SCRIPT"; const CONTENT_TYPE_STYLESHEET = "STYLESHEET"; const CONTENT_TYPE_FONT = "FONT"; private static $cacheRegistry=array(); ...
dasrajdeep/sigpact
system/CacheManager.php
PHP
gpl-2.0
1,635
/* Copyright (C) 2004 - 2009 Versant Inc. http://www.db4o.com */ using Db4objects.Db4o; using Db4objects.Db4o.Foundation; using Db4objects.Db4o.Internal; using Db4objects.Db4o.Internal.Freespace; using Db4objects.Db4o.Internal.Ids; using Db4objects.Db4o.Internal.Slots; namespace Db4objects.Db4o.Internal.Ids ...
meebey/smuxi-head-mirror
lib/db4o-net/Db4objects.Db4o/Db4objects.Db4o/Internal/Ids/IdSlotChanges.cs
C#
gpl-2.0
4,331
package dot.junit.opcodes.if_lez; import dot.junit.DxTestCase; import dot.junit.DxUtil; import dot.junit.opcodes.if_lez.d.T_if_lez_1; import dot.junit.opcodes.if_lez.d.T_if_lez_2; public class Test_if_lez extends DxTestCase { /** * @title Argument = 5 */ public void testN1() { T_if_lez_1 t ...
rex-xxx/mt6572_x201
cts/tools/vm-tests-tf/src/dot/junit/opcodes/if_lez/Test_if_lez.java
Java
gpl-2.0
3,910
<?php /** * @copyright 2006-2013, Miles Johnson - http://milesj.me * @license https://github.com/milesj/admin/blob/master/license.md * @link http://milesj.me/code/cakephp/admin */ class Admin { /** * Cached data. * * @type array */ protected static $_cache = array(); ...
giodude29/AsCIISite
app/Plugin/Admin/Lib/Admin.php
PHP
gpl-2.0
10,242
<?php // +-----------------------------------------------------------------------+ // | Piwigo - a PHP based photo gallery | // +-----------------------------------------------------------------------+ // | Copyright(C) 2008-2016 Piwigo Team http://piwigo.org | //...
Philippe-M/Piwigo
themes/elegant/language/fa_IR/theme.lang.php
PHP
gpl-2.0
2,351
class User < ActiveRecord::Base require "xml/libxml" has_many :traces, -> { where(:visible => true) } has_many :diary_entries, -> { order(:created_at => :desc) } has_many :diary_comments, -> { order(:created_at => :desc) } has_many :diary_entry_subscriptions, :class_name => "DiaryEntrySubscription" has_man...
Zverik/openstreetmap-website
app/models/user.rb
Ruby
gpl-2.0
9,334
/***********************************************************************/ /* Copyright 2015 ToPS */ /* */ /* This program is free software; you can redistribute it and/or */ /* modify it under the ...
topsframework/tops-refactoring
include/model/Standard.hpp
C++
gpl-2.0
1,598
<?php /** * File containing the ezrangeoptionSolrStorage class. * * @copyright Copyright (C) 1999-2013 eZ Systems AS. All rights reserved. * @license http://www.gnu.org/licenses/gpl-2.0.txt GNU General Public License v2 * @version 5.3.0-alpha1 * @package ezfind */ class ezrangeoptionSolrStorage extends ezdatat...
m-lassoued/testezp5Repo
web/extension/ezfind/classes/solrstorage/ezrangeoptionsolrstorage.php
PHP
gpl-2.0
1,225
<?php /** * @copyright Copyright (C) eZ Systems AS. All rights reserved. * @license For full copyright and license information view LICENSE file distributed with this source code. */ namespace eZ\Bundle\EzPublishCoreBundle\Imagine\Filter\Loader; use Liip\ImagineBundle\Imagine\Filter\Loader\LoaderInterface; abstra...
ezsystems/ezpublish-kernel
eZ/Bundle/EzPublishCoreBundle/Imagine/Filter/Loader/FilterLoaderWrapped.php
PHP
gpl-2.0
620
#include <lib/base/cfile.h> #include <lib/base/eerror.h> #include <lib/dvb/radiotext.h> #include <lib/dvb/idemux.h> #include <lib/gdi/gpixmap.h> DEFINE_REF(eDVBRdsDecoder); eDVBRdsDecoder::eDVBRdsDecoder(iDVBDemux *demux, int type) :msgPtr(0), bsflag(0), qdar_pos(0), t_ptr(0), qdarmvi_show(0), state(0) ,m_type(type...
fairbird/OpenPLI-BlackHole
lib/dvb/radiotext.cpp
C++
gpl-2.0
16,243
// This may look like C code, but it's really -*- C++ -*- /* * Copyright (C) 2011 Emweb bvba, Kessel-Lo, Belgium. * * See the LICENSE file for terms of use. */ #include "Wt/WIOService" #include "Wt/WServer" #include <iostream> #include <string> #include <signal.h> #include "Configuration.h" #include "FCGIStream.h...
ansons/wt
src/fcgi/WServer.C
C++
gpl-2.0
5,860
/** * ownCloud Android client application * * @author David A. Velasco * Copyright (C) 2016 ownCloud GmbH. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2, * as published by the Free Software Foundation. * * ...
PauloSantos13/android
src/com/owncloud/android/ui/fragment/FileFragment.java
Java
gpl-2.0
4,730
<?php die("Access Denied"); ?>#x#a:2:{s:6:"output";s:0:"";s:6:"result";s:3:"306";}
jolay/pesatec
cache/mod_vvisit_counter/860aea6b5aac75573e8d7d8ebc839c97-cache-mod_vvisit_counter-80dbc0d882054809874a199a075389cf.php
PHP
gpl-2.0
82