max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
332
<reponame>wwjiang007/spring-xd /** * Package for twitter integration extensions. */ package org.springframework.integration.x.twitter;
40
499
#define SOFTFLOAT_68K #include <stdint.h> #include <stdlib.h> #include "softfloat/softfloat.h" /* * QEMU float support * * The code in this source file is derived from release 2a of the SoftFloat * IEC/IEEE Floating-point Arithmetic Package. Those parts of the code (and * some later contributions) are provided...
52,478
575
<gh_stars>100-1000 // Copyright 2018 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 SERVICES_DEVICE_BLUETOOTH_BLUETOOTH_SYSTEM_H_ #define SERVICES_DEVICE_BLUETOOTH_BLUETOOTH_SYSTEM_H_ #include <string> #includ...
1,048
357
package com.vmware.identity.cdc; class HeartbeatInfoNative { String serviceName; int port; int lastHeartbeat; int isAlive; }
55
469
<gh_stars>100-1000 /* * math.h * * Author: * <NAME> (<EMAIL>) * * (C) Ximian, Inc. 2002 */ #ifndef __METADATA_SYSMATH_H__ #define __METADATA_SYSMATH_H__ #include <config.h> #include <glib.h> #include "mono/utils/mono-compiler.h" extern gdouble ves_icall_System_Math_Floor (gdouble x) MONO_INTERNAL; extern gd...
690
339
/* *Copyright (c) 2005-2015, 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/licenses/LI...
9,634
368
/** * @author github.com/luncliff (<EMAIL>) */ #undef NDEBUG #include <cassert> #include <coroutine/yield.hpp> using namespace std; using namespace coro; auto yield_once(int value = 0) -> enumerable<int> { co_yield value; co_return; }; int main(int, char*[]) { auto count = 0u; auto g = yield_once...
307
938
package slimeknights.tconstruct.library.book.elements; import slimeknights.mantle.client.book.data.element.TextData; /** @deprecated use {@link slimeknights.mantle.client.screen.book.element.ListingLeftElement} */ @Deprecated public class ListingLeftElement extends slimeknights.mantle.client.screen.book.element.Listi...
154
8,747
/* * SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include "soc/compare_set.h" #include "soc/spinlock.h" #include "soc/soc_caps.h" #if __XTENSA__ && SOC_SPIRAM_SUPPORTED static spinlock_t global_extram_lock = SPINLOCK_INITIALIZER; void compare_a...
464
310
<reponame>dreeves/usesthis { "name": "Android", "description": "A mobile phone platform.", "url": "https://developers.google.com/android/?csw=1" }
57
540
# ***************************************************************************** # Copyright (c) 2019-2021, Intel 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 o...
916
647
#include "trick/env_proto.h"
14
448
// C++ program to find the diameter of a Binary Tree #include <bits/stdc++.h> using namespace std; struct node { int data; struct node *left, *right; }; struct node* newNode(int data); int diameterOpt(struct node* root, int* height) { int lh = 0, rh = 0; int ldiameter = 0, rdiameter = 0; if (root == NULL) { ...
383
679
<filename>main/vcl/inc/vcl/gradient.hxx /************************************************************** * * 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 owners...
1,991
317
<reponame>dinisAbranches/nwchem #ifndef _PAW_ERROR_FUNCTION_H_ #define _PAW_ERROR_FUNCTION_H_ /* $Id$ */ extern double paw_my_erf(double x); #endif
77
463
<reponame>rachfop/redpen package cc.redpen.util; import java.util.function.Predicate; import static java.lang.Math.min; public class LanguageDetector { public String detectLanguage(String text) { if (has(text, StringUtils::isProbablyJapanese)) { boolean zenkaku = text.indexOf('。') >= 0 || text.indexOf('、...
484
481
package com.tarek360.sample; import android.graphics.Bitmap; import android.graphics.drawable.BitmapDrawable; import android.util.Base64; import android.view.View; import android.widget.ImageView; import org.hamcrest.Description; import org.hamcrest.TypeSafeMatcher; import java.io.ByteArrayOutputStream; /** * Crea...
1,030
704
/* * Copyright (c) 2013 <NAME> * * 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 this software for any purpose, * including commercial a...
3,370
20,546
/* Copyright (c) 2013, <NAME>. All rights reserved. Licensed under the MIT license <http://opensource.org/licenses/MIT> 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, in...
4,347
1,724
<reponame>GeGuNa/skift_oss2 #include <libutils/Vec.h> #include <skift/NumberFormatter.h> #include <string.h> #include "system/Streams.h" #include "pci/PCI.h" #include "ps2/Legacy.h" #include "system/devices/Devices.h" #include "system/devices/Driver.h" #include "unix/UNIX.h" static Vec<Ref<Device>> *_devices = nullp...
1,485
1,444
<reponame>GabrielSturtevant/mage<filename>Mage.Sets/src/mage/cards/s/SylvanAdvocate.java package mage.cards.s; import java.util.UUID; import mage.MageInt; import mage.abilities.Ability; import mage.abilities.common.SimpleStaticAbility; import mage.abilities.condition.common.PermanentsOnTheBattlefieldCondition; import...
930
342
/* TA-LIB Copyright (c) 1999-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: * * - Redistributions of source code must retain the above copyright * notice, this li...
8,075
1,412
<filename>Presentations/How to call C libraries from C++/Code/Po7/Po7_inet.cpp // // Po7_inet.cpp // PlusPlus // // Created by <NAME> on 9/1/14. // Released into the public domain by <NAME>, 2014. // #include "Po7_inet.h" #include "Po7_Invoke.h" const char *Po7::inet_ntop( socket_domain_t af, ...
521
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. #include "services/network/public/cpp/web_sandbox_flags.h" #include <set> #include "base/stl_util.h" #include "base/strings/string_spli...
1,244
3,459
<gh_stars>1000+ // Specification file for Bookmark class #define FLASH_PHASE_MAX 11 #define FLASH_PHASE_BUTTONHELD 6 enum FLASH_TYPES { FLASH_TYPE_SET = 0, FLASH_TYPE_JUMP = 1, FLASH_TYPE_DEPLOY = 2, }; #define SCREENSHOT_WIDTH 256 #define SCREENSHOT_HEIGHT 240 #define SCREENSHOT_SIZE SCREENSHOT_WID...
362
2,399
// // NSFileManager+MCS.h // SJMediaCacheServer // // Created by BlueDancer on 2020/11/26. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface NSFileManager (MCS) - (UInt64)mcs_fileSizeAtPath:(NSString *)path; - (UInt64)mcs_directorySizeAtPath:(NSString *)path; - (UInt64)mcs_freeDiskSpace; ...
177
407
<filename>paas/tesla-authproxy/tesla-authproxy-server/src/main/java/com/alibaba/tesla/authproxy/model/repository/RolePermissionRelRepository.java<gh_stars>100-1000 package com.alibaba.tesla.authproxy.model.repository; import com.alibaba.tesla.authproxy.model.RolePermissionRelDO; import org.springframework.data.jpa.rep...
241
1,350
<reponame>Manny27nyc/azure-sdk-for-java // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.digitaltwins.core.implementation; import com.azure.core.annotation.BodyParam; import com.azure.core.anno...
23,950
1,615
<reponame>mmdongxin/MLN<gh_stars>1000+ // // MLNUIArrayObserver.h // MLNUI // // Created by <NAME> on 2020/4/30. // #import "MLNUIObserver.h" NS_ASSUME_NONNULL_BEGIN @interface MLNUIArrayObserver : MLNUIObserver - (instancetype)initWithTarget:(NSMutableArray *)target keyPath:(NSString *)keyPath owner:(id)owner; ...
152
1,861
// 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. #include <spectrum/codecs/bitmap/BitmapDecompressor.h> #include <spectrum/testutils/TestUtils.h> #include <array> #include <cstddef> #inc...
1,580
575
<filename>services/data_decoder/web_bundler.cc // 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. #include "services/data_decoder/web_bundler.h" #include "base/big_endian.h" #include "base/numerics/safe_c...
1,558
831
<filename>android/testSrc/com/android/tools/idea/editors/strings/table/NeedsTranslationForLocaleRowFilterTest.java /* * 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...
713
23,901
<gh_stars>1000+ # 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/LICENSE-2.0 # # Unless requ...
1,002
3,083
// Copyright 2011-2016 Google LLC // // 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 ...
1,569
1,155
# Copyright 2019 The PlaNet 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...
1,634
398
package com.ruiyun.example; import com.ruiyun.jvppeteer.util.StreamUtil; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.FileOutputStream; import java.io.IOException; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Enumeration; import java.util.zip.ZipEn...
890
428
#include <stdlib.h> #include <ctype.h> #include <stdio.h> #include "agg_basics.h" #include "agg_rendering_buffer.h" #include "agg_rasterizer_scanline_aa.h" #include "agg_scanline_u.h" #include "agg_renderer_scanline.h" #include "agg_path_storage.h" #include "agg_conv_transform.h" #include "agg_trans_affine.h" #include ...
6,035
879
<reponame>luiz158/Hibernate-SpringBoot<gh_stars>100-1000 package com.bookstore.dao; import com.bookstore.dto.AuthorDto; import com.bookstore.transformer.AuthorBookTransformer; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.Query; imp...
479
14,425
<reponame>bzhaoopenstack/hadoop /** * 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, Ver...
3,546
429
/* * (C) Copyright 2011,2016-2020 Intel Corporation. * * SPDX-License-Identifier: BSD-2-Clause-Patent */ /* GURT heap (bin heap) APIs. */ #ifndef __GURT_HEAP_H__ #define __GURT_HEAP_H__ #include <pthread.h> #include <stdint.h> #include <string.h> #include <stdbool.h> #include <gurt/common.h> #if defined(__cplu...
2,719
794
<filename>uncertainty_baselines/models/classifier_utils_test.py # coding=utf-8 # Copyright 2021 The Uncertainty Baselines 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...
787
1,441
<gh_stars>1000+ #import <Foundation/Foundation.h> @interface Dock : NSObject { } - (void) setBadge:(NSString*)value; - (NSString *) badge; @property (readwrite, copy) NSString *badge; @end
78
1,337
/* * Copyright (c) 2008-2016 Haulmont. * * 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...
560
897
/* ___Implement Open Hashing___ Hashing is an important data structure that is used to map a given value with a particular index for faster access of elements. But sometimes more than one value gets mapped with a particular index. This can be resolved using open hashing. In open hashing, keys are stored in linked lists...
1,994
335
{ "word": "Failure", "definitions": [ "Lack of success.", "An unsuccessful person or thing.", "The neglect or omission of expected or required action.", "A lack or deficiency of a desirable quality.", "The action or state of not functioning.", "A sudden cessation ...
155
862
/* * (c) Copyright 2018 Palantir Technologies 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 ...
2,500
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 by applicable ...
280
5,986
# This file was automatically generated by SWIG (http://www.swig.org). # Version 4.0.2 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info as _swig_python_version_info if _swig_python_version_info < (2, 7, 0): raise Runtime...
7,748
2,151
package junit.framework; import java.io.PrintWriter; import java.io.StringWriter; /** * A {@code TestFailure} collects a failed test together with * the caught exception. * * @see TestResult */ public class TestFailure { protected Test fFailedTest; protected Throwable fThrownException; /** * C...
640
751
<gh_stars>100-1000 /* *------------------------------------------------------------------ * vxlan_api.c - vxlan api * * Copyright (c) 2016 Cisco 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 ob...
5,171
852
#ifndef RecoTauTag_RecoTau_DeepTauBase_h #define RecoTauTag_RecoTau_DeepTauBase_h /* * \class DeepTauBase * * Definition of the base class for tau identification using Deep NN. * * \author <NAME>, INFN Pisa * \author <NAME>, University of Siena & INFN Pisa */ #include <Math/VectorUtil.h> #include "FWCore/Frame...
2,164
3,372
/* * Copyright 2016-2021 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/apache2.0 * * or in the "licen...
2,419
335
<reponame>Safal08/Hacktoberfest-1<filename>N/Now_adverb.json { "word": "Now", "definitions": [ "At the present time or moment.", "At the time directly following the present moment; immediately.", "Under the present circumstances; as a result of something that has recently happened.", ...
302
3,102
<gh_stars>1000+ /// Comment for bar void bar(void);
20
352
// ========================================================================= // Copyright 2019 T-Mobile, US // // 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/...
634
3,631
<gh_stars>1000+ /* * Copyright 2021 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
1,316
528
#include "array/zfpcarray1.h" #include "array/zfpcarray2.h" #include "array/zfpcarray3.h" #include "array/zfpcarray4.h" #include "array/zfpfactory.h" using namespace zfp; extern "C" { #include "constants/2dDouble.h" } #include "gtest/gtest.h" #include "utils/gtestDoubleEnv.h" #include "utils/gtestBaseFixture.h" #in...
502
7,746
/*++ Copyright (c) 2017 Microsoft Corporation Module Name: injectivity_tactic.cpp Abstract: Injectivity tactics - Discover axioms of the form `forall x. (= (g (f x)) x` Mark `f` as injective - Rewrite (sub)terms of the form `(= (f x) (f y))` to `(= x y)` whenever `f` is injective. Author: <NAME> (t-...
4,669
1,444
<reponame>J-VOL/mage package mage.game.events; import mage.abilities.Ability; import mage.cards.Cards; import mage.cards.CardsImpl; import java.util.UUID; /** * * @author htrajan */ public class DiscardedCardsEvent extends GameEvent { private final Cards discardedCards; public DiscardedCardsEvent(Abilit...
216
367
# Copyright 2022 The OFA-Sys Team. # All rights reserved. # This source code is licensed under the Apache 2.0 license # found in the LICENSE file in the root directory. import logging import re import torch.utils.data from fairseq.data import FairseqDataset logger = logging.getLogger(__name__) class OFADataset(Fa...
1,125
597
{"data":{"nu":["latn"],"year":{"0":"hierdie jaar","1":"volgende jaar","future":{"one":"oor {0} jaar","other":"oor {0} jaar"},"past":{"one":"{0} jaar gelede","other":"{0} jaar gelede"},"-1":"verlede jaar"},"year-short":{"0":"hierdie j.","1":"volgende j.","future":{"one":"oor {0} j.","other":"oor {0} j."},"past":{"one":"...
1,631
441
<gh_stars>100-1000 { "name": "babel.github.io", "private": true, "version": "1.0.0", "description": "", "main": "", "scripts": { "bootstrap": "run-s bootstrap:sponsors build", "bootstrap:sponsors": "node ./scripts/download-sponsors.js", "build": "run-s build:codemirror6 build:repl build:docusaur...
2,094
852
import FWCore.ParameterSet.Config as cms process = cms.Process("EcalLaserSorting") process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) #source reading continuously files as they arrive in in/ directory: process.load("CalibCalorimetry.EcalLaserSorting.watcherSource_cfi") # MessageLogger: p...
229
567
<reponame>mkolod/Vitis-Tutorials #include "xilinx_ocl_helper.hpp" #include <unistd.h> namespace xilinx { namespace example_utils { std::vector<cl::Device> XilinxOclHelper::find_xilinx_devices() { size_t i; std::vector<cl::Platform> platforms; cl::Platform::get(&platforms); cl::Platform platform; ...
1,701
348
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Nerville-la-Forêt","circ":"2ème circonscription","dpt":"Val-d'Oise","inscrits":448,"abs":200,"votants":248,"blancs":17,"nuls":4,"exp":227,"res":[{"nuance":"LR","nom":"M. <NAME>","voix":120},{"nuance":"REM","nom":"M. <NAME>","voix":107}]}
120
3,651
<reponame>aberdev/orientdb package com.orientechnologies.orient.core.storage.cluster; public class OClusterPageDebug { public long pageIndex = -1; public int inPagePosition = -1; public int inPageSize = -1; public byte[] content; }
80
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. #include <cstdint> #include <memory> #include <utility> #include <vector> #include "ash/constants/app_types.h" #include "base/files/scoped_temp_dir.h" #i...
11,273
399
/* * 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 ...
7,036
4,480
<filename>src/com/goide/inspections/GoRangeIterationOnIllegalTypeInspection.java<gh_stars>1000+ /* * Copyright 2013-2016 <NAME>, <NAME>, <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 Licen...
671
372
<filename>lwtest/src/lsa/lwt_lsa_check_group_info.c /* Editor Settings: expandtabs and use 4 spaces for indentation * ex: set softtabstop=4 tabstop=8 expandtab shiftwidth=4: * * -*- mode: c, c-basic-offset: 4 -*- */ /* * Copyright © BeyondTrust Software 2004 - 2019 * All rights reserved. * * Licensed under the A...
17,388
465
package com.ansel.bean; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; /** * 4.9 货运差错表 * @author Ansel * */ @Entity(name = "cargoerror") public class CargoError { @Id @GeneratedValu...
1,020
879
package org.zstack.header.storage.snapshot; import org.zstack.header.message.MessageReply; import java.util.ArrayList; import java.util.List; /** * Created by MaJin on 2019/8/8. */ public class GetVolumeSnapshotTreeRootNodeReply extends MessageReply { private String currentRootInstallPath; private List<Str...
329
412
<reponame>tobireinhard/cbmc /*******************************************************************\ Module: Alignment Checks Author: \*******************************************************************/ /// \file /// Alignment Checks #include "alignment_checks.h" #include <util/config.h> #include <util/namespace.h>...
1,555
344
#ifndef GUARD_FAME_CHECKER_H #define GUARD_FAME_CHECKER_H #include "main.h" #define FAMECHECKER_OAK 0 #define FAMECHECKER_DAISY 1 #define FAMECHECKER_BROCK 2 #define FAMECHECKER_MISTY 3 #define FAMECHECKER_LTSURGE 4 #define FAMECHECKER_ERIKA 5 #define FAMECHECKER_KOGA ...
555
362
<filename>whois-api/src/main/java/net/ripe/db/whois/api/rdap/VCardBuilder.java package net.ripe.db.whois.api.rdap; import com.google.common.base.Joiner; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Lists; import net.ripe.db.whois.api.rdap.domain.vcard.VCard; import net.ripe.db.whois....
1,729
11,010
<filename>core/test/com/google/inject/internal/UniqueAnnotationsTest.java /* * Copyright (C) 2008 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/...
358
460
<reponame>dyzmapl/BumpTop /* * Copyright (C) 2003-2006 <NAME> and the CLucene Team * * Distributable under the terms of either the Apache License (Version 2.0) or * the GNU Lesser General Public License, as specified in the COPYING file. * * Changes are Copyright(C) 2007, 2008 by Nokia Corporation and/or i...
4,737
12,252
<gh_stars>1000+ /* * Copyright 2016 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 * * ...
2,771
1,845
<reponame>zhaofeng-shu33/plato /* Tencent is pleased to support the open source community by making Plato available. Copyright (C) 2019 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 L...
1,566
335
<reponame>Safal08/Hacktoberfest-1 { "word": "Frivolity", "definitions": [ "Lack of seriousness; light-heartedness." ], "parts-of-speech": "Noun" }
80
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 ...
4,649
611
package fr.adrienbrault.idea.symfony2plugin.routing.webDeployment; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.io.StreamUtil; import com.intellij.util.containers.HashMap; import com.jetbrains.php.lang.psi.PhpPsiElementFactory; import fr.adrienbrault.idea.symfony2plugin.Settings; impor...
860
765
/***************************************************************************** Licensed to Accellera Systems Initiative Inc. (Accellera) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. Accellera licenses...
3,963
318
// __BEGIN_LICENSE__ // Copyright (c) 2006-2013, United States Government as represented by the // Administrator of the National Aeronautics and Space Administration. All // rights reserved. // // The NASA Vision Workbench is licensed under the Apache License, // Version 2.0 (the "License"); you may not use this f...
7,116
1,379
<reponame>ramiyer/voldemort<filename>clients/python/voldemort/serialization/ordered_dict.py class OrderedDict(dict): def __init__(self, args=None, **kwargs): dict.__init__(self) self.keyList = [] if args: if isinstance(args, dict): for k, v in args.iteritems(): ...
900
312
#ifndef _LOGGER_H #define _LOGGER_H #ifndef __GNUC__ #define __builtin_expect(a, b) (a) #endif #ifndef LOGGER_WIDTH #define LOGGER_WIDTH 80 #endif #ifndef LOGGER_INDENT #define LOGGER_INDENT 4 #endif #define LOGGER_SILENT 0 #define LOGGER_FATAL 1 #define LOGGER_ERROR 2 #define LOGGER_WARNING 3 #defin...
732
1,179
<filename>core/arch/arm/plat-vexpress/fvp_spmc_pm.c // SPDX-License-Identifier: BSD-2-Clause /* * Copyright (c) 2019-2021, Arm Limited */ #include <ffa.h> #include <kernel/boot.h> #include <kernel/panic.h> #include <kernel/thread.h> void ffa_secondary_cpu_ep_register(vaddr_t secondary_ep) { unsigned long ret = 0; ...
296
1,396
/* * 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 u...
1,392
839
/** * 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 m...
467
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...
4,895
628
# -*- coding: utf-8 -*- import pytest from osf.models import QuickFilesNode from osf_tests.factories import AuthUserFactory from tests.base import test_app from webtest_plus import TestApp from addons.osfstorage.tests.utils import make_payload from framework.auth import signing @pytest.fixture() def user(): re...
662
1,168
<filename>jmxtrans-output/jmxtrans-output-core/src/main/java/com/googlecode/jmxtrans/model/output/StackdriverWriter.java /** * The MIT License * Copyright © 2010 JmxTrans team * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the...
5,848
392
<gh_stars>100-1000 package com.platform.shiro; import com.platform.cache.J2CacheUtils; import com.platform.utils.Constant; import org.apache.shiro.session.Session; import org.apache.shiro.session.mgt.eis.EnterpriseCacheSessionDAO; import java.io.Serializable; /** * 分布式session管理 * * @author lipengjun * @date 2018...
642
1,143
<filename>src/java/com/twitter/common/net/loadbalancing/LoadBalancerImpl.java // ================================================================================================= // Copyright 2011 Twitter, Inc. // ------------------------------------------------------------------------------------------------- // Licen...
1,229
1,018
/* * Copyright 2014-2016 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 applica...
1,225
16,989
<filename>src/main/java/com/google/devtools/build/lib/sandbox/SynchronousTreeDeleter.java<gh_stars>1000+ // Copyright 2019 The Bazel 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...
365
341
package org.myproject.ms.monitoring.instrument.web; import java.util.Map; import org.myproject.ms.monitoring.Item; import org.myproject.ms.monitoring.ItemTextMap; import org.springframework.util.StringUtils; public class ZHSInject implements HSInject { private static final String HEADER_DELIMITER = "-"; @Overri...
590
2,939
<reponame>mlwilkerson/lumen #include "lumen/EIR/Conversion/ConstantOpConversions.h" namespace lumen { namespace eir { template <typename Op> static Value lowerElementValue(RewritePatternContext<Op> &ctx, Attribute elementAttr); struct NullOpConversion : public EIROpConversion<NullOp> {...
10,381
1,256
<gh_stars>1000+ #ifndef __FTP_NOTIFY_INTERNAL #define __FTP_NOTIFY_INTERNAL #include "fstdlib.h" //FAR plugin stdlib #include "../Plugin.h" #endif
78
764
<reponame>641589523/token-profile<gh_stars>100-1000 {"symbol": "DEV","address": "0x5cAf454Ba92e6F2c929DF14667Ee360eD9fD5b26","overview":{"en": ""},"email": "<EMAIL>","website": "https://devprtcl.com/","state": "NORMAL","links": {"blog": "https://medium.com/devprtcl","twitter": "https://twitter.com/devprtcl","telegram":...
160