max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
1,179
// SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2017, Linaro Limited */ void __aeabi_unwind_cpp_pr0(void); void __aeabi_unwind_cpp_pr0(void) { } void __aeabi_unwind_cpp_pr1(void); void __aeabi_unwind_cpp_pr1(void) { } void __aeabi_unwind_cpp_pr2(void); void __aeabi_unwind_cpp_pr2(void) { }
143
742
#ifndef ARENA_SOUND_NAME_H #define ARENA_SOUND_NAME_H #include <string> // Various sound filenames not otherwise obtained automatically by loading the original game's data. namespace ArenaSoundName { // Combat. const std::string ArrowFire = "ARROWFR.VOC"; const std::string ArrowHit = "ARROWHT.VOC"; const std::st...
554
416
#pragma once #include <FastBVH/BBox.h> #include <vector> #include "../examples/tiny_obj_loader.h" namespace FastBVH { namespace Benchmark { //! \brief Converts a face into a bounding box. //! Used by @ref FaceBVH::BVH during the build process. class FaceBoxConverter final { /// The minimum X values of the mesh ...
1,291
326
// Boost.Geometry (aka GGL, Generic Geometry Library) // Copyright (c) 2007-2015 <NAME>, Amsterdam, the Netherlands. // Copyright (c) 2008-2015 <NAME>, Paris, France. // Copyright (c) 2009-2015 <NAME>, London, UK. // Copyright (c) 2014-2015 <NAME>, Grenoble, France. // This file was modified by Oracle on 2015-2020. /...
623
1,921
cache = None def get_subseq(arr, start): if start == len(arr): return 0 current = arr[start] max_inc = 1 for index in range(start + 1, len(arr)): if arr[index] >= current: if index in cache: count = cache[index] else: count = get...
416
2,151
// Copyright 2018 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 "ash/multi_device_setup/multi_device_notification_presenter.h" #include <map> #include <memory> #include <utility> #include "ash/session/test_s...
6,240
8,027
/* * 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.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
1,271
356
/* ALGORITHM Step 1: Create a doubly linked list where each node contains only one character of a string....
2,233
4,879
package com.mapswithme.util.sharing; import android.app.Activity; import android.content.Intent; import android.net.Uri; import androidx.annotation.Nullable; import com.mapswithme.util.StorageUtils; public class LocalFileShareable extends BaseShareable { private final String mFileName; private final String mMime...
280
955
<reponame>MajesticFalcon/nornir<gh_stars>100-1000 from typing import Any, Dict, Optional from jinja2 import Environment, FileSystemLoader, StrictUndefined def render_from_file( path: str, template: str, jinja_filters: Optional[Dict[str, Any]] = None, **kwargs: Any ) -> str: jinja_filters = jinja_...
348
575
<reponame>Ron423c/chromium<gh_stars>100-1000 // 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 "chromeos/components/phonehub/do_not_disturb_controller_impl.h" #include <memory> #include "chrome...
2,107
1,037
<reponame>czl0325/ZLCollectionView // // ZLCollectionViewBackViewLayoutAttributes.h // ZLCollectionView // // Created by <NAME> on 2020/4/17. // Copyright © 2020 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> #import "ZLBaseEventModel.h" NS_ASSUME_NONNULL_BEGIN @interface ZLCollectionViewBackgroundViewL...
281
357
# # -*- coding: utf-8 -*- # # Copyright (c) 2018 Intel 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 app...
1,485
1,582
<filename>vilya/views/uis/code_review.py # -*- coding: utf-8 -*- from __future__ import absolute_import from quixote.errors import TraversalError from vilya.views.util import jsonize, http_method from vilya.models.linecomment import PullLineComment from vilya.models.project import CodeDoubanProject from vilya.libs.te...
785
450
<reponame>mehrdad-shokri/parket { "compileOnSave": false, "compilerOptions": { "module": "esnext", "moduleResolution": "node", "sourceMap": true, "jsx": "react", "jsxFactory": "h", "noImplicitAny": true, "experimentalDecorators": true, "strictNullChecks": true, "noFallthroughCase...
371
1,168
<reponame>wcalandro/kythe /* * Copyright 2020 The Kythe 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 ...
1,487
1,350
package com.azure.cosmos; import com.azure.cosmos.implementation.TestConfigurations; import com.azure.cosmos.models.ThroughputProperties; public class ThroughputPropertiesCodeSnippet { public static void main(String[] args) throws Exception { CosmosAsyncClient client = new CosmosClientBuilder() ...
335
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...
4,991
1,350
<gh_stars>1000+ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.timeseriesinsights.models; import com.azure.core.annotation.Fluent; import com.azure.core.annotation.JsonFlatten...
2,205
1,510
/* Recreated Espressif libphy phy.o contents. Copyright (C) 2015 Espressif Systems. Derived from MIT Licensed SDK libraries. BSD Licensed as described in the file LICENSE */ #include "open_esplibs.h" #if OPEN_LIBNET80211_WL_CNX // The contents of this file are only built if OPEN_LIBPHY_PHY is set to true #endi...
116
690
/* * Copyright 2014 <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 required by applicable law or agreed to in writin...
1,252
634
<reponame>vttranlina/james-project /**************************************************************** * 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 copyrigh...
1,910
834
<reponame>nathanawmk/fboss // Copyright 2004-present Facebook. All Rights Reserved. #pragma once #include "fboss/agent/hw/test/HwLinkStateDependentTest.h" #include "fboss/agent/hw/sai/switch/SaiSwitch.h" #include "fboss/agent/platforms/sai/SaiPlatform.h" namespace facebook { namespace fboss { class SaiLinkStateDep...
389
1,738
/* * 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 governed by the License, * or, if provided, by the license below or t...
1,530
678
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/CertInfo.framework/CertInfo */ @protocol CertInfoTrustDescription; @interface CertInfoCertificateListController : NSObject { id<CertInfoTrustDescription> _description; // 168 = 0xa8 } - (BOOL)shouldAutorotateToIn...
306
20,546
// // YMUpdateManager.h // WeChatExtension // // Created by MustangYM on 2019/5/10. // Copyright © 2019 MustangYM. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface YMUpdateManager : NSObject + (id)shareInstance; - (void)checkWeChatExtensionUpdate; @end NS_ASSUME_NONNU...
123
1,590
<reponame>libc16/azure-rest-api-specs<filename>specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/blob_tier_changed.json { "topic": "/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/jolov/providers/Microsoft.Storage/storageAccounts/jolovstorage", "subject": "/blobServi...
469
2,181
<reponame>yaplej/bro<filename>src/analyzer/protocol/rdp/RDPEUDP.h<gh_stars>1000+ #pragma once #include "zeek/analyzer/protocol/rdp/events.bif.h" #include "zeek/analyzer/protocol/rdp/rdpeudp_pac.h" namespace zeek::analyzer::rdpeudp { class RDP_Analyzer final : public analyzer::Analyzer { public: explicit RDP_Anal...
307
1,330
/* * $Id$ * * 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 * "Lice...
559
719
/* * Copyright 2020 momosecurity. * * 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...
2,152
606
<gh_stars>100-1000 package org.arend.naming.scope; import org.arend.naming.reference.*; import org.arend.naming.resolving.visitor.ExpressionResolveNameVisitor; import org.arend.term.NameRenaming; import org.arend.term.NamespaceCommand; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable...
2,497
1,144
/* * (C) Copyright 2013 * <NAME>, DENX Software Engineering, <EMAIL>. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of * the License, or (at your option) any later ve...
732
892
{ "schema_version": "1.2.0", "id": "GHSA-qwp7-fcxc-qfx5", "modified": "2022-05-13T01:09:06Z", "published": "2022-05-13T01:09:06Z", "aliases": [ "CVE-2018-19204" ], "details": "PRTG Network Monitor before 18.3.44.2054 allows a remote authenticated attacker (with read-write privileges) to execute arbitr...
623
831
/* * Copyright (C) 2017 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...
8,803
460
<reponame>harry-b/sentry-cocoa<filename>Tests/SentryTests/SentryCrash/TestSentryCrashAdapter.h #import "SentryCrashAdapter.h" #import "SentryDefines.h" #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN /** * Written in Objective-C because Swift doesn't allow you to call the constructor of * TestSentryCrashA...
265
1,144
<gh_stars>1000+ /* * #%L * de.metas.elasticsearch * %% * Copyright (C) 2021 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 Software Foundation, either version 2 of the * License, or (at you...
589
522
<gh_stars>100-1000 package algs.chapter7.figure11; import algs.model.gametree.IEvaluation; import algs.model.problems.tictactoe.debug.TicTacToeDebugger; import algs.model.problems.tictactoe.model.BoardEvaluation; import algs.model.problems.tictactoe.model.PlaceMark; import algs.model.problems.tictactoe.model.Player; i...
1,462
21,382
package io.ray.streaming.runtime.demo; import io.ray.api.Ray; import io.ray.streaming.api.context.StreamingContext; import io.ray.streaming.api.function.impl.SinkFunction; import io.ray.streaming.api.stream.DataStreamSource; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Paths; import jav...
1,177
778
import os from .common import * # noqa exacute_backend = os.environ.get("EXAQUTE_BACKEND") print("EXAQUTE_BACKEND=", exacute_backend) if exacute_backend: exacute_backend = exacute_backend.lower() if not exacute_backend: print("ExaQUte backend: Local") from .local import * # noqa elif exacute_backend =...
212
892
<gh_stars>100-1000 { "schema_version": "1.2.0", "id": "GHSA-p2h6-rq92-jmvq", "modified": "2022-05-01T17:41:23Z", "published": "2022-05-01T17:41:23Z", "aliases": [ "CVE-2007-0038" ], "details": "Stack-based buffer overflow in the animated cursor code in Microsoft Windows 2000 SP4 through Vista allows r...
1,518
357
/* * Copyright (c) 2012-2015 VMware, 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 ...
1,440
634
<gh_stars>100-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. Th...
2,973
302
<reponame>cashlisa/mos #include <memory/vmm.h> #include <utils/string.h> char *strdup(const char *s) { size_t len = strlen(s) + 1; void *new = kcalloc(len, sizeof(char)); if (new == NULL) return NULL; return (char *)memcpy(new, s, len); }
110
1,375
// Copyright lowRISC contributors. // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include <stdbool.h> #include <stdint.h> #include "sw/device/lib/testing/check.h" #include "sw/device/lib/testing/rand_testutils.h" /** * The polynomial co-efficients...
356
407
package com.alibaba.tesla.gateway.server.util; /** * 常量 * @author <EMAIL> */ public class GatewayConstants { /** * 当前运行环境类型 * Internal 集团内 */ public static final String ENVIRONMENT_INTERNAL = "Internal"; public static final String ENVIRONMENT_OXS = "OXS"; public static final String E...
428
471
# Generated by Django 2.2.16 on 2021-03-17 18:03 import corehq.apps.auditcare.models import corehq.util.models from architect.commands import partition from django.db import migrations, models import django.db.models.deletion def add_partitions(apps, schema_editor): partition.run({'module': 'corehq.apps.auditcar...
2,560
3,850
/** * Copyright (C) 2010-2016 eBusiness Information, Excilys Group * Copyright (C) 2016-2020 the AndroidAnnotations 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://...
606
908
<filename>tests/java-src/org/jnius/CloseableClass.java<gh_stars>100-1000 package org.jnius; import java.io.Closeable; public class CloseableClass implements Closeable{ public static boolean open = true; public CloseableClass() { open = true; } public void close() { open = false; ...
123
331
<gh_stars>100-1000 /* This file is a part of JRTPLIB Copyright (c) 1999-2011 <NAME> Contact: <EMAIL> This library was developed at the Expertise Centre for Digital Media (http://www.edm.uhasselt.be), a research center of the Hasselt University (http://www.uhasselt.be). The library is based upon work done...
2,248
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.automation.implementation; import com.azure.core.annotation.BodyParam; import com.azure.core.annotation.Delete; import com.azure...
18,698
575
<filename>chrome/browser/printing/cloud_print/privet_http_unittest.cc<gh_stars>100-1000 // Copyright 2013 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/printing/cloud_print/privet_http.h" #inc...
14,787
397
<gh_stars>100-1000 // // InfoTableViewController.h // sample-push-notifications // // Created by Injoit on 12/30/18. // Copyright © 2018 Quickblox. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface InfoTableViewController : UITableViewController @end NS_ASSUME_NONNULL_END
118
756
// Copyright (C) 2020 <NAME>, <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, publis...
1,508
892
<filename>advisories/unreviewed/2022/04/GHSA-4j42-4g6h-g8rv/GHSA-4j42-4g6h-g8rv.json { "schema_version": "1.2.0", "id": "GHSA-4j42-4g6h-g8rv", "modified": "2022-04-30T18:12:00Z", "published": "2022-04-30T18:12:00Z", "aliases": [ "CVE-1999-1201" ], "details": "Windows 95 and Windows 98 systems, when co...
520
921
//-***************************************************************************** // // Copyright (c) 2009-2011, // <NAME>, Inc. and // Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd. // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // mod...
6,023
1,144
/****************************************************************************** * Product: Adempiere ERP & CRM Smart Business Solution * * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. * * This program is free software, you can redistribute it and/or modify it * ...
3,987
3,102
// RUN: %clang_cc1 -verify -emit-llvm-only %s // rdar://problem/7838962 namespace test0 { template<typename T> unsigned f0() { return T::MaxSize; // expected-error {{'int' cannot be used prior to '::'}} }; template<typename T> struct A { void Allocate(unsigned Alignment = f0<T>()) // ...
176
2,151
<reponame>zipated/src // Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/test/histogram_tester.h" #include "base/test/scoped_feature_list.h" #include "build/build_config.h" #include "chrome/...
23,781
3,294
<reponame>BaruaSourav/docs #pragma once namespace PublicEnumTest { //<snippet01> // Define the enum public enum class TrafficLight : int { Red, Yellow, Green }; //… //</snippet01> public ref class Class1 sealed { public: Class1() { //<snippet02> ...
907
407
<gh_stars>100-1000 /** * Copyright 2011 The Apache Software Foundation * * 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 ...
1,857
369
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #pragma once #include "Error.hpp" #include <string> namespace bluetooth { auto set_name(std::string &name) -> Error; } // namespace bluetooth
106
332
<filename>modules/executor/core/src/main/java/com/webank/wedatasphere/exchangis/executor/JobExecutor.java /* * * Copyright 2020 WeBank * * 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 Lic...
5,931
19,127
<filename>crypto/asn1/standard_methods.h /* * Copyright 2006-2021 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution ...
595
1,198
/* Copyright 2017-2019 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 agreed t...
815
892
{ "schema_version": "1.2.0", "id": "GHSA-qqgr-6jmg-cwgv", "modified": "2022-04-24T00:00:38Z", "published": "2022-04-14T00:00:18Z", "aliases": [ "CVE-2021-22797" ], "details": "A CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal) vulnerability exists that could cause ...
508
721
<gh_stars>100-1000 package info.loenwind.processor; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.SOURCE; @Retention(SOURCE) @Tar...
125
355
/* * JBoss, Home of Professional Open Source * Copyright 2008-10 Red Hat and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser G...
19,989
369
# -*- coding: utf-8 -*- # Copyright © 2016-2017 Cask Data, 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 applicab...
2,190
415
<filename>integration_tests/src/main/python/row-based_udf_test.py # Copyright (c) 2021, 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/licen...
753
2,381
<filename>generator/src/main/java/io/geekidea/springbootplus/generator/CodeGenerator.java /* * Copyright 2019-2029 geekidea(https://github.com/geekidea) * * 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 ...
8,627
4,339
/* * 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 may ...
1,177
371
# -*- coding: utf-8 -*- from django.core import cache as django_cache from django.utils.module_loading import import_string from watchman.settings import WATCHMAN_CHECKS def get_cache(cache_name): return django_cache.caches[cache_name] def get_checks(check_list=None, skip_list=None): checks_to_run = froze...
232
2,542
<gh_stars>1000+ // ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stda...
3,106
5,144
from .functions import * from .modules import *
13
937
/* * Copyright Debezium Authors. * * Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0 */ package io.debezium.examples.caching.model; import org.infinispan.protostream.annotations.ProtoFactory; import org.infinispan.protostream.annotations.ProtoField; ...
1,271
1,801
#pragma once #include <iostream> #include <vector> #include <map> #include <thread> #include <mutex> #include <chrono> #include <atomic> #include <condition_variable> #include "BaseDetector.h" #include "Ctracker.h" // ---------------------------------------------------------------------- /// /// \brief The FrameInf...
709
385
/** * @file NerveExecutor.h * @brief Executor for a specific nerve in an actor. */ #pragma once #include "../keeper/NerveKeeper.h" namespace al { class NerveExecutor { public: NerveExecutor(char const *); virtual al::NerveKeeper* getNerveKeeper() const; virtual ~NerveExecutor(...
200
602
/* * 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 ...
9,795
1,350
""" Module providing model inversion attacks. """ from art.attacks.inference.model_inversion.mi_face import MIFace
33
1,870
<filename>tests/test_models/test_common.py # Copyright (c) OpenMMLab. All rights reserved. import os.path as osp import pytest import torch import torch.nn as nn from mmcv.utils import assert_params_all_zeros from mmaction.models.common import (LFB, TAM, Conv2plus1d, ConvAudio, Div...
2,061
3,803
[ { "outputFileName": "wwwroot/admin/payments.min.js", "inputFiles": [ "wwwroot/admin/payments.module.js", "wwwroot/admin/provider/payment-provider-service.js", "wwwroot/admin/provider/payment-provider-list.js", "wwwroot/admin/payment/payment-service.js", "wwwroot/admin/payment/p...
207
903
/**************************************************************************** ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (<EMAIL>) ** ** This file is part of the plugins of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** GNU Le...
2,167
745
<reponame>recess-creative/flutter-mapbox-gl // This file is generated. // Copyright 2018 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 com.mapbox.mapboxgl; import com.mapbox.mapboxsdk.geometry.LatLng; /** *...
492
507
/// Copyright 2017 <NAME> // Distributed under the Boost license, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // See https://github.com/danielaparker/jsoncons for latest version #ifndef JSONCONS_JSONPATCH_JSONPATCH_ERROR_HPP #define JSONCONS_JSONPATCH_JSONPA...
1,532
890
<reponame>light1021/asylo /* * * Copyright 2019 Asylo authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
336
2,542
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
1,556
394
//===--- Generics.cpp ---- Utilities for transforming generics ------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
32,072
1,858
/* * 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 ...
1,024
836
/* Copyright (C) 2002 Univ. of Massachusetts Amherst, Computer Science Dept. This file is part of "MALLET" (MAchine Learning for LanguagE Toolkit). http://www.cs.umass.edu/~mccallum/mallet This software is provided under the terms of the Common Public License, version 1.0, as published by http://www.opensou...
290
1,133
<filename>db/phys_rep.h #ifndef PHYS_REP_H #define PHYS_REP_H #include <stdlib.h> // extern variable defn extern int gbl_is_physical_replicant; extern unsigned int gbl_deferred_phys_update; extern int gbl_deferred_phys_flag; int add_replicant_host(char *hostname, char *dbname, size_t tier); int remove_replicant_host(...
227
421
<filename>samples/snippets/cpp/VS_Snippets_Winforms/Classic InputLanguage.CurrentInputLanguage Example/CPP/source.cpp #using <System.Windows.Forms.dll> #using <System.Drawing.dll> #using <System.dll> #using <System.Data.dll> using namespace System; using namespace System::Data; using namespace System::Component...
290
743
<reponame>knightsc/yara<filename>bazel/yara.bzl<gh_stars>100-1000 YARA_CONFIG_OPTS = [ "-DHAVE_CLOCK_GETTIME=1", #"-DHAVE_COMMONCRYPTO_COMMONCRYPTO_H", "-DHAVE_LIBCRYPTO=1", "-DHAVE_MEMMEM=1", "-DHAVE_STDBOOL_H=1", # "-DHAVE__MKGMTIME=1", "-DHAVE_TIMEGM=1", ] YARA_COPTS = YARA_CONFIG_OPTS ...
3,363
2,338
// Check that on the PS4 we default to: // -target-cpu btver2, no exceptions and not -tune-cpu generic // RUN: %clang -target x86_64-scei-ps4 -c %s -### 2>&1 | FileCheck %s // CHECK: "-target-cpu" "btver2" // CHECK-NOT: exceptions // CHECK-NOT: "-tune-cpu"
105
3,200
<reponame>PowerOlive/mindspore # Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required...
13,283
348
<gh_stars>100-1000 {"nom":"Warcq","circ":"2ème circonscription","dpt":"Meuse","inscrits":137,"abs":69,"votants":68,"blancs":5,"nuls":0,"exp":63,"res":[{"nuance":"REM","nom":"<NAME>","voix":33},{"nuance":"FN","nom":"M. <NAME>","voix":30}]}
99
713
package org.infinispan.server.hotrod.configuration; import static java.util.Arrays.stream; /** * @since 10.0 */ public enum QOP { AUTH("auth"), AUTH_INT("auth-int"), AUTH_CONF("auth-conf"); private String v; QOP(String v) { this.v = v; } @Override public String toString() { re...
222
2,499
<reponame>javasboy/qmq /* * Copyright 2018 Qunar, 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 appli...
639
849
/* * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The OpenAirInterface Software Alliance licenses this file to You under * the terms found in...
525
5,250
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
843
327
{ "name": "@jupyterlab/github", "version": "3.0.0", "description": "JupyterLab viewer for GitHub repositories", "keywords": [ "github", "jupyter", "jupyterlab", "jupyterlab-extension" ], "homepage": "https://github.com/jupyterlab/jupyterlab-github", "bugs": { "url": "https://github.com...
1,800