repo_name
stringlengths
6
101
path
stringlengths
4
300
text
stringlengths
7
1.31M
kskinoue0612/iriclib_v4
h5cgnsflowsolution.cpp
#include "error_macros.h" #include "h5cgnsflowsolution.h" #include "h5util.h" #include "iriclib_errorcodes.h" #include "internal/iric_logger.h" #include "private/h5cgnsflowsolution_impl.h" using namespace iRICLib; #define LABEL "FlowSolution_t" std::string H5CgnsFlowSolution::label() { return LABEL; } H5CgnsFlow...
h-crisis/assistant
Webpage/test/komori/template_test/csvt.js
/** * Created by komori on 2016/07/12. */ var getCSV = d3.dsv(',', 'text/csv; charset=shift_jis'); var tdfkNum; var mareaNum; var lat; var lon; var hospLatLon; var cont = 0; var tdfk = ['北海道', '青森県', '岩手県', '宮城県', '秋田県', '山形県', '福島県', '茨城県', '栃木県', '群馬県', '埼玉県', '千葉県', '東京都', '神奈川県', '新潟県', '富山県', '石川県',...
IThawk/learnCode
mq/springboot-amqp/src/main/java/com/ithawk/demo/rabbitmq/springboot/v1/amqp/admin/AmqpConfig.java
package com.ithawk.demo.rabbitmq.springboot.v1.amqp.admin; import com.ithawk.demo.rabbitmq.springboot.v1.util.ResourceUtil; import org.springframework.amqp.rabbit.connection.CachingConnectionFactory; import org.springframework.amqp.rabbit.connection.ConnectionFactory; import org.springframework.amqp.rabbit.core.Rabbi...
ferrarimarco/open-scissor
docker/d-streamon-master/d-streamon/streamon/core/block/DBQueue.hpp
<filename>docker/d-streamon-master/d-streamon/streamon/core/block/DBQueue.hpp #ifndef __DB_QUEUE_H__ #define __DB_QUEUE_H__ #if __GNUC__ == 4 && __GNUC_MINOR__ == 4 #include <cstdatomic> #else #include <atomic> #endif #include <array> #include <stdexcept> #include <algorithm> #include <cassert> #include <chrono>...
fideoman/geronimo
framework/modules/geronimo-management/src/main/java/org/apache/geronimo/management/geronimo/JCAManagedConnectionFactory.java
<filename>framework/modules/geronimo-management/src/main/java/org/apache/geronimo/management/geronimo/JCAManagedConnectionFactory.java /** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional informa...
kostiushko-vlad/QT-BPMN
xmldom/xmltag_p.h
<reponame>kostiushko-vlad/QT-BPMN /***************************************************************************** * xmltag_p.h * * Created: 26.03.2019 2019 by <NAME> * * Copyright 2019 Xooo. All rights reserved. * *****************************************************************************/ #ifndef XMLTAG_P_H #d...
rsadasiv/oop_nlp
similarity/src/main/java/com/outofprintmagazine/nlp/Ta.java
package com.outofprintmagazine.nlp; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.u...
altuntepe/drv_mei_cpe
src/drv_mei_cpe_nucleus.h
<reponame>altuntepe/drv_mei_cpe<filename>src/drv_mei_cpe_nucleus.h #ifndef _DRV_MEI_CPE_NUCLEUS_H #define _DRV_MEI_CPE_NUCLEUS_H /****************************************************************************** Copyright (c) 2007-2015 <NAME>iligungs-GmbH & Co. KG For lic...
tqrg-bot/finagle
finagle-core/src/test/scala/com/twitter/finagle/builder/ClientBuilderTest.scala
package com.twitter.finagle.builder import com.twitter.finagle._ import com.twitter.finagle.integration.IntegrationBase import com.twitter.finagle.param.ProtocolLibrary import com.twitter.finagle.stats.NullStatsReceiver import com.twitter.finagle.service.{RetryPolicy, FailureAccrualFactory} import com.twitter.finagle....
SanjoSolutions/unnamed
grid_error.js
<gh_stars>1-10 // ***MASONRY*** for Lazy Grids - 24kb - https://masonry.desandro.com/ import Masonry from "masonry-layout"; // ***IMAGES LOADED*** for Lazy Grids - 10kb - https://imagesloaded.desandro.com/ import imagesLoaded from "imagesloaded"; // ***INFINITE SCROLL*** for Lazy Grids - 26kb - https://infinite-scroll....
Dedederek/samples
cplusplus/level1_single_api/5_200dk_peripheral/gpio/src/gpio.cpp
/** * Copyright 2020 Huawei Technologies Co., Ltd * * 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 ...
Teemotj/developer-community
dc-recruit/src/main/java/cn/treeshell/recruit/service/impl/RecruitServiceImpl.java
<reponame>Teemotj/developer-community package cn.treeshell.recruit.service.impl; import cn.hutool.core.util.StrUtil; import cn.treeshell.recruit.model.Recruit; import cn.treeshell.recruit.mapper.RecruitMapper; import cn.treeshell.recruit.service.RecruitService; import com.alicp.jetcache.anno.CacheInvalidate; import co...
lPrimemaster/DCScan-ModulesAPI
DCS_Core/src/threading.cpp
<filename>DCS_Core/src/threading.cpp #pragma once #include <thread> #include "../include/DCS_ModuleCore.h" #include "../include/internal.h" const DCS::u16 DCS::Threading::GetMaxHardwareConcurrency() { return std::thread::hardware_concurrency(); } DCS::Threading::TPool* DCS::Threading::CreatePersistentPool(u16 size, ...
stellar-expert/albedo
frontend/src/hw-signer/hw-signer.js
<filename>frontend/src/hw-signer/hw-signer.js import EventEmitter from 'events' import {DEVICE_CONNECTED, DEVICE_DISCONNECTED} from './adapters/adapter-events' import {ACCOUNT_TYPES} from '../state/account' import LedgerAdapter from './adapters/ledger-adapter' export default class HwSigner extends EventEmitter { c...
pep-pig/grafana
pkg/services/alerting/notifiers/threema_test.go
package notifiers import ( "errors" "testing" "github.com/grafana/grafana/pkg/components/simplejson" "github.com/grafana/grafana/pkg/models" "github.com/grafana/grafana/pkg/services/alerting" "github.com/grafana/grafana/pkg/services/encryption/ossencryption" "github.com/stretchr/testify/require" ) func TestT...
txl0591/grpc
test/core/transport/chttp2/stream_map_test.c
/* * * Copyright 2015 gRPC 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 agree...
IBMStreams/OSStreams
src/java/platform/com.ibm.streams.platform/src/main/java/com/ibm/streams/instance/sam/model/topology/TopologyApplication.java
<reponame>IBMStreams/OSStreams /* * Copyright 2021 IBM Corporation * * 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 requi...
Kohze/SpatialMapDev
node_modules/office-ui-fabric-react/lib/components/Tooltip/Tooltip.scss.js
<filename>node_modules/office-ui-fabric-react/lib/components/Tooltip/Tooltip.scss.js "use strict"; /* tslint:disable */ var load_themed_styles_1 = require("@microsoft/load-themed-styles"); var styles = { root: 'root_3e796555', hasMediumDelay: 'hasMediumDelay_3e796555', content: 'content_3e796555', subTe...
Consult2016/super-devops
dopaas-common/src/main/java/com/wl4g/dopaas/common/bean/cmdb/Host.java
/* * Copyright 2017 ~ 2050 the original author or authors <<EMAIL>, <EMAIL>>. * * 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 * * ...
webfirmframework/wffweb
wffweb/src/test/java/com/webfirmframework/wffweb/tag/html/WhenURIUseCaseTest.java
<reponame>webfirmframework/wffweb package com.webfirmframework.wffweb.tag.html; import static org.junit.Assert.assertEquals; import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.concurrent.atomic.AtomicInteger; import org.ju...
Andreas237/AndroidPolicyAutomation
ExtractedJars/Ibotta_com.ibotta.android/javafiles/com/google/android/gms/common/internal/ClientSettings$OptionalApiSettings.java
// Decompiled by Jad v1.5.8g. Copyright 2001 <NAME>. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.google.android.gms.common.internal; import java.util.Collections; import java.util.Set; // Referenced classes of package com.google.android.gms.common....
tanzle-aames/a-simple-triangle
part-17-vulkan-android/main/src/core/graphics-wrapper.hpp
#pragma once #if defined(__EMSCRIPTEN__) #include <GLES2/gl2.h> #define USING_GLES #elif __APPLE__ #include <vulkan/vulkan.hpp> #define GL_SILENCE_DEPRECATION #include "TargetConditionals.h" #if TARGET_OS_IPHONE #include <OpenGLES/ES2/gl.h> #define USING_GLES #else #include <OpenGL/gl3.h> #endif #elif __ANDROID__ #inc...
abrunan/job4j
chapter_002/src/main/java/ru/job4j/tracker/Input.java
package ru.job4j.tracker; public interface Input { String askString(String message); int askInt(String message); int askInt(String message, int max); }
drecuk/JavaQuadtreeAgentFlocking
TrophicNetworkFlock/src/utilities/NodeType.java
<reponame>drecuk/JavaQuadtreeAgentFlocking package utilities; public enum NodeType { root, branch, leaf }
bartholomews/spotify4s
modules/play/src/main/scala/io/bartholomews/spotify4s/playJson/SimpleTrackPlayJson.scala
<reponame>bartholomews/spotify4s package io.bartholomews.spotify4s.playJson import io.bartholomews.iso.CountryCodeAlpha2 import io.bartholomews.spotify4s.core.entities._ import play.api.libs.functional.syntax.toFunctionalBuilderOps import play.api.libs.json.{Format, JsPath, Json, Reads} import sttp.model.Uri object S...
sjj3086786/aliyun-openapi-java-sdk
aliyun-java-sdk-smartag-inner/src/main/java/com/aliyuncs/smartag_inner/transform/v20180313/InnerListCloudConnectNetworksResponseUnmarshaller.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 u...
chcbaram/Teensy41
sdk_fw/hw/hw_def.h
<reponame>chcbaram/Teensy41 /* * hw_def.h * * Created on: 2020. 3. 11. * Author: Baram */ #ifndef SRC_HW_HW_DEF_H_ #define SRC_HW_HW_DEF_H_ #include "def.h" #include "bsp.h" #define _HW_DEF_RTOS_MEM_SIZE(x) ((x)/4) #define _HW_DEF_RTOS_THREAD_PRI_MAIN osPriorityNormal #define _HW...
astri-isns/skygear-SDK-Android
skygear/src/androidTest/java/io/skygear/skygear/UserSaveRequestUnitTest.java
package io.skygear.skygear; import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import java.util.Arrays; import java.util.List; import java.util.Map; import static junit.framework.Assert.assertEquals; import static junit.framework.Assert.assertTrue; @RunWith(An...
iguerra94/WeatherNow
app/src/main/java/com/iguerra94/weathernow/views/signup_screens/UserRegisteredActivity.java
package com.iguerra94.weathernow.views.signup_screens; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.view.MenuItem; import android.view.View; import android.widget.Button; import android.widget.TextView; import androidx.annotation.NonNull; import androidx.appc...
yingqi0607/tp
src/test/java/seedu/tr4cker/logic/commands/DeleteExpiredCommandTest.java
<filename>src/test/java/seedu/tr4cker/logic/commands/DeleteExpiredCommandTest.java package seedu.tr4cker.logic.commands; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; import static seedu.tr4cker.logic.commands.CommandTestUtil.assertCommandFailure...
syazwanirahimin/dotcom
node_modules/@react-icons/all-files/bs/BsFileEarmarkMinus.js
<reponame>syazwanirahimin/dotcom // THIS FILE IS AUTO GENERATED var GenIcon = require('../lib').GenIcon module.exports.BsFileEarmarkMinus = function BsFileEarmarkMinus (props) { return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 16 16","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M9 1H4a2 2 0 00-2 2v10a...
codacy-badger/Inci_e5b
InciDashboard_e5b/src/test/java/uo/asw/tests/cucumber/steps/AniadirComentarioIncidenciaSteps.java
<reponame>codacy-badger/Inci_e5b package uo.asw.tests.cucumber.steps; import static org.junit.Assert.assertEquals; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.SpringApplicationContextLoader; import org.springframework.boot.test.context.SpringBootTest; import org...
ajchdev/outside-event
node_modules/@wordpress/block-editor/src/components/color-palette/test/control.js
/** * External dependencies */ import { create, act } from 'react-test-renderer'; import { noop } from 'lodash'; /** * Internal dependencies */ import ColorPaletteControl from '../control'; describe( 'ColorPaletteControl', () => { it( 'matches the snapshot', async () => { let root; await act( async () => { ...
MrAwesomeRocks/caelus-cml
src/libraries/fvOptions/sources/derived/explicitPorositySource/explicitPorositySource.cpp
/*---------------------------------------------------------------------------*\ Copyright (C) 2012-2015 OpenFOAM Foundation ------------------------------------------------------------------------------- License This file is part of Caelus. Caelus is free software: you can redistribute it and/or modify it ...
jmacwhitesource/cloud-pipeline
api/src/main/java/com/epam/pipeline/manager/metadata/MetadataEntityManager.java
<filename>api/src/main/java/com/epam/pipeline/manager/metadata/MetadataEntityManager.java<gh_stars>0 /* * Copyright 2017-2019 EPAM Systems, Inc. (https://www.epam.com/) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may o...
javakf/RDF
src/main/java/com/yoya/rdf/log/LogManager.java
/* * Copyright (c) 2016, baihw (<EMAIL>). * * 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...
tonyastolfi/batteries
src/batteries/seq/loop_control.hpp
<reponame>tonyastolfi/batteries // Copyright 2021 <NAME> // #pragma once #ifndef BATTERIES_SEQ_LOOP_CONTROL_HPP #define BATTERIES_SEQ_LOOP_CONTROL_HPP #include <type_traits> #include <utility> namespace batt { namespace seq { enum LoopControl { kContinue = 0, kBreak = 1, }; template < typename Fn, typen...
xmarcosx/edfi-notebook
src/v5.1/resources/swagger_client/models/tpdm_employment_event.py
# coding: utf-8 """ Ed-Fi Operational Data Store API The Ed-Fi ODS / API enables applications to read and write education data stored in an Ed-Fi ODS through a secure REST interface. *** > *Note: Consumers of ODS / API information should sanitize all data for display and storage. The ODS / API provides reas...
sarincr/JavaScript-for-Front-End-Development-
JS LIBRARIES/MarkoJS/node_modules/@marko/translator-default/dist/taglib/core/conditional/util.js
<reponame>sarincr/JavaScript-for-Front-End-Development- "use strict";var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");exports.__esModule = true;exports.buildIfStatement = buildIfStatement;var _compiler = require("@marko/compiler"); var _withPreviousLocation = _interopRequireDefault(r...
amvb/GUCEF
dependencies/agar/include/agar/gui/hbox.h
<filename>dependencies/agar/include/agar/gui/hbox.h /* Public domain */ #ifndef _AGAR_WIDGET_HBOX_H_ #define _AGAR_WIDGET_HBOX_H_ #include <agar/gui/box.h> #include <agar/gui/begin.h> typedef struct ag_hbox { struct ag_box box; } AG_HBox; #define AG_HBOX_HOMOGENOUS AG_BOX_HOMOGENOUS #define AG_HBOX_HFILL AG_BOX_...
karlmattsmith/SocatLAS
JavaSource/gov/noaa/pmel/tmap/addxml/ReadESG.java
package gov.noaa.pmel.tmap.addxml; import gov.noaa.pmel.tmap.jdom.LASDocument; import java.io.UnsupportedEncodingException; import java.util.Iterator; import java.util.List; import java.util.Vector; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.jdom.Document; import org.jdom.Element; import th...
guilhermejccavalcanti/immutables
mongo/src/org/immutables/mongo/repository/internal/BsonEncoding.java
/* Copyright 2013-2015 Immutables Authors and Contributors 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 appl...
mmakaay/flask_micron
tests/test_flask_integration.py
# -*- coding: utf-8 -*- """The tests in this module are used to make sure that Micron integrates correctly with the Flask environment and its testing features. The code does not extensively test all available Micron features, but mainly checks if the plumbing isn't leaky. """ from tests import MicronTestCase class ...
scala-steward/csw
csw-services/src/main/scala/csw/services/cli/Command.scala
package csw.services.cli import caseapp.{CommandName, HelpMessage, ExtraName => Short} sealed trait Command object Command { @CommandName("start") @HelpMessage("starts all the CSW services by default if no other option is provided") final case class Start( @HelpMessage("start config server") @Short...
simapetr/uart_terminal
docs/uart_terminal_doc/html/annotated_dup.js
var annotated_dup = [ [ "auto_comp_c", "classauto__comp__c.html", "classauto__comp__c" ], [ "autocomp_buffer_t", "structautocomp__buffer__t.html", "structautocomp__buffer__t" ], [ "button_buffer_t", "structbutton__buffer__t.html", "structbutton__buffer__t" ], [ "button_js_c", "classbutton__js__c.html", ...
FlySkyBear/ERMaster-N
org.insightech.er/src/org/insightech/er/editor/view/action/outline/index/CreateIndexAction.java
package org.insightech.er.editor.view.action.outline.index; import java.util.List; import org.eclipse.gef.EditPart; import org.eclipse.gef.ui.parts.TreeViewer; import org.eclipse.jface.dialogs.IDialogConstants; import org.eclipse.swt.widgets.Event; import org.eclipse.ui.PlatformUI; import org.insightech.er.ResourceSt...
1690296356/jdk
test/lib/jdk/test/lib/security/timestamp/TsaSigner.java
<filename>test/lib/jdk/test/lib/security/timestamp/TsaSigner.java /* * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General...
ss77995ss/react-redux-homework
test/actions/index.test.js
<reponame>ss77995ss/react-redux-homework<filename>test/actions/index.test.js import configureMockStore from 'redux-mock-store'; import thunk from 'redux-thunk'; import axios from 'axios'; import MockAdapter from 'axios-mock-adapter'; import { mockCreateAction } from '../data/mockData'; import { ROW_CREATER, ROW_DEL...
jia57196/code41
project/c++/mri/src/PI-slim-napa/recdopt_py/download_manager/retrieval_progress.py
import sys, time, logging,recdopt_context, ctypes, math from recdopt_context import * log = logging.getLogger('recd') sys.path.append('..') from common.time_utils import TimeUtils # # Base class for file retrieval queries, iterations, steps. # class RetrievalProgressBase: def __init__(self): self.startSe...
navikt/fp-formidling
domenetjenester/brevbestiller/src/main/java/no/nav/foreldrepenger/melding/brevbestiller/task/ProduserBrevTask.java
package no.nav.foreldrepenger.melding.brevbestiller.task; import javax.enterprise.context.ApplicationScoped; import javax.inject.Inject; import no.nav.foreldrepenger.melding.brevbestiller.impl.BrevBestillerTjeneste; import no.nav.foreldrepenger.melding.hendelser.HendelseRepository; import no.nav.vedtak.felles.prosess...
evasyuk/project-zxsvm
src/api/pieces/baseApi.js
<gh_stars>0 export default class BaseApi { constructor(apiClient) { if (!apiClient) throw new Error('[apiClient] required') this.apiClient = apiClient } }
gunnarmorling/waltz
waltz-test/src/main/java/com/wepay/waltz/test/smoketest/TxnContext.java
package com.wepay.waltz.test.smoketest; import com.wepay.riff.util.Logging; import com.wepay.waltz.client.PartitionLocalLock; import com.wepay.waltz.client.TransactionBuilder; import com.wepay.waltz.client.TransactionContext; import org.slf4j.Logger; import java.util.Collections; import java.util.UUID; import java.ut...
TheAgentK/MetaDrone
game/Docs/html/search/files_13.js
var searchData= [ ['vectortemplates_2ecs',['VectorTemplates.cs',['../_vector_templates_8cs.html',1,'']]] ];
matheusmr13/SaasAPI
backend/src/main/java/br/com/cyop/exception/NotFoundException.java
<reponame>matheusmr13/SaasAPI<filename>backend/src/main/java/br/com/cyop/exception/NotFoundException.java package br.com.cyop.exception; public class NotFoundException extends RuntimeException { }
kadaan/consulate
config/client.go
// Copyright © 2018 <NAME> <<EMAIL>> // // 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...
Bam4d/BrowserHack
src/save.c
<filename>src/save.c /* SCCS Id: @(#)save.c 3.4 2003/11/14 */ /* Copyright (c) <NAME>, Amsterdam, 1985. */ /* NetHack may be freely redistributed. See license for details. */ #include "hack.h" #include "lev.h" #include "quest.h" #ifdef WEB_GRAPHICS #include <emscripten.h> #endif #ifndef NO_SIGNAL #include <signal.h...
cybriq/p9
pkg/btcjson/chainsvrwsntfns.go
package btcjson const ( // BlockConnectedNtfnMethod is the legacy, deprecated method used for notifications from the chain server that a // block has been connected. NOTE: Deprecated. Use FilteredBlockConnectedNtfnMethod instead. BlockConnectedNtfnMethod = "blockconnected" // BlockDisconnectedNtfnMethod is the leg...
scattering-central/FISH
java/FittingTable.java
package fish; import java.util.Formatter; import javax.swing.table.AbstractTableModel; import fish.plot.PlotFrame; /** * Custom table model for the fitting table * * @author dqr75132 * */ public class FittingTable extends AbstractTableModel { private FishFrame frame; private static final ...
sunilbhara/lakeFS
catalog/mvcc/cataloger_rollback_commit.go
<filename>catalog/mvcc/cataloger_rollback_commit.go package mvcc import ( "context" "fmt" "github.com/treeverse/lakefs/catalog" "github.com/treeverse/lakefs/db" ) func (c *cataloger) RollbackCommit(ctx context.Context, repository, branch, reference string) error { if err := Validate(ValidateFields{ {Name: "re...
strassek/chromiumos-platform2
foomatic_shell/parser_fuzzer.cc
// Copyright 2020 The Chromium OS 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 "foomatic_shell/grammar.h" #include "foomatic_shell/parser.h" #include "foomatic_shell/scanner.h" #include <cstdint> #include <string> #inclu...
asrashley/dash-live
tests/mixins.py
import logging import os class TestCaseMixin(object): @property def classname(self): clz = type(self) if clz.__module__.startswith('__'): return clz.__name__ return clz.__module__ + '.' + clz.__name__ def _assert_true(self, result, a, b, msg, template): if not r...
HernandezM22/DatlasHackMTY
real-data/node_modules/@deck.gl/layers/dist/es5/geojson-layer/geojson-layer.js
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); var _createClass2 = _inte...
Russell-IO/ews-java-api
src/main/java/microsoft/exchange/webservices/data/UserConfigurationDictionary.java
<reponame>Russell-IO/ews-java-api<filename>src/main/java/microsoft/exchange/webservices/data/UserConfigurationDictionary.java<gh_stars>0 /************************************************************************** Exchange Web Services Java API Copyright (c) Microsoft Corporation All rights reserved. MIT License Pe...
pinkman0u0/dtboot
src/main/java/com/pinkman/dtboot/service/SysLogService.java
<filename>src/main/java/com/pinkman/dtboot/service/SysLogService.java package com.pinkman.dtboot.service; import com.pinkman.dtboot.entity.SysLog; /** * @description: * @author: PINKMAN * @create: 2019-09-25 10:38 **/ public interface SysLogService { void save(SysLog sysLog); }
bigjunnn/addressbook-level3
src/test/java/dukecooks/model/workout/exercise/ExerciseSetAttemptTest.java
package dukecooks.model.workout.exercise; import static dukecooks.testutil.exercise.TypicalExercises.SET_ATTEMPT_WITH_DISTANCE_AND_TIMING; import static dukecooks.testutil.exercise.TypicalExercises.SET_ATTEMPT_WITH_WEIGHT_AND_REPETITIONS; import static dukecooks.testutil.exercise.TypicalExercises.SET_ATTEMPT_WITH_WEIG...
sarrvesh/Obit
ObitSystem/Obit/python/TableList.py
# $Id$ #----------------------------------------------------------------------- # Copyright (C) 2005,2019 # Associated Universities, Inc. Washington DC, USA. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free So...
LarryNorth/18xx
lib/engine/part/node.rb
# frozen_string_literal: true module Engine module Part class Node < Base attr_accessor :lanes def clear! @paths = nil @exits = nil end def solo? @tile.nodes.one? end def paths @paths ||= @tile.paths.select { |p| p.nodes.any? { |n| n == self ...
geoadmin/web-mapviewer
tests/unit/example.spec.js
<reponame>geoadmin/web-mapviewer import { expect } from 'chai' import { mount } from '@vue/test-utils' import LangSwitchButton from '@/modules/i18n/components/LangSwitchButton' // A small example of a unit test of a component in isolation describe('LangSwitchButton.vue', () => { it('Show lang in upper case', () =>...
jmix-framework/jmix
jmix-flowui/flowui/src/main/java/io/jmix/flowui/xml/facet/FacetProvider.java
/* * Copyright 2019 Haulmont. * * 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...
yanyushr/fuchsia
src/graphics/lib/compute/hotsort/vk/hs_glsl_preamble.h
<reponame>yanyushr/fuchsia // Copyright 2019 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef HS_GLSL_PREAMBLE_ONCE #define HS_GLSL_PREAMBLE_ONCE // // // #define HS_EVAL(a) a #define HS_HASH_SYMBO...
CaostGrace/HearWindMusic
app/src/main/java/cn/onegroup/mobile1603/ui/widget/UnderView.java
package cn.onegroup.mobile1603.ui.widget; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.ObjectAnimator; import android.animation.ValueAnimator; import android.content.Context; import android.os.Handler; import android.os.Message; import android.s...
bouvens/parallel1d
demo/index.js
<filename>demo/index.js const { clear, print, printArray, printCalculationTime, restartButton, showStart, showEnd, } = require('./display') const { generateInput, factorial } = require('./synchronous') const parallel = require('../promisified') const { DEFAULTS } = require('..') const FactorialWorker = re...
kikeqt/Curso_CPP
ejemplo_4_02.cpp
#include <iostream> int main(void) { std::cout << "char -> " << sizeof(char) << std::endl; // 1 std::cout << "unsigned short -> " << sizeof(unsigned short) << std::endl; // 2 std::cout << "unsigned -> " << sizeof(unsigned) << std::endl; // 4 std::cout << "int -> " << sizeof(int) << std::endl; // 4 ...
gchq/stroom-expression
src/main/java/stroom/dashboard/expression/v1/Evaluator.java
<filename>src/main/java/stroom/dashboard/expression/v1/Evaluator.java<gh_stars>1-10 package stroom.dashboard.expression.v1; import java.io.Serializable; abstract class Evaluator implements Serializable { private static final long serialVersionUID = 7429374303172048909L; protected abstract Val evaluate(final ...
JaeYeopHan/customize_your_travel_prj
src/container/entryContainer/index.js
<reponame>JaeYeopHan/customize_your_travel_prj import EntryContainer from "./EntryContainer"; export default EntryContainer;
mindspore-ai/mindscience
MindSPONGE/mindsponge/md/control/bd_baro.py
# Copyright 2021 Huawei Technologies Co., Ltd # # 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...
hazelcast/hazelcast-jet-soak-testing
event-journal-test/src/main/java/com/hazelcast/jet/tests/eventjournal/EventJournalTest.java
<reponame>hazelcast/hazelcast-jet-soak-testing /* * Copyright (c) 2008-2018, Hazelcast, 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....
singhaditya28/fs_image
fs_image/rpm/storage/__init__.py
<reponame>singhaditya28/fs_image #!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from .storage import Storage, StorageInput, StorageOutput from .cli_object_storage imp...
promethe42/ifcplusplus
IfcPlusPlus/src/ifcpp/IFC4/lib/IfcPresentationLayerWithStyle.cpp
<filename>IfcPlusPlus/src/ifcpp/IFC4/lib/IfcPresentationLayerWithStyle.cpp<gh_stars>0 /* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */ #include <sstream> #include <limits> #include "ifcpp/model/AttributeObject.h" #include "ifcpp/model/BuildingException.h" #include "ifcpp/model/BuildingGuid.h"...
ManageIQ/topological_inventory-ui
src/test/components/sourcesTable/EmptyStateTable.test.js
import React from 'react'; import { render, screen } from '@testing-library/react'; import userEvent from '@testing-library/user-event'; import { componentWrapperIntl } from '../../../utilities/testsHelpers'; import EmptyStateTable from '../../../components/SourcesTable/EmptyStateTable'; import * as actions from '../...
chaoxing-gsd/GSD
GSD-open/src/main/java/com/chaoxing/gsd/web/SSPController.java
package com.chaoxing.gsd.web; import com.alibaba.fastjson.JSON; import com.chaoxing.gsd.modules.service.RsService; import com.chaoxing.gsd.service.DownloadIndexService; import com.chaoxing.gsd.service.SearchESClusterService; import com.chaoxing.gsd.service.SearchESIndexService; import com.chaoxing.gsd.service.WebpageI...
Allocamelus/Allocamelus
internal/router/handlers/api/v1/account/logout.go
<filename>internal/router/handlers/api/v1/account/logout.go<gh_stars>1-10 package account import ( "github.com/allocamelus/allocamelus/internal/user" "github.com/gofiber/fiber/v2" ) // Logout handler func Logout(c *fiber.Ctx) error { user.Logout(c) return c.SendStatus(204) }
JonathanDUFOUR/libft_io_tester
srcs/test/test_ft_convert_base.c
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* test_ft_convert_base.c :+: :+: :+: ...
lasdolphin/kf
pkg/kf/internal/tools/clientgen/tmplfunctional.go
<filename>pkg/kf/internal/tools/clientgen/tmplfunctional.go // Copyright 2019 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-...
Bugxyb/prebid-server-java
src/main/java/org/prebid/server/bidder/kayzen/KayzenBidder.java
package org.prebid.server.bidder.kayzen; import com.fasterxml.jackson.core.type.TypeReference; import com.iab.openrtb.request.BidRequest; import com.iab.openrtb.request.Imp; import com.iab.openrtb.response.BidResponse; import com.iab.openrtb.response.SeatBid; import io.vertx.core.http.HttpMethod; import org.apache.com...
Max-Zhenzhera/my_vocab_backend
tests/test_api/base/post_route.py
<reponame>Max-Zhenzhera/my_vocab_backend from abc import abstractmethod from .route import BaseTestRoute __all__ = ['BaseTestPostRoute'] class BaseTestPostRoute(BaseTestRoute): @property @abstractmethod def request_json(self) -> dict: """ The API route JSON (sent in request body) for su...
lucascheco/Uem
Organizacao_e_Recuperacao_de_Dados/Trabalho2/arvore.c
<gh_stars>0 /* Autores: * <NAME> - RA:112686. * <NAME> - RA:112684. * <NAME> - RA:107678. Descrição: * Árvore B. */ #include <stdio.h> #include <string.h> #include <stdlib.h> #include "MY_LIB1.h" int main(Contador c, Argumentos p) { if (c < 2) { f...
shubs/api-store
deprecated/Facebook Group Members/Facebook Group Members.js
// Phantombuster configuration { "phantombuster command: nodejs" "phantombuster package: 4" // Buster and Nick instantiation const Buster = require("phantombuster") const buster = new Buster() const Nick = require("nickjs") const nick = new Nick({ printPageErrors: false, printResourceErrors: false, printNavigation:...
harryfallows/atlasdb
atlasdb-conjure/src/main/java/com/palantir/atlasdb/http/v2/ClientOptionsConstants.java
/* * (c) Copyright 2020 Palantir Technologies 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 ...
karreiro/drools-wb
drools-wb-services/drools-wb-verifier/drools-wb-verifier-client/src/main/java/org/drools/workbench/services/verifier/plugin/client/api/FactTypes.java
<reponame>karreiro/drools-wb<filename>drools-wb-services/drools-wb-verifier/drools-wb-verifier-client/src/main/java/org/drools/workbench/services/verifier/plugin/client/api/FactTypes.java<gh_stars>0 /* * Copyright 2016 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "Lice...
dudizimber/connect-nodejs-sdk
src/model/V1UpdateOrderRequest.js
/** * Square Connect API * Client library for accessing the Square Connect APIs * * OpenAPI spec version: 2.0 * Contact: <EMAIL> * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * * Swagger Codegen version: 2.3.0-SNAPSHOT * */...
Extollite/Protocol
bedrock/bedrock-v340/src/main/java/com/nukkitx/protocol/bedrock/v340/serializer/AddEntitySerializer_v340.java
<reponame>Extollite/Protocol package com.nukkitx.protocol.bedrock.v340.serializer; import com.nukkitx.network.VarInts; import com.nukkitx.protocol.bedrock.packet.AddEntityPacket; import com.nukkitx.protocol.bedrock.v340.BedrockUtils; import com.nukkitx.protocol.serializer.PacketSerializer; import io.netty.buffer.ByteB...
sharang-d/kops
vendor/github.com/miekg/coredns/middleware/rewrite/condition_test.go
package rewrite /* func TestConditions(t *testing.T) { tests := []struct { condition string isTrue bool }{ {"a is b", false}, {"a is a", true}, {"a not b", true}, {"a not a", false}, {"a has a", true}, {"a has b", false}, {"ba has b", true}, {"bab has b", true}, {"bab has bb", false}, {"a ...
Anton-Gusarov/angularjs-requirejs-typescript
typings/node-uuid/node-uuid-tests.js
<reponame>Anton-Gusarov/angularjs-requirejs-typescript /// <reference path="node-uuid.d.ts" /> var uuid = require('node-uuid'); var uid1 = uuid.v1(); var uid2 = uuid.v2(); var uid3 = uuid.v3(); var uid4 = uuid.v4(); var options = { node: [], clockseq: 2, nsecs: 3, msecs: new Date() }; var padding = [0, ...
tusharchoudhary0003/Custom-Football-Game
sources/com/facebook/C6782m.java
package com.facebook; import android.os.Parcel; import android.os.Parcelable.Creator; /* renamed from: com.facebook.m */ /* compiled from: FacebookRequestError */ class C6782m implements Creator<FacebookRequestError> { C6782m() { } public FacebookRequestError createFromParcel(Parcel in) { return ...
cndavy/docker-office
custom_apps/files_accesscontrol/l10n/sl.js
OC.L10N.register( "files_accesscontrol", { "No rule given" : "Ni podanega še nobenega pravila.", "File access control" : "Nadzor dostopa", "Control access to files based on conditions" : "Nadzor dostopa do datotek na osnovi določenih pogojev", "Each rule group consists of one or more rules. A re...
atlasapi/atlas
src/main/java/org/atlasapi/remotesite/wikipedia/television/ScrapedFlatHierarchy.java
<filename>src/main/java/org/atlasapi/remotesite/wikipedia/television/ScrapedFlatHierarchy.java package org.atlasapi.remotesite.wikipedia.television; import java.util.List; import org.atlasapi.remotesite.wikipedia.wikiparsers.Article; import com.google.common.base.Function; import com.google.common.collect.ImmutableC...
zipated/src
chrome/browser/chromeos/policy/off_hours/time_utils.h
<reponame>zipated/src // Copyright 2017 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. #ifndef CHROME_BROWSER_CHROMEOS_POLICY_OFF_HOURS_TIME_UTILS_H_ #define CHROME_BROWSER_CHROMEOS_POLICY_OFF_HOURS_TIME_UTILS_H_ #incl...
Sunrisepeak/Linux2.6-Reading
drivers/staging/rtl8723bs/include/osdep_service.h
<filename>drivers/staging/rtl8723bs/include/osdep_service.h /* SPDX-License-Identifier: GPL-2.0 */ /****************************************************************************** * * Copyright(c) 2007 - 2013 Realtek Corporation. All rights reserved. * ****************************************************************...
ks555/idlak
src/html/gmm-basis-fmllr-accs_8cc.js
var gmm_basis_fmllr_accs_8cc = [ [ "AccumulateForUtterance", "gmm-basis-fmllr-accs_8cc.html#ad950fbbf9109c04331891caa17864705", null ], [ "main", "gmm-basis-fmllr-accs_8cc.html#a0ddf1224851353fc92bfbff6f499fa97", null ] ];