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 2014 Avanza Bank AB * * 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...
AvanzaBank/astrix
astrix-context/src/test/java/com/avanza/astrix/beans/registry/AstrixServiceRegistryTest.java
Java
apache-2.0
8,916
package org.apereo.cas.logout; import org.apereo.cas.logout.slo.SingleLogoutServiceMessageHandler; import lombok.extern.slf4j.Slf4j; import org.springframework.core.annotation.AnnotationAwareOrderComparator; import java.util.ArrayList; import java.util.Collection; import java.util.List; /** * This is {@link Defaul...
leleuj/cas
core/cas-server-core-logout-api/src/main/java/org/apereo/cas/logout/DefaultLogoutExecutionPlan.java
Java
apache-2.0
1,604
package org.vallalarspace.entities; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; /** * The persistent class for the Thirumu...
senips/vspace-arutpa
arutpa-domain/src/main/java/org/vallalarspace/entities/ThirumuraiSongIndexe.java
Java
apache-2.0
1,379
from __future__ import unicode_literals from rest_framework.decorators import detail_route from rest_framework.response import Response from rest_framework.viewsets import ModelViewSet from django.shortcuts import get_object_or_404 from circuits import filters from circuits.models import Provider, CircuitTermination...
snazy2000/netbox
netbox/circuits/api/views.py
Python
apache-2.0
2,232
/* * 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/agent/StatusCommand.java
Java
apache-2.0
4,754
package pt.keep.verapdf.tests; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java.util.Arrays; import java.util.EnumSet; import...
luis100/verapdf-tests
src/main/java/pt/keep/verapdf/tests/VeraPDFUtils.java
Java
apache-2.0
5,539
/* * #! * % * Copyright (C) 2014 - 2015 Humboldt-Universität zu Berlin * % * 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 * * U...
krichter722/aeolus
queries/lrb/src/main/java/storm/lrb/bolt/LastAverageSpeedBolt.java
Java
apache-2.0
5,813
/* 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...
sibok666/flowable-engine
modules/flowable-engine/src/main/java/org/flowable/engine/impl/bpmn/behavior/EventSubProcessTimerStartEventActivityBehavior.java
Java
apache-2.0
4,488
/* Copyright 2016 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, ...
zen/kubernetes
pkg/kubectl/cmd/util/factory_client_access.go
GO
apache-2.0
23,691
/* * Copyright 2017 Red Hat, Inc. and/or 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 app...
ederign/kie-wb-common
kie-wb-common-stunner/kie-wb-common-stunner-sets/kie-wb-common-stunner-bpmn/kie-wb-common-stunner-bpmn-api/src/main/java/org/kie/workbench/common/stunner/bpmn/definition/property/event/timer/TimerSettings.java
Java
apache-2.0
2,739
/* * Copyright 2015 West Coast Informatics, LLC */ package org.ihtsdo.otf.refset.jpa.helpers; import java.util.List; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import org.ihtsdo.otf.refset.helpers.AbstractResultList; import org.ihtsdo.otf.refset.helpers.ConceptLis...
WestCoastInformatics/ihtsdo-refset-tool
jpa-model/src/main/java/org/ihtsdo/otf/refset/jpa/helpers/ConceptListJpa.java
Java
apache-2.0
787
/* * citygml4j - The Open Source Java API for CityGML * https://github.com/citygml4j * * Copyright 2013-2022 Claus Nagel <claus.nagel@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the L...
citygml4j/citygml4j
src/main/java/org/citygml4j/model/citygml/CityGMLClass.java
Java
apache-2.0
19,824
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.nms.go.converters; import com.nms.go.model.type.PageType; import javax.faces.component.UIComponent; import javax.faces.con...
nms-htc/go-web
src/main/java/com/nms/go/converters/PageTypeConverter.java
Java
apache-2.0
1,082
/** * OLAT - Online Learning and Training<br> * http://www.olat.org * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unl...
stevenhva/InfoLearn_OpenOLAT
src/test/java/org/olat/core/commons/persistence/DBTest.java
Java
apache-2.0
15,616
package com.handpay.security; import org.springframework.security.crypto.password.PasswordEncoder; import org.springframework.security.crypto.password.StandardPasswordEncoder; public class EncryptUtil implements PasswordEncoder{ //´ÓÅäÖÃÎļþÖлñµÃ private static final String SITE_WIDE_SECRET = "handpay...
jiangzq1023/simple-security
src/main/java/com/handpay/security/EncryptUtil.java
Java
apache-2.0
978
"""dev URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-based v...
dropbox/strongpoc
strongpoc/conf/urls.py
Python
apache-2.0
1,185
/* * 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...
consulo/consulo-git
plugin/src/main/java/git4idea/merge/GitMergeUtil.java
Java
apache-2.0
5,905
// Copyright (C) 2017 Robin Templeton. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- description: BigInt modulo 0 throws a range error esid: sec-multiplicative-operators-runtime-semantics-evaluation info: | Runtime Semantics: Evaluation MultiplicativeExpression: ...
sebastienros/jint
Jint.Tests.Test262/test/language/expressions/modulus/bigint-modulo-zero.js
JavaScript
bsd-2-clause
1,006
/* * Copyright (c) 2018, Cas <https://github.com/casvandongen> * 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, ...
KronosDesign/runelite
runelite-client/src/main/java/net/runelite/client/plugins/agility/AgilityConfig.java
Java
bsd-2-clause
3,820
package org.swrltab.ui; import java.util.Optional; import org.checkerframework.checker.nullness.qual.NonNull; import org.protege.editor.owl.model.find.OWLEntityFinder; import org.protege.editor.owl.ui.renderer.OWLModelManagerEntityRenderer; import org.semanticweb.owlapi.model.IRI; import org.semanticweb.owlapi.model....
md-k-sarker/ROWL
src/main/java/org/swrltab/ui/ProtegeIRIResolver.java
Java
bsd-2-clause
2,226
package com.jayantkrish.jklol.models; import java.util.Arrays; import com.google.common.base.Preconditions; import com.jayantkrish.jklol.dtree.RegressionTree; import com.jayantkrish.jklol.models.VariableNumMap.VariableRelabeling; import com.jayantkrish.jklol.tensor.Tensor; /** * Factor that uses a set of regression...
jayantk/jklol
src/com/jayantkrish/jklol/models/RegressionTreeFactor.java
Java
bsd-2-clause
1,673
/*================================================================================ Copyright (c) 2013 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...
paksv/vijava
src/com/vmware/vim25/DvsNotAuthorized.java
Java
bsd-3-clause
2,276
// Package complete implements the code completion algorithm for Elvish. package complete import ( "errors" "sort" "src.elv.sh/pkg/cli/modes" "src.elv.sh/pkg/diag" "src.elv.sh/pkg/parse" "src.elv.sh/pkg/parse/parseutil" ) type item = modes.CompletionItem // An error returned by Complete if the config has not ...
u-root/u-root
vendor/src.elv.sh/pkg/edit/complete/complete.go
GO
bsd-3-clause
3,701
// 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 <stdint.h> #include "base/bind.h" #include "base/macros.h" #include "base/run_loop.h" #include "mojo/public/cpp/bindings/interface_request.h" #i...
danakj/chromium
services/ui/ime/ime_unittest.cc
C++
bsd-3-clause
2,833
package de.plushnikov.intellij.plugin.provider; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.fileEditor.FileEditorManager; import com.intellij.openapi.project.DumbService; import com.intellij.openapi.project.Project; import com.intellij.openapi.vfs.VirtualFile; import com.intellij.psi.Psi...
Siriah/lombok-intellij-plugin
lombok-plugin/src/main/java/de/plushnikov/intellij/plugin/provider/LombokAugmentProvider.java
Java
bsd-3-clause
6,511
""" This GA code uses a simplified version of the gaModel where only some bins are considered. """ from numba import jit from operator import attrgetter from deap import base, creator, tools import numpy from csep.loglikelihood import calcLogLikelihood from models.mathUtil import calcNumberBins import models.model imp...
PyQuake/earthquakemodels
code/gaModel/reducedModel_Yuri.py
Python
bsd-3-clause
6,112
package edu.harvard.hms.catalyst.wacct.service; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; import java.io.File; import java.io.IOException; import java.util.Arrays; import java.util.List; impo...
billsimons/qwacc
core/src/main/java/edu/harvard/hms/catalyst/wacct/service/WacctService.java
Java
bsd-3-clause
1,493
// Package aphgrpc provides various interfaces, functions, types // for building and working with gRPC services. package aphgrpc import ( "encoding/json" "net/http" "strconv" "strings" context "golang.org/x/net/context" "github.com/grpc-ecosystem/grpc-gateway/runtime" "github.com/pkg/errors" spb "google.gola...
dictyBase/apihelpers
aphgrpc/error.go
GO
bsd-3-clause
8,591
/** * Copyright (c) 2008-2016, Massachusetts Institute of Technology (MIT) * 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 copyri...
hadrsystems/nics-common
entities/src/main/java/edu/mit/ll/nics/common/entity/Assignment.java
Java
bsd-3-clause
6,026
/* * Copyright 2017, 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 applic...
landrito/api-client-staging
generated/java/gapic-google-cloud-error-reporting-v1beta1/src/main/java/com/google/cloud/errorreporting/spi/v1beta1/ReportErrorsServiceSettings.java
Java
bsd-3-clause
10,674
""" Factories for bootcamp application models """ import operator as op from factory import Faker, LazyAttribute, Sequence, SubFactory, fuzzy, Trait from factory.django import DjangoModelFactory import faker import pytz from mitol.common.utils import now_in_utc from applications import models from applications.constan...
mitodl/bootcamp-ecommerce
applications/factories.py
Python
bsd-3-clause
3,947
package com.mozu.qbintegration.endpoints; import java.io.IOException; import java.util.Date; import java.util.List; import javax.annotation.Resource; import javax.xml.datatype.DatatypeConfigurationException; import javax.xml.ws.WebServiceContext; import org.apache.commons.lang.StringUtils; import org.apac...
Mozu/Mozu.Integrations.Quickbooks
src/main/java/com/mozu/qbintegration/endpoints/QuickbooksServiceEndPoint.java
Java
mit
14,810
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {Rule, SchematicContext} from '@angular-devkit/schematics'; import { createMigrationSchematicRule, Nullabl...
angular/components
src/material/schematics/ng-update/index.ts
TypeScript
mit
4,491
package micros import ( "context" "encoding/json" "errors" "fmt" "net/http" "github.com/go-kit/kit/log" httptransport "github.com/go-kit/kit/transport/http" "github.com/gorilla/mux" ) var ( // ErrBadRouting is returned when an expected path variable is missing. ErrBadRouting = errors.New("inconsistent mapp...
bizuio2017/spider
proxy-best/micros/transport.go
GO
mit
2,557
package com.example.hellorammus; import android.content.res.Configuration; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.view.View; import android.widget.Button; import android.widget.LinearLayout; public class HelloFragment extends FragmentActivity { public Strin...
uunchpgney/HelloRammus
HelloRammus/src/com/example/hellorammus/HelloFragment.java
Java
mit
2,835
package org.cmg.ml.sam.population.modelchecker; import java.lang.reflect.InvocationTargetException; import java.util.LinkedList; import org.cmg.ml.sam.SamProjectHelper; import org.cmg.ml.sam.core.logic.ModelCheckerI; import org.cmg.ml.sam.core.logic.PathFormula; import org.cmg.ml.sam.core.logic.StateFormula; import o...
Quanticol/jSAM
LANGUAGES/POPULATIONS/org.cmg.ml.sam.population.tools/src/org/cmg/ml/sam/population/modelchecker/IndividualsModelCheckerComposite.java
Java
epl-1.0
14,741
/* * (C) Copyright ${year} Nuxeo SA (http://nuxeo.com/) and others. * * 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.org/...
GoodHuddle/GoodHuddle
src/main/java/com/goodhuddle/huddle/web/api/MemberBulkActionApiController.java
Java
gpl-2.0
2,772
package fr.inria.astor.approaches.tos.entity; import java.util.ArrayList; import java.util.List; import fr.inria.astor.approaches.tos.entity.transf.Transformation; import fr.inria.astor.core.entities.Ingredient; import fr.inria.astor.core.manipulation.MutationSupporter; import spoon.reflect.code.CtCodeElement; import...
SpoonLabs/astor
src/main/java/fr/inria/astor/approaches/tos/entity/TOSInstance.java
Java
gpl-2.0
1,689
/* * (c) Copyright 2010-2011 by Volker Bergmann. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, is permitted under the terms of the * GNU General Public License. * * For redistributing this software or a derivative work under a license other * than th...
raphaelfeng/benerator
test/org/databene/benerator/factory/FactoryUtilTest.java
Java
gpl-2.0
7,136
/** * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later...
dhpz/IPGeoServices
portlets/geo-location-services-portlet/docroot/WEB-INF/service/com/rivetlogic/geo/model/GeoLocationsSoap.java
Java
gpl-3.0
2,739
/* ### * 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...
thomashaw/SecGen
modules/utilities/unix/audit_tools/ghidra/files/release/Extensions/Ghidra/Skeleton/src/main/java/skeleton/SkeletonFileSystem.java
Java
gpl-3.0
5,480
package timeline import ( "time" jsonSerializer "github.com/uol/serializer/json" openTSDBSerializer "github.com/uol/serializer/opentsdb" ) /** * Implements functions related with accumulation. * @author rnojiri **/ // StoreDataToAccumulateJSON - stores a data to accumulate func (m *Manager) StoreDataToAccumulate...
uol/mycenae
vendor/github.com/uol/timeline/manager_accum.go
GO
gpl-3.0
2,029
/** * The contents of this file are subject to the Mozilla Public License * Version 1.1 (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.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" * ba...
mark47/OESandbox
app/src/us/mn/state/health/lims/login/action/LoginUserAction.java
Java
mpl-2.0
3,596
/* * Copyright 2010, Red Hat, Inc. and individual contributors as indicated by the * @author tags. See the copyright.txt file in the distribution for a full * listing of individual contributors. * * This is free software; you can redistribute it and/or modify it under the * terms of the GNU Lesser General Public...
google-code-export/flies
server/zanata-war/src/main/java/org/zanata/ApplicationConfiguration.java
Java
lgpl-2.1
3,887
package org.herac.tuxguitar.app.editors.channel; import java.util.List; import org.herac.tuxguitar.app.TuxGuitar; import org.herac.tuxguitar.app.undo.undoables.channel.UndoableChannelGeneric; import org.herac.tuxguitar.app.undo.undoables.channel.UndoableModifyChannel; import org.herac.tuxguitar.song.managers.TGSongMa...
yuan39/TuxGuitar
TuxGuitar/src/org/herac/tuxguitar/app/editors/channel/TGChannelHandle.java
Java
lgpl-2.1
2,627
package noconflict.org.bouncycastle.crypto.generators; import java.math.BigInteger; import noconflict.org.bouncycastle.crypto.AsymmetricCipherKeyPair; import noconflict.org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator; import noconflict.org.bouncycastle.crypto.KeyGenerationParameters; import noconflict.org.bo...
Qingbao/PasswdManagerAndroid
src/noconflict/org/bouncycastle/crypto/generators/ElGamalKeyPairGenerator.java
Java
lgpl-2.1
1,666
/* * A CCNx library test. * * Copyright (C) 2011, 2012 Palo Alto Research Center, Inc. * * This work is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License version 2 as published by the * Free Software Foundation. * This work is distributed in the hope tha...
ryanrhymes/mobiccnx
javasrc/src/org/ccnx/ccn/test/io/CCNInputStreamTest.java
Java
lgpl-2.1
4,767
package net.spy.memcached.protocol.binary; import net.spy.memcached.ops.GetlOperation; public class GetlOperationImpl extends SingleKeyOperationImpl implements GetlOperation { static final byte GETL_CMD=(byte) 0x94; /** * Length of the extra header stuff for a GET response. */ static final int EXTRA_HDR_LE...
haisamido/SFDaaS
src/net/spy/memcached/protocol/binary/GetlOperationImpl.java
Java
lgpl-3.0
1,035
/* * Copyright 2012-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
habuma/spring-boot
spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/netty/CompressionCustomizer.java
Java
apache-2.0
3,237
/** * 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
thirdeye/thirdeye-hadoop/src/main/java/com/linkedin/thirdeye/hadoop/transform/TransformPhaseJob.java
Java
apache-2.0
11,053
/* * 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 ...
objectiser/camel
components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/XmlSignatureEndpoint.java
Java
apache-2.0
5,270
/* Copyright IBM Corp. 2016 All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
vpaprots/fabric
orderer/common/cauthdsl/cauthdsl_builder.go
GO
apache-2.0
2,778
/** * 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...
apurtell/hadoop
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/dao/CapacitySchedulerLeafQueueInfo.java
Java
apache-2.0
6,400
/** * Copyright 2015 StreamSets Inc. * * Licensed under 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 Lice...
studanshu/datacollector
container/src/main/java/com/streamsets/datacollector/main/MainSlavePipelineManagerModule.java
Java
apache-2.0
3,083
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
RyanSkraba/beam
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/testing/BigqueryMatcher.java
Java
apache-2.0
6,880
/* * 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 ma...
apache/jena
jena-permissions/src/test/java/org/apache/jena/permissions/SecurityEvaluatorTest.java
Java
apache-2.0
3,924
/* * 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/main/java/org/apache/sysds/runtime/instructions/spark/CompressionSPInstruction.java
Java
apache-2.0
6,531
/* Copyright 1986, 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/libX11/dist/src/StColor.c
C
apache-2.0
1,781
/* * 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/test/java/com/hazelcast/client/projection/ClientMapProjectionTest.java
Java
apache-2.0
2,272
/* * 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...
retomerz/intellij-community
java/java-impl/src/com/intellij/refactoring/introduceparameterobject/usageInfo/ConstructorJavadocUsageInfo.java
Java
apache-2.0
3,467
/* 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/autoscaler
vertical-pod-autoscaler/pkg/recommender/routines/vpa.go
GO
apache-2.0
1,825
# copyright 2016 twitter. 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 agree...
streamlio/heron
integration_test/src/python/integration_test/topology/test_topology_main.py
Python
apache-2.0
4,048
/** * Bean Validation TCK * * License: Apache License, Version 2.0 * See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>. */ package org.hibernate.beanvalidation.tck.tests.valueextraction.declaration; import static org.hibernate.beanvalidation.tck.util.ConstraintViolatio...
gunnarmorling/beanvalidation-tck
tests/src/main/java/org/hibernate/beanvalidation/tck/tests/valueextraction/declaration/ValueExtractorDefinedInConfigurationApiTest.java
Java
apache-2.0
3,317
/* Copyright 2016 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, ...
jlowdermilk/test-infra
maintenance/aws-janitor/resources/list.go
GO
apache-2.0
1,633
/* Copyright 2016 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, ...
hyperhq/kubernetes
vendor/github.com/hyperhq/client-go/kubernetes/typed/core/v1/service_expansion.go
GO
apache-2.0
1,346
package eu.hyvar.feature.example_creation.examples; import java.util.Calendar; import java.util.Date; import org.eclipse.core.resources.IFile; import de.christophseidl.util.eclipse.ResourceUtil; import de.christophseidl.util.ecore.EcoreIOUtil; import eu.hyvar.context.HyContextModel; import eu.hyvar.context.contextVa...
DarwinSPL/DarwinSPL
plugins/eu.hyvar.feature.example_creation/src/eu/hyvar/feature/example_creation/examples/HyVarUseCases.java
Java
apache-2.0
15,306
/* * 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...
chiaming0914/awe-cpp-sdk
aws-cpp-sdk-batch/source/model/CreateComputeEnvironmentRequest.cpp
C++
apache-2.0
1,803
/* * 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 ...
jdeppe-pivotal/geode
geode-core/src/main/java/org/apache/geode/internal/cache/InvalidateRegionOperation.java
Java
apache-2.0
3,425
/* * 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 no...
sekikn/ambari
ambari-server/src/test/java/org/apache/ambari/server/state/svccomphost/ServiceComponentHostTest.java
Java
apache-2.0
46,492
/* * 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 ...
adelapena/cassandra
src/java/org/apache/cassandra/cql3/statements/UseStatement.java
Java
apache-2.0
3,010
/* * 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 ...
ServiceComb/java-chassis
core/src/main/java/org/apache/servicecomb/core/invocation/ProducerInvocationFlow.java
Java
apache-2.0
4,457
package client import ( "fmt" "github.com/pkg/errors" ) // errConnectionFailed implements an error returned when connection failed. type errConnectionFailed struct { host string } // Error returns a string representation of an errConnectionFailed func (err errConnectionFailed) Error() string { if err.host == ""...
ondrej-fabry/vpp-agent
cmd/agentctl/client/errors.go
GO
apache-2.0
882
/* * 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 ...
wu-sheng/sky-walking
apm-sniffer/apm-sdk-plugin/ehcache-2.x-plugin/src/test/java/org/apache/skywalking/apm/plugin/ehcache/v2/EhcacheInterceptorTest.java
Java
apache-2.0
10,127
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/nimble/model/ListLaunchProfileMembersResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #inclu...
awslabs/aws-sdk-cpp
aws-cpp-sdk-nimble/source/model/ListLaunchProfileMembersResult.cpp
C++
apache-2.0
1,317
/* * Copyright (c) 2008 University of Durham, England * 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, th...
synergynet/synergynet2.1
SynergySpace2.1/src_synergynet/synergynet/table/apps/threedpuzzle/ThreeDPuzzle.java
Java
bsd-2-clause
5,581
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Module that contains meta-logic related to Cros Commands. This module contains two important definitions used by all commands. CrosCommand: The...
bpsinc-native/src_third_party_chromite
cros/__init__.py
Python
bsd-3-clause
2,609
/*================================================================================ Copyright (c) 2013 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...
patrickianwilson/vijava-contrib
src/main/java/com/vmware/vim25/ArrayOfVirtualSwitchProfile.java
Java
bsd-3-clause
2,204
// 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 "components/dom_distiller/webui/dom_distiller_handler.h" #include "base/bind.h" #include "base/values.h" #include "content/public/browser/web_ui...
cvsuser-chromium/chromium
components/dom_distiller/webui/dom_distiller_handler.cc
C++
bsd-3-clause
1,328
/*- * Copyright 2015 Diamond Light Source Ltd. * * 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.eclip...
DawnScience/dawnsci
org.eclipse.dawnsci.remotedataset.core/src/org/eclipse/dawnsci/remotedataset/XMLMarshallerService.java
Java
epl-1.0
1,715
#ifndef _LINUX_MIGRATE_H #define _LINUX_MIGRATE_H #include <linux/mm.h> #include <linux/mempolicy.h> typedef struct page *new_page_t(struct page *, unsigned long private, int **); /* * MIGRATE_ASYNC means never block * MIGRATE_SYNC_LIGHT in the current implementation means to allow blocking * on most operations b...
hayoung-lee/willow_kernel
include/linux/migrate.h
C
gpl-2.0
3,268
/** * 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/SkeletalAnimationSequence.java
Java
gpl-3.0
3,886
/* Copyright 2013 Red Hat, Inc. and/or its affiliates. This file is part of lightblue. 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 (at your option) any ...
bserdar/lightblue-mongo
mongo/src/main/java/com/redhat/lightblue/mongo/crud/js/SimpleExpression.java
Java
gpl-3.0
1,064
/* * Copyright (c) 2015 Google, 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...
cgruber/truth
extensions/re2j/src/test/java/com/google/common/truth/extensions/re2j/Re2jSubjectsTest.java
Java
apache-2.0
2,257
/** * * 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"); ...
gustavoanatoly/hbase
hbase-metrics/src/test/java/org/apache/hadoop/hbase/metrics/impl/TestHistogramImpl.java
Java
apache-2.0
3,332
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/es/model/DescribeElasticsearchInstanceTypeLimitsResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtil...
awslabs/aws-sdk-cpp
aws-cpp-sdk-es/source/model/DescribeElasticsearchInstanceTypeLimitsResult.cpp
C++
apache-2.0
1,343
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/lightsail/model/GetCertificatesResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h> #include <aw...
awslabs/aws-sdk-cpp
aws-cpp-sdk-lightsail/source/model/GetCertificatesResult.cpp
C++
apache-2.0
1,201
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; y...
langfr/camunda-bpm-platform
engine/src/test/java/org/camunda/bpm/engine/test/standalone/history/CustomHistoryLevelUserOperationLogTest.java
Java
apache-2.0
27,168
// Copyright 2017 The Bazel Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
perezd/bazel
src/test/java/com/google/devtools/build/lib/exec/util/FakeOwner.java
Java
apache-2.0
6,518
/* * 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...
msebire/intellij-community
java/java-psi-impl/src/com/intellij/psi/impl/light/LightModifierList.java
Java
apache-2.0
3,848
package org.activiti5.engine.test.bpmn.event.timer.compatibility; /* 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 requir...
roberthafner/flowable-engine
modules/flowable5-test/src/test/java/org/activiti5/engine/test/bpmn/event/timer/compatibility/StartTimerEventRepeatCompatibilityTest.java
Java
apache-2.0
7,724
/* 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/bpmn/behavior/IntermediateThrowCompensationEventActivityBehavior.java
Java
apache-2.0
2,568
package customresourcevalidation import ( "fmt" apierrors "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/util/validation/field" "k8s.io/apiserver/pkg/admission" ) type ObjectValidator interface { ValidateCreate(obj runti...
linzhaoming/origin
pkg/admission/customresourcevalidation/customresourcevalidator.go
GO
apache-2.0
3,332
/* 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, ...
sjenning/kubernetes
pkg/kubectl/cmd/util/conversion.go
GO
apache-2.0
1,540
/* * Copyright 2016-17, OpenCensus 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...
songy23/instrumentation-java
impl_core/src/main/java/io/opencensus/implcore/stats/MeasureMapImpl.java
Java
apache-2.0
2,574
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/route53domains/model/EnableDomainTransferLockResult.h> #include <aws/core/utils/json/JsonSerializer.h> #include <aws/core/AmazonWebServiceResult.h> #include <aws/core/utils/StringUtils.h...
aws/aws-sdk-cpp
aws-cpp-sdk-route53domains/source/model/EnableDomainTransferLockResult.cpp
C++
apache-2.0
1,040
/* 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/binnavi/debug/debugger/synchronizers/BreakpointRemovedSynchronizer.java
Java
apache-2.0
3,711
// Copyright 2015 The Vanadium 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 security import ( "testing" "time" "v.io/v23/security" "v.io/v23/vdl" "v.io/v23/vom" ) func testDischargeCache(t *testing.T, s security.Bl...
vanadium/go.ref
lib/security/discharge_cache_test.go
GO
bsd-3-clause
4,407
// 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/ui/passwords/manage_passwords_bubble_model.h" #include "chrome/browser/password_manager/password_store_factory.h" #include "chro...
ChromiumWebApps/chromium
chrome/browser/ui/passwords/manage_passwords_bubble_model.cc
C++
bsd-3-clause
3,946
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, LexerRange, ParsedTemplate, ParseSourceFile, parseTemplate...
gkalpak/angular
packages/compiler-cli/src/ngtsc/annotations/component/src/resources.ts
TypeScript
mit
21,495
/** * Copyright (c) 2005-2012 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Eclipse Public License (EPL). * Please see the license.txt included with this distribution for details. * Any modifications to this file must keep this entire header intact. */ package org.python.pydev.ui.wiz...
akurtakov/Pydev
plugins/org.python.pydev/src/org/python/pydev/ui/wizards/gettingstarted/PythonGettingStartedWizard.java
Java
epl-1.0
2,270