max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
1,350
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. package com.azure.cosmos; import org.testng.annotations.DataProvider; import org.testng.annotations.Test; import static org.assertj.core.api.Assertions.assertThat; public class ConsistencyLevelTest { @Test(groups = ...
736
19,438
/* * Copyright (c) 2020, <NAME> <<EMAIL>> * Copyright (c) 2021, <NAME> <<EMAIL>> * Copyright (c) 2021, <NAME> <<EMAIL>> * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include <LibGUI/Frame.h> #include <LibGfx/Bitmap.h> #include <LibGfx/Filters/ColorBlindnessFilter.h> #include <LibGfx/Palette.h> nam...
873
375
<reponame>Hengle/FbxExporter #pragma once #include "muSIMDConfig.h" namespace mu { #ifdef muEnableHalf void FloatToHalf(half *dst, const float *src, size_t num); void HalfToFloat(float *dst, const half *src, size_t num); #endif // muEnableHalf void InvertX(float3 *dst, size_t num); void InvertX(float4 *ds...
4,108
678
<gh_stars>100-1000 #import "WBBaseViewController.h" @interface WBSettingViewController : WBBaseViewController @end
38
16,831
{ "transport": { "beacon": false, "xhrpost": false, "image": true }, "vars": { "account": "TEALIUM_ACCOUNT", "profile": "TEALIUM_PROFILE", "datasource": "TEALIUM_DATASOURCE", "visitor_id": "CLIENT_ID(AMP_ECID_GOOGLE,,_ga)" }, "requests": { "host": "https://collect.tealiumiq.com...
603
3,937
// Copyright (c) 2003-present, Jodd Team (http://jodd.org) // 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, // th...
1,560
406
<gh_stars>100-1000 /* * The MIT License (MIT) * * Copyright (c) 2007-2015 Broad Institute * * 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 limit...
2,476
371
<filename>neural_networks/rnn_margin.py from __future__ import print_function import numpy as np import theano import theano.tensor as T import lasagne import cPickle import random from time import time import rnn_base as rnn from sparse_lstm import * class RNNMargin(rnn.RNNBase): ''' OPTIONS ------- balance: fl...
2,373
839
#include <hvpp/hypervisor.h> #include <hvpp/lib/driver.h> #include <hvpp/lib/assert.h> #include <hvpp/lib/log.h> #include <hvpp/lib/mm.h> #include <hvpp/lib/mp.h> #include "vmexit_custom.h" #include "device_custom.h" #include <cinttypes> using namespace ia32; using namespace hvpp; namespace driver { // // Crea...
1,066
6,210
<reponame>chienfuchen32/cassandra<gh_stars>1000+ /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apa...
586
628
# -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2019-06-27 20:29 from __future__ import unicode_literals from django.db import migrations import osf.utils.fields class Migration(migrations.Migration): dependencies = [ ('osf', '0187_remove_outdated_contributor_permissions'), ] operation...
604
515
<reponame>kraehlit/CTK /*========================================================================= Library: CTK Copyright (c) Kitware 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 ...
1,234
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. #ifndef ANDROID_WEBVIEW_BROWSER_COMPONENT_UPDATER_REGISTRATION_H_ #define ANDROID_WEBVIEW_BROWSER_COMPONENT_UPDATER_REGISTRATION_H_ #include "components/...
222
348
<gh_stars>100-1000 {"nom":"Saint-Méard","circ":"1ère circonscription","dpt":"Haute-Vienne","inscrits":280,"abs":108,"votants":172,"blancs":8,"nuls":1,"exp":163,"res":[{"nuance":"REM","nom":"Mme <NAME>","voix":47},{"nuance":"FI","nom":"Mme <NAME>","voix":24},{"nuance":"SOC","nom":"<NAME>","voix":23},{"nuance":"LR","nom"...
279
3,401
# -*- coding: utf-8 -*- # website: http://30daydo.com # @Time : 2020/2/20 17:06 # @File : etf_info.py # 获取etf的成分股数据 # 重构 2021-01-21 import datetime import pymongo import re import requests import sys from parsel.selector import Selector from sqlalchemy.orm import sessionmaker from loguru import logger sys.path.append...
6,120
1,350
<gh_stars>1000+ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.databoxedge.implementation; import com.azure.resourcemanager.databoxedge.fluent.models.OrderInner; import com.az...
983
520
# Unless explicitly stated otherwise all files in this repository are licensed under the BSD-3-Clause License. # This product includes software developed at Datadog (https://www.datadoghq.com/). # Copyright 2015-Present Datadog, Inc # stdlib import json # datadog from datadog import api from datadog.dogshell.common im...
742
314
<gh_stars>100-1000 // Copyright (c) 2011, <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 l...
2,540
1,144
<gh_stars>1000+ // Generated Model - DO NOT CHANGE package de.metas.handlingunits.model; import java.sql.ResultSet; import java.util.Properties; import javax.annotation.Nullable; /** Generated Model for EDI_M_HU_PI_Item_Product_Lookup_UPC_v * @author metasfresh (generated) */ @SuppressWarnings("unused") public cl...
762
348
<filename>docs/data/leg-t2/011/01101152.json {"nom":"Fontjoncouse","circ":"1ère circonscription","dpt":"Aude","inscrits":104,"abs":56,"votants":48,"blancs":7,"nuls":1,"exp":40,"res":[{"nuance":"REM","nom":"<NAME>","voix":31},{"nuance":"FN","nom":"<NAME>","voix":9}]}
108
343
<reponame>edamato/go-graphviz /* $Id$ $Revision$ */ /* vim:set shiftwidth=4 ts=8: */ /** * \brief A block structure defined over the variables * * A block structure defined over the variables such that each block contains * 1 or more variables, with the invariant that all constraints inside a block * are satisfie...
561
1,457
// // S1Arpeggiator.hpp // AudioKitSynthOne // // Created by AudioKit Contributors on 3/06/19. // Copyright © 2019 AudioKit. All rights reserved. // #import "S1AudioUnit.h" #import "S1SeqNoteNumber.hpp" #include <vector> template<typename SeqNoteNumbers, typename NoteNumbers> struct Arpeggiator { Arpeggiator...
1,008
1,056
<filename>ide/css.editor/src/org/netbeans/modules/css/editor/module/ModulesPropertyDefinitionProvider.java /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright owne...
673
323
<reponame>vkhodygo/parsl import argparse import os import pytest import parsl from parsl.app.app import bash_app import parsl.app.errors as pe from parsl.tests.configs.local_threads import config local_config = config @bash_app def command_not_found(stderr='std.err', stdout='std.out'): cmd_line = 'catdogcat...
3,232
2,220
import pytest from qstrader.utils.console import GREEN, BLUE, CYAN, string_colour @pytest.mark.parametrize( "text,colour,expected", [ ('green colour', GREEN, "\x1b[1;32mgreen colour\x1b[0m"), ('blue colour', BLUE, "\x1b[1;34mblue colour\x1b[0m"), ('cyan colour', CYAN, "\x1b[1;36mcyan ...
230
8,969
<reponame>domesticmouse/sdk // Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. #include "vm/compiler/backend/inliner.h" #include "vm/compiler/backend/il....
3,020
1,590
/* * Tests for Simd Library (http://ermig1979.github.io/Simd). * * Copyright (c) 2011-2018 <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 with...
3,185
2,160
# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). import os import shutil import subprocess import sys from pex.pex_info import PexInfo from pex.testing import run_pex_command from pex.typing import TYPE_CHECKING from pex.variables import...
455
1,024
<reponame>mmg-3/commafeed<filename>src/main/java/com/commafeed/backend/feed/FeedRefreshContext.java package com.commafeed.backend.feed; import java.util.List; import lombok.Getter; import lombok.Setter; import com.commafeed.backend.model.Feed; import com.commafeed.backend.model.FeedEntry; @Getter @Setter...
218
1,205
<reponame>iamreallyi9/cd #!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. import os from os.path import join as pjoin import wget from zipfile import ZipFile def get_model_from_url( url: str, local_path: str, is_zip: bool = False, path_root: str = "checkpoints" ) -> str: local_path =...
446
315
<filename>drybell/drybell_dask.py<gh_stars>100-1000 import logging import dask.dataframe as dd from snorkel.labeling.model import LabelModel from snorkel.labeling.apply.dask import DaskLFApplier from drybell_lfs import article_mentions_person, body_contains_fortune, person_in_db logging.basicConfig(level=logging.INF...
493
892
{ "schema_version": "1.2.0", "id": "GHSA-pgw2-4cf2-2hqc", "modified": "2022-04-29T01:27:23Z", "published": "2022-04-29T01:27:23Z", "aliases": [ "CVE-2003-1039" ], "details": "Multiple buffer overflows in the mySAP.com architecture for SAP allow remote attackers to execute arbitrary code via a long HTT...
403
3,428
{"id":"02452","group":"easy-ham-1","checksum":{"type":"MD5","value":"22e8f668f27122f74442cd887a02be07"},"text":"From <EMAIL> Mon Dec 2 11:20:12 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: yyyy<EMAIL>.spamassassin.taint.org\nReceived: from localhost (jalapeno [127.0.0.1])\n\tby jmason.org (Postfix) with ESMTP id 54BAA...
1,199
1,401
package com.github.jvmgo.instructions.stores; import com.github.jvmgo.instructions.base.Index8Instruction; import com.github.jvmgo.rtda.Frame; public class istore extends Index8Instruction { @Override public int getOpCode() { return 0x36; } @Override public void execute(Frame frame) { ...
169
1,244
#include <sys/stat.h> #include "syscall.h" int utimensat(int fd, const char *path, const struct timespec times[2], int flags) { return syscall(SYS_utimensat, fd, path, times, flags); }
73
995
package zemberek.core.quantization; import com.google.common.primitives.Ints; import java.util.Arrays; import java.util.HashMap; import java.util.Map; import java.util.Random; import zemberek.core.math.DoubleArrays; /** * This applies a k-means like algorithm to the data points for quantization. It randomly chooses ...
1,863
3,212
/* * 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 ...
829
453
#include "syscall.h" #include "sysfuncs.h" #include <kernel/interrupts/interrupts.h> #include <kernel/drivers/terminal/terminal.h> #include <kernel/drivers/pit/pit.h> #include <kernel/multitasking//tasks/task.h> #include <std/array_m.h> #define MAX_SYSCALLS 128 static int syscall_handler(register_state_t* regs); arr...
725
348
{"nom":"<NAME>","circ":"4ème circonscription","dpt":"Yvelines","inscrits":3078,"abs":1636,"votants":1442,"blancs":14,"nuls":6,"exp":1422,"res":[{"nuance":"REM","nom":"Mme <NAME>","voix":692},{"nuance":"LR","nom":"<NAME>","voix":297},{"nuance":"FI","nom":"Mme <NAME>","voix":114},{"nuance":"FN","nom":"Mme <NAME>","voix":...
332
348
{"nom":"Algrange","circ":"8ème circonscription","dpt":"Moselle","inscrits":4395,"abs":2806,"votants":1589,"blancs":26,"nuls":2,"exp":1561,"res":[{"nuance":"FN","nom":"<NAME>","voix":379},{"nuance":"MDM","nom":"<NAME>","voix":369},{"nuance":"COM","nom":"M. <NAME>","voix":326},{"nuance":"SOC","nom":"Mme <NAME>","voix":18...
298
862
<reponame>harryfallows/atlasdb /* * (c) Copyright 2019 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/lic...
2,029
984
//+--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (c) Microsoft Corporation. All rights reserved. // // File: coml2api.h // // Contents: Structured storage, property sets, and related APIs. // //-----------------------------------------------...
2,989
471
<reponame>nipun-gupta-e3183/jesque package net.greghaines.jesque.meta; import java.util.Arrays; import java.util.Date; import java.util.List; import net.greghaines.jesque.WorkerStatus; import net.greghaines.jesque.meta.WorkerInfo.State; import org.junit.Assert; import org.junit.Test; public class TestWorkerInfo { ...
1,545
862
package com.palantir.atlasdb.schema.stream.generated; import java.util.Arrays; import java.util.Collection; import java.util.EnumSet; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Objects; import java.util.Optional; import...
12,762
1,392
<filename>src/main/java/io/fabric8/maven/docker/access/VolumeCreateConfig.java package io.fabric8.maven.docker.access; import com.google.gson.JsonObject; import java.util.Map; import io.fabric8.maven.docker.util.JsonFactory; public class VolumeCreateConfig { private final JsonObject createConfig = new JsonObjec...
656
325
//aro-args -E #define REC_EMPTY #define REC_DEFER(op) op REC_EMPTY #define REC_0_HOOK() REC_0 #define REC_1 REC_DEFER(REC_0_HOOK)() REC_1
68
334
<reponame>suomitekai/fairing import pytest import random from kubeflow import fairing import httplib2 from google.cloud import storage GCS_PROJECT_ID = fairing.cloud.gcp.guess_project_name() TEST_GCS_BUCKET = '{}-fairing'.format(GCS_PROJECT_ID) @pytest.fixture def temp_gcs_prefix(): rnd_prefix = "fairing_test_as...
528
2,151
<gh_stars>1000+ /* * Copyright (C) 2006 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...
1,663
5,169
{ "name": "CLUberClient", "version": "0.0.1", "summary": "Wrapper around NSURLSession to access the Uber REST API", "description": "This is a very simple iOS Objective-C wrapper around NSURLSession\nfor use in accessing the Uber RESTful API:\n\nhttps://developer.uber.com/docs/api-overview\n\nSo far the only cal...
341
488
/* * Test Name: fstat03 * * Test Description: * Verify that, fstat(2) returns -1 and sets errno to EBADF if the file * pointed to by file descriptor is not valid. * * Expected Result: * fstat() should fail with return value -1 and set expected errno. * * Algorithm: * Setup: * Setup signal handling. ...
1,840
466
package com.gykj.zhumulangma.home.activity; import android.view.View; import androidx.databinding.DataBindingUtil; import androidx.lifecycle.ViewModelProvider; import androidx.recyclerview.widget.LinearLayoutManager; import com.alibaba.android.arouter.facade.annotation.Autowired; import com.alibaba.android.arouter....
2,588
3,964
<gh_stars>1000+ from stream_framework.feeds.aggregated_feed.base import AggregatedFeed from stream_framework.storage.redis.activity_storage import RedisActivityStorage from stream_framework.storage.redis.timeline_storage import RedisTimelineStorage from stream_framework.serializers.aggregated_activity_serializer import...
181
373
<reponame>iplo/Chain // 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.content_public.browser; /** * The WebContents Java wrapper to allow communicating with the native WebContents ...
134
625
/** * Copyright (c) 2001, <NAME> * All rights reserved. * <br> * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * <br> * - Redistributions of source code must retain the above copyright notice, * this list of condi...
1,575
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 ...
5,639
782
/* * Copyright (c) 2021, <NAME>. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.org). * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org...
5,005
2,903
<reponame>seamhhp/redis-manager<gh_stars>1000+ package com.newegg.ec.redis.util; import com.alibaba.fastjson.JSONObject; import java.util.Collections; import java.util.List; /** * @author kz37 * @date 2018/10/20 */ public class ListSortUtil { /** * List<List<String>> * @param sort 排序的List * @...
715
9,516
/*! * Copyright (c) 2019 by Contributors * \file msg_queue.cc * \brief Message queue for DGL distributed training. */ #include <dmlc/logging.h> #include <cstring> #include "msg_queue.h" namespace dgl { namespace network { using std::string; MessageQueue::MessageQueue(int64_t queue_size, int num_producers) { ...
1,033
1,664
<reponame>likenamehaojie/Apache-Ambari-ZH /* * 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 Lic...
2,104
4,772
<reponame>fjacobs/spring-data-examples package example.repo; import example.model.Customer273; import java.util.List; import org.springframework.data.repository.CrudRepository; public interface Customer273Repository extends CrudRepository<Customer273, Long> { List<Customer273> findByLastName(String lastName); }
99
488
<reponame>maurizioabba/rose<gh_stars>100-1000 // 7.3.4c.cc asm("collectLookupResults i=9 i=9 j=14"); namespace A { int i; // line 6 } namespace B { int i; // line 9 int j; // line 10 namespace C { namespace D { using namespace A...
476
880
/** * Copyright 2019 <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 law or agreed to in wr...
3,181
2,960
#include <bits/stdc++.h> using namespace std; class Solution { public: void rotate(vector<int>& nums, int k) { k %= nums.size(); reverse(nums.begin(), nums.end() - k); reverse(nums.end() - k, nums.end()); reverse(nums.begin(), nums.end()); } };
134
22,040
<filename>spacy/tests/tokenizer/test_explain.py import pytest import re from spacy.util import get_lang_class from spacy.tokenizer import Tokenizer # Only include languages with no external dependencies # "is" seems to confuse importlib, so we're also excluding it for now # excluded: ja, ru, th, uk, vi, zh, is LANGUAG...
1,333
3,428
{"id":"00578","group":"easy-ham-2","checksum":{"type":"MD5","value":"9c1b9956370b439f73cb2073037661fb"},"text":"From <EMAIL> Wed Aug 7 00:10:34 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: y<EMAIL>.netnoteinc.com\nReceived: from localhost (localhost [127.0.0.1])\n\tby phobos.labs.netnoteinc.com (Postfix) with ESMTP id...
1,432
578
/* * Copyright (c) Facebook, Inc. and 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 * * Unless required by applic...
918
454
package cn.vertxup.jet.api; import io.vertx.core.Future; import io.vertx.core.json.JsonObject; import io.vertx.tp.jet.cv.JtAddr; import io.vertx.up.annotations.Address; import io.vertx.up.annotations.Queue; import io.vertx.up.runtime.soul.UriAeon; /** * @author <a href="http://www.origin-x.cn">Lang</a> */ @Queue pu...
231
348
<reponame>chamberone/Leaflet.PixiOverlay<filename>docs/data/leg-t1/056/05606083.json {"nom":"Hennebont","circ":"6ème circonscription","dpt":"Morbihan","inscrits":11743,"abs":5544,"votants":6199,"blancs":96,"nuls":43,"exp":6060,"res":[{"nuance":"REM","nom":"<NAME>","voix":2509},{"nuance":"FI","nom":"<NAME>","voix":880},...
311
9,472
<gh_stars>1000+ from .route import Route, RouteNotFoundException from .cmatcher import Matcher class Router: def __init__(self, matcher_factory=Matcher): self._routes = [] self.matcher_factory = matcher_factory def add_route(self, pattern, handler, method=None, methods=None): assert n...
291
2,329
package fields; public class Ya002 { static int j; // made static }
23
3,428
<filename>lib/node_modules/@stdlib/datasets/spam-assassin/data/easy-ham-1/00567.aa0b1a5ccd63ce58ca09389b7dd7a5aa.json {"id":"00567","group":"easy-ham-1","checksum":{"type":"MD5","value":"aa0b1a5ccd63ce58ca09389b7dd7a5aa"},"text":"From <EMAIL> Thu Sep 12 13:39:44 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: y<EMAIL>.spa...
1,495
363
package cn.sddman.download.activity; import android.os.Bundle; import android.view.View; import android.widget.EditText; import com.xunlei.downloadlib.XLTaskHelper; import org.xutils.view.annotation.ContentView; import org.xutils.view.annotation.Event; import org.xutils.view.annotation.ViewInject; import cn.sddman.d...
606
369
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #include "SwitchConfirmation.hpp" namespace app::manager { SwitchConfirmation::SwitchConfirmation(const ApplicationName &sender) : BaseMessage(MessageType::APMConfirmSwitc...
125
495
<reponame>marlon-br/media-for-mobile<filename>domain/src/test/java/org/m4m/domain/mediaComposer/AndroidMediaObjectFactoryFake.java /* * 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 m...
3,714
2,107
/* NetHack 3.6 windefs.h $NHDT-Date: 1432512795 2015/05/25 00:13:15 $ $NHDT-Branch: master $:$NHDT-Revision: 1.7 $ */ /* Copyright (c) <NAME>, Naperville, Illinois, 1991,1992,1993. */ /* NetHack may be freely redistributed. See license for details. */ #include <exec/types.h> #include <exec/memory.h> #include <exec/...
1,937
5,169
<reponame>Ray0218/Specs { "name": "ImageSlideshow", "version": "0.2.3", "summary": "Image slideshow written in Swift with circular scrolling, timer and full screen viewer", "description": "Image slideshow is a Swift library providing customizable image slideshow with circular scrolling, timer and full screen vi...
550
16,989
<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 copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless ...
548
2,453
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 30 2020 21:18:12). // // Copyright (C) 1997-2019 <NAME>. // #import <IDEKit/IDETestReport_Base-Protocol.h> #import <IDEKit/NSObject-Protocol.h> @class NSArray, NSString; @protocol IDETestReport_TestGroup <NSObject, IDETestReport_Base> - (NSA...
303
6,717
<filename>tools/AppInsights/src/core/contracts/PageViewData.h #ifndef PAGEVIEWDATA_H #define PAGEVIEWDATA_H #include "../common/Common.h" #include "../common/JsonWriter.h" #include "../common/Nullable.h" #include "../common/Serializer.h" #include "EventData.h" #include <map> #include <string> #include <vector> namesp...
349
3,937
// Copyright (c) 2003-present, Jodd Team (http://jodd.org) // 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, // th...
1,018
6,989
#pragma once #include <util/generic/ptr.h> #include <util/stream/output.h> #include <util/system/atomic.h> #include <util/system/atomic_ops.h> namespace NNeh { class TStatCollector; /// NEH service workability statistics collector. /// /// Disabled by default, use `TServiceStat::ConfigureValidator` t...
1,157
10,225
package io.quarkus.it.spring.web; import org.springframework.stereotype.Service; @Service public class GreetingService { public Greeting greet(String message) { return new Greeting(message); } }
77
507
# terrascript/resource/newrelic.py # Automatically generated by tools/makecode.py (24-Sep-2021 15:22:33 UTC) # # For imports without namespace, e.g. # # >>> import terrascript.resource.newrelic # # instead of # # >>> import terrascript.resource.newrelic.newrelic # # This is only available for 'official' and 'partne...
129
734
<filename>language-support/ts/typedoc.bzl # Copyright (c) 2021 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved. # SPDX-License-Identifier: Apache-2.0 load("@os_info//:os_info.bzl", "is_windows") load("@build_environment//:configuration.bzl", "sdk_version") def ts_docs(pkg_name): "Macro...
515
790
<filename>tests/requests/__init__.py<gh_stars>100-1000 """ Tests for Django's various Request objects. """
36
434
<filename>aws-lambda-java-events-sdk-transformer/src/test/java/com/amazonaws/services/lambda/runtime/events/transformers/v1/dynamodb/DynamodbRecordTransformerTest.java package com.amazonaws.services.lambda.runtime.events.transformers.v1.dynamodb; import com.amazonaws.services.dynamodbv2.model.OperationType; import com...
1,242
868
<gh_stars>100-1000 // 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 License. You may obtain a copy of the // License at // // https://opensource.org/licenses/BSD-3-Clau...
1,339
372
<filename>src/test/java/org/apache/sysds/test/functions/privacy/propagation/AppendPropagatorTest.java<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 c...
15,955
1,039
#if defined(SIMDE_TEST_BARE) int main(void) { int retval = EXIT_SUCCESS; fprintf(stdout, "1..%zu\n", (sizeof(test_suite_tests) / sizeof(test_suite_tests[0]))); for (size_t i = 0 ; i < (sizeof(test_suite_tests) / sizeof(test_suite_tests[0])) ; i++) { int res = test_suite_tests[i].func(); if (r...
582
1,585
/* * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2005 The University of Tennessee and The University * of Tennessee Resea...
2,830
3,073
<filename>clients/ios/Classes/NBSwipeableCell.h // // NBSwipeableCell.h // NewsBlur // // Created by <NAME> on 9/27/13. // Copyright (c) 2013 NewsBlur. All rights reserved. // #import "MCSwipeTableViewCell.h" @interface NBSwipeableCell : MCSwipeTableViewCell - (UIImage *)imageByApplyingAlpha:(UIImage *)image wit...
138
884
<filename>objectModel/TestData/Cdm/Relationship/TestCalculateRelationshipsOnResolvedEntities/ExpectedOutput/expectedResolvedExcSubManifestRels.json<gh_stars>100-1000 [ { "fromEntity": "C-resolved.cdm.json/C", "fromEntityAttribute": "CId", "toEntity": "D-resolved.cdm.json/D", "toEntit...
148
9,657
from base.loss.adv_loss import adv from base.loss.coral import CORAL from base.loss.cos import cosine from base.loss.kl_js import kl_div, js from base.loss.mmd import MMD_loss from base.loss.mutual_info import Mine from base.loss.pair_dist import pairwise_dist __all__ = [ 'adv', 'CORAL', 'cosine', 'kl_...
161
3,142
# Copyright (C) 2021 Intel Corporation # # SPDX-License-Identifier: MIT import os import glob import requests import json from deepdiff import DeepDiff from .utils import config def test_check_objects_integrity(): with requests.Session() as session: session.auth = ('admin1', config.USER_PASS) for...
364
2,151
<reponame>zipated/src // 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. #include <string.h> #include "base/command_line.h" #include "base/run_loop.h" #include "base/strings/utf_string_conversions.h" #inc...
2,659
1,603
<reponame>bskim45/datahub package com.linkedin.metadata.kafka.hydrator; import com.fasterxml.jackson.databind.node.ObjectNode; import com.linkedin.datahub.graphql.types.common.mappers.util.MappingHelper; import com.linkedin.entity.EntityResponse; import com.linkedin.entity.EnvelopedAspectMap; import com.linkedin.ident...
414
892
<gh_stars>100-1000 { "schema_version": "1.2.0", "id": "GHSA-87h8-h6wc-7xhj", "modified": "2022-05-01T01:50:30Z", "published": "2022-05-01T01:50:30Z", "aliases": [ "CVE-2005-0564" ], "details": "Stack-based buffer overflow in Microsoft Word 2000 and Word 2002, and Microsoft Works Suites 2000 through 20...
666
318
<filename>serializer/test/Serializer/EnterpriseUserTest.java package Serializer; import com.bj58.enterprise.entity.SESUser; import com.bj58.spat.gaea.serializer.serializer.Serializer; import org.junit.Test; import static org.junit.Assert.*; /** * * @author Service Platform Architecture Team (<EMAIL>) */ public c...
238
584
/* * Copyright 2012-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...
1,112
5,169
{ "name": "SZNZotero", "version": "0.3.4", "summary": "Objective-C client for the Zotero API.", "homepage": "https://github.com/shazino/SZNZotero", "license": "MIT", "authors": { "shazino": "<EMAIL>" }, "social_media_url": "https://twitter.com/shazino", "source": { "git": "https://github.com/s...
475