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 com = com || {}; com.hiyoko = com.hiyoko || {}; com.hiyoko.component = com.hiyoko.component || {}; com.hiyoko.component.UlList = function($html){}; com.hiyoko.util.extend(com.hiyoko.component.ApplicationBase, com.hiyoko.component.UlList); com.hiyoko.component.UlList.prototype.renderDefaultLi = function($li, item)...
Shunshun94/shared
jquery/com/hiyoko/components/v1/UlList.js
JavaScript
gpl-3.0
2,032
/* This file is part of SevenZipSharp. SevenZipSharp 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 3 of the License, or (at your option) any later version. SevenZipS...
Nhakin/hakchi2
SevenZip/COM.cs
C#
gpl-3.0
39,542
#!python # log/urls.py from django.conf.urls import url from . import views # We are adding a URL called /home urlpatterns = [ url(r'^$', views.home, name='home'), url(r'^clients/$', views.clients, name='clients'), url(r'^clients/(?P<id>\d+)/$', views.client_detail, name='client_detail'), url(r'^clie...
alexeyshulzhenko/OBDZ_Project
OnlineAgecy/urls.py
Python
gpl-3.0
3,927
/** Copyright 2010 Christian Kästner This file is part of CIDE. CIDE 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, version 3 of the License. CIDE is distributed in the hope th...
ckaestne/CIDE
CIDE2_ast/src/cide/gast/ASTStringNode.java
Java
gpl-3.0
1,275
# Executa somatorio sobre uma colecao module EstatisticaDescritiva def ordenar sort! true end end
TiagoTi/tvaderonline
lib/estatistica_descritiva/ordenar.rb
Ruby
gpl-3.0
110
#!/usr/bin/python # bigcinemas class InvalidAge(Exception): def __init__(self,age): self.age = age def validate_age(age): if age < 18: raise InvalidAge(age) else: return "Welcome to the movies!!" age = int(raw_input("please enter your age:")) #print validate_age(age) try: validate_age(age) # except Exc...
tuxfux-hlp-notes/python-batches
archieves/batch-64/14-oop/sixth.py
Python
gpl-3.0
462
#include "querycondition.h" queryCondition::queryCondition(const QString &fieldName, const conditionOperator condition, const QStringList &values, QObject *parent) : QObject(parent) { _fieldName = fieldName; _condition = condition; _values = values; } queryCondition::~queryCondition() { } QString queryCo...
diegowald/atlas
atlas/db/querycondition.cpp
C++
gpl-3.0
538
<?php /** * @package pkg_projectspoon * * @author Kon Angelopoulos (angek) * @copyright Copyright (C) 2018 Kon Angelopoulos. All rights reserved. * @license http://www.gnu.org/licenses/gpl.html GNU/GPL, see LICENSE.txt */ // No direct access. defined('_JEXEC') or die; class PktimeControllerT...
angek/ProjectSpoon
source/components/com_pktime/admin/controllers/timesheets.json.php
PHP
gpl-3.0
1,779
package v2ch10.compiler; import java.io.ByteArrayOutputStream; import java.io.OutputStream; import java.net.URI; import javax.tools.SimpleJavaFileObject; /** * A Java class that holds the byte codes in a byte array. Created by ZHEN on 16/9/18. */ public class ByteArrayJavaClass extends SimpleJavaFileObject { pr...
Token3/books-source-code
corejava9/src/main/java/v2ch10/compiler/ByteArrayJavaClass.java
Java
gpl-3.0
656
package org.cardiacatlas.xpacs.repository; import org.cardiacatlas.xpacs.domain.PatientInfo; import org.springframework.data.jpa.repository.*; import java.util.List; /** * Spring Data JPA repository for the PatientInfo entity. */ @SuppressWarnings("unused") public interface PatientInfoRepository extends JpaReposi...
CardiacAtlasProject/xpacs-web
src/main/java/org/cardiacatlas/xpacs/repository/PatientInfoRepository.java
Java
gpl-3.0
348
/* Craft Compiler v0.1.0 - The standard compiler for the Craft programming language. Copyright (C) 2016 Daniel McCarthy 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 ver...
nibblebits/craft-compiler
codegens/8086CodeGen/src/OffsetableBranch.cpp
C++
gpl-3.0
2,100
Fox.define('language', [], function () { var Language = function (cache) { this.cache = cache || null; this.data = {}; }; _.extend(Language.prototype, { data: null, cache: null, url: 'I18n', has: function (name, category, scope) { if (scope ...
ilovefox8/zhcrm
client/src/language.js
JavaScript
gpl-3.0
3,025
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
dpaschall/test_TensorFlow
bin/cifar10test/cifar10_train.py
Python
gpl-3.0
4,167
package net.shadowmage.ancientwarfare.automation.container; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.Slot; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.nbt.NBTTagList; import net.minecraftforge.common.util.Constants; i...
GotoLink/AncientWarfare2
src/main/java/net/shadowmage/ancientwarfare/automation/container/ContainerWarehouseStorage.java
Java
gpl-3.0
7,239
/* This file is part of the OdinMS Maple Story Server Copyright (C) 2008 Patrick Huy <patrick.huy@frz.cc> Matthias Butz <matze@odinms.de> Jan Christian Meyer <vimes@odinms.de> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero Genera...
am910021/YuriMS
src/server/maps/MapleTVEffect.java
Java
gpl-3.0
2,984
//Created by: Jack Melvin //RPG game //v0.36 //Rules of the program //Variables are lowercase. //Functios start with upper case per word //Known Bugs //Hp doesnt raise after you talk with the inn keeper. //doom doesnt kill you. //Always glanceing blow. //To-Do //Finish Atk formula //equip items //working backpack //...
M-Tech212/TRPG-game
RPG game base v0.36.cpp
C++
gpl-3.0
21,180
// Copyright 2015 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
HexHive/datashield
libcxx/libcxx/utils/google-benchmark/src/json_reporter.cc
C++
gpl-3.0
5,178
from django.apps import AppConfig class CirculoConfig(AppConfig): name = 'circulo'
jstitch/gift_circle
GiftCircle/circulo/apps.py
Python
gpl-3.0
89
/* * ARTarget.cpp * ARToolKit5 * * This file generate a special actor who defines a NFT target * File descriptions: ARTarget contains very important features like size of the target, * the offset calcultation for the NFT track point, a plane to display the target just for editor mode * * ARToolKit is free softwar...
zkarmakun/ARToolKit-5.3-for-Unreal-Engine
AR/Source/AR/Private/ARTarget.cpp
C++
gpl-3.0
7,722
# Generated by Django 2.2 on 2019-06-20 09:39 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('scoping', '0294_titlevecmodel'), ] operations = [ migrations.AddField( model_name='doc', name='tslug', fie...
mcallaghan/tmv
BasicBrowser/scoping/migrations/0295_doc_tslug.py
Python
gpl-3.0
369
/** * Copyright 2014 IBM Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
lemio/w-esp
w-esp-node-red/nodes/94-mobile_actuator.js
JavaScript
gpl-3.0
2,532
// RUN: %clang_cc1 -fsyntax-only -fopenmp -x c++ -std=c++11 -fexceptions -fcxx-exceptions -verify %s class S { int a; S() : a(0) {} public: S(int v) : a(v) {} S(const S &s) : a(s.a) {} }; static int sii; #pragma omp threadprivate(sii) static int globalii; int test_iteration_spaces() { const int N = 100; ...
syntheticpp/metashell
3rd/templight/llvm/tools/clang/test/OpenMP/parallel_for_loop_messages.cpp
C++
gpl-3.0
22,881
/* * Copyright (C) 2017 Saxon State and University Library Dresden (SLUB) * * 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 3 of the License, or * (at your option) any later...
slub/urnlib
src/main/java/de/slub/urn/URNSyntaxError.java
Java
gpl-3.0
4,308
using System.IO; using System.Runtime.Serialization; using WolvenKit.CR2W.Reflection; using FastMember; using static WolvenKit.CR2W.Types.Enums; namespace WolvenKit.CR2W.Types { [DataContract(Namespace = "")] [REDMeta] public class CStorySceneEventScenePropPlacement : CStorySceneEvent { [Ordinal(1)] [RED("propI...
Traderain/Wolven-kit
WolvenKit.CR2W/Types/W3/RTTIConvert/CStorySceneEventScenePropPlacement.cs
C#
gpl-3.0
1,221
function parseCategory(aCategory, aFunction) { if(document.location.host == '' || document.location.host == 'localhost' ) var url = 'test.html'; else var url = categoryGetURLPrivate(aCategory); $.ajax({ type: "GET", url: url, dataType:'html', success: function(responseText) { var aData...
titoBouzout/ODPy
lib/ODP/categoryParser.js
JavaScript
gpl-3.0
3,590
# coding: utf-8 class EditorController < ApplicationController before_filter :authenticate_user! def index if params.has_key? 'order' order = params[:order] else order = 'name' end if params.has_key? 'show' show = params[:show] else show = 10 end @tex...
bjesus/asam
app/controllers/editor_controller.rb
Ruby
gpl-3.0
1,252
/* * file_utils.cc * Copyright (C) 2016 elasticlog <elasticlog01@gmail.com> * * Distributed under terms of the GNU GENERAL PUBLIC LICENSE. */ #include "file_utils.h" #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <fcntl.h> #include <dirent.h> #include <errno.h> #include <string.h> #inc...
elasticlog/elasticlog
src/agent/file_utils.cc
C++
gpl-3.0
1,065
import re CJDNS_IP_REGEX = re.compile(r'^fc[0-9a-f]{2}(:[0-9a-f]{4}){7}$', re.IGNORECASE) class Node(object): def __init__(self, ip, version=None, label=None): if not valid_cjdns_ip(ip): raise ValueError('Invalid IP address') if not valid_version(version): raise ValueErro...
vdloo/raptiformica-map
raptiformica_map/graph.py
Python
gpl-3.0
1,111
/* * Pixel Dungeon * Copyright (C) 2012-2015 Oleg Dolya * * Yet Another Pixel Dungeon * Copyright (C) 2015-2016 Considered Hamster * * 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, eith...
ConsideredHamster/YetAnotherPixelDungeon
app/src/main/java/com/consideredhamster/yetanotherpixeldungeon/levels/traps/AlarmTrap.java
Java
gpl-3.0
1,902
Ext.define('User', { extend: 'Ext.data.Model', fields: [ {name: 'name', type: 'string', convert: function(value,record) { return record.get('name')+' the barbarian'); } }, {name: 'age', type: 'int'}, {name: 'phone', type: 'string'}, {name: 'alive', type: 'boolean', defaultValue: true} ], });
veltzer/demos-javascript
src/extjs/examples/model/model_change.js
JavaScript
gpl-3.0
316
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
cpvrlab/ImagePlay
IPL/include/opencv/opencv2/stereo.hpp
C++
gpl-3.0
14,099
package org.hl7.v3; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>DataTypePointInTimeのJavaクラス。 * * <p>次のスキーマ・フラグメントは、このクラス内に含まれる予期されるコンテンツを指定します。 * <p> * <pre> * &lt;simpleType name="DataTypePointInTime"> * &lt;restriction base="{urn:hl7-org:v3}...
ricecakesoftware/CommunityMedicalLink
ricecakesoftware.communitymedicallink.hl7/src/org/hl7/v3/DataTypePointInTime.java
Java
gpl-3.0
786
<?php /********************************************************************************* * Zurmo is a customer relationship management program developed by * Zurmo, Inc. Copyright (C) 2012 Zurmo Inc. * * Zurmo is free software; you can redistribute it and/or modify it under * the terms of t...
theclanks/zurmo
app/protected/modules/import/utils/analyzers/RelatedModelNameOrIdValueTypeBatchAttributeValueDataAnalyzer.php
PHP
gpl-3.0
7,298
angular.module('CareFull', ['ui.router','rzModule']);
danielcaldas/carefull
public/app/modules.js
JavaScript
gpl-3.0
54
// Copyright 2012, MapGuideForm user group, Frederikssund Kommune and Helsingør Kommune - att. Anette Poulsen and Erling Kristensen // // This file is part of "RapportFraStedet". // "RapportFraStedet" is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as publ...
RapportFraStedet/MapGuideForms
RapportFraStedet/Models/RoleModel.cs
C#
gpl-3.0
1,318
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2014-2016 Alberto Gacías <alberto@migasfree.org> # Copyright (c) 2015-2016 Jose Antonio Chavarría <jachavar@gmail.com> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as publish...
migasfree/migasfree-launcher
migasfree_indicator/console.py
Python
gpl-3.0
2,190
/* Copyright 2010 Statoil ASA. This file is part of The Open Porous Media project (OPM). OPM 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 3 of the License, or (at your option) any ...
lkerrand/opm-upscaling
examples/upscale_relperm.cpp
C++
gpl-3.0
43,577
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ #include "ns3/uinteger.h" #include "ns3/names.h" #include "tracker-helper.h" namespace ns3 { TrackerHelper::TrackerHelper () { m_factory.SetTypeId (Tracker::GetTypeId ()); SetAttribute ("Port", UintegerValue (9)); SetAttribute ("RemoteAddress", Ad...
sT4R3K/Tracker-2013
source/tracker/helper/tracker-helper.cc
C++
gpl-3.0
3,629
<?php use_helper('DateForm') ?> <?php echo select_time_tag("turno[hora_inicio]", $turno->getHoraInicio(), array('include_second' => false, '12hour_time' => true));?>
carpe-diem/conectar-igualdad-server-apps
apps/src/intranet/alba/apps/principal/modules/turno/templates/_hora_inicio.php
PHP
gpl-3.0
166
/** \file wxsimagetreeeditordlg.cpp * * This file is part of wxSmith plugin for Code::Blocks Studio * Copyright (C) 2010 Gary Harris * * wxSmith 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 3...
SaturnSDK/Saturn-SDK-IDE
src/plugins/contrib/wxSmith/wxwidgets/properties/wxsimagetreeeditordlg.cpp
C++
gpl-3.0
34,340
import React, { Component } from 'react' import PropTypes from 'prop-types' import ModalsContainer from '../containers/ModalsContainer' import { bytesToSize } from '../common' const Store = window.require('electron-store') import './ViewSwitcher.css' class PersonalFiles extends Component { constructor(props) { ...
Scille/parsec-gui
src/components/PersonalFiles.js
JavaScript
gpl-3.0
10,526
package com.bukkit.gemo.FalseBook.Cart.utils; import net.minecraft.server.v1_6_R3.Container; import net.minecraft.server.v1_6_R3.EntityHuman; import net.minecraft.server.v1_6_R3.InventoryCrafting; import net.minecraft.server.v1_6_R3.ItemStack; public class FBInventory extends InventoryCrafting { private ItemStack...
Escapecraft/FalseBook
src/main/java/com/bukkit/gemo/FalseBook/Cart/utils/FBInventory.java
Java
gpl-3.0
1,292
package com.github.bordertech.wcomponents; import com.github.bordertech.wcomponents.util.Util; import java.util.Arrays; import java.util.List; import java.util.Map; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; /** * WVideo is used to display video content on the clie...
Joshua-Barclay/wcomponents
wcomponents-core/src/main/java/com/github/bordertech/wcomponents/WVideo.java
Java
gpl-3.0
21,133
import numpy as np import matplotlib.pyplot as plt import spm1d #(0) Load dataset: dataset = spm1d.data.mv1d.cca.Dorn2012() y,x = dataset.get_data() #A:slow, B:fast #(1) Conduct non-parametric test: np.random.seed(0) alpha = 0.05 two_tailed = False snpm = spm1d.stats.nonparam.cca(y, x)...
0todd0000/spm1d
spm1d/examples/nonparam/1d/ex_cca.py
Python
gpl-3.0
860
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Question.order' db.add_column(u'survey_question', 'order', self.gf('dj...
point97/hapifis
server/apps/survey/migrations/0020_auto__add_field_question_order.py
Python
gpl-3.0
4,857
package me.ccrama.redditslide.Activities; import android.app.Activity; import android.content.SharedPreferences; import android.os.Bundle; import java.net.MalformedURLException; import java.net.URL; import me.ccrama.redditslide.SettingValues; /** * Created by ccrama on 9/28/2015. */ public class MakeExternal exte...
ccrama/Slide
app/src/main/java/me/ccrama/redditslide/Activities/MakeExternal.java
Java
gpl-3.0
972
#include<bits/stdc++.h> using namespace std; #define pii pair<int,int> #define pip pair<int,pii> #define ff first #define ss second #define FOR(i,n) for(int i=0; i<(int)n ;i++) #define REP(i,a,n) for(int i=a;i<(int)n;i++) #define pb push_back #define mp make_pair typedef ...
ProgDan/maratona
SPOJ/SEGSQRSS.cpp
C++
gpl-3.0
3,479
// A shortcut header to get all widgets #include "guiengine/widgets/bubble_widget.hpp" #include "guiengine/widgets/button_widget.hpp" #include "guiengine/widgets/icon_button_widget.hpp" #include "guiengine/widgets/list_widget.hpp" #include "guiengine/widgets/dynamic_ribbon_widget.hpp" #include "guiengine/widgets/spin...
langresser/stk
src/guiengine/widgets.hpp
C++
gpl-3.0
632
/* * Copyright 2013-2014 Giulio Camuffo <giuliocamuffo@gmail.com> * * This file is part of Orbital * * Orbital 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 3 of the License, or * (at ...
giucam/orbital
src/client/services/mixer/pulseaudiomixer.cpp
C++
gpl-3.0
5,443
#!/usr/bin/env python ################################################## # Gnuradio Python Flow Graph # Title: Clock offset corrector # Author: Piotr Krysik # Generated: Wed Nov 19 08:38:40 2014 ################################################## from gnuradio import blocks from gnuradio import filter from gnuradio imp...
martinjlowm/gr-gsm
python/misc_utils/clock_offset_corrector.py
Python
gpl-3.0
4,498
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle 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 3 of the License, or // (at your option) any later version. // // Moodle ...
snake/moodle
course/tests/fixtures/format_theunittest_output_course_format_invalidoutput.php
PHP
gpl-3.0
1,434
//Copyright (C) 2015 dhrapson //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 3 of the License, or //(at your option) any later version. //This program is distributed in the hop...
dhrapson/resembleio
configure/urlPathHttpMatcher_test.go
GO
gpl-3.0
2,225
package br.org.otus.laboratory.project.builder; import java.util.ArrayList; import java.util.List; import org.bson.Document; import org.bson.conversions.Bson; import com.google.gson.GsonBuilder; public class ExamResultQueryBuilder { private ArrayList<Bson> pipeline; public ExamResultQueryBuilder() { this....
ccem-dev/otus-api
source/otus-persistence/src/main/java/br/org/otus/laboratory/project/builder/ExamResultQueryBuilder.java
Java
gpl-3.0
2,339
<?php class EM_Saleproducts_Model_Mysql4_Saleproducts extends Mage_Core_Model_Mysql4_Abstract { public function _construct() { // Note that the saleproducts_id refers to the key field in your database table. $this->_init('saleproducts/saleproducts', 'saleproducts_id'); } }
novayadi85/galatema
app/code/local/EM/Saleproducts/Model/Mysql4/Saleproducts.php
PHP
gpl-3.0
306
/*************************************************************************** SRC/MIXMOD/XEMOutputControler.cpp description copyright : (C) MIXMOD Team - 2001-2011 email : contact@mixmod.org ******************************************************************...
openturns/otmixmod
lib/src/mixmod/MIXMOD/XEMOutputControler.cpp
C++
gpl-3.0
5,794
/** * This file is part of ankus. * * ankus 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 3 of the License, or * (at your option) any later version. * * ankus is distributed in the hop...
onycom-ankus/ankus_analyzer_G
trunk_web/ankus-web-services/src/main/java/org/ankus/core/repository/PersistentRepository.java
Java
gpl-3.0
1,895
/* * This file is part of Pentachoron. * * Pentachoron 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 3 of the License, or * (at your option) any later version. * * Pentachoron is dis...
ekpyron/pentachoron
src/culling.cpp
C++
gpl-3.0
3,808
#include "Function.h" #include "Entry.h" namespace instance { auto Function::lookupParameter(NameView name) const -> OptParameterView { auto r = parameterScope[name]; if (!r.single()) return {}; return &r.frontValue().get(meta::type<Parameter>); } } // namespace instance
rebuild-lang/REC
src/instance.data/instance/Function.cpp
C++
gpl-3.0
301
package scheduler import ( "fmt" "github.com/jonaz/astrotime" "os/exec" "strconv" "time" ) func isSunset(latitude float64, longitude float64) bool { t := astrotime.NextSunset(time.Now(), latitude, longitude) // tzname, _ := t.Zone() // fmt.Println(tzname) // fmt.Printf("The next sunrise is %d:%02d %s on %d/%...
icecreammatt/gopherwink
scheduler/scheduler.go
GO
gpl-3.0
1,839
package greymerk.roguelike.dungeon.settings; import java.util.Collection; import java.util.Random; import greymerk.roguelike.config.RogueConfig; import greymerk.roguelike.util.WeightedChoice; import greymerk.roguelike.util.WeightedRandomizer; import greymerk.roguelike.worldgen.Coord; import greymerk.roguelike.worldge...
Greymerk/minecraft-roguelike
src/main/java/greymerk/roguelike/dungeon/settings/SettingsResolver.java
Java
gpl-3.0
4,942
package de.uni_koeln.spinfo.textengineering.ir.eval; import java.util.ArrayList; import java.util.List; import de.uni_koeln.spinfo.textengineering.ir.basic.Work; import de.uni_koeln.spinfo.textengineering.ir.boole.PositionalIndex; import de.uni_koeln.spinfo.textengineering.ir.preprocess.Preprocessor; /* * Erstellun...
claesn/ir2017
ir2017/src/main/java/de/uni_koeln/spinfo/textengineering/ir/eval/GoldStandard.java
Java
gpl-3.0
1,252
/* * choiceKeyFrameDialog.cpp - Keyframe selection for optioned properties * Copyright (C) 2015, D Haley * 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 3 of the License, o...
lukasgartmair/3Depict_Isosurfaces
src/gui/dialogs/animateSubDialogs/choiceKeyFrameDialog.cpp
C++
gpl-3.0
3,928
import { check } from "meteor/check"; import processDoc from "./processDoc"; /** * getDoc * fetch repo profile from github and store in RepoData collection * @param {Object} doc - mongo style selector for the doc * @returns {undefined} returns */ function getDoc(options) { check(options, Object); // get ...
reactioncommerce/redoc
packages/redoc-core/server/methods/getDoc.js
JavaScript
gpl-3.0
875
/* Um carro, e só */ class Car { constructor(posx, posy, width, height, lifeTime, color) { this.x = posx; this.y = posy; this.lifeTime = lifeTime; this.color = color; this.width = width; this.height = height; this.im = new Image(); this....
Juliano-rb/CrossChallenge
js/basegame/car.js
JavaScript
gpl-3.0
724
package ahmad.aghazadeh.recyclerviewcardview.logic; import android.databinding.BindingAdapter; import android.databinding.BindingConversion; import android.graphics.Bitmap; import android.graphics.Typeface; import android.graphics.drawable.ColorDrawable; import android.graphics.drawable.Drawable; import android.os.Bui...
ahmadaghazadeh/recyclerviewcardview
app/src/main/java/ahmad/aghazadeh/recyclerviewcardview/logic/BindingCustom.java
Java
gpl-3.0
2,117
require 'rails/generators/named_base' require 'rails/generators/resource_helpers' module Rails module Generators class JbuilderGenerator < NamedBase include Rails::Generators::ResourceHelpers source_root File.expand_path('../templates', __FILE__) argument :attributes, type: :array, default: [...
dima4p/rails4_jbuilder_with_rspec_generator
jbuilder_generator.rb
Ruby
gpl-3.0
2,160
<?php /* $Id: usps.php,v 1.8 2003/02/14 12:54:37 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ define('MODULE_SHIPPING_USpush_TEXT_TITLE', 'United States Postal Service'); define('MODULE_SHIP...
andreaslangsays/pureshop
view/languages/english/modules/shipping/usps.php
PHP
gpl-3.0
967
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Dat.V1.Dto.Bom.Exceptions { public class TransportException : BomException { public TransportException() : base() { } public TransportException(string message) : base(m...
vybeonllc/dat_framework
V1/DataTransferObject/BaseObjectModels/Exceptions/TransportException.cs
C#
gpl-3.0
437
#include<bits/stdc++.h> using namespace std; int main() { freopen("in.txt","r",stdin); int tc,n; int A[1000],B[1000]; scanf("%d",&tc); while(tc--) { scanf("%d",&n); int sum=0; for(int i=0;i<n;i++) { scanf("%d",&A[i]); int j...
sillychip/uva
uva_1260.cpp
C++
gpl-3.0
529
var _engine_core_8h = [ [ "EngineCore", "class_ludo_1_1_engine_core.html", "class_ludo_1_1_engine_core" ], [ "LD_EXPORT_ENGINE_CORE", "_engine_core_8h.html#a0ced60c95a44fd7969a8d0b789257241", null ] ];
TwinDrills/Ludo
Docs/html/_engine_core_8h.js
JavaScript
gpl-3.0
209
package com.rockoutwill.letsmodreboot.proxy; public class ServerProxy extends CommonProxy { }
rockoutwill/LetsModReboot
src/main/java/com/rockoutwill/letsmodreboot/proxy/ServerProxy.java
Java
gpl-3.0
95
(function () { 'use strict'; angular.module('ph.account') // http://bartwullems.blogspot.hu/2015/02/angular-13-pending.html .directive("isUniqueEmailAddress", ['$q', '$http', function ($q, $http) { return { restrict: "A", require: "ngModel", link: function (scope, element, att...
indr/phundus-spa
app/modules/account/directives/is-unique-email-address.js
JavaScript
gpl-3.0
796
@extends('layouts.app') @section('content') <div class="container"> <div class="row"> <div class="col-md-8 col-md-offset-2"> <div class="panel panel-default"> <div class="panel-heading">Register</div> <div class="panel-body"> <form class="form...
e-gob/Consola-de-aplicaciones
resources/views/auth/register.blade.php
PHP
gpl-3.0
3,953
/** * */ package com.ingenitor.blockenvy.proxy; import cpw.mods.fml.common.event.FMLPreInitializationEvent; /** * @author ingenitor * */ public abstract class CommonProxy implements IProxy { }
ingenitor/BlockEnvy
src/main/java/com/ingenitor/blockenvy/proxy/CommonProxy.java
Java
gpl-3.0
203
function drawBall() { ctx.beginPath(); ctx.arc(x, y, ballRadius, 0, Math.PI*2); ctx.fillStyle = color; ctx.strokeStyle = "#FF0000"; ctx.stroke(); ctx.fill(); ctx.closePath(); }
zacharyacutey/zacharyacutey.github.io
Breakout/ball.js
JavaScript
gpl-3.0
216
package com.gustavomaciel.enterprise; import com.badlogic.gdx.utils.Array; import com.gustavomaciel.enterprise.CollisionGroups.CollisionGroup; /** * Created by Gustavo on 5/22/2016. */ public class CollisionResolver { public static void checkAndResolve(Array<Entity> entities) { for(int i = 0, s = entiti...
tavomaciel/games-for-enterprise-programmers
core/src/com/gustavomaciel/enterprise/CollisionResolver.java
Java
gpl-3.0
1,986
<?php defined("_LIVE_NEXUS") or die ("<h1>Direct access to this file is DENIED!</h1>"); // Dependancies $container = $app->getContainer(); // Monolog Logger // -------------- $container['logger'] = function($c) { $logger = new \Monolog\Logger('my_logger'); $file_handler = new \Monolog\Handler\StreamHandler("../l...
Vlasterx/nexus-framework
project/container.php
PHP
gpl-3.0
941
// Decompiled with JetBrains decompiler // Type: System.Xml.Serialization.CaseInsensitiveKeyComparer // Assembly: System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 // MVID: 50ABAB51-7DC3-4F0A-A797-0D0C2D124D60 // Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Xml.dl...
mater06/LEGOChimaOnlineReloaded
LoCO Client Files/Decompressed Client/Extracted DLL/System.Xml/System/Xml/Serialization/CaseInsensitiveKeyComparer.cs
C#
gpl-3.0
975
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ /* Sonic Visualiser An audio file viewer and annotation editor. Centre for Digital Music, Queen Mary, University of London. This file copyright 2006 Chris Cannam. This program is free software; you can redistribute ...
praaline/Praaline
svcore/base/TempDirectory.cpp
C++
gpl-3.0
7,104
package service; import java.util.List; import java.util.Map; import util.DataBaseUtils; public class ArticleService { /** * 通过类别获取文章列表 * @param categoryId * @param start * @param end */ public List<Map<String,Object>> getArticlesByCategoryId(Integer categoryId,Integer start,Integer end)...
DannyHui/Article
src/service/ArticleService.java
Java
gpl-3.0
1,058
/* * Copyright (C) 2000 - 2008 TagServlet Ltd * * This file is part of Open BlueDragon (OpenBD) CFML Server Engine. * * OpenBD is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * Free Software Foundation,version 3. * * Open...
OpenBD/openbd-core
src/com/naryx/tagfusion/cfm/xml/ws/dynws/StubInfo.java
Java
gpl-3.0
4,431
<?php /** * Ludus.php * * @package Embera * @author Michael Pratt <yo@michael-pratt.com> * @link http://www.michael-pratt.com/ * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Embera\Provider; use Embera\Url; /** *...
OSTraining/OSEmbed
src/library/mpratt/embera/src/Embera/Provider/Ludus.php
PHP
gpl-3.0
2,084
#region License // /* // Microsoft Public License (Ms-PL) // MonoGame - Copyright © 2009 The MonoGame Team // // All rights reserved. // // This license governs use of the accompanying software. If you use the software, you accept this license. If you do not // accept the license, do not use the software. //...
Blucky87/Otiose2D
src/libs/MonoGame/MonoGame.Framework/Net/NetworkMachine.cs
C#
gpl-3.0
3,830
package net.infernalized.infernalutils.client.gui; import cpw.mods.fml.client.IModGuiFactory; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.GuiScreen; import java.util.Set; public class GuiFactory implements IModGuiFactory { @Override public void initialize(Minecraft minecraftInstan...
Infernalized/InfernalUtils
src/main/java/net/infernalized/infernalutils/client/gui/GuiFactory.java
Java
gpl-3.0
681
#!/usr/bin/python import numpy as np mdir = "mesh3d/" fname = "out_p6-p4-p8" #################### print "input mesh data file" f1 = open(mdir+fname+".mesh", 'r') for line in f1: if line.startswith("Vertices"): break pcount = int(f1.next()) xyz = np.empty((pcount, 3), dtype=np.float) for t in range(pcount): xyz...
jrugis/cell_mesh
mesh2vtk.py
Python
gpl-3.0
2,909
/******************************************************************************* * Copyright (c) 2012 OBiBa. All rights reserved. * * This program and the accompanying materials * are made available under the terms of the GNU Public License v3.0. * * You should have received a copy of the GNU General Public Licen...
apruden/opal
opal-gwt-client/src/main/java/org/obiba/opal/web/gwt/app/client/administration/presenter/RequestAdministrationPermissionEvent.java
Java
gpl-3.0
1,805
using System.Threading.Tasks; namespace JumbleRef.Core.Services { public interface IUserInteractionService { Task<string> PromptForText(string title, string message, string initialValue, string acceptText, string cancelText = null); Task<bool> PromptYesNo(string title, string message, string ac...
garrettpauls/JumbleRef
Source/JumbleRef.Core/Services/IUserInteractionService.cs
C#
gpl-3.0
358
/** * TNTConcept Easy Enterprise Management by Autentia Real Bussiness Solution S.L. * Copyright (C) 2007 Autentia Real Bussiness Solution S.L. * * 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 Founda...
autentia/TNTConcept
tntconcept-core/src/main/java/com/autentia/tnt/businessobject/InventaryType.java
Java
gpl-3.0
862
package fr.guiguilechat.jcelechat.model.jcesi.compiler.compiled.responses; public class R_get_universe_systems_system_id { /** * The constellation this solar system is in */ public int constellation_id; /** * name string */ public String name; /** * planets array */ ...
guiguilechat/EveOnline
model/esi/JCESI/src/generated/java/fr/guiguilechat/jcelechat/model/jcesi/compiler/compiled/responses/R_get_universe_systems_system_id.java
Java
gpl-3.0
2,884
#ifndef DECOMPRESSOR_HPP #define DECOMPRESSOR_HPP #include <unordered_map> #include <queue> // #include <memory> #include <iostream> #include <fstream> #include <cassert> #include <queue> // #include "InputBuffer.hpp" #include "OffsetsStream.hpp" #include "EditsStream.hpp" #include "ClipStream.hpp" #include "ReadIDS...
Kingsford-Group/referee
include/decompress/Decompressor.hpp
C++
gpl-3.0
22,429
import csv import decimal import os import datetime from stocker.common.events import EventStreamNew, EventStockOpen, EventStockClose from stocker.common.orders import OrderBuy, OrderSell from stocker.common.utils import Stream class CompanyProcessor(object): def __init__(self, dirname, company_id): self....
donpiekarz/Stocker
stocker/SEP/processor.py
Python
gpl-3.0
3,868
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package sw13.executorNegative; import java.util.concurrent.Callable; /** * * @author Steve Ineichen */ public class WorkerCallabl...
Inux/nebsynch
SW13/src/sw13/executorNegative/WorkerCallable.java
Java
gpl-3.0
603
package com.gmail.altakey.ray; import android.app.Activity; import android.os.Bundle; import android.os.Parcelable; import android.net.Uri; import android.content.Intent; import android.widget.Toast; import android.util.Log; import android.net.http.AndroidHttpClient; import org.apache.http.client.methods.HttpPost; im...
taky/ray
src/com/gmail/altakey/ray/EnqueueActivity.java
Java
gpl-3.0
10,120
package br.edu.utfpr.cm.pi.controller; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.H...
sergioramossilva/Sistema-Pagamento-RU
src/main/java/br/edu/utfpr/cm/pi/controller/LoginUsuarioServlet.java
Java
gpl-3.0
1,740
/* * GrGen: graph rewrite generator tool -- release GrGen.NET 4.4 * Copyright (C) 2003-2015 Universitaet Karlsruhe, Institut fuer Programmstrukturen und Datenorganisation, LS Goos; and free programmers * licensed under LGPL v3 (see LICENSE.txt included in the packaging of this file) * www.grgen.net */ // by Edgar...
jblomer/GrGen.NET
engine-net-2/src/lgspBackend/InterpretationPlanBuilder.cs
C#
gpl-3.0
39,542
<?php defined('SYSPATH') or die('No direct script access allowed.'); /******************************************************************************* * ExidoEngine Content Management System * * NOTICE OF LICENSE * * This source file is subject to the GNU General Public License (3.0) * that is bundled with this p...
sharapovweb/exidoengine
lib/exido/image/base.php
PHP
gpl-3.0
6,591
using System; using Org.BouncyCastle.Asn1.Pkcs; namespace Org.BouncyCastle.Asn1.Smime { public class SmimeCapability : Asn1Encodable { /** * general preferences */ public static readonly DerObjectIdentifier PreferSignedData = PkcsObjectIdentifiers.PreferSignedData; ...
DSorlov/Sorlov.PowerShell
Sorlov.PowerShell/Lib/BouncyCastle/asn1/smime/SMIMECapability.cs
C#
gpl-3.0
2,695
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace ProyectoFinalMacoRios { public class Garaje:Propiedades { string abierto; string bodega; public string Abierto { get { return abierto; ...
MacoRios1/ProyectoFinalM
ProyectoFinalMacoRios/ProyectoFinalMacoRios/Garaje.cs
C#
gpl-3.0
627
package com.github.cypher.gui.root.roomcollection; import com.airhacks.afterburner.views.FXMLView; public class RoomCollectionView extends FXMLView { }
Gurgy/Cypher
src/main/java/com/github/cypher/gui/root/roomcollection/RoomCollectionView.java
Java
gpl-3.0
154
<?php namespace reservas\Http\Controllers\Auth; use reservas\User; use reservas\Rol; use Validator; use reservas\Http\Controllers\Controller; use Illuminate\Foundation\Auth\ThrottlesLogins; use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Inp...
hgonzalezgaviria/diheke
app/Http/Controllers/Auth/AuthController.php
PHP
gpl-3.0
7,880