repo_name
stringlengths
4
116
path
stringlengths
3
942
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
jtux270/translate
ovirt/3.6_source/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/providers/NewExternalSubnetModel.java
3910
package org.ovirt.engine.ui.uicommonweb.models.providers; import org.ovirt.engine.core.common.action.AddExternalSubnetParameters; import org.ovirt.engine.core.common.action.VdcActionType; import org.ovirt.engine.core.common.action.VdcReturnValueBase; import org.ovirt.engine.core.common.businessentities.network.Network...
gpl-3.0
Toshiro90/rathena
.github/ISSUE_TEMPLATE/bug_report.md
1633
--- name: Bug report about: Create a report to help us improve title: '' labels: type:bug assignees: '' --- <!-- NOTE: Anything within these brackets will be hidden on the preview of the Issue. --> * **rAthena Hash**: <!-- Please specify the rAthena [GitHub hash](https://help.github.com/articles/autolinked-referen...
gpl-3.0
nmaillat/Phraseanet
lib/classes/media/adapter.php
556
<?php /* * This file is part of Phraseanet * * (c) 2005-2016 Alchemy * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ use Guzzle\Http\Url; class media_adapter extends media_abstract { /** * Constructor * * Enfor...
gpl-3.0
TR-Host/easy-wi-mirror
web/stuff/data/table_easywi_statistics.php
8010
<?php /** * File: table_easywi_statistics.php. * Author: Ulrich Block * Date: 17.10.15 * Contact: <ulrich.block@easy-wi.com> * * This file is part of Easy-WI. * * Easy-WI 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 ...
gpl-3.0
xinhuang327/bugtv
Bugzilla/BugUrl/Bugzilla/Local.pm
2669
# 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. 2.0. ...
mpl-2.0
UK992/servo
tests/wpt/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/canvas-aspect-ratio.html
963
<!doctype html> <title>Canvas width and height attributes are used as the surface size</title> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <style> canvas { width: 100%; max-width: 100px; height: auto; } </style> <body> <script> let t = async_...
mpl-2.0
TeXitoi/navitia
source/calendar/calendar.cpp
2441
/* Copyright © 2001-2014, Canal TP and/or its affiliates. All rights reserved. This file is part of Navitia, the software to build cool stuff with public transport. Hope you'll enjoy and contribute to this project, powered by Canal TP (www.canaltp.fr). Help us simplify mobility and open public transport: ...
agpl-3.0
poiesisconsulting/openerp-restaurant
portal/__openerp__.py
2288
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2012 OpenERP S.A (<http://www.openerp.com>). # # This program is free software: you can redistribute it and/or modify # it under the terms ...
agpl-3.0
ShinDarth/azerothcore-wotlk
src/server/game/Movement/MovementGenerators/HomeMovementGenerator.h
1582
/* * This file is part of the AzerothCore Project. See AUTHORS file for Copyright information * * This program 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 (a...
agpl-3.0
beni55/edx-platform
cms/djangoapps/contentstore/views/tests/test_assets.py
15204
""" Unit tests for the asset upload endpoint. """ from datetime import datetime from io import BytesIO from pytz import UTC import json from django.conf import settings from contentstore.tests.utils import CourseTestCase from contentstore.views import assets from contentstore.utils import reverse_course_url from xmodul...
agpl-3.0
plamut/superdesk
client/app/scripts/superdesk/services/storage.js
1250
define(['angular'], function(angular) { 'use strict'; return angular.module('superdesk.services.storage', []) /** * LocalStorage wrapper * * it stores data as json to keep its type */ .service('storage', function() { /** * Get item f...
agpl-3.0
liuqr/edx-xiaodun
lms/templates/registration/password_reset_confirm.html
5545
{% load i18n %} {% load compressed %} {% load staticfiles %} <!DOCTYPE html> <html lang="{{LANGUAGE_CODE}}"> <head> <title> {% blocktrans with platform_name=platform_name %} Reset Your {{ platform_name }} Password {% endblocktrans %} </title> {% compressed_css 'style-vendor' %} {% compressed_css 'style-...
agpl-3.0
gayathri6/stepstream_salute
lib_old/oembedhelper.php
12206
<?php /* * StatusNet - the distributed open-source microblogging tool * Copyright (C) 2008-2010, StatusNet, Inc. * * This program 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 o...
agpl-3.0
eduNEXT/edx-platform
lms/templates/instructor/instructor_dashboard_2/data_download_2/certificates.html
1344
<%page args="section_data" expression_filter="h"/> <%namespace name='static' file='/static_content.html'/> <%! from django.utils.translation import ugettext as _ from openedx.core.djangolib.markup import HTML, Text %> <section id="certificate" class="idash-section tab-data" aria-labelledby="header-cert"> <h6 c...
agpl-3.0
adrianbrink/tendereum
vendor/github.com/cosmos/tendereum/vendor/github.com/btcsuite/btcd/netsync/manager.go
46884
// Copyright (c) 2013-2017 The btcsuite developers // Use of this source code is governed by an ISC // license that can be found in the LICENSE file. package netsync import ( "container/list" "net" "sync" "sync/atomic" "time" "github.com/btcsuite/btcd/blockchain" "github.com/btcsuite/btcd/chaincfg" "github.c...
agpl-3.0
yscdaxian/goweb
limesurvey/admin/scripts/kcfinder/core/autoload.php
3384
<?php /** This file is part of KCFinder project * * @desc Autoload classes magic function * @package KCFinder * @version 2.21 * @author Pavel Tzonkov <pavelc@users.sourceforge.net> * @copyright 2010 KCFinder Project * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 * @lice...
agpl-3.0
Tejal011089/Medsyn2_app
accounts/doctype/sales_invoice/pos.js
17987
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt erpnext.POS = Class.extend({ init: function(wrapper, frm) { this.wrapper = wrapper; this.frm = frm; this.wrapper.html('<div class="container">\ <div class="row" style="margin: -...
agpl-3.0
lazytech-org/RIOT
cpu/efm32/families/efm32pg1b/include/vendor/efm32pg1b_msc.h
51392
/***************************************************************************//** * @file * @brief EFM32PG1B_MSC register and bit field definitions * @version 5.7.0 ******************************************************************************* * # License * <b>Copyright 2018 Silicon Laboratories Inc. www.silabs.c...
lgpl-2.1
lazytech-org/RIOT
tests/pkg_cn-cbor/main.c
5954
/* * Copyright (C) Lorenz Hüther, Mathias Detmers * * 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 tests * @{ * * @file * @brief Unit tests for pkg cn-cbor...
lgpl-2.1
shabanovd/exist
extensions/svn/src/org/exist/versioning/svn/xquery/SVNCleanup.java
3112
/* * eXist Open Source Native XML Database * Copyright (C) 2010 The eXist Project * http://exist-db.org * * 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 * ...
lgpl-2.1
bob-the-hamster/commandergenius
project/jni/ffmpeg/libavcodec/x86/rv34dsp_init.c
1800
/* * RV30/40 MMX/SSE2 optimizations * Copyright (C) 2012 Christophe Gisquet <christophe.gisquet@gmail.com> * * This file is part of Libav. * * Libav 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 Foundatio...
lgpl-2.1
shakirbsm/dealii
tests/manifold/spherical_manifold_04.cc
2888
// --------------------------------------------------------------------- // // Copyright (C) 2016 by the deal.II authors // // This file is part of the deal.II library. // // The deal.II library is free software; you can use it, redistribute // it, and/or modify it under the terms of the GNU Lesser General // Public Li...
lgpl-2.1
nhminus/jaudiotagger-androidpatch
srctest/org/jaudiotagger/issues/Issue383Test.java
2217
package org.jaudiotagger.issues; import org.jaudiotagger.AbstractTestCase; import org.jaudiotagger.audio.AudioFile; import org.jaudiotagger.audio.AudioFileIO; import org.jaudiotagger.tag.FieldKey; import java.io.File; /** * Test deletions of ID3v1 tag */ public class Issue383Test extends AbstractTestCa...
lgpl-2.1
paulklinkenberg/Lucee4
lucee-java/lucee-core/src/lucee/runtime/functions/query/QueryDeleteRow.java
1691
/** * * Copyright (c) 2014, the Railo Company Ltd. 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) ...
lgpl-2.1
ivassile/wildfly-core
server/src/main/java/org/jboss/as/server/deployment/DeploymentFullReplaceHandler.java
12747
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @authors tag. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
lgpl-2.1
palominolabs/jmagick
src/magick/jmagick.c
21475
#include <jni.h> #include <stdlib.h> #include <string.h> #include <stdio.h> #include <time.h> #include <sys/types.h> #include <magick/api.h> #include "jmagick.h" /* * Convenience function to help throw an MagickException. */ void throwMagickException(JNIEnv *env, const char *mesg) { jclass magickExceptionClass...
lgpl-2.1
ostash/qt-creator-i18n-uk
src/plugins/projectexplorer/currentprojectfind.cpp
3806
/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2012 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** ** GNU Lesser General Public License Usage ** ** This file may be used unde...
lgpl-2.1
mhuwiler/rootauto
interpreter/llvm/src/include/llvm/Transforms/Utils/Local.h
18769
//===-- Local.h - Functions to perform local transformations ----*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
lgpl-2.1
tomck/intermine
intermine/objectstore/main/src/org/intermine/sql/writebatch/BatchWriterPostgresCopyImpl.java
11352
package org.intermine.sql.writebatch; /* * Copyright (C) 2002-2015 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft/less...
lgpl-2.1
tectronics/phantomuserland
phantom/libphantom/init.c
3747
/** * * Phantom OS * * Copyright (C) 2005-2011 Dmitry Zavalishin, dz@dz.ru * * Static constructors runner. General init/stop functions runner. * * **/ #define DEBUG_MSG_PREFIX "init" #include <debug_ext.h> #define debug_level_flow 0 #define debug_level_error 10 #define debug_level_info 10 #...
lgpl-3.0
vigourouxjulien/thelia
setup/update.php
9119
<?php /*************************************************************************************/ /* */ /* Thelia */ /* ...
lgpl-3.0
nawawi/wkhtmltopdf
webkit/Source/WebKit/mac/WebView/WebFullScreenController.h
2443
/* * Copyright (C) 2010, 2011 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of condit...
lgpl-3.0
Tybion/community-edition
projects/repository/source/java/org/alfresco/filesys/repo/rules/operations/OpenFileOperation.java
2566
/* * Copyright (C) 2005-2010 Alfresco Software Limited. * * This file is part of Alfresco * * Alfresco 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 y...
lgpl-3.0
hyller/CodeLibrary
Test_Driven_Development_for_Embedded_C/CppUTest/include/CppUTestExt/MockActualFunctionCall.h
4257
/*** * Excerpted from "Test-Driven Development for Embedded C", * published by The Pragmatic Bookshelf. * Copyrights apply to this code. It may not be used to create training material, * courses, books, articles, and the like. Contact us if you are in doubt. * We make no guarantees that this code is fit for any p...
unlicense
nemanja88/azure-powershell
src/ResourceManager/Compute/Commands.Compute/Generated/VirtualMachineScaleSetVM/VirtualMachineScaleSetVMGetMethod.cs
9368
// // Copyright (c) Microsoft and contributors. 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 requi...
apache-2.0
OpenXIP/xip-libraries
src/extern/dcmtk-3.5.4/dcmjpeg/libijg8/jcomapi.c
3112
/* * jcomapi.c * * Copyright (C) 1994-1997, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file contains application interface routines that are used for both * compression and decompression. */ ...
apache-2.0
andreasnef/fcrepo
fcrepo-server/src/main/java/org/fcrepo/server/utilities/status/ServerState.java
1711
/* The contents of this file are subject to the license and copyright terms * detailed in the license directory at the root of the source tree (also * available online at http://fedora-commons.org/license/). */ package org.fcrepo.server.utilities.status; public class ServerState { public static final ServerSt...
apache-2.0
eloekset/fluentmigrator
test/FluentMigrator.Tests/Integration/Processors/Oracle/OracleNative/OracleColumnTests.cs
1137
#region License // // Copyright (c) 2018, Fluent Migrator 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 ...
apache-2.0
ppittle/AlienSwarmDirectorMod
trunk/src/game/shared/swarm/asw_weapon_hornet_barrage.cpp
5658
#include "cbase.h" #include "asw_weapon_hornet_barrage.h" #ifdef CLIENT_DLL #include "c_asw_player.h" #include "c_asw_marine.h" #include "c_asw_alien.h" #include "asw_input.h" #include "prediction.h" #else #include "asw_marine.h" #include "asw_player.h" #include "asw_alien.h" #include "particle_parse.h" #include "te_e...
apache-2.0
pnavarro/neutron
neutron/tests/unit/test_wsgi.py
26842
# Copyright 2013 OpenStack Foundation. # 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 req...
apache-2.0
jasonchaffee/camel-labs
gateway/components/camel-pi4j/src/main/java/io/rhiot/component/pi4j/i2c/driver/BMP180Value.java
1355
/** * Licensed to the Rhiot under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in co...
apache-2.0
tohou/diesel
diesel_tests/tests/deserialization.rs
490
use schema::*; use diesel::*; use std::borrow::Cow; #[derive(Queryable, PartialEq, Debug)] struct CowUser<'a> { id: i32, name: Cow<'a, str>, } #[test] fn generated_queryable_allows_lifetimes() { use schema::users::dsl::*; let connection = connection_with_sean_and_tess_in_users_table(); let expect...
apache-2.0
AerialX/rust-rt-minimal
src/test/run-pass/trait-bounds-recursion.rs
790
// Copyright 2013 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
snabbco/snabb
lib/luajit/testsuite/test/misc/catch_wrap.lua
916
local cp = require("cpptest") cp.wrapon() do local a, b = pcall(cp.catch, function() return "x" end) assert(a == true and b == "x") end do local a, b = pcall(function() cp.throw("foo") end) assert(a == false and b == "foo") end local unwind do local a, b = pcall(cp.catch, function() cp.throw("foo") end) ...
apache-2.0
BiznetGIO/horizon
openstack_dashboard/api/rest/urls.py
1231
# Copyright 2014, Rackspace, US, 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 w...
apache-2.0
spring-projects/spring-boot
buildSrc/src/main/java/org/springframework/boot/build/test/IntegrationTestPlugin.java
3330
/* * Copyright 2012-2021 the original author or 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
apache-2.0
n3wscott/service-catalog
docsite/_includes/templates/glossary/README.md
4208
# Kubernetes Glossary To write a glossary snippet, start with a copy of the template, [`/_data/glossary/_example.yml`](/_data/glossary/_example.yml). Make sure to provide (or omit) values for the following fields: * (Required) `id` * This field must match the name of the glossary file itself (without the `*.yml` ex...
apache-2.0
ydai1124/gobblin-1
gobblin-core-base/src/main/java/gobblin/writer/MultiWriterWatermarkTracker.java
5266
/* * 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
lql5083psu/incubator-mnemonic
mnemonic-memory-services/mnemonic-java-vmem-service/src/main/java/org/apache/mnemonic/service/memory/internal/BufferBlockInfo.java
2204
/* * 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
stoksey69/googleads-java-lib
modules/dfp_axis/src/main/java/com/google/api/ads/dfp/axis/v201505/ReconciliationImportErrorReason.java
4014
/** * ReconciliationImportErrorReason.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter. */ package com.google.api.ads.dfp.axis.v201505; public class ReconciliationImportErrorReason implements java.io.Serializable { private java.lang.String...
apache-2.0
jfrazelle/kubernetes
staging/src/k8s.io/apiextensions-apiserver/test/integration/finalization_test.go
5811
/* Copyright 2017 The Kubernetes 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 agreed to in writing, ...
apache-2.0
stemlending/fabric
internal/peer/lifecycle/chaincode/mock/writer.go
3051
// Code generated by counterfeiter. DO NOT EDIT. package mock import ( "sync" ) type Writer struct { WriteFileStub func(string, string, []byte) error writeFileMutex sync.RWMutex writeFileArgsForCall []struct { arg1 string arg2 string arg3 []byte } writeFileReturns struct { result1 error } ...
apache-2.0
yyangpan/forestdb
src/hbtrie.h
5885
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2010 Couchbase, 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 * * h...
apache-2.0
firzhan/wso2-ode
jbi-karaf-commands/src/main/java/org/apache/ode/karaf/commands/OdeCommandsBase.java
3894
/* * 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
belliottsmith/cassandra
doc/modules/cassandra/examples/BASH/find_two_snapshots.sh
103
$ cd ./cassandra/data/data/catalogkeyspace/journal-296a2d30c22a11e9b1350d927649052c/snapshots && ls -l
apache-2.0
wwzhe/dataworks-zeus
web/.externalToolBuilders/schedule/src/main/java/com/taobao/zeus/jobs/sub/MapReduceJob.java
3072
package com.taobao.zeus.jobs.sub; import java.io.File; import java.io.FileFilter; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; impor...
apache-2.0
GBGamer/rust
src/test/ui/borrowck/two-phase-sneaky.rs
1031
// Copyright 2017 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
vega113/incubator-wave
wave/src/test/java/com/google/wave/api/data/converter/v22/EventDataConverterV22Test.java
5547
/** * 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
johtani/elasticsearch
src/test/java/org/elasticsearch/threadpool/UpdateThreadPoolSettingsTests.java
12249
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
apache-2.0
electrum/presto
core/trino-main/src/main/java/io/trino/operator/SplitOperatorInfo.java
1565
/* * 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 * distribut...
apache-2.0
FreeRDP/FreeRDP
winpr/libwinpr/crypto/test/TestCryptoProtectMemory.c
1594
#include <winpr/crt.h> #include <winpr/print.h> #include <winpr/crypto.h> #include <winpr/ssl.h> #include <winpr/wlog.h> static const char* SECRET_PASSWORD_TEST = "MySecretPassword123!"; int TestCryptoProtectMemory(int argc, char* argv[]) { UINT32 cbPlainText; UINT32 cbCipherText; const char* pPlainText; BYTE* p...
apache-2.0
Lilykos/grobid
grobid-core/src/main/java/org/grobid/core/utilities/GrobidPropertyKeys.java
3430
package org.grobid.core.utilities; /** * This class contains all the keys of the properties files. * * @author Damien Ridereau */ public interface GrobidPropertyKeys { public static final String PROP_GROBID_IS_CONTEXT_SERVER = "grobid.is.context.server"; public static final String PROP_TMP_PATH = "grobid...
apache-2.0
mbiarnes/drools-wb
drools-wb-screens/drools-wb-dtable-xls-editor/drools-wb-dtable-xls-editor-backend/src/main/java/org/drools/workbench/screens/dtablexls/backend/server/conversion/builders/GuidedDecisionTableActivationGroupBuilder.java
2570
/* * Copyright 2012 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
pkocandr/indy
core/src/test/java/org/commonjava/indy/core/inject/ExpiringMemoryNotFoundCacheTest.java
3446
/** * Copyright (C) 2011-2020 Red Hat, Inc. (https://github.com/Commonjava/indy) * * 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 ...
apache-2.0
dlnufox/ignite
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheTxRecoveryFuture.java
15947
/* * 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
theotherjimmy/mbed
targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG/device/efm32lg_rmu.h
15264
/**************************************************************************//** * @file efm32lg_rmu.h * @brief EFM32LG_RMU register and bit field definitions * @version 5.0.0 ****************************************************************************** * @section License * <b>Copyright 2016 Silicon Laboratories,...
apache-2.0
ghchinoy/tensorflow
tensorflow/core/kernels/reduction_ops_gpu_int.cu.cc
2716
/* Copyright 2015 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
apache-2.0
BiaoLiu/osharp-2015.8.28
src/OSharp.Autofac/Properties/AssemblyInfo.cs
1374
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("OSharp.Autofac")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("柳柳软件")] [assembly: Ass...
apache-2.0
jeorme/OG-Platform
sesame/sesame-engine/src/main/java/com/opengamma/sesame/graph/FunctionIdProvider.java
810
/** * Copyright (C) 2014 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.sesame.graph; /** * Provides IDs for function instances. * <p> * If two functions are logically equal they will be assigned the same ID. This is used by the...
apache-2.0
indi60/hbase-pmc
target/hbase-0.94.1/hbase-0.94.1/src/test/java/org/apache/hadoop/hbase/client/TestMetaScanner.java
3874
/** * Copyright 2010 The Apache Software Foundation * * 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-2.0
romartin/kie-wb-common
kie-wb-common-stunner/kie-wb-common-stunner-sets/kie-wb-common-stunner-bpmn/kie-wb-common-stunner-bpmn-project-backend/src/main/java/org/kie/workbench/common/stunner/bpmn/project/backend/service/ProjectOpenReusableSubprocessServiceImpl.java
3469
/* * Copyright 2021 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
mnagy/origin
assets/test/integration/e2e.js
2284
require('jasmine-beforeall'); var h = require('./helpers.js'); describe('', function() { afterAll(function(){ h.afterAllTeardown(); }); // This UI test suite expects to be run as part of hack/test-end-to-end.sh // It requires the example project be created with all of its resources in order to pass des...
apache-2.0
rheinwein/panamax-api
app/controllers/search_controller.rb
1231
class SearchController < ApplicationController using ArrayItemWrapper def index q, limit, type = search_params.values_at(:q, :limit, :type) respond_with perform_search(q, limit, type).merge(q: q) end private def perform_search(q, limit, *types) types = %w(template local_image remote_image) if ...
apache-2.0
gale320/staff
das/common/src/ProviderFactory.cpp
4315
/* * Copyright 2010 Utkin Dmitry * * 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
zero-rp/miniblink49
third_party/WebKit/Source/core/layout/LayoutMenuList.cpp
22827
/* * This file is part of the select element layoutObject in WebCore. * * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. * 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmobile.com/) *...
apache-2.0
pkletsko/camel
components/camel-dropbox/src/test/java/org/apache/camel/component/dropbox/integration/producer/DropboxProducerGetFolderTest.java
5497
/** * 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
bogdandrutu/opencensus-java
contrib/appengine_standard_util/src/main/java/io/opencensus/contrib/appengine/standard/util/AppEngineCloudTraceContextUtils.java
3787
/* * Copyright 2018, OpenCensus 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 ag...
apache-2.0
kingthorin/zap-extensions
addOns/ascanrulesBeta/src/main/java/org/zaproxy/zap/extension/ascanrulesBeta/HexString.java
1851
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2019 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
apache-2.0
vitesse-ftian/dgtools
tpcds/tpcds_tools/tools/s_subcategory.h
2134
/* * Legal Notice * * This document and associated source code (the "Work") is a part of a * benchmark specification maintained by the TPC. * * The TPC reserves all right, title, and interest to the Work as provided * under U.S. and international laws, including without limitation all patent * and trade...
apache-2.0
deltaprojects/druid
processing/src/main/java/org/apache/druid/query/aggregation/post/ExpressionPostAggregator.java
8546
/* * 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
DoudTechData/ignite
modules/yardstick/src/main/java/org/apache/ignite/yardstick/IgniteNode.java
7875
/* * 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
eclipse/gemini.blueprint
core/src/main/java/org/eclipse/gemini/blueprint/service/importer/support/internal/aop/StaticServiceReferenceProxy.java
2728
/****************************************************************************** * Copyright (c) 2006, 2010 VMware Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distr...
apache-2.0
jkbradley/spark
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/sources/RateStreamMicroBatchStream.scala
7562
/* * 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
kruzda/elasticsearch
cookbooks/rax-elasticsearch/README.md
198
rax-elasticsearch Cookbook ========================== elasticsearch cookbook wrapper for heat deployment. License and Authors ------------------- Authors: Jason Boyles <jason.boyles@rackspace.com>
apache-2.0
hfp/tensorflow-xsmm
tensorflow/python/kernel_tests/conv_ops_3d_test.py
27016
# Copyright 2016 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
AzureAutomationTeam/azure-powershell
src/ResourceManager/Sql/Commands.Sql/AdvancedThreatProtection/Services/SqlAdvancedThreatProtectionAdapter.cs
4342
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // 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.apac...
apache-2.0
10045125/spring-boot
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/PublicMetrics.java
1069
/* * Copyright 2012-2013 the original author or 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 ap...
apache-2.0
jeorme/OG-Platform
projects/OG-Engine/src/main/java/com/opengamma/engine/view/compilation/ViewCompilationContext.java
5308
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.engine.view.compilation; import java.util.ArrayList; import java.util.Collection; import java.util.LinkedList; import java.util.Set; import java.util.concurren...
apache-2.0
shakamunyi/hadoop-20
src/hdfs/org/apache/hadoop/hdfs/server/datanode/BlockWithChecksumFileReader.java
24443
/** * 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
jeorme/OG-Platform
projects/OG-Financial/src/main/java/com/opengamma/financial/analytics/model/forex/forward/FXForwardPointsMethodPresentValueFunction.java
6310
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.analytics.model.forex.forward; import java.util.Collections; import java.util.Set; import com.google.common.collect.Iterables; import com.opengamma....
apache-2.0
sunpy1106/SpringBeanLifeCycle
src/main/java/org/springframework/beans/factory/xml/NamespaceHandlerSupport.java
5803
/* * Copyright 2002-2012 the original author or 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 ap...
apache-2.0
lewismc/yax
lib/fop-1.0/docs/dev/tools.html
17729
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta content="Apache Forrest" name="Generator"> <meta name="Forrest-version" content="0.8"> <meta name="Forrest-skin-name" content="pe...
apache-2.0
scnakandala/derby
java/testing/org/apache/derbyTesting/functionTests/tests/lang/PrecedenceTest.java
2454
/** * Derby - Class org.apache.derbyTesting.functionTests.tests.lang.PrecedenceTest * * 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 licen...
apache-2.0
jerryscript-project/jerryscript
tests/jerry/regression-test-issue-3935.js
716
// Copyright JS Foundation and other contributors, http://js.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 r...
apache-2.0
songweijia/fffs
sources/hadoop-2.4.1-src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/s3native/Jets3tNativeFileSystemStore.java
14116
/** * 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
nmldiegues/tuner-icac14
tuner-selective/kmeans/kmeans.c
12898
/* ============================================================================= * * kmeans.c * * ============================================================================= * * Description: * * Takes as input a file: * ascii file: containing 1 data point per line * binary file: first int is the number...
apache-2.0
llvm-mirror/libcxx
test/libcxx/iterators/prev.debug1.pass.cpp
1215
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
apache-2.0
CanonicalBootStack/charm-hacluster
tests/charmhelpers/__init__.py
1285
# Copyright 2014-2015 Canonical Limited. # # 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
straceX/Ectoplasm
linux-0.0.1/linux/kernel/traps.c
4771
/* * 'Traps.c' handles hardware traps and faults after we have saved some * state in 'asm.s'. Currently mostly a debugging-aid, will be extended * to mainly kill the offending process (probably by giving it a signal, * but possibly by killing it outright if necessary). */ #include <string.h> #include <linux/head....
apache-2.0
MuShiiii/commons-io
src/test/java/org/apache/commons/io/output/TeeOutputStreamTest.java
4322
/* * 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