code
stringlengths
3
1.05M
repo_name
stringlengths
4
116
path
stringlengths
4
991
language
stringclasses
9 values
license
stringclasses
15 values
size
int32
3
1.05M
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a co...
keegan2149/magento
sites/default/app/code/core/Mage/Adminhtml/Model/System/Config/Source/Language.php
PHP
gpl-2.0
1,443
<?php /** * Provides a plugin for the '@type' meta tag. */ class SchemaImageObjectType extends SchemaTypeBase { /** * {@inheritdoc} */ public static function labels() { return [ 'ImageObject', ]; } }
charlie59/non-texas-2
sites/all/modules/schema_metatag/schema_image_object/src/SchemaImageObjectType.php
PHP
gpl-2.0
231
/* * Copyright (C) 2013 Team XBMC * http://xbmc.org * * This Program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This ...
jmarcet/kodi
xbmc/listproviders/DirectoryProvider.cpp
C++
gpl-2.0
9,724
/* * Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
YouDiSN/OpenJDK-Research
jdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/bytecode/BC_d2f.java
Java
gpl-2.0
1,561
"use strict"; function $__interopRequire(id) { id = require(id); return id && id.__esModule && id || {default: id}; } Object.defineProperties(module.exports, { __esModule: {value: true}, entries: { enumerable: true, get: function() { return entries; } }, keys: { enumerable: true, g...
Haeresis/TestCaseAtlas
webapp/src/assets/traceur/dist/commonjs/runtime/polyfills/ArrayIterator.js
JavaScript
gpl-2.0
2,600
<?php /** * * Handle the waitinglist * * @package VirtueMart * @subpackage Product * @author RolandD * @link http://www.virtuemart.net * @copyright Copyright (c) 2004 - 2010 VirtueMart Team. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php * VirtueMart is free software. This...
Fundacion-AG/PaginaWebFAG
tmp/install_535533f62cdf3/administrator/components/com_virtuemart/views/product/tmpl/product_edit_custom.php
PHP
gpl-2.0
9,558
#region License // Copyright (c) 2013, ClearCanvas Inc. // All rights reserved. // http://www.clearcanvas.ca // // This file is part of the ClearCanvas RIS/PACS open source project. // // The ClearCanvas RIS/PACS open source project is free software: you can // redistribute it and/or modify it under the terms...
chinapacs/ImageViewer
ImageViewer/Explorer/Local/View/WinForms/LocalImageExplorerControl.cs
C#
gpl-3.0
18,653
<?php class ExternalStoreForTesting { protected $data = [ 'cluster1' => [ '200' => 'Hello', '300' => [ 'Hello', 'World', ], // gzip string below generated with gzdeflate( 'AAAABBAAA' ) '12345' => "sttttr\002\022\000", ], ]; /** * Fetch data from given URL * @param string $url An url of ...
kylethayer/bioladder
wiki/tests/phpunit/includes/externalstore/ExternalStoreForTesting.php
PHP
gpl-3.0
919
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2013.12.20 at 1...
mydzigear/weka.kmeanspp.silhouette_score
src/weka/core/pmml/jaxbbindings/AnovaRow.java
Java
gpl-3.0
6,195
/* * 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 ...
foreni-packages/bytecode-viewer
src/org/apache/commons/codec/net/QCodec.java
Java
gpl-3.0
12,271
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle ...
chiefdome/integration
mod/scorm/datamodels/callback.js.php
PHP
gpl-3.0
4,242
# -*- Mode:Python; indent-tabs-mode:nil; tab-width:4 -*- # # Copyright (C) 2016 Canonical Ltd # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License version 3 as # published by the Free Software Foundation. # # This program is distributed in the h...
tsdgeos/snapcraft
integration_tests/test_store_login_logout.py
Python
gpl-3.0
1,032
// This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle is dis...
macuco/moodlemacuco
Gruntfile.js
JavaScript
gpl-3.0
15,185
<?php /** * Shopware 5 * Copyright (c) shopware AG * * According to our dual licensing model, this program can be used either * under the terms of the GNU Affero General Public License, version 3, * or under a proprietary license. * * The texts of the GNU Affero General Public License with an additional * perm...
jenalgit/shopware
engine/Shopware/Bundle/StoreFrontBundle/Gateway/DBAL/MediaGateway.php
PHP
agpl-3.0
3,335
<?php /** * DOMDocument loader test for FluentDOMLoaderDOMNode * * @version $Id: DOMNodeTest.php 430 2010-03-29 15:53:43Z subjective $ * @license http://www.opensource.org/licenses/mit-license.php The MIT License * @copyright Copyright (c) 2009 Bastian Feder, Thomas Weinert * * @package FluentDOM * @subpackage UnitTest...
kyfr59/atom-cg35
vendor/FluentDOM/tests/FluentDOM/Loader/DOMNodeTest.php
PHP
agpl-3.0
1,480
<?php /** * PHP-DI * * @link http://mnapoli.github.com/PHP-DI/ * @copyright Matthieu Napoli (http://mnapoli.fr/) * @license http://www.opensource.org/licenses/mit-license.php MIT (see the LICENSE file) */ namespace DI\Definition\Resolver; use DI\Definition\Definition; use DI\Definition\EnvironmentVariabl...
befair/soulShape
wp/soulshape.earth/piwik/vendor/php-di/php-di/src/DI/Definition/Resolver/EnvironmentVariableResolver.php
PHP
agpl-3.0
2,757
// ThreadNotify.cs: implements a notification for the thread running the Gtk main // loop from another thread // // Authors: // Miguel de Icaza (miguel@ximian.com). // Gonzalo Paniagua Javier (gonzalo@ximian.com) // // Copyright (c) 2002 Ximian, Inc. // Copyright (c) 2004 Novell, Inc. // // This program is free s...
stsundermann/gtk-sharp-gi
sources/custom/ThreadNotify.cs
C#
lgpl-3.0
2,506
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("SampleSmartConsole")] [assembly: Assembly...
imbugs/StockSharp
Samples/SmartCom/SampleSmartConsole/Properties/AssemblyInfo.cs
C#
lgpl-3.0
481
# encoding: utf-8 from test.vim_test_case import VimTestCase as _VimTest from test.constant import * from test.util import running_on_windows # Quotes in Snippets {{{# # Test for Bug #774917 def _snip_quote(qt): return ( ('te' + qt + 'st', 'Expand me' + qt + '!', 'test: ' + qt), ('te', 'Bad', ''...
Insanityandme/dotfiles
vim/bundle/ultisnips/test/test_Chars.py
Python
unlicense
5,521
/* * 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")...
samaitra/jena
jena-elephas/jena-elephas-mapreduce/src/test/java/org/apache/jena/hadoop/rdf/mapreduce/filter/AbstractNodeTupleFilterTests.java
Java
apache-2.0
4,405
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
ykbarros/aws-sdk-xamarin
AWS.XamarinSDK/AWSSDK_iOS/Amazon.ElasticLoadBalancing/Model/CreateLoadBalancerPolicyRequest.cs
C#
apache-2.0
4,107
/* ==================================================================== 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 Y...
antony-liu/npoi
scratchpad/HWPF/UserModel/HeaderStories.cs
C#
apache-2.0
7,342
package org.apache.helix; /* * 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...
OopsOutOfMemory/helix
helix-core/src/main/java/org/apache/helix/MessageListener.java
Java
apache-2.0
1,237
/* * Copyright 2013-present Facebook, 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...
neonichu/buck
src/com/facebook/buck/junit/DelegateRunnerWithTimeout.java
Java
apache-2.0
4,423
/* * Copyright (C) 2011 the original author or authors. * See the notice.md file distributed with this work for additional * information regarding copyright ownership. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ...
gaoch023/leveldb-1
leveldb/src/main/java/org/iq80/leveldb/impl/LogWriter.java
Java
apache-2.0
1,222
package com.crawljax.core; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.Queue; import java.util.concurrent.BlockingQueue; import java.util.concurrent.locks.Lock; import javax.inject.Inject; import javax.inject.Provider; import javax.inject.Sing...
fivejjs/crawljax
core/src/main/java/com/crawljax/core/UnfiredCandidateActions.java
Java
apache-2.0
5,551
/** * 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...
pombredanne/brisk-hadoop-common
src/hdfs/org/apache/hadoop/hdfs/server/namenode/SecondaryNameNode.java
Java
apache-2.0
23,008
/* * 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...
danielmitterdorfer/elasticsearch
core/src/main/java/org/elasticsearch/index/engine/SegmentsStats.java
Java
apache-2.0
14,688
package client const ( ConfigMapKeySelectorType = "configMapKeySelector" ConfigMapKeySelectorFieldKey = "key" ConfigMapKeySelectorFieldName = "name" ConfigMapKeySelectorFieldOptional = "optional" ) type ConfigMapKeySelector struct { Key string `json:"key,omitempty" yaml:"key,omitempty"` N...
cjellick/rancher
vendor/github.com/rancher/types/client/project/v3/zz_generated_config_map_key_selector.go
GO
apache-2.0
454
/* * 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 ...
ZhenyaM/veraPDF-pdfbox
pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/filespecification/PDFileSpecification.java
Java
apache-2.0
2,502
/* * 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 ...
Overseas-Student-Living/jackrabbit
jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user/PasswordUtilityTest.java
Java
apache-2.0
6,666
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
asedunov/intellij-community
xml/relaxng/src/org/intellij/plugins/relaxNG/compact/RncCompletionContributor.java
Java
apache-2.0
4,782
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2016 by Pentaho : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version 2.0 (th...
nicoben/pentaho-kettle
ui/src/org/pentaho/di/ui/trans/steps/zipfile/ZipFileDialog.java
Java
apache-2.0
22,737
# Copyright (c) - 2014, Clinton Knight All rights reserved. # Copyright (c) - 2015, Alex Meade. All Rights Reserved. # Copyright (c) - 2015, Rushil Chugh. All Rights Reserved. # Copyright (c) - 2015, Tom Barron. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # ...
Hybrid-Cloud/cinder
cinder/tests/unit/volume/drivers/netapp/fakes.py
Python
apache-2.0
3,984
/** * 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...
jmandawg/camel
camel-core/src/main/java/org/apache/camel/model/Constants.java
Java
apache-2.0
1,441
/* * 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 ...
jinhyukchang/gobblin
gobblin-metrics-libs/gobblin-metrics-base/src/main/java/org/apache/gobblin/metrics/broker/LineageInfoFactory.java
Java
apache-2.0
2,261
// Code generated by protoc-gen-go. DO NOT EDIT. // source: google/ads/googleads/v1/services/account_budget_service.proto package services // import "google.golang.org/genproto/googleapis/ads/googleads/v1/services" import proto "github.com/golang/protobuf/proto" import fmt "fmt" import math "math" import resources "g...
pweil-/origin
vendor/google.golang.org/genproto/googleapis/ads/googleads/v1/services/account_budget_service.pb.go
GO
apache-2.0
8,224
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other 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 License at * * http://www.apach...
ppolavar/keycloak
adapters/oidc/adapter-core/src/main/java/org/keycloak/adapters/authentication/ClientCredentialsProvider.java
Java
apache-2.0
3,598
#include <Eigen/Sparse> #include <vector> #include <iostream> typedef Eigen::SparseMatrix<double> SpMat; // declares a column-major sparse matrix type of double typedef Eigen::Triplet<double> T; void buildProblem(std::vector<T>& coefficients, Eigen::VectorXd& b, int n); void saveAsBitmap(const Eigen::VectorXd& x, int...
OSVR/OSVR-Core
vendor/eigen/doc/special_examples/Tutorial_sparse_example.cpp
C++
apache-2.0
1,183
#include "drape/pointers.hpp" #include "base/logging.hpp" DpPointerTracker & DpPointerTracker::Instance() { static DpPointerTracker pointersTracker; return pointersTracker; } DpPointerTracker::~DpPointerTracker() { ASSERT(m_alivePointers.empty(), ()); } void DpPointerTracker::RefPtrNamed(void * refPtr, std::st...
alexzatsepin/omim
drape/pointers.cpp
C++
apache-2.0
1,448
package snowballstem // to regenerate these commands, run // go run gengen.go /path/to/snowball/algorithms/directory //go:generate $SNOWBALL/snowball $SNOWBALL/algorithms/arabic/stem_Unicode.sbl -go -o arabic/arabic_stemmer -gop arabic -gor github.com/blevesearch/snowballstem //go:generate gofmt -s -w arabic/arabic_s...
heroiclabs/nakama
vendor/github.com/blevesearch/snowballstem/gen.go
GO
apache-2.0
4,281
/* * Copyright 2012 MyBatis.org. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
shurun19851206/mybaties
src/main/java/org/apache/ibatis/reflection/SystemMetaObject.java
Java
apache-2.0
1,662
/* * 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...
Asimov4/elasticsearch
src/test/java/org/elasticsearch/common/geo/GeoJSONShapeParserTests.java
Java
apache-2.0
47,639
class Clfft < Formula desc "FFT functions written in OpenCL" homepage "https://github.com/clMathLibraries/clFFT" url "https://github.com/clMathLibraries/clFFT/archive/v2.12.2.tar.gz" sha256 "e7348c146ad48c6a3e6997b7702202ad3ee3b5df99edf7ef00bbacc21e897b12" bottle do cellar :any sha256 "1e3aca16a694b7...
robohack/homebrew-core
Formula/clfft.rb
Ruby
bsd-2-clause
1,197
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <memory> #include "base/bind.h" #include "base/run_loop.h" #include "chrome/browser/extensions/extension_browsertest.h" #include "chrome/browser...
axinging/chromium-crosswalk
chrome/browser/extensions/background_xhr_browsertest.cc
C++
bsd-3-clause
3,128
/** * @license * Copyright The Closure Library Authors. * SPDX-License-Identifier: Apache-2.0 */ /** * @fileoverview Contains utility methods to extract text content from HTML. * @supported IE 10+, Chrome 26+, Firefox 22+, Safari 7.1+, Opera 15+ */ goog.provide('goog.html.textExtractor'); goog.require('goog....
scheib/chromium
third_party/google-closure-library/closure/goog/html/textextractor.js
JavaScript
bsd-3-clause
4,176
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
lyft/zf1
tests/Zend/View/Helper/FormErrorsTest.php
PHP
bsd-3-clause
6,251
void AddTaskGammaDeltaPID(Int_t gFilterBit = 768,Double_t fPtMin=0.2,Double_t fPtMax=2.0,Double_t fEtaMin=-0.8, Double_t fEtaMax=0.8,Double_t fChi2max=4.0,Int_t gNclustTPC=70, Int_t fparticle=0,Double_t nSigTPC = 3.0, Double_t nSigTOF = 3.0, Bool_t bSkipPileUp=kFALSE, TString sCentEstimator="V0M", Float_t fVzMin = -10...
nschmidtALICE/AliPhysics
PWGCF/FLOW/macros/AddTaskGammaDeltaPID.C
C++
bsd-3-clause
7,275
/* Copyright 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 agreedto in writing, software dist...
NazarethCollege/heweb2017-devops-presentation
sites/tweetheat/src/backend/vendor/src/github.com/youtube/vitess/go/mysql/gtid_test.go
GO
mit
5,366
<?php class ActiveRecordTest extends DatabaseTest { public function set_up($connection_name=null) { parent::set_up($connection_name); $this->options = array('conditions' => 'blah', 'order' => 'blah'); } public function test_options_is_not() { $this->assert_false(Author::is_options_hash(null)); $this->ass...
quochieuhcm/ci-vs-phpactiverecord
vendor/php-activerecord/php-activerecord/test/ActiveRecordTest.php
PHP
mit
16,383
define({ root: ({ _widgetLabel: "Demo", label1: "Ich bin ein Demo-Widget.", label2: "Dies ist konfigurierbar." }), "ar": 0, "cs": 0, "da": 0, "de": 0, "el": 0, "es": 0, "et": 0, "fi": 0, "fr": 0, "he": 0, "it": 0, "ja": 0, "ko": 0, "lt": 0, "lv": 0, "nb": 0, "nl": 0, ...
cmccullough2/cmv-wab-widgets
wab/2.3/widgets/samplewidgets/Demo/nls/de/strings.js
JavaScript
mit
443
// // Device.cs // // Author: // Alex Launi <alex.launi@gmail.com> // // Copyright (c) 2010 Alex Launi // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including w...
mono-soc-2011/banshee
src/Backends/Banshee.Gio/Banshee.Hardware.Gio/LowLevel/RawDevice.cs
C#
mit
4,171
#if NETFX_CORE && !UNITY_EDITOR //using Thread = MarkerMetro.Unity.WinLegacy.Threading.Thread; //using ParameterizedThreadStart = MarkerMetro.Unity.WinLegacy.Threading.ParameterizedThreadStart; #endif using UnityEngine; using System.Collections; using System.Threading; namespace Pathfinding.Threading { }
MartinHartmannJensen/Unity2Dshooter
topdown shooter/Assets/AstarPathfindingProject/Utilities/AstarParallel.cs
C#
mit
307
package org.knowm.xchange.lakebtc.dto; import com.fasterxml.jackson.annotation.JsonProperty; /** User: cristian.lucaci Date: 10/3/2014 Time: 5:31 PM */ public class LakeBTCResponse<V> { private final String id; private final V result; /** * Constructor * * @param id * @param result */ public ...
stachon/XChange
xchange-lakebtc/src/main/java/org/knowm/xchange/lakebtc/dto/LakeBTCResponse.java
Java
mit
669
package org.knowm.xchange.bitcoinaverage.dto.marketdata; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonProperty; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.Locale; import java.util.Map; /** Data object repre...
stachon/XChange
xchange-bitcoinaverage/src/main/java/org/knowm/xchange/bitcoinaverage/dto/marketdata/BitcoinAverageTickers.java
Java
mit
1,315
import { SQLValue } from "./prepSQLParams"; export interface SQLInsertParams { insertColumns: string; insertValues: string; insertFields: Record<string, SQLValue>; } declare function prepSQLInsertParams<T extends Record<string, SQLValue>>( params: T, columns: Array<{ key: keyof T }>, ): SQLInsertP...
markogresak/DefinitelyTyped
types/lesgo/utils/prepSQLInsertParams.d.ts
TypeScript
mit
364
package parser import ( "regexp" "strings" ) var selfClosingTags = [...]string{ "meta", "img", "link", "input", "source", "area", "base", "col", "br", "hr", } var doctypes = map[string]string{ "5": `<!DOCTYPE html>`, "default": `<!DOCTYPE html>`, "xml": `<?xml version="1.0" en...
grvcoelho/webhulk
vendor/gopkg.in/kataras/iris.v8/vendor/github.com/eknkc/amber/parser/nodes.go
GO
mit
5,199
// { dg-do assemble } // Copyright (C) 1999, 2000, 2002, 2003 Free Software Foundation, Inc. // Contributed by Nathan Sidwell 22 Apr 1999 <nathan@acm.org> // derived from a bug report by <rch@larissa.sd.bi.ruhr-uni-bochum.de> // http://gcc.gnu.org/ml/gcc-bugs/1999-04n/msg00631.html // the code is wrong, but we fell o...
Gurgel100/gcc
gcc/testsuite/g++.old-deja/g++.other/decl5.C
C++
gpl-2.0
2,264
/** * */ package org.eevolution.model; import java.sql.ResultSet; import java.util.Properties; import org.compiere.util.CCache; /** * HR Period * @author Teo Sarca, www.arhipac.ro */ public class MHRPeriod extends X_HR_Period { /** * */ private static final long serialVersionUID = -7787966459848200539L;...
erpcya/adempierePOS
org.eevolution.hr_and_payroll/src/main/java/base/org/eevolution/model/MHRPeriod.java
Java
gpl-2.0
1,057
<?php namespace GuzzleHttp; use GuzzleHttp\Event\CompleteEvent; use GuzzleHttp\Event\ErrorEvent; use GuzzleHttp\Event\RequestEvents; use GuzzleHttp\Message\ResponseInterface; use GuzzleHttp\UriTemplate; /** * Send a custom request * * @param string $method HTTP request method * @param string $url URL of the...
epoch365/rito-api-challenge
vendor/guzzlehttp/guzzle/src/functions.php
PHP
gpl-2.0
8,331
# # Copyright 2013 Tim O'Shea # # This file is part of PyBOMBS # # PyBOMBS is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # PyBOMBS is distributed ...
scalable-networks/ext
pybombs/mod_pybombs/__init__.py
Python
gpl-2.0
852
<?php /* vim: set expandtab tabstop=4 shiftwidth=4: */ // +----------------------------------------------------------------------+ // | PHP version 4.0 | // +----------------------------------------------------------------------+ // | Copyright (c) 1997, 1998, 1999, ...
jenarroyo/moodle-repo
lib/pear/HTML/QuickForm/image.php
PHP
gpl-3.0
3,740
#ifndef ___SUT_TRACE_H___ #define ___SUT_TRACE_H___ /******************************************************************************/ /* */ /* X r d S u t T r a c e . h h */ /* ...
bbockelm/xrootd_old_git
src/XrdSut/XrdSutTrace.hh
C++
gpl-3.0
2,936
#include <AP_HAL/AP_HAL.h> #include <AP_Common/AP_Common.h> #include <AP_Math/AP_Math.h> #include <AP_Notify/AP_Notify.h> #include "AP_BattMonitor.h" #include "AP_BattMonitor_SMBus_SUI.h" extern const AP_HAL::HAL& hal; #define REG_CELL_VOLTAGE 0x28 #define REG_CURRENT 0x2a // maximum number of cel...
squilter/ardupilot
libraries/AP_BattMonitor/AP_BattMonitor_SMBus_SUI.cpp
C++
gpl-3.0
4,883
/**********************************************************************\ RageLib - Models Copyright (C) 2009 Arushan/Aru <oneforaru at gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Fou...
St0rmDev/gtaivtools
RageLib/Models/Data/MaterialParamVector4.cs
C#
gpl-3.0
1,264
# Copyright (c) 2009 Mitch Garnaat http://garnaat.org/ # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modify, m...
apavlo/h-store
third_party/python/boto/vpc/__init__.py
Python
gpl-3.0
17,897
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* * Date: 26 November 2000 * *...
sam/htmlunit-rhino-fork
testsrc/tests/ecma_3/RegExp/15.10.4.1-2.js
JavaScript
mpl-2.0
3,091
# # Copyright (C) 2012 Instructure, Inc. # # This file is part of Canvas. # # Canvas is free software: you can redistribute it and/or modify it under # the terms of the GNU Affero General Public License as published by the Free # Software Foundation, version 3 of the License. # # Canvas is distributed in the hope that ...
nditech/red-innovadores-lms
spec/cassandra_spec_helper.rb
Ruby
agpl-3.0
994
/*! * Piwik - free/libre analytics platform * * @link http://piwik.org * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later */ (function () { angular.module('piwikApp.filter').filter('htmldecode', htmldecode); htmldecode.$inject = ['piwik']; /** * Be aware that this filter can cau...
befair/soulShape
wp/soulshape.earth/piwik/plugins/CoreHome/angularjs/common/filters/htmldecode.js
JavaScript
agpl-3.0
686
""" Management command to resend all lti scores for the requested course. """ import textwrap from django.core.management import BaseCommand from opaque_keys.edx.keys import CourseKey from lti_provider.models import GradedAssignment from lti_provider import tasks class Command(BaseCommand): """ Send all l...
caesar2164/edx-platform
lms/djangoapps/lti_provider/management/commands/resend_lti_scores.py
Python
agpl-3.0
1,857
#!/usr/bin/env python #*************************************************************************** #* * #* Copyright (c) 2009 Yorik van Havre <yorik@uncreated.net> * #* ...
kkoksvik/FreeCAD
src/Tools/offlinedoc/buildqhelp.py
Python
lgpl-2.1
8,832
/* * Copyright (C) 2007, 2008 Apple Inc. All rights reserved. * Copyright (C) 2008 Matt Lilek <webkit@mattlilek.com> * * 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...
RLovelett/qt
src/3rdparty/webkit/WebCore/inspector/front-end/ElementsPanel.js
JavaScript
lgpl-2.1
45,561
//* This file is part of the MOOSE framework //* https://www.mooseframework.org //* //* All rights reserved, see COPYRIGHT for full restrictions //* https://github.com/idaholab/moose/blob/master/COPYRIGHT //* //* Licensed under LGPL 2.1, please see LICENSE for details //* https://www.gnu.org/licenses/lgpl-2.1.html #in...
harterj/moose
modules/tensor_mechanics/src/materials/ADComputeFiniteStrainElasticStress.C
C++
lgpl-2.1
3,252
/* ** 2014 December 16 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. */ package info.at...
catinred2/disunity
disunity-cli/src/main/java/info/ata4/disunity/cli/command/BundleBuildCommand.java
Java
unlicense
1,357
/* * 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...
gingerwizard/elasticsearch
client/rest-high-level/src/main/java/org/elasticsearch/client/slm/SnapshotLifecycleStats.java
Java
apache-2.0
11,928
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright (c) 2011 OpenStack Foundation # Copyright (c) 2013 Hewlett-Packard Development Company, L.P. # 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 obta...
muzixing/ryu
pbr-0.10.0-py2.7.egg/pbr/tests/test_setup.py
Python
apache-2.0
15,144
/* * 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.ml.dataframe.evaluation.classi...
robin13/elasticsearch
x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ml/dataframe/evaluation/classification/AccuracyTests.java
Java
apache-2.0
8,475
/* * 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.watcher.condition; import org.elas...
robin13/elasticsearch
x-pack/plugin/watcher/src/test/java/org/elasticsearch/xpack/watcher/condition/AlwaysConditionTests.java
Java
apache-2.0
3,178
/* * 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 ...
openweave/openweave-core
third_party/android/platform-libcore/android-platform-libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/AllPermission2Test.java
Java
apache-2.0
7,204
package org.osmdroid.samplefragments; public final class SampleFactory { private final BaseSampleFragment[] mSamples; private static SampleFactory _instance; public static SampleFactory getInstance() { if (_instance == null) { _instance = new SampleFactory(); } return _instance; } private SampleFacto...
DT9/osmdroid
OpenStreetMapViewer/src/org/osmdroid/samplefragments/SampleFactory.java
Java
apache-2.0
642
/* * 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 ...
akuznetsov-gridgain/ignite
modules/extdata/p2p/src/main/java/org/apache/ignite/tests/p2p/GridP2PContinuousDeploymentTask2.java
Java
apache-2.0
1,657
/** * 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...
robzor92/hops
hadoop-tools/hadoop-extras/src/main/java/org/apache/hadoop/tools/DistCpV1.java
Java
apache-2.0
63,413
/* * 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/flink
flink-runtime/src/test/java/org/apache/flink/runtime/operators/LeftOuterJoinTaskTest.java
Java
apache-2.0
10,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...
brreitme/camel
components/camel-gora/src/main/java/org/apache/camel/component/gora/GoraProducer.java
Java
apache-2.0
4,978
/*! * UI development toolkit for HTML5 (OpenUI5) * (c) Copyright 2009-2016 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ sap.ui.define(function(){"use strict";var T={};T.render=function(r,c){var s=c.isInline()||this.hasControlData;if(!s){r.write("<div");r...
and1985129/digitalofficemobile
www/lib/ui5/sap/ui/core/tmpl/TemplateControlRenderer.js
JavaScript
apache-2.0
516
/** * 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"...
fwassmer/aries
spi-fly/spi-fly-examples/spi-fly-example-provider3-bundle/src/main/java/org/apache/aries/spifly/mysvc/impl3/SPIProviderImpl.java
Java
apache-2.0
1,055
// Copyright 2018 the V8 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. // Flags: --allow-natives-syntax (function() { function foo(p) { return p.catch(); } %PrepareFunctionForOptimization(foo); foo(Promise.resolve(1)...
zero-rp/miniblink49
v8_7_5/test/mjsunit/compiler/promise-prototype-catch.js
JavaScript
apache-2.0
872
/* Copyright 2015 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, ...
ikropotov/kops
vendor/k8s.io/kubernetes/pkg/controller/namespace/namespace_controller_utils.go
GO
apache-2.0
20,246
/* * 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 ...
jeffmart/incubator-trafficcontrol
traffic_portal/app/src/modules/public/login/LoginController.js
JavaScript
apache-2.0
1,916
import { j as _inherits, k as _createSuper, c as _classCallCheck, T as Type, b as _createClass, R as Range, N as Node, g as YAMLSemanticError, l as _get, m as _getPrototypeOf, Y as YAMLSyntaxError, C as Char, e as _defineProperty, P as PlainValue } from './PlainValue-b8036b75.js'; var BlankLine = /*#__PURE__*/function...
GoogleCloudPlatform/prometheus-engine
third_party/prometheus_ui/base/web/ui/react-app/node_modules/yaml/browser/dist/parse-cst.js
JavaScript
apache-2.0
54,633
//----------------------------------------------------------------------- // <copyright file="AkkaSpecExtensions.cs" company="Akka.NET Project"> // Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com> // Copyright (C) 2013-2016 Akka.NET project <https://github.com/akkadotnet/akka.net> // </copyrig...
nanderto/akka.net
src/core/Akka.Tests.Shared.Internals/AkkaSpecExtensions.cs
C#
apache-2.0
4,207
/* * 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/flink
flink-core/src/test/java/org/apache/flink/util/NetUtilsTest.java
Java
apache-2.0
12,115
// // 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-sdk-for-net
src/ResourceManagement/ApiManagement/ApiManagementManagement/Generated/ResourceProviderOperationsExtensions.cs
C#
apache-2.0
48,468
/* * 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 ...
nikhilvibhav/camel
components/camel-netty/src/test/java/org/apache/camel/component/netty/NettyRequestTimeoutIssueTest.java
Java
apache-2.0
2,106
newparam(:destinationtype) do include EasyType desc 'The destination type of a jms resource (queue or topic)' newvalues(:queue, :topic) to_translate_to_resource do | raw_resource | raw_resource['destinationtype'] end end
rcompos/biemond-orawls
orawls/lib/puppet/type/wls_jms_security_policy/destinationtype.rb
Ruby
apache-2.0
239
// Copyright The OpenTelemetry 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 agre...
containerd/containerd
vendor/go.opentelemetry.io/otel/trace.go
GO
apache-2.0
1,617
package org.apache.lucene.benchmark.byTask.tasks; /* * 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 Apach...
smartan/lucene
src/main/java/org/apache/lucene/benchmark/byTask/tasks/CommitIndexTask.java
Java
apache-2.0
1,724
interface B { default void foo() {} } interface C { default void foo() {} } class <error descr="D inherits unrelated defaults for foo() from types B and C">D</error> implements B, C {}
android-ia/platform_tools_idea
java/java-tests/testData/codeInsight/daemonCodeAnalyzer/lambda/interfaceMethods/InheritUnrelatedDefaults.java
Java
apache-2.0
185
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
svn2github/zend_framework
library/Zend/Pdf/Color/Html.php
PHP
bsd-3-clause
16,236
#include "main.h" #include "File.h" #include "Geometry.h" namespace ImageStack { namespace FileTGA { /* typedef struct { unsigned char identsize; // size of ID field that follows 18 byte header (0 usually) unsigned char colormaptype; // type of colour map 0=none, 1=has palette unsigned c...
ricoyoung345/imagestack
src/FileTGA.cpp
C++
bsd-3-clause
8,011