code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
3
942
language
stringclasses
30 values
license
stringclasses
15 values
size
int32
3
1.05M
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...
jtux270/translate
ovirt/3.6_source/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/providers/NewExternalSubnetModel.java
Java
gpl-3.0
3,910
--- 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...
Toshiro90/rathena
.github/ISSUE_TEMPLATE/bug_report.md
Markdown
gpl-3.0
1,633
<?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...
nmaillat/Phraseanet
lib/classes/media/adapter.php
PHP
gpl-3.0
556
<?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 ...
TR-Host/easy-wi-mirror
web/stuff/data/table_easywi_statistics.php
PHP
gpl-3.0
8,010
# 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. ...
xinhuang327/bugtv
Bugzilla/BugUrl/Bugzilla/Local.pm
Perl
mpl-2.0
2,669
<!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_...
UK992/servo
tests/wpt/web-platform-tests/html/rendering/replaced-elements/attributes-for-embedded-content-and-images/canvas-aspect-ratio.html
HTML
mpl-2.0
963
/* 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: ...
TeXitoi/navitia
source/calendar/calendar.cpp
C++
agpl-3.0
2,441
# -*- 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 ...
poiesisconsulting/openerp-restaurant
portal/__openerp__.py
Python
agpl-3.0
2,288
/* * 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...
ShinDarth/azerothcore-wotlk
src/server/game/Movement/MovementGenerators/HomeMovementGenerator.h
C
agpl-3.0
1,582
""" 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...
beni55/edx-platform
cms/djangoapps/contentstore/views/tests/test_assets.py
Python
agpl-3.0
15,204
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...
plamut/superdesk
client/app/scripts/superdesk/services/storage.js
JavaScript
agpl-3.0
1,250
{% 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-...
liuqr/edx-xiaodun
lms/templates/registration/password_reset_confirm.html
HTML
agpl-3.0
5,545
<?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...
gayathri6/stepstream_salute
lib_old/oembedhelper.php
PHP
agpl-3.0
12,206
<%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...
eduNEXT/edx-platform
lms/templates/instructor/instructor_dashboard_2/data_download_2/certificates.html
HTML
agpl-3.0
1,344
// 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...
adrianbrink/tendereum
vendor/github.com/cosmos/tendereum/vendor/github.com/btcsuite/btcd/netsync/manager.go
GO
agpl-3.0
46,884
<?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...
yscdaxian/goweb
limesurvey/admin/scripts/kcfinder/core/autoload.php
PHP
agpl-3.0
3,384
// 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: -...
Tejal011089/Medsyn2_app
accounts/doctype/sales_invoice/pos.js
JavaScript
agpl-3.0
17,987
/***************************************************************************//** * @file * @brief EFM32PG1B_MSC register and bit field definitions * @version 5.7.0 ******************************************************************************* * # License * <b>Copyright 2018 Silicon Laboratories Inc. www.silabs.c...
lazytech-org/RIOT
cpu/efm32/families/efm32pg1b/include/vendor/efm32pg1b_msc.h
C
lgpl-2.1
51,392
/* * 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...
lazytech-org/RIOT
tests/pkg_cn-cbor/main.c
C
lgpl-2.1
5,954
/* * 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 * ...
shabanovd/exist
extensions/svn/src/org/exist/versioning/svn/xquery/SVNCleanup.java
Java
lgpl-2.1
3,112
/* * 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...
bob-the-hamster/commandergenius
project/jni/ffmpeg/libavcodec/x86/rv34dsp_init.c
C
lgpl-2.1
1,800
// --------------------------------------------------------------------- // // 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...
shakirbsm/dealii
tests/manifold/spherical_manifold_04.cc
C++
lgpl-2.1
2,888
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...
nhminus/jaudiotagger-androidpatch
srctest/org/jaudiotagger/issues/Issue383Test.java
Java
lgpl-2.1
2,217
/** * * 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) ...
paulklinkenberg/Lucee4
lucee-java/lucee-core/src/lucee/runtime/functions/query/QueryDeleteRow.java
Java
lgpl-2.1
1,691
/* * 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...
ivassile/wildfly-core
server/src/main/java/org/jboss/as/server/deployment/DeploymentFullReplaceHandler.java
Java
lgpl-2.1
12,747
#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...
palominolabs/jmagick
src/magick/jmagick.c
C
lgpl-2.1
21,475
/************************************************************************** ** ** 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...
ostash/qt-creator-i18n-uk
src/plugins/projectexplorer/currentprojectfind.cpp
C++
lgpl-2.1
3,806
//===-- 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. // //===-------------------------------------------------------...
mhuwiler/rootauto
interpreter/llvm/src/include/llvm/Transforms/Utils/Local.h
C
lgpl-2.1
18,769
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...
tomck/intermine
intermine/objectstore/main/src/org/intermine/sql/writebatch/BatchWriterPostgresCopyImpl.java
Java
lgpl-2.1
11,352
/** * * 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 #...
tectronics/phantomuserland
phantom/libphantom/init.c
C
lgpl-3.0
3,747
<?php /*************************************************************************************/ /* */ /* Thelia */ /* ...
vigourouxjulien/thelia
setup/update.php
PHP
lgpl-3.0
9,119
/* * 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...
nawawi/wkhtmltopdf
webkit/Source/WebKit/mac/WebView/WebFullScreenController.h
C
lgpl-3.0
2,443
/* * 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...
Tybion/community-edition
projects/repository/source/java/org/alfresco/filesys/repo/rules/operations/OpenFileOperation.java
Java
lgpl-3.0
2,566
/*** * 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...
hyller/CodeLibrary
Test_Driven_Development_for_Embedded_C/CppUTest/include/CppUTestExt/MockActualFunctionCall.h
C
unlicense
4,257
// // 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...
nemanja88/azure-powershell
src/ResourceManager/Compute/Commands.Compute/Generated/VirtualMachineScaleSetVM/VirtualMachineScaleSetVMGetMethod.cs
C#
apache-2.0
9,368
/* * 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. */ ...
OpenXIP/xip-libraries
src/extern/dcmtk-3.5.4/dcmjpeg/libijg8/jcomapi.c
C
apache-2.0
3,112
/* 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...
andreasnef/fcrepo
fcrepo-server/src/main/java/org/fcrepo/server/utilities/status/ServerState.java
Java
apache-2.0
1,711
#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 ...
eloekset/fluentmigrator
test/FluentMigrator.Tests/Integration/Processors/Oracle/OracleNative/OracleColumnTests.cs
C#
apache-2.0
1,137
#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...
ppittle/AlienSwarmDirectorMod
trunk/src/game/shared/swarm/asw_weapon_hornet_barrage.cpp
C++
apache-2.0
5,658
# 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...
pnavarro/neutron
neutron/tests/unit/test_wsgi.py
Python
apache-2.0
26,842
/** * 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...
jasonchaffee/camel-labs
gateway/components/camel-pi4j/src/main/java/io/rhiot/component/pi4j/i2c/driver/BMP180Value.java
Java
apache-2.0
1,355
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...
tohou/diesel
diesel_tests/tests/deserialization.rs
Rust
apache-2.0
490
// 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 ...
AerialX/rust-rt-minimal
src/test/run-pass/trait-bounds-recursion.rs
Rust
apache-2.0
790
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) ...
snabbco/snabb
lib/luajit/testsuite/test/misc/catch_wrap.lua
Lua
apache-2.0
916
# 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...
BiznetGIO/horizon
openstack_dashboard/api/rest/urls.py
Python
apache-2.0
1,231
/* * 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...
spring-projects/spring-boot
buildSrc/src/main/java/org/springframework/boot/build/test/IntegrationTestPlugin.java
Java
apache-2.0
3,330
# 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...
n3wscott/service-catalog
docsite/_includes/templates/glossary/README.md
Markdown
apache-2.0
4,208
/* * 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 ...
ydai1124/gobblin-1
gobblin-core-base/src/main/java/gobblin/writer/MultiWriterWatermarkTracker.java
Java
apache-2.0
5,266
/* * 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 ...
lql5083psu/incubator-mnemonic
mnemonic-memory-services/mnemonic-java-vmem-service/src/main/java/org/apache/mnemonic/service/memory/internal/BufferBlockInfo.java
Java
apache-2.0
2,204
/** * 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...
stoksey69/googleads-java-lib
modules/dfp_axis/src/main/java/com/google/api/ads/dfp/axis/v201505/ReconciliationImportErrorReason.java
Java
apache-2.0
4,014
/* 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, ...
jfrazelle/kubernetes
staging/src/k8s.io/apiextensions-apiserver/test/integration/finalization_test.go
GO
apache-2.0
5,811
// 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 } ...
stemlending/fabric
internal/peer/lifecycle/chaincode/mock/writer.go
GO
apache-2.0
3,051
/* -*- 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...
yyangpan/forestdb
src/hbtrie.h
C
apache-2.0
5,885
/* * 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 ...
firzhan/wso2-ode
jbi-karaf-commands/src/main/java/org/apache/ode/karaf/commands/OdeCommandsBase.java
Java
apache-2.0
3,894
$ cd ./cassandra/data/data/catalogkeyspace/journal-296a2d30c22a11e9b1350d927649052c/snapshots && ls -l
belliottsmith/cassandra
doc/modules/cassandra/examples/BASH/find_two_snapshots.sh
Shell
apache-2.0
103
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...
wwzhe/dataworks-zeus
web/.externalToolBuilders/schedule/src/main/java/com/taobao/zeus/jobs/sub/MapReduceJob.java
Java
apache-2.0
3,072
// 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 ...
GBGamer/rust
src/test/ui/borrowck/two-phase-sneaky.rs
Rust
apache-2.0
1,031
/** * 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...
vega113/incubator-wave
wave/src/test/java/com/google/wave/api/data/converter/v22/EventDataConverterV22Test.java
Java
apache-2.0
5,547
/* * 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...
johtani/elasticsearch
src/test/java/org/elasticsearch/threadpool/UpdateThreadPoolSettingsTests.java
Java
apache-2.0
12,249
/* * 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...
electrum/presto
core/trino-main/src/main/java/io/trino/operator/SplitOperatorInfo.java
Java
apache-2.0
1,565
#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...
FreeRDP/FreeRDP
winpr/libwinpr/crypto/test/TestCryptoProtectMemory.c
C
apache-2.0
1,594
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...
Lilykos/grobid
grobid-core/src/main/java/org/grobid/core/utilities/GrobidPropertyKeys.java
Java
apache-2.0
3,430
/* * 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...
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
Java
apache-2.0
2,570
/** * 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 ...
pkocandr/indy
core/src/test/java/org/commonjava/indy/core/inject/ExpiringMemoryNotFoundCacheTest.java
Java
apache-2.0
3,446
/* * 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 ...
dlnufox/ignite
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheTxRecoveryFuture.java
Java
apache-2.0
15,947
/**************************************************************************//** * @file efm32lg_rmu.h * @brief EFM32LG_RMU register and bit field definitions * @version 5.0.0 ****************************************************************************** * @section License * <b>Copyright 2016 Silicon Laboratories,...
theotherjimmy/mbed
targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32LG/device/efm32lg_rmu.h
C
apache-2.0
15,264
/* 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...
ghchinoy/tensorflow
tensorflow/core/kernels/reduction_ops_gpu_int.cu.cc
C++
apache-2.0
2,716
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的一般信息由以下 // 控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("OSharp.Autofac")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("柳柳软件")] [assembly: Ass...
BiaoLiu/osharp-2015.8.28
src/OSharp.Autofac/Properties/AssemblyInfo.cs
C#
apache-2.0
1,374
/** * 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...
jeorme/OG-Platform
sesame/sesame-engine/src/main/java/com/opengamma/sesame/graph/FunctionIdProvider.java
Java
apache-2.0
810
/** * 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...
indi60/hbase-pmc
target/hbase-0.94.1/hbase-0.94.1/src/test/java/org/apache/hadoop/hbase/client/TestMetaScanner.java
Java
apache-2.0
3,874
/* * 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...
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
Java
apache-2.0
3,469
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...
mnagy/origin
assets/test/integration/e2e.js
JavaScript
apache-2.0
2,284
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 ...
rheinwein/panamax-api
app/controllers/search_controller.rb
Ruby
apache-2.0
1,231
/* * 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...
gale320/staff
das/common/src/ProviderFactory.cpp
C++
apache-2.0
4,315
/* * 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/) *...
zero-rp/miniblink49
third_party/WebKit/Source/core/layout/LayoutMenuList.cpp
C++
apache-2.0
22,827
/** * 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...
pkletsko/camel
components/camel-dropbox/src/test/java/org/apache/camel/component/dropbox/integration/producer/DropboxProducerGetFolderTest.java
Java
apache-2.0
5,497
/* * 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...
bogdandrutu/opencensus-java
contrib/appengine_standard_util/src/main/java/io/opencensus/contrib/appengine/standard/util/AppEngineCloudTraceContextUtils.java
Java
apache-2.0
3,787
/* * 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...
kingthorin/zap-extensions
addOns/ascanrulesBeta/src/main/java/org/zaproxy/zap/extension/ascanrulesBeta/HexString.java
Java
apache-2.0
1,851
/* * 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...
vitesse-ftian/dgtools
tpcds/tpcds_tools/tools/s_subcategory.h
C
apache-2.0
2,134
/* * 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 ...
deltaprojects/druid
processing/src/main/java/org/apache/druid/query/aggregation/post/ExpressionPostAggregator.java
Java
apache-2.0
8,546
/* * 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 ...
DoudTechData/ignite
modules/yardstick/src/main/java/org/apache/ignite/yardstick/IgniteNode.java
Java
apache-2.0
7,875
/****************************************************************************** * 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...
eclipse/gemini.blueprint
core/src/main/java/org/eclipse/gemini/blueprint/service/importer/support/internal/aop/StaticServiceReferenceProxy.java
Java
apache-2.0
2,728
/* * 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 ...
jkbradley/spark
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/sources/RateStreamMicroBatchStream.scala
Scala
apache-2.0
7,562
rax-elasticsearch Cookbook ========================== elasticsearch cookbook wrapper for heat deployment. License and Authors ------------------- Authors: Jason Boyles <jason.boyles@rackspace.com>
kruzda/elasticsearch
cookbooks/rax-elasticsearch/README.md
Markdown
apache-2.0
198
# 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...
hfp/tensorflow-xsmm
tensorflow/python/kernel_tests/conv_ops_3d_test.py
Python
apache-2.0
27,016
// ---------------------------------------------------------------------------------- // // 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...
AzureAutomationTeam/azure-powershell
src/ResourceManager/Sql/Commands.Sql/AdvancedThreatProtection/Services/SqlAdvancedThreatProtectionAdapter.cs
C#
apache-2.0
4,342
/* * 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...
10045125/spring-boot
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/PublicMetrics.java
Java
apache-2.0
1,069
/** * 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...
jeorme/OG-Platform
projects/OG-Engine/src/main/java/com/opengamma/engine/view/compilation/ViewCompilationContext.java
Java
apache-2.0
5,308
/** * 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...
shakamunyi/hadoop-20
src/hdfs/org/apache/hadoop/hdfs/server/datanode/BlockWithChecksumFileReader.java
Java
apache-2.0
24,443
/** * 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....
jeorme/OG-Platform
projects/OG-Financial/src/main/java/com/opengamma/financial/analytics/model/forex/forward/FXForwardPointsMethodPresentValueFunction.java
Java
apache-2.0
6,310
/* * 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...
sunpy1106/SpringBeanLifeCycle
src/main/java/org/springframework/beans/factory/xml/NamespaceHandlerSupport.java
Java
apache-2.0
5,803
<!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...
lewismc/yax
lib/fop-1.0/docs/dev/tools.html
HTML
apache-2.0
17,729
/** * 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...
scnakandala/derby
java/testing/org/apache/derbyTesting/functionTests/tests/lang/PrecedenceTest.java
Java
apache-2.0
2,454
// 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...
jerryscript-project/jerryscript
tests/jerry/regression-test-issue-3935.js
JavaScript
apache-2.0
716
/** * 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...
songweijia/fffs
sources/hadoop-2.4.1-src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/s3native/Jets3tNativeFileSystemStore.java
Java
apache-2.0
14,116
/* ============================================================================= * * kmeans.c * * ============================================================================= * * Description: * * Takes as input a file: * ascii file: containing 1 data point per line * binary file: first int is the number...
nmldiegues/tuner-icac14
tuner-selective/kmeans/kmeans.c
C
apache-2.0
12,898
//===----------------------------------------------------------------------===// // // 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 // //===---------------------------...
llvm-mirror/libcxx
test/libcxx/iterators/prev.debug1.pass.cpp
C++
apache-2.0
1,215
# 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 ...
CanonicalBootStack/charm-hacluster
tests/charmhelpers/__init__.py
Python
apache-2.0
1,285
/* * '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....
straceX/Ectoplasm
linux-0.0.1/linux/kernel/traps.c
C
apache-2.0
4,771
/* * 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 ...
MuShiiii/commons-io
src/test/java/org/apache/commons/io/output/TeeOutputStreamTest.java
Java
apache-2.0
4,322