repo_name stringlengths 4 116 | path stringlengths 4 379 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
simeshev/parabuild-ci | 3rdparty/javamail-1.4.2/demo/webapp/src/taglib/demo/MessageInfo.java | 8112 | /*
* Copyright 2001-2007 Sun Microsystems, 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 retain the above copyright
* notice, this li... | lgpl-3.0 |
SoftwareEngineeringToolDemos/FSE-2011-EvoSuite | client/src/main/java/org/evosuite/contracts/SingleContractChecker.java | 3120 | /**
* Copyright (C) 2010-2015 Gordon Fraser, Andrea Arcuri and EvoSuite
* contributors
*
* This file is part of EvoSuite.
*
* EvoSuite is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser Public License as published by the
* Free Software Foundation, either version 3.0 ... | lgpl-3.0 |
Bananasft/MBINCompiler | MBINCompiler/Models/Structs/TkVertexElement.cs | 481 | namespace MBINCompiler.Models.Structs
{
public class TkVertexElement : NMSTemplate
{
public int SemanticID;
public int Size;
public int Type; // 0x140b(Vec4) or 0x1401(Vec2)
public int Offset;
public int Normalise;
public int Instancing;
public string[] I... | lgpl-3.0 |
johngerome/Flux-CP-themes---Design-no-3 | modules/ranking/death.php | 1701 | <?php
if (!defined('FLUX_ROOT')) exit;
$title = 'Death Ranking';
$classes = Flux::config('JobClasses')->toArray();
$jobClass = $params->get('jobclass');
$bind = array((int)Flux::config('RankingHideLevel'));
if (trim($jobClass) === '') {
$jobClass = null;
}
if (!is_null($jobClass) && !array_key_exists($jobCl... | lgpl-3.0 |
mohanaraosv/sonarqube | server/sonar-server/src/test/java/org/sonar/server/computation/component/ReportComponent.java | 5626 | /*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2014 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube 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 Found... | lgpl-3.0 |
Builders-SonarSource/sonarqube-bis | sonar-duplications/src/test/java/org/sonar/duplications/statement/StatementChannelTest.java | 3959 | /*
* SonarQube
* Copyright (C) 2009-2016 SonarSource SA
* mailto:contact AT sonarsource DOT com
*
* 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... | lgpl-3.0 |
dailypips/cocoflow | test/benchmark_sleep.cc | 1072 | #include <string.h>
#include <time.h>
#include <iostream>
#include "cocoflow.h"
using namespace std;
#define TEST_TIMES 1000
#define TEST_NUM 1000
#define ASSERT(x) \
do { \
if (!(x)) \
{ \
fprintf(stderr, "[ASSERT]: " #x " failed at " __FILE__ ":%u\n", __LINE__); \
abort(); \
} \
} while(0)
static clock_t... | lgpl-3.0 |
peterstevens130561/sonarlint-vs | its/PcapDotNet-71480/PcapDotNet.Packets/Dns/DnsDatagram.cs | 24671 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
namespace PcapDotNet.Packets.Dns
{
/// <summary>
/// RFC 1035, 4035.
/// All communications inside of the domain protocol are carried in a single format called a message.
/// The top level format o... | lgpl-3.0 |
malaverdiere/jseduite | hci/WebAdmin-IRSAM/src/java/webadmin/feedregistry/comparators/FeedRegistryClassComparatorDesc.java | 413 | package webadmin.feedregistry.comparators;
import fr.unice.i3s.modalis.jseduite.technical.registry.Feed;
import java.util.Comparator;
/**
*
* @author Steve Colombié
*/
public class FeedRegistryClassComparatorDesc implements Comparator<Feed>{
public int compare(Feed o1, Feed o2) {
return o2.getFeedCla... | lgpl-3.0 |
find-sec-bugs/find-sec-bugs | findsecbugs-samples-java/src/test/java/testcode/file/FileUploadCommon.java | 714 | package testcode.file;
import org.apache.commons.fileupload.FileItem;
import org.apache.commons.fileupload.FileUploadException;
import org.apache.commons.fileupload.disk.DiskFileItemFactory;
import org.apache.commons.fileupload.servlet.ServletFileUpload;
import javax.servlet.http.HttpServletRequest;
import java.util.... | lgpl-3.0 |
iris-edu/pyweed | pyweed/gui/uic/WaveformDialog.py | 14264 | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'WaveformDialog.ui'
#
# Created by: PyQt5 UI code generator 5.6
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_WaveformDialog(object):
def setupUi(self, WaveformDialog):
... | lgpl-3.0 |
edwinspire/VSharp | class/System.Web.Mvc2/System.Web.Mvc/AreaRegistrationContext.cs | 4748 | /* ****************************************************************************
*
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* This software is subject to the Microsoft Public License (Ms-PL).
* A copy of the license can be found in the license.htm file included
* in this distribution.... | lgpl-3.0 |
jlauinger/StartSSL_API | config.py | 141 |
CERTFILE = "client_key.p12:geheim"
# -------
STARTSSL_BASEURI = "https://www.startssl.com"
STARTSSL_AUTHURI = "https://auth.startssl.com"
| lgpl-3.0 |
respinar/staff | src/library/Frontend/Module/ModuleStaff.php | 6506 | <?php
/**
* Contao Open Source CMS
*
* Copyright (c) 2005-2015 Leo Feyer
*
* @package Staff
* @author Hamid Abbaszadeh
* @license GNU/LGPL3
* @copyright 2014-2015
*/
/**
* Namespace
*/
namespace Respinar\Staff\Frontend\Module;
use Respinar\Staff\Model\StaffCategoryModel;
/**
* Class ModuleStaff... | lgpl-3.0 |
hsnks100/LakingServer | LKCamelot/script/item/weapons/spear/ForkedSpear.cs | 1327 | using LKCamelot.library;
using LKCamelot.model;
namespace LKCamelot.script.item
{
public class ForkedSpear : BaseWeapon
{
public override string Name { get { return "Forked Spear"; } }
public override int DamBase { get { return 106; } }
public override int ACBase { get { return 99; } ... | lgpl-3.0 |
Orav/kbengine | kbe/src/lib/python/Lib/idlelib/rpc.py | 21557 | """RPC Implemention, originally written for the Python Idle IDE
For security reasons, GvR requested that Idle's Python execution server process
connect to the Idle process, which listens for the connection. Since Idle has
only one client per server, this was not a limitation.
+------------------------------... | lgpl-3.0 |
marissaDubbelaar/GOAD3.1.1 | molgenis-data-mapper/src/main/java/org/molgenis/data/mapper/meta/MappingTargetMetaData.java | 1580 | package org.molgenis.data.mapper.meta;
import org.molgenis.data.meta.SystemEntityType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import static java.util.Objects.requireNonNull;
import static org.molgenis.data.mapper.meta.MapperPackage.PACKAGE_MAPPE... | lgpl-3.0 |
igorshubovych/cloudmade-ruby-client | lib/client.rb | 2265 | #
# Copyright 2009 CloudMade.
#
# Licensed under the GNU Lesser General Public License, Version 3.0;
# You may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.gnu.org/licenses/lgpl-3.0.txt
#
# Unless required by applicable law or agreed to in writin... | lgpl-3.0 |
chimpinano/MVVM-for-awesomium | MVVM.Awesomium/Binding/AwesomiumBinding/Mapping/JavascriptToCSharpMapper.cs | 2108 | using Awesomium.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MVVMAwesomium.AwesomiumBinding
{
public class JavascriptToCSharpMapper
{
private IWebView _IWebView;
public JavascriptToCSharpMapper(IWebView iIWebView)
{
_... | lgpl-3.0 |
websphere/jboss-el-impl | test/org/jboss/el/TestParsing.java | 1519 | package org.jboss.el;
import junit.framework.TestCase;
import org.jboss.el.parser.ELParser;
import org.jboss.el.parser.SimpleNode;
public class TestParsing extends TestCase {
public void testParsing() throws Exception {
parse("#{foo.a.b}");
parse("#{foo.a['b']}");
parse("#{3 * foo.a.b(e,c,d)}");... | lgpl-3.0 |
SoftwareEngineeringToolDemos/FSE-2011-EvoSuite | master/src/test/java/com/examples/with/different/packagename/DeleteFileProcess.java | 1375 | /**
* Copyright (C) 2010-2015 Gordon Fraser, Andrea Arcuri and EvoSuite
* contributors
*
* This file is part of EvoSuite.
*
* EvoSuite is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser Public License as published by the
* Free Software Foundation, either version 3.0 ... | lgpl-3.0 |
Facsimile/facsimile | core/src/main/scala/org/facsim/anim/cell/CellColor.scala | 6358 | /*
Facsimile: A Discrete-Event Simulation Library
Copyright © 2004-2020, Michael J Allen.
This file is part of Facsimile.
Facsimile 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 ... | lgpl-3.0 |
ssangkong/NVRAM_KWU | qt-everywhere-opensource-src-4.7.4/src/corelib/plugin/quuid.cpp | 18744 | /****************************************************************************
**
** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
**... | lgpl-3.0 |
sporekj/svobodnitest | vendor/venne/cms-module/CmsModule/Pages/Rss/RssPresenter.php | 1692 | <?php
/**
* This file is part of the Venne:CMS (https://github.com/Venne)
*
* Copyright (c) 2011, 2012 Josef Kříž (http://www.josef-kriz.cz)
*
* For the full copyright and license information, please view
* the file license.txt that was distributed with this source code.
*/
namespace CmsModule\Pages... | lgpl-3.0 |
LinJiarui/Mccs | MCCS/ChaseCameraMode.cs | 6355 | /* ***********************************************
* author : LinJiarui/exAt/ex@
* file : ChaseCameraMode
* history: created by LinJiarui 2013/10/20 星期日 9:09:01
* modified by
* ***********************************************/
using System;
using System.Collections.Generic;
using Mogre;
namespace ... | lgpl-3.0 |
felixge/goamz | s3/s3.go | 12529 | //
// goamz - Go packages to interact with the Amazon Web Services.
//
// https://wiki.ubuntu.com/goamz
//
// Copyright (c) 2011 Canonical Ltd.
//
// Written by Gustavo Niemeyer <gustavo.niemeyer@canonical.com>
//
package s3
import (
"bytes"
"encoding/xml"
"fmt"
"io"
"io/ioutil"
"launchpad.net/goamz/aws"
"lo... | lgpl-3.0 |
jandom/plumed2 | src/tools/MolDataClass.cpp | 32576 | /* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Copyright (c) 2013-2020 The plumed team
(see the PEOPLE file at the root of the distribution for a list of names)
See http://www.plumed.org for more information.
This file is part of plumed, version 2.
plumed is free software... | lgpl-3.0 |
project2you/students-attendance | mobile/js/jquery.easy-confirm-dialog.js | 5831 | /**
* jQuery Easy Confirm Dialog plugin 1.4
*
* Copyright (c) 2010 Emil Janitzek (http://projectshadowlight.org)
* Based on Confirm 1.3 by Nadia Alramli (http://nadiana.com/)
*
* Samples and instructions at:
* http://projectshadowlight.org/jquery-easy-confirm-dialog/
*
* This script is free software: you can ... | lgpl-3.0 |
edwinspire/VSharp | class/System.Web/Test/System.Web.UI.WebControls/CompositeDataBoundControlTest.cs | 5426 | //
// Tests for System.Web.UI.WebControls.CompositeDataBoundControl.cs
//
// Author:
// Igor Zelmanovich (igorz@mainsoft.com)
//
//
// Copyright (C) 2006 Mainsoft, Inc (http://www.mainsoft.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated docume... | lgpl-3.0 |
sebastianbk/Firefly | AR.Drone.Data/Navigation/Native/Options/navdata_magneto_t.cs | 829 | using System.Runtime.InteropServices;
using AR.Drone.Data.Navigation.Native.Math;
namespace AR.Drone.Data.Navigation.Native.Options
{
[StructLayout(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Ansi)]
public struct navdata_magneto_t
{
public ushort tag;
public ushort size;
publ... | lgpl-3.0 |
Sebazzz/EntityProfiler | src/UI/EntityProfiler.Viewer/Modules/Connection/SessionDataCommandProvider.cs | 1504 | using System.ComponentModel.Composition;
using System.Windows.Input;
using Caliburn.Micro;
using EntityProfiler.Viewer.Modules.Connection.ViewModels;
namespace EntityProfiler.Viewer.Modules.Connection
{
[Export("SessionDataCommandProvider", typeof (SessionDataCommandProvider))]
[PartCreationPolicy(CreationPoli... | lgpl-3.0 |
ericomattos/javaforce | projects/jffile/src/jffile/JFileBrowser.java | 44570 | package jffile;
/**
* Created : Aug 11, 2012
*
* @author pquiring
*/
import java.awt.*;
import java.awt.datatransfer.*;
import java.awt.event.*;
import java.io.*;
import java.util.*;
import javax.swing.*;
import javaforce.*;
import javaforce.jbus.*;
import javaforce.linux.*;
import javaforce.utils.*;
public cla... | lgpl-3.0 |
simeshev/parabuild-ci | src/org/parabuild/ci/build/SystemVariableConfigurationManager.java | 4001 | /*
* Parabuild CI licenses this file to You under the LGPL 2.1
* (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* https://www.gnu.org/licenses/lgpl-3.0.txt
*
* Unless required by applicable law or agreed to in writing, software
... | lgpl-3.0 |
wingleess/EZOne-server | app/structure/Manufacture.scala | 6798 | package structure
import play.api.db.DB
import play.api.Play.current
import anorm._
import anorm.SqlParser._
import spray.json._
import util.db._
/**
* Project IntelliJ IDEA
* Module structure
* User: Gyuhyeon
* Date: 2014. 1. 8.
* Time: 오전 1:05
*/
case class Manufacture (manufacture_srl:Pk[Int] = NotAssigned... | lgpl-3.0 |
kidaa/Awakening-Core3 | bin/scripts/object/tangible/loot/quest/lance_nightsister_schematic.lua | 2579 | --Copyright (C) 2010 <SWGEmu>
--This File is part of Core3.
--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 2 of the License,
--or (at your option) any later versio... | lgpl-3.0 |
magenta-aps/db-preservation-toolkit | dbptk-modules/dbptk-module-oracle/src/main/java/com/databasepreservation/modules/oracle/Oracle12cModuleFactory.java | 6882 | package com.databasepreservation.modules.oracle;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import com.databasepreservation.model.Reporter;
import com.databasepreservation.model.exception.LicenseNotAcceptedException;
import com.databasepreservation.model.exception.UnsupportedModuleExcept... | lgpl-3.0 |
tvsonar/sonarlint-roslyn-analyzer | src/Tests/SonarAnalyzer.UnitTest/Rules/PublicFieldNameTest.cs | 1245 | /*
* SonarAnalyzer for .NET
* Copyright (C) 2015-2016 SonarSource SA
* mailto:contact@sonarsource.com
*
* 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 ... | lgpl-3.0 |
mikeyjk/tavernSimulator | Includes/boost/interprocess/sync/lock_options.hpp | 1850 | //////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2005-2012. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/i... | lgpl-3.0 |
jakobharlan/avango | avango-gua/src/avango/gua/scenegraph/GeometryNode.cpp | 1443 | #include <avango/gua/scenegraph/GeometryNode.hpp>
#include <avango/Base.h>
#include <boost/bind.hpp>
AV_FC_DEFINE_ABSTRACT(av::gua::GeometryNode);
AV_FIELD_DEFINE(av::gua::SFGeometryNode);
AV_FIELD_DEFINE(av::gua::MFGeometryNode);
av::gua::GeometryNode::GeometryNode(std::shared_ptr< ::gua::node::GeometryNode> guanod... | lgpl-3.0 |
Apeksha14/AngularAppExample | .history/server_20170501161949.js | 1615 | /* Scrape and Display (18.3.8)
* (If you can do this, you should be set for your hw)
* ================================================== */
// STUDENTS:
// Please complete the routes with TODOs inside.
// Your specific instructions lie there
// Good luck!
// Dependencies
var express = require("express");
var body... | unlicense |
cksharma/codelibrary | java/src/experimental/LinkCutTreeLcaArray.java | 2233 | package experimental;
public class LinkCutTreeLcaArray {
static int[] left;
static int[] right;
static int[] parent;
static void init(int n) {
left = new int[n];
right = new int[n];
parent = new int[n];
}
// Whether x is a root of a splay tree
static boolean isRoot(int x) {
return parent[x] == 0 || (l... | unlicense |
diegopacheco/scala-playground | caliban-graphql-fun/src/main/resources/gateway/node_modules/graphql-extensions/dist/index.d.ts | 3229 | import { GraphQLSchema, GraphQLField, GraphQLFieldResolver, GraphQLResolveInfo, ExecutionArgs, DocumentNode, GraphQLError } from 'graphql';
import { Request } from 'apollo-server-env';
import { GraphQLResponse, GraphQLRequestContext } from 'apollo-server-types';
export { GraphQLResponse };
export declare type EndHandle... | unlicense |
LogMANOriginal/rss-bridge | caches/FileCache.php | 2698 | <?php
/**
* Cache with file system
*/
class FileCache implements CacheInterface {
protected $path;
protected $param;
public function loadData(){
return unserialize(file_get_contents($this->getCacheFile()));
}
public function saveData($datas){
// Notice: We use plain serialize() here to reduce memory footpri... | unlicense |
M4573R/pc-code | solved/o-q/power-transmission/lightoj/power.cpp | 2950 | #include <algorithm>
#include <cstdio>
#include <cstring>
using namespace std;
#define MAXN 100
#define Neg(v) memset((v), -1, sizeof(v))
const int MAX_V = 2*MAXN + 2;
const int MAX_E = MAX_V * (MAX_V - 1);
const int INF = MAX_E * 1000 + 100;
struct Edge {
int v, c, f, o;
Edge() {}
Edge(int V, int ... | unlicense |
TheDenys/.NET | Lucene.Net/src/core/Store/BufferedIndexOutput.cs | 5047 | /*
* 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"); yo... | unlicense |
fathi-hindi/oneplace | vendor/magento/module-catalog-inventory/Model/Quote/Item/QuantityValidator.php | 8970 | <?php
/**
* Product inventory data validator
*
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\CatalogInventory\Model\Quote\Item;
use Magento\CatalogInventory\Api\StockRegistryInterface;
use Magento\CatalogInventory\Api\StockStateInterface;
c... | unlicense |
maikodaraine/EnlightenmentUbuntu | bindings/ruby/ffi-efl/spec/ecore_input_spec.rb | 615 | #! /usr/bin/env ruby
# -*- coding: UTF-8 -*-
#
require 'efl/ecore_input'
#
describe 'Efl::EcoreInput' do
#
before(:all) do
EcoreInput = Efl::EcoreInput
@init = EcoreInput.init
end
after(:all) do
EcoreInput.shutdown
end
#
it "should init" do
EcoreInput.init.sho... | unlicense |
uruba/ETS2MP-Companion | app/src/main/java/cz/uruba/ets2mpcompanion/constants/GoogleAnalytics.java | 223 | package cz.uruba.ets2mpcompanion.constants;
public class GoogleAnalytics {
public static final String EVENT_CATEGORY_REFRESH = "Refresh";
public static final String EVENT_CATEGORY_THEME_SWITCH = "Theme switch";
}
| unlicense |
fathi-hindi/oneplace | vendor/magento/module-shipping/Model/Shipment/ReturnShipment.php | 4199 | <?php
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Shipping\Model\Shipment;
/**
* @method \Magento\Shipping\Model\Shipment\Request setOrderShipment(\Magento\Sales\Model\Order\Shipment $orderShipment)
* @method \Magento\Sales\Model\Order... | unlicense |
devboy/Substance | src/Substance.Collections.Generic/System/Collections/Generic/ISortKeyCollection.cs | 761 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics.CodeAnalysis;
namespace System.Collections.Generic
{
/// <summary>
/// Defined on a generic collection that sorts its contents using a... | unlicense |
emoreno911/pwa-training-labs | cache-api-lab/05-404-page/service-worker.js | 2226 | /*
Copyright 2016 Google Inc.
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 writing, software
dis... | apache-2.0 |
OHDSI/RcppBoostCompute | inst/include/boost.new/compute/algorithm/copy.hpp | 12773 | //---------------------------------------------------------------------------//
// Copyright (c) 2013 Kyle Lutz <kyle.r.lutz@gmail.com>
//
// Distributed under the Boost Software License, Version 1.0
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
//
// See http://kylelutz.gi... | apache-2.0 |
jtransc/jtransc | jtransc-rt/src/java/math/MathContext.java | 9324 | /*
* 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... | apache-2.0 |
dzxdzx1987/GoogleCharts | GoogleChartsSource/com/google/visualization/datasource/query/scalarfunction/Sum.java | 3856 | // Copyright 2009 Google Inc.
//
// 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 ... | apache-2.0 |
mfelgamal/zeppelin | zeppelin-zengine/src/test/java/org/apache/zeppelin/interpreter/InterpreterFactoryTest.java | 7328 | /*
* 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 ... | apache-2.0 |
jay-hodgson/SynapseWebClient | src/test/java/org/sagebionetworks/web/unitclient/widget/entity/SynapseSuggestOracleTest.java | 4282 | package org.sagebionetworks.web.unitclient.widget.entity;
import static org.mockito.Matchers.any;
import static org.mockito.Matchers.anyInt;
import static org.mockito.Matchers.anyString;
import static org.mockito.Matchers.eq;
import static org.mockito.Matchers.isNull;
import static org.mockito.Mockito.mock;
import sta... | apache-2.0 |
ashigeru/asakusafw | core-project/asakusa-runtime/src/test/java/com/asakusafw/runtime/stage/input/TemporaryInputFormatTest.java | 7945 | /**
* Copyright 2011-2019 Asakusa Framework Team.
*
* 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... | apache-2.0 |
androidx/constraintlayout | constraintlayout/constraintlayout/src/main/java/androidx/constraintlayout/motion/utils/ViewSpline.java | 8330 | /*
* Copyright (C) 2020 The Android Open Source Project
*
* 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... | apache-2.0 |
tgraf/cilium | cilium/cmd/endpoint_regenerate.go | 1304 | // Copyright 2017-2019 Authors of Cilium
//
// 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 ag... | apache-2.0 |
stephane-martin/salt-debian-packaging | salt-2016.3.2/tests/integration/files/file/base/_modules/runtests_helpers.py | 920 | # -*- coding: utf-8 -*-
'''
:codeauthor: :email:`Pedro Algarvio (pedro@algarvio.me)`
runtests_helpers.py
~~~~~~~~~~~~~~~~~~~
'''
# Import python libs
from __future__ import absolute_import
import os
import tempfile
# Import salt libs
import salt.utils
SYS_TMP_DIR = os.path.realpath(
# Avoid ${TMPD... | apache-2.0 |
googleapis/google-cloud-ruby | google-cloud-data_catalog-v1/snippets/data_catalog/delete_entry_group.rb | 1266 | # frozen_string_literal: true
# Copyright 2021 Google LLC
#
# 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | apache-2.0 |
douglasmariano/spring-webmvc | src/main/webapp/resources/template/stopwatch/Gruntfile.js | 1491 | module.exports = function (grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
uglify: {
options: {
banner: '/*! <%= pkg.name %> <%= pkg.version %> <%=grunt.template.today("yyyy-mm-dd")%>*/'
},
dist: {
src: ['src/timer.jquery.js'],
dest: 'dist/timer.jquery.min.js'
},
},... | apache-2.0 |
FHPproject/FHPUsef | usef-build/usef-workflow/usef-dso/src/main/java/energy/usef/dso/workflow/dto/package-info.java | 718 | /*
* Copyright 2015-2016 USEF Foundation
*
* 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 agree... | apache-2.0 |
martinbede/second-sight | tensorflow/core/kernels/resize_nearest_neighbor_op_gpu.cu.cc | 3529 | /* 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 law or agreed to in ... | apache-2.0 |
adufilie/flex-falcon | compiler/src/org/apache/flex/compiler/projects/IFlexProject.java | 8006 | /*
*
* 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"); ... | apache-2.0 |
aaron-prindle/minikube | pkg/localkube/localkube.go | 10446 | /*
Copyright 2016 The Kubernetes 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 applicable law or ag... | apache-2.0 |
freemanpd/chef-elixr-cookbook | metadata.rb | 276 | name 'elixir'
maintainer 'YOUR_COMPANY_NAME'
maintainer_email 'YOUR_EMAIL'
license 'All rights reserved'
description 'Installs/Configures elixir'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.1.0'
| apache-2.0 |
apache/logging-log4j2 | log4j-api/src/main/java/org/apache/logging/log4j/util/Base64Util.java | 2475 | /*
* 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 n... | apache-2.0 |
NICTA/javallier | src/main/java/com/n1analytics/paillier/EncodedNumber.java | 12560 | /**
* Copyright 2015 NICTA
*
* 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 writing, ... | apache-2.0 |
aparo/scalajs-react-components | core/src/main/scala/chandu0101/scalajs/react/components/hljs/IHighlightResultBase.scala | 243 | package chandu0101.scalajs.react.components.hljs
import scala.scalajs.js
@js.native
trait IHighlightResultBase extends js.Object {
var language: String = js.native
var relevance: Double = js.native
var value: String = js.native
}
| apache-2.0 |
speedster-kiev/namecheap-php-sdk | src/Namecheap/examples/domains.ns.delete.php | 673 | <?php
error_reporting(E_ALL | E_STRICT);
ini_set('display_startup_errors', true);
ini_set('display_errors', true);
include_once '../Api.php';
try
{
$config = new \Namecheap\Config();
$config->apiUser('api-username')
->apiKey('api-key')
->clientIp('your-ip')
->sandbox(true);
$command = Namecheap\Api::factor... | apache-2.0 |
jarekankowski/iosched | lib/src/main/java/com/google/samples/apps/iosched/io/model/Block.java | 843 | /*
* Copyright 2014 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 applic... | apache-2.0 |
sivakumar-kailasam/refactor-faster | src/main/com/google/errorprone/refaster/RefasterScanner.java | 4820 | /*
* Copyright 2014 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 applicabl... | apache-2.0 |
googleapis/google-api-java-client-services | clients/google-api-services-androidenterprise/v1/1.29.2/com/google/api/services/androidenterprise/model/ApprovalUrlInfo.java | 2808 | /*
* 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 writing, software distributed under t... | apache-2.0 |
MeoMix/StreamusChromeExtension | src/js/foreground/view/streamControlBar/previousButtonView.js | 898 | import {LayoutView} from 'marionette';
import previousButtonTemplate from 'template/streamControlBar/previousButton.hbs!';
import previousIconTemplate from 'template/icon/previousIcon_24.hbs!';
var PreviousButton = LayoutView.extend({
id: 'previousButton',
className: 'button button--icon button--icon--primary but... | apache-2.0 |
nugget/home-assistant | homeassistant/components/elkm1/sensor.py | 7721 | """Support for control of ElkM1 sensors."""
from homeassistant.components.elkm1 import (
DOMAIN as ELK_DOMAIN, create_elk_entities, ElkEntity)
DEPENDENCIES = [ELK_DOMAIN]
async def async_setup_platform(
hass, config, async_add_entities, discovery_info=None):
"""Create the Elk-M1 sensor platform."""
... | apache-2.0 |
huihoo/olat | olat7.8/src/main/java/org/olat/presentation/portfolio/artefacts/run/details/FileArtefactDetailsController.java | 8046 | /**
* OLAT - Online Learning and Training<br>
* http://www.olat.org
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); <br>
* you may not use this file except in compliance with the License.<br>
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* ... | apache-2.0 |
coding0011/elasticsearch | x-pack/plugin/watcher/src/main/java/org/elasticsearch/xpack/watcher/rest/action/RestActivateWatchAction.java | 4724 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.watcher.rest.action;
import org.apache.loggi... | apache-2.0 |
linqiangl/compatibility-detector | src/detectors/mouse_enter_leave.js | 4046 | /**
* Copyright 2010 Google Inc.
*
* 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 t... | apache-2.0 |
Lawouach/weave | nameserver/mdns_lookup.go | 1026 | package nameserver
import (
"github.com/miekg/dns"
. "github.com/zettio/weave/common"
"net"
)
func mdnsLookup(client *MDNSClient, name string, qtype uint16) (*Response, error) {
channel := make(chan *Response)
client.SendQuery(name, qtype, channel)
for resp := range channel {
if err := resp.Err; err != nil {
... | apache-2.0 |
apache/solr | solr/modules/analytics/src/java/org/apache/solr/analytics/stream/reservation/read/FloatCheckedDataReader.java | 1297 | /*
* 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 ... | apache-2.0 |
philips/shortbread | Godeps/_workspace/src/code.google.com/p/go.crypto/ssh/agent/server.go | 4510 | // Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package agent
import (
"crypto/rsa"
"encoding/binary"
"fmt"
"io"
"log"
"math/big"
"github.com/coreos/shortbread/Godeps/_workspace/src/code.google.com/p... | apache-2.0 |
sergecodd/FireFox-OS | B2G/gecko/widget/gtk2/nsScreenGtk.cpp | 4454 | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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/. */
#include "nsScreenGtk.h"
#include... | apache-2.0 |
neozhu/WebFormsScaffolding | Samples.CS/3_Associations/Products/Default.aspx.cs | 776 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.Entity;
using Samples.Associations;
using Samples.Models;
namespace Samples._3_Associations.Products
{
public partial class Default : System.Web.UI.Page
... | apache-2.0 |
rsimha-amp/amphtml | extensions/amp-story-dev-tools/0.1/amp-story-dev-tools-tab-debug.js | 7804 | /**
* Copyright 2020 The AMP HTML 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 require... | apache-2.0 |
stevem999/gocd | server/src/test-fast/java/com/thoughtworks/go/config/update/RoleConfigCreateCommandTest.java | 3489 | /*
* Copyright 2017 ThoughtWorks, Inc.
*
* 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 agr... | apache-2.0 |
kuFEAR/crest | core/src/main/java/org/codegist/crest/param/DefaultCookieParamProcessor.java | 1700 | /*
* Copyright 2011 CodeGist.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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | apache-2.0 |
barnyard/p2p-core | src/test/java/com/bt/pi/core/past/content/DhtContentTypeTest.java | 171 | package com.bt.pi.core.past.content;
import org.junit.Test;
public class DhtContentTypeTest {
@Test
public void create() {
new DhtContentType();
}
}
| apache-2.0 |
ernestp/consulo | platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/internal/ExternalSystemResolveProjectTask.java | 3217 | package com.intellij.openapi.externalSystem.service.internal;
import com.intellij.openapi.components.ServiceManager;
import com.intellij.openapi.externalSystem.model.DataNode;
import com.intellij.openapi.externalSystem.model.ProjectSystemId;
import com.intellij.openapi.externalSystem.model.project.ProjectData;
import ... | apache-2.0 |
WDAqua/openQA | openqa.engine/src/main/java/org/aksw/openqa/component/PluginProcessProvider.java | 2474 | package org.aksw.openqa.component;
import java.util.ArrayList;
import java.util.List;
import org.aksw.openqa.component.context.IContext;
import org.aksw.openqa.component.object.IParams;
import org.aksw.openqa.component.object.IResult;
import org.aksw.openqa.component.object.Result;
import org.aksw.openqa.component.pr... | apache-2.0 |
cloudnautique/cloud-cattle | code/iaas/agent-instance/src/main/java/io/cattle/platform/agent/instance/service/AgentInstanceManager.java | 643 | package io.cattle.platform.agent.instance.service;
import io.cattle.platform.core.model.Agent;
import io.cattle.platform.core.model.Instance;
import io.cattle.platform.core.model.NetworkServiceProvider;
import io.cattle.platform.core.model.Nic;
import java.util.List;
import java.util.Map;
public interface AgentInsta... | apache-2.0 |
crazycode/weixin-java-tools | weixin-java-mp/src/test/java/me/chanjar/weixin/mp/api/WxMpBaseAPITest.java | 1069 | package me.chanjar.weixin.mp.api;
import com.google.inject.Inject;
import me.chanjar.weixin.common.exception.WxErrorException;
import me.chanjar.weixin.mp.api.test.ApiTestModule;
import org.apache.commons.lang3.StringUtils;
import org.testng.*;
import org.testng.annotations.*;
/**
* 基础API测试
*
* @author chanjarster... | apache-2.0 |
dunkhong/grr | grr/server/grr_response_server/gui/static/angular-components/hunt/hunt-crashes-directive.js | 1645 | goog.module('grrUi.hunt.huntCrashesDirective');
goog.module.declareLegacyNamespace();
/** @type {number} */
let AUTO_REFRESH_INTERVAL_MS = 20 * 1000;
/**
* Sets the delay between automatic refreshes.
*
* @param {number} millis Interval value in milliseconds.
* @export
*/
exports.setAutoRefreshInterval = functi... | apache-2.0 |
sbespalov/strongbox | strongbox-storage/strongbox-storage-core/src/main/java/org/carlspring/strongbox/storage/routing/MutableRoutingRule.java | 2661 | package org.carlspring.strongbox.storage.routing;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
/**
* @author mtodorov
* @author Pablo Tirado
*/
public class MutableRoutingRule
implements Serializable
{
private UUID uuid;
private String sto... | apache-2.0 |
whorbowicz/intellij-scala | scalap/src/scala/tools/scalap/scalax/rules/scalasig/ScalaSigPrinter.scala | 29335 | /* ___ ____ ___ __ ___ ___
** / _// __// _ | / / / _ | / _ \ Scala classfile decoder
** __\ \/ /__/ __ |/ /__/ __ |/ ___/ (c) 2003-2010, LAMP/EPFL
** /____/\___/_/ |_/____/_/ |_/_/ http://scala-lang.org/
**
*/
package scala.tools.scalap
package scalax
package rules
package scalasig
import java.... | apache-2.0 |
AludraTest/aludratest-tutorial | ikea-search/src/test/java/org/aludratest/tutorial/ikea/search/IkeaSearchResultUIMap.java | 2099 | package org.aludratest.tutorial.ikea.search;
import org.aludratest.service.gui.component.Button;
import org.aludratest.service.gui.component.InputField;
import org.aludratest.service.gui.component.Label;
import org.aludratest.service.gui.web.AludraWebGUI;
import org.aludratest.service.gui.web.uimap.UIMap;
import org.a... | apache-2.0 |
coreswitch/zebra | vendor/github.com/coreswitch/openconfigd/config/dhcp.go | 13814 | // Copyright 2016, 2017 OpenConfigd Project.
//
// 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 o... | apache-2.0 |
Zodia/poc-tijari-mobile | dojoLib/toolkit/dojo/dojo/cldr/nls/number.js | 4328 | define({ root:
//begin v1.x content
{
"scientificFormat": "#E0",
"currencySpacing-afterCurrency-currencyMatch": "[:^S:]",
"infinity": "∞",
"list": ";",
"percentSign": "%",
"minusSign": "-",
"currencySpacing-beforeCurrency-surroundingMatch": "[:digit:]",
"decimalFormat-short": "000T",
"currencySpacing-afterCur... | apache-2.0 |
STMicroelectronics/cmsis_core | docs/SVD/html/search/all_1.js | 120 | var searchData=
[
['file_20conventions',['File Conventions',['../svd_xml_conventions_gr.html',1,'svd_Format_pg']]]
];
| apache-2.0 |
jagatsingh/ambari-shell | src/test/java/com/sequenceiq/ambari/shell/commands/UsersCommandsTest.java | 1628 | /**
* 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... | apache-2.0 |