code
stringlengths
572
46.5k
repo_name
stringlengths
7
62
path
stringlengths
6
247
language
stringclasses
7 values
license
stringclasses
15 values
size
int64
572
46.5k
// Copyright (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 "android_webview/native/aw_resource.h" #include "base/android/jni_string.h" #include "base/android/scoped_java_ref.h" #include "jni/AwResour...
7kbird/chrome
android_webview/native/aw_resource.cc
C++
bsd-3-clause
1,554
// Copyright 2015 Canonical Ltd. // Licensed under the AGPLv3, see LICENCE file for details. package discoverspaces import ( "github.com/juju/errors" "github.com/juju/juju/api/base" "github.com/juju/juju/apiserver/params" "github.com/juju/juju/environs/config" ) const discoverspacesFacade = "DiscoverSpaces" //...
perrito666/juju
api/discoverspaces/discoverspaces.go
GO
agpl-3.0
2,065
// 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 "mojo/examples/sample_app/native_viewport_client_impl.h" #include <stdio.h> #include "base/logging.h" #include "base/message_loop/message_loop....
Gateworks/platform-external-chromium_org
mojo/examples/sample_app/native_viewport_client_impl.cc
C++
bsd-3-clause
1,240
// 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 "components/browser_context_keyed_service/refcounted_browser_context_keyed_service_factory.h" #include "base/logging.h" #include "base/stl_u...
qtekfun/htcDesire820Kernel
external/chromium_org/components/browser_context_keyed_service/refcounted_browser_context_keyed_service_factory.cc
C++
gpl-2.0
4,771
/** * 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...
GeLiXin/hadoop
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsWithRestCsrfPreventionFilter.java
Java
apache-2.0
5,983
// 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/policy/cloud/user_cloud_policy_manager_factory.h" #include "base/command_line.h" #include "base/logging.h" #include "chrome/...
espadrine/opera
chromium/src/chrome/browser/policy/cloud/user_cloud_policy_manager_factory.cc
C++
bsd-3-clause
3,628
/* Copyright 2018 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
wjiangjay/origin
vendor/k8s.io/kubernetes/cmd/kubeadm/app/images/interface.go
GO
apache-2.0
2,771
/* Copyright 2012 Adobe Systems 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, software ...
corimf/cordova-plugin-test-framework
www/assets/topcoat-0.7.5/dev/test/perf/telemetry/lib/settings.js
JavaScript
apache-2.0
865
/* * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
akosyakov/intellij-community
plugins/maven/src/main/java/org/jetbrains/idea/maven/project/MavenTestRunningConfigurable.java
Java
apache-2.0
3,309
package demos; import processing.core.PApplet; import de.fhpotsdam.unfolding.UnfoldingMap; import de.fhpotsdam.unfolding.utils.MapUtils; import de.fhpotsdam.unfolding.providers.*; import de.fhpotsdam.unfolding.providers.Google.*; import java.util.List; import de.fhpotsdam.unfolding.data.Feature; import de.fhpotsdam.u...
muraliparimi/UCSDUnfoldingMaps
src/demos/LifeExpectancy.java
Java
mit
3,102
package com.intellij.tasks.pivotal; import com.intellij.openapi.project.Project; import com.intellij.tasks.TaskRepository; import com.intellij.tasks.TaskState; import com.intellij.tasks.config.TaskRepositoryEditor; import com.intellij.tasks.impl.BaseRepositoryType; import com.intellij.util.Consumer; import icons.Tasks...
idea4bsd/idea4bsd
plugins/tasks/tasks-core/src/com/intellij/tasks/pivotal/PivotalTrackerRepositoryType.java
Java
apache-2.0
1,505
//go:build !providerless // +build !providerless /* 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 re...
mahak/origin
vendor/k8s.io/legacy-cloud-providers/azure/azure_config.go
GO
apache-2.0
2,937
/* Copyright 2015 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
guiquanz/binnavi
src/main/java/com/google/security/zynamics/binnavi/disassembly/CReference.java
Java
apache-2.0
1,897
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ #pragma once /*** This file is part of systemd. Copyright 2013 Lennart Poettering systemd is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foun...
coreos/systemd-deprecated
src/shared/bus-label.h
C
gpl-2.0
1,047
/* 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, ...
pmorie/origin
vendor/k8s.io/kubernetes/test/integration/federation/api_test.go
GO
apache-2.0
14,341
/* Copyright 2014 The Kubernetes Authors All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
tya/kubernetes
pkg/client/resource_quotas.go
GO
apache-2.0
4,488
/* Copyright 2006 Jerry Huxtable Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software d...
boundlessgeo/geopackage-core-java
src/main/java/org/osgeo/proj4j/proj/PutninsP4Projection.java
Java
mit
1,727
package twitter4jads.models.ads.targeting; import com.google.gson.annotations.SerializedName; import twitter4jads.models.ads.TargetingCriteria; import java.util.List; /** * User: abhishekanand * Date: 17/06/16 2:59 PM. */ public class TargetingParamResponse { @SerializedName("request") private List<Targe...
sprinklr-inc/twitter4j-ads
twitter4j-ads/src/twitter4jads/models/ads/targeting/TargetingParamResponse.java
Java
mit
1,230
#http://stackoverflow.com/questions/4720735/fastest-way-to-download-3-million-objects-from-a-s3-bucket #https://boto3.readthedocs.org/en/latest/reference/services/s3.html#S3.Client.generate_presigned_url #https://boto3.readthedocs.org/en/latest/reference/services/cloudfront.html#CloudFront.Client.generate_presigned_url...
jDmacD/aws-lambda-pillow
src/svg.py
Python
mit
1,156
package edu.pdx.cs410J.erik; import edu.pdx.cs410J.web.HttpRequestHelper.Response; import org.junit.FixMethodOrder; import org.junit.Ignore; import org.junit.Test; import org.junit.runners.MethodSorters; import java.io.IOException; import java.net.HttpURLConnection; import static org.hamcrest.MatcherAssert.assertTha...
epaulson10/CS510J
apptbook/src/it/java/edu/pdx/cs410J/erik/AppointmentBookRestClientIT.java
Java
mit
2,538
__author__ = 'thor' print(''' disp_html (but careful! save before use) BeautifulSoup bs3_BeautifulSoup ut.util.log.hms_message ut.webscrape.util.* filename_from_url url_from_filename ''') from ut.util.importing import get_environment_variable import logging import urllib.request, urllib....
thorwhalen/ut
util/imports/scraping_imports.py
Python
mit
996
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package br.uff.ic.oceano.core.tools.metrics.extractors.dependometer.metrics; import br.uff.ic.oceano.core.model.transiente.Language; import br.uff.ic.oceano.core.tools.metrics.extractors.BaseMetricTest; import b...
gems-uff/oceano
core/src/test/java/br/uff/ic/oceano/core/tools/metrics/extractors/dependometer/metrics/AfferentIncomingCouplingProjectExternal_DependomenterExtractorCppNGTest.java
Java
mit
1,228
package eu.bcvsolutions.idm.core.api.repository.filter; import javax.persistence.criteria.Predicate; import org.springframework.beans.factory.BeanNameAware; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Lazy; import org.springframework.core.GenericTypeRes...
bcvsolutions/CzechIdMng
Realization/backend/core/core-api/src/main/java/eu/bcvsolutions/idm/core/api/repository/filter/BaseFilterBuilder.java
Java
mit
3,538
package org.knowm.xchange.gatecoin.dto.trade; import static org.fest.assertions.api.Assertions.assertThat; import java.io.IOException; import java.io.InputStream; import org.junit.Test; import com.fasterxml.jackson.databind.ObjectMapper; import org.knowm.xchange.gatecoin.dto.trade.Results.GatecoinPlaceOrderResult; ...
mmithril/XChange
xchange-gatecoin/src/test/java/org/knowm/xchange/gatecoin/dto/trade/PlaceOrderJSONTest.java
Java
mit
933
package br.gov.siscomex.portalunico.ccta.model; import java.util.List; import javax.validation.Valid; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.an...
samuelfac/portalunico.siscomex.gov.br
src/main/java/br/gov/siscomex/portalunico/ccta/model/ChegadaConsultaDetalhada.java
Java
mit
7,617
package com.openatk.trello.internet; import java.io.IOException; import java.io.InputStream; import java.util.List; import org.apache.http.HttpResponse; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import com.openatk.trello.OrganizationsList; import com.openatk.trello.R; impo...
OpenATK/Trello
src/com/openatk/trello/internet/OrganizationsHandler.java
Java
mit
4,557
package de.domisum.exziff.world.chunkclusterstorage; import de.domisum.exziff.world.ChunkCluster; import de.domisum.exziff.world.transcode.ChunkClusterTranscoder; import de.domisum.lib.auxilium.util.CompressionUtil; import de.domisum.lib.auxilium.util.CompressionUtil.Speed; import de.domisum.lib.auxilium.util.FileUtil...
domisum/ExZiff
src/main/java/de/domisum/exziff/world/chunkclusterstorage/ChunkClusterStorageFromDisk.java
Java
mit
2,180
package xmlapi import ( "github.com/killmails/go-eve/client" "github.com/killmails/go-eve/schemas/xmlapi" ) const ( accountStatusURL client.EndpointURL = "/account/AccountStatus.xml.aspx" aPIKeyInfoURL client.EndpointURL = "/account/APIKeyInfo.xml.aspx" charactersURL client.EndpointURL = "/account/Characte...
killmails/go-eve
xmlapi/account.go
GO
mit
1,192
/* * This file is part of adventure, licensed under the MIT License. * * Copyright (c) 2017-2021 KyoriPowered * * 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, inc...
KyoriPowered/text
api/src/main/java/net/kyori/adventure/text/TextComponentImpl.java
Java
mit
5,654
package expo import ( "bytes" "compress/zlib" "encoding/json" "io" "io/ioutil" "math" "net/http" "strings" ) var version = "2.3.1" var baseURL = "https://exp.host" var baseAPIURL = baseURL + "/--/api/v2" // MaxBodySizeWithoutGzip allows to set the max length of body allowed to be send without gzip. // The Ma...
Terminux/exponent-server-sdk-go
expo.go
GO
mit
5,742
package ru.obolensk.afff.beetle.request; import java.io.IOException; import java.io.InputStream; import java.nio.file.Files; import java.nio.file.Path; import lombok.Getter; /** * Created by Afff on 30.08.2017. */ public class MultipartData implements MultipartDataInfo { @Getter private final String fileName; ...
Affff/Beetle
src/main/java/ru/obolensk/afff/beetle/request/MultipartData.java
Java
mit
1,026
#ifndef __CONNECTION_POOL_GUARD__ #define __CONNECTION_POOL_GUARD__ #include <set> #include <string> #include <tr1/unordered_map> #include <tr1/memory> #include "evx/buffered_connection.hpp" #include "simple_stats_driver.hpp" #include "state_stats_driver.hpp" // this class acts as a connection pool that helps identif...
stormbrew/cloudbridge
include/connection_pool.hpp
C++
mit
2,691
/** * */ package com.example.paypro.tasks; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.List; import org.apache.http.HttpResponse; import org.apache.http.NameValuePair; import org.apache.http.client.ClientProtocolException; import org.apache....
saurabhjinturkar/Forkout
src/com/example/paypro/tasks/UserLoginTask.java
Java
mit
4,276
package imgio import ( "image" "image/color" ) type PointReadWriterRGBA interface { Read(start int, c color.RGBA, p image.Point) ([]byte, int) Write(b []byte, start int, src color.RGBA, p image.Point) (color.RGBA, int) Size(p image.Point) int64 } type PointReadWriterRGBASimple struct{} const PointReadWriterRGB...
ivan1993spb/imgio
point_read_writer_RGBA.go
GO
mit
757
// scale ship specification function scaleShipSpec(inputSpec, lengthRatio, beamRatio, depthRatio) { // copy input spec to a separate object var strSpec = JSON.stringify(inputSpec); var shipSpec = JSON.parse(strSpec); // read main dimensions var mainDimensions = shipSpec.structure.hull.attributes; // calculate n...
shiplab/vesseljs
examples/snippets/scaleShipSpec.js
JavaScript
mit
2,150
package com.thexfactor117.lsc.loot.attributes.weapons; import java.util.Random; import org.lwjgl.input.Keyboard; import com.thexfactor117.lsc.loot.attributes.AttributeWeapon; import com.thexfactor117.lsc.util.AttributeUtil; import com.thexfactor117.lsc.util.misc.NBTHelper; import net.minecraft.entity.EntityLivingBa...
TheXFactor117/Lost-Eclipse
src/main/java/com/thexfactor117/lsc/loot/attributes/weapons/AttributeSlow.java
Java
mit
1,911
package org.xdi.oxauth.interop; import org.testng.annotations.Parameters; import org.testng.annotations.Test; import org.xdi.oxauth.BaseTest; import org.xdi.oxauth.client.*; import org.xdi.oxauth.model.common.GrantType; import org.xdi.oxauth.model.common.ResponseType; import org.xdi.oxauth.model.register.ApplicationTy...
madumlao/oxAuth
Client/src/test/java/org/xdi/oxauth/interop/ProvidingAcrValues.java
Java
mit
3,382
#ifndef EDITOR_TOOL_UTILS_HPP #define EDITOR_TOOL_UTILS_HPP #include <SFML/Graphics.hpp> #include "math/geometry/Point2.hpp" #include "math/geometry/Polygon.hpp" #include "gamelib/core/ecs/ecsmeta.hpp" namespace gamelib { class Entity; class PolygonBrushComponent; // Half size of a drag box constexpr...
mall0c/GameLib
include/gamelib/editor/tools/ToolUtils.hpp
C++
mit
1,886
/* Copyright (c) 2010 Timothy Lovorn 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, di...
tflovorn/scSuperSolver
src/test_Controller.cc
C++
mit
1,670
package com.odcgroup.t24.enquiry.properties.descriptors; import org.eclipse.emf.common.ui.celleditor.ExtendedComboBoxCellEditor; import org.eclipse.jface.viewers.CellEditor; import org.eclipse.jface.viewers.LabelProvider; import org.eclipse.swt.widgets.Composite; import org.eclipse.ui.views.properties.PropertyDescript...
debabratahazra/DS
designstudio/components/t24/ui/com.odcgroup.t24.enquiry.editor/src/main/java/com/odcgroup/t24/enquiry/properties/descriptors/FieldFormatTypePropertyDescriptor.java
Java
epl-1.0
911
/* * Copyright (c) 2012-2018 Red Hat, Inc. * 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 * * Contributors: * Red H...
sleshchenko/che
plugins/plugin-java/che-plugin-java-ext-lang-client/src/main/java/org/eclipse/che/ide/ext/java/client/action/QuickDocumentationAction.java
Java
epl-1.0
2,209
/******************************************************************************* * Copyright (c) 2014 OSSMETER Partners. * 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 ...
ossmeter/ossmeter
metric-providers/org.ossmeter.metricprovider.historic.threadsperdaypernewsgroup/src/org/ossmeter/metricprovider/historic/newsgroups/threads/ThreadsHistoricMetricProvider.java
Java
epl-1.0
5,831
/* * Copyright (c) 2013 Red Hat, Inc. and/or its affiliates. * * 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 * ...
Maarc/windup-as-a-service
windup_0_7/windup-engine/src/main/java/org/jboss/windup/util/CustomerPackageResolver.java
Java
epl-1.0
1,998
/******************************************************************************* * Copyright (c) 2012, 2014 Pivotal Software, Inc. * 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 ...
oxmcvusd/eclipse-integration-gradle
org.springsource.ide.eclipse.gradle.ui/src/org/springsource/ide/eclipse/gradle/ui/wizards/NewGradleProjectWizard.java
Java
epl-1.0
1,878
package de.metas.procurement.base.balance; import java.math.BigDecimal; import java.util.Arrays; import java.util.Date; import java.util.List; import java.util.Random; import org.adempiere.test.AdempiereTestHelper; import org.adempiere.test.AdempiereTestWatcher; import org.adempiere.util.Services; import org.compiere...
klst-com/metasfresh
de.metas.procurement.base/src/test/java/de/metas/procurement/base/balance/AbstractBalanceScenariosTest.java
Java
gpl-2.0
7,505
package org.adempiere.mm.attributes.spi.impl; /* * #%L * de.metas.handlingunits.base * %% * Copyright (C) 2015 metas GmbH * %% * 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 ver...
klst-com/metasfresh
de.metas.handlingunits.base/src/main/java/org/adempiere/mm/attributes/spi/impl/WeightGrossAttributeValueCallout.java
Java
gpl-2.0
3,816
package org.cmucreatelab.tasota.airprototype.helpers.system.database; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.util.Log; import org.cmucreatelab.tasota.airprototype.helpers.static_classes.Constants; /** * Created by...
CMU-CREATE-Lab/airqualitytracker-android
app/src/main/java/org/cmucreatelab/tasota/airprototype/helpers/system/database/SpeckSensorSQLiteOpenHelper.java
Java
gpl-2.0
1,564
package dataWorkshop.gui.data.structure.atomic; import java.awt.BorderLayout; import java.awt.Component; import java.awt.Dimension; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.BorderFactory; import javax.swing.Box; import javax.swing.BoxLayout; import javax.swing.Defaul...
titobrasolin/dataworkshop
src/dataWorkshop/gui/data/structure/atomic/CasePane.java
Java
gpl-2.0
8,342
package io.github.infolis.algorithm; import static org.junit.Assert.assertEquals; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import org.apache.commons.io.FileUtils; import org.apache.commons.io.IOUtils; import org.junit.Test; import org.slf4j.Logger; imp...
infolis/infoLink
src/test/java/io/github/infolis/algorithm/SpringerImporterTest.java
Java
gpl-2.0
2,247
// Combat Simulator Project // Copyright (C) 2002 The Combat Simulator Project // http://csp.sourceforge.net // // 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 Lice...
nsmoooose/csp
csp/cspsim/ScreenInfoManager.cpp
C++
gpl-2.0
4,221
/* This code is part of Freenet. It is distributed under the GNU General * Public License, version 2 (or at your option any later version). See * http://www.gnu.org/ for further details of the GPL. */ package freenet.node.fcp; import com.db4o.ObjectContainer; import freenet.node.Node; import freenet.support.Fields;...
saces/fred
src/freenet/node/fcp/ProtocolErrorMessage.java
Java
gpl-2.0
6,109
/** * 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/BenchmarkTest08923.java
Java
gpl-2.0
2,490
package org.bodytrack.AirNow; /** * @author Justin Loutsenhizer <nano351@gmail.com> */ public class AirNowDataPoint { private long timestamp; private String parameterCd; private double value; private static AirNowDataTypes dataTypes; public AirNowDataPoint(long timestamp, String parameterCd, double value)...
BodyTrack/airnow-realtime-mirror
src/org/bodytrack/AirNow/AirNowDataPoint.java
Java
gpl-2.0
1,378
/** * 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/BenchmarkTest00091.java
Java
gpl-2.0
3,007
/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ package org.hibernate.dialect.pagination; import java.util.Locale; import org.hib...
lamsfoundation/lams
3rdParty_sources/hibernate-core/org/hibernate/dialect/pagination/TopLimitHandler.java
Java
gpl-2.0
1,906
# -*- coding: utf-8 -*- # Dropbox announcement Global Plugin for NVDA # Copyright (C) 2014 Filaos, Patrick ZAJDA <patrick@zajda.fr> and other contributors # This file is covered by the GNU General Public License. # You can read the licence by clicking Help->Licence in the NVDA menu # or by visiting http://www.gnu.org/l...
pzajda/dropbox
addon/globalPlugins/SayStatedropbox.py
Python
gpl-2.0
3,144
package com.chenghui.ekaxin.ui; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import android.annotation.SuppressLint; import android.ap...
KouChengjian/EKaxin
EKaxin/src/com/chenghui/ekaxin/ui/EditCardActivity.java
Java
gpl-2.0
24,164
package com.stereokrauts.stereoscope.gui.startup; import org.eclipse.ui.IFolderLayout; import org.eclipse.ui.IPageLayout; import org.eclipse.ui.IPerspectiveFactory; /** * This class defines the perspective that is displayed after * stereoscope is started. * @author th * */ public final class StartupPerspectiveFa...
stereokrauts/stereoscope
stereoscope.gui/src/main/java/com/stereokrauts/stereoscope/gui/startup/StartupPerspectiveFactory.java
Java
gpl-2.0
1,160
/** * 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...
ganncamp/Benchmark
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest00139.java
Java
gpl-2.0
4,235
package mssdw.protocol; import mssdw.JDWPException; import mssdw.MethodMirror; import mssdw.PacketStream; import mssdw.TypeMirror; import mssdw.TypeRef; import mssdw.VirtualMachineImpl; /** * @author VISTALL * @since 11.04.14 */ public class Type_GetMethods implements Type { static final int COMMAND = 2; public...
consulo/mssdw-java-client
src/main/java/mssdw/protocol/Type_GetMethods.java
Java
gpl-2.0
1,256
/** * */ package de.fuberlin.csw.aspectowl.parser; import de.fuberlin.csw.aspectowl.owlapi.model.OWLOntologyAspectManager; import org.semanticweb.owlapi.io.AbstractOWLParser; import org.semanticweb.owlapi.io.OWLOntologyDocumentSource; import org.semanticweb.owlapi.io.OWLParserException; import org.semanticweb.owlap...
ag-csw/aspect-owl-protege
src/main/java/de/fuberlin/csw/aspectowl/parser/AspectOrientedOWLFunctionalSyntaxOWLParser.java
Java
gpl-3.0
2,455
/* Copyright 2009-2016 Francesco Biscani (bluescarni@gmail.com) This file is part of the Piranha library. The Piranha library is free software; you can redistribute it and/or modify it under the terms of either: * the GNU Lesser General Public License as published by the Free Software Foundation; either versio...
isuruf/piranha
tests/gastineau1.hpp
C++
gpl-3.0
1,480
package com.gmail.dpierron.calibre.gui; /** * Method that provides ways of interacting with the GUI * * This interface is defined in the DataModel package so that classes * in this package can interact with the GUI components that are * instantiated within the OpdsOuputput pckage. It is oone this * wa...
calibre2opds/calibre2opds
DataModel/src/main/java/com/gmail/dpierron/calibre/gui/CatalogCallbackInterface.java
Java
gpl-3.0
4,044
/* Tyrex - the versatile file decoder. Copyright (C) 2014 - 2015 G. Endignoux 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 opt...
gendx/tyrex
src/parse/archive/tarfile.hpp
C++
gpl-3.0
1,361
// -*- Mode: Go; indent-tabs-mode: t -*- /* * Copyright (C) 2016 Canonical Ltd * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 as * published by the Free Software Foundation. * * This program is distributed in the hope tha...
kenvandine/snapd
interfaces/builtin/removable_media_test.go
GO
gpl-3.0
3,162
/* * 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/demo/samples/book/src/BookApp.java
Java
gpl-3.0
12,756
/* Copyright 2006, 2007, 2008 Markus Goetz, Sebastian Breier Webpage on http://p300.eu/ */ /* This file is part of p300. p300 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...
woboq/p300
src/main/java/de/guruz/p300/requests/OptionsRequest.java
Java
gpl-3.0
2,552
package com.cooksys.fastbook.dao.impl; import java.util.ArrayList; import java.util.List; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import org.springframework.transaction.annotatio...
Cook-Systems/fastbook-may-2016
src/main/java/com/cooksys/fastbook/dao/impl/UserDaoImpl.java
Java
gpl-3.0
6,175
package com.helloworld.nfc; import java.util.List; import org.ndeftools.Message; import org.ndeftools.Record; import org.ndeftools.wellknown.TextRecord; import android.app.Activity; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; i...
jypeitao/NFC2
Fagmote/Android/Near Field Communications/HelloWorldNFC Base/src/com/helloworld/nfc/HelloWorldNFCActivity.java
Java
gpl-3.0
2,237
/* * GrGen: graph rewrite generator tool -- release GrGen.NET 4.4 * Copyright (C) 2003-2015 Universitaet Karlsruhe, Institut fuer Programmstrukturen und Datenorganisation, LS Goos; and free programmers * licensed under LGPL v3 (see LICENSE.txt included in the packaging of this file) * www.grgen.net */ package de....
jblomer/GrGen.NET
frontend/de/unika/ipd/grgen/ir/exprevals/NodeByUniqueExpr.java
Java
gpl-3.0
856
package it.unibo.cs.jonus.waidrec; import java.util.ArrayList; import java.util.List; import android.content.Context; import android.graphics.Bitmap; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.ImageView; import...
Jei/WAIDRecognizer
src/it/unibo/cs/jonus/waidrec/VIListAdapter.java
Java
gpl-3.0
1,645
package edu.kit.iti.formal.mandatsverteilung.wahlberechnung; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.util.Arrays; import java.util.LinkedList; import java.util.List; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; imp...
Bundeswahlrechner/Bundeswahlrechner
mandatsverteilung/src/test/java/edu/kit/iti/formal/mandatsverteilung/wahlberechnung/SainteLagueTest.java
Java
gpl-3.0
9,808
/* * Copyright (C) 2013-2014 Dabo Ross <http://www.daboross.net/> * * 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...
ShadowRanger/SkyWars
src/main/java/net/daboross/bukkitdev/skywars/commands/setupsubcommands/SetPos2.java
Java
gpl-3.0
3,080
/* This file is part of bbflash. Copyright (C) 2013, Hao Liu and Robert L. Thompson 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 late...
hliu115288339/bbflash
src/lpc.h
C
gpl-3.0
1,048
package com.example.springboot; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.test.IntegrationTest; import org.springframework.boot.test.SpringApplicationConfiguration; import org.springframewo...
devenfan/SpringBootDemo2
src/test/java/com/example/springboot/HelloControllerIT.java
Java
gpl-3.0
1,475
/** * APICloud Studio * Copyright (c) 2014-2015 by APICloud, Inc. All Rights Reserved. * Licensed under the terms of the GNU Public License (GPL) v3. * Please see the license.html included with this distribution for details. * Any modifications to this file must keep this entire header intact. */ package com.api...
apicloudcom/APICloud-Studio
com.apicloud.updatemanager/src/com/apicloud/updatemanager/dialog/CheckLoaderDialog.java
Java
gpl-3.0
8,065
/* KDXplore provides KDDart Data Exploration and Management Copyright (C) 2015,2016,2017,2018 Diversity Arrays Technology, Pty Ltd. KDXplore may be redistributed and may be modified under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3...
kddart/kdxplore
kdxos_stats/src/main/java/com/diversityarrays/kdxplore/stats/NumericTraitValidationProcessor.java
Java
gpl-3.0
1,471
package com.lab4u.lab4uphysis.view; import android.app.Activity; import android.content.Intent; import android.hardware.Sensor; import android.hardware.SensorManager; import android.os.Bundle; import android.view.Menu; import android.view.View; import android.widget.AdapterView; import android.widget.Button; import an...
lab4u/mvp
tecnico/src/mvp3.eclipse/src/com/lab4u/lab4uphysis/view/ListAllSensorListenerActivity.java
Java
gpl-3.0
3,064
// Copyright (C) 2002-2012 Nikolaus Gebhardt // This file is part of the "Irrlicht Engine". // For conditions of distribution and use, see copyright notice in irrlicht.h #include "CSceneNodeAnimatorFlyCircle.h" namespace irr { namespace scene { //! constructor CSceneNodeAnimatorFlyCircle::CSceneNodeAnimatorFlyCircl...
Traderain/Wolven-kit
WolvenKit.Irrlicht/source/CSceneNodeAnimatorFlyCircle.cpp
C++
gpl-3.0
2,973
// -*- Mode: Go; indent-tabs-mode: t -*- /* * Copyright (C) 2017 Canonical Ltd * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 3 as * published by the Free Software Foundation. * * This program is distributed in the hope tha...
jdstrand/snapd
interfaces/builtin/desktop_legacy.go
GO
gpl-3.0
8,272
/** * Picarto.js * An unofficial library for interacting with Picarto.tv. * * This library is not endorsed, supported, or otherwise associated with Picarto * or it's team. It is provided as-is with no guarantees. Please make sure you * read through and comply with Picarto's TOS: https://picarto.tv/site/terms * ...
Tschrock/Picarto.js
lib/client/websocket/signals/WebSocketSignalManager.ts
TypeScript
mpl-2.0
5,879
/* * Copyright © 2014 - 2015 | Alexander01998 | All rights reserved. * * 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 http://mozilla.org/MPL/2.0/. */ package tk.wurst_client.commands; impor...
WurstContributor/Wurst-Client
Wurst Client/src/tk/wurst_client/commands/FeaturesCmd.java
Java
mpl-2.0
1,753
package terraform import ( "fmt" "log" "github.com/zclconf/go-cty/cty" "github.com/hashicorp/terraform/plans" "github.com/hashicorp/terraform/plans/objchange" "github.com/hashicorp/terraform/states" "github.com/hashicorp/terraform/tfdiags" ) // evalReadDataPlan is an EvalNode implementation that deals with t...
pryorda/terraform
terraform/eval_read_data_plan.go
GO
mpl-2.0
5,370
import { ComponentRef, Injectable } from '@angular/core' import { ActivatedRouteSnapshot, DetachedRouteHandle, RouteReuseStrategy } from '@angular/router' import { DisableForReuseHook } from './disable-for-reuse-hook' import { PeerTubeRouterService, RouterSetting } from './peertube-router.service' @Injectable() export...
Chocobozzz/PeerTube
client/src/app/core/routing/custom-reuse-strategy.ts
TypeScript
agpl-3.0
3,013
/* * Copyright 2013-2018 Emmanuel BRUN (contact@amapj.fr) * * This file is part of AmapJ. * * AmapJ is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License,...
amapj/amapj
amapj/src/fr/amapj/service/services/edgenerator/excel/EGRemise.java
Java
agpl-3.0
5,488
/* * Hibernate, Relational Persistence for Idiomatic Java * * License: GNU Lesser General Public License (LGPL), version 2.1 or later. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. */ //$Id: DocumentInterceptor.java 8670 2005-11-25 17:36:29Z epbernard $ package org....
1fechner/FeatureExtractor
sources/FeatureExtractor/lib/hibernate-release-5.1.0.Final/project/hibernate-core/src/test/java/org/hibernate/test/mixed/DocumentInterceptor.java
Java
lgpl-2.1
2,881
/* * 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, y...
EgorZhuk/pentaho-reporting
engine/core/src/it/java/org/pentaho/reporting/engine/classic/core/bugs/Prd4922IT.java
Java
lgpl-2.1
6,277
/* Copyright (c) 2013, Ford Motor Company 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 conditions and the fo...
Luxoft/SDLP2
SDL_Core/src/components/application_manager/src/commands/mobile/subscribe_vehicle_data_response.cc
C++
lgpl-2.1
2,506
/** * DSS - Digital Signature Services * Copyright (C) 2015 European Commission, provided under the CEF programme * * This file is part of the "DSS - Digital Signature Services" project. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public...
alisdev/dss
dss-test/src/main/java/eu/europa/esig/dss/extension/AbstractTestExtension.java
Java
lgpl-2.1
7,954
/** * DSS - Digital Signature Services * Copyright (C) 2015 European Commission, provided under the CEF programme * * This file is part of the "DSS - Digital Signature Services" project. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Publ...
openlimit-signcubes/dss
dss-tsl-validation/src/main/java/eu/europa/esig/dss/tsl/runnable/LOTLWithPivotsAnalysis.java
Java
lgpl-2.1
8,999
import { Optional } from '@ephox/katamari'; import ClosestOrAncestor from '../../impl/ClosestOrAncestor'; import { SugarElement } from '../node/SugarElement'; import * as PredicateFind from './PredicateFind'; import * as Selectors from './Selectors'; // TODO: An internal SelectorFilter module that doesn't SugarElement...
TeamupCom/tinymce
modules/sugar/src/main/ts/ephox/sugar/api/search/SelectorFind.ts
TypeScript
lgpl-2.1
1,885
package com.ihidea.core.support.session; import java.io.Serializable; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.lang.StringUtils; import com.ihidea.core.CoreConstants; import com.ihidea.core.util.CookieUtil; import com.ihidea.core.util.JSO...
tyotann/tyo-java-frame
src/com/ihidea/core/support/session/SessionContext.java
Java
lgpl-3.0
2,821
/* * This file is part of MyPet * * Copyright © 2011-2020 Keyle * MyPet is licensed under the GNU Lesser General Public License. * * MyPet 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...
xXKeyleXx/MyPet
modules/v1_17_R1/src/main/java/de/Keyle/MyPet/compat/v1_17_R1/entity/types/EntityMyOcelot.java
Java
lgpl-3.0
3,453
from collections import namedtuple # partly generated from the table at: # http://developer.ebay.com/DevZone/XML/docs/WebHelp/wwhelp/wwhimpl/common/html/wwhelp.htm?context=eBay_XML_API&file=WorkingWithNotifications-Receiving_Platform_Notifications.html NOTIFICATION_PAYLOADS = { 'AskSellerQuestion': 'GetMemberMessag...
anentropic/django-ebaysync
ebaysync/__init__.py
Python
lgpl-3.0
2,062
/** * */ package org.sharks.service.informea.dto; import java.io.Serializable; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; import lombok.Data; import org.eclipse.persistence.oxm.annotatio...
openfigis/sharks
sharks-server/sharks-service/src/main/java/org/sharks/service/informea/dto/InformeaParties.java
Java
lgpl-3.0
705
/* * Sonar, open source software quality management tool. * Copyright (C) 2008-2012 SonarSource * mailto:contact AT sonarsource DOT com * * Sonar 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...
jmecosta/sonar
plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/timemachine/VariationDecorator.java
Java
lgpl-3.0
7,034
/* * SonarQube * Copyright (C) 2009-2016 SonarSource SA * mailto:contact AT sonarsource DOT com * * 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 * version 3 of the License...
joansmith/sonarqube
server/sonar-server/src/main/java/org/sonar/server/source/ws/IndexAction.java
Java
lgpl-3.0
3,656
package com.sirma.itt.seip.configuration.convert; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.lang3.StringUtils; /** * Chaining converter that can wrap several converters that produce the same type. When calling the convert method the ...
SirmaITT/conservation-space-1.7.0
docker/sirma-platform/platform/seip-parent/platform/configuration/configuration-core/src/main/java/com/sirma/itt/seip/configuration/convert/ChainingConverter.java
Java
lgpl-3.0
3,723
#include "platform_wtk.h" #ifdef HAVE_POINTER #include "platform_input_pointer.c" #endif #ifdef HAVE_KEYBOARD #include "platform_input_keyboard.c" #endif static void _seat_handle_capabilities(void *data, struct wl_seat *seat, enum wl_seat_capability caps) { struct pilot_display *display = data; struct platform_...
mchalain/pilot_wtk
src/wayland/platform_input.c
C
lgpl-3.0
1,575
package com.paraschool.editor.modules.ordonner.phrase.client.ui; import com.paraschool.editor.api.client.EditModuleContext; import com.paraschool.editor.modules.commons.client.EventBus; import com.paraschool.editor.modules.ordonner.client.i18n.OrdonnerModuleMessages; import com.paraschool.editor.modules.ordonner.clien...
Sankore/Editeur_Sankore---LENUOS-
sources/lenuos/editor-modules/src/com/paraschool/editor/modules/ordonner/phrase/client/ui/EditWidget.java
Java
lgpl-3.0
890