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
package com.wavefront.agent; import org.apache.http.HttpHost; import org.apache.http.conn.socket.LayeredConnectionSocketFactory; import org.apache.http.conn.ssl.SSLConnectionSocketFactory; import org.apache.http.protocol.HttpContext; import java.io.IOException; import java.net.InetSocketAddress; import java.net.Socke...
NGSEKHAR/javaproject1
proxy/src/main/java/com/wavefront/agent/SSLConnectionSocketFactoryImpl.java
Java
apache-2.0
1,669
/* * 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...
frsyuki/presto
presto-main/src/main/java/com/facebook/presto/metadata/ShardCleanerConfig.java
Java
apache-2.0
2,005
/* * 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 ...
mahak/hbase
hbase-server/src/test/java/org/apache/hadoop/hbase/master/procedure/TestRestoreSnapshotProcedure.java
Java
apache-2.0
10,873
/* Copyright The Helm Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software di...
SlickNik/helm
pkg/tiller/server.go
GO
apache-2.0
2,904
package ca.uhn.fhir.rest.param; /* * #%L * HAPI FHIR - Core Library * %% * Copyright (C) 2014 - 2015 University Health Network * %% * 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 * ...
cementsuf/hapi-fhir
hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/param/DateParam.java
Java
apache-2.0
5,566
package org.wso2.developerstudio.datamapper.diagram.edit.commands; import org.eclipse.core.commands.ExecutionException; import org.eclipse.core.runtime.IAdaptable; import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.emf.ecore.EObject; import org.eclipse.gmf.runtime.common.core.command.CommandResult; i...
prabushi/devstudio-tooling-esb
plugins/org.wso2.developerstudio.visualdatamapper.diagram/src/org/wso2/developerstudio/datamapper/diagram/edit/commands/ConcatCreateCommand.java
Java
apache-2.0
2,626
/* * Copyright 2000-2010 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...
android-ia/platform_tools_idea
plugins/groovy/src/org/jetbrains/plugins/groovy/extensions/GroovyScriptTypeDetector.java
Java
apache-2.0
3,228
// 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/browser/chromeos/certificate_provider/certificate_provider_service_factory.h" #include <string> #include <vector> #include "base/loggin...
Chilledheart/chromium
chrome/browser/chromeos/certificate_provider/certificate_provider_service_factory.cc
C++
bsd-3-clause
7,616
/* 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/Formatter/UserGeoPointFormatter.cpp
C++
gpl-2.0
1,907
/** * */ package eu.excitementproject.eop.transformations.generic.rule_compiler.rulematcher; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FilenameFilter; import java.io.IOException; import java.util.ArrayList; import java.util.LinkedHashSet; import java.ut...
hltfbk/Excitement-TDMLEDA
transformations/src/main/java/eu/excitementproject/eop/transformations/generic/rule_compiler/rulematcher/RuleMatcher.java
Java
gpl-3.0
10,718
/* * eXist-db Open Source Native XML Database * Copyright (C) 2001 The eXist-db Authors * * info@exist-db.org * http://www.exist-db.org * * 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 Foun...
wolfgangmm/exist
exist-core/src/main/java/org/exist/xslt/TemplatesFactory.java
Java
lgpl-2.1
5,514
/* * 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 ...
Xsixteen/nifi
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/reporting/StandardReportingInitializationContext.java
Java
apache-2.0
5,066
/* Copyright 2014 The Kubernetes 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 applicable law or ag...
whitmo/kubernetes
pkg/volume/util.go
GO
apache-2.0
1,307
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
riversand963/alluxio
core/server/master/src/test/java/alluxio/master/SafeModeManagerTest.java
Java
apache-2.0
4,447
// 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 "base/trace_event/java_heap_dump_provider_android.h" #include "base/android/java_runtime.h" #include "base/trace_event/process_memory_dump.h" n...
guorendong/iridium-browser-ubuntu
base/trace_event/java_heap_dump_provider_android.cc
C++
bsd-3-clause
1,427
// 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...
ikoula/cloudstack
plugins/network-elements/juniper-contrail/src/org/apache/cloudstack/network/contrail/management/ContrailManager.java
Java
gpl-2.0
5,713
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
asedunov/intellij-community
java/compiler/impl/src/com/intellij/packaging/impl/run/BuildArtifactsBeforeRunTaskProvider.java
Java
apache-2.0
4,865
/* 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...
lsmall/flowable-engine
modules/flowable-bpmn-model/src/main/java/org/flowable/bpmn/model/MultiInstanceLoopCharacteristics.java
Java
apache-2.0
3,580
/* * 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 ...
kisskys/incubator-asterixdb
hyracks-fullstack/algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/prettyprint/LogicalExpressionPrettyPrintVisitor.java
Java
apache-2.0
2,746
""" Seismic: Invert vertical seismic profile (VSP) traveltimes for the velocity of a layered model. """ import numpy from fatiando import utils from fatiando.seismic.profile import layered_straight_ray, LayeredStraight from fatiando.inversion.regularization import Damping from fatiando.vis import mpl # The limits in v...
rafaelmds/fatiando
cookbook/seismic_profile_vertical.py
Python
bsd-3-clause
1,802
/* 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, ...
rickypai/kubernetes
pkg/controller/statefulset/stateful_set_utils.go
GO
apache-2.0
15,952
/* 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, ...
MrHohn/kubernetes
pkg/registry/clusterrolebinding/etcd/etcd.go
GO
apache-2.0
2,373
// 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 "chrome/browser/extensions/api/storage/sync_value_store_cache.h" #include <stddef.h> #include <utility> #include "base/bind.h" #include "chrom...
ric2b/Vivaldi-browser
chromium/chrome/browser/extensions/api/storage/sync_value_store_cache.cc
C++
bsd-3-clause
3,772
// Copyright 2018 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/ash/smb_client/discovery/mdns_host_locator.h" #include "testing/gtest/include/gtest/gtest.h" namespace ash { namespace smb_clien...
ric2b/Vivaldi-browser
chromium/chrome/browser/ash/smb_client/discovery/mdns_host_locator_unittest.cc
C++
bsd-3-clause
1,057
package org.owasp.appsensor.amqp.rabbitmq; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import javax.annotation.PostConstruct; import javax.inject.Inject; import javax.inject.Named; import org.apache.commons.lang3.StringUtils; import org.owasp.appsens...
sims143/appsensor
execution-modes/appsensor-amqp-rabbitmq-server/src/main/java/org/owasp/appsensor/amqp/rabbitmq/RabbitMqRequestHandler.java
Java
mit
9,195
/** * Copyright (c) 2010-2014, openHAB.org 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...
gregfinley/openhab
bundles/binding/org.openhab.binding.digitalstrom/src/main/java/org/openhab/binding/digitalstrom/internal/DigitalSTROMGenericBindingProvider.java
Java
epl-1.0
4,625
#include <user_config.h> #include <SmingCore/SmingCore.h> /*** Direct PUSH notifications on your mobile phone! * * At first you should create new event in Instapush * 0. Go to http://instapush.im * 1. Create Application: "SmingTest" * 2. Add event: * - Event Title: "notify" * - Trackers: title [Tab] text ...
kireevco/Sming
samples/HttpClient_Instapush/app/application.cpp
C++
lgpl-3.0
2,946
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/renderer_host/input/input_router_config_helper.h" #include "base/command_line.h" #include "content/public/common/content_switch...
mohamed--abdel-maksoud/chromium.src
content/browser/renderer_host/input/input_router_config_helper.cc
C++
bsd-3-clause
4,139
// Copyright 2017 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. let {session, contextGroup, Protocol} = InspectorTest.start('Tests that we don\'t hold promises.'); (async function test() { Protocol.Runtime.enabl...
zero-rp/miniblink49
v8_7_5/test/inspector/debugger/not-hold-promises.js
JavaScript
apache-2.0
1,533
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.ql.expression.predicate.logical; import org.e...
gingerwizard/elasticsearch
x-pack/plugin/ql/src/main/java/org/elasticsearch/xpack/ql/expression/predicate/logical/Or.java
Java
apache-2.0
1,354
/* * 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 ...
jinhyukchang/gobblin
gobblin-metrics-libs/gobblin-metrics-base/src/main/java/org/apache/gobblin/metrics/InnerHistogram.java
Java
apache-2.0
3,019
package org.knowm.xchange.vaultoro.dto.trade; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; impo...
timmolter/XChange
xchange-vaultoro/src/main/java/org/knowm/xchange/vaultoro/dto/trade/VaultoroOrdersResponse.java
Java
mit
1,749
package ecc import ( "testing" . "gopkg.in/check.v1" "io/ioutil" "math/big" "crypto/elliptic" ) func Test(t *testing.T) { TestingT(t) } type TestSuite struct{} var _ = Suite(&TestSuite{}) func (s *TestSuite) TestNewPublic(c *C) { //given x:=[]byte {4, 114, 29, 223, 58, 3, 191, 170, 67, 128, 229, 33, 242, 178,...
jbeda/notary
Godeps/_workspace/src/github.com/dvsekhvalnov/jose2go/keys/ecc/ecc_test.go
GO
apache-2.0
4,079
package instantiate import ( "reflect" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/util/validation/field" apirequest "k8s.io/apiserver/pkg/endpoints/request" "k8s.io/kubernetes/pkg/api/legacyscheme" appsapi "github.com/openshift/origin/pkg/apps/apis...
crobby/oshinko-cli
vendor/github.com/openshift/origin/pkg/apps/registry/instantiate/strategy.go
GO
apache-2.0
2,340
/* * Copyright (C) 2014-2018 Team Kodi * This file is part of Kodi - https://kodi.tv * * SPDX-License-Identifier: GPL-2.0-or-later * See LICENSES/README.md for more information. */ #include "VideoLibraryCleaningJob.h" #include "dialogs/GUIDialogExtendedProgressBar.h" #include "video/VideoDatabase.h" CVideoL...
anthonyryan1/xbmc
xbmc/video/jobs/VideoLibraryCleaningJob.cpp
C++
gpl-2.0
1,329
// +build !providerless /* Copyright 2020 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law ...
dinhxuanvu/origin
vendor/k8s.io/legacy-cloud-providers/azure/clients/deploymentclient/azure_deploymentclient.go
GO
apache-2.0
15,981
/* * 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...
jk1/intellij-community
java/java-impl/src/com/intellij/codeInsight/daemon/impl/quickfix/GeneralizeCatchFix.java
Java
apache-2.0
3,705
/* Copyright_License { XCSoar Glide Computer - http://www.xcsoar.org/ Copyright (C) 2000-2016 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 ...
matthewturnbull/xcsoar
src/Widget/ActionWidget.cpp
C++
gpl-2.0
1,205
// 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 ...
manashmndl/bazel
src/main/java/com/google/devtools/build/lib/bazel/repository/MavenConnector.java
Java
apache-2.0
3,282
/* Copyright 2015 The TensorFlow 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 applicable law or a...
eaplatanios/tensorflow
tensorflow/core/platform/denormal.h
C
apache-2.0
1,915
/* 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, ...
jnewland/kops
vendor/k8s.io/kubernetes/staging/src/k8s.io/client-go/1.5/kubernetes/typed/authentication/v1beta1/fake/fake_authentication_client.go
GO
apache-2.0
1,095
/* 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, ...
aledbf/kops
vendor/k8s.io/legacy-cloud-providers/aws/volumes.go
GO
apache-2.0
3,512
/* Copyright 1993, 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...
yuyuyu101/VirtualBox-NetBSD
src/VBox/Additions/x11/x11include/xorg-server-1.3.0.0/mivalidate.h
C
gpl-2.0
1,758
// Copyright 2013 The Closure Library 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 requ...
HomeAutoM8/ui
public/assets/closure-library/closure/goog/html/legacyconversions_test.js
JavaScript
gpl-3.0
3,171
/********** 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 version. (See <http://www.gnu.org/copyleft/lesser.html>.) This libr...
fecloud/live
third/live555/liveMedia/AVIFileSink.hh
C++
gpl-3.0
3,896
""" Storing files according to a custom storage system ``FileField`` and its variations can take a ``storage`` argument to specify how and where files should be stored. """ import random import tempfile from pathlib import Path from django.core.files.storage import FileSystemStorage from django.db import models cl...
theo-l/django
tests/file_storage/models.py
Python
bsd-3-clause
2,257
/* Copyright 2017 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, ...
carlory/kubernetes
pkg/kubelet/kubeletconfig/checkpoint/download.go
GO
apache-2.0
10,726
/* 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, ...
wongma7/efs-provisioner
vendor/k8s.io/kubernetes/examples/apiserver/server/main.go
GO
apache-2.0
1,397
// 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. package org.chromium.ui.gl; import android.graphics.SurfaceTexture; import android.os.Build; import android.util.Log; import org.chromium.base.CalledByN...
DirtyUnicorns/android_external_chromium-org
ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
Java
bsd-3-clause
2,306
/* * 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...
akosyakov/intellij-community
plugins/java-i18n/src/com/intellij/lang/properties/PropertiesReferenceProvider.java
Java
apache-2.0
4,155
package compute import ( "errors" "fmt" "strings" ) const WaitForInstanceReadyTimeout = 600 const WaitForInstanceDeleteTimeout = 600 // InstancesClient is a client for the Instance functions of the Compute API. type InstancesClient struct { ResourceClient } // Instances obtains an InstancesClient which can be u...
jrperritt/terraform
vendor/github.com/hashicorp/go-oracle-terraform/compute/instances.go
GO
mpl-2.0
18,157
/* * Copyright 2007-2008 Dave Griffith * * 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 ...
akosyakov/intellij-community
plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/codeInspection/exception/GroovyContinueOrBreakFromFinallyBlockInspection.java
Java
apache-2.0
2,884
// Copyright 2016 The etcd 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 t...
wongma7/kubernetes
vendor/go.etcd.io/etcd/server/v3/etcdserver/api/v3rpc/metrics.go
GO
apache-2.0
1,836
/* Copyright 2015 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
pweil-/origin
vendor/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/admission/errors_test.go
GO
apache-2.0
1,789
#include "errorwidget.h" #include <QVBoxLayout> #include <QHBoxLayout> namespace NeovimQt { ErrorWidget::ErrorWidget(QWidget *parent) :QWidget(parent), m_errorLabel(0), m_closeButton(0) { m_errorLabel = new QLabel(); m_closeButton = new QPushButton(tr("Retry")); m_image = new QSvgWidget(":/neovim.svg"); m_image...
equalsraf/neovim-qt
src/gui/errorwidget.cpp
C++
isc
1,005
package nl.tudelft.watchdog.eclipse.ui.handlers; import nl.tudelft.watchdog.core.util.WatchDogGlobals; import nl.tudelft.watchdog.core.util.WatchDogGlobals.IDE; import nl.tudelft.watchdog.core.util.WatchDogLogger; import nl.tudelft.watchdog.eclipse.logic.InitializationManager; import nl.tudelft.watchdog.eclipse.ui.Wat...
gabrielsimas/watchdog
WatchDogEclipsePlugin/WatchDog/src/nl/tudelft/watchdog/eclipse/ui/handlers/StartupHandler.java
Java
mit
1,784
from hamcrest import * import amqp TEST_EXCHANGE = 'test.computome' TEST_REQUEST_QUEUE = 'test.computome.request' TEST_RESULT_QUEUE = 'test.computome.result' # TODO(orlade): Figure out what this should be TEST_ROUTING_KEY = TEST_EXCHANGE AMQP_PARAMS = { 'host': 'localhost:5672', 'userid': 'test', 'passwor...
orlade/microsimmer
unit_tests/util.py
Python
mit
1,707
package com.wt.studio.plugin.pagedesigner.gef.model; import java.util.ArrayList; import java.util.List; import org.eclipse.draw2d.geometry.Rectangle; import org.eclipse.ui.views.properties.IPropertyDescriptor; import org.eclipse.ui.views.properties.IPropertySource; import org.eclipse.ui.views.properties.TextPropertyD...
winture/wt-studio
com.wt.studio.plugin.modeldesigner/src/com/wt/studio/plugin/pagedesigner/gef/model/ColumnModel.java
Java
mit
2,792
#pragma once #ifndef WIN32 // pretty sure linux and windows are the only OSs ever #include "platform_interface.h" #include <string> struct GLFWwindow; struct GLFWmonitor; namespace fd { class PlatformWindow { private: public: // HWND m_hWnd; int m_width; int m_height; bool m_fullscreen; bool m_cursorCapt...
b3sigma/fourd
app/linux_platform.h
C
mit
691
package eu.bcvsolutions.idm.core.security.evaluator.role; import static org.junit.Assert.assertEquals; import java.util.UUID; import org.junit.Test; import org.springframework.beans.factory.annotation.Autowired; import eu.bcvsolutions.idm.core.api.dto.IdmAuthorizationPolicyDto; import eu.bcvsolutions.idm.core.api.d...
bcvsolutions/CzechIdMng
Realization/backend/core/core-impl/src/test/java/eu/bcvsolutions/idm/core/security/evaluator/role/RoleTransitiveEvaluatorsIntegrationTest.java
Java
mit
10,719
package dynamake.commands; import dynamake.models.Location; import dynamake.models.Model; import dynamake.models.PropogationContext; import dynamake.transcription.Collector; public class UnplayCommand implements Command<Model> { /** * */ private static final long serialVersionUID = 1L; private int count; pu...
jakobehmsen/dynamake
eclipse/src/dynamake/commands/UnplayCommand.java
Java
mit
805
package net.mehmetatas.apps.auth.services.impl; import net.mehmetatas.apps.auth.entities.User; import net.mehmetatas.apps.auth.exceptions.auth.EmailAlreadyExistsException; import net.mehmetatas.apps.auth.providers.CryptoProvider; import net.mehmetatas.apps.auth.providers.EmailValidator; import net.mehmetatas.apps.auth...
mehmetatas/apps
services/auth/src/main/java/net/mehmetatas/apps/auth/services/impl/SignupServiceImpl.java
Java
mit
2,014
/** * */ package org.openforis.collect.persistence.jooq; import org.jooq.InsertSetStep; import org.jooq.Record; import org.openforis.collect.persistence.jooq.tables.Data; import org.openforis.idm.metamodel.NodeDefinition; import org.openforis.idm.metamodel.TextAttributeDefinition; import org.openforis.idm...
openforis/collect
collect-core/unused/TextAttributeMapper.java
Java
mit
1,010
package me.androidbox.busbybaking.recipedetail; import android.support.annotation.NonNull; import android.support.v7.widget.RecyclerView; import android.view.View; import android.widget.TextView; import butterknife.BindView; import butterknife.ButterKnife; import me.androidbox.busbybaking.R; import me.androidbox.busb...
steve1rm/BusbyBaking
app/src/main/java/me/androidbox/busbybaking/recipedetail/IngredientsViewHolder.java
Java
mit
1,754
import { ListStateOrchestrator } from '../list-state.rxstate'; import { ListSearchModel } from './search.model'; import { ListSearchSetSearchTextAction } from './set-search-text.action'; import { ListSearchSetFunctionsAction } from './set-functions.action'; import { ListSearchSetFieldSelectorsAction } from './set-field...
blackbaud-joshgerdes/skyux2
src/modules/list/state/search/search.orchestrator.ts
TypeScript
mit
2,125
/* * Copyright 2010 Daniel Kurka * * 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 ...
thorbenegberts/crumbpicker
src/main/java/com/crumbpicker/client/PhoneAnimationMapper.java
Java
mit
8,470
package domain; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; /** * 优惠活动 * @author 张鹏飞 * @time 2017年4月28日 上午9:13:07 * */ @Entity public class Preferential { @Id @GeneratedValue(str...
muxiaobai/graduation-project
spring-boot/src/main/java/domain/Preferential.java
Java
mit
1,611
# This file is part of Indico. # Copyright (C) 2002 - 2020 CERN # # Indico is free software; you can redistribute it and/or # modify it under the terms of the MIT License; see the # LICENSE file for more details. from __future__ import unicode_literals from flask import session from indico.core import signals from i...
mic4ael/indico
indico/modules/events/management/__init__.py
Python
mit
3,291
package com.linkedin.intellij.dust; import javax.annotation.Nonnull; import javax.annotation.Nullable; import com.intellij.ide.highlighter.HtmlFileType; import com.intellij.lang.Language; import com.intellij.openapi.editor.colors.EditorColorsScheme; import com.intellij.openapi.editor.ex.util.LayerDescriptor; import co...
consulo/consulo-dust
src/main/java/com/linkedin/intellij/dust/DustLayeredSyntaxHighlighter.java
Java
mit
1,803
import Vec import Mat44 def isVector(testVec): return isinstance(testVec, Vec.Vec) def ensureVector(x, y=0, z=0, w=0): if isVector(x): return x else: return Vec.Vec(x, y, z, w) # TODO: add to test_helpers.py with isMatrix and ensureMatrix # Ensure testMat is a Mat44 matrix (4 row Vec4s) def isMatrix(testMat...
IngenuityEngine/arkMath
arkMath/helpers.py
Python
mit
1,040
/* * The MIT License * * (c) 2004-2015. Parallels IP Holdings GmbH. 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 limita...
Parallels/jenkins-parallels
src/main/java/com/parallels/desktopcloud/ParallelsDesktopVMSlave.java
Java
mit
3,121
/** * @license * Copyright Akveo. All Rights Reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ import { NgModule } from '@angular/core'; import { RouterModule, Route} from '@angular/router'; import { ButtonGroupShowcaseComponent } from './button-group-showc...
akveo/nebular
src/playground/with-layout/button-group/button-group-routing.module.ts
TypeScript
mit
2,280
package io.reflectoring.jiraalerts.application; import static java.lang.String.format; import javax.inject.Inject; import org.apache.wicket.Session; import org.apache.wicket.authroles.authentication.AuthenticatedWebSession; import org.apache.wicket.authroles.authorization.strategies.role.Roles; import org.apache.wic...
pDiller/JiraAlerts
src/main/java/io/reflectoring/jiraalerts/application/JiraAlertsSession.java
Java
mit
2,254
package org.broadinstitute.sting.gatk.walkers.varianteval.evaluators; import org.broadinstitute.sting.utils.GenomeLoc; import org.broadinstitute.sting.utils.variantcontext.Genotype; import java.util.HashMap; /** * Created by IntelliJ IDEA. User: kiran Date: Nov 29, 2010 Time: 3:25:59 PM To change this template use ...
iontorrent/Torrent-Variant-Caller-stable
public/java/src/org/broadinstitute/sting/gatk/walkers/varianteval/evaluators/SamplePreviousGenotypes.java
Java
mit
995
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
Krzysztof-Cieslak/vscode
src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.ts
TypeScript
mit
8,998
package com.gagnepain.cashcash.web.rest.dto; import javax.validation.constraints.NotNull; import javax.validation.constraints.Pattern; import javax.validation.constraints.Size; import com.gagnepain.cashcash.config.Constants; /** * A DTO representing a user's credentials */ public class LoginDTO { @Pattern(regexp ...
Winbee/Cashcash
src/main/java/com/gagnepain/cashcash/web/rest/dto/LoginDTO.java
Java
mit
1,164
package test import ( "bytes" "crypto/tls" "encoding/json" "fmt" "io/ioutil" "math" "net/http" "testing" "time" "github.com/eleniums/gohost" "github.com/eleniums/gohost/examples/test" "google.golang.org/grpc" pb "github.com/eleniums/gohost/examples/test/proto" assert "github.com/stretchr/testify/requir...
eleniums/gohost
test/hoster_http_test.go
GO
mit
9,401
#pragma once #include <stdint.h> #include <vector> #include "akjIRect.hpp" #include "akjFontLoader.hpp" #include "FancyDrawMath.hpp" #include "akjTextShaper.hpp" #include "akjColor.hpp" #include "akjTextureObject.hpp" #include "akjDoubleVAO.hpp" #include "akjArrayBuffer.hpp" #include "akjShaderObject.hpp" #include "akj...
ProframFiles/FancyDraw
src/akjScreenTextFactory.hpp
C++
mit
7,615
package br.com.dorigon.pontoeletronico.api.services.impl; import br.com.dorigon.pontoeletronico.api.entities.Funcionario; import br.com.dorigon.pontoeletronico.api.repositories.FuncionarioRepository; import br.com.dorigon.pontoeletronico.api.services.FuncionarioService; import br.com.dorigon.pontoeletronico.api.utils....
Luiz-Otavio-Dorigon/PontoInteligenteApi
src/main/java/br/com/dorigon/pontoeletronico/api/services/impl/FuncionarioServiceImpl.java
Java
mit
1,590
/* * Copyright (c) 2007-2009, James Leigh All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * - Redistributions of source code must retain the above copyright notice, this * list of condi...
nees-ufal/JOINT
src/wwwc/nees/joint/compiler/managers/LiteralManager.java
Java
cc0-1.0
13,033
/* * 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 em7.optifl.optiflgui.persistence.profilesExplorer; import em7.optifl.optiflgui.persistence.nodes.AirplanesRootNode; import em7...
em7/em7OptiFl-gui
OptiFlGui-persistence/src/main/java/em7/optifl/optiflgui/persistence/profilesExplorer/ProfileExplorerTopComponent.java
Java
epl-1.0
5,159
/* * Copyright (c) 2017 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....
opendaylight/yangtools
parser/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/Bug7037Test.java
Java
epl-1.0
4,201
package com.odcgroup.page.ui.figure.table; import org.apache.commons.lang.StringUtils; import org.eclipse.draw2d.Graphics; import org.eclipse.draw2d.geometry.Rectangle; import org.eclipse.swt.graphics.Image; import com.odcgroup.page.metamodel.PropertyTypeConstants; import com.odcgroup.page.model.Widget; import com.od...
debabratahazra/DS
designstudio/components/page/ui/com.odcgroup.page.ui/src/main/java/com/odcgroup/page/ui/figure/table/TableColumnSearch.java
Java
epl-1.0
1,746
package com.odcgroup.visualrules.integration.migration; import org.eclipse.core.resources.IProject; import org.eclipse.core.runtime.CoreException; import org.eclipse.emf.ecore.resource.Resource; import com.odcgroup.visualrules.integration.RulesIntegrationPlugin; import com.odcgroup.workbench.core.IOfsModelResource; i...
debabratahazra/DS
designstudio/components/rule/core/com.odcgroup.visualrules.integration/src/main/java/com/odcgroup/visualrules/integration/migration/VRMetamodelVersionHandler.java
Java
epl-1.0
1,719
/* * Sonatype Nexus (TM) Open Source Version * Copyright (c) 2008-present Sonatype, Inc. * All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions. * * This program and the accompanying materials are made available under the terms of the Eclipse Public...
scmod/nexus-public
plugins/restlet1x/nexus-restlet1x-plugin/src/main/java/org/sonatype/nexus/rest/routing/RoutingStatusResource.java
Java
epl-1.0
7,844
#include "stdafx.h" #include "CMotionBlurCompositor.h" #include "ISceneManager.h" #include "IPipelineManager.h" #include "ITextureManager.h" namespace gf { CMotionBlurCompositor::CMotionBlurCompositor(const SCompositorCreateParam& param) : mFirstFrame(true) { mSampleNum = param.MotionBlur.SampleNum; IPipelin...
woyaofacai/GameFinal
GameFinal/CMotionBlurCompositor.cpp
C++
gpl-2.0
1,577
#include <algorithm> #ifdef ANDROIDSDL #include <android/log.h> #endif #include <guichan.hpp> #include <iostream> #include <sstream> #include <SDL/SDL_ttf.h> #include <guichan/sdl.hpp> #include "sdltruetypefont.hpp" #include "sysconfig.h" #include "sysdeps.h" #include "config.h" #include "uaeradiobutton.hpp" #include...
sphaero/uae4all-rpi
src/menu_guichan/menuTabControl.cpp
C++
gpl-2.0
21,470
/******************************************************************************* * Copyright (c) 2014 Agnie Technologies. * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Public License v3.0 * which accompanies this distribution, and is available at ...
Agnie-Software/3a
code/userapp/src/main/java/com/agnie/useradmin/landing/client/injector/MVPModule.java
Java
gpl-2.0
2,431
/* This file is part of the KDE libraries Copyright (C) 2007 Urs Wolfer <uwolfer @ kde.org> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License version 2 as published by the Free Software Foundation. This library is distribut...
dbzhang800/kwidgetsaddons
tests/ktitlewidgettest.cpp
C++
gpl-2.0
2,659
package org.openthinclient.service.apacheds; import org.openthinclient.service.common.ServiceConfiguration; import org.openthinclient.service.common.home.ConfigurationDirectory; import org.openthinclient.service.common.home.ConfigurationFile; import org.w3c.dom.Element; import java.io.File; import javax.xml.bind.ann...
openthinclient/openthinclient-manager
services/apacheds/src/main/java/org/openthinclient/service/apacheds/DirectoryServiceConfiguration.java
Java
gpl-2.0
6,145
package domination.hthfantasy; import java.io.FileOutputStream; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import java.util.Map; import org.apache.poi.ss.usermodel.Row; import org.apache.poi.ss.usermodel.Sheet; import domination.common.Do...
zyfrain/domination
HTHFantasy/src/domination/hthfantasy/FootballReportGenerator.java
Java
gpl-2.0
4,732
package jage.graphicengine; import jage.menus.controls.GameText; public abstract class GraphicsDrawer { protected static final int defaultScreenHeight = 864; protected static final int defaultScreenWidth = 480; protected static final int fps = 30; protected static float graphicResizeMultiplierX, graphicResizeMult...
Michalaq/Jage
src/jage/graphicengine/GraphicsDrawer.java
Java
gpl-2.0
1,468
/* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * This program is distributed in the hope that it will be useful...
tea-dragon/triplea
src/main/java/games/strategy/triplea/delegate/PurchaseDelegate.java
Java
gpl-2.0
18,333
#ifndef __UI_InterFace_H__ #define __UI_InterFace_H__ #define DISPPLAY_640_480 640 #define DISPPLAY_800_600 800 #define UI_DISPLAY_RESOLUTION ((GetDisPlay_Resolution())==(640) ? (DISPPLAY_640_480):(DISPPLAY_800_600)) void UI_InitFrom(HWND hWnd); void UI_ClearCarKind(void); void UI_ClearCarType(void); void U...
moyuanming/XJZRYK
src/ui/include/UI_InterFace.h
C
gpl-2.0
1,478
/** * @file */ /* Copyright (C) 2002-2011 UFO: Alien Invasion. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program...
Qazzian/ufoai_suspend
src/client/battlescape/cl_battlescape.h
C
gpl-2.0
3,220
/* * User: eldad.Dor * Date: 02/07/2014 10:50 * * Copyright (2005) IDI. All rights reserved. * This software is a proprietary information of Israeli Direct Insurance. * Created by IntelliJ IDEA. */ package com.idi.intellij.plugin.query.annoref.codeInsight; import com.google.common.collect.Lists; import com.i...
EldadDor/AnnoRefPlugin
src/main/java/com/idi/intellij/plugin/query/annoref/codeInsight/AnnoRefMethodArgsCallLineMarkerProvider.java
Java
gpl-2.0
3,818
package view; import java.awt.BorderLayout; import java.awt.Color; import java.awt.Dialog; import java.awt.Dimension; import java.awt.Toolkit; import java.awt.Window; import javax.swing.AbstractAction; import javax.swing.ButtonGroup; import javax.swing.JButton; import javax.swing.JComponent; import javax...
gihon19/posSuper
posSuperCanales/src/view/ViewFacturar.java
Java
gpl-2.0
29,433
/* * Freeplane - mind map editor * Copyright (C) 2016 jberry * * This file author is jberry * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 2 of the License, or *...
freeplane/freeplane
freeplane/src/main/java/org/freeplane/features/link/mindmapmode/editor/ConnectorDashControlGroup.java
Java
gpl-2.0
3,267
package org.openintents.filemanager.search; import java.io.File; import java.util.HashMap; import org.openintents.filemanager.files.FileHolder; import org.openintents.filemanager.view.ViewHolder; import android.content.Context; import android.database.Cursor; import android.view.LayoutInflater; import android.view.V...
msafin/wmc
src/org/openintents/filemanager/search/SearchListAdapter.java
Java
gpl-2.0
1,948
/* Copyright 2008 David Nolden <david.nolden.kdevelop@art-master.de> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License version 2 as published by the Free Software Foundation. This library is distributed in the hope that ...
krf/kdevplatform
language/duchain/waitforupdate.cpp
C++
gpl-2.0
1,206