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
/*! * Aloha Editor * Author & Copyright (c) 2010 Gentics Software GmbH * aloha-sales@gentics.com * Licensed unter the terms of http://www.aloha-editor.com/license.html */ /** * @name block.editor * @namespace Block attribute editors */ define(['aloha/jquery', 'aloha/observable'], function(jQuery, Observable) { ...
berkmancenter/spectacle
web/js/lib/plugins/common/block/lib/editor.js
JavaScript
gpl-2.0
4,571
#define PNG_SKIP_SETJMP_CHECK #include <png.h> #include <fcntl.h> #include <lib/gdi/picload.h> #include <lib/gdi/picexif.h> extern "C" { #include <jpeglib.h> #include <gif_lib.h> } extern const uint32_t crc32_table[256]; DEFINE_REF(ePicLoad); static std::string getSize(const char* file) { struct stat64 s; if (st...
vit2/vit-e2
lib/gdi/picload.cpp
C++
gpl-2.0
32,254
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** * Image_Graph - PEAR PHP OO Graph Rendering Utility. * * PHP version 5 * * LICENSE: This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the F...
eireford/mahara
htdocs/lib/pear/Image/Graph/Font.php
PHP
gpl-3.0
4,265
/* * Copyright (C) 2013 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...
syslover33/ctank
java/android-sdk-linux_r24.4.1_src/sources/android-23/android/hardware/location/GeofenceHardwareImpl.java
Java
gpl-3.0
37,828
package net.minecraft.server; import java.awt.GraphicsEnvironment; import java.awt.image.BufferedImage; import java.io.File; import java.net.Proxy; import java.security.KeyPair; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Date; ...
OvercastNetwork/CraftBukkit
src/main/java/net/minecraft/server/MinecraftServer.java
Java
gpl-3.0
44,601
<?php require('header.php'); if($_SERVER['REQUEST_METHOD']=='POST'){ if(\GO\Base\Html\Error::checkRequired()) redirect("configFile.php"); } printHead(); ?> <h1>License terms</h1> <p>The following license applies to this product:</p> <div class="cmd"> <?php echo \GO\Base\Util\StringHelper::text_to_html(file_get_co...
deependhulla/powermail-debian9
files/rootdir/usr/local/src/groupoffice-6.2/groupoffice-6.2-setup-www/install_disabled/license.php
PHP
gpl-3.0
548
__version__ = '0.17'
etherkit/OpenBeacon2
macos/venv/lib/python3.8/site-packages/PyInstaller/lib/modulegraph/__init__.py
Python
gpl-3.0
21
#!/usr/bin/python # # (c) 2015 Peter Sprygada, <psprygada@ansible.com> # Copyright (c) 2017 Dell Inc. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'metadata_versio...
haad/ansible
lib/ansible/modules/network/dellos10/dellos10_command.py
Python
gpl-3.0
7,132
<?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 ...
Jinelle/moodle
mod/forum/classes/observer.php
PHP
gpl-3.0
4,511
<?php /* Copyright (C) 2016 Laurent Destailleur <eldy@users.sourceforge.net> * * 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 la...
guerrierk/dolibarr
htdocs/fichinter/stats/index.php
PHP
gpl-3.0
11,914
<?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 ...
zeduardu/moodle
theme/boost/version.php
PHP
gpl-3.0
990
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright (C) 2017 Google # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # ---------------------------------------------------------------------------- # # *** AUTO GENERATED CODE *** AUTO GENERATED CODE *** # ...
resmo/ansible
lib/ansible/modules/cloud/google/gcp_cloudscheduler_job.py
Python
gpl-3.0
31,832
define([ 'angular' , './instance-controller' , './instance-directive' , '../../glyph/glyph' ], function( angular , Controller , directive , glyphModule ) { "use strict"; return angular.module('mtk.instance', [glyphModule.name]) .controller('InstanceController', Controller) ...
jeroenbreen/metapolator
app/lib/ui/metapolator/instance-panel/instance/instance.js
JavaScript
gpl-3.0
378
#region Copyright & License Information /* * Copyright 2007-2021 The OpenRA Developers (see AUTHORS) * This file is part of OpenRA, which is free software. It is made * available to you under the terms of the GNU General Public License * as published by the Free Software Foundation, either version 3 of * the Lice...
MustaphaTR/OpenRA
OpenRA.Mods.Common/UpdateRules/Rules/20201213/ReplaceShadowPalette.cs
C#
gpl-3.0
2,162
/** * The MIT License * Copyright (c) 2012 Graylog, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, ...
berkeleydave/graylog2-server
graylog2-plugin-interfaces/src/main/java/org/graylog2/plugin/Stoppable.java
Java
gpl-3.0
1,275
/* * Copyright (C) 2008 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...
s20121035/rk3288_android5.1_repo
cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_double/d/T_sub_double_3.java
Java
gpl-3.0
761
// Copyright 2015 The go-ethereum Authors // This file is part of the go-ethereum library. // // The go-ethereum library is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License...
gophergala2016/etherapis
vendor/github.com/ethereum/go-ethereum/core/chain_makers.go
GO
gpl-3.0
9,385
/************************************************************************* * Copyright 2009-2013 Eucalyptus Systems, Inc. * * 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; version 3 of the ...
eethomas/eucalyptus
clc/modules/msgs/src/main/java/com/eucalyptus/auth/tokens/SecurityTokenValidationException.java
Java
gpl-3.0
1,303
# -*- coding: utf-8 -*- """ *==LICENSE==* CyanWorlds.com Engine - MMOG client, server and tools Copyright (C) 2011 Cyan Worlds, Inc. 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...
TOC-Shard/moul-scripts
Python/ahnyTrees.py
Python
gpl-3.0
4,774
from eventlet import patcher from eventlet.green import socket from eventlet.green import time from eventlet.green import httplib from eventlet.green import ftplib from eventlet.support import six if six.PY2: to_patch = [('socket', socket), ('httplib', httplib), ('time', time), ('ftplib', ftplib)] ...
pbaesse/Sissens
lib/python2.7/site-packages/eventlet/green/urllib/__init__.py
Python
gpl-3.0
1,423
// This code was generated by Barbara Worwood using IMS Development Environment (version 1.80 build 5007.25751) // Copyright (C) 1995-2014 IMS MAXIMS. All rights reserved. // WARNING: DO NOT MODIFY the content of this file package ims.RefMan.vo; /** * Linked to core.clinical.PatientProcedure business object (ID: 100...
open-health-hub/openMAXIMS
openmaxims_workspace/ValueObjects/src/ims/RefMan/vo/PatientProcedureForClinicalNotesVo.java
Java
agpl-3.0
13,124
/* * * Copyright 2014 Telefonica Investigacion y Desarrollo, S.A.U * * This file is part of Orion Context Broker. * * Orion Context Broker is free software: you can redistribute it and/or * modify it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version ...
j1fig/fiware-orion
src/lib/serviceRoutines/getEntityByIdAttributeByNameWithTypeAndId.cpp
C++
agpl-3.0
4,317
if (Date.first_day_of_week == 1) { Date.weekdays = $w("L Ma Me J V S D"); } else { Date.weekdays = $w("D L Ma Me J V S"); } Date.months = $w('Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre'); _translations = { "OK": "OK", "Now": "Maintenant", "Today": "Aujourd'hui",...
wesbillman/projects
public/javascripts/calendar_date_select/locale/fr.js
JavaScript
agpl-3.0
349
# This migration comes from bookyt_salary (originally 20120201104444) class SwitchToTranslatedSaldoInclusionFlags < ActiveRecord::Migration def up ActsAsTaggableOn::Tag.where(:name => 'ahv').update_all(:name => 'AHV') ActsAsTaggableOn::Tag.where(:name => 'ktg').update_all(:name => 'KTG') ActsAsTaggableOn:...
xuewenfei/bookyt
db/migrate/20120201112805_switch_to_translated_saldo_inclusion_flags.bookyt_salary.rb
Ruby
agpl-3.0
1,704
// This code was generated by Barbara Worwood using IMS Development Environment (version 1.80 build 5007.25751) // Copyright (C) 1995-2014 IMS MAXIMS. All rights reserved. // WARNING: DO NOT MODIFY the content of this file package ims.RefMan.vo.beans; public class PatientElectiveListTCIForCancelationVoBean extends im...
open-health-hub/openMAXIMS
openmaxims_workspace/ValueObjects/src/ims/RefMan/vo/beans/PatientElectiveListTCIForCancelationVoBean.java
Java
agpl-3.0
2,832
module ElasticsearchHelper def searchable_types { :all => _("All results"), :text_article => _("Articles"), :uploaded_file => _("Files"), :community => _("Communities"), :event => _("Events"), :person => _("People") } end ...
AlessandroCaetano/noosfero
plugins/elasticsearch/helpers/elasticsearch_helper.rb
Ruby
agpl-3.0
3,705
/** * Copyright 2007-2015, Kaazing Corporation. 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 require...
mgherghe/k3po
lang/src/main/java/org/kaazing/k3po/lang/internal/ast/AstAbortNode.java
Java
agpl-3.0
1,214
package dr.inferencexml.operators; import dr.inference.model.Parameter; import dr.inference.operators.*; import dr.xml.*; /** */ public class UpDownOperatorParser extends AbstractXMLObjectParser { public static final String UP_DOWN_OPERATOR = "upDownOperator"; public static final String UP = "up"...
danieljue/beast-mcmc
src/dr/inferencexml/operators/UpDownOperatorParser.java
Java
lgpl-2.1
4,368
/* * JBoss, Home of Professional Open Source. * Copyright 2010, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
yersan/wildfly-core
server/src/main/java/org/jboss/as/server/deployment/annotation/CompositeIndexProcessor.java
Java
lgpl-2.1
11,861
#include <osgWidget/VncClient> #include <osgDB/Registry> #include <osgViewer/Viewer> #include <osgViewer/ViewerEventHandlers> class EscapeHandler : public osgGA::GUIEventHandler { public: EscapeHandler() {} bool handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionAdapter& aa) { ...
openscenegraph/osg
examples/osgvnc/osgvnc.cpp
C++
lgpl-2.1
3,495
package com.griddynamics.jagger.webclient.client; import com.google.gwt.core.client.GWT; import com.google.gwt.user.client.rpc.RemoteService; import com.google.gwt.user.client.rpc.RemoteServiceRelativePath; import com.griddynamics.jagger.webclient.client.dto.WebClientStartProperties; import java.util.Map; import jav...
vladimir-bukhtoyarov/jagger
webclient/src/main/java/com/griddynamics/jagger/webclient/client/CommonDataService.java
Java
lgpl-2.1
785
/** * * Copyright (c) 2014, the Railo Company Ltd. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) ...
paulklinkenberg/Lucee4
lucee-java/lucee-core/src/lucee/transformer/bytecode/statement/tag/TagJavaScript.java
Java
lgpl-2.1
1,538
/* * A Gradle plugin for the creation of Minecraft mods and MinecraftForge plugins. * Copyright (C) 2013 Minecraft Forge * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * ...
killjoy1221/ForgeGradle
src/main/java/net/minecraftforge/gradle/util/json/fgversion/FGVersionDeserializer.java
Java
lgpl-2.1
1,875
"""pure-Python sugar wrappers for core 0MQ objects.""" #----------------------------------------------------------------------------- # Copyright (C) 2013 Brian Granger, Min Ragan-Kelley # # This file is part of pyzmq # # Distributed under the terms of the New BSD License. The full license is in # the file COPYIN...
IsCoolEntertainment/debpkg_python-pyzmq
zmq/sugar/__init__.py
Python
lgpl-3.0
1,187
namespace StockSharp.Algo.Strategies { using System; using System.Collections.Generic; using System.ComponentModel; using Ecng.Common; using Ecng.Serialization; /// <summary> /// Ïàðàìåòð ñòðàòåãèè. /// </summary> public interface IStrategyParam : IPersistable { /// <summary> /// Íàçâàíèå ïàðàìåòðà. /...
donaldlee2008/StockSharp
Algo/Strategies/StrategyParam.cs
C#
lgpl-3.0
5,771
/* * Copyright 2008 Novamente LLC * * 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...
virneo/relex
src/java/relex/WebFormat.java
Java
apache-2.0
5,001
/** * Copyright 2010-2016 Boxfuse GmbH * * 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...
nathanvick/flyway
flyway-core/src/main/java/org/flywaydb/core/internal/dbsupport/hsql/package-info.java
Java
apache-2.0
718
package ca.uhn.fhir.jpa.entity; /* * #%L * HAPI FHIR JPA Server * %% * Copyright (C) 2014 - 2015 University Health Network * %% * 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 * * ...
dhf0820/hapi-fhir-1.2
hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/entity/ResourceIndexedSearchParamQuantity.java
Java
apache-2.0
2,237
/* * IzPack - Copyright 2001-2013 Julien Ponge, All Rights Reserved. * * http://www.izforge.com/izpack/ http://izpack.codehaus.org/ * * Copyright 2013 Tim Anderson * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtai...
codehaus/izpack
izpack-panel/src/main/java/com/izforge/izpack/panels/shortcut/ShortcutConsolePanel.java
Java
apache-2.0
8,720
/* * 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 ...
jackliu8722/cassandra-1.2.16
src/java/org/apache/cassandra/thrift/ThriftSessionManager.java
Java
apache-2.0
2,836
/* * Copyright 2016-present Open Networking 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 appli...
gkatsikas/onos
apps/rabbitmq/src/main/java/org/onosproject/rabbitmq/util/package-info.java
Java
apache-2.0
693
<?php /* * This file is part of the Respect\Rest package. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Respect\Rest\Routines; use Respect\Rest\Request; /** Routine that runs before the route matching */ interface Prox...
googlecodelabs/cloud-lamp-migration
web/core/vendor/respect/rest/library/Respect/Rest/Routines/ProxyableWhen.php
PHP
apache-2.0
436
package ca.uhn.fhir.model.dstu3.composite; import java.util.List; import ca.uhn.fhir.model.api.ICompositeDatatype; import ca.uhn.fhir.model.api.IElement; import ca.uhn.fhir.model.api.annotation.Child; import ca.uhn.fhir.model.api.annotation.DatatypeDef; import ca.uhn.fhir.model.api.annotation.Descript...
eug48/hapi-fhir
hapi-tinder-plugin/src/main/java/ca/uhn/fhir/model/dstu3/composite/CodingDt.java
Java
apache-2.0
11,977
/* * Licensed to DuraSpace under one or more contributor license agreements. * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. * * DuraSpace licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file excep...
dbernstein/fcrepo4
fcrepo-kernel-api/src/main/java/org/fcrepo/kernel/api/exception/TransactionNotFoundException.java
Java
apache-2.0
1,665
// 不再赘述 var path = require('path') // 加载 confi.index.js var config = require('../config') // 使用一些小工具 var utils = require('./utils') // 加载 webpack var webpack = require('webpack') // 加载 webpack 配置合并工具 var merge = require('webpack-merge') // 加载 webpack.base.conf.js var baseWebpackConfig = require('./webpack.base.conf') /...
huang303513/WebBasicCommonDemos
vue-cli2.0的webpack配置分析/lessproject/build/webpack.prod.conf.js
JavaScript
apache-2.0
4,179
// Example repl is a simple REPL (read-eval-print loop) for GO using // http://github.com/0xfaded/eval to the heavy lifting to implement // the eval() part. // // The intent here is to show how more to use the library, rather than // be a full-featured REPL. // // A more complete REPL including command history, tab com...
CodyGuo/godebug
Godeps/_workspace/src/github.com/0xfaded/eval/demo/repl.go
GO
apache-2.0
6,199
/* * 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 n...
mahak/hbase
hbase-common/src/main/java/org/apache/hadoop/hbase/io/encoding/DiffKeyDeltaEncoder.java
Java
apache-2.0
19,734
package store import ( "strconv" "strings" "github.com/docker/swarmkit/api" "github.com/docker/swarmkit/api/naming" memdb "github.com/hashicorp/go-memdb" ) const tableTask = "task" func init() { register(ObjectStoreConfig{ Table: &memdb.TableSchema{ Name: tableTask, Indexes: map[string]*memdb.IndexSch...
mstanleyjones/docker
vendor/github.com/docker/swarmkit/manager/state/store/tasks.go
GO
apache-2.0
7,821
/* 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, ...
ravilr/kubernetes
pkg/proxy/service.go
GO
apache-2.0
17,273
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.eas.opc.da.dcom; import org.jinterop.dcom.common.JIException; import org.jinterop.dcom.core.JIStruct; import org.jinterop.dcom.core.JIVariant; /** * * @author pk */ public class OPCITEMSTATE { privat...
altsoft/PlatypusJS
opc-da/src/main/java/com/eas/opc/da/dcom/OPCITEMSTATE.java
Java
apache-2.0
1,334
/* 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...
Canpio/Paddle
paddle/fluid/operators/fill_zeros_like_op.cc
C++
apache-2.0
2,212
#region Using using System; #endregion namespace PPWCode.Util.OddsAndEnds.I.DateTimeProvider { public class GenuineDateTimeProvider : IDateTimeProvider { public GenuineDateTimeProvider() { } public static IDateTimeProvider CreateInstance() { ...
jandppw/ppwcode-recovered-from-google-code
dotnet/Util/OddsAndEnds/I/2.n/2.1.1/src/I/DateTimeProvider/GenuineDateTimeProvider.cs
C#
apache-2.0
577
/* * 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...
libosu/elasticsearch
src/main/java/org/elasticsearch/rest/action/admin/cluster/node/restart/RestNodesRestartAction.java
Java
apache-2.0
3,716
/*************************GO-LICENSE-START********************************* * Copyright 2015 ThoughtWorks, 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...
ketan/functional-tests
src/test/java/com/thoughtworks/cruise/api/response/BuildCause.java
Java
apache-2.0
1,969
var assert = require('assert'); var util = require('util'); var events = require('events'); var utils = require('../../lib/utils'); var helper = require('../test-helper'); var InetAddress = require('../../lib/types').InetAddress; describe('InetAddress', function () { describe('constructor', function () { it('sh...
thiagoveras/nodejs-driver
test/unit/inet-address-tests.js
JavaScript
apache-2.0
4,324
# Copyright 2015 CloudByte Inc. # 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 b...
nikesh-mahalka/cinder
cinder/volume/drivers/cloudbyte/cloudbyte.py
Python
apache-2.0
38,259
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Collections.Generic; using Microsoft.CodeAnalysis; namespace a2md { public sealed class DescriptorEqualityComparer : IEqualit...
heejaechang/roslyn-analyzers
tools/a2md/DescriptorEqualityComparer.cs
C#
apache-2.0
807
/* * Copyright 2018-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...
LegNeato/buck
src/com/facebook/buck/core/build/engine/RuleDepsCache.java
Java
apache-2.0
865
package brooklyn.util.text; import com.google.common.base.Preconditions; import com.google.common.base.Supplier; /** wraps a call to {@link String#format(String, Object...)} in a toString, i.e. using %s syntax, * useful for places where we want deferred evaluation * (e.g. as message to {@link Preconditions} to ski...
rhodgin/brooklyn
utils/common/src/main/java/brooklyn/util/text/FormattedString.java
Java
apache-2.0
892
package recreate import ( "fmt" "time" "github.com/golang/glog" kapi "github.com/GoogleCloudPlatform/kubernetes/pkg/api" kclient "github.com/GoogleCloudPlatform/kubernetes/pkg/client" "github.com/GoogleCloudPlatform/kubernetes/pkg/kubectl" "github.com/GoogleCloudPlatform/kubernetes/pkg/runtime" "github.com/G...
pombredanne/atomic-enterprise
pkg/deploy/strategy/recreate/recreate.go
GO
apache-2.0
6,924
/* * Copyright 2015 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. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, soft...
Multi-Support/jbpm
jbpm-persistence-jpa/src/main/java/org/jbpm/persistence/ProcessStorageEnvironmentBuilder.java
Java
apache-2.0
1,369
<?php final class PHUIHeaderView extends AphrontTagView { const PROPERTY_STATUS = 1; private $header; private $tags = array(); private $image; private $imageURL = null; private $imageEditURL = null; private $subheader; private $headerIcon; private $noBackground; private $bleedHeader; private $p...
freebsd/phabricator
src/view/phui/PHUIHeaderView.php
PHP
apache-2.0
12,343
var V; function F() { } ; var C = (function () { function C() { } C.prototype.pF = function () { }; C.prototype.rF = function () { }; C.prototype.pgF = function () { }; C.prototype.psF = function (param) { }; C.prototype.rgF = function () { }; C.prototype.rsF = functi...
vcsjones/typescript
tests/baselines/reference/giant.commonjs.js
JavaScript
apache-2.0
5,825
/** * Copyright 2010-2016 Boxfuse GmbH * * 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...
nathanvick/flyway
flyway-core/src/main/java/org/flywaydb/core/api/MigrationVersion.java
Java
apache-2.0
6,513
<?php // Exit if accessed directly if( !defined( 'ABSPATH' ) ) { exit; } /** * Main Widget Template * * * @file sidebar.php * @package Responsive * @author Emil Uzelac * @copyright 2003 - 2014 CyberChimps * @license license.txt * @version Release: 1.0 * @filesour...
Doap/sinkjuice.com
wp-content/themes/prensiguia/sidebar-ciencia.php
PHP
apache-2.0
1,336
/* * 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 ...
afinka77/ignite
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheEntrySerializablePredicate.java
Java
apache-2.0
4,293
/* * Copyright 2009 The Closure Compiler 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...
GoogleChromeLabs/chromeos_smart_card_connector
third_party/closure-compiler/src/src/com/google/javascript/jscomp/testing/SimpleSourceExcerptProvider.java
Java
apache-2.0
1,757
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # # 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 applicabl...
vichoward/python-neutronclient
neutronclient/neutron/v2_0/credential.py
Python
apache-2.0
2,705
/** * @license * Copyright 2016 Google Inc. 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 requir...
jacksonic/vjlofvhjfgm
src/foam/graphics/StereoCView.js
JavaScript
apache-2.0
1,166
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
gingerwizard/elasticsearch
server/src/main/java/org/elasticsearch/search/aggregations/pipeline/PercentilesBucketPipelineAggregator.java
Java
apache-2.0
2,793
// Generated by xsd compiler for android/java // DO NOT CHANGE! package com.ebay.trading.api; /** * * The status of gallery image generation. That status will return either a value of 'Success' or * a value that indicates why the gallery image has not been generated. * */ public enum Galle...
uaraven/nano
sample/webservice/eBayDemoApp/src/com/ebay/trading/api/GalleryStatusCodeType.java
Java
apache-2.0
2,546
var path = require('path'); var assign = require('object-assign'); var forEachBail = require('enhanced-resolve/lib/forEachBail'); var basename = require('enhanced-resolve/lib/getPaths').basename; module.exports = function (modulesToResolveToEs5) { return { apply: doApply.bind(this, modulesToResolveToEs5) ...
BabylonJS/Babylon.js
Tools/WebpackPlugins/viewerResolve.js
JavaScript
apache-2.0
1,075
// Copyright 2000-2021 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 com.intellij.tasks.config; import com.intellij.openapi.Disposable; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.components.*; i...
siosio/intellij-community
plugins/tasks/tasks-core/src/com/intellij/tasks/config/RecentTaskRepositories.java
Java
apache-2.0
3,466
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.integration.copier.snapshot.reader; import java.util.Map; import com.opengamma.core.marketdatasnapshot.CurveKey; import com.opengamma.core.marketdatasnapshot...
DevStreet/FinanceAnalytics
projects/OG-Integration/src/main/java/com/opengamma/integration/copier/snapshot/reader/SnapshotReader.java
Java
apache-2.0
1,187
/** * 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...
RallySoftware/avro
lang/c++/impl/parsing/ValidatingCodec.cc
C++
apache-2.0
14,444
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.model.option.pricing.tree; /** * A call has payoff max[S1 * S2 - K, 0], while a put pays off max[K - S1 * S2, 0] at expiry */ public cla...
jeorme/OG-Platform
projects/OG-Analytics/src/main/java/com/opengamma/analytics/financial/model/option/pricing/tree/ProductOptionFunctionProvider.java
Java
apache-2.0
2,452
/** * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.component.factory.engine; import java.util.LinkedHashMap; import java.util.Map; import org.joda.beans.Bean; import org.joda.beans.BeanBuilder; import org.joda...
jeorme/OG-Platform
projects/OG-Component/src/main/java/com/opengamma/component/factory/engine/MarketDataProviderResolverComponentFactory.java
Java
apache-2.0
22,810
/* * Copyright 2013-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
marcinkwiatkowski/buck
src/com/facebook/buck/dalvik/DalvikStatsCache.java
Java
apache-2.0
1,893
package policybased import ( "errors" "fmt" "sort" kapi "k8s.io/kubernetes/pkg/api" kapierrors "k8s.io/kubernetes/pkg/api/errors" "k8s.io/kubernetes/pkg/api/rest" "k8s.io/kubernetes/pkg/api/unversioned" "k8s.io/kubernetes/pkg/client/retry" "k8s.io/kubernetes/pkg/labels" "k8s.io/kubernetes/pkg/registry/gener...
fabric8io/gofabric8
vendor/github.com/openshift/origin/pkg/authorization/registry/rolebinding/policybased/virtual_storage.go
GO
apache-2.0
12,439
/* * Copyright 2016 The Cartographer 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...
af-silva/cartographer_ros
cartographer_ros/src/ros_log_sink.cc
C++
apache-2.0
2,260
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.engine.marketdata.live; import java.util.Set; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.opengamma.engine.view.ViewProcess; import c...
jeorme/OG-Platform
projects/OG-Engine/src/main/java/com/opengamma/engine/marketdata/live/ViewProcessAvailabilityNotificationListener.java
Java
apache-2.0
2,195
package com.google.api.ads.dfp.jaxws.v201411; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for ReportJobStatus. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * &lt;simpleType name="Repo...
nafae/developer
modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201411/ReportJobStatus.java
Java
apache-2.0
1,274
// ---------------------------------------------------------------------------------- // // Copyright Microsoft Corporation // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apa...
hovsepm/azure-powershell
src/ResourceManager/SiteRecovery/Commands.SiteRecovery/RecoveryPlan/EditAzureSiteRecoveryRecoveryPlan.cs
C#
apache-2.0
9,317
// This file was procedurally generated from the following sources: // - src/dstr-binding-for-await/ary-ptrn-rest-ary-rest.case // - src/dstr-binding-for-await/default/for-await-of-async-gen-const.template /*--- description: Rest element containing a rest element (for-await-of statement) esid: sec-for-in-and-for-of-sta...
sebastienros/jint
Jint.Tests.Test262/test/language/statements/for-await-of/async-gen-dstr-const-ary-ptrn-rest-ary-rest.js
JavaScript
bsd-2-clause
2,180
cask 'progressive-downloader' do version '2.11.3' sha256 'ca8c5ef946b8c745837d39980b5d8c95d3f15ad28d8f531289163cf6079760b6' url "https://www.macpsd.net/update/#{version}/PSD.dmg" name 'Progressive Downloader' homepage 'https://www.macpsd.net/' depends_on macos: '>= :mavericks' app 'Progressive Download...
muan/homebrew-cask
Casks/progressive-downloader.rb
Ruby
bsd-2-clause
547
/* * Copyright (C) 2008 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 conditio...
guorendong/iridium-browser-ubuntu
third_party/WebKit/Source/devtools/front_end/ui_lazy/DataGrid.js
JavaScript
bsd-3-clause
57,639
#! /usr/bin/env python # # fits2pdf.py -- Image a FITS file as a PDF. # # Eric Jeschke (eric@naoj.org) # # Copyright (c) Eric R. Jeschke. All rights reserved. # This is open-source software licensed under a BSD license. # Please see the file LICENSE.txt for details. # """ $ ./fits2pdf.py <fitsfile> <output.pdf> """...
rajul/ginga
scripts/fits2pdf.py
Python
bsd-3-clause
1,754
#!/usr/bin/env vpython3 # Copyright 2021 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 unittest from blinkpy.web_tests.stale_expectation_removal import builders from unexpected_passes_common import constants from...
chromium/chromium
third_party/blink/tools/blinkpy/web_tests/stale_expectation_removal/builders_unittest.py
Python
bsd-3-clause
2,804
// Copyright 2018 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. // Package lockedfile creates and manipulates files whose contents should only // change atomically. package lockedfile import ( "fmt" "io" "io/ioutil" "os...
akutz/go
src/cmd/go/internal/lockedfile/lockedfile.go
GO
bsd-3-clause
5,191
# Generated by Django 2.2.6 on 2019-11-05 16:01 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('scanners', '0013_auto_20191105_1522'), ] operations = [ migrations.AlterField( model_name='scannerrule', name='actio...
eviljeff/olympia
src/olympia/scanners/migrations/0014_alter_action_choices_on_scannerrule.py
Python
bsd-3-clause
536
// © 2017 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html #include "unicode/utypes.h" #if !UCONFIG_NO_FORMATTING #include "cstring.h" #include "unicode/ures.h" #include "uresimp.h" #include "charstr.h" #include "number_formatimpl.h" #include "unicode/numfmt.h" #i...
endlessm/chromium-browser
third_party/icu/source/i18n/number_formatimpl.cpp
C++
bsd-3-clause
21,061
class CreateSpreePromotionCategories < ActiveRecord::Migration[4.2] def change create_table :spree_promotion_categories do |t| t.string :name t.timestamps null: false, precision: 6 end add_column :spree_promotions, :promotion_category_id, :integer add_index :spree_promotions, :promotion_c...
ayb/spree
core/db/migrate/20140715182625_create_spree_promotion_categories.rb
Ruby
bsd-3-clause
341
<?php namespace Vmwarephp; use Vmwarephp\Exception as Ex; class Vhost { private $service; function __construct($host, $username, $password) { $this->host = $host; $this->username = $username; $this->password = $password; } function getPort() { $port = parse_url($this->host, PHP_URL_PORT); return $port...
mattiasgeniar/vmwarephp
library/Vmwarephp/Vhost.php
PHP
bsd-3-clause
1,379
/** * Copyright (C) 2016 Turi * 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_LOGGER_LOG_ROTATE_HPP #define GRAPHLAB_LOGGER_LOG_ROTATE_HPP #include <cstddef> #include <string> namespace graphlab {...
dato-code/SFrame
oss_src/logger/log_rotate.hpp
C++
bsd-3-clause
1,524
//===----- CGOpenMPRuntime.cpp - Interface to OpenMP Runtimes -------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
dededong/goblin-core
riscv/llvm/3.5/cfe-3.5.0.src/lib/CodeGen/CGOpenMPRuntime.cpp
C++
bsd-3-clause
7,142
package org.hisp.dhis.datastatistics; /* * Copyright (c) 2004-2017, University of Oslo * 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 ...
vmluan/dhis2-core
dhis-2/dhis-api/src/main/java/org/hisp/dhis/datastatistics/DataStatistics.java
Java
bsd-3-clause
8,631
package org.hisp.dhis.report; /* * Copyright (c) 2004-2017, University of Oslo * 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...
troyel/dhis2-core
dhis-2/dhis-api/src/main/java/org/hisp/dhis/report/ReportService.java
Java
bsd-3-clause
6,363
/* * Copyright (c) 2011-2012 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware implementation of the ...
aferr/LatticeMemCtl
src/mem/bus.cc
C++
bsd-3-clause
17,480
/* * Copyright (c) 2018 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...
endlessm/chromium-browser
third_party/webrtc/modules/audio_processing/aec3/signal_dependent_erle_estimator.cc
C++
bsd-3-clause
17,930
/* * (C) 1999-2003 Lars Knoll (knoll@kde.org) * Copyright (C) 2004, 2006, 2007, 2012 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * ver...
guorendong/iridium-browser-ubuntu
third_party/WebKit/Source/core/css/CSSStyleSheet.cpp
C++
bsd-3-clause
15,007