content stringlengths 263 5.24M | pred_label stringclasses 1
value | pred_score_pos float64 0.6 1 |
|---|---|---|
stage1_text_requery_prompt = """You are a helpful assistant. I am giving you a question, which cannot be solved without external knowledge.
Assume you have access to a text-only search engine (e.g., google). Please raise a query to the search engine to search for what is useful for you to answer the question correctly.... | __label__POS | 0.634769 |
#define BORINGSSL_PREFIX CNIOBoringSSL
// This file is generated from a similarly-named Perl script in the BoringSSL
// source tree. Do not edit by hand.
#include <CNIOBoringSSL_asm_base.h>
#if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_AARCH64) && defined(_WIN32)
#include <CNIOBoringSSL_arm_arch.h>
.text
.globl s... | __label__POS | 0.784887 |
#define BORINGSSL_PREFIX CCryptoBoringSSL
// This file is generated from a similarly-named Perl script in the BoringSSL
// source tree. Do not edit by hand.
#include <CCryptoBoringSSL_asm_base.h>
#if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_AARCH64) && defined(__APPLE__)
// Copyright 2014-2020 The OpenSSL Project ... | __label__POS | 0.635186 |
#define BORINGSSL_PREFIX CCryptoBoringSSL
// This file is generated from a similarly-named Perl script in the BoringSSL
// source tree. Do not edit by hand.
#include <CCryptoBoringSSL_asm_base.h>
#if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_AARCH64) && defined(_WIN32)
// Copyright 2014-2020 The OpenSSL Project Aut... | __label__POS | 0.602114 |
//===----------------------------------------------------------------------===//
//
// This source file is part of the Swift Temporal SDK open source project
//
// Copyright (c) 2025 Apple Inc. and the Swift Temporal SDK project authors
// Licensed under MIT License
//
// See LICENSE.txt for license information
// See ... | __label__POS | 0.83719 |
/*
* Copyright © 2021 Apple Inc. and the ServiceTalk project 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 requi... | __label__POS | 0.902772 |
#define BORINGSSL_PREFIX CCryptoBoringSSL
// This file is generated from a similarly-named Perl script in the BoringSSL
// source tree. Do not edit by hand.
#include <CCryptoBoringSSL_asm_base.h>
#if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_AARCH64) && defined(_WIN32)
// Copyright 2014-2020 The OpenSSL Project Aut... | __label__POS | 0.629919 |
#define BORINGSSL_PREFIX CCryptoBoringSSL
// This file is generated from a similarly-named Perl script in the BoringSSL
// source tree. Do not edit by hand.
#include <CCryptoBoringSSL_asm_base.h>
#if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_AARCH64) && defined(_WIN32)
.text
.globl sha1_block_data_order_nohw
.def... | __label__POS | 0.787324 |
#define BORINGSSL_PREFIX CNIOBoringSSL
// This file is generated from a similarly-named Perl script in the BoringSSL
// source tree. Do not edit by hand.
#include <CNIOBoringSSL_asm_base.h>
#if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_AARCH64) && defined(__APPLE__)
// Copyright 2014-2020 The OpenSSL Project Author... | __label__POS | 0.647847 |
#define BORINGSSL_PREFIX CNIOBoringSSL
// This file is generated from a similarly-named Perl script in the BoringSSL
// source tree. Do not edit by hand.
#include <CNIOBoringSSL_asm_base.h>
#if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_AARCH64) && defined(__ELF__)
#include <CNIOBoringSSL_arm_arch.h>
.text
.globl ... | __label__POS | 0.794669 |
#define BORINGSSL_PREFIX CCryptoBoringSSL
// This file is generated from a similarly-named Perl script in the BoringSSL
// source tree. Do not edit by hand.
#include <CCryptoBoringSSL_asm_base.h>
#if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_AARCH64) && defined(__APPLE__)
// Copyright 2014-2020 The OpenSSL Project ... | __label__POS | 0.607131 |
#define BORINGSSL_PREFIX CCryptoBoringSSL
// This file is generated from a similarly-named Perl script in the BoringSSL
// source tree. Do not edit by hand.
#include <CCryptoBoringSSL_asm_base.h>
#if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_AARCH64) && defined(__ELF__)
.text
.globl sha1_block_data_order_nohw
.hid... | __label__POS | 0.796974 |
dataset_name: electrical_engineering
description: '
The following are multiple choice questions (with answers) about electrical engineering.'
fewshot_config:
sampler: first_n
samples:
- question: "A point pole has a strength of 4\u03C0 * 10^-4 weber. The force in newtons\
\ on a point pole of 4\u03C0 * 1... | __label__POS | 0.753381 |
dataset_name: elementary_mathematics
description: The following are multiple choice questions (with answers) about elementary
mathematics.
fewshot_config:
sampler: first_n
samples:
- question: 'Olivia used the rule "Add 11" to create the number pattern shown below.
10, 21, 32, 43, 54. Which statement abou... | __label__POS | 0.958373 |
#define BORINGSSL_PREFIX CNIOBoringSSL
// This file is generated from a similarly-named Perl script in the BoringSSL
// source tree. Do not edit by hand.
#include <CNIOBoringSSL_asm_base.h>
#if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_AARCH64) && defined(__ELF__)
// Copyright 2014-2020 The OpenSSL Project Authors.... | __label__POS | 0.651063 |
#define BORINGSSL_PREFIX CCryptoBoringSSL
// This file is generated from a similarly-named Perl script in the BoringSSL
// source tree. Do not edit by hand.
#include <CCryptoBoringSSL_asm_base.h>
#if !defined(OPENSSL_NO_ASM) && defined(OPENSSL_AARCH64) && defined(__ELF__)
// Copyright 2014-2020 The OpenSSL Project Au... | __label__POS | 0.609842 |
/*
* Copyright © 2018-2019 Apple Inc. and the ServiceTalk project 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 ... | __label__POS | 0.981347 |
dataset_name: moral_scenarios
description: The following are multiple choice questions (with answers) about moral
scenarios.
fewshot_config:
sampler: first_n
samples:
- question: 'For which of these two scenarios does the main character (who uses I/me/my)
do something clearly morally wrong, according to o... | __label__POS | 0.67675 |
from metrics.scoring.common.conversions import cast_to_dict
from metrics.scoring.simple_str_match import ExactStrMatch
class DictEquality:
"""Calculates the exact string match across the dict.
1. Calculates the exact match for all keys in the solution
2. Calculates the total, then divides by the size of ... | __label__POS | 0.712228 |
package common
import (
corev1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/util/intstr"
)
// GetDefaultMicroProfileStartupProbe returns the default values for MicroProfile Health-based startup probe.
func GetDefaultMicroProfileStartupProbe(ba BaseComponent) *corev1.Probe {
return &corev1.Probe{
ProbeHandler: c... | __label__POS | 0.661386 |
package com.applidium.headerlistview;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.BaseAdapter;
public abstract class SectionAdapter extends BaseAdapter implements OnItemClickListener {
pri... | __label__POS | 0.951877 |
#!/usr/bin/env ruby
require 'stringio'
require 'rubygems'
require 'eventmachine'
require 'zlib'
require 'cfpropertylist'
require 'uuidtools'
require 'pp'
class String
def to_hex
self.unpack('H*').first
end
def from_hex
[self].pack('H*')
end
end
module Siri
class Client
end
class Server
end
... | __label__POS | 0.954572 |
package com.applidium.shutterbug.utils;
import android.graphics.BitmapFactory;
import com.applidium.shutterbug.utils.ShutterbugManager.ShutterbugManagerListener;
public class DownloadRequest {
private String mUrl;
private ShutterbugManagerListener mListener;
private int ... | __label__POS | 0.974943 |
#include <gtest/gtest.h>
#include <libff/common/utils.hpp>
#include <libsnark/common/default_types/r1cs_ppzksnark_pp.hpp>
#include "util.h"
#include "serialization.hpp"
using namespace std;
using namespace libff;
using namespace libsnark;
using namespace k0;
typedef Fr<default_r1cs_ppzksnark_pp> FieldT;
TEST(BitsAnd... | __label__POS | 0.741459 |
#include <gtest/gtest.h>
#include "definitions.hpp"
#include "serialization.hpp"
#include "MerkleTree.hpp"
TEST(MerkleTree, Test
) {
// We'll successively add these leaves
vector<libff::bit_vector> leaves_to_add =
hex2bitsVec(
{"0x91d9bafe6e8313848a4eb5f7961fd5682d83bde4ae03116ce96b... | __label__POS | 0.670473 |
template<typename FieldT>
vector<FieldT> pack(bit_vector bv)
{
protoboard<FieldT> pb;
pb_variable_array<FieldT> packed;
packed.allocate(pb, 2, "packed");
pb_variable_array<FieldT> bits;
bits.allocate(pb, 256, "bits");
multipacking_gadget<FieldT> packer(pb, bits, packed, 128, "packer");
packer.generate_r1c... | __label__POS | 0.709088 |
#include "definitions.hpp"
#include "serialization.hpp"
#include "util.h"
#include "scheme/comms.hpp"
#include "circuitry/CommitmentCircuit.hpp"
#include "pkutil.cpp"
#include <libsnark/common/default_types/r1cs_ppzksnark_pp.hpp>
#include <libsnark/zk_proof_systems/ppzksnark/r1cs_ppzksnark/r1cs_ppzksnark.hpp>
int main... | __label__POS | 0.674839 |
#ifndef K0_MERKLETREE_TCC
#define K0_MERKLETREE_TCC
#include <bitset>
#include <iomanip>
#include <iostream>
#include <vector>
#include <libsnark/common/default_types/r1cs_ppzksnark_pp.hpp>
#include "MerkleTree.hpp"
#include "serialization.hpp"
#include "util.h"
using namespace std;
using namespace libff;
using names... | __label__POS | 0.604946 |
//
// RubberBandOverlayTranslationFunction.swift
// OverlayContainer
//
// Created by Gaétan Zanella on 29/11/2018.
//
import UIKit
/// `RubberBandOverlayTranslationFunction` specifies an overlay that will move linearly between
/// the translation boundaris and limit its progression once reached.
public class Rubb... | __label__POS | 0.671086 |
#ifndef K0_TRANSFERCIRCUIT_TCC
#define K0_TRANSFERCIRCUIT_TCC
#include "serialization.hpp"
#include "util.h"
template<typename FieldT, typename CommitmentHashT, typename MerkleTreeHashT>
TransferCircuit<FieldT, CommitmentHashT, MerkleTreeHashT>
k0::make_transfer_circuit(size_t tree_height) {
protoboard<FieldT> *p... | __label__POS | 0.872456 |
//
// OverlayContainerViewControllerDelegateWrapper.swift
// OverlayContainer
//
// Created by Gaétan Zanella on 20/11/2018.
//
import UIKit
protocol OverlayContainerConfiguration {
func numberOfNotches() -> Int
func heightForNotch(at index: Int) -> CGFloat
func canReachNotch(at index: Int, for overl... | __label__POS | 0.954941 |
//
// OverlayContainerViewControllerDelegate+Defaults.swift
// OverlayContainer
//
// Created by Gaétan Zanella on 23/11/2018.
//
import UIKit
public extension OverlayContainerViewControllerDelegate {
func overlayContainerViewController(_ containerViewController: OverlayContainerViewController,
... | __label__POS | 0.922183 |
package util
import (
"encoding/binary"
"fmt"
)
func VariableToFixed32(input []byte) ([32]byte, error) {
if len(input) != 32 {
msg := "Byte array is of length %d, expected 32"
return [32]byte{}, fmt.Errorf(msg, len(input))
}
var result [32]byte
copy(result[:], input[:32])
return result, nil
}
func Variabl... | __label__POS | 0.984876 |
# Generalized dynamic programming for multiple sequence alignment <link src='737114'/>
Until now we worked with alignments between two sequences, but it is likely that you will want to align many sequences at the same time. For example, if you are trying to gain insight on the evolutionary relationships between all o... | __label__POS | 0.831416 |
# About the author <link src='fedd13'/>
My name is Greg Caporaso. I'm the primary author of *An Introduction to Applied Bioinformatics*, but there are [other contributors](https://github.com/applied-bioinformatics/An-Introduction-To-Applied-Bioinformatics/graphs/contributors) and I hope that list will grow.
<div styl... | __label__POS | 0.93902 |
//===-- RegisterContextKDP_arm64.cpp ------------------------------*- C++
//-*-===//
//
// 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
//
//===-----------------------... | __label__POS | 0.994621 |
//===-- RegisterContextKDP_arm.cpp ------------------------------*- C++ -*-===//
//
// 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
//
//===---------------------------... | __label__POS | 0.99444 |
//===-- RegisterContextKDP_i386.cpp -----------------------------*- C++ -*-===//
//
// 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
//
//===---------------------------... | __label__POS | 0.987447 |
//===-- RegisterContextKDP_x86_64.cpp ---------------------------*- C++ -*-===//
//
// 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
//
//===---------------------------... | __label__POS | 0.987544 |
//===-- DWARFDefines.cpp ----------------------------------------*- C++ -*-===//
//
// 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
//
//===---------------------------... | __label__POS | 0.756034 |
//go:build what || whathappens || whatif || whatfunc || whatis || whatpackage
package what
import (
"os"
"runtime"
"strings"
)
var enabled map[string]bool
func isPackageEnabled() bool {
if len(enabled) == 0 { // all packages enabled
return true
}
pkg, prnt := pkgname(3) // 3 = skip isPackageEnabled and the ... | __label__POS | 0.991068 |
<h1>Interlpay</h1>
<h2>Interleave with attention</h2>
<p>a <del>two <em>emphasis</em> two</del> b</p>
<p>a <del>two <strong>strong</strong> two</del> b</p>
<p>a <em>marker ~~two marker</em> two~~ b</p>
<p>a <del>two *marker two</del> marker* b</p>
<h2>Interleave with links</h2>
<p>a <del>two <a href="#">resource</a> tw... | __label__POS | 0.857872 |
package guideme.libs.micromark;
import guideme.libs.micromark.html.HtmlCompiler;
public class PerfTest {
public static void main(String[] args) {
System.out.println("base");
var then = System.currentTimeMillis();
micromark("xxxx".repeat((int) 1e4));
System.out.println((System.curr... | __label__POS | 0.999811 |
package guideme.libs.micromark;
import static org.junit.jupiter.api.Assertions.assertEquals;
import guideme.libs.micromark.html.CompileOptions;
import guideme.libs.micromark.html.HtmlCompiler;
import guideme.libs.micromark.html.ParseOptions;
import java.util.List;
public class TestUtil {
public static void asse... | __label__POS | 0.898206 |
package guideme.libs.micromark.extensions;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotEquals;
import guideme.libs.micromark.Micromark;
import guideme.libs.micromark.Tokenizer;
import guideme.libs.micromark.html.ParseOptions;
import java.util.Li... | __label__POS | 0.774113 |
package guideme.libs.micromark.misc;
import static org.junit.jupiter.api.Assertions.assertEquals;
import guideme.libs.micromark.HtmlTagName;
import guideme.libs.micromark.NamedCharacterEntities;
import guideme.libs.micromark.symbol.Constants;
import java.util.Collection;
import org.junit.jupiter.api.Test;
public cla... | __label__POS | 0.999446 |
package guideme.libs.mdx;
import java.util.function.Predicate;
import java.util.regex.Pattern;
public final class EcmaScriptIdentifiers {
// See https://raw.githubusercontent.com/syntax-tree/estree-util-is-identifier-name/main/regex.js
private static final Predicate<String> start = Pattern.compile(
... | __label__POS | 0.986867 |
package guideme.libs.mdx;
import guideme.libs.micromark.Construct;
import guideme.libs.micromark.State;
import guideme.libs.micromark.TokenizeContext;
import guideme.libs.micromark.Tokenizer;
final class JsxText {
public static final Construct INSTANCE = new Construct();
static {
INSTANCE.tokenize =... | __label__POS | 0.957025 |
package guideme.libs.mdx;
import guideme.libs.micromark.Assert;
import guideme.libs.micromark.CharUtil;
import guideme.libs.micromark.Construct;
import guideme.libs.micromark.State;
import guideme.libs.micromark.TokenizeContext;
import guideme.libs.micromark.Tokenizer;
import guideme.libs.micromark.Types;
import guide... | __label__POS | 0.799668 |
package guideme.libs.mdast;
import guideme.libs.micromark.Token;
import guideme.libs.micromark.extensions.YamlFrontmatterSyntax;
public class YamlFrontmatterExtension {
public static final MdastExtension INSTANCE = MdastExtension.builder()
.enter(YamlFrontmatterSyntax.TYPE, YamlFrontmatterExtension::... | __label__POS | 0.983361 |
package guideme.libs.micromark;
/**
* Here is the list of all types of tokens exposed by micromark, with a short explanation of what they include and where
* they are found. In picking names, generally, the rule is to be as explicit as possible instead of reusing names. For
* example, there is a `definitionDestinat... | __label__POS | 0.888239 |
package guideme.libs.micromark;
import java.util.ArrayList;
import java.util.List;
import org.jetbrains.annotations.Nullable;
public final class ListUtils {
private ListUtils() {
}
public static <T> void splice(List<T> list, int start, int remove) {
var removeEnd = Math.min(list.size(), start + r... | __label__POS | 0.986892 |
package guideme.libs.micromark;
import java.util.HashSet;
import java.util.List;
/**
* An object describing how to parse a markdown construct.
*/
public class Construct {
/**
* Guard whether the previous character can come before the construct
*/
public Previous previous;
/**
* For cont... | __label__POS | 0.685491 |
package guideme.libs.micromark;
import guideme.libs.micromark.symbol.Codes;
public final class CharUtil {
private CharUtil() {
}
/**
* Check whether the character code represents an ASCII alpha (`a` through `z`, case insensitive).
* <p>
* An **ASCII alpha** is an ASCII upper alpha or ASCII... | __label__POS | 0.946477 |
package guideme.libs.micromark;
import guideme.libs.micromark.html.NumericCharacterReference;
import guideme.libs.micromark.symbol.Codes;
import guideme.libs.micromark.symbol.Constants;
import java.util.Objects;
import java.util.regex.MatchResult;
import java.util.regex.Pattern;
public final class DecodeString {
... | __label__POS | 0.984293 |
package guideme.libs.micromark;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public final class Extensions {
private Extensions() {
}
/**
* Combine several syntax extensions into one.
*
* @param extensions List of syntax extensions.
... | __label__POS | 0.979022 |
package guideme.libs.micromark;
import guideme.libs.micromark.commonmark.Subtokenize;
import guideme.libs.micromark.html.ParseOptions;
import java.util.ArrayList;
import java.util.List;
public final class Micromark {
public static final boolean ENABLE_TRACE = false;
private Micromark() {
}
public s... | __label__POS | 0.985625 |
package guideme.libs.micromark;
import guideme.libs.mdast.model.MdAstPosition;
import guideme.libs.unist.UnistPoint;
public class ParseException extends RuntimeException {
private final UnistPoint from;
private final UnistPoint to;
private final String code;
public ParseException(String message, Unis... | __label__POS | 0.903616 |
package guideme.libs.micromark;
import guideme.libs.micromark.symbol.Codes;
import guideme.libs.micromark.symbol.Constants;
import java.util.ArrayList;
import java.util.List;
import java.util.regex.Pattern;
final class Preprocessor {
private static final Pattern SEARCH = Pattern.compile("[\0\t\n\r]");
privat... | __label__POS | 0.891106 |
package guideme.libs.micromark;
import java.util.Set;
public final class HtmlTagName {
private HtmlTagName() {
}
/**
* List of lowercase HTML tag names which when parsing HTML (flow), result in more relaxed rules (condition 6):
* because they are known blocks, the HTML-like syntax doesn’t have ... | __label__POS | 0.767905 |
package guideme.libs.mdast.model;
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
import org.jetbrains.annotations.Nullable;
/**
* Link includes Resource
* <p>
* Link (Parent) represents a hyperlink.
* <p>
* Link can be used where phrasing content is expected. Its content model is static ph... | __label__POS | 0.997042 |
package guideme.libs.mdast.model;
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
import org.jetbrains.annotations.Nullable;
/**
* Represents a resource.
* <p>
* Definition can be used where content is expected. It has no content model.
* <p>
* Definition should be associated with LinkRefer... | __label__POS | 0.96975 |
package guideme.libs.mdast.model;
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
import org.jetbrains.annotations.Nullable;
/**
* Image (Node) represents an image.
* <p>
* Image can be used where phrasing content is expected. It has no content model, but is described by its alt field.
* <p>... | __label__POS | 0.920823 |
package guideme.libs.mdast.model;
import com.google.gson.stream.JsonWriter;
import guideme.libs.mdast.MdAstVisitor;
import guideme.libs.unist.UnistNode;
import guideme.libs.unist.UnistPosition;
import java.io.IOException;
import java.util.function.Predicate;
import org.jetbrains.annotations.Nullable;
public abstract ... | __label__POS | 0.950847 |
package guideme.libs.mdast.model;
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
/**
* An item in a {@link MdAstList}.
* <p>
* It can be used where list content is expected. Its content model is flow content.
* <p>
* For example, the following markdown:
* <p>
* * bar
* <p>
* Yields:
*... | __label__POS | 0.994856 |
package guideme.libs.mdast.model;
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
import org.jetbrains.annotations.Nullable;
/**
* Code (Literal) represents a block of preformatted text, such as ASCII art or computer code.
* <p>
* Code can be used where flow content is expected. Its content i... | __label__POS | 0.946641 |
package guideme.libs.mdast.model;
import com.google.gson.stream.JsonWriter;
import guideme.libs.unist.UnistPoint;
import guideme.libs.unist.UnistPosition;
import java.io.IOException;
import org.jetbrains.annotations.Nullable;
public class MdAstPosition implements UnistPosition {
public UnistPoint start;
publi... | __label__POS | 0.983232 |
package guideme.libs.mdast.model;
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
/**
* List (Parent) represents a list of items.
* <p>
* List can be used where flow content is expected. Its content model is list content.
* <p>
* <p>
* For example, the following markdown:
* <p>
* 1. foo
... | __label__POS | 0.985758 |
package guideme.libs.mdast.model;
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
import org.jetbrains.annotations.Nullable;
/**
* ImageReference (Node) represents an image through association, or its original source if there is no association.
* <p>
* ImageReference can be used where phrasin... | __label__POS | 0.882531 |
package guideme.libs.mdast.model;
import com.google.gson.stream.JsonWriter;
import java.io.IOException;
import org.jetbrains.annotations.Nullable;
/**
* LinkReference (Parent) represents a hyperlink through association, or its original source if there is no association.
* <p>
* LinkReference can be used where phra... | __label__POS | 0.981262 |
package guideme.libs.mdast.mdx.model;
import com.google.gson.stream.JsonWriter;
import guideme.libs.mdast.model.MdAstFlowContent;
import guideme.libs.mdast.model.MdAstParent;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import org.jetbrains.annotations.Nullable;
public class MdxJsxFl... | __label__POS | 0.888636 |
package guideme.libs.mdast.mdx.model;
import com.google.gson.stream.JsonWriter;
import guideme.libs.mdast.model.MdAstParent;
import guideme.libs.mdast.model.MdAstPhrasingContent;
import guideme.libs.mdast.model.MdAstStaticPhrasingContent;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
i... | __label__POS | 0.823384 |
package guideme.libs.micromark.commonmark;
import guideme.libs.micromark.Assert;
import guideme.libs.micromark.CharUtil;
import guideme.libs.micromark.Construct;
import guideme.libs.micromark.HtmlTagName;
import guideme.libs.micromark.State;
import guideme.libs.micromark.TokenizeContext;
import guideme.libs.micromark.... | __label__POS | 0.813454 |
package guideme.libs.micromark.commonmark;
import guideme.libs.micromark.Assert;
import guideme.libs.micromark.CharUtil;
import guideme.libs.micromark.Construct;
import guideme.libs.micromark.NormalizeIdentifier;
import guideme.libs.micromark.State;
import guideme.libs.micromark.TokenizeContext;
import guideme.libs.mi... | __label__POS | 0.70017 |
package guideme.libs.micromark.commonmark;
import guideme.libs.micromark.Assert;
import guideme.libs.micromark.CharUtil;
import guideme.libs.micromark.Construct;
import guideme.libs.micromark.State;
import guideme.libs.micromark.Token;
import guideme.libs.micromark.TokenizeContext;
import guideme.libs.micromark.Tokeni... | __label__POS | 0.613298 |
package guideme.libs.micromark.commonmark;
import guideme.libs.micromark.Assert;
import guideme.libs.micromark.ListUtils;
import guideme.libs.micromark.Token;
import guideme.libs.micromark.Tokenizer;
import guideme.libs.micromark.Types;
import guideme.libs.micromark.symbol.Codes;
import java.util.ArrayList;
import jav... | __label__POS | 0.665969 |
package guideme.libs.micromark.extensions;
import guideme.libs.micromark.CharUtil;
import guideme.libs.micromark.Construct;
import guideme.libs.micromark.Extension;
import guideme.libs.micromark.State;
import guideme.libs.micromark.TokenizeContext;
import guideme.libs.micromark.Tokenizer;
import guideme.libs.micromark... | __label__POS | 0.889989 |
package guideme.libs.micromark.symbol;
/**
* Character codes.
* <p>
* This module is compiled away!
* <p>
* micromark works based on character codes. This module contains constants for the ASCII block and the replacement
* character. A couple of them are handled in a special way, such as the line endings (CR, LF... | __label__POS | 0.999967 |
package guideme.libs.micromark.symbol;
/**
* This module is compiled away!
* <p>
* Parsing markdown comes with a couple of constants, such as minimum or maximum sizes of certain sequences.
* Additionally, there are a couple symbols used inside micromark. These are all defined here, but compiled away by
* scripts.... | __label__POS | 0.997605 |
package guideme.libs.micromark.factory;
import guideme.libs.micromark.CharUtil;
import guideme.libs.micromark.ContentType;
import guideme.libs.micromark.State;
import guideme.libs.micromark.Token;
import guideme.libs.micromark.Tokenizer;
import guideme.libs.micromark.Types;
import guideme.libs.micromark.symbol.Codes;
... | __label__POS | 0.946847 |
package guideme.libs.micromark.factory;
import guideme.libs.micromark.Assert;
import guideme.libs.micromark.CharUtil;
import guideme.libs.micromark.ContentType;
import guideme.libs.micromark.State;
import guideme.libs.micromark.Token;
import guideme.libs.micromark.Tokenizer;
import guideme.libs.micromark.Types;
import... | __label__POS | 0.784534 |
package guideme.libs.micromark.factory;
import guideme.libs.micromark.CharUtil;
import guideme.libs.micromark.State;
import guideme.libs.micromark.Tokenizer;
import guideme.libs.micromark.Types;
public final class FactoryWhitespace {
private FactoryWhitespace() {
}
public static State create(Tokenizer.Ef... | __label__POS | 0.97961 |
package guideme.libs.micromark.factory;
import guideme.libs.micromark.CharUtil;
import guideme.libs.micromark.State;
import guideme.libs.micromark.Tokenizer;
public final class FactorySpace {
private FactorySpace() {
}
public static State create(Tokenizer.Effects effects, State ok, String type) {
... | __label__POS | 0.969115 |
package guideme.libs.micromark.html;
import guideme.libs.micromark.symbol.Codes;
public final class NumericCharacterReference {
private NumericCharacterReference() {
}
/**
* Turn the number (in string form as either hexa- or plain decimal) coming from a numeric character reference into
* a char... | __label__POS | 0.803222 |
package guideme.libs.micromark.html;
import java.util.ArrayList;
import java.util.List;
import org.jetbrains.annotations.Nullable;
public class CompileOptions {
private List<HtmlExtension> extensions = new ArrayList<>();
@Nullable
private String defaultLineEnding;
private boolean allowDangerousHtml;... | __label__POS | 0.734694 |
package guideme.libs.micromark.html;
import guideme.libs.micromark.CharUtil;
import guideme.libs.micromark.symbol.Codes;
import java.net.URLEncoder;
import java.nio.charset.StandardCharsets;
import java.util.Objects;
import java.util.function.Predicate;
import java.util.regex.Pattern;
import org.jetbrains.annotations.... | __label__POS | 0.673295 |
/*
* Copyright © 2018-2019, 2021 Apple Inc. and the ServiceTalk project 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
*
* U... | __label__POS | 0.745129 |
export function convertMultiblock(multiblock: any, writeLogLine: (line: string) => void): string[] {
const lines: string[] = [];
lines.push("<GameScene interactive={true} zoom={2}>");
const {mapping, pattern} = multiblock as {
mapping: Record<string, string>;
pattern: string[][];
};
... | __label__POS | 0.79141 |
import org.gradle.api.DefaultTask;
import org.gradle.api.file.DirectoryProperty;
import org.gradle.api.file.RegularFileProperty;
import org.gradle.api.tasks.InputDirectory;
import org.gradle.api.tasks.InputFile;
import org.gradle.api.tasks.OutputFile;
import org.gradle.api.tasks.TaskAction;
import org.jetbrains.annotat... | __label__POS | 0.644534 |
package guideme.compiler.tags;
import guideme.compiler.PageCompiler;
import guideme.document.LytErrorSink;
import guideme.libs.mdast.mdx.model.MdxJsxAttribute;
import guideme.libs.mdast.mdx.model.MdxJsxAttributeNode;
import guideme.libs.mdast.mdx.model.MdxJsxElementFields;
import guideme.libs.mdast.mdx.model.MdxJsxTex... | __label__POS | 0.769198 |
package guideme.internal.search;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
import java.util.List;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.CsvSource;
cla... | __label__POS | 0.927077 |
# Guidebook
public net.minecraft.client.gui.Font getGlyphSource(Lnet/minecraft/network/chat/FontDescription;)Lnet/minecraft/client/gui/GlyphSource;
public net.minecraft.client.gui.screens.LoadingOverlay reload
public net.minecraft.world.item.crafting.ShapelessRecipe ingredients
public net.minecraft.world.item.crafting.... | __label__POS | 0.94517 |
// automatically generated by the FlatBuffers compiler, do not modify
package guideme.flatbuffers.scene;
import com.google.flatbuffers.BaseVector;
import com.google.flatbuffers.Constants;
import com.google.flatbuffers.FlatBufferBuilder;
import com.google.flatbuffers.Table;
import java.nio.ByteBuffer;
import java.nio.... | __label__POS | 0.898384 |
// automatically generated by the FlatBuffers compiler, do not modify
package guideme.flatbuffers.scene;
import com.google.flatbuffers.BaseVector;
import com.google.flatbuffers.ByteVector;
import com.google.flatbuffers.Constants;
import com.google.flatbuffers.FlatBufferBuilder;
import com.google.flatbuffers.Table;
im... | __label__POS | 0.869925 |
// automatically generated by the FlatBuffers compiler, do not modify
package guideme.flatbuffers.scene;
import com.google.flatbuffers.BaseVector;
import com.google.flatbuffers.Constants;
import com.google.flatbuffers.FlatBufferBuilder;
import com.google.flatbuffers.Table;
import java.nio.ByteBuffer;
import java.nio.... | __label__POS | 0.917623 |
// automatically generated by the FlatBuffers compiler, do not modify
package guideme.flatbuffers.scene;
import com.google.flatbuffers.BaseVector;
import com.google.flatbuffers.Constants;
import com.google.flatbuffers.FlatBufferBuilder;
import com.google.flatbuffers.Table;
import java.nio.ByteBuffer;
import java.nio.... | __label__POS | 0.88285 |
// automatically generated by the FlatBuffers compiler, do not modify
package guideme.flatbuffers.scene;
import com.google.flatbuffers.BaseVector;
import com.google.flatbuffers.Constants;
import com.google.flatbuffers.FlatBufferBuilder;
import com.google.flatbuffers.Table;
import java.nio.ByteBuffer;
import java.nio.... | __label__POS | 0.910181 |
// automatically generated by the FlatBuffers compiler, do not modify
package guideme.flatbuffers.scene;
import com.google.flatbuffers.BaseVector;
import com.google.flatbuffers.Constants;
import com.google.flatbuffers.FlatBufferBuilder;
import com.google.flatbuffers.Table;
import java.nio.ByteBuffer;
import java.nio.... | __label__POS | 0.933208 |
// automatically generated by the FlatBuffers compiler, do not modify
package guideme.flatbuffers.scene;
import com.google.flatbuffers.BaseVector;
import com.google.flatbuffers.FlatBufferBuilder;
import com.google.flatbuffers.Struct;
import java.nio.ByteBuffer;
@javax.annotation.processing.Generated(value = "flatc")... | __label__POS | 0.713804 |
package guideme;
import net.minecraft.resources.ResourceLocation;
import org.jetbrains.annotations.Nullable;
/**
* Points to a guidebook page with an optional anchor within that page.
*
* @param pageId
* @param anchor ID of an anchor in the page.
*/
public record PageAnchor(ResourceLocation pageId, @Nullable Str... | __label__POS | 0.979595 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.