max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
11,351
package com.netflix.eureka.resources; import com.netflix.appinfo.EurekaAccept; import com.netflix.discovery.converters.wrappers.CodecWrapper; import com.netflix.discovery.converters.wrappers.CodecWrappers; import com.netflix.discovery.converters.wrappers.EncoderWrapper; import com.netflix.eureka.EurekaServerConfig; im...
2,379
2,935
/* * Copyright (c) 2014 Spotify AB. * * 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,...
554
2,377
<reponame>a14795860/KOOM /* * Copyright (C) 2016 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 * ...
816
387
#include <QDir> #include <sqlite3.h> #include <errno.h> #include <stdio.h> #include <QDateTime> #include <QCache> #include "utils/file-utils.h" #include "utils/utils.h" #include "configurator.h" #include "seafile-applet.h" #include "data-cache.h" #include "data-mgr.h" #include "account-mgr.h" namespace { const int ...
4,523
335
<gh_stars>100-1000 { "word": "Simulate", "definitions": [ "Imitate the appearance or character of.", "Pretend to have or feel (an emotion)", "Produce a computer model of." ], "parts-of-speech": "Verb" }
106
435
<gh_stars>100-1000 { "description": "This talk is structured into two parts of approximately equal length:\n\nFirst an introduction to blockchains in general. Most have heard about\nblockchains or bitcoin but how does it actually work and what is the\ntechnology driving it? This talk will explain what a cryptocurrenc...
420
3,587
#include <stdio.h> int main(int argc, char* argv[]) { printf("This binary should fail to execute because of its banned team ID!"); return 0; }
49
1,609
package com.mossle.client.notification; import java.util.Map; import com.mossle.core.util.BaseDTO; public class MockSendmailClient implements SendmailClient { public BaseDTO sendMail(String to, String templateCode, Map<String, Object> parameter) { BaseDTO baseDto = new BaseDTO(); base...
165
2,856
<filename>Bio/KEGG/Map/__init__.py # Copyright 2001 by <NAME>. All rights reserved. # Copyright 2007 by <NAME>. All rights reserved. # # This file is part of the Biopython distribution and governed by your # choice of the "Biopython License Agreement" or the "BSD 3-Clause License". # Please see the LICENSE file that sh...
683
377
/* * Licensed to the Technische Universität Darmstadt under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The Technische Universität Darmstadt * licenses this file to you under the Apache License, Versio...
774
387
/* * Copyright (C) 2014, United States Government, as represented by the * Administrator of the National Aeronautics and Space Administration. * All rights reserved. * * The Java Pathfinder core (jpf-core) platform is licensed under the * Apache License, Version 2.0 (the "License"); you may not use this file exce...
942
473
<filename>software/os/mselOS/src/lib/tidl.c<gh_stars>100-1000 /* Copyright 2015, 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/LICENS...
1,738
348
<filename>docs/data/leg-t2/016/01603339.json {"nom":"<NAME>","circ":"3ème circonscription","dpt":"Charente","inscrits":229,"abs":118,"votants":111,"blancs":2,"nuls":11,"exp":98,"res":[{"nuance":"REM","nom":"<NAME>","voix":51},{"nuance":"SOC","nom":"<NAME>","voix":47}]}
111
471
<reponame>andyasne/commcare-hq<filename>corehq/apps/app_manager/tests/test_suite_registry_search.py<gh_stars>100-1000 from django.test import SimpleTestCase from corehq.apps.app_manager.const import WORKFLOW_FORM from corehq.apps.app_manager.models import ( Application, CaseSearch, CaseSearchProperty, ...
3,347
331
<gh_stars>100-1000 package io.shiftleft.fuzzyc2cpg.ast.functionDef; import io.shiftleft.fuzzyc2cpg.ast.AstNode; import io.shiftleft.fuzzyc2cpg.ast.walking.ASTNodeVisitor; public class ReturnType extends AstNode { String completeType; String baseType; public void setCompleteType(String aCompleteType) { com...
185
14,668
<gh_stars>1000+ // Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/page_load_metrics/observers/optimization_guide_page_load_metrics_observer.h" #include "content/public/browser/na...
722
1,799
/* Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ...
616
360
import numpy as np from yt.frontends.halo_catalog.data_structures import YTHaloCatalogDataset from yt.frontends.ytdata.utilities import save_as_dataset from yt.loaders import load as yt_load from yt.testing import ( TempDirTest, assert_array_equal, assert_equal, requires_file, requires_module, ) fr...
1,812
2,059
/* * Copyright (c) 2016 Spotify AB. * * 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 Li...
1,164
335
<filename>F/Furthermost_adjective.json { "word": "Furthermost", "definitions": [ "(of an edge or extreme) at the greatest distance from a central point or implicit standpoint." ], "parts-of-speech": "Adjective" }
85
1,031
<reponame>MADEAPPS/newton-dynamics /* Copyright (c) <2003-2021> <<NAME>, Newton Game Dynamics> * * 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 u...
1,043
32,544
<reponame>DBatOWL/tutorials package com.baeldung.reactor; import reactor.core.publisher.Flux; public class StatelessGenerate { public Flux<String> statelessGenerate() { return Flux.generate((sink) -> { sink.next("hello"); }); } }
118
3,227
#ifndef CGAL_IO_TEST_H #define CGAL_IO_TEST_H #include <iostream> #include <vector> #include <sstream> #include <string> #include "IO_base_test.h" template <typename Geom_traits_T> class IO_test : public IO_base_test<Geom_traits_T> { public: typedef Geom_traits_T Geom_traits; type...
4,853
339
#!/usr/bin/env python # -*- coding: utf-8 -*- # # ----------------------------------------------------------------------------- # File: modules/module_graph.py # Created: 2015-02-07 # Purpose: Create graphs from generated results # # Copyright # --------------------------------------------------------...
6,243
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,081
1,240
<filename>app/src/main/java/com/eventyay/organizer/core/orders/list/OrdersFragment.java package com.eventyay.organizer.core.orders.list; import android.content.Context; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import androidx.annotation.Nul...
1,960
2,863
/* * Copyright 2017 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 applicab...
692
335
{ "word": "Vatu", "definitions": [ "The basic monetary unit of Vanuatu, equal to 100 centimes." ], "parts-of-speech": "Noun" }
67
416
<reponame>khauser/SimpleFlatMapper package org.simpleflatmapper.jdbc.impl.getter; import org.simpleflatmapper.converter.Context; import org.simpleflatmapper.map.getter.ContextualGetter; import org.simpleflatmapper.reflect.Getter; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.SQLXML;...
374
575
<gh_stars>100-1000 // Copyright 2013 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 CHROME_BROWSER_EXTENSIONS_GLOBAL_SHORTCUT_LISTENER_X11_H_ #define CHROME_BROWSER_EXTENSIONS_GLOBAL_SHORTCUT_LISTENER_X11_H_ #i...
609
2,089
package com.sankuai.waimai.router.demo.lib2.basic; import com.sankuai.waimai.router.annotation.RouterUri; import com.sankuai.waimai.router.demo.lib2.BaseActivity; import com.sankuai.waimai.router.demo.lib2.DemoConstant; /** * Created by jzj on 2018/3/29. */ @RouterUri(path = DemoConstant.TEST_LIB2) public class Dem...
153
9,425
<reponame>tomdoherty/salt from invoke import Collection # pylint: disable=3rd-party-module-not-gated from . import docs, docstrings, filemap, loader ns = Collection() ns.add_collection(Collection.from_module(docs, name="docs"), name="docs") ns.add_collection( Collection.from_module(docstrings, name="docstrings")...
160
918
<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 "...
957
27,296
// Copyright (c) 2012 Intel Corp // Copyright (c) 2012 The Chromium Authors // // 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 righ...
1,062
532
<reponame>MariaHammer/opensim-core_HaeufleMuscle #ifndef OPENSIM_COMMONUTILITIES_H_ #define OPENSIM_COMMONUTILITIES_H_ /* -------------------------------------------------------------------------- * * OpenSim: CommonUtilities.h * * --------------------------------------...
2,741
460
package de.saxsys.mvvmfx.examples.contacts.ui.about; import javax.inject.Inject; import javax.inject.Singleton; import org.controlsfx.control.HyperlinkLabel; import de.saxsys.mvvmfx.FluentViewLoader; import de.saxsys.mvvmfx.FxmlView; import de.saxsys.mvvmfx.InjectViewModel; import de.saxsys.mvvmfx.examples.contacts....
422
1,085
""" Top-level Galaxy job manager, moves jobs to handler(s) """ import logging from functools import partial from sqlalchemy.sql.expression import null from galaxy.exceptions import HandlerAssignmentError, ToolExecutionError from galaxy.jobs import handler, NoopQueue from galaxy.model import Job from galaxy.structured...
1,934
10,225
<gh_stars>1000+ package io.quarkus.extest.runtime.config.named; import io.quarkus.runtime.annotations.ConfigPhase; import io.quarkus.runtime.annotations.ConfigRoot; /* Causes a CCE: https://github.com/quarkusio/quarkus/issues/13966 */ @ConfigRoot(name = "same-simple-name-different-root", phase = ConfigPhase.BUILD_AND...
134
806
package net2.lingala.zip4j.crypto.PBKDF2; class PBKDF2HexFormatter { PBKDF2HexFormatter() { } public boolean fromString(PBKDF2Parameters p, String s) { if (p == null || s == null) { return true; } String[] p123 = s.split(":"); if (p123 == null || p123.length != ...
399
2,025
/* Tencent is pleased to support the open source community by making PhxPaxos available. Copyright (C) 2016 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 obtain a copy of the...
1,679
730
/* * * Copyright 2018 iQIYI.com * * 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 ...
4,217
1,738
<gh_stars>1000+ /* * 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 provided, by the li...
491
902
<reponame>benemon/hawtio { "url": "http://localhost:18080/auth", "realm": "hawtio-demo", "clientId": "hawtio-client" }
58
682
<gh_stars>100-1000 { "category": "Maps and Scenes", "description": "Display the map at an initial viewpoint representing a bounding geometry.", "formal_name": "SetInitialMapArea", "ignore": false, "images": [ "set-initial-map-area.png" ], "keywords": [ "extent", "zoom...
337
868
<filename>main/src/main/java/com/sedmelluq/discord/lavaplayer/filter/AudioPipeline.java package com.sedmelluq.discord.lavaplayer.filter; import java.nio.ShortBuffer; import java.util.List; /** * Represents an audio pipeline (top-level audio filter chain). */ public class AudioPipeline extends CompositeAudioFilter {...
382
1,041
<reponame>bayne/ebean package org.tests.model.basic.cache; import io.ebean.annotation.Cache; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; /** * Cached bean for testing caching implementation. */ @Cache(naturalKey = {"store","sku"}) @Entity @Table(name = "o_cached_na...
370
348
<reponame>pyro2927/ParallaxBlur // // ParallaxTableViewController.h // Pods // // Created by <NAME> on 8/22/14. // // #import "JPBParallaxBlurViewController.h" @interface JPBParallaxTableViewController : JPBParallaxBlurViewController<UITableViewDelegate, UITableViewDataSource> @property (readonly) UITableView *ta...
129
4,879
/** ************************************************************************************ * Copyright (C) 2006-2012, International Business Machines Corporation and others. * * All Rights Reserved. * *********************************************************...
2,762
852
#include "CalibFormats/CastorObjects/interface/CastorCalibrations.h" #include <cstdlib> /** \class CastorCalibrations Container for retrieved calibration constants for Castor $Author: katsas */ CastorCalibrations::CastorCalibrations(const float fGain[4], const float fPedestal[4]) { for (size_t iCap = 0;...
169
622
<reponame>Jackque/flashback /* * Copyright (c) LinkedIn Corporation. All rights reserved. Licensed under the BSD-2 Clause license. * See LICENSE in the project root for license information. */ package com.linkedin.flashback.matchrules; import com.google.common.collect.LinkedHashMultimap; import com.google.common.c...
1,502
679
<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 license...
622
884
<reponame>slyoldfox/blaze-persistence<filename>entity-view/impl/src/main/java/com/blazebit/persistence/view/impl/metamodel/MetamodelBootContextImpl.java<gh_stars>100-1000 /* * Copyright 2014 - 2021 Blazebit. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in co...
2,435
8,428
<reponame>vishalbelsare/PySyft<filename>packages/hagrid/hagrid/win_bootstrap.py # coding=utf-8 # stdlib import subprocess from typing import Callable from typing import List # one liner to use bootstrap script: # CMD: curl https://raw.githubusercontent.com/OpenMined/PySyft/dev/packages/hagrid/hagrid/win_bootstrap.py >...
3,408
343
<gh_stars>100-1000 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('document_parsing', '0009_auto_20201012_0708'), ] operations = [ migrations.AlterModelOptions( name='documentfilepagecontent', ...
311
22,779
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2021 DBeaver Corp and others * * 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...
1,801
683
/* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ package io.opentelemetry.instrumentation.test.utils; import java.io.IOException; import java.net.Socket; import java.util.concurrent.TimeUnit; public final class PortUtils { public static final int UNUSABLE_PORT = 61; private ...
828
364
/** * @file oglplus/site-config.hpp * @brief System configuration options * * @author <NAME> * * Copyright 2010-2019 <NAME>. 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) */ #ifndef OGLPLUS_SITE_CONFI...
309
488
<reponame>maurizioabba/rose #ifndef INSTRUCTIONCOUNTANNOTATOR_H #define INSTRUCTIONCOUNTANNOTATOR_H class SgNode; #include <vector> #include <string> /** * \brief Annotates each SgAsmInstruction which its execution count using data from IntelPIN */ namespace InstructionCountAnnotator { /** Annotates each SgAsm...
436
764
<reponame>641589523/token-profile<filename>erc20/0xc429E7B63dc30B51f5A7E4BE23Fd5eB4BAF8A1C3.json {"symbol": "BTB","address": "0xc429E7B63dc30B51f5A7E4BE23Fd5eB4BAF8A1C3","overview":{"en": ""},"email": "","website": "https://bitibu.com/bitibu-coin","state": "NORMAL","links": {"blog": "","twitter": "https://twitter.com/b...
160
1,439
<gh_stars>1000+ /******************************************************************************* * Copyright 2018 <NAME> http://galenframework.com * * 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...
688
6,989
<reponame>jochenater/catboost #ifndef REF_INL_H_ #error "Direct inclusion of this file is not allowed, include ref.h" // For the sake of sane code completion. #include "ref.h" #endif namespace NYT { //////////////////////////////////////////////////////////////////////////////// namespace NDetail { extern const cha...
5,630
310
package com.propertycross.mgwt.view; import java.util.List; import com.google.gwt.core.client.GWT; import com.google.gwt.dom.client.Element; import com.google.gwt.dom.client.Style.Display; import com.google.gwt.event.dom.client.KeyCodes; import com.google.gwt.event.dom.client.KeyUpEvent; import com.google.gwt.event.d...
1,929
432
/*- * Copyright (c) 2008 <NAME> <<EMAIL>> * 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, this list of co...
1,645
4,083
"""Peewee migrations -- 001_create_events_table.py. Some examples (model - class or model name):: > Model = migrator.orm['model_name'] # Return model in current state by name > migrator.sql(sql) # Run custom SQL > migrator.python(func, *args, **kwargs) # Run ...
754
892
<gh_stars>100-1000 { "schema_version": "1.2.0", "id": "GHSA-53x8-fc7q-4wwg", "modified": "2022-05-02T00:10:11Z", "published": "2022-05-02T00:10:11Z", "aliases": [ "CVE-2008-4454" ], "details": "Directory traversal vulnerability in EKINdesigns MySQL Quick Admin 1.5.5 allows remote attackers to read and...
376
1,656
/* * Copyright 2018-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
878
305
from typing import Any from aat.common import _in_cpp try: from ...binding import InstrumentCpp # type: ignore _CPP = _in_cpp() except ImportError: InstrumentCpp = object _CPP = False def _make_cpp_instrument(*args: Any, **kwargs: Any) -> InstrumentCpp: return InstrumentCpp(*args, **kwargs)
114
1,350
<gh_stars>1000+ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.core.http.rest; import com.azure.core.util.paging.PageRetriever; import reactor.core.publisher.Flux; import java.util.concurrent.atomic.AtomicInteger; public class OnlyOnePageRetriever i...
461
511
/** * Copyright (c) 2017, Realsil Semiconductor Corporation. All rights reserved. * */ #include <tinyara/net/if/ble.h> #include "stddef.h" #include "gap_customer.h" trble_result_e rtw_ble_get_version(uint8_t *version) { if (version == NULL) return TRBLE_FAIL; int ret; T_BT_VERSION_INFO ble_ver...
293
777
// 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 ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_CAPTURE_REGION_ACTION_H_ #define ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_CAPTURE_REGION_ACTION_H_ #include "ash/ash...
400
348
<filename>docs/data/leg-t2/055/05502336.json<gh_stars>100-1000 {"nom":"Merles-sur-Loison","circ":"2ème circonscription","dpt":"Meuse","inscrits":118,"abs":79,"votants":39,"blancs":3,"nuls":0,"exp":36,"res":[{"nuance":"REM","nom":"<NAME>","voix":21},{"nuance":"FN","nom":"<NAME>","voix":15}]}
121
1,521
<gh_stars>1000+ import networkx.algorithms.flow.tests.test_maxflow_large_graph import pytest from graphscope.nx.utils.compat import import_as_graphscope_nx from graphscope.nx.utils.compat import with_graphscope_nx_context import_as_graphscope_nx(networkx.algorithms.flow.tests.test_maxflow_large_graph, ...
449
1,590
{ "parameters": { "api-version": "2015-05-01", "subscriptionId": "subid", "resourceGroupName": "my-resource-group", "resourceName": "my-component" }, "responses": { "200": { "body": { "ConnectorId": "d334e2a4-6733-488e-8645-a9fdc1694f41", "IsDefault": true, "Confi...
317
1,615
<reponame>mayl8822/xx_Notes<gh_stars>1000+ // // PTTableListViewController.h // PTDatabaseReader // // Created by <NAME> on 15/11/23. // Copyright © 2015年 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> @interface FLEXTableListViewController : UITableViewController + (BOOL)supportsExtension:(NSString *)e...
142
764
{ "symbol": "IMC", "address": "0x4bc3a10eaf382c7e8b9be5fa2c7cd9a5560524a5", "overview": { "en": "imChat is a comprehensive mobile communication tool that helps users easily connect with friends, provide peer-to-peer chat and group chat, and support sending text, emoticons, voices, pictures, files, l...
660
575
// Copyright 2013 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 CHROME_BROWSER_EXTENSIONS_API_MESSAGING_NATIVE_MESSAGING_TEST_UTIL_H_ #define CHROME_BROWSER_EXTENSIONS_API_MESSAGING_NATIVE_MESSAGING_TEST_UTIL_H...
617
12,278
<reponame>rajeev02101987/arangodb<gh_stars>1000+ // (C) Copyright <NAME> 2012 // Use, modification and distribution are subject to 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). #include "test_has_data.hpp" #include <boost/mp...
733
642
<reponame>vakinge/jeesuite-libs package com.jeesuite.springweb.logging; import java.util.Arrays; import com.jeesuite.common.json.JsonUtils; public class RequestLogBuilder { public static String requestLogMessage(String uri,String method,Object parameters,Object body) { StringBuilder builder = new StringBuilder()...
817
1,256
#include <all_lib.h> #pragma hdrstop #if defined(__MYPACKAGE__) #pragma package(smart_init) #endif char *MYRTLEXP MakeIntString( char *str,char dDelimiter ) { static char buff[50]; int sz = sizeof(buff)-1; int len,n,d; char *s; if ( dDelimiter ) { len = strLen(str); s = str + ...
6,091
342
<reponame>wufunc/chaosblade-exec-jvm package com.alibaba.chaosblade.exec.plugin.druid; /** * @author <NAME> */ public interface DruidConstant { String DRUID_DS_PLUGIN_NAME = "druid-ds"; String TARGET_NAME = "druid"; }
96
4,807
<reponame>jamespeapen/polybar #include "ipc/ipc.hpp" #include <sys/stat.h> #include <unistd.h> #include <cassert> #include "components/eventloop.hpp" #include "components/logger.hpp" #include "errors.hpp" #include "events/signal.hpp" #include "events/signal_emitter.hpp" #include "ipc/encoder.hpp" #include "ipc/util....
3,252
324
<filename>FSAPMSDK/FSAPMSDK/Vendor/VendorSDK/PPDNSMapping/util/PPWeakTimer.h // // PPWeakTimer.h // PPDNSMappingDemo // // Created by <NAME> on 16/1/19. // Copyright © 2016年 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> typedef void (^PPTimerHandler)(id userInfo); @interface PPWeakTimer : NSO...
333
2,338
//===-- AppleGetThreadItemInfoHandler.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 // //===----------------------...
1,558
7,272
package com.kunal.properties.polymorphism; public class Main { public static void main(String[] args) { Shapes shape = new Shapes(); Shapes circle = new Circle(); Shapes square = new Square(); circle.area(); } }
98
2,116
# Copyright 2019 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
1,720
10,002
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "pch.h" #include "HistoryItemViewModel.h" #include "Common/LocalizationService.h" using namespace CalculatorApp::ViewModel::Common; using namespace CalculatorApp::ViewModel; using namespace std; using namespace Pl...
463
480
<gh_stars>100-1000 /* * Copyright [2013-2021], Alibaba Group Holding 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unl...
823
1,194
package ca.uhn.fhir.mdm.rules.svc; import ca.uhn.fhir.context.RuntimeSearchParam; import ca.uhn.fhir.mdm.api.MdmMatchOutcome; import ca.uhn.fhir.mdm.api.MdmMatchResultEnum; import ca.uhn.fhir.mdm.rules.json.MdmFieldMatchJson; import ca.uhn.fhir.mdm.rules.json.MdmMatcherJson; import ca.uhn.fhir.mdm.rules.json.MdmRulesJ...
1,547
1,110
// // RACDisposable.h // ReactiveCocoa // // Created by <NAME> on 3/16/12. // Copyright (c) 2012 GitHub, Inc. All rights reserved. // #import <Foundation/Foundation.h> @class RACScopedDisposable; // A disposable encapsulates the work necessary to tear down and cleanup a // subscription. @interface RACDisposable...
286
23,901
<reponame>deepneuralmachine/google-research // Copyright 2020 The 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...
614
711
package com.java110.vo.api.purchaseApply; import java.io.Serializable; import java.util.List; public class ApiPurchaseApplyDataVo implements Serializable { private String applyOrderId; private String resOrderType; private String state; private String userName; private String stateName; //申请时间...
1,246
1,451
package tech.linjiang.pandora.ui.fragment; import android.app.Activity; import android.content.ActivityNotFoundException; import android.content.Intent; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.provider.Settings; import androidx.annotation.Nullable; import androidx.fra...
1,056
879
package org.zstack.sdk; import org.zstack.sdk.VRouterRouteEntryType; public class VRouterRouteEntryAO { public java.lang.String destination; public void setDestination(java.lang.String destination) { this.destination = destination; } public java.lang.String getDestination() { return ...
613
628
<reponame>duangenquan/mxnet-face import argparse,logging import mxnet as mx logger = logging.getLogger() logger.setLevel(logging.INFO) ctx = mx.gpu(0) def group(data, num_r, num, kernel, stride, pad, layer): if num_r > 0: conv_r = mx.symbol.Convolution(data=data, num_filter=num_r, kernel=(1,1), n...
3,062
491
<gh_stars>100-1000 // k2/python/host/csrc/array.h // Copyright (c) 2020 Xiaomi Corporation (author: <NAME>) // See ../../../LICENSE for clarification regarding multiple authors #ifndef K2_PYTHON_HOST_CSRC_ARRAY_H_ #define K2_PYTHON_HOST_CSRC_ARRAY_H_ #include "k2/python/host/csrc/k2.h" void PybindArray(py::modul...
177
424
package com.twitter.elephantbird.mapreduce.input; import java.io.IOException; import java.util.List; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.NullWritable; import org.apache.hadoop.mapreduce.InputFormat; import org.apache.hadoop.mapreduce.InputSplit; import org.apache.hadoop.mapreduce.Job...
737
1,755
<reponame>yabaud/libharu /* automatically generated by configure */ /* edit configure.in to change version number */ #define HPDF_MAJOR_VERSION 2 #define HPDF_MINOR_VERSION 4 #define HPDF_BUGFIX_VERSION 0 #define HPDF_EXTRA_VERSION "dev" #define HPDF_VERSION_TEXT "2.4.0dev" #define HPDF_VERSION_ID 20400
106
28,056
package com.alibaba.fastjson.deserializer.issues3671; import com.alibaba.fastjson.JSONValidator; import org.junit.Assert; import org.junit.Test; /** * https://github.com/alibaba/fastjson/issues/3671 * * @author ryc * @date 2021/03/12 15:40 */ public class TestIssue3671 { @Test public void testIssue3671(...
517
538
#pragma once HRESULT __stdcall MyCoCreateInstance( LPCTSTR szDllName, IN REFCLSID rclsid, IUnknown* pUnkOuter, IN REFIID riid, OUT LPVOID FAR* ppv);
73
764
{"symbol": "XDAC","address": "0x2A5c5212f399aa04a0ce28dBe48C1a17FcA78DF4","overview":{"en": ""},"email": "<EMAIL>","website": "https://www.xdac.co/","state": "NORMAL","links": {"blog": "https://medium.com/xdac","twitter": "https://twitter.com/xdacco","telegram": "https://t.me/xdacco","github": "https://github.com/xdacc...
129