max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
1,738
/* * eos - A 3D Morphable Model fitting library written in modern C++11/14. * * File: include/eos/render/detail/plane.hpp * * Copyright 2017 <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 t...
1,142
930
package com.zone.weixin4j.util; import java.io.Serializable; /** * aes & token * * @className AesToken * @author jinyu(<EMAIL>) * @date 2015年5月6日 * @since JDK 1.6 * @see */ public class AesToken implements Serializable { private static final long serialVersionUID = -6001008896414323534L; /** * 账号ID(原始id...
614
2,338
<reponame>acidburn0zzz/llvm-project // RUN: %clang_cc1 -triple spir64 -aux-triple x86_64-unknown-linux-gnu \ // RUN: -fsycl-is-device -verify -fsyntax-only %s typedef __uint128_t BIGTY; template <class T> class Z { public: // expected-note@+1 {{'field' defined here}} T field; // expected-note@+1 2{{'field1' ...
1,436
7,737
/** * This file is part of the Zephir. * * (c) <NAME> <<EMAIL>> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. If you did not receive * a copy of the license it is available through the world-wide-web at the * following url: https:/...
1,667
5,169
<reponame>Gantios/Specs<gh_stars>1000+ { "name": "Azetone", "version": "5.0.1", "summary": "Azetone UX Analytics, A/B Testing and Personalization for iOS", "description": "Azetone: Next generation Mobile UX Analytics, A/B Testing and Personalization\nWhat makes Azetone so unique? Because it is built from the gr...
675
651
<filename>prov/src/main/java/org/spongycastle/jcajce/provider/util/AsymmetricAlgorithmProvider.java package org.spongycastle.jcajce.provider.util; import org.spongycastle.asn1.ASN1ObjectIdentifier; import org.spongycastle.jcajce.provider.config.ConfigurableProvider; public abstract class AsymmetricAlgorithmProvider ...
779
330
import os import pathlib import glob pybamm_data = [] for file_ext in ["*.csv", "*.py", "*.md"]: # Get all the files ending in file_ext in pybamm/input dir. # list_of_files = [ # 'pybamm/input/drive_cycles/car_current.csv', # 'pybamm/input/drive_cycles/US06.csv', # ... list_of_files = glo...
406
448
<reponame>vlro/terracotta import pytest from click.testing import CliRunner @pytest.fixture(scope='session') def toml_file(tmpdir_factory): content = """ DEFAULT_TILE_SIZE = [64, 64] """ outfile = tmpdir_factory.mktemp('config').join('tc-config.toml') with open(outfile, 'w') as f: f.write...
1,101
471
<filename>examples/pxScene2d/external/WinSparkle/3rdparty/wxWidgets/include/wx/cocoa/evtloop.h /////////////////////////////////////////////////////////////////////////////// // Name: wx/cocoa/evtloop.h // Purpose: declaration of wxGUIEventLoop for wxCocoa // Author: <NAME> // Created: 2008-12-28 //...
402
2,769
<gh_stars>1000+ { "AutoDeployParam": { "Description": "Don't change this unless you forked your own copy of the repos. And want to have auto deployment for changes in code that you made in your repos. If you set Yes, then the CodePipeline setup will get a Webhook resource, otherwise skipped, since you don't have acc...
143
2,329
<reponame>alimate/spring-loaded<gh_stars>1000+ package basic; public interface DefaultMethodsI2A { }
35
310
{ "name": "TrueCraft", "description": "An implementation of a MineCraft client.", "url": "https://github.com/ddevault/TrueCraft" }
46
1,685
# -*- coding: utf-8 -*- # Copyright (c) 2015, <NAME>, <NAME> # Licensed under the BSD 3-clause license (see LICENSE.txt) """ Classes in this module enhance several stationary covariance functions with the Stochastic Differential Equation (SDE) functionality. """ from .rbf import RBF from .stationary import Exponential ...
3,862
364
<reponame>akawalsky/hapi-fhir package ca.uhn.fhir.cql.dstu3.listener; /*- * #%L * HAPI FHIR JPA Server - Clinical Quality Language * %% * Copyright (C) 2014 - 2021 Smile CDR, Inc. * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the Lic...
1,109
407
/* * Copyright (c) 2016-2019, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list ...
2,861
412
union union_tag_name { int x; float y; }; int main() { const union union_tag_name my_union_var = {.y = 3.15}; const double z = 4; return 0; }
67
1,813
<reponame>scc2758/Just-Another-Android-App<filename>app/src/main/java/com/example/tools/dagger/scopes/ActivityScope.java package com.example.tools.dagger.scopes; import javax.inject.Scope; import java.lang.annotation.Documented; import java.lang.annotation.Retention; import static java.lang.annotation.RetentionPolicy...
141
936
/* * Copyright 2021, Yahoo Inc. * Licensed under the Apache License, Version 2.0 * See LICENSE file in project root for terms. */ package com.yahoo.elide.datastores.jms.websocket; import com.yahoo.elide.graphql.ExecutionResultSerializer; import com.yahoo.elide.graphql.GraphQLErrorSerializer; import com.yahoo.elid...
2,723
2,728
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
668
1,127
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "data_inst.h" #include "non_max_suppression_inst.h" #include "primitive_base.hpp" #include "impls/implementation_map.hpp" #include "kernel_selector_helper.h" #include "non_max_suppression/non_max_suppression_kernel_selector...
3,443
2,137
package com.publiccms.logic.dao.sys; import java.util.Collections; import java.util.List; import org.springframework.stereotype.Repository; import com.publiccms.common.base.BaseDao; import com.publiccms.common.handler.QueryHandler; import com.publiccms.common.tools.CommonUtils; import com.publiccms.entitie...
661
1,738
#! /usr/bin/env python3 """ combinerefs path A helper for analyzing PYTHONDUMPREFS output. When the PYTHONDUMPREFS envar is set in a debug build, at Python shutdown time Py_FinalizeEx() prints the list of all live objects twice: first it prints the repr() of each object while the interpreter is still fully intact. ...
1,489
432
/* Language-independent diagnostic subroutines for the GNU Compiler Collection that are only for use in the compilers proper and not the driver or other programs. Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. This file is part of GCC. G...
3,282
2,032
<reponame>huayl/phxqueue /* Tencent is pleased to support the open source community by making PhxQueue 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 ...
836
1,985
<reponame>onlyrico/lightseq #pragma once #include <cuda.h> #include <cuda_fp16.h> namespace lightseq { namespace cuda { void launch_split_multilg_request(const int *req, int *src_lang_id, int *trg_lang_id, int *src_token_id, int batch_size, int req_l...
564
981
/******************************************************************* * File automatically generated by rebuild_wrappers.py (v2.1.0.16) * *******************************************************************/ #ifndef __wrappedgthread2UNDEFS_H_ #define __wrappedgthread2UNDEFS_H_ #endif // __wrappedgthread2UNDEFS_H_
82
1,165
<filename>commons/pac-batch-commons/src/main/java/com/tmobile/pacman/commons/azure/clients/AzureCredentialManager.java<gh_stars>1000+ package com.tmobile.pacman.commons.azure.clients; import java.util.HashMap; import java.util.Map; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.google.gson.Gson;...
1,039
469
#include <emscripten.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <mono/metadata/assembly.h> #include <mono/mini/jit.h> #include <mono/utils/mono-logger.h> #include <mono/utils/mono-embed.h> #include <mono/utils/mono-dl-fallback.h> #include <windows.h> #include <GdiPlusF...
13,807
742
<filename>OpenTESArena/src/Media/TextCinematicDefinition.h<gh_stars>100-1000 #ifndef TEXT_CINEMATIC_DEFINITION_H #define TEXT_CINEMATIC_DEFINITION_H #include <string> #include <vector> #include "Color.h" // Intended for text cinematics with speech. class TextCinematicDefinition { public: enum class Type { Death...
485
1,034
/* * Copyright 2019 NXP * All rights reserved. * * * SPDX-License-Identifier: BSD-3-Clause */ #include "fsl_codec_i2c.h" /******************************************************************************* * Definitions ******************************************************************************/ ...
1,591
1,127
// Copyright (C) 2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <subgraph_tests/multi_crops_to_concat.hpp> #include "common_test_utils/test_constants.hpp" namespace SubgraphTestsDefinitions { namespace { const std::vector<std::vector<size_t>> input_shapes = { {1, 48}, {1, 64} }; co...
585
1,127
/* * 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 ...
10,240
1,502
#ifndef BOOST_NETWORK_UTILS_ITERATORS_TRANSFORM_WIDTH_WITH_STATE_HPP #define BOOST_NETWORK_UTILS_ITERATORS_TRANSFORM_WIDTH_WITH_STATE_HPP #include <boost/serialization/pfto.hpp> #include <boost/iterator/iterator_adaptor.hpp> #include <boost/iterator/iterator_traits.hpp> #include <algorithm> // The class transform_wid...
2,933
3,631
<filename>drools-examples/src/main/java/org/drools/benchmark/waltzdb/EdgeLabel.java /* * Copyright 2010 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 ...
1,202
432
<filename>app/src/main/java/tk/wasdennnoch/androidn_ify/systemui/qs/tiles/BaseTile.java package tk.wasdennnoch.androidn_ify.systemui.qs.tiles; import android.annotation.CallSuper; import android.content.Context; import android.view.View; import de.robv.android.xposed.XposedHelpers; import tk.wasdennnoch.androidn_ify....
1,248
335
<reponame>Safal08/Hacktoberfest-1 { "word": "Vexatious", "definitions": [ "Causing or tending to cause annoyance, frustration, or worry.", "Denoting an action or the bringer of an action that is brought without sufficient grounds for winning, purely to cause annoyance to the defendant." ], ...
122
765
<gh_stars>100-1000 """ Test lldb breakpoint command for CPP methods & functions in a namespace. """ from __future__ import print_function import lldb from lldbsuite.test.decorators import * from lldbsuite.test.lldbtest import * from lldbsuite.test import lldbutil class CPPBreakpointCommandsTestCase(TestBase): ...
1,550
2,538
""" The Gumbell distribution, results ================================= Generate the exercise results on the Gumbell distribution """ import numpy as np import matplotlib.pyplot as plt years_nb = 21 wspeeds = np.load('sprog-windspeeds.npy') max_speeds = np.array([arr.max() for arr in np.array_split(wspeeds, years_nb)...
172
739
import subprocess import os import sys if __name__ == "__main__": # Until below works sys.exit(0) cmd = ["python", "-m", "tox", "-c", "tox-performance.ini"] uri = "%s://%s:%s" % ( os.environ["TEST_NEO4J_SCHEME"], os.environ["TEST_NEO4J_HOST"], os.environ["TEST_NEO4J...
332
1,953
<gh_stars>1000+ #include <wil/com.h> #include <wil/result.h> #if (NTDDI_VERSION >= NTDDI_WIN8) #include <wil/result_originate.h> #endif #include <roerrorapi.h> #include "common.h" static volatile long objectCount = 0; struct SharedObject { SharedObject() { ::InterlockedIncrement(&o...
8,787
1,056
<filename>profiler/profiler.ppoints/src/org/netbeans/modules/profiler/ppoints/ui/icons/ProfilingPointsIconsProviderImpl.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 * regard...
1,047
190,993
<filename>tensorflow/core/framework/logging.cc /* Copyright 2019 The TensorFlow 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/LICE...
451
3,301
<reponame>starburst-project/Alink<filename>core/src/main/java/com/alibaba/alink/operator/common/tensorflow/TFSavedModelConstants.java package com.alibaba.alink.operator.common.tensorflow; public class TFSavedModelConstants { public static final String MODEL_PATH_KEY = "model_path"; public static final String GRAPH_D...
294
682
/**CFile**************************************************************** FileName [fraMan.c] SystemName [ABC: Logic synthesis and verification system.] PackageName [New FRAIG package.] Synopsis [Starts the FRAIG manager.] Author [<NAME>] Affiliation [UC Berkeley] Date [Ver. 1.0...
4,894
12,252
/* * Copyright 2019 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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.apach...
2,168
348
{"nom":"Rauville-la-Bigot","circ":"3ème circonscription","dpt":"Manche","inscrits":847,"abs":495,"votants":352,"blancs":3,"nuls":29,"exp":320,"res":[{"nuance":"REM","nom":"<NAME>","voix":207},{"nuance":"LR","nom":"<NAME>","voix":113}]}
94
1,350
<reponame>Shashi-rk/azure-sdk-for-java // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.monitor.opentelemetry.exporter; import com.azure.core.http.HttpPipelineCallContext; import com.azure.core.http.HttpPipelineNextPolicy; import com.azure.core.http.Htt...
1,981
370
/* * WorldEdit, a Minecraft world manipulation toolkit * Copyright (C) sk89q <http://www.sk89q.com> * Copyright (C) WorldEdit team and contributors * * 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 F...
1,459
1,168
<reponame>wcalandro/kythe // Checks that we can generate a generates edge. #pragma kythe_metadata "single.meta.h" //- vname(gsig, gcorp, groot, gpath, glang) generates VFoo //- @foo defines/binding VFoo int foo;
81
1,001
# 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 u...
979
2,606
<gh_stars>1000+ package weixin.popular.bean.paymch; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement(name="xml") @XmlAccessorType(XmlAccessType.FIELD) public class QueryCouponResult extends MchBas...
2,059
1,673
<gh_stars>1000+ /*****************************************************************************/ /* */ /* segnames.h */ /* ...
1,904
1,042
/* * Copyright (c) scott.cgi All Rights Reserved. * * This source code belongs to project Mojoc, which is a pure C Game Engine hosted on GitHub. * The Mojoc Game Engine is licensed under the MIT License, and will continue to be iterated with coding passion. * * License : https://github.com/scottcgi/Mojoc/blob/ma...
942
321
// Copyright 2019 DeepMind Technologies Limited. // // 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 applicable law ...
708
780
<reponame>yaoandrew/synthetix [ { "name": "sETH", "rewardsToken": "Synt<PASSWORD>" }, { "name": "sBTC", "rewardsToken": "Synt<PASSWORD>" } ]
83
14,668
<reponame>zealoussnow/chromium // 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. #include "services/device/geolocation/network_location_provider.h" #include <utility> #include "base/bind.h" #include...
4,037
568
<filename>piano-hero/mobile/src/main/java/com/novoda/pianohero/CompositePiano.java package com.novoda.pianohero; import java.util.Arrays; import java.util.List; class CompositePiano implements Piano { private final List<Piano> pianos; CompositePiano(Piano... pianos) { this.pianos = Arrays.asList(pia...
204
1,001
<filename>blockchain/v2/__init__.py from . import ( receive )
27
4,283
<filename>hazelcast/src/test/java/com/hazelcast/aws/XmlNodeTest.java<gh_stars>1000+ /* * Copyright (c) 2008-2021, Hazelcast, 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 th...
908
2,023
<reponame>tdiprima/code """Indentable rlcompleter Extend standard rlcompleter module to let tab key can indent and also completing valid Python identifiers and keywords.""" import readline,rlcompleter class irlcompleter(rlcompleter.Completer): def complete(self, text, state): if text == "": ...
298
852
<filename>HLTrigger/Configuration/python/Tools/dasFileQuery.py import sys import json import das_client def dasFileQuery(dataset): query = 'dataset dataset=%s' % dataset host = 'https://cmsweb.cern.ch' # default idx = 0 # default limit = 0 ...
682
5,169
{ "name": "Customized-Popup", "version": "0.1.0", "summary": "Customized-Popup. Hello this is my first project in cocoapod.", "description": "Customized popup : One of the most customized popup with custom view inside the popup. You can show map, image and texts inside your popup. Easy to maintain", "homepage...
256
335
<filename>Q/Qualifier_noun.json { "word": "Qualifier", "definitions": [ "A person or team that qualifies for a competition or its final rounds.", "A match or contest to decide which individuals or teams qualify for a competition or its final rounds.", "A word or phrase, especially an adj...
164
997
<reponame>mkannwischer/PQClean #ifndef PQCLEAN_MCELIECE6960119F_VEC_UTIL_H #define PQCLEAN_MCELIECE6960119F_VEC_UTIL_H /* This file is for loading/storing data in a little-endian fashion */ #include "vec.h" #include <stdint.h> void PQCLEAN_MCELIECE6960119F_VEC_store_i(unsigned char *out, uint64_t in, int i); voi...
359
2,605
// solution 1, O(n*q + q^2) #include "bits/stdc++.h" using namespace std; int main() { int n, q; scanf("%d%d", &n, &q); vector<pair<int,int>> intervals(q); vector<int> cnt(n); for(pair<int,int>& p : intervals) { scanf("%d%d", &p.first, &p.second); --p.first; --p.second; ...
842
2,542
<gh_stars>1000+ // ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stda...
2,388
14,668
<filename>third_party/blink/renderer/modules/websockets/websocket_message_chunk_accumulator.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 THIRD_PARTY_BLINK_RENDERER_MODULES_WEBSOCKETS_WEBSOC...
1,078
860
<reponame>msgilligan/groovy-core<filename>src/main/org/codehaus/groovy/control/customizers/ImportCustomizer.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...
2,387
965
class ATL_NO_VTABLE CPolyProp : public CComObjectRootEx<CComSingleThreadModel>, public CComCoClass<CPolyProp, &CLSID_PolyProp>, public IPropertyPageImpl<CPolyProp>, public CDialogImpl<CPolyProp> { public: BEGIN_COM_MAP(CPolyProp) COM_INTERFACE_ENTRY(IPropertyPage) END_COM_MAP() BEGIN_MSG_MAP(CPolyProp) ...
296
1,292
<reponame>saripaisley/TabPy<filename>tests/unit/server_tests/test_pwd_file.py import os import unittest from tempfile import NamedTemporaryFile from tabpy.tabpy_server.app.app import TabPyApp class TestPasswordFile(unittest.TestCase): def setUp(self): self.config_file = NamedTemporaryFile(mode="...
3,081
1,779
package com.exadel.frs.core.trainservice.cache; import com.exadel.frs.core.trainservice.dto.CacheActionDto; import com.exadel.frs.core.trainservice.service.EmbeddingService; import com.exadel.frs.core.trainservice.service.NotificationSenderService; import com.google.common.cache.Cache; import com.google.common.cache.C...
973
435
# -*- coding: utf-8 -*- from __future__ import absolute_import, print_function, division from tempfile import NamedTemporaryFile import io from petl.test.helpers import eq_ from petl.io.html import tohtml def test_tohtml(): # exercise function table = (('foo', 'bar'), ('a', 1), ...
1,950
1,235
#include <iostream> #include <map> using namespace std; void updateMap1(map<char,int> cmap) { cmap['O'] = 100; } void updateMap2(map<char,int>& cmap) { cmap['O'] = 100; } void updateMap3(map<char,int>* cmap) { // (X) cmap['O'] = 1000; (*cmap)['O'] = 1000; } int main() { map<char,int> cmap; cmap['A'] = 100; c...
677
1,146
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
2,115
307
<filename>riptable/rt_csv.py from typing import Optional, List __all__ = ['load_csv_as_dataset', ] import csv import numpy as np from .rt_dataset import Dataset def load_csv_as_dataset(path_or_file, column_names: Optional[List[str]] = None, converters: Optional[dict] = None, skip_rows: int = 0, version: ...
2,455
748
<reponame>Ayansam1152/translate #!/usr/bin/env python3 import importlib import os # automatically import any Python files in the models/ directory for file in sorted(os.listdir(os.path.dirname(__file__))): if file.endswith(".py") and not file.startswith("_"): model_name = file[: file.find(".py")] ...
145
6,132
import angr import logging l = logging.getLogger(name=__name__) #l.setLevel("DEBUG") """ BOOL GetProcessAffinityMask( HANDLE hProcess, PDWORD_PTR lpProcessAffinityMask, PDWORD_PTR lpSystemAffinityMask ); """ class GetProcessAffinityMask(angr.SimProcedure): paffinity_mask = None saffinity_mask = None...
467
947
/*------------------------------------------------------------------------- * * o_opclass.h * Routines for orioledb operator classes list. * * Copyright (c) 2021-2022, Oriole DB Inc. * * IDENTIFICATION * contrib/orioledb/include/catalog/o_opclass.h * *-------------------------------------------------------...
218
634
/* * Copyright 2000-2012 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 required by applicable law or agre...
416
3,459
/* * Copyright 2016 requery.io * * 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...
926
14,668
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_UI_DEVTOOLS_VIEWS_UI_ELEMENT_WITH_METADATA_H_ #define COMPONENTS_UI_DEVTOOLS_VIEWS_UI_ELEMENT_WITH_METADATA_H_ #include <memory> #incl...
611
777
<reponame>google-ar/chromium // 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. // This file has been auto-generated by code_generator_v8.py. // DO NOT MODIFY! // This file has been generated from the Jin...
1,659
2,151
<gh_stars>1000+ // Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/common/media/cdm_host_file_path.h" #include "base/files/file_path.h" #include "base/files/file_util.h" #include "base/lo...
1,688
614
<filename>sample/src/main/java/com/androidwind/androidquick/demo/features/design_patterns/observer/Server.java package com.androidwind.androidquick.demo.features.design_patterns.observer; import java.util.Observable; /** * @author ddnosh * @website http://blog.csdn.net/ddnosh */ public class Server extends Observa...
270
5,964
<filename>experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfCIDSystemInfoDictionary_autogen.cpp /* * Copyright 2013 Google Inc. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkPdfCIDSystemInfoDictionary_autogen.h" #include "SkPdfNativeDoc.h" ...
589
809
/** * @file * @brief Common array utilities and spread arrays. * @details * TODO array_foreach general overview. -- Eldar * <b>Spread array</b> is statically allocated array, which is initialized * (populated) in multiple compilation units. In other words you can define the * array itself in one unit and add...
2,728
395
<reponame>jonathan-stein/timely package timely.store.compaction.util; import java.util.Collection; import java.util.Collections; import java.util.LinkedList; import java.util.List; import java.util.Optional; import java.util.OptionalLong; import java.util.concurrent.TimeUnit; import org.apache.hadoop.io.Text; import ...
1,607
643
// Generated automatically from okhttp3.Authenticator for testing purposes package okhttp3; import okhttp3.Request; import okhttp3.Response; import okhttp3.Route; public interface Authenticator { Request authenticate(Route p0, Response p1); static Authenticator JAVA_NET_AUTHENTICATOR = null; static Authe...
150
988
<filename>platform/api.search/test/unit/src/org/netbeans/modules/search/SearchScopeListTest.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 ownership. Th...
2,533
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. // ------------------------------------------------------------ #include "stdafx.h" using nam...
928
432
<gh_stars>100-1000 #include <stdio.h> int close_stream (FILE *stream);
28
628
_BASIC_META(DRM_IOCTL_LIMA_GET_PARAM) _BASIC_META(DRM_IOCTL_LIMA_GEM_CREATE) _BASIC_META(DRM_IOCTL_LIMA_GEM_INFO) _BASIC_META(DRM_IOCTL_LIMA_GEM_SUBMIT) _BASIC_META(DRM_IOCTL_LIMA_GEM_WAIT) _BASIC_META(DRM_IOCTL_LIMA_CTX_CREATE) _BASIC_META(DRM_IOCTL_LIMA_CTX_FREE)
180
2,542
<reponame>gridgentoo/ServiceFabricAzure //------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ #include "stdafx.h" using namespace Common; using name...
513
672
// Copyright(c) 2015-present, <NAME> & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) #pragma once #include <spdlog/common.h> #include <tuple> namespace spdlog { namespace details { // Helper class for file sinks. // When failing to open a file, retry several times(5)...
628
1,041
// Generated from /home/rob/github/ebean-dir/ebean/src/test/resources/EQL.g4 by ANTLR 4.8 package io.ebeaninternal.server.grammer.antlr; import org.antlr.v4.runtime.tree.ParseTreeVisitor; /** * This interface defines a complete generic visitor for a parse tree produced * by {@link EQLParser}. * * @param <T> The re...
3,168
431
#ifndef TST_FILTERCHAIN_H #define TST_FILTERCHAIN_H #include <QtTest> #include <cwf/filterchain.h> class TST_FilterChain : public QObject { Q_OBJECT private slots: void test(); }; #endif // TST_FILTERCHAIN_H
111
631
/***************************************************************************** * * * OpenNI 1.x Alpha * * Copyright (C) 2012 PrimeSense Ltd. * ...
1,569
338
package fr.lteconsulting.pomexplorer.depanalyze; import fr.lteconsulting.pomexplorer.PomSection; import fr.lteconsulting.pomexplorer.Project; import fr.lteconsulting.pomexplorer.graph.relation.Scope; import fr.lteconsulting.pomexplorer.model.Gav; public class GavLocation extends Location { private final PomSection s...
1,124
683
package cn.byhieg.threadtutorial.char01; /** * Created by shiqifeng on 2016/12/27. * Mail <EMAIL> */ public class ExampleCurrentThread extends Thread{ public ExampleCurrentThread(){ System.out.println("构造方法的打印:" + Thread.currentThread().getName()); } @Override public void run() { s...
176
455
<filename>app/src/main/java/com/jecelyin/editor/v2/adapter/IntentChooserAdapter.java /* * Copyright (C) 2016 <NAME> <<EMAIL>> * * This file is part of 920 Text Editor. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ...
1,191