max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
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 ...
742
4,879
#include "show_hide_animation.hpp" #include "base_interpolator.hpp" #include "base/math.hpp" namespace df { class ShowHideAnimation::ShowHideInterpolator : public BaseInterpolator { public: ShowHideInterpolator(ShowHideAnimation::EState & state, double startT, double endT, double duration) ...
1,045
357
<filename>core/src/main/java/com/github/weisj/darklaf/components/border/BubbleBorder.java /* * MIT License * * Copyright (c) 2021 <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 ...
5,098
4,054
<filename>indexinglanguage/src/test/java/com/yahoo/vespa/indexinglanguage/expressions/ZCurveTestCase.java // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.indexinglanguage.expressions; import com.yahoo.document.DataType; import com.yahoo.d...
807
1,144
package de.metas.ui.web.material.cockpit.rowfactory; import static de.metas.quantity.Quantity.addToNullable; import static de.metas.util.Check.assumeNotNull; import java.util.HashSet; import java.util.Set; import org.compiere.model.I_C_UOM; import de.metas.dimension.DimensionSpecGroup; import de.metas.material.cock...
1,535
639
<reponame>lynex/nnfusion<filename>src/nnfusion/frontend/onnx_import/core/value_info.hpp //***************************************************************************** // Copyright 2017-2020 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in co...
2,070
1,424
<filename>run_tests.py #!/usr/bin/env python """ Testing with Nose ================= This test runner uses Nose for test discovery and running. It uses the argument spec of Nose, but with some options pre-set. To begin with, make sure you have Nose installed, e.g.: $ pip install nose To run the tests, use: ...
958
416
package org.simpleflatmapper.jdbc.test.time; import org.simpleflatmapper.test.jdbc.DbHelper; import java.sql.Connection; import java.sql.DatabaseMetaData; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.sql.Timestamp; import java.time.OffsetDateTime; public class Jdbc4...
760
308
package com.wanbo.werb.ui.presenter; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.widget.Toast; import com.sina.weibo.sdk.auth.AuthInfo; import com.sina.weibo.sdk.auth.Oauth2AccessToken; import com.sina.weibo.sdk.auth.WeiboAuthList...
1,338
3,428
<reponame>mhmdaminraeisi/stdlib<filename>lib/node_modules/@stdlib/ndarray/base/unary/src/t_i.c /** * @license Apache-2.0 * * Copyright (c) 2021 The Stdlib 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 co...
28,964
575
<gh_stars>100-1000 import torch class TextProcess: def __init__(self): char_map_str = """ ' 0 <SPACE> 1 a 2 b 3 c 4 d 5 e 6 f 7 g 8 h 9 i 10 j 11 k 12 l 13 m 14 n 15 o 16 p 17 q 18 r 19 s 20 t 21 u 22 v 23 w 24 x 25 y 26 z 27 """ self.char_map = {} self...
712
787
<reponame>zhuohuwu0603/leetcode_cpp_lzl124631x // OJ: https://leetcode.com/problems/minimum-difficulty-of-a-job-schedule/ // Author: github.com/lzl124631x // Time: O(N^2 * D) // Space: O(ND) class Solution { typedef long long LL; inline void setMin(LL &a, LL b) { a = min(a, b); } public: int minDifficulty(...
523
1,168
package cn.com.heaton.blelibrary.ble.queue; import android.support.annotation.NonNull; import cn.com.heaton.blelibrary.ble.BleLog; import cn.com.heaton.blelibrary.ble.model.BleDevice; import cn.com.heaton.blelibrary.ble.queue.reconnect.DefaultReConnectHandler; public final class ConnectQueue extends Queue{ priv...
421
1,410
<reponame>PyCN/pulsar<filename>pulsar/apps/rpc/__init__.py<gh_stars>1000+ """Asynchronous WSGI_ Remote Procedure Calls middleware. It implements a JSON-RPC_ server and client. Check out the :ref:`json-rpc tutorial <tutorials-calculator>` if you want to get started quickly with a working example. To quickly setup a ser...
833
1,041
package io.ebeaninternal.server.autotune.service; import io.ebean.bean.ObjectGraphOrigin; import io.ebeaninternal.server.querydefn.OrmQueryDetail; import java.util.ArrayList; import java.util.List; /** * Profiling information collected. */ public class AutoTuneCollection { final List<Entry> entries = new ArrayL...
885
678
<filename>iOSOpenDev/frameworks/IAP.framework/Headers/IAPAudioCallbackInfo.h /** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/IAP.framework/IAP */ #import <IAP/IAP-Structs.h> @class NSLock, CPDistributedNotificationCenter; @interface IAPAudioCallbackInfo : NSObj...
752
758
<filename>tests/test_cons.py from functools import reduce from itertools import chain, cycle from collections import Iterable, OrderedDict from kanren.cons import cons, ConsPair, car, cdr, is_cons, is_null def assert_all_equal(*tests): def _equal(x, y): assert x, y return y reduce(_equal, t...
1,638
1,738
<filename>dev/Code/Framework/AzFramework/AzFramework/Physics/PhysicsSystemComponentBus.h /* * 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 ...
2,735
4,480
<gh_stars>1000+ /* * Copyright 2013-2015 <NAME>, <NAME>, <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
651
319
/* * Copyright (c) 2013 Qualcomm Atheros, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the * disclaimer below) provided that the following conditions are met: * * * Redistributions of source code ...
3,621
530
package org.carlspring.strongbox.yaml; import java.io.Serializable; /** * @author carlspring */ public interface CustomTag extends Serializable { }
49
1,056
<reponame>timfel/netbeans /* * 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....
5,564
303
<gh_stars>100-1000 import os from typing import Dict, List from redun import File, task, script @task() def parse_int(text: str) -> int: """ Small postprocessing task to parse a string to an int. """ return int(text.strip()) @task() def find_colors(data: File, column: int) -> List[str]: """ ...
1,363
3,432
package org.telegram.telegrambots.meta.generics; import org.telegram.telegrambots.meta.api.methods.BotApiMethod; import org.telegram.telegrambots.meta.api.methods.updates.SetWebhook; import org.telegram.telegrambots.meta.api.objects.Update; import org.telegram.telegrambots.meta.exceptions.TelegramApiException; import ...
347
369
<reponame>Shiva-D/rtos-course /**************************************************************************//** * @file system_M2351.c * @version V2.00 * @brief System Setting Source File * * @note * Copyright (C) 2016 Nuvoton Technology Corp. All rights reserved. * ***************************************...
1,859
2,881
<reponame>bruce-stewart/shopizer package com.salesmanager.core.business.repositories.content; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.PagingAndSortingRepository; impor...
455
327
<filename>commands/deviot_new_sketch.py from sublime_plugin import WindowCommand from ..api import deviot from ..libraries.tools import create_sketch, get_setting, save_setting class DeviotNewSketchCommand(WindowCommand): def run(self): from ..libraries.I18n import I18n _ = I18n().translate ...
263
16,461
<reponame>ahmadtech199/expo // Copyright 2016-present 650 Industries. All rights reserved. #import <UIKit/UIKit.h> #import <Foundation/Foundation.h> #import <ABI41_0_0UMCore/ABI41_0_0UMSingletonModule.h> NS_ASSUME_NONNULL_BEGIN @interface ABI41_0_0EXFacebookAppDelegate : ABI41_0_0UMSingletonModule <UIApplicationDele...
146
1,909
package org.knowm.xchange.bl3p.dto.trade; import org.knowm.xchange.bl3p.dto.Bl3pResult; public class Bl3pCancelOrder extends Bl3pResult<Bl3pCancelOrder.Bl3pCancelOrderData> { public static class Bl3pCancelOrderData { // No response } }
99
4,772
package example.repo; import example.model.Customer4; import java.util.List; import org.springframework.data.repository.CrudRepository; public interface Customer4Repository extends CrudRepository<Customer4, Long> { List<Customer4> findByLastName(String lastName); }
83
1,353
<filename>imageio/imageio-tga/src/test/java/com/twelvemonkeys/imageio/plugins/tga/TGAImageWriterTest.java /* * Copyright (c) 2017, <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: * *...
3,764
356
{ "id": 29, "created_at": "2015-10-17", "updated_at": "2016-04-28", "title": "Denial-of-Service Memory Exhaustion", "author": { "name": "<NAME>", "website": null, "username": null }, "module_name": "qs", "publish_date": "2014-08-06", "cves": [ "CVE-2014-7191" ], "vulnerable_version...
353
412
public class A { static int g; public synchronized void me1() { g = 0; } // expected verification success // -- // base-case, no synchronization public void me2() { B t = new B(); t.shared = 5; t.start(); assert(t.shared == 5 || t.shared == 6); } // expected verification suc...
442
335
# Copyright 2017 Open Source Robotics Foundation, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
1,405
892
{ "schema_version": "1.2.0", "id": "GHSA-6xvj-44vj-vq8r", "modified": "2022-04-29T01:26:30Z", "published": "2022-04-29T01:26:30Z", "aliases": [ "CVE-2003-0489" ], "details": "tcptraceroute 1.4 and earlier does not fully drop privileges after obtaining a file descriptor for capturing packets, which may...
340
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 ...
762
764
{"symbol": "PNC","address": "0x33fEfc811A86474A832d38926428a1DADE431F25","overview":{"en": "ProNet Coin (PNC) is a project aimed at helping victims of abandoned(scam) ICO projects regain their stolen investments. This is done by swapping the valueless coins left in their wallets into PNC. PNC is available for swap on P...
176
6,497
<gh_stars>1000+ package com.sohu.cache.web.chart.key; /** * Created by hym on 14-7-27. */ public class ChartKeysUtil { public enum ChartKey { RENDER_TO("renderTo"), TYPE("type"); private String key; ChartKey(String key) { this.key = key; } public String getKe...
1,193
3,402
/* * 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 ...
477
1,668
<reponame>keyno63/intellij-elixir // This is a generated file. Not intended for manual editing. package org.elixir_lang.eex.psi; import com.intellij.lang.ASTNode; import com.intellij.psi.PsiElement; import com.intellij.psi.tree.IElementType; import org.elixir_lang.eex.psi.impl.EExTagImpl; public interface Types { ...
431
3,371
package com.beloo.widget.chipslayoutmanager.layouter.criteria; import com.beloo.widget.chipslayoutmanager.layouter.AbstractLayouter; public interface IFinishingCriteria { /** check if layouting finished by criteria */ boolean isFinishedLayouting(AbstractLayouter abstractLayouter); }
85
348
{"nom":"Saint-Genou","circ":"1ère circonscription","dpt":"Indre","inscrits":721,"abs":366,"votants":355,"blancs":9,"nuls":2,"exp":344,"res":[{"nuance":"REM","nom":"<NAME>","voix":102},{"nuance":"FN","nom":"Mme <NAME>","voix":85},{"nuance":"SOC","nom":"<NAME>","voix":42},{"nuance":"FI","nom":"Mme <NAME>","voix":39},{"nu...
291
323
/* * Copyright (c) 2016, 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 Softwa...
4,258
731
#ifndef _CONSTANT_ACCELERATOR_HPP #define _CONSTANT_ACCELERATOR_HPP #include <memory> namespace vind { class ConstAccelerator { private: struct Impl ; std::unique_ptr<Impl> pimpl ; float compute_delta() noexcept ; public: explicit ConstAccelerator() ; ...
661
190,993
<gh_stars>1000+ /* Copyright 2020 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 app...
767
953
int main() { union R { // error: cannot have storage specifier on union member extern int a; // error: cannot have storage specifier on union member auto int a; // error: cannot have incomplete type as union member union R a; // error: cannot have function type as union member int f...
682
460
<filename>trunk/win/Source/Includes/QtIncludes/src/3rdparty/clucene/src/CLucene/store/TransactionalRAMDirectory.h<gh_stars>100-1000 /* * Copyright (C) 2003-2006 <NAME> and the CLucene Team * * Distributable under the terms of either the Apache License (Version 2.0) or * the GNU Lesser General Public License, a...
882
2,288
<reponame>michaelfolkson/lnhw /* CC0 (Public domain) - see LICENSE file for details */ #include "config.h" #include <assert.h> #include <string.h> #include <ccan/mem/mem.h> #if !HAVE_MEMMEM void *memmem(const void *haystack, size_t haystacklen, const void *needle, size_t needlelen) { const char *p; if (need...
1,055
2,939
#include "lumen/llvm/Target.h" #include "lumen/llvm/ErrorHandling.h" // On Windows we have a custom output stream type that // can wrap the raw file handle we get from Rust #if defined(_WIN32) #include "lumen/llvm/raw_win32_handle_ostream.h" #endif #include "llvm-c/Core.h" #include "llvm-c/Target.h" #include "llvm/Cod...
3,556
310
{ "name": "Nocturn", "description": "A MIDI controller.", "url": "http://us.novationmusic.com/midi-controllers/nocturn" }
49
1,444
<reponame>J-VOL/mage<filename>Mage/src/main/java/mage/abilities/icon/CardIconCategory.java package mage.abilities.icon; /** * For GUI: different icons category can go to different position/panels on the card * * @author JayDi85 */ public enum CardIconCategory { ABILITY, // example: flying (on left side) P...
154
403
<filename>src/util.h /* * util.h * Copyright (C) 2016 romgrk <<EMAIL>> * * Distributed under terms of the MIT license. */ #pragma once #include <nan.h> #include <node.h> #include <girepository.h> /* * V8 Helpers */ #define UTF8(s) Nan::New<v8::String> (s).ToLocalChecked() #define RETURN(s) info...
892
543
<gh_stars>100-1000 /* * Copyright (c) 2016, 2021, 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 * pub...
5,977
14,668
<filename>third_party/blink/renderer/modules/peerconnection/rtc_encoded_audio_receiver_source_optimizer.cc #include "third_party/blink/renderer/modules/peerconnection/rtc_encoded_audio_receiver_source_optimizer.h" #include "third_party/blink/renderer/platform/scheduler/public/post_cross_thread_task.h" #include "third_p...
467
403
<gh_stars>100-1000 package com.camunda.consulting.tasklist.fulltext; import java.io.Serializable; import java.util.List; import java.util.Map; import java.util.logging.Logger; import javax.inject.Named; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.Typed...
1,866
624
<gh_stars>100-1000 from typing import overload from typing_extensions import Literal from .tensor import Tensor from .tensor import PyTorchTensor from .tensor import TensorFlowTensor from .tensor import JAXTensor from .tensor import NumPyTensor from . import modules @overload def get_dummy(framework: Literal["pytor...
589
1,188
/* * Copyright 2016 <NAME> <<EMAIL>> * * 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...
584
432
<reponame>lambdaxymox/DragonFlyBSD /* $FreeBSD: head/sys/dev/iwi/if_iwivar.h 290407 2015-11-05 17:58:18Z avos $ */ /*- * Copyright (c) 2004, 2005 * <NAME> <<EMAIL>>. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the fol...
3,909
335
{ "word": "Hoax", "definitions": [ "A humorous or malicious deception." ], "parts-of-speech": "Noun" }
58
328
//===- tf_context_impl.h ----------------------===// // // Copyright 2020 The PAI 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...
694
2,582
#!/usr/bin/env python3 import argparse from botocore.exceptions import ClientError from copy import deepcopy module_info = { # Name of the module (should be the same as the filename) 'name': 'iam__enum_users_roles_policies_groups', # Name and any other notes about the author 'author': '<NAME> of Rhin...
2,836
1,156
""" Program for updating dataset with tokenized solutions of given problems. - Tokenized representations of all solutions of each problem are placed in a single file. - The files with tokenized solutions of problems are added into existing directory. - Each tokenized source code file is represented in the fo...
4,749
18,621
<reponame>delorenzosoftware/superset<filename>superset/utils/decorators.py # 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...
1,521
5,169
{ "name": "CTLCorePool", "version": "0.1.19", "summary": "CTLCorePool is the best module for pool data", "description": "description thoi chu co cai deo gi dau", "homepage": "https://github.com/CanThaiLinh/CTLCorePool", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "thailinh"...
464
702
<gh_stars>100-1000 /* * Copyright 2019 ConsenSys AG. * * 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...
599
501
#!/usr/bin/env python # ''' Calculating densities with DF-MP2, demonstrated for the dipole moment of CH3Cl. ''' from numpy.linalg import norm from pyscf.gto import Mole from pyscf.scf import RHF from pyscf.mp.dfmp2_native import DFMP2 mol = Mole() mol.atom = ''' C 0.000000 0.000000 0.000000 Cl 0.000000 0.00...
577
1,049
/* * Copyright 2016 Nu-book Inc. * Copyright 2016 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
527
842
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. #include "pch.h" #include <IsWindowsVersion.h> #include "MddDetourPackageGraph.h" #include "PackageGraphManager.h" #include <../Detours/detours.h> ...
3,269
868
<gh_stars>100-1000 /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "L...
1,970
812
<reponame>sergiobrr/tg2 # -*- coding: utf-8 -*- from __future__ import absolute_import from ..base import (ConfigurationComponent, BeforeConfigConfigurationAction, ConfigReadyConfigurationAction, AppReadyConfigurationAction) from ...configuration.utils import get_partial_dict, TGConfigError from ......
2,168
1,060
<reponame>darthsidpal/parseq<gh_stars>1000+ package com.linkedin.parseq.exec; import java.nio.file.Files; import java.nio.file.Path; import java.util.Comparator; import java.util.Map.Entry; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.ConcurrentS...
2,654
14,668
<gh_stars>1000+ // 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 "third_party/blink/public/common/interest_group/interest_group_mojom_traits.h" #include "third_party/blink/public/common/interes...
615
1,767
<gh_stars>1000+ package com.annimon.stream.intstreamtests; import com.annimon.stream.Functions; import com.annimon.stream.IntStream; import org.junit.Test; import static com.annimon.stream.test.hamcrest.IntStreamMatcher.assertElements; import static com.annimon.stream.test.hamcrest.IntStreamMatcher.assertIsEmpty; impo...
555
1,588
package xyz.erupt.annotation.constant; /** * @author YuePeng * date 2019-07-05. */ public class AnnotationConst { public static final String ID = "id"; public static final String LABEL = "name"; public static final String PID = "pid"; public static final String EMPTY_STR = ""; public static...
116
379
/** * Copyright 2016-2017 Sixt GmbH & Co. Autovermietung KG * 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...
294
1,016
package com.thinkbiganalytics.metadata.modeshape.tag; /*- * #%L * thinkbig-metadata-modeshape * %% * Copyright (C) 2017 ThinkBig Analytics * %% * 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 Lic...
715
12,377
dataset_type = 'RetinaFaceDataset' data_root = 'data/retinaface/' train_root = data_root+'train/' val_root = data_root+'val/' #img_norm_cfg = dict( # mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True) img_norm_cfg = dict( mean=[127.5, 127.5, 127.5], std=[128.0, 128.0, 128.0], to_rgb=True) ...
1,482
14,668
<gh_stars>1000+ // 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 "media/audio/mac/scoped_audio_unit.h" #include "base/mac/mac_logging.h" namespace media { constexpr AudioComponentDescription ...
1,064
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...
7,383
724
/** * 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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
2,282
3,553
/* * This is a public domain general purpose hash table package written by * <NAME> @ UCB. */ /* * @(#) st.h 5.1 89/12/14 */ #ifndef ST_INCLUDED #define ST_INCLUDED #ifdef __cplusplus extern "C" { #define CLOSE_EXTERN } #else #define CLOSE_EXTERN #endif #include <avro/platform.h> /* for uintptr_t */ #pragma...
847
552
<filename>RunLoopWorkDistribution/DWURunLoopWorkDistribution/DWURunLoopWorkDistribution.h // // DWURunLoopWorkDistribution.h // RunLoopWorkDistribution // // Created by <NAME> on 9/19/15. // Copyright © 2015 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> typedef BOOL(^DWURunLoopWorkDistributionUnit)(void...
242
1,585
/* * Copyright (C) by Argonne National Laboratory * See COPYRIGHT in top-level directory */ #include "adio.h" #include "ad_quobytefs.h" #include "ad_quobytefs_internal.h" void ADIOI_QUOBYTEFS_Fcntl(ADIO_File fd, int flag, ADIO_Fcntl_t * fcntl_struct, int *error_code) { static char myname[] = "ADIOI_QUOBY...
1,151
6,620
from .manager import DataModelManager from .packer import ArgPacker, DataPacker from .registry import register_default, default_manager, register from .models import PrimitiveModel, CompositeModel, StructModel
50
5,649
#pragma once void vita_start_text_input(const char *guide_text, const char *initial_text, int max_length);
40
1,210
// Boost.TypeErasure library // // Copyright 2011 <NAME> // // Distributed under the Boost Software License Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // $Id$ #ifndef BOOST_TYPE_ERASURE_CONCEPT_OF_HPP_INCLUDED #define BOOST_TYPE_ERASURE_CONCEPT_OF_HPP_...
443
348
{"nom":"L'Hermenault","circ":"5ème circonscription","dpt":"Vendée","inscrits":613,"abs":297,"votants":316,"blancs":21,"nuls":17,"exp":278,"res":[{"nuance":"REM","nom":"<NAME>","voix":141},{"nuance":"SOC","nom":"<NAME>","voix":137}]}
92
1,850
<reponame>AlbusRoy/jvm-sandbox-repeater package com.alibaba.jvm.sandbox.repeater.plugin.core.impl; import java.util.Iterator; import java.util.List; import java.util.ServiceLoader; import com.alibaba.jvm.sandbox.repeater.plugin.domain.RecordModel; import com.alibaba.jvm.sandbox.repeater.plugin.spi.RepeatInterceptor; ...
742
529
<reponame>PervasiveDigital/netmf-interpreter /* crypto/bio/bio_lib.c */ /* Copyright (C) 1995-1998 <NAME> (<EMAIL>) * All rights reserved. * * This package is an SSL implementation written * by <NAME> (<EMAIL>). * The implementation was written so as to conform with Netscapes SSL. * * This library is fr...
6,747
892
{ "schema_version": "1.2.0", "id": "GHSA-mhrx-3jhc-rg45", "modified": "2022-05-01T06:37:14Z", "published": "2022-05-01T06:37:14Z", "aliases": [ "CVE-2006-0072" ], "details": "Buffer overflow in termsh on SCO OpenServer 5.0.7 allows remote attackers to execute arbitrary code via a long -o command line ...
453
362
<gh_stars>100-1000 # Copyright 2020 The Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
957
3,402
<reponame>ApacheSourceCode/kylin<filename>core-dictionary/src/main/java/org/apache/kylin/dict/global/AppendTrieDictionaryChecker.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 ...
1,588
1,144
<reponame>rlourette/TI_SDK_u-boot-2019.01 /* SPDX-License-Identifier: GPL-2.0+ */ /* * UniPhier SG (SoC Glue) block registers * * Copyright (C) 2011-2015 Copyright (C) 2011-2015 Panasonic Corporation * Copyright (C) 2016-2017 Socionext Inc. * Author: <NAME> <<EMAIL>> */ #ifndef UNIPHIER_SG_REGS_H #define UNIPH...
2,333
837
<filename>app/src/main/java/me/saket/dank/data/exceptions/ImgurApiRequestRateLimitReachedException.java package me.saket.dank.data.exceptions; /** * Thrown when Dank runs out Imgur rate limits, in order to avoid over-billing. */ public class ImgurApiRequestRateLimitReachedException extends RuntimeException { }
101
13,648
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2013-2017 <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 Softw...
1,988
392
<filename>platform-shop/src/main/java/com/platform/controller/UpkeepController.java package com.platform.controller; import com.platform.entity.UpkeepEntity; import com.platform.service.UpkeepService; import com.platform.utils.PageUtils; import com.platform.utils.Query; import com.platform.utils.R; import jdk.nashorn....
1,639
1,338
<reponame>Kirishikesan/haiku /* * Copyright 2009, <NAME>, <EMAIL>. * Distributed under the terms of the MIT License. */ #include "LockTestSuite.h" #include "RWLockTests.h" TestSuite* create_lock_test_suite() { TestSuite* suite = new(std::nothrow) TestSuite("lock"); ADD_TEST(suite, create_rw_lock_test_suite()...
134
646
<reponame>monocilindro/qgis-earthengine-examples import ee from ee_plugin import Map roi = ee.FeatureCollection('TIGER/2018/States') \ .filter(ee.Filter.eq('STUSPS', 'ND')); dataset = ee.ImageCollection('USDA/NAIP/DOQQ') \ .filter(ee.Filter.date('2016-01-01', '2017-12-31'))\ .f...
262
1,051
<gh_stars>1000+ package net.wujingchao.android.view.simpletagimage; import android.app.Activity; import android.content.res.TypedArray; import android.graphics.Color; import android.os.Bundle; import android.text.Editable; import android.text.TextWatcher; import android.util.Log; import android.util.TypedValue; import...
4,503
653
//===---------- GlobalOffset.h - Global Offset Support for CUDA ---------- ===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
237