max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
2,389
<filename>client-java-contrib/cert-manager/src/main/java/io/cert/manager/models/V1alpha2IssuerSpecAcmeDns01Webhook.java /* Copyright 2020 The Kubernetes 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 ...
1,921
372
/* * 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,892
1,444
<gh_stars>1000+ package mage.cards.g; import java.util.UUID; import mage.abilities.effects.common.combat.CantBeBlockedTargetEffect; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; import mage.target.common.TargetCreaturePermanent; /** * * @author noxx */ public final cla...
317
4,538
<reponame>wstong999/AliOS-Things /* * Copyright (C) 2018-2020 Alibaba Group Holding Limited */ #ifndef HAL_FLASH_H_ #define HAL_FLASH_H_ /** * Write data to OTP area on a chip from data buffer in RAM * * @param[in] in_buf Point to the data buffer that stores the data read from flash * @param[in] in_buf_...
947
1,118
<gh_stars>1000+ {"deu":{"common":"Palau","official":"Palau"},"fin":{"common":"Palau","official":"Palaun tasavalta"},"fra":{"common":"Palaos (Palau)","official":"République des Palaos (Palau)"},"hrv":{"common":"Palau","official":"Republika Palau"},"ita":{"common":"Palau","official":"Repubblica di Palau"},"jpn":{"common"...
212
4,335
<reponame>github0null/LiteOSv5.0_CMake<filename>arch/arm64/src/mmu.c<gh_stars>1000+ /* ---------------------------------------------------------------------------- * Copyright (c) Huawei Technologies Co., Ltd. 2019-2020. All rights reserved. * Description: MMU Config Implementation * Author: Huawei LiteOS Team * Cr...
6,161
348
{"nom":"Schwenheim","circ":"7ème circonscription","dpt":"Bas-Rhin","inscrits":610,"abs":359,"votants":251,"blancs":15,"nuls":4,"exp":232,"res":[{"nuance":"LR","nom":"<NAME>","voix":155},{"nuance":"REM","nom":"<NAME>","voix":77}]}
90
16,989
<reponame>jobechoi/bazel<gh_stars>1000+ // Copyright 2017 The Bazel 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/L...
3,076
501
#!/usr/bin/env python # # Author: <NAME> <<EMAIL>> # <NAME> <<EMAIL>> # ''' An example of higher moment self-consistency in renormalization of self-energy in AGF2. Note that only the default AGF2 is efficiently implemented (corresponding to AGF2(1,0) in the literature, and equivalent to AGF2(None,0)). Higher...
727
1,671
<filename>ambry-rest/src/test/java/com/github/ambry/rest/MockPublicAccessLogger.java /** * Copyright 2016 LinkedIn Corp. 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...
388
482
import logging from datetime import datetime, timedelta from ipaddress import ip_address from typing import Dict, Iterable, Optional, TypeVar from blacksheep import URL, Cookie client_logger = logging.getLogger("blacksheep.client") class InvalidCookie(Exception): def __init__(self, message): super().__i...
4,641
2,209
<gh_stars>1000+ #!/usr/bin/env python2 """ word_freq.py """ from __future__ import print_function import sys def main(argv): try: iters = int(argv[1]) except IndexError: iters = 1000 text = sys.stdin.read() words = {} for i in xrange(iters): for word in text.split(): if word in words: ...
262
385
<reponame>lydGit/StockChart-MPAndroidChart package com.android.stockapp.ui.mpchartexample.notimportant; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.Typeface; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.w...
807
427
//===-- StreamFile.h --------------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
475
370
/** @file overflow.h * @brief Arithmetic operations with overflow checks * * The operations are implemented with compiler builtins or equivalent where * possible, so the overflow check will typically just require a check of the * processor's overflow or carry flag. */ /* Copyright (C) 2018 <NAME> * * This progr...
1,066
380
<gh_stars>100-1000 /** * Copyright 2019 Airbnb. Licensed under Apache-2.0. See LICENSE in the project root for license * information. */ package com.airbnb.dynein.api; import lombok.AllArgsConstructor; @AllArgsConstructor public enum JobScheduleType { IMMEDIATE(1), SCHEDULED(2), SQS_DELAYED(3); int type; }...
117
700
<reponame>arjenroodselaar/skidl from skidl import SKIDL, TEMPLATE, Part, Pin, SchLib SKIDL_lib_version = '0.0.1' gennum = SchLib(tool=SKIDL).add_parts(*[ Part(name='GS2962',dest=TEMPLATE,tool=SKIDL,do_erc=True), Part(name='GS4910B',dest=TEMPLATE,tool=SKIDL,do_erc=True,aliases=['GS4911B']), Par...
5,776
1,056
<filename>javafx/javafx2.editor/src/org/netbeans/modules/javafx2/editor/JavaFXEditorUtils.java<gh_stars>1000+ /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright o...
1,804
921
<reponame>vsch/idea-markdown // Copyright (c) 2015-2020 <NAME> <<EMAIL>> Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.vladsch.md.nav.parser.cache; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.vfs.VirtualFile; import com....
16,413
763
package org.batfish.question.differentialreachability; import com.google.auto.service.AutoService; import org.batfish.common.Answerer; import org.batfish.common.plugin.IBatfish; import org.batfish.common.plugin.Plugin; import org.batfish.datamodel.questions.Question; import org.batfish.question.QuestionPlugin; /** Pl...
215
446
/* ======================================== * Pressure5 - Pressure5.h * Created 8/12/11 by SPIAdmin * Copyright (c) 2011 __MyCompanyName__, All rights reserved * ======================================== */ #ifndef __Pressure5_H #define __Pressure5_H #ifndef __audioeffect__ #include "audioeffectx.h" #endif #i...
1,302
6,457
<gh_stars>1000+ // License: Apache 2.0. See LICENSE file in root directory. // Copyright(c) 2015 Intel Corporation. All Rights Reserved. #pragma once #include "types.h" #include "context-libusb.h" #include <chrono> #include <libusb.h> namespace librealsense { namespace platform { static usb_status ...
2,269
454
import rdkit.Chem as Chem from rdkit.Chem import AllChem import autograd.numpy as np def smiles_to_fps(data, fp_length, fp_radius): return stringlist2intarray(np.array([smile_to_fp(s, fp_length, fp_radius) for s in data])) def smile_to_fp(s, fp_length, fp_radius): m = Chem.MolFromSmiles(s) return (AllChem...
235
852
<gh_stars>100-1000 #include "RecoLocalTracker/SiStripRecHitConverter/interface/SiStripRecHitMatcher.h" #include "FWCore/Utilities/interface/typelookup.h" TYPELOOKUP_DATA_REG(SiStripRecHitMatcher);
77
1,755
<filename>packages/seacas/libraries/exodus/src/ex_put_partial_attr.c /* * Copyright(C) 1999-2020 National Technology & Engineering Solutions * of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with * NTESS, the U.S. Government retains certain rights in this software. * * See packages/seacas/LICENSE...
3,139
1,305
<gh_stars>1000+ /* * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ /* ********************************************************************** ***********...
3,795
3,428
<reponame>ghalimi/stdlib<gh_stars>1000+ {"id":"01153","group":"easy-ham-2","checksum":{"type":"MD5","value":"8f1eda9dda5ecf5698e94a08217173b1"},"text":"From <EMAIL> Tue Jul 23 10:55:58 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: <EMAIL>.com\nReceived: from localhost (localhost [127.0.0.1])\n\tby phobos.labs.netnoteinc...
1,464
712
<gh_stars>100-1000 # Copyright 2018-2020 Xanadu Quantum Technologies 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 b...
3,085
550
<filename>play-1.2.4/framework/src/play/data/binding/types/DateBinder.java package play.data.binding.types; import play.data.binding.TypeBinder; import java.lang.annotation.Annotation; import java.lang.reflect.Type; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import play....
598
363
<filename>app/src/main/java/cn/sddman/download/thread/UpdatePlayUIProcess.java package cn.sddman.download.thread; import android.os.Handler; import android.os.Message; import com.aplayer.aplayerandroid.APlayerAndroid; import cn.sddman.download.common.Const; import cn.sddman.download.mvp.v.PlayerView; public class U...
609
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.synapse.generated; import com.azure.core.util.Context; import com.azure.resourcemanager.synapse.models.GeoBackup...
387
319
<reponame>marek-trmac/pycycle __author__ = 'wutwut'
25
868
<gh_stars>100-1000 // Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. // // Licensed under the BSD 3-Clause License (the "License"); you may not use this // file except in compliance with the License. You may obtain a copy of the // License at // // https://opensource.org/licenses/BSD-3-Clau...
1,901
2,151
<gh_stars>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. import os import unittest from telemetry import decorators from telemetry.core import util from core import find_dependencies class FindD...
847
789
<reponame>advantageous/qbit<gh_stars>100-1000 package io.advantageous.qbit.service.discovery.impl; import io.advantageous.boon.core.IO; import io.advantageous.boon.core.Sys; import io.advantageous.boon.json.JsonSerializer; import io.advantageous.boon.json.JsonSerializerFactory; import io.advantageous.qbit.concurrent.P...
3,206
588
/*============================================================================= Library: CppMicroServices Copyright (c) The CppMicroServices developers. See the COPYRIGHT file at the top-level directory of this distribution and at https://github.com/CppMicroServices/CppMicroServices/COPYRIGHT . Licensed un...
1,167
678
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/iPodUI.framework/iPodUI */ #import <iPodUI/iPodUI-Structs.h> #import <iPodUI/IUArrayCellConfiguration.h> @class UIColor, UIFont; @interface IUHyperlinkCellConfiguration : IUArrayCellConfiguration { CGSize _labelSi...
648
14,668
// 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. #ifndef ASH_QUICK_PAIR_FEATURE_STATUS_TRACKER_SCREEN_STATE_ENABLED_PROVIDER_H_ #define ASH_QUICK_PAIR_FEATURE_STATUS_TRACKER_SCREEN_STATE_ENABLED_PROVIDER...
436
396
<reponame>datastreaming/skyline-1 import logging import traceback from time import time from ast import literal_eval import settings from skyline_functions import get_redis_conn_decoded from functions.settings.get_custom_stale_period import custom_stale_period from functions.settings.get_external_settings import get_e...
13,050
369
<reponame>zuxqoj/cdap /* * Copyright © 2017 <NAME>, 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 applica...
819
1,299
/* * Copyright 2015 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 required by applicable law or agreed t...
2,233
1,210
/* * Tencent is pleased to support the open source community by making GameAISDK available. * This source code file is licensed under the GNU General Public License Version 3. * For full details, please refer to the file "LICENSE.txt" which is provided as part of this source code package. * Copyright (C) 2020...
1,578
26,932
#include <stdint.h> uint64_t unsandbox(pid_t pid); int sandbox(pid_t pid, uint64_t sb); int rootify(pid_t pid);
50
406
<filename>CSES/Tree Algorithms/Subordinates.cpp /** 🍪 thew6rst 🍪 11.02.2021 19:18:21 **/ #ifdef W #include "k_II.h" #else #include <bits/stdc++.h> using namespace std; #endif #define pb emplace_back #define all(x) x.begin(), x.end() #define sz(x) static_cast<int32_t>(x.size()) template<c...
611
352
/* *Author:GeneralSandman *Code:https://github.com/GeneralSandman/TinyWeb *E-mail:<EMAIL> *Web:www.dissigil.cn */ /*---XXX--- * **************************************** * */ #include <tiny_base/buffer.h> #include <tiny_base/log.h> #include <tiny_core/client.h> #include <tiny_core/clientpool.h> #include <tiny...
3,390
1,270
<filename>libs/remix-core-plugin/package.json { "name": "@remix-project/core-plugin", "version": "0.0.1", "description": "This library was generated with [Nx](https://nx.dev).", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "author": "Remix T...
149
310
{ "name": "Game Dev Story (Android)", "description": "A game developer studio simulator.", "url": "https://play.google.com/store/apps/details?id=net.kairosoft.android.gamedev3en" }
63
318
<gh_stars>100-1000 { "variants": { "type=bottom": { "model": "techreborn:block/storage/iridium_storage_block_slab" }, "type=double": { "model": "techreborn:block/storage/iridium_storage_block" }, "type=top": { "model": "techreborn:block/storage/iridium_storage_block_slab_top" } } }
129
348
<gh_stars>100-1000 {"nom":"Felluns","dpt":"Pyrénées-Orientales","inscrits":54,"abs":11,"votants":43,"blancs":7,"nuls":1,"exp":35,"res":[{"panneau":"1","voix":22},{"panneau":"2","voix":13}]}
83
335
<filename>C/Carbon_noun.json { "word": "Carbon", "definitions": [ "The chemical element of atomic number 6, a non-metal which has two main forms (diamond and graphite) and which also occurs in impure form in charcoal, soot, and coal.", "Carbon fibre.", "A rod of carbon in an arc lamp.", ...
185
2,151
// 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/logging.h" #include "ui/gl/gl_surface_format.h" namespace gl { GLSurfaceFormat::GLSurfaceFormat() { } GLSurfaceFormat::GLSurfaceFormat(c...
902
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. // ------------------------------------------------------------ #pragma once IFabricSerializa...
811
775
/* Copyright (c) 2015, Cisco Systems All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following ...
1,905
1,385
#!python3 # -*- coding: utf-8 -*- import os import sys import time import subprocess sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) # not required after 'pip install uiautomation' import uiautomation as auto def main(): width = 500 height = 500 cmdWindow = auto.GetConsoleWi...
1,554
6,270
[ { "type": "feature", "category": "Budgets", "description": "Including \"DuplicateRecordException\" in UpdateNotification and UpdateSubscriber. " }, { "type": "feature", "category": "CloudWatchLogs", "description": "Adds support for associating LogGroups with...
247
5,169
<reponame>Gantios/Specs { "name": "UhSpotNavigation", "version": "1.0.2", "summary": "Complete turn-by-turn navigation interface for iOS.", "description": "UhSpot's drop in Interface using MapboxCoreNavigation Services", "homepage": "https://uhspot.com", "documentation_url": "https://docs.mapbox.com/ios/api...
909
2,743
from __future__ import unicode_literals from django.contrib import admin from .models import EventType @admin.register(EventType) class EventTypeAdmin(admin.ModelAdmin): readonly_fields = ('name', '__str__')
67
854
package dev.morphia.aggregation.stages; import com.mongodb.lang.Nullable; import dev.morphia.aggregation.AggregationException; import dev.morphia.aggregation.expressions.Expressions; import dev.morphia.aggregation.expressions.impls.DocumentExpression; import dev.morphia.aggregation.expressions.impls.Expression; import...
2,223
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. // ------------------------------------------------------------ #pragma once ...
1,098
364
<filename>converter/ch_ppocr_mobile_v2.0_cls_converter.py import os, sys sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) from collections import OrderedDict import numpy as np import cv2 import torch from pytorchocr.base_ocr_v20 import BaseOCRV20 class MobileV20DetConverter(BaseOCRV20)...
1,555
4,054
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include <vespa/searchcommon/attribute/config.h> #include <memory> namespace search { class AttributeVector; /** * Factory for creating attribute vector instances. **/ class AttributeFactory { pr...
337
15,577
<reponame>pdv-ru/ClickHouse #pragma once #include <Common/PODArray.h> #include <Common/StringUtils/StringUtils.h> #include <Common/UTF8Helpers.h> #include <algorithm> #include <climits> #include <cstring> #include <memory> #include <utility> #ifdef __SSE4_2__ # include <nmmintrin.h> #endif namespace DB { // used...
526
2,151
//===--- lib/CodeGen/DIE.cpp - DWARF Info Entries -------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
3,905
2,326
<gh_stars>1000+ // // Copyright RIME Developers // Distributed under the BSD License // // 2011-04-07 <NAME> <<EMAIL>> // #include <gtest/gtest.h> #include <rime/key_table.h> TEST(RimeKeyTableTest, KeycodeLookup) { EXPECT_EQ(kControlMask, RimeGetModifierByName("Control")); EXPECT_EQ(0, RimeGetModifierByName("abrac...
488
1,331
<filename>c/meterpreter/source/extensions/peinjector/peinjector.h /*! * @file peinjector.h */ #ifndef _METERPRETER_SOURCE_EXTENSION_PEINJECTOR_H #define _METERPRETER_SOURCE_EXTENSION_PEINJECTOR_H #include "../../common/common.h" #define TLV_TYPE_EXTENSION_PEINJECTOR 0 #define TLV_TYPE_PEINJECTOR_SHELLCODE ...
477
419
{ "Kirja": "Wiki", "EditPage": "Edit", "StartReview": "Start review", "ShowReviews": "Show reviews", "StopEditPage": "Stop editing", "SavePage": "Save", "DeletePage": "Delete", "CanNotDeleteRootPage": "The root page can not be deleted", "ToggleDropdown": "Toggle dropdown",...
1,537
4,452
/* * Copyright 2012 <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 wr...
2,031
376
<gh_stars>100-1000 #pragma once #include <assert.h> #include <stdarg.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include <sys/select.h> #include <unistd.h> #include <array> #include <string> #include <utility> #define XSTRINGIFY(x) #x #define STRINGIFY(x) XSTRINGIFY(x) void fatal(const char *fmt...
1,634
778
#!/usr/bin/env python3 #----------------------------------------------------------------------------------------------------------------------# # # # Tuplex: Blazing...
1,829
675
#pragma once #include "engine/core/main/module.h" #include "rvo_agent.h" #include "rvo_debug_draw.h" namespace Echo { class RvoModule : public Module { ECHO_SINGLETON_CLASS(RvoModule, Module) public: // Debug draw option enum DebugDrawOption { None, Editor, Game, All }; public: RvoModule...
367
1,875
<gh_stars>1000+ /* * Copyright 2015 <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 applicabl...
1,872
1,480
#!/usr/bin/env python3 from setuptools import setup from setuptools.command.build_py import build_py from distutils import log from scudcloud.version import __version__ import glob import os class MinifyJsBuildCommand(build_py): """ Processes JavaScript files with jsmin to yield minified versions. """ ...
1,058
368
// // UITabBar+SubView.h // TeamTalk // // Created by 宪法 on 15/6/24. // Copyright (c) 2015年 MoguIM. All rights reserved. // #import <UIKit/UIKit.h> @interface UITabBar (SubView) -(UIView *)barButtonWithTitle:(NSString *)title; -(UIImageView *)tabBarButtonImageViewWithTitle:(NSString *)title; @end
124
619
/** * This file is part of CubeSLAM * * Copyright (C) 2018 <NAME> (<NAME> Univ) */ #include "Thirdparty/g2o/g2o/types/types_six_dof_expmap.h" #include "detect_3d_cuboid/matrix_utils.h" #include "g2o_Object.h" #include <Eigen/Core> #include <Eigen/Geometry> #include <Eigen/Dense> #include <math.h> #include <algorith...
6,273
308
<filename>ddtrace/internal/utils/version.py import typing import packaging.version def parse_version(version): # type: (str) -> typing.Tuple[int, int, int] """Convert a version string to a tuple of (major, minor, micro) Examples:: 1.2.3 -> (1, 2, 3) 1.2 -> (1, 2, 0) ...
700
20,996
{"index":51,"lineNumber":1,"column":52,"message":"Error: Line 1: Duplicate __proto__ fields are not allowed in object literals","description":"Duplicate __proto__ fields are not allowed in object literals"}
54
1,352
/* * 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,571
880
<gh_stars>100-1000 /** * Copyright 2019 <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...
475
327
unsigned char rawData[7680] = { 0x4D, 0x5A, 0x90, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0xB8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x...
33,344
743
/* * 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 ...
702
479
{ "cluster_permissions" : [ "cluster:monitor*" ], "index_permissions" : [ { "index_patterns" : [ "sf" ], "allowed_actions" : [ "OPENDISTRO_SECURITY_CRUD" ] }, { "index_patterns" : [ "pub" ], "allowed_actions" : [ "OPENDISTRO_SECURITY_CRUD" ] } ], "tenant_permissions" : [ ] }
138
1,144
<gh_stars>1000+ // SPDX-License-Identifier: GPL-2.0+ /* * (c) 2015 <NAME> <<EMAIL>> * */ #include <common.h> #include <errno.h> #include <dm.h> #include <net.h> #include <miiphy.h> #include <console.h> #include <wait_bit.h> #include <asm/gpio.h> #include "pic32_eth.h" #define MAX_RX_BUF_SIZE 1536 #define MAX_RX_D...
7,067
2,114
/* * Copyright 2017-present Facebook, 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 a...
623
2,816
#pragma once #include "duckdb/common/file_system.hpp" #include "duckdb/common/pair.hpp" #include "duckdb/common/unordered_map.hpp" namespace duckdb_httplib_openssl { struct Response; } namespace duckdb { using HeaderMap = unordered_map<string, string>; struct ResponseWrapper { /* avoid including httplib in header ...
988
14,793
<filename>weixin-java-pay/src/main/java/com/github/binarywang/wxpay/util/XmlConfig.java package com.github.binarywang.wxpay.util; public class XmlConfig { /** * 是否使用快速模式 * * 如果设置为true,将会影响下面的方法,不再使用反射的方法来进行xml转换。 * 1: BaseWxPayRequest的toXML方法 * 2: BaseWxPayResult的fromXML方法 * @see com.github.binary...
517
4,036
<filename>java/ql/test/stubs/google-android-9.0.0/android/database/sqlite/SQLiteTransactionListener.java // Generated automatically from android.database.sqlite.SQLiteTransactionListener for testing purposes package android.database.sqlite; public interface SQLiteTransactionListener { void onBegin(); void on...
104
892
{ "schema_version": "1.2.0", "id": "GHSA-m5vr-3m74-jwxp", "modified": "2021-11-19T15:43:34Z", "published": "2020-07-29T16:15:19Z", "aliases": [ "CVE-2020-15098" ], "summary": "Missing Required Cryptographic Step Leading to Sensitive Information Disclosure in TYPO3 CMS", "details": "> ### Meta\n> * C...
1,895
310
""" Copyright (c) 2019-2020 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 applicable law or agreed to in w...
2,008
1,010
/* * The Shadow Simulator * See LICENSE for licensing information */ #include <stddef.h> #include <syscall.h> #include "lib/shim/shim_api.h" /// The purpose of the injector library is to facilitate connecting Shadow to /// each of the managed processes that it runs. This interaction is controlled /// using a shim...
449
1,127
<reponame>ryanloney/openvino-1 // Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // /////////////////////////////////////////////////////////////////////////////////////////////////// #include "custom_gpu_primitive_inst.h" #include "primitive_type_base.h" #include <sstream> #include "...
485
3,095
/***************************************************************************** * vlc_timestamp_helper.h : timestamp handling helpers ***************************************************************************** * Copyright (C) 2014 VLC authors and VideoLAN * $Id: 90840fbcf7a5197f235ab6160a2cc2708a87c54d $ * * Aut...
1,126
785
/* * Copyright 2016-2021 Pnoker. 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 ...
267
6,989
<filename>catboost/libs/algo/ders_holder.h #pragma once struct TDers { double Der1; double Der2; double Der3; };
57
884
/* * Copyright 2014 - 2021 Blazebit. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
559
2,174
package ceui.lisa.utils; public class Params { public static final String ID = "simple id"; public static final String USER_ID = "user id"; public static final String ILLUST_ID = "illust id"; public static final String NOVEL_ID = "novel id"; public static final String ILL...
5,847
726
<filename>code/41.java class MedianFinder { PriorityQueue<Integer> heapS; PriorityQueue<Integer> heapL; /** initialize your data structure here. */ public MedianFinder() { heapS = new PriorityQueue<>(); heapL = new PriorityQueue<>(new Comparator<Integer>(){ public int compare...
590
3,673
// ---------------------------------------------------------------------------- // - Open3D: www.open3d.org - // ---------------------------------------------------------------------------- // The MIT License (MIT) // // Copyright (c) 2018-2021 www.open3d.org // // Perm...
4,196
2,151
<filename>third_party/feed/src/src/test/java/com/google/android/libraries/feed/hostimpl/storage/PersistentContentStorageTest.java<gh_stars>1000+ // Copyright 2018 The Feed Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. /...
557
848
/* * Copyright 2019 Xilinx 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 ...
913
670
<gh_stars>100-1000 package com.uddernetworks.mspaint.code.languages.java; import com.uddernetworks.mspaint.cmd.Commandline; import com.uddernetworks.mspaint.code.gui.BooleanLangGUIOption; import com.uddernetworks.mspaint.code.gui.DropdownLangGUIOption; import com.uddernetworks.mspaint.code.gui.FileLangGUIOption; impor...
2,490