max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
790
<gh_stars>100-1000 #!/usr/bin/env python # # Copyright 2007 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 ...
2,941
684
from django.contrib.auth.views import LogoutView from django.conf.urls import url urlpatterns = [url(r"^logout/", LogoutView.as_view(next_page="/login"), name="logout")]
62
1,080
// // LSTPopViewListCell.h // LSTPopView_Example // // Created by LoSenTrad on 2020/7/10. // Copyright © 2020 <EMAIL>. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface LSTPopViewListCell : UICollectionViewCell @property (weak, nonatomic) IBOutlet UILabel *titleLab; @property (we...
172
5,169
<gh_stars>1000+ { "name": "DrawIcons", "version": "1.0.1", "summary": "Some init icons by dynamic programmatically", "homepage": "https://github.com/LGKKTeam/DrawIcons.git", "license": "MIT", "authors": { "minhndcs52": "<EMAIL>" }, "platforms": { "ios": "9.0" }, "source": { "git": "https...
275
4,538
/* * Copyright 2009-2017 Alibaba Cloud 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...
781
8,148
<gh_stars>1000+ #include "d3d9_hud.h" namespace dxvk::hud { HudSamplerCount::HudSamplerCount(D3D9DeviceEx* device) : m_device (device) , m_samplerCount ("0"){ } void HudSamplerCount::update(dxvk::high_resolution_clock::time_point time) { m_samplerCount = str::format(m_device->GetSamplerCoun...
384
711
<filename>service-user/src/main/java/com/java110/user/bmo/owner/impl/VisitorRecordImpl.java package com.java110.user.bmo.owner.impl; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.java110.dto.RoomDto; import com.java110.dto.owner.OwnerDto; import com.java110.dto.owner.OwnerRo...
1,943
330
/* * Tencent is pleased to support the open source community by making ScriptX available. * Copyright (C) 2021 THL A29 Limited, a Tencent company. 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 ...
2,779
311
#include <string.h> #include <stdlib.h> #include <ctype.h> static int charcmp(char c1, char c2, int caseSensitive); static int getch(char *s, int i, int isdir); static int basecmp(char *s1, char *s2, int caseSensitive, int isdir); int numcmp(char *s1, char *s2) { float n1 = atof(s1); float n2 = atof(s2); if (n1...
747
508
<reponame>kkirstein/owl /* * OWL - OCaml Scientific and Engineering Computing * Copyright (c) 2016-2020 <NAME> <<EMAIL>> */ #include "owl_maths.h" #include "owl_stats.h" /** F distribution **/ double f_rvs(double dfnum, double dfden) { return ((chi2_rvs(dfnum) * dfden) / (chi2_rvs(dfden) * dfnum)); } double f_...
626
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...
1,970
631
/***************************************************************************** * * * OpenNI 1.x Alpha * * Copyright (C) 2012 PrimeSense Ltd. * ...
1,241
13,885
// Copyright (c) 2020 <NAME> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
2,895
339
/* * Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 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/li...
1,891
38,047
/* ========================================================================== * setcpuaffinity.c - Linux/BSD setcpuaffinity. * -------------------------------------------------------------------------- * Copyright (C) 2020 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a * copy ...
1,721
6,270
[ { "type": "bugfix", "category": "TypeScript", "description": "Updates waitFor methods to accept $waiter configuration in parameter fields." }, { "type": "bugfix", "category": "Typings", "description": "Fixes incorrect typings for AWS.EventListeners. Renamed ...
748
9,497
<reponame>kdkasad/manim import os from pathlib import Path import manim.utils.opengl as opengl from manim import * from manim.opengl import * # Copied from https://3b1b.github.io/manim/getting_started/example_scenes.html#surfaceexample. # Lines that do not yet work with the Community Version are commented. def get_...
8,459
11,468
/* * Copyright (c) 2015 LingoChamp 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...
3,037
7,260
// This may look like C code, but it is really -*- C++ -*- // // Copyright <NAME>, 2001, 2002 // Copyright <NAME> 2014-2018 // // TypeMetric Definition // // Container for font type metrics // #if !defined (Magick_TypeMetric_header) #define Magick_TypeMetric_header #include "Magick++/Include.h" #include "Magick++/Dra...
499
892
{ "schema_version": "1.2.0", "id": "GHSA-cxmc-68cr-87h3", "modified": "2022-05-01T23:28:31Z", "published": "2022-05-01T23:28:31Z", "aliases": [ "CVE-2008-0231" ], "details": "Multiple directory traversal vulnerabilities in index.php in Tuned Studios (1) Subwoofer, (2) Freeze Theme, (3) Orange Cutout, ...
605
631
<gh_stars>100-1000 package com.neu.his.common.dto.bms; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import lombok.ToString; import java.io.Serializable; import java.util.Date; @Setter @Getter @ToString public class BmsRegistrationPatientResult implements Serializable { ...
546
972
<gh_stars>100-1000 /* * Licensed to <NAME> (the "Author") under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Author licenses this * file to you under the Apache License, Version 2.0 (the * "License"); yo...
526
903
<filename>api/tacticalrmm/clients/migrations/0011_auto_20210321_1511.py<gh_stars>100-1000 # Generated by Django 3.1.7 on 2021-03-21 15:11 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('clients', '0010_clientcustomfield_sitecustomfield'), ] operations ...
193
348
<gh_stars>100-1000 {"nom":"Fleury","circ":"4ème circonscription","dpt":"Somme","inscrits":168,"abs":99,"votants":69,"blancs":5,"nuls":1,"exp":63,"res":[{"nuance":"REM","nom":"<NAME>","voix":40},{"nuance":"FN","nom":"<NAME>","voix":23}]}
97
485
<reponame>shunfei/indexr<gh_stars>100-1000 package io.indexr.segment.cache; import java.util.concurrent.Callable; public interface ExtIndexMemCache extends MemCache { int packCount(); void putPack(long segmentId, int columnId, int packId, CachedByteSlice extIndex); void removePack(long segmentId, int co...
176
765
<filename>lldb/packages/Python/lldbsuite/test/functionalities/tail_call_frames/unambiguous_sequence/main.cpp //===-- main.cpp ------------------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for licens...
481
3,513
#include <nokogiri.h> VALUE cNokogiriXmlComment; static ID document_id ; /* * call-seq: * new(document_or_node, content) * * Create a new Comment element on the +document+ with +content+. * Alternatively, if a +node+ is passed, the +node+'s document is used. */ static VALUE new (int argc, VALUE *argv, VALUE k...
634
14,668
<reponame>zealoussnow/chromium<filename>chrome/browser/ui/android/layouts/glue/java/src/org/chromium/chrome/browser/layouts/ManagedLayoutManager.java // 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. pack...
219
375
<gh_stars>100-1000 /* * Copyright 2017 Nokia Solutions and Networks * Licensed under the Apache License, Version 2.0, * see license.txt file for details. */ package org.robotframework.ide.eclipse.main.plugin.launch; import java.util.Map; import org.eclipse.core.runtime.CoreException; import org.eclipse....
882
23,220
package com.alibaba.otter.canal.client.adapter.config.common; import java.util.Map; import org.springframework.core.env.PropertiesPropertySource; import org.springframework.core.env.PropertySource; import org.springframework.util.StringUtils; /** * {@link PropertySource} that reads keys and values from a {@code Map...
324
1,935
/* Copyright (c) 2015 - 2021 Advanced Micro Devices, Inc. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, c...
1,066
903
<reponame>markrmiller/lucene /* * 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...
2,590
2,615
<reponame>ngi-nix/jitsi-videobridge /* * Copyright @ 2018 - present 8x8, 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 * * U...
1,174
1,097
<filename>addons/blender_xatlas/source/xatlas_src/extra/thirdparty/bx/include/bx/inline/easing.inl<gh_stars>1000+ /* * Copyright 2011-2020 <NAME>. All rights reserved. * License: https://github.com/bkaradzic/bx#license-bsd-2-clause */ #ifndef BX_EASING_H_HEADER_GUARD # error "Must be included from bx/easing.h!" #en...
2,683
2,322
<reponame>ryohare/cartography cors1_id = "0001" # Sample cors policy id for testing cors2_id = "0002" # Sample cors policy id for testing da1 = "/subscriptions/00-00-00-00/resourceGroups/RG/providers/Microsoft.DocumentDB/databaseAccounts/DA1" da2 = "/subscriptions/00-00-00-00/resourceGroups/RG/providers/Microsoft.Doc...
7,377
335
{ "word": "Nitrile", "definitions": [ "An organic compound containing a cyanide group \u2014CN bound to an alkyl group." ], "parts-of-speech": "Noun" }
73
3,603
<filename>plugin/trino-kafka/src/main/java/io/trino/plugin/kafka/schema/confluent/ConfluentAvroReaderSupplier.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.apa...
1,260
496
<gh_stars>100-1000 /* * Licensed to Elasticsearch B.V. under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch B.V. licenses this file to you under * the Apache License, Version 2.0 (the "License"...
1,653
965
<filename>docs/atl-mfc-shared/reference/codesnippet/CPP/cfile-class_2.cpp HANDLE hFile = CreateFile(_T("CFile_File.dat"), GENERIC_WRITE, FILE_SHARE_READ, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); if (hFile == INVALID_HANDLE_VALUE) { AfxMessageBox(...
414
697
<reponame>SuanDan/LutClassSchedule package com.zhuangfei.timetable.operater; import android.content.Context; import android.util.AttributeSet; import android.widget.LinearLayout; import com.zhuangfei.timetable.TimetableView; /** * 抽象的业务逻辑 * Created by <NAME> on 2018/9/2. */ public abstract class AbsOperater { ...
250
416
<gh_stars>100-1000 #include <errno.h> #include <sys/socket.h> #include <xbook/debug.h> #include <xbook/socketcache.h> #include <xbook/net.h> #include <xbook/file.h> #include <xbook/safety.h> #include <xbook/sockioif.h> #include <xbook/netif.h> #include <xbook/if_ether.h> #include <xbook/if_arp.h> #include <sys/ioctl.h>...
6,428
435
<reponame>Montana/datawave package datawave.ingest.mapreduce.job; import com.google.common.collect.Multimap; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.io.Text; /** * A component which can place additional constraint checking on ingest. */ public interface ConstraintInitializer { ...
192
1,186
#include "buffer.h" #define LIMIT_MAX 1024 * 1024 * 1024 #define MAXFREELIST 1024 * 16 * 2 static buffer_t *buffer_free_list[MAXFREELIST]; static int numfree = 0; void buffer_list_fill(void) { buffer_t *buf; while (numfree < MAXFREELIST) { buf = (buffer_t *)PyMem_Malloc(sizeof(buffer_t)); buffer_free_l...
1,440
1,781
package chapter1.section4; import edu.princeton.cs.algs4.In; import edu.princeton.cs.algs4.StdOut; import java.math.BigInteger; /** * Created by <NAME> on 9/27/16. */ public class Exercise2 { public static int count(int[] array) { //Count triples that sum to 0. int length = array.length; ...
556
8,772
<gh_stars>1000+ package org.apereo.cas.oidc.jwks; import org.apereo.cas.oidc.AbstractOidcTests; import lombok.val; import org.apache.commons.lang3.StringUtils; import org.jose4j.jwk.JsonWebKey; import org.jose4j.jwk.JsonWebKeySet; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import java.util....
745
1,313
#ifdef TODO #include <string> #include <map> #include <deque> #include <math.h> #include "tx/tx.h" #include "systestbase.h" #include "miner/miner.h" #include "../json/json_spirit_value.h" #include <boost/test/unit_test.hpp> #include <boost/assign/list_of.hpp> using namespace std; const unsigned int iTxCount = 6000; ve...
5,592
372
/* * 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, software distributed under t...
1,772
303
{"id":119386,"line-1":"Shoalhaven Heads","line-2":"Australia","attribution":"©2016 CNES / Astrium, DigitalGlobe","url":"https://www.google.com/maps/@-34.850957,150.744587,17z/data=!3m1!1e3"}
77
682
<gh_stars>100-1000 // // BSG_KSLogger.c // // Created by <NAME> on 11-06-25. // // Copyright (c) 2011 <NAME>. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software wit...
2,532
348
{"nom":"Equevilley","circ":"1ère circonscription","dpt":"Haute-Saône","inscrits":107,"abs":45,"votants":62,"blancs":5,"nuls":6,"exp":51,"res":[{"nuance":"REM","nom":"Mme <NAME>","voix":40},{"nuance":"FN","nom":"Mme <NAME>","voix":11}]}
95
769
<filename>core/src/data/formats/geoJson.h #pragma once #include "data/tileData.h" #include "util/json.h" #include "util/types.h" #include <functional> #include <memory> namespace Tangram { class TileTask; namespace GeoJson { using Transform = std::function<Point(LngLat _lngLat)>; bool isFeatureCollection(const Js...
317
462
<filename>androidplot-core/src/main/java/com/androidplot/xy/XYSeriesRegistry.java package com.androidplot.xy; import com.androidplot.*; /** * Maintains the "registry" of mappings of XYSeries instances and their associated formatters. */ public class XYSeriesRegistry extends SeriesRegistry<XYSeriesBundle, XYSeries, ...
394
324
<gh_stars>100-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 "...
2,445
435
{ "copyright_text": "CC BY", "description": "Task processing with multiprocessing and Celery", "duration": 2504, "language": "eng", "recorded": "2017-12-14", "related_urls": [ { "label": "Talk slides", "url": "https://speakerdeck.com/pyporto/scale-like-a-pro" }, { "label": "PyP...
339
852
<reponame>ckamtsikis/cmssw import FWCore.ParameterSet.Config as cms TrackerDTCAnalyzer_params = cms.PSet ( InputTagAccepted = cms.InputTag( "TrackerDTCProducer", "StubAccepted" ), # dtc passed stubs selection InputTagLost = cms.InputTag( "TrackerDTCProducer", "St...
356
1,602
#ifdef HAVE_CONFIG_H # include <config.h> #endif #include <stdio.h> #include <stdlib.h> #include <assert.h> #include <unistd.h> #include <qthread/qthread.h> #include "argparsing.h" static aligned_t x; static aligned_t id = 1; static aligned_t readout = 0; static aligned_t consumer(void *arg) { int me; iprin...
741
1,082
<filename>game-gate/src/test/java/com/jzy/game/gate/handler/http/ClusterHttpTest.java<gh_stars>1000+ package com.jzy.game.gate.handler.http; import java.util.HashMap; import java.util.Map; import org.junit.Ignore; import org.junit.Test; import com.jzy.game.engine.util.HttpUtil; /** * 集群服务器请求测试 * * ...
370
3,227
<gh_stars>1000+ namespace ArrTraits { /*! \ingroup PkgArrangementOnSurface2ConceptsGeometricObjects * \cgalConcept * * Represents a point in the plane. * * \cgalRefines DefaultConstructible * \cgalRefines CopyConstructible * \cgalRefines Assignable * * \cgalHasModel ArrangementBasicTraits_2::Point_2 */ class...
139
1,567
#include <stdint.h> #include "drv_common.h" #include "csi_config.h" //USI device number #define CONFIG_USI_USART_NUM CONFIG_USI_NUM #define CONFIG_USI_SPI_NUM CONFIG_USI_NUM #define CONFIG_USI_I2C_NUM CONFIG_USI_NUM //USI_PGPIO information typedef enum { ENUM_USI_DEV_USART, ENUM_USI_DEV_SPI, ENUM_USI_DEV_...
347
3,055
<reponame>Linghhh/u8g2<filename>tools/font/build/single_font_files/u8g2_font_roentgen_nbp_h_all.c /* Fontname: -FreeType-Roentgen NBP-Medium-R-Normal--16-160-72-72-P-67-ISO10646-1 Copyright: Created by total FontGeek, generated by Fontstruct. Licensed under CC BY SA. Glyphs: 257/257 BBX Build Mode: 1 */ const u...
8,001
14,668
// 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_WEB_SESSION_SESSION_CERTIFICATE_POLICY_CACHE_IMPL_H_ #define IOS_WEB_SESSION_SESSION_CERTIFICATE_POLICY_CACHE_IMPL_H_ #import <Foundation/Fou...
510
530
<gh_stars>100-1000 #ifndef INSTRECLIB_TRACK_H #define INSTRECLIB_TRACK_H #include <Eigen/StdVector> #include "InstanceSegmentationResult.h" #include "InstanceView.h" #include "../InfiniTamDriver.h" #include "../Utils.h" #include "../Defines.h" namespace instreclib { namespace reconstruction { // Very naive holder of...
3,099
301
/****************************************************************** * * Copyright 2017 Samsung Electronics 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 * ...
5,430
2,151
<filename>components/exo/layer_tree_frame_sink_holder.h // 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 COMPONENTS_EXO_LAYER_TREE_FRAME_SINK_HOLDER_H_ #define COMPONENTS_EXO_LAYER_TREE_FRAME_SIN...
1,391
575
<gh_stars>100-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. #ifndef COMPONENTS_EMBEDDER_SUPPORT_ANDROID_BROWSER_CONTEXT_BROWSER_CONTEXT_HANDLE_H_ #define COMPONENTS_EMBEDDER_SUPPORT_ANDROID_BROWS...
285
1,036
#include_next <err.h> void warnc(int, const char *, ...) __attribute__((__format__ (printf, 2, 3))); void vwarnc(int, const char *, va_list) __attribute__((__format__ (printf, 2, 0)));
69
34,359
<gh_stars>1000+ /* * Copyright 2017 <NAME> * * Distributed under the Boost Software License, Version 1.0. * See http://www.boost.org/LICENSE_1_0.txt * * This header is deprecated, use boost/winapi/time.hpp instead. */ #ifndef BOOST_DETAIL_WINAPI_TIME_HPP_ #define BOOST_DETAIL_WINAPI_TIME_HPP_ #include <boost/c...
245
1,989
/* * Copyright 2017 HugeGraph Authors * * 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, Ve...
16,014
668
int main() { return 2 * (3 + 4); }
18
678
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/DataAccess.framework/DataAccess */ @protocol ASDynamicAccountClassLoader + (BOOL)loadBundleForAccountWithProperties:(id)properties; @end
75
4,054
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.prelude.querytransform.test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import com.google.common.collect.ImmutableList; import com.yahoo.language.Ling...
2,605
1,279
<gh_stars>1000+ import boto3 from .translator.arn_generator import ArnGenerator, NoRegionFound class RegionConfiguration(object): """ There are times when certain services, or certain configurations of a service are not supported in a region. This class abstracts all region/partition specific configurati...
768
5,272
// // VIDDownLoadingCell.h // iOSProject // // Created by HuXuPeng on 2018/4/23. // Copyright © 2018年 github.com/njhu. All rights reserved. // #import <UIKit/UIKit.h> @interface VIDDownLoadingCell : UITableViewCell /** <#digest#> */ @property (nonatomic, strong) MJDownloadInfo *fileInfo; @end
112
2,503
<filename>MiniEngine/Model/Model.cpp // // 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 PARTICULAR // PURPOSE, ME...
4,354
2,344
<reponame>ngam/botorch<filename>botorch/acquisition/proximal.py<gh_stars>1000+ #!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. r""" A wrapper around AcquisitionFunctio...
1,649
1,799
<filename>plugin/src/main/java/io/cucumber/plugin/event/TestStep.java<gh_stars>1000+ package io.cucumber.plugin.event; import org.apiguardian.api.API; import java.util.UUID; /** * A test step can either represent the execution of a hook or a pickle step. * Each step is tied to some glue code. * * @see TestCaseSt...
214
379
<gh_stars>100-1000 /* * main.c -- * * This file contains the main program for "ozwish", a windowing * shell based on Tk and Tcl. It also provides a template that * can be used as the basis for main programs for other Tk * applications. * * OZWISH: specials: * - errors are prefixed by ...
5,548
4,935
<filename>generate/templates/manual/include/cleanup_handle.h #ifndef NODEGIT_CLEANUP_HANDLE_H #define NODEGIT_CLEANUP_HANDLE_H #include <map> #include <memory> #include <string> namespace nodegit { class CleanupHandle { public: CleanupHandle(); virtual ~CleanupHandle(); }; class FilterRegistryCleanup...
170
665
<filename>src/utils/vector.c /* * This file is part of LibParserUtils. * Licensed under the MIT License, * http://www.opensource.org/licenses/mit-license.php * Copyright 2008 <NAME> <<EMAIL>> */ #include <inttypes.h> #include <string.h> #include <parserutils/utils/vector.h> /** * Vector object ...
2,189
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,274
1,338
<reponame>Kirishikesan/haiku /* ** Copyright 2001, <NAME>. All rights reserved. ** Distributed under the terms of the NewOS License. */ #ifndef _ALPHA_THREAD_STRUCT_H #define _ALPHA_THREAD_STRUCT_H // architecture specific thread info struct arch_thread { unsigned int *sp; }; struct arch_proc { int foo; }; #endif...
114
2,151
<filename>ios/web/public/global_state/ios_global_state.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_WEB_PUBLIC_GLOBAL_STATE_IOS_GLOBAL_STATE_H_ #define IOS_WEB_PUBLIC_GLOBAL_STATE_IOS_G...
787
1,738
from __future__ import absolute_import, print_function from numba import config, types from .base import register_class_type, ClassBuilder def jitclass(spec): """ A decorator for creating a jitclass. **arguments**: - spec: Specifies the types of each field on this class. Must be a d...
286
348
{"nom":"Lachelle","circ":"5ème circonscription","dpt":"Oise","inscrits":552,"abs":310,"votants":242,"blancs":2,"nuls":17,"exp":223,"res":[{"nuance":"REM","nom":"<NAME>","voix":133},{"nuance":"LR","nom":"<NAME>","voix":90}]}
88
427
package modern.challenge; public class Fruit<T, Q> { }
24
1,006
<reponame>eenurkka/incubator-nuttx<filename>arch/arm/src/sam34/hardware/sam_acc.h /**************************************************************************** * arch/arm/src/sam34/hardware/sam_acc.h * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NO...
2,858
1,814
package io.github.luizgrp.sectionedrecyclerviewadapter; import org.junit.Before; import org.junit.Test; import java.util.Map; import io.github.luizgrp.sectionedrecyclerviewadapter.tools.Scenario1; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertNull; import static org.junit.Assert.assert...
10,085
559
/*! \brief Shows how to use our example PVRScope graph code. \file OGLESPVRScopeExample.cpp \author PowerVR by Imagination, Developer Technology Team \copyright Copyright (c) Imagination Technologies Limited. */ #include "PVRShell/PVRShell.h" #include "PVRUtils/PVRUtilsVk.h" #include "PVRScopeGraph.h" #if !defined(_WI...
12,674
631
/** * 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,079
764
<filename>erc20/0x6102407f07029892eB5Ff02164ADFaFb85f4d222.json {"symbol":"LCS","address":"0x6102407f07029892eB5Ff02164ADFaFb85f4d222","overview":{"en":""},"email":"","website":"http://www.libertycash.io/","whitepaper":"http://www.libertycash.io/downloads/LCSwhitepaper_cn.pdf","state":"NORMAL","links":{"blog":"https://...
167
816
/* * Copyright 2016-2021 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 * * Unles...
1,745
348
<reponame>chamberone/Leaflet.PixiOverlay<gh_stars>100-1000 {"nom":"Saint-Aubin-la-Plaine","circ":"5ème circonscription","dpt":"Vendée","inscrits":341,"abs":213,"votants":128,"blancs":6,"nuls":5,"exp":117,"res":[{"nuance":"SOC","nom":"<NAME>","voix":72},{"nuance":"REM","nom":"<NAME>","voix":45}]}
124
1,350
<gh_stars>1000+ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. package com.azure.search.documents.indexes.models; impo...
421
575
// 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 "components/zucchini/zucchini_commands.h" #include <stddef.h> #include <stdint.h> #include <ostream> #include <string> #include <utility> #inc...
2,301
368
/* Plugin-SDK (Grand Theft Auto 3) source file Authors: GTA Community. See more here https://github.com/DK22Pac/plugin-sdk Do not delete this comment block. Respect others' work! */ #include "CFileMgr.h" PLUGIN_SOURCE_FILE PLUGIN_VARIABLE char(&CFileMgr::ms_rootDirName)[128] = *reinterpret_cast<char(*...
2,149
1,169
// -*- mode: java; c-basic-offset: 2; -*- // Copyright 2020 MIT, All rights reserved // Released under the Apache License, Version 2.0 // http://www.apache.org/licenses/LICENSE-2.0 package com.google.appinventor.client.editor.simple.components; /** * Listener interface for receiving events when the Design Preview *...
211
1,540
package test.listeners; import org.testng.annotations.Listeners; import org.testng.annotations.Test; @Listeners(SuiteListener.class) public class SuiteListenerSample { @Test public void foo() {} }
65
638
/* * Copyright (C) 2018 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 agree...
1,292
582
<filename>plugins/tmx/misc.h<gh_stars>100-1000 /* Bulllord Game Engine Copyright (C) 2010-2017 Trix This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use thi...
1,632
14,391
<reponame>yylingyun/wxpy<gh_stars>1000+ from .logging_with_wechat import WeChatLoggingHandler, get_wechat_logger from .sync_message_in_groups import sync_message_in_groups from .tuling import Tuling from .xiaoi import XiaoI
79