code stringlengths 3 1.01M | repo_name stringlengths 5 116 | path stringlengths 3 311 | language stringclasses 30
values | license stringclasses 15
values | size int64 3 1.01M |
|---|---|---|---|---|---|
#ifndef IJENGINE_MOUSE_EVENT_H
#define IJENGINE_MOUSE_EVENT_H
#include "event.h"
#define MOUSE_EVENT_ID 0x03
#define BUTTONS_COUNT 3
#include <sstream>
using std::ostringstream;
namespace ijengine {
class MouseEvent : public Event {
public:
typedef enum {PRESSED, RELEASED, MOTION} State;
... | BlackGround-ICG/Nitro | include/mouse_event.h | C | gpl-3.0 | 1,503 |
using AltitudeAngelWings.Extra;
using GMap.NET;
using GMap.NET.WindowsForms;
using System;
using System.Linq;
using System.Reactive.Concurrency;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using System.Threading;
using System.Windows.Forms;
using Feature = GeoJSON.Net.Feature.Feature;
usin... | ArduPilot/MissionPlanner | Utilities/AltitudeAngel/MapAdapter.cs | C# | gpl-3.0 | 8,732 |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
namespace GitExtUtils
{
public sealed class GitCommandConfiguration
{
private readonly ConcurrentDictionary<string, GitConfigItem[]> _configByCommand
= new(StringComparer.Ordinal);
/// <summary>
... | PKRoma/gitextensions | GitExtUtils/GitCommandConfiguration.cs | C# | gpl-3.0 | 2,635 |
/*
* Copyright (c) 2011 Matthew Arsenault
*
* This file is part of Milkway@Home.
*
* Milkway@Home is free software: you may copy, redistribute 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
* ... | MarchM4/Milkyway-home-server-expansion | milkyway/src/milkyway_asprintf.c | C | gpl-3.0 | 1,641 |
#!/bin/bash
# Defining command line args. These are task-specific. To get a list of options
# available for a given task, put "-h" after the task name when running BandUP. This will
# print the help for the specific task requested.
# Run BandUP with the "-h" option only to get a list of supported tasks
# If the the ta... | band-unfolding/bandup | tutorial/VASP/example_3_bulk_Si_other_set_of_pcbz_directions/step_4_run_BandUP_and_plot/run_BandUP_unfold_and_plot_tasks.sh | Shell | gpl-3.0 | 2,252 |
/*
Copyright 2020 Equinor 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 l... | dr-robertk/opm-common | tests/parser/test_ReportConfig.cpp | C++ | gpl-3.0 | 3,726 |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Monkeypatch initialisation functions
"""
try:
from collections import OrderedDict
except ImportError: # pragma: no-cover
from ordereddict import OrderedDict # pylint:disable=import-error
from rebulk.match import Match
def monkeypatch_rebulk():
"""Monke... | clinton-hall/nzbToMedia | libs/common/guessit/monkeypatch.py | Python | gpl-3.0 | 729 |
# -*- coding: utf-8 -*-
#########################################################################
#
# Copyright (C) 2016 OSGeo
#
# 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 ... | timlinux/geonode | geonode/contrib/ows_api/views.py | Python | gpl-3.0 | 2,017 |
<?php
/**
* CodeIgniter
*
* An open source application development framework for PHP
*
* This content is released under the MIT License (MIT)
*
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this softw... | leonleslie/TastyIgniter | system/language/english/upload_lang.php | PHP | gpl-3.0 | 3,264 |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "google_apis/drive/drive_api_requests.h"
#include <stddef.h>
#include "base/bind.h"
#include "base/callback.h"
#include "base/json/json_wri... | geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/google_apis/drive/drive_api_requests.cc | C++ | gpl-3.0 | 45,880 |
using MissionPlanner.Controls;
namespace SikRadio
{
partial class Rssi
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// <... | GeekBoy666/VGCS | SikRadio/Rssi.Designer.cs | C# | gpl-3.0 | 4,321 |
<?php
/**
Copyright 2011-2015 Nick Korbel
This file is part of Booked Scheduler 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 is dis... | ajeshgeorge22/booked | lib/Application/Reservation/ReservationInitializerBase.php | PHP | gpl-3.0 | 10,075 |
/*=========================================================================
Program: ITK-SNAP
Module: $RCSfile: ColorLabel.h,v $
Language: C++
Date: $Date: 2008/11/17 19:38:23 $
Version: $Revision: 1.3 $
Copyright (c) 2007 Paul A. Yushkevich
This file is part of ITK-SNAP
ITK-SNAP is f... | romangrothausmann/itksnap | Logic/Common/ColorLabel.h | C | gpl-3.0 | 6,143 |
/*!
* COPYRIGHT NOTICE
* Copyright (c) 2013,ɽÍâ¿Æ¼¼
* All rights reserved.
* ¼¼ÊõÌÖÂÛ£ºÉ½ÍâÂÛ̳ http://www.vcan123.com
*
* ³ý×¢Ã÷³ö´¦Í⣬ÒÔÏÂËùÓÐÄÚÈݰæÈ¨¾ùÊôɽÍâ¿Æ¼¼ËùÓУ¬Î´¾ÔÊÐí£¬²»µÃÓÃÓÚÉÌÒµÓÃ;£¬
* ÐÞ¸ÄÄÚÈÝʱ±ØÐë±£ÁôɽÍâ¿Æ¼¼µÄ°æÈ¨ÉùÃ÷¡£
*
* @file MK60_adc.c
* @brief ADC... | zxc455052/nxp_- | 黄叽公队代码/测试程序/mma8452读取测试/Chip/src/MK60_adc.c | C | gpl-3.0 | 7,596 |
# Include software raid tools
grep -q blocks /proc/mdstat 2>/dev/null || return 0
Log "Software RAID detected. Including mdadm tools."
PROGS=( "${PROGS[@]}"
mdadm
)
| phracek/rear | usr/share/rear/prep/GNU/Linux/230_include_md_tools.sh | Shell | gpl-3.0 | 168 |
/*
* #%~
* Integration of the ProB Solver for the VDM Interpreter
* %%
* Copyright (C) 2008 - 2014 Overture
* %%
* 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
... | LasseBP/overture | core/modelcheckers/probsolverintegration/src/test/java/org/overture/interpreter/tests/ProbNotInstalledCondition.java | Java | gpl-3.0 | 1,517 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package net.daw.operaciones;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import java.util.ArrayList;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax... | jpgodesart/pruebaopenshift | src/main/java/net/daw/operaciones/ProyectoGetregisters.java | Java | gpl-3.0 | 2,569 |
<!DOCTYPE html>
<meta charset="utf-8"/>
<meta name="variant" content="">
<meta name="variant" content="?samesite-by-default-cookies.tentative">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/cookies/resources/cookie-helper.sub.js"></script>
<scrip... | ecoal95/servo | tests/wpt/web-platform-tests/cookies/samesite/window-open-reload.html | HTML | mpl-2.0 | 1,844 |
var Utils = {
convertToRoute: function(str) {
str = str || "";
return str.toLowerCase().replace(" ", "-");
},
parseRoute: function(route) {
route = route || "";
return route.split("-").map(function(item) {
return item.charAt(0).toUpperCase() + item.substr(1).toLowerCase();
}).join(" ");
... | mozilla/teach.webmaker.org | lib/util.js | JavaScript | mpl-2.0 | 352 |
package iso
import (
"fmt"
"github.com/mitchellh/multistep"
parallelscommon "github.com/mitchellh/packer/builder/parallels/common"
"github.com/mitchellh/packer/packer"
"strconv"
)
// This step creates the virtual disk that will be used as the
// hard drive for the virtual machine.
type stepCreateDisk struct{}
f... | qur/packer | builder/parallels/iso/step_create_disk.go | GO | mpl-2.0 | 1,065 |
// Copyright (C) 2014 The Syncthing Authors.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://mozilla.org/MPL/2.0/.
package scanner
import (
"bytes"
"crypto/rand"
"fmt"
"io"
"os"
... | kamadak/syncthing | lib/scanner/walk_test.go | GO | mpl-2.0 | 11,136 |
package command
import (
"context"
"strings"
"github.com/hashicorp/packer/packer"
"github.com/posener/complete"
)
type ValidateCommand struct {
Meta
}
func (c *ValidateCommand) Run(args []string) int {
ctx, cleanup := handleTermInterrupt(c.Ui)
defer cleanup()
cfg, ret := c.ParseArgs(args)
if ret != 0 {
... | ricardclau/packer | command/validate.go | GO | mpl-2.0 | 2,969 |
/**
* AUTO-GENERATED - DO NOT EDIT. Source: https://github.com/gpuweb/cts
**/
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
export class FilterByGroup {
... | nnethercote/servo | tests/wpt/web-platform-tests/webgpu/framework/test_filter/filter_by_group.js | JavaScript | mpl-2.0 | 1,209 |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This Source Code Form is "Incompatible With Secondary Licenses", as
* defined by the Mozilla Public License, v.... | Sabayon/bugzilla-website | js/comments.js | JavaScript | mpl-2.0 | 5,546 |
VERSION = (0, 6, 0)
__version__ = '.'.join((str(x) for x in VERSION))
| jicksy/oneanddone_test | vendor-local/lib/python/jingo_minify/__init__.py | Python | mpl-2.0 | 70 |
<?php
/**
* Copyright 2015-2017 ppy Pty. Ltd.
*
* This file is part of osu!web. osu!web is distributed with the hope of
* attracting more community contributions to the core ecosystem of osu!.
*
* osu!web is free software: you can redistribute it and/or modify
* it under the terms of the Affero G... | Nekonyx/osu-web | tests/Libraries/Payments/CentiliSignatureTest.php | PHP | agpl-3.0 | 2,233 |
<?php
/**
* @copyright Copyright (c) 2016, ownCloud, Inc.
*
* @author Lukas Reschke <lukas@statuscode.ch>
* @author Morris Jobke <hey@morrisjobke.de>
* @author Robin Appelman <robin@icewind.nl>
*
* @license AGPL-3.0
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of ... | michaelletzgus/nextcloud-server | lib/private/BackgroundJob/TimedJob.php | PHP | agpl-3.0 | 1,487 |
/****************************************************************************
*
* (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
*
***************************************... | Hunter522/qgroundcontrol | src/comm/UdpIODevice.cc | C++ | agpl-3.0 | 1,497 |
#
# Copyright (C) 2016 Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, version 3 of the License.
#
# Canvas is distributed in the hope that ... | matematikk-mooc/canvas-lms | spec/lib/lti/membership_service/course_group_collator_spec.rb | Ruby | agpl-3.0 | 3,984 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>Rgaa30 Test.1.7.3 NA 01</title>
... | Asqatasun/Asqatasun | rules/rules-rgaa3.0/src/test/resources/testcases/rgaa30/Rgaa30Rule010703/Rgaa30.Test.01.07.03-4NA-01.html | HTML | agpl-3.0 | 1,582 |
// Generated by CoffeeScript 1.9.3
var Client, Device, ds, fs, ref;
Client = require("request-json").JsonClient;
fs = require('fs');
Device = require('../models/device');
ds = new Client("http://localhost:9101/");
if ((ref = process.env.NODE_ENV) === 'test' || ref === 'production') {
ds.setBasicAuth(process.env.... | Gara64/cozy-home | build/server/controllers/devices.js | JavaScript | agpl-3.0 | 1,244 |
import { useBackend, useLocalState } from '../backend';
import { Box, Button, LabeledList, NoticeBox, Section, Stack, Tabs } from '../components';
import { Window } from '../layouts';
type PaiCardData = {
candidates: Candidate[];
pai: Pai;
};
type Candidate = {
comments: string;
description: string;
key: st... | Bawhoppen/-tg-station | tgui/packages/tgui/interfaces/PaiCard.tsx | TypeScript | agpl-3.0 | 5,965 |
#
# Copyright (C) 2015 - present Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, version 3 of the License.
#
# Canvas is distributed in the ... | djbender/canvas-lms | spec/selenium/groups_student_as_teacher_spec.rb | Ruby | agpl-3.0 | 3,776 |
# frozen_string_literal: true
module Decidim
module Assemblies
module AdminLog
module ValueTypes
# This class presents the given value as a user role. Check
# the `DefaultPresenter` for more info on how value
# presenters work.
class RolePresenter < Decidim::Log::ValueTypes:... | AjuntamentdeBarcelona/decidim | decidim-assemblies/app/presenters/decidim/assemblies/admin_log/value_types/role_presenter.rb | Ruby | agpl-3.0 | 653 |
module ImageablesHelper
def can_destroy_image?(imageable)
imageable.image.present? && can?(:destroy, imageable.image)
end
def imageable_class(imageable)
imageable.class.name.parameterize('_')
end
def imageable_max_file_size
bytes_to_megabytes(Image::MAX_IMAGE_SIZE)
end
def bytes_to_megabyt... | CDJ11/CDJ | app/helpers/imageables_helper.rb | Ruby | agpl-3.0 | 994 |
<?php
declare(strict_types=1);
/*
* This file is part of the Superdesk Web Publisher Core Bundle.
*
* Copyright 2019 Sourcefabric z.ú. and contributors.
*
* For the full copyright and license information, please see the
* AUTHORS and LICENSE files distributed with this source code.
*
* @copyright 2019 Sourcef... | takeit/web-publisher | src/SWP/Bundle/CoreBundle/Repository/PackageRepository.php | PHP | agpl-3.0 | 2,235 |
require "rubygems"
require "bundler/setup"
require "minitest/unit"
require "mocha/setup"
require "active_record"
require 'active_support/core_ext/time/conversions'
if ENV["COVERAGE"]
require 'simplecov'
SimpleCov.start do
add_filter "test/"
add_filter "friendly_id/migration"
end
end
require "friendly_i... | BibNumUMontreal/DMPonline_v4 | vendor/ruby/2.1.0/gems/friendly_id-4.0.10.1/test/helper.rb | Ruby | agpl-3.0 | 1,960 |
define(['backbone', 'jquery', 'underscore', 'js/common_helpers/ajax_helpers', 'js/common_helpers/template_helpers',
'js/spec/student_account/helpers',
'js/spec/student_profile/helpers',
'js/views/fields',
'js/student_account/models/user_account_model',
'js/student_account/models/... | antonve/s4-project-mooc | lms/static/js/spec/student_profile/learner_profile_factory_spec.js | JavaScript | agpl-3.0 | 4,321 |
#pragma once
// MESSAGE BATTERY2 PACKING
#define MAVLINK_MSG_ID_BATTERY2 181
typedef struct __mavlink_battery2_t {
uint16_t voltage; /*< [mV] Voltage.*/
int16_t current_battery; /*< [cA] Battery current, -1: autopilot does not measure the current.*/
} mavlink_battery2_t;
#define MAVLINK_MSG_ID_BATTERY2_LEN 4
#def... | yankailab/OpenKAI | src/Dependency/c_library_v2/ardupilotmega/mavlink_msg_battery2.h | C | agpl-3.0 | 9,095 |
<?php
// Copyright (C) 2010-2012 Combodo SARL
//
// This file is part of iTop.
//
// iTop is free software; you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your opt... | sheyam/IncidentManagement | web/datamodels/1.x/itop-tickets-1.0.0/ru.dict.itop-tickets.php | PHP | agpl-3.0 | 13,986 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2014-2015 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2015 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | aihua/opennms | opennms-provision/opennms-provisiond/src/main/java/org/opennms/netmgt/provision/service/HostnameResolver.java | Java | agpl-3.0 | 1,400 |
import random, copy
def generate(data):
data['correct_answers']['x'] = 3
def grade(data):
raise Exception('deliberately broken grading function')
| PrairieLearn/PrairieLearn | testCourse/questions/brokenGrading/server.py | Python | agpl-3.0 | 156 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Noncentral T Distribution</title>
<link rel="stylesheet" href="../../../math.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../index.html" title="Math Toolkit... | ntonjeta/iidea-Docker | examples/sobel/src/boost_1_63_0/libs/math/doc/html/math_toolkit/dist_ref/dists/nc_t_dist.html | HTML | agpl-3.0 | 28,547 |
# -*- coding: utf-8 -*-
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from . import res_partner
| rosenvladimirov/addons | partner_vat_search/models/__init__.py | Python | agpl-3.0 | 120 |
@page styleguide2 Nitpicker's Coding Styleguide
To avoid boring you to death with coding rules, we decided to not include the following in our main coding styleguide
for one or more of the following reasons:
- They deal with special cases.
- They can, in our view, be taken for granted.
- They are of lesser im... | POV-Ray/povray | source-doc/styleguide2.md | Markdown | agpl-3.0 | 35,552 |
/*
* This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
*
* Copyright 2008-2013 Geosparc nv, http://www.geosparc.com/, Belgium.
*
* The program is available in open source according to the GNU Affero
* General Public License. All contributions in this program are covered
* by the Geomajas Contr... | olivermay/geomajas | face/geomajas-face-common-gwt/common-gwt/src/main/resources/org/geomajas/emul/org/geomajas/configuration/SyntheticAttributeInfo.java | Java | agpl-3.0 | 1,705 |
# -*- coding: utf-8 -*-
"""
Created on Mon Aug 17 15:48:31 2015
@author: thomas.douenne
"""
# L'objectif est de décrire l'évolution des montants des accises de la TICPE depuis 1993
# Import de fonctions spécifiques à Openfisca Indirect Taxation
from openfisca_france_indirect_taxation.examples.utils_example import gr... | benjello/openfisca-france-indirect-taxation | openfisca_france_indirect_taxation/examples/transports/plot_legislation/plot_ticpe_accises.py | Python | agpl-3.0 | 865 |
#!/usr/bin/env bash
set -e
set -x
env
if [ "$PYTHON" == "" ]
then
# python26 is required for RedHat/CentOS 5
if [ -x /usr/bin/python26 ]
then
PYTHON=python26
else
PYTHON=python
fi
fi
GENERATOR="$1"
if [ "$GENERATOR" == "" ]
then
if [ -f /etc/debian_version ]; then
GENERATOR=DEB
fi
if [ -f /etc/redhat-... | sneumann/shiny-server | packaging/make-package.sh | Shell | agpl-3.0 | 1,222 |
/* ---------------------------------------------------------------------
* Numenta Platform for Intelligent Computing (NuPIC)
* Copyright (C) 2013, Numenta, Inc. Unless you have an agreement
* with Numenta, Inc., for a separate license for this software code, the
* following terms and conditions apply:
*
* This ... | scottpurdy/nupic.core | src/nupic/regions/VectorFileSensor.cpp | C++ | agpl-3.0 | 24,587 |
/****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtXmlPatterns module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Li... | CodeDJ/qt5-hidpi | qt/qtxmlpatterns/src/xmlpatterns/api/qvariableloader.cpp | C++ | lgpl-2.1 | 9,111 |
/*
* JOSSO: Java Open Single Sign-On
*
* Copyright 2004-2009, Atricore, Inc.
*
* This 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... | webbfontaine/josso1 | core/josso-core/src/main/java/org/josso/gateway/session/exceptions/TooManyOpenSessionsException.java | Java | lgpl-2.1 | 1,467 |
/*!
* This file is part of CameraPlus.
*
* Copyright (C) 2012-2014 Mohammed Sameer <msameer@foolab.org>
*
* 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 t... | foolab/cameraplus | lib/qtcamflickerreduction.cpp | C++ | lgpl-2.1 | 1,744 |
/**
* This is a simple mechanism to bind Inkscape to Java, and thence
* to all of the nice things that can be layered upon that.
*
* Authors:
* Bob Jamison
*
* Copyright (c) 2007-2008 Inkscape.org
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Less... | step21/inkscape-osx-packaging-native | src/bind/java/org/inkscape/dom/stylesheets/StyleSheetImpl.java | Java | lgpl-2.1 | 1,655 |
/**
* Copyright (c) 2010-present Abixen Systems. All rights reserved.
*
* 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 ... | alvin-reyes/abixen-platform | abixen-platform-core/src/main/java/com/abixen/platform/core/configuration/PlatformMailConfiguration.java | Java | lgpl-2.1 | 2,638 |
/*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (c) Alkacon Software GmbH (http://www.alkacon.com)
*
* 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 So... | it-tavis/opencms-core | src-modules/org/opencms/workplace/tools/accounts/CmsEditUserDialog.java | Java | lgpl-2.1 | 3,402 |
/*******************************************************************************
* This file is part of the Polyglot extensible compiler framework.
*
* Copyright (c) 2000-2012 Polyglot project group, Cornell University
* Copyright (c) 2006-2012 IBM Corporation
* All rights reserved.
*
* This program and the acco... | liujed/polyglot-eclipse | tools/ppg/src/ppg/code/ActionCode.java | Java | lgpl-2.1 | 1,561 |
//* This file is part of the MOOSE framework
//* https://www.mooseframework.org
//*
//* All rights reserved, see COPYRIGHT for full restrictions
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
//*
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html
#in... | harterj/moose | modules/phase_field/src/markers/DiscreteNucleationMarker.C | C++ | lgpl-2.1 | 1,901 |
\hypertarget{classCqrs_1_1EventStore_1_1Bus_1_1EventConverter}{}\section{Cqrs.\+Event\+Store.\+Bus.\+Event\+Converter Class Reference}
\label{classCqrs_1_1EventStore_1_1Bus_1_1EventConverter}\index{Cqrs.\+Event\+Store.\+Bus.\+Event\+Converter@{Cqrs.\+Event\+Store.\+Bus.\+Event\+Converter}}
\subsection*{Static Public Me... | Chinchilla-Software-Com/CQRS | wiki/docs/2.1/latex/classCqrs_1_1EventStore_1_1Bus_1_1EventConverter.tex | TeX | lgpl-2.1 | 1,735 |
// @(#)root/tree:$Id$
// Author: Rene Brun 14/01/2001
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... | dawehner/root | tree/tree/inc/TBranchElement.h | C | lgpl-2.1 | 13,410 |
package edu.ncsu.csc.itrust.beans.loaders;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import edu.ncsu.csc.itrust.beans.MessageBean;
/**
* A loader for MessageBeans.
*
* Loads in information to/from bean... | qynnine/JDiffOriginDemo | examples/iTrust_v11/edu/ncsu/csc/itrust/beans/loaders/MessageBeanLoader.java | Java | lgpl-2.1 | 1,722 |
\hypertarget{classCqrs_1_1Mongo_1_1Factories_1_1IndexKeysBuilderExtension}{}\section{Cqrs.\+Mongo.\+Factories.\+Index\+Keys\+Builder\+Extension Class Reference}
\label{classCqrs_1_1Mongo_1_1Factories_1_1IndexKeysBuilderExtension}\index{Cqrs.\+Mongo.\+Factories.\+Index\+Keys\+Builder\+Extension@{Cqrs.\+Mongo.\+Factories... | Chinchilla-Software-Com/CQRS | wiki/docs/2.1/latex/classCqrs_1_1Mongo_1_1Factories_1_1IndexKeysBuilderExtension.tex | TeX | lgpl-2.1 | 4,625 |
<?php
/*
* Limb PHP Framework
*
* @link http://limb-project.com
* @copyright Copyright © 2004-2009 BIT(http://bit-creative.com)
* @license LGPL http://www.gnu.org/copyleft/lesser.html
*/
lmb_require('limb/toolkit/src/lmbToolkit.class.php');
lmb_require('limb/fs/src/lmbFs.class.php');
lmb_require('limb/js... | limb-php-framework/limb-cms | lib/limb-cms/js/src/lmbJsPreprocessor.class.php | PHP | lgpl-2.1 | 3,148 |
"""SCons.Tool.gcc
Tool-specific initialization for gcc.
There normally shouldn't be any need to import this module directly.
It will usually be imported through the generic SCons.Tool.Tool()
selection method.
"""
#
# Copyright (c) 2001 - 2017 The SCons Foundation
#
# Permission is hereby granted, free of charge, to... | mapycz/mapnik | scons/scons-local-3.0.1/SCons/Tool/gcc.py | Python | lgpl-2.1 | 3,530 |
<?php
/*
* This file is part of phpMorphy project
*
* Copyright (c) 2007-2012 Kamaev Vladimir <heromantor@users.sourceforge.net>
*
* 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; eith... | heromantor/phpmorphy | src/phpMorphy/Generator/Decorator/HandlerDefault.php | PHP | lgpl-2.1 | 6,997 |
/**************************************************************************
**
** Copyright (C) 2014 BlackBerry Limited. All rights reserved.
**
** Contact: BlackBerry (qt@blackberry.com)
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this... | farseerri/git_code | src/plugins/qnx/qnxsettingswidget.cpp | C++ | lgpl-2.1 | 7,765 |
/*
* Copyright (C) 2014 Freie Universität Berlin
* Copyright (C) 2014 Lotte Steenbrink <lotte.steenbrink@fu-berlin.de>
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup ... | phiros/RIOT | sys/net/routing/aodvv2/aodv.c | C | lgpl-2.1 | 17,254 |
/*
* Copyright (c) 2008 Los Alamos National Security, LLC.
*
* Los Alamos National Laboratory
* Research Library
* Digital Library Research & Prototyping Team
*
* 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 b... | cbeer/adore-djatoka-mirror | src/gov/lanl/adore/djatoka/util/ImageRecordUtils.java | Java | lgpl-2.1 | 2,589 |
package npe;
// From java.net.InterfaceAddress
public class InterfaceAddress {
String address, broadcast;
int maskLength;
public InterfaceAddress(String address, String broadcast, int maskLength) {
this.address = address;
this.broadcast = broadcast;
this.maskLength = maskLength;
... | sewe/spotbugs | spotbugsTestCases/src/java/npe/InterfaceAddress.java | Java | lgpl-2.1 | 1,125 |
/*
* Electronic Arts TGV Video Decoder
* Copyright (c) 2007-2008 Peter Ross
*
* This file is part of FFmpeg.
*
* FFmpeg 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 t... | instarcam/InstarVision-Android | ffmpeg/libavcodec/eatgv.c | C | lgpl-2.1 | 11,263 |
package dr.evomodel.antigenic.phyloclustering;
import java.util.LinkedList;
import dr.evolution.tree.NodeRef;
import dr.evomodel.tree.TreeModel;
import dr.inference.model.MatrixParameter;
import dr.inference.model.Parameter;
public class TreeClusteringSharedRoutines {
public static int[] setMembershipTreeToVir... | adamallo/beast-mcmc | src/dr/evomodel/antigenic/phyloclustering/TreeClusteringSharedRoutines.java | Java | lgpl-2.1 | 8,209 |
/****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtQuick module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licens... | Distrotech/qtdeclarative | src/quick/accessible/qaccessiblequickitem_p.h | C | lgpl-3.0 | 4,726 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_151) on Tue Jan 16 16:59:45 CET 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.openb... | DivineThreepwood/bco.core-manager | docs/apidocs/org/openbase/bco/manager/user/lib/class-use/User.html | HTML | lgpl-3.0 | 8,337 |
package com.googlecode.lanterna.examples;
import java.io.IOException;
import com.googlecode.lanterna.graphics.TextGraphics;
import com.googlecode.lanterna.screen.Screen;
import com.googlecode.lanterna.screen.TerminalScreen;
import com.googlecode.lanterna.terminal.DefaultTerminalFactory;
import com.googlecode.lanterna... | LTI2000/lanterna | src/examples/java/com/googlecode/lanterna/examples/OutputString.java | Java | lgpl-3.0 | 782 |
/*
* Copyright (C) 2006-2011, SRI International (R)
*
* This program 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.... | skasperski/OpenKarto | source/OpenKarto/StringHelper.h | C | lgpl-3.0 | 20,975 |
/*
* #%L
* Alfresco Solr Client
* %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited
* %%
* This file is part of the Alfresco software.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided under th... | Alfresco/community-edition | projects/solr-client/source/java/org/alfresco/solr/client/Status.java | Java | lgpl-3.0 | 7,961 |
package com.marginallyclever.makelangeloRobot.loadAndSave;
import java.io.InputStream;
import java.io.OutputStream;
import javax.swing.filechooser.FileNameExtensionFilter;
import com.marginallyclever.makelangeloRobot.MakelangeloRobot;
/**
* Interface for the service handler
* @author Admin
*
*/
public interface... | rossonet/RAM | modelli/progetti/plotter_a_corde/Makelangelo-software-master/java/src/main/java/com/marginallyclever/makelangeloRobot/loadAndSave/LoadAndSaveFileType.java | Java | lgpl-3.0 | 1,540 |
/*
Copyright (c) 2007-2009, Yusuke Yamamoto
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | jordancheah/fitbit4j | fitbit4j/src/main/java/com/fitbit/api/client/http/AccessToken.java | Java | lgpl-3.0 | 2,812 |
package org.molgenis.data.rsql;
import org.molgenis.data.meta.AttributeType;
import org.molgenis.data.meta.model.Attribute;
import org.molgenis.data.meta.model.EntityType;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import java.util.Itera... | jjettenn/molgenis | molgenis-data/src/test/java/org/molgenis/data/rsql/RSQLValueParserTest.java | Java | lgpl-3.0 | 1,617 |
/*
* Copyright (C) 2009 Google Inc. All rights reserved.
* Copyright (C) 2012 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retai... | nawawi/wkhtmltopdf | webkit/Source/WebCore/Modules/notifications/NotificationCenter.cpp | C++ | lgpl-3.0 | 5,127 |
/*
* #%L
* Alfresco Remote API
* %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited
* %%
* This file is part of the Alfresco software.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* provided under the... | Alfresco/community-edition | projects/remote-api/source/java/org/alfresco/repo/web/scripts/dictionary/prefixed/PropertyGet.java | Java | lgpl-3.0 | 3,382 |
/* s390.h -- Header file for S390 opcode table
Copyright (C) 2000-2021 Free Software Foundation, Inc.
Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com).
This file is part of BFD, the Binary File Descriptor library.
This program is free software; you can redistribute it and/or modify
it under t... | condret/radare2 | libr/asm/arch/include/opcode/s390.h | C | lgpl-3.0 | 5,255 |
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System;
using System.IO;
using System.Linq;
using System.Reflection;
// Tip: If you are looking for more Roslyn samples,
// look at https://github.com/dotnet/roslyn/tree/master/src/Samples
namespace R... | cicorias/Samples | RoslynDemos/RoslynDemos.SemanticModel/Program.cs | C# | lgpl-3.0 | 2,197 |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
* Authorization Library
*
* Used to check if a user must enter a password before viewing a page.
* Has automatic expiration of requests (called in Bw_session)
* Handles redirection to /authorize and to desired page.
*
* Successful auth... | geopayme/btcMarketPlace | application/libraries/Bw_auth.php | PHP | unlicense | 7,088 |
# !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is built by mktables from e.g. UnicodeData.txt.
# Any changes made here will be lost!
#
# This file supports:
# \p{InGlagolitic} (and fuzzy permutations)
#
# Meaning: Block 'Glagolitic'
#
return <<'END';
2C00 2C5F Glagolitic
END
| caplin/qa-browsers | git/lib/perl5/5.8.8/unicore/lib/gc_sc/InGlagol.pl | Perl | unlicense | 302 |
// +build linux darwin
/*
Copyright 2013 The Perkeep Authors
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 a... | angelcabo/camlistore | pkg/fs/ro.go | GO | apache-2.0 | 10,046 |
#!/bin/bash
if [ ${CIRCLE_BRANCH} = "preview" ]
then
echo "server: https://forms.preview.developer.concur.com" > src/_data/forms.yml
elif [ ${CIRCLE_BRANCH} = "livesite" ]
then
echo "server: https://forms.developer.concur.com" > src/_data/forms.yml
else
echo "Branch ${CIRCLE_BRANCH} does not have a known forms... | bhague1281/developer.concur.com | build/write_forms.sh | Shell | apache-2.0 | 357 |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | facebook/buck | src/com/facebook/buck/features/go/GoCompile.java | Java | apache-2.0 | 12,963 |
/*
* Copyright (c) 2005-2011 Grameen Foundation USA
* 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
*
* Unl... | madhav123/gkmaster | appdomain/src/main/java/org/mifos/customers/personnel/business/service/PersonnelServiceImpl.java | Java | apache-2.0 | 5,048 |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.xpack.ml;
import org.elasticsearch.Elast... | robin13/elasticsearch | x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/MlDailyMaintenanceServiceTests.java | Java | apache-2.0 | 13,511 |
/*
* Copyright 2020 Red Hat, Inc. and/or its affiliates.
*
* 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 app... | winklerm/droolsjbpm-integration | kie-server-parent/kie-server-api/src/test/java/org/kie/server/api/model/dmn/JSONAPIRoundTripTest.java | Java | apache-2.0 | 5,387 |
/*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | blowekamp/ITK | Modules/Registration/Common/include/itkMatchCardinalityImageToImageMetric.h | C | apache-2.0 | 7,736 |
import {ListWrapper, List} from 'angular2/src/facade/collection';
import {stringify, BaseException, isBlank} from 'angular2/src/facade/lang';
function findFirstClosedCycle(keys: List<any>): List<any> {
var res = [];
for (var i = 0; i < keys.length; ++i) {
if (ListWrapper.contains(res, keys[i])) {
res.pus... | MyoungJin/angular | modules/angular2/src/di/exceptions.ts | TypeScript | apache-2.0 | 6,490 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Struct template result<This(Expr)></title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../... | biospi/seamass-windeps | src/boost_1_57_0/doc/html/boost/proto/functional/child/result_This_E_idp203592768.html | HTML | apache-2.0 | 4,383 |
/*
* Autopsy Forensic Browser
*
* Copyright 2012-2018 Basis Technology Corp.
* Contact: carrier <at> sleuthkit <dot> org
*
* 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... | esaunders/autopsy | Core/src/org/sleuthkit/autopsy/corecomponents/DataResultViewerThumbnail.java | Java | apache-2.0 | 34,868 |
package com.google.api.ads.dfp.jaxws.v201405;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for BillingCap.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType name="BillingCa... | stoksey69/googleads-java-lib | modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201405/BillingCap.java | Java | apache-2.0 | 1,448 |
/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright (C) 2018-2020 Authors of Cilium */
#ifndef SOCK_OPS_MAP
#define SOCK_OPS_MAP cilium_sock_ops
#endif
#define SOCKOPS_MAP_SIZE 65535
#ifndef CALLS_MAP
#define CALLS_MAP test_cilium_calls
#endif
| tklauser/cilium | bpf/sockops/sockops_config.h | C | apache-2.0 | 245 |
/*
* Copyright (c) 2016 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <ztest.h>
#include "tests_thread_apis.h"
static ZTEST_BMEM int execute_flag;
K_SEM_DEFINE(sync_sema, 0, 1);
#define BLOCK_SIZE 64
static void thread_entry(void *p1, void *p2, void *p3)
{
execute_flag = 1;
k_msleep(1... | galak/zephyr | tests/kernel/threads/thread_apis/src/test_threads_cancel_abort.c | C | apache-2.0 | 6,206 |
// Copyright (c) 2013 Intel Corporation. All rights reserved.
// Copyright (c) 2015 Samsung Electronics Co., Ltd. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef XWALK_EXTENSIONS_XWALK_EXTENSION_INSTANCE_H_
#define XWALK_EXTENSIONS_XW... | psikorski/crosswalk-tizen | extensions/extension/xwalk_extension_instance.h | C | apache-2.0 | 1,322 |
require 'puppet/provider/netscaler'
require 'json'
Puppet::Type.type(:netscaler_route).provide(:rest, {:parent => Puppet::Provider::Netscaler}) do
def netscaler_api_type
"route"
end
def self.instances
instances = []
#look for files at a certain location
routes = Puppet::Provider::Netscaler.call... | mhaskel/puppetlabs-netscaler | lib/puppet/provider/netscaler_route/rest.rb | Ruby | apache-2.0 | 1,578 |
/*
* Copyright 2000-2016 JetBrains s.r.o.
*
* 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 agre... | Soya93/Extract-Refactoring | platform/platform-impl/src/com/intellij/openapi/fileEditor/impl/EditorHistoryManager.java | Java | apache-2.0 | 14,211 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.