max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
3,985
<filename>src/main/java/org/reflections/serializers/JsonSerializer.java package org.reflections.serializers; import com.google.gson.GsonBuilder; import org.reflections.Reflections; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.nio.charset.Ch...
678
331
<filename>src/main/java/org/yx/db/listener/SelectListener.java<gh_stars>100-1000 /** * Copyright (C) 2016 - 2030 youtongluan. * * 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...
1,201
877
package org.checkerframework.framework.qual; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * NOTE: This meta-annotation is <a * href="https://github.com/type...
491
852
import FWCore.ParameterSet.Config as cms process = cms.Process("TEST") process.load("CalibCalorimetry.EcalTrivialCondModules.EcalTrivialCondRetriever_cfi") process.EcalTrivialConditionRetriever.producedEcalLaserAlphas = cms.untracked.bool(True) process.EcalTrivialConditionRetriever.getLaserAlphaFromTypeEB = cms.un...
1,086
1,909
<reponame>seieewkx/XChange package org.knowm.xchange.ftx.dto.trade; import java.math.BigDecimal; public class FtxConditionalOrderRequestPayload { private String market; private FtxOrderSide side; private BigDecimal size; private FtxConditionalOrderType type; private boolean reduceOnly; private boolean re...
1,100
348
{"nom":"Thorigny","circ":"2ème circonscription","dpt":"Vendée","inscrits":855,"abs":370,"votants":485,"blancs":8,"nuls":3,"exp":474,"res":[{"nuance":"LR","nom":"Mme <NAME>","voix":150},{"nuance":"MDM","nom":"Mme <NAME>","voix":134},{"nuance":"FI","nom":"M. <NAME>","voix":63},{"nuance":"SOC","nom":"Mme <NAME>","voix":43...
276
23,901
<filename>spreadsheet_coder/model.py # coding=utf-8 # Copyright 2021 The Google Research 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/LICENS...
23,967
3,603
<reponame>asantoz/trino /* * 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 writin...
562
502
/** * <copyright> * * Copyright (c) 2010 SAP AG. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: ...
2,049
4,640
<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 * ...
504
5,169
{ "name": "Gigya-iOS-SDK", "version": "3.3.2", "summary": "The iOS client library provides an Objective-C interface for the Gigya API", "homepage": "http://developers.gigya.com/035_Mobile_SDKs/010_iPhone/", "license": { "type": "Copyright", "text": "Copyright 2015 Gigya. See the terms of service at ht...
361
1,174
<reponame>lijunru-hub/esp-iot-solution<gh_stars>1000+ // Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache...
6,934
421
// The following code example demonstrates several of the properties and methods of StringDictionary. // <snippet1> #using <System.dll> using namespace System; using namespace System::Collections; using namespace System::Collections::Specialized; void PrintKeysAndValues2( StringDictionary^ myCol ); void PrintK...
1,684
648
<gh_stars>100-1000 {"resourceType":"DataElement","id":"Practitioner.name","meta":{"lastUpdated":"2015-10-24T07:41:03.495+11:00"},"url":"http://hl7.org/fhir/DataElement/Practitioner.name","status":"draft","experimental":true,"stringency":"fully-specified","element":[{"path":"Practitioner.name","short":"A name associated...
212
555
# -*- coding: utf-8 -*- import math import numpy as np import os import random import sys import glob import cv2 import tensorflow as tf from .spatial_transformer import inplane_inverse_warp def inverse_warp_view_2_to_1(heatmaps2, depths2, depths1, c2Tc1s, K1, K2, inv_thetas1, thetas2, depth_thresh=0.5, get_warped_...
41,554
372
<filename>magick-installer/libiconv-1.13.1/lib/aliases_sysosf1.h /* ANSI-C code produced by gperf version 3.0.4 */ /* Command-line: gperf -m 10 lib/aliases_sysosf1.gperf */ /* Computed positions: -k'1,3-11,$' */ #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ && ('%' == 37) && ('&' == 38) && ('...
35,845
614
<reponame>fengjixuchui/AndroidQuick<gh_stars>100-1000 package com.androidwind.androidquick.demo.features.module.network.retrofit.network1; import com.androidwind.androidquick.demo.base.mvp.BaseContract; /** * @author ddnosh * @website http://blog.csdn.net/ddnosh */ public interface Network1Contract { interfac...
232
700
<gh_stars>100-1000 /*- * Copyright (c) 2003-2007 <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, t...
2,128
915
from unittest import TestCase from casbin.rbac import default_role_manager from casbin.util import regex_match_func import time from concurrent.futures import ThreadPoolExecutor def get_role_manager(): return default_role_manager.RoleManager(max_hierarchy_level=10) class TestDefaultRoleManager(TestCase): de...
4,439
392
<reponame>Da-Krause/settlers-remake /******************************************************************************* * Copyright (c) 2015 - 2017 * * 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 Sof...
801
348
{"nom":"Ceffonds","circ":"2ème circonscription","dpt":"Haute-Marne","inscrits":524,"abs":284,"votants":240,"blancs":13,"nuls":0,"exp":227,"res":[{"nuance":"LR","nom":"<NAME>","voix":159},{"nuance":"FN","nom":"<NAME>","voix":68}]}
91
1,549
<filename>adb/sign_pythonrsa.py # Copyright 2014 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
1,073
584
// // IWLDebug.h // AppleIntelWifiAdapter // // Created by 钟先耀 on 2020/1/6. // Copyright © 2020 IntelWifi for MacOS authors. All rights reserved. // #ifndef APPLEINTELWIFIADAPTER_IWLDEBUG_H_ #define APPLEINTELWIFIADAPTER_IWLDEBUG_H_ #include <IOKit/IOLib.h> #ifdef DEBUG #define DebugLog(args...) TraceLog(args) #...
1,962
1,355
package li.cil.oc.client.renderer.font; import java.nio.ByteBuffer; /** * Common interface for classes providing glyph data in a format that can be * rendered using the {@link li.cil.oc.client.renderer.font.DynamicFontRenderer}. */ public interface IGlyphProvider { /** * Called when the resource manager i...
649
782
<filename>main/boofcv-feature/src/main/java/boofcv/factory/struct/FactoryTupleDesc.java<gh_stars>100-1000 /* * Copyright (c) 2021, <NAME>. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.org). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file excep...
1,113
427
//===-- llvm/Target/MipsTargetObjectFile.h - Mips Object Info ---*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
788
634
<filename>core/src/test/java/org/apache/james/core/builder/MimeMessageWrapperTest.java /**************************************************************** * Licensed to the Apache Software Foundation (ASF) under one * * or more contributor license agreements. See the NOTICE file * * distributed with this work for a...
1,517
506
// https://www.hackerearth.com/challenge/competitive/january-circuits-18/algorithm/array-and-queries-d544bfb2/ #include <iostream> #include <vector> using namespace std; typedef vector<int> vi; int pow(int x, int n) { int r = 1; for (int i = 0; i < n; i++) r *= x; return r; } int main() { int n, q; cin >>...
451
2,084
/* Copyright JS Foundation and other contributors, http://js.foundation * * 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 r...
1,670
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
3,301
<reponame>starburst-project/Alink<filename>core/src/main/java/com/alibaba/alink/params/tensorflow/TensorFlowParams.java<gh_stars>1000+ package com.alibaba.alink.params.tensorflow; import com.alibaba.alink.params.dl.BaseDLParams; import com.alibaba.alink.params.dl.HasNumPssDefaultAsNull; public interface TensorFlowPar...
143
473
#include <stdio.h> #include <stdlib.h> int main () { printf ("pass\n"); exit (0); }
40
4,606
<filename>examples/docs_snippets/docs_snippets/deploying/celery_job.py from dagster import job, op from dagster_celery import celery_executor @op def not_much(): return @job(executor_def=celery_executor) def parallel_job(): for i in range(50): not_much.alias("not_much_" + str(i))()
123
715
# # Copyright 2019 The FATE 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 appli...
692
407
package com.alibaba.tesla.appmanager.server.repository.impl; import com.alibaba.fastjson.JSONObject; import com.alibaba.tesla.appmanager.common.exception.AppErrorCode; import com.alibaba.tesla.appmanager.common.exception.AppException; import com.alibaba.tesla.appmanager.common.util.DateUtil; import com.alibaba.tesla.a...
1,416
985
<filename>ld/unit-tests/test-cases/visibility-warning/foo_weak.c void __attribute__((weak)) foo() { }
39
1,350
<filename>sdk/timeseriesinsights/azure-resourcemanager-timeseriesinsights/src/main/java/com/azure/resourcemanager/timeseriesinsights/models/Sku.java // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.az...
971
852
// -*- C++ -*- // system include files #include <memory> #include <string> // user include files #include "FWCore/Framework/interface/Frameworkfwd.h" #include "FWCore/Framework/interface/global/EDProducer.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/EventSetup.h" #include "FWCo...
1,426
6,224
<reponame>psychogenic/zephyr<filename>subsys/bluetooth/audio/otc.h /* @file * @brief Object Transfer client header * * For use with the Object Transfer Service client (OTC) * * Copyright (c) 2020 - 2021 Nordic Semiconductor ASA * * SPDX-License-Identifier: Apache-2.0 */ #ifndef ZEPHYR_INCLUDE_BLUETOOTH_HOST_AUD...
4,489
2,860
/* * Copyright (C) Lightbend Inc. <https://www.lightbend.com> */ package com.lightbend.lagom.javadsl.api; import org.pcollections.HashTreePMap; import org.pcollections.PMap; import org.pcollections.PSequence; import org.pcollections.TreePVector; import java.util.*; import java.util.stream.Collectors; /** * Publi...
818
895
// #include support int bar() { return foo(); }
14
32,544
<filename>persistence-modules/jooq/src/main/java/com/baeldung/jooq/Crud.java package com.baeldung.jooq; import org.jooq.Condition; import org.jooq.DSLContext; import org.jooq.Field; import org.jooq.Record; import org.jooq.Result; import org.jooq.SelectFieldOrAsterisk; import org.jooq.Table; import org.jooq.UpdatableRe...
679
1,529
# -*-coding:utf-8-*- import sys sys.path.append('.') import tensorflow as tf import math import numpy as np from train_config import config as cfg from lib.core.model.shufflenet.shufflenet import Shufflenet class SimpleFaceHead(tf.keras.Model): def __init__(self, output_size, ke...
3,381
310
package com.propertycross.android.model; import java.util.ArrayList; import java.util.List; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; public class PropertyLocationsResult extends PropertyDataSourceResult { private List<Location> data; public PropertyLocationsResult(JSO...
239
307
<reponame>nqiu/lunar-java package test; import com.nlf.calendar.SolarWeek; import com.nlf.calendar.util.SolarUtil; import org.junit.Assert; import org.junit.Test; /** * 周测试 * * @author 6tail */ public class WeekTest { @Test public void testFromMonday(){ //一周的开始从星期一开始计 int start = 1; SolarWeek wee...
629
377
<gh_stars>100-1000 import pandas as pd import numpy as np import pyaf.ForecastEngine as autof np.random.seed(seed=1960) #get_ipython().magic('matplotlib inline') df = pd.DataFrame() lTimeVar = 'Time' lSignalVar = 'Signal' N = 10000 df[lTimeVar + '_Hourly'] = pd.date_range('2000-1-1', periods=N, freq='1h') df['Hou...
1,006
2,574
<filename>src/main/java/org/yinwang/pysonar/ast/Subscript.java package org.yinwang.pysonar.ast; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; public class Subscript extends Node { @NotNull public Node value; @Nullable public Node slice; // an NIndex or NSlice ...
284
892
{ "schema_version": "1.2.0", "id": "GHSA-g6vx-5mx9-fq8v", "modified": "2022-05-01T17:59:42Z", "published": "2022-05-01T17:59:42Z", "aliases": [ "CVE-2007-2054" ], "details": "Multiple format string vulnerabilities in AFFLIB before 2.2.6 allow remote attackers to execute arbitrary code via certain comm...
615
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,690
861
<reponame>scotthufeng/spring-cloud-gray package cn.springcloud.gray.event.client; import cn.springcloud.gray.event.GrayEvent; import java.util.List; import java.util.concurrent.ExecutorService; /** * @author saleson * @date 2020-01-30 21:44 */ public class DefaultGrayDeventPublisher extends AbstractGrayEventPubli...
367
2,333
// // MPProtocolOptionalViewController.h // MobileProject // // Created by wujunyang on 2017/3/10. // Copyright © 2017年 wujunyang. All rights reserved. // #import <UIKit/UIKit.h> @interface MPProtocolOptionalViewController : UIViewController @end
87
1,184
public class LinearSearch { /** * Search an int key inside of a string of integers. * @param numbers * @param what * @return True if the key exists false otherwise */ public boolean search(int numbers[], int key){ for(int i : numbers){ if(i == key){ ...
175
3,680
// // Copyright 2019 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // // 6. Trad...
14,687
3,281
<reponame>parmeshtoyou/Carbon package carbon.drawable.ripple; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.AnimatorSet; import android.animation.ObjectAnimator; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Rect; ...
5,249
382
from pathlib import Path import pytest from markdown_it.utils import read_fixture_file from myst_parser.parse_html import tokenize_html FIXTURE_PATH = Path(__file__).parent @pytest.mark.parametrize( "line,title,text,expected", read_fixture_file(FIXTURE_PATH / "html_ast.md"), ids=[f"{i[0]}-{i[1]}" for i...
702
348
{"nom":"Joeuf","circ":"3ème circonscription","dpt":"Meurthe-et-Moselle","inscrits":4359,"abs":2783,"votants":1576,"blancs":33,"nuls":15,"exp":1528,"res":[{"nuance":"REM","nom":"<NAME>","voix":384},{"nuance":"FI","nom":"M. <NAME>","voix":353},{"nuance":"FN","nom":"Mme <NAME>","voix":240},{"nuance":"COM","nom":"<NAME>","...
330
357
from setuptools import find_packages from setuptools import setup setup( author='<NAME>', author_email='<EMAIL>', description="<NAME>'s personal data science toolkit", license='MIT', name='xam', python_requires='>=3.5.0', install_requires=[ 'lightgbm>=2.1.2', 'matplotlib>=2....
278
819
/* -------------------------------------------------------------------------- */ /* Copyright 2002-2021, OpenNebula Project, OpenNebula Systems */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); you may ...
3,679
958
package com.xj.qqbroswer; import android.content.Context; import android.content.Intent; import android.content.res.Resources; import android.net.Uri; import android.os.Bundle; import android.support.design.widget.CoordinatorLayout; import android.support.design.widget.Snackbar; import android.support.design.widget.Ta...
2,532
1,144
<reponame>dram/metasfresh<filename>backend/de.metas.adempiere.adempiere/base/src/main/java-gen/org/compiere/model/X_CM_WebAccessLog.java /****************************************************************************** * Product: Adempiere ERP & CRM Smart Business Solution * * Copyright (C) 1999-2...
4,291
852
import FWCore.ParameterSet.Config as cms from DQMServices.Core.DQMEDHarvester import DQMEDHarvester ecalPreshowerMonitorClient = DQMEDHarvester('EcalPreshowerMonitorClient', LookupTable = cms.untracked.FileInPath('EventFilter/ESDigiToRaw/data/ES_lookup_table.dat'), ...
711
1,168
<gh_stars>1000+ // Verify that we emit references for C++17 pack expansion using declarations. struct A { //- @Call defines/binding ACallFn void Call(const A&); }; struct B { //- @Call defines/binding BCallFn void Call(const B&); }; template <typename... Ts> struct S : Ts... { //- @Call ref/implicit ACallF...
237
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Châtas","circ":"2ème circonscription","dpt":"Vosges","inscrits":50,"abs":26,"votants":24,"blancs":4,"nuls":0,"exp":20,"res":[{"nuance":"LR","nom":"<NAME>","voix":17},{"nuance":"REM","nom":"<NAME>","voix":3}]}
109
1,562
<reponame>learnforpractice/tinygo { "inherits": ["riscv32"], "features": "+a,+c,+m", "build-tags": ["virt", "qemu"], "default-stack-size": 4096, "linkerscript": "targets/riscv-qemu.ld", "emulator": "qemu-system-riscv32 -machine virt -nographic -bios none -kernel {}" }
122
5,169
<gh_stars>1000+ { "name": "SignaturePad", "version": "0.1.2", "summary": "A smooth signature pad with uibezierpath", "description": "A Smooth Signature Pad written in Swift. Utilizing UIBezierPath.", "homepage": "https://github.com/TorIsHere/SignaturePad", "license": { "type": "MIT", "file": "LICENS...
302
5,169
<gh_stars>1000+ { "name": "zhaohu-sdk-ios", "version": "0.0.10", "summary": "Zhaohu iOS SDK", "description": "召乎用户端 SDK", "homepage": "https://github.com/nadileaf/zhaohu-sdk-ios", "license": "MIT", "authors": { "my": "<EMAIL>" }, "platforms": { "ios": "9.3" }, "source": { "git": "https...
337
851
<filename>references/WebRTC/test/fake_encoder.h /* * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can ...
2,228
922
# Copyright (c) 2021 - present / Neuralmagic, Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
2,435
879
<filename>sdk/src/main/java/org/zstack/sdk/RemoveMdevDeviceSpecFromVmInstanceResult.java package org.zstack.sdk; public class RemoveMdevDeviceSpecFromVmInstanceResult { }
62
348
{"nom":"Picauville","circ":"3ème circonscription","dpt":"Manche","inscrits":699,"abs":397,"votants":302,"blancs":16,"nuls":18,"exp":268,"res":[{"nuance":"REM","nom":"<NAME>","voix":172},{"nuance":"LR","nom":"<NAME>","voix":96}]}
88
7,407
/* =========================================================================== Copyright (C) 1999-2005 Id Software, Inc. This file is part of Quake III Arena source code. Quake III Arena source code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publish...
1,955
11,356
/* Copyright © 2020 Apple Inc. All rights reserved. * * Use of this source code is governed by a BSD-3-clause license that can * be found in the LICENSE.txt file or at * https://opensource.org/licenses/BSD-3-Clause */ #define BOOST_TEST_MODULE test_combine_map #include <ml/neural_net/combine_map.hpp> #include <...
1,807
1,015
<reponame>lacc97/dxvk<filename>src/d3d11/d3d11_cmd.h #pragma once #include "d3d11_include.h" namespace dxvk { /** * \brief D3D11 command type * * Used to identify the type of command * data most recently added to a CS chunk. */ enum class D3D11CmdType { DrawIndirect, DrawIndirectIndexed, ...
345
1,755
<gh_stars>1000+ /*========================================================================= Program: Visualization Toolkit Module: vtkMemoryLimitImageDataStreamer.h Copyright (c) <NAME>, <NAME>, <NAME> All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. Thi...
562
1,232
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def helper(self, node, num, path, res): left = num - node.val if left == 0 and (not node.left) and (not n...
447
37,508
<gh_stars>1000+ /* Copyright (c) 2014, Google Inc. * * 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 this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE ...
632
3,301
package com.alibaba.alink.operator.batch.dataproc; import org.apache.flink.ml.api.misc.param.Params; import org.apache.flink.types.Row; import com.alibaba.alink.common.lazy.ExtractModelInfoBatchOp; import com.alibaba.alink.operator.common.dataproc.MaxAbsScalarModelInfo; import java.util.List; public class MaxAbsSca...
272
941
<reponame>martinfleis/pysal from spint.gravity import Gravity, Production, Attraction, Doubly from spint.utils import CPC, sorensen, srmse from spint.vec_SA import VecMoran as Moran_Vector from spint.dispersion import phi_disp, alpha_disp
81
854
<reponame>rakhi2001/ecom7<gh_stars>100-1000 __________________________________________________________________________________________________ sample 24 ms submission class Solution: def isInterleave(self, s1: str, s2: str, s3: str) -> bool: if not s1 and not s2 and not s3: return True i...
2,350
551
<filename>profiles/harshkumarkhatri.json { "image": "https://user-images.githubusercontent.com/42743629/97598257-c28f8180-1a2c-11eb-859a-5902efa7a828.png", "issueId": 158, "name": "<NAME>", "username": "harshkumarkhatri" }
106
409
#pragma push_macro("ABI_CONCAT") #pragma push_macro("ABI_PARAMETER") #pragma push_macro("ABI_NAMESPACE_BEGIN") #pragma push_macro("ABI_NAMESPACE_END") #pragma push_macro("C_IID") #undef ABI_CONCAT #undef ABI_PARAMETER #undef ABI_NAMESPACE_BEGIN #undef ABI_NAMESPACE_END #undef C_IID #define ABI_CONCAT(x,y) x##y // /n...
477
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 namespace Reliab...
1,219
1,034
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function, unicode_literals, absolute_import import os import sys import os.path import shutil import errno import logging import io import hashlib import simiki from simiki.compat import unicode logger = logging.getLogger(__name__) COLOR_CODE...
2,703
324
<filename>apis/chef/src/main/java/org/jclouds/chef/binders/BindGroupToUpdateRequestJsonPayload.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. * ...
898
1,200
package com.xiaojukeji.carrera.cproxy.consumer; import org.apache.rocketmq.common.message.MessageExt; import org.apache.rocketmq.common.message.MessageQueue; import java.util.Map; public class ConsumeContext { public enum MessageSource {KAFKA, RMQ} private String groupId; private long startTime; p...
1,897
391
<reponame>lu16j/LiTr /* * Copyright 2019 LinkedIn Corporation * All Rights Reserved. * * Licensed under the BSD 2-Clause License (the "License"). See License in the project root for * license information. */ package com.linkedin.android.litr.filter; import androidx.annotation.NonNull; /** * Interface for filt...
245
678
#ifndef _oxpc_h #define _oxpc_h #include "oxpc_object.h" #include "oxpc_string.h" #include "oxpc_uint64.h" #include "oxpc_array.h" #include "oxpc_dictionary.h" #include "oxpc_ool_data.h" #include "oxpc_uuid.h" #include "oxpc_mach_send.h" #include "oxpc_data.h" #endif
130
3,200
<gh_stars>1000+ /** * Copyright 2020 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
725
2,996
<filename>engine/src/main/java/org/terasology/engine/particles/functions/generators/EnergyRangeGeneratorFunction.java // Copyright 2021 The Terasology Foundation // SPDX-License-Identifier: Apache-2.0 package org.terasology.engine.particles.functions.generators; import org.terasology.engine.particles.ParticleData; imp...
328
1,157
<reponame>mariadb-corporation/MaxScale /* * Copyright (c) 2020 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2025-10-11 * * On the date above, in accordance with the Business Source Lic...
356
324
/* * Copyright 2016-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 ap...
463
5,169
{ "name": "ELSwift", "version": "2.0.0", "summary": "ELSwift carries out the ECHONET Lite protocol.", "description": "ELSwift supports the ECHONET Lite protocol.\nThe protocol is for connecting and controlling home appliances.\nThis library is for iOS.", "homepage": "https://github.com/Hiroshi-Sugimura/ELSwif...
323
1,272
<reponame>olli-ai/olli_avs_device_sdk /* * Copyright Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/...
3,203
521
<reponame>Fimbure/icebox-1 #pragma once #include "types.hpp" extern "C" { #include <FDP_enum.h> } namespace core { struct Core; } namespace fdp { void reset (core::Core& core); opt<FDP_State> state (core::Core& core); bool state_changed (core::Cor...
932
686
import api.index import api.user import api.board import api.topic import api.comment import api.statistic import api.notif import api.logs import api.upload # import api.user_oauth import api.wiki # import api.search # # import api.ws # import api.chat
82
1,086
<filename>SRC/postgres/pg_config_ext.h /* * src/include/pg_config_ext.h.win32. This is generated manually, not by * autoheader, since we want to limit which symbols get defined here. */ /* Define to the name of a signed 64-bit integer type. */ #define PG_INT64_TYPE long long int
92
1,733
<gh_stars>1000+ /* hostid.c - Print the numeric identifier for the current host. * * Copyright 2015 <NAME> <<EMAIL>> * * No Standard. * * This is still in coreutils and gethostid() in posix, but a "globally unique * 32 bit identifier" is a concept the Linux world has outgrown. USE_HOSTID(NEWTOY(hostid, ">0", TO...
208
335
<reponame>Safal08/Hacktoberfest-1<filename>S/Skilled_adjective.json<gh_stars>100-1000 { "word": "Skilled", "definitions": [ "Having or showing the knowledge, ability, or training to perform a certain activity or task well.", "Based on or proceeding from the ability to do something well.", ...
149
2,610
<filename>ground_truth_labeling_jobs/multi_modal_parallel_sagemaker_labeling_workflows_with_step_functions/cloudformation/cleanup.py import argparse import sys import boto3 # athena_workgroup = 'SD2ReportsWorkgroup' # cf_client = boto3.client('cloudformation') # athena_client = boto3.client('athena') # sagemaker_cli...
2,964
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Reao","circ":"1ère circonscription","dpt":"Polynésie française","inscrits":487,"abs":190,"votants":297,"blancs":3,"nuls":4,"exp":290,"res":[{"nuance":"DVD","nom":"<NAME>","voix":133},{"nuance":"UDI","nom":"Mme <NAME>","voix":82},{"nuance":"DVG","nom":"<NAME>","voix":42},...
217