repo_name
stringlengths
4
116
path
stringlengths
4
379
size
stringlengths
1
7
content
stringlengths
3
1.05M
license
stringclasses
15 values
jeltz/rust-debian-package
src/test/run-pass/iter-contains.rs
895
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or ...
apache-2.0
brunexmg/saude
src/test/java/com/oficina/saude/SaudepublicaApplicationTests.java
340
package com.oficina.saude; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest public class SaudepublicaApplicationTests { @Test public void con...
apache-2.0
medfreeman/remark-generic-extensions
src/locators/inline.js
126
const inlineExtensionLocator = (value, fromIndex) => value.indexOf("!", fromIndex); export default inlineExtensionLocator;
apache-2.0
peterarsentev/junior
chapter_013/src/main/java/ru/job4j/pattern/Messenger.java
85
package ru.job4j.pattern; public interface Messenger<T> { void send(T event); }
apache-2.0
Avetius/list.am_automation
list.casper.js
4521
/** * Created by avet.sargsyan@gmail.com on 9/9/17. */ // Այս կոդը browser-ի ավտոմատացման օրինակ է, որը իրականացնում է հայտարարության ավտոմատացված ավելացում list.am կայքում // Ամեն էջում կատարած գործողություններից հետո արվում է screenshot, որը պահվում է list.am դիրեկտորիայում var casper = require('casper').creat...
apache-2.0
limoncello-php/framework
components/Events/tests/Data/Events/CreatedEvent.php
826
<?php declare(strict_types=1); namespace Limoncello\Tests\Events\Data\Events; /** * Copyright 2015-2019 info@neomerx.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://ww...
apache-2.0
CINERGI/SciGraph
SciGraph-core/src/test/java/io/scigraph/util/GraphTestBase.java
3737
/** * Copyright (C) 2014 The SciGraph 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
MaferYangPointJun/Spring.net
test/Spring/Spring.Data.Tests/Data/Common/DbParametersTests.cs
2302
#region License /* * Copyright © 2002-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 * * Un...
apache-2.0
x19990416/macrossx-guice
src/wechat/java/com/macrossx/wechat/entity/server/WechatTextRequest.java
1113
/** * Copyright (C) 2016 X-Forever. * * 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
jucimarjr/IPC_2017-1
lista08/ipc/matriz.py
7760
# Biblioteca de funções para as matrizes import random # função para criar matriz de ordem n x m def cria_matriz(n, m): matriz = [] for i in range(n): list = [] for j in range(m): # serão inseridos valores aleatórios na matriz (entre 1 e 4) value = random.randint(1, 4)...
apache-2.0
owlabs/incubator-airflow
airflow/example_dags/example_xcom.py
2175
# -*- coding: utf-8 -*- # # 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 #...
apache-2.0
Banbury/cartwheel-3d
Python/App/__init__.py
179
from SNMApp import SNMApp from SnapshotTree import SnapshotBranch, Snapshot from ObservableList import ObservableList import Scenario import InstantChar import KeyframeEditor
apache-2.0
andrewlarkin/Photo-Rainbow
UnitTests/FlickrManagerTests.cs
1233
using System; namespace UnitTests { using NUnit.Framework; using Photo_Rainbow; using Moq; using FlickrNet; [TestFixture] public class FlickrManagerTests { private static FlickrManager f; private static Mock<FlickrManager> fMock; [SetUp] ...
apache-2.0
duwenjun199081/qihaosou
library_okhttputils/src/main/java/com/lzy/okhttputils/request/BaseRequest.java
10992
package com.lzy.okhttputils.request; import android.support.annotation.NonNull; import com.lzy.okhttputils.L; import com.lzy.okhttputils.OkHttpUtils; import com.lzy.okhttputils.SystemUtils; import com.lzy.okhttputils.callback.AbsCallback; import com.lzy.okhttputils.https.HttpsUtils; import com.lzy.okhttputils.https.T...
apache-2.0
m-m-m/client
ui/widget/impl-native-javafx/src/main/java/net/sf/mmm/client/ui/impl/javafx/widget/adapter/UiWidgetAdapterJavaFxLabeled.java
752
/* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0 */ package net.sf.mmm.client.ui.impl.javafx.widget.adapter; import javafx.scene.control.Labeled; /** * This is the implementation of {@link net.sf.mmm.client.ui.base.widget.adapter.UiWidgetAd...
apache-2.0
taktos/ea2ddl
ea2ddl-dao/src/main/java/jp/sourceforge/ea2ddl/dao/bsbhv/BsTDiagramtypesBhv.java
12492
package jp.sourceforge.ea2ddl.dao.bsbhv; import java.util.List; import org.seasar.dbflute.*; import org.seasar.dbflute.cbean.ConditionBean; import org.seasar.dbflute.cbean.EntityRowHandler; import org.seasar.dbflute.cbean.ListResultBean; import org.seasar.dbflute.cbean.PagingBean; import org.seasar.dbflute.c...
apache-2.0
aayushkapoor206/whatshot
node_modules/angular2/src/web_workers/shared/render_view_with_fragments_store.js
7278
'use strict';var __extends = (this && this.__extends) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; var __decorate = (this && this.__decorate) || fun...
apache-2.0
Intacct/intacct-sdk-php
src/Intacct/Functions/AccountsPayable/ApPaymentDelete.php
892
<?php /** * Copyright 2021 Sage Intacct, 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 * * or in the "LICENSE" file accompanyin...
apache-2.0
pkimber/hatherleighcommunitycentre_couk
settings/dev_patrick.py
518
# -*- encoding: utf-8 -*- from .local import * DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'test_www_hatherleighcommunitycentre_co_uk_patrick', 'USER': 'patrick', 'PASSWORD': '', 'HOST': '', 'PORT': '', } } #DATABASES...
apache-2.0
themarkypantz/kafka
core/src/test/scala/integration/kafka/api/EndToEndClusterIdTest.scala
10237
/** * 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"); yo...
apache-2.0
siuccwd/IOER
DataAccess/IoerContentBusinessEntities/Library_MemberSummary.cs
1712
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerate...
apache-2.0
gzsombor/ranger
agents-common/src/main/java/org/apache/ranger/plugin/policyevaluator/RangerValidityScheduleEvaluator.java
26520
/* * 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
subhrajyotim/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/util/ParseUtil.java
2972
package org.camunda.bpm.engine.impl.util; import java.util.Arrays; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.camunda.bpm.engine.ProcessEngineException; import org.camunda.bpm.engine.exception.NotValidException; import org.camunda.bpm.engine.impl.ProcessEngineLogger; import org.camunda...
apache-2.0
macosforge/ccs-calendarserver
twistedcaldav/datafilters/test/test_calendardata.py
9902
## # Copyright (c) 2009-2017 Apple Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
apache-2.0
matiu2/cdnalizer
src/apache/utils.hpp
2121
#pragma once /** * Utilitiies to help make the C more ++ier * * © Copyright 2014 Matthew Sherborne. All Rights Reserved. * License: Apache License, Version 2.0 (See LICENSE.txt) **/ #include <cassert> #include <stdexcept> #include <memory> extern "C" { #include <apr_buckets.h> } namespace cdnalizer { namespace ...
apache-2.0
ivannaranjo/google-api-dotnet-client
Src/Generated/Google.Apis.Reseller.v1/Google.Apis.Reseller.v1.cs
73275
// 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 the ...
apache-2.0
hoangelos/Herd
bin/herd-manager.py
2454
#!/usr/bin/env python # -*- coding: utf-8 -*- ## Copyright 2012 Peter Halliday ## ## 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...
apache-2.0
darranl/directory-shared
ldap/extras/codec-api/src/main/java/org/apache/directory/api/ldap/extras/extended/gracefulShutdown/GracefulShutdownRequest.java
2414
/* * 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
Shockah/tModLoader-Mods
Shockah.ItemAffix/Content/Hidden Potential/HiddenPotentialHitRequirement.cs
1069
using Shockah.Affix.Utils; using Terraria; namespace Shockah.Affix.Content { public class HiddenPotentialHitRequirement : HiddenPotentialIntRequirement { public static readonly TagDeserializer<HiddenPotentialHitRequirement> DESERIALIZER = new TagDeserializer<HiddenPotentialHitRequirement>(tag => { HiddenPote...
apache-2.0
apptik/MultiView
galleryview/src/main/java/io/apptik/multiview/galleryview/scaleimage/gestures/VersionedGestureDetector.java
1554
package io.apptik.multiview.galleryview.scaleimage.gestures; /******************************************************************************* * Copyright 2011, 2012 Chris Banes. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. *...
apache-2.0
dorzey/assertj-core
src/test/java/org/assertj/core/api/charsequence/CharSequenceAssert_containsSequence_Test.java
1370
/** * 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 ...
apache-2.0
asterd/BootsFaces-OSP
src/main/java/net/bootsfaces/render/Tooltip.java
6033
/** * Copyright 2014-16 by Riccardo Massera (TheCoder4.Eu) and Stephan Rauh (http://www.beyondjava.net). * * This file is part of BootsFaces. * * 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 Licens...
apache-2.0
ChillingVan/android-openGL-canvas
canvasglsample/src/main/java/com/chillingvan/canvasglsample/text/DrawTextActivity.java
2750
package com.chillingvan.canvasglsample.text; import android.graphics.SurfaceTexture; import android.os.Bundle; import android.os.CountDownTimer; import android.support.v7.app.AppCompatActivity; import android.view.Surface; import android.view.View; import android.widget.TextView; import com.chillingvan.canvasgl.glcan...
apache-2.0
stephanie-wang/ray
streaming/java/streaming-runtime/src/main/java/org/ray/streaming/runtime/core/graph/executiongraph/ExecutionJobVertex.java
4349
package org.ray.streaming.runtime.core.graph.executiongraph; import com.google.common.base.MoreObjects; import com.google.common.base.Preconditions; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.ray.api.RayActor; import org.ray.streaming.jobgraph.JobVerte...
apache-2.0
AutomationRockstars/Design
design/gir-webdriver/src/main/java/com/automationrockstars/design/gir/webdriver/plugin/UiDriverPlugin.java
770
/* * <!-- * Copyright (c) 2015-2019 Automation RockStars Ltd. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License v2.0 * which accompanies this distribution, and is available at * http://www.apache.org/licenses/LICENSE-2...
apache-2.0
apache/hadoop-mapreduce
src/java/org/apache/hadoop/mapreduce/QueueAclsInfo.java
2334
/** * 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
cogitate/twitter-zipkin-uuid
zipkin-common/src/main/scala/com/twitter/zipkin/storage/util/SpanStoreValidator.scala
9947
/* * Copyright 2014 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 t...
apache-2.0
kagenonn/CTR_WEB
WebTemplate/WebTemplate/Controllers/SubmitBTRController.cs
319
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace WebTemplate.Controllers { public class SubmitBTRController : Controller { // GET: SubmitBTR public ActionResult Index() { return View(); } } }
apache-2.0
sfxcode/sapphire-extension
src/test/scala/com/sfxcode/sapphire/extension/property/BeanItemSpec.scala
2093
package com.sfxcode.sapphire.extension.property import java.util import com.sfxcode.sapphire.core.value.FXBean import com.sfxcode.sapphire.extension.test.{ Person, PersonDatabase } import com.typesafe.scalalogging.LazyLogging import org.specs2.mutable.Specification class BeanItemSpec extends Specification with LazyL...
apache-2.0
aws/aws-sdk-java
aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/transform/CountryMarshaller.java
2204
/* * 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
wutongservice/virtualgoogdsman
marketfull/src/com/borqs/market/view/LightProgressDialog.java
2721
/* * Copyright 2012 GitHub 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 ...
apache-2.0
VHAINNOVATIONS/Telepathology
Source/Java/CoreRouterAnnotationProcessor/main/src/java/gov/va/med/imaging/core/annotations/FacadeRouterTesterAnnotationProcessor.java
1901
/** * Package: MAG - VistA Imaging WARNING: Per VHA Directive 2004-038, this routine should not be modified. Date Created: May 6, 2011 Site Name: Washington OI Field Office, Silver Spring, MD Developer: VHAISWWERFEJ Description: ;; +-------------------------------------------------------------...
apache-2.0
yangjunlin-const/WhileTrueCoding
JavaBase/src/main/java/com/yjl/javabase/thinkinjava/strings/Splitting.java
1006
package com.yjl.javabase.thinkinjava.strings;//: strings/Splitting.java import java.util.*; public class Splitting { public static String knights = "Then, when you have found the shrubbery, you must " + "cut down the mightiest tree in the forest... " + "with... a herring!"; public static void split(Str...
apache-2.0
mcxiaoke/python-labs
archives/fanfou/backup.py
2562
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Author: mcxiaoke # @Date: 2015-08-06 07:23:50 import fanfou import utils import time import sys from db import DB DEFAULT_COUNT = 60 def fetch_newer_statuses(api, uid): # first ,check new statuses db = DB('%s.db' % uid) head_status = db.get_latest_statu...
apache-2.0
azusa/hatunatu
hatunatu/src/main/java/jp/fieldnotes/hatunatu/dao/handler/BasicReturningRowsBatchHandler.java
4894
/* * Copyright 2004-2015 the Seasar Foundation and the Others. * * 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 ...
apache-2.0
davidzchen/bazel
src/main/java/net/starlark/java/annot/processor/StarlarkMethodProcessor.java
21482
// Copyright 2018 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
apache-2.0
force1267/minirush
js/graphic.js
1356
module.exports = ((objects) => { var graphic = {}; graphic.FPS = 0; graphic.objects = objects ? objects : []; var cvs = graphic.cvs = document.getElementById("cvs"); var ctx = graphic.ctx = cvs.getContext("2d"); graphic.sprite = ((obj) => { var spr = obj.sprite = {}; spr.object ...
apache-2.0
WIZARD-CXY/cf-cassandra-broker
spec/models/service_spec.rb
5093
require 'spec_helper' describe Service do describe '.build' do before do allow(Plan).to receive(:build) end it 'sets fields correct' do service = Service.build( 'id' => 'my-id', 'name' => 'my-name', 'description' => 'my description', 'tags' ...
apache-2.0
SergiusIW/ton
src/main/java/com/matthewmichelotti/ton/internal/parser/nodes/ParentNode.java
1266
/* * Copyright 2015-2016 Matthew D. Michelotti * * 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
xfmysql/itouchstudio
index/Tpl/encodei/Public/static/hm.js
21317
(function(){var h={},mt={},c={id:"e23f8e2a52042baf776f12680f3b7cad",dm:["zmingcx.com"],js:"tongji.baidu.com/hm-web/js/",etrk:[],icon:'',ctrk:false,align:-1,nv:-1,vdur:1800000,age:31536000000,rec:1,rp:[],trust:0,vcard:0,qiao:0,lxb:0,conv:0,comm:0,apps:''};var p=!0,q=null,r=!1;mt.i={};mt.i.Ia=/msie (\d+\.\d+)/i.test(navi...
apache-2.0
u0hz/FineUI
src/FineUI/BaseWebControls/BoxComponent.Container.PanelBase/PanelBase.cs
38589
 #region Comment /* * Project: FineUI * * FileName: PanelBase.cs * CreatedOn: 2008-05-07 * CreatedBy: 30372245@qq.com * * * Description: * -> * * History: * -> * * * * */ #endregion using System; using System.Collections.Generic; using System....
apache-2.0
justinmuller/buck
src/com/facebook/buck/jvm/java/KeystoreDescription.java
1826
/* * Copyright 2014-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
apache-2.0
jfindley2/amazon-product
php/date-utils.php
1851
<?php /** * None of this is my code. * I found it at https://bootcamp-coders.cnm.edu/class-materials/object-oriented/object-oriented-php.php * With permission, of course. */ /** * custom filter for mySQL style dates * * Converts a string to a DateTime object or false if invalid. This is designed to be used with...
apache-2.0
yunxao/JN-Sim
Simulador/src/drcl/ruv/RUVOutputManager.java
4876
// @(#)RUVOutputManager.java 11/2002 // Copyright (c) 1998-2002, Distributed Real-time Computing Lab (DRCL) // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of sou...
apache-2.0
unaccomplished/KaboodleMe
public/client/scripts/components/name/Name.js
328
(function() { var name = { templateUrl: 'client/scripts/components/name/name.html', bindings: { resolve: '<', close: '&', dismiss: '&' }, controller: nameCtrl } function nameCtrl() { var $ctrl = this; } angular .module('kaboodleme') .component('name', name)...
apache-2.0
cs-au-dk/TAJS
src/dk/brics/tajs/lattice/FunctionPartitions.java
3571
/* * Copyright 2009-2020 Aarhus University * * 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...
apache-2.0
kelely/Helios
src/Helios.Zero/Helios.Zero.Core/Authorization/Roles/RoleManager.cs
2449
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Abp.Authorization; using Abp.Authorization.Roles; using Abp.Domain.Uow; using Abp.Localization; using Abp.Runtime.Caching; using Abp.UI; using Abp.Zero.Configuration; using Microsoft.AspNetCore.Identity; using Microsoft.Extensions...
apache-2.0
KCBootcamp/KCMyRestaurant
app/src/main/java/es/bhavishchandnani/myrestaurant/model/Allergens.java
1515
package es.bhavishchandnani.myrestaurant.model; import java.util.Arrays; import java.util.LinkedList; import es.bhavishchandnani.myrestaurant.R; public enum Allergens { CELERY(R.string.allergen_celery, R.drawable.ic_allergen_celery), GLUTEN(R.string.allergen_gluten, R.drawable.ic_allergen_gluten), CRUST...
apache-2.0
telefonicaid/netphony-network-protocols
src/main/java/es/tid/pce/pcep/objects/tlvs/SRCapabilityTLV.java
3114
package es.tid.pce.pcep.objects.tlvs; import es.tid.pce.pcep.objects.MalformedPCEPObjectException; import es.tid.pce.pcep.objects.ObjectParameters; import es.tid.protocol.commons.ByteHandler; /** * SR-PCE-CAPABILITY (Type 26) (deprecated) [RFC8664] * The SR-PCE-CAPABILITY TLV is an optional TLV for use in the OP...
apache-2.0
stellar/gateway-server
src/github.com/stellar/gateway/compliance/handlers/request_handler_auth_test.go
26192
package handlers import ( "encoding/base64" "encoding/json" "errors" "net/http" "net/http/httptest" "net/url" "strings" "testing" "time" "crypto/sha256" "github.com/facebookgo/inject" . "github.com/smartystreets/goconvey/convey" "github.com/stellar/gateway/compliance/config" "github.com/stellar/gateway/...
apache-2.0
cedral/aws-sdk-cpp
aws-cpp-sdk-ec2/source/model/LaunchTemplateElasticInferenceAcceleratorResponse.cpp
2860
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
apache-2.0
snsv88/beta_lps
js/home.js
770
$(document).ready(function() { /**** GESTIONE SLIDER ORIZZONTALE ****/ //$('.cont-slider').flexslider({ $('#sliderhome').flexslider({ animation: "slide", animationLoop: true, directionNav: true, controlNav: false, itemWidth: 0, itemMargin : 0, sm...
apache-2.0
brutella/hc
characteristic/relative_humidity_humidifier_threshold.go
563
// THIS FILE IS AUTO-GENERATED package characteristic const TypeRelativeHumidityHumidifierThreshold = "CA" type RelativeHumidityHumidifierThreshold struct { *Float } func NewRelativeHumidityHumidifierThreshold() *RelativeHumidityHumidifierThreshold { char := NewFloat(TypeRelativeHumidityHumidifierThreshold) char....
apache-2.0
SandishKumarHN/datacollector
basic-lib/src/main/java/com/streamsets/pipeline/lib/microservice/ResponseConfigBean.java
1759
/* * Copyright 2018 StreamSets Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
apache-2.0
josdem/client-control
appControl/src/main/java/com/all/app/AppModule.java
13180
/** Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, rep...
apache-2.0
iraupph/tictactoe-android
AndEngineGLES2/src/org/andengine/util/time/TimeConstants.java
2196
package org.andengine.util.time; /** * (c) 2010 Nicolas Gramlich (c) 2011 Zynga Inc. * * @author Nicolas Gramlich * @since 16:49:25 - 26.07.2010 */ public interface TimeConstants { // =========================================================== // Constants // ==================================================...
apache-2.0
iryndin/lunchapp
src/main/java/net/iryndin/lunchapp/error/EntityDeletedException.java
241
package net.iryndin.lunchapp.error; /** * This exception is thrown when entity is deleted */ public class EntityDeletedException extends LunchAppBasicException { public EntityDeletedException(String msg) { super(msg); } }
apache-2.0
lukaciko/cropper
cropper/src/main/java/com/cropper/lib/HighlightView.java
13934
/* * The contents of this file have been modified. * * Copyright (C) 2007 The Android Open Source Project * Copyright 2015 Luka Cindro * * 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
angcyo/RLibrary
zxingzbar/src/main/java/com/angcyo/zxingzbar/camera/open/OpenCameraInterface.java
3455
/* * Copyright (C) 2012 ZXing 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 agr...
apache-2.0
aws/aws-sdk-java
aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/model/transform/SubscribeResultStaxUnmarshaller.java
2395
/* * 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
marques-work/gocd
server/src/test-integration/java/com/thoughtworks/go/server/messaging/JobStatusListenerIntegrationTest.java
6688
/* * Copyright 2021 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...
apache-2.0
nzinfo/my-kfs-022
src/cc/tools/MonUtils.cc
6967
//---------------------------------------------------------- -*- Mode: C++ -*- // $Id: MonUtils.cc 149 2008-09-10 05:31:35Z sriramsrao $ // // Created 2006/07/18 // Author: Sriram Rao // // Copyright 2008 Quantcast Corp. // Copyright 2006-2008 Kosmix Corp. // // This file is part of Kosmos File System (KFS). // // Lic...
apache-2.0
camilesing/zstack
sdk/src/main/java/org/zstack/sdk/LogInByUserAction.java
2771
package org.zstack.sdk; import java.util.HashMap; import java.util.Map; import org.zstack.sdk.*; public class LogInByUserAction extends AbstractAction { private static final HashMap<String, Parameter> parameterMap = new HashMap<>(); private static final HashMap<String, Parameter> nonAPIParameterMap = new Ha...
apache-2.0
jamiepg1/jetty.project
jetty-spdy/spdy-jetty-http/src/test/java/org/eclipse/jetty/spdy/http/ProtocolNegotiationTest.java
8694
/* * Copyright (c) 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 appl...
apache-2.0
atsid/permissive
app/client/src/modules/common/directives/repodetails/repodetails.js
2762
'use strict'; let links = require('../../../links'), permissions = require('../../../permissions'), buttonConfig = require('../config/permission-buttons'); module.exports = /*@ngInject*/ () => { return { templateUrl: 'common/directives/repodetails/repodetails.html', scope: ...
apache-2.0
hong1012/FreePay
node_modules/antd/lib/locale-provider/ru_RU.d.ts
813
import 'moment/locale/ru'; declare var _default: { Pagination: any; DatePicker: { lang: any; timePickerLocale: any; }; TimePicker: { placeholder: string; }; Calendar: { lang: any; timePickerLocale: any; }; Table: { filterTitle: string; ...
apache-2.0
dcngmbh/moox_address
Classes/Domain/Model/Address.php
11596
<?php namespace DCNGmbH\MooxAddress\Domain\Model; /** * This file is part of the TYPO3 CMS project. * * It is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License, either version 2 * of the License, or any later version. * * For the full copyright and licen...
apache-2.0
ljcservice/autumnprogram
src/main/java/com/ts/entity/pdss/pdss/Beans/DrugUseAuth/TCkDrugUserAuth.java
3927
package com.ts.entity.pdss.pdss.Beans.DrugUseAuth; import java.io.Serializable; import java.util.Date; /** * 药物使用授权 实体bean * @author autumn * */ public class TCkDrugUserAuth implements Serializable { private static final long serialVersionUID = 1L; /* 主键 */ private String ID; ...
apache-2.0
rh-s/heat
heat/tests/aws/test_loadbalancer.py
13775
# # 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 # ...
apache-2.0
Seddryck/NBi
NBi.genbiL/Action/Case/GroupCaseAction.cs
3592
using NBi.GenbiL.Stateful; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; namespace NBi.GenbiL.Action.Case { public class GroupCaseAction : ISingleCaseAction { public List<string> ColumnNames { get; } public GroupCaseAction(IEnumerable...
apache-2.0
voho/web
examples/patterns/src/gof/adapter/Adaptee.java
347
package gof.adapter; /** * Vnořená třída, která má zpravidla zastaralé, nekompatibilní, nebo jinak * nevyhovujícím rozhraní. Proto k ní bude vytvořen odpovídající adaptér. * @author Vojtěch Hordějčuk */ public class Adaptee { /** * Provede požadavek. */ public void oldRequest() { // ... ...
apache-2.0
tiborvass/docker
pkg/parsers/operatingsystem/operatingsystem_linux.go
2364
// Package operatingsystem provides helper function to get the operating system // name for different platforms. package operatingsystem // import "github.com/tiborvass/docker/pkg/parsers/operatingsystem" import ( "bufio" "bytes" "fmt" "io/ioutil" "os" "strings" ) var ( // file to use to detect if the daemon i...
apache-2.0
outbrain/ob1k
ob1k-cache/src/main/java/com/outbrain/ob1k/cache/metrics/MonitoringCacheDelegate.java
3909
package com.outbrain.ob1k.cache.metrics; import com.google.common.collect.Iterables; import com.outbrain.ob1k.cache.EntryMapper; import com.outbrain.ob1k.cache.TypedCache; import com.outbrain.ob1k.concurrent.ComposableFuture; import com.outbrain.swinfra.metrics.api.Counter; import com.outbrain.swinfra.metrics.api.Metr...
apache-2.0
google/jsinterop-generator
java/jsinterop/generator/model/AnnotationType.java
1800
/* * Copyright 2015 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 to in w...
apache-2.0
java110/MicroCommunity
service-user/src/main/java/com/java110/user/bmo/rentingAppointment/IUpdateRentingAppointmentBMO.java
404
package com.java110.user.bmo.rentingAppointment; import com.java110.po.rentingAppointment.RentingAppointmentPo; import org.springframework.http.ResponseEntity; public interface IUpdateRentingAppointmentBMO { /** * 修改租赁预约 * add by wuxw * @param rentingAppointmentPo * @return */ Respon...
apache-2.0
brettwooldridge/buck
test/com/facebook/buck/rules/coercer/SourceSortedSetTest.java
8139
/* * Copyright 2016-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
apache-2.0
bobo159357456/bobo
android_project/MyFirstApp/app/src/main/java/com/example/myfirstapp/MainActivity.java
2012
package com.example.myfirstapp; import android.content.Intent; import android.support.v7.app.ActionBarActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.view.View; import android.widget.EditText; public class MainActivity exten...
apache-2.0
aldeka/oppia
extensions/widgets/interactive/InteractiveMap/InteractiveMap.py
2179
from core.domain import widget_domain from extensions.value_generators.models import generators class InteractiveMap(widget_domain.BaseWidget): """Definition of a widget. Do NOT make any changes to this widget definition while the Oppia app is running, otherwise things will break. This class represe...
apache-2.0
850759383/ZhihuDailyNews
app/src/main/java/com/yininghuang/zhihudailynews/detail/ZhihuNewsDetailActivity.java
1885
package com.yininghuang.zhihudailynews.detail; import android.os.Bundle; import android.support.annotation.Nullable; import com.yininghuang.zhihudailynews.BaseActivity; import com.yininghuang.zhihudailynews.R; import com.yininghuang.zhihudailynews.net.Api; import com.yininghuang.zhihudailynews.net.RetrofitHelper; imp...
apache-2.0
amarbarik/iPayPrepaidVendor
src/za/co/ipay/prepaid/vendor/client/IPayPrepaidElectricity.java
995
package za.co.ipay.prepaid.vendor.client; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.core.client.GWT; import com.google.gwt.event.dom.client.ChangeEvent; import com.google.gwt.event.dom.client.ChangeHandler; import com.google.gwt.uibinder.client.UiField; import com.google.gwt.uibinder.c...
apache-2.0
HuangLS/neo4j
community/kernel/src/test/java/org/neo4j/unsafe/impl/batchimport/staging/QuantizedProjectionTest.java
1552
/* * Copyright (c) 2002-2018 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j 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 Foundatio...
apache-2.0
open-orchestra/open-orchestra-front-bundle
FrontBundle/SubQuery/Strategies/RequestSubQueryStrategy.php
813
<?php namespace OpenOrchestra\FrontBundle\SubQuery\Strategies; /** * Class RequestSubQueryStrategy */ class RequestSubQueryStrategy extends AbstractRequestSubQueryStrategy { /** * @param string $blockParameter * * @return bool */ public function support($blockParameter) { ret...
apache-2.0
InstaList/instalist-android-backend
src/main/java/org/noorganization/instalist/presenter/IListController.java
8092
/* * Copyright 2016 Tino Siegmund, Michael Wodniok * * 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...
apache-2.0
jfiala/swagger-spring-demo
archive/user-rest-service-1.0.2-client-php-codegen-2.1.2-M1/UsergettworeadApi.php
2080
<?php /** * Copyright 2015 Reverb Technologies, 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 a...
apache-2.0
pdxrunner/geode
geode-core/src/main/java/org/apache/geode/internal/cache/tx/RemoteGetMessage.java
14706
/* * 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 ...
apache-2.0
alibaba/fastjson
src/test/java/com/alibaba/json/bvt/issue_1800/Issue1879.java
1582
package com.alibaba.json.bvt.issue_1800; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.annotation.JSONCreator; import com.alibaba.fastjson.annotation.JSONField; import junit.framework.TestCase; import java.util.ArrayList; import java.util.List; public class Issue1879 extends TestCase { // public v...
apache-2.0
reflectsoftware/Plato.NET
src/Plato.Messaging.AMQ/AMQReceiverText.cs
1638
// Plato.NET // Copyright (c) 2018 ReflectSoftware Inc. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Apache.NMS; using Plato.Messaging.AMQ.Interfaces; using Plato.Messaging.AMQ.Settings; using Plato.Messaging.Interfaces; using System.Threading;...
apache-2.0
darenegade/Apollon
Frontend/components/SongListEntry.js
3207
var React = require('react'); const ImageStyle = { height: '123px', width: '110px', }; const CountStyle = { fontSize: '1.1em', fontWeight: 'bold', paddingTop: '5px' }; function IconVoteStyle(a, b) { return { margin: '5px', fontSize: '2.5em', color: arguments.length && a == b ? 'red' : '' }; } var Song...
apache-2.0
asakusafw/asakusafw
windgate-project/asakusa-windgate-core/src/main/java/com/asakusafw/windgate/core/resource/package-info.java
718
/** * Copyright 2011-2021 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
xgqfrms/JavaWeb
DesignPattern_Homework/src/strategy_2/Monkey.java
1532
package strategy_2; //============================== // // A subclass of the strategy hierarchy //==============================// import java.awt.Color; import javax.swing.ImageIcon; public class Monkey implements ChineseZodiac { public String say(){ String description ="You have a zodiac Monkey. \n"+ "Mon...
apache-2.0