max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
1,601
# ------------------------------------------------------------------------- # # Part of the CodeChecker project, under the Apache License v2.0 with # LLVM Exceptions. See LICENSE for license information. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception # # ---------------------------------------------------...
1,020
818
/* * Copyright 2020 Red Hat, Inc. and/or 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 a...
2,903
5,079
<gh_stars>1000+ __author__ = 'roland'
17
5,169
{ "name": "NetworkSpeedTest", "version": "0.1.1", "summary": "Passively collecting network statistics for iOS", "homepage": "https://github.com/ml-works/NetworkSpeedTest", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "<NAME>": "<EMAIL>" }, "source": { "git": "https://g...
219
3,281
package carbon.view; import android.view.View; import android.view.ViewGroup; import androidx.core.view.ViewCompat; public interface MarginView { default void setMargins(int margin) { View view = (View) this; ViewGroup.LayoutParams params = view.getLayoutParams(); if (!(params instanceof ...
1,894
523
{"type":"include","line":1,"val":"./auxiliary/mixin-at-end-of-file.jade"} {"type":"newline","line":3} {"type":"call","line":3,"val":"slide","args":""} {"type":"indent","line":4,"val":2} {"type":"tag","line":4,"val":"p","selfClosing":false} {"type":"text","line":4,"val":"some awesome content"} {"type":"outdent","line":5...
133
5,169
{ "name": "LR_Category", "version": "1.0.1", "summary": "A模块 A_Category.", "description": "A模块 A_Category", "homepage": "http://EXAMPLE/A_Category", "license": "MIT", "authors": { "EGLS_BMAC": "" }, "platforms": { "ios": "8.0" }, "source": { "git": "https://github.com/RainyofSun/A_Cate...
278
587
<gh_stars>100-1000 /* * Copyright 2020 LINE Corporation * * LINE Corporation licenses this file to you 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-...
389
515
/*========================================================================= Library: CTK Copyright (c) Kitware 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.ap...
3,933
7,353
<gh_stars>1000+ /** * @file PasswordListener.h * @author <NAME> <<EMAIL>> * * @section LICENSE * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyrigh...
1,813
521
#pragma once #include <elle/reactor/Waitable.hh> namespace elle { namespace reactor { /// Lockable is an abstract type derived from Waitable to provide a /// synchronization mechanism. /// /// Waiting on a unlocked Lockable will result on a noop. Threads waiting on /// a locked Lockable will b...
683
712
<reponame>vicasong/swagger-maven-plugin-with-proto-support<gh_stars>100-1000 package com.wordnik.springmvc; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.anno...
254
357
<gh_stars>100-1000 /* * Copyright © 2018 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 requi...
1,774
960
/* * ESPRESSIF MIT License * * Copyright (c) 2020 <ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD> * * Permission is hereby granted for use on all ESPRESSIF SYSTEMS products, in which case, * it is free of charge, to any person obtaining a copy of this software and associated * documentation files (the "Software"), to de...
2,578
716
// Copyright (c) 2020 The Orbit 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 "AccessibleTrack.h" #include <GteVector.h> #include <algorithm> #include "AccessibleTimeGraph.h" #include "CoreMath.h" #include "OrbitBase/Lo...
1,406
1,401
import bpy class SCN_PT_maps_models_importer(bpy.types.Panel): """Panel showing information about the Maps Models Importer context""" bl_label = "Maps Models Context" bl_idname = "SCN_PT_maps_models_importer" bl_space_type = 'PROPERTIES' bl_region_type = 'WINDOW' bl_context = "scene" def d...
294
680
<reponame>sherrycloudy/hdrnet // Copyright 2016 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by a...
777
348
{"nom":"Mauzé-Thouarsais","circ":"3ème circonscription","dpt":"Deux-Sèvres","inscrits":1769,"abs":1007,"votants":762,"blancs":12,"nuls":7,"exp":743,"res":[{"nuance":"REM","nom":"<NAME>","voix":268},{"nuance":"FN","nom":"Mme <NAME>","voix":122},{"nuance":"FI","nom":"M. <NAME>","voix":118},{"nuance":"LR","nom":"Mme <NAME...
250
335
<gh_stars>100-1000 { "word": "Jol", "definitions": [ "Set off; go.", "Have a good time; celebrate in a lively way.", "Engage in a flirtation or a casual love affair." ], "parts-of-speech": "Verb" }
107
648
<filename>spec/hl7.fhir.core/3.0.1/package/DataElement-ConceptMap.group.unmapped.code.json {"resourceType":"DataElement","id":"ConceptMap.group.unmapped.code","meta":{"lastUpdated":"2017-04-19T07:44:43.294+10:00"},"url":"http://hl7.org/fhir/DataElement/ConceptMap.group.unmapped.code","status":"draft","experimental":tru...
210
362
from chromatica import logger from chromatica.util import load_external_module import chromatica.util as util load_external_module(__file__, "") from clang import cindex import os import re log = logger.logging.getLogger("chromatica.compile_args") DEFAULT_STD={"c" : ["-std=c11"], \ "cpp" : ["-std=c+...
4,759
656
<reponame>librg/librg /* this file is usually used to manually test some stuff */ #include <assert.h> // #include <stdlib.h> // #include <stdio.h> // void *myalloc(size_t size) { // void *ptr = malloc(size); // printf("allocating mem[%zd]: 0x%llx\n", size, (uint64_t)ptr); // return ptr; // } // void myfr...
1,577
322
/* * 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 ...
5,088
412
<reponame>tobireinhard/cbmc #include <assert.h> #include <stdbool.h> #include <stdlib.h> bool validate(const char *data, unsigned allocated) { // clang-format off bool check_1 = (data == NULL ==> allocated == 0); bool check_2 = (allocated != 0 ==> __CPROVER_r_ok(data, allocated)); // clang-format on return c...
197
1,185
/* * Copyright (c) 2018, Nordic Semiconductor * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this list of conditi...
990
327
<gh_stars>100-1000 from sublime_plugin import WindowCommand from ..libraries.quick_menu import QuickMenu class DeviotLibraryExamplesCommand(WindowCommand): def run(self): QuickMenu().quick_libraries()
66
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...
8,510
1,338
/* * Copyright 2013 Haiku, Inc. All rights reserved. * Distributed under the terms of the MIT License. * * Authors: * <NAME>, <EMAIL> */ #ifndef KERNEL_UTIL_RANDOM_H #define KERNEL_UTIL_RANDOM_H #include <smp.h> #include <SupportDefs.h> #define MAX_FAST_RANDOM_VALUE 0x7fff #define MAX_RANDOM_VALUE 0x7ffff...
564
1,108
<gh_stars>1000+ import pytest import jiant.utils.python.functional as py_functional def test_indexer(): assert py_functional.indexer(1)({1: 2}) == 2 with pytest.raises(KeyError): py_functional.indexer("1")({1: 2})
92
1,085
/* * Copyright (C) 2017-2019 Dremio 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 l...
934
501
/* xmalloc.c - Simple malloc debugging library implementation Copyright (c) 2001-2006 <NAME> <<EMAIL>>. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the L...
3,047
1,271
<filename>examples/perf/micro/t2.py<gh_stars>1000+ import numpy as np def foo(x, y): return np.dot(x, y) #return x + y class Test: def __init__(self, f): self.f = f def __call__(self, *args, **kwargs): #args1 = tuple(a for a in args) #kwargs1 = {k: kwargs[k] for k in kwargs} ...
248
348
{"nom":"Ecouen","circ":"7ème circonscription","dpt":"Val-d'Oise","inscrits":5019,"abs":2783,"votants":2236,"blancs":20,"nuls":9,"exp":2207,"res":[{"nuance":"REM","nom":"M. <NAME>","voix":733},{"nuance":"FI","nom":"<NAME>","voix":461},{"nuance":"LR","nom":"M. <NAME>","voix":339},{"nuance":"FN","nom":"M. <NAME>","voix":2...
265
679
<reponame>Grosskopf/openoffice /************************************************************** * * 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...
4,330
533
#include "saber/core/context.h" #include "saber/funcs/conv.h" #include "saber/core/tensor_op.h" #include "saber/saber_types.h" #include "test_saber_func.h" #include "saber/funcs/debug.h" #include "test/saber/conv_func_helper.h" #include <vector> #if defined(USE_X86_PLACE) #include "saber/funcs/impl/x86/kernel/jit_gener...
14,093
1,970
/* * 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,262
766
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
839
593
/** * TLS-Attacker - A Modular Penetration Testing Framework for TLS * * Copyright 2014-2022 Ruhr University Bochum, Paderborn University, Hackmanit GmbH * * Licensed under Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0.txt */ package de.rub.nds.tlsattacker.core.protocol.preparator.ext...
1,207
711
<reponame>TheVinhLuong102/AutoML-SMAC3<gh_stars>100-1000 import logging import typing import numpy as np from smac.intensification.abstract_racer import AbstractRacer, RunInfoIntent from smac.intensification.successive_halving import _SuccessiveHalving from smac.optimizer.epm_configuration_chooser import EPMChooser f...
9,099
487
<reponame>LS11111/video import matplotlib.pyplot as plt import numpy as np def plot_trajectory(transforms, trajectory, smoothed_trajectory): """Plot video trajectory Create a plot of the video's trajectory & smoothed trajectory. Separate subplots are used to show the x and y trajectory. :param trans...
1,540
5,168
/** * \file dnn/src/fallback/convolution/run_conv.cpp * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * * Copyright (c) 2014-2021 Megvii Inc. All rights reserved. * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed o...
11,597
316
package com.salesforce.dva.argus.service.auth; import com.salesforce.dva.argus.TestUtils; import com.salesforce.dva.argus.entity.PrincipalUser; import com.salesforce.dva.argus.service.MonitorService; import com.salesforce.dva.argus.service.UserService; import org.junit.Test; import static org.junit.Assert.*; import ...
382
4,756
// Copyright 2020 The MACE 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 appl...
1,633
1,374
<gh_stars>1000+ package source.structural.defaultsOverloaded; import java.util.List; import java.util.Map; public interface DuplicateMethod extends DuplicateMethodInterface { @Override DuplicateMethod getNombrePleinSignes() ; @Override default DuplicateMethod getNombrePleinSignes(List<?> unNombrePleinSignes) { ...
178
3,579
<reponame>coder-hugo/querydsl /* * Copyright 2015, The Querydsl Team (http://www.querydsl.com/team) * * 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/LICE...
327
348
<gh_stars>100-1000 {"nom":"Aubenas","circ":"3ème circonscription","dpt":"Ardèche","inscrits":8224,"abs":4906,"votants":3318,"blancs":236,"nuls":120,"exp":2962,"res":[{"nuance":"LR","nom":"<NAME>","voix":1682},{"nuance":"REM","nom":"M. <NAME>","voix":1280}]}
107
348
{"nom":"Magny-lès-Aubigny","circ":"5ème circonscription","dpt":"Côte-d'Or","inscrits":167,"abs":91,"votants":76,"blancs":8,"nuls":1,"exp":67,"res":[{"nuance":"LR","nom":"<NAME>","voix":37},{"nuance":"REM","nom":"<NAME>","voix":30}]}
101
415
<gh_stars>100-1000 package io.joern.fuzzyc2cpg.ast.logical.statements; import io.joern.fuzzyc2cpg.ast.walking.ASTNodeVisitor; public class JumpStatement extends Statement { @Override public void accept(ASTNodeVisitor visitor) { visitor.visit(this); } }
100
646
#!/usr/bin/env python import os import sys import json import shutil import subprocess # Get project settings projectData = open("project.json") projectConfig = json.load(projectData) buildCultures = projectConfig["cultures"] buildConfiguration = projectConfig["configuration"] projectData.close() # Get system setting...
918
30,023
<gh_stars>1000+ """Tests for Broadlink remotes.""" from base64 import b64decode from unittest.mock import call from homeassistant.components.broadlink.const import DOMAIN from homeassistant.components.remote import ( DOMAIN as REMOTE_DOMAIN, SERVICE_SEND_COMMAND, SERVICE_TURN_OFF, SERVICE_TURN_ON, ) fr...
1,978
490
#ifndef HDRPLUS_MERGE_H_ #define HDRPLUS_MERGE_H_ #include "Halide.h" /* * merge -- fully merges aligned frames in the temporal and spatial * dimension to produce one denoised bayer frame. */ Halide::Func merge(Halide::Func imgs, Halide::Expr width, Halide::Expr height, Halide::Expr frames, Halide::Func a...
155
335
{ "word": "Onychophoran", "definitions": [ "A terrestrial invertebrate of the small phylum Onychophora, which comprises the velvet worms." ], "parts-of-speech": "Noun" }
77
3,269
// Time: O(n) // Space: O(1) class Solution { public: bool lemonadeChange(vector<int>& bills) { static const vector<int> coins = {20, 10, 5}; unordered_map<int, int> counts; for (const auto& bill : bills) { ++counts[bill]; auto change = bill - coins.back(); ...
899
1,063
# -*- coding: utf-8 -*- import os import torch.nn as nn from torch.nn import Parameter from torchvision.models.utils import load_state_dict_from_url from typing import Dict def ensure_dir(path: str) -> None: """ Check if a directory exists, if not, create a new one. Args: path (str): the path ...
682
1,192
<reponame>clayne/DirectXShaderCompiler // RUN: %clang_cc1 -mms-bitfields -fsyntax-only -verify -triple x86_64-apple-darwin9 %s // expected-no-diagnostics // The -mms-bitfields commandline parameter should behave the same // as the ms_struct attribute. struct { int a : 1; short b : 1; } t; // MS pads out bitfiel...
145
348
<filename>docs/data/leg-t2/045/04505030.json {"nom":"Beaune-la-Rolande","circ":"5ème circonscription","dpt":"Loiret","inscrits":1324,"abs":744,"votants":580,"blancs":43,"nuls":13,"exp":524,"res":[{"nuance":"LR","nom":"<NAME>","voix":322},{"nuance":"REM","nom":"<NAME>","voix":202}]}
118
3,486
<reponame>Ryan2511/orbital<filename>tools/slice-pup.py #!/usr/bin/env python3 import argparse import ctypes import os import pathlib import struct import sys # Configuration DEBUG = False # Globals ENC_PATH = None DEC_PATH = None # Structures class struct_t(object): def from_file(self, file): size = str...
5,337
2,415
# Copyright The Cloud Custodian Authors. # SPDX-License-Identifier: Apache-2.0 from c7n_azure.provider import resources from c7n_azure.resources.arm import ArmResourceManager @resources.register('cdnprofile') class CdnProfile(ArmResourceManager): """CDN Resource :example: Returns all CDNs with Standard...
479
1,383
<gh_stars>1000+ // ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at th...
419
537
<gh_stars>100-1000 #include "cpp_odbc/level2/diagnostic_record.h" #include <gtest/gtest.h> TEST(DiagnosticRecordTest, Members) { std::string const odbc_state = "ABCDE"; int const native_state = -1; std::string const message = "Everything is bad."; cpp_odbc::level2::diagnostic_record record = {odbc_state, native_...
184
467
package com.codepoetics.protonpack; import java.util.Comparator; import java.util.Spliterator; import java.util.function.Consumer; import java.util.function.Predicate; class SkipUntilSpliterator<T> implements Spliterator<T> { static <T> SkipUntilSpliterator<T> over(Spliterator<T> source, Predicate<T> condition)...
834
4,879
#include "testing/testing.hpp" #include "geometry/convex_hull.hpp" #include "geometry/point2d.hpp" #include <vector> using namespace m2; using namespace std; namespace { double const kEps = 1e-12; vector<PointD> BuildConvexHull(vector<PointD> const & points) { return ConvexHull(points, kEps).Points(); } UNIT_TE...
747
365
# Copyright 2021 Zilliz. 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 agree...
450
345
<reponame>cdoebler1/AIML2 import unittest from unittest.mock import patch import programytest.storage.engines as Engines from programy.storage.stores.nosql.mongo.config import MongoStorageConfiguration from programy.storage.stores.nosql.mongo.engine import MongoStorageEngine from programy.storage.stores.nosql.mongo.sto...
959
371
#include "../stereokit.h" #include "../sk_memory.h" #include "mesh.h" #include "assets.h" #include <stdio.h> #include <string.h> #define _USE_MATH_DEFINES #include <math.h> #include <float.h> using namespace DirectX; namespace sk { /////////////////////////////////////////// void mesh_set_keep_data(mesh_t mesh, b...
11,858
372
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4 -*- * ex: set softtabstop=4 tabstop=8 expandtab shiftwidth=4: * * Editor Settings: expandtabs and use 4 spaces for indentation */ /* * Copyright © BeyondTrust Software 2004 - 2019 * All rights reserved. * * Licensed under the Apache License, ...
3,375
590
/*! @file @author <NAME> @date 07/2012 */ #ifndef _eeb02a46_5598_4667_b6e5_24165ec13db3_ #define _eeb02a46_5598_4667_b6e5_24165ec13db3_ #include "Data.h" namespace tools { class SkinDataUtility { public: enum RegionIndex { RegionLeftTop, RegionTop, RegionRightTop, RegionLeft, RegionCenter, RegionR...
477
10,245
<filename>netty/src/test/java/io/grpc/netty/AbstractHttp2HeadersTest.java<gh_stars>1000+ /* * Copyright 2016 The gRPC Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ht...
734
2,338
<filename>clang-tools-extra/test/clang-tidy/checkers/google-default-arguments.cpp // RUN: %check_clang_tidy %s google-default-arguments %t struct A { virtual void f(int I, int J = 3); // CHECK-MESSAGES: :[[@LINE-1]]:16: warning: default arguments on virtual or override methods are prohibited [google-default-argume...
296
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,268
848
<reponame>earlephilhower/SdFat-namespace /** * Copyright (c) 2011-2021 <NAME> * This file is part of the SdFat library for SD memory cards. * * MIT License * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * t...
1,451
1,144
package de.metas.report.jasper; /* * #%L * de.metas.report.jasper.server.base * %% * Copyright (C) 2015 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 ...
2,649
766
<reponame>YuriyPobezhymov/tsunami-security-scanner-plugins /* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0...
2,377
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 ...
4,180
785
<reponame>eddie4941/servicetalk /* * Copyright © 2019, 2021 Apple Inc. and the ServiceTalk project 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/l...
3,285
2,151
<gh_stars>1000+ // Copyright (c) 2012 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 "net/base/file_stream_context.h" #include <errno.h> #include <utility> #include "base/bind.h" #include "base/bind_helpers.h...
1,352
657
<reponame>daaawx/bearblog<gh_stars>100-1000 # Generated by Django 3.0.7 on 2021-09-18 12:51 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('blogs', '0041_auto_20210808_2118'), ] operations = [ migrations...
393
721
<reponame>J-Z-Z/akshare<filename>akshare/other/other_game.py<gh_stars>100-1000 # -*- coding:utf-8 -*- # !/usr/bin/env python """ Date: 2021/11/16 21:12 Desc: 中国电竞价值排行榜 http://rank.uuu9.com/player/ranking """ import requests import pandas as pd from bs4 import BeautifulSoup def club_rank_game(symbol: str = "英雄联盟") -> ...
3,894
335
{ "word": "Daily", "definitions": [ "A newspaper published every day except Sunday.", "A woman who is employed to clean someone else's house each day.", "The first prints from cinematographic takes; the rushes." ], "parts-of-speech": "Noun" }
103
2,111
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2016 // <NAME> Codeplay Software Ltd. // <NAME> Codeplay Software Ltd. // <NAME> Codeplay Software Ltd. // Contact: <<EMAIL>> // // This Source Code Form is subject to the terms of the Mozilla // Public Lic...
3,062
2,151
/**************************************************************************** **************************************************************************** *** *** This header was automatically generated from a Linux kernel header *** of the same name, to make information necessary for userspace to *** call i...
2,681
417
//----------------------------------------------------------------------------- // 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...
2,663
2,568
<reponame>rkelly/twofactorauth { "Malwarebytes (Personal)": { "domain": "malwarebytes.com", "tfa": [ "email" ], "documentation": "https://support.malwarebytes.com/hc/en-us/articles/4402158331411", "keywords": [ "security" ] } }
127
2,659
<reponame>yangcol/OpenMLDB<filename>src/client/taskmanager_client.h /* * Copyright 2021 4Paradigm * * 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/L...
1,332
2,059
<gh_stars>1000+ /* * Copyright (c) 2016 Spotify AB. * * 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 und...
687
451
<gh_stars>100-1000 from lightning_transformers.task.nlp.question_answering.datasets.squad.data import SquadDataModule # noqa: F401
46
618
<gh_stars>100-1000 package cn.hadcn.keyboard.emoticon.db; import android.provider.BaseColumns; /** * @author chris */ final class TableColumns { /** * the columns definition for emoticon item */ class EmoticonItem implements BaseColumns { private EmoticonItem() { } //1, for...
575
809
<filename>src/drivers/audio/portaudio/stm32_pa_cube.c /** * @file * @brief * * @date 25.09.14 * @author <NAME> * @author <NAME> * Adaptation for STM32F4/F7 Cube */ #include <stdlib.h> #include <unistd.h> #include <time.h> #include <linux/byteorder.h> #include <util/err.h> #include <framework/mod/opt...
3,437
4,432
{ "name": "hexo-theme-fluid", "version": "1.8.12", "description": "An elegant Material-Design theme for Hexo.", "repository": { "type": "git", "url": "git+https://github.com/fluid-dev/hexo-theme-fluid.git" }, "keywords": [ "hexo", "theme", "fluid", "material" ], "author": "fluid-...
283
989
<filename>NotSoFatso/Wave_MMC5.h /* * Copyright (C) 2004 Disch * * 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 vers...
1,685
336
<reponame>nattangwiwat/Mayan-EDMS-recitation<gh_stars>100-1000 from django.utils.translation import ugettext_lazy as _ from mayan.apps.events.classes import EventTypeNamespace namespace = EventTypeNamespace(label=_('Mailing'), name='mailing') event_email_sent = namespace.add_event_type( label=_('Email sent'), na...
119
1,383
<reponame>lucasw/chrono // ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE fi...
902
421
#using <System.dll> using namespace System; using namespace System::Text; using namespace System::IO; using namespace System::Net; using namespace System::Net::Sockets; using namespace System::Threading; using namespace System::Security::Permissions; using namespace System::Collections; void MySocketPermis...
1,634
897
/*Problem: Given array of strings, find the longest common prefix present in all the strings. Print the longest common prefix. If no common prefix is present, then print empty string (""). Approach: Comparing characters of the same column in all the strings. If the character does not much or the string ends at that co...
860
348
{"nom":"Equihen-Plage","circ":"5ème circonscription","dpt":"Pas-de-Calais","inscrits":2186,"abs":1242,"votants":944,"blancs":28,"nuls":7,"exp":909,"res":[{"nuance":"REM","nom":"<NAME>","voix":274},{"nuance":"FN","nom":"<NAME>","voix":270},{"nuance":"FI","nom":"M. <NAME>","voix":136},{"nuance":"LR","nom":"Mme <NAME>","v...
299
327
/* Copyright (c) DataStax, 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 writing, so...
727
724
<filename>src/lib/language-service/schema/ros/ALIYUN-CEN-CenInstanceAttachment.json { "$id": "ALIYUN::CEN::CenInstanceAttachment", "type": "object", "properties": { "Type": { "type": "string", "enum": [ "ALIYUN::CEN::CenInstanceAttachment" ] }, "Properties": { "type": "...
635
451
''' Copyright 2017 Dell Inc. or its subsidiaries. All Rights Reserved." ScriptName: test_api_security_passwd_resets.py Author: <NAME> Email: <EMAIL> Create Date: 07/28/2017 Purpose: This script consists of cases intended to test RackHD login functions. As of date, there are th...
2,423
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...
846
8,273
<filename>ortools/base/random.cc // Copyright 2010-2021 Google LLC // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required ...
1,125