repo_name
stringlengths
6
101
path
stringlengths
4
300
text
stringlengths
7
1.31M
RSP-Falcon-9/redact_backend
src/main/java/cz/falcon9/redact/backend/services/impl/AdminServiceImpl.java
<reponame>RSP-Falcon-9/redact_backend<filename>src/main/java/cz/falcon9/redact/backend/services/impl/AdminServiceImpl.java<gh_stars>0 package cz.falcon9.redact.backend.services.impl; import java.util.List; import java.util.Optional; import org.springframework.beans.factory.annotation.Autowired; import org.springframe...
XiaojiaoChen/PneuDriveRaspberryPi
Src/framework/frameInc/rosserialInc/map_msgs/GetMapROI.h
#ifndef _ROS_SERVICE_GetMapROI_h #define _ROS_SERVICE_GetMapROI_h #include <rosserialInc/nav_msgs/OccupancyGrid.h> #include <rosserialInc/ros/msg.h> #include <stdint.h> #include <string.h> #include <stdlib.h> namespace map_msgs { static const char GETMAPROI[] = "map_msgs/GetMapROI"; class GetMapROIRequest : public...
BIJOY-SUST/ACM---ICPC
Competitive Programing Problem Solutions/Dynamic Programming/674 - Coin Change.cpp
<reponame>BIJOY-SUST/ACM---ICPC /* BIJOY CSE-25th Batch Shahjalal University of Science and Technology */ ///Accepted.............solution ///next solution will be optimization #include<bits/stdc++.h> //#define pi 3.14159265358979323846264338328 //#define pi acos(-1) //#define valid(tx...
Laszlo23/torus-website
test/unit/controllers/network-controller-test.js
<filename>test/unit/controllers/network-controller-test.js import assert from 'assert' import nock from 'nock' import { createSandbox } from 'sinon' import NetworkController from '../../../src/controllers/network/NetworkController' import { getNetworkDisplayName } from '../../../src/utils/utils' const noop = () => {}...
kaylyu/ministore
models/order.go
<filename>models/order.go package models //获取订单列表 type OrderGetListRequest struct { APIRequest StartCreateTime string `json:"start_create_time,omitempty"` //开始时间 2020-03-25 12:05:25 EndCreateTime string `json:"end_create_time,omitempty"` //结束时间 2020-04-25 12:05:25 StartUpdateTime string `json:"s...
youletme/o2-admin
server/src/main/java/beer/o2/modules/sys/domain/role/entity/SysUserRoleDO.java
<reponame>youletme/o2-admin package beer.o2.modules.sys.domain.role.entity; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import javax.persistence.*; import java.util.Date; /** * @Author:bomber * @Date:Created in 3:47 下午 2020/5/18 * @Description: 用户与...
xenolog/fuel
deployment/puppet/l23network/lib/puppet/parser/functions/debug__dump_to_file.rb
<reponame>xenolog/fuel<filename>deployment/puppet/l23network/lib/puppet/parser/functions/debug__dump_to_file.rb require 'yaml' require 'json' Puppet::Parser::Functions::newfunction(:debug__dump_to_file, :doc => <<-EOS debug output to file EOS ) do |argv| File.open(argv[0], 'w'){ |file| file.write argv[1].t...
yuhongsun96/opennars
src/main/java/org/opennars/control/concept/ProcessGoal.java
<reponame>yuhongsun96/opennars /* * The MIT License * * Copyright 2018 The OpenNARS authors. * * 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 li...
copslock/broadcom_cpri
sdk-6.5.20/libs/sdklt/bcmltx/general/bcmltx_copy_offset.c
/*! \file bcmltx_copy_offset.c * * Copy a field from input to output and apply an offset to the output * field. There is no reverse transform for this operation - it is * forward only. */ /* * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LIC...
spacelis/mint-search
neo4j-plugin/src/main/scala/uk/ac/cdrc/mintsearch/index/LegecyNeo4JIndex.scala
package uk.ac.cdrc.mintsearch.index import java.util.concurrent.TimeUnit.SECONDS import org.neo4j.graphdb.Node import org.neo4j.graphdb.index.Index import uk.ac.cdrc.mintsearch.WeightedLabelSet import uk.ac.cdrc.mintsearch.graph.NeighbourAwareContext import uk.ac.cdrc.mintsearch.index.Neo4JIndexTypes._ import uk.ac.c...
jia57196/code41
project/c++/mri/src/web/src/com/jdsu/xtreme/service/ApplianceEntityService.java
/******************************************************************************* * Copyright (2012, 2013) JDSU. All rights reserved. ******************************************************************************/ package com.jdsu.xtreme.service; import java.util.List; import com.jdsu.xtreme.model.Appliance;...
ElonaFoobar/ElonaFoobar
src/elona/initialize_map_types.cpp
#include "area.hpp" #include "calc.hpp" #include "character.hpp" #include "character_status.hpp" #include "ctrl_file.hpp" #include "data/types/type_map.hpp" #include "deferred_event.hpp" #include "game.hpp" #include "i18n.hpp" #include "inventory.hpp" #include "item.hpp" #include "itemgen.hpp" #include "map.hpp" #inclu...
FanGaoXS/Yuekeblog
src/main/java/cn/wqk/blog/service/ArticleService.java
package cn.wqk.blog.service; import cn.wqk.blog.pojo.Article; import org.springframework.stereotype.Service; import java.util.Date; import java.util.List; @Service public interface ArticleService { /** * 顺序列出所有文章 * @return */ List<Article> selectAllArticle(); /** * 根据时间倒序列出所有文章,时间离现在...
MHotchin/RLEBitmap
src/WeatherAPI_com/128x128/night/116.h
// // This file is AUTOMATICALLY GENERATED, and should not be edited unless you are certain // that it will not be re-generated anytime in the future. As generated code, the // copyright owner(s) of the generating program do NOT claim any copyright on the code // generated. // // Run Length Encoded (RLE) bitmaps...
tristanseifert/cubeland
shared/world/FileWorldReader+Writing.cpp
/** * Implements the components of the file world reader to write world data to the file. */ #include "FileWorldReader.h" #include "FileWorldSerialization.h" #include "chunk/Chunk.h" #include "chunk/ChunkSlice.h" #include "block/BlockIds.h" #include "util/LZ4.h" #include "io/Format.h" #include <Logging.h> #include ...
JaideepGuntupalli/Web-Development-UDY
33_Express/first_app/index.js
const express = require("express"); const app = express(); // app.use((req, res) => { // console.log("We got a new request!"); // res.send("We got your request! This is the response"); // }); app.get("/r/:subreddit", (req, res) => { const { subreddit } = req.params; res.send(`<h1>Welcome to ${subreddi...
debrief/pepys-import
tests/config_file_tests/test_config_file.py
<filename>tests/config_file_tests/test_config_file.py<gh_stars>1-10 import os import unittest from contextlib import redirect_stdout from importlib import reload from io import StringIO from unittest.mock import patch import pytest import config from importers.replay_importer import ReplayImporter from pepys_import.c...
wrgl/core
pkg/diff/table_reader_test.go
<gh_stars>1-10 // SPDX-License-Identifier: Apache-2.0 // Copyright © 2021 Wrangle Ltd package diff import ( "encoding/csv" "io" "testing" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "github.com/wrgl/wrgl/pkg/ingest" "github.com/wrgl/wrgl/pkg/objects" objmock "github.com/wrgl/wr...
k1LoW/koma
lib/koma/ext/specinfra/command/redhat/v7/inventory.rb
<gh_stars>10-100 class Specinfra::Command::Redhat::V7::Inventory < Specinfra::Command::Redhat::Base::Inventory class << self def get_service "systemctl list-unit-files --quiet -t service | cat" end end end
openstack/manila
manila/tests/api/v2/test_share_types.py
# Copyright 2011 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 required by applicable l...
gridgentoo/k8s-multicluster-ingress
vendor/k8s.io/ingress-gce/pkg/healthchecks/fakes.go
<gh_stars>100-1000 /* 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 agr...
m-entrup/EFTEMj
EFTEMj-SR-EELS/src/main/java/de/m_entrup/EFTEMj_SR_EELS/correction/SR_EELS_Polynomial_2D.java
<reponame>m-entrup/EFTEMj /** * EFTEMj - Processing of Energy Filtering TEM images with ImageJ * * Copyright (c) 2015, <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * *...
jpwerka/SistemaSFG
Utils/uFormBase01.h
//--------------------------------------------------------------------------- #ifndef uFormBase01H #define uFormBase01H //--------------------------------------------------------------------------- #include <Classes.hpp> #include <Controls.hpp> #include <StdCtrls.hpp> #include <Forms.hpp> #include "uSfgToolbar.h" #incl...
dtbell99/certification_javase8_programmer1
Topics/DeclarationsAndAccessControl/AccessModifiers/protected_details/p3/SubSub.java
<filename>Topics/DeclarationsAndAccessControl/AccessModifiers/protected_details/p3/SubSub.java package p3; import p2.Sub; class SubSub extends Sub { public static void main(String[] args) { SubSub ss = new SubSub(); ss.action(); } }
piougy/CzechIdMng
Realization/backend/core/core-impl/src/main/java/eu/bcvsolutions/idm/core/model/repository/listener/IdmAuditStrategy.java
package eu.bcvsolutions.idm.core.model.repository.listener; import java.io.Serializable; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import org.apach...
duarterafael/Conformitate
MainProject/use-4.0.0-323/src/gui/org/tzi/use/gui/util/GridBagHelper.java
/* * USE - UML based specification environment * Copyright (C) 1999-2004 <NAME>, University of Bremen * * 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, ...
adamcvj/SatelliteTracker
Latest/venv/Lib/site-packages/pyface/tasks/tests/test_task_layout.py
# Standard library imports. import unittest # Enthought library imports. from pyface.tasks.api import HSplitter, PaneItem, Tabbed, VSplitter from ..task_layout import LayoutContainer class LayoutItemsTestCase(unittest.TestCase): """ Testing that the layout types play nice with each other. This is a regressi...
fty57/fundamentals-react-native
fty57App/src/otherFiles/contador/ContadorV2.js
<filename>fty57App/src/otherFiles/contador/ContadorV2.js import React, { useState} from "react" import { Text } from "react-native" import Estilo from "../components/estilo" import ContadorDisplay from "./ContadorDisplay" import ContadorBotoes from "./ContadorBotoes" export default props => { const [num, setNu...
yasir2000/brown-bear
plugins/document/scripts/document/components/Folder/FolderContent.test.js
/* * Copyright (c) BrownBear, 2019 - present. All Rights Reserved. * * This file is a part of Tuleap. * * Tuleap 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 * (a...
INYEONGKIM/BOJ
BOJ4072.py
r="" while True: t=input() if t=="#": break s=t.split() l=len(s) for i in range(l): r+=s[i][::-1] if i==l-1: r+="\n" else: r+=" " print(r,end="")
joern-kalz/double-entry
server/src/test/java/com/github/joern/kalz/doubleentry/integration/test/BalancesApiTest.java
<reponame>joern-kalz/double-entry<gh_stars>0 package com.github.joern.kalz.doubleentry.integration.test; import com.github.joern.kalz.doubleentry.integration.test.setup.TestSetup; import com.github.joern.kalz.doubleentry.integration.test.setup.TestTransactionEntry; import com.github.joern.kalz.doubleentry.models.Accou...
consumr-project/cp
src/client/components/company.js
angular.module('tcp').directive('company', [ 'RUNTIME', 'EVENTS', 'DOMAIN', 'Navigation', 'Services', 'Session', 'utils', 'utils2', 'lodash', '$q', '$window', 'i18n', 'slug', function (RUNTIME, EVENTS, DOMAIN, Navigation, Services, Session, utils, utils2, lodash, ...
velmuruganvelayutham/certifier
src/main/java/com/velmurugan/certifier/dao/VerificationTokenDao.java
package com.velmurugan.certifier.dao; import com.velmurugan.certifier.entity.VerificationToken; public interface VerificationTokenDao extends GenericDao<VerificationToken> { }
mmurzin/otus_java_2018_01
L02.1-memory-homework/src/main/java/ru/otus/l021/InstrumentationApp.java
package ru.otus.l021; import java.lang.instrument.Instrumentation; public class InstrumentationApp { private static Instrumentation instrumentation; public static void premain(String args, Instrumentation inst) { instrumentation = inst; } static void printObjectSize(Object o) { if (i...
JonaC22/react-md
docs/src/shared/constants/ActionTypes.js
export const FETCH_REQUEST = 'FETCH_REQUEST'; export const FETCH_SUCCESS = 'FETCH_SUCCESS'; export const FETCH_FAILURE = 'FETCH_FAILURE'; export const FETCH_DOCGEN_REQUEST = 'FETCH_DOCGEN_REQUEST'; export const FETCH_DOCGEN_SUCCESS = 'FETCH_DOCGEN_SUCCESS'; export const FETCH_DOCGEN_FAILURE = 'FETCH_DOCGEN_FAILURE'; ex...
gminteer/tenpai-buddy
client/src/App.js
import React from 'react'; import {ApolloProvider} from '@apollo/react-hooks'; import {Provider as ReduxProvider} from 'react-redux'; import ApolloClient from 'apollo-boost'; import store from './slices'; import PagePicker from './pages'; const client = new ApolloClient({ request(operation) { const token = loca...
jalkanen/azure-sdk-for-java
keyvault/data-plane/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/messagesecurity/JWSObject.java
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.microsoft.azure.keyvault.messagesecurity; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.JsonProcessingExcept...
DavDag/WebGL-basic-lib
lib/extra/stack.js
/** @author: <NAME> <EMAIL> */ import {Mat4} from "../all.js"; /** * @class Matrix Stack implementation. */ export class MatrixStack { DEPTH_LIMIT = 128; #array; /** * Constructor. */ constructor() { this.#array = [Mat4.Identity()]; } /** * Retrieve the Matrix at head of the stack. * I...
AtScaleInc/Impala
thirdparty/cyrus-sasl-2.1.23/saslauthd/auth_dce.c
<filename>thirdparty/cyrus-sasl-2.1.23/saslauthd/auth_dce.c /* MODULE: auth_dce */ /* COPYRIGHT * Copyright (c) 1997-2000 Messaging Direct Ltd. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are ...
GasimGasimzada/liquid-engine
engine/src/liquid/core/SwappableVector.h
<filename>engine/src/liquid/core/SwappableVector.h #pragma once namespace liquid { /** * @brief Swappable vector * * Dynamic array that does not * retain order of items but allows * for items to be removed from anywhere * in O(1) time. * * When erasing an item from the middle * of the array, the last item in...
PopCap/GameIdea
Engine/Source/Runtime/AIModule/Classes/Navigation/PathFollowingComponent.h
<gh_stars>0 // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #pragma once #include "AITypes.h" #include "AI/Navigation/NavigationTypes.h" #include "Components/ActorComponent.h" #include "AIResourceInterface.h" #include "PathFollowingComponent.generated.h" AIMODULE_API DECLARE_LOG_CATEGORY_EXTERN(LogPathFo...
OSADP/SEMI-ODE
ode/Development/ASN.1/JavaAPI/semi/src/main/java/com/bah/ode/asn/oss/dsrc/PriorityState.java
<gh_stars>0 /*************************************************************/ /* Copyright (C) 2016 OSS Nokalva, Inc. All rights reserved.*/ /*************************************************************/ /* THIS FILE IS PROPRIETARY MATERIAL OF OSS NOKALVA, INC. * AND MAY BE USED ONLY BY DIRECT LICENSEES OF OSS NOKALV...
LaurenceWarne/second-space
core/src/test/java/laurencewarne/secondspace/common/manager/ConnectionManagerTest.java
<reponame>LaurenceWarne/second-space package laurencewarne.secondspace.common.manager; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.mockito.ArgumentMatchers.eq; import com.artemis.ComponentMapper; import com.artem...
medismailben/llvm-project
clang/test/Refactor/Extract/extract-header-inline.h
// RUN: clang-refactor-test perform -action extract -selected=extract %s | FileCheck %s ; void extractInline(int x) { // CHECK: "inline int extracted(int x) {\nreturn x + 1;\n}\n\n" [[@LINE]]:1 // extract-begin: +1:11 int y = x + 1; // extract-end: -1:16 }
RusDavies/indigo
indigo_drivers/ccd_apogee/bin_externals/libapogee/PromFx2Io.h
<reponame>RusDavies/indigo<gh_stars>10-100 /*! * 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) 2012 Apogee Imaging Systems, Inc. * \class PromFx2Io *...
julialong/voogasalad
src/authoring_environment/attribute_editor/CreatePlayerButton.java
<gh_stars>0 package authoring_environment.attribute_editor; import javafx.scene.control.Button; public class CreatePlayerButton extends Button{ public static final String CREATE_NEW_PLAYER = "Create Player"; public CreatePlayerButton() { super(CREATE_NEW_PLAYER); this.setOnAction(e-> { new PlayerAttribut...
cquiro/librarium-angularjs
src/app/services/currentUser.service.js
angular.module('librarium') .factory('CurrentUserService', ['UserPersistence', function (UserPersistence) { const currentUserService = {}; currentUserService.currentUser = function () { return JSON.parse(UserPersistence.getUserData()); }; currentUserService.userCreds = function (...
yxun/Notebook
python/leetcode/657_judge_route_circle.py
<reponame>yxun/Notebook<gh_stars>1-10 #%% """ - Robot Return to Origin / Judge Route Circle - https://leetcode.com/problems/robot-return-to-origin/ - Easy There is a robot starting at position (0, 0), the origin, on a 2D plane. Given a sequence of its moves, judge if this robot ends up at (0, 0) after it completes its...
ritel126/baas
gaea-platform/user-dashboard/src/app/assets/src/routes/LogManagement/loglist.js
import React, { PureComponent, Fragment } from 'react'; import { connect } from 'dva'; import { Form, Card, Button, Table, Col, Row, Input, DatePicker, Icon } from 'antd'; import PageHeaderLayout from '../../layouts/PageHeaderLayout'; import styles from './loglist.less'; import { defineMessages, IntlProvider } from "re...
slachiewicz/aws-sdk-java-v2
http-clients/netty-nio-client/src/main/java/software/amazon/awssdk/http/nio/netty/internal/ChannelAttributeKeys.java
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "lice...
ouankou/rose
projects/PolyOpt2/src/Main.cpp
<gh_stars>100-1000 /* * Main.cpp: This file is part of the PolyOpt project. * * PolyOpt: a Polyhedral Optimizer for the ROSE compiler * * Copyright (C) 2011 the Ohio State University * * This program can be redistributed and/or modified under the terms * of the license specified in the LICENSE.txt file at the r...
caputomarcos/mongorest
tests/errors/read_only_field_error.py
# -*- encoding: UTF-8 -*- from __future__ import absolute_import, unicode_literals from mongorest.errors import ReadOnlyFieldError from mongorest.testcase import TestCase class TestReadOnlyFieldError(TestCase): def test_read_only_field_error_sets_correct_fields(self): self.assertEqual( ReadO...
onedata/onezone-gui
src/app/locales/en/components/login-box.js
<filename>src/app/locales/en/components/login-box.js import header from './login-box/header'; import loginFormContainer from './login-box/login-form-container'; import socialBoxList from './login-box/social-box-list'; export default { header, loginFormContainer, socialBoxList, unknownZoneName: 'unknown', get...
Ed-XCF/bali
bali/tests.py
<reponame>Ed-XCF/bali<filename>bali/tests.py<gh_stars>10-100 from concurrent import futures import grpc from ._utils import get_service_adder from .interceptors import ProcessInterceptor class GRPCTestBase: server = None server_class = None # must provided in inherit class port = 50001 service_tar...
slankas/OSKE
LAS-Common-NLP/src/main/java/edu/ncsu/las/model/nlp/StanfordNLP.java
package edu.ncsu.las.model.nlp; import java.util.ArrayList; import java.util.List; import java.util.Properties; import org.json.JSONArray; import de.uni_mannheim.minie.MinIE; import de.uni_mannheim.minie.annotation.AnnotatedProposition; import de.uni_mannheim.utils.coreNLP.CoreNLPUtils; import edu.stanford.nlp.ling....
jsoref/cf-ui
packages/cf-test-store/src/createMockStore.js
import configureStore from 'redux-mock-store'; import thunk from 'redux-thunk'; export default state => configureStore([thunk])(state);
bxio/csc360
A3/html/search/classes_62.js
var searchData= [ ['boolean',['Boolean',['../classjava_1_1lang_1_1_boolean.html',1,'java::lang']]], ['byte',['Byte',['../classjava_1_1lang_1_1_byte.html',1,'java::lang']]] ];
njoroge33/py_learn
flow_control_08/no_multiples_of_34.py
# Write a function that takes a number and returns a list of integers from 0 to that number # excluding multiples of 3 and 4 # for more info on this quiz, go to this url: http://www.programmr.com/no-multiples-34-0 def remove_mult_of_3_and_4(num): lst = [0] try: for i in range(0, num + 1): ...
Barysman/omim
map/map_tests/booking_availability_cache_test.cpp
#include "testing/testing.hpp" #include "map/booking_filter_cache.hpp" #include <chrono> #include <string> using namespace booking::filter::availability; using namespace std::chrono; namespace { UNIT_TEST(AvailabilityCache_Smoke) { Cache cache(2 /* maxCount */, 0 /* expiryPeriodSeconds */); std::string kHotelI...
MythicalFish/mythical.fish
src/components/icons/regular/ChevronDoubleLeft.js
<gh_stars>1-10 import React from 'react' const ChevronDoubleLeft = props => ( <svg fill='currentColor' viewBox='0 0 448 512' width='1em' height='1em' {...props} > <path d='M390.3 473.9L180.9 264.5c-4.7-4.7-4.7-12.3 0-17L390.3 38.1c4.7-4.7 12.3-4.7 17 0l19.8 19.8c4.7 4.7 4.7 12.3 0 17L246.4 ...
Lyubosumaz/softuni-react-course-project
client/src/services/redux/ducks/menu.js
const MENU_SELL_ITEM = 'react-softuni-project/forest-runner/menu/sell-item'; const MENU_EQUIP_ITEM = 'react-softuni-project/forest-runner/menu/equip-item'; const MENU_REMOVE_ITEM = 'react-softuni-project/forest-runner/menu/remove-item'; const initialState = { sellingItem: false, equippingItem: false, remov...
jerryshano/cthulhu
src/main/java/org/mbari/cthulhu/ui/main/ApplicationButtons.java
<reponame>jerryshano/cthulhu package org.mbari.cthulhu.ui.main; import javafx.scene.layout.GridPane; import javafx.stage.Stage; import org.mbari.cthulhu.ui.components.application.OpenLocalApplicationButton; import org.mbari.cthulhu.ui.components.application.OpenStreamApplicationButton; import org.mbari.cthulhu.ui.comp...
copslock/broadcom_cpri
sdk-6.5.20/src/appl/diag/api/tokenizer.c
<gh_stars>0 /* * * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. * * Copyright 2007-2020 Broadcom Inc. All rights reserved. * * File: tokenizer.c * Purpose: API mode tokenizer */ /* // // dot format tokenizer...
yalanyali/gain
protractor.conf.local.js
<reponame>yalanyali/gain var fs = require('fs'); var extendConfig = require('./protractor/_base'); var localIp; try { localIp = fs.readFileSync('./LOCAL_IP', 'utf8').trim(); } catch(ex) { // ignore } var LOCAL_IP = localIp || 'localhost'; exports.config = extendConfig( function() { return { ...
AEGONTH/omni-chanel
omni-ch/src/main/java/com/adms/web/base/bean/AbstractSearchBean.java
package com.adms.web.base.bean; public abstract class AbstractSearchBean<T> extends BaseBean implements ISearchBean<T>{ /** * */ private static final long serialVersionUID = 55877643186617076L; private final Integer rowPerPage = new Integer(20); public Integer getRowPerPage() { return rowPerPage; } }
gaoht/house
java/classes2/com/ziroom/commonlib/ziroomhttp/f/c.java
package com.ziroom.commonlib.ziroomhttp.f; import com.ziroom.commonlib.utils.l; import okhttp3.HttpUrl; import okhttp3.Request; import okhttp3.Response; import okhttp3.ResponseBody; public class c<T> extends a<T> { protected Class<T> c; public c(Class<T> paramClass) { this.c = paramClass; } prot...
Injourn/UpgradedWolves
src/main/java/com/example/upgradedwolves/network/PacketHandler.java
package com.example.upgradedwolves.network; import com.example.upgradedwolves.UpgradedWolves; import com.example.upgradedwolves.network.message.CreateParticleForMobMessage; import com.example.upgradedwolves.network.message.IMessage; import com.example.upgradedwolves.network.message.MovePlayerMessage; import com....
642638112/-1.1
EarlySleep/app/src/main/java/com/earlysleep/Application/MyApplication.java
<gh_stars>1-10 package com.earlysleep.Application; import org.litepal.LitePalApplication; /** * Created by zml on 2016/6/1. * 介绍:整个应用的初始化 以及配置 */ public class MyApplication extends LitePalApplication { @Override public void onCreate() { super.onCreate(); LitePalApplication.initialize(this)...
mimietti/Labyball
Labyrint/Temp/il2cppOutput/il2cppOutput/mscorlib_System_Reflection_Emit_ModuleBuilder1058295580.h
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> // System.Reflection.Emit.TypeBuilder[] struct TypeBuilderU5BU5D_t2520789883; // System.Reflection.Emit.AssemblyBuilder struct AssemblyBuilder_t3642540642; // System.Int32[] struct In...
nickers/exercism-go-problems
house/house.go
package house const testVersion = 1 var parts = []string{ "the horse and the hound and the horn\nthat belonged to ", "the farmer sowing his corn\nthat kept ", "the rooster that crowed in the morn\nthat woke ", "the priest all shaven and shorn\nthat married ", "the man all tattered and torn\nthat kissed ", "the ...
reels-research/iOS-Private-Frameworks
ContactsUICore.framework/CNUIRenderedLikenessCacheEntry.h
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/ContactsUICore.framework/ContactsUICore */ @interface CNUIRenderedLikenessCacheEntry : NSObject { NSArray * _contacts; CNObservable * _imageObservable; CNUILikenessRenderingScope * _scope; <CNCancelable> * _token; } @property ...
svalenelatis/thorium
server/resolvers/issueTracker.js
<reponame>svalenelatis/thorium import request from "request"; const issuesUrl = "https://12usj3vwf1.execute-api.us-east-1.amazonaws.com/prod/issueTracker"; export const IssueTrackerMutations = { addIssue(rootValue, { title, body, person, priority, type }) { // Create our body var postBody = ` ### Re...
thawee/musixmate
library/jaudiotagger226/src/main/java/org/jaudiotagger/audio/aiff/chunk/AnnotationChunk.java
<reponame>thawee/musixmate<gh_stars>10-100 package org.jaudiotagger.audio.aiff.chunk; import org.jaudiotagger.audio.aiff.AiffAudioHeader; import org.jaudiotagger.audio.iff.ChunkHeader; import java.io.IOException; import java.nio.ByteBuffer; /** * Contains a comment. Use of this chunk is discouraged within FORM AIFF...
chanchann/littleMickle
basic/template/variadic/16.cc
<gh_stars>1-10 // ------------- UTILITY--------------- template<int...> struct index_tuple{}; template<int I, typename IndexTuple, typename... Types> struct make_indexes_impl; template<int I, int... Indexes, typename T, typename ... Types> struct make_indexes_impl<I, index_tuple<Indexes...>, T, Types...> { ...
uk-gov-mirror/ONSdigital.babbage
src/main/java/com/github/onsdigital/babbage/api/util/SearchUtils.java
<reponame>uk-gov-mirror/ONSdigital.babbage package com.github.onsdigital.babbage.api.util; import com.github.onsdigital.babbage.search.ElasticSearchClient; import com.github.onsdigital.babbage.search.builders.ONSFilterBuilders; import com.github.onsdigital.babbage.search.builders.ONSQueryBuilders; import com.github.o...
thautwarm/Typed-BNF
runtests/python_simple_json/simple_json_lexer.py
from _tbnf.FableSedlex.sedlex import * import typing import typing_extensions import dataclasses _sedlex_rnd_69 = [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, None, 12, -1 ] # token_ids def _sedlex_st_30(lexerbuf: lexbuf): result = -1 state_id = _sedlex_decide_9(public_next_int(lexerbuf)) if state_id >= 0: ...
MisaelAugusto/computer-science
programming-laboratory-I/akx4/lucro.py
# coding: utf-8 # Aluno: <NAME> # Matrícula: 117110525 # Problema: <NAME> de uma Empresa meses = ["jan", "fev", "mar", "abr", "mai", "jun", "jul", "ago", "set", "out", "nov", "dez"] lucros = [] for i in range(12): valores = raw_input().split() lucro = float(valores[0]) - float(valores[1]) lucros.append(lucro) for ...
vakuum/gosu-lang-old
gosu-core-api/src/main/java/gw/lang/reflect/IPropertyInfoDelegate.java
<reponame>vakuum/gosu-lang-old /* * Copyright 2013 <NAME>, Inc. */ package gw.lang.reflect; public interface IPropertyInfoDelegate extends IFeatureInfoDelegate, IPropertyInfo { public IPropertyInfo getSource(); }
mok0/MolScript
code/eps_img.c
/* eps_img.c MolScript v2.1.2 Encapsulated PostScript (EPS) image file. This implementation relies on the 'image.c' code, and therefore implicitly on OpenGL and GLX. Copyright (C) 1997-1998 <NAME> 13-Sep-1997 working */ #include <assert.h> #include <stdlib.h> #include <GL/gl.h> #include "eps_...
EugenePizzerbert/react-grapql-firebase
server/src/graphql/resolvers/strava-token.js
<reponame>EugenePizzerbert/react-grapql-firebase import axios from 'axios'; import admin from '../../config'; const db = admin.database(); const ref = db.ref(); const writeTokenToUser = (uid, token) => { return ref .child('users') .child(uid) .update({ strava: { token, }, }) ...
d4rken/ommvplib
library/src/main/java/eu/darken/ommvplib/injection/PresenterComponent.java
<reponame>d4rken/ommvplib package eu.darken.ommvplib.injection; import eu.darken.ommvplib.base.Presenter; public interface PresenterComponent< ViewT extends Presenter.View, PresenterT extends ComponentPresenter<ViewT, ? extends PresenterComponent>> { PresenterT getPresenter(); }
Ouyancheng/RPi-WLAN-driver
labs/16-esp8266/1-ping-pong/server.c
// server: configures itself as a TCP server and starts // ping-pong'ing with client #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/stat.h> #include <unistd.h> #include <termios.h> #include "libesp.h" #include "libunix.h" void esp_main(lex_t *l) { // these are defined ...
yijunyu/demo-fast
datasets/linux-4.11-rc3/drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h
<reponame>yijunyu/demo-fast<filename>datasets/linux-4.11-rc3/drivers/gpu/drm/msm/mdp/mdp5/mdp5_cfg.h<gh_stars>1-10 /* * Copyright (c) 2014 The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License versio...
fossabot/etlflow
modules/core/src/main/scala/etlflow/etlsteps/BQStep.scala
package etlflow.etlsteps import java.io.FileInputStream import com.google.auth.oauth2.{GoogleCredentials, ServiceAccountCredentials} import com.google.cloud.bigquery.{BigQuery, BigQueryOptions} import etlflow.utils.GCP trait BQStep extends EtlStep[Unit,Unit] { val credentials: Option[GCP] private val env_path: ...
hardik0899/Competitive_Programming
Kattis/sequences.cpp
<filename>Kattis/sequences.cpp #define __USE_MINGW_ANSI_STDIO 0 #include <iostream> #include <iomanip> #include <stdio.h> #include <stdlib.h> #include <vector> #include <algorithm> #include <queue> #include <map> #include <unordered_map> #include <set> #include <unordered_set> #include <stack> #include <deque> #include...
eltociear/material-ui
packages/material-ui-icons/lib/esm/PriceCheckSharp.js
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M11 8H6V6h5V4H8.5V3h-2v1H4v6h5v2H4v2h2.5v1h2v-1H11zm8.59 4.52-5.66 5.65-2.83-2.83-1.41 1.42L13.93 21 21 13.93z" }), 'PriceCh...
RobertLbebber/electr-client
src/app/main/apps/e-commerce/store/actions/products.actions.js
<reponame>RobertLbebber/electr-client import axios from "axios"; import { Catalog } from "electr-common"; const ECommerce = Catalog.Categories.ECommerce; export const GET_PRODUCTS = "[E-COMMERCE APP] GET PRODUCTS"; export const SET_PRODUCTS_SEARCH_TEXT = "[E-COMMERCE APP] SET PRODUCTS SEARCH TEXT"; export function ...
Zate/arpg
backend/events/score_sent.go
package events // ScoreSent struct type ScoreSent struct { Score uint32 }
khannaekta/gporca
libgpopt/src/xforms/CXform.cpp
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2009 Greenplum, Inc. // // @filename: // CXform.cpp // // @doc: // Base class for all transformations //--------------------------------------------------------------------------- #include "gpos/base....
ElSamaritan/blockchain-OLD
src/Xi-Crypto/include/Xi/Crypto/Hash/FastHash.hh
/* ============================================================================================== * * * * Galaxia Blockchain * * ...
meta-network/kord-dapp
test/domains/profile/reducer.spec.js
import { LIFECYCLE } from 'redux-pack' import { actionTypes, reducer } from 'domains/profile' import { initialState } from 'domains/profile/reducer' import { makeAsyncAction, noop } from '~/util' import resolvedProfileClaim from './fixtures/resolved-profile-claim.json' describe('domains/profile/reducer', () => { it...
FrKaram/alfresco-android-app
platform/foundation/src/main/java/org/alfresco/mobile/android/async/site/member/SiteMembershipOperation.java
<reponame>FrKaram/alfresco-android-app<gh_stars>10-100 /* * Copyright (C) 2005-2016 Alfresco Software Limited. * * This file is part of Alfresco Mobile for Android. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You ma...
cao527121128/iass-sdk-python
qingcloud/iaas/actions/tag.py
# ========================================================================= # Copyright 2012-present Yunify, Inc. # ------------------------------------------------------------------------- # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this work except in compliance with the Licens...
ScalablyTyped/SlinkyTyped
d/devtools-protocol/src/main/scala/typingsSlinky/devtoolsProtocol/mod/Protocol/Profiler/CoverageRange.scala
package typingsSlinky.devtoolsProtocol.mod.Protocol.Profiler import typingsSlinky.devtoolsProtocol.mod.Protocol.integer import org.scalablytyped.runtime.StObject import scala.scalajs.js import scala.scalajs.js.`|` import scala.scalajs.js.annotation.{JSGlobalScope, JSGlobal, JSImport, JSName, JSBracketAccess} @js.nati...
M10beretta/java
src/com/mber/topic/core/dmdev/level2/lesson18_generics/part2/Battle.java
package com.mber.topic.core.dmdev.level2.lesson18_generics.part2; import com.mber.topic.core.dmdev.level2.lesson18_generics.part2.heroes.*; import com.mber.topic.core.dmdev.level2.lesson18_generics.part2.weapon.Bow; import com.mber.topic.core.dmdev.level2.lesson18_generics.part2.weapon.Sword; import com.mber.topic.co...
riddopic/nfv
nfv/nfv-vim/nfv_vim/objects/_instance.py
<reponame>riddopic/nfv # # Copyright (c) 2015-2016 Wind River Systems, Inc. # # SPDX-License-Identifier: Apache-2.0 # import collections import datetime import six import uuid import weakref from nfv_vim.objects._object import ObjectData from nfv_common import config from nfv_common import debug from nfv_common impor...
ddsvetlov/libSTARK
libstark/src/reductions/BairToAcsp/Details/constraintSystemsTestLocations.cpp
<filename>libstark/src/reductions/BairToAcsp/Details/constraintSystemsTestLocations.cpp #include "constraintSystemsTestLocations.hpp" namespace libstark{ namespace BairToAcsp{ CS_testLocations::CS_testLocations(const common& commonDef){ size_t currIndex = 0; for(size_t i=0; i< commonDef.getConstraintsPi(...
FishPaoPao/Activiti
activiti-engine/src/main/java/org/activiti/engine/impl/util/ShellExecutorContext.java
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed...
blanham/ChickenOS
src/fs/ops.c
<filename>src/fs/ops.c<gh_stars>10-100 /* ChickenOS - fs/ops.c - virtual file system ops * Patterned after the Linux 2.4 vfs * */ #include <kernel/common.h> #include <stdint.h> #include <stddef.h> #include <string.h> #include <stdio.h> #include <kernel/memory.h> #include <kernel/thread.h> #include <mm/vm.h> #include...
chromium/chromium
tools/android/test_health/testdata/javatests/org/chromium/chrome/browser/test_health/unhealthy_tests/SampleTest.java
<reponame>chromium/chromium<gh_stars>1000+ // Copyright 2021 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. package org.chromium.chrome.browser.test_health.unhealthy_tests; import androidx.test.filters.SmallTest; impo...