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
/* tau - http://github.com/cwestin/tau Copyright 2013 Chris Westin Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by app...
cwestin/tau
crtl/include/pxAlign.h
C
apache-2.0
2,342
/** * ConversationService.java *TODO */ package com.ibm.conversation.service; import org.springframework.stereotype.Service; import com.ibm.watson.developer_cloud.conversation.v1.ConversationService; /** * @author Yu Tao Wang * */ @Service public class UserConversationService { private final...
wangyutao51/bluemixjavarun
src/main/java/com/ibm/conversation/service/UserConversationService.java
Java
apache-2.0
927
/* * Copyright (c) 2015-present, Parse, LLC. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package com.par...
sergey-korchagin/funny-photo
ParseStarterProject/src/main/java/com/parse/starter/MainActivity.java
Java
apache-2.0
2,666
package net.virtualinfinity.telnet.option; import net.virtualinfinity.telnet.Option; import net.virtualinfinity.telnet.OptionHandle; import net.virtualinfinity.telnet.Session; import net.virtualinfinity.telnet.SubNegotiationOutputChannel; import java.nio.ByteBuffer; import java.util.function.Function; /** * This ba...
DanielPitts/net.virtualinfinity.telnet
src/main/java/net/virtualinfinity/telnet/option/AbstractNegotiatingOption.java
Java
apache-2.0
2,250
/** * Copyright (c) 2013 Cangol. * * 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...
wsyandy/OneTV
src/mobi/cangol/mobile/onetv/adapter/UserHistoryAdapter.java
Java
apache-2.0
2,666
/* * 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 ...
RyanSkraba/beam
sdks/java/io/kinesis/src/main/java/org/apache/beam/sdk/io/kinesis/ShardReadersPool.java
Java
apache-2.0
13,571
/* * Copyright 2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License") * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
spinnaker/orca
orca-pipelinetemplate/src/main/java/com/netflix/spinnaker/orca/config/PipelineTemplateConfiguration.java
Java
apache-2.0
3,488
// Copyright 2015 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...
aehlig/bazel
src/test/java/com/google/devtools/build/lib/actions/util/TestAction.java
Java
apache-2.0
6,067
/** * Copyright (C) 2016 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.strata.measure.security; import static com.opengamma.strata.basics.currency.Currency.EUR; import static com.opengamma.strata.collect.TestHelper.coverPrivateCon...
ChinaQuants/Strata
modules/measure/src/test/java/com/opengamma/strata/measure/security/SecurityTradeCalculationFunctionTest.java
Java
apache-2.0
4,475
/* * Copyright Terracotta, 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 ...
anthonydahanne/terracotta-platform
management/testing/integration-tests/src/test/java/org/terracotta/management/integration/tests/SimpleGalvanIT.java
Java
apache-2.0
2,321
package com.webcohesion.enunciate.modules.jaxb.api.impl; import com.webcohesion.enunciate.api.InterfaceDescriptionFile; import com.webcohesion.enunciate.api.datatype.DataType; import com.webcohesion.enunciate.api.datatype.Namespace; import com.webcohesion.enunciate.facets.FacetFilter; import com.webcohesion.enunciate....
uniqueid001/enunciate
jaxb/src/main/java/com/webcohesion/enunciate/modules/jaxb/api/impl/NamespaceImpl.java
Java
apache-2.0
1,794
/* * Copyright 2012-2017 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...
Nowheresly/spring-boot
spring-boot-tools/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/tasks/bundling/BootZipCopyAction.java
Java
apache-2.0
10,130
/* * 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 ...
zhangminglei/flink
flink-connectors/flink-connector-kafka-base/src/test/java/org/apache/flink/streaming/connectors/kafka/KafkaTableSourceFactoryTestBase.java
Java
apache-2.0
7,652
/* * 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...
jentfoo/aws-sdk-java
aws-java-sdk-elasticsearch/src/main/java/com/amazonaws/services/elasticsearch/AbstractAWSElasticsearch.java
Java
apache-2.0
6,411
package org.synyx.urlaubsverwaltung.core.application.service; import org.apache.log4j.Logger; import org.joda.time.DateMidnight; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import org...
pongo710/urlaubsverwaltung
src/main/java/org/synyx/urlaubsverwaltung/core/application/service/ApplicationInteractionServiceImpl.java
Java
apache-2.0
17,315
package controller; import com.infoccsp.framework.web.springmvc.controller.PaginationableController; import entity.system.User; import framework.web.pagination.AbstractWebPagination; import framework.web.pagination.Bootstrap3KeyboardableWebPagination; import org.springframework.beans.factory.annotation.Autowired; impo...
yulianzhilan/BLOG
blog/src/main/java/controller/BaseController.java
Java
apache-2.0
2,243
/* * 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...
shs96c/buck
test/com/facebook/buck/cxx/CxxLibraryBuilder.java
Java
apache-2.0
10,530
package br.com.next.repositories; import java.util.List; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.CrudRepository; import org.springframework.data.rest.core.annotation.RepositoryRestResource; import br.com.next.model.Senha; import br.com.next.repositories.custom...
felansu/Next
src/main/java/br/com/next/repositories/IRepositorySenha.java
Java
apache-2.0
1,434
/* Copyright IBM Corp. 2016 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 wri...
christo4ferris/fabric-docs
core/ledger/util/couchdb/couchdb_test.go
GO
apache-2.0
10,862
package com.kite9.k9server.command.controllers; import java.io.IOException; import java.io.InputStream; import java.net.URI; import java.util.Base64; import java.util.Base64.Decoder; import java.util.concurrent.TimeUnit; import org.apache.commons.io.Charsets; import org.kite9.diagram.dom.cache.Cache; import org.kite9...
kite9-org/k9
src/main/java/com/kite9/k9server/command/controllers/AbstractStaticController.java
Java
apache-2.0
6,041
/* * Copyright 2013 Christof Lemke * * 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 ...
christoflemke/xml.entity
test/xml/entity/serialize/transform/TestRemoveNamespacePrefixes.java
Java
apache-2.0
2,568
package kikaha.core.modules.websocket; import static org.junit.Assert.assertEquals; import org.junit.Test; /** * Unit tests for {@link WebSocketPlainTextSerializers}. */ public class WebSocketPlainTextSerializersTest { final WebSocketPlainTextSerializers serializers = new WebSocketPlainTextSerializers(); final K...
Skullabs/kikaha
kikaha-core/tests/kikaha/core/modules/websocket/WebSocketPlainTextSerializersTest.java
Java
apache-2.0
1,033
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.model.admin.clustercontroller; import com.yahoo.component.ComponentSpecification; import com.yahoo.vespa.config.content.FleetcontrollerConfig; import com.yahoo.vespa.config.content.StorDistr...
vespa-engine/vespa
config-model/src/main/java/com/yahoo/vespa/model/admin/clustercontroller/ClusterControllerConfigurer.java
Java
apache-2.0
1,950
/** * Copyright 2017 Institute of Computing Technology, Chinese Academy of Sciences. * Licensed under the terms of the Apache 2.0 license. * Please see LICENSE file in the project root for terms */ package eml.studio.client.ui.connection; import eml.studio.client.controller.DiagramController; import eml.studio.cli...
ICT-BDA/EasyML
src/main/java/eml/studio/client/ui/connection/Connection.java
Java
apache-2.0
4,250
/* * 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 ...
mghosh4/druid
indexing-service/src/test/java/org/apache/druid/indexing/common/TaskToolboxTest.java
Java
apache-2.0
9,321
package diagnostics import ( "fmt" clientcmdapi "k8s.io/kubernetes/pkg/client/unversioned/clientcmd/api" "k8s.io/kubernetes/pkg/util/sets" clientdiags "github.com/openshift/origin/pkg/diagnostics/client" "github.com/openshift/origin/pkg/diagnostics/types" ) var ( // availableClientDiagnostics contains the nam...
linux-on-ibm-z/origin
pkg/cmd/experimental/diagnostics/client.go
GO
apache-2.0
2,246
/******************************************************************************* * Copyright 2014 See AUTHORS file. * * 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.a...
atomixnmc/gdx-ai
tests/src/com/badlogic/gdx/ai/tests/steer/scene2d/SteeringActor.java
Java
apache-2.0
7,241
/* * Copyright 2012-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 "licen...
dagnir/aws-sdk-java
aws-java-sdk-organizations/src/main/java/com/amazonaws/services/organizations/model/transform/HandshakeMarshaller.java
Java
apache-2.0
4,043
package com.sissi.protocol.offline; import java.text.ParseException; import java.text.SimpleDateFormat; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import com.sissi.commons.Trace; import com.sissi.io.read.Metadata; import com.sissi.persistent.RecoverDirection; import com.siss...
KimShen/sissi
src/main/java/com/sissi/protocol/offline/History.java
Java
apache-2.0
1,965
/** * Copyright © 2015 Pablo Grela Palleiro (pablogp_9@hotmail.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 requ...
pablogrela/members_cuacfm
src/main/java/org/cuacfm/members/model/training/TrainingRepositoryImpl.java
Java
apache-2.0
3,208
/* * Copyright 2012-2017 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...
ihoneymon/spring-boot
spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/tasks/bundling/AbstractBootArchiveTests.java
Java
apache-2.0
12,604
package com.ivanceras.db.server.core; import java.io.OutputStream; import java.math.BigDecimal; import java.math.BigInteger; import java.text.ParseException; import java.util.ArrayList; import java.util.Arrays; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import java.ut...
ivanceras/orm-extras
src/main/java/com/ivanceras/db/server/core/DB_Dynamo.java
Java
apache-2.0
16,808
package com.koch.ambeth.ioc.garbageproxy; /*- * #%L * jambeth-ioc * %% * Copyright (C) 2017 Koch Softwaredevelopment * %% * 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.apa...
Dennis-Koch/ambeth
jambeth/jambeth-ioc/src/main/java/com/koch/ambeth/ioc/garbageproxy/GCProxy.java
Java
apache-2.0
2,187
// Copyright © 2017 NAME HERE <EMAIL ADDRESS> // // 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 ...
alexshemesh/claptrap
cmd/vault_setkey.go
GO
apache-2.0
1,951
package com.mwmd.aem.search.scr; import com.mwmd.aem.search.core.annotation.Indexer; import com.mwmd.aem.search.core.indexing.ResourceIndexer; import java.util.List; import org.apache.felix.scrplugin.SCRDescriptorException; import org.apache.felix.scrplugin.SCRDescriptorFailureException; import org.apache.felix...
mwmd/ease
ease-scr/src/main/java/com/mwmd/aem/search/scr/ResourceIndexerAnnotationProcessor.java
Java
apache-2.0
2,118
package org.pikater.web.vaadin.gui.server.ui_expeditor.expeditor.boxbrowser; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import org.pikater.core.ontology.subtrees.agentinfo.AgentInfo; import org.pikater.web.config.KnownCoreAgents; im...
SkyCrawl/pikater-vaadin
src/org/pikater/web/vaadin/gui/server/ui_expeditor/expeditor/boxbrowser/BoxBrowserToolbox.java
Java
apache-2.0
2,733
/* Copyright 2014 Bernd Vogt and 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 by applicable law or agreed to in writing, so...
sourcepit/b2
b2-examples/src/main/examples/reactor-build/rcp/org.sourcepit.b2.examples.rcp/src/org/sourcepit/b2/examples/rcp/ApplicationWorkbenchAdvisor.java
Java
apache-2.0
1,195
/* * 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 ...
rcorcs/hadoop-watershed
src/hws/core/info/ChannelInfo.java
Java
apache-2.0
2,354
// Licensed to Cloudera, Inc. under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. Cloudera, Inc. licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use this f...
cloudera/hue
desktop/core/src/desktop/js/hue.js
JavaScript
apache-2.0
6,340
/* * Copyright (C) 2017-2019 Dremio Corporation * * 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...
dremio/dremio-oss
sabot/kernel/src/main/java/com/dremio/exec/store/iceberg/IcebergModelCreator.java
Java
apache-2.0
3,750
/* * 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...
jentfoo/aws-sdk-java
aws-java-sdk-workmail/src/main/java/com/amazonaws/services/workmail/model/transform/UserMarshaller.java
Java
apache-2.0
3,960
package org.apereo.cas.services; import org.apereo.cas.authentication.CoreAuthenticationTestUtils; import com.fasterxml.jackson.databind.ObjectMapper; import lombok.val; import org.apache.commons.io.FileUtils; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import org.springframework.core.io.Clas...
pdrados/cas
core/cas-server-core-authentication-attributes/src/test/java/org/apereo/cas/services/GroovyScriptAttributeReleasePolicyTests.java
Java
apache-2.0
3,154
/* * Copyright 2000-2016 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...
leafclick/intellij-community
plugins/IntelliLang/java-support/org/intellij/plugins/intelliLang/AdvancedSettingsUI.java
Java
apache-2.0
10,072
package de.tum.in.niedermr.ta.extensions.analysis.workflows.methodsignature.steps; import java.security.CodeSource; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Opti...
cqse/test-analyzer
test-analyzer-extensions/src/main/java/de/tum/in/niedermr/ta/extensions/analysis/workflows/methodsignature/steps/ReturnTypeCollectorStep.java
Java
apache-2.0
10,271
/* * 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...
erichwang/presto
presto-blackhole/src/main/java/io/prestosql/plugin/blackhole/BlackHoleNodePartitioningProvider.java
Java
apache-2.0
4,169
/* 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, ...
bskiba/autoscaler
cluster-autoscaler/cloudprovider/clusterapi/clusterapi_nodegroup.go
GO
apache-2.0
10,230
package com.example.prakhar.mobile.widgets.detail; import android.content.Context; import android.support.annotation.NonNull; import android.widget.Button; import android.widget.FrameLayout; import android.widget.ImageView; import android.widget.TextView; import com.bumptech.glide.Glide; import com.example.core.model...
prakh25/MovieApp
mobile/src/main/java/com/example/prakhar/mobile/widgets/detail/MovieCollectionWrapper.java
Java
apache-2.0
1,524
package ca.uhn.fhir.jaxrs.server.example; import static org.junit.jupiter.api.Assertions.*; import java.util.Arrays; import java.util.List; import org.apache.commons.lang3.StringUtils; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.servlet.ServletContextHandler; import org.eclipse.jetty.servlet.Ser...
SingingTree/hapi-fhir
hapi-fhir-jaxrsserver-example/src/test/java/ca/uhn/fhir/jaxrs/server/example/JaxRsPatientProviderTest.java
Java
apache-2.0
10,700
/** * Copyright © 2016 Mercateo AG (http://www.mercateo.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...
Mercateo/rest-hateoas-client
src/main/java/com/mercateo/rest/hateoas/client/impl/sse/SSEListener.java
Java
apache-2.0
2,196
// Copyright 2016-2022 The Libsacloud 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...
sacloud/libsacloud
v2/internal/define/container_registry.go
GO
apache-2.0
7,691
package org.ludo.codegenerator.xml.core.gen.core.bean.impl; import org.ludo.codegenerator.xml.core.gen.core.bean.GenClasseDeAssociation; import org.ludo.codegenerator.xml.core.gen.core.bean.GenAssociation; import java.util.ArrayList; import java.util.Iterator; import java.util.List; public class AbstractGenClasseDeA...
ludo1026/tuto
Generator/src/org/ludo/codegenerator/xml/core/gen/core/bean/impl/AbstractGenClasseDeAssociationBean.java
Java
artistic-2.0
1,209
/** * Copyright (c) 2017-2019, the Alpha Team. * All rights reserved. * * Additional changes made by Siemens. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1) Redistributions of source code must retain...
AntoniusW/Alpha
src/main/java/at/ac/tuwien/kr/alpha/common/atoms/ComparisonLiteral.java
Java
bsd-2-clause
7,775
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #include "DetailCustomizationsPrivatePCH.h" #include "AnimGraphDefinitions.h" #include "AnimGraphNode_TransitionPoseEvaluator.h" #include "AnimTransitionNodeDetails.h" #include "KismetEditorUtilities.h" #include "TransitionPoseEvaluatorNodeDetails.h" #de...
PopCap/GameIdea
Engine/Source/Editor/DetailCustomizations/Private/TransitionPoseEvaluatorNodeDetails.cpp
C++
bsd-2-clause
2,128
#if CA_TARGET_GFX_VULKAN #include "ca_base.h" #include "ca/core_assert.h" #include "ca/mem.h" #include "ca/gfx/vk.h" namespace ca { namespace gfx { void create_uniformpool(uniformpool_t * uniformpool, device_t * device, u32 max_uniforms, u32 max_uniformsets) { vk_device_t * vk_device = resolve_type(device); ...
fuglsang/canopy
src/ca/gfx/vk_uniformpool.cpp
C++
bsd-2-clause
2,027
/* * Copyright Aduna (http://www.aduna-software.com/) (c) 1997-2006. * * Licensed under the Aduna BSD-style license. */ package org.eclipse.rdf4j.rdf2go; import org.ontoware.rdf2go.model.Model; import org.ontoware.rdf2go.model.impl.AbstractStatement; import org.ontoware.rdf2go.model.node.Node; import org.ontoware...
semweb4j/semweb4j
org.semweb4j.rdf2go.impl.rdf4j/src/main/java/org/eclipse/rdf4j/rdf2go/StatementWrapper.java
Java
bsd-2-clause
1,419
package de.uni.freiburg.iig.telematik.secsy.logic.transformation.transformer.trace; import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Set; import de.invation.code.toval.properties.PropertyException; import de.invation.code.toval.validate.Parame...
iig-uni-freiburg/SecSy
src/de/uni/freiburg/iig/telematik/secsy/logic/transformation/transformer/trace/IncompleteLoggingTransformer.java
Java
bsd-3-clause
4,986
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/notifications/notification_event_dispatcher_impl.h" #include "base/callback.h" #include "base/strings/string_number_conversions...
ltilve/chromium
content/browser/notifications/notification_event_dispatcher_impl.cc
C++
bsd-3-clause
8,674
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <string> #include "base/basictypes.h" #include "base/file_path.h" #include "chrome/browser/child_process_security_policy.h" #include "c...
rwatson/chromium-capsicum
chrome/browser/child_process_security_policy_unittest.cc
C++
bsd-3-clause
10,413
/* * Copyright (C) 2010 Google Inc. 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 source code must retain the above copyright * notice, this list of condit...
CTSRD-SOAAP/chromium-42.0.2311.135
third_party/WebKit/Source/modules/webdatabase/InspectorDatabaseAgent.cpp
C++
bsd-3-clause
12,112
# Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # pylint: disable=W0401,W0614 from telemetry.page.actions.all_page_actions import * from telemetry.page import page as page_module from telemetry.page import ...
chromium2014/src
tools/perf/page_sets/tough_texture_upload_cases.py
Python
bsd-3-clause
1,541
package gov.nih.nci.cagrid.portal.portlet.sample; import org.springframework.web.portlet.mvc.AbstractController; import org.springframework.web.portlet.mvc.SimpleFormController; import org.springframework.web.portlet.ModelAndView; import org.springframework.validation.BindException; import javax.portlet.*; import go...
NCIP/cagrid
cagrid/Software/portal/cagrid-portal/samples/cagrid-evs-sample-portlet/src/java/gov/nih/nci/cagrid/portal/portlet/sample/EVSPortletController.java
Java
bsd-3-clause
1,511
/* * Copyright (C) 2009 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
ondra-novak/blink
Source/web/WebSettingsImpl.cpp
C++
bsd-3-clause
19,824
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/background_fetch/background_fetch_cross_origin_filter.h" #include <map> #include <string> #include "base/macros.h" #include "c...
endlessm/chromium-browser
content/browser/background_fetch/background_fetch_cross_origin_filter_unittest.cc
C++
bsd-3-clause
4,302
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/compositor/animation_metrics_recorder.h" #include "base/check_op.h" #include "ui/compositor/animation_metrics_reporter.h" namespace ui { A...
endlessm/chromium-browser
ui/compositor/animation_metrics_recorder.cc
C++
bsd-3-clause
2,083
/*================================================================================ Copyright (c) 2012 Steve Jin. All Rights Reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must re...
xebialabs/vijava
src/com/vmware/vim25/ArrayOfPropertyFilterUpdate.java
Java
bsd-3-clause
2,193
#ifndef EM_HEADER_1 #define EM_HEADER_1 //! simple declarations void em_void_func_void(void); void em_void_func_int(int a); void em_void_func_int_int(int a, int b); void em_void_func_voidptr(void* p); int em_int_func_int(int a); int em_int_func_int_int(int a, int b); int em_int_func_voidptr(void* p); //! function p...
alveko/easymock
test/include/em_header_1.h
C
bsd-3-clause
4,706
package us.kbase.auth2.service.api; import static us.kbase.auth2.lib.Utils.dateToSec; import java.util.Date; import java.util.HashMap; import java.util.LinkedList; import java.util.Map; import javax.inject.Inject; import javax.ws.rs.GET; import javax.ws.rs.HeaderParam; import javax.ws.rs.Path; import javax.ws.rs.Pat...
kbaseIncubator/auth2proto
src/us/kbase/auth2/service/api/LegacyGlobus.java
Java
mit
4,747
package gostatsd // Counter is used for storing aggregated values for counters. type Counter struct { PerSecond float64 // The calculated per second rate Value int64 // The numeric value of the metric Timestamp Nanotime // Last time value was updated Hostname string // Hostname of the source of the metr...
tiedotguy/gostatsd
counters.go
GO
mit
1,402
/* MIT License Copyright (c) 2020 Looker Data Sciences, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modi...
looker-open-source/sdk-codegen
examples/access-token-server/src/types/types.ts
TypeScript
mit
1,328
import {ViewEncapsulation} from 'angular2/src/core/metadata/view'; import {Injector, Injectable} from 'angular2/src/core/di'; export class RenderComponentType { constructor( public id: string, public encapsulation: ViewEncapsulation, public styles: Array<string|any[]>) {} } export class RenderDebugInfo ...
ochafik/angular
modules/angular2/src/core/render/api.ts
TypeScript
mit
2,971
const router = require('express').Router() const urls = require('../../../../lib/urls') const renderReferralDetails = require('./details/controller') const renderReferralHelp = require('./help/controller') const { renderSendReferralForm, submitSendReferralForm, } = require('./send-referral/controllers') const inte...
uktrade/data-hub-fe-beta2
src/apps/companies/apps/referrals/router.js
JavaScript
mit
1,114
package gui.assets; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Image; import java.awt.Insets; import java.awt.Toolkit; import java.util.ArrayList; import java.util.List; import gui.models.OrderTradesTableModel; import javax.swing.JComponent; import javax.swing.JFrame; import ja...
razakal/Qora
Qora/src/gui/assets/TradesFrame.java
Java
mit
3,754
import { STDLib, ContainingMetadata, Template } from './template'; import { Encoder } from './compile'; import { Op } from './vm-opcodes'; import { CompileTimeResolver, ResolvedComponentDefinition } from './serialize'; import { ComponentDefinitionState, ComponentDefinition } from './components'; import { HelperDefiniti...
glimmerjs/glimmer-vm
packages/@glimmer/interfaces/lib/program.d.ts
TypeScript
mit
3,939
var LogicLayer = require('./LogicLayer'); var LogicNode = require('./LogicNode'); var LogicNodes = require('./LogicNodes'); var LogicInterface = require('./LogicInterface'); var Vector3 = require('../../math/Vector3'); /** * Logic node that adds Vec3 inputs. * @private */ function LogicNodeVec3Add() { LogicNode.ca...
GooTechnologies/goojs
src/goo/logicpack/logic/LogicNodeVec3Add.js
JavaScript
mit
1,346
/*! * mifmi-commons4j * https://github.com/mifmi/mifmi-commons4j * * Copyright (c) 2015 mifmi.org and other contributors * Released under the MIT license * https://opensource.org/licenses/MIT */ package org.mifmi.commons4j.crypto; import java.io.InputStream; import java.io.OutputStream; import java.nio.charset....
mifmi/mifmi-commons-java
src/main/java/org/mifmi/commons4j/crypto/NullCryptor.java
Java
mit
1,376
package com.easytoolsoft.template.web.springmvc1.controller.home; import java.util.List; import javax.annotation.Resource; import com.easytoolsoft.commons.lang.tree.EasyUITreeNode; import com.easytoolsoft.commons.support.annotation.CurrentUser; import com.easytoolsoft.template.data.mybatis.domain.Module; import com....
easytoolsoft/springboot-project-template
web/web-springmvc1/src/main/java/com/easytoolsoft/template/web/springmvc1/controller/home/HomeController.java
Java
mit
1,573
/******************************************************************************* * Copyright (c) 2005, 2010 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
crapo/sadlos2
sadl3/com.ge.research.sadl.parent/com.ge.research.sadl.ui/src/com/ge/research/sadl/ui/imports/SADLImportMessages.java
Java
epl-1.0
4,958
/** * Copyright (c) 2013 Red Hat, Inc. * * This software is licensed to you under the GNU General Public License, * version 2 (GPLv2). There is NO WARRANTY for this software, express or * implied, including the implied warranties of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. You should have received a...
dmacvicar/spacewalk
java/code/src/com/redhat/rhn/frontend/action/systems/SoftwareCrashesAction.java
Java
gpl-2.0
3,748
/* Copyright (C) 2014 - 2017 by Chris Beck <render787@gmail.com> Part of the Battle for Wesnoth Project http://www.wesnoth.org/ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either v...
ln-zookeeper/wesnoth
src/display_chat_manager.hpp
C++
gpl-2.0
1,889
package com.dominion.hibernate.dao; import static org.hibernate.criterion.Example.create; import java.util.List; import org.hibernate.LockMode; import org.hibernate.Query; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.dominion.hibernate.entities.Articulos; /** * A data access object (DAO) pr...
talek69/curso
106-dominion-hibernate/src/com/dominion/hibernate/dao/ArticulosDAO.java
Java
gpl-3.0
4,697
/** * The contents of this file are subject to the OpenMRS Public License * Version 1.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://license.openmrs.org * * Software distributed under the License is distributed on an "AS IS" ...
hispindia/his-tb-emr
omod/src/main/java/org/openmrs/module/kenyaemr/fragment/controller/program/mchms/MchmsEnrollmentSummaryFragmentController.java
Java
gpl-3.0
2,941
/* Copyright (C) 2014-2016 Leosac This file is part of Leosac. Leosac is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later...
islog/leosac
src/tools/ElapsedTimeCounter.cpp
C++
agpl-3.0
1,086
/* * Kuali Coeus, a comprehensive research administration system for higher education. * * Copyright 2005-2015 Kuali, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, eithe...
sanjupolus/KC6.oLatest
coeus-impl/src/main/java/org/kuali/kra/iacuc/committee/meeting/IacucMeetingActionsAction.java
Java
agpl-3.0
6,420
# -*- coding: utf-8 -*- # This file is part of Shuup. # # Copyright (c) 2012-2017, Shoop Commerce Ltd. All rights reserved. # # This source code is licensed under the OSL-3.0 license found in the # LICENSE file in the root directory of this source tree. from __future__ import unicode_literals from shuup.admin.utils.v...
suutari-ai/shoop
shuup/admin/modules/sales_units/views/edit.py
Python
agpl-3.0
1,151
// Copyright 2012, 2013 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package upgrader_test import ( "fmt" "os" "path/filepath" stdtesting "testing" "time" "github.com/juju/errors" jc "github.com/juju/testing/checkers" "github.com/juju/utils" gc "launchpad.net/gocheck" "github...
rogpeppe/juju
worker/upgrader/upgrader_test.go
GO
agpl-3.0
10,526
/* * AMW - Automated Middleware allows you to manage the configurations of * your Java EE applications on an unlimited number of different environments * with various versions, including the automated deployment of those apps. * Copyright (C) 2013-2016 by Puzzle ITC * * This program is free software: you can redi...
a-gogo/agogo
AMW_web/src/main/java/ch/puzzle/itc/mobiliar/presentation/propertyTagEdit/EditPropertyTagView.java
Java
agpl-3.0
2,553
/* * Kuali Coeus, a comprehensive research administration system for higher education. * * Copyright 2005-2016 Kuali, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, eithe...
mukadder/kc
coeus-impl/src/main/java/org/kuali/coeus/common/api/budget/rates/BudgetRatesRestController.java
Java
agpl-3.0
9,584
/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ package org.hibernate.engine.transaction.internal; import java.util.LinkedHashSet;...
1fechner/FeatureExtractor
sources/FeatureExtractor/lib/hibernate-release-5.1.0.Final/project/hibernate-core/src/main/java/org/hibernate/engine/transaction/internal/SynchronizationRegistryImpl.java
Java
lgpl-2.1
2,216
package linprogMPC.messages.planning; import akka.basicMessages.AnswerContent; import linprogMPC.ThesisTopologySimple; import linprogMPC.messages.BuildingMessage; import linprogMPC.messages.extension.NetworkType; public class DemandMessage implements AnswerContent { private double[] demandForecast; // das beinhal...
SES-fortiss/SmartGridCoSimulation
projects/previousProjects/memapLinProgDenisThesis_2Houses/src/main/java/linprogMPC/messages/planning/DemandMessage.java
Java
apache-2.0
1,731
package server import ( "time" "github.com/kubernetes-incubator/cri-o/version" "golang.org/x/net/context" pb "k8s.io/kubernetes/pkg/kubelet/apis/cri/runtime/v1alpha2" ) const ( // kubeAPIVersion is the api version of kubernetes. // TODO: Track upstream code. For now it expects 0.1.0 kubeAPIVersion = "0.1.0" ...
vbatts/cri-o
server/version.go
GO
apache-2.0
984
/* * Copyright (c) 2008-2020, Hazelcast, 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 ...
mdogan/hazelcast
hazelcast/src/main/java/com/hazelcast/client/impl/protocol/task/transactionalmap/TransactionalMapContainsKeyMessageTask.java
Java
apache-2.0
3,013
/* * 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-apigateway/source/model/Integration.cpp
C++
apache-2.0
7,240
/* * Copyright 2018 Information & Computational Sciences, The James Hutton Institute * * 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 ...
buntata/buntata-app
app/src/main/java/uk/ac/hutton/ics/buntata/util/EmptyRecyclerView.java
Java
apache-2.0
2,321
// Copyright 2016 The SwiftShader 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 b...
google/swiftshader
src/Device/SetupProcessor.hpp
C++
apache-2.0
2,690
/* Derby - Class org.apache.derby.iapi.store.raw.Corruptable 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 und...
apache/derby
java/org.apache.derby.engine/org/apache/derby/iapi/store/raw/Corruptable.java
Java
apache-2.0
1,200
/* * Copyright (c) 2008-2020, Hazelcast, 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 ...
mdogan/hazelcast
hazelcast/src/main/java/com/hazelcast/multimap/impl/operations/GetAllOperation.java
Java
apache-2.0
2,866
/* * Copyright 2000-2017 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...
jk1/intellij-community
plugins/tasks/tasks-tests/test/com/intellij/tasks/TaskManagerTest.java
Java
apache-2.0
7,664
/* * This file is part of the Crawl RSS - Heritrix 3 add-on module * * Licensed to the National and Univeristy Library of Iceland (NULI) by one or * more individual contributors. * * The NULI licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this fi...
kris-sigur/crawlrss
src/main/java/is/landsbokasafn/crawler/rss/RssFeed.java
Java
apache-2.0
4,294
/* Copyright 2015 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, ...
majorleaguesoccer/kubernetes
pkg/registry/service/portallocator/controller/repair.go
GO
apache-2.0
5,107
package edu.byu.support.fragment; import android.os.Bundle; import android.support.annotation.LayoutRes; import android.support.annotation.NonNull; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import android.widget.ViewSwitcher; import ed...
byu-oit-appdev/android-byu-suite-v2
support/src/main/java/edu/byu/support/fragment/ByuRecyclerViewFragment.java
Java
apache-2.0
2,934