code
stringlengths
572
46.5k
repo_name
stringlengths
7
62
path
stringlengths
6
247
language
stringclasses
7 values
license
stringclasses
15 values
size
int64
572
46.5k
#ifndef CGE_LIST_PAIR_LOADER_HPP #define CGE_LIST_PAIR_LOADER_HPP #include <stdlib.h> #include <string> #include <vector> #include <Agui/Agui.hpp> namespace cge { struct ListPairItem { std::string descr; std::string val; agui::Image* image; bool operator< (const ListPairItem &rhs) const; }; class ListPairLo...
jmasterx/StemwaterSpades
Spades Game/Game/Engine/ListPairLoader.hpp
C++
unlicense
768
/** * */ package com.rhcloud.zugospoint.model; import java.util.Date; /** * @author zugo * */ public class Dostawa { private Long idDostawy; private String nrPrzesylki; private Date dataNadania; private Long idDostawcy; private Boolean hurtowa; private Boolean doreczona; private Boolean zwrocona; publ...
zugoth/1314-adb
src/main/java/com/rhcloud/zugospoint/model/Dostawa.java
Java
unlicense
1,262
/* * IDK Game Server by Steve Winfield * https://github.com/WinfieldSteve */ package org.stevewinfield.suja.idk.communication.room.settings.readers; import org.stevewinfield.suja.idk.Bootloader; import org.stevewinfield.suja.idk.communication.IMessageReader; import org.stevewinfield.suja.idk.communication.MessageRe...
SteveWinfield/IDK-Server-Java
src/main/java/org/stevewinfield/suja/idk/communication/room/settings/readers/RoomEditGetInfoReader.java
Java
apache-2.0
1,064
package org.jboss.loom.utils.el; import javax.el.ExpressionFactory; import javax.el.ValueExpression; /** * Delegates the variable resolving to an IVariablesProvider provided to the constructor. * Read-only. */ public class ProvidedVariableJuelMapper extends javax.el.VariableMapper { private static final Expr...
OndraZizka/jboss-migration
engine/src/main/java/org/jboss/loom/utils/el/ProvidedVariableJuelMapper.java
Java
apache-2.0
1,050
package fun.config; import fun.util.ConstructorUtil; import fun.web.mvc.filter.ApplicationFilter; import org.springframework.web.context.ContextLoaderListener; import org.springframework.web.context.support.AnnotationConfigWebApplicationContext; import org.springframework.web.servlet.DispatcherServlet; impo...
mathjava81/SampleStrictWeb
FunWeb/src/main/java/fun/config/WebInitializer.java
Java
apache-2.0
1,716
package de.hub.specificmodels.metamodelgenerator; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import org.eclipse.core.runtime.IProgressMonitor; impor...
markus1978/clickwatch
util/de.hub.specificmodels/src/de/hub/specificmodels/metamodelgenerator/MetaModelGenerator.java
Java
apache-2.0
8,930
/* * Copyright 2000-2010 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...
joewalnes/idea-community
plugins/android/src/org/jetbrains/android/dom/wrappers/FileResourceElementWrapper.java
Java
apache-2.0
10,242
/* * Copyright 2016 Space Dynamics Laboratory - Utah State University Research 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/LICEN...
jbottel/openstorefront
server/openstorefront/openstorefront-core/model/src/main/java/edu/usu/sdl/openstorefront/core/entity/TemporaryMedia.java
Java
apache-2.0
3,727
/* 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...
skjolber/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/cmd/CorrelateStartMessageCmd.java
Java
apache-2.0
2,929
package com.specmate.cause_effect_patterns.parse; import java.util.Iterator; import java.util.List; import java.util.Map.Entry; import java.util.Set; import com.google.common.collect.ArrayListMultimap; import de.tudarmstadt.ukp.dkpro.core.api.syntax.type.dependency.Dependency; /** * Wrapper for a (DependencyTag --...
junkerm/specmate
bundles/specmate-cause-effect-patterns/src/com/specmate/cause_effect_patterns/parse/DependencyNode.java
Java
apache-2.0
1,333
/* * Braille Utils (C) 2010-2011 Daisy Consortium * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later version. * ...
daisy/pipeline-issues
libs/braille-utils/braille-utils.impl/src/org/daisy/braille/utils/impl/provider/cidat/CidatEmbosserProvider.java
Java
apache-2.0
4,109
package Controllers; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import Components.RequestU...
myrosicky/projects
weibo/src/main/java/Controllers/SaveController.java
Java
apache-2.0
2,747
package com.transmem.nlp; import org.apache.lucene.analysis.Token; import org.apache.lucene.analysis.TokenStream; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.th.ThaiAnalyzer; import java.io.Reader; import java.io.StringReader; import java.util.ArrayList; import java.util.logging.Log...
tedwen/transmem
src/com/transmem/nlp/ThaiSegmenter.java
Java
apache-2.0
1,290
/* * * Copyright 2017-2019 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 req...
springfox/springfox
springfox-schema/src/main/java/springfox/documentation/schema/plugins/PropertyDiscriminatorBasedInheritancePlugin.java
Java
apache-2.0
5,219
package eu.amidst.tutorial.usingAmidst.practice; import COM.hugin.HAPI.ExceptionHugin; import eu.amidst.core.datastream.Attributes; import eu.amidst.core.datastream.DataInstance; import eu.amidst.core.datastream.DataStream; import eu.amidst.core.io.DataStreamLoader; import eu.amidst.core.models.BayesianNetwork; import...
amidst/toolbox
extensions/tutorials/src/main/java/eu/amidst/tutorial/usingAmidst/practice/CustomKalmanFilter.java
Java
apache-2.0
3,155
#!/usr/bin/env python """models.py Udacity conference server-side Python App Engine data & ProtoRPC models $Id: models.py,v 1.1 2014/05/24 22:01:10 wesc Exp $ created/forked from conferences.py by wesc on 2014 may 24 """ import httplib import endpoints from protorpc import messages from google.appengine.ext import...
Sean-Holcomb/Conference-Organization-App
models.py
Python
apache-2.0
5,650
package horizon import ( "github.com/jagregory/halgo" "github.com/stellar/go-horizon/db" "github.com/stellar/go-horizon/render/hal" ) // HistoryAccountResource is a simple resource, used for the account collection actions. // It provides only the TotalOrderId of the account and its address. type HistoryAccountReso...
FredericHeem/go-horizon
src/github.com/stellar/go-horizon/resource_history_account.go
GO
apache-2.0
1,457
package com.negusoft.greenmatter.interceptor.drawable; import android.content.Context; import android.content.res.Resources; import android.graphics.drawable.Drawable; import android.util.SparseArray; import com.negusoft.greenmatter.MatPalette; /** * Holds a dictionary that contains DrawableInterceptors. It sets up...
negusoft/GreenMatter
GreenMatter/src/main/java/com/negusoft/greenmatter/interceptor/drawable/DrawableInterceptorHelper.java
Java
apache-2.0
1,741
/* * 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/incubator-taverna-plugin-component
taverna-component-activity-ui/src/main/java/io/github/taverna_extras/component/ui/annotation/SemanticAnnotationContextualView.java
Java
apache-2.0
5,275
/* * Copyright (C) 2010 Benoit Guerout <bguerout at gmail dot 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://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
bguerout/keemto
src/test/java/fr/keemto/core/JdbcEventRepositoryIT.java
Java
apache-2.0
5,768
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0, (the "License"); you ma...
equella/Equella
Source/Plugins/Core/com.equella.core/src/com/tle/web/search/selection/AbstractSelectItemListExtension.java
Java
apache-2.0
8,499
/* * 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...
vschs007/buck
src/com/facebook/buck/jvm/java/JavacExecutionContextSerializer.java
Java
apache-2.0
5,798
/* * 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...
cedral/aws-sdk-cpp
aws-cpp-sdk-ec2/source/model/SearchTransitGatewayRoutesResponse.cpp
C++
apache-2.0
2,827
package co.binapp.android.activities; import com.google.android.gms.common.ConnectionResult; import com.google.android.gms.common.GooglePlayServicesClient.ConnectionCallbacks; import com.google.android.gms.common.GooglePlayServicesClient.OnConnectionFailedListener; import com.google.android.gms.plus.PlusClient; import...
arose13/Bin
src/co/binapp/android/activities/BaseActivity.java
Java
apache-2.0
4,003
package com.xinqihd.sns.gameserver.admin.user; import java.util.List; import javax.swing.SwingWorker; import org.jdesktop.swingx.treetable.DefaultTreeTableModel; import com.mongodb.DBObject; import com.xinqihd.sns.gameserver.admin.config.ConfigKey; import com.xinqihd.sns.gameserver.admin.config.ConfigManager; impor...
wangqi/gameserver
admin/src/main/java/com/xinqihd/sns/gameserver/admin/user/UserSearchService.java
Java
apache-2.0
3,157
/* Copyright 2014 Simon Schmidt 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...
maxymania/refused
src/main/java/iox/refused/impl/MetaRendererWrapper.java
Java
apache-2.0
1,084
package com.demo; import com.demo.domain.Starbucks; import com.demo.domain.StarbucksRepository; import com.demo.search.StarbucksSearchRepository; import java.util.List; import javax.annotation.PostConstruct; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.SpringApplicatio...
mr-smithers-excellent/elasticsearch-spring-boot-geosearch
src/main/java/com/demo/StarbucksSearchApp.java
Java
apache-2.0
2,104
/* * 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 ...
tzulitai/flink
flink-runtime/src/test/java/org/apache/flink/runtime/resourcemanager/active/TestingResourceManagerDriver.java
Java
apache-2.0
5,789
/* * Copyright 2002-2014 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...
qobel/esoguproject
spring-framework/spring-expression/src/main/java/org/springframework/expression/spel/ast/MethodReference.java
Java
apache-2.0
13,708
#include "StdAfx.h" #include "LICFloatParam.h" #include <atomic> #include <stdexcept> using std::vector; using std::string; using std::logic_error; std::atomic<int> nextID(0); vector<LICFloatParam> LICFloatParam::INSTANCES; LICFloatParam LICFloatParam::XROT("x-rotation"); LICFloatParam LICFloatParam::YROT("y-rotatio...
ratanasv/3dlic
src/LICFloatParam.cpp
C++
apache-2.0
1,917
package org.hibernate.cache.memcached.regions; import org.hibernate.cache.CacheException; import org.hibernate.cache.memcached.client.HibernateMemcached; import org.hibernate.cache.memcached.strategy.MemcachedAccessStrategyFactory; import org.hibernate.cache.spi.CacheDataDescription; import org.hibernate.cache.spi.Col...
debop/hibernate-memcached
src/main/java/org/hibernate/cache/memcached/regions/MemcachedCollectionRegion.java
Java
apache-2.0
1,507
/** * Jakarta Bean Validation TCK * * License: Apache License, Version 2.0 * See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>. */ package org.hibernate.beanvalidation.tck.tests.constraints.groups.groupsequenceisolation; import static java.lang.annotation.ElementType.A...
beanvalidation/beanvalidation-tck
tests/src/main/java/org/hibernate/beanvalidation/tck/tests/constraints/groups/groupsequenceisolation/SafeEncryption.java
Java
apache-2.0
1,501
// Copyright 2017 Vector Creations Ltd // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agre...
jcgruenhage/dendrite
src/github.com/matrix-org/dendrite/clientapi/events/events.go
GO
apache-2.0
2,794
/* * Copyright © 2009 HotPads (admin@hotpads.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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
hotpads/datarouter
datarouter-aws-elb/src/main/java/io/datarouter/aws/elb/service/ElbService.java
Java
apache-2.0
4,335
/* * 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 ...
zzcclp/carbondata
hadoop/src/main/java/org/apache/carbondata/hadoop/api/CarbonFileInputFormat.java
Java
apache-2.0
13,849
/* * Copyright 2014 Tagbangers, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
cuongvanhd/wallride
src/main/java/org/wallride/core/service/CategoryService.java
Java
apache-2.0
6,121
package consistencyTests.couchdbConsistencyTest; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Set; import java.util.Vector; import org.ektorp.CouchDbConnector; import org.ektorp.CouchDbInstance; import org.ekt...
arnaudsjs/consistency-tests
couchdbConsistencyTest/CouchdbClient.java
Java
apache-2.0
9,717
/** * * 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 ...
dtrodrigues/nifi-minifi-cpp
extensions/http-curl/tests/HTTPSiteToSiteTests.cpp
C++
apache-2.0
9,326
/* * 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 ...
lhaiesp/samza
samza-core/src/test/java/org/apache/samza/runtime/TestLocalApplicationRunner.java
Java
apache-2.0
26,934
package com.sishuok.es.common.repository.Specification; import javax.persistence.criteria.CriteriaBuilder; import javax.persistence.criteria.CriteriaQuery; import javax.persistence.criteria.Expression; import javax.persistence.criteria.Path; import javax.persistence.criteria.Predicate; import javax.persistence.criteri...
zhuruiboqq/romantic-factor_baseOnES
common/src/main/java/com/sishuok/es/common/repository/Specification/SimpleExpression.java
Java
apache-2.0
2,076
package metroinsight.citadel.metadata; import io.vertx.codegen.annotations.ProxyGen; import io.vertx.codegen.annotations.VertxGen; import io.vertx.core.AsyncResult; import io.vertx.core.Handler; import io.vertx.core.Vertx; import io.vertx.core.json.JsonArray; import io.vertx.core.json.JsonObject; import metroinsight.c...
MetroInsight/citadel
src/main/java/metroinsight/citadel/metadata/MetadataService.java
Java
apache-2.0
1,214
package com.kilfat.database.service.implementations; import com.kilfat.database.entity.Account; import com.kilfat.database.entity.Category; import com.kilfat.database.entity.FundsTransaction; import com.kilfat.database.repository.FundsTransactionRepository; import com.kilfat.database.service.interfaces.AccountService;...
KILFaT/BudgetKeeper
src/main/java/com/kilfat/database/service/implementations/FundsTransactionServiceImpl.java
Java
apache-2.0
4,143
/* * 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...
aws/aws-sdk-java
aws-java-sdk-transfer/src/main/java/com/amazonaws/services/transfer/AbstractAWSTransfer.java
Java
apache-2.0
6,783
#ifndef ZZ__CodeBreeder__SynthHelpers_hh #define ZZ__CodeBreeder__SynthHelpers_hh #include "SynthEnum.hh" #include "TrainingData.hh" namespace ZZ { using namespace std; //mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm void reportGenealogy( uind s, Vec<ENU...
tensorflow/deepmath
deepmath/zz/CodeBreeder/SynthHelpers.hh
C++
apache-2.0
973
/* * 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...
cedral/aws-sdk-cpp
aws-cpp-sdk-codestar-notifications/source/model/DescribeNotificationRuleResult.cpp
C++
apache-2.0
3,384
/* * Copyright 2002-2021 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
spring-projects/spring-framework
spring-webmvc/src/test/java/org/springframework/web/servlet/view/freemarker/FreeMarkerViewTests.java
Java
apache-2.0
7,688
/* * fi.helsinki.cs.iot.kahvihub.NativePluginHelper * v0.1 * 2015 * * Copyright 2015 University of Helsinki * 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/...
uh-cs-iotlab/kahvihub
embedded/src/main/java/fi/helsinki/cs/iot/kahvihub/KahvihubNativePluginHelper.java
Java
apache-2.0
4,376
/* * 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 ...
shaoxuan-wang/flink
flink-table/flink-table-runtime-blink/src/test/java/org/apache/flink/table/runtime/watermarkassigner/MiniBatchAssignerOperatorTest.java
Java
apache-2.0
4,260
/* Copyright 2019 The Vitess Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
vitessio/vitess
go/vt/topo/topoproto/tablet.go
GO
apache-2.0
7,995
/* * citygml4j - The Open Source Java API for CityGML * https://github.com/citygml4j * * Copyright 2013-2022 Claus Nagel <claus.nagel@gmail.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 L...
citygml4j/citygml4j
citygml4j-samples/src/main/java/reading_citygml/citygml_v040_reader/CityGML_v040_Reader.java
Java
apache-2.0
3,419
package org.sagebionetworks.repo.model.search; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import org.sagebionetworks.schema.adapter.AdapterFactory; import org.sagebionetworks.schema.adapter.JSONArrayAdapter; import org.sagebionetworks.schema.adapter.JSONOb...
hhu94/Synapse-Repository-Services
lib/lib-shared-models/src/main/java/org/sagebionetworks/repo/model/search/AwesomeSearchFactory.java
Java
apache-2.0
6,594
/* * Copyright 2013-2019 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
spring-cloud/spring-cloud-aws
spring-cloud-aws-context/src/test/java/org/springframework/cloud/aws/context/config/xml/ContextCredentialsBeanDefinitionParserTest.java
Java
apache-2.0
8,176
/* * Copyright 2019 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 ...
vam-google/google-cloud-java
google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/LicenseStubSettings.java
Java
apache-2.0
21,942
/* * Hibernate Validator, declare and validate application constraints * * License: Apache License, Version 2.0 * See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>. */ package org.hibernate.validator.internal.engine.constraintvalidation; import static org.hibernate.val...
shahramgdz/hibernate-validator
engine/src/main/java/org/hibernate/validator/internal/engine/constraintvalidation/ConstraintTree.java
Java
apache-2.0
13,839
package com.lachesis.mnis.core.barcode; import java.util.ArrayList; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.lachesis.mnis.core.OrderService; import com.lachesis.mnis.core.PatientService; import com.lachesis.mnis.c...
gavin2lee/incubator
mnis/core/src/main/java/com/lachesis/mnis/core/barcode/BarcodeServiceImpl.java
Java
apache-2.0
4,076
package lessonsSe.pages; import org.openqa.selenium.WebDriver; import org.openqa.selenium.support.PageFactory; import org.openqa.selenium.support.pagefactory.AjaxElementLocatorFactory; public class PageManager { private WebDriver driver; public LoginPage loginPage; public InternalPage internalPage; public UserP...
Witch7/Se-Java-19_Voronina
src/main/java/lessonsSe/pages/PageManager.java
Java
apache-2.0
1,122
package com.ctrip.xpipe.http; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.CloseableHttpClient; import org.apache.http.impl.client.HttpClients; import org.apache.http.impl.conn.PoolingHttpClientConnectionManager; import o...
ctripcorp/x-pipe
core/src/main/java/com/ctrip/xpipe/http/HttpClientUtil.java
Java
apache-2.0
1,561
/*Copyright (C) 2017 Roland Hauser, <sourcepond@gmail.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://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree...
SourcePond/checksum
checksum-impl/src/main/java/ch/sourcepond/io/checksum/impl/resources/ChannelResource.java
Java
apache-2.0
1,772
package com.google.android.gms.drive.internal; import android.os.Parcel; import android.os.Parcelable.Creator; import com.google.android.gms.common.internal.safeparcel.SafeParcelable; import com.google.android.gms.drive.metadata.internal.MetadataBundle; public class OnMetadataResponse implements SafeParcelable { ...
mmmsplay10/QuizUpWinner
quizup/com/google/android/gms/drive/internal/OnMetadataResponse.java
Java
apache-2.0
999
package com.itlaborer.apitools.ui; import org.apache.log4j.Logger; import org.eclipse.swt.SWT; import org.eclipse.swt.custom.StyledText; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.widgets.Button; import org.eclipse.swt.widgets.Dialog; import org...
cnldw/APITools
src/com/itlaborer/apitools/ui/UnicodeTools.java
Java
apache-2.0
3,452
/* * Copyright (c) 2008-2019 Haulmont. * * 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...
cuba-platform/cuba
modules/web/test/spec/cuba/web/components/optionslist/screens/OptionsListTestScreen.java
Java
apache-2.0
3,215
/* Copyright 2016 Eric Karge <e.karge@struction.de> 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...
tinyj/tinyj-web-mvc
example/key-value-service/src/main/java/org/example/key_value/HeadRequest.java
Java
apache-2.0
905
/* * This file is part of "lunisolar-magma". * * (C) Copyright 2014-2022 Lunisolar (http://lunisolar.eu/). * * 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.o...
lunisolar/magma
magma-asserts/src/main/java/eu/lunisolar/magma/asserts/func/predicate/LSrt1Srt0PredAttest.java
Java
apache-2.0
3,408
package ast // An attribute can be attached to block elements. They are specified as // {#id .classs key="value"} where quotes for values are mandatory, multiple // key/value pairs are separated by whitespace. type Attribute struct { ID []byte Classes [][]byte Attrs map[string][]byte } // ListType contains ...
42wim/matterbridge
vendor/github.com/gomarkdown/markdown/ast/node.go
GO
apache-2.0
13,834
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * 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...
gravitee-io/graviteeio-access-management
gravitee-am-repository/gravitee-am-repository-jdbc/src/main/java/io/gravitee/am/repository/jdbc/management/api/JdbcPermissionTicketRepository.java
Java
apache-2.0
6,295
/* * Copyright 2015 Adaptris Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
mcwarman/interlok
apt/src/main/java/com/adaptris/annotation/XStreamImplicitAnnotationProcessor.java
Java
apache-2.0
4,516
from appengine_django.models import BaseModel from google.appengine.ext import db from google.appengine.api.users import User import datetime #this stores all addresses class EventAddress(db.Model): Street=db.StringProperty() City=db.StringProperty() State=db.StringProperty() Zip = db.StringProperty() Country=db...
gabelula/b-counted
counter/models.py
Python
apache-2.0
3,188
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/mediaconnect/model/VpcInterface.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { nam...
jt70471/aws-sdk-cpp
aws-cpp-sdk-mediaconnect/source/model/VpcInterface.cpp
C++
apache-2.0
3,487
/* * 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 ...
messaginghub/pooled-jms
pooled-jms/src/test/java/org/messaginghub/pooled/jms/JmsPoolReconnectOnFailureTest.java
Java
apache-2.0
3,683
/* * Copyright 2012-2014 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...
joansmith/spring-boot
spring-boot-samples/spring-boot-sample-ws/src/test/java/sample/ws/SampleWsApplicationTests.java
Java
apache-2.0
2,578
/* * Copyright 2015-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...
shybovycha/buck
src/com/facebook/buck/jvm/scala/ScalaLibraryDescription.java
Java
apache-2.0
4,124
/* * 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...
ambasta/aws-sdk-cpp
aws-cpp-sdk-swf/source/model/WorkflowExecutionCanceledEventAttributes.cpp
C++
apache-2.0
2,185
/* Copyright 2020 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
justinsb/kops
pkg/model/azuremodel/api_loadbalancer.go
GO
apache-2.0
2,991
/* Copyright IBM Corp. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 */ package deliverservice import ( "context" "errors" "fmt" "sync" "time" "github.com/hyperledger/fabric-protos-go/orderer" "github.com/hyperledger/fabric/common/flogging" "github.com/hyperledger/fabric/common/util" "github.com...
stemlending/fabric
core/deliverservice/deliveryclient.go
GO
apache-2.0
6,649
/* * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0, (the "License"); you ma...
equella/Equella
Source/Plugins/Core/com.equella.core/src/com/tle/web/wizard/viewitem/actions/NewVersionSection.java
Java
apache-2.0
2,934
# coding=utf-8 # Copyright 2018 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 from pants.backend.native.subsystems.native_build_step import CCompileSettings from pants...
twitter/pants
src/python/pants/backend/native/tasks/c_compile.py
Python
apache-2.0
1,151
/** * 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...
srijeyanthan/hops
hadoop-hdfs-project/hadoop-hdfs/src/main/java/io/hops/transaction/context/InvalidatedBlockContext.java
Java
apache-2.0
8,427
package org.sagebionetworks.worker; import org.sagebionetworks.common.util.progress.ProgressCallback; import org.sagebionetworks.repo.manager.UserManager; import org.sagebionetworks.repo.manager.asynch.AsynchJobStatusManager; import org.sagebionetworks.repo.manager.asynch.AsynchJobUtils; import org.sagebionetworks.rep...
Sage-Bionetworks/Synapse-Repository-Services
services/workers/src/main/java/org/sagebionetworks/worker/AsyncJobRunnerAdapter.java
Java
apache-2.0
2,338
/** Copyright 2015 James G. Willmore 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...
willmorejg/net.ljcomputing.ecsr
net.ljcomputing.people/src/test/java/net/ljcomputing/people/domain/MailingAddressTests.java
Java
apache-2.0
3,392
// Copyright 2018 The Terraformer 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...
GoogleCloudPlatform/terraformer
providers/commercetools/product_type.go
GO
apache-2.0
1,919
/* * Copyright (c) 2020, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.org). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apac...
lessthanoptimal/BoofCV
main/boofcv-ip/src/test/java/boofcv/alg/enhance/impl/TestImplEnhanceHistogram_MT.java
Java
apache-2.0
3,315
/* * 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 ...
waans11/incubator-asterixdb
asterixdb/asterix-metadata/src/main/java/org/apache/asterix/metadata/feeds/BuiltinFeedPolicies.java
Java
apache-2.0
10,162
/* * Copyright 2012, TopicQuests * * 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 ...
agibsonccc/solrsherlock-maven
solrsherlock-parent/solrsherlock-core/src/main/java/org/topicquests/solr/SolrNodeModel.java
Java
apache-2.0
18,280
/** * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.masterdb.security.hibernate.cds; import static com.opengamma.masterdb.security.hibernate.Converters.businessDayConventionBeanToBusinessDayConvention; import st...
McLeodMoores/starling
projects/master-db/src/main/java/com/opengamma/masterdb/security/hibernate/cds/StdRecoveryLockCDSSecurityBeanOperation.java
Java
apache-2.0
4,248
/* * Copyright 2012-2018 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...
zhanhb/spring-boot
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/netty/NettyWebServer.java
Java
apache-2.0
4,141
package gov.va.med.mhv.sm.model; import java.io.Serializable; public class PatientTriageMap extends BaseModel implements Serializable { /** * */ private static final long serialVersionUID = -4585150110378022297L; private TriageRelation triageRelation; private Patient patient; public TriageRelation ge...
VHAINNOVATIONS/RAPTOR
OtherComponents/MDWSvistalayer/MDWS Source/mdo/mdo/src/mdo/domain/sm/trash/PatientTriageMap.java
Java
apache-2.0
605
/* Copyright 2014 Google Inc. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
rcsavage/CloudMgmtKubernetes
pkg/client/cache/reflector.go
GO
apache-2.0
3,381
package org.robotframework.formslibrary.keyword; import org.robotframework.formslibrary.context.ContextChangeMonitor; import org.robotframework.formslibrary.context.FormsContext; import org.robotframework.formslibrary.operator.MenuOperator; import org.robotframework.formslibrary.util.Constants; import org.robotf...
dvanherbergen/robotframework-formslibrary
src/main/java/org/robotframework/formslibrary/keyword/MenuKeywords.java
Java
apache-2.0
1,259
/*exported Future, Log, fs, httpClient, checkResult, servicePath */ /*global IMPORTS, console, require:true, process */ console.error("Starting to load libraries"); var libraries = MojoLoader.require({ name: "foundations", version: "1.0" }); var PalmCall = libraries["foundations"].Comms.PalmCall; //now add some node...
webOS-ports/org.webosports.service.downloadmgr
javascript/prologue.js
JavaScript
apache-2.0
1,363
/* * 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...
cedral/aws-sdk-cpp
aws-cpp-sdk-frauddetector/source/model/ModelInputConfiguration.cpp
C++
apache-2.0
2,770
/* Copyright 2011 Radu Cernuta 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, softw...
TheProjecter/serene
src/serene/simplifier/IncludedParsedModel.java
Java
apache-2.0
1,090
/* * Copyright 2000-2010 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...
joewalnes/idea-community
platform/testRunner/src/com/intellij/execution/testframework/export/ExportTestResultsForm.java
Java
apache-2.0
7,941
package org.sjon.db; import static org.junit.Assert.assertEquals; import java.io.IOException; import org.junit.Test; import org.sjon.parser.SjonParsingException; import org.sjon.parser.SjonScanningException; public class SjonNestedRecordsTest { private SjonTable vocabularyTable; private static final String RE...
atas76/SJON-DB
test/org/sjon/db/SjonNestedRecordsTest.java
Java
apache-2.0
3,262
package com.hundsun.network.gates.houchao.biz.manager; import com.hundsun.network.gates.luosi.houchao.reomte.request.AccountRequest; import com.hundsun.network.gates.luosi.houchao.reomte.request.TransRequest; import com.hundsun.network.gates.luosi.houchao.reomte.result.FundBatchResult; import com.hundsun.network....
hnccfr/ccfrweb
fundcore/src/com/hundsun/network/gates/houchao/biz/manager/AccountCoreManager.java
Java
apache-2.0
2,177
/* * Copyright 2015 JP Ventura * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
jpventura/XYZReader
app/src/main/java/com/jpventura/xyzreader/adapter/Adapter.java
Java
apache-2.0
3,218
package org.forpdi.planning.jobs; import java.util.List; import java.util.concurrent.ConcurrentLinkedQueue; import javax.enterprise.context.ApplicationScoped; import javax.enterprise.inject.spi.CDI; import org.forpdi.planning.attribute.AggregateIndicator; import org.forpdi.planning.attribute.AttributeHelper; import ...
forpdi/forpdi
backend-java/src/main/java/org/forpdi/planning/jobs/OnLevelInstanceUpdateTask.java
Java
apache-2.0
11,440
package io.innofang.mvvmdemo.sign_in; import android.databinding.DataBindingUtil; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import io.innofang.mvvmdemo.BR; i...
InnoFang/Android-Code-Demos
MVVMDemo/app/src/main/java/io/innofang/mvvmdemo/sign_in/SignInFragment.java
Java
apache-2.0
1,445
/* * 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...
svagionitis/aws-sdk-cpp
aws-cpp-sdk-servicecatalog/source/model/ProvisioningArtifactSummary.cpp
C++
apache-2.0
3,457
/* * 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...
joewalnes/idea-community
platform/vcs-impl/src/com/intellij/openapi/vcs/changes/LogicallyLockedHolder.java
Java
apache-2.0
2,176
package org.sunger.net.util; import android.app.AlertDialog; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.Window; import android.widget.PopupWindow; imp...
XueBaoPeng/ningxiaVideo
app/src/main/java/org/sunger/net/util/UiHelper.java
Java
apache-2.0
1,577