repo_id stringlengths 4 120 | size int64 631 5.22M | file_path stringlengths 2 2.64k | content stringlengths 631 5.22M | shard_id int64 0 412 | quality_score float32 0.5 1 | quality_prediction int8 1 1 | quality_confidence float32 0.5 1 | topic_primary stringclasses 26
values | topic_group stringclasses 6
values | topic_score float32 0.05 1 | topic_all stringlengths 5 51 | quality2_score float32 0.5 1 | quality2_prediction int8 1 1 | quality2_confidence float32 0.5 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
hynnet/hiwifi-openwrt-HC5661-HC5761 | 10,956 | package/boot/cfe-bcm/cfe_common/src/include/bcmcrypto/aes.h | /*
* aes.h
* AES encrypt/decrypt wrapper functions used around Rijndael reference
* implementation
*
* Copyright (C) 2012, Broadcom Corporation. All Rights Reserved.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the a... | 41 | 0.859283 | 1 | 0.859283 | security-crypto | OPS | 0.987302 | security-crypto | 0.651933 | 1 | 0.651933 |
huppertt/nirs-toolbox | 2,417 | external/fieldtrip/preproc/ft_preproc_standardize.m | function [dat, state] = ft_preproc_standardize(dat, begsample, endsample, state)
% FT_PREPROC_STANDARDIZE performs a z-transformation or standardization
% of the data. The standardized data will have a zero-mean and a unit
% standard deviation.
%
% Use as
% [dat] = ft_preproc_standardize(dat, begsample, endsample)
%... | 359 | 0.698082 | 1 | 0.698082 | scientific-computing | AI_DATA | 0.344333 | scientific-computing | 0.886777 | 1 | 0.886777 |
tektoncd/results | 10,368 | cmd/watcher/main.go | /*
Copyright 2020 The Tekton 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 agreed to in writing, softw... | 193 | 0.971418 | 1 | 0.971418 | distributed-systems | SYSTEMS | 0.723265 | distributed-systems | 0.97038 | 1 | 0.97038 |
centrifuge/pod | 9,265 | http/v2/service.go | package v2
import (
"context"
"fmt"
coredocumentpb "github.com/centrifuge/centrifuge-protobufs/gen/go/coredocument"
"github.com/centrifuge/go-substrate-rpc-client/v4/types"
"github.com/centrifuge/gocelery/v2"
"github.com/centrifuge/pod/config"
"github.com/centrifuge/pod/crypto"
"github.com/centrifuge/pod/docu... | 53 | 0.909623 | 1 | 0.909623 | web-backend | APP_WEB | 0.483003 | web-backend | 0.912099 | 1 | 0.912099 |
Rid7/Table-OCR | 37,062 | PSE/pse/include/pybind11/detail/common.h | /*
pybind11/detail/common.h -- Basic macros
Copyright (c) 2016 Wenzel Jakob <[email protected]>
All rights reserved. Use of this source code is governed by a
BSD-style license that can be found in the LICENSE file.
*/
#pragma once
#if !defined(NAMESPACE_BEGIN)
# define NAMESPACE_BEGIN(name) name... | 90 | 0.959301 | 1 | 0.959301 | cli-devtools | APP_WEB | 0.350996 | cli-devtools | 0.605469 | 1 | 0.605469 |
linyimin0812/spring-startup-analyzer | 7,177 | spring-async-bean-core/src/test/java/io/github/linyimin0812/async/config/AsyncBeanPropertiesSpec.groovy | package io.github.linyimin0812.async.config
import com.google.gson.Gson
import io.github.linyimin0812.profiler.common.utils.GsonUtil
import org.springframework.core.env.Environment
import org.springframework.core.env.Profiles
import org.springframework.util.StringUtils
import spock.lang.Specification
/**
* @author l... | 316 | 0.91931 | 1 | 0.91931 | testing-qa | OPS | 0.971446 | testing-qa | 0.831826 | 1 | 0.831826 |
robotcodedev/robotcode | 1,195 | vscode-client/rendererLog/index.tsx | import type { ActivationFunction } from "vscode-notebook-renderer";
import { render } from "preact";
import { Renderer } from "./renderer";
import commonCss from "./common.css";
import rendererCss from "./log.css";
import docFormattingCss from "./docFormatting.css";
export const activate: ActivationFunction = (_contex... | 248 | 0.683679 | 1 | 0.683679 | web-frontend | APP_WEB | 0.994642 | web-frontend | 0.759402 | 1 | 0.759402 |
SparkViewEngine/spark | 5,302 | src/Spark/Compiler/NodeVisitors/NamespaceVisitor.cs | // Copyright 2008-2024 Louis DeJardin
//
// 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 ag... | 253 | 0.91311 | 1 | 0.91311 | web-frontend | APP_WEB | 0.635275 | web-frontend | 0.907731 | 1 | 0.907731 |
OpenIdentityPlatform/OpenAM | 3,741 | openam-datastore/src/test/java/org/forgerock/openam/idrepo/ldap/ADBasicRepoTest.java | /*
* The contents of this file are subject to the terms of the Common Development and
* Distribution License (the License). You may not use this file except in compliance with the
* License.
*
* You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
* specific language governing permi... | 369 | 0.944277 | 1 | 0.944277 | security-crypto | OPS | 0.805298 | security-crypto,testing-qa | 0.871338 | 1 | 0.871338 |
uavorg/uavstack | 20,668 | com.creditease.uav.collect/src/main/java/com/creditease/uav/collect/client/copylogagent/ReliableTaildirEventReader.java | /*-
* <<
* UAVStack
* ==
* Copyright (C) 2016 - 2017 UAVStack
* ==
* 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... | 403 | 0.931901 | 1 | 0.931901 | security-crypto | OPS | 0.315879 | security-crypto | 0.978075 | 1 | 0.978075 |
Readarr/Readarr | 1,047 | src/Readarr.Http/Frontend/Mappers/RobotsTxtMapper.cs | using System.IO;
using NLog;
using NzbDrone.Common.Disk;
using NzbDrone.Common.EnvironmentInfo;
using NzbDrone.Core.Configuration;
namespace Readarr.Http.Frontend.Mappers
{
public class RobotsTxtMapper : StaticResourceMapperBase
{
private readonly IAppFolderInfo _appFolderInfo;
private readonl... | 384 | 0.807666 | 1 | 0.807666 | networking | SYSTEMS | 0.304122 | networking | 0.785758 | 1 | 0.785758 |
OpenSees/OpenSees | 18,827 | SRC/analysis/integrator/HHTHSFixedNumIter.cpp | /* ****************************************************************** **
** OpenSees - Open System for Earthquake Engineering Simulation **
** Pacific Earthquake Engineering Research Center **
** **
** ... | 134 | 0.927955 | 1 | 0.927955 | game-dev | MEDIA | 0.55983 | game-dev | 0.988889 | 1 | 0.988889 |
featurebyte/featurebyte | 10,076 | featurebyte/core/accessor/feature_datetime.py | """
Feature datetime accessor module.
"""
from __future__ import annotations
from typing import TYPE_CHECKING, ClassVar, TypeVar, Union
from featurebyte.common.doc_util import FBAutoDoc
from featurebyte.core.accessor.datetime import DatetimeAccessor
if TYPE_CHECKING:
from featurebyte.api.feature import Feature
... | 244 | 0.704751 | 1 | 0.704751 | web-backend | APP_WEB | 0.514506 | web-backend | 0.921533 | 1 | 0.921533 |
intel/intelRSD | 2,568 | PSME/agent/fpga-of/discovery/src/discoverers/fpgaof_opaeproxy_interface_discoverer.cpp | /*!
* @brief Opaepp network interface discoverer interface.
*
* @copyright Copyright (c) 2019 Intel Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.apache.org/l... | 94 | 0.95185 | 1 | 0.95185 | networking | SYSTEMS | 0.998123 | networking | 0.654027 | 1 | 0.654027 |
dotnet/dotnet | 19,735 | src/roslyn/eng/common/tools.sh | #!/usr/bin/env bash
# Initialize variables if they aren't already defined.
# CI mode - set to true on CI server for PR validation build or official build.
ci=${ci:-false}
# Build mode
source_build=${source_build:-false}
# Set to true to use the pipelines logger which will enable Azure logging output.
# https://gith... | 24 | 0.950574 | 1 | 0.950574 | devops-infra | OPS | 0.791854 | devops-infra | 0.866771 | 1 | 0.866771 |
fury-gl/fury | 18,901 | docs/source/ext/apigen.py | """Attempt to generate templates for module reference with Sphinx.
To include extension modules, first identify them as valid in the
``_uri2path`` method, then handle them in the ``_parse_module_with_import``
script.
Notes
-----
This parsing is based on import and introspection of modules.
Previously functions and cl... | 353 | 0.941599 | 1 | 0.941599 | devops-infra | OPS | 0.367572 | devops-infra | 0.936781 | 1 | 0.936781 |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 38