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 |
|---|---|---|---|---|---|
/* 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 ... | vanfanel/scummvm | engines/dragons/midimusicplayer.cpp | C++ | gpl-2.0 | 5,842 |
// PR c++/91353 - P1331R2: Allow trivial default init in constexpr contexts.
// { dg-do compile { target c++20 } }
// In c++2a we don't emit a call to _ZN3FooI3ArgEC1Ev.
struct Arg;
struct Base {
int i;
virtual ~Base();
};
template <class> struct Foo : Base { };
Foo<Arg> a;
| Gurgel100/gcc | gcc/testsuite/g++.dg/cpp2a/constexpr-init10.C | C++ | gpl-2.0 | 280 |
/**
* @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang( 'button', 'sq', {
selectedLabel: '%1 (Përzgjedhur)'
} );
| SeeyaSia/www | web/libraries/ckeditor/plugins/button/lang/sq.js | JavaScript | gpl-2.0 | 246 |
/*
* Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | alexsh/Telegram | TMessagesProj/jni/voip/webrtc/media/engine/multiplex_codec_factory.cc | C++ | gpl-2.0 | 4,111 |
<?php
/**
* @file
* Contains \Drupal\locale\Tests\LocaleConfigTranslationImportTest.
*/
namespace Drupal\locale\Tests;
use Drupal\simpletest\WebTestBase;
use Drupal\language\Entity\ConfigurableLanguage;
use Drupal\Core\Url;
/**
* Tests translation update's effects on configuration translations.
*
* @group loc... | webflo/d8-core | modules/locale/src/Tests/LocaleConfigTranslationImportTest.php | PHP | gpl-2.0 | 2,966 |
/*
* Copyright (c) 2004, 2018, 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 ... | md-5/jdk10 | test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/multienv/MA10/ma10t001/ma10t001.cpp | C++ | gpl-2.0 | 6,032 |
<?php
return [
'actions' => "действия",
'author' => "Автор",
'cancel' => "Отмена",
'create' => "Создать",
'delete' => "Удалить",
'deleted' => "Удаленный",
'description' => "Описание",
'edit' => "Редактир... | MontanaBanana/unidescription.com | vendor/riari/laravel-forum/translations/ru/general.php | PHP | gpl-2.0 | 1,886 |
<?php
/**
* This file is part of the Tmdb PHP API created by Michael Roterman.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @package Tmdb
* @author Michael Roterman <michael@wtfz.net>
* @copyright (c) 2013, Michael Roterman
*... | yorkulibraries/vufind | web/vendor/php-tmdb/api/lib/Tmdb/Model/Change.php | PHP | gpl-2.0 | 1,217 |
<?php
// # Get Sale sample
// Sale transactions are nothing but completed payments.
// This sample code demonstrates how you can retrieve
// details of completed Sale Transaction.
// API used: /v1/payments/sale/{sale-id}
/** @var Payment $payment */
$payment = require __DIR__ . '/../payments/CreatePayment.php';
use... | jhonrsalcedo/sitio | wp-content/plugins/realia/libraries/PayPal-PHP-SDK/sample/sale/GetSale.php | PHP | gpl-2.0 | 1,041 |
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4: */
// +----------------------------------------------------------------------+
// | PHP Version 4 |
// +----------------------------------------------------------------------+
// | Copyright (c) 1997-2002 The PHP ... | wassemgtk/OpenX-using-S3-and-CloudFront | lib/pear/HTML/Template/Flexy/Compiler/Flexy.php | PHP | gpl-2.0 | 29,721 |
/*
* Copyright (c) 1998-2012 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | dwango/quercus | src/main/java/com/caucho/quercus/marshal/JavaByteObjectArrayMarshal.java | Java | gpl-2.0 | 2,241 |
<?php
/**
* Base class that represents a row from the 'cc_smemb' table.
*
*
*
* @package propel.generator.airtime.om
*/
abstract class BaseCcSmemb extends BaseObject implements Persistent
{
/**
* Peer class name
*/
const PEER = 'CcSmembPeer';
/**
* The Peer class.
* Instance provides a conven... | martin-craig/Airtime | airtime_mvc/application/models/airtime/om/BaseCcSmemb.php | PHP | gpl-3.0 | 23,769 |
L.Polyline.Measure = L.Draw.Polyline.extend({
addHooks: function() {
L.Draw.Polyline.prototype.addHooks.call(this);
if (this._map) {
this._markerGroup = new L.LayerGroup();
this._map.addLayer(this._markerGroup);
this._markers = [];
this._map.on('click'... | sephiroth6/nodeshot | nodeshot/ui/default/static/ui/lib/js/leaflet.measurecontrol-customized.js | JavaScript | gpl-3.0 | 5,309 |
/************************************************************************
**
** Copyright (C) 2012 John Schember <john@nachtimwald.com>
** Copyright (C) 2012 Dave Heiland
** Copyright (C) 2012 Grant Drake
** Copyright (C) 2009, 2010, 2011 Strahinja Markovic <strahinja.markovic@gmail.com>
**
** This file is par... | uchuugaka/Sigil | src/Tabs/FlowTab.cpp | C++ | gpl-3.0 | 47,948 |
/*
* The Kuali Financial System, a comprehensive financial management system for higher education.
*
* Copyright 2005-2014 The Kuali Foundation
*
* 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 Fre... | ua-eas/ua-kfs-5.3 | work/src/org/kuali/kfs/module/tem/batch/service/impl/PerDiemFileParsingServiceImpl.java | Java | agpl-3.0 | 3,883 |
/*
* re-quote.js
*
* Copyright (C) 2009-13 by RStudio, Inc.
*
* This program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNESS FOR A ... | rstudio/shiny-server | lib/core/re-quote.js | JavaScript | agpl-3.0 | 656 |
/*
* eXist Open Source Native XML Database
* Copyright (C) 2001-2009 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
* o... | MjAbuz/exist | src/org/exist/xquery/functions/fn/FunCurrentDateTime.java | Java | lgpl-2.1 | 4,868 |
/*
* Copyright 2016 Red Hat, 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 ... | xasx/wildfly | testsuite/integration/manualmode/src/test/java/org/wildfly/test/manual/elytron/seccontext/WhoAmI.java | Java | lgpl-2.1 | 1,040 |
<?php
class AddReviewedWordsCountToChunkReviews extends AbstractMatecatMigration
{
public $sql_up = <<<EOF
ALTER TABLE `qa_chunk_reviews` ADD COLUMN `reviewed_words_count` integer NOT NULL DEFAULT 0 ;
EOF;
public $sql_down = <<<EOF
ALTER TABLE `qa_chunk_reviews` DROP COLUMN `reviewed_words_count` ;
EOF;
... | danizero/MateCat | migrations/20160124101801_add_reviewed_words_count_to_chunk_reviews.php | PHP | lgpl-3.0 | 322 |
#include <private/qmetaobjectbuilder_p.h>
#include <QtOpenGL/QtOpenGL>
#include <QtOpenGL/QGLFunctions>
#include <QtQml/QtQml>
#include <QQmlEngine>
#include <QDebug>
#include "govalue.h"
#include "capi.h"
class GoValueMetaObject : public QAbstractDynamicMetaObject
{
public:
GoValueMetaObject(QObject* value, Go... | Ouroboros/goqml | src/cpp/govalue.cpp | C++ | lgpl-3.0 | 8,198 |
# coding: utf-8
from __future__ import unicode_literals
from .common import InfoExtractor
from ..utils import (
int_or_none,
float_or_none,
qualities,
)
class GfycatIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?gfycat\.com/(?P<id>[^/?#]+)'
_TEST = {
'url': 'http://gfycat.com/Deadly... | apllicationCOM/youtube-dl-api-server | youtube_dl_server/youtube_dl/extractor/gfycat.py | Python | unlicense | 2,868 |
/*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* 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 ... | msrader/zap-extensions | src/org/zaproxy/zap/extension/exampleRightClickMsg/ExtensionRightClickMsgMenu.java | Java | apache-2.0 | 3,011 |
using System;
using System.Data.Entity;
using System.Transactions;
namespace Nop.Data.Initializers
{
/// <summary>
/// An implementation of IDatabaseInitializer that will <b>DELETE</b>, recreate, and optionally re-seed the
/// database only if the model has changed since the database was created. This i... | jornfilho/nopCommerce | source/Libraries/Nop.Data/Initializers/DropCreateCeDatabaseIfModelChanges.cs | C# | apache-2.0 | 2,276 |
/*
* 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 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... | robin13/elasticsearch | server/src/test/java/org/elasticsearch/action/termvectors/TransportMultiTermVectorsActionTests.java | Java | apache-2.0 | 11,980 |
/*
* 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_monitor/datareq/version.go | GO | apache-2.0 | 1,170 |
/*
* Copyright 2017 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... | jomarko/kie-wb-common | kie-wb-common-dmn/kie-wb-common-dmn-client/src/test/java/org/kie/workbench/common/dmn/client/widgets/grid/BaseExpressionGridTest.java | Java | apache-2.0 | 4,021 |
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
using System.IO;
using System.Xml;
using System.Text;
using System.Linq;
using System.Collections.Generic;
namespace Soomla
{
public class SoomlaManifestTools
{
#if UNITY_EDITOR
public static void GenerateManifest()
{
var o... | john-gu/TuneSoomlaUnity | TuneSoomla/Assets/Plugins/Soomla/Core/Config/android/SoomlaManifestTools.cs | C# | apache-2.0 | 5,762 |
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package sqs
import (
"fmt"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awsutil"
"github.com/aws/aws-sdk-go/aws/request"
"github.com/aws/aws-sdk-go/private/protocol"
"github.com/aws/aws-sdk-go/private/protocol/query"
)
cons... | xiaozhu36/terraform-provider | vendor/github.com/hashicorp/terraform/vendor/github.com/aws/aws-sdk-go/service/sqs/api.go | GO | apache-2.0 | 191,506 |
/*
* 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... | miniway/presto | presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/storage/organization/OrganizationJobFactory.java | Java | apache-2.0 | 1,784 |
/*
* Copyright 2012-2017 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... | bclozel/spring-boot | spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/restart/DefaultRestartInitializer.java | Java | apache-2.0 | 2,844 |
package network
// 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
//
// Unl... | Miciah/origin | vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-11-01/network/routefilterrules.go | GO | apache-2.0 | 20,757 |
/*
* Copyright 2000-2013 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 | plugins/google-app-engine/jps-plugin/src/org/jetbrains/jps/appengine/model/impl/AppEngineModuleExtensionProperties.java | Java | apache-2.0 | 1,360 |
define(
//begin v1.x content
{
"months-format-narrow": [
"E",
"F",
"M",
"A",
"M",
"J",
"J",
"A",
"S",
"O",
"N",
"D"
],
"field-weekday": "día de la semana",
"dateFormatItem-yyQQQQ": "QQQQ 'de' yy",
"dateFormatItem-yQQQ": "QQQ y",
"dateFormatItem-yMEd": "EEE d/M/y",
"dateFormatItem-MMMEd": ... | sulistionoadi/belajar-springmvc-dojo | training-web/src/main/webapp/js/dojotoolkit/dojo/cldr/nls/es/gregorian.js | JavaScript | apache-2.0 | 3,916 |
/*
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, ... | yaxinlx/apiserver-builder | cmd/vendor/k8s.io/kubernetes/cmd/kubeadm/app/images/images.go | GO | apache-2.0 | 1,741 |
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*
* 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/. */
package org.mozilla.javascript;
... | abdullah38rcc/closure-compiler | lib/rhino/src/org/mozilla/javascript/NativeGlobal.java | Java | apache-2.0 | 26,767 |
/**
* 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... | kevinearls/camel | components/camel-zookeeper/src/main/java/org/apache/camel/component/zookeeper/operations/ZooKeeperOperation.java | Java | apache-2.0 | 3,582 |
/*
* Copyright 2019 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | doom369/netty | codec-dns/src/main/java/io/netty/handler/codec/dns/TcpDnsResponseDecoder.java | Java | apache-2.0 | 2,622 |
/*
* Copyright (c) 2005-2008, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.ap... | thariyarox/product-is | modules/migration/migration-5.0.0_to_5.1.0/wso2-is-migration-client/src/main/java/org/wso2/carbon/is/migration/MigrationDatabaseCreator.java | Java | apache-2.0 | 11,693 |
// Copyright 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 "cc/trees/layer_sorter.h"
#include <algorithm>
#include <deque>
#include <limits>
#include <vector>
#include "base/logging.h"
#include "cc/base... | plxaye/chromium | src/cc/trees/layer_sorter.cc | C++ | apache-2.0 | 17,413 |
/*
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, ... | tallclair/kubernetes | cmd/kube-apiserver/app/testing/testserver.go | GO | apache-2.0 | 10,075 |
/**
* 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 | components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducer.java | Java | apache-2.0 | 21,922 |
/*
* 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... | goodwinnk/intellij-community | xml/xml-analysis-impl/src/com/intellij/codeInspection/htmlInspections/RemoveExtraClosingTagIntentionAction.java | Java | apache-2.0 | 4,261 |
/*
* Copyright 2000-2013 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... | apixandru/intellij-community | platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/ExternalSystemStartupActivity.java | Java | apache-2.0 | 3,059 |
"""Support Wink alarm control panels."""
import pywink
import homeassistant.components.alarm_control_panel as alarm
from homeassistant.components.alarm_control_panel.const import (
SUPPORT_ALARM_ARM_AWAY,
SUPPORT_ALARM_ARM_HOME,
)
from homeassistant.const import (
STATE_ALARM_ARMED_AWAY,
STATE_ALARM_AR... | sdague/home-assistant | homeassistant/components/wink/alarm_control_panel.py | Python | apache-2.0 | 2,276 |
using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using UIKit;
namespace OpacityBindingXaml.iOS
{
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the application, as well as listening (and optionally respon... | YOTOV-LIMITED/xamarin-forms-book-preview-2 | Chapter16/OpacityBindingXaml/OpacityBindingXaml/OpacityBindingXaml.iOS/AppDelegate.cs | C# | apache-2.0 | 1,111 |
steal("jquerypp/event/hover", 'funcunit/syn', 'funcunit/qunit', function ($, Syn) {
module("jquerypp/dom/hover")
test("hovering", function () {
$("#qunit-test-area").append("<div id='hover'>Content<div>")
var hoverenters = 0,
hoverinits = 0,
hoverleaves = 0,
delay = 15;
$("#hover").bind("hoverinit", ... | willametteuniversity/webcirc2 | static/jquerypp/event/hover/hover_test.js | JavaScript | apache-2.0 | 2,166 |
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... | jabbrwcky/selenium | java/client/src/org/openqa/selenium/support/ui/Clock.java | Java | apache-2.0 | 1,621 |
/*
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, ... | djosborne/kubernetes | staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/defaults.go | GO | apache-2.0 | 4,758 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
namespace MandelbrotProgress.WinPhone
{
public partial class MainPage : global::Xa... | YOTOV-LIMITED/xamarin-forms-book-preview-2 | Chapter20/MandelbrotProgress/MandelbrotProgress/MandelbrotProgress.WinPhone/MainPage.xaml.cs | C# | apache-2.0 | 658 |
// 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... | apache/reef | lang/cs/Org.Apache.REEF.Bridge.Core.Tests/Fail/Driver/NoopTask.cs | C# | apache-2.0 | 4,885 |
package com.crawljax.browser;
import java.io.File;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URI;
import java.net.URL;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Patte... | mmayorivera/crawljax | core/src/main/java/com/crawljax/browser/WebDriverBackedEmbeddedBrowser.java | Java | apache-2.0 | 26,622 |
package com.wangjie.recyclerview.example;
import com.wangjie.androidinject.annotation.present.AIAppCompatActivity;
/**
* Author: wangjie
* Email: tiantian.china.2@gmail.com
* Date: 7/10/15.
*/
public class BaseActivity extends AIAppCompatActivity{
}
| jackyglony/RecyclerViewSample | example/src/main/java/com/wangjie/recyclerview/example/BaseActivity.java | Java | apache-2.0 | 256 |
package com.linkedin.databus2.producers.ds;
import org.apache.avro.Schema;
/*
*
* Copyright 2013 LinkedIn Corp. 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
*
* htt... | rahuljoshi123/databus | databus2-relay/databus2-event-producer-common/src/main/java/com/linkedin/databus2/producers/ds/KeyPair.java | Java | apache-2.0 | 1,479 |
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed ... | ruhip/mesos1.0.1_20170518 | 3rdparty/libprocess/include/process/metrics/metric.hpp | C++ | apache-2.0 | 2,391 |
<?php
/**
* Directory utilities.
*
* Copyright: © 2009-2011
* {@link http://www.websharks-inc.com/ WebSharks, Inc.}
* (coded in the USA)
*
* Released under the terms of the GNU General Public License.
* You should have received a copy of the GNU General Public License,
* along with this software. In the main directory,... | Juni4567/meritscholarship | wp-content/plugins3/s2member/includes/classes/utils-dirs.inc.php | PHP | apache-2.0 | 8,976 |
/*
* Copyright 2012 The Netty Project
*
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless... | NiteshKant/netty | example/src/main/java/io/netty/example/udt/echo/rendezvousBytes/ByteEchoPeerHandler.java | Java | apache-2.0 | 2,044 |
// 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 "components/data_reduction_proxy/content/browser/content_lofi_decider.h"
#include <string>
#include "components/data_reduction_proxy/core/commo... | js0701/chromium-crosswalk | components/data_reduction_proxy/content/browser/content_lofi_decider.cc | C++ | bsd-3-clause | 3,602 |
// Copyright (c) 2012 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/search_engines/search_provider_install_state_message_filter.h"
#include "base/bind.h"
#include "base/logging.h"
#include "ch... | boundarydevices/android_external_chromium_org | chrome/browser/search_engines/search_provider_install_state_message_filter.cc | C++ | bsd-3-clause | 3,699 |
// 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 "components/policy/core/browser/browser_policy_connector_base.h"
#include <stddef.h>
#include <utility>
#include <vector>
#include "base/check.... | chromium/chromium | components/policy/core/browser/browser_policy_connector_base.cc | C++ | bsd-3-clause | 5,589 |
# 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.
import collections
import logging
import os
import tempfile
import types
from pylib import cmd_helper
from pylib import constants
from pylib.utils import de... | mxOBS/deb-pkg_trusty_chromium-browser | build/android/pylib/utils/md5sum.py | Python | bsd-3-clause | 2,266 |
/**
* Copyright (C) 2015 Dato, Inc.
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD license. See the LICENSE file for details.
*/
#ifndef GRAPHLAB_SFRAME_QUERY_ENGINE_INFER_OPERATOR_FIELD_H_
#define GRAPHLAB_SFRAME_QUERY_ENGINE_INFER_OPERATOR_FIELD_H_
#includ... | jasonyaw/SFrame | oss_src/sframe_query_engine/operators/operator_properties.hpp | C++ | bsd-3-clause | 4,422 |
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from urllib.parse import parse_qs
from urllib.request import urlopen
from astropy.utils.data import get_pkg_data_contents
from .standard_profile import (SAMPSimpleXMLRPCRequestHandler,
ThreadingXMLRPCServer)
__all__ = []... | pllim/astropy | astropy/samp/web_profile.py | Python | bsd-3-clause | 5,583 |
/* CertificatePolicies.java -- certificate policy extension.
Copyright (C) 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath 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... | shaotuanchen/sunflower_exp | tools/source/gcc-4.2.4/libjava/classpath/gnu/java/security/x509/ext/CertificatePolicies.java | Java | bsd-3-clause | 7,046 |
// 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/themes/theme_service_aurax11.h"
#include "base/bind.h"
#include "base/prefs/pref_service.h"
#include "chrome/browser/profiles/pr... | TeamEOS/external_chromium_org | chrome/browser/themes/theme_service_aurax11.cc | C++ | bsd-3-clause | 2,910 |
// Copyright (c) 2012 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/common/extensions/event_filtering_info.h"
#include "base/values.h"
#include "base/json/json_writer.h"
namespace extensions {
Event... | leiferikb/bitpop-private | chrome/common/extensions/event_filtering_info.cc | C++ | bsd-3-clause | 1,160 |
# encoding: utf-8
module Mongoid #:nodoc
module Hierarchy #:nodoc
extend ActiveSupport::Concern
included do
attr_accessor :_parent
end
# Get all child +Documents+ to this +Document+, going n levels deep if
# necessary. This is used when calling update persistence operations from
# the ... | alexmreis/mongoid | lib/mongoid/hierarchy.rb | Ruby | mit | 3,640 |
require 'spec_helper'
describe 'homebrew::formula' do
let(:facts) do
{
:boxen_home => '/opt/boxen',
:boxen_user => 'testuser',
}
end
let(:title) { 'clojure' }
context 'with source provided' do
let(:params) do
{
:source => 'puppet:///modules/whatever/my_special_formula.rb... | joebadmo/puppet-reattachtousernamespace | spec/fixtures/modules/homebrew/spec/defines/homebrew__formula_spec.rb | Ruby | mit | 764 |
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Umbraco.Core;
using Umbraco.Core.PropertyEditors;
using umbraco;
using ClientDependency.Core;
using Constants = Umbraco.Core.Constants;
namespace Umbraco.Web.PropertyEditors
{
/// <summary>
/// A property editor to allow the individual selecti... | abryukhov/Umbraco-CMS | src/Umbraco.Web/PropertyEditors/DropDownPropertyEditor.cs | C# | mit | 1,386 |
//---------------------------------------------------------------------
// <copyright file="IEdmIntegerConstantExpression.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//------------------------... | hotchandanisagar/odata.net | src/Microsoft.OData.Edm/Interfaces/Expressions/IEdmIntegerConstantExpression.cs | C# | mit | 651 |
// Copyright (c) 2009-2020 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/bitcoin-config.h>
#endif
#include <arith_uint256.h>
#include <clientversion.h>
#... | pstratem/bitcoin | src/bitcoin-util.cpp | C++ | mit | 6,424 |
<?php
// Start of uploadprogress v.1.0.3.1
function uploadprogress_get_info () {}
function uploadprogress_get_contents () {}
// End of uploadprogress v.1.0.3.1
?>
| AsaiKen/phpscan | tools/language/php5.4/uploadprogress.php | PHP | mit | 167 |
require 'action_controller'
require 'action_controller/test_process'
require 'will_paginate'
WillPaginate.enable_actionpack
ActionController::Routing::Routes.draw do |map|
map.connect 'dummy/page/:page', :controller => 'dummy'
map.connect ':controller/:action/:id'
end
ActionController::Base.perform_caching = fal... | technoweenie/mephisto | vendor/gems/will_paginate-2.2.2/test/lib/view_test_process.rb | Ruby | mit | 1,244 |
package com.googlecode.goclipse.ui.navigator;
import java.net.URI;
import org.eclipse.core.filesystem.EFS;
import org.eclipse.core.filesystem.IFileStore;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jf... | fredyw/goclipse | plugin_ide.ui/src/com/googlecode/goclipse/ui/navigator/NavigatorLinkHelper.java | Java | epl-1.0 | 2,207 |
/**
* Copyright (c) 2010-2018 by the respective copyright holders.
*
* 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
*/... | johannrichard/openhab2-addons | addons/binding/org.openhab.binding.nibeheatpump/src/main/java/org/openhab/binding/nibeheatpump/internal/protocol/NibeHeatPumpProtocolState.java | Java | epl-1.0 | 721 |
<?php
/**
* File containing the TextLine Value class
*
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
* @version //autogentag//
*/
namespace eZ\Publish\Core\FieldType\TextLine;
use eZ\Publi... | vidarl/ezpublish-kernel | eZ/Publish/Core/FieldType/TextLine/Value.php | PHP | gpl-2.0 | 855 |
<?php
/*
+---------------------------------------------------------------------------+
| Revive Adserver |
| http://www.revive-adserver.com |
| ... | Tate-ad/revive-adserver | plugins_repo/demoExtension/www/admin/plugins/demoUserInterface/demoUI-page.php | PHP | gpl-2.0 | 2,592 |
<?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 |
// 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
/**
* 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 |
/*
* 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 (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 |