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 |
|---|---|---|---|---|---|
//Problem 12. Parse URL
//Write a program that parses an URL address given in the format:
//[protocol]://[server]/[resource] and extracts from it the [protocol], [server] and [resource] elements.
using System;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace ParseURL
{
class... | siderisltd/Telerik-Academy | All Courses Homeworks/C#_Part_2/6. StringsAndText/ParseURL/Program.cs | C# | mit | 1,607 |
<?php
/**
* ECSHOP 管理中心支付方式管理語言文件
* ============================================================================
* 版權所有 2005-2011 上海商派網絡科技有限公司,並保留所有權利。
* 網站地址: http://www.ecshop.com;
* ----------------------------------------------------------------------------
* 這不是一個自由軟件!您只能在不用於商業目的的前提下對程序代碼進行修改和
* 使用;不允許對程序代... | kitboy/docker-shop | html/ecshop3/ecshop/languages/zh_tw/admin/payment.php | PHP | mit | 2,156 |
// CS_Cholinc.cpp
//
// 2007/10/16
//---------------------------------------------------------
#include "NDGLib_headers.h"
#include "CS_Type.h"
#define TRACE_CHOL 0
///////////////////////////////////////////////////////////
//
// Spa : buffer for storing sparse column info
//
/////////////////////////////////////... | tcew/nodal-dg | nudg++/trunk/Src/Sparse/CS_Cholinc.cpp | C++ | mit | 11,478 |
/*
GNU LESSER GENERAL PUBLIC LICENSE
Copyright (C) 2006 The Lobo Project
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 ... | lobobrowser/Cobra | src/main/java/org/cobraparser/html/renderer/RListItem.java | Java | mit | 6,450 |
<?php
/**
* Generate product link
* @param $id
* @param $innerHTML
* @return string
*/
function productToAnchor($id, $innerHTML){
$link = "/products/view/$id";
return "<a href='$link'>$innerHTML</a>";
}
/**
* Generate category anchor
* @param $id
* @param $innerHTML
* @return string
*/
function categ... | nvmanh/shopping-website-responsive-codeigniter | application/helpers/anchors_helper.php | PHP | mit | 445 |
var scp;
var cal_color;
$(document).ready(function(){
scp = angular.element('.main').scope();
$("#div_point").toggle();
//Set default values
cal_color = defaults.cal_color;
//Setup plugins
$("#cal_color").spectrum({
preferredFormat: "hex",
showInput: true,
color: cal_color,
change: setColor... | centosGit/ICA-SVP_WebClient | app/js/partials/svp_cal.js | JavaScript | mit | 1,529 |
package com.planmart;
import java.util.ArrayList;
import java.util.Date;
public class Order {
private Customer customer;
private String shippingRegion;
private PaymentMethod paymentMethod;
private Date placed;
private ArrayList<ProductOrder> items = new ArrayList<>();
private ArrayList<LineIte... | vadadler/java | planmart/src/com/planmart/Order.java | Java | mit | 2,316 |
using System;
using System.Windows.Input;
namespace AOLadderer.UI
{
// https://msdn.microsoft.com/en-us/magazine/dd419663.aspx
public class RelayCommandParameterized<T> : ICommand
{
private readonly Func<T, bool> _canExecute;
private readonly Action<T> _execute;
public RelayComman... | davghouse/ao-ladderer | AOLadderer.UI/RelayCommandParameterized.cs | C# | mit | 970 |
/**
* @license Highstock JS v8.0.3 (2020-03-06)
* @module highcharts/indicators/wma
* @requires highcharts
* @requires highcharts/modules/stock
*
* Indicator series type for Highstock
*
* (c) 2010-2019 Kacper Madej
*
* License: www.highcharts.com/license
*/
'use strict';
import '../../indicators/wma.src.js';... | cdnjs/cdnjs | ajax/libs/highcharts/8.0.3/es-modules/masters/indicators/wma.src.js | JavaScript | mit | 321 |
/*! Buefy v0.8.16 | MIT License | github.com/buefy/buefy */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = global || self, factory(global.Navbar = {}));
}(this, fu... | cdnjs/cdnjs | ajax/libs/buefy/0.8.16/components/navbar/index.js | JavaScript | mit | 23,396 |
/*!
* froala_editor v4.0.1 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2021 Froala Labs
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('froala-editor')) :
typeof define === 'function... | cdnjs/cdnjs | ajax/libs/froala-editor/4.0.1/js/languages/hu.js | JavaScript | mit | 11,390 |
/*!
* froala_editor v3.1.1 (https://www.froala.com/wysiwyg-editor)
* License https://froala.com/wysiwyg-editor/terms/
* Copyright 2014-2020 Froala Labs
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('froala-editor')) :
typeof define === 'function... | cdnjs/cdnjs | ajax/libs/froala-editor/3.1.1/js/languages/ar.js | JavaScript | mit | 20,426 |
package wblut.Render2016;
import java.util.Arrays;
import processing.core.PConstants;
public class MultiTextNoTitle extends Slide {
String[] lines = null;
int offset;
public MultiTextNoTitle(final RTO home, final String... lines) {
super(home, "");
this.lines = Arrays.copyOf(lines, lines.length);
offset ... | wblut/Render2016_RenderingTheObvious | src/wblut/Render2016/MultiTextNoTitle.java | Java | cc0-1.0 | 1,180 |
jsonp({"cep":"89874000","cidade":"Maravilha","uf":"SC","estado":"Santa Catarina"});
| lfreneda/cepdb | api/v1/89874000.jsonp.js | JavaScript | cc0-1.0 | 84 |
jsonp({"cep":"63880000","cidade":"Domingos da Costa","uf":"CE","estado":"Cear\u00e1"});
| lfreneda/cepdb | api/v1/63880000.jsonp.js | JavaScript | cc0-1.0 | 88 |
class FavoritesController < ApplicationController
def index
@favorite = Favorite.new
end
def create
@favorite = Favorite.new(favorite_params)
@favorite.user = current_user
if @favorite.save
redirect_to :back
end
end
def destroy
@favorite = Favorite.find(params[:favorite]... | rebeccamills/whatsamata | app/controllers/favorites_controller.rb | Ruby | cc0-1.0 | 445 |
import {CHANGE_PAGE_ID} from 'actions'
const initialState = null
export default function(state = initialState, action = {}) {
switch (action.type) {
case CHANGE_PAGE_ID:
return action.payload
default:
return state
}
}
| s0ber/react-app-template | src/reducers/currentPageId.js | JavaScript | cc0-1.0 | 244 |
'use strict';
var packager = require('electron-packager');
var options = {
'arch': 'ia32',
'platform': 'win32',
'dir': './',
'app-copyright': 'Paulo Galdo',
'app-version': '2.2.5',
'asar': true,
'icon': './app.ico',
'name': 'TierraDesktop',
'out': './releases',
'overw... | CosmicaJujuy/TierraDesktop | elec.js | JavaScript | cc0-1.0 | 847 |
"""adding timestamps to all tables
Revision ID: c0a714ade734
Revises: 1a886e694fca
Create Date: 2016-04-20 14:46:06.407765
"""
# revision identifiers, used by Alembic.
revision = 'c0a714ade734'
down_revision = '1a886e694fca'
branch_labels = None
depends_on = None
from alembic import op
import sqlalchemy as sa
def ... | fedspendingtransparency/data-act-validator | dataactvalidator/migrations/versions/c0a714ade734_adding_timestamps_to_all_tables.py | Python | cc0-1.0 | 3,174 |
<?php
/**
* ifeelweb.de WordPress Plugin Framework
* For more information see http://www.ifeelweb.de/wp-plugin-framework
*
*
*
* @author Timo Reith <timo@ifeelweb.de>
* @version $Id: Parser.php 972646 2014-08-25 20:12:32Z worschtebrot $
* @package
*/
class IfwPsn_Wp_WunderScript_Parser
{
/**
... | misterbigood/doc-saemf | plugins/post-status-notifier-lite/lib/IfwPsn/Wp/WunderScript/Parser.php | PHP | cc0-1.0 | 4,729 |
'use strict';
var _index = require('/Users/markmiro/proj/ui-experiments/node_modules/babel-preset-react-hmre/node_modules/redbox-react/lib/index.js');
var _index2 = _interopRequireDefault(_index);
var _index3 = require('/Users/markmiro/proj/ui-experiments/node_modules/babel-preset-react-hmre/node_modules/react-trans... | markmiro/ui-experiments | lib/Row.js | JavaScript | cc0-1.0 | 3,934 |
<?php
session_start();
include_once("db_connection.php");
include ("login_required.php");
if(!empty($_POST["exercise_name"])){
$exercise_name = $_POST["exercise_name"];
$exerciseid_fk = $_POST["exerciseid"];
$sessionid_fk = $_POST["sessionid"];
$sql1 = "SELECT exerciseid FROM exercise WHERE exercise... | SleipRecx/Training | scripts/new_exercise_in_session.php | PHP | cc0-1.0 | 1,086 |
jsonp({"cep":"78335000","cidade":"Colniza","uf":"MT","estado":"Mato Grosso"});
| lfreneda/cepdb | api/v1/78335000.jsonp.js | JavaScript | cc0-1.0 | 79 |
/******************************************************************************
* AUTHOR: Alexander Casal
* FILE: game.cpp
* DESCRIPTION: Demonstrate the use of the Strategy Design Pattern through
* a very simple game which allows the user to select different
* weapons. Each weapon has ... | alexandercasal/StrategyPattern | cpp/src/game.cpp | C++ | cc0-1.0 | 2,429 |
// Joe Presbrey <presbrey@mit.edu>
// 2007-07-15
// 2010-08-08 TimBL folded in Kenny's WEBDAV
// 2010-12-07 TimBL addred local file write code
const docpart = require('./uri').docpart
const Fetcher = require('./fetcher')
const graph = require('./data-factory').graph
import IndexedFormula from './indexed-formula'
const ... | aolite/SemanticHub | node_modules/rdflib/src/update-manager.js | JavaScript | cc0-1.0 | 37,528 |
package tb.common.block;
import tb.common.item.ItemNodeFoci;
import tb.common.tile.TileNodeManipulator;
import tb.init.TBItems;
import net.minecraft.block.Block;
import net.minecraft.block.BlockContainer;
import net.minecraft.block.material.Material;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.en... | KryptonCaptain/ThaumicBases | src/main/java/tb/common/block/BlockNodeManipulator.java | Java | cc0-1.0 | 2,456 |
// Global Vars to set
var musicas = new Array(11);
musicas[0] = 0; // Wheel A
musicas[1] = 0; // Whell B
musicas[2] = "0;"; // A1
musicas[3] = "0;"; // A2
musicas[4] = "0;"; // A3
musicas[5] = "0;"; // A4
musicas[6] = "0;"; // B1
musicas[7] = "0;"; // B2
musicas[8] = "0;"; // B3
musicas[9] = "0... | mateuslopesbh/flavordj | js/funcoes.js | JavaScript | cc0-1.0 | 16,201 |
$(document).ready( function () {
// Add return on top button
$('body').append('<div id="returnOnTop" title="Retour en haut"> </div>');
// On button click, let's scroll up to top
$('#returnOnTop').click( function() {
$('html,body').animate({scrollTop: 0}, 'slow');
});
});
$(window).scroll... | samszo/THYP-1516 | FatihiZakaria/trombino/returnOnTop.js | JavaScript | cc0-1.0 | 497 |
const electron = require('electron')
const app = electron.app
const BrowserWindow = electron.BrowserWindow
const {ipcMain} = require('electron')
const {dialog} = require('electron')
const {Menu} = require('electron')
import {enableLiveReload} from 'electron-compile'
const path = require('path')
const url = require(... | samfromcadott/kettle | main.js | JavaScript | cc0-1.0 | 2,539 |
from cStringIO import StringIO
from struct import pack, unpack, error as StructError
from .log import log
from .structures import fields
class DBFile(object):
"""
Base class for WDB and DBC files
"""
@classmethod
def open(cls, file, build, structure, environment):
if isinstance(file, basestring):
file = op... | jleclanche/pywow | wdbc/main.py | Python | cc0-1.0 | 10,011 |
/* file "ia64/instr.cpp" */
/*
Copyright (c) 2002 The President and Fellows of Harvard College
All rights reserved.
This software is provided under the terms described in
the "machine/copyright.h" include file.
*/
#include <machine/copyright.h>
#ifdef USE_PRAGMA_INTERFACE
#pragma implementation "ia... | nxt4hll/roccc-2.0 | roccc-compiler/src/NuSuif/machsuif/z_notneeded/ia64/instr.cpp | C++ | epl-1.0 | 6,354 |
/**
* Created by visual studio 2010
* User: xuheng
* Date: 12-3-6
* Time: 下午21:23
* To get the value of editor and output the value .
*/
using System;
using System.Web;
namespace FineUI.Examples
{
public class getContent : IHttpHandler
{
public void ProcessRequest(HttpContext context)
... | proson/project | FineUI.Examples/ueditor/net/getContent.ashx.cs | C# | epl-1.0 | 1,663 |
/*******************************************************************************
* Copyright (c) 2004 Actuate Corporation.
* 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 availabl... | BIRT-eXperts/IBM-Maximo-BIRT-Code-Generator | src/com/mmkarton/mx7/reportgenerator/sqledit/SQLUtility.java | Java | epl-1.0 | 7,663 |
package hu.eltesoft.modelexecution.m2t.smap.emf;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import java.util.Vector;
/**
* Maps qualified EMF object references to virtual line numbers. Line numbering
* starts from one, and incremented by one when a new reference inserted.
*/
class... | ELTE-Soft/xUML-RT-Executor | plugins/hu.eltesoft.modelexecution.m2t.smap.emf/src/hu/eltesoft/modelexecution/m2t/smap/emf/ReferenceToLineMapping.java | Java | epl-1.0 | 1,442 |
package pacman.carte;
import java.util.ArrayList;
import pacman.personnages.Pacman;
import pacman.personnages.Personnage;
public class Labyrinthe {
public static final int NB_COLONNE = 20;
public static final int NB_LIGNE = 20;
protected int[][] grille;
protected int largeur;
protected int hauteur;
public sta... | Yoshi-xtaze/ACL2015_Jafaden | pacman/carte/Labyrinthe.java | Java | epl-1.0 | 3,356 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends2 = require('babel-runtime/helpers/extends');
var _extends3 = _interopRequireDefault(_extends2);
var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');
var _classCallCheck3 = _interopRequireDefault(_classCal... | jessicaappelbaum/cljs-update | node_modules/semantic-ui-react/dist/commonjs/modules/Accordion/AccordionTitle.js | JavaScript | epl-1.0 | 3,484 |
/**
*/
package fr.obeo.dsl.game.provider;
import fr.obeo.dsl.game.GameFactory;
import fr.obeo.dsl.game.GamePackage;
import fr.obeo.dsl.game.UI;
import java.util.Collection;
import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.ecl... | Obeo/Game-Designer | plugins/fr.obeo.dsl.game.edit/src-gen/fr/obeo/dsl/game/provider/UIItemProvider.java | Java | epl-1.0 | 6,992 |
/*************************************************************************
*** FORTE Library Element
***
*** This file was generated using the 4DIAC FORTE Export Filter V1.0.x!
***
*** Name: F_TIME_TO_USINT
*** Description: convert TIME to USINT
*** Version:
*** 0.0: 2013-08-29/4DIAC-IDE - 4DIAC-Co... | EstebanQuerol/Black_FORTE | src/modules/IEC61131-3/Conversion/TIME/F_TIME_TO_USINT.cpp | C++ | epl-1.0 | 2,013 |
/**
*/
package org.eclipse.xtext.impl;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.xtext.UntilToken;
import org.eclipse.xtext.XtextPackage;
/**
* <!-- begin-user-doc -->
* An implementation of the model object '<em><b>Until Token</b></em>'.
* <!-- end-user-doc -->
*
* @generated
*/
public class Un... | miklossy/xtext-core | org.eclipse.xtext/emf-gen/org/eclipse/xtext/impl/UntilTokenImpl.java | Java | epl-1.0 | 706 |
/*
* generated by Xtext
*/
package org.eclipse.xtext.testlanguages.fileAware.scoping;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EReference;
import org.eclipse.xtext.scoping.IGlobalScopeProvider;
import org.eclipse.xtext.scoping.IScope;
import org.eclipse.xtext.testlanguages.fileAware.fileAwa... | miklossy/xtext-core | org.eclipse.xtext.testlanguages/src/org/eclipse/xtext/testlanguages/fileAware/scoping/FileAwareTestLanguageScopeProvider.java | Java | epl-1.0 | 944 |
/*******************************************************************************
* Copyright (c) 1998, 2012 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. ... | bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs | moxy/eclipselink.moxy.test/src/org/eclipse/persistence/testing/oxm/readonly/OneDirectMappingProject.java | Java | epl-1.0 | 1,579 |
package com.odcgroup.page.transformmodel.ui.builder;
import org.eclipse.core.runtime.Assert;
import com.odcgroup.mdf.ecore.util.DomainRepository;
import com.odcgroup.page.metamodel.MetaModel;
import com.odcgroup.page.metamodel.util.MetaModelRegistry;
import com.odcgroup.page.model.corporate.CorporateDesign;
import co... | debabratahazra/DS | designstudio/components/page/ui/com.odcgroup.page.transformmodel.ui/src/main/java/com/odcgroup/page/transformmodel/ui/builder/WidgetBuilderContext.java | Java | epl-1.0 | 2,613 |
/*******************************************************************************
* Copyright (c) 2005, 2009 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... | ttimbul/eclipse.wst | bundles/org.eclipse.wst.dtd.ui/src/org/eclipse/wst/dtd/ui/internal/wizard/NewDTDTemplatesWizardPage.java | Java | epl-1.0 | 17,558 |
#include "pMidiToFrequency.h"
#include "../pObjectList.hpp"
#include "../../dsp/math.hpp"
using namespace YSE::PATCHER;
#define className pMidiToFrequency
CONSTRUCT() {
midiValue = 0.f;
ADD_IN_0;
REG_FLOAT_IN(SetMidi);
REG_INT_IN(SetMidiInt);
ADD_OUT_FLOAT;
}
FLOAT_IN(SetMidi) {
midiValue = valu... | yvanvds/yse-soundengine | YseEngine/patcher/math/pMidiToFrequency.cpp | C++ | epl-1.0 | 454 |
package net.eldiosantos.model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;
@Entity
public class Departamento implements Serializable {
@Id
@GeneratedValue(strategy = GenerationType... | Eldius/projeto-testes | src/main/java/net/eldiosantos/model/Departamento.java | Java | epl-1.0 | 623 |
var config = {
width: 800,
height: 600,
type: Phaser.AUTO,
parent: 'phaser-example',
scene: {
create: create,
update: update
}
};
var game = new Phaser.Game(config);
var graphics;
var pointerRect;
var rectangles;
function create ()
{
graphics = this.add.graphics({ lineStyle... | boniatillo-com/PhaserEditor | source/v2/phasereditor/phasereditor.resources.phaser.examples/phaser3-examples/public/src/geom/rectangle/copy from.js | JavaScript | epl-1.0 | 1,367 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.07.08 at 01:02:... | BeliliFahem/om2m-java-client-api | src/main/java/org/eclipse/om2m/commons/resource/package-info.java | Java | epl-1.0 | 667 |
/*
*******************************************************************************
* Copyright (c) 2013 Whizzo Software, LLC.
* 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 avai... | whizzosoftware/WZWave | src/main/java/com/whizzosoftware/wzwave/node/generic/MultilevelSensor.java | Java | epl-1.0 | 1,822 |
/*******************************************************************************
* Copyright (c) 2007, 2008 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... | maxeler/eclipse | eclipse.jdt.ui/org.eclipse.jdt.core.manipulation/refactoring/org/eclipse/jdt/core/refactoring/participants/JavaParticipantManager.java | Java | epl-1.0 | 3,457 |
package com.teamNikaml.bipinography.activity;
import java.util.ArrayList;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Window;
import android.widge... | TeamNIKaml/LiveWallpaper | Awesome Wallpapers/src/com/teamNikaml/bipinography/activity/SplashActivity.java | Java | epl-1.0 | 4,397 |
package treehou.se.habit.ui.util;
import android.content.Context;
import android.graphics.Color;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.widget.DefaultItemAnimator;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
i... | pravussum/3House | mobile/src/main/java/treehou/se/habit/ui/util/CategoryPickerFragment.java | Java | epl-1.0 | 5,601 |
/*******************************************************************************
* Copyright 2009 Regents of the University of Minnesota. All rights
* reserved.
* Copyright 2009 Mayo Foundation for Medical Education and Research.
* All rights reserved.
*
* This program is made available under the terms of the Ecl... | jmchilton/TINT | projects/TropixPersistence/src/service-api/edu/umn/msi/tropix/persistence/service/ITraqQuantitationAnalysisService.java | Java | epl-1.0 | 1,827 |
/**
* Copyright (c) 2005-2013 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Eclipse Public License (EPL).
* Please see the license.txt included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
*/
/*
* Created on May 24, 2005
... | bobwalker99/Pydev | plugins/org.python.pydev/src_completions/org/python/pydev/editor/codecompletion/revisited/ProjectModulesManager.java | Java | epl-1.0 | 22,376 |
/**
*
*/
package com.coin.arbitrage.huobi.util;
/**
* @author Frank
*
*/
public enum DepthType {
STEP0("step0"),
STEP1("step1"),
STEP2("step2"),
STEP3("step3"),
STEP4("step4"),
STEP5("step5");
private String depth;
private DepthType(String depth) {
this.depth = depth;
}
... | zzzzwwww12/BuyLowSellHigh | BuyLowSellHigh/src/main/java/com/coin/arbitrage/huobi/util/DepthType.java | Java | epl-1.0 | 375 |
/*******************************************************************************
* Debrief - the Open Source Maritime Analysis Application
* http://debrief.info
*
* (C) 2000-2020, Deep Blue C Technology Ltd
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of th... | debrief/debrief | org.mwc.debrief.legacy/src/Debrief/Tools/Tote/StartTote.java | Java | epl-1.0 | 1,752 |
/**
*/
package org.liquibase.xml.ns.dbchangelog.impl;
import java.util.Collection;
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;
import org.eclipse.emf.ecore.impl.Min... | Treehopper/EclipseAugments | liquibase-editor/eu.hohenegger.xsd.liquibase/src-gen/org/liquibase/xml/ns/dbchangelog/impl/AndTypeImpl.java | Java | epl-1.0 | 23,515 |
/**
* Copyright 2009-2016 Université Paris Ouest and Sorbonne Universités,
Univ. Paris 06 - CNRS UMR 7606 (LIP6)
*
* 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 av... | lhillah/pnmlframework | pnmlFw-PTNet/src/fr/lip6/move/pnml/ptnet/hlapi/TransitionHLAPI.java | Java | epl-1.0 | 11,212 |
/*******************************************************************************
* Copyright (c) 1998, 2013 Oracle and/or its affiliates, Frank Schwarz. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribut... | bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs | jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/ddlgeneration/DDLTablePerClassTestSuite.java | Java | epl-1.0 | 3,927 |
/*******************************************************************************
* Copyright (c) 2000, 2016 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... | elucash/eclipse-oxygen | org.eclipse.jface.text/src/org/eclipse/jface/text/rules/FastPartitioner.java | Java | epl-1.0 | 24,915 |
package mesfavoris.bookmarktype;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.StringReader;
import java.util.Optional;
import mesfavoris.model.Bookmark;
public abstract class AbstractBookmarkMarkerPropertiesProvider implements IBookmarkMarkerAttributesProvider {
protected Optional<Stri... | cchabanois/mesfavoris | bundles/mesfavoris/src/mesfavoris/bookmarktype/AbstractBookmarkMarkerPropertiesProvider.java | Java | epl-1.0 | 675 |
/*******************************************************************************
* Copyright (c) 2000, 2008 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... | neelance/jface4ruby | jface4ruby/src/org/eclipse/jface/text/source/OverviewRuler.java | Java | epl-1.0 | 39,538 |
package org.cohorte.studio.eclipse.ui.node.project;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.io.StringWriter;
import java.util.HashMap;
import java.util.Map;
import javax.inject.Inject;
import javax.json.Json;
import javax.json.JsonArrayBuilder;
import javax.json.JsonBuilderFactory... | cohorte/cohorte-studio | org.cohorte.studio.eclipse.ui.node/src/org/cohorte/studio/eclipse/ui/node/project/CNodeContentManager.java | Java | epl-1.0 | 4,320 |
/**
* Copyright (c) 2014 - 2022 Frank Appel
* 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
*
* Contributors:
* Fran... | fappel/xiliary | com.codeaffine.eclipse.swt/src/com/codeaffine/eclipse/swt/util/ActionScheduler.java | Java | epl-1.0 | 753 |
/**
* Copyright (c) 2010-2013, openHAB.org 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... | jenskastensson/openhab | bundles/io/org.openhab.io.habmin/src/main/java/org/openhab/io/habmin/services/events/EventResource.java | Java | epl-1.0 | 7,435 |
/*******************************************************************************
* Copyright (c) 2014 Pivotal Software, Inc.
* 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 availa... | oxmcvusd/eclipse-integration-gradle | org.springsource.ide.eclipse.gradle.core/src/org/springsource/ide/eclipse/gradle/core/modelmanager/ModelBuilder.java | Java | epl-1.0 | 1,069 |
/*******************************************************************************
"FreePastry" Peer-to-Peer Application Development Substrate
Copyright 2002-2007, Rice University. Copyright 2006-2007, Max Planck Institute
for Software Systems. All rights reserved.
Redistribution and use in source and binary forms, ... | michele-loreti/jResp | core/org.cmg.jresp.pastry/pastry-2.1/src/org/mpisws/p2p/transport/peerreview/commitment/CommitmentProtocolImpl.java | Java | epl-1.0 | 27,337 |
if (NABUCCO === undefined || !NABUCCO)
{
var NABUCCO = {};
}
(function()
{
NABUCCO.component = NABUCCO.component || {};
NABUCCO.component.CMISDocumentList = function(htmlId)
{
// replace Bubbling.on with NO-OP, so the superclass can't register its event listeners (never-ever)
var on =... | AFaust/alfresco-cmis-documentlist | share/src/main/webapp/nabucco/components/cmis-documentlibrary/documentlist.js | JavaScript | epl-1.0 | 11,911 |
/*******************************************************************************
* Copyright (c) 2017 TypeFox GmbH (http://www.typefox.io) 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 d... | miklossy/xtext-core | org.eclipse.xtext/src/org/eclipse/xtext/formatting2/regionaccess/internal/StringBasedTextRegionAccessDiffBuilder.java | Java | epl-1.0 | 10,636 |
/**
*/
package org.eclipse.papyrus.RobotML.impl;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.papyrus.RobotML.RobotMLPackage;
import org.eclipse.papyrus.RobotML.RoboticMiddleware;
import org.eclipse.papy... | RobotML/RobotML-SDK-Juno | plugins/robotml/org.eclipse.papyrus.robotml/src/org/eclipse/papyrus/RobotML/impl/RoboticMiddlewareImpl.java | Java | epl-1.0 | 3,660 |
/*******************************************************************************
* Copyright (c) 2000, 2016 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... | gorkem/java-language-server | org.eclipse.jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/contentassist/JavadocCompletionProposal.java | Java | epl-1.0 | 10,626 |
package mx.com.cinepolis.digital.booking.commons.exception;
/**
* Clase con los códigos de errores para las excepciones
* @author rgarcia
*
*/
public enum DigitalBookingExceptionCode
{
/** Error desconocido */
GENERIC_UNKNOWN_ERROR(0),
/***
* CATALOG NULO
*/
CATALOG_ISNULL(1),
/**
* Paging R... | sidlors/digital-booking | digital-booking-commons/src/main/java/mx/com/cinepolis/digital/booking/commons/exception/DigitalBookingExceptionCode.java | Java | epl-1.0 | 7,193 |
package com.temenos.soa.plugin.uml2dsconverter.utils;
// General String utilities
public class StringUtils {
/**
* Turns the first character of a string in to an uppercase character
* @param source The source string
* @return String Resultant string
*/
public static String upperInitialCharacter(String sour... | junejosheeraz/UML2DS | com.temenos.soa.plugin.uml2dsconverter/src/com/temenos/soa/plugin/uml2dsconverter/utils/StringUtils.java | Java | epl-1.0 | 938 |
# -*- coding: utf-8 -*-
#
# Phaser Editor documentation build configuration file, created by
# sphinx-quickstart on Thu May 25 08:35:14 2017.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.... | boniatillo-com/PhaserEditor | docs/v2/conf.py | Python | epl-1.0 | 4,869 |
/******************************************************************************
* Copyright (c) 2000-2015 Ericsson Telecom AB
* 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 avail... | alovassy/titan.EclipsePlug-ins | org.eclipse.titan.designer/src/org/eclipse/titan/designer/AST/TTCN3/values/expressions/Hex2OctExpression.java | Java | epl-1.0 | 6,252 |
requirejs(['bmotion.config'], function() {
requirejs(['bms.integrated.root'], function() {});
});
| ladenberger/bmotion-frontend | app/js/bmotion.integrated.js | JavaScript | epl-1.0 | 100 |
/*
* Copyright (c) 2013 Red Hat, Inc. and/or its affiliates.
*
* 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
* ... | Maarc/windup-as-a-service | windup_0_7/windup-engine/src/main/java/org/jboss/windup/interrogator/impl/XmlInterrogator.java | Java | epl-1.0 | 3,422 |
package de.uks.beast.editor.util;
public enum Fonts
{
//@formatter:off
HADOOP_MASTER_TITEL ("Arial", 10, true, true),
HADOOP_SLAVE_TITEL ("Arial", 10, true, true),
NETWORK_TITEL ("Arial", 10, true, true),
CONTROL_CENTER_TITEL ("Arial", 10, true, true),
HADOOP_MASTER_PROPERTY ("Arial", 8,... | fujaba/BeAST | de.uks.beast.editor/src/de/uks/beast/editor/util/Fonts.java | Java | epl-1.0 | 1,163 |
var page = require('webpage').create();
var url;
if (phantom.args) {
url = phantom.args[0];
} else {
url = require('system').args[1];
}
page.onConsoleMessage = function (message) {
console.log(message);
};
function exit(code) {
setTimeout(function(){ phantom.exit(code); }, 0);
phantom.onError = function(){... | tmtwd/chess-om | env/test/js/unit-test.js | JavaScript | epl-1.0 | 765 |
#include "SimpleGameLogic.h"
#include "GameWorld.h"
#include "MonstersPlace.h"
void SimpleGameLogic::worldLoaded()
{
_physicsWorld = _world->getGameContent()->getPhysicsWorld();
_physicsWorld->setCollisionCallback(this);
_tank = static_cast<Tank*>(_world->getGameContent()->getObjectByName("Player"));
ControllerM... | cjsbox-xx/tanchiks | Classes/SimpleGameLogic.cpp | C++ | epl-1.0 | 3,968 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | DavidGutknecht/elexis-3-base | bundles/org.apache.solr/src/org/apache/solr/client/solrj/request/SolrPing.java | Java | epl-1.0 | 3,236 |
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 202... | DavidGutknecht/elexis-3-base | bundles/at.medevit.elexis.tarmed.model/src-gen/ch/fd/invoice450/request/XtraDrugType.java | Java | epl-1.0 | 5,592 |
/*******************************************************************************
* Copyright (c) 2001, 2005 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... | ttimbul/eclipse.wst | bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/contenttype/NullMemento.java | Java | epl-1.0 | 1,336 |
/*******************************************************************************
* Copyright (c) 2013-2015 UAH Space Research Group.
* 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 i... | parraman/micobs | mclev/es.uah.aut.srg.micobs.mclev/src/es/uah/aut/srg/micobs/mclev/library/mclevlibrary/MMCLEVVersionedItemComponent.java | Java | epl-1.0 | 4,916 |
package org.eclipse.scout.widgets.heatmap.client.ui.form.fields.heatmapfield;
import java.util.Collection;
import org.eclipse.scout.rt.client.ui.form.fields.IFormField;
public interface IHeatmapField extends IFormField {
String PROP_VIEW_PARAMETER = "viewParameter";
String PROP_HEAT_POINT_LIST = "heatPointList... | BSI-Business-Systems-Integration-AG/org.thethingsnetwork.zrh.monitor | ttn_monitor/org.eclipse.scout.widgets.heatmap.client/src/main/java/org/eclipse/scout/widgets/heatmap/client/ui/form/fields/heatmapfield/IHeatmapField.java | Java | epl-1.0 | 817 |
/*
* Copyright (c) 2015 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... | inocybe/odl-bgpcep | bgp/linkstate/src/main/java/org/opendaylight/protocol/bgp/linkstate/nlri/TeLspNlriParser.java | Java | epl-1.0 | 8,515 |
import java.sql.*;
public class ConnessioneDB {
static {
try {
Class.forName("com.mysql.jdbc.Driver").newInstance();
} catch (InstantiationException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IllegalAccessException e) {
// TODO Auto-generated catch block
e.printStackTra... | nicolediana/progetto | ServletExample/src/ConnessioneDB.java | Java | epl-1.0 | 1,248 |
package com.huihuang.utils;
import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.Map;
public class BeanToMap<K, V> {
private BeanToMap() {
}
@SuppressWarnings("unchecked")
public static <K, V> Map<K, V> bean2Map(Object javaBean) {
Map<K, V> ret = n... | yc654084303/QuickConnQuickConnect | QuickConnectPay/src/com/huihuang/utils/BeanToMap.java | Java | epl-1.0 | 1,034 |
/**
* Copyright (c) 2015 SK holdings Co., Ltd. All rights reserved.
* This software is the confidential and proprietary information of SK holdings.
* You shall not disclose such confidential information and shall use it only in
* accordance with the terms of the license agreement you entered into with SK holdings.
... | SK-HOLDINGS-CC/NEXCORE-UML-Modeler | nexcore.alm.common/src/nexcore/alm/common/excel/ExcelException.java | Java | epl-1.0 | 1,457 |
/*******************************************************************************
* Copyright (c) 2009 Andrey Loskutov.
* 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... | iloveeclipse/anyedittools | AnyEditTools/src/de/loskutov/anyedit/actions/replace/ReplaceWithAction.java | Java | epl-1.0 | 9,434 |
/*
* Copyright 2012 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Eclipse Public License version 1.0, available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org.jboss.aesh.complete;
import org.jboss.aesh.console.AeshContext;
import org.jboss.aesh.parser.Parser;
import org.jboss.aesh.ter... | aslakknutsen/aesh | src/main/java/org/jboss/aesh/complete/CompleteOperation.java | Java | epl-1.0 | 7,366 |
package dao.inf;
// Generated 27/11/2014 02:39:51 AM by Hibernate Tools 3.4.0.CR1
import java.util.List;
import javax.naming.InitialContext;
import model.Query;
import model.QueryId;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
impo... | mhersc1/SIGAE | src/main/java/dao/inf/QueryDAO.java | Java | epl-1.0 | 590 |
/**
* <copyright>
* </copyright>
*
* $Id$
*/
package klaper.expr.util;
import java.util.List;
import klaper.expr.Atom;
import klaper.expr.Binary;
import klaper.expr.Div;
import klaper.expr.Exp;
import klaper.expr.ExprPackage;
import klaper.expr.Expression;
import klaper.expr.Minus;
import klaper.expr.Mult;
impor... | aciancone/klapersuite | klapersuite.metamodel.klaper/src/klaper/expr/util/ExprSwitch.java | Java | epl-1.0 | 14,296 |
package critterbot.actions;
public class XYThetaAction extends CritterbotAction {
private static final long serialVersionUID = -1434106060178637255L;
private static final int ActionValue = 30;
public static final CritterbotAction NoMove = new XYThetaAction(0, 0, 0);
public static final CritterbotAction TurnLe... | amw8/rlpark | rlpark.plugin.critterbot/jvsrc/critterbot/actions/XYThetaAction.java | Java | epl-1.0 | 1,202 |
package mx.com.cinepolis.digital.booking.persistence.dao.impl;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.ejb.EJB;
import javax.ejb.Stateless;
import javax.interceptor.Interceptors;
import javax.persistence.EntityManager;
import javax.persistence.Pe... | sidlors/digital-booking | digital-booking-persistence/src/main/java/mx/com/cinepolis/digital/booking/persistence/dao/impl/ScreenDAOImpl.java | Java | epl-1.0 | 12,056 |
// Compiled by ClojureScript 1.9.946 {}
goog.provide('eckersdorf.window.db');
goog.require('cljs.core');
goog.require('re_frame.core');
eckersdorf.window.db.window_state = new cljs.core.PersistentArrayMap(null, 2, [new cljs.core.Keyword("window","height","window/height",1310154766),(0),new cljs.core.Keyword("window","w... | ribelo/eckersdorf | resources/public/js/out/eckersdorf/window/db.js | JavaScript | epl-1.0 | 417 |
/**
*/
package TaxationWithRoot;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Tax Card</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <... | viatra/VIATRA-Generator | Tests/MODELS2020-CaseStudies/models20.diversity-calculator/src/TaxationWithRoot/Tax_Card.java | Java | epl-1.0 | 32,297 |
/*
* Sonatype Nexus (TM) Open Source Version
* Copyright (c) 2008-present Sonatype, Inc.
* All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions.
*
* This program and the accompanying materials are made available under the terms of the Eclipse Public... | sonatype/nexus-public | plugins/nexus-repository-maven/src/main/java/org/sonatype/nexus/repository/maven/internal/orient/package-info.java | Java | epl-1.0 | 1,002 |
/*******************************************************************************
* Copyright (c) 2010, 2012 Tasktop Technologies
* Copyright (c) 2010, 2011 SpringSource, a division of VMware
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Pu... | Tasktop/code2cloud.server | com.tasktop.c2c.server/com.tasktop.c2c.server.profile.web.ui/src/main/java/com/tasktop/c2c/server/profile/web/ui/client/place/UserAccountPlace.java | Java | epl-1.0 | 3,244 |
package com.openMap1.mapper.converters;
import java.util.Iterator;
import org.eclipse.emf.common.util.EList;
import org.w3c.dom.Attr;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import com.openMap1.mapper.ElementDef;
import com.openMap1.mapper.MappedStructure;
import com.openMap1.mapper.core.... | openmapsoftware/mappingtools | openmap-mapper-lib/src/main/java/com/openMap1/mapper/converters/FACEWrapper.java | Java | epl-1.0 | 11,744 |
/* ==========================================
* JGraphT : a free Java graph-theory library
* ==========================================
*
* Project Info: http://jgrapht.sourceforge.net/
* Project Creator: Barak Naveh (http://sourceforge.net/users/barak_naveh)
*
* (C) Copyright 2003-2008, by Barak Naveh and Con... | arcanefoam/jgrapht | jgrapht-core/src/main/java/org/jgrapht/graph/specifics/Specifics.java | Java | epl-1.0 | 2,800 |