max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
390
<reponame>jfindlay/Azure-MachineLearning-DataScience #!/home/lsun/anaconda/bin/python # In this script, we compute the precision for the returned top-k # # # ========== Version Information ===== # This _Arg version is based on recPrecision_v2.2.py (v2.2 version internally) #================== import sys import argp...
2,250
2,206
<reponame>Celebrate-future/deeplearning4j<filename>deeplearning4j/deeplearning4j-core/src/test/java/org/deeplearning4j/nn/updater/custom/CustomGradientUpdater.java /* * ****************************************************************************** * * * * * * This program and the accompanying materials are made...
623
1,144
<gh_stars>1000+ package de.metas.handlingunits; import de.metas.util.Check; /* * #%L * de.metas.handlingunits.base * %% * Copyright (C) 2019 metas GmbH * %% * 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 ...
1,129
5,169
{ "name": "ReduxyRouter", "version": "0.3.0", "summary": "Router extension for Reduxy", "description": "ReduxyRouter is test implementation of router system for Reduxy.\nReduxyRouter is in charge of creation and transitions of Routables which are NSObjects conforming ReduxyRoutable protocol.\nReduxyRouter uses ...
381
14,668
// 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 COMPONENTS_OFFLINE_ITEMS_COLLECTION_CORE_OFFLINE_CONTENT_AGGREGATOR_H_ #define COMPONENTS_OFFLINE_ITEMS_COLLECTION_CORE_OFFLINE_CONTENT_AGGREGATOR...
1,794
653
<reponame>byterubpay/kovri /** // * Copyright (c) 2013-2018, The Kovri I2P Router Project // * // *...
5,077
6,989
<reponame>ajayiagbebaku/NFL-Model<filename>venv/Lib/site-packages/pandas/core/arraylike.py """ Methods that can be shared by many array-like classes or subclasses: Series Index ExtensionArray """ import operator from typing import Any import warnings import numpy as np from pandas._libs import lib from p...
5,981
5,169
{ "name": "WeexAliPush", "version": "0.0.2", "summary": "Weex ali推送", "description": "Weex alicloudPush", "homepage": "https://github.com/WUBOSS/weex-aliPush", "license": { "type": "MIT", "text": " copyright\n" }, "authors": { "WUBOSS": "<EMAIL>" }, "platforms": { "ios": "...
411
1,046
# -*- coding: utf-8 -*- import unittest from pynes.compiler import lexical, syntax, semantic class StxTest(unittest.TestCase): def test_stx_zp(self): tokens = list(lexical('STX $00')) self.assertEquals(2, len(tokens)) self.assertEquals('T_INSTRUCTION', tokens[0]['type']) self.as...
793
462
## # Copyright (c) 2011-2017 Apple 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 applicab...
587
9,402
#include <config.h> #include "llvm-runtime.h" #include <glib.h> #include <mono/utils/mono-logger-internals.h> #include <mono/metadata/mono-debug.h> #include <mono/metadata/profiler.h> #include "trace.h" extern "C" { void mono_llvm_cpp_throw_exception (void) { gint32 *ex = NULL; if (mono_trace_is_enabled ()) mo...
284
2,859
import sys input_file = sys.argv[1] output_file = sys.argv[2] # fix up multi-word token lines = [] for line in sys.stdin: line = line.strip() lines += [line] input_lines = [] with open(input_file) as f: for line in f: line = line.strip() input_lines += [line] with open(output_file, 'w...
429
1,060
/* * Copyright 2012 LinkedIn, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
1,914
421
/* * Copyright 2021 Airsaid. https://github.com/airsaid * * 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 appli...
636
646
<filename>src/main/java/com/dimple/project/common/domain/ReplayEmail.java package com.dimple.project.common.domain; import lombok.Data; import java.io.Serializable; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.Map; /** * @className: Tag * @description: * @au...
559
679
/************************************************************** * * 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 y...
419
918
<filename>examples/pxScene2d/external/libnode-v10.15.3/deps/icu-small/source/common/uloc_keytype.cpp // © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html /* ********************************************************************** * Copyright (C) 2014-2016, Inte...
11,341
513
#define MOD 1000000007 typedef long long ll; // Helper function to return progressive sum ll prod(ll n) { return ((n * (n + 1))) / 2; } // Function to return the min time taken to get the original string after rotation ll timeTaken(string s) { if (s.size() == 1) { return 1; } while (s.size()...
1,105
324
<reponame>tormath1/jclouds<filename>apis/openstack-swift/src/main/java/org/jclouds/openstack/swift/v1/features/DynamicLargeObjectApi.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 informat...
1,372
8,805
<filename>ios/Pods/boost-for-react-native/boost/compute/algorithm/exclusive_scan.hpp<gh_stars>1000+ //---------------------------------------------------------------------------// // Copyright (c) 2013 <NAME> <<EMAIL>> // // Distributed under the Boost Software License, Version 1.0 // See accompanying file LICENSE_...
1,285
347
<reponame>hbraha/ovirt-engine package org.ovirt.engine.core.bll.kubevirt; import org.ovirt.engine.core.compat.Guid; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import io.kubernetes.client.ApiClient; import io.kubernetes.client.informer.ResourceEventHandler; import io.kubernetes.client.informer.SharedInde...
1,770
1,428
<filename>C/Heloo.c #include <stdio.h> int main() { // printf() displays the string inside quotation,don't forget semi-colon ;D printf("Hello, World!"); return 0; }
64
14,425
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
3,307
488
class Base { public: Base() {} }; class Sub : public Base { public: Sub() { } int x[ 3 ]; }; int main() { Sub s; // simple bounds error int y = s.x[ 3 ]; }
101
429
/* * Copyright (c) 2020, <NAME>. All Rights Reserved. * * This file is part of Efficient Java Matrix Library (EJML). * * 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....
660
45,293
package transitiveStory.apiJvm.jbeginning; import playground.SomeUsefulInfoKt; public class JavaApiContainer { private String privateJavaDeclaration = "I'm a private string from `" + SomeUsefulInfoKt.getModuleName() + "` and shall be never visible to the others."; String packageVisibleJavaDeclara...
348
575
# Copyright 2011 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. """Makes sure that injected JavaScript is clang-format clean.""" def CheckChangeOnUpload(input_api, output_api): """Special Top level function called by g...
125
406
<filename>BraintreeCore/src/test/java/com/braintreepayments/api/ErrorsWithResponseUnitTest.java<gh_stars>100-1000 package com.braintreepayments.api; import android.os.Parcel; import org.json.JSONException; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.RobolectricTestRunner; import st...
2,110
383
<filename>fuse_constraints/test/test_relative_pose_2d_stamped_constraint.cpp<gh_stars>100-1000 /* * Software License Agreement (BSD License) * * Copyright (c) 2018, Locus Robotics * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provi...
7,743
359
/* Copyright 2018 New Vector 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 in writing, softwar...
264
830
<reponame>LaudateCorpus1/deepmath<gh_stars>100-1000 /* Copyright 2017 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0...
375
6,436
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ #ifdef TARGET_OPENGLES shader.load("shadersES2/shader"); #else if(ofIsGLProgrammableRenderer()){ shader.load("shadersGL3/shader"); }else{ shader.load("shadersGL2/shader"); } #endif image.load("img...
483
1,338
<gh_stars>1000+ /* * Copyright 2008, <NAME>, <EMAIL>. * Distributed under the terms of the MIT License. */ #include <stdio.h> #include <stdlib.h> int gTestNr; void set_env() { gTestNr++; printf("Test %d...\n", gTestNr); if (setenv("TEST_VARIABLE", "42", true) != 0) fprintf(stderr, "Test %d: setting varia...
425
382
/**************************************************************************** ** Copyright (c) 2021, Fougue Ltd. <http://www.fougue.pro> ** All rights reserved. ** See license at https://github.com/fougue/mayo/blob/master/LICENSE.txt ****************************************************************************/ #includ...
626
333
package com.alipay.api.response; import java.util.List; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.internal.mapping.ApiListField; import com.alipay.api.domain.CreditBankCredit; import com.alipay.api.AlipayResponse; /** * ALIPAY API: alipay.commerce.educate.creditbank.credit.que...
335
382
<reponame>pemmasanikrishna/clouddriver /* * Copyright 2021 Netflix, 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 ...
322
608
<reponame>GizzZmo/vstgui // This file is part of VSTGUI. It is subject to the license terms // in the LICENSE file found in the top-level directory of this // distribution and at http://github.com/steinbergmedia/vstgui/LICENSE #include "uiviewswitchcontainercreator.h" #include "../detail/uiviewcreatorattributes.h" #i...
2,322
815
/*========================================================================= Program: ParaView Module: pqCoreConfiguration.h Copyright (c) 2005,2006 Sandia Corporation, Kitware Inc. All rights reserved. ParaView is a free software; you can redistribute it and/or modify it under the terms of the Par...
1,648
1,875
<filename>flutter-studio/src/io/flutter/project/FlutterCreateState.java /* * 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. */ package io.flutter.project; import com.android.annotations.concurrency.Guar...
640
2,151
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gm.h" #include "sk_tool_utils.h" #include "SkBlurMask.h" #include "SkBlurMaskFilter.h" #include "SkColorPriv.h" #include "SkGradientShader.h" #include "SkImage.h" #i...
4,241
7,956
# -*- coding: utf-8 -*- # # Copyright © Spyder Project Contributors # Licensed under the terms of the MIT License # (see spyder/__init__.py for details) """ Language Server Protocol configuration tabs. """ # Third party imports from qtpy.QtCore import Qt from qtpy.QtWidgets import (QGroupBox, QGridLayout, QLabel, ...
1,533
4,345
// // LocationHelper.h // Coding_iOS // // Created by Kevin on 3/21/15. // Copyright (c) 2015 Coding. All rights reserved. // #import <Foundation/Foundation.h> #import <CoreLocation/CoreLocation.h> @interface LocationHelper : NSObject //百度转火星坐标 + (CLLocationCoordinate2D )bdToGGEncrypt:(CLLocationCoordinate2D)coo...
179
312
/******************************************************************************* * Copyright (c) 2019 Eclipse RDF4J contributors. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Distribution License v1.0 * which accompanies this distribution, an...
777
1,702
package com.example.webflux; import org.springframework.data.repository.reactive.ReactiveCrudRepository; interface CustomerRepository extends ReactiveCrudRepository<Customer, Integer> { }
54
3,638
<reponame>mohammadnaseri/ForkHub<gh_stars>1000+ /* * Copyright 2016 <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/LICENSE-2.0 * * Unless ...
680
480
/* * Copyright [2013-2021], Alibaba Group Holding Limited * * 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...
427
2,875
<gh_stars>1000+ # -*- coding: utf-8 -*- # @Time : 2017/2/24 下午3:17 # @Author : play4fun # @File : 48.2.3_颜色量化.py # @Software: PyCharm """ 48.2.3_颜色量化.py: """ # 色 化就是减少图片中 色数目的一个 程。为什么 减少图片中的 色呢 减少内存消耗 有些 备的 源有 只能显示很少的 色。在 种情 况下就 色 化。我们使用 K 值聚类的方法来 色 化。 # 没有什么新的知 介绍了。现在有 3 个特征 R G B。所以我们 把图片数据变形成 M...
985
435
<gh_stars>100-1000 package org.uma.jmetal.algorithm.multiobjective.mosa.cooling.impl; import org.uma.jmetal.algorithm.multiobjective.mosa.cooling.CoolingScheme; /** * Linear cooling scheme used by {@link SimulatedAnnealing} algorithms */ public class Linear implements CoolingScheme { private final double beta ; ...
236
534
package mekanism.client.gui.element.gauge; import java.util.List; import java.util.function.Supplier; import mekanism.api.chemical.slurry.ISlurryTank; import mekanism.api.chemical.slurry.Slurry; import mekanism.api.chemical.slurry.SlurryStack; import mekanism.client.gui.IGuiWrapper; import mekanism.common.lib.transmit...
654
731
<reponame>rainprob/GibsonEnv from gibson.envs.mobile_robots_env import TurtlebotNavigateSpeedControlEnv from gibson.utils.play import play import argparse import os import pybullet as p import pybullet_data import numpy as np config_file = os.path.join(os.path.dirname(os.path.realpath(__file__)), '..', 'configs', 'pla...
632
2,338
#define MakeResolver(name) \ void * name ## Resolver(void) __asm__("_" #name); \ void * name ## Resolver(void) { \ __asm__(".symbol_resolver _" #name); \ return name ## _hidden; ...
260
348
<reponame>chamberone/Leaflet.PixiOverlay<filename>docs/data/leg-t2/067/06707503.json {"nom":"Uttwiller","circ":"7ème circonscription","dpt":"Bas-Rhin","inscrits":131,"abs":69,"votants":62,"blancs":2,"nuls":2,"exp":58,"res":[{"nuance":"REM","nom":"<NAME>","voix":30},{"nuance":"LR","nom":"<NAME>","voix":28}]}
131
488
#ifndef ROSE_StatSerializer_H #define ROSE_StatSerializer_H #include <featureTests.h> #ifdef ROSE_ENABLE_BINARY_ANALYSIS #ifdef ROSE_HAVE_BOOST_SERIALIZATION_LIB #include <boost/serialization/access.hpp> #include <boost/serialization/array.hpp> #include <boost/serialization/base_object.hpp> #include <boost/serializa...
527
12,252
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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.apach...
561
1,127
<reponame>ryanloney/openvino-1<filename>src/common/util/src/common_util.cpp // Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "openvino/util/common_util.hpp" #include <algorithm> std::string ov::util::to_lower(const std::string& s) { std::string rc = s; std::tran...
623
12,278
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2021 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
1,411
493
<filename>oss_test/unity/unity_sframe_lazy_eval.cxx /* * Copyright (C) 2016 Turi * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) a...
2,476
352
/* * ConsoleManip.h * * This file is part of the XShaderCompiler project (Copyright (c) 2014-2018 by <NAME>) * See "LICENSE.txt" for license information. */ #ifndef XSC_CONSOLE_MANIP_H #define XSC_CONSOLE_MANIP_H #include "Export.h" #include <ostream> #include <iostream> namespace Xsc { //! Namespace for co...
1,673
2,460
<gh_stars>1000+ /** * Copyright (C) 2015 Red Hat, 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 a...
2,631
542
<reponame>BGTCapital/hummingbot import unittest from dataclasses import dataclass from hummingbot.logger import log_encoder class LoggerUtilFunctionsTest(unittest.TestCase): def test_log_encoder_encodes_dataclasses(self): @dataclass class DummyDataClass: one: int two: floa...
194
321
<filename>WLRRoute/Classes/WLRRegularExpression.h // // WLRRegularExpression.h // Pods // // Created by Neo on 2016/12/15. // // #import <Foundation/Foundation.h> @class WLRMatchResult; /** This object is a regularExpression,it can match a url and return the result with WLRMatchResult object. */ @interface WLR...
194
963
package com.vladmihalcea.book.hpjp.hibernate.criteria.blaze.bulk; /** * The {@link PostStatus} * * @author <NAME> * @since 1.x.y */ public enum PostStatus { PENDING, APPROVED, SPAM }
93
1,738
<filename>dev/Code/Framework/AzFramework/AzFramework/Asset/AssetSystemComponentHelper.cpp /* * 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...
1,661
3,102
// RUN: %clang_cc1 -triple x86_64-windows-msvc -fms-extensions -emit-llvm -o - %s | FileCheck %s __declspec(dllimport) void f(); void g() { f(); } // use it // CHECK: define dso_local dllexport void @f void f() { }
91
508
import errno import logging from contextlib import contextmanager from botocore.exceptions import ClientError logger = logging.getLogger("s3fs") @contextmanager def ignoring(*exceptions): try: yield except exceptions: pass try: from contextlib import AsyncExitStack except ImportError: ...
2,527
345
/* * Copyright 2016 HuntBugs 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 applicable law ...
612
14,668
<filename>components/accuracy_tips/accuracy_service_unittest.cc // Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/accuracy_tips/accuracy_service.h" #include <memory> #include "base/m...
7,757
3,377
<gh_stars>1000+ package com.github.javafaker; import static com.github.javafaker.matchers.MatchesRegularExpression.matchesRegularExpression; import static org.junit.Assert.assertThat; import org.junit.Test; public class KaamelottTest extends AbstractFakerTest { @Test public void testCharacter() { as...
257
2,268
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: Base combat character with no AI // // $Workfile: $ // $Date: $ // //----------------------------------------------------------------------------- // $Log: $ // // $NoKeywords: $ //==================================...
1,219
667
<reponame>lsqtzj/TSeer<filename>api/cplus/src/Tseer_inner_comm.h /** * Tencent is pleased to support the open source community by making Tseer available. * * Copyright (C) 2018 THL A29 Limited, a Tencent company. All rights reserved. * * Licensed under the BSD 3-Clause License (the "License"); you may not use thi...
1,490
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.contextmenu; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.MatcherAssert.assertThat; im...
4,509
545
from types import ModuleType import pytest from mock import MagicMock from mock import patch from kolibri.plugins.utils.options import extend_config_spec def test_raise_if_overwrite_core_option(): base_config_spec = {"Server": {"DEPLOY": {"type": "string"}}} plugin_options_mock = ModuleType("options_mock") ...
1,985
691
<gh_stars>100-1000 /*============================================================================= Copyright (c) 2011-2019 <NAME> https://github.com/bolero-MURAKAMI/Sprout Distributed under the sprout Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.sprout.org/LI...
326
5,279
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
959
575
// 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.share.long_screenshots.bitmap_generation; import android.graphics.Rect; import org.chromium.base.annotations.CalledB...
1,376
852
<reponame>ckamtsikis/cmssw import FWCore.ParameterSet.Config as cms def customise(process): raise Exception(""" ######################################## # # -- Warning! You are using a deprecated customisation function. -- # # You have to update your configuration file by # If using cmsDriver: # ...
381
892
{ "schema_version": "1.2.0", "id": "GHSA-c37x-99rc-p6r7", "modified": "2022-05-12T00:00:35Z", "published": "2022-05-05T00:00:25Z", "aliases": [ "CVE-2022-25779" ], "details": "Logging of Excessive Data vulnerability in audit log of Secomea GateManager allows logged in user to write text entries in aud...
428
2,870
<filename>tests/e2e/tests/test_kiali_node_detail_graph.py import pytest import tests.conftest as conftest from utils.common_utils import common_utils bookinfo_namespace = conftest.get_bookinfo_namespace() def test_app_node_details(kiali_client): graph_type = 'app' response = common_utils.get_response(kiali_c...
941
12,278
//Copyright (c) 2008-2017 <NAME> and <NAME>, Inc. //Distributed under 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) #ifndef BOOST_QVM_AD4F14F2444066D06BC430B7323BA122 #define BOOST_QVM_AD4F14F2444066D06BC430B7323BA122 //This file wa...
2,834
1,300
<gh_stars>1000+ #!/usr/bin/env python2 def get_none(): return None
31
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Saint-Georges-de-Luzençon","circ":"3ème circonscription","dpt":"Aveyron","inscrits":1281,"abs":651,"votants":630,"blancs":47,"nuls":11,"exp":572,"res":[{"nuance":"LR","nom":"<NAME>","voix":363},{"nuance":"REM","nom":"<NAME>","voix":209}]}
117
19,046
<reponame>Harshitha91/Tmdb-react-native-node<gh_stars>1000+ /* * Copyright (c) Facebook, Inc. and its affiliates. * * 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.apa...
361
636
<reponame>Faizullah877/compression<filename>models/hific/configs.py<gh_stars>100-1000 # Copyright 2020 Google LLC. 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 # # ...
1,561
1,694
<reponame>CrackerCat/iWeChat // // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by <NAME>. // #import "NSObject-Protocol.h" @protocol MMGridViewLayoutStrategy <NSObject> + (_Bool)requiresEnablingPaging; - ...
295
848
# Copyright 2019 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 # # Unless required by applica...
832
511
/**************************************************************************** * * Copyright 2019 Samsung Electronics 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...
1,106
3,075
<gh_stars>1000+ /* * Copyright 2008 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
1,177
521
import os import sys import argparse import torch sys.path.append(os.getcwd()) import src.data.data as data import src.data.config as cfg import src.interactive.functions as interactive rel_formatting = { 'AtLocation': "\t\t", 'CapableOf': "\t\t", 'Causes': "\t\t", 'CausesDesire': "\t\t", 'Creat...
1,955
3,012
<filename>OvmfPkg/Csm/Include/FrameworkDxe.h /** @file The root header file that provides Framework extension to UEFI/PI for modules. It can be included by DXE, RUNTIME and SMM type modules that use Framework definitions. This header file includes Framework extension definitions common to DXE modules. ...
296
380
<reponame>trochaeli/oxAuth package org.gluu.oxauth.service; import com.google.common.collect.Lists; import org.gluu.model.GluuAttribute; import org.gluu.model.attribute.AttributeDataType; import org.gluu.oxauth.model.common.User; import org.gluu.oxauth.model.config.StaticConfiguration; import org.gluu.oxauth.model.con...
3,890
892
<filename>advisories/unreviewed/2022/05/GHSA-7f3h-668h-399r/GHSA-7f3h-668h-399r.json { "schema_version": "1.2.0", "id": "GHSA-7f3h-668h-399r", "modified": "2022-05-01T18:31:54Z", "published": "2022-05-01T18:31:54Z", "aliases": [ "CVE-2007-5281" ], "details": "The Java Secure Socket Extension (JSSE) in...
651
743
<filename>source/ios/AdaptiveCards/AdaptiveCards/AdaptiveCards/ACRQuickReplyMultilineView.h // // ACRQuickReplyMultilineView // ACRQuickReplyMultilineView.h // // Copyright © 2018 Microsoft. All rights reserved. // #import "ACRButton.h" #import "ACRTextView.h" #import <UIKit/UIKit.h> @protocol ACRIQuickReply - (ACR...
232
3,442
<reponame>wcicola/jitsi /* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Copyright @ 2015 Atlassian Pty 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 * * ...
757
6,224
<reponame>chen-png/zephyr<gh_stars>1000+ /* * Copyright (c) 2018 Nordic Semiconductor ASA * * SPDX-License-Identifier: Apache-2.0 */ #include <zephyr.h> #include <logging/log.h> #include "sample_module.h" LOG_MODULE_REGISTER(MODULE_NAME, CONFIG_SAMPLE_MODULE_LOG_LEVEL); const char *sample_module_name_get(void) { ...
176
321
<reponame>AppSecAI-TEST/qalingo-engine /** * Most of the code in the Qalingo project is copyrighted Hoteia and licensed * under the Apache License Version 2.0 (release version 0.8.0) * http://www.apache.org/licenses/LICENSE-2.0 * * Copyright (c) Hoteia, 2012-2014 * http://www.hoteia.com ...
970
311
<reponame>wyddmw/ViT-pytorch-1<filename>ml_collections/config_flags/tests/valueerror_config.py # Copyright 2021 The ML Collections 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 # #...
354
12,718
<filename>lib/libc/include/generic-glibc/sys/termios.h #ifndef _SYS_TERMIOS_H #define _SYS_TERMIOS_H #include <termios.h> #endif
60
1,599
# This code is part of Qiskit. # # (C) Copyright IBM 2017. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
3,328
1,056
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
2,811
777
<reponame>google-ar/chromium<gh_stars>100-1000 // Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chromeos/login/users/avatar/user_image_manager_test_util.h" #include <stddef.h> #...
975