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
/* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2019 Mellanox Technologies. */ #ifndef __MLX5E_EN_HEALTH_H #define __MLX5E_EN_HEALTH_H #include "en.h" #include "diag/rsc_dump.h" #define MLX5E_RX_ERR_CQE(cqe) (get_cqe_opcode(cqe) != MLX5_CQE_RESP_SEND) static inline bool cqe_syndrome_needs_recover(u8 syndrom...
penberg/linux
drivers/net/ethernet/mellanox/mlx5/core/en/health.h
C
gpl-2.0
2,425
/* 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, ...
wjiangjay/origin
vendor/k8s.io/kubernetes/pkg/registry/policy/podsecuritypolicy/strategy.go
GO
apache-2.0
2,100
package com.iluwatar.bridge; /** * * In Bridge pattern both abstraction (MagicWeapon) and implementation * (MagicWeaponImp) have their own class hierarchies. The interface of the * implementations can be changed without affecting the clients. * */ public class App { public static void main(String[...
witekcc/java-design-patterns
bridge/src/main/java/com/iluwatar/bridge/App.java
Java
mit
1,015
/* Copyright 2016 The Kubernetes Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, ...
cab105/kompose
vendor/k8s.io/client-go/1.4/pkg/api/meta/priority.go
GO
apache-2.0
7,654
#ifndef CW1200_DEBUG_H_INCLUDED #define CW1200_DEBUG_H_INCLUDED struct cw200_common; #ifdef CONFIG_CW1200_DEBUGFS struct cw1200_debug_priv { struct dentry *debugfs_phy; int tx; int tx_agg; int rx; int rx_agg; int tx_multi; int tx_multi_frames; int tx_cache_miss; int tx_copy; }; int cw1200_debug_init(struct...
dh-harald/android_kernel_samsung_codina
drivers/staging/cw1200/debug.h
C
gpl-2.0
1,940
/* 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/test/e2e_kubeadm/kubeadm_certs_test.go
GO
apache-2.0
4,328
#include <gtest/gtest.h> #include <Process.h> #include <signal.h> using namespace testing; using namespace Interprocess; class ChildDestructionTest : public Test { public: static void dummyFunction(){} std::unique_ptr<Process> process; int processID; void SetUp() override { process = std::make_unique<Pr...
MirzaSakic/InterProcess
test/ChildDestructionTest.cpp
C++
mit
750
package consul import ( "github.com/alaa/pencil-go/registry" consul "github.com/hashicorp/consul/api" ) // ServiceRepository is consul-based implementation of registry.ServiceRepository type ServiceRepository struct { consulAgent consulAgent } type consulAgent interface { Services() (map[string]*consul.AgentServ...
alaa/pencil-go
consul/consul.go
GO
mit
1,516
// This file is available in electronic form at http://www.psa.es/sdg/sunpos.htm #include "UnrealSandboxToolkitPrivatePCH.h" #include "SunPos.h" #include <math.h> void sunpos(cTime udtTime, cLocation udtLocation, cSunCoordinates *udtSunCoordinates) { // Main variables double dElapsedJulianDays; double dD...
bw2012/UnrealSandboxToolkit
Source/UnrealSandboxToolkit/Private/SunPos.cpp
C++
mit
3,989
package schema import ( "fmt" "math/rand" "os" "path/filepath" "runtime" "time" "github.com/mitchellh/go-homedir" ) func defaultDataPath() (path string) { if runtime.GOOS == "darwin" { return "~/Library/Application Support" } return "~" } // GenerateTempPath returns a string path representing the locati...
hoffmabc/openbazaar-go
schema/path.go
GO
mit
1,386
/** * Copyright (c) 2015-2016 Angelo ZERR. * 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 * * Contributor...
angelozerr/typescript.java
eclipse/ts.eclipse.ide.core/src/ts/eclipse/ide/internal/core/repository/IDETypeScriptRepositoryManager.java
Java
mit
10,030
//@author A0114171W #include "stdafx.h" #include "internal_datastore.h" #include "internal_transaction.h" namespace You { namespace DataStore { namespace Internal { void Transaction::commit() { DataStore::get().onTransactionCommit(*this); } void Transaction::rollback() { DataStore::get().onTransactionRollback(*thi...
cs2103aug2014-w10-1c/main
You-DataStore/internal/internal_transaction.cpp
C++
mit
771
/* Copyright (c) 2016 Steven Phillips, Miro Dudik and Rob Schapire 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...
mrmaxent/Maxent
density/FeatureGenerator.java
Java
mit
1,468
package org.pi.litepost.applicationLogic; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import java.util.ArrayList; /** * @author Julia Moos * */ public class Comment { protected final static String STANDARD_DATE_FORMAT = "dd. MMMM uuuu HH:mm"; private final int commentId; private f...
PraktischeInformatik/LitePost
src/org/pi/litepost/applicationLogic/Comment.java
Java
mit
1,604
/* * This file is part of TechReborn, licensed under the MIT License (MIT). * * Copyright (c) 2020 TechReborn * * 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...
TechReborn/TechReborn
src/main/java/techreborn/items/BatteryItem.java
Java
mit
4,043
package com.ocdsoft.bacta.swg.shared.chat.messages; import com.ocdsoft.bacta.engine.utils.BufferUtil; import com.ocdsoft.bacta.soe.message.GameNetworkMessage; import com.ocdsoft.bacta.soe.message.Priority; import lombok.AllArgsConstructor; import lombok.Getter; import java.nio.ByteBuffer; /** * Created by crush on ...
bacta/swg
game-server/src/main/java/com/ocdsoft/bacta/swg/shared/chat/messages/ChatInviteGroupToRoom.java
Java
mit
858
// Copyright (c) 2017 The pliOS Authors. All rights reserved. // // Use of this source code is governed by a MIT-style license that can be found // in the LICENSE file. package main import ( log "github.com/Sirupsen/logrus" "os" ) func main() { log.SetLevel(log.DebugLevel) log.SetOutput(os.Stderr) SetupProcess...
pliOS/pliOS
core/init/main.go
GO
mit
768
import { API_PATHS_TOKEN, ApiPaths } from '../shared/constants/api-paths'; import { ENV_SETTINGS_TOKEN, DynamicEnvSettings } from '../shared/constants/env-settings'; import { AnalyticsService } from '../shared/services/analytics.service'; import { LocalCacheService, SessionCacheService } from '../shared/services/cache...
Lyrkan/adrastee-website
src/app/config/providers.ts
TypeScript
mit
2,249
/* The MIT License (MIT) (http://opensource.org/licenses/MIT) Copyright (c) 2015 Jacques Menuet 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...
jbitoniau/RapaLinuxJoystick
src/RLJJoystickEnumerationTrigger.cpp
C++
mit
2,958
/* * Hibernate, Relational Persistence for Idiomatic Java * * Copyright (c) 2011, Red Hat Inc. or third-party contributors as * indicated by the @author tags or express copyright attribution * statements applied by the authors. All third-party contributions are * distributed under license by Red Hat Inc. * * T...
HerrB92/obp
OpenBeaconPackage/libraries/hibernate-release-4.2.7.SP1/project/hibernate-core/src/test/java/org/hibernate/test/jpa/AbstractJPATest.java
Java
mit
6,952
import type { HelixEventSubSubscription } from '@twurple/api'; import { rtfm } from '@twurple/common'; import type { EventSubChannelSubscriptionMessageEventData } from '../events/EventSubChannelSubscriptionMessageEvent'; import { EventSubChannelSubscriptionMessageEvent } from '../events/EventSubChannelSubscriptionMessa...
d-fischer/twitch
packages/eventsub/src/subscriptions/EventSubChannelSubscriptionMessageSubscription.ts
TypeScript
mit
1,336
import { AbstractMessageTemplate } from './AbstractMessageTemplate'; import { IGenericTemplate, IGenericTemplateElement } from '../../interfaces'; import { GenericTemplateBuilder } from '../../builders/templates'; /** * Represents a Generic Template. Used to represent shape of Facebook API object. Type returned by bu...
crisboarna/fb-messenger-bot-api
src/classes/templates/GenericTemplate.ts
TypeScript
mit
1,270
/* The MIT License (MIT) Copyright (c) 2013 Jacob Kanipe-Illig 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, m...
jacobhyphenated/AndroidPokerPlayer
PokerPlayerClient/src/main/java/com/hyphenated/pokerplayerclient/activity/Task/ActionTask.java
Java
mit
2,192
package supl import ( "encoding/xml" "github.com/fgrid/iso20022" ) type Document02700101 struct { XMLName xml.Name `xml:"urn:iso:std:iso:20022:tech:xsd:supl.027.001.01 Document"` Message *InformationResponseSD1V01 `xml:"InfRspnSD1"` } func (d *Document02700101) AddMessage() *InformationRespons...
fgrid/iso20022
supl/InformationResponseSD1V01.go
GO
mit
1,739
package api import ( "errors" entities "github.com/gost/core" gostErrors "github.com/gost/server/errors" "github.com/gost/server/sensorthings/odata" ) // GetObservedProperty todo func (a *APIv1) GetObservedProperty(id interface{}, qo *odata.QueryOptions, path string) (*entities.ObservedProperty, error) { op, er...
Geodan/gost
sensorthings/api/observedproperty.go
GO
mit
2,456
package com.youzi.portal.controller; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.lang3.StringUtils; import org.joda.time.DateTime; import org.springframework.beans.factory.annotation.Autowired; import org.springframewor...
xiaoysec/Youzi
youzi-portal/src/main/java/com/youzi/portal/controller/OrderController.java
Java
mit
2,279
package chess.server.servlets; import java.io.IOException; import javax.servlet.RequestDispatcher; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.se...
Ansari90/chess_server
src/chess/server/servlets/ChessServlet.java
Java
mit
1,098
'use strict'; //Start by defining the main module and adding the module dependencies angular.module(ApplicationConfiguration.applicationModuleName, ApplicationConfiguration.applicationModuleVendorDependencies); // Setting HTML5 Location Mode angular.module(ApplicationConfiguration.applicationModuleName).config(['$loc...
jiashenwang/LG_report
public/application.js
JavaScript
mit
1,265
/** * Copyright (c) 2013-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import assign from 'object-assign'; import ReactVersion from 'shared/ReactVersion'; import ReactFeatureFlags from 'shared/ReactFeatureFl...
silvestrijonathan/react
packages/react/src/React.js
JavaScript
mit
2,007
// Copyright (c) 2015 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, ...
uber/tchannel-go
testutils/test_server.go
GO
mit
16,056
/* Copyright (c) 2012 Stuart Walsh 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...
oftc/oftc-ircd
src/python/pythonloader.cc
C++
mit
2,030
package com.bustiblelemons.cthulhator.character.characterslist.logic; import android.content.Context; import com.bustiblelemons.async.AbsAsynTask; import com.bustiblelemons.cthulhator.character.persistance.SavedCharacter; import com.bustiblelemons.cthulhator.character.persistance.SavedCharactersProvider; import com.b...
bhm/Cthulhator
cthulhator/src/main/java/com/bustiblelemons/cthulhator/character/characterslist/logic/RetreiveCharacterAsyn.java
Java
mit
1,724
package fr.ironcraft.nowel.items; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.Entity; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.world.World; /** * Created by adrien on 10/11/15. */ publi...
ironcraft/nowel
src/main/java/fr/ironcraft/nowel/items/SantaHat.java
Java
mit
1,031
package iso20022 // General information about the corporate action event. type CorporateActionGeneralInformation115 struct { // Reference assigned by the account servicer to unambiguously identify a corporate action event. CorporateActionEventIdentification *RestrictedFINXMax16Text `xml:"CorpActnEvtId"` // Offici...
fgrid/iso20022
CorporateActionGeneralInformation115.go
GO
mit
1,537
package iso20022 // Characteristics of the statement. type Statement40 struct { // Sequential number of the report. ReportNumber *Number3Choice `xml:"RptNb,omitempty"` // Identification of the SecuritiesStatementQuery message sent to request this statement. QueryReference *Max35Text `xml:"QryRef,omitempty"` //...
fgrid/iso20022
Statement40.go
GO
mit
2,670
package cyua.gae.appserver.rmi; import com.google.gson.Gson; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import com.google.gson.stream.JsonReader; import java.io.Reader; import java.io.StringReader; import java.lang.reflect.Field; import java.util.logging....
just-4-fun/Po.Grom
GaeServer/src/cyua/gae/appserver/rmi/RmiGateBase.java
Java
mit
1,862
// Copyright (c) Philipp Wagner. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. package de.bytefish.elasticutils.elasticsearch7.client.bulk.configuration; import de.bytefish.elasticutils.elasticsearch7.client.bulk.listener.LoggingBulkProcesso...
bytefish/ElasticUtils
ElasticUtils/elasticutils-elasticsearch7/src/main/java/de/bytefish/elasticutils/elasticsearch7/client/bulk/configuration/BulkProcessorConfiguration.java
Java
mit
2,209
#ifndef __included_nine_patch_h #define __included_nine_patch_h #include <allegro5/allegro.h> typedef struct nine_patch_bitmap_tag NINE_PATCH_BITMAP; typedef struct nine_patch_padding_tag { int top, right, bottom, left; } NINE_PATCH_PADDING; NINE_PATCH_BITMAP *create_nine_patch_bitmap(ALLEGRO_BITMAP *bmp, bool own...
SiegeLord/Allegro-Nine-Patch
include/allegro_nine_patch.h
C
mit
1,147
from __future__ import unicode_literals from django.db import models from django.conf import settings from django.contrib.auth.models import User from django.db.models.signals import post_save from django.core.validators import MaxValueValidator, MinValueValidator, MinLengthValidator # Create your models here. class...
junaidq1/greendot
src/wishlist/models.py
Python
mit
1,253
/* Copyright (c) 2016, 2018 Andreas F. Borchert 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 rights...
afborchert/pointer-chasing
walltime.hpp
C++
mit
1,684
""" Django settings for gamelize project. For more information on this file, see https://docs.djangoproject.com/en/1.7/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.7/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) i...
danidou/gamelize
gamelize/gamelize/settings.py
Python
mit
2,048
// Saves options to chrome.storage.sync. function save_options() { var defaultfontSize = document.getElementById('defaultfontSize').value; var showAllMessages = document.getElementById('showAllMessages').checked; var showMyMessages = document.getElementById('showMyMessages').checked; var showUsername = document...
aidistan/chrome-weixin-danmu
options.js
JavaScript
mit
2,119
""" Description: This module calls five derivative free algorithms from the scipy.optimize library as well as the DFO algorithm whose source code is included with this package. The scipy algorithms are the Nelder-Mead, Powell, SLSQP, COBYLA and BFGS algorithms. Output: a result object returned from the algorithm If th...
TheClimateCorporation/dfo-algorithm
blackbox_opt/bb_optimize.py
Python
epl-1.0
1,910
/* * Copyright (c) 2021 PANTHEON.tech, s.r.o. 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 or...
opendaylight/controller
opendaylight/md-sal/samples/clustering-test-app/karaf-cli/src/main/java/org/opendaylight/clustering/it/karaf/cli/odl/mdsal/lowlevel/control/UnregisterDefaultConstantCommand.java
Java
epl-1.0
1,632
package edu.nps.moves.dis7; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.Serializable; /** * Section 5.3.7.2. Handles designating operations. COMPLETE * * Copyright (c) 2008-2016, MOVES Institute, Naval Postgraduate School. All * rights reserved. This work is licensed under the ...
debrief/debrief
org.mwc.debrief.dis/src/edu/nps/moves/dis7/DesignatorPdu.java
Java
epl-1.0
9,797
package org.opendaylight.opflex.genie.content.model.mownership; import org.opendaylight.opflex.genie.engine.model.Cat; import org.opendaylight.opflex.genie.engine.model.Item; import org.opendaylight.opflex.modlan.utils.Strings; /** * Created by midvorki on 9/27/14. */ public class MOwnershipComponent extends Item {...
opendaylight/opflex
genie/src/main/java/org/opendaylight/opflex/genie/content/model/mownership/MOwnershipComponent.java
Java
epl-1.0
855
package edu.ncsu.csc.itrust.beans.loaders; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import edu.ncsu.csc.itrust.beans.DrugInteractionBean; /** * A loader for MedicationBeans. * * Loads in information to/from beans...
ModelWriter/Demonstrations
eu.modelwriter.datasets.traceability/CoEST Datasets/iTrust-NASA (!)/itrust_v10_code/iTrust/src/edu/ncsu/csc/itrust/beans/loaders/DrugInteractionBeanLoader.java
Java
epl-1.0
1,388
/* * Copyright (C) 2013 * * 52°North Initiative for Geospatial Open Source Software GmbH * Contact: Andreas Wytzisk * Martin-Luther-King-Weg 24 * 48155 Muenster, Germany * info@52north.org * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse ...
52North/SOS-Test-Suite
sos-20/src/main/java/org/n52/sos/service/it/v2/RequestBuilder.java
Java
epl-1.0
3,715
/* * Copyright (c) 2007-2013 Sonatype, Inc. All rights reserved. * * This program and the accompanying materials are made available under the terms of the Eclipse * Public License Version 1.0, which accompanies this distribution and is available at * http://www.eclipse.org/legal/epl-v10.html. */ package com.sona...
takari/nexus-perf
src/main/java/com/sonatype/nexus/perftest/jmx/ClientSwarmMBeanImpl.java
Java
epl-1.0
2,551
/** * This file is licensed under the University of Illinois/NCSA Open Source License. See LICENSE.TXT for details. */ package edu.illinois.codingtracker.operations.resources; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IResource; import org.eclipse.core.runtime.CoreException; ...
ChangeOrientedProgrammingEnvironment/eclipseReplayer
edu.oregonstate.cope.eclipse.operations/src/edu/illinois/codingtracker/operations/resources/CreatedResourceOperation.java
Java
epl-1.0
2,337
/******************************************************************************* * Copyright (c) 2000, 2016 IBM Corporation 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, an...
elucash/eclipse-oxygen
org.eclipse.jdt.ui/src/org/eclipse/jdt/internal/ui/text/correction/proposals/MissingAnnotationAttributesProposal.java
Java
epl-1.0
5,581
/* * Sonatype Nexus (TM) Open Source Version * Copyright (c) 2008-present Sonatype, Inc. * All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions. * * This program and the accompanying materials are made available under the terms of the Eclipse Public...
scmod/nexus-public
components/nexus-client-core/src/test/java/org/sonatype/nexus/client/rest/BaseUrlTest.java
Java
epl-1.0
2,484
/* Copyright (c) 2015, 2021, Oracle and/or its affiliates. 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. This program is also distributed with certain software (including b...
MariaDB/server
storage/perfschema/unittest/pfs_misc-t.cc
C++
gpl-2.0
3,260
package br.edu.utfpr.dv.sigeu.dao; import org.hibernate.Query; import br.edu.utfpr.dv.sigeu.entities.Pessoa; import br.edu.utfpr.dv.sigeu.entities.Professor; import br.edu.utfpr.dv.sigeu.entities.ProfessorPessoa; import br.edu.utfpr.dv.sigeu.persistence.HibernateDAO; import br.edu.utfpr.dv.sigeu.persistence.Transacti...
utfpr-dv/derdi-dv
sigeu/src/br/edu/utfpr/dv/sigeu/dao/ProfessorPessoaDAO.java
Java
gpl-2.0
1,596
/* This file is part of the Maude 2 interpreter. Copyright 1997-2003 SRI International, Menlo Park, CA 94025, USA. 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...
maude-team/maude
src/Core/lineNumber.hh
C++
gpl-2.0
1,473
/** * 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/BenchmarkTest09582.java
Java
gpl-2.0
2,530
/* * * (C) COPYRIGHT 2010-2015 ARM Limited. All rights reserved. * * This program is free software and is provided to you under the terms of the * GNU General Public License version 2 as published by the Free Software * Foundation, and any use by you of this program is subject to the terms * of such GNU licence....
Honor8Dev/android_kernel_huawei_FRD-L04
drivers/gpu/arm/r9p0-05rel0/backend/gpu/mali_kbase_pm_backend.c
C
gpl-2.0
11,858
package org.antennae.notifyapp.receivers; import android.app.Activity; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.support.v4.content.WakefulBroadcastReceiver; import android.util.Log; import org.antennae.notifyapp.constants.Globals; import org.a...
snambi/gcm_register
app/src/main/java/org/antennae/notifyapp/receivers/GcmBroadcastReceiver.java
Java
gpl-2.0
1,045
/* * aTunes * Copyright (C) Alex Aranda, Sylvain Gaudard and contributors * * See http://www.atunes.org/wiki/index.php?title=Contributing for information about contributors * * http://www.atunes.org * http://sourceforge.net/projects/atunes * * This program is free software; you can redistribute it and/or * mo...
PDavid/aTunes
aTunes/src/main/java/net/sourceforge/atunes/kernel/actions/MoveFolderFromNavigatorAction.java
Java
gpl-2.0
7,385
package com.okirat.fastmusic.adapter; import android.support.v7.widget.CardView; import android.support.v7.widget.RecyclerView; import android.view.View; import android.widget.TextView; import com.android.volley.toolbox.NetworkImageView; import com.okirat.fastmusic.R; /** * Created by Oguz Kirat on 9/9/2015. */ pu...
okrt/FastMusic
app/src/main/java/com/okirat/fastmusic/adapter/SongListRowHolder.java
Java
gpl-2.0
1,212
/** * 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/BenchmarkTest00991.java
Java
gpl-2.0
2,538
/** IAmContent Public Libraries. Copyright (C) 2015-2021 Greg Elderfield @author Greg Elderfield, support@jarchitect.co.uk 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 vers...
IAmContent/public
public-java/io/iamcontent-servos/src/main/java/com/iamcontent/device/servo/command/ServoCommandLineDriver.java
Java
gpl-2.0
3,819
// $Id: Xinterfaces.java,v 1.7 2010/03/23 21:15:34 idgay Exp $ /* This file is provided under a dual BSD/GPLv2 license. When using or redistributing this file, you may do so under either license. GPL LICENSE SUMMARY Copyright(c) 2004-2005 Intel Corporation. All rights reserved. This program is free soft...
epowers/nescc
tools/java/net/tinyos/nesc/dump/xml/Xinterfaces.java
Java
gpl-2.0
3,045
from fsbc.settings import Settings from fsgamesys.FSGSDirectories import FSGSDirectories """ Debug script used to dump information about detected plugins """ def app_main(): FSGSDirectories.initialize() Settings.instance().verbose = False Settings.instance().load() print("base_dir", FSGSDirectories.g...
FrodeSolheim/fs-uae-launcher
launcher/apps/listdirs.py
Python
gpl-2.0
1,587
/* * 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.cfg.annotations; import java.util.HashMap; import javax.pers...
lamsfoundation/lams
3rdParty_sources/hibernate-core/org/hibernate/cfg/annotations/QueryBinder.java
Java
gpl-2.0
13,735
/* <COPYRIGHT> Copyright (c) 2002-2005, University of Nottingham 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 o...
ktg/ect
equip/src/equip/data/BooleanArrayBoxImpl.java
Java
gpl-3.0
2,321
/* Yaqc4j is an specification-based testing framework, based on QuickCheck for Haskell by John Hughes. It makes easier testing task by creating test data automatically through user-defined and built-in generators. Copyright (C) 2010 Universidad Nacional de La Plata This program is free software: you can redistribute ...
pablobarrientos/yaqc4j
src/test/java/ar/edu/unlp/yaqc4j/generators/ConstructorBasedGenTest.java
Java
gpl-3.0
1,925
package edu.berkeley.boinc.client; import edu.berkeley.boinc.BOINCActivity; import edu.berkeley.boinc.R; import edu.berkeley.boinc.utils.Logging; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; imp...
AltroCoin/altrocoin
android/BOINC/src/edu/berkeley/boinc/client/ClientNotification.java
Java
gpl-3.0
5,215
/* Copyright 2015 Rudolf Fiala This file is part of Alpheus AFP Parser. Alpheus AFP Parser 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. ...
quike/alpheusafpparser
src/main/java/com/mgz/afp/lineData/RCD_RecordDescriptor.java
Java
gpl-3.0
17,863
/* Written by Matt Wright, The Center for New Music and Audio Technologies, University of California, Berkeley. Copyright (c) 1996,97,98,99,2000,01,02,03 The Regents of the University of California (Regents). Permission to use, copy, modify, distribute, and distribute modified versions of this software and its docu...
BourgeoisLab/OSC-webgate
src/OSC-client.h
C
gpl-3.0
7,396
//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.gde.iface.model; import java.uti...
avdata99/SIAT
siat-1.0-SOURCE/src/iface/src/ar/gov/rosario/siat/gde/iface/model/CuotaDeudaVO.java
Java
gpl-3.0
9,177
/* SuperBiclustering - A biclustering algorithm designed to * handle sparse and noisy input. * Copyright (C) 2014 Oliver Voggenreiter * * 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, eith...
OliverVoggenreiter/SuperBiclustering
SuperBiclustering/src/scoring/BiclusterSetScorer.java
Java
gpl-3.0
8,550
/* 怪物炸弹 闹钟召唤的小怪 黑水雷 * 双刀的怪物炸弹技能可以使所有怪都变成炸弹类小怪 */ package net.sf.odinms.net.channel.handler; import net.sf.odinms.client.MapleClient; import net.sf.odinms.net.AbstractMaplePacketHandler; import net.sf.odinms.server.life.MapleMonster; import net.sf.odinms.tools.MaplePacketCreator; import net.sf.odinms.tools.data.i...
316181444/Hxms
src/main/java/net/sf/odinms/net/channel/handler/MonsterBombHandler.java
Java
gpl-3.0
1,103
package com.github.angerona.fw.plwithknowledge.logic; import java.util.HashSet; import java.util.Set; import net.sf.tweety.logics.fol.syntax.FOLAtom; import net.sf.tweety.logics.fol.syntax.FolFormula; import net.sf.tweety.logics.fol.syntax.Negation; import net.sf.tweety.logics.pl.syntax.Proposition; import net.sf.twe...
Angerona/angerona-framework
plwithknowledge/src/main/java/com/github/angerona/fw/plwithknowledge/logic/PLWithKnowledgeTranslator.java
Java
gpl-3.0
2,329
package twitter.streaming; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.Map; import java.util.concurrent.LinkedBlockingQueue; import org.apache.http.HttpResponse; import org.apache.http.StatusLine; import org.apache.http.auth...
unlessbamboo/grocery-shop
language/java/storm/examples-spouts/src/main/java/twitter/streaming/ApiStreamingSpout.java
Java
gpl-3.0
4,225
import os, sys, time, DDG4 from DDG4 import OutputLevel as Output from SystemOfUnits import * # # """ DD4hep example setup using the python configuration \author M.Frank \version 1.0 """ def run(): kernel = DDG4.Kernel() install_dir = os.environ['DD4hepINSTALL'] kernel.setOutputLevel('Geant4Converter...
vvolkl/DD4hep
examples/ClientTests/scripts/MiniTel.py
Python
gpl-3.0
1,937
package org.openflexo.replay; import java.util.LinkedList; import java.util.List; import org.openflexo.gina.event.GinaEvent; import org.openflexo.gina.event.UserInteraction; import org.openflexo.pamela.annotations.CloningStrategy; import org.openflexo.pamela.annotations.Embedded; import org.openflexo.pamela.annotatio...
openflexo-team/gina
gina-replay/src/main/java/org/openflexo/replay/InteractionCycle.java
Java
gpl-3.0
3,206
package astraeus.game.model.entity.mob.player.update.mask; import astraeus.game.model.Position; import astraeus.game.model.entity.mob.player.Player; import astraeus.game.model.entity.mob.player.update.PlayerUpdateBlock; import astraeus.game.model.entity.mob.update.UpdateFlag; import astraeus.net.codec.ByteModification...
ProjectOldschool/Server
game/src/main/java/astraeus/game/model/entity/mob/player/update/mask/PlayerFaceCoordinateUpdateBlock.java
Java
gpl-3.0
1,142
/* * Copyright (c) 2006-2016 Marvisan Pty. Ltd. All rights reserved. * Use is subject to license terms. */ /* * OrderMassStatusRequestMsg50SP1TestData.java * * $Id: OrderMassStatusRequestMsg50SP1TestData.java,v 1.1 2011-05-09 08:21:13 vrotaru Exp $ */ package net.hades.fix.message.impl.v50sp1.da...
marvisan/HadesFIX
Model/src/test/java/net/hades/fix/message/impl/v50sp1/data/OrderMassStatusRequestMsg50SP1TestData.java
Java
gpl-3.0
3,440
/* spottone.h */ /* This file is part of a program that implements a Software-Defined Radio. Copyright (C) 2004, 2005, 2006, 2007, 2008 by Frank Brickle, AB2KT and Bob McGwier, N4HY This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published b...
glenoverby/dttsp
src/spottone.h
C
gpl-3.0
2,055
package ua.softserve.rv_018.greentourism.config; import java.io.IOException; import javax.servlet.FilterChain; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.beans.factory.annotation.Autowired; import org....
Social-projects-Rivne/rv-018.java
src/main/java/ua/softserve/rv_018/greentourism/config/AppAuthenticationFilter.java
Java
gpl-3.0
2,926
/* * JasperReports - Free Java Reporting Library. * Copyright (C) 2001 - 2016 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...
MHTaleb/Encologim
lib/JasperReport/src/net/sf/jasperreports/components/iconlabel/IconLabelElementHtmlHandler.java
Java
gpl-3.0
4,690
/* * Copyright (C) 2014 ~ 2018 Deepin Technology Co., Ltd. * * Author: jouyouyun <jouyouwen717@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 Lic...
linuxdeepin/dde-daemon
inputdevices/handle_gsettings.go
GO
gpl-3.0
5,712
package com.supermap.desktop.WorkflowView.meta.metaProcessImplements.spatialStatistics; import com.supermap.analyst.spatialstatistics.SpatialMeasure; import com.supermap.data.DatasetVector; import com.supermap.desktop.Application; import com.supermap.desktop.WorkflowView.ProcessOutputResultProperties; import com.super...
SuperMap-iDesktop/SuperMap-iDesktop-Cross
WorkflowView/src/main/java/com/supermap/desktop/WorkflowView/meta/metaProcessImplements/spatialStatistics/MetaProcessMeanCenter.java
Java
gpl-3.0
1,798
/** * Copyright © 2020 Creativor Studio. * About license information, please see LICENSE.txt. */ package org.rayson.demo.advanced.server; import java.io.IOException; import org.rayson.api.annotation.ServiceConfig; import org.rayson.api.exception.RpcException; import org.rayson.api.server.RpcContext; import org.ra...
creativor-studio/rayson
demo/src/main/java/org/rayson/demo/advanced/server/AdvancedService.java
Java
gpl-3.0
991
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file './Plugins/VcsPlugins/vcsPySvn/SvnMergeDialog.ui' # # Created: Tue Nov 18 17:53:57 2014 # by: PyQt5 UI code generator 5.3.2 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_Sv...
davy39/eric
Plugins/VcsPlugins/vcsPySvn/Ui_SvnMergeDialog.py
Python
gpl-3.0
5,307
/** * Copyright (c) 2015 TerraFrame, Inc. All rights reserved. * * This file is part of Geoprism(tm). * * Geoprism(tm) 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 * L...
terraframe/geodashboard
geoprism-client/src/main/java-gen/base/net/geoprism/data/importer/ExcelUtilDTOBase.java
Java
gpl-3.0
3,014
/* Copyright 2010 Eric Lathrop This file is part of xjoy2key. xjoy2key 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. xjoy2key is distrib...
ericlathrop/xjoy2key
src/config.h
C
gpl-3.0
1,538
package uni.miskolc.ips.ilona.navigation.service.impl; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.semanticweb.owlapi.apibinding.OWLManager; import org.semanticweb.owlapi.formats.OWLXMLDocumentFormat; import org.semanticweb....
ZsoltToth/ilona
navigation/navigation-service-impl/src/main/java/uni/miskolc/ips/ilona/navigation/service/impl/OntologyGenerationServiceImpl.java
Java
gpl-3.0
4,458
/* 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 etomica.meam; import etomica.action.BoxImposePbc; import etomica.action.activity.ActivityIntegrate; import...
ajschult/etomica
etomica-apps/src/main/java/etomica/meam/MEAM_MC.java
Java
mpl-2.0
8,014
/** * Copyright (c) 2013-2016, The SeedStack authors <http://seedstack.org> * * 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 org.seedstack.seed.web; i...
adrienlauer/seed
web/core/src/it/java/org/seedstack/seed/web/WebDiagnosticsIT.java
Java
mpl-2.0
1,426
/* 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/. * * Copyright (c) 2016 Pixida GmbH */ package de.pixida.logtest.automatondefinitions; import java.io.File; import...
Pixida/logtest
logtest-core/src/test/java/de/pixida/logtest/automatondefinitions/JsonAutomatonDefinitionTest.java
Java
mpl-2.0
4,280
/* 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 etomica.normalmode; import etomica.api.IAtom; import etomica.api.IAtomList; import etomica.api.IVector; i...
ajschult/etomica
etomica-apps/src/main/java/etomica/normalmode/ConformationHSDimer.java
Java
mpl-2.0
1,567
/* * 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 com.skelril.skree.content.registry.item.generic; import com.google.common.collect.ImmutableList; impo...
Skelril/Skree
src/main/java/com/skelril/skree/content/registry/item/generic/LapisValueMap.java
Java
mpl-2.0
1,467
/* Copyright (c) 2014 Pathways Community Network Institute * * 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 org.openhmis.domain; import java.sql.Times...
OpenTechStrategies/OpenHMIS
src/main/java/org/openhmis/domain/ReportToParms.java
Java
mpl-2.0
3,474
// BMASHINA // // 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/. // // Copyright 2017 [bk]door.maus #ifndef BMASHINA_BUILDER_NATIVE_DEFINITION_HPP #define BMASHINA_BUI...
bkdoormaus/bmashina
bmashina/include/bmashina/builder/nativeDefinition.hpp
C++
mpl-2.0
2,348
/** * Copyright (c) 2017, RTE (http://www.rte-france.com) * 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 com.powsybl.iidm.modification.tripping; import...
powsybl/powsybl-core
iidm/iidm-modification/src/test/java/com/powsybl/iidm/modification/tripping/NetworkModificationListTest.java
Java
mpl-2.0
1,426
/* * TeleStax, Open Source Cloud Communications Copyright 2012. * and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser ...
RestComm/jss7
cap/cap-impl/src/main/java/org/restcomm/protocols/ss7/cap/service/circuitSwitchedCall/ActivityTestRequestImpl.java
Java
agpl-3.0
4,620
/* * Copyright (C) 2000 - 2021 Silverpeas * * This program 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, or (at your option) any later version. * * As a spec...
SilverDav/Silverpeas-Core
core-api/src/test/java/org/silverpeas/core/calendar/RecurrentCalendarEventCreationTest.java
Java
agpl-3.0
14,082
package digital.upgrade.protostore.dynamo; import net.sitemorph.protostore.CrudException; import net.sitemorph.protostore.CrudIterator; import com.amazonaws.services.dynamodbv2.document.Index; import com.amazonaws.services.dynamodbv2.document.Item; import com.amazonaws.services.dynamodbv2.document.ItemCollection; imp...
Upgrade-Digital/dynamo
src/main/java/digital/upgrade/protostore/dynamo/ItemQueryIterator.java
Java
agpl-3.0
2,001