max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
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...
872
1,350
<reponame>Manny27nyc/azure-sdk-for-java<filename>sdk/cosmos/azure-cosmos/src/main/java/com/azure/cosmos/GlobalThroughputControlConfig.java<gh_stars>1000+ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.cosmos; import com.azure.cosmos.util.Beta; import...
911
1,127
<reponame>si-eun-kim/openvino<gh_stars>1000+ // Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // /////////////////////////////////////////////////////////////////////////////////////////////////// #pragma once #include "schedule.hpp" #include "infer_request.hpp" #ifdef MULTIUNITTE...
383
422
import apps.common.func.InitDjango from apps.common.func.CommonFunc import dbModelListToListDict from apps.config.services.businessLineService import BusinessService from apps.config.services.modulesService import ModulesService from apps.config.services.sourceService import SourceService from all_models.models import...
5,894
675
<filename>engine/modules/ui/font/font_library.cpp #include "font_library.h" #include "engine/core/log/Log.h" namespace Echo { FontLibrary::FontLibrary() { FT_Error result = FT_Init_FreeType(&m_library); if(result!=FT_Err_Ok) { EchoLogError("UiModule FreeType init failed."); ...
661
945
<reponame>arobert01/ITK /*========================================================================= * * Copyright NumFOCUS * * 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 * * ...
1,612
316
<reponame>YuTingLiu/ssd_detectors<gh_stars>100-1000 #!/usr/bin/env python from __future__ import print_function import rospy import cv2 import sys from sensor_msgs.msg import Image from cv_bridge import CvBridge, CvBridgeError if __name__ == '__main__': node_name = 'image_listener' topic_name = '/cam' ...
445
310
<filename>Code/eigen-3.4.0/test/mapstride.cpp // This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2010 <NAME> <<EMAIL>> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distributed // with t...
5,120
575
<filename>chrome/browser/tab/java/src/org/chromium/chrome/browser/tab/TabState.java // Copyright 2014 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.chrome.browser.tab; import android.graphics.Colo...
595
852
#include "SimMuon/Neutron/src/RootNeutronWriter.h" #include "SimMuon/Neutron/src/RootNeutronReader.h" /* * should write: * one event of one hit * one event of two hits * Then read out three events, so it loops back. */ using namespace std; void testWriting() { RootNeutronWriter writer("NeutronsME.root"); ...
542
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 "chrome/browser/privacy_budget/identifiability_study_group_settings.h" #include <numeric> #include "base/containers/flat_map.h" #include "base/...
1,527
3,102
// RUN: %clang_cc1 -fsyntax-only -verify %s template<typename T> class X { public: void f(T x); // expected-error{{argument may not have 'void' type}} void g(T*); static int h(T, T); // expected-error {{argument may not have 'void' type}} }; int identity(int x) { return x; } void test(X<int> *xi, int *ip, X<in...
1,893
2,625
[{ "command":"/home/op/.local/bin/webscreenshot --no-xserver -r chrome -i input -o output", "ext":"" }]
42
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...
957
350
<filename>ironic/common/profiler.py # 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 a...
975
563
<reponame>kokizzu/FastBinaryEncoding import decimal import fbe import struct from unittest import TestCase class TestDecimal(TestCase): @staticmethod def verify_decimal(low, mid, high, negative, scale): flags = (scale << 16) | 0x80000000 if negative else (scale << 16) buffer = bytearray(16) ...
1,422
377
from dataclasses import field from typing import Any, Dict, Optional from .custom_types import Array, Bool, PyTree, Scalar from .global_interpolation import DenseInterpolation from .misc import ContainerMeta from .path import AbstractPath class RESULTS(metaclass=ContainerMeta): successful = "" max_steps_reac...
2,082
785
<reponame>eddie4941/servicetalk /* * Copyright © 2019 Apple Inc. and the ServiceTalk project 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/license...
2,801
481
# Copyright 2016 The TensorFlow 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 applica...
2,506
1,444
package mage.abilities.mana.builder; import java.io.Serializable; /** * @author noxx */ @FunctionalInterface public interface Builder<T> extends Serializable { T build(Object... options); }
62
522
import tensorflow as tf import numpy as np from PIL import Image from functools import partial from datasets.Dataset import FileListDataset from datasets.util.Detection import init_anchors, add_rpn_data, load_instance_seg_annotation_np, load_instance_seg_annotation_from_img_array_np from datasets import DataKeys from ...
1,982
1,380
<filename>sophia/std/ss_mutex.h<gh_stars>1000+ #ifndef SS_MUTEX_H_ #define SS_MUTEX_H_ /* * sophia database * sphia.org * * Copyright (c) <NAME> * BSD License */ typedef struct ssmutex ssmutex; struct ssmutex { pthread_mutex_t m; }; static inline void ss_mutexinit(ssmutex *m) { pthread_mutex_init(&m->m, NULL...
264
493
/* ========================= eCAL LICENSE ================================= * * Copyright (C) 2016 - 2019 Continental Corporation * * 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,604
332
<reponame>jayvdb/django-autofixture from django.contrib.gis.geos import Point from django.test.utils import override_settings from autofixture import generators from . import FileSystemCleanupTestCase class GeoDjangoPointTests(FileSystemCleanupTestCase): @override_settings(INSTALLED_APPS=( 'django.contr...
319
665
# Generated by Django 3.0.4 on 2020-05-10 16:46 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("boards", "0007_label"), ] operations = [ migrations.AddConstraint( model_name="label", constraint=models.UniqueConst...
194
386
<reponame>DennisHeimbigner/netcdf-c /********************************************************************* * Copyright 2018, UCAR/Unidata * See netcdf/COPYRIGHT file for copying and redistribution conditions. *********************************************************************/ /* Type declarations and associa...
4,492
4,200
<filename>core/src/main/java/com/dtolabs/rundeck/plugins/notification/NotificationPlugin.java /* * Copyright 2016 SimplifyOps, Inc. (http://simplifyops.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...
383
17,085
<filename>paddle/fluid/operators/bernoulli_op.cc /* Copyright (c) 2020 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/...
1,065
326
{ "rule1": "value2", "rule2": false, "rule3": 42, "rule4": false, "rule5": "42", "rule6": "value-for-6", "rule7": "truthy", "rule8": false, "rule9": true, "rule10": false, "rule11": true, "invisible-rule": true, "non-existent-rule": "hello-world", "substitute-rule": true, "extensible-rule"...
146
966
# -*- coding: utf-8 -*- """Views tests."""
21
11,913
#import <Foundation/Foundation.h> #import "SpectacleShortcutStorage.h" @interface SpectacleShortcutUserDefaultsStorage : NSObject <SpectacleShortcutStorage> @end
50
4,332
<reponame>sisco0/vowpal_wabbit // Copyright (c) by respective owners including Yahoo!, Microsoft, and // individual contributors. All rights reserved. Released under a BSD (revised) // license as described in the file LICENSE. #pragma once #include <string> // TODO This file contains an experimental defintion of api...
1,053
1,104
package org.apache.lucene.store; /** * 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, Versi...
1,277
352
<reponame>Troublor/crawljax package com.crawljax.core.configuration; import com.crawljax.core.state.Eventable.EventType; import com.google.common.base.Preconditions; import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; import org.apache.commons.lang3.tuple.Pair; import org.slf...
2,277
2,329
/* * 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 may ...
3,165
994
<reponame>nyejon/fastapi-utils<filename>docs/src/enums1.py<gh_stars>100-1000 from enum import auto from fastapi_utils.enums import StrEnum class MyEnum(StrEnum): choice_a = auto() choice_b = auto() assert MyEnum.choice_a.name == MyEnum.choice_a.value == "choice_a" assert MyEnum.choice_b.name == MyEnum.choi...
139
426
package com.richardradics.commons.listeners; import android.util.Log; import android.view.View; import android.widget.AdapterView; /** * Created by <NAME> on 2015.02.11.. */ public class OnItemSelectedListenerWrapper implements AdapterView.OnItemSelectedListener { private int lastPosition; private AdapterV...
512
451
<filename>src/AMD/amd_demo_1.cpp /* ========================================================================= */ /* === AMD demo main program =============================================== */ /* ========================================================================= */ /* -------------------------------------------...
3,882
436
<filename>core/src/main/java/com/schibsted/spt/data/jslt/impl/FailDotExpression.java // Copyright 2018 Schibsted Marketplaces Products & Technology As // // 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 th...
455
897
// check whether a number is Prime or not with recursion import java.util.Scanner; class PrimeRecursion { public static int prime(int n,int div) { if(div<n) { if(n%div!=0) prime(n,div+1); else return 0; } return 1; } public static void...
357
675
<reponame>RMaron/mlpack<filename>src/mlpack/methods/kmeans/kmeans_impl.hpp /** * @file kmeans_impl.hpp * @author <NAME> (<EMAIL>) * @author <NAME> * * Implementation for the K-means method for getting an initial point. * * mlpack is free software; you may redistribute it and/or modify it under the * terms of th...
4,467
746
<filename>libs/mrwebrtc/test/pch.h // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #pragma once #include <SDKDDKVer.h> #include <cassert> #include <condition_variable> #include <functional> #include <mutex> using namespace std::chrono_literals; #if defined(MR_SHARING_WIN) #define WEBRTC...
389
363
// Copyright (c) Improbable Worlds Ltd, All Rights Reserved #pragma once #include "SpatialCommonTypes.h" #include "Utils/SpatialStatics.h" #include <WorkerSDK/improbable/c_schema.h> #include <WorkerSDK/improbable/c_worker.h> DECLARE_LOG_CATEGORY_EXTERN(LogEntityFactory, Log, All); class AActor; class USpatialAct...
459
912
<filename>KsyunPlayerDemo/newplayerdemo/src/main/java/com/ksyun/player/now/utils/Ids.java package com.ksyun.player.now.utils; public class Ids { public static int playingId; public static String PLAY_URL = "playUrl"; public static String PLAY_ID = "playingId"; public static String VIDEO_LIST = "vid...
116
1,991
import mxnet as mx import numpy as np from rcnn.config import config def get_rpn_names(): pred = ['rpn_cls_prob', 'rpn_bbox_loss'] label = ['rpn_label', 'rpn_bbox_target', 'rpn_bbox_weight'] return pred, label def get_rcnn_names(): pred = ['rcnn_cls_prob', 'rcnn_bbox_loss'] label = ['rcnn_label',...
4,386
4,261
<reponame>dralley/rq # -*- coding: utf-8 -*- from __future__ import (absolute_import, division, print_function, unicode_literals) def register_sentry(sentry_dsn, **opts): """Given a Raven client and an RQ worker, registers exception handlers with the worker so exceptions are logged to ...
191
13,648
@micropython.viper def f1c(x: int) -> int: return x @micropython.native def call(r): f = f1c for _ in r: f(1) bm_params = { (50, 10): (15000,), (100, 10): (30000,), (1000, 10): (300000,), (5000, 10): (1500000,), } def bm_setup(params): return lambda: call(range(params[0])),...
174
375
/* * Copyright 2021 Automate The Planet Ltd. * Author: <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 la...
547
908
<filename>node_modules/lookup-closest-locale/package.json<gh_stars>100-1000 { "name": "lookup-closest-locale", "version": "6.0.4", "description": "Lookup the closest locale from among object keys", "author": "<NAME> <<EMAIL>>", "homepage": "https://github.com/format-message/format-message/tree/master/packages...
217
1,461
package com.dubboclub.dk.admin.service.impl; import com.alibaba.dubbo.common.Constants; import com.alibaba.dubbo.common.URL; import com.alibaba.dubbo.common.utils.StringUtils; import com.dubboclub.dk.admin.model.Override; import com.dubboclub.dk.admin.model.Provider; import com.dubboclub.dk.admin.service.AbstractServi...
3,737
730
<reponame>mparadinha/zig<gh_stars>100-1000 #include <stdlib.h> void free(void *p) { __libc_free(p); }
52
2,023
<filename>recipes/Python/576640_Prime_Number_Generator/recipe-576640.py<gh_stars>1000+ #!/usr/bin/env python def prime(n): """ Generate all prime numbers less than n. """ yield 2 primes = [] for m in range(3,n,2): if all(m%p for p in primes): primes.append(m) yield m def main(): print list(prime(1000))...
198
1,467
/* * 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/apache2.0 * * or in the "license" file ...
1,705
6,717
<filename>deps/3rdparty/libdispatch/platform/windows/sys/mount.h #ifndef PLATFORM_WINDOWS_SYS_MOUNT__H #define PLATFORM_WINDOWS_SYS_MOUNT__H #define VQ_NOTRESP 0x0001 /* server down */ #define VQ_NEEDAUTH 0x0002 /* server bad auth */ #define VQ_LOWDISK 0x0004 /* we're low on space */ #define VQ_MOUNT ...
423
824
<gh_stars>100-1000 from pfrl.q_functions.dueling_dqn import * # NOQA from pfrl.q_functions.state_action_q_functions import * # NOQA from pfrl.q_functions.state_q_functions import * # NOQA
82
852
<gh_stars>100-1000 // system include files #include <memory> // user include files #include "FWCore/Framework/interface/Frameworkfwd.h" #include "FWCore/Framework/interface/EDFilter.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/MakerMacros.h" #include "FWCore/ParameterSet/interf...
459
666
// // QIYIContainer.h // QIYIMiniProgram // // Created by Breakerror on 2018/2/28. // Copyright © 2018年 Breakerror. All rights reserved. // #import "QIYIInct.h" #import "QIYIAsset.h" #import "QIYIMainifest.h" #import "QIYIContainerHandler.h" #import "QIYIWebview.h" @interface QIYIContainer: UIView @property(nonato...
266
305
<filename>books/kestrel/c/atc/tests/locvars-test.c<gh_stars>100-1000 #include <stdio.h> void f_test(int x, int y) { int r = f(x, y); printf("f(%d, %d) = %d\n", x, y, r); } void g_test(int x, int y) { int r = g(x, y); printf("g(%d, %d) = %d\n", x, y, r); } void h_test(int x, int y) { int r = h(x, y); prin...
235
713
class Solution(object): def fullJustify(self, words, maxWidth): """ :type words: List[str] :type maxWidth: int :rtype: List[str] """ n = len(words) L = maxWidth currentWordIdx = 0 # the index of the current word ans = [] while...
1,386
1,867
package net.glowstone.block.itemtype; import net.glowstone.block.GlowBlock; import net.glowstone.entity.GlowPlayer; import net.glowstone.entity.passive.GlowFirework; import net.glowstone.util.InventoryUtil; import org.bukkit.GameMode; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.block.Bloc...
758
1,090
<gh_stars>1000+ package com.uber.okbuck.example.javalib; import com.google.gson.GsonBuilder; public class DummyJavaClass { public String getJavaWord() { String mock = "{\"lang\":\"Java\"}"; final String mock2 = "Mock string from DummyJavaClass"; new Thread(() -> System.out.println(mock2 + " 1")).start()...
238
5,169
{ "name": "Swoxy", "version": "0.1.8", "summary": "Swoxy.", "description": "Swoxy MVP helper", "homepage": "https://github.com/iagapie/Swoxy", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "<NAME>": "<EMAIL>" }, "source": { "git": "https://github.com/iagapie/Swoxy.git...
202
526
<reponame>rychagova/egeria<gh_stars>100-1000 /* SPDX-License-Identifier: Apache 2.0 */ /* Copyright Contributors to the ODPi Egeria project. */ /** * This package contains the clients for configuring and managing governed assets. */ package org.odpi.openmetadata.accessservices.securityofficer.client;
90
13,846
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. HRESULT CheckInstallToSharedConfig( IN MSIHANDLE hInstall, BOOL * pbShouldInstall );
90
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 ...
2,237
335
<filename>O/Outweigh_verb.json<gh_stars>100-1000 { "word": "Outweigh", "definitions": [ "Be heavier, greater, or more significant than." ], "parts-of-speech": "Verb" }
84
696
<gh_stars>100-1000 /* * Copyright (C) 2016 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.strata.pricer.fxopt; import java.io.Serializable; import org.joda.convert.FromString; import com.opengamma.strata.collect.ArgChecker; impor...
471
2,659
<filename>test-common/integrationtest/testcase/test_scan.py #!/usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2021 4Paradigm # # 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 # # htt...
2,821
382
<reponame>foxmask/joplin-web<gh_stars>100-1000 """ Django settings for joplin_web project. Generated by 'django-admin startproject' using Django 3.1.2. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.django...
2,525
190,993
/* Copyright 2017 The TensorFlow 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 a...
596
1,253
# The fibonacci series grows very fast by each successive term. # This program can calculate the last digit of very large terms of the fibonacci series by using the property of pisano periods. # We use the following definition for fibonacci: 0th term - 0, 1st term - 1, 2nd term - 1, 3rd term - 2, and so on # create a...
440
32,544
package com.baeldung.ddd.order.doubledispatch.visitor; import com.baeldung.ddd.order.doubledispatch.Order; import com.baeldung.ddd.order.doubledispatch.SpecialOrder; public class HtmlOrderViewCreator implements OrderVisitor { private String html; public String getHtml() { return html; } ...
252
1,130
/* Copyright (c) 2014, <NAME> 2-clause BSD license. */ #ifndef __SIGNAL_H #define __SIGNAL_H typedef int sig_atomic_t; #define SIG_DFL ((void(*)(int))0) #define SIG_ERR ((void(*)(int))-1) #define SIG_IGN ((void(*)(int))1) #define SIGINT 2 #define SIGILL 4 #define SIGABRT 6 #define SIGFPE 8 #define SIGSEGV 11 ...
172
593
/** * TLS-Attacker - A Modular Penetration Testing Framework for TLS * * Copyright 2014-2022 Ruhr University Bochum, Paderborn University, Hackmanit GmbH * * Licensed under Apache License, Version 2.0 * http://www.apache.org/licenses/LICENSE-2.0.txt */ package de.rub.nds.tlsattacker.core.protocol; import de.ru...
296
3,442
<reponame>wcicola/jitsi /* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Copyright @ 2015 Atlassian Pty 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 * * ...
1,013
425
<gh_stars>100-1000 {"Sections":[{"Errors":[],"SectionType":"newEntitySection","Id":"newEntitySection_LeaveModifiers(interchangeable)","Body":"","Name":"LeaveModifiers(interchangeable)","Type":"phraselist","ListBody":["\t- Change,cancel,replace,edit,remove,modify,delete,alter,change,drop"],"Range":{"Start":{"Line":2,"Ch...
628
2,677
<reponame>FivemStorescripts/OctoLinker // @OctoLinkerResolve(https://docs.oracle.com/javase/9/docs/api/java/util/List.html) import java.util.List; // @OctoLinkerResolve(http://fasterxml.github.io/jackson-databind/javadoc/2.9/com/fasterxml/jackson/databind/JsonNode.html) import com.fasterxml.jackson.databind.JsonNode; ...
195
809
<reponame>orangeyts/lenskit /* * LensKit, an open-source toolkit for recommender systems. * Copyright 2014-2017 LensKit contributors (see CONTRIBUTORS.md) * Copyright 2010-2014 Regents of the University of Minnesota * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this softwar...
1,152
1,038
<gh_stars>1000+ package org.dataalgorithms.chapB12.docwordcount.util; import scala.Tuple2; import java.util.Comparator; import java.io.Serializable; /** * The FrequencyComparator class enable us to compare * two Tuple2<Integer, String> objects based on the * first Tuple2 argument. * * @author <NAME> * */ pub...
223
317
<gh_stars>100-1000 /* $Id$ *====================================================================== * * DISCLAIMER * * This material was prepared as an account of work sponsored by an * agency of the United States Government. Neither the United States * Government nor the United States Department of Energy, nor...
1,859
488
<gh_stars>100-1000 int main(int argc, char **argv) { int i = 1, j = 2; int array[2][3][4]; void *p = j[array[i]]+1; }
77
364
<gh_stars>100-1000 package com.linkedin.dagli.dag; import com.linkedin.dagli.placeholder.Placeholder; import com.linkedin.dagli.producer.ChildProducer; import com.linkedin.dagli.producer.Producer; import com.linkedin.dagli.producer.RootProducer; import com.linkedin.dagli.util.invariant.Arguments; import com.linkedin.d...
3,499
756
<filename>src/communication/identifiable.h // Copyright (C) 2020 <NAME>, <NAME> // // 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...
694
416
// // PHPhotoLibrary.h // Photos // // Copyright (c) 2013 Apple Inc. All rights reserved. // #import <Foundation/Foundation.h> #import <Photos/PhotosDefines.h> NS_ASSUME_NONNULL_BEGIN @class PHChange; typedef NS_ENUM(NSInteger, PHAuthorizationStatus) { PHAuthorizationStatusNotDetermined = 0, // User has not ...
795
542
{ "generated": [ ".gitignore", ".repo-metadata.json", ".rubocop.yml", ".yardopts", ".yardopts-cloudrad", "AUTHENTICATION.md", "CHANGELOG.md", "Gemfile", "LICENSE.md", "README.md", "Rakefile", "gapic_metadata.json", "google-cloud-gke_hub-v1beta1.gemspec", "lib/go...
835
1,700
<gh_stars>1000+ // Copyright 2009-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 #include "parallel_any_of.cpp" #include "parallel_filter.cpp" #include "parallel_for.cpp" #include "parallel_for_for.cpp" #include "parallel_for_for_prefix_sum.cpp" #include "parallel_map.cpp" #include "parallel_partition.c...
168
1,717
<filename>src/main/java/com/fasterxml/jackson/core/JsonProcessingException.java /* Jackson JSON-processor. * * Copyright (c) 2007- <NAME>, <EMAIL> */ package com.fasterxml.jackson.core; /** * Intermediate base class for all problems encountered when * processing (parsing, generating) JSON content * that are not...
1,623
5,169
<gh_stars>1000+ { "name": "KarteDetectors", "version": "2.0.0", "summary": "KARTE Detectors SDK", "homepage": "https://karte.io", "authors": { "PLAID": "<EMAIL>" }, "social_media_url": "https://twitter.com/karte_io", "documentation_url": "https://developers.karte.io/docs/ios-sdk", "license": { ...
292
373
<filename>Silicon/Intel/PurleyRefreshSiliconPkg/Pch/Library/PeiPchPolicyLib/PeiPchPolicyLib.c /** @file Copyright (c) 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "PeiPchPolicyLibrary.h" #include <Library/PchPmcLib.h> /** mDevIntConfig[] table contain...
10,699
613
<reponame>Guzlan/BackgroundVideo-iOS // // ViewController.h // BackgroundVideoDemo // // Created by <NAME> on 2016-06-26. // Copyright © 2016 backgroundVideo. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
90
4,587
#ifndef JEMALLOC_INTERNAL_PROF_INLINES_B_H #define JEMALLOC_INTERNAL_PROF_INLINES_B_H #include "jemalloc/internal/sz.h" JEMALLOC_ALWAYS_INLINE bool prof_active_get_unlocked(void) { /* * Even if opt_prof is true, sampling can be temporarily disabled by * setting prof_active to false. No locking is used when read...
2,517
1,002
<reponame>cecemel/fortune { "GenericError": "An internal error occurred.", "MalformedRequest": "The request was malformed.", "InvalidBody": "The request body is invalid.", "SerializerNotFound": "The serializer for \"{id}\" does not exist.", "InputOnly": "Input only.", "InvalidID": "An ID is invalid.", "Da...
742
765
<reponame>medismailben/llvm-project<gh_stars>100-1000 #include <stdio.h> #include <stdexcept> int twelve(int i) { return 12 + i; // break 12 } int thirteen(int i) { return 13 + i; // break 13 } namespace a { int fourteen(int i) { return 14 + i; // break 14 } } int main(int argc, char const *argv[]) { f...
228
1,405
package android.support.v4.widget; import android.database.Cursor; import android.widget.Filter; /* loaded from: classes.dex */ class CursorFilter extends Filter { CursorFilterClient mClient; /* loaded from: classes.dex */ interface CursorFilterClient { void changeCursor(Cursor cursor); C...
604
341
import org.openqa.selenium.By; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.chrome.ChromeDriver; import org.testng.Assert; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; import...
1,199
6,210
/* * 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 ...
904
400
package org.ofdrw.core.crypto.encryt; import org.dom4j.Element; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import org.ofdrw.core.OFDElement; import java.util.List; /** * 未加密的名密文映射表文件数据结构 * <p> * GMT0099 附录C 图C.3 * * @author 权观宇 * @since 2021-07-15 19:14:42 */ public c...
1,456
514
<gh_stars>100-1000 #include "util/camera.hpp" #include "util/log.hpp" #include "util/std.hpp" #include "gfx/program.hpp" using namespace util; void Camera::update(const glm::mat4 &view) { // empty, override-able in subclasses } void Camera::set_uniforms(const std::string &prefix, gfx::Program &p) { auto ...
1,514
364
<reponame>KejiaChen/assembly from setuptools import find_packages, setup setup( name="furniture", version="0.2", author="<NAME>", author_email="<EMAIL>", description="IKEA furniture assembly environment", packages=find_packages(), install_requires=[ "numpy", "scipy", ...
358
411
/* * 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,608