max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
2,113
<reponame>vbillet/Torque3D<gh_stars>1000+ //~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~// // Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames // Copyright (C) 2015 Faust Logic, Inc. // // Permission is hereby granted, free of charge, to any person...
1,596
1,738
<reponame>jeikabu/lumberyard /* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provid...
1,267
2,151
<gh_stars>1000+ # Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Functions specific to build slaves, shared by several buildbot scripts. """ import datetime import glob import os import re import sh...
305
348
<filename>docs/data/leg-t1/015/01501172.json {"nom":"Saint-Antoine","circ":"1ère circonscription","dpt":"Cantal","inscrits":95,"abs":38,"votants":57,"blancs":1,"nuls":1,"exp":55,"res":[{"nuance":"REM","nom":"<NAME>","voix":23},{"nuance":"LR","nom":"<NAME>","voix":18},{"nuance":"DVD","nom":"<NAME>","voix":9},{"nuance":"...
252
2,813
<reponame>fernandes-natanael/jabref package org.jabref.model.openoffice; import java.util.Objects; import java.util.Optional; public class CitationEntry implements Comparable<CitationEntry> { private final String refMarkName; private final Optional<String> pageInfo; private final String context; pub...
594
808
<reponame>avboy1337/Hypervisor-From-Scratch #include <ntddk.h> #include <wdf.h> #include <wdm.h> #include "Common.h" #include "VMX.h" #include "EPT.h" VOID PrintChars(PCHAR BufferAddress, size_t CountChars); NTSTATUS DriverEntry(PDRIVER_OBJECT pDriverObject, PUNICODE_STRING pRegistryPath) { NTSTATUS NtS...
6,817
4,303
#include "Halide.h" #include <functional> #include <stdio.h> using namespace Halide; using namespace Halide::Internal; typedef std::function<int(int, int, int)> FuncChecker; int check_image(const Realization &r, const std::vector<FuncChecker> &funcs) { for (size_t idx = 0; idx < funcs.size(); idx++) { co...
4,180
302
#include "engineresourcefixedinteger.h" #include "integerresourcehandler.h" #include "every_cpp.h" namespace BrowserAutomationStudioFramework { EngineResourceFixedInteger::EngineResourceFixedInteger(QObject *parent) : EngineResourceAbstract(parent),Active(true) { } void EngineResourceFixedInte...
901
765
<reponame>hyu-iot/gem5<gh_stars>100-1000 /***************************************************************************** * McPAT * SOFTWARE LICENSE AGREEMENT * Copyright 2012 Hewlett-Packard Development Company, L.P. * Copyright (c) 2010-2013 ...
22,632
477
#!/usr/bin/env python """Test plotting of various GoSubDag options.""" __copyright__ = "Copyright (C) 2016-2017, <NAME>, <NAME>. All rights reserved." __author__ = "<NAME>" import os import sys from goatools.base import get_godag from goatools.base import dnld_gaf from goatools.associations import read_gaf from goato...
2,543
408
{ "extends": [ "eslint:recommended", "plugin:promise/recommended", "plugin:jasmine/recommended" ], "plugins": [ "promise", "jasmine" ], "env": { "browser": false, "commonjs": true }, "parserOptions": { "ecmaVersion": 2017 }, "globals": { "Promise": "readonly" }, ...
173
382
<filename>clouddriver-kubernetes/src/test/java/com/netflix/spinnaker/clouddriver/kubernetes/provider/view/KubernetesJobProviderTest.java /* * Copyright 2021 Salesforce.<EMAIL>, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License....
2,429
2,813
package org.jabref.logic.bst; @FunctionalInterface public interface Warn { void warn(String s); }
36
2,338
//===----------------------- OrcRTBootstrap.h -------------------*- 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 WITH LLVM-exception // //===---------------------------...
394
317
<filename>ejb/cart/cart-appclient/src/main/java/javaeetutorial/cart/client/CartClient.java /** * Copyright (c) 2014 Oracle and/or its affiliates. All rights reserved. * * You may not modify, use, reproduce, or distribute this software except in * compliance with the terms of the License at: * https://github.com/j...
774
816
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved. import ctypes as ct from ctypes import * # noqa from collections import OrderedDict class EmuStructException(Exception): """ Container class for struct exceptions """ pass class Enum(object): """ For now, a basic python object will se...
5,787
2,232
/* Copyright (c) 2017 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: <NAME> */ #pragma once #if defined(__GNUC__) || defined(__clang__) #define LEAN_UNLIKELY(x) (__builtin_expect((x), 0)) #define LEAN_LIKELY(x) (__builtin_expect((x), 1)) #define...
181
2,505
<gh_stars>1000+ package com.java2nb.novel.mapper; import com.java2nb.novel.vo.BookReadHistoryVO; import org.apache.ibatis.annotations.Param; import java.util.List; /** * @author Administrator */ public interface FrontUserReadHistoryMapper extends UserReadHistoryMapper { List<BookReadHistoryVO> listReadHistory...
118
352
package com.crawljax.plugins.testplugin; import java.io.File; import java.io.FileWriter; import java.util.Map; import com.crawljax.core.CrawlerContext; import com.crawljax.core.configuration.CrawljaxConfiguration; import com.crawljax.core.plugin.HostInterface; import com.crawljax.core.plugin.OnNewStatePlugin; import ...
513
2,059
/* * Copyright 2008 Android4ME * * 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 i...
1,112
1,473
/* * Autopsy * * Copyright 2019 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> org * * 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/lice...
1,160
429
# ============================================ __author__ = "<NAME>" __maintainer__ = "<NAME>" # ============================================ import torch import math from torch import nn from fairseq.delight_modules.print_utilities import * class GELU(torch.nn.Module): def __init__(self): super(GELU, se...
639
14,668
<filename>ui/aura/test/x11_event_sender.h // 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. #ifndef UI_AURA_TEST_X11_EVENT_SENDER_H_ #define UI_AURA_TEST_X11_EVENT_SENDER_H_ #include "ui/aura/window_tree...
472
1,254
import rest_framework.serializers from rest_framework_nested.relations import NestedHyperlinkedIdentityField, NestedHyperlinkedRelatedField try: from rest_framework.utils.field_mapping import get_nested_relation_kwargs except ImportError: pass # passing because NestedHyperlinkedModelSerializer can't be used...
765
694
// metadoc Duration copyright <NAME> 2002 // metadoc Duration license BSD revised #ifndef DURATION_DEFINED #define DURATION_DEFINED 1 #include "Common.h" #include "UArray.h" #include "PortableGettimeofday.h" #ifdef __cplusplus extern "C" { #endif typedef struct { double seconds; } Duration; BASEKIT_API Duratio...
635
645
<reponame>xuantan/viewfinder # -*- coding: utf-8 -*- # Copyright 2012 Viewfinder Inc. All Rights Reserved. """Tests for Contact. """ __author__ = '<EMAIL> (<NAME>)' from viewfinder.backend.base import util from viewfinder.backend.db import versions from viewfinder.backend.db.contact import Contact from viewfinder.ba...
2,436
474
<filename>apis/Google.Cloud.Security.PrivateCA.V1Beta1/smoketests.json [ { "method": "ListReusableConfigs", "client": "CertificateAuthorityServiceClient", "arguments": { "parent": "projects/${PROJECT_ID}/locations/us-east1" } }, { "method": "ListCertificateAuthorities", "client": "Ce...
182
689
from pyspark.sql import Row from pyspark.sql.types import * from pyspark.sql import SparkSession spark = (SparkSession .builder .appName("Authors") .getOrCreate()) schema = StructType([ StructField("Author" , StringType(), False), StructField("State", StringType(), False)]) rows = [Row("<NAME>", "CA"), ...
146
1,130
/* Copyright (c) 2018, <NAME> 2-clause BSD license. */ #ifdef _WINDOWS asm("extern ___GetFileType\n" "global _GetFileType\n" "section .text\n" "_GetFileType:\n" "jmp ___GetFileType"); #endif
101
433
<reponame>redkale/redkale<gh_stars>100-1000 /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package org.redkale.convert; import java.lang.reflect.Type; import java.util.concu...
1,236
1,441
// Distributing Ballot Boxes #include <bits/stdc++.h> using namespace std; typedef tuple<double, int, int> dii; // (ratio r, num, den) int main() { int N, B; while (scanf("%d %d", &N, &B), (N != -1 && B != -1)) { priority_queue<dii> pq; // max pq for (int i = 0; i < N; ++...
452
778
<reponame>troels/compute-runtime<filename>shared/source/helpers/get_info.h /* * Copyright (C) 2018-2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #pragma once #include "get_info_status.h" // Need for linux compatibility with memcpy_s #include "shared/source/helpers/string.h" #include <cstring> #in...
1,285
1,016
<reponame>peter-ls/kylo package com.thinkbiganalytics.search; /*- * #%L * kylo-search-solr * %% * Copyright (C) 2017 ThinkBig Analytics * %% * 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 Licens...
1,639
776
<gh_stars>100-1000 #!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) <NAME>. All rights reserved. # Licensed under the BSD license. See LICENSE file in the project root for full license information. import numpy as np def minmax(X, low, high, minX=None, maxX=None, dtype=np.float): X = np.asarray(X) ...
362
2,360
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class RSparsematrixstats(RPackage): """Summary Statistics for Rows and Columns of Sparse Matrice...
339
567
<filename>AI_Engine_Development/Feature_Tutorials/09-debug-walkthrough/sw/host.h<gh_stars>100-1000 /********** © Copyright 2020 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:/...
444
1,144
/* * PCIe driver for PLX NAS782X SoCs * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. */ #include <linux/kernel.h> #include <linux/pci.h> #include <linux/clk.h> #include <lin...
7,595
628
/* * Copyright (c) 2015-2018 Contributors as noted in the AUTHORS file * * This file is part of Solo5, a sandboxed execution environment. * * Permission to use, copy, modify, and/or distribute this software * for any purpose with or without fee is hereby granted, provided * that the above copyright notice and th...
2,780
776
package ghissues; import act.controller.annotation.UrlContext; import org.osgl.mvc.annotation.PostAction; @UrlContext("1284") public class Gh1284 extends BaseController { @PostAction("{id}") public void testPost(String id) { } }
85
995
<gh_stars>100-1000 #ifndef BOOST_THREAD_TSS_HPP #define BOOST_THREAD_TSS_HPP // 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) // (C) Copyright 2007-8 <NAME> #include <boost/thread/detail/config.hpp> #in...
1,381
679
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
1,823
1,790
/* * Copyright (c) 2015, Cloudera, Inc. All Rights Reserved. * * Cloudera, Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"). You may not use this file except in * compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICE...
349
2,504
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A P...
13,038
1,719
/* * Copyright 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
1,212
1,117
<reponame>imloama/radar package com.pgmmers.radar.service.engine; import com.pgmmers.radar.vo.model.PreItemVO; import java.util.Map; import java.util.StringJoiner; public interface PluginServiceV2 { default String pluginName() { return this.getClass().getSimpleName(); } Integer key(); Strin...
362
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 #include "../tst...
11,086
1,144
/* * #%L * de.metas.shipper.gateway.dhl * %% * Copyright (C) 2019 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 (at your option) ...
7,078
3,631
<gh_stars>1000+ /* * 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 * * Unle...
1,794
3,897
<gh_stars>1000+ /* mbed Microcontroller Library * Copyright (c) 2017-2020 ARM Limited * SPDX-License-Identifier: Apache-2.0 * * 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 * * htt...
660
5,169
{ "name": "NSObject+description", "version": "1.0.0", "summary": "Helps you produce description method output formatted same way as Apple's classes' description output", "description": "Helps you produce description method output formatted same way as Apple's classes' description output. Have your custom - (NSS...
291
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.components.browser_ui.widget; import android.content.Context; import android.graphics.drawable.GradientDrawable; import android.util...
411
461
/* empty stub to allow objectlist.awk.in to be created */
16
682
<reponame>209creative/arcgis-runtime-samples-android { "category": "Edit and Manage Data", "description": "Access the expiration information of an expired mobile map package.", "formal_name": "HonorMobileMapPackageExpirationDate", "ignore": false, "images": [ "honor-mobile-map-package-expira...
394
984
/* * 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,238
676
package com.alorma.github.ui.activity; import android.app.Activity; import android.app.Fragment; import android.app.PendingIntent; import android.content.ComponentName; import android.content.Context; import android.content.Intent; import android.content.IntentSender; import android.content.ServiceConnection; import a...
1,700
1,527
{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "Lowdefy Request Schema - GoogleSheetDeleteOne", "type": "object", "required": ["filter"], "properties": { "filter": { "type": "object", "description": "A MongoDB query expression to filter the data. The first row matched by the ...
522
623
//////////////////////////////////////////////////////////////////////////////////////////////////////// // Part of Injectable Generic Camera System // Copyright(c) 2017, <NAME> // All rights reserved. // https://github.com/FransBouma/InjectableGenericCameraSystem // // Redistribution and use in source and binary forms...
971
2,338
//===- ComplexToStandard.h - Utils to convert from the complex dialect ----===// // // 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 // //===---------------------------...
314
2,338
<filename>clang/test/Analysis/SpecialFunctionsCFError.cpp<gh_stars>1000+ // RUN: %clang_analyze_cc1 -analyzer-checker=core,osx.coreFoundation.CFError \ // RUN: -verify %s typedef unsigned long size_t; struct __CFError {}; typedef struct __CFError *CFErrorRef; void *malloc(size_t); class Foo { public: Foo(CFErrorR...
290
14,668
// 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. #ifndef NET_CERT_INTERNAL_CERT_ISSUER_SOURCE_H_ #define NET_CERT_INTERNAL_CERT_ISSUER_SOURCE_H_ #include <memory> #include <vector> #include "net/base/n...
811
324
<gh_stars>100-1000 { "machineType": "https://www.googleapis.com/compute/v1/projects/party/zones/us-central1-a/machineTypes/n1-standard-1", "name": "test-1", "networkInterfaces": [ { "network": "https://www.googleapis.com/compute/v1/projects/party/global/networks/default", "accessConfigs": [ ...
379
348
{"nom":"Mirambeau","circ":"4ème circonscription","dpt":"Charente-Maritime","inscrits":1060,"abs":624,"votants":436,"blancs":8,"nuls":39,"exp":389,"res":[{"nuance":"REM","nom":"<NAME>","voix":202},{"nuance":"LR","nom":"<NAME>","voix":187}]}
95
515
<gh_stars>100-1000 # Copyright (c) 2021-2022, InterDigital Communications, Inc # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted (subject to the limitations in the disclaimer # below) provided that the following conditions are met: # * Redistribu...
1,953
826
/*************************************************************************** * Copyright 1998-2018 by authors (see AUTHORS.txt) * * * * This file is part of LuxCoreRender. * * ...
4,028
5,169
{ "name": "XYVolumeHandler", "version": "0.0.3", "summary": "Graceful handle the volume changes in your iOS apps like Instagram.", "description": "Graceful handle the volume changes in your iOS apps like Instagram. YEAH!", "homepage": "https://github.com/X140Yu/XYVolumeHandler", "license": { "type": "MI...
230
335
{ "word": "Plane", "definitions": [ "A flat surface on which a straight line joining any two points on it would wholly lie.", "An imaginary flat surface through or joining material objects.", "A flat or level surface of a material object.", "A flat surface producing lift by the a...
153
2,023
<reponame>tdiprima/code # cal.py # # This code has been released to the Public Domain. # # finds the number of days between two particular dates # from string import * FALSE,TRUE = range(2) # Standard number of days for each month. months = (31,28,31,30,31,30,31,31,30,31,30,31) JAN,FEB,MAR,APR,MAY,JUN,JUL,AUG,SEP,OC...
874
348
{"nom":"Blodelsheim","circ":"4ème circonscription","dpt":"Haut-Rhin","inscrits":1461,"abs":920,"votants":541,"blancs":33,"nuls":12,"exp":496,"res":[{"nuance":"REM","nom":"<NAME>","voix":249},{"nuance":"LR","nom":"<NAME>","voix":247}]}
94
852
#ifndef _CSCCHIPSPEEDCORRECTIONDBCONDITIONS_H #define _CSCCHIPSPEEDCORRECTIONDBCONDITIONS_H #include "FWCore/Framework/interface/ESHandle.h" #include "FWCore/Framework/interface/ESProducer.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/EventSetup.h" #include "FWCore/Framework/int...
3,490
726
<reponame>HolyBayes/rep<filename>rep/estimators/_mnkit.py<gh_stars>100-1000 from __future__ import print_function, division, absolute_import import os import shutil import requests JSON_HEADER = {'Content-type': 'application/json'} __author__ = '<NAME>' class ServerError(Exception): pass def check_result(res...
2,901
337
<filename>BMAIL/__init__.py #coding=utf-8 #!/usr/bin/python import smtplib, time, os, getpass, sys def psb(z): for e in z + '\n': sys.stdout.write(e) sys.stdout.flush() time.sleep(0.01) class bcolors: OKGREEN = '\033[1;92;40m' WARNING = '\033[96m' FAIL = '\033[91m' ENDC = '\03...
6,749
876
""" Displays result of a Prometheus query. Configuration parameters: color: Text colour. Supports py3status colour names. Examples: GOOD, DEGRADED, BAD, #E9967A (default None) format: Formatting of query result. Can refer to all labels from the query result. Query value placeholder __v....
1,509
1,338
/* * Copyright 2008-10, <NAME>, <oliver.ruiz.dorantes_at_gmail.com> * All rights reserved. Distributed under the terms of the MIT License. */ #include "BluetoothWindow.h" #include "RemoteDevicesView.h" #include <Button.h> #include <Catalog.h> #include <LayoutBuilder.h> #include <Messenger.h> #include <Roster.h> #...
1,760
335
{ "word": "Exultation", "definitions": [ "A feeling of triumphant elation or jubilation; rejoicing." ], "parts-of-speech": "Noun" }
67
14,668
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef REMOTING_HOST_DESKTOP_RESIZER_H_ #define REMOTING_HOST_DESKTOP_RESIZER_H_ #include <list> #include <memory> #include "remoting/host/base/scr...
570
427
<reponame>Cwc-Test/CpcdosOS2.1<filename>CONTRIB/LLVM/src/rt/test/tsan/large_malloc_meta.cc // RUN: %clangxx_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s #include "test.h" #include <sys/mman.h> // Test for previously unbounded memory consumption for large mallocs. // Code allocates a large memory block (that is han...
427
592
<gh_stars>100-1000 // // UIBezierPath+MMShapes.h // LooseLeaf // // Created by <NAME> on 7/27/18. // Copyright © 2018 Milestone Made, LLC. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface UIBezierPath (MMShapes) + (UIBezierPath*)pentagonPath; + (UIBezierPath*)trianglePath; +...
422
1,058
<gh_stars>1000+ /* * Copyright (c) 2017-2019 TIBCO Software 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 * ...
541
678
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/Symbolication.framework/Symbolication */ typedef struct _VMURange { unsigned long long location; unsigned long long length; } VMURange; typedef struct dyld_image_info_64 { unsigned long long _field1; unsigned lo...
1,090
12,278
// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html /****************************************************************************** * Copyright (C) 2008-2016, International Business Machines * Corporation and others. All Rights Reserved. **************...
302
666
// EnterChannelDlg.cpp : 实现文件 // #include "stdafx.h" #include "OpenVideoCall.h" #include "EnterChannelDlg.h" #include "afxdialogex.h" // CEnterChannelDlg 对话框 IMPLEMENT_DYNAMIC(CEnterChannelDlg, CDialogEx) CEnterChannelDlg::CEnterChannelDlg(CWnd* pParent /*=NULL*/) : CDialogEx(CEnterChannelDlg::IDD, pParent) { ...
3,890
506
// https://open.kattis.com/problems/acm #include <iostream> #include <tuple> #include <vector> using namespace std; int main() { vector<tuple<int, char, string>> v; while (true) { int m; char p; string r; cin >> m; if (m == -1) break; cin >> p >> r; v.push_back(make_tuple(m, p, r)); } bool solved[26...
329
399
<gh_stars>100-1000 package edu.wpi.grip.core; import edu.wpi.grip.core.cuda.AccelerationMode; import edu.wpi.grip.core.cuda.CudaDetector; import edu.wpi.grip.core.cuda.CudaVerifier; import edu.wpi.grip.core.cuda.NullAccelerationMode; import edu.wpi.grip.core.cuda.NullCudaDetector; import edu.wpi.grip.core.events.Event...
2,709
2,728
<reponame>rsdoherty/azure-sdk-for-python<filename>sdk/mixedreality/azure-mixedreality-authentication/tests/test_static_access_token_credential.py # ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See ...
273
335
<filename>E/Evangelical_noun.json { "word": "Evangelical", "definitions": [ "A member of the evangelical tradition in the Christian Church." ], "parts-of-speech": "Noun" }
78
640
// automatically generated by m4 from headers in proto subdir #ifndef __CTYPE_H__ #define __CTYPE_H__ extern int __LIB__ isalnum(int) __smallc __z88dk_fastcall; extern int __LIB__ isalpha(int) __smallc __z88dk_fastcall; extern int __LIB__ isascii(int) __smallc __z88dk_fastcall; extern int __LIB__ isbdigit(int...
486
5,169
{ "name": "NewLLDebugTool", "version": "1.3.2", "summary": "NewLLDebugTool is a debugging tool for developers and testers that can help you analyze and manipulate data in non-xcode situations.", "homepage": "https://github.com/didiaodanding/NewLLDebugTool", "license": "MIT", "authors": { "haleli": "<EMA...
1,545
559
<reponame>amaiorano/Native_SDK /*! \brief Class containing internal data of the PowerVR Shell. \file PVRShell/ShellData.h \author PowerVR by Imagination, Developer Technology Team \copyright Copyright (c) Imagination Technologies Limited. */ #pragma once #include "PVRCore/commandline/CommandLine.h" #include "PVRCore/te...
1,055
1,754
/* * Copyright 2018 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 applicabl...
369
9,782
<filename>presto-benchmark-runner/src/main/java/com/facebook/presto/benchmark/framework/BenchmarkRunner.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.or...
1,353
806
<gh_stars>100-1000 package com.github.davidmoten.rx.jdbc; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.util.concurrent.atomic.AtomicBoolean; class State { volatile Connection con; volatile PreparedStatement ps; volatile ResultSet rs; final Atomi...
120
2,338
// RUN: %clang_cc1 -triple x86_64-unknown-linux -emit-llvm -DUNWIND -fcxx-exceptions -fexceptions -o - %s | FileCheck -check-prefixes CHECK,CHECK-UNWIND %s // RUN: %clang_cc1 -triple x86_64-unknown-linux -emit-llvm -fcxx-exceptions -fexceptions -o - %s | FileCheck -check-prefixes CHECK,CHECK-NO-UNWIND %s extern "C" vo...
382
335
<gh_stars>100-1000 #!/usr/bin/env python3 # See LICENSE for licensing information. # # Copyright (c) 2016-2021 Regents of the University of California # All rights reserved. # import debug import design from tech import cell_properties as props class sky130_row_cap(design.design): def __init__(self, version, na...
392
10,225
package io.quarkus.arc.processor; import org.jboss.jandex.DotName; public class BeanDefiningAnnotation { private final DotName annotation; private final DotName defaultScope; public BeanDefiningAnnotation(DotName annotation, DotName defaultScope) { this.annotation = annotation; this.defa...
176
705
package src; import becker.robots.*; /* CS1A: Assignment 1: Part 1 - Robot Pipe Cleaning */ public class A1_Part_1 extends Object { public static void main(String[] args) { City theCity= new City( 11, 5); // 11 means "show me 11 streets - streets 0, 1, ..., 9, 10" // 5 means "sh...
1,976
831
/* * Copyright (C) 2015 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...
2,571
483
/* * Copyright (c) 2017-2021 Nitrite 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 ap...
1,064
852
<gh_stars>100-1000 import FWCore.ParameterSet.Config as cms # # Ecal part # from RecoLocalCalo.Configuration.ecalLocalRecoSequence_cff import * #defines a sequence ecalLocalRecoSequence # # Hcal part # # calo geometry # # changed by tommaso. now the calibrations are read from Configuration/StaqndardSequences/data/*Con...
422
2,962
package com.pushtorefresh.storio3.sample.sqldelight; // //import android.content.ContentValues; //import android.database.Cursor; //import android.os.Bundle; //import android.support.annotation.Nullable; //import android.support.v7.widget.DividerItemDecoration; //import android.support.v7.widget.LinearLayoutManager; //...
2,953
1,403
<reponame>moroten/scons #!/usr/bin/env python # # __COPYRIGHT__ # # 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 use, copy, ...
1,164