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
/* * Copyright 2012 David Cowden * 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 wr...
dcow/jPearltrees
src/me/dcow/pearltrees/PearlItrStmt.java
Java
apache-2.0
1,098
''' Created on Sep 15, 2012 SmartObject class The SmartObject is the top level Resource pointed to by the URL The base resource is a description, which for linked data is the default resource returned by SmartObject.get() Practical instances of SmartObject will have additional resources such as ObservableProperty...
connectIOT/iottoolkit
iottoolkit/core/SmartObject.py
Python
apache-2.0
2,130
/* Copyright The Pharmer 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, software...
appscode/pharmer
cloud/plugins.go
GO
apache-2.0
1,898
/** * Copyright 2013 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 ...
Netflix/astyanax
astyanax-cql/src/main/java/com/netflix/astyanax/cql/reads/FlatTableRowSliceQueryGen.java
Java
apache-2.0
12,125
/* * Copyright 2009-2013 by The Regents of the University of California * 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 from * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
parshimers/incubator-asterixdb
asterix-transactions/src/main/java/edu/uci/ics/asterix/transaction/management/resource/LSMRTreeLocalResourceMetadata.java
Java
apache-2.0
5,546
package org.ssase.objective.optimization.femosaa; import java.util.LinkedHashMap; import java.util.List; import jmetal.core.Solution; import org.femosaa.core.SASSolution; import org.ssase.objective.Objective; import org.ssase.primitive.ControlPrimitive; import org.ssase.region.Region; import org.ssase.util.Repositor...
taochen/ssase
src/main/java/org/ssase/objective/optimization/femosaa/FEMOSAASolutionAdaptor.java
Java
apache-2.0
1,646
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
google/b-con
utils/service_account_credentials.py
Python
apache-2.0
2,822
/* * Copyright 2000-2012 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...
consulo/consulo
modules/base/project-model-impl/src/main/java/com/intellij/openapi/components/impl/ModulePathMacroManager.java
Java
apache-2.0
1,998
/* * 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-ssmcontacts/src/main/java/com/amazonaws/services/ssmcontacts/model/transform/ListPagesByContactRequestProtocolMarshaller.java
Java
apache-2.0
2,742
package tcp import ( "context" "crypto/tls" "net" "time" "github.com/plgd-dev/go-coap/v2/net/blockwise" "github.com/plgd-dev/go-coap/v2/net/monitor/inactivity" ) // HandlerFuncOpt handler function option. type HandlerFuncOpt struct { h HandlerFunc } func (o HandlerFuncOpt) apply(opts *serverOptions) { opts....
drasko/mainflux
vendor/github.com/plgd-dev/go-coap/v2/tcp/options.go
GO
apache-2.0
8,247
/* Copyright 2018 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 http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dist...
GoogleContainerTools/kaniko
pkg/commands/entrypoint.go
GO
apache-2.0
1,556
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
JoelMarcey/buck
test/com/facebook/buck/query/BaseTestQueryEnvironment.java
Java
apache-2.0
3,073
/* * Copyright 2012-2013 eBay Software Foundation and ios-driver committers * * 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...
shutkou/ios-driver
server/src/main/java/org/uiautomation/ios/server/instruments/NoInstrumentsImplementationAvailable.java
Java
apache-2.0
4,330
package com.likya.tlossw.test.mailserver; import java.util.ArrayList; import org.apache.log4j.Logger; import com.likya.tlos.model.xmlbeans.config.MailOptionsDocument; import com.likya.tlos.model.xmlbeans.config.MailOptionsDocument.MailOptions; import com.likya.tlos.model.xmlbeans.config.SettingsDocument; im...
likyateknoloji/TlosSWGroup
TlosSWServerTester/src/com/likya/tlossw/test/mailserver/MailServerTester.java
Java
apache-2.0
4,241
/* * 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-kinesis-video-archived-media/source/KinesisVideoArchivedMediaErrors.cpp
C++
apache-2.0
3,227
/* ### * IP: GHIDRA * * 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 writin...
NationalSecurityAgency/ghidra
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/graph/AddressBasedGraphDisplayListener.java
Java
apache-2.0
8,052
package com.wenyu.danmuku.type; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Rect; import android.support.annotation.NonNull; import android.text.TextPaint; import com.wenyu.danmuku.base.AbstractDanMa; /** * Created by jiacheng.li on 17/3/12. ...
ChanJLee/android_live
danmaku/src/main/java/com/wenyu/danmuku/type/TextDanMa.java
Java
apache-2.0
1,511
package dao; import java.util.List; import javax.ejb.Stateless; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.Query; import domain.Pedido; @Stateless public class PedidoDao { @PersistenceContext private EntityManager entityManager; public void in...
MBatistussi/gerencia
src/main/java/daos/PedidoDao.java
Java
apache-2.0
1,550
/* * * LegendShop 多用户商城系统 * * 版权所有,并保留所有权利。 * */ package com.legendshop.business.dao.impl; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.legendshop.business.dao.ProductSpecDao; import com.legendshop.core.dao.impl.BaseDaoImpl; import com.legendshop.core.dao.supp...
8090boy/gomall.la
legendshop/src/java/com/legendshop/business/dao/impl/ProductSpecDaoImpl.java
Java
apache-2.0
1,271
/* * 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 ...
gustavoanatoly/hbase
hbase-client/src/main/java/org/apache/hadoop/hbase/security/access/ShadedAccessControlUtil.java
Java
apache-2.0
12,441
/* * Copyright (c) 2008-2021, 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 ...
emre-aydin/hazelcast
hazelcast/src/main/java/com/hazelcast/client/impl/protocol/codec/holder/CacheConfigHolder.java
Java
apache-2.0
11,784
/* * Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. */ package com.intellij.codeInspection.dataFlow; import com.intellij.codeInsight.AnnotationUtil; import com.intellij.codeInspection.dataFlow.inference.JavaSourceInference; im...
consulo/consulo-java
java-analysis-impl/src/main/java/com/intellij/codeInspection/dataFlow/Mutability.java
Java
apache-2.0
8,434
/* * Copyright 2003-2010 Dave Griffith, Bas Leijdekkers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
consulo/consulo-java
java-impl/src/main/java/com/siyeh/ig/abstraction/FeatureEnvyInspection.java
Java
apache-2.0
3,092
/* * Copyright 2017-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
spring-cloud/spring-cloud-gcp
spring-cloud-gcp-data-spanner/src/main/java/org/springframework/cloud/gcp/data/spanner/core/ReadOnlyTransactionSpannerTemplate.java
Java
apache-2.0
3,591
/** * vertigo - simple java starter * * Copyright (C) 2013-2018, KleeGroup, direction.technique@kleegroup.com (http://www.kleegroup.com) * KleeGroup, Centre d'affaire la Boursidiere - BP 159 - 92357 Le Plessis Robinson Cedex - France * * Licensed under the Apache License, Version 2.0 (the "License"); * you may n...
KleeGroup/vertigo-addons
vertigo-stella/src/main/java/io/vertigo/stella/plugins/work/rest/workers/RestQueueClient.java
Java
apache-2.0
7,848
/* * 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
java/idea-ui/src/com/intellij/openapi/roots/ui/configuration/LibraryChooserElement.java
Java
apache-2.0
2,721
/* * Copyright 2012-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...
kdvolder/spring-boot
spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/trace/http/HttpTraceAutoConfiguration.java
Java
apache-2.0
3,186
/* * 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
adapter/src/test/java/com/adaptris/core/services/metadata/MapMetadataServiceTest.java
Java
apache-2.0
3,725
/* * 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...
mdanielwork/intellij-community
java/java-impl/src/com/intellij/codeInsight/generation/surroundWith/JavaWithTryCatchSurrounder.java
Java
apache-2.0
4,420
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
JoelMarcey/buck
src/com/facebook/buck/core/rules/impl/AbstractBuildRule.java
Java
apache-2.0
4,894
/* * Copyright 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 required by applica...
robinverduijn/gradle
subprojects/core/src/main/java/org/gradle/api/internal/project/taskfactory/BridgingIncrementalInputsTaskAction.java
Java
apache-2.0
2,699
package org.apereo.cas.okta; import org.apereo.cas.authentication.AuthenticationHandler; import org.apereo.cas.authentication.CoreAuthenticationTestUtils; import org.apereo.cas.config.CasAuthenticationEventExecutionPlanTestConfiguration; import org.apereo.cas.config.CasCoreAuthenticationConfiguration; import org.apere...
leleuj/cas
support/cas-server-support-okta-authentication/src/test/java/org/apereo/cas/okta/OktaAuthenticationStateHandlerTests.java
Java
apache-2.0
3,474
package org.sagebionetworks.table.query; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.Test; import org.sagebionetworks.table.query.model.ColumnName; pub...
Sage-Bionetworks/Synapse-Repository-Services
lib/lib-table-query/src/test/java/org/sagebionetworks/table/query/ColumnNameTest.java
Java
apache-2.0
1,350
# Copyright 2021 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 in writing, sof...
google/python-proto-converter
example/converter_example.py
Python
apache-2.0
1,860
package com.wingjay.jayandroid.daggerForGlow.fakeForum; import android.os.Bundle; import android.util.Log; import com.wingjay.jayandroid.BaseActivity; import com.wingjay.jayandroid.daggerForGlow.fakeApp.obj.DailyLog; import com.wingjay.jayandroid.daggerForGlow.fakeApp.obj.User; import com.wingjay.jayandroid.daggerFor...
wingjay/jayAndroid
app/src/main/java/com/wingjay/jayandroid/daggerForGlow/fakeForum/DaggerForGlowForumActivity.java
Java
apache-2.0
1,223
/* * Copyright 2002-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-projects/spring-framework
spring-test/src/test/java/org/springframework/test/web/client/samples/matchers/XpathRequestMatchersIntegrationTests.java
Java
apache-2.0
8,170
/* Copyright 2020 The Knative 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...
knative/eventing
pkg/reconciler/source/duck/controller_test.go
GO
apache-2.0
1,840
package fr.nacvolley.tournament.util; import fr.nacvolley.tournament.model.Tournament; import org.ektorp.CouchDbConnector; import org.ektorp.ViewQuery; import org.ektorp.support.CouchDbRepositorySupport; import org.ektorp.support.GenerateView; import java.util.List; /** * Created by emmfau on 19/03/16. * TODO : ha...
emmfau/tournament
webapp/src/main/java/fr/nacvolley/tournament/util/TournamentRepository.java
Java
apache-2.0
930
/* Copyright 2015 Marceau Dewilde <m@ceau.be> 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 wr...
mdewilde/querymapper
src/main/java/be/ceau/querymapper/IllegalAnnotationException.java
Java
apache-2.0
948
/* * HtmlOptionsPanel.java * * This file is part of SQL Workbench/J, http://www.sql-workbench.net * * Copyright 2002-2015, Thomas Kellerer * * 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...
Taller/sqlworkbench-plus
src/workbench/gui/dialogs/export/HtmlOptionsPanel.java
Java
apache-2.0
4,903
package com.github.arteam.dropwizard.http2.client.transport; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonTypeName; import com.google.common.base.MoreObjects; import com.google.common.collect.ImmutableList; import com.google.common.collect.Iterables; import org.ecli...
arteam/dropwizard-http2-client
src/main/java/com/github/arteam/dropwizard/http2/client/transport/Http2ClientTransportFactory.java
Java
apache-2.0
2,145
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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...
Senseg/robotframework
src/robot/libraries/Dialogs.py
Python
apache-2.0
3,260
package de.m3y3r.oauth.util; import java.util.List; import java.util.function.Predicate; import javax.json.Json; import javax.json.JsonObject; import javax.json.JsonObjectBuilder; public class MappingUtil { /** * transfer 1:1 mappings * @param s * @param directMappings * @return */ public static JsonObj...
thomasmey/einkaufsliste-server
server/src/main/java/de/m3y3r/oauth/util/MappingUtil.java
Java
apache-2.0
927
package com.ctrip.xpipe.cluster; import org.apache.curator.framework.CuratorFramework; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import com.ctrip.xpipe.AbstractTest; import com.ctrip.xpipe.zk.ZkConfig; import com.ctrip.xpipe.zk.ZkTestServer; import com.ctrip.xpipe.zk.impl.DefaultZkConfi...
Yiiinsh/x-pipe
core/src/test/java/com/ctrip/xpipe/cluster/DefaultLeaderElectorTest.java
Java
apache-2.0
1,101
/* Copyright (c) 2013, Colorado State University 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 conditions and ...
malensek/sing
src/main/java/io/sigpipe/sing/dataset/BlockMetadata.java
Java
bsd-2-clause
4,452
/** * Created: Dec 13, 2010 11:25:12 PM */ package com.livescribe.framework.version.response; import java.util.ArrayList; import java.util.List; import com.livescribe.framework.version.dto.VersionDTO; import com.livescribe.framework.web.response.ServiceResponse; import com.thoughtworks.xstream.annotations.XStreamA...
jackstraw66/web
livescribe/lsversion/src/main/java/com/livescribe/framework/version/response/AllConfigResponse.java
Java
bsd-2-clause
861
// // Copyright (c) 2015 Oliver Lehmann <lehmann@ans-netz.de> // 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,...
OlliL/moneyjinn-server
moneyjinn-service-impl/src/main/java/org/laladev/moneyjinn/service/dao/data/mapper/ContractpartnerDataMapper.java
Java
bsd-2-clause
4,492
// This file was procedurally generated from the following sources: // - src/function-forms/params-trailing-comma-single.case // - src/function-forms/default/async-arrow-function.template /*--- description: A trailing comma should not increase the respective length, using a single parameter (async arrow function expres...
sebastienros/jint
Jint.Tests.Test262/test/language/expressions/async-arrow-function/params-trailing-comma-single.js
JavaScript
bsd-2-clause
1,421
// Copyright 2016, Timothy Bogdala <tdb@animal-machine.com> // See the LICENSE file for more details. package main import ( "fmt" "os" "runtime" "time" input "github.com/tbogdala/fizzle/input/glfwinput" ) // GLFW event handling must run on the main OS thread. func init() { runtime.LockOSThread() } const ( w...
tbogdala/fizzle
examples/testscene/main.go
GO
bsd-2-clause
1,501
/*L * Copyright Oracle Inc, SAIC-F. * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/cadsr-bulk-loader/LICENSE.txt for details. */ package gov.nih.nci.ncicb.cadsr.bulkloader.dao.write; import gov.nih.nci.ncicb.cadsr.bulkloader.beans.CaDSRObjects; import gov.nih.nci.ncicb....
NCIP/cadsr-bulk-loader
cadsrbulkloader/src/main/java/gov/nih/nci/ncicb/cadsr/bulkloader/dao/write/BulkLoaderWriteDAOImpl.java
Java
bsd-3-clause
1,311
package foundation // #include <virgil/crypto/foundation/vscf_foundation_public.h> import "C" import unsafe "unsafe" import "runtime" type MessageInfoCustomParams struct { cCtx *C.vscf_message_info_custom_params_t /*ct2*/ } /* Handle underlying C context. */ func (obj *MessageInfoCustomParams) Ctx() uintptr { retu...
go-virgil/virgil
crypto/wrapper/foundation/message_info_custom_params.go
GO
bsd-3-clause
4,426
// Copyright (c) 2012 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 "components/web_modal/web_contents_modal_dialog_manager.h" #include <map> #include "base/memory/scoped_ptr.h" #include "components/web_moda...
Workday/OpenFrame
components/web_modal/web_contents_modal_dialog_manager_unittest.cc
C++
bsd-3-clause
13,323
package org.jimmutable.gcloud.pubsub; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.CopyOnWriteArrayList; import org.jimmutable.core.objects.StandardObject; import org.jimmutable.core.utils.Validator; import com.google.cloud.pubsub.v1.AckReply...
jimmutable/core
archived/gcloud/src/main/java/org/jimmutable/gcloud/pubsub/StandardObjectReceiver.java
Java
bsd-3-clause
3,063
// Copyright (c) 2011 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 "base/i18n/case_conversion.h" #include "base/utf_string_conversions.h" #include "unicode/unistr.h" namespace base { namespace i18n { strin...
Crystalnix/house-of-life-chromium
base/i18n/case_conversion.cc
C++
bsd-3-clause
1,005
/* Copyright (c) 2015, Alcatel-Lucent 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 condi...
nuagenetworks/nuage-kubernetes
nuagekubemon/vendor/github.com/nuagenetworks/vspk-go/vspk/qospolicer.go
GO
bsd-3-clause
5,332
/** * Copyright (C) 2011-2014 Barchart, Inc. <http://www.barchart.com/> * * All rights reserved. Licensed under the OSI BSD License. * * http://www.opensource.org/licenses/bsd-license.php */ package com.barchart.netty.server.http.error; import io.netty.handler.codec.http.HttpResponseStatus; public class ServerE...
barchart/barchart-netty4
server/src/main/java/com/barchart/netty/server/http/error/ServerException.java
Java
bsd-3-clause
1,039
/** * Copyright (c) 2013 Center for Internet Excellence, University of Oulu, All Rights Reserved * For conditions of distribution and use, see copyright notice in license.txt */ package fi.cie.chiru.servicefusionar.commands; import commands.Command; import fi.cie.chiru.servicefusionar.serviceApi.DragDataObject;...
Chiru/ServiceFusionAR
src/fi/cie/chiru/servicefusionar/commands/MovieLogin.java
Java
bsd-3-clause
1,136
// Copyright (c) 2012 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 "chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h" #include "base/bind.h" #include "base/bind_helpers.h" #include "base/l...
mogoweb/chromium-crosswalk
chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.cc
C++
bsd-3-clause
13,449
// Copyright 2015 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 "components/policy/core/browser/android/android_combined_policy_provider.h" #include "base/android/jni_android.h" #include "base/android/jni_str...
endlessm/chromium-browser
components/policy/core/browser/android/android_combined_policy_provider.cc
C++
bsd-3-clause
2,106
// 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 "chrome/browser/ui/webui/settings/chromeos/internet_handler.h" #include <memory> #include "base/macros.h" #include "chrome/test/base/browser_wi...
endlessm/chromium-browser
chrome/browser/ui/webui/settings/chromeos/internet_handler_unittest.cc
C++
bsd-3-clause
4,357
/* * The MIT License (MIT) * * Copyright (c) 2016 CNES * * 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, m...
ccsdsmo/malc
test/testarea/src/com_activitytracking_activitytransfer.c
C
mit
6,400
package com.reoky.crackme.challengefour.activities; import android.app.FragmentTransaction; import android.os.Bundle; import android.app.ActionBar; import android.support.v4.app.FragmentActivity; import android.support.v4.view.ViewPager; import android.view.WindowManager; import com.reoky.crackme.challengefour.R; imp...
ohyeah521/android-crackme-challenge
challenge-four/app/src/main/java/com/reoky/crackme/challengefour/activities/ChallengeActivity.java
Java
mit
2,255
/* * Copyright (C) 2017, Ulrich Wolffgang <ulrich.wolffgang@proleap.io> * All rights reserved. * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ package io.proleap.cobol.asg.metamodel.valuestmt.condition; import io.proleap.cobo...
uwol/cobol85parser
src/main/java/io/proleap/cobol/asg/metamodel/valuestmt/condition/ClassCondition.java
Java
mit
900
/* * Copyright (c) 2012. HappyDroids LLC, All rights reserved. */ package com.happydroids.droidtowers.gui; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.SpriteBatch; import com.badlogic.gdx.scenes.scene2d.ui.Widget; import com.happydroids.droi...
0x90sled/droidtowers
main/source/com/happydroids/droidtowers/gui/VerticalRule.java
Java
mit
1,303
/* * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. * */ package com.azure.cosmos; import com.azure.cosmos.models.CosmosDatabaseProperties; import com.azure.cosmos.models.CosmosDatabaseRequestOptions; import com.azure.cosmos.models.CosmosDatabaseResponse; import com.az...
selvasingh/azure-sdk-for-java
sdk/cosmos/azure-cosmos/src/test/java/com/azure/cosmos/CosmosDatabaseContentResponseOnWriteTest.java
Java
mit
3,336
/* * Copyright (C) 2017, Ulrich Wolffgang <ulrich.wolffgang@proleap.io> * All rights reserved. * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ package io.proleap.cobol.asg.metamodel.data.file; import io.proleap.cobol.CobolParser.BlockC...
uwol/cobol85parser
src/main/java/io/proleap/cobol/asg/metamodel/data/file/FileDescriptionEntry.java
Java
mit
2,477
/* * Copyright 2002-2016 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...
boggad/jdk9-sample
sample-catalog/src/main/spring.context/org/springframework/context/annotation/ContextAnnotationAutowireCandidateResolver.java
Java
mit
3,817
/** * Copyright (c) 2011, 2014 Eurotech and/or its affiliates * * 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, and is available at * http://www.eclipse.org/legal/epl-v10.html * ...
neubatengog/kura
kura/org.eclipse.kura.core.net/src/main/java/org/eclipse/kura/core/net/modem/ModemInterfaceAddressImpl.java
Java
epl-1.0
2,669
package de.cooperateproject.ui.perspective; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.Optional; import java.util.stream.Collectors; import org.eclipse.ui.IFolderLayout; import org.eclipse.ui.IPageLayout; import org.eclipse.ui.IPerspectiveFactory; import org.e...
Cooperate-Project/Cooperate
bundles/de.cooperateproject.ui/src/de/cooperateproject/ui/perspective/CooperatePerspective.java
Java
epl-1.0
2,813
/* * Copyright (c) 2014, 2015 Cisco Systems, Inc. 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, * and is available at http://www.eclipse.org/legal/epl-v10.html */ packa...
inocybe/odl-controller
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/RoleChangeNotifierTest.java
Java
epl-1.0
5,504
/** * OWASP Benchmark Project v1.1 * * This file is part of the Open Web Application Security Project (OWASP) * Benchmark Project. For details, please see * <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>. * * The Benchmark is free software: you can redistribute it and/...
iammyr/Benchmark
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest17204.java
Java
gpl-2.0
2,440
/************************************************************************* * * AVRGAMING LLC * __________________ * * [2013] AVRGAMING LLC * All Rights Reserved. * * NOTICE: All information contained herein is, and remains * the property of AVRGAMING LLC and its suppliers, * if any. The intellectual an...
ataranlen/civcraft
civcraft/src/com/avrgaming/civcraft/lorestorage/LoreGuiItem.java
Java
gpl-2.0
3,316
/* Copyright (C) 2008-2016 Vana Development Team 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; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHOUT...
retep998/Vana
src/world_server/world_server_accepted_session.hpp
C++
gpl-2.0
1,366
/* The MIT License (MIT) Copyright (c) 2016 Fred Sundvik 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, modify, merge, ...
fudanchii/qmk_firmware
quantum/visualizer/led_keyframes.h
C
gpl-2.0
2,086
/* * This file is part of Arduino Builder. * * Arduino Builder is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program...
facchinm/arduino-builder
src/arduino.cc/builder/test/builder_utils_test.go
GO
gpl-2.0
4,716
/** * OWASP Benchmark Project v1.1 * * This file is part of the Open Web Application Security Project (OWASP) * Benchmark Project. For details, please see * <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>. * * The Benchmark is free software: you can redistribute it and/...
iammyr/Benchmark
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest18457.java
Java
gpl-2.0
2,459
// // C++ Implementation: clistgroupeditor // // Description: list group editor widget // /* Copyright 2008-2011 Tomas Mecir <kmuddy@kmuddy.com> 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...
FractalBobz/kmuddy
libs/clistgroupeditor.cpp
C++
gpl-2.0
1,387
/* Common target-dependent code for NetBSD systems. Copyright (C) 2002, 2006 Free Software Foundation, Inc. Contributed by Wasabi Systems, Inc. This file is part of GDB. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as pu...
ipwndev/DSLinux-Mirror
user/gdb/gdb/nbsd-tdep.c
C
gpl-2.0
1,610
/* ** Zabbix ** Copyright (C) 2001-2015 Zabbix SIA ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License as published by ** the Free Software Foundation; either version 2 of the License, or ** (at your option) any later version. ** ** This pro...
TamasSzerb/zabbix
src/zabbix_java/src/com/zabbix/gateway/ConfigurationManager.java
Java
gpl-2.0
3,237
/* * This file is part of DrFTPD, Distributed FTP Daemon. * * DrFTPD is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * DrFTPD...
f4bio/drftpd3-extended
src/slave/src/org/drftpd/slave/SlaveStatus.java
Java
gpl-2.0
3,797
/* * Copyright (C) 2005-2020 Gregory Hedlund & Yvan Rose * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applica...
ghedlund/phon
app/src/main/java/ca/phon/app/opgraph/OverrideParameterPanel.java
Java
gpl-3.0
11,742
/** * Copyright 2013 Dennis Ippel * * 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...
sujitkjha/360-Video-Player-for-Android
rajawali/src/main/java/org/rajawali3d/animation/mesh/VertexAnimationObject3D.java
Java
gpl-3.0
4,028
/* This file is part of libNativeDVBIO by Varga Bence. libNativeDVBIO is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. libNativeDVBIO is dis...
hirooka/haryuka
src/main/jni/dvb-is/linux/libnativedvbio/src/dvb_resource_collection.c
C
gpl-3.0
1,491
/* * Syncany, www.syncany.org * Copyright (C) 2011-2014 Philipp C. Heckel <philipp.heckel@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or ...
aviau/syncany-gbp
syncany-lib/src/test/java/org/syncany/tests/database/dao/FileVersionDaoTest.java
Java
gpl-3.0
9,801
/******************************************************************************* * HELIUM V, Open Source ERP software for sustained success * at small and medium-sized enterprises. * Copyright (C) 2004 - 2015 HELIUM V IT-Solutions GmbH * * This program is free software: you can redistribute it and/or modify * it...
erdincay/ejb
src/com/lp/server/angebotstkl/ejb/Einkaufsangebot.java
Java
agpl-3.0
6,577
/* * RapidMiner * * Copyright (C) 2001-2013 by Rapid-I and the contributors * * Complete list of developers available at our web site: * * http://rapid-i.com * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as pub...
aborg0/RapidMiner-Unuk
src/com/rapidminer/tools/math/distribution/EmpiricalNormalDistribution.java
Java
agpl-3.0
4,044
// Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/> // Copyright (C) 2010 Winch Gate Property Limited // // 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, either version ...
KostasLifeboy/RyzomCore
nel/src/gui/input_handler.cpp
C++
agpl-3.0
6,242
/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (info@qt.nokia.com) ** ** ** GNU Lesser General Public License Usage ** ** This file may be used unde...
pcacjr/qt-creator
src/libs/utils/ssh/sftpoperation.cpp
C++
lgpl-2.1
5,305
/* This file is part of the Grantlee template system. Copyright (c) 2010 Stephen Kelly <steveire@gmail.com> 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 t...
cutelyst/grantlee
examples/contacts/main_kde.cpp
C++
lgpl-2.1
1,350
package magicrafttg; import org.lwjgl.input.Keyboard; import magicrafttg.client.KeyHandler; import magicrafttg.client.gui.ManaSourceGui; import magicrafttg.client.model.ModelMCTGDireWolf; import magicrafttg.client.model.ModelMCTGSkeleton; import magicrafttg.client.model.ModelMCTGTroll; import magicrafttg.client.model...
alsimore/MagicraftTG
src/main/java/magicrafttg/ClientProxy.java
Java
lgpl-2.1
5,233
/******************************************************************************* * Copyright (c) 2009 itemis AG (http://www.itemis.eu) 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 distr...
JKatzwinkel/bts
org.eclipse.xtext.ui/src/org/eclipse/xtext/ui/editor/AbstractDirtyStateAwareEditorCallback.java
Java
lgpl-3.0
3,256
//go:build windows // Copyright 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...
aws/amazon-ecs-agent
agent/taskresource/fsxwindowsfileserver/fsxwindowsfileserver_windows.go
GO
apache-2.0
24,337
/* * 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-glue/source/model/ExecutionProperty.cpp
C++
apache-2.0
1,599
/* * Copyright 2000-2012 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
IllusionRom-deprecated/android_platform_tools_idea
plugins/devkit/src/run/PluginConfigurationType.java
Java
apache-2.0
3,921
package com.github.czyzby.lml.vis.parser.impl.nongwt.attribute.file; import com.github.czyzby.lml.parser.LmlParser; import com.github.czyzby.lml.parser.action.ActorConsumer; import com.github.czyzby.lml.parser.tag.LmlAttribute; import com.github.czyzby.lml.parser.tag.LmlTag; import com.kotcrab.vis.ui.widget.file.FileC...
tommyettinger/SquidSetup
src/main/java/com/github/czyzby/lml/vis/parser/impl/nongwt/attribute/file/IconProviderLmlAttribute.java
Java
apache-2.0
1,480
/* 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...
tinyspeck/vitess
go/vt/vttablet/tabletmanager/rpc_schema.go
GO
apache-2.0
2,987
/** * <copyright> * </copyright> * * */ package eu.hyvar.context.contextValidity.resource.hyvalidityformula.mopp; /** * A single pair of brackets. */ public class HyvalidityformulaBracketPair implements eu.hyvar.context.contextValidity.resource.hyvalidityformula.IHyvalidityformulaBracketPair { private Stri...
HyVar/DarwinSPL
plugins/eu.hyvar.context.contextValidity.resource.hyvalidityformula/src-gen/eu/hyvar/context/contextValidity/resource/hyvalidityformula/mopp/HyvalidityformulaBracketPair.java
Java
apache-2.0
1,500
/* * Copyright (C) 2011 Everit Kft. (http://www.everit.biz) * * 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...
everit-org/expression-mvel
src/test/java/org/everit/expression/mvel/tests/MvelTest.java
Java
apache-2.0
2,842
package com.eeb.dropwizardmongo.example; import com.eeb.dropwizardmongo.configuration.DropwizardMongoConfiguration; import com.eeb.dropwizardmongo.health.MongoHealthCheck; import com.eeb.dropwizardmongo.example.resources.CollectionIdsResource; import com.mongodb.DB; import com.mongodb.MongoClient; import io.dropwizard...
eeb/dropwizard-mongo
dropwizard-mongo-example/src/main/java/com/eeb/dropwizardmongo/example/DropwizardMongoApplication.java
Java
apache-2.0
1,190
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands; import org.eclipse.core.commands.ExecutionException; import org.eclipse.core.runtime.IAdaptable; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.emf.ecore.EObject; import org.eclipse.gmf.runtime.common.core.command.CommandResu...
prabushi/devstudio-tooling-esb
plugins/org.wso2.developerstudio.eclipse.gmf.esb.diagram/src/org/wso2/developerstudio/eclipse/gmf/esb/diagram/edit/commands/ProxyInSequenceInputConnectorCreateCommand.java
Java
apache-2.0
3,010