repo_name
stringlengths
6
101
path
stringlengths
4
300
text
stringlengths
7
1.31M
zipated/src
chrome/browser/ui/cocoa/external_protocol_dialog.h
// Copyright (c) 2009 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_UI_COCOA_EXTERNAL_PROTOCOL_DIALOG_H_ #define CHROME_BROWSER_UI_COCOA_EXTERNAL_PROTOCOL_DIALOG_H_ #import <Cocoa/Cocoa.h> #inc...
beccadax/llvm-project
clang/test/SemaCXX/coroutine-traits-undefined-template-exp-namespace.cpp
<filename>clang/test/SemaCXX/coroutine-traits-undefined-template-exp-namespace.cpp // This file contains references to sections of the Coroutines TS, which can be // found at http://wg21.link/coroutines. // RUN: %clang_cc1 -std=c++14 -fcoroutines-ts -verify %s -fcxx-exceptions -fexceptions -Wunused-result namespace s...
rpatil524/eventkg
src/de/l3s/eventkg/source/dbpedia/DBpediaAllLocationsLoader.java
<filename>src/de/l3s/eventkg/source/dbpedia/DBpediaAllLocationsLoader.java package de.l3s.eventkg.source.dbpedia; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; ...
davidcassany/luet-makeiso
vendor/github.com/mudler/luet/pkg/helpers/helm.go
<reponame>davidcassany/luet-makeiso<gh_stars>1-10 package helpers import ( "io/ioutil" fileHelper "github.com/mudler/luet/pkg/helpers/file" "github.com/imdario/mergo" "github.com/pkg/errors" "gopkg.in/yaml.v2" "helm.sh/helm/v3/pkg/chart" "helm.sh/helm/v3/pkg/chartutil" "helm.sh/helm/v3/pkg/engine" ) // Rend...
RFT-NAP-NotebookService-WEB/NotebookService-Backend
notebookservice-parent/notebookservice-service-impl/src/main/java/hu/unideb/inf/notebookservice/service/converter/maintenance/MaintenanceEntityListToMaintenanceListConverter.java
<reponame>RFT-NAP-NotebookService-WEB/NotebookService-Backend package hu.unideb.inf.notebookservice.service.converter.maintenance; import hu.unideb.inf.notebookservice.persistence.entity.MaintenanceEntity; import hu.unideb.inf.notebookservice.service.domain.Maintenance; import lombok.RequiredArgsConstructor; import or...
ysBach/irafdocgen
iraf.v2161/vendor/x11iraf/obm/ObmW/Group.c
<reponame>ysBach/irafdocgen /* Generated by wbuild from "Group.w" ** (generator version $Revision: 2.0 $ of $Date: 93/07/06 16:08:04 $) */ #include <X11/IntrinsicP.h> #include <X11/StringDefs.h> #include "Toggle.h" #include <stdio.h> #include <X11/Xmu/Converters.h> #include "Converters.h" #include "GroupP.h" static voi...
johantiden/ML-Toolbox
sudoku/solver/src/main/java/se/jtiden/sudoku/trainingdata/SudokuTrainingDataAbs.java
<reponame>johantiden/ML-Toolbox<gh_stars>0 package se.jtiden.sudoku.trainingdata; import se.jtiden.sudoku.domain.Board; public abstract class SudokuTrainingDataAbs implements SudokuTrainingData { private Board board; private final Difficulty difficulty; private final String name; public SudokuTrainin...
phatblat/macOSPrivateFrameworks
PrivateFrameworks/Mail/MFMessageCriterion.h
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import <Mail/MFCriterion.h> @class NSArray, NSString; @interface MFMessageCriterion : MFCriterion { NSString *_originalGroupUniqueID; long long _specialMailboxTypeCode; NSS...
pradeepk1905/Joindesk
Backend/src/main/java/com/ariseontech/joindesk/auth/web/AuthController.java
<gh_stars>1-10 package com.ariseontech.joindesk.auth.web; import com.ariseontech.joindesk.HelperUtil; import com.ariseontech.joindesk.SystemInfo; import com.ariseontech.joindesk.auth.domain.Login; import com.ariseontech.joindesk.auth.domain.LoginRequestDTO; import com.ariseontech.joindesk.auth.repo.LoginRepo; import c...
mghgroup/Glide-Browser
third_party/blink/renderer/platform/scheduler/main_thread/agent_group_scheduler_impl.cc
// Copyright 2020 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 "third_party/blink/renderer/platform/scheduler/main_thread/agent_group_scheduler_impl.h" #include "third_party/blink/renderer/platform/scheduler...
russellremple/weePickle
weepickle/src/main/scala-3/com/rallyhealth/weepickle/v1/LowPriorityImplicits.scala
<reponame>russellremple/weePickle package com.rallyhealth.weepickle.v1 import com.rallyhealth.weepickle.v1.core.{FromInput, Visitor} import java.time.ZonedDateTime import java.util.concurrent.ConcurrentHashMap import scala.jdk.CollectionConverters._ import scala.util.control.NoStackTrace abstract class LowPriorityIm...
eddieTest/visit
src/avt/Filters/avtOSPRayRayTracer.h
<filename>src/avt/Filters/avtOSPRayRayTracer.h<gh_stars>0 /***************************************************************************** * * Copyright (c) 2000 - 2019, Lawrence Livermore National Security, LLC * Produced at the Lawrence Livermore National Laboratory * LLNL-CODE-442911 * All rights reserved. * * This fi...
copslock/broadcom_cpri
sdk-6.5.20/libs/sdklt/bcmltx/general/bcmltx_subfield_rxfrm_table_commit.c
/*! \file bcmltx_subfield_rxfrm_table_commit.c * * Prepare/Commit/Abort interfaces for the FLTG generated multiple * memory reverse subfield transform. * * The reverse subfield transform consolidates data for a logical * table field that has portions of the value stored in different * physical memories. Because ...
npocmaka/Windows-Server-2003
shell/osshell/accesory/hypertrm/tdll/xfer_msc.hh
<gh_stars>10-100 /* File: D:\WACKER\tdll\xfer_msc.hh (Created: 30-Dec-1993) * * Copyright 1994 by Hilgraeve Inc. -- Monroe, MI * All rights reserved * * $Revision: 4 $ * $Date: 4/25/02 11:26a $ */ #include "tdll\sess_ids.h" #define XFER_MESSAGE_LENGTH 80 #define XFER_NAME_LENGTH 256 /...
xSnowChen/vertx-zero
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/tables/pojos/OUser.java
/* * This file is generated by jOOQ. */ package cn.vertxup.rbac.domain.tables.pojos; import cn.vertxup.rbac.domain.tables.interfaces.IOUser; import javax.annotation.Generated; /** * This class is generated by jOOQ. */ @Generated( value = { "http://www.jooq.org", "jOOQ version:3.10.8" }, ...
tklebanoff/ComputeLibrary
documentation/classarm__compute_1_1_n_e_reorg_layer.js
var classarm__compute_1_1_n_e_reorg_layer = [ [ "configure", "classarm__compute_1_1_n_e_reorg_layer.xhtml#aeaccf2356bf5ae491b7da58e3e6d0628", null ] ];
SreckoJarcevic/gatsby
src/components/Privacy/data.js
<filename>src/components/Privacy/data.js<gh_stars>0 const data = [ { mainTitle: "PRIVACY POLICY", txt1: "Our mission is to provide advanced specialty specific innovative\n" + "software and information solutions for providers and their patients.\n" + "Our solutions include our electronic heal...
tadvi/uva
UVa 1204 - Fun Game/sample/main.py
<gh_stars>1-10 ''' Created on Jul 26, 2013 @author: <NAME> this problem is too hard for me. it looks like tsp, but actually not at all... brute force 16! seems unreal. ''' import sys INF = 1 << 31 def solve(par): N, mat = par if __name__ == '__main__': sys.stdin = open('input.txt', 'r') while True: ...
venukbh/azure-sdk-for-java
sdk/resources/mgmt/src/main/java/com/azure/management/resources/implementation/WhatIfOperationResultImpl.java
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.management.resources.implementation; import com.azure.management.resources.ErrorResponse; import com.azure.management.resources.WhatIfChange; import com.azure.management.resources.WhatIfOperationResult; i...
richeyphu/Slaviii-Project
slaviii-app/src/components/ButtonA/index.js
import React from "react"; import { TouchableOpacity, Text } from "react-native"; import styles from "./styles"; const ButtonA = (props) => { return ( <TouchableOpacity style={styles.button} onPress={props.onPress}> <Text style={styles.buttonTitle}>{props.text}</Text> </TouchableOpacity> ); }; expo...
aga3134/CommuTag
app/route/favoriteRoute.js
<gh_stars>1-10 var express = require("express"); var router = express.Router(); var favoriteController = require("../controller/favoriteController"); var util = require("../controller/util"); var Config = require("../../config.json"); module.exports = router; router.post('/add-favorite', util.CheckLogin,util.CSRF, fu...
greatsean/365browser
app/src/main/java/com/google/protobuf/nano/UnknownFieldData.java
<gh_stars>1000+ // Protocol Buffers - Google's data interchange format // Copyright 2013 Google Inc. All rights reserved. // http://code.google.com/p/protobuf/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // /...
fcbsd/stuffc
tweets/term1.c
<filename>tweets/term1.c<gh_stars>1-10 /* Terminals * colors * http://xn--rpa.cc/irl/term.html */ #include <unistd.h> #define szstr(str) str,sizeof(str) #define fg "3" #define br_fg "9" #define bg "4" #define br_bg "10" #define with ";" #define plain "" #define black "0" #define red "1" #define green "2" #define ...
st3v0rr/java-design-patterns
src/behavioral/observer/javanineorhigher/subscriber/UppercaseSubscriber.java
package behavioral.observer.javanineorhigher.subscriber; import java.util.concurrent.Flow.Subscriber; import java.util.concurrent.Flow.Subscription; public class UppercaseSubscriber implements Subscriber<String> { @Override public void onSubscribe(Subscription subscription) { System.out.println("UppercaseSub...
lechium/tvOS124Headers
Applications/AppleTV/_TVAppDocumentRequestControllerDelegate-Protocol.h
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "_TVAppDocumentControllerDelegate.h" @class NSDictionary, _TVAppDocumentController; @protocol _TVAppDocumentRequestControllerDelegate <_TVAppDocumentControllerDelegate> @option...
wuqingyanjava/managerSystem
src/test/java/org/crown/controller/MenuRestControllerTest.java
/* * Copyright (c) 2018-2022 Caratacus, (<EMAIL>). * * 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,...
mepholic/go-diskfs
filesystem/squashfs/finalize_test.go
package squashfs_test import ( "bytes" "crypto/rand" "fmt" "io" "io/ioutil" "os" "testing" "github.com/diskfs/go-diskfs/filesystem" "github.com/diskfs/go-diskfs/filesystem/squashfs" "github.com/diskfs/go-diskfs/testhelper" ) var ( intImage = os.Getenv("TEST_IMAGE") ) // full test - create some files, fin...
eyalev/gcloud
lib/surface/iam/service_accounts/set_iam_policy.py
# 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 law or ag...
aiver-workshop/intro-algo
python/workshops/day01/5_class_orderbook.py
""" An order book is often modelled with a bids and asks sides, each side being an array of (price, quantity, identifier) Reference: https://realpython.com/python3-object-oriented-programming/ """ from datetime import datetime # create a class named Tier to represent a price level with information of price, quantit...
unimoreinginfo/esami
esame-34/stringhe/stringhe.c
#include <stdlib.h> #include <stdio.h> #include <string.h> char *parola_piu_lunga(const char *sz) { int size = 0; char *retstr = NULL; char *s = malloc(strlen(sz)+1); while (sscanf(sz, "%s", s) == 1 && sz[0] != 0) { if (strlen(s) > size) { size = strlen(s); retstr = realloc(retstr, size+1); strcpy(rets...
codacy/codacy-pmdJava
src/main/resources/docs/tests/category_java_codestyle_UnnecessaryConstructor.java
<reponame>codacy/codacy-pmdJava<filename>src/main/resources/docs/tests/category_java_codestyle_UnnecessaryConstructor.java<gh_stars>1-10 //#Patterns: category_java_codestyle_UnnecessaryConstructor public class Foo { //#Info: category_java_codestyle_UnnecessaryConstructor public Foo() { } }
deeg/libyal
data/source/pyyal/pyyal_codepage.c
<reponame>deeg/libyal /* * Codepage functions * * Copyright (C) ${python_module_copyright}, ${python_module_authors} * * Refer to AUTHORS for acknowledgements. * * This software is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by ...
sagrudd/amos
src/hawkeye/LaunchPad.cc
<reponame>sagrudd/amos #include "LaunchPad.hh" #include <iostream> #include <QtGui> #include "InsertWindow.hh" #include "DataStore.hh" #include "ChromoStore.hh" #include "ChromoPicker.hh" #include "NetworkCom.hh" #include "MainWindow.hh" #include "NChartStats.hh" #include "NChartWidget.hh" #include "amp.hh" using...
610t/retrobsd
src/cmd/ccom/config.h
/* config.h. Generated from config.h.in by configure. */ /* config.h.in. Generated from configure.ac by autoheader. */ /* Using a.out ABI */ /* #undef AOUTABI */ /* Define path to alternate assembler */ #define ASSEMBLER "mips-bsd-as" /* Using Classic 68k ABI */ /* #undef CLASSIC68K */ /* Using COFF ABI */ /* #...
mmjiang2019/ovs
tests/test-multipath.c
<gh_stars>1000+ /* * Copyright (c) 2010, 2012, 2013, 2014 Nicira, 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 ...
rstml/james-protocols
imap/src/main/java/org/apache/james/imap/api/process/SelectedMailbox.java
<reponame>rstml/james-protocols /**************************************************************** * 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 o...
protonyx/labtronyx
labtronyx/gui/wx_views/wx_resources.py
<filename>labtronyx/gui/wx_views/wx_resources.py __author__ = 'kkennedy' import wx import wx.lib.sized_controls import labtronyx from ..controllers import ResourceController from . import FrameViewBase, PanelViewBase, DialogViewBase class ResourceInfoPanel(PanelViewBase): def __init__(self, parent, controller)...
Shapemeans-GmbH/scalismo
src/test/scala/scalismo/registration/MetricTests.scala
/* * Copyright 2015 University of Basel, Graphics and Vision Research Group * * 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 * * Unl...
ghsecuritylab/skywalker
rt-thread-2.0.0/bsp/CME_M7/StdPeriph_Driver/src/cmem7_eth.c
/** ***************************************************************************** * @file cmem7_eth.c * * @brief CMEM7 ethernet source file * * * @version V1.0 * @date 3. September 2013 * * @note * ************************************************************************...
tomclegg/arvados
sdk/cwl/arvados_cwl/arvworkflow.py
import os import json import copy import logging from schema_salad.sourceline import SourceLine, cmap from cwltool.pack import pack from cwltool.load_tool import fetch_document from cwltool.process import shortname from cwltool.workflow import Workflow, WorkflowException from cwltool.pathmapper import adjustFileObjs,...
IbexOmega/CrazyCanvas
LambdaEngine/Source/Networking/API/SegmentPool.cpp
#include "Networking/API/SegmentPool.h" #include "Networking/API/NetworkSegment.h" #include "Log/Log.h" namespace LambdaEngine { SegmentPool::SegmentPool(uint16 size) { m_Segments.Reserve(size); m_SegmentsFree.Reserve(size); for (uint16 i = 0; i < size; i++) { NetworkSegment* pSegment = DBG_NEW NetworkS...
cvdnn/ZtoneLang
cvdnn-lang/src/main/java/android/concurrent/HandlerThread.java
<filename>cvdnn-lang/src/main/java/android/concurrent/HandlerThread.java<gh_stars>0 package android.concurrent; import android.os.Handler; import android.os.Looper; import android.os.Message; import android.os.SystemClock; public class HandlerThread { private final Handler mInternalHandler; public HandlerThr...
PatrickLerner/escrit
app/assets/javascripts/angular/resources/word.es6
function Word(Resource) { return Resource({ name_object: 'word' }); } Word.$inject = ['Resource']; escrit.factory('Word', Word);
kbougy/oil
tests/unit/oil/plugins/aws/iam/test_access_key_usage.py
import unittest import datetime from oil.plugins.aws.iam import AccessKeyUsagePlugin class AccessKeyUsagePluginTestCase(unittest.TestCase): def test_can_be_initialized_and_run_with_no_config(self): data_fixture = { 'aws': { 'iam': { 'aws-global': { ...
stustanet/Wahlfang
vote/migrations/0005_auto_20200530_0019.py
# Generated by Django 3.0.6 on 2020-05-29 22:19 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('vote', '0004_auto_20200529_2250'), ] operations = [ migrations.AlterField( model_name='openvote...
FutureTPM/tss
utils/tssmarshal.c
/********************************************************************************/ /* */ /* TSS Marshal and Unmarshal */ /* Written by <NAME> */ /* IBM Thomas J. Watson Research Center */ /* $Id: tssmarshal.c 1303 2018-08-20 16:49:52Z kgoldman $ */ /* */ /* (c) Cop...
EricWang1hitsz/osrm-backend
third_party/sol2/sol/thread.hpp
// sol2 // The MIT License (MIT) // Copyright (c) 2013-2018 Rapptz, ThePhD and contributors // 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 limit...
present1001/intellij-community
platform/vcs-log/impl/src/com/intellij/vcs/log/impl/VcsProjectLog.java
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.vcs.log.impl; import com.intellij.ide.caches.CachesInvalidator; import com.intellij.openapi.Disposable; import com.intellij.openapi.application.ApplicationMa...
smifun/nixer-spring-plugin
core/src/main/java/io/nixer/nixerplugin/core/login/inmemory/LoginCounter.java
<reponame>smifun/nixer-spring-plugin package io.nixer.nixerplugin.core.login.inmemory; import io.nixer.nixerplugin.core.login.LoginContext; import io.nixer.nixerplugin.core.login.LoginResult; import io.nixer.nixerplugin.core.login.LoginMetricCounter; import io.nixer.nixerplugin.core.login.LoginContext; import io.nixer...
wangrling/media
app/src/main/java/com/android/mm/arch/mvp/add/AddEditTaskFragment.java
package com.android.mm.arch.mvp.add; import androidx.fragment.app.Fragment; public class AddEditTaskFragment extends Fragment { public static final String ARGUMENT_EDIT_TASK_ID = "EDIT_TASK_ID"; }
zlc18/LocalJudge
tests/cpp/randomPickIndex/RandomPickIndex.cpp
<gh_stars>0 // Source : https://leetcode.com/problems/random-pick-index/ // Author : <NAME> // Date : 2016-11-04 /*************************************************************************************** * * Given an array of integers with possible duplicates, randomly output the index of a * given target number....
keigohtr/fastapi-template
app/utils.py
""" Utilities. """ import uuid def random_resource_id() -> str: """Generate random ID. Returns: id (str): ID. """ return str(uuid.uuid4())
ScalablyTyped/SlinkyTyped
r/rc-input-number/src/main/scala/typingsSlinky/rcInputNumber/components/SharedBuilder_PartialInputNumberProps681923691.scala
package typingsSlinky.rcInputNumber.components import org.scalajs.dom.raw.HTMLInputElement import slinky.core.facade.ReactElement import slinky.web.SyntheticKeyboardEvent import slinky.web.html.input.tag import typingsSlinky.StBuildingComponent import typingsSlinky.rcInputNumber.interfaceMod.ISize import typingsSlinky...
gomberg5264/maxwell90
src/main/java/net/glowstone/boss/GlowKeyedBossBar.java
<filename>src/main/java/net/glowstone/boss/GlowKeyedBossBar.java package net.glowstone.boss; import lombok.Getter; import org.bukkit.NamespacedKey; import org.bukkit.boss.BarColor; import org.bukkit.boss.BarFlag; import org.bukkit.boss.BarStyle; import org.bukkit.boss.KeyedBossBar; public class GlowKeyedBossBar exten...
NarrativeCompany/narrative
core/src/main/java/org/narrative/network/core/moderation/ModeratableStats.java
package org.narrative.network.core.moderation; import org.narrative.network.core.composition.base.CompositionConsumerStats; /** * Date: 9/30/11 * Time: 1:58 PM * * @author brian */ public interface ModeratableStats extends CompositionConsumerStats { public int getReportCount(); public void addModeratedR...
ronnyporsch/Custom-MADE
backend/src/main/java/de/btu/swt/backend/version/VersionRepository.java
<gh_stars>1-10 package de.btu.swt.backend.version; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface VersionRepository extends JpaRepository<Version, Long> { }
nilamjadhav/TypeScript
tests/baselines/reference/awaitClassExpression_es5.js
<reponame>nilamjadhav/TypeScript //// [awaitClassExpression_es5.ts] declare class C { } declare var p: Promise<typeof C>; async function func(): Promise<void> { class D extends (await p) { } } //// [awaitClassExpression_es5.js] function func() { return __awaiter(this, void 0, void 0, function () { ...
YourWishes/SoftEggLand
src/com/minecraft/softegg/commands/SoftEggLandCommandMarry.java
<reponame>YourWishes/SoftEggLand package com.minecraft.softegg.commands; import com.minecraft.softegg.SoftEggLand; import com.minecraft.softegg.SoftEggLandBase; import static com.minecraft.softegg.SoftEggLandBase.ChatDefault; import static com.minecraft.softegg.SoftEggLandBase.ChatImportant; import com.minecraft.softe...
Tshisuaka/api-snippets
twiml/message/message/message-1/message-1.6.x.py
<filename>twiml/message/message/message-1/message-1.6.x.py<gh_stars>100-1000 from twilio.twiml.messaging_response import Message, MessagingResponse response = MessagingResponse() response.message('Store Location: 123 Easy St.') print(response)
Kiubi/alpha
src/core/views/sidebarMenu.js
<gh_stars>1-10 var Backbone = require('backbone'); var Marionette = require('backbone.marionette'); var TooltipBehavior = require('kiubi/behaviors/tooltip'); module.exports = Marionette.View.extend({ template: require('../templates/sidebarMenu.html'), service: 'dashboard', behaviors: [TooltipBehavior], events: {...
zamounet/ft_21sh
srcs/tokenizer/split_command_utils.c
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* split_command_utils.c :+: :+: :+: ...
sunshihuan/mqtts
thinglinks-modules/thinglinks-modules-tdengine/src/main/java/com/mqttsnet/thinglinks/tdengine/controller/TdEngineController.java
<gh_stars>100-1000 package com.mqttsnet.thinglinks.tdengine.controller; import com.mqttsnet.thinglinks.common.core.domain.R; import com.mqttsnet.thinglinks.common.core.enums.DataTypeEnum; import com.mqttsnet.thinglinks.common.core.utils.StringUtils; import com.mqttsnet.thinglinks.tdengine.api.domain.Fields; import com...
lechium/tvOS145Headers
System/Library/PrivateFrameworks/Preferences.framework/PSQuotaInfo.h
<reponame>lechium/tvOS145Headers<gh_stars>1-10 /* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 28, 2021 at 9:04:51 PM Mountain Standard Time * Operating System: Version 14.5 (Build 18L204) * Image Sourc...
WandyLau/indy-plenum
state/test/test_state_proof_verification.py
<reponame>WandyLau/indy-plenum<filename>state/test/test_state_proof_verification.py import pytest from state.pruning_state import PruningState from state.state import State from storage.kv_in_memory import KeyValueStorageInMemory from storage.kv_store_leveldb import KeyValueStorageLeveldb from storage.kv_store_rocksdb...
ScottConway/csvPerformance
src/main/java/org/opencsv/csvperformance/CsvPerformanceApplication.java
<filename>src/main/java/org/opencsv/csvperformance/CsvPerformanceApplication.java package org.opencsv.csvperformance; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class CsvPerformanceApplication { public stat...
jeikabu/lumberyard
dev/Gems/EMotionFX/Code/EMotionFX/Source/EyeBlinker.h
<filename>dev/Gems/EMotionFX/Code/EMotionFX/Source/EyeBlinker.h /* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is gover...
jaylinjiehong/NumberOfPasses
Android/android-30/android30_code_view/src/com/company/source/com/android/server/wifi/WifiWakeMetrics.java
<filename>Android/android-30/android30_code_view/src/com/company/source/com/android/server/wifi/WifiWakeMetrics.java /* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You m...
T5750/java-repositories
jdk8/src/test/java/t5750/javassist/service/impl/MyTranslator.java
package t5750.javassist.service.impl; import javassist.*; public class MyTranslator implements Translator { @Override public void start(ClassPool pool) throws NotFoundException, CannotCompileException { } @Override public void onLoad(ClassPool pool, String classname) throws NotFoundException, CannotCompil...
hek5118/11tyHAX
app/unbundled-webcomponents/app/dist/build/es6/node_modules/@vaadin/vaadin-grid/theme/material/vaadin-grid-selection-column.js
<filename>app/unbundled-webcomponents/app/dist/build/es6/node_modules/@vaadin/vaadin-grid/theme/material/vaadin-grid-selection-column.js import"../../../grid/theme/material/vaadin-grid-selection-column.js";
19920625lsg/liuyubobobo-algorithms
Part4Action/src/main/java/Chapter2SwingBasic/package-info.java
<reponame>19920625lsg/liuyubobobo-algorithms /* * Created By <NAME> at 2018/5/20 16:38 * Description : Java Swing图像化编程的基础知识 */ package Chapter2SwingBasic;
fevorl/BM3D_py
cpp2py_test/symetrize_test.py
import numpy as np import cv2 def symetrize(img, width, height, chnls, N): w = width + 2 * N h = height + 2 * N img_sym = np.zeros((w * h * chnls)) for c in range(chnls): dc = c * width * height dc_2 = c * w * h + N * w + N # ! Center of the image for i in range(heigh...
emccrckn/go-client
splitio/storage/mutexqueue/impressions_test.go
<gh_stars>0 package mutexqueue import ( "strconv" "testing" "github.com/splitio/go-client/splitio/storage" "github.com/splitio/go-toolkit/logging" ) func TestMSImpressionsStorage(t *testing.T) { logger := logging.NewLogger(nil) i0 := storage.Impression{FeatureName: "feature0", BucketingKey: "123", ChangeNumbe...
chs6558/chs6558.github.io
node_modules/@styled-icons/boxicons-regular/Train/Train.js
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var React = tslib_1.__importStar(require("react")); var styled_icon_1 = require("@styled-icons/styled-icon"); exports.Train = React.forwardRef(function (props, ref) { var attrs = { "fill": "currentCo...
EugTech/make-a-band
fanosity/src/reducers/DataItemSelectionReducer.js
<reponame>EugTech/make-a-band import { SELECT_DATA_ITEM, DESELECT_DATA_ITEM } from '../actions/types'; const EMPTY_DATA_ITEM = { id: -1, title: "", desc: "", bio: "", image: ""}; export default (state = EMPTY_DATA_ITEM, action) => { switch(action.type) { case SELECT_DATA_ITEM: if(state ===...
giovanebmr/java-ifto
JAVA-IFTO/src/br/edu/ifto/aula4/orientacaoaobjetos/TestaCartaoDeCredito.java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package br.edu.ifto.aula4.orientacaoaobjetos; /** * * @author Giovane */ public class TestaCartaoDeCredito { public static void main(String [] args){ CartaoDeCredito cdc1 = new CartaoDeC...
martmists-gh/BDSP
include/il2cpp/System/NonSerializedAttribute.h
#pragma once #include "il2cpp.h" void System_NonSerializedAttribute___ctor (System_NonSerializedAttribute_o* __this, const MethodInfo* method_info);
rifraf/IronRuby_Framework_4.7.2
Languages/Ruby/Tests/mspec/rubyspec/library/date/upto_spec.rb
<gh_stars>1-10 require 'date' require File.dirname(__FILE__) + '/../../spec_helper' describe "Date#upto" do it "should be able to step forward in time" do ds = Date.civil(2008, 10, 11) de = Date.civil(2008, 9, 29) count = 0 de.upto(ds) do |d| d.should <= ds d.should >= de ...
xuychen/Leetcode
LCOF/21-30/28/28.py
import Queue # Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def isSymmetric(self, root): """ :type root: TreeNode :rtype: bool """ ...
LWH123123/JzdShop
app/src/main/java/com/jzd/jzshop/ui/home/local_life/location/SearchChoiceCityAdapter.java
package com.jzd.jzshop.ui.home.local_life.location; import android.content.Context; import android.support.v7.widget.GridLayoutManager; import android.support.v7.widget.RecyclerView; import android.view.View; import com.jzd.jzshop.R; import com.jzd.jzshop.entity.ChoiceCityEntity; import com.jzd.jzshop.ui.order.orderd...
It4innovations/quake
quake/server/server.py
<gh_stars>1-10 import asyncio import json import logging import os import random import tempfile import abrpc import uvloop from aiofile import AIOFile, Writer from .state import State from .task import TaskState # !!!!!!!!!!!!!!! uvloop.install() # !!!!!!!!!!!!!!! logger = logging.getLogger(__file__) class Proce...
opencomputeproject/HWMgmt-DeviceMgr-PSME
PSME/common/agent-framework/tests/module/task_test.cpp
<filename>PSME/common/agent-framework/tests/module/task_test.cpp /*! * @section LICENSE * * @copyright * Copyright (c) 2015-2017 Intel Corporation * * @copyright * 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...
epochArch/kuroro
kuroro-common/src/main/java/com/epocharch/kuroro/common/memeory/MemeoryQueueConfig.java
/* * Copyright 2017 EpochArch.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 obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
janghe11/MobileProgramming
SimpleButton/app/src/main/java/com/jang/simplebutton/MainActivity.java
package com.jang.simplebutton; import android.app.ActionBar; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.design.widget.Snackbar; import android.support.v7.app.ActionBarActivity; import android.support.v7.app.AppCompatActivity; import android.support.v7.wi...
klpdotorg/a3
app/src/main/java/com/akshara/assessment/a3/db/NewAssessmentTBL.java
package com.akshara.assessment.a3.db; import android.support.annotation.NonNull; import com.yahoo.squidb.annotations.ColumnSpec; import com.yahoo.squidb.annotations.PrimaryKey; import com.yahoo.squidb.annotations.TableModelSpec; /** * Created by Shridhar on 5/18/2018. */ @TableModelSpec(className = "Assessment_Ta...
kedorev/plateformer
Classes/environment.py
<filename>Classes/environment.py #!/usr/env/bin python3 import pygame from Game.Classes.image import image class environment(object): def __init__(self, name, ecran, posX = 0, posY = 0): self.ecran = ecran self.posX = posX self.posY = posY self.name = name self.image = Non...
glaciall/jtt808-simulator
src/main/java/cn/org/hentai/simulator/util/IPUtils.java
<gh_stars>10-100 package cn.org.hentai.simulator.util; import java.net.InetAddress; import java.net.InterfaceAddress; import java.net.NetworkInterface; import java.util.Enumeration; import java.util.List; /** * Created by matrixy when 2019/4/28. */ public final class IPUtils { public static long toInteger(Strin...
jjzhang166/qmlvncviewer2
tightvnc/win-event-log/WinEventLog.cpp
// Copyright (C) 2010,2011,2012 GlavSoft LLC. // All rights reserved. // //------------------------------------------------------------------------- // This file is part of the TightVNC software. Please visit our Web site: // // http://www.tightvnc.com/ // // This program is free software; you ca...
rebecca-NES/rebecca
src/spf/sources/node_server/src/scripts/controller/const.js
<gh_stars>1-10 /* Copyright 2020 NEC Solution Innovators, 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 agre...
rtburns-jpl/pyre
packages/pyre/calc/NodeInfo.py
# -*- coding: utf-8 -*- # # <NAME>. aïvázis # orthologue # (c) 1998-2020 all rights reserved # # declaration class NodeInfo: """ The base class for nodal metadata maintained by symbol tables """ # public data key = None # the hashed version of the symbol name name = None # the string version...
phollemans/cwutils
src/noaa/coastwatch/gui/LegendPanel.java
//////////////////////////////////////////////////////////////////////// /* File: LegendPanel.java Author: <NAME> Date: 2006/04/03 CoastWatch Software Library and Utilities Copyright (c) 2006 National Oceanic and Atmospheric Administration All rights reserved. Developed by: CoastWatch / OceanWat...
lechium/tvOS135Headers
System/Library/PrivateFrameworks/ToneLibrary.framework/TLVibrationPersistenceUtilities.h
/* * This header is generated by classdump-dyld 1.0 * on Sunday, June 7, 2020 at 11:17:58 AM Mountain Standard Time * Operating System: Version 13.4.5 (Build 17L562) * Image Source: /System/Library/PrivateFrameworks/ToneLibrary.framework/ToneLibrary * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by <NA...
chewtoys/oauth
web/src/modules/note/api/actions/mutation/index.js
<gh_stars>100-1000 // App Imports import save from './save' import remove from './remove' // Queries export { save, remove }
fedjo/aat
project/aat/urls.py
from django.conf.urls import url, include from . import views urlpatterns = [ url(r'^$', views.index, name='index'), url(r'^home', views.home, name='home'), url(r'^complexdetection', views.form_detection, name='form_detection'), url(r'^defaultdetection', views.fo...
SWayfarer/swl2
SWayfarer's Lib II/src/ru/swayfarer/swl2/z/dependencies/org/ho/yaml/wrapper/DateWrapper.java
/* * Copyright (c) 2007, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this list of * ...
esean/stl_voro_fill
sw/vtk_scripts/clean_stl/clean_stl.cxx
// #include "../common/vtk_common.h" #include <vtkCleanPolyData.h> int main ( int argc, char *argv[] ) { bool display = false; if ( argc != 2 ) { shared_print_version(); cout << "Required parameters: [STL] " << endl; cout << "Cleans STL" << endl; cout << "OUTPUT: writes to [STL]-c...
bhecquet/seleniumRobot
core/src/main/java/com/seleniumtests/util/logging/ScenarioLoggerFactory.java
package com.seleniumtests.util.logging; import org.apache.log4j.Logger; import org.apache.log4j.spi.LoggerFactory; class ScenarioLoggerFactory implements LoggerFactory { ScenarioLoggerFactory() { } public Logger makeNewLoggerInstance(String name) { return new ScenarioLogger(name); } }
8pig/springboot-blog-java
parent-blog/api-blog/src/main/java/com/zhou/blog/controller/ArticleController.java
package com.zhou.blog.controller; import com.zhou.blog.common.aop.LogAnnotation; import com.zhou.blog.common.cache.Cache; import com.zhou.blog.service.ArticleService; import com.zhou.blog.vo.Result; import com.zhou.blog.vo.params.ArticleParam; import com.zhou.blog.vo.params.PageParams; import org.springframework.bean...
pmenon/noisepage
src/main/db_main.cpp
#include "main/db_main.h" #define __SETTING_GFLAGS_DEFINE__ // NOLINT #include "settings/settings_defs.h" // NOLINT #undef __SETTING_GFLAGS_DEFINE__ // NOLINT #include "execution/execution_util.h" #include "loggers/common_logger.h" #include "optimizer/cost_model/trivial_cost_model.h" #include "storage/recover...
tnormington/tjn.io
src/components/CreditCardForm/CreditCardForm.js
<filename>src/components/CreditCardForm/CreditCardForm.js import React, { Component } from 'react' import Select from 'react-select' import 'react-select/dist/react-select.css' const monthes = [ { value: "01", label: 'Jan', }, { value: "02", label: 'Feb', }, { ...
andy-hanson/wahoo
src/main/scala/org/wahoo/logger/Logs.scala
package org.wahoo package logger trait Logs { def log(category:Symbol, description: => Any) { Logger.log(category, this, description) } }