max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
421
from colbert.utils.utils import print_message from utility.utils.dpr import DPR_normalize, has_answer def tokenize_all_answers(args): qid, question, answers = args return qid, question, [DPR_normalize(ans) for ans in answers] def assign_label_to_passage(args): idx, (qid, pid, rank, passage, tokenized_an...
1,183
32,544
<reponame>DBatOWL/tutorials package com.baeldung.concatenation; import java.util.StringJoiner; import java.util.stream.Collectors; import java.util.stream.Stream; public class ConcatenatingNull { public static void main(String[] args) { String[] values = { "Java ", null, "", "is ", "great!" }; c...
909
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 "third_party/blink/renderer/core/layout/ng/layout_box_utils.h" #include "third_party/blink/renderer/core/layout/layout_block.h" ...
3,087
852
<gh_stars>100-1000 // -*- C++ -*- // // Package: CastorFastTowerProducer // Class: CastorFastTowerProducer // /**\class CastorFastTowerProducer CastorFastTowerProducer.cc FastSimulation/ForwardDetectors/plugins/CastorFastTowerProducer.cc Description: <one line class summary> Implementation: <Notes on i...
5,263
339
<filename>quicksim/strategies/MonthlyRebalancing.py ''' (c) 2011, 2012 Georgia Tech Research Corporation This source code is released under the New BSD license. Please see http://wiki.quantsoftware.org/index.php?title=QSTK_License for license details. Created on Jan 1, 2011 @author:<NAME> @contact: <EMAIL> ...
877
816
<filename>Source/JxADF/JxPlatform/src/main/java/com/jxtech/workflow/iface/WFActions.java package com.jxtech.workflow.iface; import com.jxtech.jbo.JboIFace; import com.jxtech.jbo.util.JxException; /** * 工作流中自定义操作类 * * @author <EMAIL> * @date 2015.10 * */ public interface WFActions { /** * 执行操作 * ...
229
777
<filename>components/sync/model/recording_model_type_change_processor.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 COMPONENTS_SYNC_MODEL_RECORDING_MODEL_TYPE_CHANGE_PROCESSOR_H_ #define COM...
607
2,503
// // 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, MERCHANTABILITY, OR NON-INFRINGEMENT. ...
468
809
/** * @file * @brief Tests read-write lock up/down methods. * * @date 04.09.2012 * @author <NAME> */ #include <embox/test.h> #include <kernel/thread/sync/rwlock.h> #include <kernel/thread.h> #include <util/err.h> static struct thread *low, *mid, *high; static rwlock_t r; EMBOX_TEST_SUITE("Read-write lock test"...
703
3,390
<gh_stars>1000+ #!/usr/bin/env python3 # Copyright 2017 The Kubernetes 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 ...
1,397
562
<reponame>saintkid/SuesNews<gh_stars>100-1000 package com.example.lee.suesnews.bean; import com.j256.ormlite.field.DatabaseField; import java.util.Date; /** * 新闻实体类 * Created by Administrator on 2015/1/18. */ public class NewsItem { // @DatabaseField(generatedId = true) private int id; //ID @Databa...
1,087
348
<gh_stars>100-1000 {"nom":"Tréméven","circ":"8ème circonscription","dpt":"Finistère","inscrits":1883,"abs":1025,"votants":858,"blancs":63,"nuls":25,"exp":770,"res":[{"nuance":"SOC","nom":"<NAME>","voix":428},{"nuance":"REM","nom":"<NAME>","voix":342}]}
104
310
{ "name": "R-1", "description": "A portable digital recorder.", "url": "https://www.roland.com/us/products/r-1/" }
48
2,989
/* * Copyright 2014 LinkedIn Corp. 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 applica...
10,847
348
{"nom":"Seingbouse","circ":"6ème circonscription","dpt":"Moselle","inscrits":1458,"abs":904,"votants":554,"blancs":31,"nuls":15,"exp":508,"res":[{"nuance":"REM","nom":"M. <NAME>","voix":283},{"nuance":"FN","nom":"M. <NAME>","voix":225}]}
97
4,269
package com.netflix.ribbon.proxy.processor; import com.netflix.ribbon.CacheProviderFactory; import com.netflix.ribbon.ResourceGroup.GroupBuilder; import com.netflix.ribbon.ResourceGroup.TemplateBuilder; import com.netflix.ribbon.RibbonResourceFactory; import com.netflix.ribbon.proxy.Utils; import com.netflix.ribbon.pr...
332
14,668
// 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. #include "ash/system/unified/collapse_button.h" #include "ash/resources/vector_icons/vector_icons.h" #include "ash/strings/grit/ash_strings.h" #include "...
680
4,456
// Copyright (c) 2019-present, Qihoo, Inc. All rights reserved. // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. #ifndef PIKA_REPL_SERVER_C...
660
495
<filename>domain/src/test/java/org/m4m/domain/dsl/CameraSourceFather.java<gh_stars>100-1000 /* * Copyright 2014-2016 Media for Mobile * * 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 * ...
946
335
<filename>G/Group_noun.json { "word": "Group", "definitions": [ "A number of people or things that are located, gathered, or classed together.", "A number of people that work together or share certain beliefs.", "A commercial organization consisting of several companies under common owne...
304
1,963
<reponame>Yavari/ambar from jnius import autoclass import re import io from PIL import Image from parsers.contenttypeanalyzer import ContentTypeAnalyzer from parsers.ocrproxy import OCRProxy, OCRProxyResponse from parsers.fileparserresponse import FileParserResponse from parsers.binarystringparser import BinaryStringPa...
1,577
709
//----------------------------------------------- // // This file is part of the Siv3D Engine. // // Copyright (c) 2008-2021 <NAME> // Copyright (c) 2016-2021 OpenSiv3D Project // // Licensed under the MIT License. // //----------------------------------------------- # include <Siv3D/Functor.hpp> # include "NavMeshDe...
5,899
639
<gh_stars>100-1000 /*++ Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. Module Name: FgemmKernelSse2Common.h Abstract: This module implements the kernels for the floating point matrix/matrix multiply operation (SGEMM and DGEMM). This implementation uses S...
2,472
1,354
<gh_stars>1000+ /** * * Problem Statement- * [The Maximum Subarray](https://www.hackerrank.com/challenges/maxsubarray/problem) * */ package com.javaaid.hackerrank.solutions.algorithms.dynamicprogramming; import java.util.Scanner; public class TheMaximumSubarray { static int[] maxSubarray(int[] arr) { int ...
534
302
<filename>src/cs-gui/internal/LoadHandler.hpp //////////////////////////////////////////////////////////////////////////////////////////////////// // This file is part of CosmoScout VR // // and may be used under the terms of the MIT license. See the LICE...
431
2,221
/* * 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 ...
502
377
// // main.c // Aff // Created by user on 3/2/17. // Copyright © 2017 user. All rights reserved. // #include <stdio.h> #include <string.h> #include <stdlib.h> #include <math.h> #include "dclapack.h" #include <linmath.h> #define RegisterDriver(a,b) #include "poser_daveortho.c" #define LH_ID 0 #define NUM_HMD 32 ...
15,872
310
<gh_stars>100-1000 { "name": "Zite (iOS)", "description": "A personal magazine app.", "url": "https://itunes.apple.com/us/app/zite-personalized-magazine/id419752338" }
68
378
package org.smartboot.socket.example.plugins; import org.smartboot.socket.StateMachineEnum; import org.smartboot.socket.extension.processor.AbstractMessageProcessor; import org.smartboot.socket.extension.protocol.StringProtocol; import org.smartboot.socket.transport.AioQuickClient; import org.smartboot.socket.transpor...
608
2,637
/* * (C) Copyright 2008-2019 Marvell International Ltd. All Rights Reserved * * MARVELL CONFIDENTIAL * The source code contained or described herein and all documents related to * the source code ("Material") are owned by Marvell International Ltd or its * suppliers or licensors. Title to the Material remains with...
6,606
11,356
<gh_stars>1000+ // Copyright <NAME>, 2016-2018. // // 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) // No include guards! Intentionally. // Link or header only #if !defined(BOOST_STACKTRACE_LINK) && defined(BOOS...
450
6,059
/* * 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. */ #pragma once #include <unordered_map> #include <unordered_set> #include <utility> #include <vector> #include "ConstantUses.h" #in...
1,451
6,207
<gh_stars>1000+ {"_class":"ORKScaleQuestionResult","endDate":"2019-05-27T00:35:06-0700","startDate":"2019-05-27T00:35:06-0700","noAnswer_scaleAnswer":{"_class":"ORKDontKnowAnswer"},"identifier":"","questionType":0,"userInfo":{}}
82
852
#include "CondFormats/CSCObjects/interface/CSCDBL1TPParametersExtended.h" #include "FWCore/Utilities/interface/typelookup.h" TYPELOOKUP_DATA_REG(CSCDBL1TPParametersExtended);
68
422
<reponame>hhoppe/Mesh-processing-library // -*- C++ -*- Copyright (c) Microsoft Corporation; see license.txt #include "libHh/STree.h" #include "libHh/Random.h" #include "libHh/RangeOp.h" #include "libHh/Set.h" #include "libHh/Vec.h" using namespace hh; int main() { { STree<int> stree; for (int i = 2; i < 6...
1,531
1,673
/*****************************************************************************/ /* */ /* segment.h */ /* */ ...
1,793
543
/* * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
2,586
648
<reponame>swrobel/fhir {"resourceType":"DataElement","id":"Practitioner","meta":{"lastUpdated":"2015-10-24T07:41:03.495+11:00"},"url":"http://hl7.org/fhir/DataElement/Practitioner","status":"draft","experimental":true,"stringency":"fully-specified","element":[{"path":"Practitioner","short":"A person with a formal resp...
224
308
from PIL import Image import collections import shutil import traceback from functools import partial import pprint import logging import argparse import os import numpy as np import math from tqdm import tqdm import copy from einops import repeat, rearrange import torch import torch.distributed as dist import torch.m...
12,061
1,006
/**************************************************************************** * libs/libc/pthread/pthread_keycreate.c * * 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 copyr...
907
480
/* * 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 * * Unless required by app...
1,762
14,668
// 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. #include "components/signin/public/identity_manager/identity_utils.h" #include "components/prefs/pref_registry_simple.h" #include "components/prefs/pref_...
1,454
76,518
<gh_stars>1000+ #pragma once bool is_auto_start_task_active_for_this_user(); bool create_auto_start_task_for_this_user(bool runElevated); bool delete_auto_start_task_for_this_user();
71
1,444
<reponame>GabrielSturtevant/mage package mage.cards.s; import java.util.UUID; import mage.abilities.effects.common.continuous.BoostTargetEffect; import mage.abilities.effects.common.continuous.GainAbilityTargetEffect; import mage.abilities.keyword.FirstStrikeAbility; import mage.cards.CardImpl; import mage.cards.Card...
419
521
/// \file // Range v3 library // // Copyright <NAME> 2019-present // // Use, modification and distribution is 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) // // Project home: https://github.com/ericniebler/range...
431
445
<filename>processors/IA32/bochs/iodev/eth_tap.cc<gh_stars>100-1000 ///////////////////////////////////////////////////////////////////////// // $Id: eth_tap.cc,v 1.30 2008/02/15 22:05:42 sshwarts Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2001 MandrakeSoft S.A....
5,333
432
<filename>src/place.h<gh_stars>100-1000 /** * @file place.h * @author <NAME> * @date 2004-2006 * * @brief Header for client placement functions. * */ #ifndef PLACE_H #define PLACE_H #include "client.h" struct ScreenType; struct TrayType; /** Bounding box. */ typedef struct BoundingBox { int x; /**...
734
2,139
package java_integration.fixtures; public class PrivateConstructor { private PrivateConstructor() { } }
30
303
<filename>include/objects/decoder/wrap_decoder.h<gh_stars>100-1000 #pragma once #include "common/luax.h" #include "objects/decoder/decoder.h" namespace Wrap_Decoder { int Clone(lua_State* L); int GetBitDepth(lua_State* L); int GetChannelCount(lua_State* L); int GetDuration(lua_State* L); int G...
209
459
<gh_stars>100-1000 package com.knight.arch.events; import android.net.Uri; /** * @author andyiac * @date 15/10/23 * @web http://blog.andyiac.com * @github https://github.com/andyiac */ public class LoginUriMsg { private Uri url; public Uri getUrl() { return url; } public void setUrl(Uri...
152
8,799
/** * Animated GIF library for Android. See {@link pl.droidsonroids.gif.GifDrawable}, {@link pl.droidsonroids.gif.GifTextureView} * and {@link pl.droidsonroids.gif.GifTexImage2D} classes for more details. */ package pl.droidsonroids.gif;
88
306
<reponame>nschloe/matplotx import matplotlib.pyplot as plt import pytest import matplotx def test_bar(): with plt.style.context(matplotx.styles.dufte_bar): labels = ["label 1", "label 2"] vals = [2.1, 6.3] xpos = range(len(vals)) plt.bar(xpos, vals) plt.xticks(xpos, labels...
530
653
// REQUIRES: clang-driver // REQUIRES: x86-registered-target // REQUIRES: amdgpu-registered-target // See the steps to create a fat archive are given at the end of the file. // Given a FatArchive, clang-offload-bundler should be called to create a // device specific archive, which should be passed to llvm-link. // RU...
1,394
379
// Copyright © 2012, Université catholique de Louvain // 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...
1,609
3,102
<reponame>medismailben/llvm-project<gh_stars>1000+ // RUN: %clang_cc1 -fno-rtti-data -std=c++11 -fms-extensions -emit-llvm %s -o - -triple=x86_64-pc-win32 -fms-compatibility-version=19.00 | FileCheck %s --check-prefix=CHECK namespace t1 { struct A { public: virtual ~A(); virtual A *f(); }; struct B { public: vir...
315
16,461
<gh_stars>1000+ /* * 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. */ #pragma once #include <limits> namespace ABI42_0_0facebook { namespace ABI42_0_0React { /* * Type used to repre...
478
721
{ "api_id": "appengine:v1alpha", "name_pretty": "App Engine Admin API", "distribution_name": "google-apis-appengine_v1alpha", "language": "ruby", "library_type": "REST" }
82
875
<filename>GSLAM/plugins/qviz/panels/displays/PanelDisplays.cpp #include "PanelDisplays.h" #include <regex> #include "filesystem.hpp" using namespace ghc::filesystem; using namespace std; namespace GSLAM{ void PanelDisplays::collectPlugins(){ Svar config=_config; regex is_rviz_plugin("^(?:|lib)?qviz_([a-zA-Z...
1,575
6,036
<reponame>lchang20/onnxruntime<gh_stars>1000+ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "core/framework/allocator.h" namespace onnxruntime { // TODO: Do we need this class or is IAllocator::MakeUniquePtr sufficient/better class BufferDelete...
368
3,964
<filename>stream_framework/feeds/base.py import copy import random from stream_framework.serializers.base import BaseSerializer from stream_framework.serializers.simple_timeline_serializer import \ SimpleTimelineSerializer from stream_framework.storage.base import BaseActivityStorage, BaseTimelineStorage from stre...
4,968
14,668
// Copyright 2015 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/services/font/font_service_app.h" #include <utility> #include "base/bind.h" #include "base/command_line.h" #include "base/files/fil...
3,663
1,694
<filename>header6.6.1/SGBarButton.h // // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by <NAME>. // #import <UIKit/UIButton.h> @class MMUILabel, NSString, UIImageView, UIView; @interface SGBarButton : UI...
461
5,169
<filename>Specs/CCNLaunchAtLoginItem/0.1.0/CCNLaunchAtLoginItem.podspec.json { "name": "CCNLaunchAtLoginItem", "version": "0.1.0", "summary": "Objective-C class for handling \"launch at login\".", "description": "An Objective-C class that encapsulates the functionality for launching a Mac application automatic ...
272
953
// // StatusProvider.h // StatusProvider // // Created by <NAME> on 01.06.17. // Copyright © 2017 MarioHahn. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for StatusProvider. FOUNDATION_EXPORT double StatusProviderVersionNumber; //! Project version string for StatusProvider. FOUNDATI...
143
343
<filename>internal/ccall/cgraph/imap.c<gh_stars>100-1000 /* $Id$ $Revision$ */ /* vim:set shiftwidth=4 ts=8: */ /************************************************************************* * Copyright (c) 2011 AT&T Intellectual Property * All rights reserved. This program and the accompanying materials * are made av...
2,383
787
<reponame>zhuohuwu0603/leetcode_cpp_lzl124631x<filename>leetcode/811. Subdomain Visit Count/s1.cpp // OJ: https://leetcode.com/problems/subdomain-visit-count/ // Author: github.com/lzl124631x // Time: O(N*S^2) where N is count of cpdomains, S is max length of cpdomain string. // Space: O(N) class Solution { public: ...
484
2,006
/* * Copyright 2015, 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 * * Unless required by applic...
704
568
from docassemble.base.util import Thing, prevent_dependency_satisfaction __all__ = ['Legume'] class Legume(Thing): @prevent_dependency_satisfaction def is_tasty(self): if self.sweet_index > 5 or self.savory_index > 6: return True else: return False
129
1,091
/* * Copyright 2021-present Open Networking 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 required by appli...
3,466
335
/* * Copyright 2019-2021 <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...
639
805
<reponame>HenryJia/flow<gh_stars>100-1000 """Contains the I-210 sub-network class.""" from flow.networks.base import Network from flow.core.params import InitialConfig from flow.core.params import TrafficLightParams ADDITIONAL_NET_PARAMS = { # whether to include vehicle on the on-ramp "on_ramp": False, # w...
5,919
2,268
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //=============================================================================// #ifndef SPRITETRAIL_H #define SPRITETRAIL_H #ifdef _WIN32 #pragma once #endif #include "Sprite.h" #if defined( CLIENT_DLL ) #define CSprite...
1,119
1,738
/* * 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 license below or t...
424
831
<reponame>phpc0de/idea-android /* * Copyright (C) 2019 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...
411
1,137
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. package com.microsoft.gctoolkit.vertx.io; import com.microsoft.gctoolkit.event.jvm.JVMEvent; import io.vertx.core.buffer.Buffer; import io.vertx.core.eventbus.MessageCodec; public class JVMEventCodec implements MessageCodec<JVMEvent, JVMEvent>...
311
1,131
// // 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,014
2,762
/* * Copyright 2010-2017, Tarantool AUTHORS, please see AUTHORS file. * * 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 lis...
4,054
312
<filename>src/CellLimits.h #pragma once #include "XlsCell.h" #include "cpp11/integers.hpp" #include <vector> class CellLimits { int minRow_, maxRow_, minCol_, maxCol_; public: CellLimits() { minRow_ = -1; maxRow_ = -1; minCol_ = -1; maxCol_ = -1; } CellLimits(cpp11::integers limits) { min...
1,900
2,151
// 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 "services/ui/ws/event_targeter.h" #include "base/command_line.h" #include "base/metrics/user_metrics.h" #include "base/task_scheduler/post_task....
888
898
<gh_stars>100-1000 /* * Copyright (c) 2015 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 ...
684
1,185
/* * 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...
759
335
{ "word": "Keeping", "definitions": [ "The action or fact of owning, maintaining, or protecting something." ], "parts-of-speech": "Noun" }
64
447
<gh_stars>100-1000 #pragma once #include "Common.h" #include "Sender.h" #include "Receiver.h" namespace KlakSpout { // Render event IDs // Should match with Klak.Spout.EventID (Event.cs) enum EventID { event_updateSender, event_updateReceiver, event_closeSender, event_closeReceiver }; // Render even...
226
679
<reponame>Grosskopf/openoffice<filename>main/vcl/inc/vcl/pdfwriter.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 informatio...
20,036
412
<filename>regression/goto-instrument/slice01/main.c #include <stdio.h> #include <stdlib.h> #include <assert.h> typedef struct list { int key; struct list *next; } mlist; mlist *head; mlist* search_list(mlist *l, int k) { l = head; while(l!=NULL && l->key!=k) { l = l->next; } return l; } int delet...
474
343
#include "stdafx.h" #pragma region Parse RH_C_FUNCTION int ON_Parse_LengthExpression( const RHMONO_STRING* str, int start_offset, int str_count, ON_ParseSettings* parse_settings_in, ON::LengthUnitSystem output_unit_system, double* length_value, ON_ParseSettings* parse_results, ON::LengthUnitSystem* p...
6,641
5,459
<gh_stars>1000+ // // PhysicsFrictionBehavior.h // Interactable // // Created by <NAME> on 2/9/17. // Copyright © 2017 Wix. All rights reserved. // #import "PhysicsBehavior.h" @interface PhysicsFrictionBehavior : PhysicsBehavior @property (nonatomic, assign) CGFloat friction; @end
103
489
import paramiko import sys print(""" ###################################### ## ## ## PoC for CVE-2019-16864 ## ## Rhino Security Labs ## ## ## ###################################### """) host = sys.argv[1] user = sys.argv[2] pass...
298
347
<filename>frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/presenter/overlay/TagsPresenterWidget.java package org.ovirt.engine.ui.webadmin.section.main.presenter.overlay; import java.util.Collection; import org.ovirt.engine.ui.uicommonweb.models.tags.TagModel; import org.ovir...
874
14,668
<reponame>zealoussnow/chromium<filename>weblayer/browser/android/javatests/src/org/chromium/weblayer/test/WebLayerLoadingTest.java // 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. package org.chromium.we...
1,835
375
/* * Copyright 2015 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.tabs; import java.util.HashMap; import org.eclipse.core.runtime.CoreException; import org.eclipse.debug.core.ILaunchCo...
3,528
342
<gh_stars>100-1000 /* inputting files to be patched */ /* $Id: inp.c,v 1.21 1999/08/30 06:20:08 eggert Exp $ */ /* Copyright 1986, 1988 <NAME> Copyright 1991, 1992-1993, 1997-1998, 1999 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of ...
5,003
2,150
package org.javaee7.jta.transactional; import org.jboss.arquillian.container.test.api.Deployment; import org.jboss.arquillian.junit.Arquillian; import org.jboss.shrinkwrap.api.Archive; import org.jboss.shrinkwrap.api.ShrinkWrap; import org.jboss.shrinkwrap.api.spec.JavaArchive; import org.jboss.shrinkwrap.api.spec.Web...
577
305
<reponame>yurovant/effectfuljs { "name": "@effectful/es-inline", "version": "1.4.0", "description": "Standard JavaScript effects using @effectful/js", "main": "preset.js", "scripts": { "test": "mocha -r ../es/test/kit/inject", "link-test": "node ./test/kit/makeLinks" }, "repository": { "type":...
496
507
# tests/test_provider_stobias123_orion.py # Automatically generated by tools/makecode.py (24-Sep-2021 15:24:05 UTC) def test_provider_import(): import terrascript.provider.stobias123.orion def test_resource_import(): from terrascript.resource.stobias123.orion import orion_ip_address def test_datasource_im...
299
684
<filename>clients/android/Anyplace/src/com/dmsl/anyplace/AnyplaceAboutActivity.java /* * AnyPlace: A free and open Indoor Navigation Service with superb accuracy! * * Anyplace is a first-of-a-kind indoor information service offering GPS-less * localization, navigation and search inside buildings using ordinary smartpho...
1,402
14,668
// 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 THIRD_PARTY_BLINK_RENDERER_CORE_SCRIPT_DETECT_JAVASCRIPT_FRAMEWORKS_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_SCRIPT_DETECT_JAVASCRIPT_FRAMEWORKS...
229
2,617
/* Bullet Continuous Collision Detection and Physics Library Copyright (c) 2003-2006 <NAME> http://continuousphysics.com/Bullet/ 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 ...
924
1,461
<reponame>yanghongkjxy/dubbokeeper<gh_stars>1000+ package com.dubboclub.dk.storage.mysql.mapper; import com.dubboclub.dk.storage.model.ApplicationInfo; import com.dubboclub.dk.storage.mysql.ApplicationStartUp; import com.dubboclub.dk.storage.mysql.DBTransactionTestCallback; import org.junit.Assert; import org.junit.Ig...
1,373
353
from . import mon # noqa from ceph_deploy.hosts.centos.install import repo_install # noqa from .install import install, mirror_install # noqa from .uninstall import uninstall # noqa from ceph_deploy.util import pkg_managers # Allow to set some information about this distro # distro = None release = None codename ...
280