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 demo; import java.security.Principal; import java.util.HashMap; import java.util.Map; import java.util.UUID; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.security.oauth2.resource.EnableOAuth2Resource; i...
jamesvrooney/building-microservices
livelessons-security/livelessons-security-sso-resource/src/main/java/demo/SsoResourceApplication.java
Java
apache-2.0
1,032
/*------------------------------------------------------------------------- * * walredoserver.c * Process under QD postmaster that manages redo of the WAL by the standby. * * * Copyright (c) 2007-2008, Greenplum inc * *------------------------------------------------------------------------- */ #ifndef WALRE...
hornn/interviews
src/include/postmaster/walredoserver.h
C
apache-2.0
1,677
/* * Copyright 2016 ThoughtWorks, 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 agr...
tomwscott/GoCD
plugin-infra/go-plugin-access/src/com/thoughtworks/go/plugin/access/pluggabletask/JsonBasedPluggableTask.java
Java
apache-2.0
3,366
# Copyright 2015 OpenStack Foundation # 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 requ...
rahulunair/nova
nova/conf/rdp.py
Python
apache-2.0
2,991
/* * Copyright 2000-2016 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...
asedunov/intellij-community
java/java-impl/src/com/intellij/codeInsight/daemon/impl/quickfix/AddVariableInitializerFix.java
Java
apache-2.0
6,040
/* Simple DirectMedia Layer Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
joncampbell123/dosbox-rewrite
vs2015/sdl2/src/render/software/SDL_drawpoint.h
C
gpl-2.0
1,262
/* 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, ...
rawlingsj/gofabric8
vendor/k8s.io/kubernetes/federation/client/clientset_generated/federation_release_1_5/typed/core/v1/fake/fake_core_client.go
GO
apache-2.0
1,577
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
GlenRSmith/elasticsearch
server/src/main/java/org/elasticsearch/search/aggregations/metrics/ParsedMax.java
Java
apache-2.0
1,722
// Copyright 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 "cc/resources/returned_resource.h" #include "cc/resources/transferable_resource.h" namespace cc { TransferableResource::TransferableResource() ...
geminy/aidear
oss/qt/qt-everywhere-opensource-src-5.9.0/qtwebengine/src/3rdparty/chromium/cc/resources/transferable_resource.cc
C++
gpl-3.0
1,142
/* * Copyright 2005,2006 WSO2, Inc. http://www.wso2.org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
nwnpallewela/developer-studio
app-server/plugins/org.wso2.wsf.ide.core/src/org/wso2/wsf/ide/core/utils/RuntimePropertyUtils.java
Java
apache-2.0
5,734
package org.motechproject.http.agent.factory; import org.apache.http.auth.AuthScope; import org.apache.http.auth.UsernamePasswordCredentials; import org.apache.http.client.CredentialsProvider; import org.apache.http.client.protocol.ClientContext; import org.apache.http.impl.client.BasicCredentialsProvider; import org....
koshalt/modules
http-agent/src/main/java/org/motechproject/http/agent/factory/HttpComponentsClientHttpRequestFactoryWithAuth.java
Java
bsd-3-clause
1,607
package registrystorage import ( "errors" "strings" kapi "github.com/GoogleCloudPlatform/kubernetes/pkg/api" kerrors "github.com/GoogleCloudPlatform/kubernetes/pkg/api/errors" "github.com/GoogleCloudPlatform/kubernetes/pkg/util" "github.com/RangelReale/osin" "github.com/openshift/origin/pkg/oauth/api" "githu...
dkorn/origin
pkg/oauth/server/osinserver/registrystorage/storage.go
GO
apache-2.0
7,394
/* Copyright 2011 NativeDriver committers Copyright 2011 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable l...
frdlpz/android-nativedriver
src/com/google/android/testing/nativedriver/server/TextViewElement.java
Java
apache-2.0
1,476
package com.intellij.ide.actions; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.actionSystem.CommonDataKeys; import com.intellij.openapi.editor.Document; import com.intellij.openapi.editor.Editor; import com.intellij.openapi.fileEditor.FileDocumentManager; import com.intellij.open...
idea4bsd/idea4bsd
platform/platform-impl/src/com/intellij/ide/actions/SaveDocumentAction.java
Java
apache-2.0
912
/* Copyright (C) 2000 MySQL AB 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. This program is distributed in the hope that it will be useful, but WITHOUT AN...
liyu1981/mysql51-hack
strings/longlong2str_asm.c
C
gpl-2.0
1,162
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0 and the Server Side Public License, v 1; you may not use this file except * in compliance with, at your election, the Elastic License 2.0 or the Server...
GlenRSmith/elasticsearch
server/src/main/java/org/elasticsearch/index/shard/IllegalIndexShardStateException.java
Java
apache-2.0
1,710
/* Dynamic architecture support for GDB, the GNU debugger. Copyright (C) 1998-2015 Free Software Foundation, Inc. This file is part of GDB. 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 Founda...
armoredsoftware/protocol
measurer/gdb-7.9/gdb/arch-utils.h
C
bsd-3-clause
8,007
package app.hanks.com.conquer.activity; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Map; import android.app.Activity; import android.app.AlertDialog; import android.app.AlertDialog.Builder; import android.app.ProgressDialog; import android.content.DialogInterface;...
lstNull/Conquer
app/src/main/java/app/hanks/com/conquer/activity/FriendActivity.java
Java
apache-2.0
8,563
/* This file is part of Clementine. Copyright 2010, David Sansome <me@davidsansome.com> Clementine 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 optio...
ivan-leontiev/clementine-free-grooveshark
src/widgets/osd_win.cpp
C++
gpl-3.0
1,086
// 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 "chrome/browser/extensions/api/hotword_private/hotword_private_api.h" #include "base/command_line.h" #include "base/lazy_instance.h" #include "b...
s20121035/rk3288_android5.1_repo
external/chromium_org/chrome/browser/extensions/api/hotword_private/hotword_private_api.cc
C++
gpl-3.0
6,453
/* 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, ...
kubernetes/autoscaler
vertical-pod-autoscaler/e2e/vendor/k8s.io/kubernetes/pkg/volume/quobyte/quobyte.go
GO
apache-2.0
15,568
/* * Copyright (C) 2013 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of condition...
zero-ui/miniblink49
third_party/WebKit/Source/platform/exported/WebMediaStreamTrack.cpp
C++
gpl-3.0
4,643
// Licensed to the Software Freedom Conservancy (SFC) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The SFC licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you m...
thanhpete/selenium
java/client/test/org/openqa/selenium/ClickScrollingTest.java
Java
apache-2.0
9,969
package com.twitter.finagle.example.java.thrift; import com.twitter.finagle.ListeningServer; import com.twitter.finagle.Thrift; import com.twitter.finagle.example.thriftscala.Hello; import com.twitter.util.Await; import com.twitter.util.Future; import com.twitter.util.TimeoutException; public final class ThriftServer...
nkhuyu/finagle
finagle-example/src/main/java/com/twitter/finagle/example/java/thrift/ThriftServer.java
Java
apache-2.0
877
/* SPDX-License-Identifier: GPL-2.0 */ /* * mtu3_dr.h - dual role switch and host glue layer header * * Copyright (C) 2016 MediaTek Inc. * * Author: Chunfeng Yun <chunfeng.yun@mediatek.com> */ #ifndef _MTU3_DR_H_ #define _MTU3_DR_H_ #if IS_ENABLED(CONFIG_USB_MTU3_HOST) || IS_ENABLED(CONFIG_USB_MTU3_DUAL_ROLE) ...
mpe/powerpc
drivers/usb/mtu3/mtu3_dr.h
C
gpl-2.0
2,901
/* 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/staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/nop_converter.go
GO
apache-2.0
2,671
#pragma once /*** This file is part of systemd. Copyright 2015 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 Foundation; either version 2.1 of the License, or (at your option...
petrosagg/systemd
src/resolve/resolved-dns-trust-anchor.h
C
gpl-2.0
1,517
// +build !linux,!windows /* Copyright 2014 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 la...
k82cn/kube-arbitrator
vendor/k8s.io/kubernetes/pkg/volume/util/subpath/subpath_unsupported.go
GO
apache-2.0
1,542
/* Simple DirectMedia Layer Copyright (C) 1997-2012 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
ashishlal/pjproject-2.0.1
third_party/sdl/src/video/windows/SDL_windowskeyboard.h
C
gpl-2.0
1,534
/* 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, ...
wanghaoran1988/origin
vendor/k8s.io/kubernetes/staging/src/k8s.io/client-go/kubernetes/typed/storage/v1beta1/storageclass.go
GO
apache-2.0
4,955
package com.intellij.coverage; import com.intellij.execution.configurations.RunConfigurationBase; import com.intellij.execution.configurations.RunnerSettings; import com.intellij.execution.configurations.coverage.CoverageEnabledConfiguration; import com.intellij.execution.process.ProcessHandler; import com.intellij.op...
Lekanich/intellij-community
plugins/coverage-common/src/com/intellij/coverage/CoverageHelper.java
Java
apache-2.0
2,051
/* Launch4j (http://launch4j.sourceforge.net/) Cross-platform Java application wrapper for creating Windows native executables. Copyright (c) 2004, 2007 Grzegorz Kowal All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the ...
0x90sled/droidtowers
tools/launch4j/src/net/sf/launch4j/config/ConfigPersisterException.java
Java
mit
2,054
package lbaas import ( "fmt" "testing" "github.com/gophercloud/gophercloud" "github.com/gophercloud/gophercloud/acceptance/tools" "github.com/gophercloud/gophercloud/openstack/networking/v2/extensions/lbaas/members" "github.com/gophercloud/gophercloud/openstack/networking/v2/extensions/lbaas/monitors" "github....
ashetty1/kedge
vendor/github.com/openshift/origin/cmd/service-catalog/go/src/github.com/kubernetes-incubator/service-catalog/vendor/github.com/gophercloud/gophercloud/acceptance/openstack/networking/v2/extensions/lbaas/lbaas.go
GO
apache-2.0
5,109
package handlers import ( "net/http" "github.com/docker/distribution" "github.com/docker/distribution/context" "github.com/docker/distribution/registry/api/errcode" "github.com/docker/distribution/registry/api/v2" "github.com/gorilla/handlers" "github.com/opencontainers/go-digest" ) // blobDispatcher uses the...
crobby/oshinko-cli
vendor/github.com/openshift/origin/cmd/cluster-capacity/go/src/github.com/kubernetes-incubator/cluster-capacity/vendor/github.com/docker/distribution/registry/handlers/blob.go
GO
apache-2.0
2,701
/* * Copyright (C) 2009, 2010, 2011 Research In Motion Limited. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your...
Lkhagvadelger/phantomjs
src/qt/qtwebkit/Source/WebKit/blackberry/WebKitSupport/BackingStoreClient.cpp
C++
bsd-3-clause
6,894
/* 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, ...
kubernetes/autoscaler
vertical-pod-autoscaler/e2e/vendor/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/grpc_service.go
GO
apache-2.0
5,228
/** * Copyright 2013-2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @providesModule ...
yabhis/react
src/isomorphic/ReactIsomorphic.js
JavaScript
bsd-3-clause
2,006
/* NIOSocket.java -- Copyright (C) 2003 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) ...
SanDisk-Open-Source/SSD_Dashboard
uefi/gcc/gcc-4.6.3/libjava/gnu/java/nio/NIOSocket.java
Java
gpl-2.0
2,497
package de.soulworks.dam.webservice.dao.ektorp; import de.soulworks.dam.domain.Customer; import de.soulworks.dam.webservice.dao.CustomerDao; import org.ektorp.CouchDbConnector; import org.ektorp.ViewQuery; import org.ektorp.support.CouchDbRepositorySupport; import org.ektorp.support.View; import org.slf4j.Logger; impo...
butfriendly/friendly-dam
src/main/java/de/soulworks/dam/webservice/dao/ektorp/EktorpCustomerDao.java
Java
isc
1,870
/* GNU LESSER GENERAL PUBLIC LICENSE Copyright (C) 2006 The XAMJ Project This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your ...
Demannu/hackwars-classic
src/classes/org/xamjwg/html/renderer/UIControl.java
Java
isc
1,521
package victor.clean.lambdas; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.Writer; import java.util.function.Consumer; import java.util.stream.Stream; import org.jooq.lambda.Unchecked; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.dat...
victorrentea/training
talk/clean-code-java8-devoxxfr/src/main/java/victor/clean/lambdas/D2__Loan_Pattern.java
Java
mit
2,046
package mongoDatabaseConnector import ( "errors" "gopkg.in/mgo.v2" ) var connection = make(map[string]*mgo.Session) // Database represents a database in Database type Database struct { serverURL string databaseName string session *mgo.Session database *mgo.Database } // NewDatabase generates a new Datab...
mikevo/goUtils
mongoDatabaseConnector/connector.go
GO
mit
1,681
package com.naio.diagnostic.opengl; import java.util.ArrayList; import com.naio.diagnostic.trames.LogTrame; import com.naio.diagnostic.utils.DataManager; import net.sourceforge.juint.UInt16; import android.content.Context; import android.opengl.GLSurfaceView; import android.view.MotionEvent; /** * A view container...
NaioTechnologies/DiagnOztic
src/com/naio/diagnostic/opengl/MyGLSurfaceView.java
Java
mit
1,106
/* Copyright (c) 2014 code.fm 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, distribute,...
groestl/ductive
src/ductive/parse/locators/IdentityMapping.java
Java
mit
1,226
/* ** ** Copyright 2014, Jules White ** ** */ package net.jmreyes.tutelaserver.model; import java.util.Collection; import java.util.Collections; import javax.persistence.ElementCollection; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Document; import org....
jmreyes/tutela-server
src/main/java/net/jmreyes/tutelaserver/model/Patient.java
Java
mit
2,356
package me.geso.jtt; import java.nio.file.Path; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import me.geso.jtt.escape.Escaper; import me.geso.jtt.escape.HTMLEscaper; import me.geso.jtt.tt.TTSyntax; /** * This is a builder class for the JTT class. * * @author...
tokuhirom/jtt
src/main/java/me/geso/jtt/JTTBuilder.java
Java
mit
2,007
package org.jicunit.framework.internal; import java.util.ArrayList; import java.util.List; import org.junit.runner.Description; import org.junit.runner.Runner; import org.junit.runners.BlockJUnit4ClassRunner; import org.junit.runners.Parameterized; import org.junit.runners.model.FrameworkMethod; import org.junit.runn...
Lucas3oo/jicunit
src/jicunit-framework/src/main/java/org/jicunit/framework/internal/ParameterizedProxyRunner.java
Java
mit
2,664
package com.github.ttwd80.tigerpayroll.model.entity; import static com.mysema.query.types.PathMetadataFactory.*; import com.mysema.query.types.path.*; import com.mysema.query.types.PathMetadata; import javax.annotation.Generated; import com.mysema.query.types.Path; import com.mysema.query.types.path.PathInits; /**...
ttwd80/tigerpayroll
src/main/java/com/github/ttwd80/tigerpayroll/model/entity/QChildSupportPercetage.java
Java
mit
2,537
import { MdButton, MdAnchor } from '@angular2-material/button'; import { MD_CARD_DIRECTIVES } from '@angular2-material/card'; import { MdCheckbox } from '@angular2-material/checkbox'; import { MD_SIDENAV_DIRECTIVES } from '@angular2-material/sidenav'; import { MD_INPUT_DIRECTIVES } from '@angular2-material/input'; impo...
fxck/ngrx-example
src/platform/browser/angular2-material2/index.ts
TypeScript
mit
1,066
#include "pathDebug.h" #include "path.h" #include "../common/io/outputStream.h" #include "../common/io/printWriter.h" #include "../common/io/printTableWriter.h" // USAGE TYPE unsigned int appendPathDataUsageTypeAsString(OutputStream* outputStream, enum PathDataUsageType pathDataUsageType) { if (pathD...
svanacker/cen-electronic
navigation/pathDebug.c
C
mit
2,224
package info.nightscout.android.model.medtronicNg; import java.util.Date; import java.util.List; import info.nightscout.android.model.store.DataStore; import io.realm.RealmModel; /** * Created by Pogman on 19.10.17. */ public interface PumpHistoryInterface extends RealmModel { Date getEventDate(); void s...
Pogman/640gAndroidUploader
app/src/main/java/info/nightscout/android/model/medtronicNg/PumpHistoryInterface.java
Java
mit
704
package com.aiwsolutions.mongo.changes.runner; import com.aiwsolutions.mongo.changes.ChangeSetExecutionException; import com.aiwsolutions.mongo.changes.TestConfiguration; import com.mongodb.client.MongoDatabase; import org.bson.Document; import org.junit.Test; import org.junit.runner.RunWith; import org.springframewor...
hnvcam/mongochanges
src/test/java/com/aiwsolutions/mongo/changes/runner/BsonChangeSetRunnerTest.java
Java
mit
1,741
/** * */ package org.aikodi.java.core.expression.invocation; import org.aikodi.chameleon.core.lookup.LookupException; import org.aikodi.chameleon.oo.type.Type; import org.aikodi.chameleon.oo.type.TypeReference; import org.aikodi.chameleon.oo.type.generics.TypeParameter; import org.aikodi.java.core.language.Java7; ...
markovandooren/jnome
src/org/aikodi/java/core/expression/invocation/SecondPhaseConstraint.java
Java
mit
1,093
package org.gyrotokey.observer; import java.awt.BorderLayout; import java.awt.Color; import java.util.concurrent.BlockingQueue; import javax.swing.JPanel; import org.gyrotokey.NavigationEvent; import org.jfree.chart.ChartFactory; import org.jfree.chart.ChartPanel; import org.jfree.chart.JFreeChart; import org.jfree....
timguy/GyroToKey
GyroToKey/src/main/java/org/gyrotokey/observer/DynamicChart.java
Java
mit
3,274
#ifndef DRIVE_AUTO_HPP #define DRIVE_AUTO_HPP #include <iostream> #include <WPILib.h> #include <queue> #include "TwoMotorGroup.hpp" #include "RobotLocation.hpp" class DriveAuto { public: void move(float inches, float motorVelocity); void axisTurn(float degrees); void wait(float seconds); void toteAlign(); void p...
Iron-Panthers/FRC-2015
src/DriveAuto.hpp
C++
mit
1,149
package org.knowm.xchange.examples.kraken.marketdata; import java.io.IOException; import org.knowm.xchange.Exchange; import org.knowm.xchange.ExchangeFactory; import org.knowm.xchange.currency.CurrencyPair; import org.knowm.xchange.dto.marketdata.Trades; import org.knowm.xchange.kraken.KrakenExchange; import org.know...
mmithril/XChange
xchange-examples/src/main/java/org/knowm/xchange/examples/kraken/marketdata/KrakenTradesDemo.java
Java
mit
2,821
package net.glider.src.network; import net.glider.src.network.packets.AnimationTellServerPacket; import net.glider.src.network.packets.ArmorStandItemSyncPacket; import net.glider.src.network.packets.BuildPacket; import net.glider.src.network.packets.BuildPointSyncPacket; import net.glider.src.network.packets.ClientGra...
kremnev8/AdvancedSpaceStaion-mod
src/main/java/net/glider/src/network/PacketHandler.java
Java
mit
6,683
package aws import ( "net/http" "net/url" "os" "github.com/aws/aws-sdk-go/service/sts" "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/credentials/stscreds" "github.com/aws/aws-sdk-go/aws/endpoints" "github.com/aws/aws-sdk-go/aws/session" "github.com/stelligent/mu/common" ) // return a sessi...
stelligent/mu
provider/aws/init.go
GO
mit
4,442
package com.bitdubai.fermat_dmp_plugin.layer.transaction.incoming_extra_user.developer.bitdubai.version_1.exceptions; import com.bitdubai.fermat_api.FermatException; /** * Created by ciencias on 3/30/15. */ public class CantInitializeCryptoRegistryException extends FermatException { public static final String ...
fvasquezjatar/fermat-unused
DMP/plugin/transaction/fermat-dmp-plugin-transaction-incoming-extra-user-bitdubai/src/main/java/com/bitdubai/fermat_dmp_plugin/layer/transaction/incoming_extra_user/developer/bitdubai/version_1/exceptions/CantInitializeCryptoRegistryException.java
Java
mit
1,101
package com.github.jbman.wichteln; import java.io.FileNotFoundException; import java.util.List; import javax.mail.MessagingException; import com.github.jbman.wichteln.impl.Wichtel; import com.github.jbman.wichteln.impl.WichtelFromFile; import com.github.jbman.wichteln.impl.WichtelLottery; import com.github.jbman.wic...
jbman/wichteln
src/main/java/com/github/jbman/wichteln/WichtelPost.java
Java
mit
2,285
package backend.exceptions; import java.util.Date; import javax.swing.JOptionPane; import frontend.utils.gui.TextView; /** * Exception lorsque l'intervalle entre la date du système et la date de début * d'un prêt ou d'une réservation ne respecte pas les paramètres de * l'application */ @SuppressWarnings("serial...
TheoGauchoux/LudoTech
LudoTech/src/backend/exceptions/IntervalBetweenNowAndStartDateException.java
Java
mit
1,130
package com.sam_chordas.android.stockhawk.data; import net.simonvt.schematic.annotation.AutoIncrement; import net.simonvt.schematic.annotation.DataType; import net.simonvt.schematic.annotation.NotNull; import net.simonvt.schematic.annotation.PrimaryKey; import net.simonvt.schematic.annotation.References; import stati...
sosegon/StockHawk
app/src/main/java/com/sam_chordas/android/stockhawk/data/PriceColumns.java
Java
mit
857
/* MIT License Copyright (c) 2022 Looker Data Sciences, 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, modi...
looker-open-source/components
packages/components/src/Form/Inputs/Combobox/utils/useFocusManagement.ts
TypeScript
mit
2,059
import { Mixin } from './api'; /** * Behaviour that adds childrenReadyCallback that is called when the contents of * the element is ready. * * Uses setTimeout right now, but that might not be the best way to do this. */ const childrenReadyTimeout = Symbol('childrenReadyTimeout'); export const ChildrenReady = Mixi...
LevelFourAB/mara
children-ready.js
JavaScript
mit
856
package com.tpxl.server; import java.beans.PropertyVetoException; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.security.KeyStore; import java.security.KeyStoreException; import java.security.NoSuchAlgorithmException; import java.security.cert.CertificateException;...
TPXL/Secure-messenger
Server/src/com/tpxl/server/Server.java
Java
mit
7,571
package com.ipacc; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.data.Percentage.withPercentage; import java.lang.management.ManagementFactory; import java.lang.management.MemoryPoolMXBean; import java.util.Iterator; import org.junit.Test; import org.junit.runner.RunWith; i...
lucaspate/bugs
SpringAopPermGenLeak/src/test/java/com/ipacc/SpringAopPermgenApplicationTests.java
Java
mit
2,465
package org.knowm.xchange.clevercoin.service.polling; import java.io.IOException; import java.math.BigDecimal; import org.knowm.xchange.Exchange; import org.knowm.xchange.clevercoin.CleverCoinAuthenticated; import org.knowm.xchange.clevercoin.dto.trade.CleverCoinCancelOrder; import org.knowm.xchange.clevercoin.dto.tr...
mmithril/XChange
xchange-clevercoin/src/main/java/org/knowm/xchange/clevercoin/service/polling/CleverCoinTradeServiceRaw.java
Java
mit
2,313
package io.pivotal.sensor.service; import java.util.Date; import io.pivotal.sensor.dao.RFIDEventSensorRepository; //import io.pivotal.sensor.dao.RFIDRepository; import io.pivotal.sensor.dao.RFIDSensorRepository; import io.pivotal.sensor.dao.UserRepository; import io.pivotal.sensor.model.RFID; import io.pivotal.sensor...
martinod1/RFID-TiltSW-MicroService
src/main/java/io/pivotal/sensor/service/RFIDServiceImpl.java
Java
mit
2,082
package scala import ( "bytes" "fmt" "os/exec" ) type ScalaProjectRunner struct { command ScalaCommand project ScalaProject } func NewScalaProjectRunner(command ScalaCommand, project ScalaProject) ScalaProjectRunner { return ScalaProjectRunner{command, project} } func (runner ScalaProjectRunner) RunProject() ...
rnowley/SonicScrewDriver
project/scala/scalaProjectRunner.go
GO
mit
958
#pragma once #include "nod/DiscBase.hpp" namespace nod { class DiscBuilderGCN; class DiscGCN : public DiscBase { friend class DiscMergerGCN; DiscBuilderGCN makeMergeBuilder(SystemStringView outPath, FProgress progressCB); public: DiscGCN(std::unique_ptr<IDiscIO>&& dio, bool& err); bool extractDiscHeaderFile...
AxioDL/NODLib
include/nod/DiscGCN.hpp
C++
mit
1,054
package in.thekreml.plugins.gpio.api; import in.thekreml.plugins.gpio.GlobalServer; import java.util.HashMap; import org.restlet.Restlet; import org.restlet.resource.Get; import org.restlet.security.MapVerifier; public class ApiRestlet extends Restlet { public ApiRestlet() { updateCredentials(); //TODO: Im...
ayan4m1/gpio
src/main/java/in/thekreml/plugins/gpio/api/ApiRestlet.java
Java
mit
1,030
/* Copyright (c) 2007-2016, Arvid Norberg 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 ...
aliakseis/LIII
src/3rdparty/torrent-rasterbar/include/libtorrent/http_stream.hpp
C++
mit
3,806
# Import of the relevant tools import time import numpy as np import theano import theano.tensor as T from theano import pp, config from plotly.tools import FigureFactory as FF import plotly.graph_objs as go from ..io.read_vtk import ReadVTK from .theano_shapescarrier import TheanoShapesCarrier from .surfaces_ma...
jeanfeydy/lddmm-ot
LDDMM_Python/lddmm_python/modules/manifolds/theano_surfacescarrier.py
Python
mit
662
// Copyright (c) 2017 Couchbase, 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...
khlieng/name_pending
vendor/github.com/blevesearch/bleve/index/scorch/segment/empty.go
GO
mit
3,055
/* The MIT License (MIT) Copyright (c) 2015-? suhetao 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, pub...
suhetao/stm32f4_flightcontrol
Matrix/inc/AdditionalMatrix.h
C
mit
1,538
package client.audio; import common.Constants; import java.io.*; import java.util.logging.Logger; import javax.sound.sampled.*; /** * This class maintains the list of sounds * @author Daryl Van Humbeck * I know, this is kind of lame, it only returns instances of SoundEffect and you could do that yourself, but ther...
sphereority/sphereority
client/audio/GameSoundSystem.java
Java
mit
1,840
/* * Copyright (c) 2010-2013, MoPub Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Redistributions of source code must retain the above copyright * notice, this list of con...
eritiaLabsProjects/es.dsie.cordova.plugins.mobpartner
doc/AndroidPublisherSDK-master/MobPartnerWithMoPubDEMO/mopub-sdk/src/test/java/com/mopub/mobileads/HtmlWebViewClientTest.java
Java
mit
24,447
package jme3_ext_xbuf.mergers.relations.linkers; import static jme3_ext_xbuf.mergers.relations.LinkerHelpers.getRef1; import static jme3_ext_xbuf.mergers.relations.LinkerHelpers.getRef2; import java.util.Optional; import org.slf4j.Logger; import com.jme3.animation.AnimControl; import com.jme3.animation.Skeleton; im...
xbuf/jme3_xbuf
jme3_xbuf_loader/src/main/java/jme3_ext_xbuf/mergers/relations/linkers/SkeletonToSpatial.java
Java
cc0-1.0
2,467
package uk.co.doctorbobapplications.mathematicspractice; import android.os.Bundle; //import android.app.Activity; import android.app.ListActivity; import android.view.Menu; import android.widget.ArrayAdapter; import android.util.Log; import java.util.ArrayList; import java.lang.Thread; /** * @author DoctorBob */ pu...
doctorBobApplications/Boilerplate
android/Boilerplate/src/main/java/uk/co/doctorbobapplications/Boilerplate/MainActivity.java
Java
cc0-1.0
1,009
/******************************************************************************* * Copyright (c) 2011, 2016 Eurotech 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 distributi...
markcullen/kura_Windows
kura/org.eclipse.kura.core.deployment/src/main/java/org/eclipse/kura/core/deployment/download/impl/DownloadImpl.java
Java
epl-1.0
9,690
package org.opendaylight.opflex.genie.content.parse.pdataowner; import org.opendaylight.opflex.genie.content.model.mownership.DefinitionScope; import org.opendaylight.opflex.genie.engine.model.Item; import org.opendaylight.opflex.genie.engine.model.Pair; import org.opendaylight.opflex.genie.engine.parse.model.ParseNod...
opendaylight/opflex
genie/src/main/java/org/opendaylight/opflex/genie/content/parse/pdataowner/PGroupNode.java
Java
epl-1.0
984
/* * This file is part of the Jikes RVM project (http://jikesrvm.org). * * This file is licensed to You under the Eclipse Public License (EPL); * 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/eclipse-1.0....
CodeOffloading/JikesRVM-CCO
jikesrvm-3.1.3/rvm/src/org/jikesrvm/compilers/opt/lir2mir/BURS_Common_Helpers.java
Java
epl-1.0
14,033
package com.odcgroup.workbench.ui.action; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IConfigurationElement; import org.eclipse.core.runtime.IExtensionPoint; import org.eclipse.core.runtime.IExtensionRegistry; import org.eclipse.core.runtime.Platform; import org.eclipse.jdt.ui.action...
debabratahazra/DS
designstudio/components/workbench/ui/com.odcgroup.workbench.ui/src/main/java/com/odcgroup/workbench/ui/action/OpenNewModelWizardAction.java
Java
epl-1.0
2,350
/** * Copyright (c) 2012 committers of YAKINDU 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 * Contributor...
Yakindu/statecharts
plugins/org.yakindu.base.xtext.utils.jface/src/org/yakindu/base/utils/jface/help/AbstractUserHelpDocumentationProvider.java
Java
epl-1.0
2,552
/******************************************************************************* * Copyright (c) 2010, 2012 Tasktop Technologies * Copyright (c) 2010, 2011 SpringSource, a division of VMware * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Pu...
Tasktop/code2cloud.server
com.tasktop.c2c.server/com.tasktop.c2c.server.profile.web.ui/src/main/java/com/tasktop/c2c/server/profile/web/ui/client/view/deployment/ArtifactReadOnlyView.java
Java
epl-1.0
2,970
package eu.quanticol.carma.core.ui; import org.eclipse.core.commands.AbstractHandler; import org.eclipse.core.commands.ExecutionEvent; import org.eclipse.core.commands.ExecutionException; import org.eclipse.core.commands.IHandler; import org.eclipse.core.commands.IHandlerListener; import org.eclipse.core.resources.IPro...
Quanticol/CARMA
XTEXT/eu.quanticol.carma.core.ui/src/eu/quanticol/carma/core/ui/TestHandler.java
Java
epl-1.0
920
/* * Copyright 2005-2013 AIGECHIBAOLE. All rights reserved. * Support: http://www.aigechibaole.com * License: http://www.aigechibaole.com/license */ package com.openteach.openshop.server.service.dao.impl; import javax.persistence.FlushModeType; import javax.persistence.NoResultException; import org.spri...
sihai/openshop
server/service/src/main/java/com/openteach/openshop/server/service/dao/impl/SupplierDAOImpl.java
Java
gpl-2.0
1,455
#!/usr/bin/python3 from merge_utils import * host="root@build.funtoo.org" arch_desc="x86-64bit" subarch="intel64-westmere" funtoo_staging_r = GitTree("funtoo-staging", "master", "repos@localhost:ports/funtoo-staging.git", pull=True) head = funtoo_staging_r.head() print(head) success = False if qa_build(host,"funtoo-...
javaJake/funtoo-overlay
funtoo/scripts/merge-funtoo-production.py
Python
gpl-2.0
997
/* * Copyright 2006-2012 The MZmine 2 Development Team * * This file is part of MZmine 2. * * MZmine 2 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 opti...
berlinguyinca/mzmine-fork
src/main/java/net/sf/mzmine/desktop/impl/projecttree/ProjectTreeModel.java
Java
gpl-2.0
6,678
package se.kirc.math.regression; import org.apache.commons.math.FunctionEvaluationException; import org.apache.commons.math.linear.Array2DRowRealMatrix; import org.apache.commons.math.linear.ArrayRealVector; import org.apache.commons.math.linear.DecompositionSolver; import org.apache.commons.math.linear.InvalidMatrixE...
menzzana/geisa
src/main/java/se/kirc/math/regression/LogisticRegression.java
Java
gpl-2.0
5,212
/* Copyright 1987, 1988, 1998 The Open Group Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in ...
twobob/buildroot-kindle
output/build/xlib_libXmu-1.1.0/src/GrayPixmap.c
C
gpl-2.0
4,583
/* Copyright (C) 1998 Pyrosoft Inc. (www.pyrosoftgames.com), Matthew Bogue 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 version. T...
cipriancraciun/netpanzer
src/NetPanzer/Weapons/ShellWeapon.hpp
C++
gpl-2.0
1,175
/* Copyright_License { XCSoar Glide Computer - http://www.xcsoar.org/ Copyright (C) 2000-2021 The XCSoar Project A detailed list of copyright holders can be found in the file "AUTHORS". This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License ...
sandrinr/XCSoar
src/Computer/ConditionMonitor/ConditionMonitorSunset.hpp
C++
gpl-2.0
1,406
package com.advance.scaffold.quartz; import com.app.common.StringUtils; import com.app.common.spring.ApplicationUtils; import org.springframework.util.ReflectionUtils; import java.lang.reflect.Method; /** * <p> * 执行定时任务 * </p> * * @author Caratacus * @since 2016-12-29 */ public class ScheduleRunnable implemen...
Caratacus/advance-scaffold
advance-scaffold/src/main/java/com/advance/scaffold/quartz/ScheduleRunnable.java
Java
gpl-2.0
1,129
/* Copyright_License { XCSoar Glide Computer - http://www.xcsoar.org/ Copyright (C) 2000-2021 The XCSoar Project A detailed list of copyright holders can be found in the file "AUTHORS". This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License ...
sandrinr/XCSoar
src/Operation/ConsoleOperationEnvironment.cpp
C++
gpl-2.0
1,300
package br.com.procempa.save.entity; import java.util.Calendar; import javax.persistence.Entity; import javax.persistence.Temporal; import javax.persistence.TemporalType; import org.jboss.seam.annotations.Name; @Entity @Name("internacao") public class Internacao extends SaveAbstract { /** * */ private stati...
cidadeportoalegre/save
save-ejb/src/main/java/br/com/procempa/save/entity/Internacao.java
Java
gpl-2.0
1,324
// XDF AxisLocationOutOfBoundsException Class // CVS $Id$ // AxisLocationOutOfBoundsException.java Copyright (C) 2000 Brian Thomas, // ADC/GSFC-NASA, Code 631, Greenbelt MD, 20771 /* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as pu...
brianthomas/jXDF
src/gov/nasa/gsfc/adc/xdf/AxisLocationOutOfBoundsException.java
Java
gpl-2.0
1,230
package com.migestion.test.pagos; import java.util.Date; import com.migestion.model.Cheque; import com.migestion.model.DetalleFormaPagoCheque; import com.migestion.model.DetalleFormaPagoEfectivo; import com.migestion.model.DetallePago; import com.migestion.model.PagoCliente; import com.migestion.model.ValoresPredefin...
iriber/miGestionModel
src/test/java/com/migestion/test/pagos/TestAddPagoCliente.java
Java
gpl-2.0
2,472
package server import ( "log" "os" "github.com/cleitonmarx/webcrawler/config" "github.com/cleitonmarx/webcrawler/server/controllers" "github.com/cleitonmarx/webcrawler/services" "github.com/codegangsta/negroni" "github.com/dimfeld/httptreemux" ) //Server encapsulates a HTTP server type Server struct { config...
cleitonmarx/webcrawler
server/server.go
GO
gpl-2.0
1,992
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'ggpo/gui/ui/savestatesdialog.ui' # # Created: Tue Aug 25 22:55:14 2015 # by: PyQt4 UI code generator 4.10.4 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.f...
poliva/pyqtggpo
ggpo/gui/ui/savestatesdialog_ui.py
Python
gpl-2.0
2,980