content
stringlengths
3
806k
option
stringclasses
3 values
score
float64
0.01
1
__index_level_0__
int64
0
100k
FROM tomcat:jre8 MAINTAINER Jean-Pierre PRUNARET <jean-pierre+git@prunetwortk.fr> # from https://github.com/tutumcloud/tutum-docker-tomcat/blob/master/8.0/Dockerfile RUN apt-get update && \ apt-get install -yq --no-install-recommends wget pwgen ca-certificates && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* ENV CATALINA_HOME /usr/local/tomcat/ ADD create_tomcat_admin_user.sh /create_tomcat_admin_user.sh ADD run.sh /run.sh RUN chmod +x /*.sh EXPOSE 8080 CMD ["/run.sh"]
medium
0.590469
0
# game-of-greed **Author**: Charles Glass **Version**: 1.0.0 ## Overview game_of_greed, also know as ten Thousand, Zilch or Foo is a game of chance. Single fives are worth 50 points, Single ones are worth 100 points ,Three of a kind are worth 100 points times the number rolled, except for three ones which are worth 1000 points ## Getting Started Follow the prompts to get started! ## Architecture This application is built using python. The dice rolls are made using tuples. The game is invoked at the start using the play game method, and calculates the score throughout using the calculate_score method. ## Change Log 12-09-2019 - Added functionality to add and delete some things.
high
0.161297
1
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2010-2019 BusinessCode GmbH, Germany 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, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <!-- Takes the grid's configuration and build a Wrq from it --> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:f="http://www.businesscode.de/schema/bcdui/filter-1.0.0" xmlns:grid="http://www.businesscode.de/schema/bcdui/grid-1.0.0" xmlns:xp="http://www.businesscode.de/schema/bcdui/xsltParams-1.0.0" xmlns:wrq="http://www.businesscode.de/schema/bcdui/wrs-request-1.0.0"> <xsl:output method="xml" version="1.0" encoding="UTF-8" /> <xsl:param name="statusModel" select="/*[1=0]"/> <xsl:param name="binding"/> <xsl:param name="bRef"/> <xsl:param name="gridModelId"/> <xsl:variable name="excludedStatusFilterBrefs" select="/*/grid:SelectColumns/grid:FilterExclude/@bRefs"/> <xsl:template match="/*"> <wrq:WrsRequest> <wrq:Select> <wrq:Columns> <wrq:C bRef="{$bRef}" /> </wrq:Columns> <wrq:From> <wrq:BindingSet><xsl:value-of select="$binding"/></wrq:BindingSet> </wrq:From> <f:Filter> <xsl:choose> <!-- from status model, take either all filters or apply exclude logic (top level only) --> <xsl:when test="$excludedStatusFilterBrefs != ''"> <xsl:copy-of select="$statusModel/*/f:Filter/f:*[ @bRef and not( contains($excludedStatusFilterBrefs, @bRef) ) or @id and not( contains($excludedStatusFilterBrefs, @id) ) ]"/> </xsl:when> <xsl:otherwise> <xsl:copy-of select="$statusModel/*/f:Filter/f:*"/> </xsl:otherwise> </xsl:choose> <xsl:copy-of select="/*/grid:SelectColumns/f:Filter/*"/> </f:Filter> <wrq:Grouping> <wrq:C bRef="{$bRef}" /> </wrq:Grouping> <wrq:Ordering> <wrq:C bRef="{$bRef}" /> </wrq:Ordering> </wrq:Select> </wrq:WrsRequest> </xsl:template> </xsl:stylesheet>
high
0.63182
2
--- title: App Service recovery on Azure Stack Hub description: Learn about disaster recovery for App Service on Azure Stack Hub. author: bryanla ms.topic: article ms.date: 03/21/2019 ms.author: anwestg ms.reviewer: anwestg ms.lastreviewed: 03/21/2019 # Intent: As an Azure Stack operator, I want to be able to restore App Service during disaster recovery. # Keyword: app service recovery azure stack --- # App Service recovery on Azure Stack Hub This topic provides instructions on what actions to take for App Service disaster recovery. The following actions must be taken to recover App Service on Azure Stack Hub from backup: 1. Restore the App Service databases. 2. Restore the file server share content. 3. Restore App Service roles and services. If Azure Stack Hub storage was used for Function Apps storage, then you must also take steps to restore Function Apps. ## Restore the App Service databases The App Service SQL Server databases should be restored on a production ready SQL Server instance. After [preparing the SQL Server instance](azure-stack-app-service-before-you-get-started.md#prepare-the-sql-server-instance) to host the App Service databases, use these steps to restore databases from backup: 1. Sign in to the SQL Server that will host the recovered App Service databases with admin permissions. 2. Use the following commands to restore the App Service databases from a command prompt running with admin permissions: ```dos sqlcmd -U <SQL admin login> -P <SQL admin password> -Q "RESTORE DATABASE appservice_hosting FROM DISK='<full path to backup>' WITH REPLACE" sqlcmd -U <SQL admin login> -P <SQL admin password> -Q "RESTORE DATABASE appservice_metering FROM DISK='<full path to backup>' WITH REPLACE" ``` 3. Verify that both App Service databases have been successfully restored and exit SQL Server Management Studio. > [!NOTE] > To recover from a failover cluster instance failure, see [Recover from Failover Cluster Instance Failure](https://docs.microsoft.com/sql/sql-server/failover-clusters/windows/recover-from-failover-cluster-instance-failure?view=sql-server-2017). ## Restore the App Service file share content After [preparing the file server](azure-stack-app-service-before-you-get-started.md#prepare-the-file-server) to host the App Service file share, you need to restore the tenant file share content from backup. You can use whatever method you have available to copy the files into the newly created App Service file share location. Running this example on the file server will use PowerShell and robocopy to connect to a remote share and copy the files to the share: ```powershell $source = "<remote backup storage share location>" $destination = "<local file share location>" net use $source /user:<account to use to connect to the remote share in the format of domain\username> * robocopy /E $source $destination net use $source /delete ``` In addition to copying the file share contents, you must also reset permissions on the file share itself. To reset permissions, open an admin command prompt on the file server computer and run the **ReACL.cmd** file. The **ReACL.cmd** file is located in the App Service installation files in the **BCDR** directory. ## Restore App Service roles and services After the App Service databases and file share content are restored, you next need to use PowerShell to restore the App Service roles and services. These steps will restore App Service secrets and service configurations. 1. Log into the App Service controller **CN0-VM** VM as **roleadmin** using the password you provided during App Service installation. > [!TIP] > You need to modify the VM's network security group to allow RDP connections. 2. Copy the **SystemSecrets.JSON** file locally to the controller VM. You need to provide the path to this file as the `$pathToExportedSecretFile` parameter in the next step. 3. Use the following commands in an elevated PowerShell console window to restore App Service roles and services: ```powershell # Stop App Service services on the primary controller VM net stop WebFarmService net stop ResourceMetering net stop HostingVssService # This service was deprecated in the App Service 1.5 release and is not required after the App Service 1.4 release. # Restore App Service secrets. Provide the path to the App Service secrets file copied from backup. For example, C:\temp\SystemSecrets.json. # Press ENTER when prompted to reconfigure App Service from backup # If necessary, use -OverrideDatabaseServer <restored server> with Restore-AppServiceStamp when the restored database server has a different address than backed-up deployment. # If necessary, use -OverrideContentShare <restored file share path> with Restore-AppServiceStamp when the restored file share has a different path from backed-up deployment. Restore-AppServiceStamp -FilePath $pathToExportedSecretFile # Restore App Service roles Restore-AppServiceRoles # Restart App Service services net start WebFarmService net start ResourceMetering net start HostingVssService # This service was deprecated in the App Service 1.5 release and is not required after the App Service 1.4 release. # After App Service has successfully restarted, and at least one management server is in ready state, synchronize App Service objects to complete the restore # Enter Y when prompted to get all sites and again for all ServerFarm entities. Get-AppServiceSite | Sync-AppServiceObject Get-AppServiceServerFarm | Sync-AppServiceObject ``` > [!TIP] > It's highly recommended to close this PowerShell session when the command completes. ## Restore Function Apps App Service for Azure Stack Hub doesn't support restoring tenant user apps or data other than file share content. All other data must be backed up and recovered outside of App Service backup and restore operations. If Azure Stack Hub storage was used for Function Apps storage, the following steps should be taken to recover lost data: 1. Create a new storage account to be used by the Function App. This storage can be Azure Stack Hub storage, Azure storage, or any compatible storage. 2. Retrieve the connection string for the storage. 3. Open the function portal and browse to the function app. 4. Browse to the **Platform features** tab and click **Application Settings**. 5. Change **AzureWebJobsDashboard** and **AzureWebJobsStorage** to the new connection string and click **Save**. 6. Switch to **Overview**. 7. Restart the app. It might take several tries to clear all errors. ## Next steps [App Service on Azure Stack Hub overview](azure-stack-app-service-overview.md)
high
0.590692
3
import * as React from 'react'; export default function BulletList(props: React.Props<any>): JSX.Element;
low
0.756362
4
************* DOs and DONTs ************* SQLLineage is a static SQL code lineage analysis tool, which means we will not try to execute the SQL code against any kinds of server. Instead, we will just look at the code as text, parse it and give back the result. No client/server interaction. DOs === * SQLLineage will continue to support most commonly used SQL system. Make best effort to be compatible. * SQLLineage will stay mainly as a command line tool, as well as a Python utils library. DONTs ===== * Column-level lineage will not be 100% accurate because that would require metadata information. However, there's no unified metadata service for all kinds of SQL systems. For the moment, in column-level lineage, column-to-table resolution is conducted in a best-effort way, meaning we only provide possible table candidates for situation like ``select *`` or ``select col from tab1 join tab2``. * Likewise for Partition-level lineage. Until we find a way to not involve metadata service, we will not go for this. .. note:: 100% accurate Column-level lineage is still do-able if we can provide some kind of a plugin system for user to register their metadata instead of us maintaining it. Let's see what will happen in future versions.
high
0.408098
5
function korrektur( antwort, anz_teiln, bakfile, daten, exist, i, k, kranzanz, logfile, now, r, resanz, schiessen, schuetze) { ######################################################################################### # # Korrektur V2.1.3 17.11.2019 # # Autor: Adrian Boehlen # # Programm dient zur Korrektur der durch Erfassen.awk erzeugten Daten # Zu Beginn wird ein Backup der Tabelle 'teilnehmer.csv' angelegt # Je nach Kategorie wird der bewilligte Zuschlag addiert, falls ein Resultat vorliegt # Resultate werden in Prozente zum Maximum berechnet # DB-File wird aktualisiert # ######################################################################################### ########## Backup- und Logfile vorbereiten und Feldseparator definieren ########## bakfile = "teilnehmer.csv.bak"; logfile = strftime("%Y%m%d", systime()) ".log"; do { ########## DB-File in zweidimensionalen Array einlesen und Backup anlegen ########## now = strftime("%a %b %d %H:%M:%S %Y", systime()); # Zeitstempel fuer Logfile db_einlesen(dbfile); anz_teiln = t - 1; # Anzahl Teilnehmer ableiten while ((getline < dbfile) > 0) { print $0 > bakfile; # Backup erstellen } close(dbfile); close(bakfile); ########## Teilnehmer ausgeben ########## print "\n*************************"; print "Erfasste Schuetzen"; print "*************************"; for (comb in teilnehmer) { split(comb, sep, SUBSEP); if (sep[1] == "schuetze") { print teilnehmer["schuetze", sep[2]]; } } print "*************************"; ########## Auswahl Schuetze ########## do { print "\nName des Schuetzen, dessen Daten korrigiert werden sollen: "; getline schuetze; } while (schuetze ~ /^$/); ########## Auswahl Schiessen ########## do { print "\n**************************************"; print "Zu korrigierendes Schiessen auswaehlen"; print "**************************************\n"; print "Obligatorisches Programm\t<1>"; print "Voruebung Feldschiessen\t\t<2>"; print "Feldschiessen\t\t\t<3>"; print "Grauholzschiessen\t\t<4>"; print "Maerzschiessen\t\t\t<5>"; print "Einzelwettschiessen\t\t<6>"; print "Mingerschiessen\t\t\t<7>"; print "Von der HV bestimmter Anlass\t<8>"; #print "Vancouverstich\t\t\t<9>"; print "Bubenbergschiessen\t\t<9>"; print "Sektionsstich\t\t\t<10>"; print "Standstich\t\t\t<11>"; print "Schnellstich\t\t\t<12>"; print "Kunststich\t\t\t<13>"; print "abbrechen\t\t\t<14>"; getline schiessen; } while (schiessen < 1 || schiessen > 14); ########## Resultate korrigieren ########## exist = 0; for (comb in teilnehmer) { split(comb, sep, SUBSEP); if (teilnehmer[sep[1], sep[2]] == schuetze) { exist = 1; # OP if (schiessen == 1) { do { printf(" Obligatorisches Programm: "); getline eingabe; } while (eingabe ~ /^$/ || eingabe < 0 || eingabe > 85); split(erf_op(teilnehmer["kategorie", sep[2]], eingabe), daten, " "); teilnehmer["op_r", sep[2]] = daten[1]; teilnehmer["op_p", sep[2]] = daten[2]; teilnehmer["op_z", sep[2]] = daten[3]; teilnehmer["op_k", sep[2]] = daten[4]; print now " - " teilnehmer["schuetze", sep[2]] ": " teilnehmer["kategorie_j", sep[2]]\ ", OP: " teilnehmer["op_r", sep[2]] " Pt., " teilnehmer["op_p", sep[2]] " %" >> logfile; } # VFS if (schiessen == 2) { do { printf(" Voruebung Feldschiessen: "); getline eingabe; } while (eingabe ~ /^$/ || eingabe < 0 || eingabe > 72); split(erf_vfs(teilnehmer["kategorie", sep[2]], eingabe), daten, " "); teilnehmer["vfs_r", sep[2]] = daten[1]; teilnehmer["vfs_p", sep[2]] = daten[2]; teilnehmer["vfs_z", sep[2]] = daten[3]; print now " - " teilnehmer["schuetze", sep[2]] ": " teilnehmer["kategorie_j", sep[2]]\ ", VFS: " teilnehmer["vfs_r", sep[2]] " Pt., " teilnehmer["vfs_p", sep[2]] " %" >> logfile; } # FS if (schiessen == 3) { do { printf(" Feldschiessen: "); getline eingabe; } while (eingabe ~ /^$/ || eingabe < 0 || eingabe > 72); split(erf_fs(teilnehmer["kategorie", sep[2]], eingabe), daten, " "); teilnehmer["fs_r", sep[2]] = daten[1]; teilnehmer["fs_p", sep[2]] = daten[2]; teilnehmer["fs_z", sep[2]] = daten[3]; teilnehmer["fs_k", sep[2]] = daten[4]; print now " - " teilnehmer["schuetze", sep[2]] ": " teilnehmer["kategorie_j", sep[2]]\ ", FS: " teilnehmer["fs_r", sep[2]] " Pt., " teilnehmer["fs_p", sep[2]] " %" >> logfile; } # Grauholzschiessen if (schiessen == 4) { do { printf(" Grauholzschiessen: "); getline eingabe; } while (eingabe ~ /^$/ || eingabe < 0 || eingabe > 60); split(erf_gr(teilnehmer["kategorie", sep[2]], eingabe), daten, " "); teilnehmer["gr_r", sep[2]] = daten[1]; teilnehmer["gr_p", sep[2]] = daten[2]; teilnehmer["gr_z", sep[2]] = daten[3]; teilnehmer["gr_k", sep[2]] = daten[4]; print now " - " teilnehmer["schuetze", sep[2]] ": " teilnehmer["kategorie_j", sep[2]]\ ", Grauholz: " teilnehmer["gr_r", sep[2]] " Pt., " teilnehmer["gr_p", sep[2]] " %" >> logfile; } # Maerzschiessen if (schiessen == 5) { do { printf(" Maerzschiessen: "); getline eingabe; } while (eingabe ~ /^$/ || eingabe < 0 || eingabe > 100); split(erf_mar(teilnehmer["kategorie", sep[2]], eingabe), daten, " "); teilnehmer["mar_r", sep[2]] = daten[1]; teilnehmer["mar_p", sep[2]] = daten[2]; teilnehmer["mar_z", sep[2]] = daten[3]; teilnehmer["mar_k", sep[2]] = daten[4]; print now " - " teilnehmer["schuetze", sep[2]] ": " teilnehmer["kategorie_j", sep[2]]\ ", Maerz: " teilnehmer["mar_r", sep[2]] " Pt., " teilnehmer["mar_p", sep[2]] " %" >> logfile; } # Einzelwettschiessen if (schiessen == 6) { do { printf(" Einzelwettschiessen: "); getline eingabe; } while (eingabe ~ /^$/ || eingabe < 0 || eingabe > 200); split(erf_ews(teilnehmer["kategorie", sep[2]], eingabe), daten, " "); teilnehmer["ews_r", sep[2]] = daten[1]; teilnehmer["ews_p", sep[2]] = daten[2]; teilnehmer["ews_z", sep[2]] = daten[3]; teilnehmer["ews_k", sep[2]] = daten[4]; teilnehmer["feld", sep[2]] = daten[5]; print now " - " teilnehmer["schuetze", sep[2]] ": " teilnehmer["kategorie_j", sep[2]]\ ", Einzelwett: " teilnehmer["ews_r", sep[2]] " Pt., " teilnehmer["ews_p", sep[2]] " %" >> logfile; } # Mingerschiessen if (schiessen == 7) { do { printf(" Mingerschiessen: "); getline eingabe; } while (eingabe ~ /^$/ || eingabe < 0 || eingabe > 40); split(erf_mi(teilnehmer["kategorie", sep[2]], eingabe), daten, " "); teilnehmer["mi_r", sep[2]] = daten[1]; teilnehmer["mi_p", sep[2]] = daten[2]; teilnehmer["mi_z", sep[2]] = daten[3]; teilnehmer["mi_k", sep[2]] = daten[4]; print now " - " teilnehmer["schuetze", sep[2]] ": " teilnehmer["kategorie_j", sep[2]]\ ", Minger: " teilnehmer["mi_r", sep[2]] " Pt., " teilnehmer["mi_p", sep[2]] " %" >> logfile; } # Offizieller Anlass if (schiessen == 8) { do { printf(" Von der HV bestimmter Anlass: "); getline eingabe; } while (eingabe ~ /^$/ || eingabe < 0 || eingabe > 100); split(erf_hv(teilnehmer["kategorie", sep[2]], eingabe), daten, " "); teilnehmer["hv_r", sep[2]] = daten[1]; teilnehmer["hv_p", sep[2]] = daten[2]; teilnehmer["hv_z", sep[2]] = daten[3]; teilnehmer["hv_k", sep[2]] = daten[4]; print now " - " teilnehmer["schuetze", sep[2]] ": " teilnehmer["kategorie_j", sep[2]]\ ", Off. Anl: " teilnehmer["hv_r", sep[2]] " Pt., " teilnehmer["hv_p", sep[2]] " %" >> logfile; } # Vancouverstich # gemaess Vorstandsbeschluss 2018 nicht mehr Teil der Jahresmeisterschaft #if (schiessen == 9) { # do { # printf(" Vancouverstich: "); # getline eingabe; # } while (eingabe ~ /^$/ || eingabe < 0 || eingabe > 100); # split(erf_van(teilnehmer["kategorie", sep[2]], eingabe), daten, " "); # teilnehmer["van_r", sep[2]] = daten[1]; # teilnehmer["van_p", sep[2]] = daten[2]; # teilnehmer["van_z", sep[2]] = daten[3]; # teilnehmer["van_k", sep[2]] = daten[4]; # print now " - " teilnehmer["schuetze", sep[2]] ": " teilnehmer["kategorie_j", sep[2]]\ # ", Vancouver: " teilnehmer["van_r", sep[2]] " Pt., " teilnehmer["van_p", sep[2]] " %" >> logfile; #} # Bubenbergschiessen if (schiessen == 9) { do { printf(" Bubenbergschiessen: "); getline eingabe; } while (eingabe ~ /^$/ || eingabe < 0 || eingabe > 100); split(erf_bub(teilnehmer["kategorie", sep[2]], eingabe), daten, " "); teilnehmer["bub_r", sep[2]] = daten[1]; teilnehmer["bub_p", sep[2]] = daten[2]; teilnehmer["bub_z", sep[2]] = daten[3]; teilnehmer["bub_k", sep[2]] = daten[4]; print now " - " teilnehmer["schuetze", sep[2]] ": " teilnehmer["kategorie_j", sep[2]]\ ", Bubenberg: " teilnehmer["bub_r", sep[2]] " Pt., " teilnehmer["bub_p", sep[2]] " %" >> logfile; } # Sektionsstich if (schiessen == 10) { do { printf(" Sektionsstich: "); getline eingabe; } while (eingabe ~ /^$/ || eingabe < 0 || eingabe > 40); split(erf_sek(teilnehmer["kategorie", sep[2]], eingabe), daten, " "); teilnehmer["sek_r", sep[2]] = daten[1]; teilnehmer["sek_p", sep[2]] = daten[2]; teilnehmer["sek_z", sep[2]] = daten[3]; print now " - " teilnehmer["schuetze", sep[2]] ": " teilnehmer["kategorie_j", sep[2]]\ ", Sektion: " teilnehmer["sek_r", sep[2]] " Pt., " teilnehmer["sek_p", sep[2]] " %" >> logfile; } # Standstich if (schiessen == 11) { do { printf(" Standstich: "); getline eingabe; } while (eingabe ~ /^$/ || eingabe < 0 || eingabe > 100); split(erf_st(teilnehmer["kategorie", sep[2]], eingabe), daten, " "); teilnehmer["st_r", sep[2]] = daten[1]; teilnehmer["st_p", sep[2]] = daten[2]; teilnehmer["st_z", sep[2]] = daten[3]; print now " - " teilnehmer["schuetze", sep[2]] ": " teilnehmer["kategorie_j", sep[2]]\ ", Stand: " teilnehmer["st_r", sep[2]] " Pt., " teilnehmer["st_p", sep[2]] " %" >> logfile; } # Schnellstich if (schiessen == 12) { do { printf(" Schnellstich: "); getline eingabe; } while (eingabe ~ /^$/ || eingabe < 0 || eingabe > 40); split(erf_sch(teilnehmer["kategorie", sep[2]], eingabe), daten, " "); teilnehmer["sch_r", sep[2]] = daten[1]; teilnehmer["sch_p", sep[2]] = daten[2]; teilnehmer["sch_z", sep[2]] = daten[3]; print now " - " teilnehmer["schuetze", sep[2]] ": " teilnehmer["kategorie_j", sep[2]]\ ", Schnell: " teilnehmer["sch_r", sep[2]] " Pt., " teilnehmer["sch_p", sep[2]] " %" >> logfile; } # Kunststich if (schiessen == 13) { do { printf(" Kunststich: "); getline eingabe; } while (eingabe ~ /^$/ || eingabe < 0 || eingabe > 500); split(erf_kun(teilnehmer["kategorie", sep[2]], eingabe), daten, " "); teilnehmer["kun_r", sep[2]] = daten[1]; teilnehmer["kun_p", sep[2]] = daten[2]; teilnehmer["kun_z", sep[2]] = daten[3]; print now " - " teilnehmer["schuetze", sep[2]] ": " teilnehmer["kategorie_j", sep[2]]\ ", Kunst: " teilnehmer["kun_r", sep[2]] " Pt., " teilnehmer["kun_p", sep[2]] " %" >> logfile; } # abbrechen if (schiessen == 14) { print now " - " teilnehmer["schuetze", sep[2]] ": keine Korrektur durchgefuehrt" >> logfile; break; } } } close(logfile); # Falls Schuetze nicht existiert, Programmdurchlauf wiederholen if (exist == 0) { print "\nGesuchter Schuetze existiert nicht!\n"; continue; } ########## Anzahl Resultate und Kraenze aktualisieren ########## # Array mit den Bezeichnungen der Resultatsfelder aufbauen i = 1; new(resultate); for (comb in teilnehmer) { split(comb, sep, SUBSEP); if (sep[2] == 1) { if (sep[1] ~ /.+_r/) { resultate[i] = sep[1]; i++; } } } # Array mit den Bezeichnungen der Kranzfelder aufbauen i = 1; new(kraenze); for (comb in teilnehmer) { split(comb, sep, SUBSEP); if (sep[2] == 1) { if (sep[1] ~ /.+_k/) { kraenze[i] = sep[1]; i++; } } } # Anzahl Resultate und Kraenze ermitteln resanz = 0; kranzanz = 0; for (comb in teilnehmer) { split(comb, sep, SUBSEP); if (teilnehmer[sep[1], sep[2]] == schuetze) { for (r in resultate) resanz += res(teilnehmer[resultate[r], sep[2]]); teilnehmer["resultate", sep[2]] = resanz; for (k in kraenze) kranzanz += teilnehmer[kraenze[k], sep[2]]; teilnehmer["kraenze", sep[2]] = kranzanz; } } ########## Daten in DB-File schreiben ########## printf("") > dbfile; # DB-File neu anlegen # Feldbezeichnungen schreiben asort(fields); # Feldbezeichnungen sortieren for (f = 1; f <= length(fields); f++) { if (f < length(fields)) printf("%s,", fields[f]) > dbfile; # Feldbezeichnungen mit Komma trennen... else printf("%s", fields[f]) > dbfile; # ...ausser bei der letzten } printf("\n") > dbfile; # Zeilenumbruch am Ende einfuegen # Daten anfuegen for (t = 1; t <= anz_teiln; t++) { # fuer jeden Teilnehmer for (f = 1; f <= length(fields); f++) { # fuer jedes Feld for (comb in teilnehmer) { # fuer jeden kombinierten Index split(comb, sep, SUBSEP); # Index aufsplitten if (sep[1] == fields[f] && sep[2] == t) { # Feldwerte in sortierter Reihenfolge nach Teilnehmer if (f < length(fields)) printf("%s,", teilnehmer[sep[1], sep[2]]) > dbfile; # Feldbezeichnungen mit Komma trennen... else printf("%s", teilnehmer[sep[1], sep[2]]) > dbfile; # ...ausser bei der letzten } } } printf("\n") > dbfile; # Zeilenumbruch am Ende einfuegen } close(dbfile); ########## weiteres Vorgehen definieren ########## do { print "\n********************************"; print "Weitere Korrektur durchfuehren ?"; print "********************************\n"; print "Ja\t\t<1>"; print "Nein\t\t<2>"; getline antwort; if (antwort == 1) continue; else if (antwort == 2) break; } while (antwort !~ /^1$|^2$/); } while (antwort != 2); }
high
0.300776
6
*> \brief \b ZUNGL2 generates all or part of the unitary matrix Q from an LQ factorization determined by cgelqf (unblocked algorithm). * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download ZUNGL2 + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/zungl2.f"> *> [TGZ]</a> *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/zungl2.f"> *> [ZIP]</a> *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/zungl2.f"> *> [TXT]</a> *> \endhtmlonly * * Definition: * =========== * * SUBROUTINE ZUNGL2( M, N, K, A, LDA, TAU, WORK, INFO ) * * .. Scalar Arguments .. * INTEGER INFO, K, LDA, M, N * .. * .. Array Arguments .. * COMPLEX*16 A( LDA, * ), TAU( * ), WORK( * ) * .. * * *> \par Purpose: * ============= *> *> \verbatim *> *> ZUNGL2 generates an m-by-n complex matrix Q with orthonormal rows, *> which is defined as the first m rows of a product of k elementary *> reflectors of order n *> *> Q = H(k)**H . . . H(2)**H H(1)**H *> *> as returned by ZGELQF. *> \endverbatim * * Arguments: * ========== * *> \param[in] M *> \verbatim *> M is INTEGER *> The number of rows of the matrix Q. M >= 0. *> \endverbatim *> *> \param[in] N *> \verbatim *> N is INTEGER *> The number of columns of the matrix Q. N >= M. *> \endverbatim *> *> \param[in] K *> \verbatim *> K is INTEGER *> The number of elementary reflectors whose product defines the *> matrix Q. M >= K >= 0. *> \endverbatim *> *> \param[in,out] A *> \verbatim *> A is COMPLEX*16 array, dimension (LDA,N) *> On entry, the i-th row must contain the vector which defines *> the elementary reflector H(i), for i = 1,2,...,k, as returned *> by ZGELQF in the first k rows of its array argument A. *> On exit, the m by n matrix Q. *> \endverbatim *> *> \param[in] LDA *> \verbatim *> LDA is INTEGER *> The first dimension of the array A. LDA >= max(1,M). *> \endverbatim *> *> \param[in] TAU *> \verbatim *> TAU is COMPLEX*16 array, dimension (K) *> TAU(i) must contain the scalar factor of the elementary *> reflector H(i), as returned by ZGELQF. *> \endverbatim *> *> \param[out] WORK *> \verbatim *> WORK is COMPLEX*16 array, dimension (M) *> \endverbatim *> *> \param[out] INFO *> \verbatim *> INFO is INTEGER *> = 0: successful exit *> < 0: if INFO = -i, the i-th argument has an illegal value *> \endverbatim * * Authors: * ======== * *> \author Univ. of Tennessee *> \author Univ. of California Berkeley *> \author Univ. of Colorado Denver *> \author NAG Ltd. * *> \date September 2012 * *> \ingroup complex16OTHERcomputational * * ===================================================================== SUBROUTINE ZUNGL2( M, N, K, A, LDA, TAU, WORK, INFO ) * * -- LAPACK computational routine (version 3.4.2) -- * -- LAPACK is a software package provided by Univ. of Tennessee, -- * -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..-- * September 2012 * * .. Scalar Arguments .. INTEGER INFO, K, LDA, M, N * .. * .. Array Arguments .. COMPLEX*16 A( LDA, * ), TAU( * ), WORK( * ) * .. * * ===================================================================== * * .. Parameters .. COMPLEX*16 ONE, ZERO PARAMETER ( ONE = ( 1.0D+0, 0.0D+0 ), $ ZERO = ( 0.0D+0, 0.0D+0 ) ) * .. * .. Local Scalars .. INTEGER I, J, L * .. * .. External Subroutines .. EXTERNAL XERBLA, ZLACGV, ZLARF, ZSCAL * .. * .. Intrinsic Functions .. INTRINSIC DCONJG, MAX * .. * .. Executable Statements .. * * Test the input arguments * INFO = 0 IF( M.LT.0 ) THEN INFO = -1 ELSE IF( N.LT.M ) THEN INFO = -2 ELSE IF( K.LT.0 .OR. K.GT.M ) THEN INFO = -3 ELSE IF( LDA.LT.MAX( 1, M ) ) THEN INFO = -5 END IF IF( INFO.NE.0 ) THEN CALL XERBLA( 'ZUNGL2', -INFO ) RETURN END IF * * Quick return if possible * IF( M.LE.0 ) $ RETURN * IF( K.LT.M ) THEN * * Initialise rows k+1:m to rows of the unit matrix * DO 20 J = 1, N DO 10 L = K + 1, M A( L, J ) = ZERO 10 CONTINUE IF( J.GT.K .AND. J.LE.M ) $ A( J, J ) = ONE 20 CONTINUE END IF * DO 40 I = K, 1, -1 * * Apply H(i)**H to A(i:m,i:n) from the right * IF( I.LT.N ) THEN CALL ZLACGV( N-I, A( I, I+1 ), LDA ) IF( I.LT.M ) THEN A( I, I ) = ONE CALL ZLARF( 'Right', M-I, N-I+1, A( I, I ), LDA, $ DCONJG( TAU( I ) ), A( I+1, I ), LDA, WORK ) END IF CALL ZSCAL( N-I, -TAU( I ), A( I, I+1 ), LDA ) CALL ZLACGV( N-I, A( I, I+1 ), LDA ) END IF A( I, I ) = ONE - DCONJG( TAU( I ) ) * * Set A(i,1:i-1) to zero * DO 30 L = 1, I - 1 A( I, L ) = ZERO 30 CONTINUE 40 CONTINUE RETURN * * End of ZUNGL2 * END
high
0.887595
7
<!DOCTYPE html> <html lang="en"> <head> <!-- Basic Page Needs –––––––––––––––––––––––––––––––––––––––––––––––––– --> <meta charset="utf-8"> <title>bokeh.models.glyphs.Bezier &mdash; Bokeh 1.0.3 documentation</title> <meta name="description" content="Bokeh visualization library, documentation site."> <meta name="author" content="Bokeh contributors"> <!-- Mobile Specific Metas –––––––––––––––––––––––––––––––––––––––––––––––––– --> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- FONT –––––––––––––––––––––––––––––––––––––––––––––––––– --> <script src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.16/webfont.js"></script> <script> WebFont.load({ google: { families: ['Source Sans Pro'] } }); </script> <!-- CSS –––––––––––––––––––––––––––––––––––––––––––––––––– --> <link rel="stylesheet" href="../../../../_static/css/main.css"> <!-- Scripts –––––––––––––––––––––––––––––––––––––––––––––––––– --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script type="text/javascript"> var _BOKEH_CURRENT_VERSION = "1.0.3"; </script> <script src="../../../../_static/js/main.js"></script> <!-- Favicon –––––––––––––––––––––––––––––––––––––––––––––––––– --> <link rel="icon" type="image/png" href="https://static.bokeh.org/favicon/favicon-32x32.png.ico"> <!-- Canonical –––––––––––––––––––––––––––––––––––––––––––––––––– --> <link rel="canonical" href="https://docs.bokeh.org/en/latest/docs/reference/models/glyphs/bezier.html" /> </head> <body class=""> <header class="navigation"> <div class="wrapper"> <a href="" class="logo"> <img src="../../../../_static/images/logo.png" alt="Bokeh Logo"> </a> <a href="" class="navigation-menu logo-text">Bokeh</a> <a href="javascript:void(0)" class="navigation-menu-button" id="js-mobile-menu">Menu</a> <nav> <ul id="js-navigation-menu" class="navigation-menu show"> <li class="nav-link"><a href="//github.com/bokeh/bokeh">Github</a></li> </ul> </nav> </div> </header> <div class="second-nav"> <nav> <ul class="navigation-menu show"> <li class="nav-link more"><a href="../../../../index.html">1.0.3</a> <ul class="submenu"> <li class="version-link"><a href="//bokeh.pydata.org/en/1.0.3/">1.0.3</a></li> <li class="version-link"><a href="//bokeh.pydata.org/en/1.0.2/">1.0.2</a></li> <li class="version-link"><a href="//bokeh.pydata.org/en/1.0.1/">1.0.1</a></li> <li class="version-link"><a href="//bokeh.pydata.org/en/1.0.0/">1.0.0</a></li> <li class="version-link"><a href="//bokeh.pydata.org/en/0.13.0/">0.13.0</a></li> <li class="version-link"><a href="//bokeh.pydata.org/en/0.12.16/">0.12.16</a></li> <li class="version-link"><a href="//bokeh.pydata.org/en/0.12.15/">0.12.15</a></li> <li class="version-link"><a href="//bokeh.pydata.org/en/0.12.14/">0.12.14</a></li> <li class="version-link"><a href="//bokeh.pydata.org/en/0.11.0/">0.11.0</a></li> </ul> </li> <li class="nav-link doc-head"><a href="../../../installation.html">Installation</a></li> <li class="nav-link doc-head"><a href="../../../user_guide.html">User Guide</a></li> <li class="nav-link doc-head"><a href="../../../gallery.html">Gallery</a></li> <li class="nav-link doc-head"><a href="https://mybinder.org/v2/gh/bokeh/bokeh-notebooks/master?filepath=tutorial%2F00%20-%20Introduction%20and%20Setup.ipynb">Tutorial</a></li> <li class="nav-link doc-head"><a href="../../../reference.html">Reference</a></li> <li class="nav-link doc-head"><a href="../../../releases.html">Releases</a></li> <li class="nav-link doc-head"><a href="../../../dev_guide.html">Developer Guide</a></li> </ul> </nav> </div> <!-- MAIN BODY OF DOCS –––––––––––––––––– --> <div class="docs section"> <div class="toc"> <ul class="current"> <li class="toctree-l1"><a class="reference internal" href="../../../installation.html">Installation</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../user_guide.html">User Guide</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../user_guide/quickstart.html">Quickstart</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../user_guide/concepts.html">Defining Key Concepts</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../user_guide/plotting.html">Plotting with Basic Glyphs</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../user_guide/data.html">Providing Data for Plots and Tables</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../user_guide/layout.html">Laying out Plots and Widgets</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../user_guide/categorical.html">Handling Categorical Data</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../user_guide/graph.html">Visualizing Network Graphs</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../user_guide/geo.html">Mapping Geo Data</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../user_guide/tools.html">Configuring Plot Tools</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../user_guide/styling.html">Styling Visual Attributes</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../user_guide/annotations.html">Adding Annotations</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../user_guide/interaction.html">Adding Interactions</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../user_guide/server.html">Running a Bokeh Server</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../user_guide/notebook.html">Working in the Notebook</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../user_guide/export.html">Exporting Plots</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../user_guide/embed.html">Embedding Plots and Apps</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../user_guide/cli.html">Using <code class="docutils literal notranslate"><span class="pre">bokeh</span></code> Commands</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../user_guide/extensions.html">Extending Bokeh</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../user_guide/compat.html">Leveraging Other Libraries</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../user_guide/webgl.html">Speeding up with WebGL</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../user_guide/bokehjs.html">Developing with JavaScript</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../user_guide/info.html">Learning More</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../reference.html">Reference Guide</a></li> <li class="toctree-l1"><a class="reference internal" href="../../0_bokeh.html">bokeh</a></li> <li class="toctree-l1"><a class="reference internal" href="../../application.html">bokeh.application</a></li> <li class="toctree-l1"><a class="reference internal" href="../../client.html">bokeh.client</a></li> <li class="toctree-l1"><a class="reference internal" href="../../colors.html">bokeh.colors</a></li> <li class="toctree-l1"><a class="reference internal" href="../../command.html">bokeh.command</a></li> <li class="toctree-l1"><a class="reference internal" href="../../core.html">bokeh.core</a></li> <li class="toctree-l1"><a class="reference internal" href="../../document.html">bokeh.document</a></li> <li class="toctree-l1"><a class="reference internal" href="../../driving.html">bokeh.driving</a></li> <li class="toctree-l1"><a class="reference internal" href="../../embed.html">bokeh.embed</a></li> <li class="toctree-l1"><a class="reference internal" href="../../events.html">bokeh.events</a></li> <li class="toctree-l1"><a class="reference internal" href="../../io.html">bokeh.io</a></li> <li class="toctree-l1"><a class="reference internal" href="../../layouts.html">bokeh.layouts</a></li> <li class="toctree-l1"><a class="reference internal" href="../../model.html">bokeh.model</a></li> <li class="toctree-l1 current"><a class="reference internal" href="../../models.html">bokeh.models</a><ul class="current"> <li class="toctree-l2"><a class="reference internal" href="../annotations.html">bokeh.models.annotations</a></li> <li class="toctree-l2"><a class="reference internal" href="../arrow_heads.html">bokeh.models.arrow_heads</a></li> <li class="toctree-l2"><a class="reference internal" href="../axes.html">bokeh.models.axes</a></li> <li class="toctree-l2"><a class="reference internal" href="../callbacks.html">bokeh.models.callbacks</a></li> <li class="toctree-l2"><a class="reference internal" href="../expressions.html">bokeh.models.expressions</a></li> <li class="toctree-l2"><a class="reference internal" href="../filters.html">bokeh.models.filters</a></li> <li class="toctree-l2"><a class="reference internal" href="../formatters.html">bokeh.models.formatters</a></li> <li class="toctree-l2 current"><a class="reference internal" href="../glyphs.html">bokeh.models.glyphs</a><ul class="current"> <li class="toctree-l3"><a class="reference internal" href="annular_wedge.html">bokeh.models.glyphs.AnnularWedge</a></li> <li class="toctree-l3"><a class="reference internal" href="annulus.html">bokeh.models.glyphs.Annulus</a></li> <li class="toctree-l3"><a class="reference internal" href="arc.html">bokeh.models.glyphs.Arc</a></li> <li class="toctree-l3 current"><a class="current reference internal" href="#">bokeh.models.glyphs.Bezier</a></li> <li class="toctree-l3"><a class="reference internal" href="ellipse.html">bokeh.models.glyphs.Ellipse</a></li> <li class="toctree-l3"><a class="reference internal" href="hbar.html">bokeh.models.glyphs.HBar</a></li> <li class="toctree-l3"><a class="reference internal" href="hex_tile.html">bokeh.models.glyphs.HexTile</a></li> <li class="toctree-l3"><a class="reference internal" href="image.html">bokeh.models.glyphs.Image</a></li> <li class="toctree-l3"><a class="reference internal" href="image_rgba.html">bokeh.models.glyphs.ImageRGBA</a></li> <li class="toctree-l3"><a class="reference internal" href="image_url.html">bokeh.models.glyphs.ImageURL</a></li> <li class="toctree-l3"><a class="reference internal" href="line.html">bokeh.models.glyphs.Line</a></li> <li class="toctree-l3"><a class="reference internal" href="multi_line.html">bokeh.models.glyphs.MultiLine</a></li> <li class="toctree-l3"><a class="reference internal" href="multi_polygons.html">bokeh.models.glyphs.MultiPolygons</a></li> <li class="toctree-l3"><a class="reference internal" href="oval.html">bokeh.models.glyphs.Oval</a></li> <li class="toctree-l3"><a class="reference internal" href="patch.html">bokeh.models.glyphs.Patch</a></li> <li class="toctree-l3"><a class="reference internal" href="patches.html">bokeh.models.glyphs.Patches</a></li> <li class="toctree-l3"><a class="reference internal" href="quad.html">bokeh.models.glyphs.Quad</a></li> <li class="toctree-l3"><a class="reference internal" href="quadratic.html">bokeh.models.glyphs.Quadratic</a></li> <li class="toctree-l3"><a class="reference internal" href="ray.html">bokeh.models.glyphs.Ray</a></li> <li class="toctree-l3"><a class="reference internal" href="rect.html">bokeh.models.glyphs.Rect</a></li> <li class="toctree-l3"><a class="reference internal" href="segment.html">bokeh.models.glyphs.Segment</a></li> <li class="toctree-l3"><a class="reference internal" href="step.html">bokeh.models.glyphs.Step</a></li> <li class="toctree-l3"><a class="reference internal" href="text.html">bokeh.models.glyphs.Text</a></li> <li class="toctree-l3"><a class="reference internal" href="vbar.html">bokeh.models.glyphs.VBar</a></li> <li class="toctree-l3"><a class="reference internal" href="wedge.html">bokeh.models.glyphs.Wedge</a></li> </ul> </li> <li class="toctree-l2"><a class="reference internal" href="../graphs.html">bokeh.models.graphs</a></li> <li class="toctree-l2"><a class="reference internal" href="../grids.html">bokeh.models.grids</a></li> <li class="toctree-l2"><a class="reference internal" href="../layouts.html">bokeh.models.layouts</a></li> <li class="toctree-l2"><a class="reference internal" href="../map_plots.html">bokeh.models.map_plots</a></li> <li class="toctree-l2"><a class="reference internal" href="../mappers.html">bokeh.models.mappers</a></li> <li class="toctree-l2"><a class="reference internal" href="../markers.html">bokeh.models.markers</a></li> <li class="toctree-l2"><a class="reference internal" href="../plots.html">bokeh.models.plots</a></li> <li class="toctree-l2"><a class="reference internal" href="../ranges.html">bokeh.models.ranges</a></li> <li class="toctree-l2"><a class="reference internal" href="../renderers.html">bokeh.models.renderers</a></li> <li class="toctree-l2"><a class="reference internal" href="../scales.html">bokeh.models.scales</a></li> <li class="toctree-l2"><a class="reference internal" href="../selections.html">bokeh.models.selections</a></li> <li class="toctree-l2"><a class="reference internal" href="../sources.html">bokeh.models.sources</a></li> <li class="toctree-l2"><a class="reference internal" href="../tickers.html">bokeh.models.tickers</a></li> <li class="toctree-l2"><a class="reference internal" href="../tiles.html">bokeh.models.tiles</a></li> <li class="toctree-l2"><a class="reference internal" href="../tools.html">bokeh.models.tools</a></li> <li class="toctree-l2"><a class="reference internal" href="../transforms.html">bokeh.models.transforms</a></li> <li class="toctree-l2"><a class="reference internal" href="../widgets.buttons.html">bokeh.models.widgets.buttons</a></li> <li class="toctree-l2"><a class="reference internal" href="../widgets.groups.html">bokeh.models.widgets.groups</a></li> <li class="toctree-l2"><a class="reference internal" href="../widgets.icons.html">bokeh.models.widgets.icons</a></li> <li class="toctree-l2"><a class="reference internal" href="../widgets.inputs.html">bokeh.models.widgets.inputs</a></li> <li class="toctree-l2"><a class="reference internal" href="../widgets.markups.html">bokeh.models.widgets.markups</a></li> <li class="toctree-l2"><a class="reference internal" href="../widgets.panels.html">bokeh.models.widgets.panels</a></li> <li class="toctree-l2"><a class="reference internal" href="../widgets.sliders.html">bokeh.models.widgets.sliders</a></li> <li class="toctree-l2"><a class="reference internal" href="../widgets.tables.html">bokeh.models.widgets.tables</a></li> <li class="toctree-l2"><a class="reference internal" href="../widgets.widget.html">bokeh.models.widgets.widget</a></li> </ul> </li> <li class="toctree-l1"><a class="reference internal" href="../../palettes.html">bokeh.palettes</a></li> <li class="toctree-l1"><a class="reference internal" href="../../plotting.html">bokeh.plotting</a></li> <li class="toctree-l1"><a class="reference internal" href="../../protocol.html">bokeh.protocol</a></li> <li class="toctree-l1"><a class="reference internal" href="../../resources.html">bokeh.resources</a></li> <li class="toctree-l1"><a class="reference internal" href="../../sampledata.html">bokeh.sampledata</a></li> <li class="toctree-l1"><a class="reference internal" href="../../server.html">bokeh.server</a></li> <li class="toctree-l1"><a class="reference internal" href="../../settings.html">bokeh.settings</a></li> <li class="toctree-l1"><a class="reference internal" href="../../sphinxext.html">bokeh.sphinxext</a></li> <li class="toctree-l1"><a class="reference internal" href="../../themes.html">bokeh.themes</a></li> <li class="toctree-l1"><a class="reference internal" href="../../tile_providers.html">bokeh.tile_providers</a></li> <li class="toctree-l1"><a class="reference internal" href="../../transform.html">bokeh.transform</a></li> <li class="toctree-l1"><a class="reference internal" href="../../util.html">bokeh.util</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../dev_guide.html">Developer Guide</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../dev_guide/setup.html">Getting Set Up</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../dev_guide/env_vars.html">Environment Variables</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../dev_guide/testing.html">Testing</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../dev_guide/documentation.html">Documentation</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../dev_guide/models.html">Bokeh Models</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../dev_guide/server.html">Server Architecture</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../dev_guide/bindings.html">Language Bindings</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../dev_guide/bokehjs.html">BokehJS</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html">1.0.3</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#id2">1.0.2</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-1-0-1">1.0.1</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-1-0-0">1.0.0</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-13-0">0.13.0</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-12-16">0.12.16</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-12-15">0.12.15</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-12-14">0.12.14</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-12-13">0.12.13</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-12-11">0.12.11</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-12-10">0.12.10</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-12-9">0.12.9</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-12-7">0.12.7</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-12-6">0.12.6</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-12-5">0.12.5</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-12-4">0.12.4</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-12-3">0.12.3</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-12-2">0.12.2</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-12-1">0.12.1</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-12-0">0.12.0</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-11-1">0.11.1</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-11-0">0.11.0</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-10-0">0.10.0</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-9-3">0.9.3</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-9-2">0.9.2</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-9-1">0.9.1</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-9-0">0.9.0</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-8-2">0.8.2</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-8-1">0.8.1</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-8-0">0.8.0</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-7-1">0.7.1</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-7-0">0.7.0</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-6-1">0.6.1</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-6-0">0.6.0</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-5-2">0.5.2</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-5-1">0.5.1</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-5-0">0.5.0</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-4-4">0.4.4</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-4-2">0.4.2</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-4-1">0.4.1</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-4-0">0.4.0</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-3-0">0.3.0</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-2-0">0.2.0</a></li> <li class="toctree-l1"><a class="reference internal" href="../../../releases.html#release-0-1-0">0.1.0</a></li> </ul> </div> <div class="content"> <div class="section" id="bokeh-models-glyphs-bezier"> <span id="id1"></span><h1>bokeh.models.glyphs.Bezier<a class="headerlink" href="#bokeh-models-glyphs-bezier" title="Permalink to this headline">¶</a></h1> <dl class="class"> <dt id="bokeh.models.glyphs.Bezier"> <em class="property">class </em><code class="descname">Bezier</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="../../../../_modules/bokeh/models/glyphs.html#Bezier"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#bokeh.models.glyphs.Bezier" title="Permalink to this definition">¶</a></dt> <dd><p>Render Bezier curves.</p> <p>For more information consult the <a class="reference external" href="http://en.wikipedia.org/wiki/Bezier_curve">Wikipedia article for Bezier curve</a>.</p> <p class="rubric">Example</p> <script src="/en/1.0.3/scripts/bokeh-plot-docs-reference-models-glyphs-bezier-external-0ab5a4ad07794339aa98c7525811a0ab.js" id="0def3b92-3f9a-48cc-b0e8-917cbd744dac"></script><div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">import</span> <span class="nn">numpy</span> <span class="kn">as</span> <span class="nn">np</span> <span class="kn">from</span> <span class="nn">bokeh.models</span> <span class="kn">import</span> <span class="n">ColumnDataSource</span><span class="p">,</span> <span class="n">Plot</span><span class="p">,</span> <span class="n">LinearAxis</span><span class="p">,</span> <span class="n">Grid</span> <span class="kn">from</span> <span class="nn">bokeh.models.glyphs</span> <span class="kn">import</span> <span class="n">Bezier</span> <span class="kn">from</span> <span class="nn">bokeh.io</span> <span class="kn">import</span> <span class="n">curdoc</span><span class="p">,</span> <span class="n">show</span> <span class="n">N</span> <span class="o">=</span> <span class="mi">9</span> <span class="n">x</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">linspace</span><span class="p">(</span><span class="o">-</span><span class="mi">2</span><span class="p">,</span> <span class="mi">2</span><span class="p">,</span> <span class="n">N</span><span class="p">)</span> <span class="n">y</span> <span class="o">=</span> <span class="n">x</span><span class="o">**</span><span class="mi">2</span> <span class="n">source</span> <span class="o">=</span> <span class="n">ColumnDataSource</span><span class="p">(</span><span class="nb">dict</span><span class="p">(</span> <span class="n">x</span><span class="o">=</span><span class="n">x</span><span class="p">,</span> <span class="n">y</span><span class="o">=</span><span class="n">y</span><span class="p">,</span> <span class="n">xp02</span><span class="o">=</span><span class="n">x</span><span class="o">+</span><span class="mf">0.4</span><span class="p">,</span> <span class="n">xp01</span><span class="o">=</span><span class="n">x</span><span class="o">+</span><span class="mf">0.1</span><span class="p">,</span> <span class="n">xm01</span><span class="o">=</span><span class="n">x</span><span class="o">-</span><span class="mf">0.1</span><span class="p">,</span> <span class="n">yp01</span><span class="o">=</span><span class="n">y</span><span class="o">+</span><span class="mf">0.2</span><span class="p">,</span> <span class="n">ym01</span><span class="o">=</span><span class="n">y</span><span class="o">-</span><span class="mf">0.2</span><span class="p">,</span> <span class="p">)</span> <span class="p">)</span> <span class="n">plot</span> <span class="o">=</span> <span class="n">Plot</span><span class="p">(</span> <span class="n">title</span><span class="o">=</span><span class="bp">None</span><span class="p">,</span> <span class="n">plot_width</span><span class="o">=</span><span class="mi">300</span><span class="p">,</span> <span class="n">plot_height</span><span class="o">=</span><span class="mi">300</span><span class="p">,</span> <span class="n">h_symmetry</span><span class="o">=</span><span class="bp">False</span><span class="p">,</span> <span class="n">v_symmetry</span><span class="o">=</span><span class="bp">False</span><span class="p">,</span> <span class="n">min_border</span><span class="o">=</span><span class="mi">0</span><span class="p">,</span> <span class="n">toolbar_location</span><span class="o">=</span><span class="bp">None</span><span class="p">)</span> <span class="n">glyph</span> <span class="o">=</span> <span class="n">Bezier</span><span class="p">(</span><span class="n">x0</span><span class="o">=</span><span class="s2">&quot;x&quot;</span><span class="p">,</span> <span class="n">y0</span><span class="o">=</span><span class="s2">&quot;y&quot;</span><span class="p">,</span> <span class="n">x1</span><span class="o">=</span><span class="s2">&quot;xp02&quot;</span><span class="p">,</span> <span class="n">y1</span><span class="o">=</span><span class="s2">&quot;y&quot;</span><span class="p">,</span> <span class="n">cx0</span><span class="o">=</span><span class="s2">&quot;xp01&quot;</span><span class="p">,</span> <span class="n">cy0</span><span class="o">=</span><span class="s2">&quot;yp01&quot;</span><span class="p">,</span> <span class="n">cx1</span><span class="o">=</span><span class="s2">&quot;xm01&quot;</span><span class="p">,</span> <span class="n">cy1</span><span class="o">=</span><span class="s2">&quot;ym01&quot;</span><span class="p">,</span> <span class="n">line_color</span><span class="o">=</span><span class="s2">&quot;#d95f02&quot;</span><span class="p">,</span> <span class="n">line_width</span><span class="o">=</span><span class="mi">2</span><span class="p">)</span> <span class="n">plot</span><span class="o">.</span><span class="n">add_glyph</span><span class="p">(</span><span class="n">source</span><span class="p">,</span> <span class="n">glyph</span><span class="p">)</span> <span class="n">xaxis</span> <span class="o">=</span> <span class="n">LinearAxis</span><span class="p">()</span> <span class="n">plot</span><span class="o">.</span><span class="n">add_layout</span><span class="p">(</span><span class="n">xaxis</span><span class="p">,</span> <span class="s1">&#39;below&#39;</span><span class="p">)</span> <span class="n">yaxis</span> <span class="o">=</span> <span class="n">LinearAxis</span><span class="p">()</span> <span class="n">plot</span><span class="o">.</span><span class="n">add_layout</span><span class="p">(</span><span class="n">yaxis</span><span class="p">,</span> <span class="s1">&#39;left&#39;</span><span class="p">)</span> <span class="n">plot</span><span class="o">.</span><span class="n">add_layout</span><span class="p">(</span><span class="n">Grid</span><span class="p">(</span><span class="n">dimension</span><span class="o">=</span><span class="mi">0</span><span class="p">,</span> <span class="n">ticker</span><span class="o">=</span><span class="n">xaxis</span><span class="o">.</span><span class="n">ticker</span><span class="p">))</span> <span class="n">plot</span><span class="o">.</span><span class="n">add_layout</span><span class="p">(</span><span class="n">Grid</span><span class="p">(</span><span class="n">dimension</span><span class="o">=</span><span class="mi">1</span><span class="p">,</span> <span class="n">ticker</span><span class="o">=</span><span class="n">yaxis</span><span class="o">.</span><span class="n">ticker</span><span class="p">))</span> <span class="n">curdoc</span><span class="p">()</span><span class="o">.</span><span class="n">add_root</span><span class="p">(</span><span class="n">plot</span><span class="p">)</span> <span class="n">show</span><span class="p">(</span><span class="n">plot</span><span class="p">)</span> </pre></div> </div> <dl class="attribute"> <dt id="bokeh.models.glyphs.Bezier.cx0"> <code class="descname">cx0</code><a class="headerlink" href="#bokeh.models.glyphs.Bezier.cx0" title="Permalink to this definition">¶</a></dt> <dd><p><em>property type:</em> <a class="reference internal" href="../../core/properties.html#bokeh.core.properties.NumberSpec" title="bokeh.core.properties.NumberSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">NumberSpec</span></code></a></p> <p>The x-coordinates of first control points.</p> </dd></dl> <dl class="attribute"> <dt id="bokeh.models.glyphs.Bezier.cx1"> <code class="descname">cx1</code><a class="headerlink" href="#bokeh.models.glyphs.Bezier.cx1" title="Permalink to this definition">¶</a></dt> <dd><p><em>property type:</em> <a class="reference internal" href="../../core/properties.html#bokeh.core.properties.NumberSpec" title="bokeh.core.properties.NumberSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">NumberSpec</span></code></a></p> <p>The x-coordinates of second control points.</p> </dd></dl> <dl class="attribute"> <dt id="bokeh.models.glyphs.Bezier.cy0"> <code class="descname">cy0</code><a class="headerlink" href="#bokeh.models.glyphs.Bezier.cy0" title="Permalink to this definition">¶</a></dt> <dd><p><em>property type:</em> <a class="reference internal" href="../../core/properties.html#bokeh.core.properties.NumberSpec" title="bokeh.core.properties.NumberSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">NumberSpec</span></code></a></p> <p>The y-coordinates of first control points.</p> </dd></dl> <dl class="attribute"> <dt id="bokeh.models.glyphs.Bezier.cy1"> <code class="descname">cy1</code><a class="headerlink" href="#bokeh.models.glyphs.Bezier.cy1" title="Permalink to this definition">¶</a></dt> <dd><p><em>property type:</em> <a class="reference internal" href="../../core/properties.html#bokeh.core.properties.NumberSpec" title="bokeh.core.properties.NumberSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">NumberSpec</span></code></a></p> <p>The y-coordinates of second control points.</p> </dd></dl> <dl class="attribute"> <dt id="bokeh.models.glyphs.Bezier.js_event_callbacks"> <code class="descname">js_event_callbacks</code><a class="headerlink" href="#bokeh.models.glyphs.Bezier.js_event_callbacks" title="Permalink to this definition">¶</a></dt> <dd><p><em>property type:</em> <a class="reference internal" href="../../core/properties.html#bokeh.core.properties.Dict" title="bokeh.core.properties.Dict"><code class="xref py py-class docutils literal notranslate"><span class="pre">Dict</span></code></a> ( <a class="reference internal" href="../../core/properties.html#bokeh.core.properties.String" title="bokeh.core.properties.String"><code class="xref py py-class docutils literal notranslate"><span class="pre">String</span></code></a> , <a class="reference internal" href="../../core/properties.html#bokeh.core.properties.List" title="bokeh.core.properties.List"><code class="xref py py-class docutils literal notranslate"><span class="pre">List</span></code></a> ( <a class="reference internal" href="../../core/properties.html#bokeh.core.properties.Instance" title="bokeh.core.properties.Instance"><code class="xref py py-class docutils literal notranslate"><span class="pre">Instance</span></code></a> ( <a class="reference internal" href="../callbacks.html#bokeh.models.callbacks.CustomJS" title="bokeh.models.callbacks.CustomJS"><code class="xref py py-class docutils literal notranslate"><span class="pre">CustomJS</span></code></a> ) ) )</p> <p>A mapping of event names to lists of <code class="docutils literal notranslate"><span class="pre">CustomJS</span></code> callbacks.</p> <p>Typically, rather then modifying this property directly, callbacks should be added using the <code class="docutils literal notranslate"><span class="pre">Model.js_on_event</span></code> method:</p> <div class="code python highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">callback</span> <span class="o">=</span> <span class="n">CustomJS</span><span class="p">(</span><span class="n">code</span><span class="o">=</span><span class="s2">&quot;console.log(&#39;tap event occurred&#39;)&quot;</span><span class="p">)</span> <span class="n">plot</span><span class="o">.</span><span class="n">js_on_event</span><span class="p">(</span><span class="s1">&#39;tap&#39;</span><span class="p">,</span> <span class="n">callback</span><span class="p">)</span> </pre></div> </div> </dd></dl> <dl class="attribute"> <dt id="bokeh.models.glyphs.Bezier.js_property_callbacks"> <code class="descname">js_property_callbacks</code><a class="headerlink" href="#bokeh.models.glyphs.Bezier.js_property_callbacks" title="Permalink to this definition">¶</a></dt> <dd><p><em>property type:</em> <a class="reference internal" href="../../core/properties.html#bokeh.core.properties.Dict" title="bokeh.core.properties.Dict"><code class="xref py py-class docutils literal notranslate"><span class="pre">Dict</span></code></a> ( <a class="reference internal" href="../../core/properties.html#bokeh.core.properties.String" title="bokeh.core.properties.String"><code class="xref py py-class docutils literal notranslate"><span class="pre">String</span></code></a> , <a class="reference internal" href="../../core/properties.html#bokeh.core.properties.List" title="bokeh.core.properties.List"><code class="xref py py-class docutils literal notranslate"><span class="pre">List</span></code></a> ( <a class="reference internal" href="../../core/properties.html#bokeh.core.properties.Instance" title="bokeh.core.properties.Instance"><code class="xref py py-class docutils literal notranslate"><span class="pre">Instance</span></code></a> ( <a class="reference internal" href="../callbacks.html#bokeh.models.callbacks.CustomJS" title="bokeh.models.callbacks.CustomJS"><code class="xref py py-class docutils literal notranslate"><span class="pre">CustomJS</span></code></a> ) ) )</p> <p>A mapping of attribute names to lists of <code class="docutils literal notranslate"><span class="pre">CustomJS</span></code> callbacks, to be set up on BokehJS side when the document is created.</p> <p>Typically, rather then modifying this property directly, callbacks should be added using the <code class="docutils literal notranslate"><span class="pre">Model.js_on_change</span></code> method:</p> <div class="code python highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">callback</span> <span class="o">=</span> <span class="n">CustomJS</span><span class="p">(</span><span class="n">code</span><span class="o">=</span><span class="s2">&quot;console.log(&#39;stuff&#39;)&quot;</span><span class="p">)</span> <span class="n">plot</span><span class="o">.</span><span class="n">x_range</span><span class="o">.</span><span class="n">js_on_change</span><span class="p">(</span><span class="s1">&#39;start&#39;</span><span class="p">,</span> <span class="n">callback</span><span class="p">)</span> </pre></div> </div> </dd></dl> <dl class="attribute"> <dt id="bokeh.models.glyphs.Bezier.line_alpha"> <code class="descname">line_alpha</code><a class="headerlink" href="#bokeh.models.glyphs.Bezier.line_alpha" title="Permalink to this definition">¶</a></dt> <dd><p><em>property type:</em> <a class="reference internal" href="../../core/properties.html#bokeh.core.properties.NumberSpec" title="bokeh.core.properties.NumberSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">NumberSpec</span></code></a></p> <p>The line alpha values for the Bezier curves.</p> </dd></dl> <dl class="attribute"> <dt id="bokeh.models.glyphs.Bezier.line_cap"> <code class="descname">line_cap</code><a class="headerlink" href="#bokeh.models.glyphs.Bezier.line_cap" title="Permalink to this definition">¶</a></dt> <dd><p><em>property type:</em> <a class="reference internal" href="../../core/properties.html#bokeh.core.properties.Enum" title="bokeh.core.properties.Enum"><code class="xref py py-class docutils literal notranslate"><span class="pre">Enum</span></code></a> ( <a class="reference internal" href="../../core/enums.html#bokeh.core.enums.LineCap" title="bokeh.core.enums.LineCap"><code class="xref py py-class docutils literal notranslate"><span class="pre">LineCap</span></code></a> )</p> <p>The line cap values for the Bezier curves.</p> </dd></dl> <dl class="attribute"> <dt id="bokeh.models.glyphs.Bezier.line_color"> <code class="descname">line_color</code><a class="headerlink" href="#bokeh.models.glyphs.Bezier.line_color" title="Permalink to this definition">¶</a></dt> <dd><p><em>property type:</em> <a class="reference internal" href="../../core/properties.html#bokeh.core.properties.ColorSpec" title="bokeh.core.properties.ColorSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">ColorSpec</span></code></a></p> <p>The line color values for the Bezier curves.</p> </dd></dl> <dl class="attribute"> <dt id="bokeh.models.glyphs.Bezier.line_dash"> <code class="descname">line_dash</code><a class="headerlink" href="#bokeh.models.glyphs.Bezier.line_dash" title="Permalink to this definition">¶</a></dt> <dd><p><em>property type:</em> <a class="reference internal" href="../../core/properties.html#bokeh.core.properties.DashPattern" title="bokeh.core.properties.DashPattern"><code class="xref py py-class docutils literal notranslate"><span class="pre">DashPattern</span></code></a></p> <p>The line dash values for the Bezier curves.</p> </dd></dl> <dl class="attribute"> <dt id="bokeh.models.glyphs.Bezier.line_dash_offset"> <code class="descname">line_dash_offset</code><a class="headerlink" href="#bokeh.models.glyphs.Bezier.line_dash_offset" title="Permalink to this definition">¶</a></dt> <dd><p><em>property type:</em> <a class="reference internal" href="../../core/properties.html#bokeh.core.properties.Int" title="bokeh.core.properties.Int"><code class="xref py py-class docutils literal notranslate"><span class="pre">Int</span></code></a></p> <p>The line dash offset values for the Bezier curves.</p> </dd></dl> <dl class="attribute"> <dt id="bokeh.models.glyphs.Bezier.line_join"> <code class="descname">line_join</code><a class="headerlink" href="#bokeh.models.glyphs.Bezier.line_join" title="Permalink to this definition">¶</a></dt> <dd><p><em>property type:</em> <a class="reference internal" href="../../core/properties.html#bokeh.core.properties.Enum" title="bokeh.core.properties.Enum"><code class="xref py py-class docutils literal notranslate"><span class="pre">Enum</span></code></a> ( <a class="reference internal" href="../../core/enums.html#bokeh.core.enums.LineJoin" title="bokeh.core.enums.LineJoin"><code class="xref py py-class docutils literal notranslate"><span class="pre">LineJoin</span></code></a> )</p> <p>The line join values for the Bezier curves.</p> </dd></dl> <dl class="attribute"> <dt id="bokeh.models.glyphs.Bezier.line_width"> <code class="descname">line_width</code><a class="headerlink" href="#bokeh.models.glyphs.Bezier.line_width" title="Permalink to this definition">¶</a></dt> <dd><p><em>property type:</em> <a class="reference internal" href="../../core/properties.html#bokeh.core.properties.NumberSpec" title="bokeh.core.properties.NumberSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">NumberSpec</span></code></a></p> <p>The line width values for the Bezier curves.</p> </dd></dl> <dl class="attribute"> <dt id="bokeh.models.glyphs.Bezier.name"> <code class="descname">name</code><a class="headerlink" href="#bokeh.models.glyphs.Bezier.name" title="Permalink to this definition">¶</a></dt> <dd><p><em>property type:</em> <a class="reference internal" href="../../core/properties.html#bokeh.core.properties.String" title="bokeh.core.properties.String"><code class="xref py py-class docutils literal notranslate"><span class="pre">String</span></code></a></p> <p>An arbitrary, user-supplied name for this model.</p> <p>This name can be useful when querying the document to retrieve specific Bokeh models.</p> <div class="code python highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="n">plot</span><span class="o">.</span><span class="n">circle</span><span class="p">([</span><span class="mi">1</span><span class="p">,</span><span class="mi">2</span><span class="p">,</span><span class="mi">3</span><span class="p">],</span> <span class="p">[</span><span class="mi">4</span><span class="p">,</span><span class="mi">5</span><span class="p">,</span><span class="mi">6</span><span class="p">],</span> <span class="n">name</span><span class="o">=</span><span class="s2">&quot;temp&quot;</span><span class="p">)</span> <span class="gp">&gt;&gt;&gt; </span><span class="n">plot</span><span class="o">.</span><span class="n">select</span><span class="p">(</span><span class="n">name</span><span class="o">=</span><span class="s2">&quot;temp&quot;</span><span class="p">)</span> <span class="go">[GlyphRenderer(id=&#39;399d53f5-73e9-44d9-9527-544b761c7705&#39;, ...)]</span> </pre></div> </div> <div class="admonition note"> <p class="first admonition-title">Note</p> <p class="last">No uniqueness guarantees or other conditions are enforced on any names that are provided, nor is the name used directly by Bokeh for any reason.</p> </div> </dd></dl> <dl class="attribute"> <dt id="bokeh.models.glyphs.Bezier.subscribed_events"> <code class="descname">subscribed_events</code><a class="headerlink" href="#bokeh.models.glyphs.Bezier.subscribed_events" title="Permalink to this definition">¶</a></dt> <dd><p><em>property type:</em> <a class="reference internal" href="../../core/properties.html#bokeh.core.properties.List" title="bokeh.core.properties.List"><code class="xref py py-class docutils literal notranslate"><span class="pre">List</span></code></a> ( <a class="reference internal" href="../../core/properties.html#bokeh.core.properties.String" title="bokeh.core.properties.String"><code class="xref py py-class docutils literal notranslate"><span class="pre">String</span></code></a> )</p> <p>List of events that are subscribed to by Python callbacks. This is the set of events that will be communicated from BokehJS back to Python for this model.</p> </dd></dl> <dl class="attribute"> <dt id="bokeh.models.glyphs.Bezier.tags"> <code class="descname">tags</code><a class="headerlink" href="#bokeh.models.glyphs.Bezier.tags" title="Permalink to this definition">¶</a></dt> <dd><p><em>property type:</em> <a class="reference internal" href="../../core/properties.html#bokeh.core.properties.List" title="bokeh.core.properties.List"><code class="xref py py-class docutils literal notranslate"><span class="pre">List</span></code></a> ( <a class="reference internal" href="../../core/properties.html#bokeh.core.properties.Any" title="bokeh.core.properties.Any"><code class="xref py py-class docutils literal notranslate"><span class="pre">Any</span></code></a> )</p> <p>An optional list of arbitrary, user-supplied values to attach to this model.</p> <p>This data can be useful when querying the document to retrieve specific Bokeh models:</p> <div class="code python highlight-default notranslate"><div class="highlight"><pre><span></span><span class="gp">&gt;&gt;&gt; </span><span class="n">r</span> <span class="o">=</span> <span class="n">plot</span><span class="o">.</span><span class="n">circle</span><span class="p">([</span><span class="mi">1</span><span class="p">,</span><span class="mi">2</span><span class="p">,</span><span class="mi">3</span><span class="p">],</span> <span class="p">[</span><span class="mi">4</span><span class="p">,</span><span class="mi">5</span><span class="p">,</span><span class="mi">6</span><span class="p">])</span> <span class="gp">&gt;&gt;&gt; </span><span class="n">r</span><span class="o">.</span><span class="n">tags</span> <span class="o">=</span> <span class="p">[</span><span class="s2">&quot;foo&quot;</span><span class="p">,</span> <span class="mi">10</span><span class="p">]</span> <span class="gp">&gt;&gt;&gt; </span><span class="n">plot</span><span class="o">.</span><span class="n">select</span><span class="p">(</span><span class="n">tags</span><span class="o">=</span><span class="p">[</span><span class="s1">&#39;foo&#39;</span><span class="p">,</span> <span class="mi">10</span><span class="p">])</span> <span class="go">[GlyphRenderer(id=&#39;1de4c3df-a83d-480a-899b-fb263d3d5dd9&#39;, ...)]</span> </pre></div> </div> <p>Or simply a convenient way to attach any necessary metadata to a model that can be accessed by <code class="docutils literal notranslate"><span class="pre">CustomJS</span></code> callbacks, etc.</p> <div class="admonition note"> <p class="first admonition-title">Note</p> <p class="last">No uniqueness guarantees or other conditions are enforced on any tags that are provided, nor are the tags used directly by Bokeh for any reason.</p> </div> </dd></dl> <dl class="attribute"> <dt id="bokeh.models.glyphs.Bezier.x0"> <code class="descname">x0</code><a class="headerlink" href="#bokeh.models.glyphs.Bezier.x0" title="Permalink to this definition">¶</a></dt> <dd><p><em>property type:</em> <a class="reference internal" href="../../core/properties.html#bokeh.core.properties.NumberSpec" title="bokeh.core.properties.NumberSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">NumberSpec</span></code></a></p> <p>The x-coordinates of the starting points.</p> </dd></dl> <dl class="attribute"> <dt id="bokeh.models.glyphs.Bezier.x1"> <code class="descname">x1</code><a class="headerlink" href="#bokeh.models.glyphs.Bezier.x1" title="Permalink to this definition">¶</a></dt> <dd><p><em>property type:</em> <a class="reference internal" href="../../core/properties.html#bokeh.core.properties.NumberSpec" title="bokeh.core.properties.NumberSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">NumberSpec</span></code></a></p> <p>The x-coordinates of the ending points.</p> </dd></dl> <dl class="attribute"> <dt id="bokeh.models.glyphs.Bezier.y0"> <code class="descname">y0</code><a class="headerlink" href="#bokeh.models.glyphs.Bezier.y0" title="Permalink to this definition">¶</a></dt> <dd><p><em>property type:</em> <a class="reference internal" href="../../core/properties.html#bokeh.core.properties.NumberSpec" title="bokeh.core.properties.NumberSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">NumberSpec</span></code></a></p> <p>The y-coordinates of the starting points.</p> </dd></dl> <dl class="attribute"> <dt id="bokeh.models.glyphs.Bezier.y1"> <code class="descname">y1</code><a class="headerlink" href="#bokeh.models.glyphs.Bezier.y1" title="Permalink to this definition">¶</a></dt> <dd><p><em>property type:</em> <a class="reference internal" href="../../core/properties.html#bokeh.core.properties.NumberSpec" title="bokeh.core.properties.NumberSpec"><code class="xref py py-class docutils literal notranslate"><span class="pre">NumberSpec</span></code></a></p> <p>The y-coordinates of the ending points.</p> </dd></dl> <dl class="method"> <dt id="bokeh.models.glyphs.Bezier.apply_theme"> <code class="descname">apply_theme</code><span class="sig-paren">(</span><em>property_values</em><span class="sig-paren">)</span><a class="headerlink" href="#bokeh.models.glyphs.Bezier.apply_theme" title="Permalink to this definition">¶</a></dt> <dd><p>Apply a set of theme values which will be used rather than defaults, but will not override application-set values.</p> <p>The passed-in dictionary may be kept around as-is and shared with other instances to save memory (so neither the caller nor the <a class="reference internal" href="../../core/has_props.html#bokeh.core.has_props.HasProps" title="bokeh.core.has_props.HasProps"><code class="xref py py-class docutils literal notranslate"><span class="pre">HasProps</span></code></a> instance should modify it).</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>property_values</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.7)"><em>dict</em></a>) – theme values to use in place of defaults</td> </tr> <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">None</td> </tr> </tbody> </table> </dd></dl> <dl class="classmethod"> <dt id="bokeh.models.glyphs.Bezier.dataspecs"> <em class="property">classmethod </em><code class="descname">dataspecs</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#bokeh.models.glyphs.Bezier.dataspecs" title="Permalink to this definition">¶</a></dt> <dd><p>Collect the names of all <code class="docutils literal notranslate"><span class="pre">DataSpec</span></code> properties on this class.</p> <p>This method <em>always</em> traverses the class hierarchy and includes properties defined on any parent classes.</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">names of <code class="docutils literal notranslate"><span class="pre">DataSpec</span></code> properties</td> </tr> <tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#set" title="(in Python v3.7)">set</a>[<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.7)">str</a>]</td> </tr> </tbody> </table> </dd></dl> <dl class="classmethod"> <dt id="bokeh.models.glyphs.Bezier.dataspecs_with_props"> <em class="property">classmethod </em><code class="descname">dataspecs_with_props</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#bokeh.models.glyphs.Bezier.dataspecs_with_props" title="Permalink to this definition">¶</a></dt> <dd><p>Collect a dict mapping the names of all <code class="docutils literal notranslate"><span class="pre">DataSpec</span></code> properties on this class to the associated properties.</p> <p>This method <em>always</em> traverses the class hierarchy and includes properties defined on any parent classes.</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">mapping of names and <code class="docutils literal notranslate"><span class="pre">DataSpec</span></code> properties</td> </tr> <tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.7)">dict</a>[<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.7)">str</a>, <a class="reference internal" href="../../core/properties.html#bokeh.core.properties.DataSpec" title="bokeh.core.properties.DataSpec">DataSpec</a>]</td> </tr> </tbody> </table> </dd></dl> <dl class="method"> <dt id="bokeh.models.glyphs.Bezier.equals"> <code class="descname">equals</code><span class="sig-paren">(</span><em>other</em><span class="sig-paren">)</span><a class="headerlink" href="#bokeh.models.glyphs.Bezier.equals" title="Permalink to this definition">¶</a></dt> <dd><p>Structural equality of models.</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>other</strong> (<a class="reference internal" href="../../core/has_props.html#bokeh.core.has_props.HasProps" title="bokeh.core.has_props.HasProps"><em>HasProps</em></a>) – the other instance to compare to</td> </tr> <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">True, if properties are structurally equal, otherwise False</td> </tr> </tbody> </table> </dd></dl> <dl class="method"> <dt id="bokeh.models.glyphs.Bezier.js_on_change"> <code class="descname">js_on_change</code><span class="sig-paren">(</span><em>event</em>, <em>*callbacks</em><span class="sig-paren">)</span><a class="headerlink" href="#bokeh.models.glyphs.Bezier.js_on_change" title="Permalink to this definition">¶</a></dt> <dd><p>Attach a <code class="docutils literal notranslate"><span class="pre">CustomJS</span></code> callback to an arbitrary BokehJS model event.</p> <p>On the BokehJS side, change events for model properties have the form <code class="docutils literal notranslate"><span class="pre">&quot;change:property_name&quot;</span></code>. As a convenience, if the event name passed to this method is also the name of a property on the model, then it will be prefixed with <code class="docutils literal notranslate"><span class="pre">&quot;change:&quot;</span></code> automatically:</p> <div class="code python highlight-default notranslate"><div class="highlight"><pre><span></span><span class="c1"># these two are equivalent</span> <span class="n">source</span><span class="o">.</span><span class="n">js_on_change</span><span class="p">(</span><span class="s1">&#39;data&#39;</span><span class="p">,</span> <span class="n">callback</span><span class="p">)</span> <span class="n">source</span><span class="o">.</span><span class="n">js_on_change</span><span class="p">(</span><span class="s1">&#39;change:data&#39;</span><span class="p">,</span> <span class="n">callback</span><span class="p">)</span> </pre></div> </div> <p>However, there are other kinds of events that can be useful to respond to, in addition to property change events. For example to run a callback whenever data is streamed to a <code class="docutils literal notranslate"><span class="pre">ColumnDataSource</span></code>, use the <code class="docutils literal notranslate"><span class="pre">&quot;stream&quot;</span></code> event on the source:</p> <div class="code python highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">source</span><span class="o">.</span><span class="n">js_on_change</span><span class="p">(</span><span class="s1">&#39;streaming&#39;</span><span class="p">,</span> <span class="n">callback</span><span class="p">)</span> </pre></div> </div> </dd></dl> <dl class="method"> <dt id="bokeh.models.glyphs.Bezier.layout"> <code class="descname">layout</code><span class="sig-paren">(</span><em>side</em>, <em>plot</em><span class="sig-paren">)</span><a class="headerlink" href="#bokeh.models.glyphs.Bezier.layout" title="Permalink to this definition">¶</a></dt> <dd></dd></dl> <dl class="classmethod"> <dt id="bokeh.models.glyphs.Bezier.lookup"> <em class="property">classmethod </em><code class="descname">lookup</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#bokeh.models.glyphs.Bezier.lookup" title="Permalink to this definition">¶</a></dt> <dd><p>Find the <code class="docutils literal notranslate"><span class="pre">PropertyDescriptor</span></code> for a Bokeh property on a class, given the property name.</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>name</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.7)"><em>str</em></a>) – name of the property to search for</td> </tr> <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">descriptor for property named <code class="docutils literal notranslate"><span class="pre">name</span></code></td> </tr> <tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="../../core/property/descriptors.html#bokeh.core.property.descriptors.PropertyDescriptor" title="bokeh.core.property.descriptors.PropertyDescriptor">PropertyDescriptor</a></td> </tr> </tbody> </table> </dd></dl> <dl class="method"> <dt id="bokeh.models.glyphs.Bezier.on_change"> <code class="descname">on_change</code><span class="sig-paren">(</span><em>attr</em>, <em>*callbacks</em><span class="sig-paren">)</span><a class="headerlink" href="#bokeh.models.glyphs.Bezier.on_change" title="Permalink to this definition">¶</a></dt> <dd><p>Add a callback on this object to trigger when <code class="docutils literal notranslate"><span class="pre">attr</span></code> changes.</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> <li><strong>attr</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.7)"><em>str</em></a>) – an attribute name on this object</li> <li><strong>*callbacks</strong> (<em>callable</em>) – callback functions to register</li> </ul> </td> </tr> <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">None</p> </td> </tr> </tbody> </table> <p>Example:</p> <div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="n">widget</span><span class="o">.</span><span class="n">on_change</span><span class="p">(</span><span class="s1">&#39;value&#39;</span><span class="p">,</span> <span class="n">callback1</span><span class="p">,</span> <span class="n">callback2</span><span class="p">,</span> <span class="o">...</span><span class="p">,</span> <span class="n">callback_n</span><span class="p">)</span> </pre></div> </div> </dd></dl> <dl class="classmethod"> <dt id="bokeh.models.glyphs.Bezier.properties"> <em class="property">classmethod </em><code class="descname">properties</code><span class="sig-paren">(</span><em>with_bases=True</em><span class="sig-paren">)</span><a class="headerlink" href="#bokeh.models.glyphs.Bezier.properties" title="Permalink to this definition">¶</a></dt> <dd><p>Collect the names of properties on this class.</p> <p>This method <em>optionally</em> traverses the class hierarchy and includes properties defined on any parent classes.</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>with_bases</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.7)"><em>bool</em></a><em>, </em><em>optional</em>) – Whether to include properties defined on parent classes in the results. (default: True)</td> </tr> <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">property names</td> </tr> <tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#set" title="(in Python v3.7)">set</a>[<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.7)">str</a>]</td> </tr> </tbody> </table> </dd></dl> <dl class="classmethod"> <dt id="bokeh.models.glyphs.Bezier.properties_containers"> <em class="property">classmethod </em><code class="descname">properties_containers</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#bokeh.models.glyphs.Bezier.properties_containers" title="Permalink to this definition">¶</a></dt> <dd><p>Collect the names of all container properties on this class.</p> <p>This method <em>always</em> traverses the class hierarchy and includes properties defined on any parent classes.</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">names of container properties</td> </tr> <tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#set" title="(in Python v3.7)">set</a>[<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.7)">str</a>]</td> </tr> </tbody> </table> </dd></dl> <dl class="classmethod"> <dt id="bokeh.models.glyphs.Bezier.properties_with_refs"> <em class="property">classmethod </em><code class="descname">properties_with_refs</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#bokeh.models.glyphs.Bezier.properties_with_refs" title="Permalink to this definition">¶</a></dt> <dd><p>Collect the names of all properties on this class that also have references.</p> <p>This method <em>always</em> traverses the class hierarchy and includes properties defined on any parent classes.</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">names of properties that have references</td> </tr> <tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#set" title="(in Python v3.7)">set</a>[<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.7)">str</a>]</td> </tr> </tbody> </table> </dd></dl> <dl class="method"> <dt id="bokeh.models.glyphs.Bezier.properties_with_values"> <code class="descname">properties_with_values</code><span class="sig-paren">(</span><em>include_defaults=True</em><span class="sig-paren">)</span><a class="headerlink" href="#bokeh.models.glyphs.Bezier.properties_with_values" title="Permalink to this definition">¶</a></dt> <dd><p>Collect a dict mapping property names to their values.</p> <p>This method <em>always</em> traverses the class hierarchy and includes properties defined on any parent classes.</p> <p>Non-serializable properties are skipped and property values are in “serialized” format which may be slightly different from the values you would normally read from the properties; the intent of this method is to return the information needed to losslessly reconstitute the object instance.</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>include_defaults</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.7)"><em>bool</em></a><em>, </em><em>optional</em>) – Whether to include properties that haven’t been explicitly set since the object was created. (default: True)</td> </tr> <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">mapping from property names to their values</td> </tr> <tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.7)">dict</a></td> </tr> </tbody> </table> </dd></dl> <dl class="method"> <dt id="bokeh.models.glyphs.Bezier.query_properties_with_values"> <code class="descname">query_properties_with_values</code><span class="sig-paren">(</span><em>query</em>, <em>include_defaults=True</em><span class="sig-paren">)</span><a class="headerlink" href="#bokeh.models.glyphs.Bezier.query_properties_with_values" title="Permalink to this definition">¶</a></dt> <dd><p>Query the properties values of <a class="reference internal" href="../../core/has_props.html#bokeh.core.has_props.HasProps" title="bokeh.core.has_props.HasProps"><code class="xref py py-class docutils literal notranslate"><span class="pre">HasProps</span></code></a> instances with a predicate.</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> <li><strong>query</strong> (<em>callable</em>) – A callable that accepts property descriptors and returns True or False</li> <li><strong>include_defaults</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.7)"><em>bool</em></a><em>, </em><em>optional</em>) – Whether to include properties that have not been explicitly set by a user (default: True)</li> </ul> </td> </tr> <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first">mapping of property names and values for matching properties</p> </td> </tr> <tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.7)">dict</a></p> </td> </tr> </tbody> </table> </dd></dl> <dl class="method"> <dt id="bokeh.models.glyphs.Bezier.references"> <code class="descname">references</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#bokeh.models.glyphs.Bezier.references" title="Permalink to this definition">¶</a></dt> <dd><p>Returns all <code class="docutils literal notranslate"><span class="pre">Models</span></code> that this object has references to.</p> </dd></dl> <dl class="method"> <dt id="bokeh.models.glyphs.Bezier.remove_on_change"> <code class="descname">remove_on_change</code><span class="sig-paren">(</span><em>attr</em>, <em>*callbacks</em><span class="sig-paren">)</span><a class="headerlink" href="#bokeh.models.glyphs.Bezier.remove_on_change" title="Permalink to this definition">¶</a></dt> <dd><p>Remove a callback from this object</p> </dd></dl> <dl class="method"> <dt id="bokeh.models.glyphs.Bezier.select"> <code class="descname">select</code><span class="sig-paren">(</span><em>selector</em><span class="sig-paren">)</span><a class="headerlink" href="#bokeh.models.glyphs.Bezier.select" title="Permalink to this definition">¶</a></dt> <dd><p>Query this object and all of its references for objects that match the given selector.</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>selector</strong> (<em>JSON-like</em>) – </td> </tr> <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body">seq[Model]</td> </tr> </tbody> </table> </dd></dl> <dl class="method"> <dt id="bokeh.models.glyphs.Bezier.select_one"> <code class="descname">select_one</code><span class="sig-paren">(</span><em>selector</em><span class="sig-paren">)</span><a class="headerlink" href="#bokeh.models.glyphs.Bezier.select_one" title="Permalink to this definition">¶</a></dt> <dd><p>Query this object and all of its references for objects that match the given selector. Raises an error if more than one object is found. Returns single matching object, or None if nothing is found :param selector: :type selector: JSON-like</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">Model</td> </tr> </tbody> </table> </dd></dl> <dl class="method"> <dt id="bokeh.models.glyphs.Bezier.set_from_json"> <code class="descname">set_from_json</code><span class="sig-paren">(</span><em>name</em>, <em>json</em>, <em>models=None</em>, <em>setter=None</em><span class="sig-paren">)</span><a class="headerlink" href="#bokeh.models.glyphs.Bezier.set_from_json" title="Permalink to this definition">¶</a></dt> <dd><p>Set a property value on this object from JSON.</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> <li><strong>name</strong> – (str) : name of the attribute to set</li> <li><strong>json</strong> – (JSON-value) : value to set to the attribute to</li> <li><strong>models</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.7)"><em>dict</em></a><em> or </em><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.7)"><em>None</em></a><em>, </em><em>optional</em>) – <p>Mapping of model ids to models (default: None)</p> <p>This is needed in cases where the attributes to update also have values that have references.</p> </li> <li><strong>setter</strong> (<a class="reference internal" href="../../client/session.html#bokeh.client.session.ClientSession" title="bokeh.client.session.ClientSession"><em>ClientSession</em></a><em> or </em><a class="reference internal" href="../../server/session.html#bokeh.server.session.ServerSession" title="bokeh.server.session.ServerSession"><em>ServerSession</em></a><em> or </em><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.7)"><em>None</em></a><em>, </em><em>optional</em>) – <p>This is used to prevent “boomerang” updates to Bokeh apps.</p> <p>In the context of a Bokeh server application, incoming updates to properties will be annotated with the session that is doing the updating. This value is propagated through any subsequent change notifications that the update triggers. The session can compare the event setter to itself, and suppress any updates that originate from itself.</p> </li> </ul> </td> </tr> <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">None</p> </td> </tr> </tbody> </table> </dd></dl> <dl class="method"> <dt id="bokeh.models.glyphs.Bezier.set_select"> <code class="descname">set_select</code><span class="sig-paren">(</span><em>selector</em>, <em>updates</em><span class="sig-paren">)</span><a class="headerlink" href="#bokeh.models.glyphs.Bezier.set_select" title="Permalink to this definition">¶</a></dt> <dd><p>Update objects that match a given selector with the specified attribute/value updates.</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> <li><strong>selector</strong> (<em>JSON-like</em>) – </li> <li><strong>updates</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.7)"><em>dict</em></a>) – </li> </ul> </td> </tr> <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">None</p> </td> </tr> </tbody> </table> </dd></dl> <dl class="method"> <dt id="bokeh.models.glyphs.Bezier.themed_values"> <code class="descname">themed_values</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#bokeh.models.glyphs.Bezier.themed_values" title="Permalink to this definition">¶</a></dt> <dd><p>Get any theme-provided overrides.</p> <p>Results are returned as a dict from property name to value, or <code class="docutils literal notranslate"><span class="pre">None</span></code> if no theme overrides any values for this instance.</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">dict or None</td> </tr> </tbody> </table> </dd></dl> <dl class="method"> <dt id="bokeh.models.glyphs.Bezier.to_json"> <code class="descname">to_json</code><span class="sig-paren">(</span><em>include_defaults</em><span class="sig-paren">)</span><a class="headerlink" href="#bokeh.models.glyphs.Bezier.to_json" title="Permalink to this definition">¶</a></dt> <dd><p>Returns a dictionary of the attributes of this object, containing only “JSON types” (string, number, boolean, none, dict, list).</p> <p>References to other objects are serialized as “refs” (just the object ID and type info), so the deserializer will need to separately have the full attributes of those other objects.</p> <p>There’s no corresponding <code class="docutils literal notranslate"><span class="pre">from_json()</span></code> because to deserialize an object is normally done in the context of a Document (since the Document can resolve references).</p> <p>For most purposes it’s best to serialize and deserialize entire documents.</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>include_defaults</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.7)"><em>bool</em></a>) – whether to include attributes that haven’t been changed from the default</td> </tr> </tbody> </table> </dd></dl> <dl class="method"> <dt id="bokeh.models.glyphs.Bezier.to_json_string"> <code class="descname">to_json_string</code><span class="sig-paren">(</span><em>include_defaults</em><span class="sig-paren">)</span><a class="headerlink" href="#bokeh.models.glyphs.Bezier.to_json_string" title="Permalink to this definition">¶</a></dt> <dd><p>Returns a JSON string encoding the attributes of this object.</p> <p>References to other objects are serialized as references (just the object ID and type info), so the deserializer will need to separately have the full attributes of those other objects.</p> <p>There’s no corresponding <code class="docutils literal notranslate"><span class="pre">from_json_string()</span></code> because to deserialize an object is normally done in the context of a Document (since the Document can resolve references).</p> <p>For most purposes it’s best to serialize and deserialize entire documents.</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>include_defaults</strong> (<a class="reference external" href="https://docs.python.org/3/library/functions.html#bool" title="(in Python v3.7)"><em>bool</em></a>) – whether to include attributes that haven’t been changed from the default</td> </tr> </tbody> </table> </dd></dl> <dl class="method"> <dt id="bokeh.models.glyphs.Bezier.trigger"> <code class="descname">trigger</code><span class="sig-paren">(</span><em>attr</em>, <em>old</em>, <em>new</em>, <em>hint=None</em>, <em>setter=None</em><span class="sig-paren">)</span><a class="headerlink" href="#bokeh.models.glyphs.Bezier.trigger" title="Permalink to this definition">¶</a></dt> <dd></dd></dl> <dl class="method"> <dt id="bokeh.models.glyphs.Bezier.unapply_theme"> <code class="descname">unapply_theme</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#bokeh.models.glyphs.Bezier.unapply_theme" title="Permalink to this definition">¶</a></dt> <dd><p>Remove any themed values and restore defaults.</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">None</td> </tr> </tbody> </table> </dd></dl> <dl class="method"> <dt id="bokeh.models.glyphs.Bezier.update"> <code class="descname">update</code><span class="sig-paren">(</span><em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#bokeh.models.glyphs.Bezier.update" title="Permalink to this definition">¶</a></dt> <dd><p>Updates the object’s properties from the given keyword arguments.</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">None</td> </tr> </tbody> </table> <p class="rubric">Examples</p> <p>The following are equivalent:</p> <div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="kn">from</span> <span class="nn">bokeh.models</span> <span class="kn">import</span> <span class="n">Range1d</span> <span class="n">r</span> <span class="o">=</span> <span class="n">Range1d</span> <span class="c1"># set properties individually:</span> <span class="n">r</span><span class="o">.</span><span class="n">start</span> <span class="o">=</span> <span class="mi">10</span> <span class="n">r</span><span class="o">.</span><span class="n">end</span> <span class="o">=</span> <span class="mi">20</span> <span class="c1"># update properties together:</span> <span class="n">r</span><span class="o">.</span><span class="n">update</span><span class="p">(</span><span class="n">start</span><span class="o">=</span><span class="mi">10</span><span class="p">,</span> <span class="n">end</span><span class="o">=</span><span class="mi">20</span><span class="p">)</span> </pre></div> </div> </dd></dl> <dl class="method"> <dt id="bokeh.models.glyphs.Bezier.update_from_json"> <code class="descname">update_from_json</code><span class="sig-paren">(</span><em>json_attributes</em>, <em>models=None</em>, <em>setter=None</em><span class="sig-paren">)</span><a class="headerlink" href="#bokeh.models.glyphs.Bezier.update_from_json" title="Permalink to this definition">¶</a></dt> <dd><p>Updates the object’s properties from a JSON attributes dictionary.</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple"> <li><strong>json_attributes</strong> – (JSON-dict) : attributes and values to update</li> <li><strong>models</strong> (<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#dict" title="(in Python v3.7)"><em>dict</em></a><em> or </em><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.7)"><em>None</em></a><em>, </em><em>optional</em>) – <p>Mapping of model ids to models (default: None)</p> <p>This is needed in cases where the attributes to update also have values that have references.</p> </li> <li><strong>setter</strong> (<a class="reference internal" href="../../client/session.html#bokeh.client.session.ClientSession" title="bokeh.client.session.ClientSession"><em>ClientSession</em></a><em> or </em><a class="reference internal" href="../../server/session.html#bokeh.server.session.ServerSession" title="bokeh.server.session.ServerSession"><em>ServerSession</em></a><em> or </em><a class="reference external" href="https://docs.python.org/3/library/constants.html#None" title="(in Python v3.7)"><em>None</em></a><em>, </em><em>optional</em>) – <p>This is used to prevent “boomerang” updates to Bokeh apps.</p> <p>In the context of a Bokeh server application, incoming updates to properties will be annotated with the session that is doing the updating. This value is propagated through any subsequent change notifications that the update triggers. The session can compare the event setter to itself, and suppress any updates that originate from itself.</p> </li> </ul> </td> </tr> <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last">None</p> </td> </tr> </tbody> </table> </dd></dl> <dl class="attribute"> <dt id="bokeh.models.glyphs.Bezier.document"> <code class="descname">document</code><a class="headerlink" href="#bokeh.models.glyphs.Bezier.document" title="Permalink to this definition">¶</a></dt> <dd><p>The <code class="xref py py-class docutils literal notranslate"><span class="pre">Document</span></code> this model is attached to (can be <code class="docutils literal notranslate"><span class="pre">None</span></code>)</p> </dd></dl> <dl class="attribute"> <dt id="bokeh.models.glyphs.Bezier.ref"> <code class="descname">ref</code><a class="headerlink" href="#bokeh.models.glyphs.Bezier.ref" title="Permalink to this definition">¶</a></dt> <dd><p>A Bokeh protocol “reference” to this model, i.e. a dict of the form:</p> <div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="p">{</span> <span class="s1">&#39;type&#39;</span> <span class="p">:</span> <span class="o">&lt;&lt;</span> <span class="n">view</span> <span class="n">model</span> <span class="n">name</span> <span class="o">&gt;&gt;</span> <span class="s1">&#39;id&#39;</span> <span class="p">:</span> <span class="o">&lt;&lt;</span> <span class="n">unique</span> <span class="n">model</span> <span class="nb">id</span> <span class="o">&gt;&gt;</span> <span class="p">}</span> </pre></div> </div> <p>Additionally there may be a <cite>subtype</cite> field if this model is a subtype.</p> </dd></dl> </dd></dl> </div> </div> </div> <!-- END MAIN BODY OF DOCS ––––––––––––– --> <footer class="footer"> <div class="footer-links"> <ul> <li><span class="footer-title">About Us</span></li> <li><a href="../../../vision.html">Vision and Work</a></li> <li><a href="../../../team.html">Team</a></li> <li><a href="../../../citation.html">Citation</a></li> <li><a href="../../../contact.html">Contact</a></li> </ul> <ul> <li><span class="footer-title">Join Us</span></li> <li><a href="../../../contribute.html">Contribute</a></li> <li><a href="//groups.google.com/a/anaconda.com/forum/#!forum/bokeh">Mailing list</a></li> <li><a href="//github.com/bokeh/bokeh">Github</a></li> <li><a href="//twitter.com/BokehPlots">Twitter</a></li> </ul> <ul class="copyright"> <li>© Copyright 2015-2018, Anaconda and Bokeh Contributors.</li> </ul> </div> </footer> <!-- Google Analytics --> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-27761864-7', 'auto'); ga('user.set', 'anonymizeIp', true); ga('send', 'pageview'); </script> <!-- End Document –––––––––––––––––––––––––––––––––––––––––––––––––– --> </body> </html>
high
0.687271
8
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ .cke_dialog{visibility:visible}.cke_dialog_body{z-index:1;background:#eaeaea;border:1px solid #b2b2b2;border-bottom-color:#999;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-moz-box-shadow:0 0 3px rgba(0,0,0,.15);-webkit-box-shadow:0 0 3px rgba(0,0,0,.15);box-shadow:0 0 3px rgba(0,0,0,.15)}.cke_dialog strong{font-weight:bold}.cke_dialog_title{font-weight:bold;font-size:13px;cursor:move;position:relative;color:#474747;text-shadow:0 1px 0 rgba(255,255,255,.75);border-bottom:1px solid #999;padding:6px 10px;-moz-border-radius:2px 2px 0 0;-webkit-border-radius:2px 2px 0 0;border-radius:2px 2px 0 0;-moz-box-shadow:0 1px 0 #fff inset;-webkit-box-shadow:0 1px 0 #fff inset;box-shadow:0 1px 0 #fff inset;background:#cfd1cf;background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#cfd1cf));background-image:-moz-linear-gradient(top,#f5f5f5,#cfd1cf);background-image:-webkit-linear-gradient(top,#f5f5f5,#cfd1cf);background-image:-o-linear-gradient(top,#f5f5f5,#cfd1cf);background-image:-ms-linear-gradient(top,#f5f5f5,#cfd1cf);background-image:linear-gradient(top,#f5f5f5,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f5f5f5',endColorstr='#cfd1cf')}.cke_dialog_contents{background-color:#fff;overflow:auto;padding:15px 10px 5px 10px;margin-top:30px;border-top:1px solid #bfbfbf;-moz-border-radius:0 0 3px 3px;-webkit-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px}.cke_dialog_contents_body{overflow:auto;padding:17px 10px 5px 10px;margin-top:22px}.cke_dialog_footer{text-align:right;position:relative;border:0;outline:1px solid #bfbfbf;-moz-box-shadow:0 1px 0 #fff inset;-webkit-box-shadow:0 1px 0 #fff inset;box-shadow:0 1px 0 #fff inset;-moz-border-radius:0 0 2px 2px;-webkit-border-radius:0 0 2px 2px;border-radius:0 0 2px 2px;background:#cfd1cf;background-image:-webkit-gradient(linear,left top,left bottom,from(#ebebeb),to(#cfd1cf));background-image:-moz-linear-gradient(top,#ebebeb,#cfd1cf);background-image:-webkit-linear-gradient(top,#ebebeb,#cfd1cf);background-image:-o-linear-gradient(top,#ebebeb,#cfd1cf);background-image:-ms-linear-gradient(top,#ebebeb,#cfd1cf);background-image:linear-gradient(top,#ebebeb,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ebebeb',endColorstr='#cfd1cf')}.cke_rtl .cke_dialog_footer{text-align:left}.cke_hc .cke_dialog_footer{outline:0;border-top:1px solid #fff}.cke_dialog .cke_resizer{margin-top:22px}.cke_dialog .cke_resizer_rtl{margin-left:5px}.cke_dialog .cke_resizer_ltr{margin-right:5px}.cke_dialog_tabs{height:24px;display:inline-block;margin:5px 0 0;position:absolute;z-index:2;left:10px}.cke_rtl .cke_dialog_tabs{right:10px}a.cke_dialog_tab{height:16px;padding:4px 8px;margin-right:3px;display:inline-block;cursor:pointer;line-height:16px;outline:0;color:#595959;border:1px solid #bfbfbf;-moz-border-radius:3px 3px 0 0;-webkit-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;background:#d4d4d4;background-image:-webkit-gradient(linear,left top,left bottom,from(#fafafa),to(#ededed));background-image:-moz-linear-gradient(top,#fafafa,#ededed);background-image:-webkit-linear-gradient(top,#fafafa,#ededed);background-image:-o-linear-gradient(top,#fafafa,#ededed);background-image:-ms-linear-gradient(top,#fafafa,#ededed);background-image:linear-gradient(top,#fafafa,#ededed);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#fafafa',endColorstr='#ededed')}.cke_rtl a.cke_dialog_tab{margin-right:0;margin-left:3px}a.cke_dialog_tab:hover{background:#ebebeb;background:-moz-linear-gradient(top,#ebebeb 0,#dfdfdf 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#ebebeb),color-stop(100%,#dfdfdf));background:-webkit-linear-gradient(top,#ebebeb 0,#dfdfdf 100%);background:-o-linear-gradient(top,#ebebeb 0,#dfdfdf 100%);background:-ms-linear-gradient(top,#ebebeb 0,#dfdfdf 100%);background:linear-gradient(to bottom,#ebebeb 0,#dfdfdf 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ebebeb',endColorstr='#dfdfdf',GradientType=0)}a.cke_dialog_tab_selected{background:#fff;color:#383838;border-bottom-color:#fff;cursor:default;filter:none}a.cke_dialog_tab_selected:hover{background:#ededed;background:-moz-linear-gradient(top,#ededed 0,#fff 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#ededed),color-stop(100%,#fff));background:-webkit-linear-gradient(top,#ededed 0,#fff 100%);background:-o-linear-gradient(top,#ededed 0,#fff 100%);background:-ms-linear-gradient(top,#ededed 0,#fff 100%);background:linear-gradient(to bottom,#ededed 0,#fff 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed',endColorstr='#ffffff',GradientType=0)}.cke_hc a.cke_dialog_tab:hover,.cke_hc a.cke_dialog_tab_selected{border:3px solid;padding:2px 6px}a.cke_dialog_tab_disabled{color:#bababa;cursor:default}.cke_single_page .cke_dialog_tabs{display:none}.cke_single_page .cke_dialog_contents{padding-top:5px;margin-top:0;border-top:0}.cke_dialog_close_button{background-image:url(images/close.png);background-repeat:no-repeat;background-position:0 0;position:absolute;cursor:pointer;text-align:center;height:20px;width:20px;top:5px;z-index:5}.cke_hidpi .cke_dialog_close_button{background-image:url(images/hidpi/close.png);background-size:16px}.cke_dialog_close_button span{display:none}.cke_hc .cke_dialog_close_button span{display:inline;cursor:pointer;font-weight:bold;position:relative;top:3px}.cke_ltr .cke_dialog_close_button{right:5px}.cke_rtl .cke_dialog_close_button{left:6px}.cke_dialog_close_button{top:4px}div.cke_disabled .cke_dialog_ui_labeled_content div *{background-color:#ddd;cursor:default}.cke_dialog_ui_vbox table,.cke_dialog_ui_hbox table{margin:auto}.cke_dialog_ui_vbox_child{padding:5px 0}.cke_dialog_ui_hbox{width:100%}.cke_dialog_ui_hbox_first,.cke_dialog_ui_hbox_child,.cke_dialog_ui_hbox_last{vertical-align:top}.cke_ltr .cke_dialog_ui_hbox_first,.cke_ltr .cke_dialog_ui_hbox_child{padding-right:10px}.cke_rtl .cke_dialog_ui_hbox_first,.cke_rtl .cke_dialog_ui_hbox_child{padding-left:10px}.cke_ltr .cke_dialog_footer_buttons .cke_dialog_ui_hbox_first,.cke_ltr .cke_dialog_footer_buttons .cke_dialog_ui_hbox_child{padding-right:5px}.cke_rtl .cke_dialog_footer_buttons .cke_dialog_ui_hbox_first,.cke_rtl .cke_dialog_footer_buttons .cke_dialog_ui_hbox_child{padding-left:5px;padding-right:0}.cke_hc div.cke_dialog_ui_input_text,.cke_hc div.cke_dialog_ui_input_password,.cke_hc div.cke_dialog_ui_input_textarea,.cke_hc div.cke_dialog_ui_input_select,.cke_hc div.cke_dialog_ui_input_file{border:1px solid}textarea.cke_dialog_ui_input_textarea{overflow:auto;resize:none}input.cke_dialog_ui_input_text,input.cke_dialog_ui_input_password,textarea.cke_dialog_ui_input_textarea{background-color:#fff;border:1px solid #c9cccf;border-top-color:#aeb3b9;padding:4px 6px;outline:0;width:100%;*width:95%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-moz-box-shadow:0 1px 2px rgba(0,0,0,.15) inset;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.15) inset;box-shadow:0 1px 2px rgba(0,0,0,.15) inset}input.cke_dialog_ui_input_text:hover,input.cke_dialog_ui_input_password:hover,textarea.cke_dialog_ui_input_textarea:hover{border:1px solid #aeb3b9;border-top-color:#a0a6ad}input.cke_dialog_ui_input_text:focus,input.cke_dialog_ui_input_password:focus,textarea.cke_dialog_ui_input_textarea:focus,select.cke_dialog_ui_input_select:focus{outline:0;border:1px solid #139ff7;border-top-color:#1392e9}a.cke_dialog_ui_button{display:inline-block;*display:inline;*zoom:1;padding:3px 0;margin:0;text-align:center;color:#333;vertical-align:middle;cursor:pointer;border:1px solid #b6b6b6;border-bottom-color:#999;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-moz-box-shadow:0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;-webkit-box-shadow:0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;box-shadow:0 1px 0 rgba(255,255,255,.5),0 0 2px rgba(255,255,255,.15) inset,0 1px 0 rgba(255,255,255,.15) inset;background:#e4e4e4;background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#e4e4e4));background-image:-moz-linear-gradient(top,#fff,#e4e4e4);background-image:-webkit-linear-gradient(top,#fff,#e4e4e4);background-image:-o-linear-gradient(top,#fff,#e4e4e4);background-image:-ms-linear-gradient(top,#fff,#e4e4e4);background-image:linear-gradient(top,#fff,#e4e4e4);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#ffffff',endColorstr='#e4e4e4')}span.cke_dialog_ui_button{padding:0 12px}a.cke_dialog_ui_button:hover{border-color:#9e9e9e;background:#ccc;background-image:-webkit-gradient(linear,left top,left bottom,from(#f2f2f2),to(#ccc));background-image:-moz-linear-gradient(top,#f2f2f2,#ccc);background-image:-webkit-linear-gradient(top,#f2f2f2,#ccc);background-image:-o-linear-gradient(top,#f2f2f2,#ccc);background-image:-ms-linear-gradient(top,#f2f2f2,#ccc);background-image:linear-gradient(top,#f2f2f2,#ccc);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f2f2f2',endColorstr='#cccccc')}a.cke_dialog_ui_button:focus,a.cke_dialog_ui_button:active{border-color:#969696;outline:0;-moz-box-shadow:0 0 6px rgba(0,0,0,.4) inset;-webkit-box-shadow:0 0 6px rgba(0,0,0,.4) inset;box-shadow:0 0 6px rgba(0,0,0,.4) inset}.cke_hc a.cke_dialog_ui_button:hover,.cke_hc a.cke_dialog_ui_button:focus,.cke_hc a.cke_dialog_ui_button:active{border:3px solid;padding-top:1px;padding-bottom:1px}.cke_hc a.cke_dialog_ui_button:hover span,.cke_hc a.cke_dialog_ui_button:focus span,.cke_hc a.cke_dialog_ui_button:active span{padding-left:10px;padding-right:10px}.cke_dialog_footer_buttons a.cke_dialog_ui_button span{color:inherit;font-size:12px;font-weight:bold;line-height:20px}a.cke_dialog_ui_button_ok{color:#fff;text-shadow:0 -1px 0 #55830c;border-color:#62a60a #62a60a #4d9200;background:#69b10b;background-image:-webkit-gradient(linear,0 0,0 100%,from(#9ad717),to(#69b10b));background-image:-webkit-linear-gradient(top,#9ad717,#69b10b);background-image:-o-linear-gradient(top,#9ad717,#69b10b);background-image:linear-gradient(to bottom,#9ad717,#69b10b);background-image:-moz-linear-gradient(top,#9ad717,#69b10b);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#9ad717',endColorstr='#69b10b')}a.cke_dialog_ui_button_ok:hover{border-color:#5b9909 #5b9909 #478500;background:#88be14;background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#88be14),color-stop(100%,#5d9c0a));background:-webkit-linear-gradient(top,#88be14 0,#5d9c0a 100%);background:-o-linear-gradient(top,#88be14 0,#5d9c0a 100%);background:linear-gradient(to bottom,#88be14 0,#5d9c0a 100%);background:-moz-linear-gradient(top,#88be14 0,#5d9c0a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#88be14',endColorstr='#5d9c0a',GradientType=0)}a.cke_dialog_ui_button span{text-shadow:0 1px 0 #fff}a.cke_dialog_ui_button_ok span{text-shadow:0 -1px 0 #55830c}span.cke_dialog_ui_button{cursor:pointer}a.cke_dialog_ui_button_ok:focus,a.cke_dialog_ui_button_ok:active,a.cke_dialog_ui_button_cancel:focus,a.cke_dialog_ui_button_cancel:active{border-width:2px;padding:2px 0}a.cke_dialog_ui_button_ok:focus,a.cke_dialog_ui_button_ok:active{border-color:#568c0a}a.cke_dialog_ui_button_ok:focus span,a.cke_dialog_ui_button_ok:active span,a.cke_dialog_ui_button_cancel:focus span,a.cke_dialog_ui_button_cancel:active span{padding:0 11px}.cke_dialog_footer_buttons{display:inline-table;margin:5px;width:auto;position:relative;vertical-align:middle}div.cke_dialog_ui_input_select{display:table}select.cke_dialog_ui_input_select{height:24px;line-height:24px;background-color:#fff;border:1px solid #c9cccf;border-top-color:#aeb3b9;padding:2px 6px;outline:0;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-moz-box-shadow:0 1px 2px rgba(0,0,0,.15) inset;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.15) inset;box-shadow:0 1px 2px rgba(0,0,0,.15) inset}.cke_dialog_ui_input_file{width:100%;height:25px}.cke_hc .cke_dialog_ui_labeled_content input:focus,.cke_hc .cke_dialog_ui_labeled_content select:focus,.cke_hc .cke_dialog_ui_labeled_content textarea:focus{outline:1px dotted}.cke_dialog .cke_dark_background{background-color:#dedede}.cke_dialog .cke_light_background{background-color:#ebebeb}.cke_dialog .cke_centered{text-align:center}.cke_dialog a.cke_btn_reset{float:right;background:url(images/refresh.png) top left no-repeat;width:16px;height:16px;border:1px none;font-size:1px}.cke_hidpi .cke_dialog a.cke_btn_reset{background-size:16px;background-image:url(images/hidpi/refresh.png)}.cke_rtl .cke_dialog a.cke_btn_reset{float:left}.cke_dialog a.cke_btn_locked,.cke_dialog a.cke_btn_unlocked{float:left;width:16px;height:16px;background-repeat:no-repeat;border:none 1px;font-size:1px}.cke_dialog a.cke_btn_locked .cke_icon{display:none}.cke_rtl .cke_dialog a.cke_btn_locked,.cke_rtl .cke_dialog a.cke_btn_unlocked{float:right}.cke_dialog a.cke_btn_locked{background-image:url(images/lock.png)}.cke_dialog a.cke_btn_unlocked{background-image:url(images/lock-open.png)}.cke_hidpi .cke_dialog a.cke_btn_unlocked,.cke_hidpi .cke_dialog a.cke_btn_locked{background-size:16px}.cke_hidpi .cke_dialog a.cke_btn_locked{background-image:url(images/hidpi/lock.png)}.cke_hidpi .cke_dialog a.cke_btn_unlocked{background-image:url(images/hidpi/lock-open.png)}.cke_dialog .cke_btn_over{border:outset 1px;cursor:pointer}.cke_dialog .ImagePreviewBox{border:2px ridge black;overflow:scroll;height:200px;width:300px;padding:2px;background-color:white}.cke_dialog .ImagePreviewBox table td{white-space:normal}.cke_dialog .ImagePreviewLoader{position:absolute;white-space:normal;overflow:hidden;height:160px;width:230px;margin:2px;padding:2px;opacity:.9;filter:alpha(opacity = 90);background-color:#e4e4e4}.cke_dialog .FlashPreviewBox{white-space:normal;border:2px ridge black;overflow:auto;height:160px;width:390px;padding:2px;background-color:white}.cke_dialog .cke_pastetext{width:346px;height:170px}.cke_dialog .cke_pastetext textarea{width:340px;height:170px;resize:none}.cke_dialog iframe.cke_pasteframe{width:346px;height:130px;background-color:white;border:1px solid #aeb3b9;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.cke_dialog .cke_hand{cursor:pointer}.cke_disabled{color:#a0a0a0}.cke_dialog_body .cke_label{display:none}.cke_dialog_body label{display:inline;margin-bottom:auto;cursor:default}.cke_dialog_body label.cke_required{font-weight:bold}a.cke_smile{overflow:hidden;display:block;text-align:center;padding:.3em 0}a.cke_smile img{vertical-align:middle}a.cke_specialchar{cursor:inherit;display:block;height:1.25em;padding:.2em .3em;text-align:center}a.cke_smile,a.cke_specialchar{border:1px solid transparent}a.cke_smile:hover,a.cke_smile:focus,a.cke_smile:active,a.cke_specialchar:hover,a.cke_specialchar:focus,a.cke_specialchar:active{background:#fff;outline:0}a.cke_smile:hover,a.cke_specialchar:hover{border-color:#888}a.cke_smile:focus,a.cke_smile:active,a.cke_specialchar:focus,a.cke_specialchar:active{border-color:#139ff7}.cke_dialog_contents a.colorChooser{display:block;margin-top:6px;margin-left:10px;width:80px}.cke_rtl .cke_dialog_contents a.colorChooser{margin-right:10px}.cke_dialog_ui_checkbox_input:focus,.cke_dialog_ui_radio_input:focus,.cke_btn_over{outline:1px dotted #696969}.cke_iframe_shim{display:block;position:absolute;top:0;left:0;z-index:-1;filter:alpha(opacity = 0);width:100%;height:100%}.cke_rtl input.cke_dialog_ui_input_text,.cke_rtl input.cke_dialog_ui_input_password{padding-right:2px}.cke_rtl div.cke_dialog_ui_input_text,.cke_rtl div.cke_dialog_ui_input_password{padding-left:2px}.cke_rtl div.cke_dialog_ui_input_text{padding-right:1px}.cke_rtl .cke_dialog_ui_vbox_child,.cke_rtl .cke_dialog_ui_hbox_child,.cke_rtl .cke_dialog_ui_hbox_first,.cke_rtl .cke_dialog_ui_hbox_last{padding-right:2px!important}.cke_hc .cke_dialog_title,.cke_hc .cke_dialog_footer,.cke_hc a.cke_dialog_tab,.cke_hc a.cke_dialog_ui_button,.cke_hc a.cke_dialog_ui_button:hover,.cke_hc a.cke_dialog_ui_button_ok,.cke_hc a.cke_dialog_ui_button_ok:hover{filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.cke_hc div.cke_dialog_ui_input_text,.cke_hc div.cke_dialog_ui_input_password,.cke_hc div.cke_dialog_ui_input_textarea,.cke_hc div.cke_dialog_ui_input_select,.cke_hc div.cke_dialog_ui_input_file{border:0}.cke_dialog_title{zoom:1}.cke_dialog_footer{border-top:1px solid #bfbfbf}.cke_dialog_footer_buttons{position:static}.cke_dialog_footer_buttons a.cke_dialog_ui_button{vertical-align:top}.cke_dialog .cke_resizer_ltr{padding-left:4px}.cke_dialog .cke_resizer_rtl{padding-right:4px}.cke_dialog_ui_input_text,.cke_dialog_ui_input_password,.cke_dialog_ui_input_textarea,.cke_dialog_ui_input_select{padding:0!important}.cke_dialog_ui_checkbox_input,.cke_dialog_ui_ratio_input,.cke_btn_reset,.cke_btn_locked,.cke_btn_unlocked{border:1px solid transparent!important}
high
0.502405
9
\documentclass[12pt]{article} \usepackage{xcolor} \usepackage{ctex} \usepackage[paperwidth=185mm,paperheight=260mm,text={148mm,220mm},left=21mm,right=21mm,top=25.5mm]{geometry} \newcommand{\Done}{{\color{magenta}(已完成)}} \begin{document} \begin{center} {\huge{\textbf{2018年人生目标和规划}}} \end{center} \par 半年时间转眼都过去了,想想自己这半年也没啥真正的收获。% 人也胖了,胖的都已经成为旁边的妹子和别人谈论的话资了,想想确实要减肥了。% 过去的这半年,总想学点什么,但是却又什么都没学到,剩下的这半年确实要规划下目标了。% \section{科研方面} \begin{itemize} \item{完成第二篇小paper的发表,为自己毕业做好准备。\Done}% \item{努力下,看是否能在粒子ratio问题上发个小文章。}% \item{看看最近自己领域的热点,尝试切入到该方向。} \item{出国,总听别人说外面的世界很精彩,希望自己也能去看看。\Done}% \end{itemize} \section{计算机视觉和图形学方面} \begin{itemize} \item{看完《计算机视觉:算法与应用》、《图像处理、分析与机器视觉》这两本理论书籍。} \item{学习使用OpenCV库,并看完《learning OpenCV》这本书。} \item{开始在arXiv和专业的计算机期刊上看别人发表的paper,看下别人在做什么,% 并尝试完成自己所看书中的算法和别人文章中的算法。} \end{itemize} \section{程序方面} \begin{itemize} \item{掌握Qt的C++编程方式,完成一个小项目,项目定为HLMind思维导图工具。} \item{看完和掌握《数据结构、算法与应用:C$++$语言描述》这本书,尝试看完《算法导论》这本书的一半章节。} \item{有空勤翻翻《深入理解计算机系统》和《代码大全》这两本书。} \end{itemize} \section{生活方面} \begin{itemize} \item{减肥,减肥,减肥,重要的事情说三遍。45天之内减肥到140斤。} \item{和女朋友去一个陌生的城市一起去旅游一次。} \item{每周三次瑜伽锻炼,多参加球类运动。} \item{省钱,还房贷。} \end{itemize} \end{document} %%% Local Variables: %%% mode: latex %%% TeX-master: t %%% End:
low
0.695602
10
# clear the console clear # create project library and make sure it is empty alib work adel -all # compile project's source file (alongside the UVM library) alog $UVMCOMP -msg 0 -dbg -f flist.enc.rvra transcript file m_expect2.log # run simulation asim +access +rw $UVMSIM +UVM_VERBOSITY=UVM_FULL wave -rec sim:/* run -all; quit
low
0.729572
11
data { int<lower=1> N; vector[N] length; vector[N] age; int<lower=1> N_pred; vector<lower=0>[N_pred] age_pred; } parameters { real<lower=0> k; real<lower=0> linf; real<lower=0> sigma; real t0; } model { k ~ normal(0, 2); linf ~ normal(0, 200); sigma ~ student_t(3, 0, 2); t0 ~ normal(0, 20); length ~ lognormal(log(linf * (1 - exp(-k * (age - t0)))), sigma); } generated quantities { vector[N_pred] length_pred; vector[N] posterior_predictions; for (i in 1:N_pred) { length_pred[i] = linf * (1 - exp(-k * (age_pred[i] - t0))); } for (i in 1:N) { posterior_predictions[i] = lognormal_rng(log(linf * (1 - exp(-k * (age[i] - t0)))), sigma); } }
high
0.54323
12
/* * Copyright 2021 HM Revenue & Customs * */ package generators import org.scalacheck.Arbitrary.arbitrary import org.scalacheck.{Arbitrary, Gen} import pages._ import pages.sections.businessOnOwnAccount._ import pages.sections.control.{ChooseWhereWorkPage, HowWorkIsDonePage, MoveWorkerPage, ScheduleOfWorkingHoursPage} import pages.sections.exit.OfficeHolderPage import pages.sections.financialRisk._ import pages.sections.partParcel.{BenefitsPage, IdentifyToStakeholdersPage, LineManagerDutiesPage} import pages.sections.personalService._ import pages.sections.setup.{ContractStartedPage, WhatDoYouWantToFindOutPage} import play.api.libs.json.JsValue import uk.gov.hmrc.http.cache.client.CacheMap trait CacheMapGenerator { self: Generators => val generators: Seq[Gen[(Page, JsValue)]] = arbitrary[(SimilarWorkOtherClientsPage.type, JsValue)] :: arbitrary[(OwnershipRightsPage.type, JsValue)] :: arbitrary[(WorkerKnownPage.type, JsValue)] :: arbitrary[(RightsOfWorkPage.type, JsValue)] :: arbitrary[(ExtendContractPage.type, JsValue)] :: arbitrary[(MajorityOfWorkingTimePage.type, JsValue)] :: arbitrary[(FollowOnContractPage.type, JsValue)] :: arbitrary[(PreviousContractPage.type, JsValue)] :: arbitrary[(PermissionToWorkWithOthersPage.type, JsValue)] :: arbitrary[(MultipleContractsPage.type, JsValue)] :: arbitrary[(FirstContractPage.type, JsValue)] :: arbitrary[(TransferOfRightsPage.type, JsValue)] :: arbitrary[(EquipmentExpensesPage.type, JsValue)] :: arbitrary[(OtherExpensesPage.type, JsValue)] :: arbitrary[(VehiclePage.type, JsValue)] :: arbitrary[(MaterialsPage.type, JsValue)] :: arbitrary[(CustomisePDFPage.type, JsValue)] :: arbitrary[(DidPaySubstitutePage.type, JsValue)] :: arbitrary[(RejectSubstitutePage.type, JsValue)] :: arbitrary[(WouldWorkerPaySubstitutePage.type, JsValue)] :: arbitrary[(NeededToPayHelperPage.type, JsValue)] :: arbitrary[(MoveWorkerPage.type, JsValue)] :: arbitrary[(HowWorkIsDonePage.type, JsValue)] :: arbitrary[(ScheduleOfWorkingHoursPage.type, JsValue)] :: arbitrary[(ChooseWhereWorkPage.type, JsValue)] :: arbitrary[(HowWorkerIsPaidPage.type, JsValue)] :: arbitrary[(PutRightAtOwnCostPage.type, JsValue)] :: arbitrary[(BenefitsPage.type, JsValue)] :: arbitrary[(LineManagerDutiesPage.type, JsValue)] :: arbitrary[(IdentifyToStakeholdersPage.type, JsValue)] :: arbitrary[(ArrangedSubstitutePage.type, JsValue)] :: arbitrary[(OfficeHolderPage.type, JsValue)] :: arbitrary[(ContractStartedPage.type, JsValue)] :: arbitrary[(WhatDoYouWantToFindOutPage.type, JsValue)] :: Nil implicit lazy val arbitraryCacheMap: Arbitrary[CacheMap] = Arbitrary { for { cacheId <- nonEmptyString data <- generators match { case Nil => Gen.const(Map[Page, JsValue]()) case _ => Gen.mapOf(oneOf(generators)) } } yield CacheMap( cacheId, data.map { case (k, v) => ( k.toString, v ) } ) } }
high
0.700009
13
// // "Trunks and tails // Are handy things" // from Holding Hands // by Lenore M. Link // // Now that we have tails all figured out, can you implement trunks? // const std = @import("std"); const Elephant = struct { letter: u8, tail: ?*Elephant = null, trunk: ?*Elephant = null, visited: bool = false, // Elephant tail methods! pub fn getTail(self: *Elephant) *Elephant { return self.tail.?; // Remember, this is means "orelse unreachable" } pub fn hasTail(self: *Elephant) bool { return (self.tail != null); } // Your Elephant trunk methods go here! // --------------------------------------------------- pub fn getTrunk(self: *Elephant) *Elephant { return self.trunk.?; // Remember, this is means "orelse unreachable" } pub fn hasTrunk(self: *Elephant) bool { return (self.trunk != null); } // --------------------------------------------------- pub fn visit(self: *Elephant) void { self.visited = true; } pub fn print(self: *Elephant) void { // Prints elephant letter and [v]isited var v: u8 = if (self.visited) 'v' else ' '; std.debug.print("{u}{u} ", .{ self.letter, v }); } }; pub fn main() void { var elephantA = Elephant{ .letter = 'A' }; var elephantB = Elephant{ .letter = 'B' }; var elephantC = Elephant{ .letter = 'C' }; // Link the elephants so that each tail "points" to the next. elephantA.tail = &elephantB; elephantB.tail = &elephantC; // And link the elephants so that each trunk "points" to the previous. elephantB.trunk = &elephantA; elephantC.trunk = &elephantB; visitElephants(&elephantA); std.debug.print("\n", .{}); } // This function visits all elephants twice, tails to trunks. fn visitElephants(first_elephant: *Elephant) void { var e = first_elephant; // Follow the tails! while (true) { e.print(); e.visit(); // Get the next elephant or stop. if (e.hasTail()) { e = e.getTail(); } else { break; } } // Follow the trunks! while (true) { e.print(); // Get the previous elephant or stop. if (e.hasTrunk()) { e = e.getTrunk(); } else { break; } } }
high
0.668862
14
# -*- encoding: utf-8 -*- $:.push File.expand_path("../lib", __FILE__) require "postgres_loose_table_counts/version" Gem::Specification.new do |s| s.name = "postgres_loose_table_counts" s.version = PostgresLooseTableCounts::VERSION s.authors = ["John Barton"] s.email = ["jrbarton@gmail.com"] s.homepage = "http://github.com/joho/postgres_loose_table_counts" s.summary = %q{Postgres counts can be sometimes slow for large records, and sometimes (ie pagination) being exact isn't really that important. Read http://wiki.postgresql.org/wiki/Slow_Counting for more details.} s.description = %q{Get a rough idea of a model count from pg_class instead of potentially expensive count()} s.rubyforge_project = "postgres_loose_table_counts" s.files = `git ls-files`.split("\n") s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } s.require_paths = ["lib"] # specify any dependencies here; for example: s.add_development_dependency "bundler" s.add_runtime_dependency "activerecord", ">= 3.0" # lol, this won't work on mysql s.add_runtime_dependency "pg" end
high
0.278482
15
as yet unclassified new: dim "Answer a dim*dim matrix. Is this an abuse of #new:? The argument is NOT a size." ^self rows: dim columns: dim
low
0.567991
16
module Builds.Update exposing (..) import Builds.Messages exposing (Msg(..)) import Builds.Models exposing (Build) update : Msg -> List Build -> ( List Build, Cmd Msg ) update message builds = case message of FetchAllDone newBuilds -> ( newBuilds, Cmd.none ) FetchAllFail error -> ( builds, Cmd.none )
high
0.403748
17
/- Copyright © 2019, Oracle and/or its affiliates. All rights reserved. -/ import lib.attributed.probability_theory import lib.attributed.dvector lib.attributed.to_mathlib import measure_theory.giry_monad import measure_theory.measure_space import data.complex.exponential local attribute [instance] classical.prop_decidable universes u v open nnreal measure_theory nat list measure_theory.measure to_integration probability_measure set dfin lattice ennreal variables {α : Type u} {β : Type u} {γ : Type v}[measurable_space α] infixl ` >>=ₐ `:55 := measure.bind infixl ` <$>ₐ `:55 := measure.map local notation `doₐ` binders ` ←ₐ ` m ` ; ` t:(scoped p, m >>=ₐ p) := t local notation `ret` := measure.dirac lemma split_set {α β : Type u} (Pa : α → Prop) (Pb : β → Prop) : {m : α × β | Pa m.fst} = {x : α | Pa x}.prod univ := by ext1; cases x; dsimp at *; simp at * instance has_zero_dfin {n} : has_zero $ dfin (n+1) := ⟨dfin.fz⟩ lemma vec.split_set {n : ℕ} (P : α → Prop) (μ : probability_measure α) : {x : vec α (n+2)| P (kth_projn x 1)} = set.prod univ {x : vec α (n+1) | P (kth_projn x 0)} := begin ext1, cases x, cases x_snd, dsimp at *, simp at *, refl, end lemma vec.prod_measure_univ' {n : ℕ} [nonempty α] [ne : ∀ n, nonempty (vec α n)](μ : probability_measure α) : (vec.prod_measure μ n : measure (vec α (n))) (univ) = 1 := by exact measure_univ _ noncomputable def vec.prob_measure (n : ℕ) [nonempty α] (μ : probability_measure α) : probability_measure (vec α n) := ⟨ vec.prod_measure μ n , vec.prod_measure_univ' μ ⟩ lemma vec.prob_measure_apply (n : ℕ) [nonempty α] {μ : probability_measure α} {S : set (vec α n)} (hS : is_measurable S) : (vec.prob_measure n μ) S = ((vec.prod_measure μ n) S) := rfl lemma measure_kth_projn' {n : ℕ} [nonempty α] {P : α → Prop} (μ : probability_measure α) (hP : is_measurable {x : α | P x}) (hp' : is_measurable {x : vec α (n + 1) | P (kth_projn x 0)}) : (vec.prod_measure μ (n+2) : probability_measure (vec α (n+2))) {x : vec α (n + 2) | P (kth_projn x 1)} = μ {x : α | P x} := begin rw vec.split_set _ μ, rw vec.prod_measure_eq, rw prod.prob_measure_apply _ _ is_measurable.univ _, rw prob_univ,rw one_mul, have h: {x : vec α (n + 1) | P (kth_projn x 0)} = {x : vec α (n + 1) | P (x.fst)}, { ext1, cases x, refl, }, rw h, clear h, induction n with k ih, rw vec.prod_measure_eq, have h₁: {x : vec α (0 + 1) | P (x.fst)} = set.prod {x:α | P(x)} univ,by ext1; cases x; dsimp at *;simp at *, rw h₁, rw vec.prod_measure,rw prod.prob_measure_apply _ _ _ is_measurable.univ, rw prob_univ, rw mul_one, assumption,assumption, exact hP, have h₂ : {x : vec α (succ k + 1) | P (x.fst)} = {x : vec α (k + 2) | P (x.fst)},by refl, rw h₂, clear h₂, have h₃ : {x : vec α (k + 2) | P (x.fst)} = set.prod {x : α | P(x)} univ, { ext1, cases x, dsimp at *, simp at *, }, rw h₃, rw vec.prod_measure_eq,rw prod.prob_measure_apply _ _ _ is_measurable.univ, rw prob_univ, rw mul_one, assumption, apply nonempty.vec, exact hP, assumption, apply nonempty.vec, assumption, end @[simp] lemma measure_kth_projn {n : ℕ} [nonempty α] {P : α → Prop} (μ : probability_measure α) (hP : is_measurable {x : α | P x}) (hp' : ∀ n i, is_measurable {x : vec α n | P (kth_projn x i)}) : ∀ (i : dfin (n+1)), (vec.prod_measure μ n : probability_measure (vec α n)) {x : vec α n | P (kth_projn x i)} = μ {x : α | P x} := begin intros i, induction n with n b dk ih, rw vec.prod_measure, have g : {x : vec α 0 | P (kth_projn x i)} = {x | P x}, by tidy, rw g, refl, have h: {x : vec α (n + 1) | P (kth_projn x fz)} = {x : vec α (n + 1) | P (x.fst)}, { ext1, cases x, refl, }, cases i, rw h, clear h, have h₃ : {x : vec α (n + 1) | P (x.fst)} = set.prod {x : α | P(x)} univ, { ext1, cases x, dsimp at *, simp at *, }, rw h₃, rw vec.prod_measure_eq, rw prod.prob_measure_apply _ _ hP is_measurable.univ, rw prob_univ, rw mul_one, exact (nonempty.vec n), rw vec.prod_measure_eq, have h₄ : {x : vec α (succ n) | P (kth_projn x (fs i_a))} = set.prod univ {x : vec α n | P (kth_projn x i_a)}, { ext1, cases x, dsimp at *, simp at *, }, rw h₄, rw prod.prob_measure_apply _ _ is_measurable.univ _, rw prob_univ, rw one_mul, rw b, assumption, exact (nonempty.vec n), apply hp', end lemma dfin_succ_prop_iff_fst_and_rst {α : Type u} (P : α → Prop) {k : ℕ} (x : vec α (succ k)) : (∀ (i : dfin (succ k + 1)), P (kth_projn x i)) ↔ P (x.fst) ∧ ∀ (i : dfin (succ k)), P (kth_projn (x.snd) i) := begin fsplit, intros h, split, have := h fz, have : kth_projn x 0 = x.fst, cases x, refl, rw ←this, assumption, intro i₀, cases x, have := h (fs i₀), rwa kth_projn at this, intros g i₁, cases g with l r, cases i₁ with ifz ifs, have : kth_projn x fz = x.fst, cases x, refl, rw this, assumption, cases x, rw kth_projn, exact r i₁_a, end lemma independence {n : ℕ} [nonempty α] {P : α → Prop} (μ : probability_measure α) (hP : is_measurable {x : α | P x}) (hp' : ∀ n, is_measurable {x : vec α n | ∀ i, P (kth_projn x i)}) : (vec.prod_measure μ n : probability_measure (vec α n)) {x : vec α n | ∀ (i : dfin (n + 1)), P (kth_projn x i)} = μ {x : α | P x} ^ (n+1) := begin induction n with k ih, simp only [nat.pow_zero, nat_zero_eq_zero], have g : {x : vec α 0 | ∀ i : dfin 1, P (kth_projn x i)} = {x | P x}, { ext1, dsimp at *, fsplit, intros a, exact (a fz), intros a i, assumption, }, rw g, simp, refl, have h₂ : {x : vec α (succ k) | ∀ (i : dfin (succ k + 1)), P (kth_projn x i)} = set.prod {x | P x} {x : vec α k | ∀ (i : dfin (succ k)), P (kth_projn x i)},{ ext1, apply dfin_succ_prop_iff_fst_and_rst, }, rw [h₂], rw vec.prod_measure_eq, rw vec.prod_measure_apply _ _ hP (hp' k),rw ih,refl, end @[simp] lemma prob_independence {n : ℕ} [nonempty α] {P : α → Prop} (μ : probability_measure α) (hP : is_measurable {x : α | P x}) (hp' : ∀ n, is_measurable {x : vec α n | ∀ i, P (kth_projn x i)}) : (vec.prob_measure n μ : probability_measure (vec α n)) {x : vec α n | ∀ (i : dfin (succ n)), P (kth_projn x i)} = (μ {x : α | P x}) ^ (n+1) := begin induction n with k ih, simp only [nat.pow_zero, nat_zero_eq_zero], have g : {x : vec α 0 | ∀ i : dfin 1, P (kth_projn x i)} = {x | P x}, { ext1, dsimp at *, fsplit, intros a, exact (a fz), intros a i, assumption, }, rw g, rw vec.prob_measure, simp, refl, have h₂ : {x : vec α (succ k) | ∀ (i : dfin (succ (succ k))), P (kth_projn x i)} = set.prod {x | P x} {x : vec α k | ∀ (i : dfin (succ k)), P (kth_projn x i)},{ ext1, apply dfin_succ_prop_iff_fst_and_rst, }, rw h₂, rw vec.prob_measure_apply _ _, rw [vec.prod_measure_eq], rw vec.prod_measure_apply _ _ hP, rw pow_succ', rw ←ih, rw mul_comm, rw vec.prob_measure_apply, exact hp' k, exact hp' k, exact is_measurable_set_prod hP (hp' k), end noncomputable def point_indicators {f h: α → bool} {n : ℕ} (hf : measurable f) (hh : measurable h) (i : dfin (succ n)) := χ ⟦{x : vec α n | h(kth_projn x i) ≠ f (kth_projn x i)}⟧ lemma integral_point_indicators {f h: α → bool} {n : ℕ} [ne : nonempty (vec α n)] (hf : measurable f) (hh : measurable h) (hA : ∀ n i, is_measurable ({x : vec α n | h(kth_projn x i) ≠ f (kth_projn x i)})) (μ : measure (vec α n)) : ∀ i : dfin (succ n), (∫ χ ⟦{x : vec α n | h(kth_projn x i) ≠ f (kth_projn x i)}⟧ ðμ) = μ ({x : vec α n | h(kth_projn x i) ≠ f (kth_projn x i)}) := assume i, integral_char_fun μ (hA n i) lemma finally {f h : α → bool} {n : ℕ} [nonempty α] (hf : measurable f) (hh : measurable h) (hA : ∀ n i, is_measurable ({x : vec α n | h(kth_projn x i) ≠ f (kth_projn x i)})) (hB : is_measurable {x : α | h x ≠ f x}) (μ : probability_measure α) : let η := (vec.prod_measure μ n).to_measure in ∀ i, (∫ (χ ⟦{x : vec α n | h(kth_projn x i) ≠ f (kth_projn x i)}⟧) ðη) = μ.to_measure {x : α | h x ≠ f x} := begin intros η i₀, rw [integral_point_indicators hf hh hA (vec.prod_measure μ n).to_measure i₀], rw ←coe_eq_to_measure, rw ←coe_eq_to_measure, rw measure_kth_projn μ hB, intro n₀, apply hA, end lemma integral_char_fun_finset_sum {f h : α → bool} {n : ℕ} [nonempty α] (hf : measurable f) (hh : measurable h) (hA : ∀ n i, is_measurable ({x : vec α n | h(kth_projn x i) ≠ f (kth_projn x i)})) (hB : is_measurable {x : α | h x ≠ f x}) (μ : probability_measure α) (m : finset(dfin (succ n))): (∫finset.sum m (λ (i : dfin (succ n)), ⇑χ⟦{x : vec α n | h (kth_projn x i) ≠ f (kth_projn x i)}⟧)ð((vec.prod_measure μ n).to_measure)) = m.sum (λ i, ((vec.prod_measure μ n)) ({x : vec α n | h(kth_projn x i) ≠ f (kth_projn x i)})) := begin rw integral, refine finset.induction_on m _ _, { simp, erw lintegral_zero }, { assume a s has ih, simp [has], erw [lintegral_add], erw simple_func.lintegral_eq_integral,unfold char_fun, erw simple_func.restrict_const_integral, dsimp, rw ←ih, rw one_mul, rw coe_eq_to_measure, refl, exact(hA n a), exact measurable.comp (simple_func.measurable _) measurable_id, refine measurable.comp _ measurable_id, refine finset.induction_on s _ _, {simp, exact simple_func.measurable 0,}, {intros a b c d, simp [c], apply measure_theory.measurable_add, exact simple_func.measurable _, exact d,} }, end lemma integral_sum_dfin {f h : α → bool} {n : ℕ} [nonempty α] (hf : measurable f) (hh : measurable h) (hA : ∀ n i, is_measurable ({x : vec α n | h(kth_projn x i) ≠ f (kth_projn x i)})) (hB : is_measurable {x : α | h x ≠ f x}) (μ : probability_measure α) (m : finset(dfin (succ n))) : let η := (vec.prod_measure μ n) in (∫ m.sum (λ i, χ ⟦{x : vec α n | h(kth_projn x i) ≠ f (kth_projn x i)}⟧) ðη.to_measure )= m.sum (λ i, (μ.to_measure : measure α) {x : α | h x ≠ f x}) := begin intros η, rw [integral_char_fun_finset_sum hf hh hA hB], congr, funext, rw measure_kth_projn μ hB hA, rw coe_eq_to_measure, end lemma measure_sum_const {f h : α → bool} {n : ℕ} (hf : measurable f) (hh : measurable h) (m : finset (fin n)) (μ : probability_measure α) : m.sum (λ i, (μ : measure α) {x : α | h x ≠ f x}) = (m.card : ℕ) * ((μ : measure α) {x : α | h x ≠ f x}) := begin apply finset.induction_on m, simp, intros a b c d, simp [c], rw add_monoid.add_smul, rw [add_monoid.smul], simp [monoid.pow], rw right_distrib, rw monoid.one_mul, rw ←d, simp, end namespace hoeffding open complex real noncomputable def exp_fun (f : α → ennreal) : α → ℝ := λ x, exp $ (f x).to_real local notation `∫` f `𝒹`m := integral m.to_measure f lemma integral_char_rect [measurable_space α] [measurable_space β] [n₁ : nonempty α] [n₂ : nonempty β](μ : probability_measure α) (ν : probability_measure β) {A : set α} {B : set β} (hA : is_measurable A) (hB : is_measurable B) : (∫ χ ⟦ A.prod B ⟧ 𝒹(μ ⊗ₚ ν)) = (μ A) * (ν B) := begin haveI := (nonempty_prod.2 (and.intro n₁ n₂)), rw [integral_char_fun _ (is_measurable_set_prod hA hB),←coe_eq_to_measure, (prod.prob_measure_apply _ _ hA hB)], simp, end end hoeffding
high
0.525657
18
defmodule GenRouter.MixProject do use Mix.Project def project do [ app: :gen_router, version: "0.1.7", elixir: "~> 1.6", description: "Elixir library to handle generic routing tasks in Plug.Router and Phoenix router style", docs: [extras: ["README.md"]], start_permanent: Mix.env() == :prod, build_embedded: Mix.env() == :prod, package: package(), elixirc_paths: elixirc_paths(Mix.env()), deps: deps() ] end def package do [ name: :gen_router, files: ["lib", "mix.exs"], maintainers: ["Vyacheslav Voronchuk"], licenses: ["MIT"], links: %{"Github" => "https://github.com/starbuildr/gen_router"} ] end def application do [ extra_applications: [:logger] ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:ex_doc, ">= 0.0.0", only: :dev} ] end defp elixirc_paths(:test), do: ["lib", "test/stub_modules"] defp elixirc_paths(_), do: ["lib"] end
high
0.765513
19
# AUTOGENERATED FILE FROM balenalib/firefly-rk3288-ubuntu:impish-run ENV NODE_VERSION 14.18.2 ENV YARN_VERSION 1.22.4 RUN buildDeps='curl libatomic1' \ && set -x \ && for key in \ 6A010C5166006599AA17F08146C2130DFD2497F5 \ ; do \ gpg --keyserver pgp.mit.edu --recv-keys "$key" || \ gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \ gpg --keyserver keyserver.ubuntu.com --recv-keys "$key" ; \ done \ && apt-get update && apt-get install -y $buildDeps --no-install-recommends \ && rm -rf /var/lib/apt/lists/* \ && curl -SLO "http://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-armv7l.tar.gz" \ && echo "70211985c0881c36af91d39108c5f61c0ac11de3b43b89b3f7b1a9ac333d1d3e node-v$NODE_VERSION-linux-armv7l.tar.gz" | sha256sum -c - \ && tar -xzf "node-v$NODE_VERSION-linux-armv7l.tar.gz" -C /usr/local --strip-components=1 \ && rm "node-v$NODE_VERSION-linux-armv7l.tar.gz" \ && curl -fSLO --compressed "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz" \ && curl -fSLO --compressed "https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v$YARN_VERSION.tar.gz.asc" \ && gpg --batch --verify yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \ && mkdir -p /opt/yarn \ && tar -xzf yarn-v$YARN_VERSION.tar.gz -C /opt/yarn --strip-components=1 \ && ln -s /opt/yarn/bin/yarn /usr/local/bin/yarn \ && ln -s /opt/yarn/bin/yarn /usr/local/bin/yarnpkg \ && rm yarn-v$YARN_VERSION.tar.gz.asc yarn-v$YARN_VERSION.tar.gz \ && npm config set unsafe-perm true -g --unsafe-perm \ && rm -rf /tmp/* CMD ["echo","'No CMD command was set in Dockerfile! Details about CMD command could be found in Dockerfile Guide section in our Docs. Here's the link: https://balena.io/docs"] RUN curl -SLO "https://raw.githubusercontent.com/balena-io-library/base-images/8accad6af708fca7271c5c65f18a86782e19f877/scripts/assets/tests/test-stack@node.sh" \ && echo "Running test-stack@node" \ && chmod +x test-stack@node.sh \ && bash test-stack@node.sh \ && rm -rf test-stack@node.sh RUN [ ! -d /.balena/messages ] && mkdir -p /.balena/messages; echo 'Here are a few details about this Docker image (For more information please visit https://www.balena.io/docs/reference/base-images/base-images/): \nArchitecture: ARM v7 \nOS: Ubuntu impish \nVariant: run variant \nDefault variable(s): UDEV=off \nThe following software stack is preinstalled: \nNode.js v14.18.2, Yarn v1.22.4 \nExtra features: \n- Easy way to install packages with `install_packages <package-name>` command \n- Run anywhere with cross-build feature (for ARM only) \n- Keep the container idling with `balena-idle` command \n- Show base image details with `balena-info` command' > /.balena/messages/image-info RUN echo '#!/bin/sh.real\nbalena-info\nrm -f /bin/sh\ncp /bin/sh.real /bin/sh\n/bin/sh "$@"' > /bin/sh-shim \ && chmod +x /bin/sh-shim \ && cp /bin/sh /bin/sh.real \ && mv /bin/sh-shim /bin/sh
low
0.799443
20
// (c) Copyright 1995-2016 Xilinx, Inc. All rights reserved. // // This file contains confidential and proprietary information // of Xilinx, Inc. and is protected under U.S. and // international copyright and other intellectual property // laws. // // DISCLAIMER // This disclaimer is not a license and does not grant any // rights to the materials distributed herewith. Except as // otherwise provided in a valid license issued to you by // Xilinx, and to the maximum extent permitted by applicable // law: (1) THESE MATERIALS ARE MADE AVAILABLE "AS IS" AND // WITH ALL FAULTS, AND XILINX HEREBY DISCLAIMS ALL WARRANTIES // AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING // BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON- // INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE; and // (2) Xilinx shall not be liable (whether in contract or tort, // including negligence, or under any other theory of // liability) for any loss or damage of any kind or nature // related to, arising under or in connection with these // materials, including for any direct, or any indirect, // special, incidental, or consequential loss or damage // (including loss of data, profits, goodwill, or any type of // loss or damage suffered as a result of any action brought // by a third party) even if such damage or loss was // reasonably foreseeable or Xilinx had been advised of the // possibility of the same. // // CRITICAL APPLICATIONS // Xilinx products are not designed or intended to be fail- // safe, or for use in any application requiring fail-safe // performance, such as life-support or safety devices or // systems, Class III medical devices, nuclear facilities, // applications related to the deployment of airbags, or any // other applications that could lead to death, personal // injury, or severe property or environmental damage // (individually and collectively, "Critical // Applications"). Customer assumes the sole risk and // liability of any use of Xilinx products in Critical // Applications, subject only to applicable laws and // regulations governing limitations on product liability. // // THIS COPYRIGHT NOTICE AND DISCLAIMER MUST BE RETAINED AS // PART OF THIS FILE AT ALL TIMES. // // DO NOT MODIFY THIS FILE. // IP VLNV: xilinx.com:ip:mii_to_rmii:2.0 // IP Revision: 8 // The following must be inserted into your Verilog file for this // core to be instantiated. Change the instance name and port connections // (in parentheses) to your own signal names. //----------- Begin Cut here for INSTANTIATION Template ---// INST_TAG ZynqDesign_mii_to_rmii_0_0 your_instance_name ( .rst_n(rst_n), // input wire rst_n .ref_clk(ref_clk), // input wire ref_clk .mac2rmii_tx_en(mac2rmii_tx_en), // input wire mac2rmii_tx_en .mac2rmii_txd(mac2rmii_txd), // input wire [3 : 0] mac2rmii_txd .mac2rmii_tx_er(mac2rmii_tx_er), // input wire mac2rmii_tx_er .rmii2mac_tx_clk(rmii2mac_tx_clk), // output wire rmii2mac_tx_clk .rmii2mac_rx_clk(rmii2mac_rx_clk), // output wire rmii2mac_rx_clk .rmii2mac_col(rmii2mac_col), // output wire rmii2mac_col .rmii2mac_crs(rmii2mac_crs), // output wire rmii2mac_crs .rmii2mac_rx_dv(rmii2mac_rx_dv), // output wire rmii2mac_rx_dv .rmii2mac_rx_er(rmii2mac_rx_er), // output wire rmii2mac_rx_er .rmii2mac_rxd(rmii2mac_rxd), // output wire [3 : 0] rmii2mac_rxd .phy2rmii_crs_dv(phy2rmii_crs_dv), // input wire phy2rmii_crs_dv .phy2rmii_rx_er(phy2rmii_rx_er), // input wire phy2rmii_rx_er .phy2rmii_rxd(phy2rmii_rxd), // input wire [1 : 0] phy2rmii_rxd .rmii2phy_txd(rmii2phy_txd), // output wire [1 : 0] rmii2phy_txd .rmii2phy_tx_en(rmii2phy_tx_en) // output wire rmii2phy_tx_en ); // INST_TAG_END ------ End INSTANTIATION Template --------- // You must compile the wrapper file ZynqDesign_mii_to_rmii_0_0.v when simulating // the core, ZynqDesign_mii_to_rmii_0_0. When compiling the wrapper file, be sure to // reference the Verilog simulation library.
low
0.758334
21
package com.sksamuel.elastic4s.http.cluster import com.sksamuel.elastic4s.JsonFormat import com.sksamuel.elastic4s.cluster.{ClusterHealthDefinition, ClusterStateDefinition} import com.sksamuel.elastic4s.http.HttpExecutable import org.elasticsearch.client.{ResponseListener, RestClient} import scala.collection.JavaConverters._ import scala.concurrent.Future trait ClusterImplicits { implicit object ClusterStateHttpExecutable extends HttpExecutable[ClusterStateDefinition, ClusterStateResponse] { val method = "GET" override def execute(client: RestClient, request: ClusterStateDefinition, format: JsonFormat[ClusterStateResponse]): Future[ClusterStateResponse] = { val endpoint = "/_cluster/state" + buildMetricsString(request.metrics) + buildIndexString(request.indices) logger.debug(s"Accessing endpoint $endpoint") executeAsyncAndMapResponse(client.performRequestAsync(method, endpoint, Map.empty[String, String].asJava, _: ResponseListener), format) } private def buildMetricsString(metrics: Seq[String]): String = { if (metrics.isEmpty) { "/_all" } else { "/" + metrics.mkString(",") } } private def buildIndexString(indices: Seq[String]): String = { if (indices.isEmpty) { "" } else { "/" + indices.mkString(",") } } } implicit object ClusterHealthHttpExecutable extends HttpExecutable[ClusterHealthDefinition, ClusterHealthResponse] { val method = "GET" override def execute(client: RestClient, request: ClusterHealthDefinition, format: JsonFormat[ClusterHealthResponse]): Future[ClusterHealthResponse] = { val endpoint = "/_cluster/health" + indicesUrl(request.indices) val params = scala.collection.mutable.Map.empty[String, String] request.waitForStatus.map(_.toString).foreach(params.put("wait_for_status", _)) request.waitForActiveShards.map(_.toString).foreach(params.put("wait_for_active_shards", _)) request.waitForNodes.map(_.toString).foreach(params.put("wait_for_nodes", _)) executeAsyncAndMapResponse(client.performRequestAsync(method, endpoint, params.asJava, _: ResponseListener), format) } private def indicesUrl(indices: Seq[String]): String = { if (indices.isEmpty) { "" } else { "/" + indices.mkString(",") } } } } object ClusterStateResponse { case class Index(state: String, aliases: Seq[String]) case class Metadata(cluster_uuid: String, indices: Map[String, Index]) { def clusterUuid: String = cluster_uuid } } case class ClusterStateResponse(cluster_name: String, master_node: String, metadata: Option[ClusterStateResponse.Metadata]) { def clusterName: String = cluster_name def masterNode: String = master_node } case class ClusterHealthResponse(cluster_name: String, status: String, private val timed_out: Boolean, private val number_of_nodes: Int, private val number_of_data_nodes: Int, private val active_primary_shards: Int, private val active_shards: Int, private val relocating_shards: Int, private val initializing_shards: Int, private val unassigned_shards: Int, private val delayed_unassigned_shards: Int, private val number_of_pending_tasks: Int, private val number_of_in_flight_fetch: Int, private val task_max_waiting_in_queue_millis: Int, private val active_shards_percent_as_number: Double) { def clusterName: String = cluster_name def timeOut: Boolean = timed_out def numberOfNodes: Int = number_of_nodes def numberOfDataNodes: Int = number_of_data_nodes def activePrimaryShards: Int = active_primary_shards def activeShards: Int = active_shards def relocatingShards: Int = relocating_shards def initializingShards: Int = initializing_shards def unassignedShards: Int = unassigned_shards def delayedUnassignedShards: Int = delayed_unassigned_shards def numberOfPendingTasks: Int = number_of_pending_tasks def numberOfInFlightFetch: Int = number_of_in_flight_fetch def taskMaxWaitingInQueueMillis: Int = task_max_waiting_in_queue_millis def activeShardsPercentAsNumber: Double = active_shards_percent_as_number }
high
0.912494
22
nqubits = 15; name = "15v6 1 1 1 1 4 1"; nstates = 4; amplitude[x_,y_] := (Exp[-14 I y] (1 (I Sin[x])^6 Cos[x]^9 + 1 (I Sin[x])^9 Cos[x]^6) + Exp[-12 I y] (3 (I Sin[x])^7 Cos[x]^8 + 3 (I Sin[x])^8 Cos[x]^7 + 2 (I Sin[x])^6 Cos[x]^9 + 2 (I Sin[x])^9 Cos[x]^6 + 2 (I Sin[x])^5 Cos[x]^10 + 2 (I Sin[x])^10 Cos[x]^5 + 4 (I Sin[x])^4 Cos[x]^11 + 4 (I Sin[x])^11 Cos[x]^4 + 3 (I Sin[x])^3 Cos[x]^12 + 3 (I Sin[x])^12 Cos[x]^3) + Exp[-10 I y] (21 (I Sin[x])^5 Cos[x]^10 + 21 (I Sin[x])^10 Cos[x]^5 + 27 (I Sin[x])^7 Cos[x]^8 + 27 (I Sin[x])^8 Cos[x]^7 + 12 (I Sin[x])^4 Cos[x]^11 + 12 (I Sin[x])^11 Cos[x]^4 + 7 (I Sin[x])^3 Cos[x]^12 + 7 (I Sin[x])^12 Cos[x]^3 + 21 (I Sin[x])^9 Cos[x]^6 + 21 (I Sin[x])^6 Cos[x]^9 + 3 (I Sin[x])^2 Cos[x]^13 + 3 (I Sin[x])^13 Cos[x]^2) + Exp[-8 I y] (102 (I Sin[x])^6 Cos[x]^9 + 102 (I Sin[x])^9 Cos[x]^6 + 109 (I Sin[x])^7 Cos[x]^8 + 109 (I Sin[x])^8 Cos[x]^7 + 88 (I Sin[x])^5 Cos[x]^10 + 88 (I Sin[x])^10 Cos[x]^5 + 49 (I Sin[x])^4 Cos[x]^11 + 49 (I Sin[x])^11 Cos[x]^4 + 12 (I Sin[x])^3 Cos[x]^12 + 12 (I Sin[x])^12 Cos[x]^3 + 4 (I Sin[x])^2 Cos[x]^13 + 4 (I Sin[x])^13 Cos[x]^2) + Exp[-6 I y] (122 (I Sin[x])^4 Cos[x]^11 + 122 (I Sin[x])^11 Cos[x]^4 + 331 (I Sin[x])^8 Cos[x]^7 + 331 (I Sin[x])^7 Cos[x]^8 + 53 (I Sin[x])^3 Cos[x]^12 + 53 (I Sin[x])^12 Cos[x]^3 + 285 (I Sin[x])^9 Cos[x]^6 + 285 (I Sin[x])^6 Cos[x]^9 + 193 (I Sin[x])^5 Cos[x]^10 + 193 (I Sin[x])^10 Cos[x]^5 + 13 (I Sin[x])^2 Cos[x]^13 + 13 (I Sin[x])^13 Cos[x]^2 + 4 (I Sin[x])^1 Cos[x]^14 + 4 (I Sin[x])^14 Cos[x]^1) + Exp[-4 I y] (378 (I Sin[x])^5 Cos[x]^10 + 378 (I Sin[x])^10 Cos[x]^5 + 641 (I Sin[x])^6 Cos[x]^9 + 641 (I Sin[x])^9 Cos[x]^6 + 776 (I Sin[x])^7 Cos[x]^8 + 776 (I Sin[x])^8 Cos[x]^7 + 150 (I Sin[x])^4 Cos[x]^11 + 150 (I Sin[x])^11 Cos[x]^4 + 50 (I Sin[x])^3 Cos[x]^12 + 50 (I Sin[x])^12 Cos[x]^3 + 6 (I Sin[x])^2 Cos[x]^13 + 6 (I Sin[x])^13 Cos[x]^2 + 1 (I Sin[x])^1 Cos[x]^14 + 1 (I Sin[x])^14 Cos[x]^1) + Exp[-2 I y] (595 (I Sin[x])^5 Cos[x]^10 + 595 (I Sin[x])^10 Cos[x]^5 + 888 (I Sin[x])^9 Cos[x]^6 + 888 (I Sin[x])^6 Cos[x]^9 + 105 (I Sin[x])^3 Cos[x]^12 + 105 (I Sin[x])^12 Cos[x]^3 + 1093 (I Sin[x])^7 Cos[x]^8 + 1093 (I Sin[x])^8 Cos[x]^7 + 33 (I Sin[x])^2 Cos[x]^13 + 33 (I Sin[x])^13 Cos[x]^2 + 285 (I Sin[x])^4 Cos[x]^11 + 285 (I Sin[x])^11 Cos[x]^4 + 3 (I Sin[x])^1 Cos[x]^14 + 3 (I Sin[x])^14 Cos[x]^1 + 1 Cos[x]^15 + 1 (I Sin[x])^15) + Exp[0 I y] (215 (I Sin[x])^4 Cos[x]^11 + 215 (I Sin[x])^11 Cos[x]^4 + 1540 (I Sin[x])^7 Cos[x]^8 + 1540 (I Sin[x])^8 Cos[x]^7 + 1071 (I Sin[x])^6 Cos[x]^9 + 1071 (I Sin[x])^9 Cos[x]^6 + 545 (I Sin[x])^5 Cos[x]^10 + 545 (I Sin[x])^10 Cos[x]^5 + 49 (I Sin[x])^3 Cos[x]^12 + 49 (I Sin[x])^12 Cos[x]^3 + 11 (I Sin[x])^2 Cos[x]^13 + 11 (I Sin[x])^13 Cos[x]^2 + 1 (I Sin[x])^14 Cos[x]^1 + 1 (I Sin[x])^1 Cos[x]^14) + Exp[2 I y] (911 (I Sin[x])^6 Cos[x]^9 + 911 (I Sin[x])^9 Cos[x]^6 + 543 (I Sin[x])^10 Cos[x]^5 + 543 (I Sin[x])^5 Cos[x]^10 + 265 (I Sin[x])^4 Cos[x]^11 + 265 (I Sin[x])^11 Cos[x]^4 + 1164 (I Sin[x])^8 Cos[x]^7 + 1164 (I Sin[x])^7 Cos[x]^8 + 19 (I Sin[x])^2 Cos[x]^13 + 19 (I Sin[x])^13 Cos[x]^2 + 6 (I Sin[x])^1 Cos[x]^14 + 6 (I Sin[x])^14 Cos[x]^1 + 95 (I Sin[x])^3 Cos[x]^12 + 95 (I Sin[x])^12 Cos[x]^3) + Exp[4 I y] (35 (I Sin[x])^3 Cos[x]^12 + 35 (I Sin[x])^12 Cos[x]^3 + 875 (I Sin[x])^8 Cos[x]^7 + 875 (I Sin[x])^7 Cos[x]^8 + 335 (I Sin[x])^5 Cos[x]^10 + 335 (I Sin[x])^10 Cos[x]^5 + 636 (I Sin[x])^6 Cos[x]^9 + 636 (I Sin[x])^9 Cos[x]^6 + 116 (I Sin[x])^4 Cos[x]^11 + 116 (I Sin[x])^11 Cos[x]^4 + 5 (I Sin[x])^13 Cos[x]^2 + 5 (I Sin[x])^2 Cos[x]^13) + Exp[6 I y] (359 (I Sin[x])^7 Cos[x]^8 + 359 (I Sin[x])^8 Cos[x]^7 + 94 (I Sin[x])^11 Cos[x]^4 + 94 (I Sin[x])^4 Cos[x]^11 + 303 (I Sin[x])^9 Cos[x]^6 + 303 (I Sin[x])^6 Cos[x]^9 + 201 (I Sin[x])^5 Cos[x]^10 + 201 (I Sin[x])^10 Cos[x]^5 + 33 (I Sin[x])^3 Cos[x]^12 + 33 (I Sin[x])^12 Cos[x]^3 + 11 (I Sin[x])^2 Cos[x]^13 + 11 (I Sin[x])^13 Cos[x]^2) + Exp[8 I y] (36 (I Sin[x])^4 Cos[x]^11 + 36 (I Sin[x])^11 Cos[x]^4 + 118 (I Sin[x])^9 Cos[x]^6 + 118 (I Sin[x])^6 Cos[x]^9 + 127 (I Sin[x])^7 Cos[x]^8 + 127 (I Sin[x])^8 Cos[x]^7 + 76 (I Sin[x])^5 Cos[x]^10 + 76 (I Sin[x])^10 Cos[x]^5 + 7 (I Sin[x])^12 Cos[x]^3 + 7 (I Sin[x])^3 Cos[x]^12) + Exp[10 I y] (29 (I Sin[x])^8 Cos[x]^7 + 29 (I Sin[x])^7 Cos[x]^8 + 20 (I Sin[x])^10 Cos[x]^5 + 20 (I Sin[x])^5 Cos[x]^10 + 21 (I Sin[x])^6 Cos[x]^9 + 21 (I Sin[x])^9 Cos[x]^6 + 15 (I Sin[x])^4 Cos[x]^11 + 15 (I Sin[x])^11 Cos[x]^4 + 6 (I Sin[x])^3 Cos[x]^12 + 6 (I Sin[x])^12 Cos[x]^3) + Exp[12 I y] (6 (I Sin[x])^5 Cos[x]^10 + 6 (I Sin[x])^10 Cos[x]^5 + 2 (I Sin[x])^7 Cos[x]^8 + 2 (I Sin[x])^8 Cos[x]^7 + 4 (I Sin[x])^9 Cos[x]^6 + 4 (I Sin[x])^6 Cos[x]^9 + 2 (I Sin[x])^11 Cos[x]^4 + 2 (I Sin[x])^4 Cos[x]^11) + Exp[14 I y] (1 (I Sin[x])^9 Cos[x]^6 + 1 (I Sin[x])^6 Cos[x]^9))/Sqrt[2^nqubits]; amplitude2[x_,y_] := (Exp[-14 I y] (1 (I Sin[x])^6 Cos[x]^9 + 1 (I Sin[x])^9 Cos[x]^6) + Exp[-12 I y] (3 (I Sin[x])^7 Cos[x]^8 + 3 (I Sin[x])^8 Cos[x]^7 + 2 (I Sin[x])^6 Cos[x]^9 + 2 (I Sin[x])^9 Cos[x]^6 + 2 (I Sin[x])^5 Cos[x]^10 + 2 (I Sin[x])^10 Cos[x]^5 + 4 (I Sin[x])^4 Cos[x]^11 + 4 (I Sin[x])^11 Cos[x]^4 + 3 (I Sin[x])^3 Cos[x]^12 + 3 (I Sin[x])^12 Cos[x]^3) + Exp[-10 I y] (21 (I Sin[x])^5 Cos[x]^10 + 21 (I Sin[x])^10 Cos[x]^5 + 27 (I Sin[x])^7 Cos[x]^8 + 27 (I Sin[x])^8 Cos[x]^7 + 12 (I Sin[x])^4 Cos[x]^11 + 12 (I Sin[x])^11 Cos[x]^4 + 7 (I Sin[x])^3 Cos[x]^12 + 7 (I Sin[x])^12 Cos[x]^3 + 21 (I Sin[x])^9 Cos[x]^6 + 21 (I Sin[x])^6 Cos[x]^9 + 3 (I Sin[x])^2 Cos[x]^13 + 3 (I Sin[x])^13 Cos[x]^2) + Exp[-8 I y] (102 (I Sin[x])^6 Cos[x]^9 + 102 (I Sin[x])^9 Cos[x]^6 + 109 (I Sin[x])^7 Cos[x]^8 + 109 (I Sin[x])^8 Cos[x]^7 + 88 (I Sin[x])^5 Cos[x]^10 + 88 (I Sin[x])^10 Cos[x]^5 + 49 (I Sin[x])^4 Cos[x]^11 + 49 (I Sin[x])^11 Cos[x]^4 + 12 (I Sin[x])^3 Cos[x]^12 + 12 (I Sin[x])^12 Cos[x]^3 + 4 (I Sin[x])^2 Cos[x]^13 + 4 (I Sin[x])^13 Cos[x]^2) + Exp[-6 I y] (122 (I Sin[x])^4 Cos[x]^11 + 122 (I Sin[x])^11 Cos[x]^4 + 331 (I Sin[x])^8 Cos[x]^7 + 331 (I Sin[x])^7 Cos[x]^8 + 53 (I Sin[x])^3 Cos[x]^12 + 53 (I Sin[x])^12 Cos[x]^3 + 285 (I Sin[x])^9 Cos[x]^6 + 285 (I Sin[x])^6 Cos[x]^9 + 193 (I Sin[x])^5 Cos[x]^10 + 193 (I Sin[x])^10 Cos[x]^5 + 13 (I Sin[x])^2 Cos[x]^13 + 13 (I Sin[x])^13 Cos[x]^2 + 4 (I Sin[x])^1 Cos[x]^14 + 4 (I Sin[x])^14 Cos[x]^1) + Exp[-4 I y] (378 (I Sin[x])^5 Cos[x]^10 + 378 (I Sin[x])^10 Cos[x]^5 + 641 (I Sin[x])^6 Cos[x]^9 + 641 (I Sin[x])^9 Cos[x]^6 + 776 (I Sin[x])^7 Cos[x]^8 + 776 (I Sin[x])^8 Cos[x]^7 + 150 (I Sin[x])^4 Cos[x]^11 + 150 (I Sin[x])^11 Cos[x]^4 + 50 (I Sin[x])^3 Cos[x]^12 + 50 (I Sin[x])^12 Cos[x]^3 + 6 (I Sin[x])^2 Cos[x]^13 + 6 (I Sin[x])^13 Cos[x]^2 + 1 (I Sin[x])^1 Cos[x]^14 + 1 (I Sin[x])^14 Cos[x]^1) + Exp[-2 I y] (595 (I Sin[x])^5 Cos[x]^10 + 595 (I Sin[x])^10 Cos[x]^5 + 888 (I Sin[x])^9 Cos[x]^6 + 888 (I Sin[x])^6 Cos[x]^9 + 105 (I Sin[x])^3 Cos[x]^12 + 105 (I Sin[x])^12 Cos[x]^3 + 1093 (I Sin[x])^7 Cos[x]^8 + 1093 (I Sin[x])^8 Cos[x]^7 + 33 (I Sin[x])^2 Cos[x]^13 + 33 (I Sin[x])^13 Cos[x]^2 + 285 (I Sin[x])^4 Cos[x]^11 + 285 (I Sin[x])^11 Cos[x]^4 + 3 (I Sin[x])^1 Cos[x]^14 + 3 (I Sin[x])^14 Cos[x]^1 + 1 Cos[x]^15 + 1 (I Sin[x])^15) + Exp[0 I y] (215 (I Sin[x])^4 Cos[x]^11 + 215 (I Sin[x])^11 Cos[x]^4 + 1540 (I Sin[x])^7 Cos[x]^8 + 1540 (I Sin[x])^8 Cos[x]^7 + 1071 (I Sin[x])^6 Cos[x]^9 + 1071 (I Sin[x])^9 Cos[x]^6 + 545 (I Sin[x])^5 Cos[x]^10 + 545 (I Sin[x])^10 Cos[x]^5 + 49 (I Sin[x])^3 Cos[x]^12 + 49 (I Sin[x])^12 Cos[x]^3 + 11 (I Sin[x])^2 Cos[x]^13 + 11 (I Sin[x])^13 Cos[x]^2 + 1 (I Sin[x])^14 Cos[x]^1 + 1 (I Sin[x])^1 Cos[x]^14) + Exp[2 I y] (911 (I Sin[x])^6 Cos[x]^9 + 911 (I Sin[x])^9 Cos[x]^6 + 543 (I Sin[x])^10 Cos[x]^5 + 543 (I Sin[x])^5 Cos[x]^10 + 265 (I Sin[x])^4 Cos[x]^11 + 265 (I Sin[x])^11 Cos[x]^4 + 1164 (I Sin[x])^8 Cos[x]^7 + 1164 (I Sin[x])^7 Cos[x]^8 + 19 (I Sin[x])^2 Cos[x]^13 + 19 (I Sin[x])^13 Cos[x]^2 + 6 (I Sin[x])^1 Cos[x]^14 + 6 (I Sin[x])^14 Cos[x]^1 + 95 (I Sin[x])^3 Cos[x]^12 + 95 (I Sin[x])^12 Cos[x]^3) + Exp[4 I y] (35 (I Sin[x])^3 Cos[x]^12 + 35 (I Sin[x])^12 Cos[x]^3 + 875 (I Sin[x])^8 Cos[x]^7 + 875 (I Sin[x])^7 Cos[x]^8 + 335 (I Sin[x])^5 Cos[x]^10 + 335 (I Sin[x])^10 Cos[x]^5 + 636 (I Sin[x])^6 Cos[x]^9 + 636 (I Sin[x])^9 Cos[x]^6 + 116 (I Sin[x])^4 Cos[x]^11 + 116 (I Sin[x])^11 Cos[x]^4 + 5 (I Sin[x])^13 Cos[x]^2 + 5 (I Sin[x])^2 Cos[x]^13) + Exp[6 I y] (359 (I Sin[x])^7 Cos[x]^8 + 359 (I Sin[x])^8 Cos[x]^7 + 94 (I Sin[x])^11 Cos[x]^4 + 94 (I Sin[x])^4 Cos[x]^11 + 303 (I Sin[x])^9 Cos[x]^6 + 303 (I Sin[x])^6 Cos[x]^9 + 201 (I Sin[x])^5 Cos[x]^10 + 201 (I Sin[x])^10 Cos[x]^5 + 33 (I Sin[x])^3 Cos[x]^12 + 33 (I Sin[x])^12 Cos[x]^3 + 11 (I Sin[x])^2 Cos[x]^13 + 11 (I Sin[x])^13 Cos[x]^2) + Exp[8 I y] (36 (I Sin[x])^4 Cos[x]^11 + 36 (I Sin[x])^11 Cos[x]^4 + 118 (I Sin[x])^9 Cos[x]^6 + 118 (I Sin[x])^6 Cos[x]^9 + 127 (I Sin[x])^7 Cos[x]^8 + 127 (I Sin[x])^8 Cos[x]^7 + 76 (I Sin[x])^5 Cos[x]^10 + 76 (I Sin[x])^10 Cos[x]^5 + 7 (I Sin[x])^12 Cos[x]^3 + 7 (I Sin[x])^3 Cos[x]^12) + Exp[10 I y] (29 (I Sin[x])^8 Cos[x]^7 + 29 (I Sin[x])^7 Cos[x]^8 + 20 (I Sin[x])^10 Cos[x]^5 + 20 (I Sin[x])^5 Cos[x]^10 + 21 (I Sin[x])^6 Cos[x]^9 + 21 (I Sin[x])^9 Cos[x]^6 + 15 (I Sin[x])^4 Cos[x]^11 + 15 (I Sin[x])^11 Cos[x]^4 + 6 (I Sin[x])^3 Cos[x]^12 + 6 (I Sin[x])^12 Cos[x]^3) + Exp[12 I y] (6 (I Sin[x])^5 Cos[x]^10 + 6 (I Sin[x])^10 Cos[x]^5 + 2 (I Sin[x])^7 Cos[x]^8 + 2 (I Sin[x])^8 Cos[x]^7 + 4 (I Sin[x])^9 Cos[x]^6 + 4 (I Sin[x])^6 Cos[x]^9 + 2 (I Sin[x])^11 Cos[x]^4 + 2 (I Sin[x])^4 Cos[x]^11) + Exp[14 I y] (1 (I Sin[x])^9 Cos[x]^6 + 1 (I Sin[x])^6 Cos[x]^9)); probability[x_, y_] := Abs[amplitude[x, y]]^2; result = NMaximize[{nstates*probability[a, b], 0 < a < Pi/2, 0 < b < Pi}, {a, b}, Method -> {"SimulatedAnnealing", "PerturbationScale" -> 15}]; Print[name, ": ", result] f = probability[c, d]; n = Pi; Plot3D[f, {c, 0, n/2}, {d, -n, n}, PlotRange -> All] ContourPlot[probability[x, y], {x, 0, n/2}, {y, 0, n}, PlotLegends -> Automatic, Contours -> 30]
high
0.19225
23
.. include:: cyverse_rst_defined_substitutions.txt |CyVerse_logo|_ |Home_Icon|_ `Learning Center Home <http://learning.cyverse.org/>`_ **Discovery Environment Manual** ================================ Welcome to Discovery Environment! --------------------------------- ---- .. toctree:: :maxdepth: 9 using_DE.rst managing-dataFiles.rst using_VICE.rst using-appsWindow.rst new-appInterface.rst using-analysisWindow.rst troubleshooting.rst .. comment: Next .rst files to be finished: glossary.rst file-Lists.rst ---- **Fix or improve this documentation** - Search for an answer: |CyVerse Learning Center| - Ask us for help: click |Intercom| on the lower right-hand side of the page - Report an issue or submit a change: |Github Repo Link| - Send feedback: `Tutorials@CyVerse.org <Tutorials@CyVerse.org>`_ - Live chat/help: Click on the |intercom| on the bottom-right of the page for questions on documentation ---- |Home_Icon|_ `Learning Center Home <http://learning.cyverse.org/>`_ .. Comment: Place Images Below This Line use :width: to give a desired width for your image use :height: to give a desired height for your image replace the image name/location and URL if hyperlinked .. |Clickable hyperlinked image| image:: ./img/IMAGENAME.png :width: 500 :height: 100 .. _CyVerse logo: http://learning.cyverse.org/ .. |Static image| image:: ./img/IMAGENAME.png :width: 25 :height: 25 .. Comment: Place URLS Below This Line # Use this example to ensure that links open in new tabs, avoiding # forcing users to leave the document, and making it easy to update links # In a single place in this document .. |Substitution| raw:: html # Place this anywhere in the text you want a hyperlink <a href="REPLACE_THIS_WITH_URL" target="blank">Replace_with_text</a> .. |Github Repo Link| raw:: html <a href="FIX_FIX_FIX_FIX_FIX_FIX_FIX_FIX_FIX_FIX_FIX_FIX_FIX_FIX_FIX" target="blank">Github Repo Link</a>
high
0.399951
24
| pc = 0xc001 | a = 0x00 | x = 0x00 | y = 0x00 | sp = 0x01fd | p[NV-BDIZC] = 00110101 | | pc = 0xc006 | a = 0x00 | x = 0x00 | y = 0x00 | sp = 0x01fd | p[NV-BDIZC] = 00110101 | | pc = 0xc008 | a = 0xf0 | x = 0x00 | y = 0x00 | sp = 0x01fd | p[NV-BDIZC] = 10110101 |
high
0.299716
25
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
0
Edit dataset card