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
/* * Java port of Bullet (c) 2008 Martin Dvorak <jezek2@advel.cz> * * Bullet Continuous Collision Detection and Physics Library * Copyright (c) 2003-2008 Erwin Coumans http://www.bulletphysics.com/ * * This software is provided 'as-is', without any express or implied warranty. * In no event will the authors be ...
vbousquet/libgdx-jbullet
src/com/bulletphysics/dynamics/constraintsolver/Point2PointConstraint.java
Java
apache-2.0
6,963
// SPDX-License-Identifier: Apache-2.0 // Copyright 2020-2022 Authors of Cilium package lbmap import ( "errors" "fmt" "os" "github.com/cilium/cilium/pkg/bpf" "github.com/cilium/cilium/pkg/ebpf" "github.com/cilium/cilium/pkg/loadbalancer" ) const ( // Both outer maps are pinned though given we need to insert ...
michi-covalent/cilium
pkg/maps/lbmap/maglev.go
GO
apache-2.0
3,963
package com.controlgroup.coffeesystem.processors; import com.controlgroup.coffeesystem.configuration.PropertyFetcher; import com.controlgroup.coffeesystem.crypto.MessageSigner; import com.controlgroup.coffeesystem.interfaces.HttpClientFactory; import com.google.inject.Inject; /** * Created by timmattison on 12/29/14...
controlgroup/coffee-bot
java-server/src/main/java/com/controlgroup/coffeesystem/processors/GoogleAppEngineCoffeeStatusProcessor.java
Java
apache-2.0
1,290
/* * 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...
ptkool/presto
presto-raptor/src/main/java/com/facebook/presto/raptor/filesystem/LocalOrcDataEnvironment.java
Java
apache-2.0
3,099
/* * Copyright 2021, Leanplum, Inc. All rights reserved. * * 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 unde...
Leanplum/Leanplum-Android-SDK
AndroidSDKTests/src/test/java/com/leanplum/LeanplumPushServiceTest.java
Java
apache-2.0
18,087
package net.andreho.haxxor.cgen.instr.local.store; import net.andreho.haxxor.cgen.HxCodeStream; import net.andreho.haxxor.cgen.HxComputationContext; import net.andreho.haxxor.cgen.HxFrame; import net.andreho.haxxor.cgen.HxInstructionType; import net.andreho.haxxor.cgen.HxInstructionTypes; import net.andreho.haxxor.cge...
andreho/haxxor
src/main/java/net/andreho/haxxor/cgen/instr/local/store/LSTORE.java
Java
apache-2.0
1,051
package me.emou.xworker.generator; import com.alibaba.fastjson.JSON; import me.emou.xworker.entity.JavaClass; import me.emou.xworker.entity.Table; import me.emou.xworker.parse.Parser; import me.emou.xworker.parse.database.DatabaseParser; import me.emou.xworker.parse.database.EDatabaseType; import me.emou.xworker.util....
wangdao/x-worker
src/test/java/me/emou/xworker/generator/JavaClassGeneratorTest.java
Java
apache-2.0
1,024
/* Copyright (c) 2017 LinkedIn Corp. 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...
mchen07/restli-csharp
datagenerator/src/main/java/com/linkedin/restli/datagenerator/csharp/CSharpMap.java
Java
apache-2.0
2,848
/* * 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...
deki/spring-boot
spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/metrics/MetricsAutoConfigurationTests.java
Java
apache-2.0
5,270
package io.vertigo.chroma.kspplugin.utils; import io.vertigo.chroma.kspplugin.model.FileRegion; import io.vertigo.chroma.kspplugin.model.Navigable; import io.vertigo.chroma.kspplugin.model.WordSelectionType; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IProject; import org.eclips...
sebez/vertigo-chroma-kspplugin
vertigo-chroma-plugin/src/io/vertigo/chroma/kspplugin/utils/UiUtils.java
Java
apache-2.0
6,167
/* * Copyright (c) 2008-2011, Rickard Öberg. All Rights Reserved. * Copyright (c) 2008-2013, Niclas Hedhman. All Rights Reserved. * Copyright (c) 2014, Paul Merlin. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with...
joobn72/qi4j-sdk
core/runtime/src/main/java/org/qi4j/runtime/entity/EntityStateModel.java
Java
apache-2.0
5,607
/* * 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 ...
radicalbit/ambari
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/RecommendationResourceProvider.java
Java
apache-2.0
7,664
package eu.stratosphere.sql.schema; import java.io.File; import java.io.FilenameFilter; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Map; import net.hydromatic.optiq.SchemaPlus; import net.hydromatic.optiq.Tabl...
rmetzger/stratosphere-sql
src/main/java/eu/stratosphere/sql/schema/JsonSchema.java
Java
apache-2.0
5,848
/* * 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-appflow/src/main/java/com/amazonaws/services/appflow/AbstractAmazonAppflowAsync.java
Java
apache-2.0
12,431
package com.xujun.funapp.view.detail; import android.content.Context; import android.util.Log; import android.view.ViewGroup; import android.widget.ImageView; import com.xujun.funapp.R; import com.xujun.funapp.image.ImageRequestManager; import java.util.List; import ru.xujun.touchgallery.gallerywidget.BasePagerAdap...
gdutxiaoxu/FunAPP
Fun/src/main/java/com/xujun/funapp/view/detail/PicturePagerAdapter.java
Java
apache-2.0
1,652
/* Copyright 2018 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, ...
kubernetes-incubator/service-catalog
vendor/sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go
GO
apache-2.0
10,898
/* * Copyright 2011 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php * * Unless required b...
sbower/kuali-rice-1
krad/krad-web-framework/src/test/java/org/kuali/rice/krad/datadictionary/validation/constraint/DatePatternConstraintTest.java
Java
apache-2.0
7,998
package controller import ( "fmt" "sync" apierrs "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" utilruntime "k8s.io/apimachinery/pkg/util/runtime" imagev1 "github.com/openshift/api/image/v1" "github.com/openshift/library-go/pkg/image/imageutil" "github.com/openshift/librar...
anpingli/origin
staging/src/github.com/openshift/openshift-controller-manager/pkg/image/controller/metrics.go
GO
apache-2.0
7,037
/* Copyright 2014 Google Inc. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
mjisyang/origin
Godeps/_workspace/src/github.com/GoogleCloudPlatform/kubernetes/pkg/client/services.go
GO
apache-2.0
3,530
// Copyright 2022 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 ...
GoogleContainerTools/kpt
porch/engine/pkg/engine/options.go
GO
apache-2.0
3,129
/* * Copyright (C) 2014 Niek Haarman * * 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...
nhaarman/PebbleNotifier
app/src/main/java/com/haarman/pebblenotifier/notifications/strategies/KitKatNotificationTextStrategy.java
Java
apache-2.0
2,871
// Copyright (C) 2015-2018 Nicolas Lamirault <nicolas.lamirault@gmail.com> // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless requ...
nlamirault/abraracourcix
transport/metadata.go
GO
apache-2.0
2,043
/* * 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-personalize/source/model/DatasetGroupSummary.cpp
C++
apache-2.0
3,185
/** * Copyright (c) 2014 Samsung Electronics, 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 * ...
AlexSangJoonPark/Dexter
project/dexter-opensource/src/java/com/samsung/sec/dexter/opensource/plugin/DexterOpensourcePlugin.java
Java
bsd-2-clause
5,668
/* * Copyright (c) 2016-2017, Adam <Adam@sigterm.info> * 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 * ...
KronosDesign/runelite
runelite-client/src/main/java/net/runelite/client/Notifier.java
Java
bsd-2-clause
7,822
package org.cagrid.iso21090.sdkquery.style.helpers; import gov.nih.nci.cagrid.common.Utils; import gov.nih.nci.cagrid.data.DataServiceConstants; import gov.nih.nci.cagrid.data.common.CastorMappingUtil; import gov.nih.nci.cagrid.data.style.StyleCreationPostProcessor; import gov.nih.nci.cagrid.data.utilities.WsddUtil; i...
NCIP/cagrid
cagrid/Software/core/caGrid/projects/sdkQuery43/src/java/style/org/cagrid/iso21090/sdkquery/style/helpers/PostCreationHelper.java
Java
bsd-3-clause
5,900
// Copyright 2016 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 "modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.h" #include "bindings/modules/v8/OffscreenCanvasRenderingContext2DOrWebGLRenderingC...
danakj/chromium
third_party/WebKit/Source/modules/offscreencanvas2d/OffscreenCanvasRenderingContext2D.cpp
C++
bsd-3-clause
6,537
/* Copyright (c) 2014, Workestra LLC 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 conditions and the followin...
workestradev/workestra-java-sdk
WorkestraHTTPRequest.java
Java
bsd-3-clause
1,753
/* * Minio Cloud Storage, (C) 2016, 2017 Minio, 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 applica...
SocialExplorer/minio
vendor/github.com/minio/minio/cmd/event-notifier.go
GO
bsd-3-clause
23,352
// 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 "extensions/common/manifest_handlers/sandboxed_page_info.h" #include <stddef.h> #include <memory> #include "base/lazy_instance.h" #include "ba...
endlessm/chromium-browser
extensions/common/manifest_handlers/sandboxed_page_info.cc
C++
bsd-3-clause
3,126
/* * Copyright (C) 2001 Peter Kelly (pmk@post.com) * Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de) * Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) * Copyright (C) 2003, 2005, 2006, 2008, 2010 Apple Inc. All rights reserved. * Copyright (C) 2013 Samsung Electronics. All rights reserved....
Bysmyyr/chromium-crosswalk
third_party/WebKit/Source/core/events/WheelEvent.cpp
C++
bsd-3-clause
5,066
package com.sri.ai.praise.learning.symbolicparameterestimation; import static com.sri.ai.expresso.helper.Expressions.apply; import static com.sri.ai.expresso.helper.Expressions.freeVariables; import static com.sri.ai.expresso.helper.Expressions.parse; import static com.sri.ai.grinder.library.FunctorConstants.EXPONENTI...
aic-sri-international/aic-praise
src/main/java/com/sri/ai/praise/learning/symbolicparameterestimation/ParameterEstimationForExpressionBasedModel.java
Java
bsd-3-clause
7,635
/* Copyright (c) 2001-2017 Board of Trustees of Leland Stanford Jr. University, all rights reserved. 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 limitat...
lockss/lockss-daemon
src/org/lockss/config/MiscConfig.java
Java
bsd-3-clause
2,923
// 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 "third_party/blink/renderer/core/fetch/fetch_request_data.h" #include "net/base/request_priority.h" #include "third_party/blink/public/mojom/fet...
endlessm/chromium-browser
third_party/blink/renderer/core/fetch/fetch_request_data.cc
C++
bsd-3-clause
8,892
/*================================================================================ 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/HostActiveDirectoryInfoDomainMembershipStatus.java
Java
bsd-3-clause
2,182
package registry import ( "context" "net/url" "github.com/manifoldco/torus-cli/apitypes" "github.com/manifoldco/torus-cli/envelope" "github.com/manifoldco/torus-cli/identity" ) // ClaimTreeClient represents the `/claimtree` registry endpoint, used for // retrieving the public keys and their associated claims fo...
luizbranco/torus-cli
registry/claimtree.go
GO
bsd-3-clause
1,326
package logstash // logstash.go defines the logtash plugin (using lumberjack protocol) as being // registered with all output plugins import ( "time" "github.com/elastic/beats/libbeat/common" "github.com/elastic/beats/libbeat/common/op" "github.com/elastic/beats/libbeat/logp" "github.com/elastic/beats/libbeat/o...
yapdns/yapdns-client
vendor/github.com/elastic/beats/libbeat/outputs/logstash/logstash.go
GO
mit
2,994
package codegen import "goa.design/goa/v3/expr" // MappedAttributeWalker is the type of functions given to WalkMappedAttr. name // is the name of the attribute, elem the name of the corresponding transport // element (e.g. HTTP header). required is true if the attribute is required. type MappedAttributeWalker func(na...
goadesign/goa
codegen/walk.go
GO
mit
2,552
/* * Copyright (c) 2012-2017 Red Hat, Inc. * 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 * * Contributors: * Red H...
jonahkichwacoders/che
plugins/plugin-testing-java/plugin-testing-testng/che-plugin-testing-testng-server/src/test/java/org/ecipse/che/plugin/testing/testng/server/BaseTest.java
Java
epl-1.0
7,370
/* * Copyright (c) 2013 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 */ package org....
inocybe/odl-bgpcep
pcep/impl/src/main/java/org/opendaylight/protocol/pcep/impl/subobject/RROPathKey128SubobjectParser.java
Java
epl-1.0
3,877
package fr.inria.astor.core.solutionsearch.spaces.ingredients.transformations; import java.util.ArrayList; import java.util.List; import java.util.Map; import org.apache.log4j.Logger; import fr.inria.astor.core.entities.Ingredient; import fr.inria.astor.core.entities.ModificationPoint; import fr.inria.astor.core.man...
SpoonLabs/astor
src/main/java/fr/inria/astor/core/solutionsearch/spaces/ingredients/transformations/InScopeVarsTransformation.java
Java
gpl-2.0
2,924
package com.mechinn.android.ouralliance.fragment; import com.mechinn.android.ouralliance.R; import com.mechinn.android.ouralliance.data.Match; import android.app.AlertDialog; import android.app.Dialog; import android.content.DialogInterface; import android.os.Bundle; import android.support.v4.app.DialogFragment; pub...
frc869/our-alliance-android
app/src/main/java/com/mechinn/android/ouralliance/fragment/DeleteMatchDialogFragment.java
Java
gpl-2.0
1,353
""" PyroScope - Controller "search". Copyright (c) 2009 The PyroScope Project <pyroscope.project@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 2 of the Li...
Rudde/pyroscope
pyroscope/pyroscope/controllers/search.py
Python
gpl-2.0
1,411
// 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 "services/ui/public/cpp/window_tree_host_factory.h" #include "base/memory/ptr_util.h" #include "services/service_manager/public/cpp/connector.h"...
geminy/aidear
oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/services/ui/public/cpp/window_tree_host_factory.cc
C++
gpl-3.0
1,570
/* * 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/session/editor/undo/RemoveParticipantEdit.java
Java
gpl-3.0
3,043
/* This file is part of darktable, Copyright (C) 2009-2022 darktable developers. darktable 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 opti...
TurboGit/darktable
src/gui/gtk.h
C
gpl-3.0
18,396
/******************************************************************************* * 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/lpclientpc
src/com/lp/client/stueckliste/importassistent/ResultTableCellEditorChooser.java
Java
agpl-3.0
5,854
/* (c) Copyright 2011 Telefonica, I+D. Printed in Spain (Europe). All Rights Reserved. The copyright to the software program(s) is property of Telefonica I+D. The program(s) may be used and or copied only with the express written consent of Telefonica I+D or in accordance with the terms and conditions sti...
StratusLab/claudia
claudia-model/src/main/java/com/telefonica/claudia/slm/naming/DirectoryEntry.java
Java
agpl-3.0
924
""" Django admin page for waffle utils models """ from __future__ import absolute_import from django.contrib import admin from config_models.admin import KeyedConfigurationModelAdmin from .forms import WaffleFlagCourseOverrideAdminForm from .models import WaffleFlagCourseOverrideModel class WaffleFlagCourseOverrid...
ESOedX/edx-platform
openedx/core/djangoapps/waffle_utils/admin.py
Python
agpl-3.0
906
/******************************************************************************* * 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/hyperlinking/HyperlinkHelper.java
Java
lgpl-3.0
4,540
package org.alien4cloud.tosca.editor.processors.substitution; import java.util.Map; import org.alien4cloud.tosca.editor.EditionContextManager; import org.alien4cloud.tosca.editor.operations.substitution.AddRequirementSubstitutionTypeOperation; import org.alien4cloud.tosca.editor.processors.IEditorOperationProcessor; ...
alien4cloud/alien4cloud
alien4cloud-core/src/main/java/org/alien4cloud/tosca/editor/processors/substitution/AddRequirementSubstitutionTypeProcessor.java
Java
apache-2.0
2,747
/* * Copyright 2022 ThoughtWorks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
gocd/gocd
common/src/test/java/com/thoughtworks/go/domain/materials/MixedMultipleMaterialsTest.java
Java
apache-2.0
4,548
/** * 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...
vergilchiu/hive
ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFOPEqual.java
Java
apache-2.0
6,946
/** * 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...
justinleet/incubator-metron
metron-interface/metron-rest/src/main/java/org/apache/metron/rest/service/impl/SensorEnrichmentConfigServiceImpl.java
Java
apache-2.0
4,801
package types import ( "fmt" oreflect "github.com/Cepave/open-falcon-backend/common/reflect" "reflect" ) // Defines the binding interface to convert any object to implementing type type Binding interface { // Binds the content of source object into this object Bind(sourceObject interface{}) } // Convenient func...
masato25/open-falcon-backend
common/types/binding.go
GO
apache-2.0
1,257
/* * 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/scheduledexecutor/ScheduledExecutorTaskIsDoneFromPartitionMessageTask.java
Java
apache-2.0
3,122
/** * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under ...
ChrisA89/assertj-core
src/test/java/org/assertj/core/api/instant/InstantAssert_isNotIn_Test.java
Java
apache-2.0
2,624
/* * #%L * ELK Proofs Package * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2011 - 2016 Department of Computer Science, University of Oxford * %% * 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 Lice...
liveontologies/elk-reasoner
elk-proofs/src/main/java/org/semanticweb/elk/matching/Matcher.java
Java
apache-2.0
5,246
/* * 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 ...
saradelrio/Chi-FRBCS-BigDataCS
src/org/apache/mahout/classifier/chi_rwcs/mapreduce/partial/PartialBuilder.java
Java
apache-2.0
4,096
package swarm // import "github.com/docker/infrakit/pkg/plugin/flavor/swarm" import ( "fmt" docker_types "github.com/docker/docker/api/types" "github.com/docker/docker/api/types/filters" "github.com/docker/infrakit/pkg/plugin/metadata" "github.com/docker/infrakit/pkg/run/scope" "github.com/docker/infrakit/pkg/s...
docker/infrakit
pkg/plugin/flavor/swarm/worker.go
GO
apache-2.0
2,822
/** * Copyright (C) 2014-2018 LinkedIn Corp. (pinot-core@linkedin.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 * * Unle...
fx19880617/pinot-1
pinot-controller/src/main/java/com/linkedin/pinot/controller/api/resources/PinotTableMetadataConfigs.java
Java
apache-2.0
2,600
//creates three variables x,y,babyimage,bg var x=20,y=600; var babyImage; var bg; var objectiveReached; //gives th e computer set of instructions to follow function setup() { //creates the canvas with a width of 700 and height of 620 then loads two images and assigning the image that has been loaded to the variables ...
moraam/game
firstgame.js
JavaScript
apache-2.0
2,559
/* 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...
tkaefer/camunda-bpm-platform
webapps/camunda-webapp/webapp/src/test/java/org/camunda/bpm/cockpit/plugin/base/ProcessInstanceResourceTest.java
Java
apache-2.0
10,583
/* * Copyright (c) 2005-2013, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. 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....
lankavitharana/carbon-event-processing
components/event-stream/event-builder/org.wso2.carbon.event.builder.core/src/test/java/org/wso2/carbon/event/builder/core/internal/XMLMappingTestCase.java
Java
apache-2.0
3,672
# Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
KaranToor/MA450
google-cloud-sdk/lib/googlecloudsdk/api_lib/genomics/genomics_util.py
Python
apache-2.0
6,044
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. 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/...
darshanasbg/identity-inbound-auth-oauth
components/org.wso2.carbon.identity.oidc.dcr/src/main/java/org/wso2/carbon/identity/oidc/dcr/factory/OIDCRegistrationRequestFactory.java
Java
apache-2.0
8,768
/* * Copyright 2000-2013 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...
romankagan/DDBWorkbench
plugins/groovy/src/org/jetbrains/plugins/groovy/refactoring/introduce/variable/GroovyIntroduceVariableDialog.java
Java
apache-2.0
7,927
package org.camunda.bpm.extension.process_test_coverage.rules; import org.camunda.bpm.engine.test.Deployment; import org.camunda.bpm.extension.process_test_coverage.junit.rules.TestCoverageProcessEngineRule; import org.camunda.bpm.extension.process_test_coverage.junit.rules.TestCoverageProcessEngineRuleBuilder; import...
camunda/camunda-bpm-process-test-coverage
test/src/test/java/org/camunda/bpm/extension/process_test_coverage/rules/ClassCoverageSystemPropertyTest.java
Java
apache-2.0
2,140
/* * Copyright 2021 ThoughtWorks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
marques-work/gocd
server/src/test-fast/java/com/thoughtworks/go/server/domain/xml/materials/ScmMaterialXmlRepresenterTest.java
Java
apache-2.0
3,172
/* * Copyright 2020 Ingyu Hwang * * 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 ...
resilience4j/resilience4j
resilience4j-spring/src/main/java/io/github/resilience4j/timelimiter/configure/TimeLimiterAspect.java
Java
apache-2.0
7,898
/* * Copyright 2017 Daniel Nilsson * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this * file except in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
dannil/scb-api
src/test/java/com/github/dannil/scbjavaclient/client/pricesandconsumption/cci/PricesAndConsumptionCCIClientTest.java
Java
apache-2.0
2,408
package io.katharsis.spring.internal; import javax.ws.rs.core.Response; import io.katharsis.errorhandling.ErrorResponse; import io.katharsis.errorhandling.ExceptionMapperHelper; import io.katharsis.errorhandling.mapper.ExceptionMapper; import org.springframework.security.access.AccessDeniedException; /** * Mapper c...
apetrucci/katharsis-framework
katharsis-spring/src/main/java/io/katharsis/spring/internal/AccessDeniedExceptionMapper.java
Java
apache-2.0
1,140
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/chime-sdk-identity/model/DescribeAppInstanceAdminResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUti...
awslabs/aws-sdk-cpp
aws-cpp-sdk-chime-sdk-identity/source/model/DescribeAppInstanceAdminResult.cpp
C++
apache-2.0
1,061
#include "source/common/common/backoff_strategy.h" namespace Envoy { JitteredExponentialBackOffStrategy::JitteredExponentialBackOffStrategy( uint64_t base_interval, uint64_t max_interval, Random::RandomGenerator& random) : base_interval_(base_interval), max_interval_(max_interval), next_interval_(base_interva...
envoyproxy/envoy
source/common/common/backoff_strategy.cc
C++
apache-2.0
1,541
/* * Copyright (C) 2013 The Android Open Source Project * * 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...
consulo/consulo-android
android/android/src/com/android/tools/idea/editors/NinePatchEditorProvider.java
Java
apache-2.0
2,414
/* * Copyright 2010-2015 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" file...
zeliard/aws-sdk-cpp
aws-cpp-sdk-ec2/source/model/BundleTaskState.cpp
C++
apache-2.0
2,688
package com.shizhefei.view.indicator.slidebar; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup.LayoutParams; import android.widget.LinearLayout; /** * * 通过xml来设置 滑动块 */ public class LayoutBar implements ScrollBar { protected Context cont...
1111Jin/TaoYuan_group8
library/src/main/java/com/shizhefei/view/indicator/slidebar/LayoutBar.java
Java
apache-2.0
1,521
// 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/password_manager/core/browser/login_database.h" #import <Security/Security.h> #include "base/base64.h" #include "base/logging.h...
Bysmyyr/chromium-crosswalk
components/password_manager/core/browser/login_database_ios.cc
C++
bsd-3-clause
5,221
#include "FASTASequence.h" #include "FASTAReader.h" #include "datastructures/suffixarray/SuffixArrayTypes.h" #include "datastructures/suffixarray/SuffixArray.h" #include "datastructures/bwt/BWT.h" #include <iostream> #include <fstream> using namespace std; int main(int argc, char* argv[]) { if (argc < 4) { cout ...
EichlerLab/blasr
bwtutils/SuffixArrayToBWT.cpp
C++
bsd-3-clause
1,122
// 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/pepper/content_browser_pepper_host_factory.h" #include "content/browser/renderer_host/pepper/browser_ppapi_ho...
leiferikb/bitpop-private
content/browser/renderer_host/pepper/content_browser_pepper_host_factory.cc
C++
bsd-3-clause
2,831
// 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 "chrome/renderer/media/cast_receiver_session.h" #include <memory> #include "base/location.h" #include "base/synchronization/waitable_event.h" #...
danakj/chromium
chrome/renderer/media/cast_receiver_session.cc
C++
bsd-3-clause
6,965
package edge // ForwardReceiver handles messages as they arrive and can return a message to be forwarded to output edges. // If a returned messages is nil, no message is forwarded. type ForwardReceiver interface { BeginBatch(begin BeginBatchMessage) (Message, error) BatchPoint(bp BatchPointMessage) (Message, error) ...
influxdb/kapacitor
edge/forwarding.go
GO
mit
3,063
/* * (C) Copyright 2010 Nuxeo SAS (http://nuxeo.com/) and contributors. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser General Public License * (LGPL) version 2.1 which accompanies this distribution, and is available at * http://www.gnu....
deadcyclo/nuxeo-features
nuxeo-admin-center/nuxeo-admin-center/src/main/java/org/nuxeo/ecm/admin/AdminViewManager.java
Java
lgpl-2.1
4,990
/* 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...
tkaefer/camunda-bpm-platform
engine/src/main/java/org/camunda/bpm/engine/impl/FormServiceImpl.java
Java
apache-2.0
3,239
/* Copyright 2011-2016 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed t...
chubbymaggie/binnavi
src/main/java/com/google/security/zynamics/reil/translators/ppc/DivwTranslator.java
Java
apache-2.0
1,449
// -*- mode: java; c-basic-offset: 2; -*- // Copyright 2014 MIT, All rights reserved // Released under the Apache License, Version 2.0 // http://www.apache.org/licenses/LICENSE-2.0 package com.google.appinventor.client; import java.util.HashMap; import java.util.Map; import static com.google.appinventor.client.Ode.M...
nmcalabroso/appinventor-sources
appinventor/appengine/src/com/google/appinventor/client/TranslationComponentProperty.java
Java
apache-2.0
13,481
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.siyeh.ig.fixes; import com.intellij.codeInsight.AnnotationUtil; import com.intellij.codeInspection.LocalQuickFixAndIntentionActionOnPsiElement; impo...
google/intellij-community
plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/fixes/ChangeAnnotationParameterQuickFix.java
Java
apache-2.0
2,448
/* * Copyright (C) 2018 The Dagger 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 ag...
dushmis/dagger
java/dagger/internal/codegen/bindinggraphvalidation/NullableBindingValidator.java
Java
apache-2.0
3,154
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/storagegateway/model/DisableGatewayRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::StorageGateway::Model; using namespace Aws::Utils:...
awslabs/aws-sdk-cpp
aws-cpp-sdk-storagegateway/source/model/DisableGatewayRequest.cpp
C++
apache-2.0
930
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/appstream/model/DescribeStacksRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::AppStream::Model; using namespace Aws::Utils::Json; usi...
jt70471/aws-sdk-cpp
aws-cpp-sdk-appstream/source/model/DescribeStacksRequest.cpp
C++
apache-2.0
1,246
/* Copyright 1989, 1998 The Open Group Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in suppor...
execunix/vinos
xsrc/external/mit/libXmu/dist/src/ScrOfWin.c
C
apache-2.0
1,792
package templaterouter import ( "crypto/md5" "encoding/json" "fmt" "io/ioutil" "os" "os/exec" "path/filepath" "reflect" "regexp" "strconv" "strings" "sync" "text/template" "time" "github.com/golang/glog" "k8s.io/kubernetes/pkg/util/sets" cmdutil "github.com/openshift/origin/pkg/cmd/util" routeapi ...
chmouel/origin
pkg/router/template/router.go
GO
apache-2.0
25,483
/* * Copyright 2012-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...
jmnarloch/spring-boot
spring-boot-samples/spring-boot-sample-actuator/src/test/java/sample/actuator/EndpointsPropertiesSampleActuatorApplicationTests.java
Java
apache-2.0
2,847
package cn.reactnative.modules.update; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.JavaScriptModule; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import java.util.Arrays; import ja...
Right-Men/Ironman
node_modules/react-native-update/android/src/main/java/cn/reactnative/modules/update/UpdatePackage.java
Java
apache-2.0
994
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/config/model/GetResourceConfigHistoryRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::ConfigService::Model; using namespace Aws::Utils...
aws/aws-sdk-cpp
aws-cpp-sdk-config/source/model/GetResourceConfigHistoryRequest.cpp
C++
apache-2.0
2,004
/* * Copyright (c) 2010-2015 Pivotal Software, 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 req...
papicella/snappy-store
tests/core/src/main/java/parReg/execute/PrimaryExecutionFunction.java
Java
apache-2.0
2,836
# Copyright 2015 Enthought, Inc. All Rights Reserved """ NOTE: This is the same exercise as pandas_wind_statistics.py, except that the solution for parts 1 and 2 are given. Wind Statistics ---------------- This exercise is an alternative version of the Numpy exercise but this time we will be using pandas for all task...
linan7788626/pandas_tutorial
exercises/pandas_wind_statistics/pandas_wind_statistics_PRE_LOADED.py
Python
mit
3,743
/* * Copyright 2006 Sony Computer Entertainment Inc. * * Licensed under the MIT Open Source License, for details please see license.txt or the website * http://www.opensource.org/licenses/mit-license.php * */ #include <dae.h> #include <dae/daeDom.h> #include <1.4/dom/domFx_samplerCUBE_common.h> #include <dae/da...
jdsika/TUM_HOly
openrave/3rdparty/collada-2.4.0/src/1.4/dom/domFx_samplerCUBE_common.cpp
C++
mit
13,846
// Copyright (c) 2015 The Chromium Embedded Framework 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 "appshell/browser/main_message_loop_std.h" #include "include/cef_app.h" namespace client { MainMessageLoopStd::MainMess...
albertinad/brackets-shell
appshell/browser/main_message_loop_std.cc
C++
mit
890
/** * Copyright (c) 2016 Kai Kreuzer 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 */ package org.eclipse....
resetnow/smarthome
bundles/automation/org.eclipse.smarthome.automation.module.media/src/main/java/org/eclipse/smarthome/automation/module/media/handler/PlayActionHandler.java
Java
epl-1.0
1,889