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
# ##### BEGIN GPL LICENSE BLOCK ##### # # 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 version. # # This program is distrib...
Microvellum/Fluid-Designer
win64-vc/2.78/scripts/freestyle/styles/long_anisotropically_dense.py
Python
gpl-3.0
3,125
#!/usr/bin/python # # 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 # (at your option) any later version. # # Ansible is distribut...
hryamzik/ansible
lib/ansible/modules/network/nxos/nxos_install_os.py
Python
gpl-3.0
19,714
<?php /* Copyright (C) 2004-2014 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2016 Frédéric France <frederic.france@free.fr> * * 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 Soft...
tomours/dolibarr
htdocs/compta/paiement_charge.php
PHP
gpl-3.0
10,955
# # Copyright (C) 1997-2016 JDE Developers Team # # 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. # # This program...
fqez/JdeRobot
src/libs/comm_py/comm/ice/navdataIceClient.py
Python
gpl-3.0
4,847
// -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- // vim: set ts=2 et sw=2 tw=80: // 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/. #include...
Yukarumya/Yukarum-Redfoxes
security/nss/gtests/util_gtest/util_utf8_unittest.cc
C++
mpl-2.0
39,251
/* 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/. */ define([ 'intern', 'intern!object', 'intern/chai!assert', 'require', 'intern/node_modules/dojo/node!xmlh...
riadhchtara/fxa-password-manager
tests/functional/oauth_webchannel_keys.js
JavaScript
mpl-2.0
14,818
/* 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/. */ define([ 'intern', 'intern!object', 'intern/chai!assert', 'require', 'intern/node_modules/dojo/node!xmlh...
riadhchtara/fxa-password-manager
tests/functional/force_auth.js
JavaScript
mpl-2.0
4,537
# encoding: utf-8 #-- # Copyright (C) 2012-2013 Gitorious AS # Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation,...
SamuelMoraesF/Gitorious
app/controllers/groups_controller.rb
Ruby
agpl-3.0
3,916
<?php /** * StatusNet, the distributed open-source microblogging tool * * Plugin to use bit.ly URL shortening services. * * PHP version 5 * * LICENCE: This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free So...
bashrc/gnusocial-debian
src/plugins/BitlyUrl/BitlyUrlPlugin.php
PHP
agpl-3.0
7,232
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. from odoo import models, _ class EventRegistration(models.Model): _inherit = 'event.registration' def _get_lead_description_registration(self, prefix='', line_suffix=''): """Add the questions and answe...
ygol/odoo
addons/website_event_crm_questions/models/event_registration.py
Python
agpl-3.0
1,282
package info.novatec.inspectit.rcp; /** * Defines all the images for the InspectIT UI. Note that all images are automatically added to the * registry on the inspectIT start up. * * Please note that this is NOT all the images available. There are so many additional images that * you can find at * https://inspecti...
andy32323/inspectIT
inspectIT/src/info/novatec/inspectit/rcp/InspectITImages.java
Java
agpl-3.0
13,358
/* * Copyright (C) 2005-2010 Alfresco Software Limited. * * This file is part of Alfresco * * Alfresco is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or ...
fxcebx/community-edition
projects/repository/source/java/org/alfresco/repo/template/NamePathResultsMap.java
Java
lgpl-3.0
3,099
/* * Copyright (C) 2005-2011 Alfresco Software Limited. * * This file is part of Alfresco * * Alfresco is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or ...
nguyentienlong/community-edition
projects/repository/source/java/org/alfresco/repo/content/caching/quota/QuotaManagerStrategy.java
Java
lgpl-3.0
2,059
/** * JBoss, Home of Professional Open Source * Copyright Red Hat, Inc., and individual contributors. * * 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/lic...
edewit/aerogear-unifiedpush-server
migrator/src/test/java/org/jboss/aerogear/unifiedpush/migrator/EmbeddedMysqlDatabase.java
Java
apache-2.0
2,351
/* * Copyright 2009 Mustard Grain, Inc., 2009-2010 LinkedIn, 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 require...
cshaxu/voldemort
src/java/voldemort/server/niosocket/NioSocketService.java
Java
apache-2.0
14,098
default[:hannibal][:hbase_version] = '1.1.3' default[:hannibal][:checksum]["1.1.3"] = '1e4f4030374a34d9f92dc9605505d421615ab12a9e02a10ed690576ab644f705' default[:hannibal][:download_url] = 'https://github.com/amithkanand/hannibal/releases/download/v.0.12.0-apha'
http-418/chef-bach
cookbooks/bach_repository/attributes/hannibal.rb
Ruby
apache-2.0
263
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2018 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
kingthorin/zap-extensions
addOns/imagelocationscanner/src/main/java/org/zaproxy/zap/extension/imagelocationscanner/ExtensionImageLocationScanner.java
Java
apache-2.0
1,403
package term // import "github.com/ory/dockertest/docker/pkg/term" import ( "io" ) // EscapeError is special error which returned by a TTY proxy reader's Read() // method in case its detach escape sequence is read. type EscapeError struct{} func (EscapeError) Error() string { return "read escape sequence" } // es...
Mainflux/mainflux-lite
vendor/github.com/ory/dockertest/docker/pkg/term/proxy.go
GO
apache-2.0
2,026
/* * Copyright (c) 2012 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 agreed to in ...
anishalex/youlog
oauthComponents/google-oauth-java-client-dev/google-oauth-client-java6/src/main/java/com/google/api/client/extensions/java6/auth/oauth2/AuthorizationCodeInstalledApp.java
Java
apache-2.0
5,421
# -*- coding: utf-8 -*- # # 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 #...
malmiron/incubator-airflow
airflow/contrib/operators/sagemaker_tuning_operator.py
Python
apache-2.0
4,191
// Copyright 2013 Beego Authors // Copyright 2014 Unknwon // // 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...
ksx123/session
redis/redis.go
GO
apache-2.0
5,335
/* * Copyright (C) 2012 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
JSDemos/android-sdk-20
src/android/support/v7/internal/view/menu/MenuItemWrapperICS.java
Java
apache-2.0
13,747
package costmanagementapi // 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...
pweil-/origin
vendor/github.com/Azure/azure-sdk-for-go/services/preview/costmanagement/mgmt/2019-10-01/costmanagement/costmanagementapi/interfaces.go
GO
apache-2.0
2,746
// mkerrors.sh -Wall -Werror -static -I/tmp/include // Code generated by the command above; see README.md. DO NOT EDIT. // +build ppc64,linux // Code generated by cmd/cgo -godefs; DO NOT EDIT. // cgo -godefs -- -Wall -Werror -static -I/tmp/include _const.go package unix import "syscall" const ( AAFS_MAGIC ...
cockroachdb/etcd
vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go
GO
apache-2.0
166,962
/* * 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 ...
dalaro/incubator-tinkerpop
gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/util/TraversalHelperTest.java
Java
apache-2.0
11,573
"""Support for binary sensor using the PiFace Digital I/O module on a RPi.""" import logging import voluptuous as vol from homeassistant.components.binary_sensor import ( PLATFORM_SCHEMA, BinarySensorDevice) from homeassistant.components import rpi_pfio from homeassistant.const import CONF_NAME, DEVICE_DEFAULT_NA...
MartinHjelmare/home-assistant
homeassistant/components/rpi_pfio/binary_sensor.py
Python
apache-2.0
2,581
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.security.rest.action.apikey; import org.elas...
gingerwizard/elasticsearch
x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/rest/action/apikey/RestCreateApiKeyAction.java
Java
apache-2.0
2,255
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/protobuf/descriptor.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include <google/protobuf/descriptor.pb.h> #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/port.h> #include <goog...
npuichigo/ttsflow
third_party/protobuf/src/google/protobuf/descriptor.pb.cc
C++
apache-2.0
644,516
/* * * Copyright 2018 gRPC 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 agree...
ctiller/grpc
src/core/lib/iomgr/internal_errqueue.cc
C++
apache-2.0
1,686
package org.apache.hawq.pxf.plugins.hbase; /* * 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 L...
lavjain/incubator-hawq
pxf/pxf-hbase/src/main/java/org/apache/hawq/pxf/plugins/hbase/HBaseFilterBuilder.java
Java
apache-2.0
13,894
/* * 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...
vakninr/spring-boot
spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/CompositeReactiveHealthIndicatorFactory.java
Java
apache-2.0
3,398
/****************************************** * * * dcm4che: A OpenSource DICOM Toolkit * * * * Distributable under LGPL license. * * See terms of license at gnu.org. * * * ***********...
medicayun/medicayundicom
dcm4jboss-all/tags/DCM4JBOSS_2_4_2/dcm4jboss-hl7/src/java/org/dcm4chex/archive/hl7/HL7Exception.java
Java
apache-2.0
1,468
/* * Copyright 2012, Google 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: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
aliosmanyuksel/show-java
app/src/main/java/org/jf/dexlib2/dexbacked/instruction/DexBackedInstruction22c.java
Java
apache-2.0
2,854
// 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...
tebeka/arrow
csharp/src/Apache.Arrow/Types/Int8Type.cs
C#
apache-2.0
1,248
//// [crashIntypeCheckInvocationExpression.ts] var nake; function doCompile<P0, P1, P2>(fileset: P0, moduleType: P1) { return undefined; } export var compileServer = task<number, number, any>(<P0, P1, P2>() => { var folder = path.join(), fileset = nake.fileSetSync<number, number, any>(folder) retur...
Microsoft/TypeScript
tests/baselines/reference/crashIntypeCheckInvocationExpression.js
JavaScript
apache-2.0
858
require 'spec_helper' describe 'GET /api/v1/cookbooks/:cookbook/contingent' do context 'when the cookbook exists' do let(:apt) { create(:cookbook, name: 'apt') } let(:nginx) { create(:cookbook, name: 'nginx') } let(:apache) { create(:cookbook, name: 'apache') } before do create(:cookbook_depen...
tas50/supermarket
src/supermarket/spec/api/cookbook_contingent_spec.rb
Ruby
apache-2.0
1,174
/* * Copyright (C) 2010 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
efortuna/AndroidSDKClone
sdk/samples/android-20/legacy/XmlAdapters/src/com/example/android/xmladapters/UrlIntentListener.java
Java
apache-2.0
1,446
/* * 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...
jimczi/elasticsearch
core/src/main/java/org/elasticsearch/search/aggregations/pipeline/cumulativesum/CumulativeSumPipelineAggregationBuilder.java
Java
apache-2.0
8,250
/* Copyright (c) 2016 PaddlePaddle 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...
putcn/Paddle
paddle/math/PoolAllocator.cpp
C++
apache-2.0
2,187
/* * 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.autoscaling.storage; import org.e...
GlenRSmith/elasticsearch
x-pack/plugin/autoscaling/src/main/java/org/elasticsearch/xpack/autoscaling/storage/ReactiveStorageDeciderService.java
Java
apache-2.0
34,193
/** * Copyright 2010-2015 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 * * Unle...
Derzhevitskiy/spring-petclinic-master
src/main/java/org/mybatis/jpetstore/domain/CartItem.java
Java
apache-2.0
1,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 ...
ilantukh/ignite
modules/web-console/frontend/app/modules/dialog/dialog.module.js
JavaScript
apache-2.0
1,283
/* * Copyright (c) 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.apache.org/licens...
malakasilva/carbon-identity
components/identity/org.wso2.carbon.identity.application.authenticator.facebook/src/main/java/org/wso2/carbon/identity/application/authenticator/facebook/FacebookAuthenticatorConstants.java
Java
apache-2.0
1,678
/* global CodeMirror */ /* global define */ (function(mod) { 'use strict'; if (typeof exports === 'object' && typeof module === 'object') // CommonJS mod(require('../../lib/codemirror')); else if (typeof define === 'function' && define.amd) // AMD define(['../../lib/codemirror'], mod); ...
hisamith/app-cloud
modules/jaggeryapps/appmgt/src/site/themes/default/js/CodeMirror-5.7.0/addon/search/searchonly.js
JavaScript
apache-2.0
9,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 You under the Apache License, Version 2.0 * (the "License"); you may ...
ydai1124/gobblin-1
gobblin-api/src/main/java/gobblin/dataset/IterableDatasetFinder.java
Java
apache-2.0
1,376
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Net.Sockets; using System.Threading.Tasks; using System.Threading; using KafkaNet.Common; using KafkaNet.Model; using KafkaNet.Protocol; using KafkaNet.Statistics; namespace KafkaNet { /// <summary> /// T...
bridgewell/kafka-net
src/kafka-net/KafkaTcpSocket.cs
C#
apache-2.0
17,955
/* * Copyright 1999,2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
jboss-integration/kie-uberfire-extensions
i18n-taglib/src/main/java/org/apache/taglibs/i18n/IfndefTag.java
Java
apache-2.0
2,046
/* * 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...
strapdata/elassandra
libs/ssl-config/src/main/java/org/elasticsearch/common/ssl/PemUtils.java
Java
apache-2.0
30,153
<?php /* * Copyright 2014 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 agreed t...
tsugiproject/tsugi
vendor/google/apiclient-services/src/Google/Service/RecommendationsAI/GoogleCloudRecommendationengineV1alphaRejoinCatalogResponse.php
PHP
apache-2.0
998
/** * 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...
apurtell/hadoop
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/AclTransformation.java
Java
apache-2.0
21,791
package com.jorgecastilloprz.pagedheadlistview.pagetransformers; import android.support.v4.view.ViewPager; import android.view.View; /** * Created by jorge on 10/08/14. */ public class DepthPageTransformer implements ViewPager.PageTransformer { private static final float MIN_SCALE = 0.75f; public void tran...
0359xiaodong/PagedHeadListView
library/src/main/java/com/jorgecastilloprz/pagedheadlistview/pagetransformers/DepthPageTransformer.java
Java
apache-2.0
1,412
/* * Copyright 2012-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...
daedric/buck
src/com/facebook/buck/json/BuildFileParseException.java
Java
apache-2.0
1,826
package packp import ( "bufio" "bytes" "errors" "fmt" "io" "gopkg.in/src-d/go-git.v4/plumbing" "gopkg.in/src-d/go-git.v4/plumbing/format/pktline" ) const ackLineLen = 44 // ServerResponse object acknowledgement from upload-pack service type ServerResponse struct { ACKs []plumbing.Hash } // Decode decodes t...
terrorform/pool-resource
vendor/gopkg.in/src-d/go-git.v4/plumbing/protocol/packp/srvresp.go
GO
apache-2.0
2,799
// Copyright © 2012, Université catholique de Louvain // 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...
yjaradin/mozart2
vm/generator/main/interfaces.cc
C++
bsd-2-clause
5,779
cask :v1 => 'ssx' do version '06082006-2216' sha256 '34d904e909191e60e0b84ea43f177871ac4310c91af53e5c4cbff28c5dd29fcb' url "http://chris.schleifer.net/ssX/builds/ssX-#{version}.dmg" homepage 'http://chris.schleifer.net/ssX/' license :unknown # todo: change license and remove this comment; ':unknown' is a ...
gustavoavellar/homebrew-cask
Casks/ssx.rb
Ruby
bsd-2-clause
371
cask 'icq' do version '3.0.18725' sha256 '437ce23444ae3449e53195e10b0c8a7515d8ea5357435335e4d2793c12e1f8b7' # mra.mail.ru/icq_mac3_update was verified as official when first introduced to the cask url 'https://mra.mail.ru/icq_mac3_update/icq.dmg' appcast 'https://mra.mail.ru/icq_mac3_update/icq_update.xml' ...
reelsense/homebrew-cask
Casks/icq.rb
Ruby
bsd-2-clause
671
#!/usr/bin/python2.4 # Copyright (c) 2006-2008 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. '''Gatherer for administrative template files. ''' import re import types from grit.gather import regexp from grit import exc...
meego-tablet-ux/meego-app-browser
tools/grit/grit/gather/admin_template.py
Python
bsd-3-clause
2,488
// Copyright 2010 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Export guts for testing. package runtime import ( "runtime/internal/atomic" "runtime/internal/sys" "unsafe" ) var Fadd64 = fadd64 var Fsub64 = fsub64 ...
deft-code/go
src/runtime/export_test.go
GO
bsd-3-clause
3,299
# class generated by DeVIDE::createDeVIDEModuleFromVTKObject from module_kits.vtk_kit.mixins import SimpleVTKClassModuleBase import vtk class vtkSynchronizedTemplatesCutter3D(SimpleVTKClassModuleBase): def __init__(self, module_manager): SimpleVTKClassModuleBase.__init__( self, module_manager, ...
nagyistoce/devide
modules/vtk_basic/vtkSynchronizedTemplatesCutter3D.py
Python
bsd-3-clause
520
/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor * ...
szdavid92/actor-framework
libcaf_core/caf/response_promise.hpp
C++
bsd-3-clause
2,848
// 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 "chrome/browser/ui/gtk/importer/import_lock_dialog_gtk.h" #include <gtk/gtk.h> #include "base/bind.h" #include "base/message_loop.h" #inclu...
espadrine/opera
chromium/src/chrome/browser/ui/gtk/importer/import_lock_dialog_gtk.cc
C++
bsd-3-clause
2,625
// Copyright (c) 2015, Outercurve Foundation. // 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 // ...
simonegli8/Websitepanel
WebsitePanel/Sources/WebsitePanel.Providers.FTP.IIs70/Configuration/PermissionsFlags.cs
C#
bsd-3-clause
1,852
/* Copyright (C) 2008-2016 The Communi Project You may use this file under the terms of BSD license as follows: 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 ab...
vitalyster/libcommuni-gbp
src/core/ircconnection.cpp
C++
bsd-3-clause
52,766
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
youtube/cobalt
third_party/llvm-project/libcxx/test/libcxx/utilities/utility/__is_inplace_type.pass.cpp
C++
bsd-3-clause
1,436
import { TSESTree } from '@typescript-eslint/types'; import { DefinitionType } from './DefinitionType'; import { DefinitionBase } from './DefinitionBase'; declare class VariableDefinition extends DefinitionBase<DefinitionType.Variable, TSESTree.VariableDeclarator, TSESTree.VariableDeclaration, TSESTree.Identifier> { ...
ChromeDevTools/devtools-frontend
node_modules/@typescript-eslint/scope-manager/dist/definition/VariableDefinition.d.ts
TypeScript
bsd-3-clause
594
/*----------------------------------------------------------------------------- Orderable plugin -----------------------------------------------------------------------------*/ jQuery.fn.symphonyOrderable = function(custom_settings) { var objects = this; var settings = { items: 'li', handles: '*', ...
bauhouse/sym-intranet
symphony/assets/symphony.orderable.js
JavaScript
mit
3,588
// 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.Diagnostics; using System.Text; namespace System.IO { // Provides methods for processing file syst...
parjong/coreclr
src/mscorlib/shared/System/IO/Path.cs
C#
mit
24,186
// wrapped by build app define("d3/src/scale/ordinal", ["dojo","dijit","dojox"], function(dojo,dijit,dojox){ import "../arrays/map"; import "../arrays/range"; import "scale"; d3.scale.ordinal = function() { return d3_scale_ordinal([], {t: "range", a: [[]]}); }; function d3_scale_ordinal(domain, ranger) { var inde...
hyoo/p3_web
public/js/release/d3/src/scale/ordinal.js
JavaScript
mit
3,374
#! /usr/bin/env ruby -S rspec require 'spec_helper_acceptance' describe 'is_string function', :unless => UNSUPPORTED_PLATFORMS.include?(fact('operatingsystem')) do describe 'success' do it 'is_strings arrays' do pp = <<-EOS $a = ['aaa.com','bbb','ccc'] $b = false $o = is_string($a) ...
wikimedia/mediawiki-vagrant
puppet/modules/stdlib/spec/acceptance/is_string_spec.rb
Ruby
mit
2,778
<?php /* * This file is part of the Sonata Project package. * * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sonata\AdminBundle\Mapper; use Sonata\AdminBundle\Adm...
smatthias/tausendkind
vendor/sonata-project/admin-bundle/Mapper/BaseMapper.php
PHP
mit
1,668
var ITEM_TPL_CONTENT_ANCHOR = '<a class="item-content" ng-href="{{$href()}}" target="{{$target()}}"></a>'; var ITEM_TPL_CONTENT = '<div class="item-content"></div>'; /** * @ngdoc directive * @name ionItem * @parent ionic.directive:ionList * @module ionic * @restrict E * Creates a list-item that can easily be swiped...
frangucc/gamify
www/sandbox/pals/app/bower_components/ionic/js/angular/directive/item.js
JavaScript
mit
1,904
<?php /* * This file is part of the API Platform project. * * (c) Kévin Dunglas <dunglas@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace ApiPlatform\Core\Api; /** * Filters applica...
api-platform/core
src/Core/Api/FilterInterface.php
PHP
mit
1,670
require 'spec_helper' describe 'ossec' do context 'with defaults for all parameters' do it { should contain_class('ossec') } end end
ndnurun/nextdeploy
vagrant/modules/ossec/spec/classes/init_spec.rb
Ruby
mit
142
/* * Author: Yevgeniy Kiveisha <yevgeniy.kiveisha@intel.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 * "Software"), to deal in the Software without restriction, including * ...
whbruce/upm
src/max5487/max5487.hpp
C++
mit
3,393
<?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. */ declare(strict_types=1); namespace Sylius\Bundle\ThemeBundle\Context; use Sylius\Bundle\ThemeBundle\...
rainlike/justshop
vendor/sylius/sylius/src/Sylius/Bundle/ThemeBundle/Context/ThemeContextInterface.php
PHP
mit
598
import * as React from 'react'; import { IconBaseProps } from 'react-icon-base'; export default class GoLightBulb extends React.Component<IconBaseProps, any> { }
smrq/DefinitelyTyped
types/react-icons/go/light-bulb.d.ts
TypeScript
mit
162
import glCore from 'pixi-gl-core'; import createIndicesForQuads from '../../core/utils/createIndicesForQuads'; /** * @author Mat Groves * * Big thanks to the very clever Matt DesLauriers <mattdesl> https://github.com/mattdesl/ * for creating the original pixi version! * Also a thanks to https://github.com/bcheval...
jpweeks/pixi.js
src/particles/webgl/ParticleBuffer.js
JavaScript
mit
6,828
//------------------------------------------------------------------------------ // <copyright file="ICodeCompiler.cs" company="Microsoft"> // // <OWNER>petes</OWNER> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //----...
esdrubal/referencesource
System/compmod/system/codedom/compiler/ICodeCompiler.cs
C#
mit
3,460
using System.Web; using System.Web.Optimization; namespace AvaTaxConnector { public class BundleConfig { // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725 public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new S...
JeremyCraigMartinez/developer-dot
public/code/blog/avatax-connector-app/AvaTaxConnector/App_Start/BundleConfig.cs
C#
mit
2,136
// // DiscVolume.cs // // Author: // Timo Dörr <timo@latecrew.de> // // Copyright 2012 Timo Dörr // // 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 wi...
GNOME/banshee
src/Backends/Banshee.Osx/Banshee.Hardware.Osx/DiscVolume.cs
C#
mit
2,171
<TS language="hi_IN" version="2.1"> <context> <name>AddressBookPage</name> <message> <source>Right-click to edit address or label</source> <translation>पते या लेबल को संपादित करने के लिए राइट-क्लिक करें</translation> </message> <message> <source>Create a new address</source> ...
StarbuckBG/BTCGPU
src/qt/locale/bitcoin_hi_IN.ts
TypeScript
mit
15,201
"use strict"; var _classCallCheck = function (instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }; var Test = function Test() { _classCallCheck(this, Test); arr.map(x => x * x); };
lydell/babel
test/fixtures/transformation/api/blacklist/expected.js
JavaScript
mit
264
CKEDITOR.plugins.setLang("imagebase","en-au",{captionPlaceholder:"Enter image caption"});
cdnjs/cdnjs
ajax/libs/ckeditor/4.17.2/plugins/imagebase/lang/en-au.min.js
JavaScript
mit
89
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var DataSource = (function () { function DataSource() { } return DataSource; }()); exports.DataSource = DataSource;
cdnjs/cdnjs
ajax/libs/deeplearn/0.6.0-alpha6/contrib/data/datasource.js
JavaScript
mit
205
<?php namespace Drupal\Tests\language\Kernel; use Drupal\language\Entity\ConfigurableLanguage; use Drupal\KernelTests\KernelTestBase; /** * Tests \Drupal\language\Config\LanguageConfigFactoryOverride. * * @group language */ class LanguageConfigFactoryOverrideTest extends KernelTestBase { /** * Modules to e...
tobiasbuhrer/tobiasb
web/core/modules/language/tests/src/Kernel/LanguageConfigFactoryOverrideTest.php
PHP
gpl-2.0
1,290
#!/usr/bin/env python """ Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/) See the file 'doc/COPYING' for copying permission """ from lib.core.agent import agent from lib.core.common import arrayizeValue from lib.core.common import Backend from lib.core.common import filterPairValues from lib.core.commo...
golismero/golismero
tools/sqlmap/plugins/generic/search.py
Python
gpl-2.0
26,113
/* * Copyright (c) 1999 * Silicon Graphics Computer Systems, Inc. * * Copyright (c) 1999 * Boris Fomitchev * * This material is provided "as is", with absolutely no warranty expressed * or implied. Any use is at your own risk. * * Permission to use or copy this software for any purpose is hereby gra...
yeKcim/warmux
trunk/build/symbian/lib/stlport/src/num_put_float.cpp
C++
gpl-2.0
34,762
// g2o - General Graph Optimization // Copyright (C) 2011 R. Kuemmerle, G. Grisetti, W. Burgard // 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 r...
CreativeCimmons/ORB-SLAM-Android-app
slam_ext/Thirdparty/g2o/g2o/types/slam3d/vertex_pointxyz.cpp
C++
gpl-2.0
3,993
<?php /** * Floating Social Bar is the best social media plugin for WordPress * that adds a floating bar with share buttons to your content * without slowing down your site. * * @package Floating Social Bar * @author Syed Balkhi * @author Thomas Griffin * @license GPL-2.0+ * @link http://wpbegin...
AhmedSayedAhmed/MM_Portal
wp-content/plugins/floating-social-bar/floating-social-bar.php
PHP
gpl-2.0
2,794
//=set test "Test"
AlexanderDolgan/juliawp
wp-content/themes/node_modules/gulp-rigger/node_modules/rigger/test/input-settings/stringval.js
JavaScript
gpl-2.0
18
// license:BSD-3-Clause // copyright-holders:Vas Crabb #include "emu.h" #include "ti8x.h" #define LOG_GENERAL (1U << 0) #define LOG_BITPROTO (1U << 1) #define LOG_BYTEPROTO (1U << 2) //#define VERBOSE (LOG_GENERAL | LOG_BITPROTO | LOG_BYTEPROTO) #define LOG_OUTPUT_FUNC device().logerror #include "logmacr...
johnparker007/mame
src/devices/bus/ti8x/ti8x.cpp
C++
gpl-2.0
14,113
#!/usr/bin/env python """ Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/) See the file 'doc/COPYING' for copying permission """ from lib.core.enums import PRIORITY __priority__ = PRIORITY.LOWEST def dependencies(): pass def tamper(payload, **kwargs): """ Replaces apostrophe character wit...
golismero/golismero
tools/sqlmap/tamper/apostrophenullencode.py
Python
gpl-2.0
503
<?php //============================================================+ // File name : example_2d_png.php // Version : 1.0.000 // Begin : 2011-07-21 // Last Update : 2013-03-17 // Author : Nicola Asuni - Tecnick.com LTD - www.tecnick.com - info@tecnick.com // License : GNU-LGPL v3 (http://www.gnu.org...
siteslab/profile
sites/all/libraries/tcpdf/examples/barcodes/example_2d_pdf417_png.php
PHP
gpl-2.0
1,979
/*************************************************************************** tag: The SourceWorks Tue Sep 7 00:55:18 CEST 2010 ServiceRequester.hpp ServiceRequester.hpp - description ------------------- begin : Tue September 07 2010 copyrig...
shyamalschandra/rtt
rtt/ServiceRequester.hpp
C++
gpl-2.0
7,747
<?php /** * @package Joomla.Site * @subpackage com_users * * @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; JLoader::register('UsersController', JPATH_COMPONENT ...
tkaniowski/bj25
components/com_users/controllers/registration.php
PHP
gpl-2.0
6,815
# -*- coding: utf-8 -*- """ This script initializes the plugin, making it known to QGIS. """ def classFactory(iface): from HelloWorld import HelloWorld return HelloWorld(iface)
qgis/QGIS-Django
qgis-app/plugins/tests/HelloWorld/2.3-full-changed-repository/HelloWorld/__init__.py
Python
gpl-2.0
183
<?php /** * @author JoomlaShine.com http://www.joomlashine.com * @copyright Copyright (C) 2008 - 2011 JoomlaShine.com. All rights reserved. * @license GNU/GPL v2 http://www.gnu.org/licenses/gpl-2.0.html */ // No direct access defined('_JEXEC') or die('Restricted index access'); // Load template framework if ...
Galene/svitanok.ck.ua
templates/jsn_yoyo_pro/error.php
PHP
gpl-2.0
4,569
/* * Copyright (C) 2012-2013 Team XBMC * http://kodi.tv * * 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. * * T...
ironman771/xbmc
xbmc/platform/android/activity/EventLoop.cpp
C++
gpl-2.0
4,826
<?php /** * The template for displaying posts in the Audio post format * * @package WordPress * @subpackage Twenty_Fourteen * @since Twenty Fourteen 1.0 */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php twentyfourteen_post_thumbnail(); ?> <header class="entry-header"> <?php if ( in_a...
di0fref/wordpress_fahlslstad
wp-content/themes/twentyfourteen/content-audio.php
PHP
gpl-2.0
2,316
<?php namespace Drupal\Tests\node\Kernel\Migrate\d6; use Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase; /** * Test D6NodeDeriver. * * @group migrate_drupal_6 */ class MigrateNodeDeriverTest extends MigrateDrupal6TestBase { /** * The migration plugin manager. * * @var \Drupal\migrate\Plu...
tobiasbuhrer/tobiasb
web/core/modules/node/tests/src/Kernel/Migrate/d6/MigrateNodeDeriverTest.php
PHP
gpl-2.0
1,430