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.adviser.ipojo.creationstrategy;
import org.apache.felix.ipojo.ComponentInstance;
import org.apache.felix.ipojo.IPOJOServiceFactory;
import org.apache.felix.ipojo.InstanceManager;
import org.apache.felix.ipojo.handlers.providedservice.strategy.ConfigurableCreationStrategy;
/**
* @author h.nunner
*/
publi... | hnunner/ipojo-creationstrategy | src/main/java/com/adviser/ipojo/creationstrategy/InstancePerLookupStrategy.java | Java | apache-2.0 | 975 |
package ru.extas.web.users;
import com.vaadin.data.util.converter.Converter;
import org.springframework.stereotype.Component;
import ru.extas.model.security.UserProfile;
import ru.extas.server.security.UserManagementService;
import java.util.Locale;
import static ru.extas.server.ServiceLocator.lookup;
/**
* Конвер... | ExtaSoft/extacrm | src/main/java/ru/extas/web/users/LoginToUserProfileConverter.java | Java | apache-2.0 | 1,491 |
package info.novatec.integration.hello.service;
import info.novatec.integration.hello.config.MessageFlowConfiguration;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.s... | andifalk/spring-integration-workshop | integration-calculator/src/test/java/info/novatec/integration/hello/service/HelloServiceIntegrationTest.java | Java | apache-2.0 | 2,769 |
package me.chanjar.weixin.cp.bean;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamConverter;
import lombok.Data;
import me.chanjar.weixin.common.util.XmlUtils;
import me.chanjar.weixin.common.util.xml.XStreamCDataConverter;
import me.chanjar.weixin.cp.util.... | Wechat-Group/WxJava | weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/WxCpTpXmlPackage.java | Java | apache-2.0 | 1,474 |
package com.mudroid.hellomudroid;
import android.os.Bundle;
import com.actionbarsherlock.app.SherlockMapActivity;
import com.google.android.maps.MapView;
import com.google.android.maps.MyLocationOverlay;
public class HelloMudroidActivity extends SherlockMapActivity {
private MapView mapView;
private MyLocationO... | qubz/mudroid-workshop-1 | Hello_Mudroid_Checkpoint_2/src/com/mudroid/hellomudroid/HelloMudroidActivity.java | Java | apache-2.0 | 1,347 |
package com.lenzhao.framework.client;
import com.lenzhao.framework.protocol.RpcRequest;
import com.lenzhao.framework.protocol.RpcResponse;
import com.lenzhao.framework.common.Constants;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
*监控服务性能,如果超时则输出监控日志
*/
public class TimeOutFilter implem... | zhaoshiling1017/voyage | src/main/java/com/lenzhao/framework/client/TimeOutFilter.java | Java | apache-2.0 | 1,060 |
/*
* Copyright 2012-2014 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... | springprojects/spring-boot-showcase | websocket-tomcat/src/test/java/com/gaodashang/demo/SampleWebSocketsApplicationTests.java | Java | apache-2.0 | 4,998 |
package co.itodo.common.freemarker.shiro;
import freemarker.core.Environment;
import freemarker.template.TemplateDirectiveBody;
import freemarker.template.TemplateException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import java.util.Map;
/**
* Freemarker tag that renders ... | lbf1988/itodo-common | src/java/co/itodo/common/freemarker/shiro/NotAuthenticatedTag.java | Java | apache-2.0 | 1,259 |
/*
* 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-asterixdb | asterixdb/asterix-lang-sqlpp/src/main/java/org/apache/asterix/lang/sqlpp/rewrites/visitor/SqlppWindowAggregationSugarVisitor.java | Java | apache-2.0 | 7,366 |
package com.airbnb.epoxy;
import android.view.View;
import androidx.annotation.LayoutRes;
import androidx.annotation.Nullable;
import java.lang.CharSequence;
import java.lang.Number;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
/**
* Generated file. Do not modify!
*/
public class Mod... | airbnb/epoxy | epoxy-processortest/src/test/resources/ModelWithViewClickListener_.java | Java | apache-2.0 | 9,413 |
package org.insightech.er.editor.controller.command.diagram_contents.element.connection.relation;
import java.util.List;
import org.insightech.er.editor.model.diagram_contents.element.connection.Relation;
import org.insightech.er.editor.model.diagram_contents.element.node.category.Category;
import org.insightec... | kozake/ermaster-k | org.insightech.er/src/org/insightech/er/editor/controller/command/diagram_contents/element/connection/relation/CreateRelationCommand.java | Java | apache-2.0 | 2,210 |
/**
* Copyright 2008-2017 Qualogy Solutions B.V.
*
* 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... | qafedev/qafe-platform | qafe-web-gwt/src/main/java/com/qualogy/qafe/gwt/server/ui/assembler/ToolbarUIAssembler.java | Java | apache-2.0 | 2,437 |
/*
* Copyright (C) 2005 - 2019 Schlichtherle IT Services.
* All rights reserved. Use is subject to license terms.
*/
package global.namespace.truelicense.v2.json;
import global.namespace.truelicense.api.auth.RepositoryController;
import global.namespace.truelicense.api.auth.RepositoryFactory;
import global.namespac... | christian-schlichtherle/truelicense | v2-json/src/main/java/global/namespace/truelicense/v2/json/V2JsonRepositoryFactory.java | Java | apache-2.0 | 915 |
package com.alibaba.excel.converters.string;
import com.alibaba.excel.converters.Converter;
import com.alibaba.excel.enums.CellDataTypeEnum;
import com.alibaba.excel.metadata.GlobalConfiguration;
import com.alibaba.excel.metadata.data.ReadCellData;
import com.alibaba.excel.metadata.data.WriteCellData;
import com.aliba... | alibaba/easyexcel | src/main/java/com/alibaba/excel/converters/string/StringStringConverter.java | Java | apache-2.0 | 1,138 |
package org.sagebionetworks;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.io.File;
import jav... | hhu94/Synapse-Repository-Services | integration-test/src/test/java/org/sagebionetworks/IT520SynapseJavaClientEvaluationTest.java | Java | apache-2.0 | 42,994 |
// Copyright (C) 2008 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 applicable ... | Saulis/gerrit | gerrit-gwtui/src/main/java/com/google/gerrit/client/account/ContactPanelFull.java | Java | apache-2.0 | 4,769 |
package com.webcohesion.enunciate.modules.jackson.api.impl;
import com.webcohesion.enunciate.api.datatype.BaseType;
import com.webcohesion.enunciate.api.datatype.Property;
import com.webcohesion.enunciate.api.datatype.Value;
import com.webcohesion.enunciate.facets.FacetFilter;
import com.webcohesion.enunciate.javac.de... | uniqueid001/enunciate | jackson/src/main/java/com/webcohesion/enunciate/modules/jackson/api/impl/EnumDataTypeImpl.java | Java | apache-2.0 | 1,676 |
/*
* Copyright (c) 2011-2018, Meituan Dianping. 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 Y... | dianping/cat | cat-home/src/main/java/com/dianping/cat/report/page/overload/task/MonthlyCapacityUpdater.java | Java | apache-2.0 | 3,307 |
from rl_coach.agents.dqn_agent import DQNAgentParameters
from rl_coach.architectures.embedder_parameters import InputEmbedderParameters
from rl_coach.architectures.layers import Dense
from rl_coach.base_parameters import VisualizationParameters, EmbedderScheme, \
PresetValidationParameters
from rl_coach.core_types ... | NervanaSystems/coach | rl_coach/presets/BitFlip_DQN_HER.py | Python | apache-2.0 | 3,973 |
/*
* Copyright 2020 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Netflix/zuul | zuul-core/src/test/java/com/netflix/zuul/netty/server/http2/Http2OrHttpHandlerTest.java | Java | apache-2.0 | 3,478 |
/* ###
* IP: GHIDRA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | NationalSecurityAgency/ghidra | Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/gui/objects/components/ObjectNode.java | Java | apache-2.0 | 7,183 |
/**
* Copyright 2015 The original 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... | sundrio/sundrio | adapters/source/src/main/java/io/sundr/adapter/source/TypeToTypeRef.java | Java | apache-2.0 | 2,957 |
/*
* 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 ... | pcadabam/gobblin | gobblin-cluster/src/main/java/org/apache/gobblin/cluster/GobblinTaskRunner.java | Java | apache-2.0 | 18,741 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/macie2/model/ListManagedDataIdentifiersResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#inc... | aws/aws-sdk-cpp | aws-cpp-sdk-macie2/source/model/ListManagedDataIdentifiersResult.cpp | C++ | apache-2.0 | 1,305 |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file ... | aws/aws-sdk-java-v2 | http-clients/apache-client/src/test/java/software/amazon/awssdk/http/apache/ClientTlsAuthTestBase.java | Java | apache-2.0 | 2,361 |
package io.quarkus.runtime.graal;
import java.net.Inet4Address;
import java.net.Inet6Address;
import org.wildfly.common.net.Inet;
import com.oracle.svm.core.annotate.Alias;
import com.oracle.svm.core.annotate.InjectAccessors;
import com.oracle.svm.core.annotate.TargetClass;
/*
* The following substitutions are req... | quarkusio/quarkus | core/runtime/src/main/java/io/quarkus/runtime/graal/InetSubstitutions.java | Java | apache-2.0 | 1,830 |
/*
* Copyright 2011-2016 B2i Healthcare Pte Ltd, http://b2i.sg
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | IHTSDO/snow-owl | snomed/com.b2international.snowowl.snomed.datastore.tests/src/com/b2international/snowowl/snomed/core/tree/TerminologyTreeTest.java | Java | apache-2.0 | 7,754 |
/*
Copyright 2019 The Skaffold 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, sof... | GoogleContainerTools/skaffold | pkg/skaffold/schema/v1beta10/upgrade.go | GO | apache-2.0 | 1,233 |
/*
Copyright 2016 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... | qwangrepos/helm | cmd/helm/installer/uninstall.go | GO | apache-2.0 | 2,672 |
/*
* Copyright 2016-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | justinmuller/buck | src/com/facebook/buck/rules/args/FileListableLinkerInputArg.java | Java | apache-2.0 | 3,290 |
/*
* ConnectBot: simple, powerful, open-source SSH client for Android
* Copyright 2007 Kenny Root, Jeffrey Sharkey
*
* 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.a... | getconsole/serialbot | src/nz/co/cloudstore/serialbot/service/Relay.java | Java | apache-2.0 | 4,013 |
package com.thingtrack.konekti.view.web.form;
import org.osgi.framework.BundleContext;
import org.osgi.framework.FrameworkUtil;
import org.osgi.framework.ServiceReference;
import com.thingtrack.konekti.domain.AreaType;
import com.thingtrack.konekti.domain.Location;
import com.thingtrack.konekti.service.api.AreaTypeSe... | thingtrack/konekti | core/konekti.view.web.form/src/main/java/com/thingtrack/konekti/view/web/form/AreaViewForm.java | Java | apache-2.0 | 6,898 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/ec2/model/DeprovisionPublicIpv4PoolCidrResponse.h>
#include <aws/core/utils/xml/XmlSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#inc... | aws/aws-sdk-cpp | aws-cpp-sdk-ec2/source/model/DeprovisionPublicIpv4PoolCidrResponse.cpp | C++ | apache-2.0 | 2,330 |
/*
* Copyright 2015-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | spring-projects/spring-data-examples | web/querydsl/src/main/java/example/users/UserInitializer.java | Java | apache-2.0 | 3,816 |
package analyzer;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.Set;
public class LogisticRegressionClassifier extends Classifier {
protected double LearningRate;
public LogisticRegressionClassifier(int NumberOfParameters, double LearningRate,DocAnalyzer analyzer)... | mhdbny/UserSent | src/analyzer/LogisticRegressionClassifier.java | Java | apache-2.0 | 1,942 |
#pragma once
#include "routing/cross_mwm_graph.hpp"
#include "routing/edge_estimator.hpp"
#include "routing/geometry.hpp"
#include "routing/index_graph_loader.hpp"
#include "routing/road_graph.hpp"
#include "routing/route.hpp"
#include "routing/segment.hpp"
#include "routing/transit_graph_loader.hpp"
#include "routing... | rokuz/omim | routing/transit_world_graph.hpp | C++ | apache-2.0 | 4,238 |
/*
* 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-pinpoint/src/main/java/com/amazonaws/services/pinpoint/model/transform/CreateVoiceTemplateResultJsonUnmarshaller.java | Java | apache-2.0 | 2,376 |
/*
* Copyright 2011 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 ... | csripada/j2objc | translator/src/main/java/com/google/devtools/j2objc/gen/HiddenFieldDetector.java | Java | apache-2.0 | 3,396 |
/*
* 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/cp/internal/datastructures/countdownlatch/CountDownLatchProxy.java | Java | apache-2.0 | 5,116 |
/*
* Copyright 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 applicable l... | donovanmuller/spring-cloud-dataflow | spring-cloud-starter-dataflow-server-local/src/test/java/org/springframework/cloud/dataflow/server/local/security/LdapServerResource.java | Java | apache-2.0 | 4,212 |
/*
* Copyright 2011 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 la... | BobEvans/omgpaco | Paco/src/com/google/android/apps/paco/ServerCommunication.java | Java | apache-2.0 | 5,100 |
/*
* Copyright (C) 2020 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... | google/ExoPlayer | library/core/src/test/java/com/google/android/exoplayer2/e2etest/MkvPlaybackTest.java | Java | apache-2.0 | 4,057 |
// ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑ
// Processes.c
// Mark Tully
// ??/??/95
// ÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑÑ
/* ***** BEGIN LICENSE BLO... | mctully/tntbasic | mr/Processes.c | C | bsd-2-clause | 6,050 |
#include "konoha3.h"
#ifndef APACHE_GLUE_H
#define APACHE_GLUE_H
#define kmodapache ((KModuleApache *)kctx->runtimeModels[MOD_APACHE])
#define KClass_Request kmodapache->cRequest
#define KClass_AprTable kmodapache->cAprTable
#define KClass_AprTableEntry kmodapache->cAprTableEntry
#define KClass_Ap... | konoha-project/konoha3 | src/package-devel/Lib.Apache/apache_glue.h | C | bsd-2-clause | 895 |
package org.agmip.util;
/**
* Simple JSON converter using Jackson
*/
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.Scanner;
import org.codehaus.jackson.map.ObjectMapper;
import org.codehaus.jackson.type.TypeReference;
import org.slf4j.Logger;
import org.slf4j.LoggerFa... | agmip/agmip-core | src/main/java/org/agmip/util/JSONAdapter.java | Java | bsd-3-clause | 1,077 |
// 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 "ash/content/display/screen_orientation_controller_chromeos.h"
#include "ash/ash_switches.h"
#include "ash/display/display_info.h"
#include "ash... | fujunwei/chromium-crosswalk | ash/content/display/screen_orientation_controller_chromeos.cc | C++ | bsd-3-clause | 16,744 |
/*
Copyright (c) 2000-2021, Board of Trustees of Leland Stanford Jr. University
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,... | lockss/lockss-daemon | plugins/src/org/lockss/plugin/atypon/multiscience/MultiScienceHtmlCrawlFilterFactory.java | Java | bsd-3-clause | 2,671 |
/*
* Copyright (C) 2006, 2008, 2011 Apple Inc. All rights reserved.
* Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundat... | CTSRD-SOAAP/chromium-42.0.2311.135 | third_party/WebKit/Source/core/layout/HitTestLocation.cpp | C++ | bsd-3-clause | 5,674 |
package com.thesis.expression;
import com.thesis.common.DataType;
import com.thesis.translator.ExpressionStack;
import java.io.IOException;
import java.io.Writer;
/**
* Expression that represents the ternary operator ?:
* <p>
* it is only a shorthand for a if-then-else op therefore it is not generated for any spe... | dodkoC/thesis-disassembler | src/main/java/com/thesis/expression/TernaryExpression.java | Java | bsd-3-clause | 1,315 |
package org.broadinstitute.hellbender.tools.walkers.validation;
import htsjdk.variant.variantcontext.VariantContext;
import htsjdk.variant.variantcontext.VariantContextBuilder;
import htsjdk.variant.variantcontext.writer.VariantContextWriter;
import htsjdk.variant.vcf.*;
import org.apache.commons.lang.mutable.MutableI... | broadinstitute/gatk-protected | src/main/java/org/broadinstitute/hellbender/tools/walkers/validation/AnnotateVcfWithBamDepth.java | Java | bsd-3-clause | 4,049 |
/*================================================================================
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/OvfUnsupportedAttribute.java | Java | bsd-3-clause | 2,226 |
// 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 "cc/output/copy_output_result.h"
#include "base/logging.h"
#include "cc/resources/texture_mailbox.h"
#include "third_party/skia/include/core/SkB... | Bysmyyr/chromium-crosswalk | cc/output/copy_output_result.cc | C++ | bsd-3-clause | 1,352 |
package edu.kit.iti.formal.pse.worthwhile.debugger.model;
import org.eclipse.debug.core.DebugException;
import org.eclipse.debug.core.model.IBreakpoint;
import org.eclipse.debug.core.model.IStackFrame;
import org.eclipse.debug.core.model.IThread;
/**
* A representation of a thread (i.e., the only thread) in a Worthw... | team-worthwhile/worthwhile | implementierung/src/worthwhile.debugger/src/edu/kit/iti/formal/pse/worthwhile/debugger/model/WorthwhileThread.java | Java | bsd-3-clause | 3,465 |
/*================================================================================
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/ClusterDrsMigration.java | Java | bsd-3-clause | 3,988 |
/*
Copyright (c) 2015, Rockwell Collins.
Developed with the sponsorship of Defense Advanced Research Projects Agency (DARPA).
Permission is hereby granted, free of charge, to any person obtaining a copy of this data,
including any software or models in source or binary form, as well as any drawings, specifications,
... | smaccm/smaccm | fm-workbench/simulator/edu.uah.rsesc.aadlsimulator.agree/src/edu/uah/rsesc/aadlsimulator/agree/transformation/RemoveProperties.java | Java | bsd-3-clause | 2,540 |
// Type definitions for react-app 1.0
// Project: https://github.com/kriasoft/react-app#readme
// Definitions by: Prakarsh Pandey <https://github.com/prakarshpandey>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Typescript Version: 2.3
import * as React from 'react';
export interface LinkProps... | ashwinr/DefinitelyTyped | types/react-app/index.d.ts | TypeScript | mit | 1,099 |
package dynamodb
import (
"math/rand"
"sync"
"sync/atomic"
"testing"
"time"
)
func TestCountingSemaphoreHappyPath(t *testing.T) {
t.Parallel()
semaphore := NewCountingSemaphore(1)
semaphore.Acquire()
semaphore.Release()
}
// This method tries to verify our counting semaphore works. It does this by creating... | gruntwork-io/terragrunt | dynamodb/counting_semaphore_test.go | GO | mit | 2,119 |
/*
* Copyright 2016 Adam Chyła, adam@chyla.org
* All rights reserved. Distributed under the terms of the MIT License.
*/
#include "get_agents_with_existing_sessions_not_in_learning_set.h"
#include <boost/log/trivial.hpp>
#include <json/json.hpp>
using namespace std;
using namespace nlohmann;
namespace bash
{
na... | chyla/pat-lms | server/src/bash/web/detail/get_agents_with_existing_sessions_not_in_learning_set.cpp | C++ | mit | 1,665 |
package com.yo1000.vis.controller;
import com.yo1000.vis.model.data.Navigator;
import com.yo1000.vis.model.service.NavigatorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.... | Yoichi-KIKUCHI/vis | src/main/java/com/yo1000/vis/controller/NavigatorController.java | Java | mit | 1,239 |
/**
* The MIT License
* Copyright (c) 2010 JmxTrans team
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, ... | RTBHOUSE/jmxtrans | jmxtrans-output/jmxtrans-output-cloudwatch/src/main/java/com/googlecode/jmxtrans/model/output/CloudWatchWriter.java | Java | mit | 6,542 |
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* Copyright (c) 2008, Red Hat Middleware LLC or third-party contributors as
* indicated by the @author tags or express copyright attribution
* statements applied by the authors. All third-party contributions are
* distributed under license by Red Hat Mi... | ControlSystemStudio/cs-studio | thirdparty/plugins/org.csstudio.platform.libs.hibernate/project/core/src/main/java/org/hibernate/event/LoadEventListener.java | Java | epl-1.0 | 4,146 |
/*
* Copyright 2015-2016 the original author or authors.
*
* 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
*/
packag... | marcphilipp/junit5 | documentation/src/test/java/example/timing/TimingExtension.java | Java | epl-1.0 | 2,218 |
/*
Copyright (C) 2010 Brad Hards <bradh@frogmouth.net>
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 ve... | TheTypoMaster/calligra | filters/words/rtf/import/3rdparty/rtf-qt/src/TitlePcdataDestination.cpp | C++ | gpl-2.0 | 1,176 |
/*
* wpa_supplicant - P2P
* Copyright (c) 2009-2010, Atheros Communications
*
* This program 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.
*
* Alternatively, this software may be distribute... | cuteprince/wpa_supplicant_8 | wpa_supplicant/p2p_supplicant.h | C | gpl-2.0 | 6,797 |
/* XPathFactoryImpl.java --
Copyright (C) 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath 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, or (at your o... | unofficial-opensource-apple/gcc_40 | libjava/gnu/xml/xpath/XPathFactoryImpl.java | Java | gpl-2.0 | 3,012 |
/*******************************************************************************
* Copyright (c) 2011-2014 SirSengir.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser Public License v3
* which accompanies this distribution, and is available at... | covers1624/ForestryLegacy | forestry_common/core/forestry/core/ForestryClient.java | Java | gpl-3.0 | 3,275 |
/**
* Clase de las instrucciones del manual de motorola
* @author Javi
*
*/
public class Tabop {
private String nombreInstruccion;
private boolean llevaOperando;
private String modoDireccion;
private String codigoMaquina;
private byte bytesCalculados;
private byte bytesCalcular;
private byte to... | Revaj/MyCourses | TallerProgsis/Practica 9/src/Tabop.java | Java | gpl-3.0 | 1,712 |
import { inherits } from "util";
import Assessor from "../assessor.js";
import IntroductionKeyword from "../assessments/seo/IntroductionKeywordAssessment.js";
import KeyphraseLength from "../assessments/seo/KeyphraseLengthAssessment.js";
import KeywordDensity from "../assessments/seo/KeywordDensityAssessment.js";
impo... | Yoast/js-text-analysis | src/cornerstone/relatedKeywordAssessor.js | JavaScript | gpl-3.0 | 1,415 |
// datamodel specific includes
#include "ExampleWithVectorMember.h"
#include "ExampleWithVectorMemberConst.h"
#include "ExampleWithVectorMemberObj.h"
#include "ExampleWithVectorMemberData.h"
#include "ExampleWithVectorMemberCollection.h"
#include <iostream>
ConstExampleWithVectorMember::ConstExampleWithVectorMember... | gaede/podio | tests/src/ExampleWithVectorMemberConst.cc | C++ | gpl-3.0 | 2,580 |
package org.skyve.domain.types.converters.datetime;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import java.text.ParseException;
import org.junit.Before;
import org.junit.Test;
import org.skyve.domain.types.DateTime;
import org.skyve.util.Time;
public class MMM_D... | skyvers/wildcat | skyve-core/src/test/java/org/skyve/domain/types/converters/datetime/MMM_DD_YYYY_HH_MITest.java | Java | lgpl-2.1 | 2,028 |
package edu.ncsu.csc.itrust.beans;
import java.sql.Timestamp;
import edu.ncsu.csc.itrust.enums.TransactionType;
/**
* A bean for storing data about a transaction that occurred within iTrust.
*
* A bean's purpose is to store data. Period. Little or no functionality is to be added to a bean
* (with the e... | qynnine/JDiffOriginDemo | examples/iTrust_v10/edu/ncsu/csc/itrust/beans/TransactionBean.java | Java | lgpl-2.1 | 1,868 |
/*!
* This program is free software; you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software
* Foundation.
*
* You should have received a copy of the GNU Lesser General Public License along with this
* program; if not, you can ob... | tkafalas/modeler | test-src/org/pentaho/agilebi/modeler/util/ModelerSourceUtilTest.java | Java | lgpl-2.1 | 4,551 |
/**********
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... | willisyi/LiveServer | liveMedia/H263plusVideoRTPSource.cpp | C++ | lgpl-2.1 | 3,729 |
package be.fastrada.springconfig;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.c... | AdriVanHoudt/Fastrada | projects/Backend/src/main/java/be/fastrada/springconfig/WebConfig.java | Java | apache-2.0 | 1,303 |
/*
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 agreed to in wri... | muralisrini/fabric | core/ledger/kvledger/txmgmt/version/version.go | GO | apache-2.0 | 2,341 |
/* Copyright (c) 2019 PaddlePaddle 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... | luotao1/Paddle | paddle/fluid/operators/squeeze_op_xpu.cc | C++ | apache-2.0 | 3,168 |
/*
* 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-medialive/source/model/Scte27SourceSettings.cpp | C++ | apache-2.0 | 1,484 |
#ifndef HOBBES_LANG_TYPEINF_HPP_INCLUDED
#define HOBBES_LANG_TYPEINF_HPP_INCLUDED
#include <hobbes/lang/type.H>
#include <hobbes/lang/expr.H>
#include <hobbes/util/unionfind.H>
#include <map>
#include <set>
namespace hobbes {
// type equivalence data
struct UTypeRec {
MonoTypePtr ty;
bool visited;
size... | Morgan-Stanley/hobbes | include/hobbes/lang/typeinf.H | C++ | apache-2.0 | 4,504 |
// 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 applicable ... | cjh1/github-plugin | github-plugin/src/main/java/com/googlesrouce/gerrit/plugins/github/git/BatchImporter.java | Java | apache-2.0 | 1,524 |
/*
* 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.ml.action;
import org.elasticsearch.action.Ac... | gingerwizard/elasticsearch | x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/action/TransportUpdateDatafeedAction.java | Java | apache-2.0 | 6,234 |
package handlers
import (
"expvar"
"fmt"
"math/rand"
"net"
"net/http"
"os"
"time"
"github.com/docker/distribution"
"github.com/docker/distribution/configuration"
ctxu "github.com/docker/distribution/context"
"github.com/docker/distribution/notifications"
"github.com/docker/distribution/registry/api/v2"
"... | apuigsech/distribution | registry/handlers/app.go | GO | apache-2.0 | 21,659 |
/*
Copyright (c) 2018 Red Hat, 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 in writing, softwa... | johnkim76/ansible-service-broker | vendor/github.com/automationbroker/broker-client-go/client/clientset/versioned/typed/automationbroker/v1alpha1/bundleinstance.go | GO | apache-2.0 | 5,389 |
// Copyright 2015 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... | Digas29/bazel | src/main/java/com/google/devtools/build/lib/rules/objc/TestSupport.java | Java | apache-2.0 | 11,360 |
package com.skysport.interfaces.model.info.category.impl;
import com.skysport.core.bean.system.SelectItem2;
import com.skysport.interfaces.bean.info.CategoryInfo;
import com.skysport.interfaces.mapper.info.CategoryMapper;
import com.skysport.core.model.common.impl.CommonServiceImpl;
import com.skysport.interfaces.mode... | firebata/skysport160125 | one/src/main/java/com/skysport/interfaces/model/info/category/impl/CategoryManageServiceImpl.java | Java | apache-2.0 | 1,258 |
/**
* 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 appli... | Egg0/simpletutoring | cloud-functions-angular/src/app/app.module.ts | TypeScript | apache-2.0 | 2,380 |
/**
* Copyright (c) 2013-2020 Contributors to the Eclipse Foundation
*
* <p> See the NOTICE file distributed with this work for additional information regarding copyright
* ownership. All rights reserved. This program and the accompanying materials are made available
* under the terms of the Apache License, Versio... | locationtech/geowave | analytics/api/src/main/java/org/locationtech/geowave/analytic/param/OutputStoreParameterHelper.java | Java | apache-2.0 | 2,442 |
/*
* Copyright (c) 2005-2011 Grameen Foundation USA
* 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
*
* Unl... | mifos/android-client | mifos-android-client/src/org/mifos/androidclient/entities/account/SavingsProduct.java | Java | apache-2.0 | 4,899 |
/*
* Hibernate Validator, declare and validate application constraints
*
* 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.validator.internal.xml;
import static org.hibernate.validator.internal.util.Col... | shahramgdz/hibernate-validator | engine/src/main/java/org/hibernate/validator/internal/xml/ConstrainedTypeBuilder.java | Java | apache-2.0 | 3,453 |
/**
* Copyright 2010-2015 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
*
* Unle... | wangyingjie/mybatis-spring | src/test/java/org/mybatis/spring/config/NamespaceTest.java | Java | apache-2.0 | 8,104 |
/**
* 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... | apucher/pinot | thirdeye/thirdeye-pinot/src/main/java/com/linkedin/thirdeye/anomaly/alert/grouping/filter/AlertGroupFilterFactory.java | Java | apache-2.0 | 2,110 |
/*
* 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 ... | prasi-in/geode | geode-core/src/test/java/org/apache/geode/test/dunit/rules/JarFileRule.java | Java | apache-2.0 | 2,699 |
/*
* 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-swf/source/model/DecisionTaskCompletedEventAttributes.cpp | C++ | apache-2.0 | 2,488 |
# -*- coding: utf-8 -*-
"""The Volume Shadow Snapshots (VSS) format analyzer helper implementation."""
from dfvfs.analyzer import analyzer
from dfvfs.analyzer import analyzer_helper
from dfvfs.analyzer import specification
from dfvfs.lib import definitions
class VShadowAnalyzerHelper(analyzer_helper.AnalyzerHelper):... | joachimmetz/dfvfs | dfvfs/analyzer/vshadow_analyzer_helper.py | Python | apache-2.0 | 1,071 |
package org.hl7.fhir.dstu3.model.codesystems;
/*
Copyright (c) 2011+, HL7, 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... | Gaduo/hapi-fhir | hapi-fhir-structures-dstu3/src/main/java/org/hl7/fhir/dstu3/model/codesystems/BenefitNetworkEnumFactory.java | Java | apache-2.0 | 2,503 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/customer-profiles/model/Task.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namesp... | awslabs/aws-sdk-cpp | aws-cpp-sdk-customer-profiles/source/model/Task.cpp | C++ | apache-2.0 | 3,536 |
/*
* 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 ... | davebarnes97/geode | extensions/geode-modules/src/integrationTest/java/org/apache/geode/modules/session/catalina/callback/LocalSessionCacheWriterIntegrationTest.java | Java | apache-2.0 | 9,095 |
/*
* Copyright 2012-2016 bambooCORE, greenstep of copyright Chen Xin Nien
*
* 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
*
* ... | quangnguyen9x/bamboobsc_quangnv | core-base/src/com/netsteadfast/greenstep/service/impl/SysTwitterServiceImpl.java | Java | apache-2.0 | 3,989 |
// 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 "content/renderer/service_worker/service_worker_type_util.h"
#include <string>
#include "base/memory/scoped_ptr.h"
#include "base/strings/utf_s... | Workday/OpenFrame | content/renderer/service_worker/service_worker_type_util.cc | C++ | bsd-3-clause | 2,157 |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/api/history/history_api_factory.h"
#include "chrome/browser/extensions/api/history/history_api.h"
#include "chrom... | leiferikb/bitpop-private | chrome/browser/extensions/api/history/history_api_factory.cc | C++ | bsd-3-clause | 1,327 |
/*================================================================================
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/ArrayOfHostPciPassthruInfo.java | Java | bsd-3-clause | 2,190 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.