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 |
|---|---|---|---|---|---|
#include <stdlib.h>
#include <string.h>
#include <vrpn_Connection.h>
#include <vrpn_Mutex.h>
int main (int argc, char ** argv) {
vrpn_Connection * c;
vrpn_Mutex_Server * me;
int portno = vrpn_DEFAULT_LISTEN_PORT_NO;
if (argc > 2) {
portno = atoi(argv[2]);
}
char con_name[512];
sprintf(con_name, ... | ccccjason/my_osvr | vendor/vrpn/server_src/test_mutexServer.C | C++ | apache-2.0 | 479 |
/*
* Copyright 2016 The Closure Compiler Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | google/closure-compiler-npm | packages/google-closure-compiler/test/fixtures/two.js | JavaScript | apache-2.0 | 839 |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Example - example-ng-if-jquery</title>
<link href="animations.css" rel="stylesheet" type="text/css">
<script src="../../components/jquery-3.1.1/jquery.js"></script>
<script src="../../../angular.js"></script>
<script src="../../../ang... | chdyi/Angular.js | BookStore/app/framework/angular-1.6.2/docs/examples/example-ng-if/index-jquery.html | HTML | apache-2.0 | 622 |
/**
* Copyright 2005-2014 Red Hat, Inc.
*
* Red Hat licenses this file to you under the Apache License, version
* 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | hekonsek/fabric8 | sandbox/fabric/fabric-commands/src/main/java/io/fabric8/commands/ProfileListAction.java | Java | apache-2.0 | 3,254 |
/*
* 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 ... | rjpower/spark | core/src/main/scala/spark/executor/Executor.scala | Scala | apache-2.0 | 10,042 |
<ag-grid-angular
id="transaction-table"
class="ag-theme-balham"
style="width:100% ;height:100%"
[gridOptions]="gridOptions"
[rowData]="rowData"
(gridReady)="onGridReady($event)"
(gridSizeChanged)="onGridSizeChanged($event)"
(firstDataRendered)="onRendered()">
</ag-grid-angular>
| suraj-raturi/pinpoint | web/src/main/angular/src/app/core/components/transaction-table-grid/transaction-table-grid.component.html | HTML | apache-2.0 | 311 |
/*
* Copyright (C) 2014 The Android Open Source Project
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Publi... | mirego/j2objc | jre_emul/android/platform/libcore/ojluni/src/main/java/java/util/jar/JarVerifier.java | Java | apache-2.0 | 31,476 |
/** @file
*
* Copyright (c) 2012-2014, ARM Limited. All rights reserved.
*
* This program and the accompanying materials
* are licensed and made available under the terms and conditions of the BSD License
* which accompanies this distribution. The full text of the license may be found at
* http://opensourc... | google/google-ctf | third_party/edk2/EmbeddedPkg/Drivers/Lan9118Dxe/Lan9118DxeUtil.c | C | apache-2.0 | 28,050 |
/*
* Copyright 2016 ThoughtWorks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | aj-jaswanth/gocd | common/test/unit/com/thoughtworks/go/config/materials/git/GitMaterialShallowCloneTest.java | Java | apache-2.0 | 9,551 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache license, Version 2.0
* (the "License"); you may n... | codescale/logging-log4j2 | log4j-core/src/test/java/org/apache/logging/log4j/core/layout/CsvLogEventLayoutTest.java | Java | apache-2.0 | 6,292 |
# BEGIN_COPYRIGHT
#
# Copyright 2009-2015 CRS4.
#
# 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... | ilveroluca/pydoop | test/common/test_pydoop.py | Python | apache-2.0 | 2,152 |
/*
* Licensed to Apereo under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Apereo licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in ... | apereo/dotnet-cas-client | DotNetCasClient/Validation/Schema/SoapEnvelope/Detail.cs | C# | apache-2.0 | 1,525 |
package org.apache.taverna.scufl2.api.common;
/*
* 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 Apach... | binfalse/incubator-taverna-language | taverna-scufl2-api/src/main/java/org/apache/taverna/scufl2/api/common/WorkflowBean.java | Java | apache-2.0 | 1,995 |
<!--
* Copyright (c) 2016 IBM Corp.
*
* 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... | WASdev/tool.accelerate.core | liberty-starter-application/src/main/webapp/plugin.html | HTML | apache-2.0 | 7,701 |
/**
* 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... | tgroh/incubator-beam | sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/impl/rule/BeamProjectRule.java | Java | apache-2.0 | 2,003 |
package org.ovirt.engine.ui.genericapi.returnvalues;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.ovirt.engine.core.common.queries.ValueObject;
@XmlAccessorType(XmlAc... | raksha-rao/gluster-ovirt | frontend/api/genericapi/src/main/java/org/ovirt/engine/ui/genericapi/returnvalues/UIQueryReturnValue.java | Java | apache-2.0 | 994 |
/**
* 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... | intel-hadoop/hbase-rhino | hbase-server/src/test/java/org/apache/hadoop/hbase/master/snapshot/TestSnapshotFileCache.java | Java | apache-2.0 | 9,592 |
module.exports = function(grunt) {
require('load-grunt-tasks')(grunt);
grunt.initConfig({
clean: ['dist'],
ts: {
default : {
options: {
compiler: './node_modules/typescript/bin/tsc',
module: "commonjs",
fast... | aayushkapoor206/whatshot | node_modules/awesome-typescript-loader/Gruntfile.js | JavaScript | apache-2.0 | 2,195 |
package com.michelboudreau.test;
import com.amazonaws.services.dynamodb.datamodeling.DynamoDBMapper;
import com.amazonaws.services.dynamodb.datamodeling.DynamoDBMapperConfig;
import com.amazonaws.services.dynamodb.datamodeling.DynamoDBQueryExpression;
import com.amazonaws.services.dynamodb.model.AttributeValue;
import... | jentfoo/Alternator | src/test/java/com/michelboudreau/test/AlternatorMapperTest.java | Java | apache-2.0 | 17,315 |
/*
Copyright 2011 Michael Edwards
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 ... | Glass-lu/Glass.Sitecore.Mapper | Source/Glass.Sitecore.Mapper/Configuration/SitecoreFieldSettings.cs | C# | apache-2.0 | 1,636 |
/*
* Copyright (c) 2010-2015 Pivotal Software, Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. You
* may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless req... | SnappyDataInc/snappy-store | tests/core/src/main/java/cacheperf/comparisons/replicated/execute/ExecutePrms.java | Java | apache-2.0 | 1,840 |
package org.semanticweb.elk.reasoner.indexing.model;
/*
* #%L
* ELK Reasoner
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2011 - 2015 Department of Computer Science, University of Oxford
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with t... | liveontologies/elk-reasoner | elk-reasoner/src/main/java/org/semanticweb/elk/reasoner/indexing/model/CachedIndexedObjectHasSelf.java | Java | apache-2.0 | 2,089 |
/*
Copyright 2011-2016 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed t... | AmesianX/binnavi | src/main/java/com/google/security/zynamics/binnavi/debug/debugger/DebuggerHelpers.java | Java | apache-2.0 | 2,080 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_80) on Wed Oct 12 20:49:58 CEST 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.a... | wangchuande/apache-flume-1.7.0 | docs/apidocs/org/apache/flume/sink/elasticsearch/client/class-use/RoundRobinList.html | HTML | apache-2.0 | 4,713 |
//*****************************************************************************
//*
//* (c) Copyright 2002. Glub Tech, Incorporated. All Rights Reserved.
//*
//* $Id: HostInfo.java 37 2009-05-11 22:46:15Z gary $
//*
//*****************************************************************************
package com.glub.secur... | glubtech/secureftp | src/com/glub/secureftp/bean/HostInfo.java | Java | apache-2.0 | 2,421 |
puremvc.define({
name: 'game.controller.StartupCommand',
parent: puremvc.MacroCommand
},
// INSTANCE MEMBERS
{
/**
* Add the sub-commands for this MacroCommand
* @override
*/
initializeMacroCommand: function () {
this.addSubCommand( g... | Cenfee/nucleon-cocos | client/Nucleon/src/game/controller/StartupCommand.js | JavaScript | apache-2.0 | 527 |
<html>
<body>
<h2>Log Viewers.</h2>
</body>
</html> | joobn72/qi4j-sdk | libraries/logging/src/main/java/org/qi4j/logging/view/package.html | HTML | apache-2.0 | 67 |
/*
* 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... | martinstuga/elasticsearch | core/src/test/java/org/elasticsearch/indices/recovery/IndexRecoveryIT.java | Java | apache-2.0 | 33,122 |
/*
* MPEG2 transport stream (aka DVB) muxer
* Copyright (c) 2003 Fabrice Bellard
*
* This file is part of FFmpeg.
*
* FFmpeg 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... | jasonchuang/SoftwareAudioPlayer | jni/ffmpeg-2.2/libavformat/mpegtsenc.c | C | apache-2.0 | 48,096 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/codestar-notifications/model/DescribeNotificationRuleRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::CodeStarNotifications::Model;
us... | awslabs/aws-sdk-cpp | aws-cpp-sdk-codestar-notifications/source/model/DescribeNotificationRuleRequest.cpp | C++ | apache-2.0 | 695 |
package settings_test
import (
"encoding/json"
"errors"
. "github.com/cloudfoundry/bosh-agent/internal/github.com/onsi/ginkgo"
. "github.com/cloudfoundry/bosh-agent/internal/github.com/onsi/gomega"
"github.com/cloudfoundry/bosh-agent/infrastructure/fakes"
boshlog "github.com/cloudfoundry/bosh-agent/internal/gi... | alex8023/bosh-agent | settings/service_test.go | GO | apache-2.0 | 8,409 |
/*
* 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... | freeVM/freeVM | enhanced/java/classlib/modules/swing/src/main/java/common/javax/swing/text/Document.java | Java | apache-2.0 | 2,049 |
/*
* Copyright (C) 2008 The Android Open Source Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* * Redistributions of source code must retain the above copyright
* notice, t... | webos21/xbionic | platform_bionic-android-vts-12.0_r2/libc/system_properties/prop_area.cpp | C++ | apache-2.0 | 12,084 |
/// 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
/// ... | hnafar/IronJS | Src/Tests/ietestcenter/chapter15/15.2/15.2.3/15.2.3.3/15.2.3.3-2-28.js | JavaScript | apache-2.0 | 2,085 |
/*
* 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 ... | rezasafi/spark | core/src/test/scala/org/apache/spark/LocalSparkContext.scala | Scala | apache-2.0 | 2,057 |
<!DOCTYPE html>
<html itemscope lang="en-us">
<head><meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta charset="utf-8">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta name="g... | gomex/devopsdays-web | static/events/2017-warsaw/welcome/index.html | HTML | apache-2.0 | 16,576 |
// 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.
// Software adjust volume of samples, allows each audio stream its own
// volume without impacting master volume for chrome and other applications.
/... | plxaye/chromium | src/media/audio/audio_util.cc | C++ | apache-2.0 | 3,748 |
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.jetbrains.jsonSchema.extension;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.openapi.vfs.VfsUtil... | goodwinnk/intellij-community | json/src/com/jetbrains/jsonSchema/extension/JsonSchemaInfo.java | Java | apache-2.0 | 4,405 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/machinelearning/MachineLearning_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/machinelearning/mo... | awslabs/aws-sdk-cpp | aws-cpp-sdk-machinelearning/include/aws/machinelearning/model/DescribeBatchPredictionsResult.h | C | apache-2.0 | 4,693 |
/*
* Copyright 2014 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | gradle/gradle | subprojects/internal-performance-testing/src/main/groovy/org/gradle/performance/results/CrossBuildResultsStore.java | Java | apache-2.0 | 846 |
#!/usr/bin/env bash
set -e
echo "" > coverage.txt
for d in $(go list ./... | grep -v vendor); do
#TODO - Include -race while creating the coverage profile.
go test -coverprofile=profile.out -covermode=atomic $d
if [ -f profile.out ]; then
cat profile.out >> coverage.txt
rm profile.out
... | openebs/mayaserver | buildscripts/test-cov.sh | Shell | apache-2.0 | 329 |
/* Copyright 2004 The Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... | apache/xmlbeans | samples/SubstitutionGroup/src/org/apache/xmlbeans/samples/substitutiongroup/SubstitutionGroup.java | Java | apache-2.0 | 9,175 |
/* Copyright JS Foundation and other contributors, http://js.foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | dbatyai/jerryscript | jerry-ext/debugger/debugger-sha1.c | C | apache-2.0 | 12,977 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="zh">
<head>
<!-- Generated by javadoc (1.8.0_31) on Mon Feb 02 16:43:55 CST 2015 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>类 org.jb2011.lnf.beaut... | Cochitect/beautyeye | doc/api_doc/org/jb2011/lnf/beautyeye/ch_x/class-use/__IconFactory__.html | HTML | apache-2.0 | 7,016 |
/*******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2012 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the ... | lihongqiang/kettle-4.4.0-stable | src-core/org/pentaho/di/core/row/SpeedTest.java | Java | apache-2.0 | 7,980 |
/*
* 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
*
* Unless required by applicable law or agree... | bither/bitherj | bitherj/src/main/java/net/bither/bitherj/api/GetCookieApi.java | Java | apache-2.0 | 1,805 |
package dotty.tools.benchmarks.tuples
import org.openjdk.jmh.annotations._
@State(Scope.Thread)
class Tail {
@Param(Array("1"))
var size: Int = _
var tuple: NonEmptyTuple = _
var array: Array[Object] = _
@Setup
def setup(): Unit = {
tuple = "elem" *: Tuple()
for (i <- 1 until size)
tuple =... | dotty-staging/dotty | bench-run/src/main/scala/dotty/tools/benchmarks/tuples/Tail.scala | Scala | apache-2.0 | 529 |
/*
* 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 ... | hongyuhong/flink | flink-tests/src/test/java/org/apache/flink/test/state/operator/restore/keyed/KeyedJob.java | Java | apache-2.0 | 8,230 |
---
layout: section
title: "Distinct"
permalink: /documentation/transforms/java/aggregation/distinct/
section_menu: section-menu/documentation.html
---
<!--
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 Licen... | RyanSkraba/beam | website/src/documentation/transforms/java/aggregation/distinct.md | Markdown | apache-2.0 | 1,690 |
/*
* Copyright (C) 2010 Andrey Yeremenok (eav1986__at__gmail__com)
*
* 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 requ... | 0359xiaodong/swing-formbuilder | src/formbuilder-parent/formbuilder-main/src/main/java/org/formbuilder/util/CGLibUtil.java | Java | apache-2.0 | 1,795 |
+++
Title = "Jude Pereira"
Linkedin = "https://www.linkedin.com/in/judebpereira/"
Website = "https://asyncy.com/"
Twitter = "judebpereira"
image = "jude-pereira.jpg"
type = "speaker"
linktitle = "jude-pereira"
+++
I have been developing and building web scale apps for the most of my life, from writing SDKs for Android ... | gomex/devopsdays-web | content/events/2019-amsterdam/speakers/jude-pereira.md | Markdown | apache-2.0 | 658 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/chime/model/UpdateUserSettingsRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Chime::Model;
using namespace Aws::Utils::Json;
using n... | awslabs/aws-sdk-cpp | aws-cpp-sdk-chime/source/model/UpdateUserSettingsRequest.cpp | C++ | apache-2.0 | 749 |
<?
// Copyright 2013 Tera Insights, LLC. All Rights Reserved.
//
// Author: Christopher Dudley
function InverseGaussianGen( array $t_args ) {
grokit_assert(array_key_exists('output', $t_args), 'No output type specified for inverse gaussian generator.');
grokit_assert(array_key_exists('ns', $t_args), 'No namesp... | nishantmehta/mainGrokit | Libs/datagen/GIs/ClusterGen.h.php | PHP | apache-2.0 | 17,421 |
import ssl
from pyOpenSSL import SSL
ssl.wrap_socket(ssl_version=ssl.PROTOCOL_SSLv2)
SSL.Context(method=SSL.SSLv2_METHOD)
SSL.Context(method=SSL.SSLv23_METHOD)
herp_derp(ssl_version=ssl.PROTOCOL_SSLv2)
herp_derp(method=SSL.SSLv2_METHOD)
herp_derp(method=SSL.SSLv23_METHOD)
# strict tests
ssl.wrap_socket(ssl_version=s... | chair6/bandit | examples/ssl-insecure-version.py | Python | apache-2.0 | 892 |
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | camunda/camunda-bpm-platform | qa/integration-tests-engine/src/test/java/org/camunda/bpm/integrationtest/jobexecutor/ManagedJobExecutorTest.java | Java | apache-2.0 | 5,690 |
/*------------------------------------------------------------------------------
*
* cdbappendonlyblockdirectory.h
*
* Copyright (c) 2009, Greenplum Inc.
*
*------------------------------------------------------------------------------
*/
#ifndef CDBAPPENDONLYBLOCKDIRECTORY_H
#define CDBAPPENDONLYBLOCKDIRECTORY_... | rvs/gpdb | src/include/cdb/cdbappendonlyblockdirectory.h | C | apache-2.0 | 5,366 |
/*
Open Asset Import Library (assimp)
----------------------------------------------------------------------
Copyright (c) 2006-2016, assimp team
All rights reserved.
Redistribution and use of this software in source and binary forms,
with or without modification, are permitted provided that the
following conditions ... | EmilNorden/candle | lib/assimp-3.2/code/ASELoader.h | C | apache-2.0 | 6,553 |
/*
* 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 ... | ankitsinghal/phoenix | phoenix-pherf/src/it/java/org/apache/phoenix/pherf/workload/mt/TenantViewOperationWorkloadIT.java | Java | apache-2.0 | 7,326 |
/*
* JBoss, Home of Professional Open Source
* Copyright 2010 Red Hat Inc. and/or its affiliates and other contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may n... | andreiserea/arquillian-core | test/spi/src/main/java/org/jboss/arquillian/test/spi/context/ClassContext.java | Java | apache-2.0 | 1,083 |
<!---
Copyright 2015 The AMP HTML Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law o... | ColombiaAnalytics/amphtml | extensions/amp-lightbox/amp-lightbox.md | Markdown | apache-2.0 | 3,814 |
using System;
using System.IO;
using System.Reflection;
using Chutzpah.Callbacks;
using Chutzpah.Models;
using Chutzpah.RunnerCallbacks;
using System.Linq;
using Chutzpah.Transformers;
using Chutzpah.Wrappers;
namespace Chutzpah
{
class Program
{
[STAThread]
public static int Ma... | johnm25/chutzpah | ConsoleRunner/Program.cs | C# | apache-2.0 | 9,487 |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Immutable;
using System.Diagnostics;
using Microsoft.CodeAnalysis.CSharp.Symbols;
using Microsoft.CodeAnalysis.PooledO... | balazssimon/meta-cs | src/Main/MetaDslx.CodeAnalysis.CSharp/Lowering/LocalRewriter/LoweredDynamicOperationFactory.cs | C# | apache-2.0 | 39,696 |
/*
* Copyright 2017 RedRoma, 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 ... | RedRoma/aroma-application-service | src/test/java/tech/aroma/application/service/reactions/actions/IgnoreInboxTest.java | Java | apache-2.0 | 2,079 |
/***********************************************************************\
|* *|
|* Copyright (c) 1995-2008 by NVIDIA Corp. All rights reserved. *|
|* *|
|* This mate... | ismagarcia/cohash | tmp/cohash-read-only/include/NVEncoderAPI.h | C | apache-2.0 | 2,870 |
## Privacy ##
This extension does not collect, store or transmit any data. | knom/vsts-office-tasks | PRIVACY.md | Markdown | apache-2.0 | 75 |
/*
* 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
* "Licen... | ankitsinghal/phoenix | phoenix-pherf/src/main/java/org/apache/phoenix/pherf/configuration/Query.java | Java | apache-2.0 | 5,103 |
import { Rectangle } from "../../Source/Cesium.js";
import { computeFlyToLocationForRectangle } from "../../Source/Cesium.js";
import { Globe } from "../../Source/Cesium.js";
import { SceneMode } from "../../Source/Cesium.js";
import createScene from "../createScene.js";
import { when } from "../../Source/Cesium.js";
i... | progsung/cesium | Specs/Scene/computeFlyToLocationForRectangleSpec.js | JavaScript | apache-2.0 | 5,648 |
<div ng-controller="kubernetesRunJobExecutionDetailsCtrl">
<execution-details-section-nav sections="configSections"></execution-details-section-nav>
<div class="step-section-details" ng-if="detailsSection === 'runJobConfig'">
<div class="row">
<div class="col-md-9">
<dl class="dl-narrow dl-horizon... | sgarlick987/deck | app/scripts/modules/kubernetes/src/v1/pipeline/stages/runJob/runJobExecutionDetails.html | HTML | apache-2.0 | 2,292 |
/*
* Copyright (c) 2010-2015 Pivotal Software, Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. You
* may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless req... | gemxd/gemfirexd-oss | tests/core/src/main/java/hydra/NumVector.java | Java | apache-2.0 | 9,494 |
/**
* OLAT - Online Learning and Training<br>
* http://www.olat.org
* <p>
* Licensed under the Apache License, Version 2.0 (the "License"); <br>
* you may not use this file except in compliance with the License.<br>
* You may obtain a copy of the License at
* <p>
* http://www.apache.org/licenses/LICENSE-2.0
* ... | RLDevOps/Demo | src/main/java/org/olat/course/nodes/info/InfoPeekViewController.java | Java | apache-2.0 | 6,892 |
package org.csanchez.jenkins.plugins.kubernetes;
import hudson.Extension;
import hudson.model.AbstractDescribableImpl;
import hudson.model.Descriptor;
import org.jenkinsci.Symbol;
import io.fabric8.kubernetes.api.model.ContainerPort;
import java.io.Serializable;
import org.kohsuke.stapler.DataBoundConstructor;
impor... | azweb76/kubernetes-plugin | src/main/java/org/csanchez/jenkins/plugins/kubernetes/PortMapping.java | Java | apache-2.0 | 3,224 |
// Copyright 2013 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/profiler/allocation-tracker.h"
#include "src/frames-inl.h"
#include "src/global-handles.h"
#include "src/objects-inl.h"
#include "src/pro... | weolar/miniblink49 | v8_6_7/src/profiler/allocation-tracker.cc | C++ | apache-2.0 | 9,354 |
package config
import (
. "gopkg.in/check.v1"
"gopkg.in/src-d/go-git.v4/plumbing"
)
type BranchSuite struct{}
var _ = Suite(&BranchSuite{})
func (b *BranchSuite) TestValidateName(c *C) {
goodBranch := Branch{
Name: "master",
Remote: "some_remote",
Merge: "refs/heads/master",
}
badBranch := Branch{
R... | Miciah/origin | vendor/gopkg.in/src-d/go-git.v4/config/branch_test.go | GO | apache-2.0 | 1,899 |
//
// Copyright 2012 Alin Dobra and Christopher Jermaine
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required b... | RayZ-O/grokit | src/DiskIO/headers/FileScanner.h | C | apache-2.0 | 1,648 |
define(function(require, exports, module) {
var Notify = require('common/bootstrap-notify');
require("jquery.bootstrap-datetimepicker");
var validator = require('bootstrap.validator');
exports.run = function() {
var now = new Date();
$("#startDate").datetimepicker({
autoclos... | 18826252059/im | web/bundles/topxiaadmin/js/controller/course/live-lesson-search.js | JavaScript | apache-2.0 | 1,840 |
/*
Copyright 2016 Mozilla
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
u... | jsantell/tofino | app/ui/content/sagas/index.js | JavaScript | apache-2.0 | 1,632 |
# Copyright (c) 2003-2013 CORE Security Technologies
#
# This software is provided under under a slightly modified version
# of the Apache Software License. See the accompanying LICENSE file
# for more information.
#
# $Id$
#
# Description:
# EAP packets
#
# Author:
# Aureliano Calvo
from impacket.helper import Pro... | hecchi777/S3-SlaacSecuritySolution | impacket-0.9.11/impacket/eap.py | Python | apache-2.0 | 1,437 |
package io.anyway.sherlock.datasource.support.strategy;
import javax.sql.DataSource;
import io.anyway.sherlock.datasource.PartitionDataSource;
import io.anyway.sherlock.datasource.support.WeightDataSourceProxy;
public class WeightStrategyWithMasterSupport extends WeightStrategySupport {
@Override
public DataSour... | balanacebeam/PDDL | sherlock-core/src/main/java/io/anyway/sherlock/datasource/support/strategy/WeightStrategyWithMasterSupport.java | Java | apache-2.0 | 545 |
#
# 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... | Shini31/centreon-plugins | network/dlink/dgs3100/snmp/mode/components/psu.pm | Perl | apache-2.0 | 3,112 |
/*
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) 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
*
* ... | wso2/carbon-maven-plugins | carbon-feature-plugin/src/main/java/org/wso2/maven/p2/exceptions/CarbonArtifactNotFoundException.java | Java | apache-2.0 | 1,081 |
/**
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.
**/
require("./trace_code_entry.js");
'use strict';
global.tr.exportTo('tr.e.importer', function() {
// This code is a tracification of:
// devtools/fron... | zhaoz/lighthouse | lighthouse-core/third_party/traceviewer-js/extras/importer/trace_code_map.js | JavaScript | apache-2.0 | 3,784 |
#!/bin/bash
#
# Copyright (c) 2013-%%copyright.year%% Commonwealth Computer Research, Inc.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0 which
# accompanies this distribution and is available at
# http://www.opensource.org/lic... | aheyne/geomesa | geomesa-hbase/geomesa-hbase-tools/bin/install-hadoop.sh | Shell | apache-2.0 | 4,001 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/sagemaker/model/DeleteModelRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::SageMaker::Model;
using namespace Aws::Utils::Json;
using ... | awslabs/aws-sdk-cpp | aws-cpp-sdk-sagemaker/source/model/DeleteModelRequest.cpp | C++ | apache-2.0 | 884 |
package org.apache.maven.model.transform;
/*
* 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 Li... | apache/maven | maven-model-transform/src/test/java/org/apache/maven/model/transform/ParentXMLFilterTest.java | Java | apache-2.0 | 9,688 |
/**
*
* Copyright 2003-2007 Jive Software.
*
* 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 o... | Soo000/SooChat | src/org/jivesoftware/smackx/workgroup/agent/OfferConfirmation.java | Java | apache-2.0 | 3,847 |
/*
Copyright 2015 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | dchen1107/kubernetes-1 | pkg/proxy/apis/kubeproxyconfig/types.go | GO | apache-2.0 | 10,875 |
#region License
//
// Copyright (c) 2018, Fluent Migrator Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required ... | fluentmigrator/fluentmigrator | src/FluentMigrator.Runner.SqlServer/Processors/SqlServer/SqlServer2000Processor.cs | C# | apache-2.0 | 10,264 |
/**
* for(var p in Script.scripts) {
*
* var script = Script.scripts[p];
* var handle = script.handle;
* var base = script.base;
* var limit = base + script.extent;
*
* print(script+"\n");
*
* for(var i = base; i < limit; i++) {
* var pc = jsd.GetClosestPC(handle,i)
* var has... | racker/omnibus | source/js/jsd/jsdb/f.js | JavaScript | apache-2.0 | 1,043 |
/*
* Copyright 2017 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | etirelli/jbpm | jbpm-container-test/jbpm-in-container-test/jbpm-container-test-suite/src/main/java/org/jbpm/test/container/listeners/TrackingProcessEventListener.java | Java | apache-2.0 | 4,273 |
// 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... | GabrielBrascher/cloudstack | framework/db/src/main/java/com/cloud/utils/db/DriverLoader.java | Java | apache-2.0 | 2,605 |
/*
* Copyright 2000-2017 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... | asedunov/intellij-community | java/java-analysis-impl/src/com/intellij/codeInspection/dataFlow/HardcodedContracts.java | Java | apache-2.0 | 16,581 |
/*
Copyright 2008-2013 ITACA-TSB, http://www.tsb.upv.es/
Instituto Tecnologico de Aplicaciones de Comunicacion
Avanzadas - Grupo Tecnologias para la Salud y el
Bienestar (TSB)
See the NOTICE file distributed with this work for additional
information regarding copyright ownership
Licensed unde... | cdjackson/zigbee4java | zigbee-dongle-cc2531/src/main/java/org/bubblecloud/zigbee/network/packet/simple/ZB_ALLOW_BIND.java | Java | apache-2.0 | 2,297 |
/*
* Copyright 2010-2017 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 "license" fil... | JoyIfBam5/aws-sdk-cpp | aws-cpp-sdk-codepipeline/source/model/StageTransitionType.cpp | C++ | apache-2.0 | 2,503 |
package org.apache.archiva.configuration.model.functors;
/*
* 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 unde... | apache/archiva | archiva-modules/archiva-base/archiva-configuration/archiva-configuration-model/src/main/java/org/apache/archiva/configuration/model/functors/ProxyConnectorSelectionPredicate.java | Java | apache-2.0 | 1,916 |
/*************************GO-LICENSE-START*********************************
* Copyright 2014 ThoughtWorks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache... | varshavaradarajan/gocd | server/src/main/java/com/thoughtworks/go/server/materials/postcommit/svn/SvnPostCommitHookImplementer.java | Java | apache-2.0 | 2,811 |
/*
* Copyright 2003-2008 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | Selventa/model-builder | tools/groovy/src/src/test/org/codehaus/groovy/transform/NonPublicInterface.java | Java | apache-2.0 | 828 |
/*
* Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* -Redistribution of source code must retain the above copyright notice, this
* ... | WhiteBearSolutions/WBSAirback | packages/wbsairback-java/wbsairback-java-7.0.1/usr/share/wbsairback/java/sample/jnlp/servlet/src/classes/jnlp/sample/servlet/JarDiffHandler.java | Java | apache-2.0 | 14,422 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0) on Mon Jan 13 19:53:35 EST 2014 -->
<title>BasisSplineRegressionEngine</title>
<meta name="date" content="2014-01-13">
<link re... | tectronics/splinelibrary | 2.3/docs/Javadoc/org/drip/regression/spline/BasisSplineRegressionEngine.html | HTML | apache-2.0 | 11,290 |
# Copyright (c) 2013 OpenStack Foundation.
# 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... | projectcalico/calico-neutron | neutron/db/l3_agentschedulers_db.py | Python | apache-2.0 | 22,584 |
using System;
using System.Data;
using System.Data.SqlClient;
using System.Text;
using NServiceBus;
class Program
{
static void Main()
{
#region EndpointConfiguration
BusConfiguration busConfiguration = new BusConfiguration();
busConfiguration.UseTransport<SqlServerTransport>()
... | pedroreys/docs.particular.net | samples/sqltransport/native-integration/Version_2/Receiver/Program.cs | C# | apache-2.0 | 2,460 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.