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
/* * 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 ...
amoudi87/asterixdb
asterix-common/src/main/java/org/apache/asterix/common/feeds/FeedTupleCommitResponseMessage.java
Java
apache-2.0
3,252
package rx.android.samples; import android.app.Activity; import android.os.Bundle; import androidx.recyclerview.widget.RecyclerView; import mobctrl.TreeRecyclerViewHelper; /** * Created by Lin on 2016/10/10. */ public class RootActivity extends Activity { private RecyclerView recyclerView; private TreeR...
Aiushtha/Go-RxJava
sample-app/src/main/java/rx/android/samples/RootActivity.java
Java
apache-2.0
651
/* * 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 ...
smgoller/geode
geode-for-redis/src/distributedTest/java/org/apache/geode/redis/internal/commands/executor/sortedset/ZRemDUnitTest.java
Java
apache-2.0
8,643
/* * Copyright 2009 Red Hat, Inc. * * Red Hat licenses this file to you 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 ...
reines/httptunnel
src/test/java/com/yammer/httptunnel/client/HttpTunnelClientChannelTest.java
Java
apache-2.0
10,535
package ec2 import "github.com/timob/javabind" type ServicesEc2ModelDetachClassicLinkVpcRequestInterface interface { AmazonWebServiceRequestInterface // public void setInstanceId(java.lang.String) SetInstanceId(a string) // public java.lang.String getInstanceId() GetInstanceId() string // public com.amazona...
timob/ec2
com_amazonaws_services_ec2_model_DetachClassicLinkVpcRequest.go
GO
bsd-2-clause
8,471
package edu.berkeley.path.beats.util.scenario; import javax.xml.bind.JAXBException; import javax.xml.bind.Marshaller; import org.apache.log4j.Logger; import edu.berkeley.path.beats.simulator.BeatsException; abstract class ScenarioSaverBase implements ScenarioSaverIF { protected Marshaller getMarshaller() throws J...
relteq/beats
src/main/java/edu/berkeley/path/beats/util/scenario/ScenarioSaverBase.java
Java
bsd-2-clause
1,130
/* Open Asset Import Library (assimp) ---------------------------------------------------------------------- Copyright (c) 2006-2021, assimp team All rights reserved. Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following condition...
nyaki-HUN/DESIRE
DESIRE-Modules/ResourceLoader-Assimp/Externals/Assimp/code/AssetLib/Assxml/AssxmlExporter.cpp
C++
bsd-2-clause
2,339
package edu.ucsf.lava.crms.protocol.model; import java.util.LinkedHashSet; import java.util.Set; /** * * @author ctoohey * * */ public abstract class ProtocolTimepointConfigBase extends ProtocolNodeConfig implements Comparable<ProtocolTimepointConfig> { public ProtocolTimepointConfigBase(){ ...
UCSFMemoryAndAging/lava
lava-crms/src/edu/ucsf/lava/crms/protocol/model/ProtocolTimepointConfigBase.java
Java
bsd-2-clause
1,141
// Copyright 2013 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/extensions/extension_test_notification_observer.h" #include <stddef.h> #include "base/callback_list.h" #include "base/scoped_ob...
danakj/chromium
chrome/browser/extensions/extension_test_notification_observer.cc
C++
bsd-3-clause
11,317
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package godoc import ( "net/http" "regexp" "sync" "text/template" "github.com/zengbo/go.tools/godoc/vfs/httpfs" ) // SearchResultFunc functions return a...
zengbo/go.tools
godoc/pres.go
GO
bsd-3-clause
4,754
/*================================================================================ 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/ArrayOfHostFirewallRulesetIpNetwork.java
Java
bsd-3-clause
2,305
# Initialize App Engine and import the default settings (DB backend, etc.). # If you want to use a different backend you have to remove all occurences # of "djangoappengine" from this file. from djangoappengine.settings_base import * import os DEBUG = True # Activate django-dbindexer for the default database DATABAS...
vivekananda/fbeats
settings.py
Python
bsd-3-clause
1,737
/* Copyright (C) 2015 Electronic Arts 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 conditions and the...
DanielSperry/orbit
actors/core/src/main/java/com/ea/orbit/actors/runtime/ReferenceFactory.java
Java
bsd-3-clause
1,805
/** Copyright 2009-2017 National Technology and Engineering Solutions of Sandia, LLC (NTESS). Under the terms of Contract DE-NA-0003525, the U.S. Government retains certain rights in this software. Sandia National Laboratories is a multimission laboratory managed and operated by National Technology and Engineering...
minyee/sst-macro
sstmac/hardware/network/network_id.h
C
bsd-3-clause
2,320
// Copyright (c) 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 "net/third_party/quiche/src/quic/core/crypto/aes_256_gcm_decrypter.h" #include <memory> #include <string> #include "net/third_party/quiche/...
endlessm/chromium-browser
net/third_party/quiche/src/quic/core/crypto/aes_256_gcm_decrypter_test.cc
C++
bsd-3-clause
12,342
// 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/infobars/core/simple_alert_infobar_delegate.h" #include <memory> #include "components/infobars/core/infobar.h" #include "compon...
endlessm/chromium-browser
components/infobars/core/simple_alert_infobar_delegate.cc
C++
bsd-3-clause
2,190
// Copyright 2019 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 "third_party/blink/renderer/modules/webgpu/gpu_uncaptured_error_event.h" #include "third_party/blink/renderer/bindings/modules/v8/v8_gpu_uncaptu...
endlessm/chromium-browser
third_party/blink/renderer/modules/webgpu/gpu_uncaptured_error_event.cc
C++
bsd-3-clause
1,151
// 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/login/user_manager.h" #include "base/command_line.h" #include "base/metrics/field_trial.h" #include "chrome/browser...
cvsuser-chromium/chromium
chrome/browser/chromeos/login/user_manager.cc
C++
bsd-3-clause
3,001
// 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 "services/metrics/public/cpp/ukm_source.h" #include <utility> #include "base/atomicops.h" #include "base/check_op.h" #include "base/hash/hash.h...
endlessm/chromium-browser
services/metrics/public/cpp/ukm_source.cc
C++
bsd-3-clause
4,685
// Copyright 2021 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/password_manager/android/password_store_android_backend.h" #include <jni.h> #include <memory> #include <vector> #include "base/...
scheib/chromium
chrome/browser/password_manager/android/password_store_android_backend.cc
C++
bsd-3-clause
13,315
package com.bbn.bue.common.files; import com.bbn.bue.common.symbols.Symbol; import com.google.common.base.Charsets; import com.google.common.base.Function; import com.google.common.io.Files; import java.io.File; import java.io.IOException; import java.io.OutputStream; import java.util.zip.ZipEntry; import java.util....
BBN-E/bue-common-open
common-core-open/src/main/java/com/bbn/bue/common/files/ZipKeyValueSink.java
Java
mit
1,997
package bitswap import ( "context" "time" blockstore "github.com/ipfs/go-ipfs/blocks/blockstore" tn "github.com/ipfs/go-ipfs/exchange/bitswap/testnet" datastore2 "github.com/ipfs/go-ipfs/thirdparty/datastore2" delay "github.com/ipfs/go-ipfs/thirdparty/delay" testutil "github.com/ipfs/go-ipfs/thirdparty/testuti...
JustinDrake/openbazaar-go
vendor/github.com/ipfs/go-ipfs/exchange/bitswap/testutils.go
GO
mit
3,106
package com.aspose.tasks.cloud.documents; import java.nio.file.Path; import com.aspose.storage.api.StorageApi; import com.aspose.tasks.api.TasksApi; import com.aspose.tasks.cloud.Configuration; import com.aspose.tasks.cloud.Utils; import com.aspose.tasks.cloud.working.RetrieveTaskInformationExample; import com.aspose...
aspose-tasks/Aspose.Tasks-for-Cloud
Examples/JAVA/src/main/java/com/aspose/tasks/cloud/documents/ConvertProjectDataToOtherFormatsExample.java
Java
mit
1,561
/** * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ // This file is a heavily modified fork of Jasmine. Original license: /* Copyright (c) Facebook, Inc. and i...
ide/jest
packages/jest-jasmine2/src/jasmine/Timer.ts
TypeScript
mit
1,857
package de.kdml.bigdatalab.spark_and_flink.spark_project.examples; import java.util.Arrays; import java.util.Iterator; import org.apache.spark.api.java.function.FlatMapFunction; import org.apache.spark.sql.Dataset; import org.apache.spark.sql.Encoders; import org.apache.spark.sql.Row; import org.apache.spark.sql.Spar...
ehabqadah/Spark_vs_Flink
spark_project/src/main/java/de/kdml/bigdatalab/spark_and_flink/spark_project/examples/StructuredKafkaWordCount.java
Java
mit
1,822
package AsposeCellsExamples.Charts; import com.aspose.cells.*; import AsposeCellsExamples.Utils; public class HandleAutomaticUnitsOfChartAxisLikeMicrosoftExcel { static String srcDir = Utils.Get_SourceDirectory(); static String outDir = Utils.Get_OutputDirectory(); public static void main(String[] arg...
aspose-cells/Aspose.Cells-for-Java
Examples/src/AsposeCellsExamples/Charts/HandleAutomaticUnitsOfChartAxisLikeMicrosoftExcel.java
Java
mit
980
/** * * marcosnr * 28/02/2012 */ package au.org.aurin.wif.io.demand; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.testng.AbstractTestNGSp...
tosseto/online-whatif
src/test/java/au/org/aurin/wif/io/demand/CouchDB2DemandSetupIT.java
Java
mit
2,789
package io.github.movementspeed.nhglib.input.controllers; /** * Created by Fausto Napoli on 24/01/2017. */ public class StickConfiguration { private boolean invertHorizontalAxis; private boolean invertVerticalAxis; private float deadZoneRadius; private float horizontalSensitivity; private float v...
MovementSpeed/nhglib
nhglib-core/src/io/github/movementspeed/nhglib/input/controllers/StickConfiguration.java
Java
mit
1,421
package mat.client.admin; import org.gwtbootstrap3.client.ui.FieldSet; import org.gwtbootstrap3.client.ui.Form; import org.gwtbootstrap3.client.ui.FormGroup; import org.gwtbootstrap3.client.ui.FormLabel; import org.gwtbootstrap3.client.ui.TextBox; import com.google.gwt.event.dom.client.HasClickHandlers; import com.go...
MeasureAuthoringTool/MeasureAuthoringTool_Release
mat/src/main/java/mat/client/admin/ManageOrganizationDetailView.java
Java
cc0-1.0
5,878
/** * 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/BenchmarkTest12848.java
Java
gpl-2.0
2,344
/* This code is part of Freenet. It is distributed under the GNU General * Public License, version 2 (or at your option any later version). See * http://www.gnu.org/ for further details of the GPL. */ package freenet.client.async; import java.util.LinkedList; import java.util.List; import com.db4o.ObjectContainer; ...
spencerjackson/fred-staging
src/freenet/client/async/ClientRequestSchedulerNonPersistent.java
Java
gpl-2.0
1,852
package com.osk.oskcore; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.event.FMLInitializationEvent; import net.minecraftforge.fml.common.event.FMLPostInitializationEvent; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; /** * Created by ArLE on 2015/04/22. */ @...
ArLEquiN64/MinecraftOSK
OSKMod/src/main/java/com/osk/oskcore/OskCore.java
Java
gpl-2.0
856
// Copyright 2009 Dolphin Emulator Project // Licensed under GPLv2+ // Refer to the license.txt file included. #include <atomic> #include <memory> #include <string> #include "Common/CommonTypes.h" #include "Common/FileUtil.h" #include "Common/Logging/LogManager.h" #include "Core/Host.h" #include "VideoBackends/Soft...
mathieui/dolphin
Source/Core/VideoBackends/Software/SWmain.cpp
C++
gpl-2.0
6,600
/* 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...
diamondo25/Vana
src/common/encrypted_packet_transformer.hpp
C++
gpl-2.0
1,669
/* This file is part of Telegram Desktop, the official desktop version of Telegram messaging app, see https://telegram.org Telegram Desktop 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 ...
BehnamEmamian/tdesktop
Telegram/SourceFiles/ui/toast/toast.cpp
C++
gpl-3.0
2,025
/* * This file is part of Matter Overdrive * Copyright (c) 2015., Simeon Radivoev, All rights reserved. * * Matter Overdrive 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 Licens...
simeonradivoev/MatterOverdrive
src/main/java/matteroverdrive/gui/element/ElementIntegerField.java
Java
gpl-3.0
5,160
///////////////////////////////////////////////////////////////////////////// // // Project ProjectForge Community Edition // www.projectforge.org // // Copyright (C) 2001-2014 Kai Reinhard (k.reinhard@micromata.de) // // ProjectForge is dual-licensed. // // This community edition is free software; you can redi...
micromata/projectforge-webapp
src/test/java/org/projectforge/gantt/GanttUtilsTest.java
Java
gpl-3.0
10,130
/* * This file is part of the Claroline Connect package. * * (c) Claroline Consortium <consortium@claroline.net> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ export default class SessionEventManagementCtrl { constructor($stat...
stefk/Distribution
plugin/cursus/Resources/modules/Management/Controller/SessionEventManagementCtrl.js
JavaScript
gpl-3.0
4,094
/* * This file is part of OppiaMobile - https://digital-campus.org/ * * OppiaMobile 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 vers...
DigitalCampus/instrat-oppia-mobile
src/org/digitalcampus/oppia/fragments/BadgesFragment.java
Java
gpl-3.0
4,542
const service = require('feathers-mongoose'); const { static: staticContent } = require('@feathersjs/express'); const path = require('path'); const { ConsentVersionModel } = require('./model'); const consentVersionModelHooks = require('./hooks/consentversionsModelHooks'); const consentDocs = require('./docs'); const {...
schul-cloud/schulcloud-server
src/services/consent/index.js
JavaScript
agpl-3.0
1,537
/* * Hibernate Search, full-text search for your domain model * * 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.search.genericjpa.db.events.hibernate.impl; import javax...
Hotware/Hibernate-Search-GenericJPA
jpa/src/main/java/org/hibernate/search/genericjpa/db/events/hibernate/impl/EventSourceTransactionContext.java
Java
lgpl-2.1
8,113
package modules.admin.ChangePassword.actions; import org.junit.Assert; import org.junit.Test; import org.skyve.CORE; import org.skyve.domain.messages.ValidationException; import org.skyve.impl.util.UtilImpl; import modules.admin.domain.ChangePassword; import util.AbstractH2Test; public class MakePasswordChangeTest e...
skyvers/skyve
skyve-ejb/src/test/java/modules/admin/ChangePassword/actions/MakePasswordChangeTest.java
Java
lgpl-2.1
4,953
package ru.aplana.app.answers; import static ru.aplana.app.tools.PropsChecker.checkersMap; import java.io.IOException; import java.util.Optional; import javax.xml.parsers.ParserConfigurationException; import javax.xml.soap.MessageFactory; import javax.xml.soap.MimeHeaders; import javax.xml.soap.SOAPBody; import java...
maksim-stsiapanau/Java-JMS
TSM_LOADERS/src/main/java/ru/aplana/app/answers/Requests.java
Java
apache-2.0
16,097
package org.jboss.resteasy.test.validation; import org.jboss.arquillian.container.test.api.Deployment; import org.jboss.arquillian.junit.Arquillian; import org.jboss.resteasy.validation.Foo; import org.jboss.resteasy.validation.FooConstraint; import org.jboss.resteasy.validation.FooReaderWriter; import org.jbos...
psakar/Resteasy
arquillian/ValidationTest-WF8/src/test/java/org/jboss/resteasy/test/validation/TestValidationSurpressPathFalse.java
Java
apache-2.0
2,153
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
apache/incubator-systemml
src/test/java/org/apache/sysds/test/functions/builtin/part1/BuiltinKmeansPredictTest.java
Java
apache-2.0
3,492
/* * Copyright 2016 Comcast Cable Communications Management, 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 require...
dneuman64/traffic_control
traffic_router/core/src/main/java/com/comcast/cdn/traffic_control/traffic_router/core/secure/CertificatesClient.java
Java
apache-2.0
5,197
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights * Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
flofreud/aws-sdk-java
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/transform/RevokeCacheSecurityGroupIngressRequestMarshaller.java
Java
apache-2.0
2,978
/* * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) 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 * * Unles...
afkham/wso2-gateway
src/main/java/org/wso2/carbon/gateway/internal/transport/common/Constants.java
Java
apache-2.0
3,494
/* * Copyright 2015 Rudson Lima * * 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 ...
kaarthikeyapreyan/Trust-for-Youth-and-Child-Leadership
android_app/NKana/src/main/java/com/nkana/app/fragment/PlacesFragment.java
Java
apache-2.0
6,105
package za.redbridge.simulator.factories; import za.redbridge.simulator.config.ExperimentConfig; import za.redbridge.simulator.config.MorphologyConfig; import za.redbridge.simulator.config.SimConfig; import za.redbridge.simulator.sensor.AgentSensor; import java.text.ParseException; import java.util.List; /** * Crea...
not-my-name/ExperimentsRerun
src/main/java/za/redbridge/simulator/factories/SimulationFactory.java
Java
apache-2.0
1,212
/*Copyright ©2015 TommyLemon(https://github.com/TommyLemon) 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...
weiwenqiang/GitHub
MVP/Android-ZBLibrary-master/ZBLibrary(AndroidStudio)/app/src/main/java/zblibrary/demo/view/UserView.java
Java
apache-2.0
4,151
/* * Copyright 2014 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" ...
smartpcr/aws-sdk-java-resources
aws-resources-ec2/src/main/java/com/amazonaws/resources/ec2/internal/VpcPeeringConnectionCollectionImpl.java
Java
apache-2.0
2,206
/* * 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...
treasure-data/presto
presto-hive/src/test/java/io/prestosql/plugin/hive/orc/TestOrcDeleteDeltaPageSource.java
Java
apache-2.0
2,335
package templateinstance import ( "errors" "fmt" "k8s.io/apimachinery/pkg/fields" "k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/util/validation/field" "k8s.io/apiserver/pkg/authentication/user" apirequest "k8s.io/apiserver/pkg/endpoints/request" "k8s.io/apiserver...
matthyx/origin
pkg/template/registry/templateinstance/strategy.go
GO
apache-2.0
6,684
/* * 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 ...
Fabryprog/camel
components/camel-github/src/main/java/org/apache/camel/component/github/producer/AbstractGitHubProducer.java
Java
apache-2.0
2,660
/* * 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 ...
himanshug/druid
processing/src/test/java/org/apache/druid/query/lookup/LookupSegmentTest.java
Java
apache-2.0
7,210
/* Copyright 2014 The Camlistore 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, ...
slspeek/camlistore_namedsearch
pkg/test/transport.go
GO
apache-2.0
2,109
package eu.humanbrainproject.mip.algorithms.jsi.serializers.pfa; import java.io.IOException; import com.fasterxml.jackson.core.JsonGenerator; import si.ijs.kt.clus.model.ClusModel; /** @author Martin Breskvar */ public abstract class ClusGenericSerializer<M extends ClusModel> { public abstract void writeModelCon...
woken-ml/java-base-docker-images
java-jsi-clus/src/main/java/eu/humanbrainproject/mip/algorithms/jsi/serializers/pfa/ClusGenericSerializer.java
Java
apache-2.0
1,064
/* * 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-dynamodb/source/model/GlobalSecondaryIndex.cpp
C++
apache-2.0
3,003
/** * Copyright Intellectual Reserve, 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 a...
brenthale/gedcomx-java
extensions/familysearch/familysearch-api-client/src/main/java/org/familysearch/api/client/UserState.java
Java
apache-2.0
2,711
package org.mindinformatics.gwt.domeo.plugins.annotation.highlight.model; import org.mindinformatics.gwt.domeo.model.MAnnotation; /** * @author Paolo Ciccarese <paolo.ciccarese@gmail.com> */ @SuppressWarnings("serial") public class MHighlightAnnotation extends MAnnotation { public static final String LABEL = "Hig...
rkboyce/DomeoClient
src/org/mindinformatics/gwt/domeo/plugins/annotation/highlight/model/MHighlightAnnotation.java
Java
apache-2.0
646
package dyvilx.tools.compiler.ast.member; import dyvilx.tools.compiler.ast.classes.IClass; import dyvilx.tools.compiler.ast.header.ClassCompilable; import dyvilx.tools.compiler.ast.header.ObjectCompilable; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; public interface ClassMember e...
Clashsoft/Dyvil
compiler/src/main/java/dyvilx/tools/compiler/ast/member/ClassMember.java
Java
bsd-3-clause
872
/* Copyright_License { XCSoar Glide Computer - http://www.xcsoar.org/ Copyright (C) 2000-2013 The XCSoar Project A detailed list of copyright holders can be found in the file "AUTHORS". This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License ...
onkelhotte/XCSoar
src/Widget/ListWidget.cpp
C++
gpl-2.0
1,694
/* Copyright_License { XCSoar Glide Computer - http://www.xcsoar.org/ Copyright (C) 2000-2021 The XCSoar Project A detailed list of copyright holders can be found in the file "AUTHORS". This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License ...
Exadios/xcsoar-exp
src/InfoBoxes/Panel/MacCreadySetup.cpp
C++
gpl-2.0
2,369
""" This script will test highgui's video reading functionality for a given parameter RAW formats. """ # needed for sys.exit(int) and .works file handling import os import sys import works from works import * # import the necessary things for OpenCV from highgui import * from cv import * # some defines TESTNAME = "...
shiftcontrol/UnityOpenCV
opencv/tests/swig_python/highgui/cvCreateFileCapture.py
Python
gpl-3.0
923
// Copyright (C) by Ashton Mason. See LICENSE.txt for licensing information. #ifndef THERON_YIELDSTRATEGY_H #define THERON_YIELDSTRATEGY_H /** \file YieldStrategy.h Defines the YieldStrategy enumerated type. */ namespace Theron { /** \brief Enumerates the available worker thread yield strategies. Each \ref Thero...
bollu/sandhi
modules/Theron/Include/Theron/YieldStrategy.h
C
gpl-3.0
2,587
// Copyright 2013 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package keyupdater import ( "github.com/juju/errors" "github.com/juju/names" "github.com/juju/juju/api/base" apiwatcher "github.com/juju/juju/api/watcher" "github.com/juju/juju/apiserver/params" "github.com/juju/juju/w...
bogdanteleaga/juju
api/keyupdater/authorisedkeys.go
GO
agpl-3.0
2,153
""" Support for monitoring the state of UpCloud servers. For more details about this component, please refer to the documentation at https://home-assistant.io/components/binary_sensor.upcloud/ """ import logging import voluptuous as vol import homeassistant.helpers.config_validation as cv from homeassistant.componen...
PetePriority/home-assistant
homeassistant/components/upcloud/binary_sensor.py
Python
apache-2.0
1,100
/* * 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 ...
topicusonderwijs/wicket
wicket-examples/src/main/java/org/apache/wicket/examples/tree/AdvancedTreePage.java
Java
apache-2.0
6,043
/* * 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 ...
MikeThomsen/nifi
nifi-nar-bundles/nifi-standard-services/nifi-kerberos-user-service-bundle/nifi-kerberos-user-service/src/main/java/org/apache/nifi/kerberos/KerberosTicketCacheUserService.java
Java
apache-2.0
3,569
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/outposts/model/ListSitesResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #include <aws/core/...
awslabs/aws-sdk-cpp
aws-cpp-sdk-outposts/source/model/ListSitesResult.cpp
C++
apache-2.0
1,190
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/cloudfront/model/CreateInvalidation2020_05_31Request.h> #include <aws/core/utils/xml/XmlSerializer.h> #include <aws/core/utils/memory/stl/AWSStringStream.h> #include <utility> using na...
awslabs/aws-sdk-cpp
aws-cpp-sdk-cloudfront/source/model/CreateInvalidation2020_05_31Request.cpp
C++
apache-2.0
1,025
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/devicefarm/model/GetTestGridSessionRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::DeviceFarm::Model; using namespace Aws::Utils::Jso...
awslabs/aws-sdk-cpp
aws-cpp-sdk-devicefarm/source/model/GetTestGridSessionRequest.cpp
C++
apache-2.0
1,188
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/greengrass/model/CreateCoreDefinitionVersionRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/utils/memory/stl/AWSStringStream.h> #include <utility> using n...
awslabs/aws-sdk-cpp
aws-cpp-sdk-greengrass/source/model/CreateCoreDefinitionVersionRequest.cpp
C++
apache-2.0
1,401
/* * Copyright (c) 2012 3 Round Stones Inc., Some 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 c...
jimmccusker/callimachus
src/org/callimachusproject/repository/auditing/config/AuditingRepositoryConfig.java
Java
apache-2.0
5,732
/* * Copyright 2005-2015 Red Hat, Inc. * * Red Hat licenses this file to you 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...
oscerd/quickstarts
quickstarts/java/sandbox-camel-cdi-mq/camel-cdi-mq/src/test/java/io/fabric8/tests/integration/KubernetesIntegrationKT.java
Java
apache-2.0
2,452
/* * 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 ...
MikeThomsen/nifi
minifi/minifi-c2/minifi-c2-integration-tests/src/test/java/org/apache/nifi/minifi/c2/integration/test/AbstractTestSecure.java
Java
apache-2.0
9,530
/* * 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
runners/flink/src/test/java/org/apache/beam/runners/flink/FlinkStreamingPipelineTranslatorTest.java
Java
apache-2.0
4,952
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/quicksight/model/TemplateSourceAnalysis.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace A...
jt70471/aws-sdk-cpp
aws-cpp-sdk-quicksight/source/model/TemplateSourceAnalysis.cpp
C++
apache-2.0
2,004
/* * Copyright (c) 2008-2017, 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 ...
tombujok/hazelcast
hazelcast/src/main/java/com/hazelcast/collection/impl/list/operations/ListRemoveOperation.java
Java
apache-2.0
2,604
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/email/model/DeleteReceiptRuleSetRequest.h> #include <aws/core/utils/StringUtils.h> #include <aws/core/utils/memory/stl/AWSStringStream.h> using namespace Aws::SES::Model; using namespac...
awslabs/aws-sdk-cpp
aws-cpp-sdk-email/source/model/DeleteReceiptRuleSetRequest.cpp
C++
apache-2.0
868
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/clouddirectory/model/BatchListObjectAttributes.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; name...
aws/aws-sdk-cpp
aws-cpp-sdk-clouddirectory/source/model/BatchListObjectAttributes.cpp
C++
apache-2.0
2,130
/** @module ember @submodule ember-views */ import _MetamorphView from "ember-views/views/metamorph_view"; import NormalizedRerenderIfNeededSupport from "ember-views/mixins/normalized_rerender_if_needed"; import lookupPartial from "ember-views/system/lookup_partial"; import run from 'ember-metal/run_loop'; import rend...
dgeb/ember.js
packages/ember-views/lib/views/bound_partial_view.js
JavaScript
mit
1,068
/* * BaseDecider.cc * * Created on: 24.02.2009 * Author: karl */ #include "veins/base/phyLayer/BaseDecider.h" #include <cassert> #include "veins/base/messages/AirFrame_m.h" using Veins::AirFrame; simtime_t BaseDecider::processSignal(AirFrame* frame) { assert(frame); deciderEV << "Processing AirFrame....
StevPo/veins-project
src/veins/base/phyLayer/BaseDecider.cc
C++
gpl-2.0
9,666
/* Copyright_License { XCSoar Glide Computer - http://www.xcsoar.org/ Copyright (C) 2000-2014 The XCSoar Project A detailed list of copyright holders can be found in the file "AUTHORS". This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License ...
CnZoom/XcSoarWork
src/Engine/Task/Computer/DistanceStatComputer.cpp
C++
gpl-2.0
1,170
/* * Copyright 2018 StreamSets Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
rockmkd/datacollector
container/src/main/java/com/streamsets/datacollector/config/InterceptorDefinition.java
Java
apache-2.0
2,203
/* * Copyright (c) 2008-2017, 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 ...
juanavelez/hazelcast
hazelcast/src/main/java/com/hazelcast/config/CacheSimpleConfigReadOnly.java
Java
apache-2.0
6,741
/* 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, softwar...
knative-sandbox/kn-plugin-admin
vendor/knative.dev/client/pkg/sources/v1/container_client.go
GO
apache-2.0
7,171
/* * 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 ...
akomakom/ehcache3
impl/src/test/java/org/ehcache/impl/internal/executor/PooledExecutionServiceTest.java
Java
apache-2.0
3,738
/* * 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 ...
yew1eb/flink
flink-runtime/src/test/java/org/apache/flink/runtime/checkpoint/CompletedCheckpointStoreTest.java
Java
apache-2.0
11,976
// 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 "content/browser/renderer_host/surface_texture_transport_client_android.h" #include <android/native_window_jni.h> #include "base/bind.h" #i...
hujiajie/pa-chromium
content/browser/renderer_host/surface_texture_transport_client_android.cc
C++
bsd-3-clause
4,085
// 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 "third_party/blink/renderer/core/editing/spellcheck/hot_mode_spell_check_requester.h" #include "third_party/blink/renderer/core/editing/commands...
scheib/chromium
third_party/blink/renderer/core/editing/spellcheck/hot_mode_spell_check_requester.cc
C++
bsd-3-clause
5,558
/* This file is part of the KDE project Copyright (C) 2008 Sven Langkamp <sven.langkamp@gmail.com> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the Licen...
harshitamistry/calligraRepository
stage/plugins/pageeffects/clockwipe/saloondoorwipe/KPrSaloonDoorWipeEffectFactory.cpp
C++
gpl-2.0
2,552
/* * 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/test/java/com/hazelcast/cache/CacheManagementTest.java
Java
apache-2.0
3,465
/* * Copyright 2000-2014 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...
hurricup/intellij-community
platform/lang-impl/src/com/intellij/refactoring/rename/RenameHandlerRegistry.java
Java
apache-2.0
6,620
/* * Copyright (C) 2012 The Guava 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 agre...
mkeesey/guava-for-small-classpaths
guava-tests/test/com/google/common/testing/ArbitraryInstancesTest.java
Java
apache-2.0
17,769
/* * Copyright 2012-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...
marcinkwiatkowski/buck
test/com/facebook/buck/io/MoreFilesTest.java
Java
apache-2.0
9,909
package org.droidplanner.android.utils; import android.content.Context; import android.content.res.Configuration; import android.content.res.Resources; import android.os.Looper; import android.support.v4.app.DialogFragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentTransactio...
AvisionRobotics/AvisionMissionPlanner
Android/src/org/droidplanner/android/utils/Utils.java
Java
gpl-3.0
1,940
package org.apereo.cas.adaptors.yubikey.web.flow; import org.apereo.cas.configuration.CasConfigurationProperties; import org.apereo.cas.web.flow.configurer.AbstractMultifactorTrustedDeviceWebflowConfigurer; import org.springframework.context.ApplicationContext; import org.springframework.webflow.definition.registry.F...
robertoschwald/cas
support/cas-server-support-yubikey-core/src/main/java/org/apereo/cas/adaptors/yubikey/web/flow/YubiKeyMultifactorTrustWebflowConfigurer.java
Java
apache-2.0
1,553
/* Copyright 2007-2009 Selenium 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 required by applicable law or agreed to in writing...
krosenvold/selenium-git-release-candidate
java/client/src/org/openqa/selenium/internal/seleniumemulation/Highlight.java
Java
apache-2.0
1,135