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 |
|---|---|---|---|---|---|
package my;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class MyServlet extends HttpServlet {
public void doGet(HttpServletRequest request, HttpServle... | mhcxp/Karaf-Tutorial | voting/voting-ui2/src/main/java/my/MyServlet.java | Java | apache-2.0 | 568 |
// Copyright 2015 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... | hhclam/bazel | src/main/java/com/google/devtools/build/lib/bazel/rules/workspace/GitRepositoryRule.java | Java | apache-2.0 | 4,589 |
import Component from '@ember/component';
import layout from './template';
import { inject as service } from '@ember/service';
import { get, computed } from '@ember/object';
import C from 'ui/utils/constants';
const headers = [
{
name: 'state',
sort: ['sortState', 'displayName'],
sear... | westlywright/ui | lib/shared/addon/components/custom-catalog/component.js | JavaScript | apache-2.0 | 3,874 |
package test.github1490;
import org.testng.Assert;
import org.testng.annotations.Factory;
import org.testng.annotations.Test;
public class TwoFactoriesShareSameDataProviderSampleTwo {
private final String cookieName;
private final int count;
@TestInfo(name = "nibbler")
@Factory(dataProvider = "cookie-master"... | krmahadevan/testng | testng-core/src/test/java/test/github1490/TwoFactoriesShareSameDataProviderSampleTwo.java | Java | apache-2.0 | 659 |
package provision
import (
"errors"
"github.com/docker/machine/drivers"
"github.com/docker/machine/libmachine/provision/pkgaction"
"github.com/docker/machine/log"
"github.com/docker/machine/state"
"github.com/docker/machine/utils"
)
var (
ErrUnknownDriver = errors.New("unknown driver")
)
func init() {
Regis... | rdgreis/machine | libmachine/provision/boot2docker.go | GO | apache-2.0 | 2,359 |
#!/usr/bin/python
#
# Copyright 2015 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 b... | wubr2000/googleads-python-lib | examples/dfp/v201505/audience_segment_service/get_first_party_audience_segments.py | Python | apache-2.0 | 2,062 |
<?php
/**
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0 (the "License"); yo... | thexerteproject/xerteonlinetoolkits | play_html5.php | PHP | apache-2.0 | 1,217 |
/*
* Copyright 2018-present Open Networking Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | gkatsikas/onos | protocols/netconf/api/src/main/java/org/onosproject/netconf/rpc/ErrorInfoType.java | Java | apache-2.0 | 6,843 |
package mil.nga.giat.geowave.analytic.extract;
import com.vividsolutions.jts.geom.Geometry;
/**
* Strategy to extract a representative dimensions and Geometry for an Object
*
* @param <T>
*/
public interface DimensionExtractor<T>
{
/**
*
* @param anObject
* --
*/
public double[] getDimensio... | mses-bly/geowave | analytics/api/src/main/java/mil/nga/giat/geowave/analytic/extract/DimensionExtractor.java | Java | apache-2.0 | 877 |
package org.apache.thrift.transport;
import org.apache.thrift.TConfiguration;
import java.nio.BufferOverflowException;
import java.nio.BufferUnderflowException;
import java.nio.ByteBuffer;
/**
* ByteBuffer-backed implementation of TTransport.
*/
public final class TByteBuffer extends TEndpointTransport {
private... | dcelasun/thrift | lib/java/src/org/apache/thrift/transport/TByteBuffer.java | Java | apache-2.0 | 2,140 |
export function cloneComplexInteractors(json) {
// We'll need collections of our interactions and interactors for later..
const interactions = json.data.filter(function (interaction) {
return interaction.object === "interaction";
});
const instanceCount = new Map();
// Loop through our in... | colin-combe/ComplexViewer | src/js/clone-complex-interactors.js | JavaScript | apache-2.0 | 4,371 |
/*
* 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... | nextopio/nextop-client | org.apache-jarjar/src/main/java/org/apache/harmony/security/provider/cert/DRLCertFactory.java | Java | apache-2.0 | 2,263 |
/**
* Copyright 2019 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 require... | techhtml/amphtml | build-system/pr-check/dist-tests.js | JavaScript | apache-2.0 | 2,766 |
/**
* Autogenerated by Thrift Compiler (0.14.1)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.apache.hive.service.rpc.thrift;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
@javax.annotation.Generated(value = "Autogenerated by Thrift Co... | lirui-apache/hive | service-rpc/src/gen/thrift/gen-javabean/org/apache/hive/service/rpc/thrift/TPrimitiveTypeEntry.java | Java | apache-2.0 | 16,407 |
# Copyright (c) 2011 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 ... | mmasaki/trove | trove/tests/unittests/guestagent/test_pkg.py | Python | apache-2.0 | 21,209 |
// 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 "net/quic/quic_clock.h"
#include "base/time.h"
namespace net {
QuicClock::QuicClock() {
}
QuicClock::~QuicClock() {}
QuicTime QuicClock:... | plxaye/chromium | src/net/quic/quic_clock.cc | C++ | apache-2.0 | 666 |
## Ansible 2.x Order of Variable Precedence
* role defaults
* inventory INI or script group vars
* inventory group_vars/all
* playbook group_vars/all
* inventory group_vars/*
* playbook group_vars/*
* inventory INI or script host vars
* inventory host_vars/*
* playbook host_vars/*
* host facts
* play vars
* play vars_... | mcgonagle/ansible_SP | docs/PRECEDENCE.md | Markdown | apache-2.0 | 592 |
//
// FLEXKeychainQuery.h
//
// Derived from:
// SSKeychainQuery.h in SSKeychain
// Created by Caleb Davenport on 3/19/13.
// Copyright (c) 2010-2014 Sam Soffes. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <Security/Security.h>
#if __IPHONE_7_0 || __MAC_10_9
// Keychain synchronization avai... | raymondshadow/SwiftDemo | SwiftApp/Pods/FLEX/Classes/GlobalStateExplorers/Keychain/FLEXKeychainQuery.h | C | apache-2.0 | 3,801 |
// Copyright 2012-2015 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MI... | avdi/rust | src/test/run-pass/tcp-stress.rs | Rust | apache-2.0 | 2,667 |
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | karllessard/tensorflow | tensorflow/compiler/xla/service/cpu/ir_emitter.h | C | apache-2.0 | 28,122 |
/*
* Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | wangcy6/storm_app | frame/c++/webrtc-master/modules/audio_processing/beamformer/covariance_matrix_generator.h | C | apache-2.0 | 2,455 |
package org.ovirt.engine.core.common.backendinterfaces;
import org.ovirt.engine.core.common.action.*;
public interface IUserHandler {
VdcReturnValueBase Login(LoginUserParameters parameters);
VdcReturnValueBase Logoff(LogoutUserParameters parameters);
}
| derekhiggins/ovirt-engine | backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/backendinterfaces/IUserHandler.java | Java | apache-2.0 | 265 |
/*-
*
* * Copyright 2015 Skymind,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
* *
* * ... | ambraspace/nd4j | nd4j-buffer/src/main/java/org/nd4j/linalg/api/buffer/FloatBuffer.java | Java | apache-2.0 | 4,585 |
<!DOCTYPE html>
<!--[if IE 9]><html class="ie9"><![endif]-->
<!--[if gt IE 9]><!-->
<html>
<!--<![endif]-->
<head>
<title>Data Tables - PatternFly</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="../dist/img/favicon.ico">
<!-- iPad retina i... | achampong/patternfly | tests/datatables.html | HTML | apache-2.0 | 10,577 |
// bslma_managedptr.h -*-C++-*-
#ifndef INCLUDED_BSLMA_MANAGEDPTR
#define INCLUDED_BSLMA_MANAGEDPTR
#ifndef INCLUDED_BSLS_IDENT
#include <bsls_ident.h>
#endif
BSLS_IDENT("$Id$ $CSID$")
//@PURPOSE: Provide a managed pointer class.
//
//@CLASSES:
// bslma::ManagedPtr:... | mversche/bde | groups/bsl/bslma/bslma_managedptr.h | C | apache-2.0 | 67,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 ... | sijie/bookkeeper | bookkeeper-common/src/test/java/org/apache/bookkeeper/common/collections/RecyclableArrayListTest.java | Java | apache-2.0 | 1,532 |
/*
* Copyright 2017 StreamSets 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... | rockmkd/datacollector | basic-lib/src/test/java/com/streamsets/pipeline/stage/origin/mqtt/TestMqttClientSource.java | Java | apache-2.0 | 2,850 |
<!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_45) on Tue Nov 12 20:31:45 CET 2013 -->
<title>Server</title>
<meta name="date" content="2013-11-12">
<link rel="stylesheet" type="text... | frankdavid/diss | lib/kryo/javadoc/com/esotericsoftware/kryonet/Server.html | HTML | apache-2.0 | 30,550 |
#pragma once
#include <Register/Utility.hpp>
namespace Kvasir {
//Universal serial bus full-speed device interface
namespace UsbEp0r{ ///<endpoint 0 register
using Addr = Register::Address<0x40005c00,0xffff0000,0x00000000,unsigned>;
///Endpoint address
constexpr Register::FieldLocat... | porkybrain/Kvasir | Lib/Chip/Unknown/STMicro/STM32F091x/USB.hpp | C++ | apache-2.0 | 24,466 |
/*
* Copyright 2012 Vaadin Ltd.
*
* 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 w... | peterl1084/framework | uitest/src/main/java/com/vaadin/tests/applicationcontext/CloseUI.java | Java | apache-2.0 | 4,933 |
/*
* fnv1a.c : routines to create checksums derived from FNV-1a
*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional... | YueLinHo/Subversion | subversion/libsvn_subr/fnv1a.c | C | apache-2.0 | 7,083 |
/*
* Copyright (c) Facebook, Inc. and 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 applic... | facebook/buck | src/com/facebook/buck/rules/macros/StringWithMacrosConverter.java | Java | apache-2.0 | 7,028 |
/**
******************************************************************************
* @file stm32l4xx_hal_uart.h
* @author MCD Application Team
* @version V1.6.0
* @date 28-October-2016
* @brief Header file of UART HAL module.
***********************************************************************... | approximator/SimpleSINS | firmware/cube/Drivers/STM32L4xx_HAL_Driver/Inc/stm32l4xx_hal_uart.h | C | apache-2.0 | 72,598 |
using System.Collections.Generic;
using System.IO;
namespace Lucene.Net.Util
{
/*
* 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.
* ... | jpsullivan/lucenenet | src/Lucene.Net.Core/Util/BytesRefIterator.cs | C# | apache-2.0 | 2,570 |
/*
* 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... | chiaming0914/awe-cpp-sdk | aws-cpp-sdk-ssm/include/aws/ssm/model/MaintenanceWindowExecutionStatus.h | C | apache-2.0 | 1,303 |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------------... | jiachenning/libgdx | extensions/gdx-bullet/jni/swig-src/extras/com/badlogic/gdx/physics/bullet/extras/btWorldImporter.java | Java | apache-2.0 | 16,282 |
\set ON_ERROR_STOP true
TRUNCATE failed_events;
UPDATE person_address
SET value = concat('address1-', person_id)
FROM address_part
WHERE part_name = 'level1' AND person_address.address_part_id = address_part.id
AND person_address.value IS NOT NULL;
UPDATE patient_identity
SET identity_data = concat('PRIMARYRELATIVE... | Bhamni/utilities | deprecated/scripts/bahmni-tools/anonymise/deidentify_openelis.sql | SQL | apache-2.0 | 1,069 |
import { EventEmitter, OnInit, TemplateRef, OnChanges, SimpleChanges } from '@angular/core';
import { NgbRatingConfig } from './rating-config';
/**
* Context for the custom star display template
*/
export interface StarTemplateContext {
/**
* Star fill percentage. An integer value between 0 and 100
*/
... | TanHaoran/Report | node_modules/@ng-bootstrap/ng-bootstrap/rating/rating.d.ts | TypeScript | apache-2.0 | 1,854 |
<!DOCTYPE html >
<html>
<head>
<title>Remove - org.widok.BufSet.Delta.Remove</title>
<meta name="description" content="Remove - org.widok.BufSet.Delta.Remove" />
<meta name="keywords" content="Remove org.widok.BufSet.Delta.Remove" />
<meta http-equiv="content-type" conten... | widok/widok.github.io | api/v0.2.1/jvm/org/widok/BufSet$$Delta$$Remove.html | HTML | apache-2.0 | 27,189 |
# ADO.NET
Implementation of the ADO.NET interfaces and common abstract classes present in the `System.Data` namespace of the
.NET Framework: `IDbConnection`, `IDbCommand`, and `IDbDataAdapter`.
It allows users to interact with a Cassandra cluster using a common .NET data access pattern.
ADO.NET design limits how yo... | mintsoft/csharp-driver | doc/features/components/adonet/README.md | Markdown | apache-2.0 | 782 |
/*=========================================================================
* Copyright (c) 2010-2014 Pivotal Software, Inc. All Rights Reserved.
* This product is protected by U.S. and international copyright
* and intellectual property laws. Pivotal products are covered by
* one or more patents listed at http://w... | ameybarve15/incubator-geode | gemfire-core/src/main/java/com/gemstone/gemfire/internal/cache/VersionedStatsDiskRegionEntryHeapUUIDKey.java | Java | apache-2.0 | 11,929 |
# -*- coding: utf-8 -*-
"""
sphinx.environment.managers.indexentries
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index entries manager for sphinx.environment.
:copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
import re
import bisect
import un... | axbaretto/beam | sdks/python/.tox/docs/lib/python2.7/site-packages/sphinx/environment/managers/indexentries.py | Python | apache-2.0 | 7,329 |
using System.Collections.Generic;
using MiscUtil.Collections;
namespace MiscUtil.Text {
/// <summary>
/// Utility class providing a number of singleton instances of
/// Range<char> to indicate the various ranges of unicode characters,
/// as documented at http://msdn.microsoft.com/en-us/library... | klaus-liebler/sensact | configware/MiscUtil/Text/UnicodeRange.cs | C# | apache-2.0 | 19,868 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Function template forward</title>
<link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../index.html" title="The B... | biospi/seamass-windeps | src/boost_1_57_0/doc/html/boost/forward.html | HTML | apache-2.0 | 4,465 |
/*
* 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 ... | lewismc/oodt | crawler/src/main/java/org/apache/oodt/cas/crawl/typedetection/MetExtractorSpec.java | Java | apache-2.0 | 4,116 |
# Copyright 2016 The TensorFlow 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 applica... | neilhan/tensorflow | tensorflow/contrib/losses/python/losses/loss_ops_test.py | Python | apache-2.0 | 48,390 |
/*
* 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 ... | ilantukh/ignite | modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoveryMultiThreadedTest.java | Java | apache-2.0 | 24,012 |
/*@import url(old.css);*/
/********* NEW STYLE *******/
body{font-family:'微软雅黑',sans-serif; }
.link{cursor: pointer;}
div.line{margin:5px 0;}
.panel{margin:0 5%;font-size:120%;}
.page-top{background:#f5f5f5;color:#333;opacity:1;filter:alpha(opacity=100);width:100%;font-size:100%;font-size:100%;border-bottom: solid 1p... | re661b/go2o | static/css/shop/default/style.css | CSS | apache-2.0 | 10,007 |
/*
* 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... | ollie314/kafka | streams/src/test/java/org/apache/kafka/streams/processor/internals/StoreChangelogReaderTest.java | Java | apache-2.0 | 25,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... | arenadata/ambari | ambari-server/src/test/java/org/apache/ambari/server/api/services/RequestBodyTest.java | Java | apache-2.0 | 2,108 |
// Copyright 2017 Istio 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 i... | guptasu/mixer | pkg/adapterManager/env.go | GO | apache-2.0 | 1,837 |
/*
* 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-videointelligence/v1/1.31.0/com/google/api/services/videointelligence/v1/model/GoogleCloudVideointelligenceV1p2beta1WordInfo.java | Java | apache-2.0 | 8,066 |
// GoogleAnalyticsIntegration.h
// Copyright (c) 2014 Segment.io. All rights reserved.
#import <Foundation/Foundation.h>
#import "SEGAnalyticsIntegration.h"
#import "SEGEcommerce.h"
@interface SEGGoogleAnalyticsIntegration : SEGAnalyticsIntegration <SEGEcommerce>
@property(nonatomic, copy) NSString *name;
@property(... | nagyistoce/edx-app-ios | Pods/Analytics/Analytics/Integrations/GoogleAnalytics/SEGGoogleAnalyticsIntegration.h | C | apache-2.0 | 455 |
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... | actmd/selenium | java/client/src/org/openqa/selenium/htmlunit/HtmlUnitWebElement.java | Java | apache-2.0 | 30,105 |
// Openbravo POS is a point of sales application designed for touch screens.
// Copyright (C) 2007-2009 Openbravo, S.L.
// http://www.openbravo.com/product/pos
//
// This file is part of Openbravo POS.
//
// Openbravo POS is free software: you can redistribute it and/or modify
// it under the terms of... | nordpos-mobi/nordpos-dao | src/main/java/com/openbravo/pos/ticket/UserInfo.java | Java | apache-2.0 | 1,342 |
/*
* Copyright (C) 2013 salesforce.com, 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 ... | TribeMedia/aura | aura-components/src/main/components/ui/inputNumberLibrary/number.js | JavaScript | apache-2.0 | 2,047 |
/*
* 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 ... | sankarh/hive | ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/jdbc/JDBCFilterPushDownRule.java | Java | apache-2.0 | 3,226 |
/**
* @fileoverview Mocha test wrapper
* @author Ilya Volodin
*/
"use strict";
/* global describe, it */
/*
* This is a wrapper around mocha to allow for DRY unittests for eslint
* Format:
* RuleTester.run("{ruleName}", {
* valid: [
* "{code}",
* { code: "{code}", options: {options}, g... | Khan/khan-linter | node_modules/eslint/lib/testers/rule-tester.js | JavaScript | apache-2.0 | 21,598 |
/*
* Copyright 1998-2016 Linux.org.ru
* 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... | fat0troll/lorsource | src/main/java/ru/org/linux/spring/AbstractRomeView.java | Java | apache-2.0 | 3,017 |
/*
* Copyright (c) 2014, Cloudera, Inc. All Rights Reserved.
*
* Cloudera, Inc. 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-... | tomwhite/spark-dataflow | src/main/java/com/cloudera/dataflow/spark/aggregators/AggAccumParam.java | Java | apache-2.0 | 1,143 |
package com.bazaarvoice.emodb.web.jersey;
import com.bazaarvoice.emodb.sortedq.core.ReadOnlyQueueException;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.ws.rs.ext.ExceptionMapper;
import javax.ws.rs.ext.Provider;
@Provider
public class ReadOnlyQueueExceptionMapper implements Exce... | billkalter/emodb | web/src/main/java/com/bazaarvoice/emodb/web/jersey/ReadOnlyQueueExceptionMapper.java | Java | apache-2.0 | 828 |
# Context Free Mode
If a tiny change is to be made to an ACI, for example if the name needs to be
changed, it can be cumbersome to call `begin`, `write`, and `end` for the
single change.
To make this use case more streamlined, the `--modify` flag exists. When a
command is invoked with this flag acbuild will create a ... | jonboulle/acbuild | Documentation/context-free-mode.md | Markdown | apache-2.0 | 799 |
# -*- coding: utf-8 -*-
# Generated by Django 1.11.28 on 2021-11-10 19:21
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('osf', '0238_abstractprovider_allow_updates'),
]
operations = [
migrations.... | Johnetordoff/osf.io | osf/migrations/0239_auto_20211110_1921.py | Python | apache-2.0 | 497 |
/* ====================================================================
Copyright (C) 2004-2008 fyiReporting Software, LLC
Copyright (C) 2011 Peter Gill <peter@majorsilence.com>
This file is part of the fyiReporting RDL project.
Licensed under the Apache License, Version 2.0 (the "License");
you may... | majorsilence/My-FyiReporting | RdlEngine/Definition/ChartBar.cs | C# | apache-2.0 | 18,400 |
package vpc
//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... | kubernetes/cloud-provider-alibaba-cloud | vendor/github.com/aliyun/alibaba-cloud-sdk-go/services/vpc/modify_ssl_vpn_server.go | GO | apache-2.0 | 5,703 |
/**
* $Id$
* $URL$
* GenericDaoTest.java - genericdao - May 18, 2008 4:34:33 PM - azeckoski
**************************************************************************
* Copyright (c) 2008 Aaron Zeckoski
* Licensed under the Apache License, Version 2.0
*
* A copy of the Apache License has been included in this ... | prince1a/genericdao | src/test/java/org/sakaiproject/genericdao/hibernate/GenericDaoTest.java | Java | apache-2.0 | 2,016 |
/*
* Copyright 2015 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under t... | sdgdsffdsfff/drools-wb | drools-wb-screens/drools-wb-scorecard-xls-editor/drools-wb-scorecard-xls-editor-api/src/main/java/org/drools/workbench/screens/scorecardxls/type/ScoreCardXLSResourceTypeDefinition.java | Java | apache-2.0 | 1,505 |
<div class="modal-header">
<button class="btn btn-default close" ng-click="s.cancel()"><span aria-hidden="true">×</span></button>
<h3 class="modal-title">Project Content</h3>
</div>
<div class="modal-body">
<section class="panel panel-default no-margin">
<table class="table table-scroll add-vc-table" ng-tab... | logancodes/esm-server | modules/artifacts/client/views/artifact-list-chooser.html | HTML | apache-2.0 | 1,182 |
/*
* 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/oodt | cli/src/main/java/org/apache/oodt/cas/cli/option/store/spring/SpringCmdLineOptionStore.java | Java | apache-2.0 | 2,159 |
/*
* 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 ... | sryza/spark | examples/src/main/java/org/apache/spark/mllib/examples/JavaALS.java | Java | apache-2.0 | 3,124 |
/*
* Copyright (c) 2013 DataTorrent, 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... | DataTorrent/Netlet | src/main/java/com/datatorrent/netlet/EventLoop.java | Java | apache-2.0 | 1,325 |
/*
* Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | SaiNadh001/aws-sdk-for-java | src/main/java/com/amazonaws/services/dynamodb/model/transform/BatchWriteItemRequestMarshaller.java | Java | apache-2.0 | 16,822 |
/*
Copyright 2017 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | koli/koli | vendor/k8s.io/kube-openapi/pkg/util/proto/openapi_test.go | GO | apache-2.0 | 7,361 |
<!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.5.0_19) on Thu Jun 25 16:46:13 EDT 2009 -->
<TITLE>
Document (CouchDB4AJ 0.3.0-SVN API)
</TITLE>
<META NAME="keywords" CONTENT="com.fourspaces.couchdb.D... | mbreese/couchdb4j | javadoc/com/fourspaces/couchdb/Document.html | HTML | apache-2.0 | 56,624 |
/*
* Copyright 2013 University of Chicago and Argonne National Laboratory
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... | swift-lang/swift-t | stc/code/src/exm/stc/common/exceptions/TypeMismatchException.java | Java | apache-2.0 | 1,008 |
<?php
/**
* THE CODE IN THIS FILE WAS GENERATED FROM THE EBAY WSDL USING THE PROJECT:
*
* https://github.com/davidtsadler/ebay-api-sdk-php
*
* Copyright 2014 David T. Sadler
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* ... | emullaraj/ebay-sdk-php | src/DTS/eBaySDK/Trading/Enums/StoreCustomPageStatusCodeType.php | PHP | apache-2.0 | 964 |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.09.30 at 06:15... | Apelon-VA/va-isaac-gui | import-export/src/main/java/org/hl7/knowledgeartifact/r1/GroupSelectionBehavior.java | Java | apache-2.0 | 1,284 |
package com.vaadin.tests.components.grid;
import java.util.List;
import org.junit.Assert;
import org.junit.Test;
import org.openqa.selenium.WebElement;
import com.vaadin.testbench.By;
import com.vaadin.testbench.elements.GridElement;
import com.vaadin.testbench.parallel.TestCategory;
import com.vaadin.tests.tb3.Mult... | peterl1084/framework | uitest/src/test/java/com/vaadin/tests/components/grid/GridEditorMultiselectTest.java | Java | apache-2.0 | 1,848 |
/*
* #%L
* BroadleafCommerce Open Admin Platform
* %%
* Copyright (C) 2009 - 2013 Broadleaf Commerce
* %%
* 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.... | shopizer/BroadleafCommerce | admin/broadleaf-open-admin-platform/src/main/java/org/broadleafcommerce/openadmin/dto/ForeignKey.java | Java | apache-2.0 | 7,605 |
<!doctype html><html lang=en><head><title>Redirecting…</title><link rel=canonical href=/v1.2/about/notes/><meta name=robots content=noindex><meta charset=utf-8><meta http-equiv=refresh content="0; url=/v1.2/about/notes/"></head><body><h1>Redirecting…</h1><a href=/v1.2/about/notes/>Click here if you are no... | istio/istio.io | archive/v1.2/release-notes/index.html | HTML | apache-2.0 | 351 |
export function createObject(keys: string[], values: any[]) {
return keys.reduce((result, key, i) => ((result[key] = values[i]), result), {} as any);
}
| ReactiveX/RxJS | src/internal/util/createObject.ts | TypeScript | apache-2.0 | 154 |
/* line 26, ../../../../../../../.rvm/gems/ruby-1.9.3-p194/gems/bootstrap-sass-2.1.1.0/vendor/assets/stylesheets/bootstrap/_mixins.scss */
.clearfix {
*zoom: 1;
}
/* line 15, ../../../../../../../.rvm/gems/ruby-1.9.3-p194/gems/bootstrap-sass-2.1.1.0/vendor/assets/stylesheets/bootstrap/_mixins.scss */
.clearfix:before... | zendesk/zendesk_api_playground | public/stylesheets/styles.css | CSS | apache-2.0 | 242,295 |
<?php
/*
* Copyright (c) Lightstreamer Srl
*
* 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... | Lightstreamer/Lightstreamer-example-HelloWorld-adapter-php | src/lightstreamer/adapters/remote/DataException.php | PHP | apache-2.0 | 912 |
/**
* Copyright (c) 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 ... | davinwang/caffe2 | caffe2/distributed/file_store_handler.h | C | apache-2.0 | 1,506 |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.xpack.searchablesnapshots.action;
impor... | ern/elasticsearch | x-pack/plugin/searchable-snapshots/src/main/java/org/elasticsearch/xpack/searchablesnapshots/action/TransportMountSearchableSnapshotAction.java | Java | apache-2.0 | 14,381 |
#pragma once
#include <memory>
#include <string>
#include <vector>
namespace YAML {
class Node;
}
namespace Tangram {
class StyleMixer {
public:
using Node = YAML::Node;
// Get the sequence of style names that are designated to be mixed into the
// input style node by its 'base' and 'mix' fields.... | mgarcia01752/weg | lib/tangram-es/core/src/scene/styleMixer.h | C | apache-2.0 | 1,528 |
/*
* Copyright 2016-present Open Networking Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | gkatsikas/onos | cli/src/main/java/org/onosproject/cli/net/DeviceKeyAddCommand.java | Java | apache-2.0 | 3,352 |
<div class="page page-oito">
<!-- <img class="elements" src="img/page-oito/fundo.jpg" alt="fundo"/>
<img class="elements mapa" src="img/page-oito/mapa.png" alt="mapa"/>
<img class="elements mapa" src="img/page-oito/animacao.gif" alt="animacao"/> -->
</div>
| tortoyoyo/tortoyoyo.github.io | curriculo/partials/page-oito.html | HTML | apache-2.0 | 269 |
/* Copyright (C) 2013-2015 Computer Sciences 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | infochimps-forks/ezbake-platform-services | groups/graph/src/main/java/ezbake/groups/graph/TitanGraphConfiguration.java | Java | apache-2.0 | 5,132 |
/*
Copyright 2021 The Knative 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, soft... | knative-sandbox/eventing-kafka-broker | vendor/knative.dev/eventing/test/upgrade/prober/sut/default.go | GO | apache-2.0 | 704 |
/*
* Copyright (c) 2015, Jurriaan Mous and contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE... | armstrongli/etcd4j | src/main/java/mousio/etcd4j/transport/EtcdClientImpl.java | Java | apache-2.0 | 1,294 |
/*
* 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 ... | mashuai/Cassandra-Research | my-test/my/test/cluster/Node2.java | Java | apache-2.0 | 1,268 |
package org.drools.integrationtests.eventgenerator.example;
import org.drools.integrationtests.eventgenerator.Event;
public class ProductionEvent extends Event {
/**
* Special constructor for a production event
* @param parentId The id of the corresponding site, resource, ...
*/
public Product... | pperboires/PocDrools | drools-compiler/src/test/java/org/drools/integrationtests/eventgenerator/example/ProductionEvent.java | Java | apache-2.0 | 823 |
---
title: Release 0.40
short-description: Release notes for 0.40
...
# New features
## Outputs of generators can be used in custom targets in the VS backend
This has been possible with the Ninja backend for a long time but now
the Visual Studio backend works too.
## `compute_int` method in the compiler objects
Th... | mesonbuild/meson | docs/markdown/Release-notes-for-0.40.0.md | Markdown | apache-2.0 | 5,072 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>Uses of Class org.myrobotlab.service.GUIDynamic</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script ty... | lanchun/myrobotlab | javadoc/org/myrobotlab/service/class-use/GUIDynamic.html | HTML | apache-2.0 | 3,942 |
---
layout: post
title: Tracing our path to production
status: public
type: post
published: true
author: Scott Turnquest
---
Ever since the Mingle team started working on its new cloud offering we made a conscious effort to improve our ability to continuously deliver valuable features and enhancements to our producti... | jmnarloch/gocd.github.io | _posts/2014-02-24-tracing-our-path-production.markdown | Markdown | apache-2.0 | 4,310 |
# 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 th... | bigswitch/horizon | openstack_dashboard/dashboards/project/stacks/forms.py | Python | apache-2.0 | 18,998 |
$packageName = 'aida64-extreme'
$installerType = 'EXE'
$silentArgs = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-'
$validExitCodes = @(0) #please insert other valid exit codes here, exit codes for ms http://msdn.microsoft.com/en-us/library/aa368542(VS.85).aspx
try {
$processor = Get-WmiObject Win32_Processor
$is... | dtgm/chocolatey-packages | automatic/_output/aida64-extreme/4.60.3100/tools/chocolateyUninstall.ps1 | PowerShell | apache-2.0 | 857 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Struct template def_del_compatible_cond</title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../../inde... | biospi/seamass-windeps | src/boost_1_57_0/doc/html/boost/move_upd/def_del_compatible_cond.html | HTML | apache-2.0 | 4,518 |
/*
* Copyright 2015 JBoss, by Red Hat, 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 ... | karreiro/uberfire | uberfire-extensions/uberfire-wires/uberfire-wires-core/uberfire-wires-core-client/src/main/java/org/uberfire/ext/wires/core/client/canvas/FocusableLienzoPanel.java | Java | apache-2.0 | 2,325 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.