code
stringlengths
4
1.01M
language
stringclasses
2 values
/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (info@qt.nokia.com) ** ** ** GNU Lesser General Public License Usage ** ** This file may be used unde...
Java
/* * This library is part of OpenCms - * the Open Source Content Management System * * Copyright (c) Alkacon Software GmbH & Co. KG (http://www.alkacon.com) * * 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 th...
Java
/* eXokernel Development Kit (XDK) Based on code by Samsung Research America Copyright (C) 2013 The GNU C 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 t...
Java
package railo.runtime.search.lucene2.query; import railo.commons.lang.StringUtil; public final class Concator implements Op { private Op left; private Op right; public Concator(Op left,Op right) { this.left=left; this.right=right; } @Override public String toString() { if(left instanceof Literal && ri...
Java
/* * Portable Object Compiler (c) 1997,98,2003. 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 version 2 of the License, or * (at your option) any l...
Java
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class XorgServer(AutotoolsPackage, XorgPackage): """X.Org Server is the free and open source imp...
Java
/**************************************************************************** ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtXmlPatterns module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:L...
Java
package org.hivedb.hibernate; import org.hibernate.HibernateException; import org.hibernate.Session; import org.hibernate.shards.session.OpenSessionEvent; import java.sql.SQLException; public class RecordNodeOpenSessionEvent implements OpenSessionEvent { public static ThreadLocal<String> node = new ThreadLocal<Str...
Java
using System; using System.Collections; using System.Collections.Generic; using NHibernate.Driver; using NHibernate.Test.SecondLevelCacheTests; using NUnit.Framework; namespace NHibernate.Test.QueryTest { [TestFixture] public class MultipleMixedQueriesFixture : TestCase { protected override string MappingsAssembl...
Java
############################################################################## # Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC. # Produced at the Lawrence Livermore National Laboratory. # # This file is part of Spack. # Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved. # LLNL-CODE-64...
Java
/** * Copyright (c) 2014, 2015, Oracle and/or its affiliates. * All rights reserved. */ "use strict"; /* Copyright 2013 jQuery Foundation and other contributors Released under the MIT license. http://jquery.org/license Copyright 2013 jQuery Foundation and other contributors Released under the MIT license. http...
Java
/* $XConsortium: xrmLib.h /main/5 1995/07/15 20:46:59 drk $ */ /* * Motif * * Copyright (c) 1987-2012, The Open Group. All rights reserved. * * These libraries and programs are free software; you can * redistribute them and/or modify them under the terms of the GNU * Lesser General Public License as published b...
Java
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this f...
Java
// @(#)root/tmva $Id$ // Author: Peter Speckmayer /********************************************************************************** * Project: TMVA - a Root-integrated toolkit for multivariate data analysis * * Package: TMVA * * Class : Metho...
Java
/* GIO - GLib Input, Output and Streaming Library * * Copyright (C) 2006-2007 Red Hat, Inc. * * 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 of the License, or ...
Java
/* -*- mode: C++; c-file-style: "gnu" -*- This file is part of KMail, the KDE mail client. Copyright (c) 2009 Martin Koller <kollix@aon.at> 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; e...
Java
package railo.runtime.functions.dateTime; import java.util.TimeZone; import railo.runtime.PageContext; import railo.runtime.exp.ExpressionException; import railo.runtime.ext.function.Function; import railo.runtime.tag.util.DeprecatedUtil; import railo.runtime.type.dt.DateTime; import railo.runtime.type.dt.DateTimeImp...
Java
/* * gstvaapidisplay_egl_priv.h - Internal VA/EGL interface * * Copyright (C) 2014 Splitted-Desktop Systems * Author: Gwenole Beauchesne <gwenole.beauchesne@intel.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * ...
Java
/* * Copyright (c) 2012 Citrix Systems, Inc. * * 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) any later version. * * Th...
Java
/***************************************************************************** * schroedinger.c: Dirac decoder module making use of libschroedinger. * (http://www.bbc.co.uk/rd/projects/dirac/index.shtml) * (http://diracvideo.org) ********************************************************************...
Java
/** ****************************************************************************** * @file stm32wbxx_hal_pcd_ex.c * @author MCD Application Team * @brief PCD Extended HAL module driver. * This file provides firmware functions to manage the following * functionalities of the USB...
Java
package org.hivedb.hibernate.simplified; import org.apache.log4j.Logger; import org.hibernate.HibernateException; import org.hibernate.action.Executable; import org.hibernate.event.PostDeleteEvent; import org.hibernate.event.PostDeleteEventListener; import org.hivedb.Hive; import org.hivedb.HiveLockableException; impo...
Java
/****************************************************************/ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* All contents are licensed under LGPL V2.1 */ /* See LICENSE for full restrictions ...
Java
// Boost.Geometry Index // // R-tree spatial query visitor implementation // // Copyright (c) 2011-2014 Adam Wulkiewicz, Lodz, Poland. // // This file was modified by Oracle on 2019-2021. // Modifications copyright (c) 2019-2021 Oracle and/or its affiliates. // Contributed and/or modified by Adam Wulkiewicz, on behalf ...
Java
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --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 of the License, --or (at your option) any later versio...
Java
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --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 of the License, --or (at your option) any later versio...
Java
# # Secret Labs' Regular Expression Engine # # various symbols used by the regular expression engine. # run this script to update the _sre include files! # # Copyright (c) 1998-2001 by Secret Labs AB. All rights reserved. # # See the sre.py file for information on usage and redistribution. # """Internal su...
Java
/* radare - LGPL - Copyright 2014-2015 - pancake */ #include "r_util/r_str.h" #include <r_util.h> /* dex/dwarf uleb128 implementation */ R_API const ut8 *r_uleb128(const ut8 *data, int datalen, ut64 *v, const char **error) { ut8 c; ut64 s, sum = 0; const ut8 *data_end; bool malformed_uleb = true; if (v) { *v ...
Java
""" Multiple dictation constructs =============================================================================== This file is a showcase investigating the use and functionality of multiple dictation elements within Dragonfly speech recognition grammars. The first part of this file (i.e. the module's doc string) cont...
Java
import os import unittest from mock import patch, Mock from tests.utils import ( FakedCache, ObjectWithSignals, setup_test_env, ) setup_test_env() from softwarecenter.db.database import StoreDatabase from softwarecenter.ui.gtk3.views import lobbyview from softwarecenter.ui.gtk3.widgets.exhibits import (...
Java
/////////////////////////////////////////////////////////////////////////////// // Name: wx/msw/private/hiddenwin.h // Purpose: Helper for creating a hidden window used by wxMSW internally. // Author: Vadim Zeitlin // Created: 2011-09-16 // Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.o...
Java
/* * @BEGIN LICENSE * * Psi4: an open-source quantum chemistry software package * * Copyright (c) 2007-2017 The Psi4 Developers. * * The copyrights for code used from other parties are included in * the corresponding files. * * This file is part of Psi4. * * Psi4 is free software; you can redistribute it an...
Java
<?php /** * @group regression * @covers ApiKeys_ApiKeyStruct::validSecret * User: dinies * Date: 21/06/16 * Time: 15.50 */ class GetUserApiKeyTest extends AbstractTest { protected $uid; private $test_data; function setup() { /** * environment initialization */ ...
Java
// // System.Web.UI.HtmlControls.HtmlSelect.cs // // Author: // Dick Porter <dick@ximian.com> // // Copyright (C) 2005-2010 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), ...
Java
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Code Coverage for D:\work\log4php-tag\src\main\php/appenders</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="css/bootstrap.min.css" rel="stylesheet"> <link href="css/bootstrap-responsive.min.css" ...
Java
// // ServiceCredentials.cs // // Author: // Atsushi Enomoto <atsushi@ximian.com> // // Copyright (C) 2005 Novell, Inc. http://www.novell.com // // 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 Sof...
Java
"use strict"; var express = require('express'); var less = require('less-middleware'); function HttpServer(port, staticServedPath, logRequest) { this.port = port; this.staticServedPath = staticServedPath; this.logRequest = (typeof logRequest === "undefined") ? true : logRequest; } HttpServer.prototype.start = ...
Java
import java.util.*; public class LineNumbersTest extends LinkedList<Object>{ public LineNumbersTest(int x) { super((x & 0) == 1 ? new LinkedList<Object>((x & 1) == x++ ? new ArrayList<Object>() : new HashSet<Object>()) :new HashSet<Object>()); super.add(x = getLineNo()); ...
Java
#!/bin/bash #python pyinstaller-pyinstaller-67b940c/pyinstaller.py ../pyNastran/pyNastran/gui/gui.py rm -rf build dist python pyinstaller-pyinstaller-67b940c/pyinstaller.py pyNastranGUI.spec #dist/pywin27/gui.exe #dist/gui/gui.exe
Java
--Copyright (C) 2010 <SWGEmu> --This File is part of Core3. --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 of the License, --or (at your option) any later versio...
Java
using System; using System.Collections.Generic; using DoxygenWrapper.Wrappers.Compounds.Types; using System.Xml; namespace DoxygenWrapper.Wrappers.Compounds { public class CompoundMember: Compound { protected override void OnParse(XmlNode _node) { base.OnParse(_node); mCompoundType = new ...
Java
package org.opennaas.client.rest; import java.io.FileNotFoundException; import java.util.List; import javax.ws.rs.core.MediaType; import javax.xml.bind.JAXBException; import org.apache.log4j.Logger; import org.opennaas.extensions.router.model.EnabledLogicalElement.EnabledState; import org.opennaas.extensions.router....
Java
///////////////////////////////////////////////////////////////////////////// // Name: wx/spinbutt.h // Purpose: wxSpinButtonBase class // Author: Julian Smart, Vadim Zeitlin // Modified by: // Created: 23.07.99 // Copyright: (c) Julian Smart // Licence: wxWindows licence /////////////...
Java
{extends file="layout.tpl"} {block name="init"} {$product_id={product attr="id"}} {$pse_count=1} {$product_virtual={product attr="virtual"}} {$check_availability={config key="check-available-stock" default="1"}} {/block} {* Body Class *} {block name="body-class"}page-product{/block} {* Page Title *} ...
Java
/* ========================================================================= * This file is part of six.sicd-c++ * ========================================================================= * * (C) Copyright 2004 - 2014, MDA Information Systems LLC * * six.sicd-c++ is free software; you can redistribute it and/or ...
Java
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Result' db.create_table('taxonomy_result', ( ('id', self.gf('django.db.models....
Java
/* +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Copyright (c) 2013-2020 The plumed team (see the PEOPLE file at the root of the distribution for a list of names) See http://www.plumed.org for more information. This file is part of plumed, version 2. plumed is free software...
Java
/* * World Calendars * https://github.com/alexcjohnson/world-calendars * * Batch-converted from kbwood/calendars * Many thanks to Keith Wood and all of the contributors to the original project! * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this sourc...
Java
# Contributor Covenant Code of Conduct ## Our Pledge In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender...
Java
/*** *mbsupr.c - Convert string upper case (MBCS) * * Copyright (c) 1985-1997, Microsoft Corporation. All rights reserved. * *Purpose: * Convert string upper case (MBCS) * *******************************************************************************/ #ifdef _MBCS #if defined (_WIN32) #incl...
Java
<!-- To change this template, choose Tools | Templates and open the template in the editor. --> <body> <legend><a href="<?php echo base_url(); ?>" >Home</a> | <a href="<?php echo base_url(); ?>reviewer" >Refresh</a> | <?php echo anchor('reviewer/samples_for_review/'.$reviewer_id,'Worksheets Uploaded For Review'); ?>...
Java
## Tutorials Practical Android Exploitation: http://theroot.ninja/PAE.pdf Android Application Security Tutorial Series: http://manifestsecurity.com/android-application-security/ Smartphone OS Security: http://www.csc.ncsu.edu/faculty/enck/csc591-s12/index.html ExploitMe Mobile Android Labs: http://securitycompass.g...
Java
'use strict'; import EventMap from 'eventmap'; import Log from './log'; var audioTypes = { 'mp3': 'audio/mpeg', 'wav': 'audio/wav', 'ogg': 'audio/ogg' }; var imageTypes = { 'png': 'image/png', 'jpg': 'image/jpg', 'gif': 'image/gif' }; class AssetLoader extends EventMap { constructor(assets) { supe...
Java
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/docdb/model/DescribePendingMaintenanceActionsResult.h> #include <aws/core/utils/xml/XmlSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> ...
Java
<!-- Copyright 2019 Google 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 https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software d...
Java
package examples.Bricklet.Moisture; import com.tinkerforge.BrickletMoisture; import com.tinkerforge.IPConnection; public class ExampleSimple { private static final String host = "localhost"; private static final int port = 4223; private static final String UID = "XYZ"; // Change to your UID // Note: To make the ...
Java
/** * Copyright 2015 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Java
/* Copyright (C) 2013 Interactive Brokers LLC. All rights reserved. This code is subject to the terms * and conditions of the IB API Non-Commercial License or the IB API Commercial License, as applicable. */ using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace IBApi { ...
Java
/** * 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...
Java
/** * 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 m...
Java
#import <Foundation/Foundation.h> #import "WXApmProtocol.h" @interface WXApmImpl : NSObject <WXApmProtocol> @end
Java
/* * Copyright (C) 2015 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
Java
/* * 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 * distri...
Java
/* File: CASharedLibrary.h Abstract: Part of CoreAudio Utility Classes Version: 1.0.3 Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Inc. ("Apple") in consideration of your agreement to the following terms, and your use, installation, modification or redistribution of thi...
Java
# # 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...
Java
/* * Copyright 2013-2014 Richard M. Hightower * 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...
Java
/* * 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...
Java
(function () { function remap(fromValue, fromMin, fromMax, toMin, toMax) { // Compute the range of the data var fromRange = fromMax - fromMin, toRange = toMax - toMin, toValue; // If either range is 0, then the value can only be mapped to 1 value if (fromRange ==...
Java
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>CloudWatch Reference &mdash; boto v2.33.0</title> ...
Java
import pytest from api.base.settings.defaults import API_BASE from framework.auth.core import Auth from osf.models import AbstractNode, NodeLog from osf.utils import permissions from osf.utils.sanitize import strip_html from osf_tests.factories import ( NodeFactory, ProjectFactory, OSFGroupFactory, Reg...
Java
/* * Copyright 2010-2016 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...
Java
// Copyright 2017 The Bazel 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 appl...
Java
# 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 ...
Java
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- info: The String.prototype.charAt.length property has the attribute DontEnum es5id: 15.5.4.4_A8 description: > Checking if enumerating the String.prototype.charAt.length pro...
Java
package imagestreamimport import ( "fmt" "net/http" "time" "github.com/golang/glog" gocontext "golang.org/x/net/context" kapierrors "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/util/diff" utilruntime "k8s.io/ap...
Java
# Copyright 2016 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 writing,...
Java
/* * Scala.js (https://www.scala-js.org/) * * Copyright EPFL. * * Licensed under Apache License 2.0 * (https://www.apache.org/licenses/LICENSE-2.0). * * See the NOTICE file distributed with this work for * additional information regarding copyright ownership. */ package scala.scalajs.js.annotation import sc...
Java
/** * JBoss, Home of Professional Open Source. * Copyright 2014-2022 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the...
Java
/** @prettier */ import { expect } from 'chai'; import { EMPTY, of, EmptyError, defer, throwError, Observable } from 'rxjs'; import { throwIfEmpty, mergeMap, retry, take } from 'rxjs/operators'; import { TestScheduler } from 'rxjs/testing'; import { observableMatcher } from '../helpers/observableMatcher'; /** @test {t...
Java
-------------------------------------------------------------------------------- ## Treebank Statistics (UD_Hungarian) This relation is universal. 1 nodes (0%) are attached to their parents as `discourse`. 1 instances of `discourse` (100%) are right-to-left (child precedes parent). Average distance between parent...
Java
/** * Autogenerated by Thrift Compiler (0.9.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ #include "hive_metastore_types.h" #include <algorithm> namespace Apache { namespace Hadoop { namespace Hive { int _kHiveObjectTypeValues[] = { HiveObjectType::GLOBAL, HiveObje...
Java
# $NetBSD: Makefile,v 1.2 2011/09/08 18:44:38 jmmv Exp $ NOMAN= # defined .include <bsd.own.mk> ATFFILE= no TESTSDIR= ${TESTSBASE}/lib/libcurses FILESDIR= ${TESTSDIR}/check_files FILES= curses_start.chk FILES+= addch.chk FILES+= addchstr.chk FILES+= addstr.chk FILES+= attributes.chk FILES+= bell.chk FILES+=...
Java
# # Copyright 2017 Centreon (http://www.centreon.com/) # # Centreon is a full-fledged industry-strength solution that meets # the needs in IT infrastructure and application monitoring for # service performance. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in com...
Java
// This file is part of libfringe, a low-level green threading library. // Copyright (c) whitequark <whitequark@whitequark.org> // Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or // http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or // http://opensource.org/licenses/MIT>, at y...
Java
#!/usr/bin/env bash ## Users, roles, tenants ## adminUser=${1:-neutron} adminRole=admin l3AdminTenant=L3AdminTenant serviceTenant=service # Below user is just for demos so that we don't see all logical instances. regularUser=viewer password=viewer echo -n "Checking if $l3AdminTenant tenant exists ..." tenantId=`open...
Java
/* This file is part of SableCC ( http://sablecc.org ). * * See the NOTICE file distributed with this work for copyright information. * * 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 * ...
Java
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...
Java
/* * 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...
Java
// See www.openfst.org for extensive documentation on this weighted // finite-state transducer library. // // Class to compute the difference between two FSAs. #ifndef FST_DIFFERENCE_H_ #define FST_DIFFERENCE_H_ #include <memory> #include <fst/cache.h> #include <fst/complement.h> #include <fst/compose.h> namespac...
Java
/* * 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...
Java
// Copyright 2014 The Oppia 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 ap...
Java
package org.jetbrains.plugins.scala.lang.formatter; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.command.CommandProcessor; import com.intellij.openapi.editor.Document; import com.intellij.openapi.editor.EditorFactory; import com.intellij.openapi.editor.impl.DocumentImpl; impo...
Java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <title>HashGroupify (ARX Developer Documentation)</title> <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> </head> <body> <script t...
Java
<?php /** * 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"...
Java
/* * Copyright 2000-2009 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...
Java
/** * Copyright (C) 2013-2014 EaseMob Technologies. 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 * Unles...
Java
/* * 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 ...
Java
/// Copyright (c) 2009 Microsoft Corporation /// /// 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 conditions and /// ...
Java
# Apache Aurora development environment This directory contains [Packer](https://packer.io) scripts to build and distribute the base development environment for Aurora. The goal of this environment is to pre-fetch dependencies and artifacts needed for the integration test environment so that `vagrant up` is cheap aft...
Java
/* * Copyright (C) 2015 The Guava Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Java