content stringlengths 4 1.04M | lang stringclasses 358
values | score int64 0 5 | repo_name stringlengths 5 114 | repo_path stringlengths 4 229 | repo_licenses listlengths 1 8 |
|---|---|---|---|---|---|
fileFormatVersion: 2
guid: 3b8b241bab4a4ac9a22fcce9c64f1242
timeCreated: 1614334463 | Unity3D Asset | 0 | danyow/xLua | Assets/XLua/Src/Editor/LuaImporter.cs.meta | [
"BSD-3-Clause"
] |
; https://github.com/Lexikos/AutoHotkey_L-Docs.git
; AutoHotkey_L https://lexikos.github.io/v2/docs/AutoHotkey.htm
;! keywords ===========================================================
; https://lexikos.github.io/v2/docs/Concepts.htm#names
; https://lexikos.github.io/v2/docs/v2-changes.htm
as and
Contains
False
in... | AutoHotkey | 3 | Novodes/notepad2 | tools/lang/AutoHotkey_L.ahk | [
"MIT"
] |
/*
* Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.daemon.common
import org.jetbrains.kotlin.cli.common.repl.ILineId
interface ReplStateFacadeAsync {
suspend fun getId(): I... | Kotlin | 4 | Mu-L/kotlin | compiler/daemon/daemon-common/src/org/jetbrains/kotlin/daemon/common/ReplStateFacadeAsync.kt | [
"ECL-2.0",
"Apache-2.0"
] |
// Example of how to create basic boolean logic circuits. Starting with the
// definition of basic boolean operations we build a half-adder and then
// a 4-bit full adder using 4 registers: 2 summands, 1 sum, 1 carry
// https://dev.to/davidk01/some-more-fun-with-alloy-5d7h
// 0 or 1
let bits = { i: Int | 0 <= i && i ... | Alloy | 5 | c-luu/alloy-specs | simple-models/4-bit-adder/4-bit-adder.als | [
"Apache-2.0"
] |
/*
* Copyright 2018-2019 Jiří Janoušek <janousek.jiri@gmail.com>
*
* 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, this
* list of con... | Vala | 4 | xcffl/nuvolaruntime | src/nuvolakit-runner/core/MainLoopAdaptor.vala | [
"BSD-2-Clause"
] |
#declare Index1 = 0;
#while(Index1 <= 9)
#declare Index2 = 0;
#while(Index2 <= 19)
sphere { <Index1, Index2, 0>, .5 }
#declare Index2 = Index2 + 1;
#end
#declare Index1 = Index1 + 1;
#end
| POV-Ray SDL | 3 | btashton/pygments | tests/examplefiles/while.pov | [
"BSD-2-Clause"
] |
#warning "Test.h found in SDK"
extern int TestFrameworkFromSDK;
| C | 0 | lwhsu/swift | validation-test/ClangImporter/Inputs/explicit-system-framework-path/sdkroot/Library/Frameworks/Test.framework/Headers/Test.h | [
"Apache-2.0"
] |
/*
* Copyright (c) 2004, Technische Universitaet Berlin
* 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... | nesC | 4 | mtaghiza/tinyos-main-1 | apps/tests/TestAdc/TestAdcC.nc | [
"BSD-3-Clause"
] |
(function(exports) {
var invalidParamStr = 'Invalid parameter';
var missingParamStr = 'Missing parameter';
// app id
LYUAppId = [NSBundle mainBundle].bundleIdentifier;
// mainBundlePath
LYUAppPath = [NSBundle mainBundle].bundlePath;
// document path
LYUDocPath = NSSearchPathForDirectoriesInDomains(NSDocument... | Cycript | 4 | smola/language-dataset | data/github.com/lvchenqiang/LYUCript/60f3a2750a79e31e3a4dc0f7f782ade9ca580f2b/lyucript.cy | [
"MIT"
] |
%%
%unicode 4.1
%public
%class UnicodeGeneralCategory_4_1
%type int
%standalone
%include ../../resources/common-unicode-all-enumerated-property-java
%%
<<EOF>> { printOutput(); return 1; }
\p{Cc} { setCurCharPropertyValue("Cc"); }
\p{Cf} { setCurCharPropertyValue("Cf"); }
\p{Cn} { setCurCharPropertyValue("Cn"); }
... | JFlex | 3 | Mivik/jflex | testsuite/testcases/src/test/cases/unicode-general-category/UnicodeGeneralCategory_4_1.flex | [
"BSD-3-Clause"
] |
#!/usr/bin/env jq -f
{
"ulid": .ulid,
"minTime": (.minTime / 1000 | todateiso8601),
"maxTime": (.maxTime / 1000 | todateiso8601),
"stats": .stats,
"thanos": .thanos,
"compaction": {
"level": .compaction.level,
"sources": .compaction.sources,
"sourcesCount": .compaction.sources | length,
"pa... | JSONiq | 4 | kiefersmith/thanos | scripts/thanos-block.jq | [
"Apache-2.0"
] |
BEGIN {
# If dir is a slash, return a slash and exit
if (dir == "/") {
print "/"
exit
}
if (cwd !~ dir) {
exit
}
# pos is a position of dir in cwd
pos = rindex(cwd, dir)
# If it is not find the dir in the cwd, then exit
if (pos == 0) {
print cwd
... | Awk | 4 | d3dave/enhancd | functions/enhancd/lib/to_abspath.awk | [
"MIT"
] |
; RUN: llc -march=hexagon < %s | FileCheck %s
; CHECK-LABEL: test0000:
; CHECK: v0.h = vasl(v0.h,r0)
define <32 x i16> @test0000(<32 x i16> %a0, i16 %a1) #0 {
%b0 = insertelement <32 x i16> zeroinitializer, i16 %a1, i32 0
%b1 = shufflevector <32 x i16> %b0, <32 x i16> undef, <32 x i32> zeroinitializer
%v0 = shl... | LLVM | 3 | medismailben/llvm-project | llvm/test/CodeGen/Hexagon/autohvx/shift-64b.ll | [
"Apache-2.0"
] |
BlessJ< |