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
/** * Licensed to Apereo under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright ownership. Apereo * licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use * this file except in compli...
ChristianMurphy/uPortal
uPortal-rendering/src/main/java/org/apereo/portal/portlet/rendering/worker/ThreadNamingPortletExecutionInterceptorAdaptor.java
Java
apache-2.0
4,393
// Copyright 2019 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 "media/gpu/gpu_video_decode_accelerator_helpers.h" namespace media { GpuVideoDecodeGLClient::GpuVideoDecodeGLClient() = default; GpuVideoDecode...
youtube/cobalt
third_party/chromium/media/gpu/gpu_video_decode_accelerator_helpers.cc
C++
bsd-3-clause
1,213
// Copyright 2012-present Oliver Eilhard. All rights reserved. // Use of this source code is governed by a MIT-license. // See http://olivere.mit-license.org/license.txt for details. package elastic import ( "fmt" "net/url" "golang.org/x/net/context" "gopkg.in/olivere/elastic.v5/uritemplates" ) // IndicesDelet...
hackintoshrao/minio
vendor/gopkg.in/olivere/elastic.v5/indices_delete_template.go
GO
apache-2.0
3,232
/* * Zed Attack Proxy (ZAP) and its related class files. * * ZAP is an HTTP/HTTPS proxy for assessing web application security. * * Copyright 2013 The ZAP Development Team * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. *...
ccgreen13/zap-extensions
src/org/zaproxy/zap/extension/spiderAjax/AjaxSpiderAPI.java
Java
apache-2.0
6,538
/* * Copyright WSO2 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 i...
dhanuka84/carbon-apimgt
components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/UserAwareAPIConsumer.java
Java
apache-2.0
4,054
/* 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, ...
olegshaldybin/kubernetes
pkg/kubelet/kuberuntime/kuberuntime_sandbox.go
GO
apache-2.0
7,156
package runonceduration import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/runtime/schema" ) // SchemeGroupVersion is group version used to register these objects var SchemeGroupVersion = schema.GroupVersion{Group: "", Version: runtime.APIVersionInternal} // Kind takes an unqualified kind and retu...
imcsk8/origin
pkg/quota/apiserver/admission/apis/runonceduration/register.go
GO
apache-2.0
1,058
/* * Copyright 2012-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
deki/spring-boot
spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/web/client/RestClientExcludeFilter.java
Java
apache-2.0
2,973
/* * * Copyright 2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
vmarusic/springfox
springfox-schema/src/main/java/springfox/documentation/schema/TypeNameExtractor.java
Java
apache-2.0
4,898
/* 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, ...
Miciah/origin
vendor/k8s.io/kubernetes/staging/src/k8s.io/apiserver/pkg/endpoints/handlers/fieldmanager/internal/managedfields.go
GO
apache-2.0
8,016
// 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 "config.h" #include "modules/encryptedmedia/EncryptedMediaUtils.h" namespace blink { namespace { const char kTemporary[] = "temporary"; const ...
guorendong/iridium-browser-ubuntu
third_party/WebKit/Source/modules/encryptedmedia/EncryptedMediaUtils.cpp
C++
bsd-3-clause
2,579
/* 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 law or agreed to in writing, ...
humblec/glusterblock-provisioner
vendor/k8s.io/kubernetes/pkg/client/restclient/versions.go
GO
apache-2.0
2,396
/* 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, ...
dereknex/kubernetes
cmd/kube-scheduler/app/config/config.go
GO
apache-2.0
2,750
// Copyright 2015 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/tabs/app_base_window.h" #include "extensions/browser/app_window/app_window.h" #include "extensions/browser/app_win...
Chilledheart/chromium
chrome/browser/extensions/api/tabs/app_base_window.cc
C++
bsd-3-clause
2,971
// 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 ...
vt09/bazel
src/test/java/com/google/devtools/build/lib/actions/FailActionTest.java
Java
apache-2.0
2,583
/* 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, ...
pwittrock/reference-docs
vendor/k8s.io/kubernetes/staging/src/k8s.io/code-generator/_test/clientset/internal/clientset.go
GO
apache-2.0
2,773
// Copyright 2017 The Gitea 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 models import ( "testing" "github.com/stretchr/testify/assert" ) func TestLookupRepoRedirect(t *testing.T) { assert.NoError(t, PrepareTestDatab...
spacetourist/gitea
models/repo_redirect_test.go
GO
mit
2,086
/* Copyright 2015 The Kubernetes Authors All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
GertiPoppel/kubernetes
pkg/registry/endpoint/etcd/etcd.go
GO
apache-2.0
2,083
/* 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, ...
wongma7/kubernetes
test/e2e_node/critical_pod_test.go
GO
apache-2.0
5,776
/* 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, ...
crobby/oshinko-cli
vendor/k8s.io/kubernetes/pkg/registry/core/service/portallocator/controller/repair.go
GO
apache-2.0
7,306
// Copyright 2017 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...
jackfrancis/kubernetes
vendor/github.com/google/cadvisor/container/containerd/errdefs/grpc.go
GO
apache-2.0
4,465
/* Copyright 2020 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/cloud-provider-gcp
vendor/k8s.io/controller-manager/pkg/leadermigration/config/config.go
GO
apache-2.0
3,804
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
qwerty4030/elasticsearch
server/src/main/java/org/elasticsearch/monitor/fs/FsService.java
Java
apache-2.0
3,264
package com.intellij.psi.templateLanguages; import com.intellij.lexer.Lexer; import com.intellij.openapi.editor.colors.TextAttributesKey; import com.intellij.openapi.fileTypes.SyntaxHighlighter; import com.intellij.psi.tree.IElementType; import org.jetbrains.annotations.NotNull; import static com.intellij.psi.TokenTy...
idea4bsd/idea4bsd
platform/lang-api/src/com/intellij/psi/templateLanguages/TemplateDataHighlighterWrapper.java
Java
apache-2.0
964
package subnets import ( "github.com/mitchellh/mapstructure" "github.com/rackspace/gophercloud" "github.com/rackspace/gophercloud/pagination" ) type commonResult struct { gophercloud.Result } // Extract is a function that accepts a result and extracts a subnet resource. func (r commonResult) Extract() (*Subnet, ...
jmelis/machine
vendor/github.com/rackspace/gophercloud/openstack/networking/v2/subnets/results.go
GO
apache-2.0
4,146
/* 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...
livingbio/kubernetes
pkg/registry/service/registry.go
GO
apache-2.0
3,390
sap.ui.define([ "sap/ui/test/opaQunit" ], function (opaTest) { "use strict"; QUnit.module("Worklist"); opaTest("Should see the table with all entries", function (Given, When, Then) { // Arrangements Given.iStartMyApp(); //Actions When.onTheWorklistPage.iLookAtTheScreen(); // Assertions Th...
saphka/grunt-openui5-templates
test/expected/wl_standalone_no_unit/webapp/test/integration/WorklistJourney.js
JavaScript
mit
1,780
//This file is automatically rebuilt by the Cesium build process. /*global define*/ define(function() { 'use strict'; return "#ifdef QUANTIZATION_BITS12\n\ attribute vec4 compressed;\n\ #else\n\ attribute vec4 position3DAndHeight;\n\ attribute vec3 textureCoordAndEncodedNormals;\n\ #endif\n\ uniform vec3 u_cent...
denverpierce/denverpierce.github.io
Cesium/Source/Shaders/GlobeVS.js
JavaScript
mit
4,800
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2022 Ryo Suzuki // Copyright (c) 2016-2022 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include <Siv3D/Common.hpp> # i...
Siv3D/OpenSiv3D
Siv3D/src/Siv3D-Platform/WindowsDesktop/Siv3D/Renderer3D/D3D11/D3D11Renderer3DCommand.hpp
C++
mit
10,934
package com.breeze.query; import com.breeze.metadata.IEntityType; import com.breeze.metadata.Metadata; /** * Abstract base class for all query processing logic. * @author IdeaBlade * */ public abstract class QueryProcessor { protected Metadata _metadata; protected QueryProcessor(Metadata metadata) {...
Breeze/breeze.server.java
breeze-hibernate/src/main/java/com/breeze/query/QueryProcessor.java
Java
mit
1,523
package com.desmond.demo.plan.activity; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import com.desmond.demo.box.model.Drug; import com.desmond.demo.plan.model.DrugPlan; import com.desmond.demo.plan.view.DayPlanView; import com.desmond.demo.plan.view.DrugPlanDetailView; /** * Created b...
wzh404/drug
demo/src/main/java/com/desmond/demo/plan/activity/DrugPlanDetailActivity.java
Java
mit
1,110
#pragma once #include "LuaLibIF.h" class CLuaCommandEnv { public: CLuaCommandEnv(lua_State* L); operator LPCTSTR() { return m_lasterror; } // Set the command environment for a function at stacktop: void SetCmdEnvironment(void); // Check if a symbol in the command environment exists and is of a specific type: ...
JohnHind/Winsh.lua
Winsh/src/CLuaCommandEnv.h
C
mit
1,003
/** * @author 0737019 */ package servlet.admin; import java.io.IOException; import java.util.ArrayList; import javax.servlet.RequestDispatcher; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax...
GabrielGhe/Woove
src/servlet/admin/ManageTracksAndAlbums.java
Java
mit
5,010
package cn.sharesdk.demo.platform.renren; import com.mob.MobSDK; import cn.sharesdk.demo.entity.ResourcesManager; import cn.sharesdk.framework.Platform; import cn.sharesdk.framework.PlatformActionListener; import cn.sharesdk.framework.ShareSDK; import cn.sharesdk.renren.Renren; /** * Created by yjin on 2017/6/22. ...
MobClub/ShareSDK-for-Android
SampleFresh/app/src/main/java/cn/sharesdk/demo/platform/renren/RenrenShare.java
Java
mit
2,018
package com.socialteinc.socialate; import android.content.Context; import android.content.Intent; import android.support.test.InstrumentationRegistry; import android.support.test.filters.LargeTest; import android.support.test.filters.SmallTest; import android.support.test.rule.ActivityTestRule; import android.support....
Socialate/furry-sniffle
app/src/androidTest/java/com/socialteinc/socialate/RegisterEmailTest.java
Java
mit
1,803
/* * Copyright 2002-2004 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
dachengxi/spring1.1.1_source
test/org/springframework/beans/factory/xml/XmlListableBeanFactoryTests.java
Java
mit
5,659
/* * This file is part of RebornCore, licensed under the MIT License (MIT). * * Copyright (c) 2021 TeamReborn * * 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
RebornCore/src/main/java/reborncore/client/screen/builder/ScreenHandlerBuilder.java
Java
mit
3,735
#pragma once #include <vulkan/vulkan.h> class VulkanInstance; class VulkanSurface; class VulkanDevice { public: VulkanDevice(const VulkanInstance& instance, const VulkanSurface& surface); ~VulkanDevice(); void waitIdle(); VkPhysicalDevice getVkPhysicalDevice() const; VkDevice getVkDevice() const; VkQueue ge...
joyforever/VulkanTutorials
framework/renderer/vulkan_device.hpp
C++
mit
756
/** */ package IFML.Core.provider; import IFML.Core.CoreFactory; import IFML.Core.CorePackage; import IFML.Core.InteractionFlowModel; import IFML.Extensions.ExtensionsFactory; import java.util.Collection; import java.util.List; import org.eclipse.emf.common.notify.AdapterFactory; import org.eclipse.emf.common.not...
ifml/ifml-editor
plugins/IFMLEditor.edit/src/IFML/Core/provider/InteractionFlowModelItemProvider.java
Java
mit
13,891
/* Copyright 2005 Guillaume Duhamel Copyright 2005-2006 Theo Berkau Copyright 2008 Filipe Azevedo <pasnox@gmail.com> This file is part of Yabause. Yabause is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; e...
superusercode/RTC3
Real-Time Corruptor/BizHawk_RTC/yabause/src/qt/YabauseSoftGL.cpp
C++
mit
1,744
/** * Copyright (c) 2004-2011 Wang Jinbao(Julian Wong), http://www.ralasafe.com * Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php */ package org.ralasafe.db; import org.ralasafe.ObjectNewer; import org.ralasafe.db.MapStorageObjectNewer; import org.ralasafe.db.MapStorgeObject; impo...
colddew/ralasafe
ralasafe-engine/src/main/java/org/ralasafe/db/DefaultSingleValueTableAdapter.java
Java
mit
1,331
package engine import ( "time" ) // DockerTimeoutError occers when the request was timeout type DockerTimeoutError struct { duration time.Duration transition string } func (err *DockerTimeoutError) Error() string { return "Could not transition to " + err.transition + "; timed out after waiting " + err.duration...
pottava/docker-webui
app/engine/docker-error.go
GO
mit
804
#ifndef _ESTRUTURA #define _ESTRUTURA #include <stdio.h> #include <string.h> #include <stdlib.h> struct variavel { char *nome; char *tipo; int endereco; struct variavel *next; }; struct instrucao { int endereco; char *instrucao; struct instrucao *next; }; struct ifAddr { int jz; struct ifAddr *next; }; s...
rgllm/uminho
03/PL/tp2/src/estrutura.h
C
mit
1,367
/* * Powered By [柳丰] * Web Site: http://www.trend.com.cn */ package com.trend.hbny.service; import org.springframework.stereotype.Component; import org.springframework.transaction.annotation.Transactional; import java.util.*; import javacommon.base.*; import javacommon.util.*; import cn.org.rapid_framework.util...
neolfdev/dlscxx
java_src/com/trend/hbny/service/RDayLineManager.java
Java
mit
1,279
/* The MIT License (MIT) Copyright (c) 2014 Pierre Lindenbaum 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, me...
vd4mmind/jvarkit
src/main/java/com/github/lindenb/jvarkit/io/LocationAwareOutputStream.java
Java
mit
2,189
package com.hkm.slider.SliderTypes; import android.annotation.SuppressLint; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.widget.ImageView; import android.widget.TextView; import com.hkm.slider.R; /** * Created by hesk on 11/6/15. */ public abstract cl...
jjhesk/LoyalNativeSlider
library/src/main/java/com/hkm/slider/SliderTypes/AdvancedTextSliderView.java
Java
mit
994
#include "stdafx.h" #include "CTypeAttack.h" #include "Bullet.h" #include "SkillManager.h" #include "ClientManager.h" #include "CTypeAttackBullet.h" CTypeAttack::CTypeAttack(float angle, Point startPosition, Player* ownerPlayer):Skill(ownerPlayer),mLifeTime(0.f),mAngle(angle),mStartPosition(startPosition),mExpl...
jihwankim/CSM
src/CSMGameProject/CSMGameServer/CTypeAttack.cpp
C++
mit
933
package routing import ( jwt "github.com/dgrijalva/jwt-go" "github.com/labstack/echo" "github.com/labstack/echo/middleware" ) const ( //JWTContextKey is used to set the ContextKey of the JWT middleware JWTContextKey = "user_token" ) var ( jwtMiddlewares = []echo.MiddlewareFunc{} ) //AddJWTMiddleware will add ...
go-zero-boilerplate/facades
routing/middlewares_jwt_auth.go
GO
mit
857
/* * Copyright (c) 2020 Jon Chambers * * 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, publis...
relayrides/pushy
dropwizard-metrics-listener/src/test/java/com/eatthepath/pushy/apns/metrics/dropwizard/DropwizardApnsClientMetricsListenerTest.java
Java
mit
5,149
package restaurant_bayou.interfaces; import java.util.List; import restaurant_bayou.WaiterAgent; import restaurant_bayou.CashierAgent.Check; import restaurant_bayou.CustomerAgent.AgentEvent; import restaurant_bayou.CustomerAgent.AgentState; import restaurant_bayou.HostAgent.Menu; import simcity.RestMenu; /** * A sa...
Narwhalprime/simcity201-team-project
src/restaurant_bayou/interfaces/Customer.java
Java
mit
975
package main import ( "bytes" "fmt" "github.com/oliveroneill/hanserver/hanapi" "github.com/oliveroneill/hanserver/hanapi/reporting" "github.com/oliveroneill/hanserver/hancollector/imagepopulation" "gopkg.in/alecthomas/kingpin.v2" "io" "os" ) func main() { configPath := kingpin.Arg("config", "Config file for ...
oliveroneill/hanserver
hancollector/main.go
GO
mit
1,052
package com.haxademic.demo.draw.shapes.shader; import java.util.ArrayList; import com.haxademic.core.app.P; import com.haxademic.core.app.PAppletHax; import com.haxademic.core.app.config.AppSettings; import com.haxademic.core.app.config.Config; import com.haxademic.core.debug.DebugView; import com.haxademic.core.draw...
cacheflowe/haxademic
src/com/haxademic/demo/draw/shapes/shader/Demo_MatCap.java
Java
mit
2,659
package slogo.view; import java.io.File; import java.io.FilenameFilter; import java.util.List; import java.util.stream.Collectors; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.geometry.Pos; import javafx.scene.Node; import javafx.scene.Scene; import javafx.scene.control.Button; imp...
as577/slogo
src/slogo/view/SplashScreen.java
Java
mit
4,043
package commandParsing.drawableObectGenerationInterfaces; import gui.factories.PaneFactory; import java.util.HashMap; import java.util.Map; import javafx.scene.paint.Color; import drawableobject.DrawableObject; /** * This class generates the actual Pane drawableObjects to give to the GUI. * * @author Stanley Yuan...
akyker20/Slogo_IDE
src/commandParsing/drawableObectGenerationInterfaces/PaneGenerator.java
Java
mit
1,286
package iso20022 // Details of the transaction in the cancellation inside a batch transfer. type CardPaymentTransactionDetails34 struct { // Currency associated with the transaction. Currency *ActiveCurrencyCode `xml:"Ccy,omitempty"` // Total amount of the transaction. TotalAmount *ImpliedCurrencyAndAmount `xml:...
fgrid/iso20022
CardPaymentTransactionDetails34.go
GO
mit
1,081
package com.aspose.cells.examples.articles; import com.aspose.cells.PageSetup; import com.aspose.cells.PrintCommentsType; import com.aspose.cells.PrintErrorsType; import com.aspose.cells.PrintOrderType; import com.aspose.cells.Workbook; import com.aspose.cells.Worksheet; import com.aspose.cells.examples.Utils;...
fahadadeel/Aspose.Cells-for-Java
Examples/src/main/java/com/aspose/cells/examples/articles/SettingPrintoptions.java
Java
mit
1,905
package com.kolyadko_polovtseva.book_maze.restcontroller; import com.kolyadko_polovtseva.book_maze.entity.Book; import com.kolyadko_polovtseva.book_maze.entity.LibraryBook; import com.kolyadko_polovtseva.book_maze.entity.RegisterRecord; import com.kolyadko_polovtseva.book_maze.entity.User; import com.kolyadko_polovtse...
DaryaKolyadko/TheBookMaze
src/main/java/com/kolyadko_polovtseva/book_maze/restcontroller/BookRestController.java
Java
mit
3,206
package iso20022 // Calculation of the current situation of a line item as a result of the submission of a commercial dataset. type LineItemDetails8 struct { // Sequential number assigned to a line item. LineItemIdentification *Max70Text `xml:"LineItmId"` // Name of the product detailed in the corresponding line ...
fgrid/iso20022
LineItemDetails8.go
GO
mit
4,128
/* * The MIT License * * Copyright (c) 2010, Brad Larson * * 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,...
bklarson/Hudson-Priority-Sorter-Plugin
src/main/java/hudson/queueSorter/PrioritySorterJobProperty.java
Java
mit
2,965
package iso20022 // Identification of an entity involved in an activity. type PartyIdentification48 struct { // Unique and unambiguous way to identify an organisation. Identification *PartyIdentification44Choice `xml:"Id"` // Alternate identification for a party. AlternateIdentification *AlternatePartyIdentifica...
fgrid/iso20022
PartyIdentification48.go
GO
mit
1,586
package com.tscfdi.comprobante.nomina; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import java.math.BigDecimal; /** * Created by lugty on 12/9/16. */ @XmlAccessorType(XmlAccessType.FIELD) public class DataAccionesOT...
lugty/TCFDI
src/main/java/com/tscfdi/comprobante/nomina/DataAccionesOTitulos.java
Java
mit
1,159
package com.asher_stern.crf.crf.run; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.apache.log4j.Logger; import com.asher_stern.crf.crf.CrfLogLikelihoodFunction; import com.asher_stern.crf.crf.CrfModel; import com.asher_stern.crf.crf.CrfTags; imp...
asher-stern/CRF
src/main/java/com/asher_stern/crf/crf/run/CrfTrainer.java
Java
mit
8,551
package com.abewy.android.apps.contacts; import android.graphics.Typeface; import android.preference.PreferenceManager; import com.abewy.android.apps.contacts.core.CoreApplication; import com.abewy.android.apps.contacts.imageloader.ImageLoader; public class ContactsApplication extends CoreApplication { private boole...
jonathangerbaud/Contacts
src/com/abewy/android/apps/contacts/ContactsApplication.java
Java
mit
1,167
package fi.rudi.ssoidh.authentication; import org.springframework.security.core.Authentication; import org.springframework.security.core.AuthenticationException; import org.springframework.security.core.context.SecurityContextHolder; import org.springframework.web.filter.GenericFilterBean; import javax.servlet.Filter...
hollannikas/ssoidh
src/main/java/fi/rudi/ssoidh/authentication/StatelessAuthenticationFilter.java
Java
mit
1,509
package command import ( "context" "reflect" ) type StringArgsFunc func(ctx context.Context, args ...string) error type StringMapArgsFunc func(ctx context.Context, args map[string]string) error type MapArgsFunc func(ctx context.Context, args map[string]interface{}) error type JSONArgsFunc func(ctx context.Context, ...
ungerik/go-command
getfunc.go
GO
mit
8,330
/* Copyright (C) 2012 by CapCaval.org 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,...
MrLoNee/C3
01_src/org/capcaval/c3/sample/tutorial1/HelloWorldApplication.java
Java
mit
2,352
/* * The MIT License (MIT) * * Copyright (c) 2017 abel533@gmail.com * * 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...
pagehelper/pagehelper-spring-boot
pagehelper-spring-boot-autoconfigure/src/main/java/com/github/pagehelper/autoconfigure/PageHelperProperties.java
Java
mit
5,011
/* * project name : equinox-self * package name : org.appfuse.service * file name : UserManagerService.java * class name : UserManagerService * Created on 2005-7-22 16:41:43 * creator ---Joson Yuan * author comments: * */ package org.appfuse.service.sysadmin; import java.util.List; import org.appfuse.d...
chinayuans/sysadmin
src/service/org/appfuse/service/sysadmin/MenuItemManagerService.java
Java
mit
969
package org.buildingsmart.mvd.commands; import org.buildingsmart.mvd.tmvd.util.IOHelper; 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.resources.I...
Bitub/step
org.buildingsmart.mvd.editor/src/org/buildingsmart/mvd/commands/MVD2TextualMVDGenerationHandler.java
Java
epl-1.0
1,813
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- nautilus-search-directory-file.h: Subclass of NautilusFile to implement the the case of the search directory Copyright (C) 2003 Red Hat, Inc. This program is free software; you can redistribute it and/or modify it under the te...
awalton/nautilus
libnautilus-private/nautilus-search-directory-file.h
C
gpl-2.0
2,264
from distutils.core import setup from distutils.extension import Extension from Cython.Build import cythonize import sys # set profiling globally from Cython.Compiler.Options import directive_defaults directive_defaults['profile'] = False # extra compile flags extra_compile_args = ["-O0"] #sys.argv.append("build_ext...
gunny26/python-gcode
setup.py
Python
gpl-2.0
2,225
/** * 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/BenchmarkTest15543.java
Java
gpl-2.0
2,593
package org.oscarehr.e2e.util; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.StringReader; import java.io.StringWriter; import java.nio.charset.StandardCharsets; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util...
jujaga/bxe2e
src/main/java/org/oscarehr/e2e/util/EverestUtils.java
Java
gpl-2.0
12,787
/* * Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); * you may not use...
sencko/NALB
nalb2013/src/org/apache/pdfbox/pdmodel/common/function/type4/Operators.java
Java
gpl-2.0
5,832
/* * dnsa: DNS administration * Copyright (C) 2012 - 2013 Iain M Conochie <iain-AT-thargoid.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 version 2 of the License,...
shihad1972/cmdb
old/dnsa_base_sql.h
C
gpl-2.0
6,872
/** * 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/BenchmarkTest14537.java
Java
gpl-2.0
2,583
# -*- coding: utf-8 -*- import logging import os from lxml import etree from pytrainer.lib.xmlUtils import XMLParser from pytrainer.gui.dialogs import fileChooserDialog, guiFlush from pytrainer.core.activity import Activity from sqlalchemy.orm import exc class garminFIT(): def __init__(self, parent = None, validate=...
pytrainer/pytrainer
plugins/garmin-fit/garmin-fit.py
Python
gpl-2.0
3,975
#ifndef KEXEC_PPC_H #define KEXEC_PPC_H #define MAXBYTES 128 #define MAX_LINE 160 #define CORE_TYPE_ELF32 1 #define CORE_TYPE_ELF64 2 extern unsigned char setup_simple_start[]; extern uint32_t setup_simple_size; extern struct { uint32_t spr8; } setup_simple_regs; extern unsigned char setup_dol_start[]; extern uint...
pmundt/kexec-tools-sh
kexec/arch/ppc/kexec-ppc.h
C
gpl-2.0
1,939
/* * Copyright (C) 2009-2018 Slava Semushin <slava.semushin@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 2 of the License, or * (at your option) any later ve...
aarexer/mystamps
src/main/java/ru/mystamps/web/feature/series/importing/sale/JdbcSeriesSalesImportDao.java
Java
gpl-2.0
3,066
// This file is part of BULL, a program for phylogenetic simulations // most of the code was written by Mark T. Holder. // This program is for internal use by the lab of Dr. Tandy Warnow only. // Do not redistribute the code. It is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without e...
mtholder/bull
src/parameter.hpp
C++
gpl-2.0
7,642
/** * 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/BenchmarkTest02297.java
Java
gpl-2.0
6,108
#!/usr/bin/python # # getAddress.py - Rick Wightman, February 2014 # # Use GoogleMaps API to get a street address range from a # given postal code. # import urllib2 import urllib import sys import xml.etree.ElementTree as ET iNArg = len(sys.argv) if iNArg < 2: print sys.argv[0],' <postal code>' exit(1) postalCod...
wightman/SoMeUtil
getAddress.py
Python
gpl-2.0
956
/* Linux driver for Philips webcam (C) 2004-2006 Luc Saillard (luc@saillard.org) NOTE: this version of pwc is an unofficial (modified) release of pwc & pcwx driver and thus may have bugs that are not present in the original version. Please send bug reports and support requests to <luc@saillard.org>. The...
andi34/kernel_samsung_espresso-cm
drivers/media/video/pwc/pwc-timon.h
C
gpl-2.0
2,435
package com.virtuoel.unreal.item; import net.minecraft.client.model.ModelPlayer; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.EnumRarity; import net.minecraft.item.Item; import net.minecraft.item.ItemArmor; ...
Virtuoel/Unreal-1.8
src/main/java/com/virtuoel/unreal/item/ItemArmorShieldBelt.java
Java
gpl-2.0
2,029
/** * 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...
marylinh/Benchmark
src/main/java/org/owasp/benchmark/testcode/BenchmarkTest01317.java
Java
gpl-2.0
2,858
package com.americanexpress.screenscraping.client; import java.io.IOException; import java.math.BigDecimal; import java.net.MalformedURLException; import java.text.NumberFormat; import java.text.ParseException; import java.util.Currency; import java.util.Locale; import com.gargoylesoftware.htmlunit.Cache; import com....
johnemcbride/americanexpress
src/main/java/com/americanexpress/screenscraping/client/AmexUKClient.java
Java
gpl-2.0
2,744
/** * 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/BenchmarkTest00348.java
Java
gpl-2.0
2,928
/* linphone, gtk-glade interface. Copyright (C) 2008 Simon MORLAT (simon.morlat@linphone.org) 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...
win95/LinphoneV1
gtk-glade/chat.c
C
gpl-2.0
3,940
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package eu.jug.jugtorinoexaples.sampledsl; import static java.util.Arrays.asList; import static java.util.Collections.emptyList; impor...
thermz/JugTorinoExamples
src/main/java/eu/jug/jugtorinoexaples/sampledsl/AndStruct.java
Java
gpl-2.0
1,390
package fr.knux14.snapdesk; import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import javax.swing.BorderFactory; import javax.swing.DefaultListModel; import javax.swing.JButton; import javax.swing.JList; import javax.swing.JPanel; import ...
Knux14/SnapDesk
src/main/java/fr/knux14/snapdesk/PanelFriends.java
Java
gpl-2.0
3,806
package com.iq.ams.service.invoice; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import org.iq.exception.BusinessException; import org.iq.exception.ServiceException; import org.iq.logger.LocalLogger; import org.iq.service.BaseService; import org.iq.service.Service; import org.iq.util.S...
iquesters/ams
src/com/iq/ams/service/invoice/PrepareInvoiceGenerationService.java
Java
gpl-2.0
2,830
#ifndef AY8910_H #define AY8910_H #define MAX_8910 5 #define ALL_8910_CHANNELS -1 struct AY8910interface { int num; /* total number of 8910 in the machine */ int baseclock; int mixing_level[MAX_8910]; mem_read_handler portAread[MAX_8910]; mem_read_handler portBread[MAX_8910]; mem_write_handler portAwrite[MAX_8...
Neo2003/mame4all-pi-adv
src/sound/ay8910.h
C
gpl-2.0
1,312
""" Copyright (C) 2014, Vincenzo Pirrone <pirrone.v@gmail.com> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is...
sp4x/xpeppers-addressbook
addressbook/urls.py
Python
gpl-3.0
1,024
/** * APNS.java * If you can't run this demo, * try to modify android:minSdkVersion in AndroidManifest.xml * to right level. */ package com.apns.demo2; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.Int...
JKY/apnsd
sdks/client/android/others/example2/src/com/apns/demo2/APNS.java
Java
gpl-3.0
2,612
/* * Copyright 2012 Alberto Salmerón Moreno * * This file is part of CherryBerry - https://github.com/berti/CherryBerry. * * “Pomodoro Technique® is a registered trademark of Francesco Cirillo. This * application is not affiliated by, associated with nor endorsed by the * Pomodoro Technique® or Francesco Ciril...
berti/CherryBerry
src/com/primoberti/cherryberry/CherryBerryActivity.java
Java
gpl-3.0
10,178
/* * Copyright © 2013 Changsha Shishuo Network Technology Co., Ltd. All rights reserved. * 长沙市师说网络科技有限公司 版权所有 * http://www.shishuo.com */ package com.shishuo.cms.action.manage; import java.io.File; import javax.servlet.http.HttpServletRequest; import org.springframework.stereotype.Controller; import org.springf...
wongminbin/CMS
src/main/java/com/shishuo/cms/action/manage/ManageUpLoadAction.java
Java
gpl-3.0
1,854
// // Decompiled by Procyon v0.5.30 // package com.intenso.jira.plugins.synchronizer.rest.model; import org.boon.json.annotations.JsonInclude; import org.codehaus.jackson.annotate.JsonProperty; import org.codehaus.jackson.annotate.JsonIgnoreProperties; @JsonIgnoreProperties(ignoreUnknown = true) public class Remot...
IrbisChaos/synchronizer
src/main/java/com/intenso/jira/plugins/synchronizer/rest/model/RemoteWorkflowIncomingTransitionsT.java
Java
gpl-3.0
946
package com.tour.ws.model.entities; import java.io.Serializable; import javax.persistence.*; /** * The persistent class for the TOUR_ROLES_USUARIO database table. * */ @Entity @Table(name="TOUR_ROLES_USUARIO") @NamedQuery(name="TourRolesUsuario.findAll", query="SELECT t FROM TourRolesUsuario t") public class Tou...
mrsistemasytecnologia/aplicaciones
WSGoSmartEJB/ejbModule/com/tour/ws/model/entities/TourRolesUsuario.java
Java
gpl-3.0
1,267
/** * */ package org.georchestra.ldapadmin.ds; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Timestamp; import java.util.Date; import java.util.HashMap; import java.util.Map; /** * Searches the tokens before date provided. * * @author Mauricio Pazo...
pgiraud/georchestra
ldapadmin/src/main/java/org/georchestra/ldapadmin/ds/QueryUserTokenExpiredCommand.java
Java
gpl-3.0
1,832
#! /usr/bin/env python import syslog import agoclient from WSDiscovery import * client = agoclient.AgoConnection("onvif") def messageHandler(internalid, content): if "command" in content: if content["command"] == "getvideoframe": print "nada" client.add_handler(messageHandler) # do a web service discovery ...
aphexddb/agocontrol
devices/onvif-old/agoonvif.py
Python
gpl-3.0
868