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 freenet.store;
import java.io.IOException;
import freenet.crypt.DSAPublicKey;
import freenet.keys.CHKBlock;
import freenet.keys.CHKVerifyException;
import freenet.keys.KeyVerifyException;
import freenet.keys.NodeCHK;
import freenet.support.Logger;
public class CHKStore extends StoreCallback<CHKBlock> {
@Ov... | uprasad/fred | src/freenet/store/CHKStore.java | Java | gpl-2.0 | 2,199 |
var chartSizes = require("../../config/chart-sizes");
/**
* see [ChartConfig#calculateDimensions](#chartconfig/calculatedimensions)
* @see ChartConfig#calculateDimensions
* @instance
* @memberof chart_grid_config
*/
function chartGridDimensions(width, opts) {
var height;
var model = opts.model;
var metadata = ... | taylorhxu/Chartbuilder | src/js/charts/cb-chart-grid/chart-grid-dimensions.js | JavaScript | mit | 1,777 |
/**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright (c) 2005, 2006, 2008 Sakai Foundation
*
* Licensed under the Educational Community License, Version 2.0 (the "Licens... | marktriggs/nyu-sakai-10.4 | kernel/api/src/main/java/org/sakaiproject/event/cover/NotificationService.java | Java | apache-2.0 | 6,787 |
/*
* 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 ... | jinglining/flink | flink-tests/src/test/java/org/apache/flink/test/operators/MapPartitionITCase.java | Java | apache-2.0 | 3,541 |
/*
* Copyright 2006-2014 The Kuali Foundation
*
* Licensed under the Educational Community License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/ecl2.php
*
* Unless required by ap... | kuali/kc-rice | rice-framework/krad-it/src/test/java/org/kuali/rice/krad/test/document/bo/AccountNonUpdatableFK.java | Java | apache-2.0 | 2,465 |
/**
* 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... | skhalifa/QDrill | drill1.2/common/src/test/java/org/apache/drill/common/exceptions/TestUserException.java | Java | apache-2.0 | 4,906 |
/*
* 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-tests/spring-boot-smoke-tests/spring-boot-smoke-test-secure/src/test/java/smoketest/secure/SampleSecureApplicationTests.java | Java | apache-2.0 | 2,578 |
// 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 "components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.h"
namespace {
// Test values to replace the values specifie... | Chilledheart/chromium | components/data_reduction_proxy/core/common/data_reduction_proxy_params_test_utils.cc | C++ | bsd-3-clause | 3,964 |
/* RipeMD160Spi.java --
Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc.
This file is a 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 of t... | shaotuanchen/sunflower_exp | tools/source/gcc-4.2.4/libjava/classpath/gnu/java/security/jce/hash/RipeMD160Spi.java | Java | bsd-3-clause | 2,049 |
/*
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, ... | InVisionApp/kit-overwatch | vendor/k8s.io/kubernetes/pkg/client/unversioned/import_known_versions.go | GO | mit | 1,483 |
/*
* 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 ... | hvanhovell/spark | common/network-common/src/main/java/org/apache/spark/network/buffer/NettyManagedBuffer.java | Java | apache-2.0 | 2,079 |
/*
Copyright 2019 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/cmd/kubeadm/app/util/kustomize/kustomize.go | GO | apache-2.0 | 7,818 |
/**
* 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... | tseen/Federated-HDFS | tseenliu/FedHDFS-hadoop-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/server/api/protocolrecords/impl/pb/RefreshNodesRequestPBImpl.java | Java | apache-2.0 | 2,265 |
package layer
import (
"archive/tar"
"bytes"
"fmt"
"io"
"io/ioutil"
)
// DigestSHA256EmptyTar is the canonical sha256 digest of empty tar file -
// (1024 NULL bytes)
const DigestSHA256EmptyTar = DiffID("sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef")
type emptyLayer struct{}
// EmptyL... | crobby/oshinko-cli | vendor/github.com/openshift/origin/cmd/cluster-capacity/go/src/github.com/kubernetes-incubator/cluster-capacity/vendor/github.com/docker/docker/layer/empty.go | GO | apache-2.0 | 1,412 |
/*
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... | michaeltrobinson/cadvisor-integration | vendor/k8s.io/kubernetes/pkg/util/hash.go | GO | apache-2.0 | 1,128 |
/*
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, ... | abutcher/origin | vendor/k8s.io/kubernetes/pkg/client/listers/policy/internalversion/poddisruptionbudget_expansion.go | GO | apache-2.0 | 2,455 |
package com.equalize.xpi.af.modules.excel;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.Cell;
import or... | engswee/equalize-xpi-modules | com.equalize.xpi.af.modules.ejb/ejbModule/com/equalize/xpi/af/modules/excel/XML2ExcelTransformer.java | Java | mit | 4,607 |
package cookies
import (
"parkme-api/orm/service"
"log"
"gopkg.in/mgo.v2"
"gopkg.in/mgo.v2/bson"
)
// DatabaseCookieStore manages cookies using a database
type DatabaseCookieStore struct {
location string
}
// ReadCookie fetches a cookie from the cookie store
func (store *DatabaseCookieStore) ReadCookie(key str... | SyntaxError2015/parkme-api | auth/cookies/dbstore.go | GO | mit | 2,590 |
package org.testrails.satellite.sensors.analyzer.action.common;
import java.util.Iterator;
import java.util.List;
import org.testrails.satellite.sensors.analyzer.action.AbstractAnalyzerAction;
import org.testrails.satellite.sensors.eventset.EventSet;
import org.testrails.satellite.sensors.eventset.EventSetContext;
im... | analog-nico/testrails | Satellite/src/org/testrails/satellite/sensors/analyzer/action/common/CorrelateEventSetAction.java | Java | mit | 2,709 |
package de.tum.in.www1.jReto.connectivity.packet;
import java.nio.ByteBuffer;
import java.util.UUID;
import de.tum.in.www1.jReto.packet.Constants;
import de.tum.in.www1.jReto.packet.DataChecker;
import de.tum.in.www1.jReto.packet.DataReader;
import de.tum.in.www1.jReto.packet.DataWriter;
import de.tum.in.www1.jReto.p... | ls1intum/jReto | Source/src/de/tum/in/www1/jReto/connectivity/packet/CancelledTransferPacket.java | Java | mit | 1,322 |
#include "Exporter/Parsers/ParseAnimations/RigidAnimationData.h"
#include "Exporter/Utilities/Utilities.h"
#include <algorithm>
void setFieldInPropertyVector(RigidAnimationPropertyField_t field, glm::vec3& propertyVector, float fieldValue) {
switch (field) {
case PROPERTY_FIELD_X:
propertyVector.x = fieldValue;
... | VajraFramework/PipelineTools | FbxExporter/Source/Exporter/Parsers/ParseAnimations/RigidAnimationData.cpp | C++ | mit | 2,863 |
//
// Copyright (c) eProtectioneers 2016/17. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
package org.eprotectioneers.panacea.contactmanagement.models;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream... | eProtectioneers/ProjectPanacea | src/org/eprotectioneers/panacea/contactmanagement/models/ChooseFile.java | Java | mit | 2,774 |
package eu.bcvsolutions.idm.acc.event;
import java.io.Serializable;
import java.util.Map;
import eu.bcvsolutions.idm.acc.dto.AccAccountDto;
import eu.bcvsolutions.idm.core.api.event.CoreEvent;
import eu.bcvsolutions.idm.core.api.event.EventType;
/**
* Events for provisioning
*
* @author Svanda
*
*/
public clas... | bcvsolutions/CzechIdMng | Realization/backend/acc/src/main/java/eu/bcvsolutions/idm/acc/event/ProvisioningEvent.java | Java | mit | 1,022 |
/* eflc_vector.hpp
MIT License
Copyright (c) 2017 Yoshimasa Takabatake
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, m... | tkbtkysms/solca | src/eflc_vector.hpp | C++ | mit | 2,734 |
// TopDownShooter project (c) 2016 V.Khmelevskiy
#include "TopDownShooter.h"
#include "Player/TDPlayerCharacter.h"
#include "Player/TDItem.h"
#include "TDPickUp.h"
#include "UnrealNetwork.h"
// Sets default values
ATDPickUp::ATDPickUp(const FObjectInitializer& ObjectInitializer)
:Super(ObjectInitializer)
{
// Se... | Superbelko/TopdownShooterTemplate | Source/TopDownShooter/Gameplay/TDPickUp.cpp | C++ | mit | 2,688 |
package ch.vorburger.minecraft.aliases;
import java.util.Collections;
import java.util.List;
import org.spongepowered.api.command.CommandException;
import org.spongepowered.api.command.CommandManager;
import org.spongepowered.api.command.CommandResult;
import org.spongepowered.api.command.CommandSource;
import org.sp... | vorburger/SwissKnightMinecraft | SpongePowered/MyFirstSpongePlugIn/src/main/java/ch/vorburger/minecraft/aliases/Script.java | Java | mit | 1,764 |
package com.domhauton.membrane.network.pex;
import org.joda.time.DateTime;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/**
* Created by dominic on 29/03/17.
*/
class ... | domhauton/membraned | src/test/java/com/domhauton/membrane/network/pex/PexLedgerTest.java | Java | mit | 6,114 |
package io.kemper.service;
import com.amazonaws.regions.Region;
import com.amazonaws.regions.Regions;
import com.amazonaws.services.sns.AmazonSNSClient;
import com.amazonaws.services.sns.model.PublishRequest;
import com.amazonaws.services.sns.model.PublishResult;
public class SNSService {
private static final St... | KemperIO/slack-riddle | RiddleBot/src/main/java/io/kemper/service/SNSService.java | Java | mit | 1,087 |
#!/usr/bin/env python
import socket
import subprocess
import sys
from datetime import datetime
# Clear the screen
subprocess.call('clear', shell=True)
# Ask for input
remoteServer = raw_input("Enter a remote host to scan: ")
remoteServerIP = socket.gethostbyname(remoteServer)
# Print a nice banner with informati... | cristianounix/python-scripts | port-scan.py | Python | mit | 1,335 |
package eu.bcvsolutions.idm.acc.event.processor;
import java.util.List;
import java.util.Set;
import java.util.UUID;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Description;
import org.springframework.stereotype.Component;
import com.google.common.coll... | bcvsolutions/CzechIdMng | Realization/backend/acc/src/main/java/eu/bcvsolutions/idm/acc/event/processor/SystemMappingTreeAutoAttributesProcessor.java | Java | mit | 3,848 |
package edu.gvsu.cis.campbjos.heterogeneousrecyclerview.adapters;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.TextView;
import edu.gvsu.cis.campbjos.heterogeneousrecyclerview.R;
import butterknife.ButterKnife;
import butterknife.InjectView;
/**
* @author josiah
*... | josiahcampbell/HeterogeneousRecyclerView | app/src/main/java/edu/gvsu/cis/campbjos/heterogeneousrecyclerview/adapters/SimpleTextViewHolder.java | Java | mit | 738 |
/*
* The MIT License (MIT)
* Copyright (c) 2015 SK PLANET. 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 limitation the r... | skplanet/RemoteTestService | TA/skrc_android/src/com/rocode/rotate/ScreenRotator.java | Java | mit | 5,447 |
/*
The iRemember source code (henceforth referred to as "iRemember") is
copyrighted by Mike Walker, Adam Porter, Doug Schmidt, and Jules White
at Vanderbilt University and the University of Maryland, Copyright (c)
2014, all rights reserved. Since iRemember is open-source, freely
available software, you are free t... | alexcpsec/coursera-android-hw | Project/iRemember/SourceFiles/Skeleton/iRemember/src/edu/vuum/mocca/ui/story/StoryListActivity.java | Java | mit | 4,339 |
/**
* Copyright MaDgIK Group 2010 - 2015.
*/
package madgik.exareme.worker.art.executionEngine.dynamicExecutionEngine;
import madgik.exareme.common.art.PlanSessionID;
import madgik.exareme.worker.art.executionEngine.session.PlanSessionReportID;
import org.apache.log4j.Logger;
import java.util.*;
/**
* @author her... | madgik/exareme | Exareme-Docker/src/exareme/exareme-worker/src/main/java/madgik/exareme/worker/art/executionEngine/dynamicExecutionEngine/EventSchedulerManipulator.java | Java | mit | 2,450 |
// Copyright (c) 2014-2015 DiMS dev-team
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <sstream>
#include <string>
#include "rpcserver.h"
#include "base58.h"
#include "wallet.h"
#include "common/events.h"
#inclu... | salivan-ratcoin-dev-team/dims | src/tracker/registerRpcHooks.cpp | C++ | mit | 4,213 |
package de.isse.JaCoP;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import org.jacop.constraints.Constraint;
import org.jacop.constraints.PrimitiveConstraint;
import org.jacop.core.BooleanVar;
import org.jacop.core.IntVar;
import org.jacop.core.Store;
import ua.cr2csop.graph.DirectedC... | nevik/constraint-relationships-csemiring | src/de/isse/JaCoP/JacopSoftConstraintProblem.java | Java | mit | 3,254 |
/**
*
*/
package apu.scratch.tools.gui;
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JList;
import javax.swing.JPanel;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
im... | MegaApuTurkUltra/ScratchTools | src/apu/scratch/tools/gui/ToolsGui.java | Java | mit | 3,210 |
/*
* Copyright (c) 2013-2014 Massachusetts Institute of Technology
*
* 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 us... | jbosboom/bytecodelib | src/edu/mit/streamjit/util/bytecode/insts/SwitchInst.java | Java | mit | 3,971 |
#include "../../ConsoleHelpersKit/ConsoleHelpersKit.h"
#include "NetworkTrainer.h"
#include "../Log/LogProvider.h"
NetworkTrainer::NetworkTrainer(
ConsoleHelpersKit::StorageProcessorHelper& spHelper,
ConsoleHelpersKit::TrainersManagerHelper& tmHelper,
ConsoleHelpersKit::ConfigHelper& cfgHelper)
: piNet... | egorpushkin/neurolab | sdk/source/Src/Projects/IndependentNNPTools/TrainTool/Trainer/NetworkTrainer.cpp | C++ | mit | 3,717 |
package org.knowm.xchange.dsx;
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.Assert.assertEquals;
import java.io.IOException;
import java.io.InputStream;
import java.math.BigDecimal;
import java.util.List;
import org.junit.Test;
import org.knowm.xchange.currency.CurrencyPair;
impo... | evdubs/XChange | xchange-dsx/src/test/java/org/knowm/xchange/dsx/DSXAdapterTest.java | Java | mit | 5,689 |
/*
convenient promise-ified versions of S3 functions
use S3 library
https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html
*/
import { S3ListResponse, S3ObjectMetadata, S3CannedACL, UnixTimestamp, S3StorageClass } from './model';
import { promisify } from '../../util/promise';
//TODO: configuration? share th... | jffry/s3nder | src/aws/s3/index.ts | TypeScript | mit | 4,077 |
package edu.cmu.ml.rtw.generic.data.annotation.nlp;
import java.lang.reflect.Constructor;
import org.json.JSONObject;
import edu.cmu.ml.rtw.generic.data.annotation.AnnotationType;
import edu.cmu.ml.rtw.generic.data.annotation.Document;
import edu.cmu.ml.rtw.generic.data.annotation.nlp.time.TimeExpression;
i... | cmunell/micro-util | src/main/java/edu/cmu/ml/rtw/generic/data/annotation/nlp/AnnotationTypeNLP.java | Java | mit | 8,963 |
package services
import (
"github.com/Zhanat87/go/app"
"github.com/Zhanat87/go/models"
)
// newsReplicationDAO specifies the interface of the newsReplication DAO needed by NewsReplicationService.
type newsReplicationDAO interface {
// Get returns the newsReplication with the specified the newsReplication ID.
Get(... | Zhanat87/go | services/news_replication.go | GO | mit | 2,998 |
// Copyright (c) 2022 Uber Technologies, Inc.
//
// 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, modify, merge... | yarpc/yarpc-go | yarpctest/fake_peer.go | GO | mit | 3,454 |
package com.zimbra.qa.selenium.projects.ajax.tests.tasks.mountpoints;
import java.util.HashMap;
import org.testng.annotations.Test;
import com.zimbra.qa.selenium.framework.items.FolderItem;
import com.zimbra.qa.selenium.framework.items.FolderItem.SystemFolder;
import com.zimbra.qa.selenium.framework.ui.Action;
impor... | nico01f/z-pec | ZimbraSelenium/src/java/com/zimbra/qa/selenium/projects/ajax/tests/tasks/mountpoints/EditShare.java | Java | mit | 5,025 |
/**
* Copyright 2016 dengjian's code
*
* Create on 2016-8-4 19:22:18
*
*/
package com.dengjian.soccermap.ui.fragment;
import android.support.v4.app.FragmentActivity;
import com.dengjian.soccermap.reactnative.RNDiscoveryFragment;
/**
* 页面管理
*
* @author dengjian01
*
*/
public class UtilFragmentManager... | DreamCloudWalker/SoccerMap | SoccerMap/app/src/main/java/com/dengjian/soccermap/ui/fragment/UtilFragmentManager.java | Java | mit | 4,226 |
package main
import (
"fmt"
"net/http"
"net/http/pprof"
"github.com/djavorszky/ddn/common/srv"
"github.com/gorilla/mux"
)
// Router creates a new router that registers all routes.
func Router() *mux.Router {
router := mux.NewRouter().StrictSlash(true)
for _, route := range routes {
var handler http.Handler... | djavorszky/ddn | agent/router.go | GO | mit | 1,422 |
import {Component, Inject} from '@angular/core';
import {KnalledgeMapViewService} from '../../app/components/knalledgeMap/knalledgeMapViewService';
import {KnalledgeMapPolicyService} from '../../app/components/knalledgeMap/knalledgeMapPolicyService';
import {GlobalEmitterServicesArray} from '../../app/components/colla... | Cha-OS/KnAllEdge | src/frontend/dev_puzzles/presentation/presentationActionsForm.ts | TypeScript | mit | 3,189 |
/*
* Lantern
*
* Copyright (c) LanternPowered <https://www.lanternpowered.org>
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* This work is licensed under the terms of the MIT License (MIT). For
* a copy, see 'LICENSE.txt' or <https://opensource.org/licenses/MIT>.
... | LanternPowered/LanternServer | src/main/java/org/lanternpowered/server/world/extent/MutableBlockViewTransform.java | Java | mit | 2,150 |
/*
* Copyright 2012-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 "licen... | loremipsumdolor/CastFast | src/com/amazonaws/services/kms/model/transform/CancelKeyDeletionRequestMarshaller.java | Java | mit | 2,828 |
package com.orctom.jenkins.plugin.globalpostscript;
import com.orctom.jenkins.plugin.globalpostscript.model.ScriptContent;
import hudson.Util;
import java.io.File;
import java.io.IOException;
import java.util.Map;
/**
* load script content with cache
* Created by hao on 3/9/16.
*/
public class ScriptContentLoader... | jenkinsci/global-post-script-plugin | src/main/java/com/orctom/jenkins/plugin/globalpostscript/ScriptContentLoader.java | Java | mit | 934 |
/*
* Copyright © 2016 David Sargent
* 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, modify, merge, publish, dis... | MHS-FIRSTrobotics/TeamClutch-FTC2016 | FtcXtensible/src/main/java/org/ftccommunity/ftcxtensible/hardware/ForwardingDcMotorController.java | Java | mit | 2,943 |
package iso20022
// Party and account details.
type PartyIdentificationAndAccount117 struct {
// Identification of the party.
Identification *PartyIdentification71Choice `xml:"Id"`
// Legal entity identification as an alternate identification for a party.
LEI *LEIIdentifier `xml:"LEI,omitempty"`
// Account to ... | fgrid/iso20022 | PartyIdentificationAndAccount117.go | GO | mit | 1,162 |
#include "Filter.hpp"
#include <cstring>
#include <iostream>
Filter::Filter()
{
}
Filter::~Filter()
{
}
MediaioStatus Filter::configure(const Metadata* parameters)
{
return kMediaioStatusOK;
}
MediaioStatus Filter::process(const ImageFrame* inputFrame, ImageFrame* outputFrame)
{
create_components(outputFrame, i... | media-io/plugins | src/plugin/interlace/Filter.cpp | C++ | mit | 1,444 |
package eu.bcvsolutions.idm.acc.service.impl;
import static org.junit.Assert.assertTrue;
import java.util.UUID;
import org.junit.Assert;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.transaction.annotation... | bcvsolutions/CzechIdMng | Realization/backend/acc/src/test/java/eu/bcvsolutions/idm/acc/service/impl/DefaultSysProvisioningBatchServiceTest.java | Java | mit | 4,384 |
package net.sourceforge.segment.srx.io;
import static net.sourceforge.segment.util.Util.getContext;
import static net.sourceforge.segment.util.Util.getReader;
import static net.sourceforge.segment.util.Util.getResourceStream;
import static net.sourceforge.segment.util.Util.getSchema;
import java.io.Reader;
import jav... | icenlp/segment | src/main/java/net/sourceforge/segment/srx/io/Srx2Parser.java | Java | mit | 3,609 |
/******************************************************************************
* Copyright (c) 2000-2016 Ericsson Telecom AB
* 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 avail... | eroslevi/titan.EclipsePlug-ins | org.eclipse.titan.executor/src/org/eclipse/titan/executor/tabpages/maincontroller/SingleMainControllerTab.java | Java | epl-1.0 | 2,993 |
/*
* Copyright (c) 2015 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 | data/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/schema/InstanceIdToNodes.java | Java | epl-1.0 | 9,273 |
package ioc.liturgical.ws.managers.ldp;
import java.util.ArrayList;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.gson.JsonObject;
import org.ocmc.ioc.liturgical.schemas.constants.HTTP_RESPONSE_CODES;
import org.ocmc.ioc.liturgical.schemas.models.db.internal.LTKVJ... | OCMC-Translation-Projects/ioc-liturgical-ws | src/main/java/ioc/liturgical/ws/managers/ldp/LdpManager.java | Java | epl-1.0 | 4,699 |
// The MIT License (MIT)
//
// Copyright (c) 2015, 2019 Arian Fornaris
//
// 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... | boniatillo-com/PhaserEditor | source/v2/phasereditor/phasereditor.ui/src/phasereditor/ui/IBrowser.java | Java | epl-1.0 | 4,176 |
/*
* 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 ... | DavidGutknecht/elexis-3-base | bundles/org.apache.solr/src/org/apache/solr/client/solrj/io/eval/EBESubtractEvaluator.java | Java | epl-1.0 | 2,987 |
/*******************************************************************************
* Copyright (c) 2008-2011 Chair for Applied Software Engineering,
* Technische Universitaet Muenchen.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public Lic... | edgarmueller/emfstore-rest | tests/org.eclipse.emf.emfstore.server.test/src/org/eclipse/emf/emfstore/server/test/VersionSpecTests.java | Java | epl-1.0 | 10,483 |
/*******************************************************************************
* Copyright (c) 2010, 2013 Tasktop Technologies
*
* 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 i... | Tasktop/code2cloud.server | com.tasktop.c2c.server/com.tasktop.c2c.server.profile.server/src/main/java/com/tasktop/c2c/server/internal/profile/service/template/ProjectTemplateServiceImpl.java | Java | epl-1.0 | 10,095 |
/*
* Copyright Siemens AG, 2013-2015. Part of the SW360 Portal Project.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License Version 2.0 as published by the
* Free Software Foundation with classpath exception.
*
* This program is distribu... | heydenreich/sw360portal | backend/src/src-components/src/test/java/com/siemens/sw360/components/db/ComponentSearchHandlerTest.java | Java | gpl-2.0 | 5,977 |
/*
Copyright (C) 2008-2011 Vana Development Team
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; version 2
of the License.d
This program is distributed in the hope that it will be useful,
but WITHOU... | MinoaveDev/EccoDev | src/Common/PingPacket.cpp | C++ | gpl-2.0 | 1,137 |
/**
* OWASP Benchmark Project v1.2beta
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The OWASP Benchmark is free software: you can redistribu... | andresriancho/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest00776.java | Java | gpl-2.0 | 2,894 |
package net.studymongolian.chimee;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Typeface;
import android.os.Handler;
import android.text.Layout;
import android.text.TextPaint;
import android.util.AttributeSet;
impo... | almas/Chimee | app/src/main/java/net/studymongolian/chimee/MongolFontTextView.java | Java | gpl-2.0 | 1,413 |
package opl.processors.writers;
import java.io.File;
import spoon.processing.AbstractManualProcessor;
import spoon.reflect.declaration.CtType;
/**
* Rename a CtType
*
* @author Célia Cacciatore, Jonathan Geoffroy
*
*/
public class ElementRenamer extends AbstractManualProcessor {
private CtType<?> element;
p... | JonathanGeoffroy/RoundTripModeler | src/main/java/opl/processors/writers/ElementRenamer.java | Java | gpl-2.0 | 739 |
/**
* OWASP Benchmark Project v1.2
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://owasp.org/www-project-benchmark/">https://owasp.org/www-project-benchmark/</a>.
*
* The OWASP Benchmark is free software: you can redistribute it ... | h3xstream/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest01931.java | Java | gpl-2.0 | 4,787 |
package nl.larsdenbakker.serialization;
import com.google.common.base.Preconditions;
import nl.larsdenbakker.conversion.ConversionException;
/**
* Object that handles serialization of an object type. It is best
* practice for Objects to implement DataSerializable instead. This
* class is used for serialization of ... | LarsDenBakker/LBCoreModules | src/main/java/nl/larsdenbakker/serialization/DataSerializer.java | Java | gpl-2.0 | 940 |
/*
Copyright (c) 2007 Gordon Gremme <gremme@zbh.uni-hamburg.de>
Copyright (c) 2007 Center for Bioinformatics, University of Hamburg
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission... | bioh4x/NeatFreq | lib/genometools-1.4.1/src/extended/transcript_used_exons.h | C | gpl-2.0 | 1,545 |
package neoFlaxPicker.companies;
import neoFlaxPicker.Constants;
import neoFlaxPicker.NeoFlaxPicker;
import neoFlaxPicker.Stats;
import org.hexbot.api.methods.Game;
import org.hexbot.api.methods.interactable.Players;
import org.hexbot.api.methods.node.Inventory;
import org.hexbot.core.concurrent.script.Company;
impor... | Neoxyte/Hexbot | neoFlaxPicker/companies/Transportation.java | Java | gpl-2.0 | 1,341 |
package net.minecraft.block;
import net.minecraft.block.material.Material;
import net.minecraft.util.BlockPos;
import net.minecraft.util.EnumFacing;
import net.minecraft.world.IBlockAccess;
public class BlockLeavesBase extends Block
{
protected boolean fancyGraphics;
protected BlockLeavesBase(Material materi... | SkidJava/BaseClient | new_1.8.8/net/minecraft/block/BlockLeavesBase.java | Java | gpl-2.0 | 856 |
#ifndef __SND_ADIE_SVC_H_
#define __SND_ADIE_SVC_H_
#define ADIE_SVC_PROG 0x30000002
#define ADIE_SVC_VERS 0x00020003
#define ADIE_SVC_CLIENT_STATUS_FUNC_PTR_TYPE_PROC 0xFFFFFF01
#define SND_ADIE_SVC_CLIENT_REGISTER_PROC 34
#define SND_ADIE_SVC_CONFIG_ADIE_BLOCK_PROC 35
#define SND_ADIE_SVC_CLIENT_DEREGISTER_PROC... | leemgs/OptimusOneKernel-KandroidCommunity | arch/arm/mach-msm/include/mach/qdsp5/snd_adie.h | C | gpl-2.0 | 1,518 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package twitz.ui.renderers;
import java.awt.Component;
import javax.swing.JList;
import org.jdesktop.application.ResourceMap;
import org.pushingpixels.substance.api.renderers.SubstanceDefaultListCellRenderer;
import tw... | linuxras/jtwitz | src/twitz/ui/renderers/TrendsListRenderer.java | Java | gpl-2.0 | 1,425 |
/*
CommandDeleteTask.cpp
This file is part of Charm, a task-based time tracking application.
Copyright (C) 2007-2015 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com
Author: Mirko Boehm <mirko.boehm@kdab.com>
Author: Frank Osterfeld <frank.osterfeld@kdab.com>
This program is free softwa... | sengels/Charm | Charm/Commands/CommandDeleteTask.cpp | C++ | gpl-2.0 | 1,696 |
/*
Copyright (C) 2006-2008 Christian Lundgren
Copyright (C) 2008 Dave Moore
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 ver... | NguyenTrinh/linkage | src/TorrentList.hh | C++ | gpl-2.0 | 4,330 |
/**
* OWASP Benchmark Project v1.1
*
* This file is part of the Open Web Application Security Project (OWASP)
* Benchmark Project. For details, please see
* <a href="https://www.owasp.org/index.php/Benchmark">https://www.owasp.org/index.php/Benchmark</a>.
*
* The Benchmark is free software: you can redistribute it and/... | iammyr/Benchmark | src/main/java/org/owasp/benchmark/testcode/BenchmarkTest09778.java | Java | gpl-2.0 | 2,414 |
/**
*
* Copyright (c) 2005-2012. Centre for Research on Inner City Health, St. Michael's Hospital, Toronto. All Rights Reserved.
* This software is published under the GPL GNU General Public License.
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Publ... | hexbinary/landing | src/main/java/org/caisi/tickler/web/CustomFilterAction.java | Java | gpl-2.0 | 7,955 |
/* Copyright (C) 2007 Free Software Foundation, Inc.
This file is part of GCC.
GCC 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 option) any later
version.
In addition to the pe... | epicsdeb/rtems-gcc-newlib | libgcc/config/libbid/_le_td.c | C | gpl-2.0 | 1,546 |
/*
* FinTP - Financial Transactions Processing Application
* Copyright (C) 2013 Business Information Systems (Allevo) S.R.L.
*
* 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... | FinTP/fintp_api | src/test/java/ro/allevo/fintpws/test/TestHistoriesResource.java | Java | gpl-3.0 | 10,560 |
//Copyright (c) 2011 Municipalidad de Rosario and Coop. de Trabajo Tecso Ltda.
//This file is part of SIAT. SIAT is licensed under the terms
//of the GNU General Public License, version 3.
//See terms in COPYING file or <http://www.gnu.org/licenses/gpl.txt>
package ar.gov.rosario.siat.pad.iface.model;
import ar.gov.r... | avdata99/SIAT | siat-1.0-SOURCE/src/iface/src/ar/gov/rosario/siat/pad/iface/model/CueExcSelDeuVO.java | Java | gpl-3.0 | 1,524 |
package com.snail.webgame.game.cache;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.snail.webgame.game.dao.ChallengeBattleDAO;
import com.snail.webgame.game.info.TeamChallengeRecordSub;
/**
* 组队副本排名记录
*
* @author xiasd
*
*/
public class TeamChallengeRecord {
public final st... | bozhbo12/demo-spring-server | spring-game/src/main/java/com/spring/game/game/cache/TeamChallengeRecord.java | Java | gpl-3.0 | 2,526 |
package gestion.de.classe;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Random;
import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemSelectedListener;
import androi... | corseb/GestionDeClasse | src/gestion/de/classe/MainActivity.java | Java | gpl-3.0 | 4,529 |
// NgRx
import { createSelector, createSelectorFactory } from '@ngrx/store';
// store
import { pairwiseBlocksFeatureKey }
from '@gcv/gene/store/reducers/pairwise-blocks.reducer';
import * as fromModule from '@gcv/gene/store/reducers';
// app
import { memoizeArray } from '@gcv/core/utils';
export const getPairwiseBl... | legumeinfo/lis_context_viewer | client/src/app/gene/store/selectors/pairwise-blocks/pairwise-blocks-state.selector.ts | TypeScript | gpl-3.0 | 783 |
package cz.geokuk.plugins.cesty.akce.cesta;
import cz.geokuk.core.coordinates.MouRect;
import cz.geokuk.plugins.cesty.data.Bod;
import cz.geokuk.plugins.cesty.data.Cesta;
public class ZoomovatCestuAction extends CestaAction0 {
private static final long serialVersionUID = 1L;
public ZoomovatCestuAction(final Cesta... | marvertin/geokuk | src/main/java/cz/geokuk/plugins/cesty/akce/cesta/ZoomovatCestuAction.java | Java | gpl-3.0 | 1,300 |
/**
* Aptana Studio
* Copyright (c) 2005-2011 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the GNU Public License (GPL) v3 (with exceptions).
* Please see the license.html included with this distribution for details.
* Any modifications to this file must keep this entire header intact.
... | apicloudcom/APICloud-Studio | com.aptana.core/src/com/aptana/core/resources/TaskTag.java | Java | gpl-3.0 | 5,987 |
/*
* Syncany, www.syncany.org
* Copyright (C) 2011-2016 Philipp C. Heckel <philipp.heckel@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
... | syncany/syncany-plugin-gui | core/syncany-lib/src/main/java/org/syncany/operations/ls_remote/LsRemoteOperation.java | Java | gpl-3.0 | 4,702 |
/*
This file is part of solidity.
solidity 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.
solidity is distributed in the hope that i... | winsvega/solidity | libyul/optimiser/BlockHasher.cpp | C++ | gpl-3.0 | 5,402 |
/***************************************************************************
Copyright (C) 2008 by the Tonatiuh Software Development Team.
This file is part of Tonatiuh.
Tonatiuh 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 Fr... | iat-cener/tonatiuh | TonatiuhProject/src/source/raytracing/trt.h | C | gpl-3.0 | 2,771 |
from django.shortcuts import render,get_object_or_404
from django.http import HttpResponse
from django.template import Context, loader
from django.views.generic import CreateView,UpdateView,DeleteView
from .models import *
from django.contrib.auth.decorators import login_required
from django.core.urlresolvers impor... | prlakhani/LabNB | labinv/views.py | Python | gpl-3.0 | 3,597 |
package com.mozartframework.web.webadmin;
import java.io.Serializable;
import org.springframework.beans.factory.DisposableBean;
/**
* session context back bean
*/
public class SessionContext implements DisposableBean, Serializable {
private static final long serialVersionUID = -8318351682051951741L;
transien... | mozartframework/cms | src/com/mozartframework/web/webadmin/SessionContext.java | Java | gpl-3.0 | 1,034 |
package is.idega.idegaweb.egov.xforms.data;
import javax.ejb.CreateException;
import javax.ejb.FinderException;
import com.idega.data.IDOFactory;
/**
* @author <a href="mailto:arunas@idega.com">Arūnas Vasmanas</a>
* @version $Revision: 1.1 $
*
* Last modified: $Date: 2008/05/06 17:35:47 $ by $Author: anton $
*/
... | idega/is.idega.idegaweb.egov.xformscase | src/java/is/idega/idegaweb/egov/xforms/data/GeneralXformCaseHomeImpl.java | Java | gpl-3.0 | 834 |
//Copyright (c) 2011 Municipalidad de Rosario and Coop. de Trabajo Tecso Ltda.
//This file is part of SIAT. SIAT is licensed under the terms
//of the GNU General Public License, version 3.
//See terms in COPYING file or <http://www.gnu.org/licenses/gpl.txt>
package ar.gov.rosario.siat.cyq.buss.bean;
import java.util.... | avdata99/SIAT | siat-1.0-SOURCE/src/buss/src/ar/gov/rosario/siat/cyq/buss/bean/EstadoProced.java | Java | gpl-3.0 | 4,896 |
package org.andfRa.mythr.responses;
import org.andfRa.mythr.config.AttributeConfiguration;
import org.andfRa.mythr.config.LevelingConfiguration;
import org.andfRa.mythr.dependencies.EffectDependancy;
import org.andfRa.mythr.player.DerivedStats;
import org.andfRa.mythr.player.MythrPlayer;
import org.bukkit.Location;
im... | andfRa/Mythr | src/org/andfRa/mythr/responses/ModAttributeEffect.java | Java | gpl-3.0 | 2,282 |
/**
A proxy object that implements all methods of the EditorBean to provide web service calls to the prowim EditorRemote interface.
@author Saad Wardi.
This file is part of ProWim.
ProWim is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published b... | prowim/prowim | prowim-model-editor/modeleditor/js/prowim/EditorProxy.js | JavaScript | gpl-3.0 | 7,228 |
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
#include "PacketMySQL.h"
MySQLRequest::MySQLRequest(char commandType)
: CommandType(commandType)
{
}
MySQLResponse::MySQLResponse(responsetype_t responseTy... | johnlepikhin/TrafficProcessor | src/levels/PacketMySQL.cpp | C++ | gpl-3.0 | 773 |
/*
* Copyright (C) 2011 Jan Pokorsky
*
* 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 dis... | proarc/proarc | proarc-webapp/src/main/java/cz/cas/lib/proarc/webapp/client/ds/UserDataSource.java | Java | gpl-3.0 | 7,644 |
/*
* JasperReports - Free Java Reporting Library.
* Copyright (C) 2001 - 2014 TIBCO Software Inc. All rights reserved.
* http://www.jaspersoft.com
*
* Unless you have purchased a commercial license agreement from Jaspersoft,
* the following license terms apply:
*
* This program is part of JasperReports.
*
* J... | aleatorio12/ProVentasConnector | jasperreports-6.2.1-project/jasperreports-6.2.1/src/net/sf/jasperreports/data/http/HttpDataService.java | Java | gpl-3.0 | 10,841 |
package org.activityinfo.ui.client.widget;
/*
* #%L
* ActivityInfo Server
* %%
* Copyright (C) 2009 - 2013 UNICEF
* %%
* 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... | LeoTremblay/activityinfo | server/src/main/java/org/activityinfo/ui/client/widget/AlertPanel.java | Java | gpl-3.0 | 3,145 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.