max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
575
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "services/network/public/cpp/optional_trust_token_params.h" namespace network { OptionalTrustTokenParams::OptionalTrustTokenParams() = default;...
413
381
package org.apache.helix.model.builder; /* * 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 Lice...
2,143
422
<filename>src/com/ansorgit/plugins/bash/lang/psi/impl/vars/BashVarDefImpl.java /* * Copyright (c) <NAME>, <EMAIL> * * 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...
6,344
400
<gh_stars>100-1000 /* * gl_copy_handler.cpp - gl copy handler implementation * * 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:/...
2,255
3,066
/* * Licensed to Crate.io GmbH ("Crate") under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. Crate licenses * this file to you under the Apache License, Version 2.0 (the "License"); * you may not use this f...
852
2,151
/* * Copyright (c) 1999 * Silicon Graphics Computer Systems, Inc. * * Copyright (c) 1999 * <NAME> * * This material is provided "as is", with absolutely no warranty expressed * or implied. Any use is at your own risk. * * Permission to use or copy this software for any purpose is hereby granted * without fee...
1,419
409
package org.webrtc.kite; import static io.cosmosoftware.kite.util.TestUtils.printJsonTofile; import static io.cosmosoftware.kite.util.TestUtils.readJsonFile; import static io.cosmosoftware.kite.util.TestUtils.verifyPathFormat; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.ut...
3,403
852
//#include "CondFormats/DataRecord/interface/RecoIdealGeometryRcd.h" #include "Geometry/Records/interface/CSCRecoGeometryRcd.h" #include "FWCore/Framework/interface/eventsetuprecord_registration_macro.h" EVENTSETUP_RECORD_REG(CSCRecoGeometryRcd);
94
486
<gh_stars>100-1000 package com.tutsplus.jobscheduler; import android.app.Activity; import android.app.job.JobInfo; import android.app.job.JobScheduler; import android.content.ComponentName; import android.content.Context; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android....
704
3,459
typedef struct { uint8 r,g,b; } pal; extern pal *palo; void FCEU_ResetPalette(void); void FCEU_ResetPalette(void); void FCEU_ResetMessages(); void FCEU_LoadGamePalette(void); void FCEU_DrawNTSCControlBars(uint8 *XBuf);
113
605
package com.sohu.tv.mq.cloud.web.view.chart; import java.util.List; import java.util.Map; /** * 曲线图对象 * * @Description: * @author yongfeigao * @date 2018年6月29日 */ public class LineChart { // 曲线类型 private String type = "spline"; // 曲线图id,同一个页面的多张图不可相同 private String chartId; // 曲线图的名称,用于显示 ...
3,963
764
{"symbol": "DKA","address": "0x5dc60C4D5e75D22588FA17fFEB90A63E535efCE0","overview":{"en": ""},"email": "<EMAIL>","website": "https://dkargo.io/","state": "NORMAL","links": {"blog": "https://medium.com/dkargo","twitter": "","telegram": "https://t.me/dKargo_Official_KR","github": ""}}
112
764
<reponame>641589523/token-profile<filename>erc20/0xD6e1401a079922469e9b965Cb090ea6fF64C6839.json<gh_stars>100-1000 {"symbol": "HOLD","address": "0xD6e1401a079922469e9b965Cb090ea6fF64C6839","overview":{"en": ""},"email": "<EMAIL>","website": "https://hold.co/","state": "NORMAL","links": {"blog": "https://medium.com/@Hol...
174
22,688
/****************************************************************************** * Copyright 2018 The Apollo 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 ...
2,031
310
<filename>gear/software/l/lsp-mode.json { "name": "lsp-mode", "description": "A Language Server Protocol mode for Emacs.", "url": "https://github.com/emacs-lsp/lsp-mode" }
68
2,204
from gordon.utils_tests import BaseIntegrationTest, BaseBuildTest from gordon.utils import valid_cloudformation_name from gordon import utils class IntegrationTest(BaseIntegrationTest): def test_0001_project(self): self._test_project_step('0001_project') self.assert_stack_succeed('p') sel...
978
432
# 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 applicable law or ...
526
2,199
/******************************************************************************* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. ************************************...
1,848
338
<gh_stars>100-1000 package com.camnter.hook.binder; import android.annotation.SuppressLint; import android.os.IBinder; import android.support.annotation.NonNull; import android.util.Log; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; /** * ServiceManager ...
1,535
634
<reponame>halotroop2288/consulo /* * Copyright 2000-2011 JetBrains s.r.o. * * 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 re...
596
561
#!/usr/bin/env python """ Owl module: Python binding for Minerva library The module encapsulates or directly maps some functions of Minerva's API to python. Only system APIs are defined here. For convolution APIs, please refer to conv.py. For element-wise operations, please refer to elewise.py. For other APIs such as ...
2,291
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...
4,101
3,967
<filename>dali/kernels/test/kernel_test.cc // Copyright (c) 2018, 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/...
1,561
563
<reponame>philippguertler/mesh package com.gentics.mesh.example; import static com.gentics.mesh.example.ExampleUuids.MICROSCHEMA_UUID; import static com.gentics.mesh.example.ExampleUuids.NODE_DELOREAN_UUID; import static com.gentics.mesh.example.ExampleUuids.SCHEMA_FOLDER_UUID; import static com.gentics.mesh.example.E...
1,026
834
// Copyright 2004-present Facebook. All Rights Reserved. #include "fboss/agent/hw/sai/switch/SaiPortManager.h" namespace facebook::fboss { void SaiPortManager::addRemovedHandle(PortID /*portID*/) {} void SaiPortManager::removeRemovedHandleIf(PortID /*portID*/) {} bool SaiPortManager::checkPortSerdesAttributes( ...
786
412
<reponame>mauguignard/cbmc<gh_stars>100-1000 #include <assert.h> struct A { union { int a; char b; }; }; int main() { A obj; obj.a = 'z'; assert(obj.b=='z'); // little endian assumption assert(sizeof(A) == sizeof(int)); }
114
923
<reponame>ToThangGTVT/Repeat package core.userDefinedTask.manualBuild.steps; import argo.jdom.JsonNode; import core.controller.Core; import core.userDefinedTask.manualBuild.ManuallyBuildStep; public class MouseReleaseCurrentPositionStep extends ManuallyBuildStep { private int mask; public static MouseReleaseCurre...
301
2,905
settings = { "ARCHIVE" : True, "MAX_POSTS" : 5000 }
29
386
<filename>src/test/java/eu/hansolo/fx/charts/RadarChartTest.java /* * Copyright (c) 2017 by <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/license...
2,561
14,668
<gh_stars>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. package org.chromium.chrome.browser.metrics_settings; import android.os.Bundle; import androidx.preference.PreferenceFragmentCompat; im...
284
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,399
14,668
// Copyright 2019 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 CHROME_BROWSER_ASH_POLICY_EXTERNAL_DATA_HANDLERS_DEVICE_CLOUD_EXTERNAL_DATA_POLICY_HANDLER_H_ #define CHROME_BROWSER_ASH_POLICY_EXTERNAL_DATA_HAND...
366
678
/* * uid.c * * uid handling routines * By <NAME> <<EMAIL>> 4/6/06 * */ #if HAVE_CONFIG_H #include <config.h> #endif /* required for seteuid(2)/setegid(2) */ #define _BSD_SOURCE #include <sys/types.h> #include <grp.h> #include <pwd.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd....
5,585
1,442
<filename>escher/include/escher/message_table_cell.h #ifndef ESCHER_MESSAGE_TABLE_CELL_H #define ESCHER_MESSAGE_TABLE_CELL_H #include <escher/message_text_view.h> #include <escher/i18n.h> #include <escher/table_cell.h> namespace Escher { class MessageTableCell : public TableCell { public: MessageTableCell(I18n::Me...
277
846
<filename>src/main/java/com/alibaba/compileflow/engine/process/preruntime/generator/impl/tbbpm/LoopProcessGenerator.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 cop...
1,469
3,182
<filename>src/main/java/de/plushnikov/intellij/plugin/action/delombok/DelombokDataAction.java package de.plushnikov.intellij.plugin.action.delombok; import com.intellij.openapi.application.ApplicationManager; import de.plushnikov.intellij.plugin.processor.clazz.DataProcessor; import org.jetbrains.annotations.NotNull; ...
176
1,856
<gh_stars>1000+ #ifdef LINUX #define LOG_MODULE UndefinedLogModule #include "Logger.h" #include "LinuxNicInformationSocket.h" #include <sys/types.h> #include <unistd.h> #include <sys/socket.h> #include <sys/ioctl.h> #include <net/if.h> #include <cerrno> #include <cstdio> #include <cstring> #define INVALID_SOCKET_V...
660
2,109
/* * This software is Copyright (c) 2013 magnum, and it is hereby released to the * general public under the following terms: Redistribution and use in source * and binary forms, with or without modification, are permitted. */ #if FMT_EXTERNS_H extern struct fmt_main fmt_rakp; #elif FMT_REGISTERS_H john_register_...
6,487
1,561
// Copyright 1996-2021 Cyberbotics 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 agr...
618
746
<gh_stars>100-1000 package org.protege.editor.owl.ui.editor; import org.protege.editor.owl.OWLEditorKit; import org.protege.editor.owl.ui.selector.OWLAnnotationPropertySelectorPanel; import org.semanticweb.owlapi.model.OWLAnnotationProperty; import javax.annotation.Nonnull; import javax.annotation.Nullable; import ja...
546
823
<filename>scripts/convert.py """Convert entity annotation from spaCy v2 TRAIN_DATA format to spaCy v3 .spacy format.""" import srsly import typer import warnings from pathlib import Path import spacy from spacy.tokens import DocBin def convert(lang: str, input_path: Path, output_path: Path): nlp = spacy.blank(la...
434
1,992
<filename>tests/app.py #!/bin/env python from flask import Flask from flask_sqlalchemy import SQLAlchemy from flask_migrate import Migrate app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///app.db' app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False db = SQLAlchemy(app) migrate = Migrate(app, d...
235
376
<reponame>BIGWangYuDong/mmfewshot<filename>configs/detection/tfa/coco/tfa_r101_fpn_coco_base-training.py<gh_stars>100-1000 _base_ = [ '../../_base_/datasets/fine_tune_based/base_coco.py', '../../_base_/schedules/schedule.py', '../../_base_/models/faster_rcnn_r50_caffe_fpn.py', '../../_base_/default_runt...
265
360
"""Synchronize with Airbyte.""" from dataclasses import dataclass, field from typing import Any, Dict, Optional import requests import time from requests.exceptions import RequestException from dbt.logger import GLOBAL_LOGGER as logger from fal.telemetry import telemetry class AirbyteJobState: """Possibe Airbyte...
1,936
892
{ "schema_version": "1.2.0", "id": "GHSA-gwwv-284v-w5c5", "modified": "2022-04-23T00:03:12Z", "published": "2022-04-16T00:00:42Z", "aliases": [ "CVE-2021-44510" ], "details": "An issue was discovered in FIS GT.M through V7.0-000 (related to the YottaDB code base). Using crafted input, attackers can ca...
587
333
#import "SCAudioManager.h"
10
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Villard","circ":"1ère circonscription","dpt":"Creuse","inscrits":282,"abs":155,"votants":127,"blancs":13,"nuls":7,"exp":107,"res":[{"nuance":"LR","nom":"<NAME>","voix":60},{"nuance":"REM","nom":"<NAME>","voix":47}]}
105
391
<gh_stars>100-1000 package com.sparrowwallet.sparrow.control; import javafx.collections.ListChangeListener; import javafx.collections.ObservableList; import javafx.scene.Node; import javafx.scene.control.TreeItem; import javafx.util.Callback; import java.util.List; import java.util.stream.Collectors; public class Re...
1,273
2,962
<filename>storio-content-resolver-annotations/src/main/java/com/pushtorefresh/storio3/contentresolver/annotations/StorIOContentResolverColumn.java<gh_stars>1000+ package com.pushtorefresh.storio3.contentresolver.annotations; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java...
389
524
// // Created by succlz123 on 2017/10/5. // #ifndef BURSTLINKER_DISABLEDITHERERWITHRS_H #define BURSTLINKER_DISABLEDITHERERWITHRS_H #include "../../../../../src/Ditherer.h" #include "DithererWithRs.h" #include <RenderScript.h> #include <vector> using namespace android::RSC; class DisableDithererWithRs : public Dith...
222
323
# SPDX-License-Identifier: Apache-2.0 import unittest from distutils.version import StrictVersion import numpy as np from numpy.testing import assert_almost_equal import scipy from onnxruntime import InferenceSession, SessionOptions try: from onnxruntime.capi.onnxruntime_pybind11_state import Fail as OrtFail exce...
2,207
2,663
<filename>Projects/Governance/Schemas/Docs-Concepts/R/Referral/Referral-Power/referral-power.json { "type": "Referral Power", "definition": { "text": "Referral Power is the Token Power that goes into the Referral Program, and determines how strong your participation is in the program.", "updated...
235
780
package com.codeborne.selenide.junit5; import com.codeborne.selenide.Configuration; import com.codeborne.selenide.Screenshots; import com.codeborne.selenide.ex.UIAssertionError; import org.junit.jupiter.api.extension.AfterEachCallback; import org.junit.jupiter.api.extension.BeforeEachCallback; import org.junit.jupiter...
1,090
357
/* * Copyright © 2019 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 applicable ...
8,330
828
import shopify import json from test.test_helper import TestCase class ApplicationCreditTest(TestCase): def test_get_application_credit(self): self.fake("application_credits/445365009", method="GET", body=self.load_fixture("application_credit"), code=200) application_credit = shopify.ApplicationCr...
527
2,405
<filename>STM32F1/libraries/MapleCoOS116/utility/mm.c<gh_stars>1000+ /** ******************************************************************************* * @file mm.c * @version V1.1.6 * @date 2014.05.23 * @brief memory management implementation code of CooCox CoOS kernel. ****************...
4,850
563
from __future__ import unicode_literals try: from django.urls import re_path except ImportError: from django.conf.urls import url as re_path from django.contrib import admin from paypal.standard.ipn import views urlpatterns = [ re_path(r'^ipn/$', views.ipn), re_path(r'^admin/', admin.site.urls), ]
124
1,264
/* * Licensed to GraphHopper GmbH under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * GraphHopper GmbH licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use t...
1,530
1,144
<reponame>dram/metasfresh package de.metas.util.lang; import lombok.NonNull; /* * #%L * de.metas.util * %% * 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 Foun...
375
843
<reponame>tor-vs-floki/nakadi package org.zalando.nakadi.exceptions.runtime; public class ConnectionSlotOccupiedException extends NakadiBaseException { }
50
2,293
#include <stdlib.h> #include <stdio.h> #include <assert.h> #include <string.h> char *UTS_sprintf_wrap(); char *do_efmt(); char *do_gfmt(); char *Fill(); /* main(argc, argv) * char **argv; * { * double d; * char *Fmt, *Ret; * char obuf[200]; * * assert(argc > 2); * Fmt = argv[1]; * d = strtod(argv[2], ...
2,327
910
/* * Copyright (c) 2021 VMware, Inc. * SPDX-License-Identifier: MIT * * 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 ...
934
978
<filename>deps/cinder/include/boost/predef/compiler/palm.h /* Copyright <NAME> 2008-2014 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_PREDEF_COMPILER_PALM_H #define BOOST_PREDEF_COMPILER_PALM_H #incl...
715
3,482
<filename>Question_31_40/answers_py/answer_31.py import cv2 import numpy as np import matplotlib.pyplot as plt # Affine def affine(img, dx=30, dy=30): # get shape H, W, C = img.shape # Affine hyper parameters a = 1. b = dx / H c = dy / W d = 1. tx = 0. ty = 0. # prepare tempor...
672
2,759
<filename>src/yb/gen_yrpc/proxy_generator.cc // Copyright (c) YugaByte, 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 re...
3,070
1,330
package jonathanfinerty.once; import androidx.annotation.NonNull; import androidx.test.core.app.ApplicationProvider; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.RobolectricTestRunner; import org.robolectric.annotation.Config; import ...
780
2,151
<gh_stars>1000+ // Copyright 2015 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 CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_EXTENSIONS_MANAGER_H_ #define CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_EXTENSIONS_MANAGER_H_ #...
526
14,668
#!/usr/bin/env vpython3 # 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. """Unit test for milestones.py""" import argparse import os import sys import tempfile import textwrap import unittest INFRA_CONFIG_...
2,269
488
<gh_stars>100-1000 [ "../../protos/google/cloud/vision/v1p2beta1/geometry.proto", "../../protos/google/cloud/vision/v1p2beta1/image_annotator.proto", "../../protos/google/cloud/vision/v1p2beta1/text_annotation.proto", "../../protos/google/cloud/vision/v1p2beta1/web_detection.proto" ]
127
5,169
<reponame>Gantios/Specs<filename>Specs/5/2/f/AlivcConan/0.9.5.2/AlivcConan.podspec.json { "name": "AlivcConan", "version": "0.9.5.2", "summary": "AlivcConan_iOS", "description": "It's an SDK for aliyun conan sdk, which implement by Objective-C.", "homepage": "https://github.com/aliyunvideo/AlivcConanSDK", "...
343
6,717
<filename>tools/vsimporter/src/PBX/PBXTargetDependency.cpp //****************************************************************************** // // Copyright (c) 2015 Microsoft Corporation. All rights reserved. // // This code is licensed under the MIT License (MIT). // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRAN...
869
3,631
/* * Copyright 2017 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...
1,766
2,151
<filename>ios/chrome/browser/ui/main/transitions/bvc_container_to_tab_switcher_animator.h // Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef IOS_CHROME_BROWSER_UI_MAIN_TRANSITIONS_BVC_CONTAINER_TO_...
306
335
<filename>P/Plasmapheresis_noun.json { "word": "Plasmapheresis", "definitions": [ "A method of removing blood plasma from the body by withdrawing blood, separating it into plasma and cells, and transfusing the cells back into the bloodstream. It is performed especially to remove antibodies in treating a...
113
2,151
<reponame>cohortfsllc/cohort-cocl2-sandbox #!/usr/bin/python # Copyright (c) 2013 The Native Client 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 logging import os import posixpath import subprocess import sys import urlparse ...
5,651
497
<filename>trunk/configs/boards/NEWIFI-Y1S/Gboard.h<gh_stars>100-1000 /* NEWIFI Y1S */ #define BOARD_PID "NEWIFI-Y1S" #define BOARD_NAME "NEWIFI-Y1S" #define BOARD_DESC "NEWIFI Y1S Wireless Router" #define BOARD_VENDOR_NAME "Lenovo(Beijing) Limited" #define BOARD_VENDOR_URL "http://www.newifi.com/" #define BOARD_MOD...
565
348
{"nom":"Champsanglard","circ":"1ère circonscription","dpt":"Creuse","inscrits":188,"abs":93,"votants":95,"blancs":13,"nuls":3,"exp":79,"res":[{"nuance":"REM","nom":"<NAME>","voix":53},{"nuance":"LR","nom":"<NAME>","voix":26}]}
89
887
<gh_stars>100-1000 #ifndef __CCD_CONFIG_H_ #define __CCD_CONFIG_H_ #define CCD_DOUBLE 1 #endif
50
4,551
<reponame>kageiit/robolectric package org.robolectric.manifest; /** * Holds permission data from manifest. */ public class PermissionItemData extends PackageItemData { private final String label; private final String description; private final String permissionGroup; private final String protectionLevel; ...
259
1,139
package com.journaldev.androidextendedfab; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton; public class MainActivity extends AppCompatActivity implements View.OnClickListener { ...
671
526
/* SPDX-License-Identifier: Apache-2.0 */ /* Copyright Contributors to the ODPi Egeria term. */ package org.odpi.openmetadata.accessservices.subjectarea.handlers; import org.odpi.openmetadata.accessservices.subjectarea.properties.objects.common.Config; import org.odpi.openmetadata.accessservices.subjectarea.responses....
522
938
<reponame>LaudateCorpus1/swift-llvm<gh_stars>100-1000 //===- AMDGPURegisterBankInfo.cpp -------------------------------*- C++ -*-==// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WI...
24,528
2,592
<gh_stars>1000+ import os.path import logging try: from pkg_resources import resource_exists, resource_stream except ImportError: def resource_exists(*args, **kwargs): return False def resource_stream(*args, **kwargs): return None BASE_PATH = os.path.abspath(os.path.dirname(__file__)) l...
348
488
<reponame>maurizioabba/rose // t0480.cc // expanding on t0478.cc and t0479.cc, trying to exercise various // possibilities for rewriting -> dependind on templateness and // presence of operator-> struct A { int x; }; struct B { A* operator->(); }; struct C { B operator-> (); }; template <class T> struct D { ...
348
403
package com.codedisaster.steamworks; public class SteamControllerDigitalActionHandle extends SteamNativeHandle { SteamControllerDigitalActionHandle(long handle) { super(handle); } }
50
310
{ "name": "Outlets To Go 300 Travel", "description": "A universal AC power adapter with USB ports.", "url": "http://www.monsterproducts.com/productdisplay.asp?pin=6592" }
56
310
<filename>gear/hardware/v/veo-2-am-264tr.json { "name": "VEO 2 AM-264TR", "description": "A portable monopod.", "url": "https://www.vanguardworld.us/photo_video_us/veo-2-am-264tr.html" }
85
353
#include <ntw/info/memory.hpp> #include <ntw/ob/process.hpp> #define CATCH_CONFIG_MAIN #define WIN32_NO_STATUS #include <catch2/catch.hpp> #pragma comment(lib, "ntdll.lib") TEST_CASE("enumerating memory::basic_info") { std::size_t iterations = 0; auto mem = ntw::ob::process_ref{}.query_mem<ntw::memory:...
257
487
/* Copyright 2013-present Barefoot Networks, 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 w...
7,941
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 ...
3,374
1,799
// Copyright (c) 2019 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/licenses/LICENSE-2.0 // // Unless required...
2,974
931
<reponame>jahnvisrivastava100/CompetitiveProgrammingQuestionBank<filename>CodeVita Problems/count pairs.c #include<stdio.h> #include<stdlib.h> int binarySearch(int arr[], int n, int k) { int start = 0; int end = n-1; while(start<=end) { int mid = (start+end)/2; if(arr[mid]==k) ...
527
12,824
import java.lang.annotation.*; @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.TYPE_USE, ElementType.TYPE_PARAMETER}) public @interface NotNull { }
54
332
/* * Copyright 2014-2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
1,135
1,338
/* * Copyright 2018, Haiku, Inc. All rights reserved. * Based on Demumble; Copyright 2016-2018, <NAME>. * https://github.com/nico/demumble/ * * 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 Licen...
2,039
3,102
#include <B/B.h>
10
626
/* * Copyright 2018, OpenCensus 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 applicable law or ag...
1,189
2,504
<reponame>nefeithu/behaviac // --------------------------------------------------------------------- // THIS FILE IS AUTO-GENERATED BY BEHAVIAC DESIGNER, SO PLEASE DON'T MODIFY IT BY YOURSELF! // --------------------------------------------------------------------- #ifndef _BEHAVIAC_GENERATED_BEHAVIORS_H_ #define _BE...
7,938
764
<gh_stars>100-1000 {"symbol": "GMT","address": "0xb3Bd49E28f8F832b8d1E246106991e546c323502","overview":{"en": ""},"email": "<EMAIL>","website": "https://www.mercuryprotocol.com/","state": "NORMAL","links": {"blog": "https://medium.com/mercuryprotocol","twitter": "https://twitter.com/mercuryprotocol","telegram": "https:...
153
1,350
<filename>sdk/resourcemanager/azure-resourcemanager-cosmos/src/main/java/com/azure/resourcemanager/cosmos/models/DataCenterResourceProperties.java<gh_stars>1000+ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. p...
4,827