repo_name stringlengths 4 116 | path stringlengths 3 942 | size stringlengths 1 7 | content stringlengths 3 1.05M | license stringclasses 15
values |
|---|---|---|---|---|
bhutchinson/kfs | kfs-cg/src/main/java/org/kuali/kfs/module/cg/service/impl/ContractsAndGrantsBillingServiceImpl.java | 2589 | /*
* The Kuali Financial System, a comprehensive financial management system for higher education.
*
* Copyright 2005-2014 The Kuali Foundation
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Softwar... | agpl-3.0 |
DejanMilicic/n2cms | src/Framework/N2/Configuration/ErrorAction.cs | 99 | namespace N2.Configuration
{
public enum ErrorAction
{
None,
Email
}
}
| lgpl-2.1 |
pesser/dealii | tests/petsc/solver_03_precondition_sor.cc | 2597 | // ---------------------------------------------------------------------
//
// Copyright (C) 2004 - 2015 by the deal.II authors
//
// This file is part of the deal.II library.
//
// The deal.II library is free software; you can use it, redistribute
// it, and/or modify it under the terms of the GNU Lesser General
// Pu... | lgpl-2.1 |
elkafoury/tux | src/org/herac/tuxguitar/gui/util/MidiTickUtil.java | 2150 | package org.herac.tuxguitar.gui.util;
import org.herac.tuxguitar.gui.TuxGuitar;
import org.herac.tuxguitar.player.base.MidiRepeatController;
import org.herac.tuxguitar.song.managers.TGSongManager;
import org.herac.tuxguitar.song.models.TGMeasureHeader;
public class MidiTickUtil {
public static long getStart(long t... | lgpl-2.1 |
edechter/swipl-devel | src/win32/console/edit.c | 16384 | /* Part of SWI-Prolog
Author: Jan Wielemaker
E-mail: J.Wielemaker@vu.nl
WWW: http://www.swi-prolog.org
Copyright (c) 1999-2011, University of Amsterdam
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permit... | lgpl-2.1 |
gerdstolpmann/ocaml | runtime/globroots.c | 6109 | /**************************************************************************/
/* */
/* OCaml */
/* */
/* ... | lgpl-2.1 |
reneejustrenee/tikiwikitest | categorize.php | 1238 | <?php
/**
* @package tikiwiki
*/
// (c) Copyright 2002-2013 by authors of the Tiki Wiki CMS Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id: categorize.php 44444 201... | lgpl-2.1 |
gytis/narayana | txframework/src/main/java/org/jboss/narayana/txframework/api/exception/TXFrameworkException.java | 1829 | /*
* JBoss, Home of Professional Open Source.
* Copyright 2012, 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... | lgpl-2.1 |
Chinchilla-Software-Com/CQRS | wiki/docs/2.4/html/classCqrs_1_1MongoDB_1_1Serialisers_1_1TypeSerialiser.js | 693 | var classCqrs_1_1MongoDB_1_1Serialisers_1_1TypeSerialiser =
[
[ "Deserialize", "classCqrs_1_1MongoDB_1_1Serialisers_1_1TypeSerialiser_a5e8aa7ae1372033da215d02b79947b20.html#a5e8aa7ae1372033da215d02b79947b20", null ],
[ "Serialize", "classCqrs_1_1MongoDB_1_1Serialisers_1_1TypeSerialiser_a4aec60f5df74f482b576f4e0... | lgpl-2.1 |
gytis/narayana | qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client085.java | 4881 | /*
* JBoss, Home of Professional Open Source
* Copyright 2007, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags.
* See the copyright.txt in the distribution for a
* full listing of individual contributors.
* This copyrighted material is made available to anyone wishing to use... | lgpl-2.1 |
curvejumper/pi4j | pi4j-core/src/main/java/com/pi4j/io/gpio/GpioPinPwm.java | 1511 | package com.pi4j.io.gpio;
/*
* #%L
* **********************************************************************
* ORGANIZATION : Pi4J
* PROJECT : Pi4J :: Java Library (Core)
* FILENAME : GpioPinPwm.java
*
* This file is part of the Pi4J project. More information about
* this project can be found... | lgpl-3.0 |
Vyndi/thelia | setup/update/sql/2.0.1.sql | 3493 | # This is a fix for InnoDB in MySQL >= 4.1.x
# It "suspends judgement" for fkey relationships until are tables are set.
SET FOREIGN_KEY_CHECKS = 0;
UPDATE `config` SET `value`='2.0.1' WHERE `name`='thelia_version';
UPDATE `config` SET `value`='1' WHERE `name`='thelia_release_version';
UPDATE `config` SET `value`='' WH... | lgpl-3.0 |
hqhq/moby | vendor/github.com/docker/swarmkit/ca/external.go | 7794 | package ca
import (
"bytes"
cryptorand "crypto/rand"
"crypto/tls"
"crypto/x509"
"encoding/hex"
"encoding/json"
"encoding/pem"
"io"
"io/ioutil"
"net/http"
"sync"
"time"
"github.com/cloudflare/cfssl/api"
"github.com/cloudflare/cfssl/config"
"github.com/cloudflare/cfssl/csr"
"github.com/cloudflare/cfssl/... | apache-2.0 |
lukecwik/incubator-beam | sdks/java/extensions/ml/src/test/java/org/apache/beam/sdk/extensions/ml/DLPInspectTextTest.java | 3694 | /*
* 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 ... | apache-2.0 |
nmcl/scratch | graalvm/transactions/fork/narayana/XTS/localjunit/unit/src/test/java/com/arjuna/wsas/tests/DemoHLS.java | 4846 | /*
* JBoss, Home of Professional Open Source
* Copyright 2006, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags.
* See the copyright.txt in the distribution for a full listing
* of individual contributors.
* This copyrighted material is made available to anyone wishing to u... | apache-2.0 |
rickw/bither-ios | bither-ios/Cells/ColdAddressListCell.h | 801 | //
// ColdAddressListCell.h
// bither-ios
//
// Copyright 2014 http://Bither.net
//
// 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
... | apache-2.0 |
Microsoft/TypeScript | tests/baselines/reference/privateIdentifierChain.1.js | 498 | //// [privateIdentifierChain.1.ts]
class A {
a?: A
#b?: A;
getA(): A {
return new A();
}
constructor() {
this?.#b; // Error
this?.a.#b; // Error
this?.getA().#b; // Error
}
}
//// [privateIdentifierChain.1.js]
"use strict";
class A {
... | apache-2.0 |
gaoyuhang/HuanXinTest | testhuanxin/HyphenateSDK/include/EMOptions+PrivateDeploy.h | 2021 | /*!
* \~chinese
* @header EMOptions+PrivateDeploy.h
* @abstract SDK私有部署属性
* @author Hyphenate
* @version 3.0
*
* \~english
* @header EMOptions+PrivateDeploy.h
* @abstract SDK setting options of private deployment
* @author Hyphenate
* @version 3.0
*/
#import "EMOptions.h"
@interface ... | apache-2.0 |
Microsoft/TypeScript | tests/cases/conformance/salsa/thisPropertyAssignmentComputed.ts | 138 | // @allowjs: true
// @checkjs: true
// @noemit: true
// @strict: true
// @filename: thisPropertyAssignmentComputed.js
this["a" + "b"] = 0
| apache-2.0 |
nvoron23/Kylin | metadata/src/main/java/org/apache/kylin/metadata/tool/HiveSourceTableLoader.java | 6633 | /*
* 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 ... | apache-2.0 |
LegNeato/buck | test/com/facebook/buck/io/ConfiguredBuckOutIntegrationTest.java | 6709 | /*
* Copyright 2016-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... | apache-2.0 |
0x6e6562/astyanax | src/main/java/com/netflix/astyanax/thrift/model/ThriftCounterColumnListImpl.java | 3953 | /*******************************************************************************
* Copyright 2011 Netflix
*
* 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/... | apache-2.0 |
facebook/presto | presto-main/src/test/java/com/facebook/presto/operator/unnest/TestUnnestOperator.java | 26599 | /*
* 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... | apache-2.0 |
apache/cloudstack-www | source/api/apidocs-4.8/root_admin/deleteProject.html | 2932 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../includes/main.css" type="text/css">
<l... | apache-2.0 |
jeltz/rust-debian-package | src/llvm/tools/clang/test/SemaCXX/overloaded-builtin-operators-0x.cpp | 215 | // RUN: %clang_cc1 -fsyntax-only -fshow-overloads=best -std=c++11 -verify %s
template <class T>
struct X
{
operator T() const {return T();}
};
void test_char16t(X<char16_t> x) {
bool b = x == char16_t();
}
| apache-2.0 |
amarzavery/azure-powershell | src/ServiceManagement/Services/Commands.Test/CloudService/Development/GetAzureServiceProjectRuntimesTest.cs | 2685 | // ----------------------------------------------------------------------------------
//
// 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... | apache-2.0 |
bridgewell/csharp-driver | src/Cassandra.IntegrationTests/TestBase/Options.cs | 1638 | //
// Copyright (C) 2012-2014 DataStax 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 ap... | apache-2.0 |
mirego/j2objc | xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/DOMErrorImpl.java | 4503 | /*
* 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... | apache-2.0 |
bojanv55/AxonFramework | test/src/test/java/org/axonframework/test/saga/NonTransientResource.java | 76 | package org.axonframework.test.saga;
public class NonTransientResource {
}
| apache-2.0 |
googleapis/google-api-java-client-services | clients/google-api-services-dfareporting/v3.4/1.29.2/com/google/api/services/dfareporting/model/CreativeClickThroughUrl.java | 4569 | /*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... | apache-2.0 |
Microsoft/TypeScript | tests/cases/compiler/noImplicitThisBigThis.ts | 899 | // @declaration: true
// @noImplicitThis: true
// https://github.com/microsoft/TypeScript/issues/29902
function createObj() {
return {
func1() {
return this;
},
func2() {
return this;
},
func3() {
return this;
}
... | apache-2.0 |
determinedcheetahs/cheetah_juniper | hadoop/docs/api/org/apache/hadoop/mapred/join/class-use/ResetableIterator.EMPTY.html | 6195 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_31) on Mon Jul 22 15:25:23 PDT 2013 -->
<TITLE>
Uses of Class org.apache.hadoop.mapred.join.ResetableIterator.EMPTY (Hadoop 1.2.1 API)
</TITLE>
<MET... | apache-2.0 |
stevekuznetsov/origin | pkg/build/controller/strategy/docker_test.go | 5708 | package strategy
import (
"reflect"
"strings"
"testing"
"k8s.io/apimachinery/pkg/api/resource"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/util/validation"
kapi "k8s.io/kubernetes/pkg/api"
buildapi "github.com/openshift/origin/pkg/build/api"
_ "g... | apache-2.0 |
hglkrijger/azure-linux-automation | remote-scripts/performance_zk.sh | 14855 | #!/bin/bash
########################################################################
#
# Linux on Hyper-V and Azure Test Code, ver. 1.0.0
# Copyright (c) Microsoft Corporation
#
# All rights reserved.
# Licensed under the Apache License, Version 2.0 (the ""License"");
# you may not use this file except in compliance ... | apache-2.0 |
gsi-upm/SmartSim | smartbody/src/assimp-3.1.1/code/CalcTangentsProcess.cpp | 12469 | /*
---------------------------------------------------------------------------
Open Asset Import Library (assimp)
---------------------------------------------------------------------------
Copyright (c) 2006-2012, assimp team
All rights reserved.
Redistribution and use of this software in source and binary... | apache-2.0 |
deangelo200/deangeloalmeus-app-1 | www/Fz-css/technology.css | 329 |
.picture-background{
background-image:linear-gradient(rgba(0, 0, 0, 0.6),rgba(0, 0, 0, 0.6)),url("../Fz-imgs/fact-img/technology3.jpeg");
background-position:center center;
background-size:cover;
}
.main-home-nav{
background-color:#2c3e50;
}
.main-home-nav:after,
.main-home-nav:before{
background-color:#2c... | apache-2.0 |
hlu2/QuickBooks_Demo | src/Data/IPPIdType.php | 1546 | <?php
/**
* @xmlNamespace http://schema.intuit.com/finance/v3
* @xmlType string
* @xmlName IPPIdType
* @var IPPIdType
* @xmlDefinition
Product: ALL
Description: Allows for strong-typing of Ids and qualifying the domain origin of the Id. The valid values for the domain are defined in the idDomainEnum.
... | apache-2.0 |
Microsoft/TypeScript | tests/cases/fourslash/tsxRename3.ts | 515 | /// <reference path='fourslash.ts' />
//@Filename: file.tsx
//// declare module JSX {
//// interface Element { }
//// interface IntrinsicElements {
//// }
//// interface ElementAttributesProperty { props }
//// }
//// class MyClass {
//// props: {
//// [|[|{| "contextRangeIndex": 0 |}n... | apache-2.0 |
Crespo911/encog-java-core | src/main/java/org/encog/neural/pattern/FeedForwardPattern.java | 3936 | /*
* Encog(tm) Core v3.3 - Java Version
* http://www.heatonresearch.com/encog/
* https://github.com/encog/encog-java-core
* Copyright 2008-2014 Heaton Research, 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... | apache-2.0 |
twitter-forks/bazel | src/main/java/net/starlark/java/syntax/ForStatement.java | 2418 | // Copyright 2014 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... | apache-2.0 |
hgl888/Pedometer | src/main/java/de/j4velin/pedometer/util/ColorPreview.java | 1251 | package de.j4velin.pedometer.util;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.util.AttributeSet;
import android.view.View;
public class ColorPreview extends View {
private Paint paint = new Paint();
private int ... | apache-2.0 |
wsargent/playframework | documentation/manual/working/javaGuide/main/xml/code/javaguide/xml/JavaXmlRequests.java | 1900 | /*
* Copyright (C) 2009-2017 Lightbend Inc. <https://www.lightbend.com>
*/
package javaguide.xml;
import org.w3c.dom.Document;
import play.libs.XPath;
import play.mvc.BodyParser;
import play.mvc.Controller;
import play.mvc.Result;
public class JavaXmlRequests extends Controller {
//#xml-hello
public Result ... | apache-2.0 |
pjain1/druid | indexing-hadoop/src/test/java/org/apache/druid/indexer/HdfsClasspathSetupTest.java | 8361 | /*
* 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 ... | apache-2.0 |
chromium/crashpad | util/process/process_id.h | 1663 | // Copyright 2019 The Crashpad Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ... | apache-2.0 |
kendrick-k/Imager.js | test/fixtures/data-src-interpolate.html | 276 | <div style="width: 600px">
<div class="delayed-image-load" data-src="base/test/fixtures/interpolated/B-{width}.jpg"></div>
</div>
<div style="width: 600px">
<div class="delayed-image-load" data-src="base/test/fixtures/{width}/{width}.jpg" data-width="1024"></div>
</div>
| apache-2.0 |
runningwater/TranslateProject | sources/tech/20210615 Keep track of your IRC chats with ZNC.md | 7898 | [#]: subject: (Keep track of your IRC chats with ZNC)
[#]: via: (https://opensource.com/article/21/6/irc-matrix-bridge-znc)
[#]: author: (John 'Warthog9' Hawley https://opensource.com/users/warthog9)
[#]: collector: (lujun9972)
[#]: translator: ( )
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
Keep track of you... | apache-2.0 |
manthey/girder | girder/cli/__init__.py | 358 | from click_plugins import with_plugins
from pkg_resources import iter_entry_points
import click
@with_plugins(iter_entry_points('girder.cli_plugins'))
@click.group(help='Girder: data management platform for the web.',
context_settings=dict(help_option_names=['-h', '--help']))
@click.version_option(messag... | apache-2.0 |
fengshao0907/Gaea | client/net/client/Test/Properties/AssemblyInfo.cs | 1358 | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Test")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[ass... | apache-2.0 |
cdapio/twill | twill-core/src/main/java/org/apache/twill/internal/ZKMessages.java | 4170 | /*
* 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 ... | apache-2.0 |
jaehong-kim/pinpoint | plugins/jboss/README.md | 3971 | ## Pinpoint JBoss plugin configuration
### Known Issue
There is a bug in our ASM engine in 1.6.0. In order to trace jboss in 1.6.0, **you must set `profiler.instrument.engine=JAVASSIST` in pinpoint.config**. (The issue has been fixed in 1.6.1)
**You must set jboss log manager starting from pinpoint 1.6.1+**
- issue ... | apache-2.0 |
execunix/vinos | xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/vl/vl_decoder.h | 2061 | /**************************************************************************
*
* Copyright 2009 Younes Manton.
* Copyright 2011 Christian König.
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "So... | apache-2.0 |
wadewegner/BeerStation | ref/BeerStation/packages/Microsoft.Bcl.Build.1.0.8/tools/Uninstall.ps1 | 700 | param($installPath, $toolsPath, $package, $project)
# Need to load MSBuild assembly if it's not loaded yet.
Add-Type -AssemblyName 'Microsoft.Build, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
# Grab the loaded MSBuild project for the project
$msbuild = [Microsoft.Build.Evaluatio... | apache-2.0 |
johan/closure-compiler | src/com/google/javascript/jscomp/DiagnosticGroupWarningsGuard.java | 1568 | /*
* Copyright 2008 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 ... | apache-2.0 |
johnno1962b/swift-corelibs-foundation | CoreFoundation/URL.subproj/CFURLSessionInterface.h | 47599 | //===-- CoreFoundation/URL/CFURLSessionInterface.h - Very brief description -----------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// S... | apache-2.0 |
akopich/spark | sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/misc.scala | 4467 | /*
* 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 ... | apache-2.0 |
GJL/flink | flink-end-to-end-tests/flink-streaming-kafka-test-base/src/main/java/org/apache/flink/streaming/kafka/test/base/KafkaExampleUtil.java | 2183 | /*
* 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 ... | apache-2.0 |
googleapis/google-api-java-client-services | clients/google-api-services-content/v2/1.29.2/com/google/api/services/content/model/OrdersSetLineItemMetadataResponse.java | 3052 | /*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... | apache-2.0 |
qhanam/Pangor | js/test/input/error_handling/eh_methods_old.js | 272 | /* Uncaught exception
* Output: EH_UNCAUGHT_EXCEPTION */
function throwsException() {
throw new Error();
}
function doSomething() {
try {
throwsException();
}
catch (e) { }
}
function doSomethingElse() {
throwsException();
}
doSomething();
doSomethingElse();
| apache-2.0 |
jiangchaoting/spring | src/main/java/org/mybatis/spring/SqlSessionTemplate.java | 13876 | /**
* 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... | apache-2.0 |
mxm/incubator-beam | website/src/_posts/2018-08-21-beam-summit-europe.md | 2959 | ---
layout: post
title: "Beam Summit Europe 2018"
date: 2018-08-21 00:00:01 -0800
excerpt_separator: <!--more-->
categories: blog
authors:
- mbaetens
---
<!--
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 th... | apache-2.0 |
weswigham/TypeScript | tests/cases/compiler/abstractPropertyInConstructor.ts | 1679 | abstract class AbstractClass {
constructor(str: string, other: AbstractClass) {
this.method(parseInt(str));
let val = this.prop.toLowerCase();
if (!str) {
this.prop = "Hello World";
}
this.cb(str);
// OK, reference is inside function
c... | apache-2.0 |
50wu/gpdb | gpMgmt/bin/gpcheckcat_modules/unique_index_violation_check.py | 2547 | #!/usr/bin/env python3
class UniqueIndexViolationCheck:
unique_indexes_query = """
select table_oid, index_name, table_name, array_agg(attname) as column_names
from pg_attribute, (
select pg_index.indrelid as table_oid, index_class.relname as index_name, table_class.relname as table_nam... | apache-2.0 |
50wu/gpdb | src/test/regress/sql/uao_compaction/eof_truncate.sql | 784 | -- @Description Tests the behavior while compacting is disabled
CREATE TABLE uao_eof_truncate (a INT, b INT, c CHAR(128)) WITH (appendonly=true);
CREATE INDEX uao_eof_truncate_index ON uao_eof_truncate(b);
BEGIN;
INSERT INTO uao_eof_truncate SELECT i as a, 1 as b, 'hello world' as c FROM generate_series(1,1000) AS i;
... | apache-2.0 |
panchenko/pgjdbc | pgjdbc/src/test/java/org/postgresql/test/jdbc4/jdbc41/SchemaTest.java | 7435 | /*
* Copyright (c) 2010, PostgreSQL Global Development Group
* See the LICENSE file in the project root for more information.
*/
package org.postgresql.test.jdbc4.jdbc41;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import org.postgresql.test.TestUtil;
import org.junit.After;... | bsd-2-clause |
ylixir/void-packages | common/environment/setup-subpkg/subpkg.sh | 1110 | # This shell snippet unsets all variables/functions that can be used in
# a package template and can also be used in subpkgs.
## VARIABLES
unset -v noarch conf_files mutable_files preserve triggers
unset -v depends run_depends replaces provides conflicts tags
# hooks/post-install/03-strip-and-debug-pkgs
unset -v nost... | bsd-2-clause |
KnisterPeter/jreact | src/test/resources/react-0.11/node_modules/react/lib/ReactBrowserEventEmitter.js | 12568 | /**
* Copyright 2013-2014 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 agree... | bsd-2-clause |
dariomanesku/bx | include/bx/float4x4_t.h | 5418 | /*
* Copyright 2010-2016 Branimir Karadzic. All rights reserved.
* License: https://github.com/bkaradzic/bx#license-bsd-2-clause
*/
#ifndef BX_FLOAT4X4_H_HEADER_GUARD
#define BX_FLOAT4X4_H_HEADER_GUARD
#include "simd_t.h"
namespace bx
{
BX_ALIGN_DECL_16(struct) float4x4_t
{
simd128_t col[4];
};
BX_SIMD_FOR... | bsd-2-clause |
jvrsantacruz/XlsxWriter | xlsxwriter/test/worksheet/test_write_worksheet.py | 887 | ###############################################################################
#
# Tests for XlsxWriter.
#
# Copyright (c), 2013-2015, John McNamara, jmcnamara@cpan.org
#
import unittest
from ...compatibility import StringIO
from ...worksheet import Worksheet
class TestWriteWorksheet(unittest.TestCase):
"""
... | bsd-2-clause |
sjackman/homebrew-core | Formula/jellyfish.rb | 2051 | class Jellyfish < Formula
desc "Fast, memory-efficient counting of DNA k-mers"
homepage "http://www.genome.umd.edu/jellyfish.html"
url "https://github.com/gmarcais/Jellyfish/releases/download/v2.3.0/jellyfish-2.3.0.tar.gz"
sha256 "e195b7cf7ba42a90e5e112c0ed27894cd7ac864476dc5fb45ab169f5b930ea5a"
license any_o... | bsd-2-clause |
dozed/scalatra | atmosphere/src/main/scala/org/atmosphere/cpr/broadcaster_configs.scala | 1673 | package org.atmosphere.cpr
import java.net.URI
import org.scalatra.atmosphere.{ RedisScalatraBroadcaster, ScalatraBroadcaster }
trait BroadcasterConf {
def broadcasterClass: Class[_ <: ScalatraBroadcaster]
def uri: URI
def extraSetup: Broadcaster => Unit // To perform optional plugin-specific Broadcaster setup... | bsd-2-clause |
charite/Q | src/seqan/core/include/seqan/find/find_ahocorasick.h | 11338 | // ==========================================================================
// SeqAn - The Library for Sequence Analysis
// ==========================================================================
// Copyright (c) 2006-2013, Knut Reinert, FU Berlin
// All rights reserved.
//
// Redistribution and us... | bsd-2-clause |
scaryml1000/ZendSkeleton | vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Classes/ValidClassNameSniff.php | 3154 | <?php
/**
* Squiz_Sniffs_Classes_ValidClassNameSniff.
*
* PHP version 5
*
* @category PHP
* @package PHP_CodeSniffer
* @author Greg Sherwood <gsherwood@squiz.net>
* @author Marc McIntyre <mmcintyre@squiz.net>
* @copyright 2006-2012 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/sq... | bsd-3-clause |
gcds/project_xxx | nuttx/sched/pthread_condwait.c | 4507 | /****************************************************************************
* sched/pthread_condwait.c
*
* Copyright (C) 2007-2009, 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are per... | bsd-3-clause |
nikn/it-asu.ru | vendor/yiisoft/yii2/helpers/Console.php | 432 | <?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace yii\helpers;
/**
* Console helper provides useful methods for command line related tasks such as getting input or formatting and coloring
* outp... | bsd-3-clause |
pandiaraj44/react-native | Libraries/Core/setUpNavigator.js | 545 | /**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow strict
* @format
*/
'use strict';
const {polyfillObjectProperty} = require('../Utilities/PolyfillFunctions');
let navi... | bsd-3-clause |
jenswi-linaro/arm-trusted-firmware | plat/arm/board/fvp/fvp_trusted_boot.c | 1842 | /*
* Copyright (c) 2016-2020, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <assert.h>
#include <stdint.h>
#include <string.h>
#include <lib/mmio.h>
#include <lib/fconf/fconf.h>
#include <plat/arm/common/plat_arm.h>
#include <plat/arm/common/fconf_nv_cntr... | bsd-3-clause |
u20024804/fbcunn | fbcunn/TemporalConvolutionFB.lua | 1799 | -- Copyright 2004-present Facebook. All Rights Reserved.
require 'nn'
local TemporalConvolutionFB, parent =
torch.class('nn.TemporalConvolutionFB', 'nn.Module')
function TemporalConvolutionFB:__init(inputFrameSize, outputFrameSize, kW, dW)
parent.__init(self)
dW = dW or 1
self.inputFrameSize = inputFra... | bsd-3-clause |
scheib/chromium | components/permissions/permission_request_id.cc | 1886 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/permissions/permission_request_id.h"
#include <inttypes.h>
#include <stdint.h>
#include "base/strings/stringprintf.h"
#include "con... | bsd-3-clause |
bestrauc/seqan | demos/tutorial/a_first_example/solution_4.cpp | 1153 | #include <iostream>
#include <seqan/file.h>
#include <seqan/sequence.h>
#include <seqan/score.h>
using namespace seqan;
template <typename TText, typename TPattern>
int computeLocalScore(TText const & subText, TPattern const & pattern)
{
int localScore = 0;
for (unsigned i = 0; i < length(pattern); ++i)
... | bsd-3-clause |
justworkshr/stupidedi | lib/stupidedi/versions/functional_groups/003040/segment_defs/MS1.rb | 1438 | module Stupidedi
module Versions
module FunctionalGroups
module ThirtyForty
module SegmentDefs
s = Schema
e = ElementDefs
r = ElementReqs
MS1 = s::SegmentDef.build(:MS1, "Equipment, Shipment, or Real Property Location",
"To specify the location o... | bsd-3-clause |
robclark/chromium | chrome/browser/extensions/convert_web_app.cc | 6936 | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/convert_web_app.h"
#include <cmath>
#include <limits>
#include <string>
#include <vector>
#include "base/base64.... | bsd-3-clause |
modulexcite/blink | LayoutTests/fast/dom/htmlcollection-enumerated-properties.html | 1790 | <!DOCTYPE html>
<html>
<body>
<script src="../../resources/js-test.js"></script>
<a id="id1" name="name1"></a>
<a id="id2" name="name1"></a>
<a id="id3"></a>
<a id="id4" name="name4"></a>
<a name="name5"></a>
<a id="id4" name="name6"></a>
<script>
description("This tests verifies the enumerated properties on HTMLColle... | bsd-3-clause |
youtube/cobalt | third_party/skia_next/third_party/skia/docs/examples/Paint_setTextScaleX.cpp | 566 | #if 0 // Disabled until updated to use current API.
// Copyright 2019 Google LLC.
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
#include "tools/fiddle/examples.h"
// HASH=a75bbdb8bb866b125c4c1dd5e967d470
REG_FIDDLE(Paint_setTextScaleX, 256, 256, true, 0) {
void dr... | bsd-3-clause |
ric2b/Vivaldi-browser | chromium/chrome/browser/ash/file_system_provider/operations/execute_action.cc | 2321 | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ash/file_system_provider/operations/execute_action.h"
#include <algorithm>
#include <string>
#include "chrome/common/extensions... | bsd-3-clause |
endlessm/chromium-browser | third_party/glfw/src/src/osmesa_context.h | 3768 | //========================================================================
// GLFW 3.3 OSMesa - www.glfw.org
//------------------------------------------------------------------------
// Copyright (c) 2016 Google Inc.
// Copyright (c) 2006-2016 Camilla Löwy <elmindreda@glfw.org>
//
// This software is provided 'as-is',... | bsd-3-clause |
scheib/chromium | content/test/data/accessibility/html/selection-container.html | 382 | <html>
<body>
<select aria-label="selection_list" size="10" id="listbox">
<optgroup label="Enabled" id="listbox_optgroup_enabled">
<option value="listbox_e1" id="listbox_option_enabled_one">One</option>
<option value="listbox_e2">Two</option>
<option value="listbox_e3">Three</option>
<option value="li... | bsd-3-clause |
ric2b/Vivaldi-browser | chromium/chrome/android/java/src/org/chromium/chrome/browser/browserservices/ui/splashscreen/trustedwebactivity/TwaSplashController.java | 8032 | // Copyright 2019 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.
package org.chromium.chrome.browser.browserservices.ui.splashscreen.trustedwebactivity;
import static android.view.ViewGroup.LayoutParams.MATCH_PARENT;
... | bsd-3-clause |
catester/sharpcompress | SharpCompress/LazyReadOnlyCollection.cs | 3931 | using System;
using System.Collections.Generic;
namespace SharpCompress
{
internal class LazyReadOnlyCollection<T> : ICollection<T>
{
private readonly List<T> backing = new List<T>();
private readonly IEnumerator<T> source;
private bool fullyLoaded;
public LazyReadO... | mit |
hunch/hunch-gift-app | django/__init__.py | 565 | VERSION = (1, 3, 0, 'alpha', 1)
def get_version():
version = '%s.%s' % (VERSION[0], VERSION[1])
if VERSION[2]:
version = '%s.%s' % (version, VERSION[2])
if VERSION[3:] == ('alpha', 0):
version = '%s pre-alpha' % version
else:
if VERSION[3] != 'final':
versi... | mit |
xiaopengs/iBooks | src/com/greenlemonmobile/app/ebook/books/parser/ZipWrapper.java | 433 | package com.greenlemonmobile.app.ebook.books.parser;
import java.io.IOException;
import java.io.InputStream;
import java.util.Enumeration;
import java.util.zip.ZipEntry;
public interface ZipWrapper {
ZipEntry getEntry(String entryName);
InputStream getInputStream(ZipEntry entry) throws IO... | mit |
acken/AutoTest.Net | src/AutoTest.TestRunner/Plugins/AutoTest.TestRunners.XUnit.Tests.TestResource/Class2.cs | 310 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace AutoTest.TestRunners.XUnit.Tests.TestResource
{
public class Class2
{
[Fact]
public void Anothger_passing_test()
{
Assert.Equal(1, 1);
}
}
}
| mit |
yogeshsaroya/new-cdnjs | ajax/libs/dojo/1.8.9/cldr/nls/cs/buddhist.js.uncompressed.js | 129 | version https://git-lfs.github.com/spec/v1
oid sha256:ff6a5c1204e476c89870c6f14e75db666fa26de9359f9d8c372ef779b55c8875
size 2736
| mit |
BenjaminTsai/openrov-cockpit | src/plugins/fpscounter/index.js | 148 | function example(name, deps) {
console.log('This is where fpscounter plugin code would execute in the node process.');
}
module.exports = example; | mit |
zixan/django-crispy-forms | crispy_forms/tests/test_form_helper.py | 23197 | # -*- coding: utf-8 -*-
import re
import django, logging, warnings
from django import forms
from django.conf import settings
from django.core.urlresolvers import reverse
from django.forms.models import formset_factory
from django.middleware.csrf import _get_new_csrf_key
from django.template import (
loader, Templa... | mit |
haeflimi/concrete5 | concrete/controllers/element/express/search/search.php | 1932 | <?php
namespace Concrete\Controller\Element\Express\Search;
use Concrete\Core\Controller\ElementController;
use Concrete\Core\Entity\Express\Entity;
use Concrete\Core\Entity\Search\Query;
use Concrete\Core\File\Search\SearchProvider;
use Concrete\Core\Foundation\Serializer\JsonSerializer;
class Search extends Elemen... | mit |
Nrupesh29/Web-Traffic-Visualizer | vizceral/node_modules/numeral/tests/languages/th.js | 3021 | // Node
if (typeof module !== 'undefined' && module.exports) {
var numeral = require('../../numeral');
var expect = require('chai').expect;
var language = require('../../languages/th');
}
describe('Language: th', function() {
before(function() {
numeral.language('th', language);
numer... | mit |
Jarob22/sc2_app_fyp_backend | vendor/bundle/ruby/1.9.1/gems/diff-lcs-1.1.3/docs/artistic.html | 12246 | <!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" xml:lang="en" lang="en">
<head>
<title>The "Artistic License" - dev.perl.org</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf... | mit |
mxrrow/zaicoin | src/deps/boost/doc/html/boost_asio/reference/basic_raw_socket/get_implementation/overload2.html | 3658 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>basic_raw_socket::get_implementation (2 of 2 overloads)</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="... | mit |
mxrrow/zaicoin | src/deps/boost/libs/chrono/test/win32_test.cpp | 5830 | // boost win32_test.cpp -----------------------------------------------------//
// Copyright 2010 Vicente J. Botet Escriba
// Distributed under the Boost Software License, Version 1.0.
// See http://www.boost.org/LICENSE_1_0.txt
// See http://www.boost.org/libs/chrono for documentation.
#include <boost/chrono/... | mit |
ThunderCls/xLCB | xLCB/pluginsdk/yara/yara/threading.h | 2317 | /*
Copyright (c) 2016. The YARA Authors. All Rights Reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the ... | mit |