max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
725
<reponame>DanteG41/tgbot-cpp #ifndef TGBOT_CPP_GENERICREPLY_H #define TGBOT_CPP_GENERICREPLY_H #include <memory> namespace TgBot { /** * @brief This abstract class is base of all keyboard related events. * @ingroup types */ class GenericReply { public: typedef std::shared_ptr<GenericReply> Ptr; virtual ...
158
335
<gh_stars>100-1000 { "word": "Plausible", "definitions": [ "(of an argument or statement) seeming reasonable or probable.", "(of a person) skilled at producing persuasive arguments, especially ones intended to deceive." ], "parts-of-speech": "Adjective" }
98
363
<gh_stars>100-1000 #include <iostream> #include <cppassist/cmdline/CommandLineProgram.h> #include <cppassist/cmdline/CommandLineAction.h> #include <cppassist/cmdline/CommandLineSwitch.h> #include <cppassist/cmdline/CommandLineOption.h> #include <cppassist/cmdline/CommandLineParameter.h> #include <cppfs/cppfs-version...
960
1,174
// Copyright 2020-2021 Espressif Systems (Shanghai) PTE 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 app...
1,125
539
package org.bondlib.examples; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import org.bondlib.Bonded; import org.bondlib.Deserializer; import org.bondlib.CompactBinaryReader; import org.bondlib.CompactBinaryWriter; import org.bondlib.Serializer; import org.bo...
1,159
5,169
{ "name": "SXTrustSDK", "version": "1.0.3-beta", "summary": "山西信托交易iOSSDK组件", "description": "山西信托交易iOSSDK组件. 用于授权方在app内部嵌入使用.", "homepage": "https://github.com/sxtrust/iOSSDK.git", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "sxxtappdev": "<EMAIL>" }, "source": { "...
450
811
{ "description": "Selectors - Type element selector without declared namespace (css3-modsel-93)", "selectors": { "*|testA": "css3-modsel-93.expected0.html", "|testA": "css3-modsel-93.expected1.html" }, "src": "css3-modsel-93.src.html" }
102
545
<reponame>rofl0r/pspsdk /* * PSP Software Development Kit - https://github.com/pspdev * ----------------------------------------------------------------------- * Licensed under the BSD license, see LICENSE in PSPSDK root for details. * * main.c - Demonstrate use of kernel messageboxes. * * Copyright (c) 2005 <NA...
2,124
780
// Copyright 2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 /* This example generates the same data on each rank so that we can build * off the existing OSPRay testing data generators, however each rank * specifies a subregion as its local domain to render the data as if it was * distributed. The sce...
2,050
1,040
/* Copyright (c) <2012> <<NAME>> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute,...
6,013
648
<gh_stars>100-1000 /* No need to export any objects. This lib will only be used to check if dlopen() works. */ static void __attribute__ ((constructor)) my_init(void) { }
57
407
# -*- coding: utf-8 -*- """ @Author: tushushu @Date: 2018-08-21 17:32:24 @Last Modified by: tushushu @Last Modified time: 2018-08-21 17:32:24 """ import os os.chdir(os.path.split(os.path.realpath(__file__))[0]) import sys sys.path.append(os.path.abspath("..")) from imylu.recommend.als import ALS from imylu.utils.lo...
469
4,629
<filename>include/base64.h /******************************************************************************* * * /\ | _ _ ._ o _|_ |_ ._ _ _ * /--\ | (_| (_) | | |_ | | | | | _> * _| * * Base64 * Base64 is a group of similar binary-to-text encoding schemes that represen...
1,576
578
<gh_stars>100-1000 /* * Copyright (c) 2003-2021 <NAME> <<EMAIL>>. * All rights reserved. Use of the code is allowed under the * Artistic License 2.0 terms, as specified in the LICENSE file * distributed with this code, or available from * http://www.opensource.org/licenses/artistic-license-2.0.php */ #include "stdafx....
823
14,668
// 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. #ifndef IOS_TESTING_EARL_GREY_APP_LAUNCH_MANAGER_APP_INTERFACE_H_ #define IOS_TESTING_EARL_GREY_APP_LAUNCH_MANAGER_APP_INTERFACE_H_ #import <Foundation/F...
225
1,100
/********************************************************************************* * (Display a running fan) Write a program that displays a running fan, as shown * * in Figure 15.33c. Use the Pause, Resume, Reverse buttons to pause, resume, * * and reverse fan running. ...
608
449
<reponame>duxiuxing/Genesis-Plus-GX #ifndef LIBRETRO_CORE_OPTIONS_INTL_H__ #define LIBRETRO_CORE_OPTIONS_INTL_H__ #if defined(_MSC_VER) && (_MSC_VER >= 1500 && _MSC_VER < 1900) /* https://support.microsoft.com/en-us/kb/980263 */ #pragma execution_character_set("utf-8") #pragma warning(disable:4566) #endif #include <...
16,497
312
//----------------------------------------------------------------------------- // Copyright (c) 2013 GarageGames, LLC // // 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 restrictio...
1,357
701
#pragma once #include <brutal/alloc/base.h> #include <brutal/base/cast.h> #include <brutal/base/keywords.h> #include <brutal/base/macros.h> #include <brutal/mem.h> typedef struct { char *data; int len; Alloc *alloc; int data_size; int capacity; } VecImpl; #define Vec(T) \ union ...
3,703
658
from torch import nn import torch from torch.nn import functional as F from lib.networks.resnet import resnet18, resnet50, resnet34 class Resnet18_8s(nn.Module): def __init__(self, ver_dim, seg_dim, fcdim=256, s8dim=128, s4dim=64, s2dim=32, raw_dim=32): super(Resnet18_8s, self).__init__() # Load ...
6,717
369
<reponame>Shiva-D/rtos-course //***************************************************************************** // // ssi.c - Driver for Synchronous Serial Interface. // // Copyright (c) 2005,2006 Luminary Micro, Inc. All rights reserved. // // Software License Agreement // // Luminary Micro, Inc. (LMI) is supplying thi...
6,267
1,014
<filename>Database/Equities/Countries/Greece/Technology/_Technology Industries.json [ "Business Software & Services", "Communication Equipment", "Computer Based Systems", "Computer Hardware", "Diversified Electronics", "Healthcare Information Services", "Information Technology Service...
131
1,438
<reponame>YunWisdom/Dex package com.dexvis.db; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.SQLException; import java.sql.Statement; import java.text.DateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.uti...
4,551
506
<gh_stars>100-1000 package org.gitlab4j.api; import static org.junit.Assert.assertEquals; import java.io.ByteArrayOutputStream; import java.nio.charset.StandardCharsets; import org.gitlab4j.api.utils.Oauth2LoginStreamingOutput; import org.junit.Test; import com.fasterxml.jackson.databind.JsonNode; public class Tes...
1,173
879
package org.zstack.header.console; /** * Created by xing5 on 2016/3/15. */ public interface ConsoleProxyAgentMessage { }
40
474
<filename>javacord-core/src/main/java/org/javacord/core/event/server/ServerChangeRegionEventImpl.java package org.javacord.core.event.server; import org.javacord.api.entity.Region; import org.javacord.api.entity.server.Server; import org.javacord.api.event.server.ServerChangeRegionEvent; /** * The implementation of ...
433
6,989
#pragma once #ifdef USE_PYTHON3 #include <contrib/tools/python3/src/Include/code.h> #else #include <contrib/tools/python/src/Include/code.h> #endif
65
4,054
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.orchestrator; import com.yahoo.vespa.applicationmodel.HostName; import com.yahoo.vespa.orchestrator.model.NodeGroup; public class BatchInternalErrorException extends OrchestrationException ...
257
396
package me.everything.providers.sample.custom; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import java.util.Locale; /** * Created by sromku on 2/4/15. */ public class SampleSQLiteOpenHelper extends SQLiteOpenHelper { private s...
385
892
{ "schema_version": "1.2.0", "id": "GHSA-3x57-pm7m-x59f", "modified": "2022-05-01T18:00:10Z", "published": "2022-05-01T18:00:10Z", "aliases": [ "CVE-2007-2109" ], "details": "Multiple unspecified vulnerabilities in Oracle Database 10.2.0.3 have unknown impact and remote authenticated attack vectors re...
936
2,380
<filename>smack-core/src/integration-test/java/org/jivesoftware/smack/MessageTest.java /** * * Copyright 2003-2007 Jive Software. * * 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 * * ...
6,155
521
/* * Copyright (c) 2013, infinit.io * * This software is provided "as is" without warranty of any kind, * either expressed or implied, including but not limited to the * implied warranties of fitness for a particular purpose. * * See the LICENSE file for more information on the terms and * conditions. */ #inc...
6,613
3,428
{"id":"00856","group":"easy-ham-1","checksum":{"type":"MD5","value":"b71f98991ee068f642498810ba0c5383"},"text":"From <EMAIL> Wed Oct 2 18:18:59 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: y<EMAIL>assassin.taint.org\nReceived: from localhost (jalapeno [127.0.0.1])\n\tby jmason.org (Postfix) with ESMTP id DB3F816F03\n\...
1,437
557
package com.dm.material.dashboard.candybar.utils; import android.support.annotation.NonNull; import android.support.annotation.Nullable; /* * CandyBar - Material Dashboard * * Copyright (c) 2014-2016 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file ...
983
1,452
/* * This file is part of qpOASES. * * qpOASES -- An Implementation of the Online Active Set Strategy. * Copyright (C) 2007-2017 by <NAME>, <NAME>, * <NAME> et al. All rights reserved. * * qpOASES is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Li...
493
998
<filename>Source/VoxelEditor/Private/Factories/VoxelAssetClassParentFilter.h<gh_stars>100-1000 // Copyright 2021 Phyronnaz #pragma once #include "CoreMinimal.h" #include "ClassViewerFilter.h" #include "Kismet2/KismetEditorUtilities.h" class FVoxelAssetClassParentFilter : public IClassViewerFilter { public:...
618
903
/* * Copyright 2020 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 "license" ...
885
4,348
<filename>Documents/Provider/app/src/main/java/com/commonsware/android/documents/provider/GetContentActivity.java<gh_stars>1000+ /*** Copyright (c) 2016 CommonsWare, 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 c...
775
376
<filename>include/Nazara/Shader/Ast/SanitizeVisitor.hpp<gh_stars>100-1000 // Copyright (C) 2020 <NAME> // This file is part of the "Nazara Engine - Shader generator" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_SHADERAST_TRANSFORMVISITOR_HPP #define NAZARA_...
1,845
1,467
/* * Copyright 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 "license" file ...
548
348
<gh_stars>100-1000 {"nom":"Bézu-le-Guéry","circ":"5ème circonscription","dpt":"Aisne","inscrits":172,"abs":77,"votants":95,"blancs":4,"nuls":2,"exp":89,"res":[{"nuance":"REM","nom":"M. <NAME>","voix":52},{"nuance":"FN","nom":"M. <NAME>","voix":37}]}
108
980
<gh_stars>100-1000 package org.jcodec.codecs.h264.decode; import static java.lang.System.arraycopy; import static org.jcodec.codecs.h264.H264Utils.Mv.mvC; import static org.jcodec.codecs.h264.H264Utils.Mv.mvRef; import static org.jcodec.codecs.h264.H264Utils.Mv.packMv; import static org.jcodec.common.ArrayUtil.shiftLef...
3,079
650
package cn.netdiscovery.downloader.selenium.pool; import cn.netdiscovery.downloader.selenium.Browser; import com.cv4j.proxy.domain.Proxy; import org.openqa.selenium.WebDriver; /** * Created by tony on 2018/3/9. */ public class WebDriverFactory { public static WebDriver getWebDriver(String path, Browser browser...
457
370
<reponame>amcp/ndbench /** * Copyright (c) 2018 Netflix, Inc. All rights reserved. */ package com.netflix.ndbench.core.discovery; import com.amazonaws.services.autoscaling.AmazonAutoScaling; import com.amazonaws.services.autoscaling.AmazonAutoScalingClientBuilder; import com.amazonaws.services.autoscaling.model.*; ...
1,982
1,295
<reponame>ibizaman/veewee<filename>lib/python/parallels_send_key.py import sys import prlsdkapi if len(sys.argv) != 4: print "Usage: parallels_send_keycode '<VM_NAME>' '<keyname>' '<press|release>'" exit() # Parse arguments vm_name=sys.argv[1] # Keycode to use keyname=sys.argv[2] # Release or press state=sys....
704
344
/********************************************************************** Copyright (c) 2016 Advanced Micro Devices, Inc. All rights reserved. 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 wi...
700
348
<filename>docs/data/leg-t1/067/06708472.json {"nom":"Soufflenheim","circ":"8ème circonscription","dpt":"Bas-Rhin","inscrits":3517,"abs":2103,"votants":1414,"blancs":11,"nuls":10,"exp":1393,"res":[{"nuance":"REM","nom":"<NAME>","voix":499},{"nuance":"FN","nom":"<NAME>","voix":357},{"nuance":"LR","nom":"<NAME>","voix":28...
294
3,301
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.alibaba.alink.operator.common.statistics; public enum DistributionFuncName { StdNormal, Normal, Gamma, Beta, Chi2, StudentT, Uniform, Exponential, F; }
98
521
/* $Id: VDIfVfs.cpp $ */ /** @file * Virtual Disk Image (VDI), I/O interface to IPRT VFS I/O stream glue. */ /* * Copyright (C) 2012-2017 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistr...
5,886
542
//---------------------------------------------------------------------------- // // TSDuck - The MPEG Transport Stream Toolkit // Copyright (c) 2005-2021, <NAME> // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following c...
1,659
546
<reponame>siliconarts/vortex /*************************************************************************** *cr *cr (C) Copyright 2007 The Board of Trustees of the *cr University of Illinois *cr All Rights Reserved *cr ***************************************...
276
473
#pragma once #define ESC "\x01" #define PRINTF_CHAR '\x01' #define NL "\x02"
36
713
package org.infinispan.counter.exception; /** * A {@link RuntimeException} related to counters. * * @author <NAME> * @since 9.0 */ public class CounterException extends RuntimeException { public CounterException() { } public CounterException(String message) { super(message); } public Count...
205
399
<reponame>csalmhof/Kafdrop /* * Copyright 2017 HomeAdvisor, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
3,328
4,812
//==- CodeViewYAMLTypes.h - CodeView YAMLIO Type implementation --*- C++ -*-==// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
765
1,604
<gh_stars>1000+ package org.bouncycastle.tsp.ers; import java.util.HashMap; import java.util.Map; import org.bouncycastle.asn1.x509.AlgorithmIdentifier; import org.bouncycastle.operator.DigestCalculator; /** * An ERSData object that caches hash calculations. */ public abstract class ERSCachingData implements E...
427
304
/* Copyright 2022 NVIDIA 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 required by applicable law or agreed...
1,063
318
{ "variants": { "type=bottom": { "model": "techreborn:block/rubber/rubber_plank_slab" }, "type=top": { "model": "techreborn:block/rubber/rubber_plank_slab_top" }, "type=double": { "model": "techreborn:block/rubber/rubber_planks" } } }
128
570
package cn.taroco.rbac.admin.model.dto; import cn.taroco.rbac.admin.model.entity.SysRole; import lombok.Data; import lombok.EqualsAndHashCode; /** * @author liuht * @date 2018/1/20 * 角色Dto */ @EqualsAndHashCode(callSuper = true) @Data public class RoleDTO extends SysRole { private static final long serialVers...
219
2,542
<reponame>gridgentoo/ServiceFabricAzure // ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ----------------------------------------------------...
5,885
892
<filename>advisories/unreviewed/2021/12/GHSA-mp42-3cqm-wg6h/GHSA-mp42-3cqm-wg6h.json { "schema_version": "1.2.0", "id": "GHSA-mp42-3cqm-wg6h", "modified": "2021-12-03T00:00:42Z", "published": "2021-12-02T00:00:37Z", "aliases": [ "CVE-2021-29849" ], "details": "IBM QRadar SIEM 7.3 and 7.4 is vulnerable...
472
569
<filename>closure-templates/java/tests/com/google/template/soy/soyparse/SoyParseUtilsTest.java /* * Copyright 2017 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * h...
904
482
package io.cattle.platform.servicediscovery.api.util.selector; import java.util.List; import java.util.Map; public class SelectorConstraintNotIn extends SelectorConstraint<List<String>> { public SelectorConstraintNotIn(String key, List<String> value) { super(key, value); } @Override public bo...
329
1,503
<filename>greykite/tests/common/test_testing_utils.py import datetime from greykite.common.constants import TIME_COL from greykite.common.constants import VALUE_COL from greykite.common.testing_utils import generate_df_for_tests from greykite.common.testing_utils import generate_df_with_reg_for_tests from greykite.com...
723
335
<filename>P/Phenothiazine_noun.json { "word": "Phenothiazine", "definitions": [ "A synthetic compound which is used in veterinary medicine to treat parasitic infestations of animals.", "Any of a group of derivatives of phenothiazine with tranquillizing properties, used in the treatment of mental...
123
359
<reponame>nyx-litenite/never /** * Copyright 2018 <NAME> * * 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, m...
1,073
11,356
// Copyright <NAME> 2011. // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <tommath.h> int main() { mp_int v; mp_init(&v); if(v.dp) mp_clear(&v); r...
133
48,021
#ifndef NVIM_PLINES_H #define NVIM_PLINES_H #include "nvim/vim.h" #ifdef INCLUDE_GENERATED_DECLARATIONS # include "plines.h.generated.h" #endif #endif // NVIM_PLINES_H
83
6,989
<gh_stars>1000+ #include "iostatus.h"
18
3,371
package com.beloo.widget.chipslayoutmanager.layouter; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import static org.junit.Assert.*; @RunWith(JUnit4.class) public class IncrementalPositionIteratorTest extends AbstractPositionIteratorTest { @Override AbstractPositio...
558
9,778
<reponame>chuan2019/postgres /*------------------------------------------------------------------------- * * pg_ctl --- start/stops/restarts the PostgreSQL server * * Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group * * src/bin/pg_ctl/pg_ctl.c * *--------------------------------------------...
28,106
348
{"nom":"Lormaison","circ":"3ème circonscription","dpt":"Oise","inscrits":933,"abs":521,"votants":412,"blancs":8,"nuls":2,"exp":402,"res":[{"nuance":"FN","nom":"<NAME>","voix":141},{"nuance":"REM","nom":"<NAME>","voix":90},{"nuance":"LR","nom":"Mme <NAME>","voix":68},{"nuance":"DVG","nom":"M. <NAME>","voix":25},{"nuance...
329
2,185
<gh_stars>1000+ #ifndef DEIS_KERNEL_H #define DEIS_KERNEL_H #define GET_BUFFER_ADDRESS 0x8001 #define GET_BUFFER_SIZE 0x8002 #define READ_BUFFER 0x8003 #define RESET_BUFFER 0x8004 #endif // DEIS_KERNEL_H
125
778
import KratosMultiphysics as Kratos import KratosMultiphysics.FluidDynamicsApplication as KratosFluid import KratosMultiphysics.KratosUnittest as UnitTest import KratosMultiphysics.kratos_utilities as KratosUtils class FluidAuxiliaryUtilitiesTest(UnitTest.TestCase): def setUp(self): self.model = Kratos.Mo...
2,836
1,889
package com.yj.app.utils; import android.graphics.Camera; import android.graphics.Matrix; import android.support.annotation.NonNull; import android.view.View; import android.view.animation.Animation; import android.view.animation.Transformation; /** * @author JingYeoh * <a href="mailto:<EMAIL>">Email me</a>...
623
2,465
# coding=utf-8 from __future__ import unicode_literals import unittest import os import codecs from keras_bert.backend import keras from keras_bert import get_model, POOL_NSP, POOL_MAX, POOL_AVE, extract_embeddings class TestUtil(unittest.TestCase): def setUp(self): current_path = os.path.dirname(os.path...
2,095
841
package org.jboss.resteasy.test.asynch.resource; public interface AsyncInjectionContextInterface { int foo(); }
38
1,275
<gh_stars>1000+ /** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the *...
632
518
# flake8: noqa from dataclasses import fields from .containers import ( TYPES, Locator, PointLocator, OffsetLocator, RegionLocator, SizeLocator, ImageLocator, OcrLocator, BrowserLocator, # For backwards compatibility: Coordinates, Offset, BrowserDOM, ImageTemplate...
157
1,144
/* * Copyright (C) 2015 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 may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
1,075
850
<reponame>tianyapiaozi/tensorflow /* Copyright 2016 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unle...
1,506
529
// For License please refer to LICENSE file in the root of YALField project #import "YALResponder.h" @interface YALCustomResponder : NSObject <YALResponder> @property (nonatomic, copy) void (^actionBlock)(void); @end
70
4,038
/* This file is part of Magnum. Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 <NAME> <<EMAIL>> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to ...
4,234
2,053
/* * Copyright 2015 the original author or authors. * @https://github.com/scouter-project/scouter * * 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/licen...
2,819
344
/* * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
2,565
1,073
# -*- coding: utf-8 -*- # The LLVM Compiler Infrastructure # # This file is distributed under the University of Illinois Open Source # License. See LICENSE.TXT for details. import unittest import tests.unit import tests.functional.cases def suite(): loader = unittest.TestLoader() suite =...
173
325
<filename>webapp/src/main/java/com/box/l10n/mojito/nativecriteria/JpaNativeQuery.java package com.box.l10n.mojito.nativecriteria; import com.github.pnowy.nc.core.NativeQuery; import com.github.pnowy.nc.core.QueryInfo; import java.util.Collection; import java.util.List; import javax.persistence.Query; import javax.pers...
852
764
<filename>erc20/0x752FF65b884b9C260D212C804E0b7ACEea012473.json<gh_stars>100-1000 {"symbol": "SNPC","address": "0x752FF65b884b9C260D212C804E0b7ACEea012473","overview":{"en": ""},"email": "<EMAIL>","website": "https://earneo.io/","state": "NORMAL","links": {"blog": "https://medium.com/@Snapparazzi1","twitter": "https://...
180
2,801
from __future__ import absolute_import, print_function, unicode_literals from attr import attrib, attrs from attr.validators import instance_of, provides from automat import MethodicalMachine from zope.interface import implementer from . import _interfaces from ._key import derive_phase_key, encrypt_data @attrs @im...
958
473
<reponame>pingjuiliao/cb-multios /* Copyright (c) 2014 Cromulence LLC 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, mod...
744
407
// MIT License // // Copyright (c) 2019 <NAME>, Chair for Embedded Security. All Rights reserved. // Copyright (c) 2021 Max Planck Institute for Security and Privacy. All Rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documenta...
2,077
940
unsigned mult(unsigned a, unsigned b) { unsigned s = 0; for (int i = 0; i < a; ++i) { s += b; } return s; } unsigned fact(unsigned a) { if (a <= 1) { return 1; } else { return a * fact(a - 1); } }
101
14,668
// 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. package org.chromium.chrome.browser.omnibox; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animatio...
24,268
1,350
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.resourcemover.models; import com.azure.core.annotation.Fluent; import com.azure.core.util.logging.ClientLogger; import com.faste...
764
575
/* * Copyright (C) 2013 Google Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
2,645
14,668
<filename>content/renderer/media/cast_renderer_client_factory.cc // Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/renderer/media/cast_renderer_client_factory.h" #include "media/base/med...
594
709
<filename>src/main/java/com/olacabs/jackhammer/utilities/FileOperations.java package com.olacabs.jackhammer.utilities; import com.google.inject.Inject; import com.olacabs.jackhammer.common.CustomErrorCodes; import com.olacabs.jackhammer.common.ExceptionMessages; import com.olacabs.jackhammer.configuration.JackhammerCo...
920
595
<gh_stars>100-1000 /****************************************************************************** * Copyright (C) 2015 - 2020 Xilinx, Inc. All rights reserved. * SPDX-License-Identifier: MIT ******************************************************************************/ /**********************************************...
348
739
<filename>pyjswidgets/pyjamas/selection/SelectionImpl.py<gh_stars>100-1000 """ * Copyright 2010 <NAME> * * 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/LICENS...
678
918
// // Copyright 2015, <NAME> <<EMAIL>> // // This file is free software: you may copy, redistribute and/or modify it // under the terms of the GNU General Public License as published by the // Free Software Foundation, either version 2 of the License, or (at your // option) any later version. // // This file is ...
661