repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
bryson/packer | builder/virtualbox/common/vboxbundle_config_test.go | 638 | package common
import (
"reflect"
"testing"
)
func TestVBoxBundleConfigPrepare_VBoxBundle(t *testing.T) {
// Test with empty
c := new(VBoxBundleConfig)
errs := c.Prepare(testConfigTemplate(t))
if len(errs) > 0 {
t.Fatalf("err: %#v", errs)
}
if !reflect.DeepEqual(*c, VBoxBundleConfig{BundleISO: false}) {
... | mpl-2.0 |
clientIO/joint | demo/links/custom-links.html | 751 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf8"/>
<title>Custom Link</title>
<link rel="stylesheet" type="text/css" href="../../build/joint.css" />
<style>
#paper {
display: inline-block;
border: 1px solid gray;
}
</s... | mpl-2.0 |
adevress/armadillo | include/armadillo_bits/operator_cube_minus.hpp | 4562 | // Copyright (C) 2008-2015 Conrad Sanderson
// Copyright (C) 2008-2015 NICTA (www.nicta.com.au)
//
// 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/.
//! \addtogroup ... | mpl-2.0 |
Yukarumya/Yukarum-Redfoxes | layout/reftests/columns/margin-collapsing-bug616722-1.html | 1638 | <!DOCTYPE html>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>616722-1</title>
<style type="text/css">
body,html { margin:0;padding: 10px;}
p { margin: 3px 0; background:pink; }
div {
background-color:lime;
margin... | mpl-2.0 |
mgax/czl-scrape | munca/src/main/java/ro/code4/czl/scrape/client/representation/PublicationRepresentation.java | 4287 | package ro.code4.czl.scrape.client.representation;
import java.util.List;
/**
* @author Ionut-Maxim Margelatu (ionut.margelatu@gmail.com)
*/
public class PublicationRepresentation {
private String identifier;
private String title;
private String type;
private String institution;
private String date;
pr... | mpl-2.0 |
sunclx/anki | anki/latex.py | 4659 | # -*- coding: utf-8 -*-
# Copyright: Damien Elmes <anki@ichi2.net>
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
import re, os, shutil, cgi
from anki.utils import checksum, call, namedtmp, tmpdir, isMac, stripHTML
from anki.hooks import addHook
from anki.lang import _
# if you modify ... | agpl-3.0 |
Asqatasun/Asqatasun | rules/rules-accessiweb2.2/src/test/resources/testcases/accessiweb22/Aw22Rule06042/AW22.Test.06.04.02-2Failed-02.html | 900 | <!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>AW22 Test.6.4.2 Failed 02</title>
... | agpl-3.0 |
prusa3d/Slic3r | src/libigl/igl/average_onto_faces.cpp | 1017 | // This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2013 Alec Jacobson <alecjacobson@gmail.com>
//
// 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 htt... | agpl-3.0 |
ll22145683/cdw11_2 | static/content/a/g1/40223153-20160429.md | 1006 | Title: 40223153 cdw11 報告
Category:ag1_40223153
Tags: 40223153, cdw11
Author: 40223153
啟動 cdw11 協同專案
<!-- PELICAN_END_SUMMARY -->
pelican 網誌位置: <a href="http:ag1_4022315311-ag100.rhcloud.com/static/">http:ag1_4022315311-ag100.rhcloud.com/static/</a>
分組程式: <a href="httag1_40223153dw11-ag100.rhcloud.com/option">httag1_... | agpl-3.0 |
ppy/osu-web | resources/lang/it/livestreams.php | 759 | <?php
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
// See the LICENCE file in the repository root for full licence text.
return [
'promote' => [
'pin' => 'Sei sicuro di voler promuovere questa trasmissione in diretta?',
'unpin' => "Sei s... | agpl-3.0 |
matematikk-mooc/canvas-lms | db/migrate/20160616151853_moderated_grading_foreign_key_indexes.rb | 933 | class ModeratedGradingForeignKeyIndexes < ActiveRecord::Migration[4.2]
tag :postdeploy
disable_ddl_transaction!
def change
add_index :submission_comments, :provisional_grade_id, where: "provisional_grade_id IS NOT NULL", algorithm: :concurrently
add_index :moderated_grading_provisional_grades, :source_pr... | agpl-3.0 |
curoverse/l7g | tools/cglf-tools/dlug/.save/cp2/dlug.go | 9203 | package dlug
// 0,1,2,3,4,5,6,7,8
var ByteLen []int = []int{1,2,3,4,5,6,8,9,17}
var PfxBitLen []int = []int{1,2,3,5,5,5,8,8,8}
var BitLen []uint = []uint{7,14,21,27,35,43,56,64,128}
var Pfx []byte = []byte{0,0x80,0xc0,0xe0,0xe8,0xf0,0xf8,0xf9,0xfa,0xff}
func Check(d []byte) bool {
if len... | agpl-3.0 |
ghostx2013/FabricEngine_Backup | Native/Core/MR/ConstArray.cpp | 3557 | /*
* Copyright 2010-2012 Fabric Engine Inc. All rights reserved.
*/
#include <Fabric/Core/MR/ConstArray.h>
#include <Fabric/Core/RT/FixedArrayDesc.h>
#include <Fabric/Core/RT/Manager.h>
#include <Fabric/Core/RT/VariableArrayDesc.h>
#include <Fabric/Base/JSON/Decoder.h>
#include <Fabric/Base/JSON/Encoder.h>
#include... | agpl-3.0 |
roskens/opennms-pre-github | opennms-config-model/src/main/java/org/opennms/netmgt/config/service/Value.java | 5047 | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2011-2014 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | agpl-3.0 |
wlwwt/shopware | vendor/google/proto-client/src/Google/Cloud/Dlp/V2beta1/BucketingConfig_Bucket.php | 3854 | <?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/privacy/dlp/v2beta1/dlp.proto
namespace Google\Cloud\Dlp\V2beta1;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Buckets represented as ranges, along with ... | agpl-3.0 |
alfredoavanzosc/odoo-addons | stock_information/models/sale_order_line.py | 1803 | # -*- coding: utf-8 -*-
# (c) 2016 Alfredo de la Fuente - AvanzOSC
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
from openerp import models, fields, api
from dateutil.relativedelta import relativedelta
class saleOrderLine(models.Model):
_inherit = 'sale.order.line'
@api.multi
@api.dep... | agpl-3.0 |
jondo/paperpile | plack/perl5/linux64/base/unicore/lib/bc/ON.pl | 1689 | # !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
# This file is built by mktables from e.g. UnicodeData.txt.
# Any changes made here will be lost!
#
# BidiClass category 'Other_Neutral'
#
return <<'END';
0021 0022
0026 002A
003B 0040
005B 0060
007B 007E
00A1
00A6 00A9
00AB 00AC
00AE 00AF
00B4
00B6 00B8
00BB 0... | agpl-3.0 |
yipenggao/moose | docs/content/documentation/modules/phase_field/MultiPhase/KKSMultiComponentExample.md | 1221 | # Kim-Kim-Suzuki Example for three or more components
!listing modules/phase_field/examples/kim-kim-suzuki/kks_example_ternary.i
When additional chemical components are added to the KKS model, a Cahn-Hilliard
equation must be added for each additional component. (For $n$ components, $n-1$
Cahn-Hilliard equations are ... | lgpl-2.1 |
Adam5Wu/Arduino | cores/esp8266/gdb_hooks.c | 1357 | /*
gdb_hooks.c - Default (no-op) hooks for GDB Stub library
Copyright (c) 2018 Ivan Grokhotkov. All right 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... | lgpl-2.1 |
jbarriosc/ACSUFRO | LGPL/Tools/loki/ws/include/lokiMultiMethods.h | 15676 | ////////////////////////////////////////////////////////////////////////////////
// The Loki Library
// Copyright (c) 2001 by Andrei Alexandrescu
// This code accompanies the book:
// Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design
// Patterns Applied". Copyright (c) 2001. Addison-Wesley.
... | lgpl-2.1 |
ramiusGitHub/WCF | wcfsetup/install/files/lib/data/bbcode/BBCodeEditor.class.php | 812 | <?php
namespace wcf\data\bbcode;
use wcf\data\DatabaseObjectEditor;
use wcf\data\IEditableCachedObject;
use wcf\system\cache\builder\BBCodeCacheBuilder;
/**
* Provides functions to edit bbcodes.
*
* @author Alexander Ebert
* @copyright 2001-2015 WoltLab GmbH
* @license GNU Lesser General Public License <http://o... | lgpl-2.1 |
clutter-project/clutter-box2d | box2d/Documentation/API/classb2_stack_allocator-members.html | 2669 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Box2D: Member List</title>
<link href="tabs.css" rel="stylesheet" type=... | lgpl-2.1 |
svallaghe/libmesh | contrib/netcdf/4.4.1.1/nc_test4/tst_knmi.c | 2561 | /** \file
Performance test from KNMI.
Copyright 2009, UCAR/Unidata. See \ref copyright file for copying and
redistribution conditions.
*/
#include <nc_tests.h>
#include "err_macros.h"
#include <time.h>
#include <sys/time.h>
#include <unistd.h>
#define FILE_NAME_1 "MSGCPP_CWP_NC3.nc"
#define FILE_NAME_2 "MSGCPP_CWP_... | lgpl-2.1 |
modolabs/Kurogo-Mobile-Web | app/modules/athletics/AthleticsShellModule.php | 3854 | <?php
/*
* Copyright © 2010 - 2013 Modo Labs Inc. All rights reserved.
*
* The license governing the contents of this file is located in the LICENSE
* file located at the root directory of this distribution. If the LICENSE file
* is missing, please contact sales@modolabs.com.
*
*/
includePackage('News');
inclu... | lgpl-2.1 |
farseerri/git_code | src/plugins/qnx/blackberryconfigurationmanager.h | 4692 | /**************************************************************************
**
** Copyright (C) 2014 BlackBerry Limited. All rights reserved.
**
** Contact: BlackBerry (qt@blackberry.com)
** Contact: KDAB (info@kdab.com)
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid co... | lgpl-2.1 |
adfernandes/pcp | qa/src/disk_test.c | 3204 | /*
* Copyright (c) 1997-2002 Silicon Graphics, Inc. All Rights Reserved.
*/
#include <pcp/pmapi.h>
#include "libpcp.h"
static int listOne[2];
#define LEN(l) (sizeof(l)/sizeof(l[0]))
static const char *namelist[] = {
"disk.dev.read"
};
#define NCONTEXTS 2
int
main(int argc, char **argv)
{
int e, i;
... | lgpl-2.1 |
libvirt/libvirt | src/storage_file/storage_file_probe.c | 32781 | /*
* storage_file_probe.c: file utility functions for FS storage backend
*
* Copyright (C) 2007-2017 Red Hat, Inc.
* Copyright (C) 2007-2008 Daniel P. Berrange
*
* 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... | lgpl-2.1 |
maui-packages/qt-creator | src/plugins/remotelinux/packageuploader.cpp | 4820 | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... | lgpl-2.1 |
apetresc/JFreeChart | src/main/java/org/jfree/chart/plot/DefaultDrawingSupplier.java | 18055 | /* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2008, by Object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreech... | lgpl-2.1 |
dlatnikov/jagger | chassis/invokers/src/main/java/com/griddynamics/jagger/invoker/http/HttpQuery.java | 3338 | /*
* Copyright (c) 2010-2012 Grid Dynamics Consulting Services, Inc, All Rights Reserved
* http://www.griddynamics.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 Software Foundation; either
* versi... | lgpl-2.1 |
timthelion/FreeCAD | src/Mod/Fem/App/FemMesh.h | 5629 | /***************************************************************************
* Copyright (c) Jürgen Riegel (juergen.riegel@web.de) 2009 *
* *
* This file is part of the FreeCAD CAx development system. *
* ... | lgpl-2.1 |
sunblithe/qt-everywhere-opensource-src-4.7.1 | examples/tutorials/addressbook/part2/main.cpp | 2274 | /****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You m... | lgpl-2.1 |
instarcam/InstarVision-Android | ffmpeg/libavcodec/apedec.c | 51236 | /*
* Monkey's Audio lossless audio decoder
* Copyright (c) 2007 Benjamin Zores <ben@geexbox.org>
* based upon libdemac from Dave Chapman.
*
* 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 publi... | lgpl-2.1 |
pascalprimer/DataStructure | TestCode/TrainTest/Station.hpp | 3065 | #ifndef SJTU_STATION_HPP
#define SJTU_STATION_HPP
#include <string>
#include "Date.hpp"
#include "lib/pair.hpp"
#include "lib/vector.hpp"
using std::string;
namespace sjtu {
class Station {
public:
const static int MAXN = 2000;
struct Node {
double price;
string level;
int left_n;
Node(double _pri... | lgpl-3.0 |
xautlx/s2jh | common-service/src/main/java/lab/s2jh/ctx/FreemarkerService.java | 4142 | package lab.s2jh.ctx;
import java.io.File;
import java.io.IOException;
import java.io.StringWriter;
import java.util.Map;
import lab.s2jh.core.exception.ServiceException;
import lab.s2jh.core.service.PropertiesConfigService;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.StringUtils;
import ... | lgpl-3.0 |
Alfresco/community-edition | projects/repository/source/test-java/org/alfresco/repo/tenant/MultiTNodeServiceInterceptorTest.java | 4003 | /*
* #%L
* Alfresco Repository
* %%
* 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... | lgpl-3.0 |
LebedevRI/gegl | tests/buffer/tests/mipmap_set2.c | 1275 | TEST ()
{
GeglBuffer *buffer2, *buffer;
GeglRectangle bound = {0, 0, 20, 20};
//GeglRectangle source = {2, 2, 5, 5};
GeglRectangle dest = {4, 4, 5, 5};
float *blank = g_malloc0 (100000);
gchar *temp = g_malloc0 (100000);
test_start ();
buffer2 = gegl_buffer_new (&bound, babl_format ("Y float"));
... | lgpl-3.0 |
chafca/p2pEngine | build/html/loginForm.html | 787 | <div id="login">
<input type="button" id="bootstrapSetting" value="Bootstrap Settings" onclick="includeBoostrapSetting();" />
<h1>Sign In</h1>
<p class="feedbackBox" onclick="clearFeedback();"></p>
<p>
<label class="label" id="label_username">Username : </label>
<input type="text" id="username" name="user... | lgpl-3.0 |
ricardorcr/fenixedu-academic | src/main/java/org/fenixedu/academic/domain/Shift.java | 22904 | /**
* Copyright © 2002 Instituto Superior Técnico
*
* This file is part of FenixEdu Academic.
*
* FenixEdu Academic 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 |
marieke-bijlsma/molgenis | molgenis-data-annotators/src/test/java/org/molgenis/data/annotation/resources/impl/ResourceImplTest.java | 2417 | package org.molgenis.data.annotation.resources.impl;
import static org.mockito.Mockito.when;
import java.io.File;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
import org.molgenis.data.Query;
import org.molgenis.data.annotation.resources.ResourceConfig;
import org.molgenis.data.support.QueryImpl;
i... | lgpl-3.0 |
deib-polimi/SPF2 | sPFFramework/src/main/java/it/polimi/spf/framework/services/SPFServiceRegistry.java | 5348 | /*
* Copyright 2014 Jacopo Aliprandi, Dario Archetti
*
* This file is part of SPF.
*
* SPF 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)... | lgpl-3.0 |
BayRu/log4r | src/log4r/formatter/log4jxmlformatter.rb | 1699 | # :include: ../rdoc/log4jxmlformatter
#
# == Other Info
#
# Version:: $Id$
require "log4r/formatter/formatter"
require "rubygems"
require "builder"
module Log4r
class Log4jXmlFormatter < BasicFormatter
def format(logevent)
logger = logevent.fullname.gsub('::', '.')
timestamp = (Time.now.to_f ... | lgpl-3.0 |
jimdowling/nat-traverser | network/netty/src/main/java/se/sics/gvod/net/MessageCounter.java | 2282 | package se.sics.gvod.net;
import io.netty.channel.ChannelDuplexHandler;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelPromise;
import io.netty.util.concurrent.Future;
import io.netty.util.concurrent.GenericFutureListener;
import java.util.List;
import java.util.concurrent.atom... | lgpl-3.0 |
Soya93/Extract-Refactoring | plugins/yaml/src/org/jetbrains/yaml/completion/YamlKeyCompletionInsertHandler.java | 4294 | package org.jetbrains.yaml.completion;
import com.intellij.codeInsight.completion.InsertHandler;
import com.intellij.codeInsight.completion.InsertionContext;
import com.intellij.codeInsight.lookup.LookupElement;
import com.intellij.openapi.command.WriteCommandAction;
import com.intellij.openapi.editor.Document;
import... | apache-2.0 |
Lucas1313/miesner | www/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/lightbox/static/shutter_reloaded/nextgen_shutter_reloaded.js | 397 | jQuery(function($){
var callback = function(){
var shutterLinks = {}, shutterSets = {}; shutterReloaded.Init();
};
$(this).bind('refreshed', callback);
$(document).on('lazy_resources_loaded', function(){
var flag = 'shutterReloaded';
if (typeof($(window).data(flag)) == 'undefined')
$(... | apache-2.0 |
jagatsingh/bigtop | bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/store/StoreLocationIncomePDF.java | 2116 | /**
* 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 |
squeek502/lit | commands/unclaim.lua | 155 | return function ()
local core = require('core')()
if #args ~= 2 then
error("Usage: lit unclaim orgname")
end
assert(core.unclaim(args[2]))
end
| apache-2.0 |
zer0se7en/netty | buffer/src/test/java/io/netty/buffer/PooledLittleEndianHeapByteBufTest.java | 1146 | /*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you 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... | apache-2.0 |
iLordTony/Strongfit | StrongFit/web/Fuentes/Anagram-fontfacekit/web fonts/anagram_regular_macroman/Anagram-demo.html | 24069 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="https://ajax.googleapis.com/ajax/lib... | apache-2.0 |
ilinum/intellij-scala | test/org/jetbrains/plugins/scala/annotator/ParametersAnnotatorTest.scala | 3448 | package org.jetbrains.plugins.scala
package annotator
import org.intellij.lang.annotations.Language
import org.jetbrains.plugins.scala.base.SimpleTestCase
import org.jetbrains.plugins.scala.extensions._
import org.jetbrains.plugins.scala.lang.psi.api.statements.ScParameterOwner
import org.jetbrains.plugins.scala.lang.... | apache-2.0 |
stoksey69/googleads-java-lib | modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201405/LineItemCreativeAssociationOperationErrorReason.java | 1675 |
package com.google.api.ads.dfp.jaxws.v201405;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for LineItemCreativeAssociationOperationError.Reason.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <... | apache-2.0 |
wangcy6/storm_app | frame/c++/webrtc-master/media/base/fakevideorenderer.h | 4408 | /*
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | apache-2.0 |
dbushong/crush-tools | src/libcrush/test/mempool_test.c | 2499 | /*****************************************
Copyright 2008 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 requir... | apache-2.0 |
john9x/jdbi | core/src/test/java/org/jdbi/v3/core/qualifier/QualifiedConstructorParamThing.java | 1607 | /*
* 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 u... | apache-2.0 |
juanavelez/hazelcast | hazelcast/src/test/java/com/hazelcast/cache/recordstore/CacheRecordStoreTestSupport.java | 5087 | /*
* Copyright (c) 2008-2017, Hazelcast, 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 ... | apache-2.0 |
cloudfoundry/v3-cli-plugin | vendor/code.cloudfoundry.org/cli/cf/commands/user/org_users_test.go | 15566 | package user_test
import (
"code.cloudfoundry.org/cli/cf/api/apifakes"
"code.cloudfoundry.org/cli/cf/commandregistry"
"code.cloudfoundry.org/cli/cf/configuration/coreconfig"
"code.cloudfoundry.org/cli/cf/models"
"code.cloudfoundry.org/cli/cf/requirements"
"code.cloudfoundry.org/cli/cf/requirements/requirementsfa... | apache-2.0 |
devigned/azure-powershell | src/Common/Commands.Common.Network/Version2017_10_01/Models/VirtualNetworkGatewayIPConfiguration.cs | 4565 | // <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... | apache-2.0 |
Oleh-Kravchenko/kaa | server/common/server-shared/src/main/java/org/kaaproject/kaa/server/common/plugin/PluginConfig.java | 1376 | /*
* Copyright 2014-2016 CyberVision, 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 o... | apache-2.0 |
jakubschwan/jbpm | jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/services/task/impl/model/xml/JaxbFaultData.java | 2814 | package org.jbpm.services.task.impl.model.xml;
import static org.jbpm.services.task.impl.model.xml.AbstractJaxbTaskObject.unsupported;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;... | apache-2.0 |
forcedotcom/scrollerjs | src/config.js | 6867 | /*
* Copyright (C) 2013 salesforce.com, 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 ... | apache-2.0 |
mdecourci/assertj-core | src/test/java/org/assertj/core/api/iterable/Iterable_generics_with_varargs_Test.java | 1467 | /**
* 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 ... | apache-2.0 |
googleapis/google-api-java-client-services | clients/google-api-services-classroom/v1/1.29.2/com/google/api/services/classroom/model/DriveFile.java | 3882 | /*
* 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 |
raindev/testng | src/main/java/org/testng/ITestResult.java | 2332 | package org.testng;
/**
* This class describes the result of a test.
*
* @author Cedric Beust, May 2, 2004
* @since May 2, 2004
* @version $Revision: 721 $, $Date: 2009-05-23 09:55:46 -0700 (Sat, 23 May 2009) $
*
*/
public interface ITestResult extends IAttributes, Comparable<ITestResult> {
//
// Test sta... | apache-2.0 |
lannka/amphtml | extensions/amp-brightcove/0.1/test/test-amp-brightcove.js | 10948 | /**
* Copyright 2015 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 |
zachjanicki/osf.io | website/views.py | 7843 | # -*- coding: utf-8 -*-
import logging
import itertools
import math
import urllib
import httplib as http
from modularodm import Q
from modularodm.exceptions import NoResultsFound
from flask import request
from framework import utils
from framework import sentry
from framework.auth.core import User
from framework.flas... | apache-2.0 |
knative/test-infra | vendor/github.com/google/go-containerregistry/pkg/authn/authn.go | 1409 | // Copyright 2018 Google LLC 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 l... | apache-2.0 |
Stratio/streaming-cep-engine | engine/src/test/java/com/stratio/decision/unit/engine/validator/MongoNameRegularExpressionValidatorTest.java | 1609 | /**
* Copyright (C) 2014 Stratio (http://stratio.com)
*
* 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 ap... | apache-2.0 |
MarkDacek/commons-lang | src/test/java/org/apache/commons/lang3/NotImplementedExceptionTest.java | 2682 | /*
* 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 |
Qining/gapid | cmd/gapit/stresstest.go | 2609 | // Copyright (C) 2017 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 |
rabipanda/tensorflow | tensorflow/contrib/data/python/kernel_tests/filter_dataset_op_test.py | 7371 | # Copyright 2017 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... | apache-2.0 |
pperboires/PocDrools | drools-core/src/main/java/org/drools/conflict/AbstractConflictResolver.java | 1213 | /*
* Copyright 2005 JBoss 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 i... | apache-2.0 |
WindCanDie/spark | core/src/main/scala/org/apache/spark/ui/HttpSecurityFilter.scala | 4296 | /*
* 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 |
danilaml/qreal | qrxc/graphicType.cpp | 17325 | /* Copyright 2007-2016 QReal Research Group
*
* 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... | apache-2.0 |
jawi/ApacheAnt.docset | Contents/Resources/Documents/api/org/apache/tools/ant/taskdefs/optional/junit/CustomJUnit4TestAdapterCache.html | 14752 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_27) on Mon Jul 08 20:19:16 CEST 2013 -->
<TITLE>
CustomJUnit4TestAdapterCache (Apache Ant API)
</TITLE>
<META NAME="date" CONTENT="2013-07-08">
<LI... | apache-2.0 |
AlanJager/zstack | sdk/src/main/java/org/zstack/sdk/iam2/entity/StateEvent.java | 83 | package org.zstack.sdk.iam2.entity;
public enum StateEvent {
enable,
disable,
}
| apache-2.0 |
fbudin69500/ITK | Modules/ThirdParty/GDCM/src/gdcm/Source/DataStructureAndEncodingDefinition/gdcmDataSet.h | 11051 | /*=========================================================================
Program: GDCM (Grassroots DICOM). A DICOM library
Copyright (c) 2006-2011 Mathieu Malaterre
All rights reserved.
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
This software is distributed WITHOUT A... | apache-2.0 |
kohsuke/jboss-marshalling | river/src/test/java/org/jboss/marshalling/river/ReadWriteTest.java | 2135 | /*
* JBoss, Home of Professional Open Source.
* Copyright 2014 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* 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 Licen... | apache-2.0 |
nealwangzi/ZFTabBar | ZFTabBar/ZFTabBar/Class/FirstViewController.h | 248 | //
// FirstViewController.h
// TabBarTest
//
// Created by 任子丰 on 15/9/9.
// Copyright (c) 2015年 任子丰. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface FirstViewController : UITableViewController
- (void)refrshUI;
@end
| apache-2.0 |
dneuman64/traffic_control | traffic_monitor/experimental/traffic_monitor/manager/lastkbpsstats.go | 756 | package manager
import (
ds "github.com/Comcast/traffic_control/traffic_monitor/experimental/traffic_monitor/deliveryservice"
"sync"
)
type LastStatsThreadsafe struct {
stats *ds.LastStats
m *sync.RWMutex
}
func NewLastStatsThreadsafe() LastStatsThreadsafe {
s := ds.NewLastStats()
return LastStatsThreadsaf... | apache-2.0 |
shaneknapp/spark | sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/v2/DataSourceV2StrategySuite.scala | 1898 | /*
* 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 |
jhrcek/kie-wb-common | kie-wb-common-stunner/kie-wb-common-stunner-sets/kie-wb-common-stunner-bpmn/kie-wb-common-stunner-bpmn-backend/src/main/java/org/kie/workbench/common/stunner/bpmn/backend/legacy/profile/impl/DefaultProfileImpl.java | 13298 | /*
* Copyright 2016 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... | apache-2.0 |
seryl/go-docker-registry | src/registry/config/config.go | 474 | package config
import (
"encoding/json"
"registry/api"
"registry/storage"
"os"
)
type Config struct {
API *api.Config `json:"api"`
Storage *storage.Config `json:"storage"`
}
func New(filename string) (*Config, error) {
// read in config
var cfg Config
if cfgFile, err := os.Open(filename); err != nil... | apache-2.0 |
Rikkola/guvnor | droolsjbpm-ide-common/src/main/java/org/drools/ide/common/client/factconstraints/dataprovider/FieldDataProvider.java | 1045 | /*
* Copyright 2010 JBoss 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 i... | apache-2.0 |
mtaal/olingo-odata4-jpa | lib/client-core/src/main/java/org/apache/olingo/client/core/http/HttpMerge.java | 1741 | /*
* 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 |
rectang/lucy-clownfish | runtime/python/src/clownfish/__init__.py | 846 | # 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 not use ... | apache-2.0 |
mitsuhiko/rust | src/test/run-pass/xc_conditions_client.rs | 1358 | // Copyright 2012 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or ... | apache-2.0 |
Brocade-OpenSource/OpenStack-DNRM-Nova | nova/service.py | 15048 | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2010 United States Government as represented by the
# Administrator of the National Aeronautics and Space Administration.
# Copyright 2011 Justin Santa Barbara
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
#... | apache-2.0 |
apache/jackrabbit-ocm | src/test/java/org/apache/jackrabbit/ocm/manager/collectionconverter/DigesterHashMapTest.java | 5619 | /*
* 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 |
robin13/elasticsearch | x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/DataTier.java | 6329 | /*
* 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.core;
import org.apache.logging.l... | apache-2.0 |
apache/cloudstack-www | source/api/apidocs-4.14/apis/updateVmwareDc.html | 7226 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../includes/m... | apache-2.0 |
LosFuzzys/CTFd | CTFd/users.py | 2090 | from flask import Blueprint, render_template, request, url_for
from CTFd.models import Users
from CTFd.utils import config
from CTFd.utils.decorators import authed_only
from CTFd.utils.decorators.visibility import (
check_account_visibility,
check_score_visibility,
)
from CTFd.utils.helpers import get_errors, ... | apache-2.0 |
DonLuc/Atajo-TD | provider/node_modules/npm/html/doc/cli/npm-uninstall.html | 4572 | <!doctype html>
<html>
<title>npm-uninstall</title>
<meta http-equiv="content-type" value="text/html;utf-8">
<link rel="stylesheet" type="text/css" href="../../static/style.css">
<link rel="canonical" href="https://www.npmjs.org/doc/cli/npm-uninstall.html">
<script async=true src="../../static/toc.js"></scrip... | apache-2.0 |
mrinsss/Full-Repo | tripezi/system/application/libraries/multilanguage/TMXParser.php | 4332 | <?php
/*
private variable and functions are prefixed with underscore('_')
*/
require_once('TranslationContainer.php');
class TMXParser {
private $_parser = null;
private $_xmlFile = null;
private $_currentTuid = null;
private $_boolSeg = false;
private $_currentLanguage = null;
private $_curre... | apache-2.0 |
davidkarlsen/camel | components/camel-undertow/src/test/java/org/apache/camel/component/undertow/rest/RestUndertowHttpGetCorsTest.java | 5600 | /*
* 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 |
Fabryprog/camel | docs/components/modules/ROOT/examples/core/camel-core/src/test/java/org/apache/camel/processor/interceptor/AdviceWithMockMultipleEndpointsWithSkipTest.java | 3016 | /*
* 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 |
synaptek/TypeScript | tests/baselines/reference/importCallExpressionDeclarationEmit2.js | 339 | //// [tests/cases/conformance/dynamicImport/importCallExpressionDeclarationEmit2.ts] ////
//// [0.ts]
export function foo() { return "foo"; }
//// [1.ts]
var p1 = import("./0");
//// [0.js]
export function foo() { return "foo"; }
//// [1.js]
var p1 = import("./0");
//// [0.d.ts]
export declare functi... | apache-2.0 |
holsky/elixir-school | fr/lessons/basics/sigils.md | 6080 | ---
layout: page
title: Sigils
category: basics
order: 10
lang: fr
---
Utilisation et création de sigils.
{% include toc.html %}
## <a name="vue-d-ensemble-des-sigils"></a>Vue d'ensemble des sigils
Elixir fournit une syntaxe alternative pour représenter et travailler avec des valeurs littérales. Un sigil commence a... | apache-2.0 |
caskdata/hadoop_cookbook | recipes/pig.rb | 714 | #
# Cookbook:: hadoop
# Recipe:: pig
#
# Copyright © 2013-2016 Cask Data, 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 req... | apache-2.0 |
rcsanchez97/mongo-c-driver | src/libmongoc/src/mongoc/mongoc-stream-private.h | 1452 | /*
* Copyright 2013-2014 MongoDB, 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 agree... | apache-2.0 |
Donnerbart/hazelcast | hazelcast/src/test/java/com/hazelcast/cache/merge/CacheMergePolicyProviderTest.java | 4605 | /*
* Copyright (c) 2008-2018, Hazelcast, 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 ... | apache-2.0 |