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 |
|---|---|---|---|---|---|
<!-- get the typekit for fonts -->
<script src="https://use.typekit.net/dyl2urd.js"></script>
<script>try{Typekit.load({ async: true });}catch(e){}</script>
| uvalib/staff-directory | bower_components/uvalib-helper-libs/typekit-dev.html | HTML | apache-2.0 | 157 |
package io.anyway.sherlock.spring;
public interface Constants {
final public static String DATA_SOURCE_PARTITIONS= "data-source-partitions";
final public static String DATA_SOURCE_PARTITION= "data-source-partition";
final public static String MASTER_DATA_SOURCE= "master-data-source";
final public static Strin... | balanacebeam/PDDL | sherlock-core/src/main/java/io/anyway/sherlock/spring/Constants.java | Java | apache-2.0 | 1,535 |
/*
* Copyright 2009 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/files/src/test/groovy/org/gradle/api/internal/file/pattern/PatternMatcherFactoryTest.java | Java | apache-2.0 | 20,189 |
/**
* State of the request.
*
* @enum {Number}
*/
var RequestState = {
/**
* Initial unissued state.
*
* @type Number
* @constant
*/
UNISSUED: 0,
/**
* Issued but not yet active. Will become active when open slots are available.
*
* @type Number
* @constant
*/
ISSUED: 1,
/*... | progsung/cesium | Source/Core/RequestState.js | JavaScript | apache-2.0 | 809 |
/*
* Copyright 2015 NAVER 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 a... | emeroad/pinpoint | plugins/thrift/src/main/java/com/navercorp/pinpoint/plugin/thrift/descriptor/ThriftServerEntryMethodDescriptor.java | Java | apache-2.0 | 2,045 |
#### Analyzer package
Example: Microsoft.CodeQuality.Analyzers
#### Analyzer
Example: IdentifiersShouldNotMatchKeywords
#### Repro steps
1. One
1. Two
1. Three
#### Expected behavior
#### Actual behavior
| heejaechang/roslyn-analyzers | .github/ISSUE_TEMPLATE.md | Markdown | apache-2.0 | 211 |
<!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 (1.8.0_45) on Fri Aug 28 09:51:32 EDT 2015 -->
<title>Uses of Class org.apache.cassandra.cql3.CQL3Type.Raw (apache-cassandra API)</title>
<meta name="... | mitch-kyle/message-board | support/apache-cassandra-2.2.1/javadoc/org/apache/cassandra/cql3/class-use/CQL3Type.Raw.html | HTML | apache-2.0 | 33,725 |
"""Copyright 2020 Google LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | lowRISC/ibex | vendor/google_riscv-dv/pygen/experimental/riscv_instr_base.py | Python | apache-2.0 | 20,190 |
// 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 may... | SeleniumHQ/selenium | cpp/iedriver/DocumentHost.h | C | apache-2.0 | 5,087 |
#!/bin/bash
sudo apt-get update
sudo apt-get install -y default-jre python-pip
sudo pip install flask==0.9 MarkupSafe==0.19 flask-restful==0.2.1
| icanberk/Glassistant | gabriel/control/install.sh | Shell | apache-2.0 | 146 |
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 15.4.4.19-8-9
description: >
Array.prototype.map - modifications to length don't change number
of iterations on an Array
---*/
var called = 0;
fun... | m0ppers/arangodb | 3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/Array/prototype/map/15.4.4.19-8-9.js | JavaScript | apache-2.0 | 863 |
package gov.hhs.onc.sdcct.data.parameter;
import gov.hhs.onc.sdcct.beans.IdentifiedBean;
public enum ResourceParamType implements IdentifiedBean {
COMPOSITE(ResourceParamTypeNames.COMPOSITE), DATE(ResourceParamTypeNames.DATE), NUMBER(ResourceParamTypeNames.NUMBER),
QUANTITY(ResourceParamTypeNames.QUANTITY), R... | elizabethso/sdcct | sdcct-core/src/main/java/gov/hhs/onc/sdcct/data/parameter/ResourceParamType.java | Java | apache-2.0 | 654 |
//Wrapped in an outer function to preserve global this
(function (root) { var amdExports; define(['bootstrap/bootstrap-transition'], function () { (function () {
/* ============================================================
* bootstrap-dropdown.js v2.3.2
* http://twitter.github.com/bootstrap/javascript.html#dropdo... | peterskim12/angularjs-mlrest | src/app/bower_components/fuelux/lib/bootstrap/js/bootstrap-dropdown.js | JavaScript | apache-2.0 | 4,631 |
# -*- coding: utf-8 -*-
from __future__ import absolute_import
# Generated by Django 1.9 on 2016-01-18 00:17
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('accounts', '0006_auto_20151218_1741'),
]
operat... | Pinecast/pinecast | accounts/migrations/0007_auto_20160118_0017.py | Python | apache-2.0 | 726 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/pi/model/DescribeDimensionKeysResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include <aws... | jt70471/aws-sdk-cpp | aws-cpp-sdk-pi/source/model/DescribeDimensionKeysResult.cpp | C++ | apache-2.0 | 1,847 |
//
// 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 the following disclaimer.
// * Redistributions in bin... | Mephostopilis/lua | physx/3rd/PhysX-4.1/pxshared/include/foundation/unix/PxUnixIntrinsics.h | C | apache-2.0 | 5,386 |
package org.zstack.sdk;
public class QueryFirewallIpSetTemplateResult {
public java.util.List inventories;
public void setInventories(java.util.List inventories) {
this.inventories = inventories;
}
public java.util.List getInventories() {
return this.inventories;
}
public jav... | zstackorg/zstack | sdk/src/main/java/org/zstack/sdk/QueryFirewallIpSetTemplateResult.java | Java | apache-2.0 | 497 |
!
function(a) {
function b(b, d) {
function e() {
if (w) {
$canvas = a('<canvas class="pg-canvas"></canvas>'),
v.prepend($canvas),
p = $canvas[0],
q = p.getContext("2d"),
f();
for (var b = Math.round(p.width * p.height / d.density), c = 0; b > c; c++) {
var e = new l;
e.setStack... | liuzongwen1/mss | target/belling-admin/static/js/jump.js | JavaScript | apache-2.0 | 9,066 |
/**
* Copyright (c) 2019, WSO2 Inc. (http://wso2.com) 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 r... | Rajith90/carbon-apimgt | features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/source/src/app/data/APIProduct.js | JavaScript | apache-2.0 | 23,913 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/robomaker/RoboMaker_EXPORTS.h>
#include <aws/robomaker/RoboMakerRequest.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
... | jt70471/aws-sdk-cpp | aws-cpp-sdk-robomaker/include/aws/robomaker/model/BatchDescribeSimulationJobRequest.h | C | apache-2.0 | 3,200 |
'use strict';
let angular = require('angular');
module.exports = angular.module('spinnaker.core.delivery.executionStatus.controller', [
require('../../utils/lodash.js'),
])
.controller('executionStatus', function(_) {
var controller = this;
controller.getFailedStage = function(execution) {
let stag... | zanthrash/deck-1 | app/scripts/modules/core/delivery/status/executionStatus.controller.js | JavaScript | apache-2.0 | 1,559 |
# Copyright 2015 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... | odejesush/tensorflow | tensorflow/tools/docs/parser_test.py | Python | apache-2.0 | 12,002 |
/*
* 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 ... | mosoft521/wicket | wicket-core/src/test/java/org/apache/wicket/core/util/resource/locator/CachingResourceStreamLocatorTest.java | Java | apache-2.0 | 9,531 |
/*
* Copyright © 2002 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
* California 95054, U.S.A. All rights reserved. Sun Microsystems, Inc. has
* intellectual property rights relating to technology embodied in the product
* that is described in this document. In particular, and without limitation,
* t... | MondecaLabs/rdf2xml | utilities/javacc-4.0/examples/Interpreter/ASTReadStatement.java | Java | apache-2.0 | 2,559 |
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 23.4.3.4
description: Throws TypeError if `this` is not Object.
info: >
WeakSet.prototype.has ( value )
1. Let S be the this value.
2. If Type(S) is not Object, t... | m0ppers/arangodb | 3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/WeakSet/prototype/has/this-not-object-throw-string.js | JavaScript | apache-2.0 | 526 |
import React from 'react';
import { Field, FormikProps } from 'formik';
import { HelpField } from '@spinnaker/core';
import { IAmazonNetworkLoadBalancerUpsertCommand } from 'amazon/domain';
export interface INLBAdvancedSettingsProps {
formik: FormikProps<IAmazonNetworkLoadBalancerUpsertCommand>;
}
export class NL... | sgarlick987/deck | app/scripts/modules/amazon/src/loadBalancer/configure/network/NLBAdvancedSettings.tsx | TypeScript | apache-2.0 | 923 |
/*
* Copyright © 2012-2014 Cask Data, 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... | caskdata/coopr | coopr-server/src/main/java/co/cask/coopr/scheduler/callback/HttpPostClusterCallback.java | Java | apache-2.0 | 7,927 |
/*
* Copyright 2020 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 ap... | ge0ffrey/optaplanner | optaplanner-persistence/optaplanner-persistence-jpa/src/main/java/org/optaplanner/persistence/jpa/api/score/buildin/hardmediumsoftbigdecimal/HardMediumSoftBigDecimalScoreConverter.java | Java | apache-2.0 | 1,478 |
{
title: "Appium",
description: "How to run Appium tests on Sauce Labs",
category: 'Tutorials',
index: 7,
image: "/images/tutorials/appium.png",
}
Appium is an open-source tool that can be used to automate your mobile applications. Just like the Selenium WebDriver - which is an open-source tool used to auto... | mekhami/docs | markdown/tutorials/appium.md | Markdown | apache-2.0 | 23,086 |
/**
* Copyright 2011-2019 Asakusa Framework Team.
*
* 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... | ueshin/asakusafw-spark | planner/src/test/java/com/asakusafw/spark/compiler/planning/IterativeOperationAnalyzerTest.java | Java | apache-2.0 | 5,646 |
package fs
import (
"testing"
"github.com/dotcloud/docker/pkg/libcontainer/cgroups"
)
const (
sectorsRecursiveContents = `8:0 1024`
serviceBytesRecursiveContents = `8:0 Read 100
8:0 Write 200
8:0 Sync 300
8:0 Async 500
8:0 Total 500
Total 500`
servicedRecursiveContents = `8:0 Read 10
8:0 Write 40
8:0 Sync ... | afdnlw/docker | pkg/libcontainer/cgroups/fs/blkio_test.go | GO | apache-2.0 | 5,775 |
// jshint node: true
// We need this so chai `expect` statements don't throw an error.
// jshint expr: true
'use strict';
import chai, {expect} from 'chai';
import EddystoneUID from '../../lib/eddystone-uid.js';
describe('Eddystone-UID', () => {
describe('getByteArray()', () => {
it('Invalid type', () => {
... | nirmankarta/eddystone | libraries/javascript/eddystone-advertising/test/unit/eddystone-uid-unit.js | JavaScript | apache-2.0 | 3,751 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/route53/model/TestDNSAnswerRequest.h>
#include <aws/core/utils/xml/XmlSerializer.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
#include <aws/core/http/URI.h>
#include <aws/co... | awslabs/aws-sdk-cpp | aws-cpp-sdk-route53/source/model/TestDNSAnswerRequest.cpp | C++ | apache-2.0 | 1,983 |
<!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_65) on Sun Mar 29 01:32:47 JST 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>twitter4j.examples.... | egeyman/Final-Project | twitter4j-examples/javadoc/twitter4j/examples/media/package-frame.html | HTML | apache-2.0 | 656 |
package mil.nga.giat.geowave.core.ingest.operations;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import com.beust.jcommander.Parameter;
import com.beust.jcommander.ParameterException;
import com.beust.jcommander.Parameters;
import com.beust.jcommander.ParametersDelega... | chizou/geowave | core/ingest/src/main/java/mil/nga/giat/geowave/core/ingest/operations/MapReduceToGeowaveCommand.java | Java | apache-2.0 | 6,565 |
package com.cuitrip.app;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextUtils;
import android.text.TextWatcher;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.L... | MoonRune/CuiTrip | TripApp/src/main/java/com/cuitrip/app/OldConversatoinActivity.java | Java | apache-2.0 | 6,234 |
import unittest
from openmdao.main.api import set_as_top
from openmdao.util.testutil import assert_rel_error
from pycycle import duct, flowstation
class DuctTestCase(unittest.TestCase):
def test_start(self):
comp = set_as_top(duct.Duct())
comp.dPqP = 0
comp.Q_dot = -237.8
comp... | whiplash01/pyCycle | src/pycycle/test/test_duct.py | Python | apache-2.0 | 1,762 |
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GrDefaultPathRenderer_DEFINED
#define GrDefaultPathRenderer_DEFINED
#include "GrPathRenderer.h"
#include "SkTemplates.h"
/**
* Subclass that renders the path using... | sergecodd/FireFox-OS | B2G/gecko/gfx/skia/src/gpu/GrDefaultPathRenderer.h | C | apache-2.0 | 2,154 |
package com.atlassian.maven.plugins.jgitflow.extension;
import com.atlassian.jgitflow.core.extension.ReleaseStartExtension;
import com.atlassian.maven.jgitflow.api.MavenJGitFlowExtension;
import com.atlassian.maven.plugins.jgitflow.extension.command.UpdateDevelopWithNextDevVersionCommand;
import com.atlassian.maven.pl... | mrstig/jgitflow | jgitflow-maven-plugin/src/main/java/com/atlassian/maven/plugins/jgitflow/extension/ReleaseStartPluginExtension.java | Java | apache-2.0 | 1,236 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/lakeformation/LakeFormation_EXPORTS.h>
#include <aws/core/client/AWSErrorMarshaller.h>
namespace Aws
{
namespace Client
{
class AWS_LAKEFORMATION_API LakeFormationErrorMa... | jt70471/aws-sdk-cpp | aws-cpp-sdk-lakeformation/include/aws/lakeformation/LakeFormationErrorMarshaller.h | C | apache-2.0 | 536 |
#include <memory>
#include <string>
#include <vector>
#include "common/buffer/buffer_impl.h"
#include "common/common/empty_string.h"
#include "common/http/filter/ratelimit.h"
#include "common/http/headers.h"
#include "test/mocks/http/mocks.h"
#include "test/mocks/local_info/mocks.h"
#include "test/mocks/ratelimit/moc... | rlazarus/envoy | test/common/http/filter/ratelimit_test.cc | C++ | apache-2.0 | 20,618 |
import { State } from '@ngrx/store';
import { ActionReducer } from '@ngrx/store';
import * as AreaActions from './../actions/area.actions';
import { AreaState, initialState } from './../states/area.state';
export type Action = AreaActions.All;
export const AreaReducer: ActionReducer<AreaState> = (state = initialState... | fabric8io/fabric8-planner | src/app/reducers/area.reducer.ts | TypeScript | apache-2.0 | 552 |
/*
Copyright 2018 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, ... | andrewsykim/kops | pkg/client/clientset_generated/clientset/typed/kops/v1alpha2/kops_client.go | GO | apache-2.0 | 2,899 |
#pragma once
#include "../BlockArea.h"
#include "../Entities/Player.h"
#include "Mixins.h"
class cBlockChestHandler final :
public cYawRotator<cClearMetaOnDrop<cBlockEntityHandler>, 0x07, 0x03, 0x04, 0x02, 0x05>
{
using Super = cYawRotator<cClearMetaOnDrop<cBlockEntityHandler>, 0x07, 0x03, 0x04, 0x02, 0x05>;
... | mc-server/MCServer | src/Blocks/BlockChest.h | C | apache-2.0 | 464 |
/*
* 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 ... | meggermo/jackrabbit-oak | oak-segment/src/test/java/org/apache/jackrabbit/oak/plugins/segment/SegmentGraphTest.java | Java | apache-2.0 | 7,089 |
"""Utilities to help with aiohttp."""
import json
from typing import Any, Dict, Optional
from urllib.parse import parse_qsl
from multidict import CIMultiDict, MultiDict
class MockRequest:
"""Mock an aiohttp request."""
def __init__(
self,
content: bytes,
method: str = "GET",
... | leppa/home-assistant | homeassistant/util/aiohttp.py | Python | apache-2.0 | 1,424 |
/**
* Copyright 2005-2015 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... | chirino/fabric8 | common-util/src/main/java/io/fabric8/common/util/XmlNamespaceFinder.java | Java | apache-2.0 | 3,620 |
<!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.4.2_17) on Wed Jun 17 16:18:37 BST 2009 -->
<TITLE>
ReportWriter (Apache JMeter API)
</TITLE>
<META NAME="keywords" CONTENT="org... | larsvandersangen/SWOS-WEEK-1 | gameoflife-web/tools/jmeter/docs/api/org/apache/jmeter/report/writers/ReportWriter.html | HTML | apache-2.0 | 12,580 |
import struct
import numpy
import io
import pickle
import pyctrl.packet as packet
def testA():
# test A
assert packet.pack('A','C') == b'AC'
assert packet.pack('A','B') == b'AB'
assert packet.pack('A','C') != b'AB'
assert packet.unpack_stream(io.BytesIO(b'AC')) == ('A', 'C')
assert packet.un... | mcdeoliveira/ctrl | test/test_packet.py | Python | apache-2.0 | 5,810 |
ALTER TABLE {$NAMESPACE}_differential.differential_inlinecomment
ADD KEY (revisionID, authorPHID); | apexstudios/phabricator | resources/sql/patches/025.commentopt.sql | SQL | apache-2.0 | 100 |
#include "parser_prod.sep.0.h"
/* method parser_prod#ASuperExpr#n_qualified= for (self: Object, nullable AQualified) */
void VIRTUAL_parser_prod__ASuperExpr__n_qualified_61d(val* self, val* p0) {
parser_prod__ASuperExpr__n_qualified_61d(self, p0);
RET_LABEL:;
}
/* method parser_prod#ASuperExpr#n_kwsuper= for (self: ASu... | Johann673/nit | c_src/parser_prod.sep.4.c | C | apache-2.0 | 419,245 |
package org.dasein.cloud.tier3.compute;
import javax.annotation.Nonnull;
import org.dasein.cloud.compute.AbstractComputeServices;
import org.dasein.cloud.compute.MachineImageSupport;
import org.dasein.cloud.compute.SnapshotSupport;
import org.dasein.cloud.compute.VirtualMachineSupport;
import org.dasein.cloud... | greese/dasein-cloud-tier3 | src/main/java/org/dasein/cloud/tier3/compute/Tier3ComputeServices.java | Java | apache-2.0 | 1,660 |
/*
* Copyright 2017 NAVER 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 to ... | emeroad/pinpoint | plugins/netty/src/main/java/com/navercorp/pinpoint/plugin/netty/interceptor/ChannelPipelineWriteInterceptor.java | Java | apache-2.0 | 4,024 |
/**
* Copyright 2012 JBoss 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 ... | nmirasch/kie-wb-common | kie-wb-common-services/kie-wb-common-data-modeller-core/src/main/java/org/kie/workbench/common/services/datamodeller/driver/impl/annotations/DescriptionAnnotationDefinition.java | Java | apache-2.0 | 1,479 |
/*
* Copyright 2019 Huawei Technologies Co.,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 ... | ajordens/clouddriver | clouddriver-huaweicloud/src/main/java/com/netflix/spinnaker/clouddriver/huaweicloud/client/HuaweiCloudClientImpl.java | Java | apache-2.0 | 4,106 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Header <boost/algorithm/cxx11/find_if_not.hpp></title>
<link rel="stylesheet" href="../../../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link re... | ryancoleman/autodock-vina | boost_1_54_0/libs/algorithm/doc/html/header/boost/algorithm/cxx11/find_if_not_hpp.html | HTML | apache-2.0 | 5,493 |
템플릿 파일 명명 규칙
====================
* 파일 이름은 패키지(package)명을 제외한 해당 페이지의 기능으로 정하며 아래의 공통된 표현을 사용한다
신규: create
편집: edit
조회: view
목록: list
삭제: delete
* 신규(create)와 편집(edit)을 하나의 파일로 작성할 수 있을 때는 write로 한다
* 파일명은 카멜 표기법 ([CamelCase](http://en.wikipedia.org/wiki/CamelCase))을 준수한다
* 오류 페이지에 사용되는 템플릿 파일은 error 패키지 아... | doortts/fork-yobi | docs/ko/technical/views-naming-guide.md | Markdown | apache-2.0 | 586 |
import contextlib
from django.core.exceptions import ValidationError as DjangoValidationError
# Remants from MODM days
# TODO: Remove usages of aliased Exceptions
ValidationError = DjangoValidationError
ValidationValueError = DjangoValidationError
ValidationTypeError = DjangoValidationError
class TokenError(Excepti... | Johnetordoff/osf.io | osf/exceptions.py | Python | apache-2.0 | 7,309 |
// Base property is optional and derived type has no property of that name
// object literal case
var a;
var b;
var r = true ? a : b; // ok
| hippich/typescript | tests/baselines/reference/subtypingWithObjectMembersOptionality3.js | JavaScript | apache-2.0 | 147 |
<?php
final class DrydockRepositoryOperationStatusView
extends AphrontView {
private $operation;
private $boxView;
public function setOperation(DrydockRepositoryOperation $operation) {
$this->operation = $operation;
return $this;
}
public function getOperation() {
return $this->operation;
... | zhihu/phabricator | src/applications/drydock/view/DrydockRepositoryOperationStatusView.php | PHP | apache-2.0 | 5,033 |
<!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.6.0_36) on Wed Jan 13 23:44:28 CST 2016 -->
<title>HadoopFSLogAppender</title>
<meta name="date" content="2016-01-13">
<link rel="styleshee... | stanleyxu2005/gearpump.github.io | releases/0.7.4/api/java/io/gearpump/util/HadoopFSLogAppender.html | HTML | apache-2.0 | 10,541 |
// Copyright 2015 The Cockroach 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 ag... | vivekmenezes/cockroach | sql/parser/drop.go | GO | apache-2.0 | 2,627 |
/*
* Copyright © 2015 Cask Data, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writ... | skilurus/cdap-odbc-driver | CdapOdbc/CancelException.h | C | apache-2.0 | 899 |
/*
* 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/user/User.java | Java | apache-2.0 | 9,275 |
/*
* Copyright 2017 The Android Open Source 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 by applica... | AndroidX/androidx | slice/slice-view/src/main/java/androidx/slice/widget/GridRowView.java | Java | apache-2.0 | 34,576 |
"""Playbook Args"""
from argparse import ArgumentParser
class Args:
"""Playbook Args"""
def __init__(self, parser: ArgumentParser):
"""Initialize class properties."""
| kstilwell/tcex | app_init/service_webhook/args.py | Python | apache-2.0 | 186 |
/*
* 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"); ... | salyh/javamailspec | geronimo-jbatch_1.0_spec/src/main/java/javax/batch/operations/JobExecutionNotRunningException.java | Java | apache-2.0 | 1,349 |
/*
* Copyright 2020 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 ap... | ge0ffrey/optaplanner | optaplanner-core/src/main/java/org/optaplanner/core/impl/score/stream/drools/common/QuadTuple.java | Java | apache-2.0 | 1,951 |
package org.elasticsearch.painless;
/*
* 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 "... | camilojd/elasticsearch | modules/lang-painless/src/main/java/org/elasticsearch/painless/FeatureTest.java | Java | apache-2.0 | 1,752 |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
info: >
The internal helper function CharacterRange takes two CharSet parameters A and B and performs the
following:
2. Let a be the one character in CharSet A.
3. L... | baslr/ArangoDB | 3rdParty/V8/V8-5.0.71.39/test/test262/data/test/built-ins/RegExp/S15.10.2.15_A1_T40.js | JavaScript | apache-2.0 | 930 |
/**
* 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... | massakam/pulsar | pulsar-broker/src/main/java/org/apache/pulsar/broker/transaction/buffer/matadata/package-info.java | Java | apache-2.0 | 924 |
// Copyright 2017 PingCAP, 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 i... | ngaut/tidb | util/ranger/detacher.go | GO | apache-2.0 | 12,839 |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/cloud/oslogin/common/common.proto
namespace Google\Cloud\OsLogin\Common;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* The SSH public key information asso... | googleapis/google-cloud-php-oslogin | src/Common/SshPublicKey.php | PHP | apache-2.0 | 5,050 |
package org.ovirt.engine.core.utils;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Provides utilities for handling resource files.
*/
public class ResourceUtils {
private ... | OpenUniversity/ovirt-engine | backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ResourceUtils.java | Java | apache-2.0 | 1,389 |
from src.utils import glove
import numpy as np
import string
class jester_vectorize():
def __init__(self, user_interactions, content, user_vector_type, content_vector_type, **support_files):
"""Set up the Jester Vectorizer.
Args:
user_interactions (rdd): The raw data of users interac... | tiffanyj41/hermes | src/data_prep/jester_vectorize.py | Python | apache-2.0 | 3,684 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/rekognition/model/Parent.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespace ... | awslabs/aws-sdk-cpp | aws-cpp-sdk-rekognition/source/model/Parent.cpp | C++ | apache-2.0 | 903 |
/*
* ModeShape (http://www.modeshape.org)
*
* 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... | stemig62/modeshape | modeshape-jcr/src/main/java/org/modeshape/jcr/TextExtractors.java | Java | apache-2.0 | 8,945 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/sagemaker/model/UpdateTrialComponentResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#includ... | jt70471/aws-sdk-cpp | aws-cpp-sdk-sagemaker/source/model/UpdateTrialComponentResult.cpp | C++ | apache-2.0 | 1,020 |
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2011 OpenStack LLC.
# 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/... | houshengbo/nova_vmware_compute_driver | nova/openstack/common/lockutils.py | Python | apache-2.0 | 8,446 |
/*
* Copyright 2017 Netflix, 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... | danveloper/clouddriver | clouddriver-aws/src/main/groovy/com/netflix/spinnaker/clouddriver/aws/lifecycle/ARN.java | Java | apache-2.0 | 1,746 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/iot1click-projects/IoT1ClickProjects_EXPORTS.h>
#include <aws/iot1click-projects/IoT1ClickProjectsRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utili... | awslabs/aws-sdk-cpp | aws-cpp-sdk-iot1click-projects/include/aws/iot1click-projects/model/AssociateDeviceWithPlacementRequest.h | C | apache-2.0 | 9,371 |
$toolsPath = Split-Path $MyInvocation.MyCommand.Definition
. $toolsPath\helpers.ps1
$packageName = 'php'
$installLocation = GetInstallLocation -libDirectory "$toolsPath\.."
if ($installLocation) {
UninstallPackage -libDirectory "$toolsPath\.." -packageName $packageName
$di = Get-ChildItem $installLocation -ea ... | octomike/chocolatey-coreteampackages | automatic/php/tools/chocolateyUninstall.ps1 | PowerShell | apache-2.0 | 563 |
{#
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 use ... | airbnb/airflow | airflow/www/templates/airflow/dag_details.html | HTML | apache-2.0 | 3,056 |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Example - example-ngModelOptions-directive-blur-jquery</title>
<script src="../../components/jquery-3.1.1/jquery.js"></script>
<script src="../../../angular.js"></script>
<script src="app.js"></script>
</head>
<body ng-app="optio... | chdyi/Angular.js | BookStore/app/framework/angular-1.6.2/docs/examples/example-ngModelOptions-directive-blur/index-jquery.html | HTML | apache-2.0 | 801 |
package ca.uhn.fhir.model;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import java.math.BigDecimal;
import org.hl7.fhir.instance.model.IdType;
import org.hl7.fhir.instance.model.Patient;... | Gaduo/hapi-fhir | hapi-fhir-structures-hl7org-dstu2/src/test/java/ca/uhn/fhir/model/IdTypeTest.java | Java | apache-2.0 | 7,535 |
# Copyright 2013-2015 ARM Limited
#
# 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... | freedomtan/workload-automation | wlauto/workloads/andebench/__init__.py | Python | apache-2.0 | 3,485 |
/*******************************************************************************
* Copyright 2014, 2018 gwt-ol3
*
* 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... | TDesjardins/GWT-OL3-Playground | gwt-ol3-client/src/test/java/ol/layer/TileTest.java | Java | apache-2.0 | 1,342 |
/**
* 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/Scholastic | src/main/java/org/olat/modules/webFeed/RSSFeed.java | Java | apache-2.0 | 4,455 |
package org.jetbrains.plugins.javaFX.fxml.codeInsight.inspections;
import com.intellij.codeInsight.daemon.impl.analysis.RemoveAttributeIntentionFix;
import com.intellij.codeInsight.daemon.impl.analysis.RemoveTagIntentionFix;
import com.intellij.codeInspection.ProblemHighlightType;
import com.intellij.codeInspection.Pr... | hurricup/intellij-community | plugins/javaFX/src/org/jetbrains/plugins/javaFX/fxml/codeInsight/inspections/JavaFxRedundantPropertyValueInspection.java | Java | apache-2.0 | 9,676 |
// stdafx.cpp : source file that includes just the standard includes
// kdb+.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| FlyingOE/q_Wind | kdb+/stdafx.cpp | C++ | apache-2.0 | 283 |
<?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.
* ... | davidtsadler/ebay-sdk-trading | test/DTS/eBaySDK/Trading/Types/SKUArrayTypeTest.php | PHP | apache-2.0 | 1,263 |
<!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:37 EST 2014 -->
<title>Uses of Class org.drip.analytics.holset.DOPHoliday</title>
<meta name="date" content=... | tectronics/splinelibrary | 2.3/docs/Javadoc/org/drip/analytics/holset/class-use/DOPHoliday.html | HTML | apache-2.0 | 4,253 |
/* FlowMeter.java
*
* Copyright 2009-2015 Comcast Interactive Media, LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unle... | ekmason12/jrugged | jrugged-core/src/main/java/org/fishwife/jrugged/FlowMeter.java | Java | apache-2.0 | 2,837 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/detective/model/ListGraphsRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Detective::Model;
using namespace Aws::Utils::Json;
using n... | aws/aws-sdk-cpp | aws-cpp-sdk-detective/source/model/ListGraphsRequest.cpp | C++ | apache-2.0 | 785 |
/*
* Copyright (C) 2006 The Android Open Source 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 by app... | Ant-Droid/android_frameworks_base_OLD | services/core/java/com/android/server/am/TaskRecord.java | Java | apache-2.0 | 56,682 |
<!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_14) on Tue Aug 17 01:02:52 EDT 2010 -->
<TITLE>
Uses of Class org.apache.hadoop.io.compress.DefaultCodec (Hadoop-common 0.21.0 API)
</TITLE>
<META N... | jayantgolhar/Hadoop-0.21.0 | common/docs/api/org/apache/hadoop/io/compress/class-use/DefaultCodec.html | HTML | apache-2.0 | 7,986 |
/**
* Copyright (C) 2014 JBoss 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... | porcelli-forks/dashbuilder | dashbuilder-shared/dashbuilder-dataset-shared/src/main/java/org/dashbuilder/dataset/engine/index/DataSetIndexNode.java | Java | apache-2.0 | 7,771 |
/**
* This header is generated by class-dump-z 0.2a.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*
* Source: /System/Library/PrivateFrameworks/BackRow.framework/BackRow
*/
@class NSString;
@interface BRMediaHostState : NSObject {
@private
NSString *_description; // 4 = 0x4
}
@proper... | bboyle18/AppleTV-LiveTV | theos/include/BackRow/BRMediaHostState.h | C | apache-2.0 | 818 |
# Copyright 2015 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/python/kernel_tests/rnn_test.py | Python | apache-2.0 | 95,137 |
/*
* Copyright 2020 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... | arvindsv/gocd | api/api-base/src/main/java/com/thoughtworks/go/api/util/GsonTransformer.java | Java | apache-2.0 | 2,116 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.