code
stringlengths
3
1.01M
repo_name
stringlengths
5
116
path
stringlengths
3
311
language
stringclasses
30 values
license
stringclasses
15 values
size
int64
3
1.01M
/* * 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...
bhutchinson/kfs
kfs-cg/src/main/java/org/kuali/kfs/module/cg/service/impl/ContractsAndGrantsBillingServiceImpl.java
Java
agpl-3.0
2,589
namespace N2.Configuration { public enum ErrorAction { None, Email } }
DejanMilicic/n2cms
src/Framework/N2/Configuration/ErrorAction.cs
C#
lgpl-2.1
99
// --------------------------------------------------------------------- // // 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...
pesser/dealii
tests/petsc/solver_03_precondition_sor.cc
C++
lgpl-2.1
2,597
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...
elkafoury/tux
src/org/herac/tuxguitar/gui/util/MidiTickUtil.java
Java
lgpl-2.1
2,150
/* 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...
edechter/swipl-devel
src/win32/console/edit.c
C
lgpl-2.1
16,384
/**************************************************************************/ /* */ /* OCaml */ /* */ /* ...
gerdstolpmann/ocaml
runtime/globroots.c
C
lgpl-2.1
6,109
<?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...
reneejustrenee/tikiwikitest
categorize.php
PHP
lgpl-2.1
1,238
/* * 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...
gytis/narayana
txframework/src/main/java/org/jboss/narayana/txframework/api/exception/TXFrameworkException.java
Java
lgpl-2.1
1,829
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...
Chinchilla-Software-Com/CQRS
wiki/docs/2.4/html/classCqrs_1_1MongoDB_1_1Serialisers_1_1TypeSerialiser.js
JavaScript
lgpl-2.1
693
/* * 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...
gytis/narayana
qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client085.java
Java
lgpl-2.1
4,881
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...
curvejumper/pi4j
pi4j-core/src/main/java/com/pi4j/io/gpio/GpioPinPwm.java
Java
lgpl-3.0
1,511
# 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...
Vyndi/thelia
setup/update/sql/2.0.1.sql
SQL
lgpl-3.0
3,493
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/...
hqhq/moby
vendor/github.com/docker/swarmkit/ca/external.go
GO
apache-2.0
7,794
/* * 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 ...
lukecwik/incubator-beam
sdks/java/extensions/ml/src/test/java/org/apache/beam/sdk/extensions/ml/DLPInspectTextTest.java
Java
apache-2.0
3,694
/* * 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...
nmcl/scratch
graalvm/transactions/fork/narayana/XTS/localjunit/unit/src/test/java/com/arjuna/wsas/tests/DemoHLS.java
Java
apache-2.0
4,846
// // 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 ...
rickw/bither-ios
bither-ios/Cells/ColdAddressListCell.h
C
apache-2.0
801
//// [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 { ...
Microsoft/TypeScript
tests/baselines/reference/privateIdentifierChain.1.js
JavaScript
apache-2.0
498
/*! * \~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 ...
gaoyuhang/HuanXinTest
testhuanxin/HyphenateSDK/include/EMOptions+PrivateDeploy.h
C
apache-2.0
2,021
// @allowjs: true // @checkjs: true // @noemit: true // @strict: true // @filename: thisPropertyAssignmentComputed.js this["a" + "b"] = 0
Microsoft/TypeScript
tests/cases/conformance/salsa/thisPropertyAssignmentComputed.ts
TypeScript
apache-2.0
138
/* * 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 ...
nvoron23/Kylin
metadata/src/main/java/org/apache/kylin/metadata/tool/HiveSourceTableLoader.java
Java
apache-2.0
6,633
/* * 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...
LegNeato/buck
test/com/facebook/buck/io/ConfiguredBuckOutIntegrationTest.java
Java
apache-2.0
6,709
/******************************************************************************* * 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/...
0x6e6562/astyanax
src/main/java/com/netflix/astyanax/thrift/model/ThriftCounterColumnListImpl.java
Java
apache-2.0
3,953
/* * 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...
facebook/presto
presto-main/src/test/java/com/facebook/presto/operator/unnest/TestUnnestOperator.java
Java
apache-2.0
26,599
<!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/cloudstack-www
source/api/apidocs-4.8/root_admin/deleteProject.html
HTML
apache-2.0
2,932
// 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(); }
jeltz/rust-debian-package
src/llvm/tools/clang/test/SemaCXX/overloaded-builtin-operators-0x.cpp
C++
apache-2.0
215
// ---------------------------------------------------------------------------------- // // 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...
amarzavery/azure-powershell
src/ServiceManagement/Services/Commands.Test/CloudService/Development/GetAzureServiceProjectRuntimesTest.cs
C#
apache-2.0
2,685
// // 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...
bridgewell/csharp-driver
src/Cassandra.IntegrationTests/TestBase/Options.cs
C#
apache-2.0
1,638
/* * 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...
mirego/j2objc
xalan/third_party/android/platform/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/DOMErrorImpl.java
Java
apache-2.0
4,503
package org.axonframework.test.saga; public class NonTransientResource { }
bojanv55/AxonFramework
test/src/test/java/org/axonframework/test/saga/NonTransientResource.java
Java
apache-2.0
76
/* * 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...
googleapis/google-api-java-client-services
clients/google-api-services-dfareporting/v3.4/1.29.2/com/google/api/services/dfareporting/model/CreativeClickThroughUrl.java
Java
apache-2.0
4,569
// @declaration: true // @noImplicitThis: true // https://github.com/microsoft/TypeScript/issues/29902 function createObj() { return { func1() { return this; }, func2() { return this; }, func3() { return this; } ...
Microsoft/TypeScript
tests/cases/compiler/noImplicitThisBigThis.ts
TypeScript
apache-2.0
899
<!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...
determinedcheetahs/cheetah_juniper
hadoop/docs/api/org/apache/hadoop/mapred/join/class-use/ResetableIterator.EMPTY.html
HTML
apache-2.0
6,195
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...
stevekuznetsov/origin
pkg/build/controller/strategy/docker_test.go
GO
apache-2.0
5,708
#!/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 ...
hglkrijger/azure-linux-automation
remote-scripts/performance_zk.sh
Shell
apache-2.0
14,855
/* --------------------------------------------------------------------------- Open Asset Import Library (assimp) --------------------------------------------------------------------------- Copyright (c) 2006-2012, assimp team All rights reserved. Redistribution and use of this software in source and binary...
gsi-upm/SmartSim
smartbody/src/assimp-3.1.1/code/CalcTangentsProcess.cpp
C++
apache-2.0
12,469
.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...
deangelo200/deangeloalmeus-app-1
www/Fz-css/technology.css
CSS
apache-2.0
329
<?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. ...
hlu2/QuickBooks_Demo
src/Data/IPPIdType.php
PHP
apache-2.0
1,546
/// <reference path='fourslash.ts' /> //@Filename: file.tsx //// declare module JSX { //// interface Element { } //// interface IntrinsicElements { //// } //// interface ElementAttributesProperty { props } //// } //// class MyClass { //// props: { //// [|[|{| "contextRangeIndex": 0 |}n...
Microsoft/TypeScript
tests/cases/fourslash/tsxRename3.ts
TypeScript
apache-2.0
515
/* * 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...
Crespo911/encog-java-core
src/main/java/org/encog/neural/pattern/FeedForwardPattern.java
Java
apache-2.0
3,936
// 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...
twitter-forks/bazel
src/main/java/net/starlark/java/syntax/ForStatement.java
Java
apache-2.0
2,418
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 ...
hgl888/Pedometer
src/main/java/de/j4velin/pedometer/util/ColorPreview.java
Java
apache-2.0
1,251
/* * 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 ...
wsargent/playframework
documentation/manual/working/javaGuide/main/xml/code/javaguide/xml/JavaXmlRequests.java
Java
apache-2.0
1,900
/* * 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 ...
pjain1/druid
indexing-hadoop/src/test/java/org/apache/druid/indexer/HdfsClasspathSetupTest.java
Java
apache-2.0
8,361
// 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 ...
chromium/crashpad
util/process/process_id.h
C
apache-2.0
1,663
<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>
kendrick-k/Imager.js
test/fixtures/data-src-interpolate.html
HTML
apache-2.0
276
[#]: 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...
runningwater/TranslateProject
sources/tech/20210615 Keep track of your IRC chats with ZNC.md
Markdown
apache-2.0
7,898
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...
manthey/girder
girder/cli/__init__.py
Python
apache-2.0
358
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // 有关程序集的常规信息通过以下 // 特性集控制。更改这些特性值可修改 // 与程序集关联的信息。 [assembly: AssemblyTitle("Test")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Microsoft")] [ass...
fengshao0907/Gaea
client/net/client/Test/Properties/AssemblyInfo.cs
C#
apache-2.0
1,358
/* * 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 ...
cdapio/twill
twill-core/src/main/java/org/apache/twill/internal/ZKMessages.java
Java
apache-2.0
4,170
## 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 ...
jaehong-kim/pinpoint
plugins/jboss/README.md
Markdown
apache-2.0
3,971
/************************************************************************** * * 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...
execunix/vinos
xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/vl/vl_decoder.h
C
apache-2.0
2,061
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...
wadewegner/BeerStation
ref/BeerStation/packages/Microsoft.Bcl.Build.1.0.8/tools/Uninstall.ps1
PowerShell
apache-2.0
700
/* * 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 ...
johan/closure-compiler
src/com/google/javascript/jscomp/DiagnosticGroupWarningsGuard.java
Java
apache-2.0
1,568
//===-- 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...
johnno1962b/swift-corelibs-foundation
CoreFoundation/URL.subproj/CFURLSessionInterface.h
C
apache-2.0
47,599
/* * 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 ...
akopich/spark
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/misc.scala
Scala
apache-2.0
4,467
/* * 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 ...
GJL/flink
flink-end-to-end-tests/flink-streaming-kafka-test-base/src/main/java/org/apache/flink/streaming/kafka/test/base/KafkaExampleUtil.java
Java
apache-2.0
2,183
/* * 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...
googleapis/google-api-java-client-services
clients/google-api-services-content/v2/1.29.2/com/google/api/services/content/model/OrdersSetLineItemMetadataResponse.java
Java
apache-2.0
3,052
/* Uncaught exception * Output: EH_UNCAUGHT_EXCEPTION */ function throwsException() { throw new Error(); } function doSomething() { try { throwsException(); } catch (e) { } } function doSomethingElse() { throwsException(); } doSomething(); doSomethingElse();
qhanam/Pangor
js/test/input/error_handling/eh_methods_old.js
JavaScript
apache-2.0
272
/** * 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...
jiangchaoting/spring
src/main/java/org/mybatis/spring/SqlSessionTemplate.java
Java
apache-2.0
13,876
--- 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...
mxm/incubator-beam
website/src/_posts/2018-08-21-beam-summit-europe.md
Markdown
apache-2.0
2,959
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...
weswigham/TypeScript
tests/cases/compiler/abstractPropertyInConstructor.ts
TypeScript
apache-2.0
1,679
#!/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...
50wu/gpdb
gpMgmt/bin/gpcheckcat_modules/unique_index_violation_check.py
Python
apache-2.0
2,547
-- @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; ...
50wu/gpdb
src/test/regress/sql/uao_compaction/eof_truncate.sql
SQL
apache-2.0
784
/* * 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;...
panchenko/pgjdbc
pgjdbc/src/test/java/org/postgresql/test/jdbc4/jdbc41/SchemaTest.java
Java
bsd-2-clause
7,435
# 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...
ylixir/void-packages
common/environment/setup-subpkg/subpkg.sh
Shell
bsd-2-clause
1,110
/** * 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...
KnisterPeter/jreact
src/test/resources/react-0.11/node_modules/react/lib/ReactBrowserEventEmitter.js
JavaScript
bsd-2-clause
12,568
/* * 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...
dariomanesku/bx
include/bx/float4x4_t.h
C
bsd-2-clause
5,418
############################################################################### # # 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): """ ...
jvrsantacruz/XlsxWriter
xlsxwriter/test/worksheet/test_write_worksheet.py
Python
bsd-2-clause
887
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...
sjackman/homebrew-core
Formula/jellyfish.rb
Ruby
bsd-2-clause
2,051
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...
dozed/scalatra
atmosphere/src/main/scala/org/atmosphere/cpr/broadcaster_configs.scala
Scala
bsd-2-clause
1,673
// ========================================================================== // SeqAn - The Library for Sequence Analysis // ========================================================================== // Copyright (c) 2006-2013, Knut Reinert, FU Berlin // All rights reserved. // // Redistribution and us...
charite/Q
src/seqan/core/include/seqan/find/find_ahocorasick.h
C
bsd-2-clause
11,338
<?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...
scaryml1000/ZendSkeleton
vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/Classes/ValidClassNameSniff.php
PHP
bsd-3-clause
3,154
/**************************************************************************** * 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...
gcds/project_xxx
nuttx/sched/pthread_condwait.c
C
bsd-3-clause
4,507
<?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...
nikn/it-asu.ru
vendor/yiisoft/yii2/helpers/Console.php
PHP
bsd-3-clause
432
/** * 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...
pandiaraj44/react-native
Libraries/Core/setUpNavigator.js
JavaScript
bsd-3-clause
545
/* * 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...
jenswi-linaro/arm-trusted-firmware
plat/arm/board/fvp/fvp_trusted_boot.c
C
bsd-3-clause
1,842
-- 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...
u20024804/fbcunn
fbcunn/TemporalConvolutionFB.lua
Lua
bsd-3-clause
1,799
// 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...
scheib/chromium
components/permissions/permission_request_id.cc
C++
bsd-3-clause
1,886
#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) ...
bestrauc/seqan
demos/tutorial/a_first_example/solution_4.cpp
C++
bsd-3-clause
1,153
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...
justworkshr/stupidedi
lib/stupidedi/versions/functional_groups/003040/segment_defs/MS1.rb
Ruby
bsd-3-clause
1,438
// 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....
robclark/chromium
chrome/browser/extensions/convert_web_app.cc
C++
bsd-3-clause
6,936
<!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...
modulexcite/blink
LayoutTests/fast/dom/htmlcollection-enumerated-properties.html
HTML
bsd-3-clause
1,790
#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...
youtube/cobalt
third_party/skia_next/third_party/skia/docs/examples/Paint_setTextScaleX.cpp
C++
bsd-3-clause
566
// 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...
ric2b/Vivaldi-browser
chromium/chrome/browser/ash/file_system_provider/operations/execute_action.cc
C++
bsd-3-clause
2,321
//======================================================================== // 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',...
endlessm/chromium-browser
third_party/glfw/src/src/osmesa_context.h
C
bsd-3-clause
3,768
<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...
scheib/chromium
content/test/data/accessibility/html/selection-container.html
HTML
bsd-3-clause
382
// 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; ...
ric2b/Vivaldi-browser
chromium/chrome/android/java/src/org/chromium/chrome/browser/browserservices/ui/splashscreen/trustedwebactivity/TwaSplashController.java
Java
bsd-3-clause
8,032
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...
catester/sharpcompress
SharpCompress/LazyReadOnlyCollection.cs
C#
mit
3,931
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...
hunch/hunch-gift-app
django/__init__.py
Python
mit
565
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...
xiaopengs/iBooks
src/com/greenlemonmobile/app/ebook/books/parser/ZipWrapper.java
Java
mit
433
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); } } }
acken/AutoTest.Net
src/AutoTest.TestRunner/Plugins/AutoTest.TestRunners.XUnit.Tests.TestResource/Class2.cs
C#
mit
310
version https://git-lfs.github.com/spec/v1 oid sha256:ff6a5c1204e476c89870c6f14e75db666fa26de9359f9d8c372ef779b55c8875 size 2736
yogeshsaroya/new-cdnjs
ajax/libs/dojo/1.8.9/cldr/nls/cs/buddhist.js.uncompressed.js
JavaScript
mit
129
function example(name, deps) { console.log('This is where fpscounter plugin code would execute in the node process.'); } module.exports = example;
BenjaminTsai/openrov-cockpit
src/plugins/fpscounter/index.js
JavaScript
mit
148
# -*- 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...
zixan/django-crispy-forms
crispy_forms/tests/test_form_helper.py
Python
mit
23,197
<?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...
haeflimi/concrete5
concrete/controllers/element/express/search/search.php
PHP
mit
1,932
// 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...
Nrupesh29/Web-Traffic-Visualizer
vizceral/node_modules/numeral/tests/languages/th.js
JavaScript
mit
3,021
<!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...
Jarob22/sc2_app_fyp_backend
vendor/bundle/ruby/1.9.1/gems/diff-lcs-1.1.3/docs/artistic.html
HTML
mit
12,246
<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="...
mxrrow/zaicoin
src/deps/boost/doc/html/boost_asio/reference/basic_raw_socket/get_implementation/overload2.html
HTML
mit
3,658
// 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/...
mxrrow/zaicoin
src/deps/boost/libs/chrono/test/win32_test.cpp
C++
mit
5,830
/* 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 ...
ThunderCls/xLCB
xLCB/pluginsdk/yara/yara/threading.h
C
mit
2,317