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 |
|---|---|---|---|---|---|
/**
* FILE SHOULD BE REMOVED AS FAST AS DOJO SUPPORTS TOUCH EVENTS ON GFX ON DEFAULT
*/
/*
Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
Available via Academic Free License >= 2.1 OR the modified BSD license.
see: http://dojotoolkit.org/license for details
customization for reacting to mobi... | lnaef/ClickScript | cs/system/touch/gfxMoveable.js | JavaScript | gpl-3.0 | 1,993 |
package accounts_test
import (
"github.com/RichardKnop/example-api/models"
"github.com/RichardKnop/example-api/services/accounts"
"github.com/stretchr/testify/assert"
)
func (suite *AccountsTestSuite) TestFindInvitationByReference() {
var (
testExpiredInvitation, testInvitation, invitation *models.Invitation
... | RichardKnop/example-api | services/accounts/invitation_test.go | GO | mpl-2.0 | 2,246 |
// Copyright (C) 2016 The Syncthing Authors.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at https://mozilla.org/MPL/2.0/.
package fs
import (
"context"
"errors"
"io"
"os"
"path/filepat... | uok/syncthing | lib/fs/filesystem.go | GO | mpl-2.0 | 6,360 |
/*
* %injeqt copyright begin%
* Copyright 2014 Rafał Malinowski (rafal.przemyslaw.malinowski@gmail.com)
* %injeqt copyright end%
*
* 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; e... | ppekala/injeqt | src/internal/injector-core.cpp | C++ | lgpl-2.1 | 10,177 |
/*******************************************************************************
* Copyright (c) 2012 itemis AG (http://www.itemis.eu) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distr... | JKatzwinkel/bts | org.eclipse.xtext.ui/src/org/eclipse/xtext/ui/editor/hover/html/XtextBrowserInformationControlAdapter.java | Java | lgpl-3.0 | 3,474 |
package gregtechmod.api.gui;
import gregtechmod.api.GregTech_API;
import gregtechmod.api.interfaces.IGregTechTileEntity;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.item.ItemDye;
import org.lwjgl.opengl.GL11;
/**
* NEVER INCLUDE THIS FILE IN YOUR MOD!!!
*
* The GUI-Container I use fo... | Albloutant/Galacticraft | dependencies/gregtechmod/api/gui/GT_GUIContainerMetaTile_Machine.java | Java | lgpl-3.0 | 1,558 |
/*
* Copyright 2010, 2011, 2012, 2013 mapsforge.org
* Copyright 2014 Ludwig M Brinckmann
* Copyright 2014, 2015 devemux86
*
* This program 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 v... | lincomatic/mapsforge | mapsforge-map-android/src/main/java/org/mapsforge/map/android/graphics/AndroidCanvas.java | Java | lgpl-3.0 | 4,479 |
/*
* Copyright 2014-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... | neonichu/buck | test/com/facebook/buck/apple/AppleBundleBuilder.java | Java | apache-2.0 | 2,249 |
/*
* 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... | bforbis/thrift | test/go/src/common/client.go | GO | apache-2.0 | 3,335 |
/*
* 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-opsworks/source/model/LoadBasedAutoScalingConfiguration.cpp | C++ | apache-2.0 | 2,531 |
/*
* 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... | jwren/intellij-community | java/java-impl/src/com/intellij/psi/impl/migration/MigrationClassImpl.java | Java | apache-2.0 | 7,525 |
/*
* Copyright 2017 StreamSets Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | rockmkd/datacollector | dataformats-lib/src/main/java/com/streamsets/service/generator/DataGeneratorServiceImpl.java | Java | apache-2.0 | 5,685 |
package jp.yokomark.remoteview.reader.unmarshaller;
import android.os.Parcel;
import android.os.Parcelable;
import android.widget.RemoteViews;
import java.util.ArrayList;
import java.util.List;
import jp.yokomark.remoteview.reader.action.SetRemoteViewsAdapterListAction;
/**
* @author KeishinYokomaku
*/
public cla... | jfsso/RemoteViewsReader | reader/src/main/java/jp/yokomark/remoteview/reader/unmarshaller/SetRemoteViewsAdapterListActionUnmarshaller.java | Java | apache-2.0 | 1,012 |
package mil.nga.giat.geowave.store.index;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import mil.nga.giat.geowave.index.ByteArrayId;
import mil.nga.giat.geowave.index.PersistenceUtils;
import mil.nga.giat.geowa... | viggyprabhu/geowave | geowave-store/src/main/java/mil/nga/giat/geowave/store/index/BasicIndexModel.java | Java | apache-2.0 | 4,075 |
/*
* 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 ... | bowenli86/flink | flink-table/flink-table-runtime-blink/src/main/java/org/apache/flink/table/runtime/operators/sort/SortOperator.java | Java | apache-2.0 | 4,477 |
/**
* Copyright (c) 2008-2012 The Sakai Foundation
*
* Licensed under the Educational Community License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.osedu.org/licenses/ECL-2.0
*
* Unless req... | harfalm/Sakai-10.1 | profile2/tool/src/java/org/sakaiproject/profile2/tool/pages/panels/MessageThreadsView.java | Java | apache-2.0 | 8,331 |
/*
* Copyright © 2014 Cask Data, 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 t... | caskdata/tigon | tigon-flow/src/main/java/co/cask/tigon/internal/app/runtime/distributed/AbstractTwillProgramController.java | Java | apache-2.0 | 3,214 |
package docker
import (
"bytes"
"fmt"
"io"
"net"
"os"
"path/filepath"
"runtime"
"strings"
"github.com/blang/semver"
"github.com/docker/docker/cliconfig"
dockerclient "github.com/docker/engine-api/client"
docker "github.com/fsouza/go-dockerclient"
"github.com/golang/glog"
"github.com/spf13/cobra"
"githu... | marun/origin | pkg/bootstrap/docker/up.go | GO | apache-2.0 | 44,095 |
/*
* 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/cache/query/internal/CompiledAggregateFunction.java | Java | apache-2.0 | 5,864 |
/*
* Copyright 2012-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... | mdeinum/spring-boot | spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/embedded/NettyWebServerFactoryCustomizer.java | Java | apache-2.0 | 4,700 |
/*
* 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 ... | robertgeiger/incubator-geode | gemfire-core/src/main/java/com/gemstone/gemfire/management/internal/beans/DiskStoreMBeanBridge.java | Java | apache-2.0 | 8,637 |
/*
* Copyright (c) 2008-2017, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | dbrimley/hazelcast | hazelcast/src/main/java/com/hazelcast/map/impl/DefaultMapServiceFactory.java | Java | apache-2.0 | 3,844 |
/*
* Copyright 2014 JBoss 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 ... | mdrillin/teiid-webui | teiid-webui-webapp/src/main/java/org/teiid/webui/client/widgets/ServiceRow.java | Java | apache-2.0 | 1,553 |
/*
* Copyright 2014-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... | OkBuilds/buck | src/com/facebook/buck/apple/AppleBundleDescription.java | Java | apache-2.0 | 11,564 |
// Copyright 2011-2016 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | mayl8822/binnavi | src/main/java/com/google/security/zynamics/reil/translators/arm/THUMBMulTranslator.java | Java | apache-2.0 | 2,983 |
/*
* Copyright 2011 JBoss 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 wri... | gurhann/AutoTimeTable | optaplanner-core/src/main/java/org/optaplanner/core/config/constructionheuristic/ConstructionHeuristicPhaseConfig.java | Java | apache-2.0 | 8,932 |
/*
* Copyright 2012-2019 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... | tiarebalbi/spring-boot | spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/docs/PackagingDocumentationTests.java | Java | apache-2.0 | 7,638 |
/*
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... | isghe/obc-peer | events/producer/producer.go | GO | apache-2.0 | 2,053 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/proton/model/ListTagsForResourceResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include <a... | awslabs/aws-sdk-cpp | aws-cpp-sdk-proton/source/model/ListTagsForResourceResult.cpp | C++ | apache-2.0 | 1,246 |
/*
* Copyright 2003-2018 Dave Griffith, Bas Leijdekkers
*
* 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 applicab... | mdanielwork/intellij-community | plugins/IntentionPowerPak/src/com/siyeh/ipp/comment/ChangeToEndOfLineCommentIntention.java | Java | apache-2.0 | 2,518 |
/*
* 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-dunit/src/main/java/org/apache/geode/security/generator/PKCSCredentialGenerator.java | Java | apache-2.0 | 4,276 |
/**
* 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... | b-long/bigtop | bigtop-bigpetstore/bigpetstore-data-generator/src/main/java/org/apache/bigtop/bigpetstore/datagenerator/generators/transaction/ProductCategoryUsageTrajectory.java | Java | apache-2.0 | 1,995 |
/*
* 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 ... | jcamachor/hive | ql/src/java/org/apache/hadoop/hive/ql/plan/MapWork.java | Java | apache-2.0 | 31,724 |
/**
* FreeRDP: A Remote Desktop Protocol Client
* Update Data PDUs
*
* Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*... | cocoon/NeutrinoRDP | libfreerdp-core/update.c | C | apache-2.0 | 20,099 |
/*
* 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 ... | shardingjdbc/sharding-jdbc | sharding-jdbc/sharding-jdbc-orchestration/src/test/java/org/apache/shardingsphere/shardingjdbc/orchestration/api/yaml/masterslave/YamlOrchestrationMasterSlaveIntegrateTest.java | Java | apache-2.0 | 3,418 |
package org.mindinformatics.gwt.domeo.model;
import java.util.Date;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;
import com.google.gwt.i18n.client.DateTimeFormat;
/**
* @author Paolo Ciccarese <paolo.ciccarese@gmail.com>
*/
public class JsoAnnotation extends JavaSc... | domeo/DomeoClient | src/org/mindinformatics/gwt/domeo/model/JsoAnnotation.java | Java | apache-2.0 | 1,409 |
from rest_framework import permissions as rest_permissions
from rest_framework import viewsets
from django.core.urlresolvers import reverse_lazy
from django.views.generic import CreateView, UpdateView
from geotrek.flatpages.serializers import FlatPageSerializer
from geotrek.flatpages import models as flatpages_models... | mabhub/Geotrek | geotrek/flatpages/views.py | Python | bsd-2-clause | 1,088 |
/*
Copyright (c) 2015, Alcatel-Lucent Inc
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of condi... | vareti/nuage-libnetwork | vendor/github.com/nuagenetworks/vspk-go/vspk/nsport.go | GO | bsd-3-clause | 8,865 |
/*================================================================================
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/HostDatastoreBrowserSearchSpec.java | Java | bsd-3-clause | 2,877 |
// Copyright (c) 2013 Intel Corporation. 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.xwalk.runtime;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.view.View;
import... | seanlong/crosswalk | runtime/android/java/src/org/xwalk/runtime/XWalkRuntimeViewProviderBase.java | Java | bsd-3-clause | 1,366 |
package tlsalpn01
import (
"crypto/tls"
"fmt"
"net"
"net/http"
"strings"
"github.com/xenolf/lego/log"
)
const (
// ACMETLS1Protocol is the ALPN Protocol ID for the ACME-TLS/1 Protocol.
ACMETLS1Protocol = "acme-tls/1"
// defaultTLSPort is the port that the ProviderServer will default to
// when no other po... | khlieng/name_pending | vendor/github.com/xenolf/lego/challenge/tlsalpn01/tls_alpn_challenge_server.go | GO | mit | 2,751 |
package org.jabref.gui.edit;
import org.jabref.gui.DialogService;
import org.jabref.gui.StateManager;
import org.jabref.gui.actions.SimpleCommand;
import org.jabref.gui.util.BindingsHelper;
import org.jabref.logic.l10n.Localization;
import com.airhacks.afterburner.injection.Injector;
import static org.jabref.gui.act... | sauliusg/jabref | src/main/java/org/jabref/gui/edit/ManageKeywordsAction.java | Java | mit | 1,202 |
package com.google.appengine.api.users;
import com.google.gwt.user.client.rpc.SerializationException;
import com.google.gwt.user.client.rpc.SerializationStreamReader;
import com.google.gwt.user.client.rpc.SerializationStreamWriter;
/**
* Custom field serializer for the datastore User class
*/
public class User_Cust... | gvaish/attic-objectify-appengine | src/com/google/appengine/api/users/User_CustomFieldSerializer.java | Java | mit | 1,066 |
package org.jabref.logic.autocompleter;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import org.jabref.logic.journals.JournalAbbreviationPreferences;
import org.jabref.preferences.JabRefPreferences;
public class AutoCompletePreferences {
private static final String AUTOCOMPLETER_SHORTE... | jhshinn/jabref | src/main/java/org/jabref/logic/autocompleter/AutoCompletePreferences.java | Java | mit | 3,581 |
/**
* 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... | pravinw/openhab | bundles/binding/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/server/XmlRpcCallbackServer.java | Java | epl-1.0 | 2,235 |
/*
* RealmSpeak is the Java application for playing the board game Magic Realm.
* Copyright (c) 2005-2015 Robin Warren
* E-mail: robin@dewkid.com
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foun... | kidaa/RealmSpeak | magic_realm/utility/components/source/com/robin/magic_realm/components/quest/requirement/QuestRequirementTimePassed.java | Java | gpl-3.0 | 2,407 |
/**
* Copyright (C) 2012 Moxie Marlinspike
*
* 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 later version.
*
* This program is... | Clam-/TextSecure | src/org/thoughtcrime/securesms/database/model/SmsMessageRecord.java | Java | gpl-3.0 | 4,742 |
/*
Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of version 2.1 of the GNU Lesser General Public License
as published by the Free Software Foundation.
This program is distributed in the hope tha... | uhhpctools/openuh | osprey/libF77/h_nint.c | C | gpl-3.0 | 1,594 |
/*
* Commands.java
*
* Copyright (C) 2009-15 by RStudio, Inc.
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. Th... | tbarrongh/rstudio | src/gwt/src/org/rstudio/studio/client/workbench/commands/Commands.java | Java | agpl-3.0 | 18,514 |
/**
* Handlers for all RTM `group_` events.
*/
var zipObject = require('lodash').zipObject;
var RTM_EVENTS = require('../../clients/events/rtm').EVENTS;
var baseChannelHandlers = require('./base-channel');
var helpers = require('./helpers');
var models = require('../../models');
/** {@link https://api.slack.com/... | amaendeepm/fin-utils | uphold-bot/node_modules/@slack/client/lib/data-store/message-handlers/groups.js | JavaScript | lgpl-2.1 | 1,600 |
package org.jetbrains.plugins.scala.lang.psi.impl.search;
import com.intellij.openapi.fileTypes.FileType;
import com.intellij.openapi.fileTypes.StdFileTypes;
import com.intellij.openapi.module.Module;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.roots.ProjectFileIndex;
import com.intellij.o... | triggerNZ/intellij-scala | src/org/jetbrains/plugins/scala/lang/psi/impl/search/ScSourceFilterScope.java | Java | apache-2.0 | 1,804 |
/**
* Copyright 2005-2015 Red Hat, Inc.
*
* Red Hat licenses this file to you under the Apache License, version
* 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | jonathanchristison/fabric8 | patch/patch-commands/src/main/java/io/fabric8/patch/commands/Add.java | Java | apache-2.0 | 2,370 |
package mil.nga.giat.geowave.accumulo.mapreduce.dedupe;
import java.io.IOException;
import java.util.Iterator;
import mil.nga.giat.geowave.accumulo.mapreduce.input.GeoWaveInputKey;
import org.apache.hadoop.io.ObjectWritable;
import org.apache.hadoop.mapreduce.Reducer;
/**
* A basic implementation of deduplication ... | state-hiu/geowave | geowave-accumulo/src/main/java/mil/nga/giat/geowave/accumulo/mapreduce/dedupe/GeoWaveDedupeReducer.java | Java | apache-2.0 | 864 |
/**
* 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... | ishark/incubator-apex-core | engine/src/main/java/com/datatorrent/stram/util/WebServicesClient.java | Java | apache-2.0 | 7,690 |
// Copyright 2013-2015 Aerospike, 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 t... | matematik7/aerospike-client-go | read_header_command.go | GO | apache-2.0 | 2,118 |
/*
* 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... | android-ia/platform_tools_idea | java/debugger/impl/src/com/intellij/debugger/ui/breakpoints/JavaBreakpointItem.java | Java | apache-2.0 | 5,431 |
/*
* 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/sandesha | modules/core/src/main/java/org/apache/sandesha2/util/FaultManager.java | Java | apache-2.0 | 43,842 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | himanshug/druid | extensions-core/druid-bloom-filter/src/main/java/org/apache/druid/query/filter/sql/BloomFilterOperatorConversion.java | Java | apache-2.0 | 4,426 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/license-manager/model/CheckoutBorrowLicenseRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::LicenseManager::Model;
using namespace Aws... | jt70471/aws-sdk-cpp | aws-cpp-sdk-license-manager/source/model/CheckoutBorrowLicenseRequest.cpp | C++ | apache-2.0 | 2,436 |
/*
* 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 ... | okalmanRH/jboss-activemq-artemis | artemis-junit/src/test/java/org/apache/activemq/artemis/junit/EmbeddedJMSResourceMultipleFileConfigurationTest.java | Java | apache-2.0 | 3,552 |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/apigatewayv2/model/GetAuthorizersResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include <... | aws/aws-sdk-cpp | aws-cpp-sdk-apigatewayv2/source/model/GetAuthorizersResult.cpp | C++ | apache-2.0 | 1,233 |
/*
Copyright 2015 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... | mjg59/kubernetes | pkg/master/tunneler_test.go | GO | apache-2.0 | 4,955 |
/*
* Copyright (c) 2010-2015 Pivotal Software, Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. You
* may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless req... | papicella/snappy-store | gemfirexd/core/src/main/java/com/pivotal/gemfirexd/internal/engine/store/offheap/OffHeapDeltas.java | Java | apache-2.0 | 3,886 |
/*
* Copyright (C) 2005 onwards University of Deusto
* All rights reserved.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution.
*
* This software consists of contributions made by many individuals,
* listed below:
*
* Author: Pablo Orduña <pabl... | morelab/weblabdeusto | client/src/es/deusto/weblab/client/WebLabClient.java | Java | bsd-2-clause | 4,513 |
from django.conf.urls import include, patterns, url
from rest_framework import routers
from tastypie.api import Api
from remo.events.api.api_v1 import EventResource
from remo.events.api.views import EventsKPIView, EventsViewSet
from remo.profiles.api.api_v1 import RepResource
from remo.reports.api.views import Activi... | chirilo/remo | remo/api/urls.py | Python | bsd-3-clause | 1,086 |
/*
Copyright 2017 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 agreedto in writing, software
dist... | NazarethCollege/heweb2017-devops-presentation | sites/tweetheat/src/backend/vendor/src/github.com/youtube/vitess/go/vt/topo/memorytopo/directory.go | GO | mit | 1,226 |
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<1e6e0aeac3d02c628a66f2a1fc9cc7f1>>
* @flow
* @lightSyntaxTransform
* @nogrep
*/
/* eslint-disabl... | facebook/relay | packages/relay-runtime/store/__tests__/__generated__/RelayReaderTestCreatesFragmentPointersWithFragmentOwnerWhenOwnerIsProvidedUserProfile.graphql.js | JavaScript | mit | 2,482 |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... | radshit/vscode | src/vs/editor/browser/standalone/standaloneCodeEditor.ts | TypeScript | mit | 12,355 |
/*
* Copyright 2015-2020 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 v2.0 which
* accompanies this distribution and is available at
*
* https://www.eclipse.org/legal/epl-v20.html
*/
packa... | junit-team/junit-lambda | junit-jupiter-engine/src/main/java/org/junit/jupiter/engine/discovery/DefaultMethodDescriptor.java | Java | epl-1.0 | 2,288 |
/*
* This file is part of Applied Energistics 2.
* Copyright (c) 2013 - 2015, AlgorithmX2, All rights reserved.
*
* Applied Energistics 2 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 ver... | SKCraft/Applied-Energistics-2 | src/main/java/appeng/tile/powersink/IC2.java | Java | gpl-3.0 | 3,407 |
/*
* ========================================================================
* DIScrete event baSed Energy Consumption simulaTor
* for Clouds and Federations (DISSECT-CF)
* ========================================================================
*
* This file is part of DISSECT-CF.
*... | MakrancziD/dissect-cf | src/main/java/hu/mta/sztaki/lpds/cloud/simulator/iaas/vmscheduling/Scheduler.java | Java | gpl-3.0 | 9,398 |
/*
* StructureSetAccessFeeSession.cpp
*
* Created on: April 30, 2012
* Author: Kyle
*/
#include "server/zone/objects/player/sessions/StructureSetAccessFeeSession.h"
#include "server/zone/objects/player/sui/SuiWindowType.h"
#include "server/zone/objects/player/sui/inputbox/SuiInputBox.h"
#include "server/zon... | Chilastra-Reborn/Chilastra-source-code | src/server/zone/objects/player/sessions/StructureSetAccessFeeSessionImplementation.cpp | C++ | agpl-3.0 | 3,625 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | nrz/ylikuutio | external/SDL2-2.0.14/src/misc/SDL_url.c | C | agpl-3.0 | 1,184 |
/*
* SonarQube, open source software quality management tool.
* Copyright (C) 2008-2014 SonarSource
* mailto:contact AT sonarsource DOT com
*
* SonarQube 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 Found... | sulabh-msft/sonarqube | server/sonar-server/src/test/java/org/sonar/server/computation/component/ComponentImplTest.java | Java | lgpl-3.0 | 4,873 |
// Copyright 2014 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... | juhalindfors/bazel-patches | src/main/java/com/google/devtools/build/lib/skyframe/TransitiveTraversalValue.java | Java | apache-2.0 | 8,348 |
package org.apereo.cas.monitor.config;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.mongo.MongoDbConnectionFactory;
import org.apereo.cas.monitor.MongoDbHealthIndicator;
import lombok.val;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframewor... | GIP-RECIA/cas | support/cas-server-support-mongo-monitor/src/main/java/org/apereo/cas/monitor/config/MongoDbMonitoringConfiguration.java | Java | apache-2.0 | 1,958 |
/*
* 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 n... | gaohoward/activemq-artemis | artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/tools/xml/XmlDataConstants.java | Java | apache-2.0 | 3,958 |
/*
* Copyright 2016 JBoss by Red Hat.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | markcoble/droolsjbpm-integration | kie-server-parent/kie-server-tests/kie-server-integ-tests-all/src/test/java/org/kie/server/integrationtests/jbpm/PerProcessInstanceWorkItemIntegrationTest.java | Java | apache-2.0 | 4,268 |
/*
* Copyright 2012 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 applica... | Pushjet/Pushjet-Android | gradle/wrapper/dists/gradle-2.2.1-all/c64ydeuardnfqctvr1gm30w53/gradle-2.2.1/src/ivy/org/gradle/api/publish/ivy/internal/publication/DefaultIvyPublication.java | Java | bsd-2-clause | 8,082 |
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "extensions/browser/extension_registry.h"
#include "base/strings/string_util.h"
#include "extensions/browser/extension_registry_factory.h"
#incl... | geminy/aidear | oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/extensions/browser/extension_registry.cc | C++ | gpl-3.0 | 7,205 |
/**
* Preference Interface.
* All iptables "communication" is handled by this class.
*
* Copyright (C) 2011-2012 Umakanthan Chandran
*
* 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, e... | 0359xiaodong/afwall | aFWall/src/main/java/dev/ukanth/ufirewall/preferences/PreferencesActivity.java | Java | gpl-3.0 | 8,000 |
#include "pe_exception_directory.h"
namespace pe_bliss
{
using namespace pe_win;
//EXCEPTION DIRECTORY (exists on PE+ only)
//Default constructor
exception_entry::exception_entry()
:begin_address_(0), end_address_(0), unwind_info_address_(0),
unwind_info_version_(0),
flags_(0),
size_of_prolog_(0),
count_of_codes... | luciasoftware/lucia | pe_bliss/pe_exception_directory.cpp | C++ | lgpl-3.0 | 4,964 |
/*
* Copyright (c) Facebook, Inc. and 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 applic... | facebook/buck | test/com/facebook/buck/apple/AppleBinaryDescriptionTest.java | Java | apache-2.0 | 2,930 |
// Copyright 2020 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/services/cellular_setup/esim_mojo_utils.h"
#include "ash/services/cellular_setup/public/mojom/esim_manager.mojom.h"
namespace ash::cellula... | chromium/chromium | ash/services/cellular_setup/esim_mojo_utils.cc | C++ | bsd-3-clause | 1,908 |
/* SPDX-License-Identifier: GPL-2.0 */
/*
* linux/fs/nfs/nfs4_fs.h
*
* Copyright (C) 2005 Trond Myklebust
*
* NFSv4-specific filesystem definitions and declarations
*/
#ifndef __LINUX_FS_NFS_NFS4_FS_H
#define __LINUX_FS_NFS_NFS4_FS_H
#if defined(CONFIG_NFS_V4_2)
#define NFS4_MAX_MINOR_VERSION 2
#elif defined(CO... | rneugeba/linux-stable | fs/nfs/nfs4_fs.h | C | gpl-2.0 | 20,783 |
/*
delaboratory - color correction utility
Copyright (C) 2011 Jacek Poplawski
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 opti... | tectronics/delaboratory | gui_wx/property_boolean_ui.cc | C++ | gpl-3.0 | 1,531 |
/*
This file is part of Telegram Desktop,
the official desktop version of Telegram messaging app, see https://telegram.org
Telegram Desktop is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the ... | splintor/tdesktop | Telegram/SourceFiles/codegen/common/logging.cpp | C++ | gpl-3.0 | 1,473 |
#include "generator/generator_tests_support/test_with_custom_mwms.hpp"
#include "platform/local_country_file_utils.hpp"
#include "base/stl_helpers.hpp"
#include "base/timer.hpp"
namespace generator
{
namespace tests_support
{
TestWithCustomMwms::TestWithCustomMwms()
{
m_version = base::GenerateYYMMDD(base::Seconds... | milchakov/omim | generator/generator_tests_support/test_with_custom_mwms.cpp | C++ | apache-2.0 | 758 |
/**
* Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.analytics.financial.provider.description.inflation;
import java.util.List;
import java.util.Set;
import com.opengamma.analytics.financial.forex.method.FXMatri... | DevStreet/FinanceAnalytics | projects/OG-Analytics/src/main/java/com/opengamma/analytics/financial/provider/description/inflation/InflationProviderDecoratedIssuer.java | Java | apache-2.0 | 7,320 |
/*
* 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 ... | mirego/j2objc | translator/src/main/java/com/google/devtools/j2objc/types/HeaderImportCollector.java | Java | apache-2.0 | 5,367 |
#ifndef PDNS_SIGNINGPIPE
#define PDNS_SIGNINGPIPE
#include <vector>
#include <pthread.h>
#include <stdio.h>
#include "dnsseckeeper.hh"
#include "dns.hh"
void writeLStringToSocket(int fd, const string& msg);
bool readLStringFromSocket(int fd, string& msg);
/** input: DNSResourceRecords ordered in qname,qtype (we emit ... | nlyan/pdns | pdns/signingpipe.hh | C++ | gpl-2.0 | 1,548 |
// Copyright 2014 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... | mikelikespie/bazel | src/main/java/com/google/devtools/build/skyframe/SequentialBuildDriver.java | Java | apache-2.0 | 2,444 |
/*
* Copyright 2012-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | bbrouwer/spring-boot | spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/condition/AllNestedConditionsTests.java | Java | apache-2.0 | 3,103 |
package org.mozilla.osmdroid.api;
import org.mozilla.osmdroid.views.MapController;
/**
* An interface that resembles the Google Maps API MapController class and is implemented by the
* osmdroid {@link MapController} class.
*
* @author Neil Boyd
*/
public interface IMapController {
void animateTo(IGeoPoint ge... | petercpg/MozStumbler | android/src/main/java/org/mozilla/osmdroid/api/IMapController.java | Java | mpl-2.0 | 710 |
/**
* 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... | apurtell/hadoop | hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/main/java/org/apache/hadoop/yarn/server/federation/store/records/impl/pb/SubClusterRegisterResponsePBImpl.java | Java | apache-2.0 | 2,525 |
/*
* 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 ... | alanfgates/hive | ql/src/test/org/apache/hadoop/hive/ql/exec/vector/expressions/TestConstantVectorExpression.java | Java | apache-2.0 | 4,312 |
/*
*
* Copyright 2016, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of condi... | hstefan/grpc | test/cpp/grpclb/grpclb_api_test.cc | C++ | bsd-3-clause | 6,241 |
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
(async function() {
TestRunner.addResult(`Tests "step out" functionality in debugger.\n`);
await TestRunner.loadLegacyModule('sources'); await TestRun... | scheib/chromium | third_party/blink/web_tests/http/tests/devtools/sources/debugger-step/debugger-step-out.js | JavaScript | bsd-3-clause | 1,145 |
/**
*
* Funf: Open Sensing Framework
* Copyright (C) 2010-2011 Nadav Aharony, Wei Pan, Alex Pentland.
* Acknowledgments: Alan Gardner
* Contact: nadav@media.mit.edu
*
* This file is part of Funf.
*
* Funf is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General... | chauhansaurabhb/IoTSuite-TemplateV3 | IotSuite-TemplateV3-master/AndroidDeviceDrivers/src/edu/mit/media/funf/util/NameGenerator.java | Java | gpl-2.0 | 3,825 |
/*
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, ... | wenlxie/kubernetes | test/e2e/scheduling/taints.go | GO | apache-2.0 | 17,083 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.