repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
markcowl/azure-sdk-for-net
sdk/servicebus/Azure.Messaging.ServiceBus/src/Administration/Rules/SqlRuleFilter.cs
5087
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Globalization; using Azure.Core; using Azure.Messaging.ServiceBus.Primitives; namespace Azure.Messaging.ServiceBus.Administration { /// <summary> /// Rep...
apache-2.0
cedric-demongivert/unity-voxel
Assets/src/org/rnp/voxel/unity/components/debuggers/MapDebugguer.cs
1912
using System; using System.Collections.Generic; using System.Linq; using System.Text; using org.rnp.voxel.mesh; using org.rnp.voxel.mesh.octree; using org.rnp.voxel.mesh.map; using org.rnp.voxel.unity.components.meshes; using org.rnp.voxel.utils; using UnityEngine; namespace org.rnp.voxel.unity.components.debuggers {...
apache-2.0
hiddow/ifweather
app/src/main/java/com/example/justin/coolweather/activity/WeatherActivity.java
6249
package com.example.justin.coolweather.activity; import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.text.TextUtils; import android.view.View; import android.view.Window; import andro...
apache-2.0
ClueRide/MobiLoc
src/components/components.module.ts
310
import {NgModule} from '@angular/core'; import {AddLocButtonComponent} from './add-loc-button/add-loc-button'; import {IonicPageModule} from "ionic-angular"; @NgModule({ declarations: [AddLocButtonComponent], imports: [IonicPageModule], exports: [AddLocButtonComponent] }) export class ComponentsModule {}
apache-2.0
jonyadamit/elasticsearch-net
src/Nest/QueryDsl/Geo/Shape/Envelope/EnvelopeGeoShape.cs
583
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Nest { public interface IEnvelopeGeoShape : IGeoShape { [JsonProperty("coordinates")] IEnumerable<GeoCoordinate> Coordinates { get; set; } } public class EnvelopeGeoShape : GeoShape, IEnvelo...
apache-2.0
Eljah/tatpollution
src/main/java/com/appspot/MeasurementTLVExceedNotification.java
1116
package com.appspot; import com.googlecode.objectify.annotation.Cache; import com.googlecode.objectify.annotation.Entity; import com.googlecode.objectify.annotation.Id; import com.googlecode.objectify.annotation.Index; import java.io.Serializable; import java.util.Date; /** * Created by eljah32 on 4/16/2018. */ @...
apache-2.0
liygheart/jfinalbbs
src/main/java/co/yiiu/pybbs/service/ISensitiveWordService.java
609
package co.yiiu.pybbs.service; import co.yiiu.pybbs.model.SensitiveWord; import com.baomidou.mybatisplus.core.metadata.IPage; import java.util.List; /** * Created by tomoya. * Copyright (c) 2018, All Rights Reserved. * https://yiiu.co */ public interface ISensitiveWordService { void save(SensitiveWord sensit...
apache-2.0
colorado-code-for-communities/denver_streets
lib/import_parent.py
119
import os, sys parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) sys.path.insert(0,parent_dir)
apache-2.0
GSSBuse/GSSB
src/main/java/com/thinkgem/jeesite/common/wx/oauth/QyAgent.java
12132
/** * 微信企业号开发API * (c) 2012-2014 , MIT Licensed * http://qydev.weixin.qq.com/wiki/index.php */ package com.thinkgem.jeesite.common.wx.oauth; import java.io.IOException; import java.security.KeyManagementException; import java.security.NoSuchAlgorithmException; import java.security.NoSuchProviderExceptio...
apache-2.0
makkus/goji
src/main/java/nz/org/nesi/goji/model/Endpoint.java
6486
/* * Copyright 2011 University of Chicago * * 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...
apache-2.0
aslanbekirov/crate
sql-parser/src/test/java/io/crate/sql/parser/TreeAssertions.java
3253
/* * Licensed to CRATE Technology GmbH ("Crate") under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. Crate licenses * this file to you under the Apache License, Version 2.0 (the "License"); * you may not us...
apache-2.0
gbif/checklistbank
checklistbank-cli/src/main/java/org/gbif/checklistbank/cli/normalizer/Normalizer.java
32987
package org.gbif.checklistbank.cli.normalizer; import com.codahale.metrics.Meter; import com.codahale.metrics.MetricRegistry; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Splitter; import com.google.common.base.Strings; import com.google.common.collect.ImmutableList; import com...
apache-2.0
pegasus-isi/pegasus
test/junit/edu/isi/pegasus/common/util/VariableExpanderTest.java
6319
/** * Copyright 2007-2015 University Of Southern California * * <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 at * * <p>http://www.apache.org/licenses/LICENSE-2.0 * * <p>Unless required b...
apache-2.0
ruilin/RLMap
android/src/com/mapswithme/maps/routing/RoutingPlanController.java
8591
package com.mapswithme.maps.routing; import android.app.Activity; import android.os.Bundle; import android.support.annotation.DrawableRes; import android.support.annotation.IdRes; import android.support.annotation.NonNull; import android.support.annotation.StringRes; import android.view.View; import android.widget.Com...
apache-2.0
moriartyy/elasticsearch160
src/test/java/org/elasticsearch/search/geo/GeoShapeIntegrationTests.java
26221
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
apache-2.0
kolstae/openpipe
openpipe-core/src/main/java/no/trank/openpipe/api/LoggingPipelineExceptionListener.java
1296
/* * Copyright 2007 T-Rank AS * * 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...
apache-2.0
nodakai/watchman
build/fbcode_builder/getdeps/builder.py
46250
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from __future__ import absolute_import, division, print_function, unicode_literals import json import os import shutil...
apache-2.0
AlanKavanagh/dc.js
src/coordinate-grid-mixin.js
35943
/** ## Coordinate Grid Mixin Includes: [Color Mixin](#color-mixin), [Margin Mixin](#margin-mixin), [Base Mixin](#base-mixin) Coordinate Grid is an abstract base chart designed to support a number of coordinate grid based concrete chart types, e.g. bar chart, line chart, and bubble chart. **/ dc.coordinateGridMixin = ...
apache-2.0
elzaggo/pydoop
examples/self_contained/vowelcount/lib/__init__.py
705
# BEGIN_COPYRIGHT # # Copyright 2009-2018 CRS4. # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy # of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agree...
apache-2.0
timkpaine/lantern
experimental/dash/dash-recession-report-demo-master/report_nyt_255.py
16367
# -*- coding: utf-8 -*- import pandas as pd import dash from dash import Dash from dash.dependencies import Input, Output import dash_core_components as dcc import dash_html_components as html import colorlover as cl import numpy as np from flask import Flask from flask_cors import CORS import os df_jobs = pd.read_cs...
apache-2.0
DamianJMurphy/SpineTools-Java
SpineTools-Java/src/org/warlock/spine/messaging/DefaultFileSaveSynchronousResponseHandler.java
4529
/* Copyright 2014 Health and Social Care Information Centre Solution Assurance <damian.murphy@hscic.gov.uk> 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/LICE...
apache-2.0
notnoop/newman
core/src/main/scala/com/notnoop/newman/utils/Utilities.scala
2020
/* * Copyright 2010 Mahmood Ali * * 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...
apache-2.0
ONLYOFFICE/CommunityServer
web/studio/ASC.Web.Studio/Products/CRM/Controls/Contacts/ContactDetailsView.ascx.cs
4500
/* * * (c) Copyright Ascensio System Limited 2010-2021 * * 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...
apache-2.0
project-chip/connectedhomeip
examples/minimal-mdns/advertiser.cpp
13567
/* * * Copyright (c) 2020 Project CHIP 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 requir...
apache-2.0
konradcichy/java_pft
mantis-tests/src/test/java/pl/stqa/pft/mantis/model/MailMessage.java
241
package pl.stqa.pft.mantis.model; /** * Created by Konrad on 20/07/2017. */ public class MailMessage { public String to; public String text; public MailMessage(String to, String text){ this.to = to; this.text = text; } }
apache-2.0
LinuxChristian/home-assistant
homeassistant/components/switch/abode.py
1417
""" This component provides HA switch support for Abode Security System. For more details about this platform, please refer to the documentation at https://home-assistant.io/components/switch.abode/ """ import logging from homeassistant.components.abode import AbodeDevice, DATA_ABODE from homeassistant.components.swi...
apache-2.0
imay/palo
fe/src/main/java/org/apache/doris/common/publish/FixedTimePublisher.java
2497
// 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-2.0
steven-zhc/hummingbird-framework
hummingbird-spi/src/main/java/com/hczhang/hummingbird/util/HBAssert.java
7125
package com.hczhang.hummingbird.util; import org.apache.commons.lang3.StringUtils; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; /** * Created by steven on 9/18/14. */ public class HBAssert extends org.apache.commons.lang3.Validate { /** * <p>HBAssert that the ...
apache-2.0
atelierspierrot/reflectors
src/Reflectors/AbstractReflectionValue.php
2724
<?php /** * This file is part of the Reflectors package. * * Copyright (c) 2015-2016 Pierre Cassat <me@e-piwi.fr> and 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 * *...
apache-2.0
LQJJ/demo
126-go-common-master/app/interface/main/kvo/http/doc.go
1947
package http import ( "strconv" "time" "go-common/library/ecode" "go-common/library/log" bm "go-common/library/net/http/blademaster" ) // doc get document func doc(c *bm.Context) { params := c.Request.Form tsStr := params.Get("timestamp") moduleKey := params.Get("module_key") checkSumStr := params.Get("chec...
apache-2.0
dvdkruk/avroclipse
avroclipse.ui/src/avroclipse/ui/wizards/NewAvroIDLFileWizard.java
4787
package avroclipse.ui.wizards; import org.eclipse.jface.viewers.IStructuredSelection; import org.eclipse.jface.wizard.Wizard; import org.eclipse.ui.INewWizard; import org.eclipse.ui.IWorkbench; import org.eclipse.core.runtime.*; import org.eclipse.jface.operation.*; import java.lang.reflect.InvocationTargetException; ...
apache-2.0
awsdocs/aws-doc-sdk-examples
.dotnet/example_code_legacy/S3/S3Examples/UploadObjectUsingPresignedURLTest.cs
2452
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: MIT-0 // snippet-start:[s3.dotNET.UploadObjectUsingPresignedURLTest] using Amazon; using Amazon.S3; using Amazon.S3.Model; using System; using System.IO; using System.Net; namespace Amazon.DocSamples.S3 { class Uploa...
apache-2.0
oakmound/oak
audio/load.go
2869
package audio import ( "path/filepath" audio "github.com/oakmound/oak/v3/audio/klang" "github.com/oakmound/oak/v3/audio/mp3" "github.com/oakmound/oak/v3/audio/wav" "golang.org/x/sync/errgroup" "github.com/oakmound/oak/v3/dlog" "github.com/oakmound/oak/v3/fileutil" "github.com/oakmound/oak/v3/oakerr" ) // Da...
apache-2.0
luiqn2007/miaowo
app/src/main/java/org/miaowo/miaowo/ui/PinchImageView.java
60091
package org.miaowo.miaowo.ui; import android.animation.ValueAnimator; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.Canvas; import android.graphics.Matrix; import android.graphics.PointF; import android.graphics.RectF; import android.util.AttributeSet; import android.v...
apache-2.0
sdaschner/siren4javaee
src/main/java/com/sebastian_daschner/siren4javaee/EntityReader.java
6631
package com.sebastian_daschner.siren4javaee; import javax.json.*; import javax.ws.rs.HttpMethod; import javax.ws.rs.core.MediaType; import java.io.Serializable; import java.net.URI; import java.util.Objects; /** * Reads Siren entities from JSONP {@link JsonObject}s. * * @author Sebastian Daschner */ public class ...
apache-2.0
teppeis/closure-library
closure/goog/i18n/currency.js
16336
// Copyright 2009 The Closure Library 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 requ...
apache-2.0
elitehuang/coolweather
app/src/main/java/com/happy/model/Province.java
653
package com.happy.model; /** * Created by 黄金云 on 2017/8/11. */ public class Province { private int id; private String provinceName; private String provinceCode; public int getId() { return id; } public String getProvinceName() { return provinceName; } public void s...
apache-2.0
aead/minio
cmd/bucket-metadata-sys.go
11598
/* * MinIO Cloud Storage, (C) 2020 MinIO, 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 la...
apache-2.0
sindicate/solidbase
src/main/java/solidbase/util/SQLTokenizer.java
12753
/*-- * Copyright 2010 René M. de Bloois * * 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 ...
apache-2.0
LQJJ/demo
126-go-common-master/app/job/main/aegis/service/service_test.go
409
package service import ( "context" "flag" "testing" "go-common/app/job/main/aegis/conf" "go-common/library/log" ) var ( s *Service ) func initConf() { if err := conf.Init(); err != nil { panic(err) } log.Init(conf.Conf.Log) } func init() { flag.Set("conf", "../cmd/aegis-job.toml") initConf() s = New(...
apache-2.0
jiaozhujun/c3f
src-base/com/youcan/base/tag/TagModel.java
7555
package com.youcan.base.tag; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import com.youcan.core.l; import com.youcan.core.db.Db; public class TagModel { /** * 根据关键字 分页查询标签列表集合 * * @param qw * - 标签关键字 * @param start * ...
apache-2.0
cocoatomo/asakusafw
windgate-project/asakusa-windgate-retryable/src/main/java/com/asakusafw/windgate/retryable/RetryableProcessProvider.java
4949
/** * Copyright 2011-2017 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...
apache-2.0
anatagadaisukidesu/leadcom.isp
app/src/main/java/com/gzlk/android/isp/helper/DialogHelper.java
10375
package com.gzlk.android.isp.helper; import android.content.DialogInterface; import android.support.annotation.IntDef; import android.support.v7.app.AlertDialog; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.view.ViewGroup; import android.view.Window; import android.view.Win...
apache-2.0
futureplatforms/Kirin
src/common/kirin-core/src/main/java/com/futureplatforms/kirin/dependencies/xml/parser/Text.java
109
package com.futureplatforms.kirin.dependencies.xml.parser; public interface Text extends CharacterData { }
apache-2.0
codesoftware/NSIGEMCO
src/main/java/co/com/codesoftware/servicio/importacion/ProveedorInterEntity.java
3801
package co.com.codesoftware.servicio.importacion; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * <p>Clase Java para proveedorInterEntity complex type. * * <p>El siguiente fragmento de esquema especifica el conteni...
apache-2.0
hhoshina/rails5
app/models/photo.rb
74
class Photo < ActiveRecord::Base mount_uploader :file, FileUploader end
apache-2.0
Pardus-Engerek/engerek
model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestIteration.java
113010
/* * Copyright (c) 2010-2017 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...
apache-2.0
Huawei/OpenStackClient_VBS
vbclient/v1/job_mgr.py
1008
#!/usr/bin/env python # -*- coding: utf-8 -*- # 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...
apache-2.0
madfroglx/prod
uac/src/main/java/com/zjhcsoft/uac/log/action/AccountLogAction.java
6747
package com.zjhcsoft.uac.log.action; import java.io.IOException; import java.io.OutputStream; import java.net.URLEncoder; import java.util.Date; import java.util.List; import java.util.Map; import javax.annotation.Resource; import javax.servlet.http.HttpServletResponse; import org.apache.log4j.Logger; import org.roo...
apache-2.0
ibek/sepro
test/src/test/java/org/jboss/sepro/test/jms/EchoJMSTest.java
3058
/* * JBoss, Home of Professional Open Source * Copyright 2014, Red Hat, Inc. and/or its affiliates, 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"); * y...
apache-2.0
mhurne/aws-sdk-java
aws-java-sdk-cognitoidp/src/main/java/com/amazonaws/services/cognitoidp/model/transform/AdminDisableUserRequestMarshaller.java
3259
/* * 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...
apache-2.0
JNOSQL/diana-driver
couchbase-driver/src/test/java/org/jnosql/diana/couchbase/key/CouchbaseListTest.java
7609
/* * Copyright (c) 2017 Otávio Santana and others * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distribution. * The Eclipse Public License is available at http://ww...
apache-2.0
sonu283304/onos
core/api/src/test/java/org/onosproject/net/newresource/DiscreteResourceTest.java
3907
/* * Copyright 2016 Open Networking 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 * * Unless required by applicable la...
apache-2.0
ExC0d3/Hilary
node_modules/oae-following/lib/search/searches/following.js
4153
/*! * Copyright 2014 Apereo Foundation (AF) Licensed under the * Educational Community 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://opensource.org/licenses/ECL-2.0 * * Unless required by applicab...
apache-2.0
mhidaka/playgroundthon
Engine/source/UISystem/CKLBUIButton.cpp
3535
/* Copyright 2013 KLab 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 ...
apache-2.0
Xeralux/tensorflow
tensorflow/core/common_runtime/eager/context.cc
5032
/* Copyright 2018 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...
apache-2.0
SMB-TEC/extended-objects
neo4j/src/test/java/com/buschmais/xo/neo4j/test/relation/implicit/ImplicitRelationTest.java
2305
package com.buschmais.xo.neo4j.test.relation.implicit; import com.buschmais.xo.api.XOManager; import com.buschmais.xo.api.bootstrap.XOUnit; import com.buschmais.xo.neo4j.test.AbstractNeo4jXOManagerTest; import com.buschmais.xo.neo4j.test.relation.implicit.composite.A; import com.buschmais.xo.neo4j.test.relation.implic...
apache-2.0
flyersa/MuninMX
src/com/clavain/jobs/CustomJob.java
2820
/* * MuninMX * Written by Enrico Kern, kern@clavain.com * www.clavain.com * * 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...
apache-2.0
omidfi/FarsiAlphabet-Android
FarsiAlphabetHelper/src/com/ahuralab/farsialphabet/FarsiFragment.java
221
/** * */ package com.ahuralab.farsialphabet; import android.app.Fragment; /** * @author pani * */ public class FarsiFragment extends Fragment { public static final String ARG_PLANET_NUMBER = "planet_number"; }
apache-2.0
google/fest
third_party/fest-swing-junit/src/test/java/org/fest/swing/junit/xml/XmlAttribute_equals_Test.java
1874
/* * Created on Apr 12, 2009 * * 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...
apache-2.0
houdunwang/hdphp
vendor/houdunwang/aliyun/aliyun-openapi-php-sdk-master/aliyun-php-sdk-ons/Ons/Request/V20170918/OnsSubscriptionSearchRequest.php
1998
<?php /* * 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")...
apache-2.0
jior/glaf
workspace/glaf-base/src/main/java/com/glaf/base/utils/upload/FileUploadListener.java
1889
/* 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...
apache-2.0
circle314/circle314
src/Component/Data/ValueObject/Native/Integer/NativeDVOIDSmall.php
549
<?php namespace Circle314\Component\Data\ValueObject\Native\Integer; use Circle314\Component\Data\ValueObject\AbstractDVO; use Circle314\Component\Data\ValueObject\Traits\DefaultValue\DefaultNoneTrait; use Circle314\Component\Data\ValueObject\Traits\RefreshType\RefreshTypeIntegerSmallPositiveTrait; /** * Class Nati...
apache-2.0
Zelnox/cruisecontrolrb
lib/builder_plugins/campfire_notifier.rb
5456
# Publish build status in a Campfire room. # Requires the tinder gem: sudo gem install tinder. # # Based on Marc-André Cournoyer‘s campfire notifier # http://code.macournoyer.com/svn/scout/trunk/extra/campfire_notifier.rb # # Adding the following lines to /path/to/builds/your_project/cruise_config.rb # <pre><code> # ...
apache-2.0
Yannic/closure-compiler
externs/browser/nonstandard_fileapi.js
29966
/* * Copyright 2019 The Closure Compiler Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
apache-2.0
expressmapper/ExpressMapper
ExpressMapper NETCORE/Properties/AssemblyInfo.cs
1081
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Exp...
apache-2.0
InspectorWidget/blockly
msg/js/mk.js
39095
// This file was automatically generated. Do not modify. 'use strict'; goog.provide('Blockly.Msg.mk'); goog.require('Blockly.Msg'); Blockly.Msg.ACCESSIBLES_DEFAULT_NAME = "accessible"; // untranslated Blockly.Msg.ACCESSIBLES_GET_CREATE_SET = "Create 'set %1'"; // untranslated Blockly.Msg.ACCESSIBLES_GET_HELPURL ...
apache-2.0
cocoatomo/asakusafw
mapreduce/compiler/core/src/main/java/com/asakusafw/compiler/flow/external/ExternalIoAnalyzer.java
6711
/** * Copyright 2011-2017 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...
apache-2.0
zbw911/CasServer
Presentation/WebApp/Global.asax.cs
1531
// *********************************************************************************** // Created by zbw911 // 创建于:2013年06月03日 16:48 // // 修改于:2013年06月03日 17:24 // 文件名:CASServer/WebApp/Global.asax.cs // // 如果有更好的建议或意见请邮件至 zbw911#gmail.com // ***********************************************************...
apache-2.0
ambasta/aws-sdk-cpp
aws-cpp-sdk-rds/source/model/DescribePendingMaintenanceActionsRequest.cpp
1799
/* * 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 "license" fil...
apache-2.0
AraHaanOrg/aiohttp
tests/test_connector.py
33863
"""Tests of http client with custom Connector""" import asyncio import gc import os.path import platform import shutil import socket import ssl import tempfile import unittest from unittest import mock import pytest from yarl import URL import aiohttp from aiohttp import client, helpers, web from aiohttp.client impo...
apache-2.0
krasserm/ipf
platform-camel/ihe/xds/src/main/java/org/openehealth/ipf/platform/camel/ihe/xds/iti61/Iti61Service.java
2320
/* * Copyright 2012 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 applicab...
apache-2.0
morsdatum/ArangoDB
js/server/tests/aql-modify-cluster.js
47262
/*jshint strict: false, maxlen: 500 */ /*global require, assertEqual, assertFalse, assertNull */ //////////////////////////////////////////////////////////////////////////////// /// @brief tests for query language, bind parameters /// /// @file /// /// DISCLAIMER /// /// Copyright 2010-2012 triagens GmbH, Cologne, Ger...
apache-2.0
googleapis/java-service-control
proto-google-cloud-service-control-v1/src/main/java/com/google/api/servicecontrol/v1/MetricValueSet.java
36025
/* * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
apache-2.0
noikiy/go2o
core/variable/config_keys.go
1355
/** * Copyright 2014 @ z3q.net. * name : * author : jarryliu * date : 2014-02-05 21:53 * description : * history : */ package variable const ( Version = "version" // 经验值对金额的比例 EXP_BIT = "exp_fee_bit" //域名 ServerDomain = "server_domain" ApiDomain = "api_domain" //静态服务器 StaticServer = "static_server...
apache-2.0
twitter/storehaus
storehaus-cache/src/main/scala/com/twitter/storehaus/cache/HHFilteredCache.scala
6205
/* * Copyright 2013 Twitter 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...
apache-2.0
yuzhongyousida/struts-2.3.1.2
src/core/src/test/java/org/apache/struts2/views/jsp/URLTagTest.java
22665
/* * $Id: URLTagTest.java 768659 2009-04-26 05:45:28Z wesw $ * * 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 ...
apache-2.0
daviddrysdale/python-phonenumbers
python/phonenumbers/shortdata/region_TZ.py
939
"""Auto-generated file, do not edit by hand. TZ metadata""" from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata PHONE_METADATA_TZ = PhoneMetadata(id='TZ', country_code=None, international_prefix=None, general_desc=PhoneNumberDesc(national_number_pattern='[149]\\d\\d(?:\\d{2})?', possible_lengt...
apache-2.0
ixtf/japp-execution
server/src/main/java/org/jzb/execution/application/command/FeedbackTemplateUpdateCommand.java
780
package org.jzb.execution.application.command; import org.hibernate.validator.constraints.NotBlank; import org.jzb.execution.domain.data.Field; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; import java.io.Serializable; import java.util.List; /** * Created by jzb on 17-2-27. ...
apache-2.0
vjanmey/EpicMudfia
com/planet_ink/coffee_mud/Abilities/Prayers/Prayer_ChainStrike.java
4887
package com.planet_ink.coffee_mud.Abilities.Prayers; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com....
apache-2.0
foursquare/pants
src/python/pants/backend/jvm/targets/jvm_binary.py
15128
# coding=utf-8 # Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import absolute_import, division, print_function, unicode_literals import re from hashlib import sha1 from future.utils import string_types from pants.bac...
apache-2.0
pupudu/analytics-dashboard
components/analytics-dashboard/org.wso2.carbon.analytics.dashboard.stub/target/generated-code/src/org/wso2/carbon/analytics/dashboard/admin/GetWidgetResponse.java
19859
/** * GetWidgetResponse.java * * This file was auto-generated from WSDL * by the Apache Axis2 version: 1.6.1-wso2v10 Built on : Apr 16, 2014 (01:16:09 UTC) */ package org.wso2.carbon.analytics.dashboard.admin; /** * GetWidgetResponse bean class...
apache-2.0
cherimojava/orchidae
server/src/main/java/com/github/cherimojava/orchidae/util/FileUtil.java
2771
/** * Copyright (C) 2014 cherimojava (http://github.com/cherimojava/orchidae) 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...
apache-2.0
GoogleCloudPlatform/dataflow-sample-applications
retail/retail-java-applications/data-engineering-dept/business-logic/src/main/java/com/google/dataflow/sample/retail/businesslogic/core/transforms/clickstream/ValidateAndCorrectCSEvt.java
5949
/* * 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 ...
apache-2.0
bpupadhyaya/scala-programs-collection
scala-programs-collection/src/main/scala/com/equalinformation/scala/programs/gui/spreadsheet/Main.scala
307
package com.equalinformation.scala.programs.gui.spreadsheet import scala.swing._ /** * Due to: Martin Odersky * Re-Created by bpupadhyaya on 6/24/16. */ object Main extends SimpleSwingApplication { def top = new MainFrame { title = "Sample Sheet" contents = new Spreadsheet(100,30) } }
apache-2.0
jentfoo/aws-sdk-java
aws-java-sdk-codedeploy/src/main/java/com/amazonaws/services/codedeploy/model/transform/SkipWaitTimeForInstanceTerminationRequestProtocolMarshaller.java
2983
/* * Copyright 2014-2019 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 "licen...
apache-2.0
cogswell-io/cogs-java-client-sdk
src/main/java/com/gambit/sdk/request/GambitRequestEvent.java
19174
package com.gambit.sdk.request; import com.gambit.sdk.GambitRequest; import com.gambit.sdk.GambitResponse; import com.gambit.sdk.exceptions.CogsException; import com.gambit.sdk.response.GambitResponseEvent; import org.json.JSONObject; import javax.xml.bind.DatatypeConverter; import java.io.IOException; import java.ne...
apache-2.0
u0hz/FineUI
src/FineUI/Business/Config/Constants.cs
7316
 #region Comment /* * Project: FineUI * * FileName: Constants.cs * CreatedOn: 2008-04-07 * CreatedBy: 30372245@qq.com * * * Description: * -> * * History: * * * * * */ #endregion using System; using System.Collections.Generic; using System.T...
apache-2.0
dropbox/DropboxBusinessScripts
Users/ListMembers.py
7509
import urllib2 import json import argparse import csv import sys reload(sys) sys.setdefaultencoding('UTF8') parser = argparse.ArgumentParser(description='Lists members on a Dropbox for Business Team') parser.add_argument( '-q', '--quota', action='store_const', const=True, default=False, dest='quota', ...
apache-2.0
joewalnes/idea-community
java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/artifacts/sourceItems/actions/PutSourceItemIntoDefaultLocationAction.java
2616
/* * Copyright 2000-2009 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...
apache-2.0
vespa-engine/vespa
container-search/src/main/java/com/yahoo/prelude/query/parser/CustomParser.java
1262
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.prelude.query.parser; import com.yahoo.language.Language; import com.yahoo.prelude.IndexFacts; import com.yahoo.prelude.query.Item; import com.yahoo.search.query.parser.Parser; import java.util.C...
apache-2.0
AdamCarroll/vh-sandbox
core/src/test/java/io/github/vocabhunter/analysis/grid/TextGridBuilderTest.java
928
/* * Open Source Software published under the Apache Licence, Version 2.0. */ package io.github.vocabhunter.analysis.grid; import org.junit.jupiter.api.Test; import static io.github.vocabhunter.analysis.grid.GridTestTool.*; import static java.util.Collections.emptyList; import static org.junit.jupiter.api.Assertio...
apache-2.0
williamverdolini/disciturCQRSES
Discitur.Infrastructure/Sagas/InMemorySagaIdStore.cs
2623
using CommonDomain; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Discitur.Infrastructure.Sagas { // thanks to rucka. https://github.com/rucka/RealWorldCqrs/blob/master/ManagedDesigns.RealWorldCqrs.Core/Infrastructure/ISagaIdStore.cs ...
apache-2.0
ReactiveX/RxJava
src/test/java/io/reactivex/rxjava3/internal/observers/BasicQueueDisposableTest.java
1668
/* * Copyright (c) 2016-present, RxJava 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
apache-2.0
herickson/terremark-api
src/main/java/com/terremark/api/Networks.java
1946
package com.terremark.api; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for Networks complex type. * ...
apache-2.0
aws/aws-sdk-java
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/InstanceFamilyCreditSpecification.java
6665
/* * Copyright 2017-2022 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 "licen...
apache-2.0
brandonmartinez/MM.Framework
MM.Framework/Data/SqlDataAccessObject.cs
7590
using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Data.SqlClient; using System.Linq; namespace MM.Framework.Data { /// <summary> /// Exposes and simplifies common ADO.NET database operations with SQL Server /// </summary> /// <remarks> /// Extracted...
apache-2.0
stdlib-js/stdlib
lib/node_modules/@stdlib/blas/ext/base/dcusum/lib/ndarray.native.js
2267
/** * @license Apache-2.0 * * Copyright (c) 2020 The Stdlib 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 a...
apache-2.0
chuxini/minithink
application/system/model/Menu.php
831
<?php namespace app\system\model; /* * * Created by PhpStorm. * Author: 初心 [jialin507@foxmail.com] * Date: 2017/3/27 */ use think\Model; class Menu extends Model { // 关闭自动写入update_time字段 protected $updateTime = false; public function getLinkAttr($value) { !$value && $value = '无'; ret...
apache-2.0
OpenConext/OpenConext-engineblock
theme/base/javascripts/utility/addClickHandlerOnce.js
553
import {getData} from './getData'; /** * Ensure a click handler is only added once to the element. * * @param elementSelector * @param callback */ export const addClickHandlerOnce = (elementSelector, callback) => { const element = document.querySelector(elementSelector); const hasClickHandler = getData(elemen...
apache-2.0