content stringlengths 263 5.24M | pred_label stringclasses 1
value | pred_score_pos float64 0.6 1 |
|---|---|---|
<?php
$studies = $model->{$list};
$name = get_class($model);
?>
<div class="data-group flex-layout cols-full">
<div class="cols-5 column">
<label><?= $label ?>:</label>
</div>
<div class="cols-5 column end">
<ul class="<?= $list ?> studies_list">
<?php if ($studies) :?>
... | __label__POS | 0.980096 |
<?php
/* @var $this DisorderController */
/* @var $model Disorder */
/* @var $form CActiveForm */
$specialties = Specialty::model()->findAll();
?>
<div class="oe-full-content flex-layout flex-top">
<?php $form=$this->beginWidget('CActiveForm', array(
'id'=>'disorder-form',
// Please note: When you enable aja... | __label__POS | 0.609756 |
<?php
$coreAPI = new CoreAPI();
$operation_API = new OphTrOperationnote_API();
$cataract = (isset($data['event_list']) && $data['event_list']);
$base_patient_url = Yii::app()->createUrl('/patient/summary');
foreach (($cataract ? $data['event_list'] : $data['patient_list']['res']) as $item) {
$tr_id = $cataract ? $i... | __label__POS | 0.952282 |
<?php
/**
* @var $path_steps PathwayStepType[]
* @var $pathways PathwayType[]
* @var $standard_steps PathwayStepType[]
* @var $custom_steps PathwayStepType[]
*/
?>
<div class="oec-adder" data-test="worklist-adder">
<div class="close-btn" data-test="close-worklist-adder-btn"></div>
<?php if ($show_pathway_s... | __label__POS | 0.958996 |
<?php
/**
* @var $visit WorklistPatient
* @var $patient Patient
* @var $partial int
*/
?>
<div class="slide-open">
<div class="patient"><?= strtoupper($patient->last_name) . ', ' . $patient->first_name . ' (' . $patient->title . ')'?></div>
<h3 class="title">Pathway notes</h3>
<div class="step-content"... | __label__POS | 0.949279 |
<div class="js-groups">
<span class="js-expand-all"><i class="oe-i plus"></i></span>
<span class="js-collapse-all"><i class="oe-i minus"></i></span>
</div>
<div class="grouping">
<div class="collapse-group" data-collapse="expanded">
<div class="collapse-group-icon">
<i class="oe-i minus"></i>
</div... | __label__POS | 0.884004 |
<?php
$dob_mandatory = \SettingMetadata::model()->checkSetting('dob_mandatory_in_search', 'on');
$this->beginWidget('CActiveForm', array(
'id' => 'patient1-search-form',
'focus' => '#query',
'enableAjaxValidation' => false,
'htmlOptions' => array(
'class' => 'form p... | __label__POS | 0.71125 |
<?php $institution = Institution::model()->getCurrent();
$selected_site_id = Yii::app()->session['selected_site_id'];
$primary_identifier_prompt = PatientIdentifierHelper::getIdentifierDefaultPromptForInstitution(
SettingMetadata::model()->getSetting('display_primary_number_usage_code'),
$institution->id,
... | __label__POS | 0.88995 |
<main class="oe-home">
<div class="oe-full-header flex-layout">
<div class="title wordcaps">Import Preview</div>
</div>
<div class="oe-full-content">
<div class="errorSummary">
<?php
if (isset($errors) and $errors !== null) {
echo '<pre>';
... | __label__POS | 0.703862 |
<main class="oe-home">
<div class="oe-full-header flex-layout">
<div class="title wordcaps">Import Summary</div>
</div>
<div class="oe-full-content">
<div class="errorSummary">
</div>
<?php
if (!empty($table)) : ?>
<div style="overflow: auto">
... | __label__POS | 0.997719 |
<tr class="cols-full alert-box error" style="font-style: italic; font-size: small;">
<?php if (isset($patients)) : ?>
<td class="row field-row">
<p>Duplicate patient detected.</p>
</td>
<td>
<table class="last-left">
<thead>
<tr>
... | __label__POS | 0.93343 |
<?php
$institution_id = Institution::model()->getCurrent()->id;
$site_id = Yii::app()->session['selected_site_id'];
?>
<tr id="conflicts" class="cols-full alert-box error" style="font-style: italic; font-size: small;">
<?php if (isset($patients)) { ?>
<td class="row field-row">
<p>Duplicate pati... | __label__POS | 0.795427 |
################
Spatial Indexing
################
**Python** :doc:`Java <spatial-indexing-java>`
Goal
====
Create a spatial index for the database.
Challenge
=========
For a data set of labeled points in two-dimensional (2D) space, support the efficient retrieval of all points within an axis-aligned rectangular r... | __label__POS | 0.762996 |
<?php $assetManager = Yii::app()->getAssetManager();?>
<?php
if (isset(Yii::app()->params['image_generation']) && Yii::app()->params['image_generation']) {
$display_theme = 'dark';
} else {
$user_theme = SettingUser::model()->find('user_id = :user_id AND `key` = "display_theme"', array(":user_id" => Yii::app()-... | __label__POS | 1.00001 |
##############
Simple Indexes
##############
**Python** :doc:`Java <simple-indexes-java>`
Goal
====
Add (one or more) indexes to allow efficient retrieval of data in multiple ways.
Challenges
==========
There are two big challenges with building indexes in a key-value store: 1) Storing the index so that multiple d... | __label__POS | 0.615975 |
##############
Simple Indexes
##############
:doc:`Python <simple-indexes>` **Java**
Goal
====
Add (one or more) indexes to allow efficient retrieval of data in multiple ways.
Challenges
==========
There are two big challenges with building indexes in a key-value store: 1) Storing the index so that multiple data e... | __label__POS | 0.618451 |
#################
Local Development
#################
Download the FoundationDB package
=================================
:doc:`Download the FoundationDB package <downloads>` for macOS (FoundationDB-\*.pkg) onto your local development machine.
Install the FoundationDB binaries
=================================
By ... | __label__POS | 0.614718 |
######
Tables
######
:doc:`Python <tables>` **Java**
Goal
====
Create a table data structure suitable for sparse data.
Challenge
=========
Support efficient random access to individual cells in a table, as well as retrieval of all cells in a particular row or all cells in a particular column.
Explanation
========... | __label__POS | 0.956748 |
<?php
/**
* @var $step PathwayStep|PathwayTypeStep
* @var $patient Patient
*/
$is_step_instance = $step instanceof PathwayStep;
if ($is_step_instance) {
$is_completed = (int)$step->status === PathwayStep::STEP_COMPLETED;
$duration = null;
if($step->start_time && $step->end_time){
$end = DateTime... | __label__POS | 0.862002 |
###############
Priority Queues
###############
:doc:`Python <priority-queues>` **Java**
Goal
====
Create a data structure for `priority queues <http://en.wikipedia.org/wiki/Priority_queue>`_ supporting operations for push, pop_min, peek_min, pop_max, and peek_max. You may find it helpful to review the :doc:`Queues ... | __label__POS | 0.75448 |
<?php
/**
* @var $worklist_patient Pathway
* @var $step PathwayStep|PathwayTypeStep
* @var $partial bool
*/
$is_requested = $step instanceof PathwayTypeStep || (int)$step->status === PathwayStep::STEP_REQUESTED;
if ($step instanceof PathwayStep) {
$is_last_step = $step->isLastRequestedStep();
$is_first_requ... | __label__POS | 0.61226 |
describe('PCRCalculation', function () {
it('should create a function to calculate the OR value', function () {
expect(typeof calculateORValue).to.equal('function');
});
it('should return 0 for an empty object', function () {
expect(calculateORValue({})).to.equal(0);
});
it('should return 0 for an i... | __label__POS | 0.838164 |
######################
Hierarchical Documents
######################
:doc:`Python <hierarchical-documents>` **Java**
Goal
====
Create a representation for hierarchical `documents <http://en.wikipedia.org/wiki/Document-oriented_database>`_.
Challenge
=========
Support efficient storage and retrieval of documents, b... | __label__POS | 0.762179 |
#########
Multimaps
#########
:doc:`Python <multimaps>` **Java**
Goal
====
Create an `multimap <http://en.wikipedia.org/wiki/Multimap>`_ data structure with `multiset <http://en.wikipedia.org/wiki/Multiset>`_ values.
Challenge
=========
Support efficient operations on multimaps, including random addition, removal,... | __label__POS | 0.855281 |
################
Spatial Indexing
################
:doc:`Python <spatial-indexing>` **Java**
Goal
====
Create a spatial index for the database.
Challenge
=========
For a data set of labeled points in two-dimensional (2D) space, support the efficient retrieval of all points within an axis-aligned rectangular region... | __label__POS | 0.721517 |
######
Tables
######
**Python** :doc:`Java <tables-java>`
Goal
====
Create a table data structure suitable for sparse data.
Challenge
=========
Support efficient random access to individual cells in a table, as well as retrieval of all cells in a particular row or all cells in a particular column.
Explanation
===... | __label__POS | 0.890842 |
<?php
trait HasDatabaseAssertions
{
protected function assertDatabaseHas(string $table, array $attributes)
{
$cmd = $this->generateDatabaseCountQuery($table, $attributes);
$this->assertGreaterThanOrEqual(1, $cmd->queryScalar(), "$table does not contain " . print_r($attributes, true));
}
... | __label__POS | 0.982641 |
// Automatically generated by script, do NOT modify by hand
package com.apple.cie.foundationdb.hubble;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.util.Arrays;
import java.util.List;
class ProtocolVersion implements Comparable<ProtocolVersion> {
public static final ProtocolVersion protocolVe... | __label__POS | 0.921281 |
<?php
/**
* Class PuppeteerBrowserTest
*
* @method patients($fixture_id)
*/
class PuppeteerBrowserTest extends OEDbTestCase
{
protected $instance;
protected $fixtures = array(
'patients' => Patient::class,
'events' => Event::class,
);
public function setUp(): void
{
par... | __label__POS | 0.79052 |
<?php
class _WrapperContactBehavior extends BaseActiveRecord
{
public Contact $contact;
public string $fax = '09876 543210';
public function tableName()
{
return 'contact';
}
public function behaviors()
{
return array(
'ContactBehavior' => array(
... | __label__POS | 0.709274 |
<?php
/**
* Generated by PHPUnit_SkeletonGenerator 1.2.1 on 2013-06-10 at 11:10:18.
*/
class ReferralTest extends ActiveRecordTestCase
{
/**
* @var Referral
*/
protected Referral $object;
public function getModel()
{
return $this->object;
}
/**
* Sets up the fixture, f... | __label__POS | 0.80351 |
# Copyright © 2023-2024 Apple Inc.
"""
Perform bisection on a function whose range is not known.
"""
from typing import Callable, Tuple
def _sign(x: float) -> int:
if x < 0:
return -1
elif x > 0:
return +1
return 0
def bisect_range(function: Callable[[float], float], start: float, end: ... | __label__POS | 0.797288 |
<?php
/**
* Class PatientStatisticDatapointTest
* @method stats($fixtureId)
* @method datapoints($fixtureId)
* @covers PatientStatisticDatapoint
*/
class PatientStatisticDatapointTest extends ActiveRecordTestCase
{
protected $fixtures = array(
'stats' => PatientStatistic::class,
'datapoints' =... | __label__POS | 0.634295 |
<?php
/**
* Class MappedReferenceDataTest
* @covers MappedReferenceData
*/
class MappedReferenceDataTest extends OEDbTestCase
{
use HasModelAssertions;
use MocksSession;
use \WithFaker;
private MappedReferenceDataMock $instance;
private MappedReferenceDataSoftDeleteMock $softdelete_instance;
... | __label__POS | 0.742613 |
/// <reference types="cypress" />
declare namespace Cypress {
interface Chainable<Subject> {
/**
* Use backend model factories to create a user that can be logged in with
*
* @param authItems list of RBAC items to assign to the user
* @param attributes user model attribu... | __label__POS | 0.75617 |
describe('verifies the desired behaviour of the Examination -> Correction Given element', () => {
before(() => {
// create an examination with Correction Given element
cy.login()
.then(() => {
return cy.createPatient();
})
.then((pati... | __label__POS | 0.939154 |
/// <reference types="cypress" />
declare namespace Cypress {
interface Chainable<Subject> {
/**
* Cypress selector for an OE Event element in the UI
*
* @param name
*/
getElementByName(name: string): Chainable<any>
/**
* Cypress selector for a s... | __label__POS | 0.65788 |
/// <reference types="cypress" />
declare namespace Cypress {
interface Chainable<Subject> {
/**
* Asserts that an adder dialog includes a value
*
* @param text
*/
assertAdderDialogIncludes(text: string): Chainable<any>
/**
* Asserts that an add... | __label__POS | 0.80162 |
// ArduinoJson - https://arduinojson.org
// Copyright © 2014-2024, Benoit BLANCHON
// MIT License
#pragma once
#include <ArduinoJson/Memory/Allocator.hpp>
#include <ArduinoJson/Memory/StringNode.hpp>
#include <ArduinoJson/Polyfills/assert.hpp>
#include <ArduinoJson/Polyfills/utility.hpp>
#include <ArduinoJson/Strings... | __label__POS | 0.608888 |
= Java Code Generator Example
Demonstrates how to use the Java code generator and consume configuration as statically typed Java objects.
To run this example, type `../gradlew build` (requires JDK 17 or higher).
== Walkthrough
Let's generate Java classes for Pkl module xref:src/main/resources/Birds.pkl[].
Run the ... | __label__POS | 0.67849 |
// For licensing see accompanying LICENSE file.
// Copyright (C) 2023 Apple Inc. All Rights Reserved.
export function mapWidth(width: string): string {
switch (width) {
case 'XS':
return 'col-span-1';
case 'S':
return 'col-span-2';
case 'M':
return 'col-span-3';
case 'L':
retu... | __label__POS | 0.679966 |
<header class="header">
{{! add navbar-top in the initial HTML to avoid an initial transition from green to transparent}}
<nav class="navbar{{#if page.home}} navbar-top{{/if}}">
<div class="navbar-brand">
<div class="navbar-item">
<a href="{{siteRootPath}}/index.html"><img src="{{uiRootPath}}/img/... | __label__POS | 0.793352 |
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | __label__POS | 0.810103 |
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | __label__POS | 0.742595 |
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | __label__POS | 0.636193 |
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | __label__POS | 0.755725 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var getUniqId = exports.getUniqId = function getUniqId() {
return (Date.now().toString(36) + Math.random().toString(36).substr(2, 5)).toUpperCase();
};
var getWindowWidth = exports.getWindowWidth = function getWindowWidth() {
if (docum... | __label__POS | 0.905227 |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var append = exports.append = function append(element, string) {
var div = document.createElement('div');
div.innerHTML = string;
while (div.children.length > 0) {
element.appendChild(div.children[0]);
}
};
var addClass = expor... | __label__POS | 0.936082 |
#!/usr/bin/ruby
require 'google/protobuf'
require 'test/unit'
class RepeatedFieldTest < Test::Unit::TestCase
def test_acts_like_enumerator
m = TestMessage.new
(Enumerable.instance_methods - TestMessage.new.repeated_string.methods).each do |method_name|
assert m.repeated_string.respond_to?(method_name... | __label__POS | 0.790106 |
#!/usr/bin/ruby
require 'google/protobuf'
require 'test/unit'
class RepeatedFieldTest < Test::Unit::TestCase
def test_acts_like_enumerator
m = TestMessage.new
(Enumerable.instance_methods - TestMessage.new.repeated_string.methods).each do |method_name|
assert m.repeated_string.respond_to?(method_name... | __label__POS | 0.779481 |
@tool
extends Tree
signal item_moved(item: TreeItem, target: TreeItem)
signal delete_requested(item: TreeItem)
enum {
MENU_RENAME = 0,
MENU_DELETE = 1,
}
@onready var popup_menu: PopupMenu = $PopupMenu
func _get_drag_data(_at_position: Vector2) -> Variant:
var preview := Label.new()
preview.text = get_selected(... | __label__POS | 0.625357 |
package my;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.lang.StringBuilder;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.regex.Pattern;
import org.pkl.conf... | __label__POS | 0.765039 |
package my;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.lang.StringBuilder;
import java.util.Objects;
import org.pkl.config.java.mapper.Named;
import org.pkl.config.java.mapper.NonNull;
/**
* module comment.
* *emphasized* `code`.
*/
public final class Mod {
/**
* ... | __label__POS | 0.998482 |
package my;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.lang.StringBuilder;
import java.util.Objects;
import org.pkl.config.java.mapper.Named;
import org.pkl.config.java.mapper.NonNull;
import org.pkl.core.Duration;
public final class Mod {
private Mod() {
}
private... | __label__POS | 0.990821 |
package my;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.lang.StringBuilder;
import java.util.Objects;
import org.pkl.config.java.Generated;
import org.pkl.config.java.mapper.Named;
@Generated
public final class Mod {
private Mod() {
}
private static void appendPrope... | __label__POS | 0.997321 |
package my;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.lang.StringBuilder;
import java.util.Objects;
import org.pkl.config.java.mapper.Named;
import org.pkl.config.java.mapper.NonNull;
import org.pkl.core.DataSize;
import org.pkl.core.Duration;
public final class Mod {
... | __label__POS | 0.952358 |
// Copyright (c) 2022, Apple Inc. All rights reserved.
//
// Use of this source code is governed by a BSD-3-clause license that can be
// found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
#include "Comparison.hpp"
#include "ItemSimilarityRecommenderCommon.hpp"
#include <cmath>
#include ... | __label__POS | 0.882892 |
//
// BayesianProbitRegressionValidatorTests.cpp
// mlmodelspec
//
// Created by Roman Holenstein on 7/26/17.
// Copyright © 2017 Apple. All rights reserved.
//
#include "MLModelTests.hpp"
#include "../src/Model.hpp"
#include "framework/TestUtils.hpp"
#include <cassert>
#include <cstdio>
using namespace CoreML;... | __label__POS | 0.656893 |
#include <ginseng/ginseng.hpp>
#include "catch.hpp"
using DB = ginseng::database;
using ginseng::deny;
using ginseng::tag;
using ginseng::optional;
using ent_id = DB::ent_id;
using com_id = DB::com_id;
TEST_CASE("tag types do not use dynamic allocation", "[ginseng]")
{
// Not sure how to actually test this.
... | __label__POS | 0.601573 |
#include <ginseng/ginseng.hpp>
#include <array>
#include <memory>
#include "catch.hpp"
using DB = ginseng::database;
using ginseng::deny;
using ginseng::optional;
using ent_id = DB::ent_id;
using com_id = DB::com_id;
TEST_CASE("Entities can be added and removed from a database", "[ginseng]")
{
DB db;
REQUIR... | __label__POS | 0.600534 |
<h2>clock_get_time</h2>
<hr>
<p>
<strong>Function</strong> - Return the current time.
<h3>SYNOPSIS</h3>
<pre>
<strong>kern_return_t clock_get_time</strong>
<strong>(clock_t</strong> <var>clock_name</var>,
<strong>tvalspec_t</strong> ... | __label__POS | 0.89759 |
<h2>mach_port_limits</h2>
<hr>
<p>
<strong>Structure</strong> - Specifies a port's resource and message queue limits.
<h3>SYNOPSIS</h3>
<pre>
<strong>struct mach_port_limits</strong>
<strong>{</strong>
<strong>mach_port_msgcount_t</strong> <var>queue_limit</var><strong>;</strong>
<strong>};</strong>
<stron... | __label__POS | 0.75272 |
#include "LinearModel.hpp"
#include "../Format.hpp"
namespace CoreML {
LinearModel::LinearModel(const std::string& predictedValueOutput,
const std::string& description)
: Model(description) {
m_spec->mutable_description()->set_predictedfeaturename(predictedValueOutput);
... | __label__POS | 0.847728 |
<h2>tvalspec</h2>
<hr>
<p>
<strong>Structure</strong> - Defines format of system time values.
<h3>SYNOPSIS</h3>
<pre>
<strong>struct tvalspec</strong>
<strong>{</strong>
<strong>unsigned int</strong> <var>tv_sec</var><strong>;</strong>
<strong>clock_res_t</strong> <var>tv_nsec</var><strong>;</... | __label__POS | 0.94281 |
<h2>io_done_queue_terminate</h2>
<hr>
<p>
<strong>Function</strong> - Terminate an io_done_queue kernel object.
<h3>SYNOPSIS</h3>
<pre>
<strong>#include<device/device.h></strong>
<strong>kern_return_t io_done_queue_terminate</strong>
<strong>(mach_port_t</strong> <var>queue</var><strong>);</strong>
</pre>
<h3>PA... | __label__POS | 0.6375 |
<h2>ledger_read</h2>
<hr>
<p>
<strong>Function</strong> - Return the ledger limit and balance.
<h3>SYNOPSIS</h3>
<pre>
<strong>kern_return_t ledger_read</strong>
<strong>(ledger_port_t</strong> <var>ledger</var>,
<strong>ledger_item_t</strong> ... | __label__POS | 0.927503 |
<h2>task_resume</h2>
<hr>
<p>
<strong>Function</strong> - Decrement the target task's suspend count.
<h3>SYNOPSIS</h3>
<pre>
<strong>kern_return_t task_resume</strong>
<strong>(task_t</strong> <var>task</var><strong>);</strong>
</pre>
<h3>PARAMETERS</h3>
<dl>
<p>
<dt> <var>task</var>
<dd>
[in... | __label__POS | 0.709069 |
// Copyright © 2024 Apple Inc. All Rights Reserved.
// APPLE INC.
// PRIVATE CLOUD COMPUTE SOURCE CODE INTERNAL USE LICENSE AGREEMENT
// PLEASE READ THE FOLLOWING PRIVATE CLOUD COMPUTE SOURCE CODE INTERNAL USE LICENSE AGREEMENT (“AGREEMENT”) CAREFULLY BEFORE DOWNLOADING OR USING THE APPLE SOFTWARE ACCOMPANYING THIS AG... | __label__POS | 0.718434 |
<!DOCTYPE html>
<html lang="en">
<head>
<?php $zApp->Components->Go ( 'system', 'head', 'head' ); ?>
</head>
<body id="appleseed">
<!-- System Message -->
<?php $zApp->Components->Go ( "system" ); ?>
<div class="clear"></div>
<!-- Header -->
<header id="appleseed-header">
<?php $zApp->Components->Go (... | __label__POS | 0.665114 |
<!DOCTYPE html>
<html lang="en">
<head>
<?php $zApp->Components->Go ( 'system', 'head', 'head' ); ?>
</head>
<body id="appleseed">
<?php $zApp->Components->Go ( "system" ); ?>
<div class="clear"></div>
<!-- System Message -->
<header id="appleseed-header">
<?php $zApp->Components->Go ( "header" ); ?>
... | __label__POS | 0.639754 |
<!DOCTYPE html>
<html lang="en">
<head>
<?php $zApp->Components->Go ( 'system', 'head', 'head' ); ?>
</head>
<body id="appleseed">
<?php $zApp->Components->Go ( "system" ); ?>
<header class="container_12">
<?php $zApp->Components->Go ( "header" ); ?>
</header>
<div class="clear"></div>
... | __label__POS | 0.960802 |
<h2>task_set_port_space</h2>
<hr>
<p>
<strong>Function</strong> - Set the size of the target task's port name space table.
<h3>SYNOPSIS</h3>
<pre>
<strong>kern_return_t task_set_port_space</strong>
<strong>(task_t</strong> <var>task</var>,
<strong>i... | __label__POS | 0.601116 |
/*
* Copyright © 2024-2025 Apple Inc. and the Pkl project 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
*
* https://www.apache.org/licenses/LICENSE-... | __label__POS | 0.643272 |
package com.example.carplay_android;
import android.annotation.SuppressLint;
import android.bluetooth.BluetoothDevice;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import ... | __label__POS | 0.746562 |
package com.example.carplay_android.javabeans;
public class JavaBeanFilters {
static private final String FILTER_DEVICE_USED = "DeviceUsed";
static private final String FILTER_DEVICE_LIST = "DeviceList";
static private final String FILTER_BT_STATUS = "BTStatus";
static private final String FILTER_BLE_S... | __label__POS | 0.999608 |
package com.example.carplay_android.utils;
import android.content.Context;
import android.widget.Toast;
import com.clj.fastble.BleManager;
import com.clj.fastble.callback.BleScanCallback;
import com.clj.fastble.data.BleDevice;
import com.clj.fastble.scan.BleScanRuleConfig;
import java.util.List;
public class ScanBl... | __label__POS | 0.686788 |
<?php
/**
* @version $Id$
* @package Appleseed.Components
* @subpackage Example
* @copyright Copyright (C) 2004 - 2010 Michael Chisari. All rights reserved.
* @link http://opensource.appleseedproject.org
* @license GNU General Public License version 2.0 (See LICENSE.txt)
*/
// Restri... | __label__POS | 0.842958 |
/*
* Copyright © 2024-2025 Apple Inc. and the Pkl project 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
*
* https://www.apache.org/licenses/LICENSE-... | __label__POS | 0.936533 |
# Permutations
[[Source](https://github.com/apple/swift-algorithms/blob/main/Sources/Algorithms/Permutations.swift) |
[Tests](https://github.com/apple/swift-algorithms/blob/main/Tests/SwiftAlgorithmsTests/PermutationsTests.swift)]
Methods that compute permutations of a collection’s elements, or of a subset of
those... | __label__POS | 0.663861 |
# Minima and/or Maxima
[[Source](https://github.com/apple/swift-algorithms/blob/main/Sources/Algorithms/MinMax.swift) |
[Tests](https://github.com/apple/swift-algorithms/blob/main/Tests/SwiftAlgorithmsTests/MinMaxTests.swift)]
Returns the smallest or largest elements of this collection, sorted by a
predicate or in... | __label__POS | 0.695301 |
//===----------------------------------------------------------------------===//
//
// This source file is part of the Swift Algorithms open source project
//
// Copyright (c) 2020 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | __label__POS | 0.750826 |
//===----------------------------------------------------------------------===//
//
// This source file is part of the Swift Algorithms open source project
//
// Copyright (c) 2021 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | __label__POS | 0.85097 |
<?php
/*
* This file is part of SwiftMailer.
* (c) 2004-2009 Chris Corbyn
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
//@require 'Swift/InputByteStream.php';
//@require 'Swift/OutputByteStream.php';
/**
* Provides a mechanis... | __label__POS | 0.619439 |
/*
See the LICENSE.txt file for this sample’s licensing information.
Abstract:
The flavor-profile model.
*/
import SwiftUI
public struct FlavorProfile: Hashable, Codable {
public var salty: Int
public var sweet: Int
public var bitter: Int
public var sour: Int
public var savory: Int
public var... | __label__POS | 0.622663 |
<?php
/*
* This file is part of SwiftMailer.
* (c) 2004-2009 Chris Corbyn
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Analyzes characters for a specific character set.
* @package Swift
* @subpackage Encoder
* @author... | __label__POS | 0.633062 |
<?php
/*
* This file is part of SwiftMailer.
* (c) 2004-2009 Chris Corbyn
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
//@require 'Swift/Events/EventListener.php';
//@require 'Swift/Event.php';
/**
* Interface for the EventDi... | __label__POS | 0.919616 |
<?php
/*
* This file is part of SwiftMailer.
* (c) 2004-2009 Chris Corbyn
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
//@require 'Swift/Events/EventDispatcher.php';
//@require 'Swift/Events/EventListener.php';
//@require 'Swif... | __label__POS | 0.623475 |
//===----------------------------------------------------------------------===//
//
// This source file is part of the Swift Argument Parser open source project
//
// Copyright (c) 2020 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.... | __label__POS | 0.731912 |
<?php
/*
* This file is part of SwiftMailer.
* (c) 2004-2009 Chris Corbyn
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
//@require 'Swift/Transport/EsmtpBufferWrapper.php';
/**
* An ESMTP handler.
* @package Swift
* @subpack... | __label__POS | 0.637988 |
#compdef math
__math_complete() {
local -ar non_empty_completions=("${@:#(|:*)}")
local -ar empty_completions=("${(M)@:#(|:*)}")
_describe -V '' non_empty_completions -- empty_completions -P $'\'\''
}
__math_custom_complete() {
local -a completions
completions=("${(@f)"$("${command_name}" "${@}" "... | __label__POS | 0.783716 |
#compdef base-test
__base-test_complete() {
local -ar non_empty_completions=("${@:#(|:*)}")
local -ar empty_completions=("${(M)@:#(|:*)}")
_describe -V '' non_empty_completions -- empty_completions -P $'\'\''
}
__base-test_custom_complete() {
local -a completions
completions=("${(@f)"$("${command_... | __label__POS | 0.911732 |
<?php
/*
* This file is part of SwiftMailer.
* (c) 2004-2009 Chris Corbyn
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
//@require 'Swift/Mime/CharsetObserver.php';
/**
* Creates MIME headers.
* @package Swift
* @subpackage ... | __label__POS | 0.654123 |
<?php
/*
* This file is part of SwiftMailer.
* (c) 2004-2009 Chris Corbyn
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
//@require 'Swift/Mime/MimeEntity.php';
/**
* A Message (RFC 2822) object.
*
* @package Swift
* @subpa... | __label__POS | 0.753872 |
<?php
/*
* This file is part of SwiftMailer.
* (c) 2004-2009 Chris Corbyn
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
//@require 'Swift/CharacterStream.php';
//@require 'Swift/OutputByteStream.php';
/**
* A CharacterStream ... | __label__POS | 0.745009 |
<?php
/*
* This file is part of SwiftMailer.
* (c) 2004-2009 Chris Corbyn
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
//@require 'Swift/CharacterReader.php';
/**
* Analyzes US-ASCII characters.
* @package Swift
* @subpacka... | __label__POS | 0.79503 |
//===----------------------------------------------------------------------===//
//
// This source file is part of the Swift Atomics open source project
//
// Copyright (c) 2020 - 2023 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.o... | __label__POS | 0.723368 |
/*
* 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.6755 |
//===----------------------------------------------------------------------===//
//
// This source file is part of the Swift Collections open source project
//
// Copyright (c) 2021 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/... | __label__POS | 0.879942 |
//===----------------------------------------------------------------------===//
//
// This source file is part of the Swift Collections open source project
//
// Copyright (c) 2021 - 2025 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swi... | __label__POS | 0.936444 |
//===----------------------------------------------------------------------===//
//
// This source file is part of the Swift Collections open source project
//
// Copyright (c) 2021 - 2025 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swi... | __label__POS | 0.6314 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.