max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
1,602
#ifdef HAVE_CONFIG_H # include "config.h" /* for _GNU_SOURCE */ #endif #include <assert.h> #include <stdio.h> #include <qthread/qthread.h> #ifndef SERIAL_FORKING # include <qthread/qloop.h> #endif #include <qthread/qtimer.h> #include "argparsing.h" static aligned_t null_task(void *args_) { return 42; } static vo...
808
1,056
/* * AddSemicolon.java * * Created on March 12, 2005, 8:07 PM */ package org.netbeans.test.java.hints; /** * * @author lahvac */ public class AddSemicolon { /** Creates a new instance of AddSemicolon */ public AddSemicolon() { int test } }
119
1,109
<reponame>qiquanzhijia/gryphon<gh_stars>1000+ import os from sqlalchemy import UnicodeText, TypeDecorator from gryphon.lib.encrypt import * try: DB_ENCRYPT_KEY = os.environ['DB_ENCRYPT_KEY'] except: raise Exception("""Requires environment variables: DB_ENCRYPT_KEY""") class EncryptedUnicodeText(TypeDecorator)...
318
1,056
<reponame>timfel/netbeans /* * 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....
5,789
3,921
/* * Created by LuaView. * Copyright (c) 2017, Alibaba Group. All rights reserved. * * This source code is licensed under the MIT. * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. */ package com.taobao.luaview.util; import android.app.Alert...
1,382
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.resourcehealth.models; import com.azure.core.util.ExpandableStringEnum; import com.fasterxml.jackson.annotation.JsonCreator; imp...
383
307
<reponame>haducloc/appslandia-common // The MIT License (MIT) // Copyright © 2015 AppsLandia. All rights reserved. // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, inc...
882
335
<filename>H/Huddle_verb.json { "word": "Huddle", "definitions": [ "Crowd together; nestle closely.", "Curl one's body into a small space.", "Heap together in a disorderly manner.", "Have a private discussion; confer." ], "parts-of-speech": "Verb" }
124
2,146
<filename>examples/zip/boo.cpp #include <zip/zip.h> int main() { struct zip_t *zip = zip_open("dummy", ZIP_DEFAULT_COMPRESSION_LEVEL, 'w'); zip_close(zip); return 0; }
75
1,350
<gh_stars>1000+ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.security.keyvault.administration.models; /** * A class that represents the result of a SelectiveKeyRestore operation. */ public final class KeyVaultSelectiveKeyRestoreResult { }
85
879
package org.zstack.sdk; public enum TagPatternType { simple, withToken, }
29
713
<gh_stars>100-1000 package org.infinispan.persistence.spi; /** * An exception thrown by the {@link org.infinispan.persistence.manager.PersistenceManager} if one or more * stores are unavailable when a cache operation is attempted. * * @author <NAME> * @since 9.3 */ public class StoreUnavailableException extends ...
201
416
// // ILClassificationUIExtensionContext.h // IdentityLookup // // Copyright © 2018 Apple. All rights reserved. // #import <Foundation/Foundation.h> #import <IdentityLookup/IdentityLookup.h> NS_ASSUME_NONNULL_BEGIN @class ILClassificationResponse; /// Represents a Classification UI extension request's context. I...
203
2,003
// Copyright (c) 2015, Baidu.com, Inc. All Rights Reserved // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the ...
1,523
625
package com.jtransc.annotation; import java.lang.annotation.*; @Retention(RetentionPolicy.CLASS) @Target({ElementType.METHOD, ElementType.CONSTRUCTOR}) @Repeatable(value = JTranscCallSiteBodyList.class) public @interface JTranscCallSiteBody { String target(); String[] value(); }
90
643
package com.hellokoding.account.service; import com.hellokoding.account.model.User; import com.hellokoding.account.model.VerificationToken; import com.hellokoding.account.repository.UserRepository; import com.hellokoding.account.repository.VerificationTokenRepository; import org.springframework.beans.factory.annotatio...
957
1,345
<filename>napari/utils/context/_tests/test_expressions.py<gh_stars>1000+ import ast import pytest from napari.utils.context._expressions import ( _OPS, Constant, Expr, Name, _iter_names, parse_expression, ) def test_names(): assert Name("n").eval({'n': 5}) == 5 # currently, evaludat...
2,493
389
<filename>fast_soft_sort/numpy_ops.py # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ap...
4,580
1,742
<reponame>UCD4IDS/sage<gh_stars>1000+ r""" Constructions of generator matrices using the GUAVA package for GAP This module only contains Guava wrappers (GUAVA is an optional GAP package). AUTHORS: - <NAME> (2005-11-22, 2006-12-03): initial version - <NAME> (2006-12-10): factor GUAVA code to guava.py - <NAME> (2007...
1,398
1,545
<filename>bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/storage/ldb/LongWrapper.java /** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownersh...
682
11,356
// Copyright <NAME> 2002-2004. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt // or copy at http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_CONFIG_FILE_VP_2003_01_02 #define BOOST_CONFIG_FILE_VP_2003_01_02 #include <iosfwd> #include <string> #include <set>...
2,517
380
# oxAuth is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text. # Copyright (c) 2016, Gluu # # Author: <NAME> # import java import sys from javax.ws.rs.core import Response from javax.ws.rs import WebApplicationException from org.jboss.resteasy.client.exception impor...
3,948
1,401
<reponame>FunnyYish/jvmgo-book package com.github.jvmgo.instructions.comparisons;
33
703
<reponame>Tekh-ops/ezEngine #include <ProcGenPlugin/ProcGenPluginPCH.h> #include <ProcGenPlugin/Declarations.h> #include <ProcGenPlugin/VM/ExpressionByteCode.h> // clang-format off EZ_BEGIN_STATIC_REFLECTED_ENUM(ezProcGenBlendMode, 1) EZ_ENUM_CONSTANTS(ezProcGenBlendMode::Add, ezProcGenBlendMode::Subtract, ezProcGe...
1,660
1,093
/* * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
744
567
<reponame>intelkevinputnam/lpot-docs # Copyright (c) 2021, NVIDIA CORPORATION. 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/LICE...
577
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. #include "chrome/browser/apps/app_service/webapk/webapk_test_server.h" #include "base/bind.h" #include "base/command_line.h" #include "chrome/common/chro...
856
809
/** * @file * @brief * * @author <NAME> * @date 21.08.2013 */ extern int __mulsi3(int op1, int op2); int __mulhi3(int op1, int op2) { return __mulsi3(op1, op2); }
89
369
from __future__ import (absolute_import, division, print_function, unicode_literals) from collections import defaultdict, namedtuple from logging import getLogger from transip import TransIP from transip.exceptions import TransIPHTTPError from transip.v6.objects import DnsEntry from . import ...
4,151
412
# -*- coding: UTF-8 -*- from __future__ import unicode_literals from collections import OrderedDict from string import ascii_uppercase from .. import Provider as AddressProvider class Provider(AddressProvider): """ Provider for addresses for en_PH locale Like many things in the Philippines, even addres...
14,196
1,431
<filename>src/scratchpad/src/org/apache/poi/hwmf/draw/HwmfROP3Composite.java /* ==================================================================== Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional ...
2,060
537
<filename>cpp/turbodbc/Library/turbodbc/type_code.h #pragma once namespace turbodbc { /** * This enumeration assigns integer values to certain database types */ enum class type_code : int { boolean = 0, ///< boolean type integer = 10, ///< integer types floating_point = 20, ///< floating ...
212
852
import FWCore.ParameterSet.Config as cms # This version is intended for unpacking standard production data castorDigis = cms.EDProducer("CastorRawToDigi", # Optional filter to remove any digi with "data valid" off, "error" on, # or capids not rotating FilterDataQuality = cms.bool(True), # Number of th...
558
372
<reponame>kbore/pbis-open<filename>lwio/include/lwio/srvshareapi.h /* * Copyright © BeyondTrust Software 2004 - 2019 * 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 ...
1,685
3,242
<reponame>MankinChung/cockroach<gh_stars>1000+ package com.wanjian.demo; import android.app.Activity; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.widget.DividerItemDecoration; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.Recy...
1,099
1,768
<filename>tlatools/org.lamport.tlatools/src/tla2sany/utilities/Vector.java // Copyright (c) 2003 Compaq Corporation. All rights reserved. package tla2sany.utilities; import java.util.Enumeration; public class Vector<E> { static int defaultSize = 10; protected Object info[]; protected int size = 0; protecte...
1,515
1,474
""" @author: <NAME> @contact: <EMAIL> """ from .basedataset import BaseImageDataset from typing import Callable from PIL import Image import os import os.path as osp import glob import re from common.vision.datasets._util import download class DukeMTMC(BaseImageDataset): """DukeMTMC-reID dataset from `Performance...
2,098
1,270
<reponame>leisurehound/PinpointKit // // PinpointKit.h // PinpointKit // // Created by <NAME> on 1/22/16. // Copyright © 2016 Lickability. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for PinpointKit. FOUNDATION_EXPORT double PinpointKitVersionNumber; //! Project version string for ...
178
923
<filename>chainerrl/initializers/__init__.py<gh_stars>100-1000 from chainerrl.initializers.constant import VarianceScalingConstant # NOQA from chainerrl.initializers.orthogonal import Orthogonal # NOQA # LeCunNormal was merged into Chainer v3, thus removed from ChainerRL. # For backward compatibility, it is still i...
122
379
/** * Copyright 2016-2017 Sixt GmbH & Co. Autovermietung KG * 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...
927
308
<reponame>vsrvraghavan-swanspeed/edx-app-android<filename>OpenEdXMobile/src/main/java/org/edx/mobile/view/adapters/DiscussionReportViewHolder.java package org.edx.mobile.view.adapters; import android.graphics.PorterDuff; import android.view.View; import android.view.ViewGroup; import android.widget.TextView; import a...
628
12,278
<reponame>ikrima/immer // // immer: immutable data structures for C++ // Copyright (C) 2016, 2017, 2018 <NAME> // // This software is distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt // #include "iter.hpp" #ifndef GENERATOR_T #erro...
583
644
/* Copyright 2015 OpenMarket Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
410
309
<filename>piou/formatter/rich_formatter.py import sys from dataclasses import dataclass, field from typing import Optional, Union from rich.console import Console, RenderableType from rich.markdown import Markdown from rich.padding import Padding from rich.table import Table from .base import Formatter, Titles from ....
4,534
3,444
<reponame>huihui7987/blade package com.hellokaton.blade.kit; import com.hellokaton.blade.mvc.http.Request; import lombok.experimental.UtilityClass; /** * Web kit * * @author biezhi * 2017/6/2 */ @UtilityClass public class WebKit { public static final String UNKNOWN_MAGIC = "unknown"; /** * Get the...
582
558
// ========================================================================== // SeqAn - The Library for Sequence Analysis // ========================================================================== // Copyright (c) 2006-2013, <NAME>, FU Berlin // All rights reserved. // // Redistribution and use in s...
6,936
1,444
package mage.cards.r; import mage.MageInt; import mage.abilities.Ability; import mage.abilities.common.SimpleActivatedAbility; import mage.abilities.common.SimpleStaticAbility; import mage.abilities.costs.mana.ManaCostsImpl; import mage.abilities.effects.Effect; import mage.abilities.effects.common.DontUntapInControl...
897
6,304
/* * Copyright 2018 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkClusterator_DEFINED #define SkClusterator_DEFINED #include <vector> #include <cstdint> class SkGlyphRun; /** Given the m-to-n glyph-to-character mapping data (as r...
577
1,103
<reponame>noyarth/eggs<filename>database/redis/redis-6/egg-redis-6.json { "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", "meta": { "version": "PTDL_v1" }, "exported_at": "2020-09-28T21:07:40-04:00", "name": "Redis-6", "author": "<EMAIL>", ...
985
426
<filename>IfcPlusPlus/src/ifcpp/IFC4/lib/IfcPolyLoop.cpp /* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */ #include <sstream> #include <limits> #include "ifcpp/model/AttributeObject.h" #include "ifcpp/model/BuildingException.h" #include "ifcpp/model/BuildingGuid.h" #include "ifcpp/reader/Read...
1,081
32,544
package com.baeldung.web.reactive; import com.fasterxml.jackson.annotation.JsonProperty; public class Task { private final String name; private final int id; public Task(@JsonProperty("name") String name, @JsonProperty("id") int id) { this.name = name; this.id = id; } public St...
230
427
<gh_stars>100-1000 # # RUN: rm -rf %t.dir # RUN: mkdir -p %t.dir # RUN: touch %t.dir/hello.swift # RUN: echo 'print("hello")' > %t.dir/hello.swift # RUN: %{swiftc} %t.dir/hello.swift -o %t.dir/hello # Check the file exists # # RUN: ls %t.dir/ > %t.listing # RUN: %{FileCheck} --check-prefix CHECK-FILE --input-file %t.l...
220
851
import os from pathlib import Path import sys from typing import Optional, Text import toml version_file_path = Path("questionary/version.py") pyproject_file_path = Path("pyproject.toml") def get_pyproject_version(): """Return the project version specified in the poetry build configuration.""" data = toml....
764
407
<gh_stars>100-1000 package com.alibaba.sreworks.clustermanage.server.params; import com.alibaba.fastjson.JSONObject; import com.alibaba.sreworks.domain.DO.Cluster; import lombok.Data; /** * @author jinghua.yjh */ @Data public class ClusterDeployClientParam { private JSONObject envMap; }
109
1,655
<filename>src/editor/ShapePainter.hpp #ifndef SHAPEPAINTER_HPP_ #define SHAPEPAINTER_HPP_ #include "AbstractPainter.hpp" #include "opengl/OpenGL.hpp" #include <vector> namespace Tungsten { class Mat4f; namespace GL { class VertexBuffer; class Shader; } class ShapePainter: public AbstractPainter { static CONS...
865
640
<reponame>ahjelm/z88dk<filename>libsrc/target/zx-common/fcntl/esxdos/open.c #include <fcntl.h> /* Or is it unistd.h, who knows! */ int open(char *name, int flags, mode_t mode) __naked { #asm EXTERN asm_esxdos_f_open push ix ld hl,6 ;flags add hl,sp ld a,(hl) ; esxdos flags ...
581
575
<filename>chrome/services/util_win/util_win_impl.cc // Copyright 2016 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/services/util_win/util_win_impl.h" #include <objbase.h> #include <shldisp.h> #includ...
3,696
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 ...
990
1,388
// // 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 applicable law or agreed to in wr...
2,326
348
<filename>docs/data/t2/064/64389.json<gh_stars>100-1000 {"nom":"Monassut-Audiracq","dpt":"Pyrénées-Atlantiques","inscrits":290,"abs":48,"votants":242,"blancs":24,"nuls":5,"exp":213,"res":[{"panneau":"1","voix":134},{"panneau":"2","voix":79}]}
105
335
"""Tests for structures.""" import unittest from grow.common import structures from operator import itemgetter class AttributeDictTestCase(unittest.TestCase): """Test the attribute dict structure.""" def test_attributes(self): """Keys are accessible as attributes.""" obj = structures.Attribu...
2,884
412
<reponame>jimgrundy/cbmc /*******************************************************************\ Module: Symbolic Execution Author: <NAME>, <EMAIL> \*******************************************************************/ /// \file /// Symbolic Execution #include "goto_symex.h" #include <util/arith_tools.h> #include <u...
2,970
406
<filename>src/test/java/org/broad/igv/feature/tribble/TribbleIndexTest.java<gh_stars>100-1000 /* * The MIT License (MIT) * * Copyright (c) 2007-2015 Broad Institute * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software...
2,782
342
/* * Copyright 2008,2016 BitMover, 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 agr...
711
892
{ "schema_version": "1.2.0", "id": "GHSA-c8jg-8x69-pcr4", "modified": "2022-05-13T01:01:26Z", "published": "2022-05-13T01:01:26Z", "aliases": [ "CVE-2017-2791" ], "details": "JustSystems Ichitaro 2016 Trial contains a vulnerability that exists when trying to open a specially crafted PowerPoint file. D...
525
7,407
<reponame>xuyanbo03/lab<filename>deepmind/level_generation/text_level/translate_text_level_test.cc // Copyright (C) 2016 Google Inc. // // 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 ...
5,269
5,169
<reponame>Gantios/Specs { "name": "HQJD_P_aySDK", "version": "2.27.1", "summary": "JDPay", "homepage": "https://github.com/TianQiLi/HQJD_P_aySDK", "license": { "type": "Copyright", "text": " Copyright 2020 tql " }, "authors": { "litianqi": "<EMAIL>" }, "description": "WKwebview", "source...
323
488
/* * ===================================================================================== * * Filename: stringprintf.cpp * * Description: * * Version: 1.0 * Created: 08/14/2019 11:09:23 AM * Revision: none * Compiler: gcc * * Author: YOUR NAME (), * Or...
715
338
<reponame>xemio/ANTsPy<filename>ants/utils/mni2tal.py __all__ = ['mni2tal'] def mni2tal(xin): """ mni2tal for converting from ch2/mni space to tal - very approximate. This is a standard approach but it's not very accurate. ANTsR function: `mni2tal` Arguments --------- xin : tuple ...
702
17,085
<reponame>OuyangChao/Paddle<gh_stars>1000+ // Copyright (c) 2020 PaddlePaddle 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...
1,548
1,144
<gh_stars>1000+ /* * #%L * de.metas.handlingunits.base * %% * Copyright (C) 2020 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 (a...
5,165
5,169
{ "name": "JRPodPrivate", "version": "0.1.0", "summary": "JRPodPrivate is First Commit", "description": "TODO: JRPodPrivate is First Commit and Test.", "homepage": "https://gitee.com/jerrisoft2", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "wni": "<EMAIL>" }, "source": ...
224
1,567
/* * Tencent is pleased to support the open source community by making PaxosStore available. * Copyright (C) 2017 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...
27,797
2,023
<reponame>tdiprima/code import lxml.etree as et def data2xml(d, name='data'): r = et.Element(name) return et.tostring(buildxml(r, d)) def buildxml(r, d): if isinstance(d, dict): for k, v in d.iteritems(): s = et.SubElement(r, k) buildxml(s, v) elif isinstance(d, tuple) ...
363
4,012
<gh_stars>1000+ /* * 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/licenses/LICENSE-2.0 * * Unless required by...
1,790
14,668
#!/usr/bin/env vpython3 # 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. import os import unittest import six if six.PY3: import unittest.mock as mock from pyfakefs import fake_filesystem_unittest f...
1,905
3,799
#!/usr/bin/python3 # # Copyright (C) 2020 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 requir...
3,409
619
/* * Authors: <NAME> <<EMAIL>> * Copyright (c) 2016 Intel Corporation. * * This program and the accompanying materials are made available under the * terms of the The MIT License which is available at * https://opensource.org/licenses/MIT. * * SPDX-License-Identifier: MIT */ #ifndef UPM_PRESSURE_H_ #define UPM...
263
511
/* * Interaction with the T20 driver * Copyright (c) 2016, Samsung Electronics Co., Ltd. */ #include "includes.h" #include "driver.h" #ifdef CONFIG_SCSC_WLAN extern void *slsi_t20_init(void *ctx, const char *ifname, void *global_priv); extern void slsi_t20_deinit(void *priv); extern const u8 *slsi_get_mac_addr(voi...
1,513
881
<gh_stars>100-1000 /* * RESTinio */ /*! * @file * @brief Utilities for suppressing exceptions from some code block. * * @since v.0.6.0 */ #pragma once #include <restinio/impl/include_fmtlib.hpp> #include <restinio/null_logger.hpp> #include <exception> namespace restinio { namespace utils { // // Wrappers...
1,026
837
<filename>app/src/main/java/me/saket/dank/ui/submission/adapter/package-info.java @ParametersAreNonnullByDefault package me.saket.dank.ui.submission.adapter; import javax.annotation.ParametersAreNonnullByDefault;
78
521
<gh_stars>100-1000 /* @(#)e_atan2.c 5.1 93/09/24 */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely ...
2,036
3,097
<filename>Wuxianda/Classes/Src/Home/Sub/recommend/Sub/Models/YPReplyRealContentModel.h // // YPReplyRealContentModel.h // Wuxianda // // Created by 胡云鹏 on 16/6/18. // Copyright © 2016年 michaelhuyp. All rights reserved. // #import <Foundation/Foundation.h> @interface YPReplyRealContentModel : NSObject /** members...
1,673
1,371
<gh_stars>1000+ /* * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or i...
1,078
3,052
<reponame>yuyangdexue/iOS-InterviewQuestion-collection // // CommandManager.h // DesignPatten // // Created by yangyang38 on 2018/3/17. // Copyright © 2018年 yangyang. All rights reserved. // #import <Foundation/Foundation.h> #import "Command.h" @interface CommandManager : NSObject // 命令管理容器 @property (nonatomic, ...
243
348
<gh_stars>100-1000 {"nom":"Rotalier","circ":"1ère circonscription","dpt":"Jura","inscrits":145,"abs":61,"votants":84,"blancs":6,"nuls":1,"exp":77,"res":[{"nuance":"REM","nom":"<NAME>","voix":41},{"nuance":"LR","nom":"<NAME>","voix":36}]}
96
1,014
<reponame>electroniceel/Glasgow # Ref: https://static.docs.arm.com/ihi0031/c/IHI0031C_debug_interface_as.pdf # Document Number: IHI0031C # Accession: G00027 import logging import argparse from ....support.aobject import * from ....arch.jtag import * from ....arch.arm.jtag import * from ....arch.arm.dap.dp import * fr...
3,400
303
<filename>include/tvm/tvm_preprocessor.h #ifndef TVM_PREPROCESSOR_H_ #define TVM_PREPROCESSOR_H_ #include "tvm_htab.h" int tvm_preprocess(char *src, int *src_len, tvm_htab_t *defines); #endif
93
310
/* * Copyright [2019] [恒宇少年 - 于起宇] * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
3,074
529
<filename>DeviceCode/pal/OpenSSL/OpenSSL_1_0_0/Include/openssl/des.h #include "../../crypto/des/des.h"
46
1,233
package com.github.mustachejava.util; import java.util.LinkedHashMap; public class Node extends LinkedHashMap<String, NodeValue> { }
43
1,088
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <boost/date_time/local_time/local_time_types.hpp> #include <limits> #include "bistro/bistro/cron/CrontabIte...
298
1,647
#ifndef PYTHONIC_NUMPY_ARRAYSTR_HPP #define PYTHONIC_NUMPY_ARRAYSTR_HPP #include "pythonic/include/numpy/array_str.hpp" #include "pythonic/numpy/array2string.hpp" #endif
81
310
<reponame>dreeves/usesthis { "name": "iPad mini", "description": "A 7.9 inch tablet device.", "url": "https://www.apple.com/ipad-mini/" }
59
852
<reponame>ckamtsikis/cmssw import FWCore.ParameterSet.Config as cms from DQMServices.Core.DQMEDHarvester import DQMEDHarvester cscDigiHarvesting = DQMEDHarvester("MuonCSCDigisHarvestor") MuonCSCDigisPostProcessors = cms.Sequence(cscDigiHarvesting)
102
809
<filename>src/arch/mips/include/asm/mipsregs.h /** * @file * * @brief * * @date 04.07.2012 * @author <NAME> */ #ifndef MIPSREGS_H_ #define MIPSREGS_H_ #include <stdint.h> /* * Configure language */ #ifdef __ASSEMBLY__ #define _ULCAST_ #define _U64CAST_ #else #define _ULCAST_ (unsigned long) #define _U64CAS...
6,621
897
/* Sieve of Eratosthenes : Sieve of Eratosthenes is an ancient algorithm for finding all prime numbers up to any given limit. It does so by iteratively marking as composite (i.e., not prime) the multiples of each prime, starting with the first prime number, 2. The multiples of a given prime are generated as a...
580
21,382
#include "barrier_helper.h" #include <algorithm> #include "util/streaming_logging.h" #include "util/streaming_util.h" namespace ray { namespace streaming { StreamingStatus StreamingBarrierHelper::GetMsgIdByBarrierId(const ObjectID &q_id, uint64_t barrier_id...
2,737
825
<reponame>jiangkang/Hummer package com.didi.hummer.demo; import android.content.Context; import android.view.View; import com.didi.hummer.annotation.Component; import com.didi.hummer.annotation.JsAttribute; import com.didi.hummer.annotation.JsMethod; import com.didi.hummer.annotation.JsProperty; import com.didi.humme...
602
2,151
<reponame>zipated/src // 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. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
4,843