max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
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. package org.chromium.base.test; import org.robolectric.annotation.Implementation; import org.robolectric.annotation.Implements; import org.robolectric.an...
339
480
<reponame>emouse2010/duband /* Copyright (c) [2014 Baidu]. 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 req...
20,883
1,070
<filename>app/src/main/java/org/gnucash/android/ui/common/BaseDrawerActivity.java /* * Copyright (c) 2015 <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:...
5,619
334
<reponame>mb0rt/OpenCue<filename>cuebot/src/main/java/com/imageworks/spcue/service/CommentManager.java<gh_stars>100-1000 /* * Copyright Contributors to the OpenCue Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You m...
589
358
import warnings import numpy as np import pandas as pd from sklearn.metrics import mean_squared_error, mean_absolute_error, mean_absolute_percentage_error from fedot.core.pipelines.pipeline import Pipeline from fedot.core.pipelines.node import PrimaryNode, SecondaryNode from fedot.core.data.data import InputData from...
2,887
5,169
{ "name": "SZSwiftPods", "version": "0.2.0", "summary": "Helper of SZSwiftPods.", "description": "hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh", "homepage": "https://github.com/sunzeboy/SZSwiftPods", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "sunzeboy": "<EMAIL>" }, "source"...
304
305
//===-- sanitizer_platform_limits_openbsd.cpp -----------------------------===// // // 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 WITH LLVM-exception // //===---------------------------...
3,718
434
#ifndef KVM_APIC_H_ #define KVM_APIC_H_ #include <asm/apicdef.h> /* * APIC, IOAPIC stuff */ #define APIC_BASE_ADDR_STEP 0x00400000 #define IOAPIC_BASE_ADDR_STEP 0x00100000 #define APIC_ADDR(apic) (APIC_DEFAULT_PHYS_BASE + apic * APIC_BASE_ADDR_STEP) #define IOAPIC_ADDR(ioapic) (IO_APIC_DEFAULT_PHYS_BASE + ioapic ...
212
964
{ "id": "561710b1-b845-4562-95ce-2397a05ccef4", "queryName": "Template Path With No Corresponding Path Parameter (v3)", "severity": "INFO", "category": "Structure and Semantics", "descriptionText": "The template path must have a corresponding path parameter for a given operation", "descriptionUrl": "https:/...
297
348
{"nom":"Saint-Jean-de-Maurienne","circ":"3ème circonscription","dpt":"Savoie","inscrits":5005,"abs":2982,"votants":2023,"blancs":109,"nuls":38,"exp":1876,"res":[{"nuance":"LR","nom":"Mme <NAME>","voix":1195},{"nuance":"REM","nom":"<NAME>","voix":681}]}
102
348
<gh_stars>100-1000 {"nom":"Bouchoux (Les)","circ":"2ème circonscription","dpt":"Jura","inscrits":246,"abs":130,"votants":116,"blancs":14,"nuls":3,"exp":99,"res":[{"nuance":"LR","nom":"<NAME>","voix":63},{"nuance":"MDM","nom":"<NAME>","voix":36}]}
101
2,494
/* 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/. */ /* * crypto.c * * This file implements the NSSCKFWCryptoOperation type and methods. */ #ifndef CK_T #include ...
3,988
5,169
{ "name": "converse", "version": "0.0.1", "summary": "A complete operation-based iOS multi purpose framework.", "description": "The framework uses chained Operations as wrappers for any particular task (networking, parsing, caching...)). All of them are independent operations that facilitates their reuse of in ...
319
763
package org.batfish.datamodel.matchers; import javax.annotation.Nonnull; import javax.annotation.ParametersAreNonnullByDefault; import org.batfish.datamodel.FibAction; import org.batfish.datamodel.FibEntry; import org.hamcrest.FeatureMatcher; import org.hamcrest.Matcher; @ParametersAreNonnullByDefault final class Fib...
244
1,583
# pylint: disable=too-many-branches,too-many-statements,protected-access """ Proof of work calculation """ import ctypes import hashlib import os import sys import tempfile import time from struct import pack, unpack from subprocess import call import openclpow import paths import queues import state import tr from b...
5,948
607
/* 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 applicable law or agreed to in writing, ...
332
310
{ "name": "Tube Tape Echo", "description": "An echo device.", "url": "https://www.fulltone.com/products/tube-tape-echo" }
48
777
<filename>media/formats/mp4/box_reader.cc // 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. #include "media/formats/mp4/box_reader.h" #include <stddef.h> #include <string.h> #include <algorithm> #includ...
3,428
674
<filename>InstructionSets/M50740/Parser.hpp // // Parser.hpp // Clock Signal // // Created by <NAME> on 16/01/21. // Copyright © 2021 <NAME>. All rights reserved. // #ifndef InstructionSets_M50740_Parser_hpp #define InstructionSets_M50740_Parser_hpp #include <cstdint> #include "Decoder.hpp" #include "../AccessTyp...
1,735
654
package qz.ui; import qz.auth.RequestState; import qz.ui.component.CertificateTable; import qz.ui.component.IconCache; import qz.ui.component.RequestTable; import javax.swing.*; public class DetailsDialog extends JPanel { private JLabel requestLabel; private JScrollPane reqScrollPane; private RequestTab...
557
1,533
<gh_stars>1000+ #! /usr/bin/python # -*- encoding: utf-8 -*- import torch import torch.nn as nn class AMSoftmax(nn.Module): def __init__(self, in_feats, n_classes=10, m=0.3, s=15): super(AMSoftmax, self).__init__() self.m = m ...
852
393
import sys import re pattern = sys.argv[1] search_string = sys.argv[2] match = re.match(pattern, search_string) if match: template = "'{}' matches pattern '{}'" else: template = "'{}' does not match pattern '{}'" print(template.format(search_string, pattern))
98
5,547
<reponame>rceet/TencentOS-tiny<gh_stars>1000+ /* * Copyright 2017 NXP * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * o Redistributions of source code must retain the above copyright no...
5,356
1,444
package mage.cards.a; import java.util.UUID; import mage.MageInt; import mage.abilities.keyword.ModularAbility; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; import mage.constants.SubType; /** * * @author LevelX2 */ public final class ArcboundWanderer extends CardImpl ...
351
771
import sys import logbook class MyObject(object): def __init__(self, logger_func): self._logger_func = logger_func def __str__(self): self._logger_func("this debug message produced in __str__") return "<complex object>" class FakeLock(object): def __init__(self): self._a...
413
785
/* * Copyright © 2018 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/licenses/LICENSE-2.0 * * Unless requi...
762
1,144
<filename>backend/de.metas.payment.sepa/base/src/main/java/de/metas/payment/sepa/api/ISEPADocumentDAO.java package de.metas.payment.sepa.api; import java.util.List; import java.util.Properties; import org.compiere.model.I_C_BPartner; import de.metas.payment.sepa.interfaces.I_C_BP_BankAccount; import de.metas.payment...
438
771
{ "name": "tooling.report", "desc": "Determine the best build tool for your next web project", "url": "https://bundlers.tooling.report/", "tags": [ "JavaScript" ], "maintainers": [], "addedAt": "2020-07-01" }
91
1,056
<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 ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * ...
1,070
4,234
#include <mbgl/util/rapidjson.hpp> #include <mbgl/util/string.hpp> namespace mbgl { std::string formatJSONParseError(const JSDocument& doc) { return std::string{ rapidjson::GetParseError_En(doc.GetParseError()) } + " at offset " + util::toString(doc.GetErrorOffset()); } } // namespace mbgl
123
535
<reponame>tt1pjm/mynewt-core /** * 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, Versio...
2,596
1,231
String = "Hallo \"Welt\"";
11
2,151
/* * Copyright (C) 2010 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 applicable law or agreed ...
415
992
/* * Copyright (C) 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
1,402
558
/* Generated by Cython 0.29.2 */ #define PY_SSIZE_T_CLEAN #include "Python.h" #ifndef Py_PYTHON_H #error Python headers needed to compile C extensions, please install development version of Python. #elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000) #error Cython ...
255,589
372
<filename>clients/google-api-services-slides/v1/1.30.1/com/google/api/services/slides/v1/model/CreateTableRequest.java /* * 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...
1,916
879
package org.zstack.header.vm; import org.zstack.header.core.Completion; /** * Created by GuoYi on 2019-09-24. * * Unlike VmInstanceStopExtensionPoint, this is run strictly before vm is stopped. * Operations like getting vm guest tools info must be performed while the vm is still running. */ public interface Befo...
123
3,428
{"id":"01092","group":"easy-ham-2","checksum":{"type":"MD5","value":"0e32538ae959d460cd3ef7a4ae0cfb13"},"text":"From <EMAIL> Tue Aug 20 11:53:50 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: y<EMAIL>.netnoteinc.com\nReceived: from localhost (localhost [127.0.0.1])\n\tby phobos.labs.netnoteinc.com (Postfix) with ESMTP id...
1,398
14,668
<filename>vendor/chromium/base/containers/buffer_iterator.h // 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 BASE_CONTAINERS_BUFFER_ITERATOR_H_ #define BASE_CONTAINERS_BUFFER_ITERATOR_H_ #includ...
1,830
5,937
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. /*++ Abstract: Managed wrapper for Win32 print APIs. This object wraps a printer handle ...
45,384
602
//--------------------------MIPS2C--------------------- // clang-format off #include "game/mips2c/mips2c_private.h" #include "game/kernel/kscheme.h" namespace Mips2C { namespace sp_init_fields { struct Cache { void* part_id_table; // *part-id-table* } cache; u64 execute(void* ctxt) { auto* c = (ExecutionContext*)c...
48,441
580
<reponame>Anusha-Vijay/SDN_Floodlight<filename>src/main/java/net/floodlightcontroller/linkdiscovery/internal/LinkInfo.java<gh_stars>100-1000 /** * Copyright 2011, Big Switch Networks, Inc.* Originally created by <NAME>, Stanford University ** Licensed under the Apache License, Version 2.0 (the "License"); yo...
2,742
1,338
/* * Copyright 2009-2010 <NAME> <<EMAIL>> * All rights reserved. Distributed under the terms of the MIT license. */ #ifndef ENCODER_TABLE_H #define ENCODER_TABLE_H #include <MediaFormats.h> extern "C" { #include "avcodec.h" } typedef AVCodecID CodecID; struct EncoderDescription { media_codec_info codec_inf...
241
13,885
// Copyright (c) 2017 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 applicable law or agreed to...
563
1,408
import pytest from tests import assert_result from presidio_analyzer.predefined_recognizers import SgFinRecognizer @pytest.fixture(scope="module") def recognizer(): return SgFinRecognizer() @pytest.fixture(scope="module") def entities(): return ["SG_NRIC_FIN"] @pytest.mark.parametrize( "text, expecte...
409
2,151
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef PLATFORM_API_NETWORK_INTERFACE_H_ #define PLATFORM_API_NETWORK_INTERFACE_H_ #include <string> #include <vector> #include "osp_base/ip_address.h"...
874
5,964
<reponame>wenfeifei/miniblink49 /* * Copyright 2013 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkOpCoincidence_DEFINED #define SkOpCoincidence_DEFINED #include "SkOpTAllocator.h" #include "SkOpSpan.h" #include "SkPathOpsTypes.h" ...
1,643
2,163
<gh_stars>1000+ {"wo":{"languageNames":{"af":"Afrikaans","am":"Amharik","ar":"Araab","as":"Asame","az":"Aserbayjane","ba":"Baskir","ban":"Bali","be":"Belaris","bem":"Bemba","bg":"Bilgaar","bn":"Baŋla","bo":"Tibetan","br":"Breton","bs":"Bosñak","ca":"Katalan","ceb":"Sibiyanoo","chm":"Mari","chr":"Ceroki","ckb":"Kurdi gu...
1,056
1,540
package test.configuration; import static org.assertj.core.api.Assertions.assertThat; import org.testng.TestNG; import org.testng.annotations.DataProvider; import org.testng.annotations.Test; import test.SimpleBaseTest; import test.configuration.issue2664.MethodInvocationListener; public class ConfigurationGroupsTes...
846
445
<filename>src/prodbg/Config/Config.h #pragma once #include <QList> #include <QObject> #include <QPalette> #include <QSettings> #include <QString> class QString; /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Global configuration object fo...
280
348
<filename>docs/data/leg-t2/045/04506049.json {"nom":"Bouzy-la-Forêt","circ":"6ème circonscription","dpt":"Loiret","inscrits":898,"abs":474,"votants":424,"blancs":74,"nuls":8,"exp":342,"res":[{"nuance":"UDI","nom":"<NAME>","voix":198},{"nuance":"MDM","nom":"<NAME>","voix":144}]}
119
14,668
<reponame>zealoussnow/chromium // Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/ssl_private_key_impl.h" #include "base/bind.h" #include "base/callback.h" #include "base/callbac...
452
2,399
// // SJTopView.h // SJPageViewController_Example // // Created by BlueDancer on 2020/5/6. // Copyright © 2020 <EMAIL>. All rights reserved. // #import <UIKit/UIKit.h> @protocol SJTopViewDelegate; NS_ASSUME_NONNULL_BEGIN @interface SJTopView : UIView @property (nonatomic, strong, readonly) UIView *contentView; @p...
189
348
<filename>docs/data/leg-t2/064/06403382.json {"nom":"Mesplède","circ":"3ème circonscription","dpt":"Pyrénées-Atlantiques","inscrits":294,"abs":111,"votants":183,"blancs":10,"nuls":4,"exp":169,"res":[{"nuance":"SOC","nom":"<NAME>","voix":99},{"nuance":"REM","nom":"<NAME>","voix":70}]}
120
4,618
<gh_stars>1000+ from kinto.core.testing import unittest from .support import BaseWebTest BUCKET_URL = "/buckets/blog" COLLECTION_URL = "/buckets/blog/collections/articles" SCHEMA = { "title": "Collection schema", "type": "object", "required": ["displayFields"], "properties": { "uiSchema": {"...
1,341
2,151
<reponame>zipated/src // Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef IOS_CHROME_BROWSER_UI_FULLSCREEN_FULLSCREEN_CONTROLLER_IMPL_H_ #define IOS_CHROME_BROWSER_UI_FULLSCREEN_FULLSCREEN_CONTROLLE...
687
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 ...
1,110
2,151
<reponame>zipated/src // 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. #include "content/renderer/media/webrtc/webrtc_video_frame_adapter.h" #include "base/logging.h" #include "third_party/webrtc/common...
1,462
1,644
<filename>core/src/main/java/google/registry/model/domain/fee12/FeeCheckResponseExtensionItemCommandV12.java // Copyright 2017 The Nomulus 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 ob...
1,220
643
package com.hellokoding.util; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; @Component @ConfigurationProperties(prefix = "nested") public class NestedProperties { public static class A { private String b; public String...
241
1,708
# coding: utf-8 """Errors raised when attempting to open a filesystem. """ class ParseError(ValueError): """Attempt to parse an invalid FS URL.""" class OpenerError(Exception): """Base exception for opener related errors.""" class UnsupportedProtocol(OpenerError): """No opener found for the given prot...
145
1,742
<filename>src/sage/combinat/path_tableaux/catalog.py r""" Catalog of Path Tableaux The ``path_tableaux`` object may be used to access examples of various path tableau objects currently implemented in Sage. Using tab-completion on this object is an easy way to discover and quickly create the path tableaux that are avai...
511
364
// File implement/oglplus/enums/buffer_indexed_target_type.ipp // // Automatically generated file, DO NOT modify manually. // Edit the source 'source/enums/oglplus/buffer_indexed_target.txt' // or the 'source/enums/make_enum.py' script instead. // // Copyright 2010-2019 <NAME>. // Distributed under the Boost Soft...
410
348
{"nom":"Saint-Illiers-la-Ville","circ":"9ème circonscription","dpt":"Yvelines","inscrits":273,"abs":160,"votants":113,"blancs":9,"nuls":1,"exp":103,"res":[{"nuance":"MDM","nom":"<NAME>","voix":54},{"nuance":"LR","nom":"<NAME>","voix":49}]}
96
3,968
<filename>standalone_tests/public_run.py<gh_stars>1000+ #!/usr/bin/env python # # make sure we access public interfaces for the run object # import wandb def main(): run = wandb.init(config=dict(this=2, that=4)) # not allowed # run.socket # run.pid # run.resume # run.program # run.args ...
524
599
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. Copyright (C) 2017-2021 TH<NAME>, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in complianc...
1,830
404
// // SDMagicHook.h // SDMagicHookDemo // // Created by gaoshaodong on 2019/11/20. // Copyright © 2019 gaoshaodong. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN typedef void(^CallOriginalMethodBlock)(void); typedef void(^ObjectDeallocCallbackBlock)(void); /// debug模式下会自动检查ho...
833
311
<gh_stars>100-1000 /** * Copyright 2019 The JoyQueue 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 b...
2,999
665
package net.openhft.hashing; import static java.nio.ByteOrder.LITTLE_ENDIAN; import static net.openhft.hashing.Util.NATIVE_LITTLE_ENDIAN; class MetroHash { //primes private static final long k0 = 0xD6D018F5L; private static final long k1 = 0xA2AA033BL; private static final long k2 = 0x62992FC1L; p...
2,993
1,459
<reponame>fakeNetflix/uber-repo-cherami-server { "CurrVersion": 11, "MinCompatibleVersion": 8, "Description": "create index on multiple tables for xdc", "SchemaUpdateCqlFiles": [ "201610050000_xdc_create_index_on_multipe_tables.cql" ] }
97
542
{ "generated": [ ".gitignore", ".repo-metadata.json", ".rubocop.yml", ".yardopts", ".yardopts-cloudrad", "AUTHENTICATION.md", "CHANGELOG.md", "Gemfile", "LICENSE.md", "README.md", "Rakefile", "gapic_metadata.json", "google-cloud-text_to_speech-v1beta1.gemspec", ...
549
4,652
{ "name": "serverless-plugin-typescript-test", "devDependencies": { "@types/aws-lambda": "^8.10.62", "serverless-plugin-typescript": "^1.1.9", "typescript": "^4.0.3" } }
91
309
<filename>src/Developers/vtkTestMultipleOutputPortsFilter.h<gh_stars>100-1000 // .NAME vtkTestMultipleOutputPortsFilter // .SECTION Description // vtkTestMultipleOutputPortsFilter #ifndef __vtkTestMultipleOutputPortsFilter_h #define __vtkTestMultipleOutputPortsFilter_h #include "vtkPolyDataAlgorithm.h" class vtkTest...
272
890
<filename>source/agent/plugins/include/analytics_buffer.h // Copyright (C) <2019> Intel Corporation // // SPDX-License-Identifier: Apache-2.0 #ifndef AnaltyicsBuffer_H #define AnaltyicsBuffer_H #include <memory> namespace owt { namespace analytics { //compact buffer of I420a, size must be at least width*height*3/2 ...
213
14,793
<reponame>0katekate0/WxJava<gh_stars>1000+ package com.github.binarywang.wxpay.service; import com.github.binarywang.wxpay.bean.ecommerce.SignatureHeader; import com.github.binarywang.wxpay.bean.marketing.*; import com.github.binarywang.wxpay.exception.WxPayException; /** * <pre> * 微信支付营销代金券接口 * </pre> * * @auth...
4,223
3,702
<gh_stars>1000+ /*------------------------------------------------------------------------- * * xactdesc.c * rmgr descriptor routines for access/transam/xact.c * * Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * ...
4,174
742
#include "SkySunDefinition.h" void SkySunDefinition::init(TextureAssetReference &&textureAssetRef) { this->textureAssetRef = std::move(textureAssetRef); } const TextureAssetReference &SkySunDefinition::getTextureAssetRef() const { return this->textureAssetRef; }
77
348
<filename>docs/data/leg-t2/049/04904211.json {"nom":"Montilliers","circ":"4ème circonscription","dpt":"Maine-et-Loire","inscrits":976,"abs":567,"votants":409,"blancs":20,"nuls":7,"exp":382,"res":[{"nuance":"UDI","nom":"<NAME>","voix":209},{"nuance":"REM","nom":"<NAME>","voix":173}]}
118
335
<filename>R/Refurbish_verb.json { "word": "Refurbish", "definitions": [ "Renovate and redecorate (something, especially a building)" ], "parts-of-speech": "Verb" }
80
5,156
<reponame>jalapenopuzzle/rr /* -*- Mode: C++; tab-width: 8; c-basic-offset: 2; indent-tabs-mode: nil; -*- */ #ifndef RR_SYS_CPU_MONITOR_H_ #define RR_SYS_CPU_MONITOR_H_ #include "FileMonitor.h" #include "TaskishUid.h" namespace rr { /** * A FileMonitor to intercept /sys/devices/system/cpu/online (and potentially ...
307
16,518
// Copyright 2013 The Flutter 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 io.flutter.plugins.camera; import android.graphics.Rect; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx....
601
1,475
/* * 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 not ...
822
358
<gh_stars>100-1000 # -*- coding: utf-8 -*- """ Convert 3D DC/IP Data to 2D Lines ================================= 3D DC/IP surveys are frequently comprised of a set of 2D survey lines. In this case, the 3D survey can be parsed into a list of 2D surveys; which can be imaged or inverted independently. In this tutorial,...
2,242
1,256
<gh_stars>1000+ #pragma once void replace_icon(const std::wstring& pe_path, const std::wstring& ico_path); void replace_ver_info(const std::wstring& pe_path, const struct SfxVersionInfo& ver_info);
74
3,285
/* Copyright 2020 The OneFlow 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 applicable law or agre...
661
30,023
<filename>script/hassfest/__init__.py """Manifest validator."""
23
322
<gh_stars>100-1000 package de.tr7zw.nbtapi.plugin.tests.chunks; import org.bukkit.Bukkit; import org.bukkit.Chunk; import org.bukkit.World; import de.tr7zw.changeme.nbtapi.NBTChunk; import de.tr7zw.changeme.nbtapi.NBTCompound; import de.tr7zw.changeme.nbtapi.NbtApiException; import de.tr7zw.changeme.nbtapi.utils.Mine...
568
703
#include <Core/CorePCH.h> #include <Core/Scripting/LuaWrapper.h> #ifdef BUILDSYSTEM_ENABLE_LUA_SUPPORT ezResult ezLuaWrapper::OpenTable(const char* szName) { if (m_States.m_iOpenTables == 0) lua_getglobal(m_pState, szName); else { lua_pushstring(m_pState, szName); lua_gettable(m_pState, -2); } ...
578
2,759
<gh_stars>1000+ /* * Copyright 2019 YugaByte, Inc. and Contributors * * Licensed under the Polyform Free Trial License 1.0.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://github.com/YugaByte/yugabyte-db/blob/master/li...
215
474
<reponame>BoneyIsSpooky/Javacord package org.javacord.api.listener.server.role; import org.javacord.api.entity.permission.Role; /** * This is a marker interface for listeners that can be attached to a {@link Role}. */ public interface RoleAttachableListener { }
88
365
/* * 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 version. * * This program is distributed in the hope that it will be use...
2,426
335
{ "word": "Eventually", "definitions": [ "In the end, especially after a long delay, dispute, or series of problems." ], "parts-of-speech": "Adverb" }
68
460
import matplotlib import os import sys import time from pathlib import Path import yaml from tqdm import tqdm import imageio import numpy as np import face_alignment from skimage.transform import resize from skimage import img_as_ubyte import torch from sync_batchnorm import DataParallelWithCallback from modules.genera...
2,706
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 ...
1,085
1,927
/* * Copyright (C) 2019 ByteDance 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...
319
1,399
// // BOTableViewController+Private.h // Bohr // // Created by <NAME> on 24/6/15. // Copyright (c) 2015 <NAME>. All rights reserved. // #import "BOTableViewController.h" @interface BOTableViewController () @property (nonatomic) NSIndexPath *expansionIndexPath; @end
97
764
{ "symbol": "MM", "address": "0x9883e84C137013539A3c9b1448B0F76F2E4806D0", "overview": { "en": "1. MM is the insurance pass issued by mymex contract insurance exchange. It is an exchange platform pass issued based on blockchain technology, and has the functions of platform currency and insurance currency. It ...
735
2,691
<filename>test-suite/generated-src/cpp/parcelable_optional_list.hpp // AUTOGENERATED FILE - DO NOT MODIFY! // This file generated by Djinni from parcelable.djinni #pragma once #include "../../handwritten-src/cpp/optional.hpp" #include <string> #include <utility> #include <vector> namespace testsuite { struct Parcel...
206
575
<gh_stars>100-1000 // 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. #include "components/autofill_assistant/browser/direct_action.h" #include "components/autofill_assistant/browser/service.pb.h" namesp...
280
984
<reponame>kunal30xi/Motif<filename>Motif/Motif.h // // Motif.h // Motif // // Created by <NAME> on 3/29/15. // Copyright (c) 2015 <NAME>. All rights reserved. // @import Foundation; //! Project version number for Motif. FOUNDATION_EXPORT double MotifVersionNumber; //! Project version string for Motif. FOUNDATION...
356