code stringlengths 3 1.05M | repo_name stringlengths 4 116 | path stringlengths 4 991 | language stringclasses 9
values | license stringclasses 15
values | size int32 3 1.05M |
|---|---|---|---|---|---|
/*
* 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/main/java/org/apache/logging/log4j/core/appender/mom/JmsManager.java | Java | apache-2.0 | 19,167 |
package org.gwtbootstrap3.extras.datetimepicker.client;
/*
* #%L
* GwtBootstrap3
* %%
* Copyright (C) 2013 - 2016 GwtBootstrap3
* %%
* 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
* ... | gwtbootstrap3/gwtbootstrap3-extras | src/main/java/org/gwtbootstrap3/extras/datetimepicker/client/DateTimePickerClientBundle.java | Java | apache-2.0 | 4,968 |
window.onresize=function(){
setFrame();
}
$(document).ready(function(){
setFrame()
});
function setFrame(){
var totalHeight = document.documentElement.clientHeight
|| window.innerHeight || docuemnt.body.clientHeight;
$('#container').css('height', totalHeight);
var headerHeight = $('#header').height();
var ... | igemsoftware/HFUT-China_2015 | static/js/simulation.js | JavaScript | apache-2.0 | 14,759 |
/**
* 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... | telefonicaid/fiware-cosmos-ambari | ambari-web/app/controllers/main/admin.js | JavaScript | apache-2.0 | 937 |
package org.wildfly.swarm.weld;
import org.wildfly.swarm.container.Fraction;
/**
* @author Bob McWhirter
*/
public class WeldFraction implements Fraction {
public WeldFraction() {
}
}
| bbrowning/wildfly-swarm | weld/api/src/main/java/org/wildfly/swarm/weld/WeldFraction.java | Java | apache-2.0 | 198 |
/*
* Copyright (C) 2015 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... | xorware/android_frameworks_base | packages/SystemUI/src/com/android/systemui/classifier/AnglesPercentageEvaluator.java | Java | apache-2.0 | 939 |
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | googleapis/google-api-php-client-services | src/ShoppingContent/OrderreturnsProcessRequest.php | PHP | apache-2.0 | 2,450 |
// Copyright 2014 The Sporting Exchange Limited. All rights reserved.
// Use of this source code is governed by a free license that can be
// found in the LICENSE file.
package aggregator
import (
"log"
"reflect"
"strings"
"testing"
"time"
"opentsp.org/cmd/collect-statse/statse"
"opentsp.org/internal/tsdb"
)... | The-Cloud-Source/opentsp | cmd/collect-statse/aggregator/snapshot_test.go | GO | apache-2.0 | 11,151 |
class User < ApplicationRecord
include RelationshipMixin
acts_as_miq_taggable
has_secure_password
include CustomAttributeMixin
include ActiveVmAggregationMixin
include TimezoneMixin
include CustomActionsMixin
include ExternalUrlMixin
before_destroy :check_reference, :prepend => true
has_many :mi... | kbrock/manageiq | app/models/user.rb | Ruby | apache-2.0 | 15,860 |
/*
* Copyright 2017 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | charsyam/folly | folly/io/async/ssl/SSLErrors.cpp | C++ | apache-2.0 | 3,876 |
/*
* Copyright 2010-2015 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 "lice... | sdole/aws-sdk-java | aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/DetachElasticLoadBalancerRequest.java | Java | apache-2.0 | 5,584 |
/*
* Copyright 2015-2016 USEF 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 applicable law or agree... | USEF-Foundation/ri.usef.energy | usef-build/usef-workflow/usef-agr/src/test/java/energy/usef/agr/workflow/operate/recreate/prognoses/AgrReCreatePrognosesCoordinatorTest.java | Java | apache-2.0 | 14,800 |
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
describe ProjectCategoriesHelper do
#Delete this example and add some real ones or delete this file
it "should be included in the object returned by #helper" do
included_modules = (class << helper; self; end).send :included_modules
inc... | fusesource/fuseforge | spec/helpers/project_categories_helper_spec.rb | Ruby | apache-2.0 | 387 |
/*
* Copyright 2001-2007 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 ap... | jwren/intellij-community | plugins/generate-tostring/testSrc/org/jetbrains/java/generate/test/DummyTestBean.java | Java | apache-2.0 | 2,376 |
/*
* Copyright 2014-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 applicabl... | kuujo/copycat | cluster/src/main/java/io/atomix/cluster/ClusterMembershipEventListener.java | Java | apache-2.0 | 855 |
package com.frameworkium.integration.restfulbooker.api.dto.booking;
import com.frameworkium.core.api.dto.AbstractDTO;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
public class BookingDates extends AbstractDTO<BookingDates> {
public static final DateTimeFormatter FORMAT =
Da... | Frameworkium/frameworkium-core | src/test/java/com/frameworkium/integration/restfulbooker/api/dto/booking/BookingDates.java | Java | apache-2.0 | 673 |
package com.alipay.api.request;
import java.util.Map;
import com.alipay.api.AlipayRequest;
import com.alipay.api.internal.util.AlipayHashMap;
import com.alipay.api.response.AlipayMicropayOrderConfirmpayurlGetResponse;
import com.alipay.api.AlipayObject;
/**
* ALIPAY API: alipay.micropay.order.confirmpayurl.get requ... | wendal/alipay-sdk | src/main/java/com/alipay/api/request/AlipayMicropayOrderConfirmpayurlGetRequest.java | Java | apache-2.0 | 4,211 |
class ServiceTemplate < ApplicationRecord
DEFAULT_PROCESS_DELAY_BETWEEN_GROUPS = 120
GENERIC_ITEM_SUBTYPES = {
"custom" => _("Custom"),
"vm" => _("VM"),
"playbook" => _("Playbook"),
"hosted_database" => _("Hosted Database"),
"load_balancer" => _("Load Balancer"),
... | israel-hdez/manageiq | app/models/service_template.rb | Ruby | apache-2.0 | 16,451 |
/*
* 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/incubator-shardingsphere | shardingsphere-kernel/shardingsphere-data-pipeline/shardingsphere-data-pipeline-core/src/main/java/org/apache/shardingsphere/data/pipeline/scenario/rulealtered/spi/DefaultMetadataCheckoutLockAlgorithm.java | Java | apache-2.0 | 1,517 |
package interfaces;// interfaces/AdaptedRandomDoubles.java
// (c)2017 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
// Creating an adapter with inheritance
import java.nio.*;
import java.util.*;
public class Adapte... | mayonghui2112/helloWorld | sourceCode/testMaven/onjava8/src/main/java/interfaces/AdaptedRandomDoubles.java | Java | apache-2.0 | 992 |
/*
Copyright The containerd 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... | rancher/k3s | vendor/github.com/containerd/containerd/runtime/v2/shim/shim.go | GO | apache-2.0 | 8,126 |
/**
* $RCSfile$
* $Revision: 7071 $
* $Date: 2007-02-11 18:59:05 -0600 (Sun, 11 Feb 2007) $
*
* Copyright 2003-2007 Jive Software.
*
* 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 ... | ice-coffee/EIM | src/org/jivesoftware/smack/XMPPException.java | Java | apache-2.0 | 6,879 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/ssm-incidents/model/IncidentRecordSource.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace ... | awslabs/aws-sdk-cpp | aws-cpp-sdk-ssm-incidents/source/model/IncidentRecordSource.cpp | C++ | apache-2.0 | 1,931 |
/*
Copyright 2008-2014 CNR-ISTI, http://isti.cnr.it
Institute of Information Science and Technologies
of the Italian National Research Council
See the NOTICE file distributed with this work for additional
information regarding copyright ownership
Licensed under the Apache License, Version 2.0 (the ... | smulikHakipod/zb4osgi | zb4o-zcl-library/src/main/java/it/cnr/isti/zigbee/zcl/library/api/core/ZBSerializer.java | Java | apache-2.0 | 3,673 |
define(function (require) {
'use strict';
// require jquery and load plugins from the server
var plugins = require('plugins');
var alien4cloud = require('alien4cloud');
return {
startup: function() {
plugins.init().then(function(files, modules) {
require(files, function() {
requi... | xdegenne/alien4cloud | alien4cloud-ui/src/main/webapp/scripts/alien4cloud-bootstrap.js | JavaScript | apache-2.0 | 431 |
/*
* 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... | xasx/assertj-core | src/test/java/org/assertj/core/internal/paths/MockPathsBaseTest.java | Java | apache-2.0 | 5,560 |
import networkx as nx
import re
import json
from learning.PageManager import PageManager
class TreeListLearner(object):
def __init__(self):
self.__minEdgeWeight = 2
self.__DEBUG = False
"""
pageRepresentation is the invisible/visible data structure
only_consider_tag lets you f... | usc-isi-i2/landmark-extraction | src/learning/TreeListLearner.py | Python | apache-2.0 | 23,788 |
# Copyright 2019 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... | xzturn/tensorflow | tensorflow/python/keras/layers/preprocessing/text_vectorization.py | Python | apache-2.0 | 36,215 |
module UiServiceMixin
def icons
{
:ContainerReplicator => {:type => "glyph", :icon => "\uE624", :fontfamily => "PatternFlyIcons-webfont"}, # pficon-replicator
:ContainerGroup => {:type => "glyph", :icon => "\uF1B3", :fontfamily => "FontAwesome"}, # fa-cubes
:ContainerNod... | KevinLoiseau/manageiq | app/models/mixins/ui_service_mixin.rb | Ruby | apache-2.0 | 2,537 |
// HTMLParser Library - A java-based parser for HTML
// http://htmlparser.org
// Copyright (C) 2006 Somik Raha
//
// Revision Control Information
//
// $URL: https://svn.sourceforge.net/svnroot/htmlparser/trunk/parser/src/main/java/org/htmlparser/tags/HeadingTag.java $
// $Author: derrickoswald $
// $Date: 2006-09-16 1... | patrickfav/tuwien | master/swt workspace/HTMLParser/src/org/htmlparser/tags/HeadingTag.java | Java | apache-2.0 | 2,431 |
using System;
namespace JetBrains.ReSharper.Koans.Refactoring
{
namespace ExtractClass
{
// Extract Class
//
// Creates a new class based on members in the existing class.
// Updates references to the extracted members to refer to
// an instance of the new class
... | JetBrains/resharper-workshop | localized/ja/04-Refactoring/Refactoring/19-Extract_class.cs | C# | apache-2.0 | 2,245 |
package batch
// Copyright (c) Microsoft and contributors. 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
//
// Unles... | anpingli/origin | vendor/github.com/Azure/azure-sdk-for-go/services/batch/2018-08-01.7.0/batch/file.go | GO | apache-2.0 | 47,380 |
/******************************************************************************
* Copyright 2018 The Apollo 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
... | wanglei828/apollo | modules/planning/open_space/coarse_trajectory_generator/hybrid_a_star_test.cc | C++ | apache-2.0 | 2,682 |
/*
* 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-people/v1/1.31.0/com/google/api/services/people/v1/model/Photo.java | Java | apache-2.0 | 3,986 |
from django.conf.urls import url,include
from . import views
urlpatterns = [
url(r'^order/address',views.addressPage,name='addressPage1'),
url(r'^order_with_prescription/address',views.addressPage,name='addressPage2'),
url(r'^order_with_prescription/specify',views.choicePage,name='choicePage'),
url(r'... | mpiplani/Online-Pharmacy | online_pharmacy/order/urls.py | Python | apache-2.0 | 547 |
#include "beaker/builder.hpp"
#include "beaker/length.hpp"
#include "beaker/offset.hpp"
#include "beaker/decl.hpp"
// Returns an expression which computes the byte offsetof a
// member within a record.
// 'e' is an offsetof expression.
//
// The byte offset of a member within a record type
// is the sum of the length... | thehexia/steve | beaker/offset.cpp | C++ | apache-2.0 | 2,155 |
import sys
from setuptools import setup
from setuptools import find_packages
version = '0.5.0.dev0'
install_requires = [
'letsencrypt=={0}'.format(version),
'letsencrypt-apache=={0}'.format(version),
'docker-py',
'requests',
'zope.interface',
]
if sys.version_info < (2, 7):
install_requires... | TheBoegl/letsencrypt | letsencrypt-compatibility-test/setup.py | Python | apache-2.0 | 1,792 |
/*
* Open Source Software published under the Apache Licence, Version 2.0.
*/
package io.github.vocabhunter.gui.i18n;
public enum I18nKey {
MAIN_WINDOW_UNSAVED("main.window.unsaved"),
MAIN_WINDOW_UNTITLED("main.window.untitled"),
SESSION_WORD_USES("session.word.uses"),
SESSION_TAB_ANALYSIS("sessio... | AdamCarroll/VocabHunter | gui/src/main/java/io/github/vocabhunter/gui/i18n/I18nKey.java | Java | apache-2.0 | 3,821 |
/**
* redpen: a text inspection tool
* Copyright (c) 2014-2015 Recruit Technologies Co., Ltd. and contributors
* (see CONTRIBUTORS.md)
* <p>
* 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 ... | kenhys/redpen | redpen-core/src/test/java/cc/redpen/validator/sentence/QuotationValidatorTest.java | Java | apache-2.0 | 13,023 |
/*
* 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 ... | nishantmonu51/druid | core/src/main/java/org/apache/druid/segment/column/ObjectByteStrategy.java | Java | apache-2.0 | 2,453 |
/*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is
* regenerated.
*/
'... | xingwu1/azure-sdk-for-node | lib/services/datafactoryManagement/lib/models/fileShareDataset.js | JavaScript | apache-2.0 | 6,074 |
/**
* 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-io/kafka/src/main/java/org/apache/pulsar/io/kafka/AvroSchemaCache.java | Java | apache-2.0 | 3,114 |
# -*- coding: utf-8 -*-
'''
Management of iptables
======================
This is an iptables-specific module designed to manage Linux firewalls. It is
expected that this state module, and other system-specific firewall states, may
at some point be deprecated in favor of a more generic ``firewall`` state.
.. code-blo... | stephane-martin/salt-debian-packaging | salt-2016.3.3/salt/states/iptables.py | Python | apache-2.0 | 25,947 |
<?php
/**
* LiquidCacheFile class file
*
* @package Liquid
* @copyright Copyright (c) 2011-2012 Harald Hanek
* @license http://harrydeluxe.mit-license.org
*/
class LiquidCacheFile extends LiquidCache
{
/**
* Initializes this component.
*
* It checks the availability of apccache.
* @throw... | leehanse/zzyyzz | wp-content/themes/myoto/lib/liquid-template/lib/Cache/LiquidCacheFile.class.php | PHP | apache-2.0 | 2,984 |
/**
* Define public API for Angular here.
*/
export * from './change_detection';
export * from './core';
export * from './directives';
export * from './forms';
| lgalfaso/angular | modules/angular2/angular2.js | JavaScript | apache-2.0 | 162 |
/*
* Copyright (c) 2010-2013 Evolveum
*
* 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... | sabriarabacioglu/engerek | model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processes/itemApproval/PrepareResult.java | Java | apache-2.0 | 1,940 |
import {Component} from '@angular/core';
import {Home} from '../home/home';
import {Conferences} from '../conferences/conferences';
import {Agenda} from '../agenda/agenda';
import {Accessmap} from '../accessmap/accessmap';
@Component({
templateUrl: 'build/pages/tabs/tabs.html'
})
export class TabsPage {
constructo... | worldline/TechForum2016 | app/pages/tabs/tabs.js | JavaScript | apache-2.0 | 535 |
/* @flow */
import { PropTypes } from 'react';
import { Map } from 'immutable';
import isString from 'lodash/isString';
import includes from 'lodash/includes';
import isUndefined from 'lodash/isUndefined';
import isEmpty from 'lodash/isEmpty';
import map from 'lodash/map';
import mapValues from 'lodash/mapValues';
impo... | kryptnostic/gallery | src/containers/async/AsyncStorage.js | JavaScript | apache-2.0 | 4,676 |
<?php
/**
*
* Copyright (c) 2011, Dan Myers.
* Parts copyright (c) 2008, Donovan Schonknecht.
* 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 a... | apexstudios/phabricator | externals/amazon-ses/ses.php | PHP | apache-2.0 | 23,676 |
/**
* 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... | tecknowledgeable/hadoop | hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/ContainerReport.java | Java | apache-2.0 | 5,718 |
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('pages', '0009_auto_20160704_0023'),
]
operations = [
migrations.RemoveField(
model_name='slide',
nam... | thanos/mykonosbiennale.org | pages/migrations/0010_auto_20160704_0030.py | Python | apache-2.0 | 601 |
/*
* 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 ... | lovepoem/dubbo | dubbo-rpc/dubbo-rpc-thrift/src/test/java/org/apache/dubbo/rpc/protocol/thrift/ServiceMethodNotFoundTest.java | Java | apache-2.0 | 4,379 |
using Clients;
using IdentityModel;
using IdentityModel.Client;
using Newtonsoft.Json.Linq;
using System;
using System.Diagnostics;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace ConsoleDeviceFlow
{
public class Program
{
static IDiscoveryCache _cache = new Disc... | MienDev/IdentityServer4 | samples/Clients/src/ConsoleDeviceFlow/Program.cs | C# | apache-2.0 | 3,613 |
"""s6 services management.
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import abc
import errno
import os
import logging
import six
from treadmill import fs
from .. import _utils
from .. import _service_base... | Morgan-Stanley/treadmill | lib/python/treadmill/supervisor/s6/services.py | Python | apache-2.0 | 17,491 |
"""Implement test server."""
import logging
import socket
from time import sleep
from leicacam.cam import tuples_as_bytes
CAM_REPLY = [
[
(
"relpath",
"subfolder/exp1/CAM1/slide--S00/chamber--U00--V00/field--X01--Y01"
"/image--L0000--S00--U00--V00--J15--E04--O01"
... | CellProfiling/cam_acq | tests/test_server.py | Python | apache-2.0 | 3,254 |
/*
* Copyright 2000-2013 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... | IllusionRom-deprecated/android_platform_tools_idea | java/java-psi-impl/src/com/intellij/psi/impl/java/stubs/JavaMethodElementType.java | Java | apache-2.0 | 6,170 |
/**
* JBoss, Home of Professional Open Source
* Copyright 2012, Red Hat Middleware LLC, and individual 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 not u... | CSchulz/arquillian-extension-warp | impl/src/main/java/org/jboss/arquillian/warp/impl/client/verification/InspectionMethodWasNotInvokedException.java | Java | apache-2.0 | 1,382 |
package manifest_test
import (
"runtime"
"strings"
"code.cloudfoundry.org/cli/cf/manifest"
"code.cloudfoundry.org/cli/utils/generic"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
. "code.cloudfoundry.org/cli/testhelpers/matchers"
)
func NewManifest(path string, data generic.Map) (m *manifest.Manifest... | cloudfoundry/v3-cli-plugin | vendor/code.cloudfoundry.org/cli/cf/manifest/manifest_test.go | GO | apache-2.0 | 21,977 |
default[:teamcity][:agent][:path] = "#{node[:teamcity][:path]}/buildAgent"
default[:teamcity][:agent][:pid_file] = "#{node[:teamcity][:agent][:path]}/logs/buildAgent.pid"
default[:teamcity][:agent][:name] = "Default agent"
| andreychernih/chef-teamcity | attributes/agent.rb | Ruby | apache-2.0 | 234 |
// Code generated by Microsoft (R) AutoRest Code Generator 0.9.7.0
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
usin... | mlafleur/RMVAwsome | RMV.Awesome/RMV.Awesome.WindowsPhone/ApiClient/BranchOperations.cs | C# | apache-2.0 | 9,980 |
/*
* 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 app... | lanceleverich/drools | kie-pmml-trusty/kie-pmml-models/kie-pmml-models-drools/kie-pmml-models-drools-common/src/main/java/org/kie/pmml/models/drools/ast/factories/KiePMMLCompoundPredicateWithResultASTFactory.java | Java | apache-2.0 | 3,841 |
package org.ovirt.engine.core.common.businessentities;
import java.util.HashMap;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
@XmlAccessorType(XmlAccessType.NONE)
@XmlType(name = "VdsSpmStatus")
public enum VdsSpmStatus {
... | raksha-rao/gluster-ovirt | backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VdsSpmStatus.java | Java | apache-2.0 | 877 |
package com.frameworkset.common;
public class Test_f {
private String name;
private String name1;
private String ret ;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getName1() {
return name1;
}
public void setName1(String na... | bbossgroups/bbossgroups-3.5 | bboss-persistent/test/com/frameworkset/common/Test_f.java | Java | apache-2.0 | 621 |
<?php
/**
* This file is automatically @generated by {@link BuildMetadataPHPFromXml}.
* Please don't modify it directly.
*/
return array (
'generalDesc' =>
array (
'NationalNumberPattern' => '[1-578]\\d{5,9}',
'PossibleNumberPattern' => '\\d{6,10}',
),
'fixedLine' =>
array (
'NationalNumber... | sudiptpa/libphonenumber-for-php | src/libphonenumber/data/PhoneNumberMetadata_AU.php | PHP | apache-2.0 | 6,075 |
package com.netflix.zuul.proxy;
import com.yammer.metrics.Metrics;
import com.yammer.metrics.reporting.JmxReporter;
import org.jboss.netty.bootstrap.ServerBootstrap;
import org.jboss.netty.channel.Channel;
import org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory;
import org.jboss.netty.logging.InternalL... | jhulick/zuul-netty | netty-server/src/main/java/com/netflix/zuul/proxy/HttpServer.java | Java | apache-2.0 | 1,659 |
package com.nianticproject.ingress.common.ui.widget;
import broot.ingress.mod.Entry;
public enum MenuTabId {
MOD_ABOUT, MOD_ITEMS, ITEMS, INTEL, MISSION, RECRUIT, DEVICE;
public String toString() {
String ret = Entry.MenuTabId_onToString(this);
return ret != null ? ret : super.toString();
... | zimler/ingress-apk-mod | sim/com/nianticproject/ingress/common/ui/widget/MenuTabId.java | Java | apache-2.0 | 473 |
package org.hl7.fhir.dstu2016may.hapi.validation;
import java.util.List;
import org.hl7.fhir.dstu2016may.validation.ValidationMessage;
import org.hl7.fhir.instance.model.api.IBaseResource;
import ca.uhn.fhir.model.api.Bundle;
import ca.uhn.fhir.validation.IValidationContext;
import ca.uhn.fhir.validation.IValidatorM... | Gaduo/hapi-fhir | hapi-fhir-structures-dstu2.1/src/main/java/org/hl7/fhir/dstu2016may/hapi/validation/BaseValidatorBridge.java | Java | apache-2.0 | 1,638 |
using System;
namespace Foundatio.Logging {
public static class BuilderExtensions {
public static ILogBuilder Level(this ILogger logger, LogLevel logLevel) {
if (!logger.IsEnabled(logLevel))
return NullLogBuilder.Instance;
return new LogBuilder(logLevel, logger);
... | wgraham17/Foundatio | src/Foundatio/Logging/Fluent/BuilderExtensions.cs | C# | apache-2.0 | 1,760 |
/**
* Copyright (c) 2014 Netflix, 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... | rspieldenner/msl | examples/mslcli/src/main/java/mslcli/common/keyx/JsonWebEncryptionLadderExchangeHandle.java | Java | apache-2.0 | 2,946 |
# Generated by the protocol buffer compiler. DO NOT EDIT!
# Source: google/logging/v2/logging_config.proto for package 'google.logging.v2'
# Original file comments:
# Copyright 2017 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the... | CloudVLab/google-cloud-ruby | google-cloud-logging/lib/google/logging/v2/logging_config_services_pb.rb | Ruby | apache-2.0 | 3,146 |
/*
* 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... | andymalakov/f1x | src/main/java/org/f1x/log/LogFormatter.java | Java | apache-2.0 | 2,999 |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.CodeAnalysis.Text;
using Microsoft.SourceBrowser.Common;
n... | KirillOsenkov/SourceBrowser | src/HtmlGenerator/Pass1-Generation/MetadataAsSource.cs | C# | apache-2.0 | 11,271 |
package cn.xaut.shop.pojo;
/**
* DisputeFile entity. @author MyEclipse Persistence Tools
*/
public class DisputeFile implements java.io.Serializable {
// Fields
/**
*
*/
private static final long serialVersionUID = -1700722068784179239L;
private Integer fileid;
//private Integer disputeid;
private Str... | wanliyang10010/Shop | src/cn/xaut/shop/pojo/DisputeFile.java | Java | apache-2.0 | 867 |
using EPiServer.Commerce.Catalog.ContentTypes;
using EPiServer.Commerce.Catalog.DataAnnotations;
using EPiServer.Core;
using EPiServer.DataAnnotations;
using System.ComponentModel.DataAnnotations;
using EPiServer.Reference.Commerce.Site.Features.Product.Models;
namespace Episerver.DataImporter.Models
{
[CatalogCo... | vnbaaij/QuicksilverB2B | Sources/EPiServer.Reference.Commerce.Site/Features/Product/Models/GenericVariation.cs | C# | apache-2.0 | 1,602 |
#
# Author:: AJ Christensen (<aj@chef.io>)
# Copyright:: Copyright 2008-2016, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# 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
#
# ... | tomdoherty/chef | lib/chef/provider/group/suse.rb | Ruby | apache-2.0 | 2,775 |
package org.epnoi.storage.document;
import org.epnoi.storage.document.domain.ItemDocument;
import org.epnoi.storage.document.repository.BaseDocumentRepository;
import org.epnoi.storage.document.repository.ItemDocumentRepository;
import org.springframework.beans.factory.annotation.Autowired;
/**
* Created by cbadenes... | fitash/epnoi | storage/src/test/java/org/epnoi/storage/document/ItemDocumentRepositoryTest.java | Java | apache-2.0 | 2,315 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/appflow/model/SourceFieldProperties.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{... | awslabs/aws-sdk-cpp | aws-cpp-sdk-appflow/source/model/SourceFieldProperties.cpp | C++ | apache-2.0 | 1,502 |
/*
* C++ sockets on Unix and Windows
* Copyright (C) 2002
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
... | LastSquirrelIT/MultiOneTimePassword-CredentialProvider | CredentialProvider/PracticalSocket.cpp | C++ | apache-2.0 | 11,961 |
Shoes.app width: 300, height: 300 do
fname = File.join(Shoes::DIR, 'static/shoes-icon.png')
background yellow..orange, angle: 90
border fname, strokewidth: 20, curve: 100
fill fname
nostroke
oval 100, 100, 100, 100
end
| thescientician/lightning-timer | samples/sample23.rb | Ruby | apache-2.0 | 231 |
#region License
/*
* 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
... | maxwellb/csharp-driver | src/Cassandra/DataStax/Graph/EnumWrapper.cs | C# | apache-2.0 | 2,676 |
/*
* Copyright 2010-2016 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... | nterry/aws-sdk-java | aws-java-sdk-machinelearning/src/main/java/com/amazonaws/services/machinelearning/model/transform/DescribeBatchPredictionsRequestMarshaller.java | Java | apache-2.0 | 5,541 |
/*
* 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... | hxf0801/guvnor | guvnor-webapp/src/main/java/org/guvnor/shared/GeneralSettings.java | Java | apache-2.0 | 2,624 |
package de.fau.cs.mad.fablab.android.view.fragments.projects;
import de.fau.cs.mad.fablab.android.model.entities.Cart;
public class CartClickedEvent {
private final Cart mCart;
public CartClickedEvent(Cart cart)
{
mCart = cart;
}
public Cart getCart()
{
return mCart;
}
}... | FAU-Inf2/fablab-android | app/src/main/java/de/fau/cs/mad/fablab/android/view/fragments/projects/CartClickedEvent.java | Java | apache-2.0 | 321 |
using System;
using System.IO;
using Metrics;
using Nancy.Routing;
namespace Nancy.Metrics
{
public static class NancyModuleMetricExtensions
{
public static void MetricForRequestTimeAndResponseSize(this INancyModule module, string metricName, string method, string pathPrefix)
{
mod... | Recognos/Metrics.NET | Src/Adapters/Nancy.Metrics/NancyModuleMetricExtensions.cs | C# | apache-2.0 | 6,806 |
package broker
import (
"fmt"
"reflect"
"sync"
"github.com/koding/logging"
"github.com/koding/metrics"
"github.com/koding/rabbitmq"
)
// NewSubscriber creates a new subscriber
func (b *Broker) NewSubscriber() (Subscriber, error) {
l := &Consumer{
// tha app's name
WorkerName: b.AppName,
// which exchan... | alex-ionochkin/koding | go/src/vendor/github.com/koding/broker/subscriber.go | GO | apache-2.0 | 4,757 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media.Animation;
using Granular.Extensions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Granular.Presentation.Tests.Media.Animation
{
[TestClass]
public class EasingFunctionT... | diab0l/Granular | Granular.Presentation.Tests/Media/Animation/EasingFunctionTest.cs | C# | apache-2.0 | 1,320 |
/*
* 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 ... | gnodet/camel | core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleBigQuerySQLEndpointBuilderFactory.java | Java | apache-2.0 | 7,567 |
// -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2009-2011 Google, All Rights reserved
// Copyright 2011-2012 MIT, All rights reserved
// Released under the Apache License, Version 2.0
// http://www.apache.org/licenses/LICENSE-2.0
package com.google.appinventor.components.runtime;
import com.google.appinventor.... | jisqyv/appinventor-sources | appinventor/components/src/com/google/appinventor/components/runtime/LegoMindstormsNxtBase.java | Java | apache-2.0 | 21,905 |
/**
* Generated with Acceleo
*/
package org.wso2.developerstudio.eclipse.gmf.esb.parts.impl;
// Start of user code for imports
import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
import org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent;
import org.eclipse.emf.eef.runtime.api.... | prabushi/devstudio-tooling-esb | plugins/org.wso2.developerstudio.eclipse.gmf.esb.edit/src-gen/org/wso2/developerstudio/eclipse/gmf/esb/parts/impl/EsbDiagramPropertiesEditionPartImpl.java | Java | apache-2.0 | 7,180 |
/*
* Copyright (c) 2016, Peter Abeles. All Rights Reserved.
*
* This file is part of DeepBoof
*
* 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/LIC... | lessthanoptimal/DeepBoof | modules/visualization/src/main/java/deepboof/visualization/PlotControlPanel.java | Java | apache-2.0 | 3,860 |
/*
*
* Copyright 2016 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 ap... | ajoymajumdar/genie | genie-web/src/test/java/com/netflix/genie/web/tasks/TaskUtilsUnitTests.java | Java | apache-2.0 | 2,299 |
/*
* Licensed to GraphHopper GmbH under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* GraphHopper GmbH licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not ... | boldtrn/graphhopper | core/src/main/java/com/graphhopper/config/Profile.java | Java | apache-2.0 | 3,662 |
/*
* Copyright 2015-2016 Red Hat, Inc, and individual contributors.
*
* 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | hal/hal.next | dmr/src/main/java/org/jboss/hal/dmr/Base64.java | Java | apache-2.0 | 1,106 |
'use strict';
var $ = require('jquery');
var $osf = require('js/osfHelpers');
var bootbox = require('bootbox');
var ko = require('knockout');
var oop = require('js/oop');
var Raven = require('raven-js');
var ChangeMessageMixin = require('js/changeMessage');
require('knockout.punches');
ko.punches.enableAll();
var U... | barbour-em/osf.io | website/static/js/accountSettings.js | JavaScript | apache-2.0 | 12,254 |
#! /bin/env python
def mainFunc():
xml_file = open('new.xml', 'r')
out_file = open('newnew.xml', 'w')
for i, line in enumerate(xml_file.readlines()):
print 'processing line %d' % i
line = line.replace(';', '')
line = line.replace('>', '')
line = line.replace('<', '')
... | igemsoftware/HFUT-China_2015 | processXML.py | Python | apache-2.0 | 425 |
/**
* 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... | vergilchiu/hive | ql/src/java/org/apache/hadoop/hive/ql/parse/spark/SparkProcessAnalyzeTable.java | Java | apache-2.0 | 8,691 |
/*
* 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 ... | pdxrunner/geode | geode-core/src/main/java/org/apache/geode/internal/cache/InternalDataView.java | Java | apache-2.0 | 6,979 |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.search;
import org.elasticsearch.action.Actio... | nknize/elasticsearch | x-pack/plugin/async-search/src/main/java/org/elasticsearch/xpack/search/AsyncSearch.java | Java | apache-2.0 | 2,775 |
/*
* 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 ... | shardingjdbc/sharding-jdbc | sharding-orchestration/sharding-orchestration-core/sharding-orchestration-core-common/src/test/java/org/apache/shardingsphere/orchestration/core/common/listener/PostShardingCenterRepositoryEventListenerTest.java | Java | apache-2.0 | 2,915 |
package me.chanjar.weixin.common.bean.result;
import lombok.Builder;
import lombok.Data;
import me.chanjar.weixin.common.util.json.WxGsonBuilder;
import java.io.Serializable;
/**
* 微信错误码说明,请阅读: <a href="http://mp.weixin.qq.com/wiki/10/6380dc743053a91c544ffd2b7c959166.html">全局返回码说明</a>.
*
* @author Daniel Qian
*/... | chunwei/weixin-java-tools | weixin-java-common/src/main/java/me/chanjar/weixin/common/bean/result/WxError.java | Java | apache-2.0 | 867 |