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
/** * Copyright (C) 2014-2015 LinkedIn Corp. (pinot-core@linkedin.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
pinotlytics/pinot
pinot-core/src/main/java/com/linkedin/pinot/core/query/aggregation/function/MaxAggregationNoDictionaryFunction.java
Java
apache-2.0
2,078
package services_test import ( "os" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" slclientfakes "github.com/maximilien/softlayer-go/client/fakes" softlayer "github.com/maximilien/softlayer-go/softlayer" testhelpers "github.com/maximilien/softlayer-go/test_helpers" ) var _ = Describe("SoftLayer_Network...
mattcui/softlayer-go
services/softlayer_network_storage_allowed_host_test.go
GO
apache-2.0
2,568
/** * 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...
mycFelix/heron
storm-compatibility/src/java/backtype/storm/generated/NotAliveException.java
Java
apache-2.0
962
/* * Copyright 2000-2014 Vaadin Ltd. * * 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...
jdahlstrom/vaadin.react
server/src/main/java/com/vaadin/ui/PopupDateField.java
Java
apache-2.0
4,052
'''This module implements specialized container datatypes providing alternatives to Python's general purpose built-in containers, dict, list, set, and tuple. * namedtuple factory function for creating tuple subclasses with named fields * deque list-like container with fast appends and pops on either end * Cha...
mdanielwork/intellij-community
python/testData/MockSdk3.7/Lib/collections/__init__.py
Python
apache-2.0
47,640
/* Copyright 2016 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, ...
matthewdupre/kubernetes
staging/src/k8s.io/client-go/1.4/pkg/apis/policy/v1alpha1/types.go
GO
apache-2.0
2,978
// Copyright 2009 the V8 project authors. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of ...
zero-rp/miniblink49
v8_7_5/test/mjsunit/indexed-accessors.js
JavaScript
apache-2.0
3,743
/** * An assortment of Windows Store app-related tools. * * @module winstore * * @copyright * Copyright (c) 2014 by Appcelerator, Inc. All Rights Reserved. * * @license * Licensed under the terms of the Apache Public License. * Please see the LICENSE included with this distribution for details. */...
prop/titanium_mobile
node_modules/windowslib/lib/winstore.js
JavaScript
apache-2.0
12,463
/** * Copyright 2005-2015 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless requ...
bhutchinson/rice
rice-middleware/kns/src/main/java/org/kuali/rice/kns/web/taglib/html/KNSTextareaTag.java
Java
apache-2.0
1,855
// Copyright 2013 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 "chrome/browser/sync_file_system/drive_backend/metadata_database.h" #include "base/bind.h" #include "base/files/scoped_temp_dir.h" #include "bas...
Jonekee/chromium.src
chrome/browser/sync_file_system/drive_backend/metadata_database_unittest.cc
C++
bsd-3-clause
43,484
// Copyright 2014 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 "ui/display/types/display_snapshot.h" namespace ui { DisplaySnapshot::DisplaySnapshot(int64_t display_id, cons...
Jonekee/chromium.src
ui/display/types/display_snapshot.cc
C++
bsd-3-clause
1,255
""" Helpers for embarrassingly parallel code. """ # Author: Gael Varoquaux < gael dot varoquaux at normalesup dot org > # Copyright: 2010, Gael Varoquaux # License: BSD 3 clause from __future__ import division import os import sys from math import sqrt import functools import time import threading import itertools fr...
herilalaina/scikit-learn
sklearn/externals/joblib/parallel.py
Python
bsd-3-clause
33,164
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright (c) 2016 Red Hat, Inc. # # This file is part of Ansible # # Ansible 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 #...
thaim/ansible
lib/ansible/modules/cloud/ovirt/ovirt_job.py
Python
mit
7,379
/* * 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 Software Foundation. Oracle designates this * particular file as subject to th...
rokn/Count_Words_2015
testing/openjdk/jdk/src/share/classes/sun/security/krb5/internal/KerberosTime.java
Java
mit
12,458
/*jslint node:true, vars:true, bitwise:true, unparam:true */ /*jshint unused:true */ /*global */ /* * Author: Zion Orent <zorent@ics.com> * Copyright (c) 2014 Intel Corporation. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * ...
yoyojacky/upm
examples/javascript/grovemoisture.js
JavaScript
mit
2,103
# flake8: NOQA # "flake8: NOQA" to suppress warning "H104 File contains nothing but comments" # TODO(okuta): Implement packbits # TODO(okuta): Implement unpackbits
tigerneil/chainer
cupy/binary/packing.py
Python
mit
168
<?php /** * WPSEO plugin file. * * @package WPSEO\Admin\Views */ /** * @var Yoast_Form $yform */ if ( ! defined( 'WPSEO_VERSION' ) ) { header( 'Status: 403 Forbidden' ); header( 'HTTP/1.1 403 Forbidden' ); exit(); } /* translators: %1$s expands to Yoast SEO */ $submit_button_value = sprintf( __( 'Export you...
smpetrey/leahconstantine.com
web/app/plugins/wordpress-seo/admin/views/tabs/tool/wpseo-export.php
PHP
mit
1,073
<?php namespace Neos\Diff; /** * This file is part of the Neos.Diff package. * * (c) 2009 Chris Boulton <chris.boulton@interspire.com> * Portions (c) Contributors of the Neos Project - www.neos.io * * This package is Open Source Software. For the full copyright and license * information, please view the LICENSE...
dimaip/neos-development-collection
Neos.Diff/Classes/Diff.php
PHP
gpl-3.0
4,601
// Copyright John Maddock 2006. // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // Test real concept. // real_concept is an archetype for User defined Real types. // This fi...
Stevenwork/Innov_code
v0.9/innovApp/libboost_1_49_0/include/boost/math/concepts/real_concept.hpp
C++
lgpl-3.0
15,306
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
jwren/intellij-community
plugins/textmate/lib/bundles/git/src/api/extension.ts
TypeScript
apache-2.0
2,148
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
sarvex/tensorflow
tensorflow/core/grappler/costs/graph_memory_test.cc
C++
apache-2.0
7,766
// Copyright 2014 The Crashpad 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 ...
atom/crashpad
util/mach/mach_message_server.cc
C++
apache-2.0
10,737
/* * Copyright 2000-2015 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...
MichaelNedzelsky/intellij-community
java/java-impl/src/com/intellij/codeInsight/daemon/impl/quickfix/AddExternalLibraryToDependenciesQuickFix.java
Java
apache-2.0
3,201
package com.alibaba.otter.canal.instance.manager; import java.net.InetSocketAddress; import java.nio.charset.Charset; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.apache.commons.lang.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springf...
yonglehou/canal
instance/manager/src/main/java/com/alibaba/otter/canal/instance/manager/CanalInstanceWithManager.java
Java
apache-2.0
25,518
/******************************************************************************* * 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...
Nimco/sling
bundles/scripting/sightly/engine/src/main/java/org/apache/sling/scripting/sightly/impl/engine/runtime/SlingRuntimeObjectModel.java
Java
apache-2.0
2,349
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.intellij.lang.xpath.xslt.psi.impl; import com.intellij.psi.xml.XmlTag; import org.intellij.lang.xpath.psi.XPathExpression; import org.intellij.lang.xpath.xslt.psi.Xs...
siosio/intellij-community
plugins/xpath/xpath-lang/src/org/intellij/lang/xpath/xslt/psi/impl/XsltApplyTemplatesImpl.java
Java
apache-2.0
1,162
cask "vu" do version "1.2,6,1523016199" sha256 "a51884117a8e33339429a93a84c70eb82db46dc50ebe827ab7b7c9a0c6ced313" url "https://dl.devmate.com/com.boriskarulin.vu/#{version.csv.second}/#{version.csv.third}/vu-#{version.csv.second}.dmg", verified: "dl.devmate.com/com.boriskarulin.vu/" name "vu" desc "Ins...
nrlquaker/homebrew-cask
Casks/vu.rb
Ruby
bsd-2-clause
705
# -*- coding: utf-8 -*- # Authors: Alexandre Gramfort <alexandre.gramfort@inria.fr> # Mathieu Blondel <mathieu@mblondel.org> # Robert Layton <robertlayton@gmail.com> # Andreas Mueller <amueller@ais.uni-bonn.de> # Philippe Gervais <philippe.gervais@inria.fr> # Lars Buitinck ...
mfjb/scikit-learn
sklearn/metrics/pairwise.py
Python
bsd-3-clause
44,015
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.IO; using System.Linq; using System.Xml; using System.Xml.Linq; using Xunit; namespace X...
dotnet-bot/corefx
src/System.Private.Xml.Linq/tests/SDMSample/SDMElement.cs
C#
mit
37,040
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sylius\Component\Grid\DataExtractor; use Sylius\Component\Grid\Definition\Field; use Symfon...
psyray/Sylius
src/Sylius/Component/Grid/DataExtractor/PropertyAccessDataExtractor.php
PHP
mit
981
#!/usr/bin/env ruby require 'soap/rpc/standaloneServer' require 'calc2' class CalcServer2 < SOAP::RPC::StandaloneServer def on_init servant = CalcService2.new add_method(servant, 'set_value', 'newValue') add_method(servant, 'get_value') add_method_as(servant, '+', 'add', 'lhs') add_method_as(ser...
cykod/Webiva
vendor/gems/soap4r-1.5.8/test/soap/calc/server2.rb
Ruby
mit
571
/* eslint no-console: 0 */ var _ = require('underscore'); var files = require('./files.js'); var Console = require('./console.js').Console; // This file implements "upgraders" --- functions which upgrade a Meteor app to // a new version. Each upgrader has a name (registered in upgradersByName). // // You can test upg...
arunoda/meteor
tools/upgraders.js
JavaScript
mit
6,784
/* * Copyright (C) 2012-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. * * ...
mikkle/xbmc
xbmc/epg/EpgSearchFilter.cpp
C++
gpl-2.0
7,599
/* * 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.SQS/Model/Model/Internal/MarshallTransformations/GetQueueUrlRequestMarshaller.cs
C#
apache-2.0
2,252
package org.apache.lucene.codecs.sep; /* * 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, V...
smartan/lucene
src/main/java/org/apache/lucene/codecs/sep/IntIndexInput.java
Java
apache-2.0
1,932
/* * 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 ...
hequn8128/flink
flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/job/metrics/AggregatedMetric.java
Java
apache-2.0
3,347
/* 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, ...
liyinan926/kubernetes
pkg/kubelet/server/auth.go
GO
apache-2.0
4,024
/* * SSDPDeviceDescriptionParser * Connect SDK * * Copyright (c) 2014 LG Electronics. * Created by Hyun Kook Khang on 6 Jan 2015 * * 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 * ...
AspiroTV/Connect-SDK-Android-Core
src/com/connectsdk/discovery/provider/ssdp/SSDPDeviceDescriptionParser.java
Java
apache-2.0
6,517
/** * 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...
PramodSSImmaneni/apex-malhar
library/src/main/java/com/datatorrent/lib/util/KeyValPair.java
Java
apache-2.0
1,480
#include <exception> #include <stdio.h> int throws_exception_on_even (int value); int intervening_function (int value); int catches_exception (int value); int catches_exception (int value) { try { return intervening_function(value); // This is the line you should stop at for catch } catch (int...
endlessm/chromium-browser
third_party/llvm/lldb/test/API/lang/cpp/exceptions/exceptions.cpp
C++
bsd-3-clause
696
// Copyright (c) 2011 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 "remoting/host/capture_scheduler.h" #include <algorithm> #include "base/logging.h" #include "base/sys_info.h" #include "base/time.h" names...
zcbenz/cefode-chromium
remoting/host/capture_scheduler.cc
C++
bsd-3-clause
1,951
require 'optparse' require 'stringio' module Spec module Runner class OptionParser < ::OptionParser class << self def parse(args, err, out) parser = new(err, out) parser.parse(args) parser.options end def spec_command? $0.split('/').last == '...
dnclabs/lockbox
vendor/plugins/rspec/lib/spec/runner/option_parser.rb
Ruby
bsd-3-clause
11,779
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Reflection.Metadata; using System.Reflection.PortableExecutable; namespace System.Reflection.TypeLoadi...
ViktorHofer/corefx
src/System.Reflection.MetadataLoadContext/src/System/Reflection/TypeLoading/Modules/Ecma/EcmaModule.ManifestResources.cs
C#
mit
4,067
var _ = require('underscore'); var os = require('os'); var utils = require('./utils.js'); /* Meteor's current architecture scheme defines the following virtual * machine types, which are defined by specifying what is promised by * the host enviroment: * * browser.w3c * A web browser compliant with modern stand...
lpinto93/meteor
tools/utils/archinfo.js
JavaScript
mit
10,422
module.exports = { justNow: "ligenu", secondsAgo: "{{time}} sekunder siden", aMinuteAgo: "et minut siden", minutesAgo: "{{time}} minutter siden", anHourAgo: "en time siden", hoursAgo: "{{time}} timer siden", aDayAgo: "i går", daysAgo: "{{time}} dage siden", aWeekAgo: "en uge siden", weeksAgo: "{{tim...
joegesualdo/dotfiles
npm-global/lib/node_modules/npm/node_modules/tiny-relative-date/translations/da.js
JavaScript
mit
998
<?php /* * This file is part of the Assetic package, an OpenSky project. * * (c) 2010-2011 OpenSky Project Inc * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Assetic\Asset; use Assetic\Filter\FilterInterface; /** * ...
VelvetMirror/doctrine
vendor/assetic/src/Assetic/Asset/AssetInterface.php
PHP
mit
3,333
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Collections; using System.Globalization; using System.Net.NetworkInformation; using System.Runtime.Seri...
Petermarcu/corefx
src/System.Net.WebProxy/src/System/Net/WebProxy.cs
C#
mit
8,613
<?php namespace Drupal\Core; use Drupal\Component\Utility\UrlHelper; use Drupal\Core\DependencyInjection\DependencySerializationTrait; use Drupal\Core\Routing\RouteMatchInterface; use Drupal\Core\Routing\UrlGeneratorInterface; use Drupal\Core\Session\AccountInterface; use Drupal\Core\Utility\UnroutedUrlAssemblerInter...
318io/318-io
expo/www/core/lib/Drupal/Core/Url.php
PHP
gpl-2.0
29,307
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtNetwork module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licens...
dulton/vlc-2.1.4.32.subproject-2013-update2
win32/include/qt4/src/network/access/qnetworkaccessfilebackend.cpp
C++
gpl-2.0
9,651
/* * Copyright (C) 2015 RECRUIT LIFESTYLE CO., LTD. * * 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...
cheyiliu/test4XXX
test4ColoringLoading/src/jp/co/recruit_lifestyle/android/widget/character/ButterflyPath.java
Java
apache-2.0
33,662
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Serializer\Mapping\Loader; use Symfony\Component\Seri...
MisterNono/camping
vendor/symfony/symfony/src/Symfony/Component/Serializer/Mapping/Loader/LoaderChain.php
PHP
apache-2.0
1,953
/*============================================================================= Library: XNAT/Core Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance wit...
pieper/CTK
Libs/XNAT/Core/ctkXnatObjectPrivate.cpp
C++
apache-2.0
1,167
module Metric::Processing DERIVED_COLS = [ :derived_cpu_available, :derived_cpu_reserved, :derived_host_count_off, :derived_host_count_on, :derived_host_count_total, :derived_memory_available, :derived_memory_reserved, :derived_memory_used, :derived_host_sockets, :derived_vm_al...
mfeifer/manageiq
app/models/metric/processing.rb
Ruby
apache-2.0
7,255
( function ( mw, $ ) { mw.page = {}; // Client profile classes for <html> // Allows for easy hiding/showing of JS or no-JS-specific UI elements $( 'html' ) .addClass( 'client-js' ) .removeClass( 'client-nojs' ); $( function () { // Initialize utilities as soon as the document is ready (mw.util.$content, ...
BRL-CAD/web
wiki/resources/mediawiki.page/mediawiki.page.startup.js
JavaScript
bsd-2-clause
826
//================================================================================================= /*! // \file src/mathtest/dvectdvecmult/VHbVDb.cpp // \brief Source file for the VHbVDb dense vector/dense vector outer product math test // // Copyright (C) 2013 Klaus Iglberger - All Rights Reserved // // This file...
yzxyzh/blaze-lib
blazetest/src/mathtest/dvectdvecmult/VHbVDb.cpp
C++
bsd-3-clause
4,422
/// Copyright (c) 2012 Ecma International. All rights reserved. /** * @path ch15/15.3/15.3.5/15.3.5.4/15.3.5.4_2-77gs.js * @description Strict mode - checking access to strict function caller from non-strict function (non-strict function declaration called by strict Function constructor) * @noStrict */ function...
Oceanswave/NiL.JS
Tests/tests/sputnik/ch15/15.3/15.3.5/15.3.5.4/15.3.5.4_2-77gs.js
JavaScript
bsd-3-clause
476
//================================================================================================= /*! // \file src/mathtest/tdvecdvecmult/V4aV4b.cpp // \brief Source file for the V4aV4b dense vector/dense vector inner product math test // // Copyright (C) 2013 Klaus Iglberger - All Rights Reserved // // This file...
honnibal/blaze-lib
blazetest/src/mathtest/tdvecdvecmult/V4aV4b.cpp
C++
bsd-3-clause
3,667
"""SCons.Scanner.IDL This module implements the depenency scanner for IDL (Interface Definition Language) files. """ # # Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 The SCons Foundation # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and asso...
mastbaum/rat-pac
python/SCons/Scanner/IDL.py
Python
bsd-3-clause
1,852
// Copyright 2009 the Sputnik authors. All rights reserved. /** * The [[Value]] property of the newly constructed object * is set by following steps: * 1. Call ToNumber(year) * 2. Call ToNumber(month) * 3. If date is supplied use ToNumber(date) * 4. If hours is supplied use ToNumber(hours) * 5. If minutes is su...
Oceanswave/NiL.JS
Tests/tests/sputnik/ch15/15.9/15.9.3/S15.9.3.1_A4_T4.js
JavaScript
bsd-3-clause
1,950
// Copyright 2009 the Sputnik authors. All rights reserved. /** * Number.MIN_VALUE has the attribute DontEnum * * @path ch15/15.7/15.7.3/15.7.3.3/S15.7.3.3_A4.js * @description Checking if enumerating Number.MIN_VALUE fails */ //CHECK#1 for(var x in Number) { if(x === "MIN_VALUE") { $ERROR('#1: Number.MIN_...
Oceanswave/NiL.JS
Tests/tests/sputnik/ch15/15.7/15.7.3/15.7.3.3/S15.7.3.3_A4.js
JavaScript
bsd-3-clause
475
/******************************************************* * Copyright (c) 2014, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause **********************************************...
marbre/arrayfire
src/backend/opencl/meanshift.hpp
C++
bsd-3-clause
519
// // FPEnvironment_SUN.cpp // // $Id: //poco/1.4/Foundation/src/FPEnvironment_SUN.cpp#1 $ // // Library: Foundation // Package: Core // Module: FPEnvironment // // Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-License-Identifier: BSL-1.0 // #include <math.h>...
weinzierl-engineering/baos
thirdparty/poco/Foundation/src/FPEnvironment_SUN.cpp
C++
mit
2,352
<?php /** * @package Joomla.Administrator * @subpackage com_admin * * @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; ?> <fieldset class="adminform"> <legend><?ph...
renebentes/joomla-3.x
administrator/components/com_admin/views/sysinfo/tmpl/default_phpinfo.php
PHP
gpl-2.0
422
/* * Copyright (c) 2015, 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 Softwa...
md-5/jdk10
src/jdk.jlink/share/classes/jdk/tools/jlink/internal/JlinkPermission.java
Java
gpl-2.0
1,652
/** * Copyright (c) 2009--2010 Red Hat, Inc. * * This software is licensed to you under the GNU General Public License, * version 2 (GPLv2). There is NO WARRANTY for this software, express or * implied, including the implied warranties of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. You should have rece...
shastah/spacewalk
java/code/src/com/redhat/rhn/domain/action/kickstart/KickstartInitiateAction.java
Java
gpl-2.0
798
<?php /** * Joomla! Content Management System * * @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\CMS\Feed\Parser; defined('JPATH_PLATFORM') or die; use Joomla\CMS\Feed\Feed; use...
IOC/joomla3
libraries/src/Feed/Parser/RssParser.php
PHP
gpl-2.0
11,247
// Copyright 2010 Dolphin Emulator Project // Licensed under GPLv2+ // Refer to the license.txt file included. #include "InputCommon/ControllerEmu/ControllerEmu.h" #include <memory> #include <mutex> #include <string> #include "Common/IniFile.h" #include "InputCommon/ControlReference/ControlReference.h" #include "In...
delroth/dolphin
Source/Core/InputCommon/ControllerEmu/ControllerEmu.cpp
C++
gpl-2.0
3,349
from sympy import * from sympy.printing import print_ccode from sympy.physics.vector import ReferenceFrame, gradient, divergence from sympy.vector import CoordSysCartesian R = ReferenceFrame('R'); x = R[0]; y = R[1]; a=-0.5; b=1.5; visc=1e-1; lambda_=(1/(2*visc)-sqrt(1/(4*visc**2)+4*pi**2)); print(" visc=%f" % visc) ...
pesser/dealii
examples/step-55/reference.py
Python
lgpl-2.1
1,071
package store import ( "strings" "github.com/docker/swarmkit/api" "github.com/docker/swarmkit/manager/state" memdb "github.com/hashicorp/go-memdb" ) const tableService = "service" func init() { register(ObjectStoreConfig{ Name: tableService, Table: &memdb.TableSchema{ Name: tableService, Indexes: map...
jlebon/docker
vendor/src/github.com/docker/swarmkit/manager/state/store/services.go
GO
apache-2.0
5,558
/* * Copyright (C) 2010 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 conditions a...
mogoweb/webkit_for_android5.1
webkit/Tools/MiniBrowser/win/MiniBrowser.cpp
C++
apache-2.0
2,604
/* * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #include "Zl...
raphaelamorim/proxygen
proxygen/lib/utils/ZlibStreamCompressor.cpp
C++
bsd-3-clause
4,682
// stdafx.cpp : source file that includes just the standard includes // KronFit.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information #include "stdafx.h" // TODO: reference any additional headers you need in STDAFX.H // and not in this file
plliao/FASTEN
src/stdafx.cpp
C++
mit
294
// Type definitions for textr 0.3 // Project: https://github.com/shuvalov-anton/textr // Definitions by: Adam Zerella <https://github.com/adamzerella> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped type TextrArgs = string | object; interface textr { /** * Register new middleware and array...
markogresak/DefinitelyTyped
types/textr/index.d.ts
TypeScript
mit
633
<?php namespace Illuminate\Tests\Cookie\Middleware; use Illuminate\Http\Request; use Illuminate\Http\Response; use Illuminate\Routing\Router; use PHPUnit\Framework\TestCase; use Illuminate\Cookie\CookieJar; use Illuminate\Events\Dispatcher; use Illuminate\Routing\Controller; use Illuminate\Container\Container; use Il...
guiwoda/framework
tests/Cookie/Middleware/EncryptCookiesTest.php
PHP
mit
3,594
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ re...
jeromelebleu/foundation-sites
dist/js/plugins/foundation.sticky.js
JavaScript
mit
34,861
<?php $type='TrueTypeUnicode'; $name='DejaVuSansCondensed-BoldOblique'; $desc=array('Ascent'=>928,'Descent'=>-236,'CapHeight'=>-46,'Flags'=>96,'FontBBox'=>'[-960 -385 1804 1121]','ItalicAngle'=>-11,'StemV'=>120,'MissingWidth'=>540); $up=-63; $ut=44; $dw=540; $cw=array( 0=>540,32=>313,33=>410,34=>469,35=>626,36=>626,37=...
himan5050/hpbc
tcpdf/fonts/dejavusanscondensedbi.php
PHP
gpl-2.0
45,561
/* ScummVM - Graphic Adventure Engine * * ScummVM is the legal property of its developers, whose names * are too numerous to list here. Please refer to the COPYRIGHT * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
alexbevi/scummvm
engines/mutationofjb/widgets/imagewidget.cpp
C++
gpl-2.0
1,331
/* * Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.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 of the License, or (at your * option) any later ve...
heros/multi_realm_cell
src/src_cata/server/scripts/EasternKingdoms/ZulGurub/boss_zanzil.cpp
C++
gpl-2.0
3,051
<?php /** * @package Joomla.Site * @subpackage Layout * * @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('JPATH_BASE') or die; extract($displayData); /** * Layout variables * -...
ciar4n/joomla-cms
layouts/joomla/modal/body.php
PHP
gpl-2.0
2,238
<?php /* * LibreNMS * * 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 3 of the License, or (at your * option) any later version. Please see LICENSE.txt at the top level of ...
pheinrichs/librenms
html/pages/health/temperature.inc.php
PHP
gpl-3.0
648
# vim:fileencoding=utf-8:noet from __future__ import (unicode_literals, division, absolute_import, print_function) import os from powerline.bindings.vim import buffer_name def commandt(matcher_info): name = buffer_name(matcher_info) return name and os.path.basename(name) == b'GoToFile'
gorczynski/dotfiles
vim/bundle/powerline/powerline/matchers/vim/plugin/commandt.py
Python
gpl-3.0
293
/***************************************************************************** * * PROJECT: Multi Theft Auto v1.0 * LICENSE: See LICENSE in the top level directory * FILE: core/CCore.cpp * PURPOSE: Base core class * DEVELOPERS: Cecill Etheredge <ijsf@gmx.net> * Chris McArthur <> *...
BozhkoAlexander/mtasa-blue
MTA10/core/CCore.cpp
C++
gpl-3.0
69,554
/* md5.cc Jeremy Barnes, 25 October 2012 Copyright (c) 2012 Datacratic. All rights reserved. */ #include "hash.h" #include "string_functions.h" #include <boost/algorithm/string.hpp> #define CRYPTOPP_ENABLE_NAMESPACE_WEAK 1 #include "crypto++/sha.h" #include "crypto++/md5.h" #include "crypto++/hmac.h" #include...
WitchKing-Helkar/rtbkit
jml/utils/hash.cc
C++
apache-2.0
3,112
(function() { 'use strict'; Polymer({ is: 'iron-overlay-backdrop', properties: { /** * Returns true if the backdrop is opened. */ opened: { reflectToAttribute: true, type: Boolean, value: false, observer: '_openedChanged' } }, liste...
axinging/chromium-crosswalk
third_party/polymer/v1_0/components-chromium/iron-overlay-behavior/iron-overlay-backdrop-extracted.js
JavaScript
bsd-3-clause
2,415
'use strict'; $(function () { //Simple implementation of direct chat contact pane toggle (TEMPORARY) $('[data-widget="chat-pane-toggle"]').click(function(){ $("#myDirectChat").toggleClass('direct-chat-contacts-open'); }); /* ChartJS * ------- * Here we will create a few charts using ChartJS */ ...
johan--/ember-admin-dashboards
vendor/AdminLTE/dist/js/pages/dashboard2.js
JavaScript
mit
9,137
/* * Copyright (c) 1996, 2010, 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 ...
rokn/Count_Words_2015
testing/openjdk/jdk/src/windows/classes/sun/awt/windows/WWindowPeer.java
Java
mit
27,167
/*! * Bootstrap v3.2.0 (http://getbootstrap.com) * Copyright 2011-2014 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript requires jQuery') } /* ================================================...
Czarnodziej/final-omnislash
web/assetic/bootstrap_js.js
JavaScript
mit
62,681
import { ColorPalette20 } from "../../"; export = ColorPalette20;
markogresak/DefinitelyTyped
types/carbon__icons-react/lib/color-palette/20.d.ts
TypeScript
mit
67
/** * Copyright (c) 2010-2016, openHAB.org and others. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ package org...
paolodenti/openhab
bundles/binding/org.openhab.binding.intertechno/src/main/java/org/openhab/binding/intertechno/internal/CULIntertechnoActivator.java
Java
epl-1.0
1,485
/*global $:false*/ define([ "manager", "constants", "lang", "generator" ], function(manager, C, L, generator) { "use strict"; /** * @name Composite * @description JS code for the Composite Data Type. * @see DataType * @namespace */ /* @private */ var MODULE_ID = "data-type-Composite"; var LANG = L...
vivekmalikymca/generatedata
plugins/dataTypes/Composite/Composite.js
JavaScript
gpl-3.0
1,444
define(["../SimpleTheme", "./common"], function(SimpleTheme, themes){ themes.Minty = new SimpleTheme({ colors: [ "#80ccbb", "#539e8b", "#335f54", "#8dd1c2", "#68c5ad" ] }); return themes.Minty; });
avz-cmf/zaboy-middleware
www/js/dojox/charting/themes/Minty.js
JavaScript
gpl-3.0
220
define( ({ "preview": "Anteprima" }) );
avz-cmf/zaboy-middleware
www/js/dojox/editor/plugins/nls/it/Preview.js
JavaScript
gpl-3.0
41
module SearchesHelper def show_birthdays? return false unless params[:birthday] params[:birthday][:month].present? || params[:birthday][:day].present? end def show_testimonies? params[:testimony].present? end def types_for_select t('search.form.types').invert.to_a + (Setting.get(:fe...
davidleach/onebody
app/helpers/searches_helper.rb
Ruby
agpl-3.0
557
//////////////////////////////////////////////////////////////////////////////// // checkstyle: Checks Java source code for adherence to a set of rules. // Copyright (C) 2001-2015 the original author or authors. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU ...
attatrol/checkstyle
src/main/java/com/puppycrawl/tools/checkstyle/checks/indentation/TryHandler.java
Java
lgpl-2.1
2,009
# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use ...
StackPointCloud/libcloud
demos/example_aliyun_ecs.py
Python
apache-2.0
2,755
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #nullable disable using System; using System.Diagnostics; using System.IO; namespace Microsoft.CodeAnalysis.Test....
brettfo/roslyn
src/Test/Utilities/Portable/TempFiles/TempDirectory.cs
C#
apache-2.0
3,117
<table id="<?php echo $id ?>" width="100%"> <?php if (isset($options['title'])): ?> <tr><td bgcolor="<?php echo $op_color["core_color_5"] ?>"> <font color="<?php echo $op_color["core_color_25"] ?>"><?php echo $options['title'] ?></font><br> </td></tr> <?php else: ?> <tr><td bgcolor="<?php echo $op_color["core_color_7"]...
smart-e/lifemap
apps/mobile_frontend/templates/_partsListBox.php
PHP
apache-2.0
1,074
/* * 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 ma...
Nipuni/wso2-axis2
modules/samples/eventing/src/sample/eventing/ListnerService2.java
Java
apache-2.0
1,154
// Copyright 2016 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. class MyArray extends Array { } Object.prototype[Symbol.species] = MyArray; delete Array[Symbol.species]; __v_1 = Math.pow(2, 31); __v_2 = []; __v_2[__v...
weolar/miniblink49
v8_7_5/test/mjsunit/regress/regress-crbug-592340.js
JavaScript
apache-2.0
418
/* * 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")...
hastef88/andes
modules/andes-core/client/src/main/java/org/wso2/andes/client/message/AbstractBytesTypedMessage.java
Java
apache-2.0
23,169