max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
423
import yaml import csv import torch from collections import defaultdict def get_ops_for_key(key): # Needs modified PyTorch C++ code to work if key is None: ops = torch._C._dispatch_get_registrations_for_dispatch_key() else: ops = torch._C._dispatch_get_registrations_for_dispatch_key(key) ...
2,701
923
import torch import torch.nn as nn import torch.utils.model_zoo as model_zoo from nets.se_module import SELayer import os from pdb import set_trace as br __all__ = ['ResNet18s_Decode', 'resnet12_decode', 'resnet14_decode', 'resnet18_decode', 'resnet50_decode'] def conv3x3(in_planes, out_planes, stride=1): """3x3...
4,388
892
<gh_stars>100-1000 { "schema_version": "1.2.0", "id": "GHSA-q82w-r89w-5v2j", "modified": "2022-05-02T03:25:43Z", "published": "2022-05-02T03:25:43Z", "aliases": [ "CVE-2009-1491" ], "details": "McAfee GroupShield for Microsoft Exchange on Exchange Server 2000, and possibly other anti-virus or anti-spa...
442
1,927
/* * Copyright (C) 2019 ByteDance 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 or agr...
1,693
935
#pragma once #include <thor-internal/ring-buffer.hpp> namespace thor { extern bool wantKernelProfile; void initializeProfile(); LogRingBuffer *getGlobalProfileRing(); } // namespace thor
61
313
<gh_stars>100-1000 // Copyright (c) 2015, <NAME>, <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, // th...
6,164
1,334
package org.mockserver.mock.action.http; import org.mockserver.model.HttpResponse; /** * @author jamesdbloom */ public class HttpResponseActionHandler { public HttpResponse handle(HttpResponse httpResponse) { return httpResponse.clone(); } }
89
190,993
/* Copyright 2021 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...
2,101
2,293
/* * Copyright (c) 1999 <NAME> <EMAIL> * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. * */ #include <stdlib.h> #include <string.h> #include <stdio.h> #include <sys/unistd.h> #include <process.h> #include "...
1,049
852
#ifndef ErrorMatrixPropagator_h #define ErrorMatrixPropagator_h /* From SimpleFits Package * Designed an written by * author: <NAME> * Humboldt Foundations */ #include <functional> #include "TMatrixT.h" #include "TMatrixTSym.h" #include "TVectorT.h" namespace tauImpactParameter { class ErrorMatrixPropagator {...
420
2,151
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/renderer/media/audio_input_ipc_factory.h" #include <utility> #include "base/logging.h" #include "base/sequenced_task_runner.h" #includ...
1,405
892
<filename>advisories/unreviewed/2022/05/GHSA-jm3x-f377-5m2h/GHSA-jm3x-f377-5m2h.json { "schema_version": "1.2.0", "id": "GHSA-jm3x-f377-5m2h", "modified": "2022-05-05T02:48:14Z", "published": "2022-05-05T02:48:14Z", "aliases": [ "CVE-2013-0011" ], "details": "The Print Spooler in Microsoft Windows Ser...
554
335
package com.russelarms.offsetanimatorsample; import android.content.Context; import android.graphics.Point; import android.util.AttributeSet; import android.view.View; import android.view.animation.DecelerateInterpolator; import android.widget.RelativeLayout; import com.russelarms.offsetanimator.AnimatorFactory; impo...
3,476
563
package com.gentics.mesh.core.rest.node.field.list.impl; import com.gentics.mesh.core.rest.node.FieldMap; import com.gentics.mesh.core.rest.node.field.MicronodeField; import com.gentics.mesh.core.rest.node.field.list.MicronodeFieldList; /** * REST model for a micronode list field. Please note that {@link FieldMap} w...
153
743
<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 ...
1,582
405
<filename>convlab/modules/policy/system/policy.py """ The policy base class for system bot. """ class SysPolicy: """Base class for system policy model.""" def __init__(self): """ Constructor for SysPolicy class. """ pass def predict(self, state): """ Predict the system ac...
348
1,306
<filename>app/src/main/java/com/gh4a/fragment/ReleaseListFragment.java package com.gh4a.fragment; import android.os.Bundle; import androidx.annotation.Nullable; import androidx.recyclerview.widget.RecyclerView; import com.gh4a.R; import com.gh4a.ServiceFactory; import com.gh4a.activities.ReleaseInfoActivity; import c...
1,115
606
<gh_stars>100-1000 package org.arend.ext.userData; public class Key<T> { protected final String name; public Key(String name) { this.name = name; } public Key() { this.name = null; } public T copy(T value) { return value; } @Override public String toString() { return name != null ...
131
4,036
<reponame>vadi2/codeql package com.semmle.js.ast.regexp; /** Visitor interface for {@link RegExpTerm}. */ public interface Visitor { public void visit(Caret nd); public void visit(Constant nd); public void visit(Dollar nd); public void visit(Group nd); public void visit(NonWordBoundary nd); public voi...
421
892
{ "schema_version": "1.2.0", "id": "GHSA-2wxx-6f5h-cwcg", "modified": "2022-05-04T00:31:05Z", "published": "2022-05-04T00:31:05Z", "aliases": [ "CVE-2012-0536" ], "details": "Unspecified vulnerability in the PeopleSoft Enterprise HRMS component in Oracle PeopleSoft Products 8.9 through Bundle #26 allo...
548
347
<filename>http/src/main/java/com/cjj/listener/BaseListener.java package com.cjj.listener; import com.squareup.okhttp.Call; /** * Created by Administrator on 2015/8/25. */ public abstract class BaseListener<T> { public abstract void onError(Exception e); public abstract void onSuccess(T result); public...
169
310
{ "name": "tcpdump", "description": "A command-line tool for analysing packets.", "url": "http://www.tcpdump.org/" }
45
348
<reponame>armcha/Vertical-Intro package com.luseen.sample; import android.graphics.Typeface; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Toast; import com.luseen.verticalintrolibrary.VerticalIntro; import com.luseen.verticalintrolibrary.VerticalIntroItem; publi...
1,414
3,102
<gh_stars>1000+ // RUN: %clang_cc1 -triple=x86_64-linux-gnu -emit-llvm -o - %s // Don't crash if the argument to __builtin_constant_p isn't scalar. template <typename T> constexpr bool is_constant(const T v) { return __builtin_constant_p(v); } template <typename T> class numeric { public: using type = T; temp...
197
609
package org.consenlabs.tokencore.foundation.rlp; /** * Base RLP type. */ public interface RlpType { }
38
1,405
<filename>sample4/recompiled_java/sources/org/apache/commons/httpclient/ChunkedInputStream.java package org.apache.commons.httpclient; import com.tencent.tmsecure.module.wupsession.WupConfig; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import org.apache.commons.httpcli...
3,681
1,256
<reponame>MKadaner/FarManager #include <all_lib.h> #pragma hdrstop #if defined(__MYPACKAGE__) #pragma package(smart_init) #endif #define MSG_EOL "\n" #define ERR_EXPCOLOR "Expected color value" #define ERR_EXPCOMMEND "End of file reached, but \"*/\" expected" #define ERR_EXPINT "Expected integer valu...
5,036
435
<filename>src/parameter/parameter.h #pragma once #include "system/customer.h" #include "parameter/proto/param.pb.h" namespace PS { /// The base class of shared parameters class Parameter : public Customer { public: Parameter(int id) : Customer(id) { } virtual ~Parameter() { } typedef std::initializer_list<int...
949
2,591
package liquibase.diff; import org.junit.Test; public class DiffResultTest { @Test public void dummy() { } }
45
3,301
<reponame>zhangjun0x01/Alink package com.alibaba.alink.params.nlp; import org.apache.flink.ml.api.misc.param.ParamInfo; import org.apache.flink.ml.api.misc.param.ParamInfoFactory; import org.apache.flink.ml.api.misc.param.WithParams; public interface HasNegative<T> extends WithParams <T> { ParamInfo <Integer> NEGATI...
219
6,717
<reponame>crossmob/WinObjC<filename>include/UIKit/UIPickerViewDelegate.h //****************************************************************************** // // Copyright (c) Microsoft. All rights reserved. // // This code is licensed under the MIT License (MIT). // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY ...
520
1,921
<reponame>ksvr444/daily-coding-problem<gh_stars>1000+ def reverse_words(string, delimiters): words = list() delims = list() delim_positions = list() # stores positions of the delimiters seen start = 0 i = 0 while i < len(string): char = string[i] if char in delimiters: ...
760
504
package org.dayatang.security.api; import java.util.Date; /** * Created by yyang on 2016/11/29. */ public class UserInfo { private String id; private int version; private String username; private String remark; private Date created; private Date lastModified; private Date expired; ...
933
635
import os import sys def add_path(path): if path not in sys.path: sys.path.insert(0, path) # add `./src` dir to system path src_dir = os.path.abspath(os.path.join(os.getcwd(), "../")) add_path(src_dir)
94
1,346
from trakt_sync.differ.core.helpers import dict_path class Result(object): def __init__(self, differ): self.changes = {} self._differ = differ def add(self, current): for handler in self._differ.handlers: items = dict_path(self.changes, ( handler.name, 'ad...
202
12,252
package org.keycloak.quarkus.runtime.themes; import org.keycloak.Config; import org.keycloak.models.KeycloakSession; import org.keycloak.models.KeycloakSessionFactory; import org.keycloak.quarkus.runtime.Environment; import org.keycloak.theme.FolderThemeProvider; import org.keycloak.theme.ThemeProvider; import org.key...
660
453
<filename>src/ru/krlvm/powertunnel/frames/AdvancedMainFrame.java package ru.krlvm.powertunnel.frames; import ru.krlvm.powertunnel.PowerTunnel; import ru.krlvm.powertunnel.data.Settings; import ru.krlvm.powertunnel.enums.ServerStatus; import ru.krlvm.powertunnel.ui.TextRightClickPopup; import ru.krlvm.powertunnel.ui.To...
4,516
428
/** * Copyright 2008 - 2015 The Loon Game Engine 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...
1,713
3,100
<gh_stars>1000+ /** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2020 <NAME>. All rights reserved. ...
3,600
462
<reponame>VisualAwarenessTech/gdal-2.3.1<filename>ogr/ogrsf_frmts/dods/ogrdodsfielddefn.cpp /****************************************************************************** * * Project: OGR/DODS Interface * Purpose: Implements OGRDODSFieldDefn class. This is a small class used * to encapsulate informati...
2,918
463
import time from pathlib import Path import psutil from labml import logger from labml.internal.computer.monitor.process import ProcessMonitor from labml.logger import Text from labml.utils.notice import labml_notice class Scanner: def __init__(self): self.data = {} self.cache = {} self....
3,397
745
<gh_stars>100-1000 #ifndef CK_CLUSTER_DESCRIPTOR_HPP #define CK_CLUSTER_DESCRIPTOR_HPP #include "common_header.hpp" #include "tensor_adaptor.hpp" namespace ck { template <typename Lengths, typename ArrangeOrder = typename arithmetic_sequence_gen<0, Lengths::Size(), 1>::type> __host__ __device__ constexpr a...
421
640
<gh_stars>100-1000 from binance_f import RequestClient from binance_f.constant.test import * from binance_f.base.printobject import * from binance_f.model.constant import * request_client = RequestClient(api_key=g_api_key, secret_key=g_secret_key) result = request_client.change_position_margin(symbol="BTCUSDT", ...
136
1,687
public class Solution2 { public ListNode mergeKLists(ListNode[] lists) { int len = lists.length; if (len == 0) { return null; } ListNode res = lists[0]; for (int i = 1; i < len; i++) { if (lists[i] != null) { res = mergeTwoSortLinkedL...
678
1,062
<reponame>larkov/MailTrackerBlocker // // Generated by class-dump 3.5b1 (64 bit) (Debug version compiled Dec 3 2019 19:59:57). // // Copyright (C) 1997-2019 <NAME>. // #import <objc/NSObject.h> @class NSArray; @interface MCMessageGenerator : NSObject { struct __SecIdentity *_signingIdentity; // 8 = 0x8 ...
1,625
2,539
// LangUtils.h #ifndef __LANG_UTILS_H #define __LANG_UTILS_H #include "../../../Windows/ResourceString.h" #ifdef LANG extern UString g_LangID; struct CIDLangPair { UInt32 ControlID; UInt32 LangID; }; void ReloadLang(); void LoadLangOneTime(); FString GetLangDirPrefix(); void LangSetDlgItemText(HWND dialog, U...
392
318
<filename>addons/blender.NodeOSC/server/pythonosc/osc_bundle.py import logging from pythonosc import osc_message from pythonosc.parsing import osc_types from typing import Any, Iterator _BUNDLE_PREFIX = b"#bundle\x00" class ParseError(Exception): """Base exception raised when a datagram parsing error occurs.""...
1,586
22,688
/****************************************************************************** * Copyright 2019 The Apollo 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 ...
1,359
415
{ "Comment": "comment -- dsa/1024 by putty 58yj22GKexky3cj3", "FingerprintSHA256": "wmySj3ZNYvaJ9TykmPjoXwsfW9Ylbkiw+2quczVDmLI", "FingerprintMD5": "4e:b9:68:0e:09:fb:48:46:47:10:a3:8b:4c:76:1c:f7", "Type": "dsa", "Bits": 1024, "Encrypted": true, "command": "puttygen --random-device /dev/ura...
267
482
/* * Copyright 2014 Netflix, 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 or agreed to...
527
313
<gh_stars>100-1000 //------------------------------------------------------------------------------ // GB_mex_mxm_generic: C<Mask> = accum(C,A*B) //------------------------------------------------------------------------------ // SuiteSparse:GraphBLAS, <NAME>, (c) 2017-2022, All Rights Reserved. // SPDX-License-Identi...
3,018
463
<reponame>elgalu/labml<gh_stars>100-1000 import numpy as np import torch from labml.configs import BaseConfigs, option class SetSeed: def __init__(self, seed: int): self.seed = seed def __call__(self): torch.manual_seed(self.seed) np.random.seed(self.seed) class SeedConfigs(BaseCon...
342
1,056
<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 Apache License, Version 2.0 (the * ...
1,771
1,473
<reponame>JiangJibo/pinpoint<gh_stars>1000+ /* * Copyright 2018 NAVER Corp. * * 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,075
649
package net.thucydides.core.webdriver.jquery; public class ByJQuery { public static ByJQuerySelector selector(final String selectorExpression) { return new ByJQuerySelector(selectorExpression); } }
74
860
/* * 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 ...
957
2,151
<reponame>zealoussnow/chromium # Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless r...
3,050
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 ...
1,588
754
<reponame>wangpengcheng/AutoKernel #ifndef DATA_TRANSFORM_H #define DATA_TRANSFORM_H /** \file * * Defines analyses to extract the functions called a function. */ #include <map> #include <string> #include <set> #include "iostream" #include <unordered_set> #include "Halide.h" #include "BoundEstimate.h" #include "Da...
7,965
369
// Copyright (c) 2017-2021, Mudit<NAME>. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #include <catch2/catch.hpp> #include <module-bsp/board/rt1051/puretx/bsp/battery_charger/battery_charger_utils.hpp> TEST_CASE("BatteryChargerUtilsTest") { SECTION("2s compliment conver...
1,110
4,798
// Copyright 2018-present the Material Components for iOS 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 //...
371
1,565
<gh_stars>1000+ #pragma once #include "RunNode.h" #include <vector> #include <string> class Talk : public RunNode { public: Talk() {} Talk(std::string c, int h = -1) : Talk() { setContent(c); setHeadID(h); } virtual ~Talk() {} virtual void draw() override; //virtual void dealEvent(BP_Event& e) ove...
320
4,795
#!/usr/bin/env python '''CREATED:2013-12-08 14:28:34 by <NAME> <<EMAIL>> Demonstration of phase vocoder time stretching. ''' from __future__ import print_function import argparse import sys import librosa import soundfile as sf def stretch_demo(input_file, output_file, speed): '''Phase-vocoder time stretch demo...
839
648
{"resourceType":"DataElement","id":"Measure.supplementalData.usage","meta":{"lastUpdated":"2017-04-19T07:44:43.294+10:00"},"url":"http://hl7.org/fhir/DataElement/Measure.supplementalData.usage","status":"draft","experimental":true,"stringency":"fully-specified","element":[{"id":"Measure.supplementalData.usage","path":"...
274
945
<filename>arch/arm/arm.h /* arm.h -- check for ARM features. * For conditions of distribution and use, see copyright notice in zlib.h */ #ifndef ARM_H_ #define ARM_H_ extern int arm_cpu_has_neon; extern int arm_cpu_has_crc32; void Z_INTERNAL arm_check_features(void); #endif /* ARM_H_ */
112
837
<gh_stars>100-1000 import unittest import base class Suite(base.Base): def test_1(self): """Test case 1""" self.start('main') bd = self.driver.find_element_by_xpath('/html/body') bd.click() alert = self.driver.switch_to.alert self.assertEqual("You clicked the body."...
228
524
<gh_stars>100-1000 #include <iostream> #include <random> #include <unordered_map> #include <algorithm> #include <iomanip> using namespace std; int main() { unordered_map<uint32_t, uint32_t> mem; random_device rd; mt19937 gen(rd()); uniform_int_distribution<uint32_t> dist(0, 0xfffffffful); cout<<hex; /...
490
475
// // BmobEvent.h // BmobSDK // // Created by Bmob on 14-7-4. // Copyright (c) 2014年 Bmob. All rights reserved. // #import <Foundation/Foundation.h> #import "BmobConfig.h" @protocol BmobEventDelegate ; @interface BmobEvent : NSObject{ } @property(weak,nonatomic)id<BmobEventDelegate>delegate; -(instancety...
1,058
3,861
<reponame>crazyinsanejames/CloverBootloader /* * resolution.h * * * Created by <NAME> on 3/4/10. * Copyright 2009. All rights reserved. * */ #ifndef __RESOLUTION_H #define __RESOLUTION_H #include "shortatombios.h" #include "edid.h" //Slice - moved to edid.h /* typedef struct _edid_mode { UINT16 pixel...
1,989
4,772
package example.repo; import example.model.Customer365; import java.util.List; import org.springframework.data.repository.CrudRepository; public interface Customer365Repository extends CrudRepository<Customer365, Long> { List<Customer365> findByLastName(String lastName); }
83
485
package io.indexr.query; import java.util.Iterator; import io.indexr.query.plan.logical.LogicalPlan; import io.indexr.query.plan.physical.PhysicalPlan; import io.indexr.query.row.InternalRow; public class QueryExecution { private QueryContext queryContext; private LogicalPlan logicalPlan; public QueryEx...
574
311
package org.joyqueue.broker.kafka.network.codec; import io.netty.buffer.ByteBuf; import org.joyqueue.broker.kafka.KafkaCommandType; import org.joyqueue.broker.kafka.command.SaslAuthenticateRequest; import org.joyqueue.broker.kafka.command.SaslAuthenticateResponse; import org.joyqueue.broker.kafka.network.KafkaHeader; ...
1,027
2,058
<filename>gitlab/git_mixins/remotes.py<gh_stars>1000+ class GitLabRemotesMixin(): def get_integrated_branch_name(self): configured_branch_name = self.git( "config", "--local", "--get", "GitSavvy.glBranch", throw_on_error=False ).strip() ...
995
348
{"nom":"Saulxures-sur-Moselotte","circ":"3ème circonscription","dpt":"Vosges","inscrits":2079,"abs":1235,"votants":844,"blancs":56,"nuls":38,"exp":750,"res":[{"nuance":"DVD","nom":"M. <NAME>","voix":481},{"nuance":"REM","nom":"M. <NAME>","voix":269}]}
104
3,301
package com.alibaba.alink.params.shared.tree; import com.alibaba.alink.params.shared.colname.HasCategoricalCols; import com.alibaba.alink.params.shared.colname.HasWeightColDefaultAsNull; public interface TreeTrainParams<T> extends HasCategoricalCols <T>, HasWeightColDefaultAsNull <T>, HasMaxLeaves <T>, HasMinSamp...
133
3,680
<filename>pxr/base/trace/eventTree.h // // Copyright 2018 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is del...
1,660
3,007
<gh_stars>1000+ #import <Cocoa/Cocoa.h> //! Project version number for NEKit. FOUNDATION_EXPORT double NEKitVersionNumber; //! Project version string for NEKit. FOUNDATION_EXPORT const unsigned char NEKitVersionString[]; // In this header, you should import all the public headers of your framework using statements l...
103
412
typedef enum : unsigned { X } my_enum1; enum my_enum2 : unsigned { Y }; struct S { enum my_enum2 : unsigned a; enum my_enum2 : unsigned b : 2; }; int main() { enum my_enum2 : unsigned enum_var1; }
90
582
package com.almasb.fxglgames.bomberman.components; import com.almasb.fxgl.entity.Entity; import com.almasb.fxgl.entity.SpawnData; import com.almasb.fxgl.entity.component.Component; import com.almasb.fxgl.pathfinding.CellMoveComponent; import com.almasb.fxgl.pathfinding.astar.AStarMoveComponent; import com.almasb.fxglg...
606
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 ...
707
746
<reponame>desto12/MixedReality-WebRTC // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #pragma once #include "interop_api.h" extern "C" { /// Register a custom callback to be called when the audio track source produced /// a frame. /// WARNING: The default platform source internal implemen...
221
1,855
<gh_stars>1000+ /* Ppmd7.h -- Ppmd7 (PPMdH) compression codec 2021-04-13 : <NAME> : Public domain This code is based on: PPMd var.H (2001): <NAME> : Public domain */ #ifndef __PPMD7_H #define __PPMD7_H #include "Ppmd.h" EXTERN_C_BEGIN #define PPMD7_MIN_ORDER 2 #define PPMD7_MAX_ORDER 64 #define PPMD7_MIN_MEM_...
2,064
324
/* * 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 ...
892
737
/* fbx_parsing.cc <NAME>, 19 June 2013 Structure descriptions for FBX. */ #include "fbx_parsing.h" #include "soa/types/json_parsing.h" using namespace FBX; //using namespace RTBKIT; using namespace std; namespace Datacratic { DefaultDescription<BidRequest>:: DefaultDescription() { onUnk...
1,458
377
<filename>inception/inception-api-annotation/src/main/java/de/tudarmstadt/ukp/clarin/webanno/api/annotation/preferences/UserPreferencesService.java /* * Licensed to the Technische Universität Darmstadt under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additiona...
772
1,473
/* * Copyright 2014 NAVER Corp. * * 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 ...
1,502
404
<filename>Sources/WireGuardKitC/x25519.h<gh_stars>100-1000 #ifndef X25519_H #define X25519_H void curve25519_derive_public_key(unsigned char public_key[32], const unsigned char private_key[32]); void curve25519_generate_private_key(unsigned char private_key[32]); #endif
98
450
<filename>src/pl/pljava/src/C/include/pljava/type/Type.h<gh_stars>100-1000 /* * Copyright (c) 2004, 2005, 2006 TADA AB - Taby Sweden * Distributed under the terms shown in the file COPYRIGHT * found in the root folder of this project or at * http://eng.tada.se/osprojects/COPYRIGHT.html * * @author <NAME> */ #ifn...
2,213
848
# # Copyright 2019 Xilinx 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 or agreed to in writi...
771
892
{ "schema_version": "1.2.0", "id": "GHSA-2xhg-w2g5-w95x", "modified": "2021-12-06T21:36:47Z", "published": "2021-11-24T21:01:23Z", "aliases": [ "CVE-2021-41270" ], "summary": "CSV Injection in symfony/serializer", "details": "Description\n-----------\n\nCSV Injection, also known as Formula Injection...
1,719
778
// | / | // ' / __| _` | __| _ \ __| // . \ | ( | | ( |\__ ` // _|\_\_| \__,_|\__|\___/ ____/ // Multi-Physics // // License: BSD License // Kratos default license: kratos/license.txt // // Main authors: <NAME> (https://github.com/philbucher) // #if !d...
839
575
<reponame>lmxing/abseil-cpp<filename>absl/random/discrete_distribution_test.cc // Copyright 2017 The Abseil 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...
3,587
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 CONTENT_PUBLIC_TEST_SCOPED_PAGE_FOCUS_OVERRIDE_H_ #define CONTENT_PUBLIC_TEST_SCOPED_PAGE_FOCUS_OVERRIDE_H_ #include "base/callback_forward.h" #i...
523
335
<reponame>Safal08/Hacktoberfest-1<filename>A/Accommodating_adjective.json { "word": "Accommodating", "definitions": [ "Fitting in with someone's wishes or demands in a helpful way." ], "parts-of-speech": "Adjective" }
99
331
<filename>src/main/java/org/yx/common/json/ParamPojoTypeAdapter.java /** * Copyright (C) 2016 - 2030 youtongluan. * * 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.apach...
968
705
package week01_part01.practice; public class Problem04 { public static void main(String[] args) { // // Reviewing 2D Arrays String [] names = {"Alice", "Bob", "Cindy"}; int [] gradesStudent01 = {100, 90, 95, 90}; int [] gradesStudent02 = {100, 95, 80, 95}; int [] gradesStudent03 = {85, 90, 80, 100}; ...
304
2,542
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" using nam...
1,839
1,086
/* in_flac - Winamp2 FLAC input plugin * Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007 <NAME> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the ...
4,383
713
package org.infinispan.persistence.remote.upgrade; import static java.nio.charset.StandardCharsets.UTF_8; import static org.infinispan.commons.dataconversion.MediaType.APPLICATION_JSON; import java.io.ByteArrayInputStream; import java.io.IOException; import org.infinispan.commons.configuration.io.ConfigurationWriter...
728
324
/* * Copyright 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
432